/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
    /* --- Brand Colors --- */
    --primary:             #142E4B;
    --primary-dark:        #0F233A;
    --primary-darker:      #0A1C2E;
    --primary-bg:          #EFF6FF;
    --secondary:           #E8511E;
    --secondary-dark:      #C94315;
    --secondary-bg:        #FFEDD5;
    --secondary-bg-light:  #FFF7ED;

    /* --- Semantic Colors --- */
    --color-green:         #16A34A;
    --color-green-bg:      #F0FDF4;
    --color-yellow:        #EAB308;
    --color-whatsapp:      #25D366;
    --color-whatsapp-dark: #1EBE5A;
    --color-blue:          #3B82F6;
    --color-red:           #EF4444;
    --color-red-alt:       #E53935;
    --color-success:       #10B981;

    /* --- Text --- */
    --text-color:          #333333;
    --text-medium:         #444444;
    --text-muted:          #64748B;
    --text-light:          #777777;
    --text-subtle:         #94A3B8;
    --text-pale:           #CBD5E1;
    --text-slate:          #475569;
    --text-dim:            #666666;

    /* --- Backgrounds --- */
    --bg-color:            #F4F6F9;
    --bg-light:            #F8FAFC;
    --bg-lighter:          #FAFAFA;
    --bg-hover:            #F1F5F9;
    --card-bg:             #FFFFFF;

    /* --- Borders --- */
    --border-color:        #E2E8F0;
    --border-light:        #EAEAEA;
    --border-muted:        #D1D5DB;
    --border-subtle:       #CBD5E1;

    /* --- Spacing Scale --- */
    --space-1:  4px;
    --space-2:  8px;
    --space-3:  12px;
    --space-4:  16px;
    --space-5:  20px;
    --space-6:  24px;
    --space-7:  28px;
    --space-8:  32px;
    --space-9:  40px;
    --space-10: 50px;
    --space-12: 60px;
    --space-14: 70px;
    --space-20: 80px;

    /* --- Font Sizes --- */
    --fs-2xs:  0.75rem;
    --fs-xs:   0.8rem;
    --fs-sm:   0.875rem;
    --fs-base: 0.95rem;
    --fs-md:   1rem;
    --fs-lg:   1.05rem;
    --fs-xl:   1.1rem;
    --fs-2xl:  1.2rem;
    --fs-3xl:  1.4rem;
    --fs-4xl:  1.5rem;
    --fs-5xl:  1.8rem;
    --fs-6xl:  2rem;
    --fs-7xl:  2.2rem;
    --fs-8xl:  3rem;

    /* --- Border Radii --- */
    --radius-sm:   4px;
    --radius-md:   6px;
    --radius-lg:   8px;
    --radius-xl:   10px;
    --radius-2xl:  12px;
    --radius-3xl:  16px;
    --radius-pill: 20px;
    --radius-full: 9999px;

    /* --- Shadows --- */
    --shadow-xs:             0 1px 3px rgba(0,0,0,0.06);
    --shadow-sm:             0 2px 10px rgba(0,0,0,0.06);
    --shadow-md:             0 4px 20px rgba(0,0,0,0.05);
    --shadow-lg:             0 10px 40px rgba(0,0,0,0.08);
    --shadow-header:         0 2px 10px rgba(0,0,0,0.1);
    --shadow-header-scrolled:0 4px 24px rgba(0,0,0,0.28);
    --shadow-card:           0 2px 8px rgba(0,0,0,0.08);
    --shadow-card-hover:     0 10px 25px rgba(0,0,0,0.06);
    --shadow-toast:          0 4px 15px rgba(0,0,0,0.15);
    --shadow-filter:         0 4px 15px rgba(0,0,0,0.03);

    /* --- Transitions --- */
    --transition-fast:   0.15s ease;
    --transition-base:   0.2s ease;
    --transition-slow:   0.3s ease;
    --transition-slower: 0.5s ease;

    /* --- Z-Index --- */
    --z-gallery:  10;
    --z-timeline: 50;
    --z-header:   200;
    --z-modal:    9999;
}

/* =============================================
   RESET & BASE
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: var(--fs-base);
    line-height: 1.65;
}

/* =============================================
   TYPOGRAPHY — GLOBAL TYPE SCALE
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    line-height: 1.25;
    color: var(--text-color);
}
h1 { font-size: var(--fs-5xl);  font-weight: 800; }
h2 { font-size: var(--fs-4xl);  font-weight: 700; }
h3 { font-size: var(--fs-3xl);  font-weight: 700; }
h4 { font-size: var(--fs-2xl);  font-weight: 600; }
h5 { font-size: var(--fs-xl);   font-weight: 600; }
h6 { font-size: var(--fs-base); font-weight: 600; }
p  { margin: 0; line-height: 1.65; }
small, .text-small { font-size: var(--fs-sm); line-height: 1.5; }
strong { font-weight: 700; }
a { color: inherit; }

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-children > * {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-children.revealed > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-children.revealed > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-children.revealed > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-children.revealed > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-children.revealed > *:nth-child(n+5) { transition-delay: 0.4s; }
.reveal-children.revealed > * { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-children > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* =============================================
   SCROLL-TO-TOP BUTTON
   ============================================= */
.scroll-top {
    position: fixed;
    bottom: 28px;
    left: 24px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, background var(--transition-base);
    z-index: 190;
    pointer-events: none;
}
.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-2px); }
.scroll-top svg { width: 20px; height: 20px; }
@media (max-width: 768px) {
    .scroll-top { bottom: 20px; left: 16px; width: 40px; height: 40px; }
}

/* =============================================
   HEADER
   ============================================= */
header {
    background: var(--primary);
    color: white;
    padding: 0 5%;
    height: var(--space-14);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-header);
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    transition: box-shadow var(--transition-slow);
}
header.scrolled {
    box-shadow: var(--shadow-header-scrolled);
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

.site-logo {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-base);
}
.site-logo:hover {
    transform: scale(1.05);
}

header nav a {
    color: var(--border-color);
    text-decoration: none;
    margin-left: var(--space-8);
    font-weight: 500;
    font-size: var(--fs-base);
    transition: color var(--transition-base);
    position: relative;
    padding-bottom: var(--space-1);
}
header nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    border-radius: var(--radius-sm);
    transition: width 0.25s ease;
}
header nav a:hover::after,
header nav a.active::after { width: 100%; }
header nav a:hover { color: white; }

/* Header fine-tune */
header nav a.active { color: white; }

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    cursor: pointer;
    gap: 5px;
    background: none;
    border: none;
    padding: 0;
    flex-shrink: 0;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    border-radius: var(--radius-sm);
    transition: transform var(--transition-slow), opacity var(--transition-slow);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   PRODUCTS PAGE — LAYOUT
   ============================================= */
.products-container {
    display: flex;
    padding: var(--space-9) 5%;
    gap: var(--space-9);
    max-width: 1400px;
    margin: 0 auto;
}

/* Filter Panel */
.filter-panel {
    width: 280px;
    flex-shrink: 0;
    background: var(--card-bg);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-filter);
    height: fit-content;
    border: 1px solid var(--border-color);
}
.filter-group { margin-bottom: var(--space-6); }
.filter-group h3 {
    font-size: var(--fs-base);
    color: var(--primary);
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 600;
}
.filter-group h3 svg { width: 18px; height: 18px; color: var(--secondary); }
.custom-select {
    width: 100%;
    padding: var(--space-3) 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--fs-sm);
    color: var(--text-color);
    background-color: var(--bg-lighter);
    cursor: pointer;
    outline: none;
    transition: border-color var(--transition-base);
}
.custom-select:focus { border-color: var(--primary); }
.btn-filter {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px;
    font-size: var(--fs-md);
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background var(--transition-slow);
}
.btn-filter:hover { background: var(--primary-dark); }

/* Products Grid */
.products-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

/* Product Card */
.product-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}
.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.card-link:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 3px;
    border-radius: var(--radius-xl);
}

/* Badges */
.card-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    z-index: var(--z-gallery);
    pointer-events: none;
}
.badge {
    padding: 5px var(--space-3);
    font-size: var(--fs-xs);
    font-weight: 700;
    color: white;
    border-radius: var(--radius-sm);
    width: fit-content;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
.discount-badge { background-color: var(--secondary); }
.taksit-badge   { background-color: var(--primary); }

/* Image Wrapper & Hover Slider */
.img-wrapper {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: white;
    padding: var(--space-5);
    border-bottom: 1px solid var(--border-color);
}
.card-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    transition: opacity 0.18s ease;
}
.card-main-img.fading { opacity: 0; }
.hover-indicators {
    position: absolute;
    bottom: var(--space-3);
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 5;
    opacity: 0;
    transition: opacity var(--transition-slow);
}
.product-card:hover .hover-indicators { opacity: 1; }
.hover-dot {
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--border-subtle);
    transition: var(--transition-base);
}
.hover-dot.active { background: var(--secondary); transform: scale(1.3); }

/* Card Text */
.p-info { padding: var(--space-5); display: flex; flex-direction: column; flex-grow: 1; }
.p-brand {
    color: var(--text-light);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 5px;
}
.product-card h4 {
    font-size: var(--fs-lg);
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2.8em;
}
.p-price { margin-top: auto; display: flex; flex-direction: column; }
.old-price { text-decoration: line-through; color: var(--text-subtle); font-size: var(--fs-sm); font-weight: 500; margin-bottom: 2px; }
.new-price { color: var(--secondary); font-weight: 700; font-size: var(--fs-3xl); }

/* Empty State */
.no-products {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-12) var(--space-5);
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border-subtle);
    color: var(--text-dim);
}
.no-products svg { width: 50px; height: 50px; color: var(--border-subtle); margin-bottom: 15px; }

/* Products Page — Responsive */
@media (max-width: 1024px) {
    .products-container { flex-direction: column; padding: var(--space-5) 5%; }
    .filter-panel { width: 100%; display: flex; flex-wrap: wrap; gap: 15px; align-items: flex-end; }
    .filter-group { flex: 1; min-width: 200px; margin-bottom: 0; }
    .btn-filter { flex: 1; min-width: 200px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    
    .filter-panel { 
        flex-direction: column; 
        align-items: stretch; /* Önceki sağa kayma problemini çözer, genişliği tam yayar */
    }
    
    .filter-group { 
        width: 100%; 
        min-width: 100%; 
        margin-bottom: var(--space-4); /* Mobilde alt alta binerken nefes alacak boşluk bırakır */
    }
    
    .filter-group h3 {
        justify-content: flex-start; /* İkon ve metinleri düzgünce sola hizalar */
    }
    
    .btn-filter { 
        width: 100%; 
        min-width: 100%; 
        margin-top: var(--space-2);
    }
}

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-9);
    padding-top: var(--space-5);
    border-top: 1px solid var(--border-color);
    grid-column: 1 / -1;
}
.page-link {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--fs-base);
    transition: all var(--transition-base);
}
.page-link:hover {
    background-color: var(--bg-hover);
    border-color: var(--border-subtle);
}
.page-link.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    cursor: default;
    box-shadow: 0 2px 6px rgba(20, 46, 75, 0.2);
}
.page-link.active:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}
.page-link:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 2px;
}
.page-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 40px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
    user-select: none;
}

/* =============================================
   HOMEPAGE — SHARED UTILITIES
   ============================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-5); }
.bg-light   { background-color: var(--bg-light); }

/* =============================================
   HERO
   ============================================= */
.hero {
    background: linear-gradient(rgba(20, 46, 75, 0.9), rgba(20, 46, 75, 0.95)), url('assets/hero-bg.jpg') center/cover;
    padding: 100px var(--space-5);
    color: white;
    text-align: center;
}
.hero-content { max-width: 900px; margin: 0 auto; }
.hero-badge {
    display: inline-block;
    background: var(--color-yellow);
    color: var(--primary);
    font-weight: 800;
    padding: 6px 15px;
    border-radius: var(--radius-pill);
    font-size: var(--fs-sm);
    margin-bottom: var(--space-5);
    text-transform: uppercase;
}
.hero h1 { font-size: var(--fs-8xl); font-weight: 800; line-height: 1.2; margin-bottom: var(--space-5); color: white; }
.hero h1 span { color: var(--secondary); }
.hero p { font-size: var(--fs-xl); color: var(--text-pale); margin-bottom: var(--space-9); line-height: 1.6; }

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 850px;
    margin: 0 auto;
}
.hero-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: var(--space-4) 28px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: var(--fs-md);
    text-decoration: none;
    transition: transform var(--transition-base), background var(--transition-base);
    min-width: 240px;
    flex: 1;
}
.btn-primary  { background: var(--secondary); color: white; }
.btn-primary:hover  { background: var(--secondary-dark); transform: translateY(-3px); }
.btn-whatsapp { background: var(--color-whatsapp); color: white; }
.btn-whatsapp:hover { background: var(--color-whatsapp-dark); transform: translateY(-3px); }

/* =============================================
   FEATURES BANNER
   ============================================= */
.features-banner {
    background: var(--primary-dark);
    color: white;
    padding: var(--space-5) 0;
    border-bottom: 3px solid var(--secondary);
}
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); text-align: center; }
.feature-item { display: flex; align-items: center; justify-content: center; gap: 15px; }
.f-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; }
.f-icon svg { width: 30px; height: 30px; stroke: white; }
.f-text { text-align: left; font-size: var(--fs-base); line-height: 1.3; color: var(--text-pale); }
.f-text strong { display: block; color: white; font-size: var(--fs-xl); }

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-section { padding: var(--space-20) var(--space-5); }
.section-header { text-align: center; margin-bottom: var(--space-10); }
.section-header h2 { font-size: var(--fs-7xl); color: var(--primary); margin-bottom: 15px; font-weight: 800; }
.section-header p { color: var(--text-muted); font-size: var(--fs-xl); }
.title-line { 
    width: 80px; 
    height: 4px; 
    background: var(--secondary); 
    /* Alt tarafa 20px boşluk eklendi */
    margin: 0 auto 20px auto; 
    border-radius: var(--radius-sm); 
}

.service-cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.service-card {
    background: var(--card-bg);
    padding: var(--space-8) var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--border-muted);
    transition: transform var(--transition-slow);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card-hover); }
.service-card.border-blue   { border-top-color: var(--primary); }
.service-card.border-orange { border-top-color: var(--secondary); }
.service-card.border-green  { border-top-color: var(--color-green); }

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
}
.icon-circle svg { width: 26px; height: 26px; }
.icon-blue   { background: var(--primary-bg);    color: var(--primary); }
.icon-orange { background: var(--secondary-bg-light); color: var(--secondary); }
.icon-green  { background: var(--color-green-bg); color: var(--color-green); }

.service-card h3 { text-align: center; font-size: var(--fs-2xl); color: var(--primary); margin-bottom: var(--space-5); font-weight: 700; }
.service-card ul { list-style: none; padding: 0; }
.service-card ul li {
    position: relative;
    padding-left: var(--space-5);
    margin-bottom: var(--space-3);
    color: var(--text-slate);
    font-size: var(--fs-base);
    line-height: 1.4;
}
.service-card ul li::before { content: "•"; position: absolute; left: 0; color: var(--primary); font-weight: bold; }
.view-products-btn {
    display: block;
    text-align: center;
    margin-top: var(--space-5);
    padding: 10px;
    background: var(--color-green-bg);
    color: var(--color-green);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 700;
}

/* =============================================
   BRANDS SECTION
   ============================================= */
.brands-section { padding: 70px 0; }
.brands-grid {
    display: grid;
    /* Ekrana göre otomatik sığdır, en az 110px genişlik ver */
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 15px;
    margin-top: var(--space-9);
}
.brand-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 15px var(--space-3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.brand-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    border-color: var(--border-subtle);
}
.brand-logo { height: auto; max-height: 40px; max-width: 100%; object-fit: contain; }
.brand-item span {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: 0.2px;
}

/* =============================================
   GALLERY — DISCOVERY FLOW
   ============================================= */
.gallery-section { padding: var(--space-20) 0 0; background-color: var(--bg-light); }
.discovery-layout { display: flex; gap: 50px; margin-top: var(--space-9); align-items: flex-start; }

/* Left: Sticky Nav */
.timeline-wrapper { position: sticky; top: 120px; width: 250px; flex-shrink: 0; z-index: var(--z-timeline); }
.timeline-nav { position: relative; display: flex; flex-direction: column; gap: var(--space-9); padding-left: var(--space-5); }
.timeline-line { position: absolute; left: 26px; top: 10px; bottom: 10px; width: 2px; background-color: var(--border-color); z-index: 1; }
.timeline-step { position: relative; z-index: 2; display: flex; align-items: center; gap: 15px; cursor: pointer; transition: all var(--transition-slow); opacity: 0.5; }
.timeline-step.active,
.timeline-step:hover { opacity: 1; }
.step-dot {
    width: 14px;
    height: 14px;
    border-radius: var(--radius-full);
    background-color: var(--border-subtle);
    border: 3px solid var(--bg-light);
    transition: all var(--transition-slow);
    box-sizing: content-box;
}
.timeline-step.active .step-dot {
    background-color: var(--secondary);
    border-color: var(--secondary-bg);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(232, 81, 30, 0.4);
}
.timeline-step span { font-weight: 700; font-size: var(--fs-xl); color: var(--primary); transition: transform var(--transition-slow); }
.timeline-step.active span { transform: translateX(5px); color: var(--secondary); }

/* Right: Sticky Stacking */
.discovery-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}
.step-anchor { width: 100%; height: 1px; background: transparent; }
.discovery-step-card {
    position: sticky;
    top: 100px;
    background: var(--card-bg);
    padding: var(--space-5);
    border-radius: var(--radius-3xl);
    margin-bottom: 400px;
    border: 1px solid var(--border-color);
    box-shadow: 0 -15px 30px rgba(0,0,0,0.08);
    transition: border-color var(--transition-slow);
}
#step-giris { z-index: 10; }
#step-ofis  { z-index: 20; }
#step-atolye { z-index: 30; margin-bottom: 50px; }
.discovery-step-card.active-card { border-color: var(--border-subtle); }

.step-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 15px;
}
.grid-img-wrapper {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    background: var(--bg-hover);
}
.grid-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slower); }
.grid-img-wrapper:hover img { transform: scale(1.05); }

/* Gallery responsive */
/* =============================================
   GALLERY & BRANDS RESPONSIVE (MOBILE FIX)
   ============================================= */
@media (max-width: 900px) {
    .discovery-layout { flex-direction: column; gap: 0; }
    /* Mobilde Navigasyonu Header'ın Altına Sabitle (Yüzen Oval Kapsül Menü) */
    .timeline-wrapper { 
        position: sticky; 
        top: 90px; 
        
        /* MERKEZE ALMA İŞLEMİ: Sadece içeriği kadar genişleyip tam ortada durmasını sağlar */
        width: fit-content; 
        align-self: center; 
        margin: 0 auto 30px auto; 
        
        z-index: 150; 
        background: var(--card-bg); 
        border-radius: 100px; 
        padding: 6px; 
        box-shadow: 0 8px 25px rgba(0,0,0,0.08); 
        border: 1px solid var(--border-color);
    }
    
    .timeline-nav { 
        flex-direction: row; 
        justify-content: center; /* Yazıları tekrar tamamen merkeze aldık! */
        flex-wrap: nowrap; 
        overflow-x: auto; 
        padding: 0; 
        gap: 5px; 
    }
    
    /* Scrollbar'ı gizle ama işlevini koru */
    .timeline-nav::-webkit-scrollbar { display: none; }
    .timeline-nav { -ms-overflow-style: none; scrollbar-width: none; }

    .timeline-line { display: none; } 
    
    .timeline-step { 
        background: transparent; 
        padding: 10px 20px; 
        border-radius: 100px; /* Butonların kendisi de kapsülle uyumlu oval */
        border: none; 
        box-shadow: none;
        white-space: nowrap;
        transition: all 0.3s ease;
        margin: 0;
    }
    .timeline-step .step-dot { display: none; } 
    .timeline-step span { 
        font-size: var(--fs-base); 
        font-weight: 600;
        color: var(--text-muted); 
        transform: none !important; 
    }
    
    /* Aktif Sekme Görünümü */
    .timeline-step.active { 
        background: var(--primary); 
        box-shadow: 0 4px 12px rgba(20, 46, 75, 0.2); /* Sadece aktif butona çok hafif bir derinlik */
    }
    .timeline-step.active span { color: white; }
    
    /* Kartların Mobildeki Davranışı */
    .discovery-content { padding-top: var(--space-5); }
    .discovery-step-card { 
        top: 150px; /* Mobilde Header + Navigasyon yüksekliği kadar aşağıdan yapışsın */
        margin-bottom: 200px; 
        padding: 15px;
    }
    
    /* Resim Izgarası */
    .step-photo-grid { 
        grid-template-rows: auto auto; /* Sabit pixel yerine otomatik */
        gap: 10px; 
    }
    .grid-img-wrapper {
        aspect-ratio: 4 / 3; /* Resimlerin ezilmesini önler */
        height: auto;
    }
}

@media (max-width: 480px) {
    /* Çok küçük ekranlar için ince ayarlar */
    .timeline-step { padding: 6px 15px; }
    .timeline-step span { font-size: var(--fs-xs); }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 sütuna düşür */
        gap: 10px;
    }
    .brand-logo { max-height: 35px; }
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-section { padding: var(--space-20) var(--space-5); }
.contact-card {
    background: var(--card-bg);
    border-radius: var(--radius-3xl);
    overflow: hidden;
    display: flex;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}
.contact-info { padding: 50px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.contact-info h2 { font-size: var(--fs-6xl); color: var(--primary); margin-bottom: var(--space-5); font-weight: 800; }
.contact-info p  { color: var(--text-muted); font-size: var(--fs-lg); line-height: 1.6; margin-bottom: var(--space-8); }
.c-phones { display: flex; gap: 15px; flex-wrap: wrap; }
.phone-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-lg);
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-base);
    font-size: var(--fs-xl);
}
.phone-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.phone-link:hover { border-color: var(--secondary); color: var(--secondary); }

.location-box {
    background: var(--primary);
    color: white;
    padding: 50px;
    width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.loc-icon { display: flex; margin-bottom: var(--space-5); }
.loc-icon svg { width: 40px; height: 40px; stroke: white; }
.location-box h3 { font-size: var(--fs-4xl); margin-bottom: 15px; font-weight: 700; color: white; }
.location-box p  { color: var(--text-pale); font-size: var(--fs-xl); line-height: 1.6; margin-bottom: var(--space-8); }
.map-btn {
    background: var(--secondary);
    color: white;
    padding: 15px var(--space-6);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background var(--transition-base);
    font-size: var(--fs-xl);
}
.map-btn:hover { background: var(--secondary-dark); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: var(--primary-darker);
    color: rgba(255,255,255,0.65);
    padding-top: var(--space-14);
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-5) var(--space-14);
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.6fr;
    gap: var(--space-10);
}
.footer-logo {
    font-size: var(--fs-3xl);
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-3);
}
.footer-tagline {
    font-size: var(--fs-sm);
    line-height: 1.65;
    margin: 0 0 var(--space-5) 0;
    max-width: 220px;
}
.footer-social { display: flex; gap: var(--space-3); }
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.65);
    transition: all var(--transition-base);
}
.footer-social a:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
    transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; }
.footer-heading {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 var(--space-5) 0;
}
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: var(--fs-sm);
    transition: color var(--transition-base), padding-left var(--transition-base);
    display: inline-block;
}
.footer-links a:hover { color: white; padding-left: 4px; }
.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--fs-sm);
    line-height: 1.5;
}
.footer-contact svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 2px;
    stroke: var(--secondary);
}
.footer-contact a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color var(--transition-base); }
.footer-contact a:hover { color: white; }
.footer-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    line-height: 0;
}
.footer-map iframe {
    width: 100%;
    height: 175px;
    border: 0;
    display: block;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: var(--space-5);
    text-align: center;
    font-size: var(--fs-xs);
    color: rgba(255,255,255,0.35);
}

/* =============================================
   RESPONSIVE — HOMEPAGE
   ============================================= */
@media (max-width: 1024px) {
    .service-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-card { flex-direction: column; }
    .location-box { width: 100%; padding: var(--space-9); align-items: center; text-align: center; }
    .brands-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .site-logo { max-height: 35px; }

    .hamburger { display: flex; }
    header nav {
        display: none;
        position: absolute;
        top: var(--space-14);
        left: 0;
        width: 100%;
        background: var(--primary);
        flex-direction: column;
        padding: var(--space-2) 5% var(--space-5);
        box-shadow: 0 8px 24px rgba(0,0,0,0.2);
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    header nav.open { display: flex; }
    header nav a { margin-left: 0; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: var(--fs-md); }
    header nav a:last-child { border-bottom: none; }
    header nav a::after { display: none; }
    header nav a.active { color: var(--secondary); }

    .hero h1 { font-size: var(--fs-7xl); }
    .hero-actions { flex-direction: column; width: 100%; gap: var(--space-3); }
    .hero-actions a { width: 100%; min-width: 100%; }

    .features-grid { grid-template-columns: 1fr; gap: 15px; text-align: left; }
    .feature-item { justify-content: flex-start; padding-left: var(--space-5); }

    .service-cards-grid { grid-template-columns: 1fr; }
    .brands-grid { grid-template-columns: repeat(3, 1fr); }

    .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
    .footer-tagline { max-width: 100%; }
}

@media (max-width: 540px) {
    .footer-inner { grid-template-columns: 1fr; gap: var(--space-7); }
}

/* =============================================
   ADMIN PANEL
   ============================================= */
.admin-body { background-color: var(--bg-color); padding: var(--space-5); font-family: 'Inter', sans-serif; }
.admin-container { max-width: 900px; margin: 0 auto var(--space-8); background: var(--card-bg); padding: var(--space-8); border-radius: var(--radius-2xl); box-shadow: var(--shadow-md); }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-6); padding-bottom: 15px; border-bottom: 1px solid var(--border-light); }
.admin-header h2 { color: var(--primary); font-size: var(--fs-4xl); margin: 0; }
.btn-logout { color: var(--color-red-alt); text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: 5px; }

.form-group { margin-bottom: var(--space-5); }
.form-row { display: flex; gap: var(--space-5); margin-bottom: var(--space-5); }
.form-group label, .form-row label { display: block; font-weight: 600; color: var(--text-medium); margin-bottom: var(--space-2); font-size: var(--fs-sm); }
.form-control { width: 100%; padding: var(--space-3); border: 1px solid var(--border-muted); border-radius: var(--radius-md); font-size: var(--fs-base); transition: border-color var(--transition-base); background: var(--bg-lighter); }
.form-control:focus { border-color: var(--primary); outline: none; background: var(--card-bg); }

.file-upload-box { border: 2px dashed var(--border-muted); padding: var(--space-8); text-align: center; border-radius: var(--radius-lg); cursor: pointer; transition: var(--transition-slow); background: var(--bg-lighter); }
.file-upload-box:hover { border-color: var(--primary); background: var(--bg-hover); }
.file-upload-box p { color: var(--text-dim); margin-bottom: 10px; font-size: var(--fs-base); }
.file-upload-btn { background: var(--primary); color: white; padding: var(--space-2) var(--space-5); border-radius: var(--radius-md); display: inline-block; font-weight: 600; pointer-events: none; }
.preview-container { display: flex; flex-wrap: wrap; gap: 15px; margin-top: var(--space-5); }
.preview-item { position: relative; width: 80px; height: 80px; border-radius: var(--radius-md); box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.preview-item img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); }
.preview-remove { position: absolute; top: -8px; right: -8px; background: var(--color-red-alt); color: white; width: 20px; height: 20px; border-radius: var(--radius-full); display: flex; justify-content: center; align-items: center; font-size: 12px; cursor: pointer; font-weight: bold; border: 2px solid white; }

.btn-save { background: var(--primary); color: white; padding: var(--space-3) var(--space-8); border: none; border-radius: var(--radius-md); font-weight: bold; font-size: var(--fs-md); cursor: pointer; transition: var(--transition-slow); width: 100%; display: block; }
.btn-save:hover { background: var(--primary-darker); }
.action-btns { display: flex; gap: var(--space-2); }
.btn-edit   { background: var(--color-blue);  color: white; padding: 6px var(--space-3); text-decoration: none; border-radius: var(--radius-sm); font-size: var(--fs-sm); font-weight: 600; }
.btn-delete { background: var(--color-red);   color: white; padding: 6px var(--space-3); text-decoration: none; border-radius: var(--radius-sm); font-size: var(--fs-sm); font-weight: 600; }

.table-responsive { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.admin-table th { background: var(--bg-light); padding: 15px; text-align: left; border-bottom: 2px solid var(--border-color); color: var(--text-muted); font-weight: 600; }
.admin-table td { padding: 15px; border-bottom: 1px solid var(--border-color); vertical-align: middle; }

#toast-container { position: fixed; top: var(--space-5); right: var(--space-5); z-index: var(--z-modal); display: flex; flex-direction: column; gap: 10px; }
.toast { min-width: 250px; padding: 15px var(--space-5); border-radius: var(--radius-lg); color: white; font-weight: 600; font-size: var(--fs-base); box-shadow: var(--shadow-toast); transform: translateX(120%); transition: transform var(--transition-slow); display: flex; align-items: center; justify-content: space-between; }
.toast.show    { transform: translateX(0); }
.toast.success { background-color: var(--color-success); }
.toast.error   { background-color: var(--color-red); }

@media (max-width: 768px) {
    .form-row { flex-direction: column; gap: 0; }
    .admin-body { padding: 10px; }
    .admin-container { padding: var(--space-5); }
}

/* =============================================
   FLOATING ACTION BUTTONS (FAB)
   ============================================= */
.fab-container {
    position: fixed;
    bottom: 28px;
    right: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 500;
}

.fab {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.22);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(0,0,0,0.32);
}
.fab svg {
    width: 24px;
    height: 24px;
    stroke: white;
    fill: none;
    flex-shrink: 0;
}

.fab-label {
    position: absolute;
    right: calc(100% + 12px);
    white-space: nowrap;
    background: rgba(20, 46, 75, 0.88);
    color: white;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: var(--radius-md);
    opacity: 0;
    transform: translateX(6px);
    transition: opacity var(--transition-base), transform var(--transition-base);
    pointer-events: none;
}
.fab:hover .fab-label {
    opacity: 1;
    transform: translateX(0);
}

.fab-whatsapp {
    background: var(--color-whatsapp);
    width: 62px;
    height: 62px;
}
.fab-whatsapp:hover { background: var(--color-whatsapp-dark); }

.fab-whatsapp::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-full);
    background: rgba(37, 211, 102, 0.45);
    animation: fab-pulse 2.2s ease-out infinite;
    z-index: -1;
}

@keyframes fab-pulse {
    0%   { transform: scale(1);   opacity: 0.8; }
    100% { transform: scale(1.9); opacity: 0; }
}

/* Masaüstünde Arama butonunu gizle */
.fab-call { 
    background: var(--primary); 
    display: none; 
}
.fab-call:hover { background: var(--primary-dark); }

@media (max-width: 768px) {
    .fab-container { bottom: 20px; right: 16px; gap: 10px; }
    .fab           { width: 48px; height: 48px; }
    .fab-whatsapp  { width: 56px; height: 56px; }
    .fab svg       { width: 22px; height: 22px; }
    .fab-label     { display: none; }
    
    /* Mobilde Arama butonunu geri getir */
    .fab-call { display: flex; }
}

@media (max-width: 768px) {
    .fab-container { bottom: 20px; right: 16px; gap: 10px; }
    .fab           { width: 48px; height: 48px; }
    .fab-whatsapp  { width: 56px; height: 56px; }
    .fab svg       { width: 22px; height: 22px; }
    .fab-label     { display: none; }
}

/* =============================================
   SKELETON LOADERS
   ============================================= */
@keyframes skeleton-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.img-wrapper.is-loading {
    background: linear-gradient(90deg,
        var(--bg-hover) 25%,
        var(--border-color) 50%,
        var(--bg-hover) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite linear;
}

.img-wrapper.is-loading .card-main-img {
    opacity: 0;
}

/* =============================================
   ACTIVE FILTERS BAR
   ============================================= */
.active-filters-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-5);
    font-size: var(--fs-sm);
}

.active-filters-bar strong {
    color: var(--text-muted);
    margin-right: var(--space-1);
    font-weight: 600;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 3px var(--space-3);
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: var(--fs-xs);
    font-weight: 500;
}

.clear-filters-btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 4px var(--space-3);
    background: transparent;
    color: var(--secondary);
    border: 1px solid var(--secondary);
    border-radius: var(--radius-full);
    font-size: var(--fs-xs);
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition-base), color var(--transition-base);
}

.clear-filters-btn:hover {
    background: var(--secondary);
    color: #fff;
}

/* =============================================
   EMPTY STATE
   ============================================= */
.no-products {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-20) var(--space-6);
    text-align: center;
    color: var(--text-muted);
}

.no-products svg {
    width: 80px;
    height: 80px;
    stroke: var(--border-muted);
    margin-bottom: var(--space-5);
}

.no-products h3 {
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 var(--space-2) 0;
}

.no-products p {
    font-size: var(--fs-base);
    color: var(--text-muted);
    margin: 0 0 var(--space-6) 0;
    max-width: 320px;
}

.btn-reset-filters {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition-base), transform var(--transition-base);
}

.btn-reset-filters:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* =============================================
   PRODUCT DETAIL PAGE
   ============================================= */

/* Layout */
.detail-container {
    max-width: 1100px;
    margin: var(--space-9) auto;
    padding: 0 var(--space-5);
    width: 100%;
}

.back-btn {
    display: inline-block;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: var(--fs-sm);
    margin-bottom: var(--space-5);
    transition: opacity var(--transition-base);
}
.back-btn:hover { opacity: 0.8; }

/* Detail Card – 2-column product view */
.detail-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-9);
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    max-width: 100%;
}

.gallery-wrapper,
.info-wrapper {
    min-width: 0;
    max-width: 100%;
}

.gallery-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

/* Main image */
.main-image-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 450px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    cursor: zoom-in;
    overflow: hidden;
}

.main-image-container img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

/* Discount badge – scoped to detail card */
.detail-card .discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--secondary);
    color: white;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    font-size: var(--fs-xs);
    font-weight: 600;
    z-index: 2;
}

/* Gallery navigation arrows */
.galeri-ok {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--border-muted);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    transition: background var(--transition-base);
    font-size: 18px;
}
.galeri-ok:hover { background-color: var(--text-subtle); }
.galeri-sol { left: 15px; }
.galeri-sag { right: 15px; }

/* Thumbnails */
.thumb-container {
    display: flex;
    gap: 15px;
}

.thumb {
    width: 70px;
    height: 70px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    object-fit: contain;
    padding: var(--space-1);
    transition: border-color var(--transition-base);
}
.thumb.active { border: 2px solid var(--secondary); }

/* Info panel */
.info-wrapper {
    display: flex;
    flex-direction: column;
}

.breadcrumb {
    color: var(--text-muted);
    font-size: var(--fs-2xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-3);
}

.product-title {
    font-size: var(--fs-5xl);
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: var(--space-5);
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.price-section {
    margin-bottom: var(--space-8);
}

/* Prices – scoped to detail card to avoid collision with product grid */
.detail-card .old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: var(--fs-md);
    margin-bottom: var(--space-1);
    display: block;
}

.detail-card .new-price {
    font-size: var(--fs-6xl);
    font-weight: 700;
    color: var(--secondary);
}

.divider {
    height: 1px;
    background-color: var(--border-light);
    border: none;
    margin-bottom: var(--space-7);
}

.desc-title {
    font-size: var(--fs-md);
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.desc-text {
    color: var(--text-dim);
    font-size: var(--fs-base);
    line-height: 1.65;
    margin-bottom: var(--space-9);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* WhatsApp CTA */
.whatsapp-btn {
    background-color: var(--color-whatsapp);
    color: white;
    text-decoration: none;
    padding: var(--space-4);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
    font-size: var(--fs-md);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-3);
    transition: background var(--transition-base);
    margin-top: auto;
}
.whatsapp-btn:hover { background-color: var(--color-whatsapp-dark); }

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
    display: none;
    position: fixed;
    z-index: var(--z-modal);
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content-wrapper {
    position: relative;
    width: 90%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    transition: transform var(--transition-fast);
}

.close-lightbox {
    position: absolute;
    top: var(--space-5);
    right: 25px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: calc(var(--z-modal) + 1);
}

.lb-ok {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
    z-index: calc(var(--z-modal) + 1);
    padding: var(--space-5);
}
.lb-sol { left: 2%; }
.lb-sag { right: 2%; }

.zoom-info {
    position: absolute;
    bottom: var(--space-8);
    color: white;
    font-size: 14px;
    opacity: 0.7;
    text-align: center;
    width: 100%;
}

/* =============================================
   PRODUCT DETAIL — RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .detail-container {
        margin: var(--space-5) auto;
    }

    .detail-card {
        grid-template-columns: 1fr;
        padding: var(--space-5);
        gap: var(--space-7);
        width: 100%;
        overflow: hidden;
    }

    .main-image-container {
        height: 320px;
    }

    .galeri-ok {
        display: none;
    }

    .thumb-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: var(--space-3);
        scrollbar-width: none;
    }
    .thumb-container::-webkit-scrollbar { display: none; }

    .thumb {
        flex: 0 0 auto;
        width: 65px;
        height: 65px;
    }

    .product-title {
        font-size: var(--fs-3xl);
    }

    .detail-card .new-price {
        font-size: var(--fs-5xl);
    }

    .desc-text {
        font-size: var(--fs-xs);
    }

    .lb-ok {
        font-size: 30px;
        padding: var(--space-3);
    }
}
