/* ============================================
   MAISON KIMARA - Global Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Josefin+Sans:wght@300;400;600;700&display=swap');

/* --- Screen-reader only utility --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #000000;
    --secondary: #181818;
    --accent: #8B7355;
    --accent-light: #C4A97D;
    --text: #333333;
    --text-light: #747474;
    --bg: #ffffff;
    --bg-light: #f8f7f5;
    --bg-warm: #f5f0eb;
    --border: #e5e5e5;
    --success: #2d8a4e;
    --error: #c0392b;
    --font-primary: 'Poppins', sans-serif;
    --font-accent: 'Cormorant Garamond', serif;
    --font-logo: 'Josefin Sans', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    outline: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Announcement Bar --- */
.announcement-bar {
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 20px;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
}

.announcement-bar a {
    color: var(--accent-light);
    text-decoration: underline;
    margin-left: 5px;
}

.currency-switcher {
    position: absolute;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.currency-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.55);
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 2px 4px;
    font-family: var(--font-primary);
    transition: color 0.2s;
}

.currency-btn:hover { color: #fff; }
.currency-btn.active { color: #fff; font-weight: 600; }

.currency-sep {
    color: rgba(255,255,255,0.3);
    font-size: 0.6rem;
}

/* --- Header / Navbar --- */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 0;
    line-height: 1;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Nav dropdown */
.nav-has-dropdown { position: relative; }
.nav-caret { font-size: 0.6rem; margin-left: 4px; vertical-align: middle; transition: transform 0.2s; }
.nav-has-dropdown:hover .nav-caret { transform: rotate(180deg); }

/* Invisible bridge — fills the gap between nav item and dropdown so hover stays active */
.nav-has-dropdown::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    right: -20px;
    height: 20px;
    display: none;
}
.nav-has-dropdown:hover::before { display: block; }

.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    min-width: 200px;
    list-style: none;
    padding: 8px 0;
    z-index: 200;
}
.nav-has-dropdown:hover .nav-dropdown { display: block; }
.nav-dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    white-space: nowrap;
}
.nav-dropdown li a::after { display: none; }
.nav-dropdown li a:hover { background: var(--bg-light); color: var(--accent); }
.nav-dropdown-divider { border-top: 1px solid var(--border); margin: 4px 0; }

.logo {
    font-family: var(--font-logo);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary);
    white-space: nowrap;
    font-style: normal;
    line-height: 1;
}

.logo span {
    font-weight: 700;
    font-style: normal;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-icon {
    position: relative;
    font-size: 1.2rem;
    color: var(--text);
    transition: var(--transition);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-icon:hover { color: var(--accent); }

.cart-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--primary);
    color: #fff;
    font-size: 0.6rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(4px);
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

.hero-prev { left: 30px; }
.hero-next { right: 30px; }

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

/* Left: dark gradient on left half, text left-aligned */
.hero-overlay.pos-left {
    background: linear-gradient(to right, rgba(0,0,0,0.72) 45%, rgba(0,0,0,0.0) 80%);
    justify-content: flex-start;
    padding-left: 8%;
}
.hero-overlay.pos-left .hero-content {
    text-align: left;
    align-items: flex-start;
}

/* Center: soft bottom vignette, text centered */
.hero-overlay.pos-center {
    background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.55) 100%);
    justify-content: center;
}
.hero-overlay.pos-center .hero-content {
    text-align: center;
    align-items: center;
}

/* Right: dark gradient on right half, text right-aligned */
.hero-overlay.pos-right {
    background: linear-gradient(to left, rgba(0,0,0,0.72) 45%, rgba(0,0,0,0.0) 80%);
    justify-content: flex-end;
    padding-right: 8%;
}
.hero-overlay.pos-right .hero-content {
    text-align: right;
    align-items: flex-end;
}

.hero-content {
    color: #fff;
    padding: 20px;
    max-width: 560px;
    display: flex;
    flex-direction: column;
}

.hero-subtitle {
    font-size: 0.78rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 400;
    opacity: .85;
    text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}

.hero-title {
    font-family: var(--font-accent);
    font-size: 5rem;
    font-weight: 300;
    line-height: 1.08;
    margin-bottom: 18px;
    letter-spacing: 1px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.5);
}

.hero-title em {
    font-style: italic;
    font-weight: 400;
}

.hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 28px;
    opacity: .88;
    max-width: 440px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}

.hero-btn {
    display: inline-block;
    padding: 13px 36px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
    background: #fff;
    color: #000;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background .25s, color .25s;
    align-self: flex-start;
}
.hero-overlay.pos-right .hero-btn { align-self: flex-end; }
.hero-overlay.pos-center .hero-btn { align-self: center; }
.hero-btn:hover { background: var(--accent); color: #fff; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 40px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary);
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline-dark:hover {
    background: var(--primary);
    color: #fff;
}

.btn-accent {
    background: var(--accent);
    color: #fff;
}

.btn-accent:hover {
    background: var(--accent-light);
}

.btn-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-arrow .arrow {
    transition: transform 0.3s ease;
}

.btn-arrow:hover .arrow {
    transform: translateX(5px);
}

/* --- Section Styles --- */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
    font-weight: 500;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    max-width: 540px;
    margin: 14px auto 0;
    line-height: 1.8;
    font-weight: 300;
}

.section-title {
    font-family: var(--font-accent);
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--primary);
}

/* --- Category Grid --- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: #fff;
}

.category-info h3 {
    font-family: var(--font-accent);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 5px;
}

.category-info p {
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.85;
}

/* --- Product Grid --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    position: relative;
    cursor: pointer;
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--bg-light);
    margin-bottom: 15px;
}

.product-img-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Multi-image card cycling — all images stacked, crossfade on hover */
.product-image .card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0; /* explicitly below product-img-link (z-index:1) */
}

.product-image .card-img:first-of-type {
    position: relative; /* keeps the container sized */
    z-index: 0;
}

.product-image .card-img.card-img-active {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    z-index: 2;
}

.product-badge.sale {
    background: var(--error);
}

.product-badge.new {
    background: var(--accent);
}

.product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    display: flex;
    gap: 8px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 2;
}

.product-card:hover .product-actions {
    transform: translateY(0);
}

.product-actions .btn {
    flex: 1;
    padding: 12px;
    font-size: 0.7rem;
    text-align: center;
}

.quick-view-btn {
    background: rgba(255,255,255,0.95);
    color: var(--primary);
    border: 1px solid var(--border);
    padding: 10px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.product-info {
    padding: 0 5px;
}

.product-brand {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.product-name {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--primary);
}

.product-name a:hover {
    color: var(--accent);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-price .current {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.product-price .original {
    font-size: 0.78rem;
    color: #aaa;
    text-decoration: line-through;
}

/* Sale price treatment */
.product-price.on-sale {
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
}

.product-price.on-sale .original::before {
    content: "Was\00a0\00a0";
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 400;
}

.product-price.on-sale .current {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 700;
}

.product-price.on-sale .current::before {
    content: "Now\00a0\00a0";
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.product-swatches {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.swatch:hover, .swatch.active {
    border-color: var(--primary);
}

/* --- Banner Section --- */
.banner-section {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.banner-section img {
    width: 100%;
    height: 120%;
    position: absolute;
    top: -10%;
    left: 0;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content {
    text-align: center;
    color: #fff;
    max-width: 600px;
    padding: 20px;
}

.banner-content h2 {
    font-family: var(--font-accent);
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 1.2;
}

.banner-content p {
    font-size: 0.95rem;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.7;
}

/* --- Features Bar --- */
.features-bar {
    background: var(--bg-light);
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    font-size: 1.6rem;
    color: var(--accent);
}

.feature-item h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.feature-item p {
    font-size: 0.78rem;
    color: var(--text-light);
}

/* --- Instagram Feed --- */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
}

.instagram-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
    font-size: 1.5rem;
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

/* --- Newsletter --- */
.newsletter {
    background: var(--bg-warm);
    padding: 80px 0;
    text-align: center;
}

.newsletter h2 {
    font-family: var(--font-accent);
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.newsletter p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 0;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--border);
    border-right: none;
    font-size: 0.85rem;
    background: #fff;
}

.newsletter-form input:focus {
    border-color: var(--primary);
}

.newsletter-form button {
    padding: 14px 30px;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    border: 1px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--secondary);
}

/* --- Footer --- */
.footer {
    background: var(--primary);
    color: #fff;
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.footer-col h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-light);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
}

.payment-icons {
    display: flex;
    gap: 10px;
    font-size: 1.2rem;
}

/* --- Shop Page --- */
.page-header {
    background: var(--bg-light);
    padding: 50px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-family: var(--font-accent);
    font-size: 3.2rem;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 8px;
}

.breadcrumb {
    font-size: 0.8rem;
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    padding: 50px 0;
}

/* --- Sidebar Filters --- */
.sidebar {
    border-right: 1px solid var(--border);
    padding-right: 40px;
}

.filter-group {
    margin-bottom: 35px;
}

.filter-group h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.filter-group ul li {
    margin-bottom: 8px;
}

.filter-group ul li a {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
}

.filter-group ul li a:hover,
.filter-group ul li a.active {
    color: var(--primary);
    font-weight: 500;
}

.filter-count {
    font-size: 0.75rem;
    color: var(--text-light);
}

.color-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.color-filter {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.color-filter:hover, .color-filter.active {
    border-color: var(--primary);
    transform: scale(1.1);
}

.size-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.size-filter {
    padding: 6px 14px;
    border: 1px solid var(--border);
    font-size: 0.78rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.size-filter:hover, .size-filter.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.price-range {
    display: flex;
    gap: 10px;
    align-items: center;
}

.price-range input {
    width: 80px;
    padding: 8px;
    border: 1px solid var(--border);
    font-size: 0.8rem;
    text-align: center;
}

/* --- Shop Toolbar --- */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.result-count {
    font-size: 0.85rem;
    color: var(--text-light);
}

.sort-select {
    padding: 8px 15px;
    border: 1px solid var(--border);
    font-size: 0.8rem;
    background: #fff;
    cursor: pointer;
}

/* --- Product Detail Page --- */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 50px 0 80px;
}

.product-gallery {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 15px;
}

.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-thumb {
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: var(--transition);
}

.gallery-thumb.active, .gallery-thumb:hover {
    border-color: var(--primary);
    opacity: 1;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-main {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--bg-light);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

.product-detail-info {
    padding-top: 20px;
}

.product-detail-info .product-brand {
    margin-bottom: 8px;
}

.product-detail-info h1 {
    font-family: var(--font-accent);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-detail-info .product-price {
    margin-bottom: 20px;
}

.product-detail-info .product-price .current {
    font-size: 1.3rem;
}

.product-detail-info .product-price.on-sale .current {
    font-size: 1.4rem;
}

.product-detail-info .product-price.on-sale .original {
    font-size: 0.92rem;
}

.product-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

.option-group {
    margin-bottom: 20px;
}

.option-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.option-label span {
    font-weight: 400;
    color: var(--text-light);
    text-transform: none;
    letter-spacing: 0;
}

.size-options {
    display: flex;
    gap: 8px;
}

.size-option {
    padding: 10px 20px;
    border: 1px solid var(--border);
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-weight: 500;
}

.size-option:hover, .size-option.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.size-option.out-of-stock {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    width: fit-content;
}

.quantity-selector button {
    padding: 12px 18px;
    font-size: 1rem;
    transition: var(--transition);
}

.quantity-selector button:hover {
    background: var(--bg-light);
}

.quantity-selector input {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 500;
}

.add-to-cart-group {
    display: flex;
    gap: 10px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.add-to-cart-group .btn {
    flex: 1;
    text-align: center;
    padding: 16px;
}

.wishlist-btn {
    width: 52px;
    height: 52px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.wishlist-btn:hover {
    border-color: var(--primary);
    color: var(--error);
}

.product-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.product-meta p {
    margin-bottom: 5px;
}

.product-meta span {
    color: var(--text);
    font-weight: 500;
}

/* --- Tabs --- */
.product-tabs {
    border-top: 1px solid var(--border);
    padding-top: 50px;
    margin-bottom: 80px;
}

.tab-nav {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.tab-content {
    display: none;
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-light);
}

.tab-content.active {
    display: block;
}

/* --- About Page --- */
.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.about-hero-image {
    overflow: hidden;
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px;
    background: var(--bg-warm);
}

.about-hero-content h1 {
    font-family: var(--font-accent);
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-hero-content p {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 15px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.value-card {
    padding: 40px 30px;
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.value-card h3 {
    font-family: var(--font-accent);
    font-size: 1.6rem;
    margin-bottom: 12px;
    font-weight: 400;
}

.value-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.7;
}

.story-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 500px;
}

.story-image {
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px;
}

.story-content h2 {
    font-family: var(--font-accent);
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.5px;
}

.story-content p {
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 15px;
}

/* --- Contact Page --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    padding: 60px 0 80px;
}

.contact-info h2 {
    font-family: var(--font-accent);
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.contact-info > p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 35px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form {
    background: var(--bg-light);
    padding: 45px;
}

.contact-form h3 {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    font-size: 0.85rem;
    background: #fff;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

/* --- Cart Drawer --- */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100%;
    background: #fff;
    z-index: 2001;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border);
}

.cart-header h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.cart-close {
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.cart-close:hover {
    transform: rotate(90deg);
}

.free-shipping-bar {
    padding: 12px 25px;
    background: var(--bg-light);
    text-align: center;
    font-size: 0.78rem;
    color: var(--text);
}

.shipping-progress {
    height: 3px;
    background: var(--border);
    margin-top: 8px;
    border-radius: 3px;
    overflow: hidden;
}

.shipping-progress-fill {
    height: 100%;
    background: var(--success);
    width: 60%;
    transition: width 0.5s ease;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 25px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item-image {
    width: 80px;
    height: 100px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.cart-item-details .variant {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.cart-item-details .price {
    font-weight: 600;
    font-size: 0.85rem;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    width: fit-content;
    margin-top: 8px;
}

.cart-item-qty button {
    padding: 4px 10px;
    font-size: 0.85rem;
}

.cart-item-qty span {
    padding: 4px 12px;
    font-size: 0.8rem;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

.cart-item-remove {
    color: var(--text-light);
    font-size: 0.75rem;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 5px;
    display: inline-block;
}

.cart-item-remove:hover {
    color: var(--error);
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.cart-empty p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.cart-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--border);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.cart-footer .btn {
    width: 100%;
    text-align: center;
    padding: 16px;
}

/* --- Search Modal --- */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 3000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-box {
    background: #fff;
    width: 100%;
    max-width: 700px;
    padding: 0;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--primary);
    padding: 20px 25px;
}

.search-input-wrap input {
    flex: 1;
    border: none;
    font-size: 1.1rem;
    padding: 0;
    font-family: var(--font-primary);
}

.search-close {
    font-size: 1.3rem;
    cursor: pointer;
    padding: 5px;
    color: var(--text-light);
}

/* --- Animations & Scroll Effects --- */

/* Keyframes */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes revealUp {
    from { clip-path: inset(100% 0 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes lineGrow {
    from { width: 0; }
    to { width: 60px; }
}

/* Base scroll animation states */
[data-animate] {
    opacity: 0;
    transition-property: opacity, transform, clip-path;
    transition-duration: 0.8s;
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

[data-animate="fade-up"] {
    transform: translateY(50px);
}

[data-animate="fade-down"] {
    transform: translateY(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(-60px);
}

[data-animate="fade-right"] {
    transform: translateX(60px);
}

[data-animate="zoom-in"] {
    transform: scale(0.85);
}

[data-animate="zoom-out"] {
    transform: scale(1.1);
}

[data-animate="flip-up"] {
    transform: perspective(800px) rotateX(15deg) translateY(40px);
}

[data-animate="reveal-up"] {
    clip-path: inset(100% 0 0 0);
    transform: none;
}

[data-animate="reveal-left"] {
    clip-path: inset(0 100% 0 0);
    transform: none;
}

[data-animate="reveal-right"] {
    clip-path: inset(0 0 0 100%);
    transform: none;
}

/* Visible state — triggered by JS */
[data-animate].visible {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0);
}

/* Stagger delays for children */
[data-stagger] > *:nth-child(1) { transition-delay: 0s; }
[data-stagger] > *:nth-child(2) { transition-delay: 0.1s; }
[data-stagger] > *:nth-child(3) { transition-delay: 0.2s; }
[data-stagger] > *:nth-child(4) { transition-delay: 0.3s; }
[data-stagger] > *:nth-child(5) { transition-delay: 0.4s; }
[data-stagger] > *:nth-child(6) { transition-delay: 0.5s; }
[data-stagger] > *:nth-child(7) { transition-delay: 0.6s; }
[data-stagger] > *:nth-child(8) { transition-delay: 0.7s; }

/* Stagger children that also have data-animate */
[data-stagger].visible > [data-animate] {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0);
}

/* Duration variants */
[data-duration="fast"] { transition-duration: 0.4s; }
[data-duration="slow"] { transition-duration: 1.2s; }
[data-duration="slower"] { transition-duration: 1.6s; }

/* Delay variants */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="600"] { transition-delay: 0.6s; }

/* Parallax image wrapper */
.parallax-wrap {
    overflow: hidden;
    position: relative;
}

.parallax-img {
    transition: transform 0.1s linear;
    will-change: transform;
    height: 120%;
    width: 100%;
    object-fit: cover;
    position: absolute;
    top: -10%;
    left: 0;
}

/* Image reveal effect */
.img-reveal {
    position: relative;
    overflow: hidden;
}

.img-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 2;
    transform: scaleX(1);
    transform-origin: right;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.img-reveal.visible::before {
    transform: scaleX(0);
}

.img-reveal img {
    transform: scale(1.3);
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}

.img-reveal.visible img {
    transform: scale(1);
}

/* Text split reveal */
.text-reveal {
    overflow: hidden;
    display: inline-block;
}

.text-reveal-inner {
    display: inline-block;
    transform: translateY(105%);
    transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

.text-reveal.visible .text-reveal-inner {
    transform: translateY(0);
}

/* Decorative line animation */
.section-header .line-accent {
    display: block;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    margin: 15px auto 0;
    transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s;
}

.section-header.visible .line-accent {
    width: 60px;
}

/* Product card enhanced hover */
.product-card {
    transition: transform 0.4s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.05));
    transition: height 0.4s ease;
}

.product-card:hover .product-image::after {
    height: 60%;
}

/* Category card enhanced */
.category-card .category-info {
    transform: translateY(10px);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.category-card:hover .category-info {
    transform: translateY(0);
}

/* Instagram hover lift */
.instagram-item {
    transition: transform 0.3s ease;
}

.instagram-item:hover {
    transform: scale(0.97);
}

/* Floating badge animation */
.product-badge {
    animation: float 3s ease-in-out infinite;
}

/* Feature icons subtle pulse */
.feature-icon {
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.15);
}

/* Button enhanced hover ripple */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

/* Header shrink on scroll */
.header {
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled .nav {
    padding-top: 12px;
    padding-bottom: 12px;
}

.header.scrolled .logo {
    font-size: 1.8rem;
    transition: font-size 0.3s ease;
}

/* Smooth page entrance */
body {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

/* Legacy support */
.animate-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Checkout Grid ──────────────────────────────────────────── */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}

/* ── Delivery Areas Grid (Shipping page) ─────────────────────── */
.delivery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ── Size Guide Fit Grids ─────────────────────────────────────── */
.size-guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* ── Shop Mobile Filter Button ───────────────────────────────── */
.shop-filter-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid var(--border);
    background: #fff;
    font-family: var(--font-primary);
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    color: var(--text);
    width: 100%;
    justify-content: space-between;
    margin-bottom: 16px;
}

/* --- Mobile Responsive --- */
@media (max-width: 1024px) {
    .container { padding: 0 25px; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .product-detail { gap: 40px; }
    .about-hero-content, .story-content { padding: 40px 50px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav { padding: 0 20px; height: 60px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }

    /* Hide account & wishlist on mobile — search and cart are sufficient */
    .nav-right a.nav-icon { display: none; }
    .nav-account-wrap { display: none; }

    /* Tighten icon spacing so nav-right never overflows the viewport */
    .nav-right { gap: 4px; }

    /* Normalize icon tap targets so nav-right doesn't get taller than nav-left */
    .nav-icon, .hamburger { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; padding: 0; }

    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        border-bottom: 1px solid var(--border);
        gap: 15px;
        box-shadow: var(--shadow);
        z-index: 200;
    }

    .hero { height: 70vh; min-height: 450px; }
    .hero-title { font-size: 2.6rem; }

    /* Move slider arrows to bottom on mobile so they don't overlap text */
    .hero-arrow {
        top: auto;
        bottom: 20px;
        transform: none;
        width: 38px;
        height: 38px;
        font-size: 0.8rem;
    }
    .hero-prev { left: 16px; }
    .hero-next { right: 16px; }

    /* object-position on mobile driven by --mobile-pos CSS custom property set per-slide */
    .hero-slide img { object-position: var(--mobile-pos, 50%) center; }

    /* On mobile all slides default to centered overlay */
    .hero-overlay.pos-left,
    .hero-overlay.pos-right {
        background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.65) 100%);
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }
    .hero-overlay.pos-left .hero-content,
    .hero-overlay.pos-right .hero-content {
        text-align: center;
        align-items: center;
    }
    .hero-overlay.pos-left .hero-btn,
    .hero-overlay.pos-right .hero-btn { align-self: center; }

    /* Product tabs — scrollable on mobile */
    .tab-nav {
        gap: 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex-wrap: nowrap;
        padding-bottom: 2px;
    }
    .tab-nav::-webkit-scrollbar { display: none; }
    .tab-btn { white-space: nowrap; font-size: 0.75rem; letter-spacing: 1px; }

    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .instagram-grid { grid-template-columns: repeat(3, 1fr); }
    .section { padding: 50px 0; }
    .section-title { font-size: 2.5rem; }

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid var(--border);
        padding-bottom: 30px;
    }

    .sidebar.open {
        display: block;
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-thumbs {
        flex-direction: row;
        order: 2;
    }

    .gallery-thumb { width: 60px; }

    .about-hero, .story-section {
        grid-template-columns: 1fr;
    }

    .about-hero-content, .story-content {
        padding: 40px 25px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-form { padding: 30px 20px; }

    .banner-content h2 { font-size: 2.5rem; }
    .banner-section { height: 400px; }

    .cart-drawer { width: 100%; right: -100%; }

    .values-grid { grid-template-columns: 1fr; gap: 20px; }

    .footer-grid { grid-template-columns: 1fr; gap: 25px; }
    .footer-bottom { flex-direction: column; gap: 15px; }

    /* Announcement bar — two-line layout on mobile */
    .announcement-bar { flex-direction: column; gap: 4px; padding: 8px 16px; align-items: center; text-align: center; }
    .announcement-text { display: flex; flex-direction: column; align-items: center; gap: 2px; }
    .ann-sep { display: none; }
    .currency-switcher { position: static; }

    /* Checkout */
    .checkout-grid { grid-template-columns: 1fr; gap: 24px; }

    /* Shipping & size guide grids */
    .delivery-grid { grid-template-columns: 1fr; }
    .size-guide-grid { grid-template-columns: 1fr; gap: 24px; }

    /* Shop filter toggle */
    .shop-filter-btn { display: flex; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 0.7rem; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-name { font-size: 0.8rem; }
    .product-price .current { font-size: 0.8rem; }
    .btn { padding: 12px 25px; font-size: 0.75rem; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form button { border-left: 1px solid var(--primary); }
    .form-row { grid-template-columns: 1fr; }
    .logo { font-size: 1.4rem; }
}

/* --- Floating WhatsApp Button --- */
.whatsapp-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}

.whatsapp-fab i {
    font-size: 1.75rem;
    color: #fff;
    line-height: 1;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    right: 64px;
    background: #111;
    color: #fff;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.whatsapp-tooltip::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #111;
}

.whatsapp-fab:hover .whatsapp-tooltip { opacity: 1; }

@media (max-width: 768px) {
    .whatsapp-fab { bottom: 20px; right: 16px; width: 50px; height: 50px; }
    .whatsapp-fab i { font-size: 1.5rem; }
    .whatsapp-tooltip { display: none; }
}

/* --- Wishlist Count Badge (nav) --- */
.wishlist-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--accent);
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0;
    line-height: 1;
    pointer-events: none;
}

/* --- Wishlist button on product cards --- */
.wishlist-btn-card {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.9);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    flex-shrink: 0;
}

.wishlist-btn-card:hover,
.wishlist-btn-card.active {
    background: #fff;
    border-color: var(--error);
    color: var(--error);
}

/* Wishlist active state on product detail */
.wishlist-btn.active {
    border-color: var(--error);
    color: var(--error);
}

/* --- Cart Toast Notification --- */
#mk-cart-toast {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 9999;
    background: #fff;
    border: 1px solid var(--border);
    border-left: 4px solid var(--success);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.14);
    padding: 16px 20px;
    width: 320px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    transform: translateX(380px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

#mk-cart-toast.active {
    transform: translateX(0);
    pointer-events: all;
}

.mk-toast-icon {
    color: var(--success);
    font-size: 1.4rem;
    line-height: 1;
    margin-top: 2px;
}

.mk-toast-body {
    flex: 1;
    min-width: 0;
}

.mk-toast-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2px;
}

.mk-toast-product {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mk-toast-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    align-self: flex-start;
}

.mk-toast-close:hover { color: var(--primary); }

.mk-toast-actions {
    width: 100%;
    display: flex;
    gap: 8px;
    margin-top: 2px;
}

.mk-toast-btn {
    flex: 1;
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.mk-toast-order {
    background: var(--primary);
    color: #fff;
}

.mk-toast-order:hover { background: var(--accent); }

.mk-toast-continue {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--border);
}

.mk-toast-continue:hover { border-color: var(--primary); }

@media (max-width: 768px) {
    #mk-cart-toast {
        width: calc(100vw - 32px);
        right: 16px;
        bottom: 80px;
    }
}

/* ── Wishlist Drawer ─────────────────────────────────────── */
.wishlist-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.wishlist-overlay.active { opacity: 1; pointer-events: all; }

.wishlist-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 100vw;
    height: 100%;
    background: #fff;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -4px 0 30px rgba(0,0,0,0.15);
}
.wishlist-drawer.active { transform: translateX(0); }

.wishlist-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px;
}

.wishlist-drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
}

/* ── Auth Drawer ─────────────────────────────────────────── */
.auth-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.auth-overlay.active { opacity: 1; pointer-events: all; }

.auth-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 100vw;
    height: 100%;
    background: #fff;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -4px 0 30px rgba(0,0,0,0.15);
    overflow-y: auto;
}
.auth-drawer.active { transform: translateX(0); }

.auth-drawer .cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

/* Gold dot indicator on account nav icon */
.auth-logged-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: absolute;
    top: 2px;
    right: 2px;
    display: none;
}
.auth-logged-dot.visible { display: block; }

/* Logged-in dropdown under nav icon */
.auth-nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    min-width: 180px;
    z-index: 2000;
    display: none;
    padding: 8px 0;
}
.auth-nav-dropdown.visible { display: block; }
.auth-nav-dropdown-name {
    padding: 10px 16px 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    margin-bottom: 4px;
}
.auth-nav-dropdown form button {
    width: 100%;
    text-align: left;
    padding: 9px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    color: var(--text-light);
    transition: color 0.2s, background 0.2s;
}
.auth-nav-dropdown form button:hover {
    background: var(--bg-light);
    color: var(--text);
}

/* ── Cart/Wishlist Drawer Remove Button ─────────────────── */
.drawer-remove-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 6px;
    font-family: var(--font-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    flex-shrink: 0;
    transition: color 0.2s;
}
.drawer-remove-btn:hover { color: #e53935; }

/* ── Checkout OTP Modal ──────────────────────────────────── */
.checkout-otp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.checkout-otp-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.checkout-otp-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -58%);
    width: 460px;
    max-width: calc(100vw - 32px);
    background: #fff;
    z-index: 2001;
    padding: 40px 36px 36px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.checkout-otp-modal.active {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%);
}
.checkout-otp-modal #ckOtpInput:focus {
    border-color: var(--primary);
    outline: none;
}
@media (max-width: 520px) {
    .checkout-otp-modal { padding: 32px 20px 28px; }
    .checkout-otp-modal #ckOtpInput { font-size: 1.4rem; letter-spacing: 8px; }
}
