/* ============================================
   KaraH Wear — Premium Luxury Redesign
   Design: Editorial Haute Couture
   Palette: Deep Ivory + Warm Black + 24K Gold
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@200;300;400;500&display=swap');

:root {
    --ivory:       #faf8f4;
    --ivory-2:     #f3f0ea;
    --ivory-3:     #ebe7df;
    --ivory-4:     #d9d3c7;
    --warm-grey:   #9a9085;
    --charcoal:    #3d3830;
    --ink:         #1c1914;
    --gold:        #b8976a;
    --gold-light:  #d4b896;
    --gold-dark:   #9a7a50;
    --white:       #ffffff;
    --cream:       #fefcf9;

    --font-serif:  'Cormorant Garamond', Georgia, serif;
    --font-sans:   'Jost', system-ui, sans-serif;

    --shadow-xs:   0 1px 6px rgba(28,25,20,0.06);
    --shadow-sm:   0 4px 20px rgba(28,25,20,0.08);
    --shadow-md:   0 12px 48px rgba(28,25,20,0.10);
    --shadow-lg:   0 32px 80px rgba(28,25,20,0.14);
    --shadow-gold: 0 8px 40px rgba(184,151,106,0.22);

    --radius:      0px;
    --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    --nav-height:  76px;
    --light-grey:  #ebe7df;
    --soft-black:  #1c1914;

    --gold-gradient: linear-gradient(135deg, #b8976a 0%, #d4b896 40%, #c4a87c 70%, #9a7a50 100%);
    --dark-gradient: linear-gradient(180deg, #1c1914 0%, #2e2820 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; transition: all var(--transition); }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--ivory-2); }
::-webkit-scrollbar-thumb { background: var(--gold); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.01em;
}

.section-label {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    font-family: var(--font-sans);
    font-weight: 400;
}

/* ===== GOLD RULE ===== */
.gold-rule {
    width: 40px;
    height: 1px;
    background: var(--gold-gradient);
    display: block;
    margin: 16px 0;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(254, 252, 249, 0.97);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid rgba(184,151,106,0.15);
    height: var(--nav-height);
    transition: box-shadow var(--transition), border-color var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 8px 48px rgba(28,25,20,0.08);
    border-bottom-color: rgba(184,151,106,0.25);
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--ink);
    flex-shrink: 0;
    position: relative;
}

.nav-logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0; right: 0;
    height: 1px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}

.nav-logo:hover::after { transform: scaleX(1); }
.nav-logo:hover { opacity: 1; }

.nav-links {
    display: flex;
    gap: 48px;
    align-items: center;
}

.nav-links a {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--charcoal);
    position: relative;
    padding-bottom: 3px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 100%;
    height: 1px;
    background: var(--gold-gradient);
    transition: right var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }

.nav-links a:hover { opacity: 1; color: var(--ink); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.nav-cart {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--ink);
    transition: color var(--transition);
}

.nav-cart:hover { color: var(--gold); opacity: 1; }

.cart-badge {
    position: absolute;
    top: -9px; right: -11px;
    background: var(--gold-gradient);
    color: var(--white);
    font-size: 9px;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-sans);
    letter-spacing: 0;
    font-weight: 400;
}

.nav-link-sm {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--charcoal);
    transition: color var(--transition);
}

.nav-link-sm:hover { color: var(--gold); opacity: 1; }

.nav-mobile-only { display: none; }
.nav-desktop-only { display: inline-flex; }
.nav-categories { display: none; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 4px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 24px; height: 1px;
    background: var(--ink);
    transition: var(--transition);
}

.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); }

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(28,25,20,0.5);
    backdrop-filter: blur(4px);
    z-index: -1;
}

/* ===== FLASH MESSAGES ===== */
.flash {
    position: fixed;
    top: calc(var(--nav-height) + 16px);
    left: 50%; transform: translateX(-50%);
    z-index: 9999;
    padding: 14px 36px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: fadeFlash 4.5s forwards;
    white-space: nowrap;
    border: 1px solid transparent;
}

.flash-success {
    background: var(--ink);
    color: var(--gold-light);
    border-color: rgba(184,151,106,0.3);
}
.flash-error { background: #7a1c14; color: #f5c6c0; }
.flash-info { background: var(--charcoal); color: var(--ivory-4); }

@keyframes fadeFlash {
    0%   { opacity: 0; transform: translateX(-50%) translateY(-12px); }
    8%   { opacity: 1; transform: translateX(-50%) translateY(0); }
    82%  { opacity: 1; }
    100% { opacity: 0; }
}

/* ===== PAGE WRAPPER ===== */
.page-wrap {
    padding-top: var(--nav-height);
    min-height: 100vh;
}

/* ===== HERO ===== */
.hero {
    height: calc(100vh - var(--nav-height));
    min-height: 640px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--ink);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1490481651871-ab68de25d43d?w=1600&q=85');
    background-size: cover;
    background-position: center 25%;
    transform: scale(1.05);
    animation: heroZoom 14s ease-out forwards;
    filter: brightness(0.82) contrast(1.04);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(28,25,20,0.72) 0%,
        rgba(28,25,20,0.38) 52%,
        rgba(28,25,20,0.08) 100%
    );
}

/* Grain texture overlay */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to   { transform: scale(1.00); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
    animation: heroFade 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.hero-label {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--gold-light);
}

.hero-label::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}

.hero h1 {
    font-size: clamp(60px, 8vw, 120px);
    font-weight: 300;
    line-height: 0.95;
    color: var(--white);
    margin-bottom: 32px;
    max-width: 720px;
    letter-spacing: -0.02em;
}

.hero h1 em {
    font-style: italic;
    font-weight: 300;
    color: var(--gold-light);
    display: block;
}

.hero-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    max-width: 380px;
    line-height: 1.85;
    margin-bottom: 48px;
    letter-spacing: 0.03em;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 80px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    animation: heroFade 2s ease forwards;
}

.hero-scroll span {
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    font-family: var(--font-sans);
}

.hero-scroll-line {
    width: 48px;
    height: 1px;
    background: rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.hero-scroll-line::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold);
    animation: scrollLine 2.4s ease-in-out infinite;
}

@keyframes scrollLine {
    0%   { left: -100%; }
    100% { left: 100%; }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 44px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 400;
    transition: all var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-family: var(--font-sans);
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.btn:hover::before { transform: scaleX(1); }
.btn:hover { opacity: 1; }

.btn-dark {
    background: var(--ink);
    color: var(--white);
    border: 1px solid var(--ink);
}

.btn-dark::before {
    background: rgba(255,255,255,0.08);
}

.btn-dark:hover { color: var(--gold-light); border-color: var(--ink); }

.btn-gold {
    background: var(--gold-gradient);
    color: var(--ink);
    border: 1px solid transparent;
}

.btn-gold::before { background: rgba(255,255,255,0.15); }
.btn-gold:hover { box-shadow: var(--shadow-gold); color: var(--ink); }

.btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1px solid rgba(28,25,20,0.3);
}

.btn-outline:hover { color:white !important;
transition:.6s;
 background:black;
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.35);
}

.btn-outline-light::before { background: rgba(255,255,255,0.1); }
.btn-outline-light:hover { color: var(--white); border-color: rgba(255,255,255,0.6); }

.btn-full { width: 100%; justify-content: center; }

/* ===== SECTIONS ===== */
.section { padding: 120px 40px; }
.section-sm { padding: 80px 40px; }

.container {
    max-width: 1440px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 72px;
    gap: 24px;
    flex-wrap: wrap;
}

.section-header h2 {
    font-size: clamp(40px, 4.5vw, 68px);
    font-weight: 300;
    margin-top: 12px;
}

/* ===== MARQUEE ===== */
.marquee-section {
    background: var(--dark-gradient);
    color: var(--gold-light);
    padding: 22px 0;
    overflow: hidden;
    border-top: 1px solid rgba(184,151,106,0.12);
    border-bottom: 1px solid rgba(184,151,106,0.12);
}

.marquee-track {
    display: flex;
    gap: 64px;
    animation: marqueeScroll 22s linear infinite;
    white-space: nowrap;
}

.marquee-track span {
    font-family: var(--font-serif);
    font-size: 18px;
    font-style: italic;
    font-weight: 300;
    flex-shrink: 0;
    opacity: 0.9;
}

.marquee-track .dot {
    font-style: normal;
    font-size: 6px;
    opacity: 0.4;
    vertical-align: middle;
    color: var(--gold);
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ===== PRODUCT GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--ivory-2);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-slow);
}

.product-card:hover {
    z-index: 2;
}


.product-image-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--ivory-3);
}

.product-image-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow), filter var(--transition-slow);
    filter: brightness(0.97) contrast(1.02);
}

.product-card:hover .product-image-wrap img {
    transform: scale(1.07);
    filter: brightness(0.92) contrast(1.04);
}

.product-tag {
    position: absolute;
    top: 16px; left: 0;
    background: var(--ink);
    color: var(--gold-light);
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 6px 14px 6px 16px;
    z-index: 2;
    font-family: var(--font-sans);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(28,25,20,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-direction: column;
    opacity: 0;
    transition: opacity var(--transition);
}

.product-card:hover .product-overlay { opacity: 1; }

.product-info {
    padding: 20px 20px 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--ivory-2);
    border-top: 1px solid rgba(184,151,106,0.12);
}

.product-category {
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.product-name {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.2;
    margin-top: 2px;
}

.product-price {
    font-size: 14px;
    color: var(--warm-grey);
    margin-top: 6px;
    font-family: var(--font-sans, Arial, sans-serif);
}

.product-actions {
    padding: 0 20px 20px;
    display: flex;
    gap: 8px;
    background: var(--ivory-2);
}

/* ===== COLLECTION BANNERS ===== */
.collection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
}

.collection-card {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
    background: var(--ivory-3);
    cursor: pointer;
}

.collection-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow), filter var(--transition-slow);
    filter: brightness(0.88) saturate(0.9);
}

.collection-card:hover img {
    transform: scale(1.05);
    filter: brightness(0.78) saturate(1.0);
}

.collection-card-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 48px 44px;
    background: linear-gradient(
        to top,
        rgba(28,25,20,0.78) 0%,
        rgba(28,25,20,0.2) 50%,
        transparent 100%
    );
}

.collection-card-content .section-label {
    color: var(--gold-light);
    margin-bottom: 12px;
}

.collection-card-content h3 {
    font-family: var(--font-serif);
    font-size: clamp(20px, 2.2vw, 32px);
    color: var(--white);
    font-weight: 300;
    margin-bottom: 8px;
    line-height: 1.1;
}

/* ===== INSTAGRAM GRID ===== */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 3px;
}

.insta-item {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--ivory-3);
    position: relative;
    cursor: pointer;
}

.insta-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow), filter var(--transition-slow);
    filter: grayscale(15%) brightness(0.97);
}

.insta-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%) brightness(0.88);
}

.insta-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(184,151,106,0.22);
    opacity: 0;
    transition: opacity var(--transition);
}

.insta-item:hover::after { opacity: 1; }

/* ===== NEWSLETTER ===== */
.newsletter {
    background: var(--ink);
    color: var(--white);
    text-align: center;
    padding: 140px 40px;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(184,151,106,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter .section-label { color: var(--gold); margin-bottom: 20px; }

.newsletter h2 {
    font-size: clamp(40px, 5vw, 72px);
    margin-bottom: 16px;
    color: var(--white);
    font-weight: 300;
}

.newsletter p {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    margin-bottom: 56px;
    font-weight: 300;
    letter-spacing: 0.04em;
}

.newsletter-form {
    display: flex;
    max-width: 520px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 18px 24px;
    border: 1px solid rgba(184,151,106,0.25);
    border-right: none;
    background: rgba(255,255,255,0.04);
    font-size: 13px;
    color: var(--white);
    outline: none;
    transition: border-color var(--transition);
    letter-spacing: 0.04em;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.25); }
.newsletter-form input:focus { border-color: rgba(184,151,106,0.6); }

.newsletter-form button {
    padding: 18px 40px;
    background: var(--gold-gradient);
    color: var(--ink);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    font-family: var(--font-sans);
    font-weight: 400;
}

.newsletter-form button:hover {
    box-shadow: var(--shadow-gold);
    opacity: 0.92;
}

/* ===== SHOP PAGE ===== */
.shop-header {
    padding: 80px 40px 60px;
    background: var(--ivory-2);
    text-align: center;
    border-bottom: 1px solid rgba(184,151,106,0.12);
    position: relative;
    overflow: hidden;
}

.shop-header::before {
    content: 'MAĞAZA';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-serif);
    font-size: clamp(100px, 14vw, 200px);
    font-weight: 300;
    color: rgba(28,25,20,0.03);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: 0.1em;
    z-index: 0;
}

.shop-header > * { position: relative; z-index: 1; }

.shop-header .section-label { margin-bottom: 16px; }

.shop-header h1 {
    font-size: clamp(48px, 6vw, 88px);
    margin-bottom: 12px;
    font-weight: 300;
    letter-spacing: -0.02em;
}

.shop-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    padding: 0 2px;
}

.filter-tabs {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    border: 1px solid rgba(184,151,106,0.2);
}

.filter-tab {
    padding: 10px 24px;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: none;
    border-right: 1px solid rgba(184,151,106,0.2);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--warm-grey);
    font-family: var(--font-sans);
}

.filter-tab:last-child { border-right: none; }

.filter-tab:hover, .filter-tab.active {
    background: var(--ink);
    color: var(--gold-light);
}

.sort-select {
    padding: 10px 20px;
    border: 1px solid rgba(184,151,106,0.2);
    background: var(--cream);
    font-size: 11px;
    color: var(--charcoal);
    outline: none;
    cursor: pointer;
    letter-spacing: 0.06em;
    font-family: var(--font-sans);
    transition: border-color var(--transition);
    appearance: none;
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%239a9085' stroke-width='1.2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.sort-select:focus { border-color: var(--gold); }

/* ===== PRODUCT DETAIL ===== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: calc(100vh - var(--nav-height));
}

.product-detail-images {
    position: sticky;
    top: var(--nav-height);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-main-image {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--ivory-2);
}

.product-thumb-bar {
    display: flex;
    flex-direction: row;
    gap: 6px;
    overflow-x: auto;
    padding: 4px 2px;
}

.product-thumb-bar .thumb-item {
    height: 80px;
    aspect-ratio: 3/4;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--light-grey);
    cursor: pointer;
    outline: 2px solid transparent;
    transition: outline 0.2s;
}

.product-thumb-bar .thumb-item.active {
    outline: 2px solid var(--soft-black);
}

.product-thumb-bar .thumb-item img {
    width: 100%; height: 100%;
    object-fit: cover;
}

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

.product-main-image:hover img { transform: scale(1.04); }

.product-detail-info {
    padding: 80px 80px 80px 72px;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-detail-info .product-category { margin-bottom: 20px; }

.product-detail-info h1 {
    font-size: clamp(36px, 3.5vw, 56px);
    margin-bottom: 24px;
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.product-detail-price {
    font-size: 28px;
    color: var(--charcoal);
    margin-bottom: 36px;
    font-family: var(--font-serif);
    font-style: italic;
}

.product-detail-desc {
    font-size: 14px;
    color: var(--warm-grey);
    line-height: 1.9;
    margin-bottom: 44px;
    border-top: 1px solid rgba(184,151,106,0.15);
    border-bottom: 1px solid rgba(184,151,106,0.15);
    padding: 28px 0;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.size-selector { margin-bottom: 36px; }

.size-selector label {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--charcoal);
}

.size-selector label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(184,151,106,0.15);
}

.size-options {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.size-btn {
    width: 50px; height: 50px;
    border: 1px solid rgba(184,151,106,0.25);
    background: transparent;
    font-size: 11px;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--charcoal);
    letter-spacing: 0.06em;
    font-family: var(--font-sans);
}

.size-btn:hover, .size-btn.selected {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--gold-light);
}

.stock-info {
    font-size: 11px;
    color: var(--warm-grey);
    margin-bottom: 36px;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stock-info::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #5a9a6a;
    flex-shrink: 0;
}

/* ===== CART ===== */
.cart-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 80px;
    align-items: start;
}

.cart-items { display: flex; flex-direction: column; }

.cart-item {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    gap: 32px;
    align-items: center;
    padding: 36px 0;
    border-bottom: 1px solid rgba(184,151,106,0.12);
    animation: fadeIn 0.5s ease;
}

.cart-item-image {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--ivory-3);
}

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

.cart-item-image:hover img { transform: scale(1.05); }

.cart-item-name {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 6px;
    line-height: 1.15;
}

.cart-item-price {
    font-size: 14px;
    color: var(--warm-grey);
    margin-bottom: 20px;
    font-style: italic;
    font-family: var(--font-serif);
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid rgba(184,151,106,0.25);
    width: fit-content;
    background: var(--cream);
}

.qty-btn {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    cursor: pointer;
    color: var(--charcoal);
    transition: all var(--transition);
    font-weight: 300;
}

.qty-btn:hover {
    background: var(--ink);
    color: var(--gold-light);
}

.qty-num {
    width: 44px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    border-left: 1px solid rgba(184,151,106,0.2);
    border-right: 1px solid rgba(184,151,106,0.2);
    font-family: var(--font-serif);
    font-style: italic;
}

.remove-btn {
    color: var(--warm-grey);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color var(--transition);
    margin-top: 16px;
    display: block;
    font-family: var(--font-sans);
}

.remove-btn:hover { color: var(--ink); }

.cart-summary {
    background: var(--ivory-2);
    padding: 44px;
    position: sticky;
    top: calc(var(--nav-height) + 32px);
    border: 1px solid rgba(184,151,106,0.12);
}

.cart-summary h3 {
    font-size: 26px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(184,151,106,0.18);
    font-weight: 300;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 12px 0;
    color: var(--warm-grey);
    letter-spacing: 0.03em;
}

.summary-row.total {
    border-top: 1px solid rgba(184,151,106,0.18);
    margin-top: 12px;
    padding-top: 24px;
    font-family: var(--font-serif);
    font-size: 26px;
    color: var(--ink);
    font-style: italic;
}

/* ===== AUTH PAGES ===== */
.auth-page {
    min-height: calc(100vh - var(--nav-height));
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-image {
    background: var(--ink);
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.auth-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.75;
    filter: grayscale(15%);
}

.auth-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(28,25,20,0.6) 0%,
        rgba(28,25,20,0.2) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 60px;
}

.auth-image-text {
    color: var(--white);
}

.auth-image-text .section-label { color: var(--gold-light); margin-bottom: 16px; }

.auth-image-text h2 {
    font-size: clamp(40px, 4vw, 60px);
    font-weight: 300;
    color: var(--white);
    line-height: 1.05;
}

.auth-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    padding: 60px 80px;
}

.auth-box {
    width: 100%;
    max-width: 440px;
}

.auth-box .section-label { margin-bottom: 16px; }

.auth-box h1 {
    font-size: 48px;
    margin-bottom: 8px;
    font-weight: 300;
}

.auth-box p.auth-sub {
    color: var(--warm-grey);
    font-size: 14px;
    margin-bottom: 48px;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.form-group { margin-bottom: 24px; }

.form-group label {
    display: block;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--warm-grey);
    margin-bottom: 10px;
    font-family: var(--font-sans);
}

.form-control {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid rgba(184,151,106,0.2);
    background: var(--cream);
    font-size: 14px;
    color: var(--ink);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    font-family: var(--font-sans);
    font-weight: 300;
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184,151,106,0.08);
}

.form-control::placeholder { color: var(--ivory-4); }

.form-error {
    color: #9a2012;
    font-size: 11px;
    margin-top: 8px;
    letter-spacing: 0.04em;
}

.auth-switch {
    text-align: center;
    margin-top: 32px;
    font-size: 13px;
    color: var(--warm-grey);
    font-weight: 300;
}

.auth-switch a {
    color: var(--gold-dark);
    text-decoration: underline;
    text-decoration-color: rgba(184,151,106,0.4);
    text-underline-offset: 3px;
}

/* ===== CHECKOUT ===== */
.checkout-page {
    display: grid;
    grid-template-columns: 1fr 480px;
    min-height: calc(100vh - var(--nav-height));
}

.checkout-form-side {
    padding: 80px;
    background: var(--cream);
    border-right: 1px solid rgba(184,151,106,0.12);
}

.checkout-summary-side {
    padding: 80px 60px;
    background: var(--ivory-2);
}

.checkout-form-side h1 {
    font-size: clamp(36px, 3.5vw, 52px);
    margin-bottom: 8px;
    font-weight: 300;
}

.checkout-sub {
    color: var(--warm-grey);
    font-size: 14px;
    margin-bottom: 56px;
    font-weight: 300;
}

.checkout-section-title {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.checkout-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(184,151,106,0.2);
}

.order-summary-preview {
    margin-bottom: 0;
}

.order-summary-preview h3 {
    font-size: 26px;
    margin-bottom: 32px;
    font-weight: 300;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(184,151,106,0.15);
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(184,151,106,0.1);
    color: var(--charcoal);
}

.order-item-row span:last-child {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--warm-grey);
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-serif);
    font-size: 24px;
    padding-top: 24px;
    margin-top: 8px;
    font-style: italic;
}

/* ===== PAGE TITLE ===== */
.page-title-section {
    padding: 80px 40px 60px;
    text-align: center;
    background: var(--ivory-2);
    border-bottom: 1px solid rgba(184,151,106,0.12);
    position: relative;
    overflow: hidden;
}

.page-title-section h1 {
    font-size: clamp(44px, 5vw, 76px);
    font-weight: 300;
    letter-spacing: -0.02em;
}

.page-title-section p {
    color: var(--warm-grey);
    font-size: 14px;
    margin-top: 12px;
    font-weight: 300;
}

/* ===== EMPTY STATES ===== */
.empty-state {
    text-align: center;
    padding: 100px 24px;
}

.empty-state .gold-rule { margin: 24px auto; }

.empty-state h2 {
    font-size: 40px;
    margin-bottom: 14px;
    font-weight: 300;
}

.empty-state p {
    color: var(--warm-grey);
    font-size: 14px;
    margin-bottom: 44px;
    font-weight: 300;
}

/* ===== FEATURES STRIP ===== */
.features-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #1c1914;
}

.feature-item {
    padding: 44px 36px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.06);
    transition: background 0.3s;
    position: relative;
}

.feature-item:last-child { border-right: none; }

.feature-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 32px; height: 1px;
    background: var(--gold);
    transition: transform 0.3s;
}

.feature-item:hover::after { transform: translateX(-50%) scaleX(1); }
.feature-item:hover { background: rgba(255,255,255,0.03); }

.feature-icon-wrap {
    margin: 0 auto 18px;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(184,151,106,0.3);
    border-radius: 50%;
    color: var(--gold);
}

.feature-tag {
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
    opacity: 0.8;
}

.feature-title {
    font-family: var(--font-serif);
    font-size: 19px;
    margin-bottom: 8px;
    font-weight: 400;
    color: #fff;
}

.feature-desc {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.04em;
    line-height: 1.8;
    font-weight: 300;
}

/* ===== UTILITIES ===== */
.mt-auto { margin-top: auto; }
.text-center { text-align: center; }

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

/* ===== FOOTER ===== */
.footer {
    background: var(--ink);
    color: rgba(255,255,255,0.75);
    padding: 96px 40px 0;
    position: relative;
    overflow: hidden;
    padding-bottom: 0; /* footer-bottom handles bottom spacing */
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: var(--gold-gradient);
    opacity: 0.4;
}

.footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 2fr;
    gap: 100px;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .footer-logo {
    font-family: var(--font-serif);
    font-size: 30px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 8px;
}

.footer-brand .footer-tagline {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.9;
    color: rgba(255,255,255,0.4);
    font-weight: 300;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 400;
    margin-bottom: 24px;
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 14px;
    transition: color var(--transition);
    font-weight: 300;
    letter-spacing: 0.02em;
    opacity: 1;
}

.footer-col a:hover { color: var(--gold-light); opacity: 1; }

.footer-bottom {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    font-size: 11px;
    color: rgba(255,255,255,0.22);
    letter-spacing: 0.08em;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1), transform 0.75s cubic-bezier(0.4,0,0.2,1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .insta-grid { grid-template-columns: repeat(4, 1fr); }
    .checkout-page { grid-template-columns: 1fr; }
    .checkout-summary-side { padding: 60px 80px; border-top: 1px solid rgba(184,151,106,0.12); }
    .product-detail { grid-template-columns: 1fr; }
    .product-detail-images { position: relative; top: auto; max-height: none; }
    .product-detail-info { padding: 60px 40px; }
}

@media (max-width: 1024px) {
    .auth-page {
        grid-template-columns: 1fr;
        min-height: calc(100vh - var(--nav-height));
    }
    .auth-image { display: none; }
    .auth-form-side {
        padding: 60px 40px;
        min-height: calc(100vh - var(--nav-height));
        align-items: flex-start;
        padding-top: 72px;
    }
    .footer-inner { grid-template-columns: 1fr; gap: 56px; }
}

@media (max-width: 900px) {
    .hamburger { display: flex; }

    .nav-links {
        position: fixed;
        top: var(--nav-height); left: 0; right: 0;
        background: var(--cream);
        flex-direction: column;
        gap: 0;
        padding: 28px 0 40px;
        transform: translateY(-120%);
        transition: transform var(--transition);
        border-bottom: 1px solid rgba(184,151,106,0.15);
        z-index: 999;
        box-shadow: var(--shadow-md);
    }

    .nav-links.open { transform: translateY(0); }

    .nav-mobile-only { display: block !important; }
    .nav-desktop-only { display: none !important; }
    .nav-categories { display: block; }

    .nav-mobile-logout {
        color: #c0392b !important;
        opacity: 0.85 !important;
    }

    .nav-links a {
        padding: 16px 40px;
        font-size: 13px;
        border-bottom: 1px solid rgba(184,151,106,0.08);
    }

    .nav-links a::after { display: none; }
    .nav-overlay.open { display: block; }

    /* Kategoriler bloğu - mobile hamburger menü */
    .nav-categories {
        width: 100%;
        border-bottom: 1px solid rgba(184,151,106,0.08);
    }
    .nav-cat-label {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 14px 40px;
        font-size: 9px;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: var(--gold);
        font-family: var(--font-sans);
        font-weight: 400;
        margin: 0;
        background: none;
        border: none;
        cursor: pointer;
        text-align: left;
    }
    .nav-cat-arrow {
        font-size: 14px;
        transition: transform 0.25s ease;
        color: var(--gold);
    }
    .nav-cat-label[aria-expanded="true"] .nav-cat-arrow {
        transform: rotate(180deg);
    }
    .nav-cat-list {
        display: none;
        overflow: hidden;
    }
    .nav-cat-list.open {
        display: block;
    }
    .nav-cat-item {
        display: block !important;
        padding: 11px 40px 11px 56px !important;
        font-size: 12px !important;
        border-bottom: none !important;
        color: var(--dark-grey) !important;
        opacity: 1 !important;
        position: relative;
    }
    .nav-cat-item::before {
        content: '–';
        position: absolute;
        left: 40px;
        color: var(--gold);
        font-size: 11px;
    }
    .nav-cat-item.active,
    .nav-cat-item:hover {
        color: var(--ink) !important;
        background: rgba(184,151,106,0.06);
    }

    .cart-grid { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .collection-grid { grid-template-columns: 1fr; gap: 3px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }

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

    .section { padding: 80px 24px; }
    .section-sm { padding: 60px 24px; }
    .hero-content { padding: 0 32px; }
}

@media (max-width: 600px) {
    .nav-container { padding: 0 20px; }
    .hero h1 { font-size: 50px; }
    .hero-content { padding: 0 24px; }
    .hero-scroll { left: 24px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
    .insta-grid { grid-template-columns: repeat(3, 1fr); }
    .product-info { padding: 10px 12px 6px; gap: 2px; }
    .product-name { font-size: 14px; }
    .product-price { font-size: 12px; margin-top: 2px; }
    .product-actions { padding: 0 12px 12px; }
    .product-actions .btn { font-size: 9px; padding: 9px 10px; letter-spacing: .1em; }
    .product-overlay { opacity: 1; background: rgba(28,25,20,0.25); }
    .auth-form-side { padding: 48px 24px; padding-top: 56px; align-items: flex-start; }
    .cart-item { grid-template-columns: 88px 1fr auto; gap: 16px; }
    .features-strip { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input { border-right: 1px solid rgba(184,151,106,0.25); border-bottom: none; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .footer { padding: 72px 24px 0; }
    .footer-inner { gap: 40px; padding-bottom: 48px; }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 24px 0 32px;
    }
    .checkout-form-side { padding: 40px 24px; }
    .checkout-summary-side { padding: 40px 24px; }
}