﻿@charset "UTF-8";
/* ===== ANA SİTE CSS (MOBİL ÖNCELİKLİ) ===== */
@import 'variables.css';
@import 'reset.css';

/* ===== Bootstrap Icons Global ===== */
.header-btn i.bi {
    font-size: 22px;
    line-height: 1;
    display: block;
}

.mobile-menu-btn i.bi {
    font-size: 26px;
    line-height: 1;
}

.header-search button i.bi {
    font-size: 16px;
    line-height: 1;
}

.mobile-bottom-nav a i.bi {
    font-size: 22px;
    display: block;
    line-height: 1;
}

.btn-cart i.bi {
    font-size: 16px;
    line-height: 1;
}

.product-wishlist-btn i.bi {
    font-size: 14px;
    line-height: 1;
}

.btn i.bi {
    font-size: 15px;
    line-height: 1;
}

.alert i.bi {
    font-size: 18px;
    flex-shrink: 0;
}

.category-card-icon i.bi {
    font-size: 26px;
    line-height: 1;
    display: block;
}

.product-rating i.bi {
    font-size: 11px;
    line-height: 1;
}

.product-shop i.bi {
    font-size: 11px;
    vertical-align: middle;
}

/* ===== ÜST ALAN DUYURU ÇUBUĞU ===== */
.top-announcement-bar {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #1a1a2e;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1001;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease, opacity .35s ease;
    max-height: 120px;
}

.tab-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 0;
    text-decoration: none;
    color: #fff;
    position: relative;
    box-sizing: border-box;
}

a.tab-clickable:hover {
    background: rgba(255,255,255,.06);
}

/* Banner: tam sayfa genişliği, dikey kırpma (object-fit) */
.tab-image {
    width: 100%;
    max-width: none;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    flex-shrink: 0;
}

/* Görsel yoksa metin göster */
.tab-text {
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
    color: rgba(255,255,255,.9);
}

/* Header sticky top'unu güncelle — JS ile */
.site-header {
    position: sticky;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    height: var(--header-h);
}

@media (max-width: 639px) {
    .tab-image { height: 48px; }
    .tab-inner { min-height: 40px; padding: 0; }
    .top-announcement-bar { max-height: 100px; }
}

/* ========================== */

/* === Layout === */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* === Header === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    height: var(--header-h);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    height: 100%;
}

.header-logo {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
    flex-shrink: 0;
}

.header-logo span {
    color: var(--secondary);
}

.header-search {
    flex: 1;
    display: flex;
    max-width: 560px;
}

.header-search input {
    flex: 1;
    padding: var(--space-2) var(--space-4);
    border: 2px solid var(--gray-200);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    outline: none;
    font-size: var(--font-size-sm);
    transition: border-color var(--transition);
}

.header-search input:focus {
    border-color: var(--primary);
}

.header-search button {
    padding: var(--space-2) var(--space-5);
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    font-size: var(--font-size-sm);
    font-weight: 600;
    transition: background var(--transition);
}

.header-search button:hover {
    background: var(--primary-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-left: auto;
}

.header-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius);
    cursor: pointer;
    background: none;
    border: none;
    color: var(--gray-700);
    font-size: var(--font-size-xs);
    white-space: nowrap;
    transition: all var(--transition);
    position: relative;
    text-decoration: none;
}

.header-btn:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.header-btn svg {
    width: 22px;
    height: 22px;
}

.header-btn .badge {
    position: absolute;
    top: 2px;
    right: 4px;
    background: var(--accent);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* === Mobil Header === */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    color: var(--gray-700);
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
}

/* ===========================================================
   NAVBAR — TRENDYOL STİLİ MEGA MENÜ
   =========================================================== */
.navbar-main {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    z-index: 100;
    width: 100%;
    overflow-x: visible;
}

.navbar-main-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    align-content: flex-start;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(0.35rem, 1.2vw, 0.75rem);
    gap: 0 1px;
    row-gap: 1px;
    min-width: 0;
    box-sizing: border-box;
}

/* Item: position static (mega menüyü container'a göre konumlandırırız) */
.nm-item {
    position: static;
    flex: 0 0 auto;
}

/* Linkler — daha kompakt; dar genişlikte üst satır sığmazsa alt satıra sar */
.nm-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px clamp(4px, 0.85vw, 10px);
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: color .15s, border-color .15s;
    cursor: pointer;
    user-select: none;
}

.nm-link:hover,
.nm-item:hover > .nm-link {
    color: #f27a1a;
    border-bottom-color: #f27a1a;
}

/* "Yeni" rozeti */
.nm-badge-new {
    display: inline-block;
    background: #f27a1a;
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    line-height: 1;
    padding: 2px 5px;
    border-radius: 3px;
    letter-spacing: .4px;
    text-transform: uppercase;
    margin-left: 3px;
    flex-shrink: 0;
}

/* "Kategoriler" özel link */
.nm-categories-link {
    background: #f9fafb;
    border-radius: 4px 4px 0 0;
    padding: 10px clamp(6px, 1vw, 12px);
}
.nm-categories-item:hover .nm-categories-link {
    background: #fff7ed;
}
.nm-cat-icon {
    font-size: 16px;
    color: #f27a1a;
    flex-shrink: 0;
}

/* Özel linkler (Flaş Ürünler / Çok Satanlar) */
.nm-link-special { color: #f27a1a; }

/* ===========================================================
   MEGA PANEL (genel)
   =========================================================== */
.nm-mega {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: 3px solid #f27a1a;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, .12);
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 9999;
}

.nm-item:hover > .nm-mega,
.nm-item:focus-within > .nm-mega {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* ===========================================================
   KATEGORİLER MEGA MENÜ — sol sidebar + sağ panel
   =========================================================== */
.nm-mega-categories {
    max-width: 1280px;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-8px);
    width: calc(100vw - 32px);
    display: flex;
    min-height: 460px;
    max-height: 75vh;
    overflow: hidden;
}
.nm-categories-item:hover > .nm-mega-categories,
.nm-categories-item:focus-within > .nm-mega-categories {
    transform: translateX(-50%) translateY(0);
}

/* Sol kolon: Ana kategoriler dikey liste */
.nm-cat-side {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    width: 220px;
    flex-shrink: 0;
    background: #f9fafb;
    border-right: 1px solid #e5e7eb;
    overflow-y: auto;
    scrollbar-width: thin;
}
.nm-cat-side::-webkit-scrollbar { width: 6px; }
.nm-cat-side::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }

.nm-cat-side-item > a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: background .15s, color .15s, border-color .15s;
    position: relative;
}

.nm-cat-side-item > a > i.bi {
    font-size: 16px;
    color: #6b7280;
    flex-shrink: 0;
    transition: color .15s;
}

.nm-cat-side-item > a > span {
    flex: 1;
    line-height: 1.2;
}

.nm-cat-arrow {
    font-size: 11px !important;
    opacity: 0;
    color: #f27a1a !important;
    transition: opacity .15s, transform .15s;
}

.nm-cat-side-item:hover > a,
.nm-cat-side-item.active > a {
    background: #fff;
    color: #f27a1a;
    border-left-color: #f27a1a;
    font-weight: 600;
}
.nm-cat-side-item:hover > a > i.bi,
.nm-cat-side-item.active > a > i.bi {
    color: #f27a1a;
}
.nm-cat-side-item:hover .nm-cat-arrow,
.nm-cat-side-item.active .nm-cat-arrow {
    opacity: 1;
    transform: translateX(2px);
}

/* Sağ alan: kategori panelleri */
.nm-cat-content {
    flex: 1;
    position: relative;
    overflow-y: auto;
    scrollbar-width: thin;
    background: #fff;
}
.nm-cat-content::-webkit-scrollbar { width: 8px; }
.nm-cat-content::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }

.nm-cat-pane {
    display: none;
    padding: 22px 24px;
}
.nm-cat-pane.active {
    display: block;
    animation: nmFadeIn .18s ease;
}

@keyframes nmFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Boş durum */
.nm-cat-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
    min-height: 320px;
}
.nm-cat-empty i.bi {
    font-size: 48px;
    color: #d1d5db;
    margin-bottom: 12px;
}
.nm-cat-empty p {
    margin: 0 0 16px;
    font-size: 14px;
}

/* Sütunlar */
.nm-cat-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 28px;
    align-items: start;
}

@media (max-width: 1100px) {
    .nm-cat-cols { grid-template-columns: repeat(3, 1fr); }
}

.nm-cat-col {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

/* Alt kategori yoksa: tek link */
.nm-cat-col-leafonly {
    margin: 0;
    font-size: 13px;
}
.nm-cat-col-leafonly a {
    color: #6b7280;
    text-decoration: none;
}
.nm-cat-col-leafonly a:hover {
    color: #f27a1a;
    text-decoration: underline;
}

/* Sütun içi kaydırma */
.nm-cat-col-scroll {
    min-height: 0;
}

.nm-cat-col--trunc:not(.is-expanded) .nm-cat-col-item-extra {
    display: none;
}

/* Açıkken: tüm satırlar + bu blokta scrollbar; "Daha Az Gör" listede kalır */
.nm-cat-col--trunc.is-expanded .nm-cat-col-scroll {
    max-height: min(52vh, 320px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    margin-right: -2px;
    scrollbar-width: thin;
}
.nm-cat-col--trunc.is-expanded .nm-cat-col-scroll::-webkit-scrollbar {
    width: 6px;
}
.nm-cat-col--trunc.is-expanded .nm-cat-col-scroll::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

/* 2. seviye başlık (turuncu, oklu) */
.nm-cat-col-title {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 700;
    color: #f27a1a;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color .15s;
}
.nm-cat-col-title i.bi {
    font-size: 11px;
    transition: transform .15s;
}
.nm-cat-col-title:hover {
    color: #d96809;
    text-decoration: underline;
}
.nm-cat-col-title:hover i.bi {
    transform: translateX(2px);
}

/* 3. seviye liste */
.nm-cat-col-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nm-cat-col-list li {
    margin-bottom: 4px;
}
.nm-cat-col-list li a {
    display: block;
    padding: 4px 0;
    font-size: 13px;
    color: #4b5563;
    text-decoration: none;
    transition: color .15s, padding .15s;
}
.nm-cat-col-list li a:hover {
    color: #f27a1a;
    padding-left: 4px;
}

/* "Daha Fazla Gör" / "Daha Az Gör" */
.nm-cat-col-more {
    list-style: none;
    margin-top: 2px;
}
.nm-cat-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 6px 0 0;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    color: #f27a1a;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.nm-cat-more-btn:hover {
    color: #d96809;
}
.nm-cat-more-btn:focus-visible {
    outline: 2px solid #f27a1a;
    outline-offset: 2px;
    border-radius: 2px;
}
.nm-cat-more-btn .nm-cat-more-icon {
    font-size: 11px;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform .15s ease;
}

/* Mobilde gizle */
@media (max-width: 991px) {
    .navbar-main { display: none; }
}



/* === Hero Slider === */
.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--gray-200);
    aspect-ratio: 16 / 5;
}

.hero-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.hero-slide.active {
    display: block;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Varsayılan hero (banner yokken) */
.hero-default {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex !important;
}

.hero-default-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-default-content {
    text-align: center;
    color: #fff;
    padding: 2rem;
    z-index: 1;
}

.hero-default-content h1 {
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: .5rem;
    color: #fff;
}

.hero-default-content p {
    font-size: clamp(.9rem, 2vw, 1.2rem);
    opacity: .85;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,.9);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
}

/* Banner overlay (başlık) */
.hero-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
}

.hero-slide-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

/* Prev/Next Okları */
.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.85);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gray-700);
    z-index: 10;
    transition: all .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.hero-prev { left: 12px; }
.hero-next { right: 12px; }

.hero-prev:hover,
.hero-next:hover {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
}

.hero-dots {
    position: absolute;
    bottom: var(--space-4);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-2);
    z-index: 10;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,.5);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
}

.hero-dot.active {
    background: var(--white);
    width: 24px;
}

@media (max-width: 639px) {
    .hero-slider { aspect-ratio: 4 / 3; }
    .hero-prev, .hero-next { display: none; }
}

/* === Bölüm Başlığı === */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-6);
}

.section-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
    position: relative;
    padding-left: var(--space-4);
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--primary);
    border-radius: var(--radius-full);
}

.section-link {
    font-size: var(--font-size-sm);
    color: var(--primary);
    font-weight: 500;
    transition: color var(--transition);
}

.section-link:hover {
    color: var(--primary-dark);
}

/* === Ürün Grid === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
}

/* === Ürün Kartı === */
.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.product-card-img {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gray-100);
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: var(--space-2);
    left: var(--space-2);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-sale {
    background: var(--accent);
    color: var(--white);
}

.badge-new {
    background: var(--success);
    color: var(--white);
}

.product-wishlist-btn {
    position: absolute;
    top: var(--space-2);
    right: var(--space-2);
    width: 32px;
    height: 32px;
    background: var(--white);
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    color: var(--gray-400);
}

.product-wishlist-btn:hover,
.product-wishlist-btn.active {
    color: var(--accent);
    transform: scale(1.1);
}

.product-card-body {
    padding: var(--space-3);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.product-shop {
    font-size: var(--font-size-xs);
    color: var(--gray-400);
}

.product-name {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--gray-800);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--font-size-xs);
    color: var(--gray-500);
}

.stars {
    color: var(--warning);
    font-size: 12px;
}

.product-price-wrap {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.product-price {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--primary);
}

.product-old-price {
    font-size: var(--font-size-xs);
    color: var(--gray-400);
    text-decoration: line-through;
}

.product-discount {
    font-size: var(--font-size-xs);
    color: var(--accent);
    font-weight: 600;
}

.product-card-footer {
    padding: var(--space-3);
    padding-top: 0;
}

.btn-cart {
    width: 100%;
    padding: var(--space-2) var(--space-3);
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.btn-cart:hover {
    background: var(--primary-dark);
}

/* === Kategori Kartları === */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4);
    background: var(--white);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.category-card:hover {
    background: var(--primary-light);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.category-card-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary);
    transition: background var(--transition);
}

.category-card:hover .category-card-icon {
    background: var(--primary);
    color: var(--white);
}

.category-card-name {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-700);
}

/* === Butonlar === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius);
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-xs);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-base);
}

.btn-block {
    width: 100%;
}

/* === Form === */
.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
}

.form-label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-700);
}

.form-control {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: var(--font-size-sm);
    color: var(--gray-800);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(242,122,26,.1);
}

.form-control.is-invalid {
    border-color: var(--danger);
}

.form-error {
    font-size: var(--font-size-xs);
    color: var(--danger);
}

.form-text {
    font-size: var(--font-size-xs);
    color: var(--gray-400);
}

/* === Alert === */
.alert {
    padding: var(--space-4);
    border-radius: var(--radius);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-4);
    border-left: 4px solid;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.alert-success { background: #f0fdf4; border-color: var(--success); color: #166534; }
.alert-danger  { background: #fef2f2; border-color: var(--danger);  color: #991b1b; }
.alert-warning { background: #fffbeb; border-color: var(--warning); color: #92400e; }
.alert-info    { background: #eff6ff; border-color: var(--info);    color: #1e40af; }

/* === Breadcrumb === */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    color: var(--gray-400);
    flex-wrap: wrap;
    padding: var(--space-4) 0;
}

.breadcrumb a {
    color: var(--gray-500);
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb-sep {
    color: var(--gray-300);
}

/* === Ürün Detay === */
.product-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

.product-gallery {
    position: relative;
}

.product-gallery-main {
    aspect-ratio: 1;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-3);
    position: relative;
}

.product-gallery-main--nav:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--gray-800);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    line-height: 1;
    transition: background 0.2s, color 0.2s;
}

.product-gallery-nav:hover {
    background: #fff;
    color: var(--primary);
}

.product-gallery-nav--prev {
    left: 10px;
}

.product-gallery-nav--next {
    right: 10px;
}

@media (max-width: 480px) {
    .product-gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .product-gallery-nav--prev {
        left: 6px;
    }

    .product-gallery-nav--next {
        right: 6px;
    }
}

.product-gallery-thumbs {
    display: flex;
    gap: var(--space-2);
    overflow-x: auto;
    scrollbar-width: none;
}

.product-gallery-thumbs::-webkit-scrollbar { display: none; }

.gallery-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color var(--transition);
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--primary);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === Sepet === */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

.cart-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gray-100);
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: var(--space-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-price {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--primary);
}

.qty-control {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    width: fit-content;
}

.qty-btn {
    width: 32px;
    height: 32px;
    background: var(--gray-50);
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-600);
    transition: background var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover { background: var(--gray-200); }

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    outline: none;
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.cart-summary {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: calc(var(--header-h) + var(--space-4));
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-sm);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--gray-100);
}

.summary-row:last-of-type {
    border-bottom: none;
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--gray-900);
}

/* === Footer === */
.site-footer {
    background: var(--secondary);
    color: var(--gray-300);
    margin-top: var(--space-16);
}

.footer-top {
    padding: var(--space-12) 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

.footer-brand-name {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-3);
}

.footer-brand-name span {
    color: var(--primary);
}

.footer-desc {
    font-size: var(--font-size-sm);
    line-height: 1.8;
}

.footer-heading {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: var(--space-4);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a {
    font-size: var(--font-size-sm);
    color: var(--gray-400);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: var(--space-5) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-3);
    font-size: var(--font-size-xs);
    color: var(--gray-500);
}

/* === Sayfalama === */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-8);
    flex-wrap: wrap;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--gray-200);
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    transition: all var(--transition);
}

.page-link:hover,
.page-link.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.page-link.disabled {
    opacity: .4;
    pointer-events: none;
}

/* === Auth === */
.auth-wrap {
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-8) var(--space-4);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--space-10);
    width: 100%;
    max-width: 440px;
}

.auth-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
    text-align: center;
}

.auth-subtitle {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    text-align: center;
    margin-bottom: var(--space-8);
}

/* === Mobil Bottom Nav === */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    z-index: 900;
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-bottom-nav ul {
    display: flex;
    align-items: stretch;
}

.mobile-bottom-nav li {
    flex: 1;
}

.mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: var(--space-2) var(--space-1);
    font-size: 10px;
    color: var(--gray-500);
    transition: color var(--transition);
    position: relative;
}

.mobile-bottom-nav a svg {
    width: 22px;
    height: 22px;
}

.mobile-bottom-nav a.active,
.mobile-bottom-nav a:hover {
    color: var(--primary);
}

/* === Filtre Sidebar === */
.shop-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

.filter-sidebar {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    box-shadow: var(--shadow-sm);
}

.filter-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--gray-100);
}

.filter-group {
    margin-bottom: var(--space-5);
}

.filter-group-title {
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--gray-700);
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    cursor: pointer;
    padding: var(--space-1) 0;
}

.filter-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

.price-range {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.price-range input {
    flex: 1;
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: var(--font-size-sm);
    outline: none;
    width: 100%;
}

.price-range input:focus {
    border-color: var(--primary);
}

/* === Utility === */
.section { padding: var(--space-10) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-center { text-align: center; }
.mt-4 { margin-top: var(--space-4); }
.mb-4 { margin-bottom: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-8 { margin-bottom: var(--space-8); }

/* ===================================================
   TABLET (≥640px)
   =================================================== */
@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }

    .cart-layout {
        grid-template-columns: 1fr 320px;
    }
}

/* ===================================================
   LAPTOP (≥1024px)
   =================================================== */
@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-4);
    }

    .categories-grid {
        grid-template-columns: repeat(8, 1fr);
    }

    .footer-top {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }

    .product-detail {
        grid-template-columns: 1fr 1fr;
    }

    .shop-layout {
        grid-template-columns: 240px 1fr;
    }

    .mobile-bottom-nav {
        display: none !important;
    }
}

/* ===================================================
   MOBİL (≤639px) - Ek Ayarlar
   =================================================== */
@media (max-width: 639px) {
    .header-search { display: none; }
    .mobile-menu-btn { display: flex; }
    .category-nav { display: none; }
    .mobile-bottom-nav { display: block; }

    body { padding-bottom: 60px; }

    .hero-slider { aspect-ratio: 4 / 3; }

    .auth-card {
        padding: var(--space-6);
    }

    .section { padding: var(--space-6) 0; }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2);
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-2);
    }

    .category-card {
        padding: var(--space-3);
    }

    .category-card-icon {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }
}

/* ===================================================
   MOBİL DRAWER MENÜ
   =================================================== */

/* Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 1099;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: opacity var(--transition);
}

.mobile-overlay.active {
    display: block;
}

/* Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 88vw;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
    box-shadow: 4px 0 24px rgba(0,0,0,.18);
}

.mobile-drawer.open {
    transform: translateX(0);
}

/* Drawer Header */
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-5);
    height: 60px;
    background: var(--secondary);
    flex-shrink: 0;
}

.drawer-logo {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
}

.drawer-logo span {
    color: var(--primary);
}

.drawer-close {
    background: rgba(255,255,255,.12);
    border: none;
    color: var(--white);
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background var(--transition);
}

.drawer-close:hover {
    background: rgba(255,255,255,.25);
}

/* Drawer Arama */
.drawer-search {
    padding: var(--space-3) var(--space-4);
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
    flex-shrink: 0;
}

.drawer-search-wrap {
    position: relative;
}

.drawer-search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 14px;
    pointer-events: none;
}

.drawer-search input {
    width: 100%;
    padding: 9px 12px 9px 34px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    outline: none;
    background: var(--white);
    transition: border-color var(--transition);
}

.drawer-search input:focus {
    border-color: var(--primary);
}

/* Drawer Body (Scrollable) */
.mobile-drawer > .drawer-account,
.mobile-drawer > .drawer-section,
.mobile-drawer > .drawer-footer {
    flex-shrink: 0;
}

.mobile-drawer {
    overflow-y: auto;
    scrollbar-width: none;
}

.mobile-drawer::-webkit-scrollbar { display: none; }

/* Hesap */
.drawer-account {
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--gray-100);
}

.drawer-account-btn {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    border-radius: var(--radius-md);
    background: var(--primary-light);
    text-decoration: none;
    transition: background var(--transition);
}

.drawer-account-btn:hover {
    background: #ffe0c8;
}

.drawer-account-avatar {
    width: 42px;
    height: 42px;
    background: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: var(--font-size-base);
    flex-shrink: 0;
}

.drawer-account-name {
    font-weight: 700;
    font-size: var(--font-size-sm);
    color: var(--gray-800);
}

.drawer-account-sub {
    font-size: var(--font-size-xs);
    color: var(--gray-400);
    margin-top: 1px;
}

.drawer-account-arrow {
    margin-left: auto;
    font-size: 14px;
    color: var(--primary);
    flex-shrink: 0;
}

.drawer-auth-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
}

.drawer-btn-login,
.drawer-btn-register {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: var(--space-3);
    border-radius: var(--radius);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
}

.drawer-btn-login {
    background: var(--primary);
    color: var(--white);
}

.drawer-btn-login:hover {
    background: var(--primary-dark);
}

.drawer-btn-register {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}

.drawer-btn-register:hover {
    background: var(--gray-200);
}

/* Accordion Bölümleri */
.drawer-section {
    border-bottom: 1px solid var(--gray-100);
}

.drawer-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    cursor: pointer;
    font-weight: 700;
    font-size: var(--font-size-sm);
    color: var(--gray-700);
    user-select: none;
    transition: background var(--transition);
}

.drawer-section-title:hover {
    background: var(--gray-50);
}

.drawer-section-title span {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--gray-800);
}

.drawer-section-title span i.bi {
    font-size: 16px;
    color: var(--primary);
    width: 18px;
    text-align: center;
}

.drawer-chevron {
    font-size: 13px;
    color: var(--gray-400);
    transition: transform .25s ease;
    flex-shrink: 0;
}

.drawer-section-title.collapsed .drawer-chevron {
    transform: rotate(-90deg);
}

/* Accordion Body */
.drawer-section-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height .3s ease;
    background: var(--gray-50);
}

.drawer-section-body.open {
    max-height: 600px;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-5) var(--space-3) var(--space-8);
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,.04);
    transition: all var(--transition);
}

.drawer-link:hover {
    color: var(--primary);
    background: var(--primary-light);
    padding-left: calc(var(--space-8) + 4px);
}

.drawer-link i.bi {
    font-size: 14px;
    color: var(--gray-400);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    transition: color var(--transition);
}

.drawer-link:hover i.bi {
    color: var(--primary);
}

.drawer-badge {
    margin-left: auto;
    background: var(--accent);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    flex-shrink: 0;
}

/* Footer */
.drawer-footer {
    padding: var(--space-4) var(--space-5);
    margin-top: auto;
    border-top: 1px solid var(--gray-100);
}

.drawer-logout {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    color: var(--danger);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    transition: background var(--transition);
}

.drawer-logout:hover {
    background: #fef2f2;
}

.drawer-logout i.bi {
    font-size: 16px;
}

/* Body scroll lock */
body.drawer-open {
    overflow: hidden;
}

/* ===================================================
   HESAP SAYFASI (Account) — Responsive
   =================================================== */

.account-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 1.5rem;
    align-items: start;
    padding-top: 1.5rem;
    padding-bottom: 4rem;
}

.account-sidebar-wrap {
    position: sticky;
    top: calc(var(--header-h) + 8px);
}

/* Mobile Tab Nav */
.account-mobile-tabs {
    display: none;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 2px solid var(--gray-100);
    background: var(--white);
    padding: 0 var(--space-4);
    gap: 0;
    margin-bottom: 1.25rem;
    position: sticky;
    top: var(--header-h);
    z-index: 100;
}

.account-mobile-tabs::-webkit-scrollbar { display: none; }

.account-mobile-tabs a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-500);
    white-space: nowrap;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition);
    flex-shrink: 0;
}

.account-mobile-tabs a.active,
.account-mobile-tabs a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

.account-mobile-tabs a i.bi {
    font-size: 15px;
}

.account-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.account-card-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.account-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
}

.account-card-body {
    padding: 1.25rem;
}

.order-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 1rem;
}

.order-card-head {
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid var(--gray-100);
}

.order-card-info {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.order-card-info-item label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--gray-400);
    font-weight: 700;
    margin-bottom: 2px;
}

.order-card-info-item span {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-800);
}

.order-card-info-item span.price {
    color: var(--primary);
}

.order-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.order-card-body {
    padding: 0.75rem 1rem;
    font-size: 13px;
    color: var(--gray-500);
}

.account-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.account-stat-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.account-stat-val {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.account-stat-label {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 4px;
}

.account-stat-link {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    display: block;
    margin-top: 6px;
}

.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
    .account-layout {
        grid-template-columns: 1fr;
        padding-top: 0;
        gap: 0;
    }

    .account-sidebar-wrap {
        display: none;
    }

    .account-mobile-tabs {
        display: flex;
    }

    .account-card-body { padding: 1rem; }

    .account-stats { gap: 0.75rem; }

    .address-grid { grid-template-columns: 1fr; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .account-layout {
        grid-template-columns: 200px 1fr;
        gap: 1rem;
    }
}

/* ========== Mağaza vitrin (müşteri) ========== */
.store-page {
    padding-bottom: 3rem;
}

.store-hero {
    position: relative;
    min-height: 200px;
    background: linear-gradient(135deg, var(--primary-dark, #1e3a5f), var(--primary, #2563eb));
    background-size: cover;
    background-position: center;
}

.store-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.35) 100%);
}

.store-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 2rem 1rem 1.5rem;
    color: #fff;
}

.store-hero-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.store-hero-logo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.9);
    background: #fff;
    flex-shrink: 0;
}

.store-hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-hero-logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.store-hero-title {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    font-weight: 800;
    margin: 0 0 6px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.store-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.store-rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(46, 213, 115, 0.95);
    color: #0f3d24;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 13px;
}

.store-hero-desc {
    opacity: 0.92;
    max-width: 520px;
    line-height: 1.45;
}

.store-hero-actions {
    text-align: right;
}

.store-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    background: #ff6000;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s, filter 0.15s;
}

.store-follow-btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.store-follow-btn.is-following {
    background: rgba(255, 255, 255, 0.95);
    color: var(--gray-800);
}

.store-follow-count {
    margin-top: 8px;
    font-size: 13px;
    opacity: 0.95;
}

.store-follow-count span {
    font-weight: 700;
}

.store-subnav-wrap {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 30;
    box-shadow: var(--shadow-sm);
}

.store-subnav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0.5rem 1rem;
}

.store-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.store-tab {
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}

.store-tab:hover {
    color: var(--primary);
}

.store-tab.active {
    color: #ff6000;
    border-bottom-color: #ff6000;
}

.store-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 200px;
    max-width: 360px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 4px 10px;
    background: var(--gray-50);
}

.store-search .bi-search {
    color: var(--gray-400);
    font-size: 16px;
}

.store-search input[type="search"] {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    min-width: 0;
    outline: none;
}

.store-body {
    padding-top: 1.5rem;
}

.store-section {
    margin-bottom: 2.25rem;
}

.store-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 1rem;
}

.store-section-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    color: var(--gray-900);
}

.store-section-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
}

.store-section-link:hover {
    text-decoration: underline;
}

.store-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.store-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0 8px;
    flex: 1;
}

.store-carousel::-webkit-scrollbar {
    display: none;
}

.store-carousel-item {
    flex: 0 0 200px;
    max-width: 72vw;
}

.store-carousel-item .product-card {
    height: 100%;
}

.store-carousel--reviews .store-review-card {
    flex: 0 0 280px;
    max-width: 85vw;
}

.store-carousel-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background: #fff;
    color: var(--gray-700);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
}

.store-carousel-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.store-review-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.store-review-stars {
    color: var(--warning);
    font-size: 14px;
    margin-bottom: 6px;
}

.store-review-user {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--gray-800);
}

.store-review-text {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0 0 10px;
}

.store-review-product {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.store-review-product img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 6px;
}

.store-category-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.store-cat-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    min-width: 100px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    text-decoration: none;
    color: var(--gray-800);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.store-cat-pill:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.store-cat-ico {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: var(--gray-100);
}

.store-cat-ico--txt {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
}

.store-cat-name {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.store-list-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.store-cat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.store-chip {
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
    background: #fff;
}

.store-chip:hover,
.store-chip.active {
    border-color: #ff6000;
    color: #ff6000;
    background: #fff8f3;
}

.store-sort-form .form-control-sm {
    min-width: 160px;
}

.store-sort-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
}

.store-products-grid {
    margin-bottom: 1.5rem;
}

.store-pagination {
    justify-content: center;
    margin-top: 1rem;
}

.store-empty {
    text-align: center;
    padding: 2rem;
    color: var(--gray-500);
}

@media (max-width: 767px) {
    .store-hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .store-hero-actions {
        text-align: left;
        width: 100%;
    }

    .store-subnav {
        flex-direction: column;
        align-items: stretch;
    }

    .store-search {
        max-width: none;
    }
}

/* Ana sayfa — takip edilen satıcılar */
.home-followed-section .section-title i {
    vertical-align: -2px;
}

.home-followed-stores {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 4px;
}

.home-followed-store-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 10px;
    border-radius: 100px;
    border: 1px solid var(--gray-200);
    background: #fff;
    text-decoration: none;
    color: var(--gray-800);
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.home-followed-store-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow);
}

.home-followed-store-initial {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

