/* ================= GOOGLE FONTS ================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Montserrat:wght@700;900&display=swap');

/* ================= VARIABLES ================= */
:root {
    --dark: #111111;
    --light: #F5F5F5;
    --white: #FFFFFF;
    --accent: #D4AF37;
    --gray: #888888;
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================= RESET & BASE ================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background-color: var(--light); color: var(--dark); font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open, body.cart-open { overflow: hidden; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; text-transform: uppercase; }
a { text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: none; background: none; font-family: inherit; -webkit-tap-highlight-color: transparent; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ================= LAYOUT ================= */
.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* ================= SCROLL REVEAL ================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================= NAVBAR ================= */
.navbar { position: fixed; top: 0; width: 100%; padding: 15px 0; z-index: 100; transition: var(--transition); mix-blend-mode: difference; color: var(--white); }
.navbar.scrolled { background: var(--dark); padding: 12px 0; mix-blend-mode: normal; }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
.logo { font-size: 1.3rem; font-weight: 900; letter-spacing: 2px; }
.nav-links { display: none; gap: 40px; }
.nav-links a { font-size: 0.85rem; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0%; height: 1px; background: var(--white); transition: var(--transition); }
.nav-links a:hover::after { width: 100%; }
.nav-icons { display: flex; gap: 20px; font-size: 1.2rem; }
.nav-right { display: flex; align-items: center; gap: 10px; }

/* ================= CART BUTTON & BADGE ================= */
.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.1rem;
    color: inherit;
    transition: var(--transition);
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
}

.cart-btn:hover {
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -8px;
    background: var(--accent);
    color: var(--dark);
    font-size: 0.65rem;
    font-weight: 900;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-btn.has-items .cart-badge {
    opacity: 1;
    transform: scale(1);
}

@keyframes badgePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.cart-badge.pop {
    animation: badgePop 0.3s ease;
}

/* ================= MOBILE MENU ================= */
.menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; min-width: 44px; min-height: 44px; cursor: pointer; z-index: 101; -webkit-tap-highlight-color: transparent; }
.menu-toggle span { display: block; width: 25px; height: 2px; background: var(--white); transition: var(--transition); transform-origin: center; }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 99; background: rgba(17, 17, 17, 0.97); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; transform: translateY(-100%); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.mobile-menu.active { transform: translateY(0); }
.mobile-menu a { font-family: 'Montserrat', sans-serif; font-size: 2rem; font-weight: 900; letter-spacing: 3px; color: var(--white); text-transform: uppercase; -webkit-tap-highlight-color: transparent; transition: color 0.3s ease; }
.mobile-menu a:hover, .mobile-menu a:active { color: var(--accent); }

/* ================= HERO ================= */
.hero { height: 100vh; height: 100svh; background: url('https://images.unsplash.com/photo-1492684223066-81342ee5ff30?q=80&w=2070') center/cover; display: flex; align-items: center; justify-content: center; position: relative; }
.hero::after { content: ''; position: absolute; inset: 0; background: rgba(17, 17, 17, 0.4); }
.hero-content { position: relative; z-index: 2; text-align: center; color: var(--white); padding: 0 20px; }
.hero h1 { font-size: clamp(2.8rem, 10vw, 6rem); font-weight: 900; line-height: 1; margin-bottom: 20px; letter-spacing: -2px; }
.hero p { font-size: clamp(0.85rem, 2vw, 1.2rem); font-weight: 300; letter-spacing: clamp(1px, 0.5vw, 4px); margin-bottom: clamp(25px, 5vw, 40px); text-transform: uppercase; }
.btn-primary { background: var(--white); color: var(--dark); padding: 14px 30px; font-size: 0.9rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; transition: var(--transition); display: inline-block; min-height: 44px; -webkit-tap-highlight-color: transparent; }
.btn-primary:hover { background: var(--accent); color: var(--white); }
.btn-primary:active { transform: scale(0.97); opacity: 0.9; }

/* ================= COLLECTION HERO ================= */
.collection-hero {
    position: relative;
    height: 70vh;
    height: 70svh;
    min-height: 400px;
    max-height: 700px;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.collection-hero::before {
    content: 'IDENTITY';
    position: absolute;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(8rem, 25vw, 20rem);
    font-weight: 900;
    color: rgba(255,255,255,0.03);
    text-transform: uppercase;
    letter-spacing: -5px;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.collection-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.collection-hero-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
}

.collection-hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.collection-hero-sub {
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    font-weight: 300;
    letter-spacing: clamp(2px, 0.5vw, 5px);
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 35px;
}

.collection-hero-line {
    width: 60px;
    height: 1px;
    background: var(--accent);
    margin: 0 auto;
}

/* ================= SECTIONS ================= */
.section-pad { padding: clamp(60px, 10vw, 120px) 0; }
.section-title { font-size: clamp(1.6rem, 5vw, 3rem); font-weight: 900; margin-bottom: clamp(30px, 6vw, 60px); text-align: center; letter-spacing: -1px; }

/* ================= PREMIUM SEPARATOR ================= */
.section-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
    color: rgba(17,17,17,0.15);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.section-separator::before,
.section-separator::after {
    content: '';
    height: 1px;
    width: 40px;
    background: rgba(17,17,17,0.15);
}

/* ================= PRODUCT GRID ================= */
.product-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.product-img-wrap { overflow: hidden; background: var(--white); aspect-ratio: 3/4; margin-bottom: 20px; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.product-info { display: flex; justify-content: space-between; align-items: flex-start; }
.product-title { font-size: clamp(1.1rem, 3vw, 1.5rem); font-weight: 700; margin-bottom: 5px; }
.product-desc { font-size: 0.85rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; }
.product-price { font-size: 1.2rem; font-weight: 500; margin-bottom: 15px; }

/* ================= PRODUCT DETAIL ================= */
.product-layout { display: grid; grid-template-columns: 1fr; gap: 30px; min-height: 100vh; padding-top: 80px; }
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.gallery-grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.details-pane { padding: 20px 0; }
.details-title { font-size: clamp(1.8rem, 5vw, 3rem); margin-bottom: 10px; }
.details-price { font-size: 1.5rem; color: var(--gray); margin-bottom: 40px; display: block; }
.size-selector { margin-bottom: 40px; }
.size-title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; display: block; font-weight: 700; }
.sizes { display: flex; gap: 15px; flex-wrap: wrap; }
.size-btn { width: 50px; height: 50px; min-width: 44px; min-height: 44px; border: 1px solid var(--dark); display: flex; align-items: center; justify-content: center; font-weight: 500; transition: var(--transition); -webkit-tap-highlight-color: transparent; }
.size-btn.active, .size-btn:hover { background: var(--dark); color: var(--white); }
.add-to-cart-large { width: 100%; background: var(--dark); color: var(--white); padding: 20px; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; transition: var(--transition); min-height: 44px; -webkit-tap-highlight-color: transparent; }
.add-to-cart-large:hover { background: var(--accent); }
.add-to-cart-large:active { transform: scale(0.97); opacity: 0.9; }

/* ================= CART OVERLAY & SIDEBAR ================= */
.cart-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 999; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.cart-overlay.active { opacity: 1; pointer-events: auto; }

.cart-sidebar { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; height: 100dvh; background: var(--white); z-index: 1000; padding: 25px; display: flex; flex-direction: column; transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1); box-shadow: -10px 0 30px rgba(0,0,0,0.05); }
.cart-sidebar.active { right: 0; }
.cart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; border-bottom: 2px solid var(--dark); padding-bottom: 20px; }
.cart-close-btn { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cart-items { flex: 1; overflow-y: auto; }

/* ================= REDESIGNED CART ITEMS ================= */
.cart-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(17,17,17,0.08);
    animation: cartItemIn 0.3s ease forwards;
}

@keyframes cartItemIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.cart-item-image {
    width: 85px;
    min-width: 85px;
    height: 110px;
    overflow: hidden;
    background: var(--light);
}

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

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.cart-item-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.cart-item-remove {
    min-width: 30px;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--gray);
    transition: color 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.cart-item-remove:hover {
    color: #c0392b;
    transform: scale(1.2);
}

.cart-item-type {
    font-size: 0.7rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

.cart-item-size {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--dark);
    margin-top: 2px;
}

.cart-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid rgba(17,17,17,0.15);
}

.qty-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
    background: transparent;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.qty-btn:hover {
    background: var(--dark);
    color: var(--white);
}

.qty-btn:active {
    transform: scale(0.9);
}

.qty-value {
    width: 36px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    border-left: 1px solid rgba(17,17,17,0.15);
    border-right: 1px solid rgba(17,17,17,0.15);
    line-height: 34px;
}

.cart-item-subtotal {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Legacy cart-item children (backward compat) */
.cart-item img { width: 80px; height: 100px; object-fit: cover; }
.cart-item-info h4 { font-size: 0.9rem; margin-bottom: 5px; }

/* ================= EMPTY CART STATE ================= */
.cart-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.cart-empty-icon {
    font-size: 3rem;
    color: rgba(17,17,17,0.1);
    margin-bottom: 25px;
}

.cart-empty-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.cart-empty-text {
    font-size: 0.85rem;
    color: var(--gray);
    max-width: 250px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cart-empty-cta {
    display: inline-block;
    background: var(--dark);
    color: var(--white);
    padding: 14px 35px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
}

.cart-empty-cta:hover {
    background: var(--accent);
}

.cart-footer.hidden {
    display: none;
}

/* ================= CART FOOTER ================= */
.cart-footer { padding-top: 30px; border-top: 2px solid var(--dark); }
.cart-total-row { display: flex; justify-content: space-between; font-weight: 900; font-size: 1.2rem; }
.checkout-btn { width: 100%; background: var(--dark); color: var(--white); padding: 18px; text-transform: uppercase; font-weight: 700; letter-spacing: 2px; margin-top: 20px; min-height: 44px; -webkit-tap-highlight-color: transparent; transition: var(--transition); }
.checkout-btn:hover { background: var(--accent); }
.checkout-btn:active { transform: scale(0.97); opacity: 0.9; }

/* ================= COLLECTION GRID ================= */
.collection-grid { display: grid; grid-template-columns: 1fr; gap: 50px; margin-top: 50px; }
.product-card { display: flex; flex-direction: column; gap: 25px; }
.carousel-container { position: relative; overflow: hidden; background: var(--light); aspect-ratio: 3/4; width: 100%; }
.carousel-track { display: flex; height: 100%; width: 100%; transition: transform 0.7s cubic-bezier(0.25, 1, 0.25, 1); }
.carousel-slide { min-width: 100%; height: 100%; overflow: hidden; position: relative; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; cursor: crosshair; }

.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: transparent; color: var(--white); font-size: 1.2rem; padding: 10px; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0.7; transition: var(--transition); mix-blend-mode: difference; z-index: 10; -webkit-tap-highlight-color: transparent; }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.carousel-btn:hover { transform: translateY(-50%) scale(1.3); }
.carousel-btn:active { transform: translateY(-50%) scale(0.95); opacity: 1; }

.product-info-centered { text-align: center; display: flex; flex-direction: column; gap: 10px; }
.btn-add-cart { background: transparent; border: 1px solid var(--dark); color: var(--dark); padding: 14px 30px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; transition: var(--transition); display: inline-block; align-self: center; min-height: 44px; -webkit-tap-highlight-color: transparent; }
.btn-add-cart:hover { background: var(--dark); color: var(--white); }
.btn-add-cart:active { transform: scale(0.97); opacity: 0.9; }

/* ================= PRODUCT DESCRIPTION ================= */
.product-description { margin-top: 50px; font-weight: 300; line-height: 1.8; color: var(--gray); }
.product-description p + p { margin-top: 20px; }

/* ================= EDITORIAL TEXT ================= */
.editorial-text { font-size: clamp(1.2rem, 4vw, 2rem); font-weight: 300; line-height: 1.5; text-align: center; max-width: 800px; margin: 0 auto; padding: clamp(100px, 15vw, 150px) 20px; }
.highlight { font-weight: 900; font-family: 'Montserrat', sans-serif; text-transform: uppercase; }
.highlight-accent { font-size: 1rem; color: var(--accent); }

/* ================= BRAND STORY / PURPOSE ================= */
.brand-story {
    padding: clamp(60px, 10vw, 100px) 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.brand-story::before {
    content: 'PURPOSE';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(5rem, 15vw, 12rem);
    font-weight: 900;
    color: rgba(17,17,17,0.03);
    text-transform: uppercase;
    letter-spacing: -3px;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.brand-story-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 25px;
    display: block;
}

.brand-story h2 {
    font-size: clamp(1.4rem, 4vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.brand-story-text {
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    font-weight: 300;
    line-height: 1.8;
    color: var(--gray);
    max-width: 550px;
    margin: 0 auto 30px;
}

.brand-divider {
    width: 40px;
    height: 1px;
    background: var(--accent);
    margin: 0 auto;
}

/* ================= EDITORIAL QUOTE BANNER ================= */
.editorial-banner {
    padding: clamp(50px, 8vw, 80px) 20px;
    background: var(--dark);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.editorial-banner::before {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10rem;
    opacity: 0.03;
    pointer-events: none;
}

.editorial-banner-quote {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.2rem, 3.5vw, 2rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.4;
    max-width: 700px;
    margin: 0 auto;
}

.editorial-banner-credit {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-top: 20px;
    display: block;
}

/* ================= RESPONSIVE — 600px ================= */
@media (min-width: 600px) {
    .container { padding: 0 30px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .cart-sidebar { width: min(440px, 85vw); right: min(-440px, -85vw); padding: 40px; }
    .collection-grid { gap: 60px; }
    .cart-item-image { width: 90px; min-width: 90px; height: 115px; }
    .qty-btn { width: 36px; height: 36px; min-width: 36px; }
    .qty-value { width: 40px; line-height: 36px; }
}

/* ================= RESPONSIVE — 768px ================= */
@media (min-width: 768px) {
    .container { padding: 0 40px; }
    .nav-container { padding: 0 40px; }
    .nav-links { display: flex; }
    .menu-toggle { display: none; }
    .mobile-menu { display: none; }
    .navbar { padding: 30px 0; }
    .navbar.scrolled { padding: 20px 0; }
    .logo { font-size: 1.5rem; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .collection-grid { grid-template-columns: repeat(2, 1fr); gap: 60px 40px; }
    .btn-primary { padding: 18px 40px; }
    .btn-add-cart { padding: 16px 40px; }
    .collection-hero { height: 75vh; }
}

/* ================= RESPONSIVE — 1024px ================= */
@media (min-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
    .product-layout { grid-template-columns: 1fr 1fr; gap: 60px; padding-top: 100px; }
    .details-pane { position: sticky; top: 120px; padding-right: 40px; }
    .add-to-cart-large { padding: 25px; }
    .carousel-btn { opacity: 0; font-size: 1.5rem; padding: 20px; }
    .carousel-container:hover .carousel-btn { opacity: 1; }
    .carousel-slide img { transition: transform 1.5s ease; }
    .carousel-slide:hover img { transform: scale(1.06); }
    .product-card:hover .product-img-wrap img { transform: scale(1.05); }
}

/* ================= RESPONSIVE — 1200px ================= */
@media (min-width: 1200px) {
    .collection-grid { gap: 100px 60px; }
}

/* ================= NAVBAR LOGO ================= */
.logo { 
    display: flex;
    align-items: center;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.logo img {
    height: 70px; /* Ajusta este valor según qué tan grande quieras el logo */
    width: auto;
    max-width: 150px; /* Límite de seguridad */
    object-fit: contain;
    transition: var(--transition); /* Utiliza la transición global de tu código */
}

/* Efecto hover opcional para darle un toque interactivo premium */
.logo:hover img {
    transform: scale(1.05);
}

/* ================= LANGUAGE SWITCHER ================= */
.lang-switcher {
    position: relative;
    display: inline-block;
    margin-right: 5px;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 8px 12px;
    font-size: 13px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    border-radius: 0px; /* Sharp street wear aesthetic */
    letter-spacing: 1px;
}

.lang-btn:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

.lang-flag {
    font-size: 15px;
    line-height: 1;
}

.lang-arrow {
    font-size: 8px;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.lang-switcher.active .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.15);
    min-width: 110px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 102;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
}

/* Show on hover or when switcher has active class */
.lang-switcher:hover .lang-dropdown,
.lang-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--gray);
    padding: 10px 14px;
    font-size: 12px;
    font-family: inherit;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.lang-option:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.lang-option.active {
    color: var(--accent);
    background: rgba(212, 175, 55, 0.08);
    font-weight: 700;
}

/* Adjustments for mobile header layout */
@media (max-width: 767px) {
    .lang-switcher {
        margin-right: 0px;
    }
    .lang-btn {
        padding: 6px 8px;
        font-size: 11px;
        gap: 4px;
    }
    .lang-flag {
        font-size: 13px;
    }
    .lang-dropdown {
        min-width: 90px;
    }
    .lang-option {
        padding: 8px 10px;
        font-size: 11px;
    }
}