/* Fonts loaded via index.html <link> with preconnect for performance */

/* Variables */
:root {
    --primary: #000000;
    --primary-hover: #222222;
    --primary-light: #F5F5F5;
    --dark: #000000;
    --dark-muted: #666666;
    --light: #FAFAFA;
    --white: #FFFFFF;
    --grey-100: #F5F5F5;
    --grey-200: #EAEAEA;
    --grey-300: #CCCCCC;
    --border-color: #E5E5E5;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.08);
    --header-height: 80px;
    --max-width: 1400px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.no-scroll {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
    touch-action: none;
}

body {
    font-family: var(--font-body);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* Typography & Titles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.subtitle {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--primary);
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
}

.section-title {
    font-size: 42px;
    color: var(--dark);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: var(--primary);
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.33%); }
}

/* Glassmorphism Header */
header {
    position: fixed;
    top: 32px;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
    border-bottom: 1px solid rgba(234, 223, 211, 0);
}

header.scrolled {
    height: 70px;
    background-color: rgba(250, 248, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(234, 223, 211, 0.4);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.05em;
    position: relative;
    transition: var(--transition);
}

.logo span {
    color: var(--white);
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding: 5px 0;
    color: var(--white);
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: var(--white);
    transition: var(--transition);
}

.nav-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-icon {
    font-size: 20px;
    color: var(--white);
    position: relative;
    padding: 5px;
    transition: var(--transition);
}

.header-icon:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.cart-icon-wrapper {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--white);
    color: var(--dark);
    font-size: 10px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transform: scale(0);
    transition: var(--transition);
}

.cart-badge.active {
    transform: scale(1);
}

/* Mobile Nav Toggle */
.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

/* Scrolled / Open Menu Header Overrides */
header.scrolled .logo,
header.menu-open .logo {
    color: var(--dark);
}

header.scrolled .logo span,
header.menu-open .logo span {
    color: var(--primary);
}

header.scrolled .nav-links a {
    color: var(--dark);
}

header.scrolled .nav-links a::after {
    background-color: var(--primary);
}

header.scrolled .nav-links a:hover {
    color: var(--primary);
}

header.scrolled .header-icon,
header.menu-open .header-icon {
    color: var(--dark);
}

header.scrolled .header-icon:hover,
header.menu-open .header-icon:hover {
    color: var(--primary);
}

header.scrolled .cart-badge {
    background-color: var(--primary);
    color: var(--white);
}

header.scrolled .mobile-menu-toggle,
header.menu-open .mobile-menu-toggle {
    color: var(--dark);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 100px 40px 40px 40px;
        transition: var(--transition-slow);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        border-right: 1px solid var(--border-color);
    }
    
    .nav-links.open {
        left: 0;
    }
    
    .nav-links a {
        color: var(--dark);
    }
    
    .nav-links a::after {
        background-color: var(--primary);
    }
    
    .nav-links a:hover {
        color: var(--primary);
    }
    
    .mobile-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0,0,0,0.4);
        backdrop-filter: blur(5px);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }
    
    .mobile-nav-overlay.open {
        opacity: 1;
        pointer-events: all;
    }

    .logo {
        font-size: 22px;
        white-space: nowrap;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero {
        min-height: 520px;
        height: auto;
        padding: 120px 0 60px 0;
    }
    .hero-bg img {
        object-position: center center;
        opacity: 0.45;
    }
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.65) 50%, rgba(10, 10, 10, 0.95) 100%) !important;
    }
    .hero-title {
        font-size: 34px !important;
        line-height: 1.2 !important;
        margin-bottom: 14px !important;
    }
    .hero-tagline {
        font-size: 12px !important;
        letter-spacing: 0.2em !important;
        margin-bottom: 12px !important;
    }
    .hero-desc {
        font-size: 14px !important;
        line-height: 1.55 !important;
        margin-bottom: 24px !important;
        max-width: 100% !important;
    }
    .hero-btn-group {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        width: 100% !important;
    }
    .hero-btn-group .btn {
        padding: 13px 20px !important;
        font-size: 11px !important;
        letter-spacing: 0.1em !important;
        flex: 1 1 auto;
        min-width: 130px;
        text-align: center;
    }
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    transform: scale(1.05);
    transition: transform 12s ease-out;
}

.hero:hover .hero-bg img {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(17, 17, 17, 0.8) 0%, rgba(17, 17, 17, 0.3) 50%, rgba(17, 17, 17, 0.1) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    max-width: 650px;
}

.hero-tagline {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
}

.hero-title {
    font-size: 64px;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.4s;
}

.hero-title span {
    font-style: italic;
    font-weight: 400;
    color: var(--primary-light);
}

.hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 550px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.6s;
}

.hero-btn-group {
    display: flex;
    gap: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.8s;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 0;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

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

.btn-outline:hover {
    background-color: var(--white);
    color: var(--dark);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

/* Reveal on Scroll styling */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Highlight Categories Section */
.categories-section {
    padding: 100px 0;
    background-color: var(--light);
}

.categories-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

.category-card {
    height: 480px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

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

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(17,17,17,0.7) 0%, rgba(17,17,17,0.2) 60%, rgba(17,17,17,0) 100%);
    transition: var(--transition);
}

.category-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    color: var(--white);
    z-index: 2;
}

.category-badge {
    background-color: var(--primary);
    color: var(--dark);
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    margin-bottom: 12px;
}

.category-title {
    font-size: 28px;
    margin-bottom: 8px;
}

.category-link {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-light);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    opacity: 0.8;
}

.category-card:hover .category-img {
    transform: scale(1.08);
}

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(17,17,17,0.85) 0%, rgba(17,17,17,0.3) 60%, rgba(17,17,17,0) 100%);
}

.category-card:hover .category-link {
    color: var(--primary);
    opacity: 1;
}

.disabled-category {
    cursor: default;
}

.coming-soon-badge {
    background-color: var(--dark-muted);
    color: #cccccc;
}

/* Products Section */
.products-section {
    padding: 100px 0;
    background-color: var(--white);
}

/* Filters */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    color: var(--dark-muted);
}

.filter-tab:hover,
.filter-tab.active {
    background-color: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.filter-tab.disabled-tab {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: var(--grey-100);
    color: var(--dark-muted);
}

.filter-tab.disabled-tab:hover {
    background-color: var(--grey-100);
    color: var(--dark-muted);
    border-color: var(--border-color);
}

@media (max-width: 576px) {
    .filter-tabs {
        display: flex;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        padding-bottom: 12px;
        margin-bottom: 30px;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        width: 100%;
        scrollbar-width: none; /* Hide scrollbar for Firefox */
    }
    .filter-tabs::-webkit-scrollbar {
        display: none; /* Hide scrollbar for Chrome/Safari */
    }
    .filter-tab {
        flex: 0 0 auto !important;
        font-size: 11px;
        padding: 8px 16px;
        white-space: nowrap;
    }
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 30px;
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 12px;
    }
    .product-name {
        font-size: 14px;
        margin-bottom: 4px;
    }
    .product-price {
        font-size: 13px;
    }
    .product-old-price {
        font-size: 11px;
    }
    .product-category {
        font-size: 10px;
    }
    .product-info {
        padding: 10px 0 0 0;
    }
    .product-badge {
        bottom: 10px;
        top: auto;
        left: 10px;
        padding: 4px 8px;
        font-size: 9px;
    }
    .container {
        padding: 0 15px;
    }
    .logo {
        font-size: 17px;
        white-space: nowrap;
    }
}

/* Product Card */
.product-card {
    position: relative;
    background-color: var(--white);
    transition: var(--transition);
    border: 1px solid transparent;
}

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

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

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

.product-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: #D32F2F;
    color: var(--white);
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 5;
}

.product-badge.sold-out {
    background-color: #888888;
    color: var(--white);
}

.product-card.sold-out .product-image {
    filter: grayscale(0.6) opacity(0.7);
}

.product-card.sold-out:hover .product-image {
    filter: grayscale(0.4) opacity(0.8);
}

.product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: linear-gradient(to top, rgba(17,17,17,0.4) 0%, rgba(17,17,17,0) 100%);
    transform: translateY(101%);
    transition: var(--transition);
    z-index: 5;
}

.product-card:hover .product-actions {
    transform: translateY(0);
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.action-btn {
    width: 100%;
    padding: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

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

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

.action-btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

.action-btn-outline:hover {
    background-color: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

.product-info {
    padding: 20px 0 0 0;
}

.product-category {
    font-size: 12px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
    font-weight: 500;
}

.product-name {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 500;
}

.product-price-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
}

.product-old-price {
    font-size: 13px;
    color: #D32F2F;
    text-decoration: line-through;
}

/* Brands Heritage Section */
.heritage-section {
    padding: 120px 0;
    background-color: var(--light);
}

.heritage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 80px;
}

@media (max-width: 992px) {
    .heritage-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.heritage-image {
    position: relative;
}

.heritage-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.heritage-image::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid var(--primary);
    z-index: -1;
}

.heritage-content {
    padding-right: 40px;
}

.heritage-content .subtitle {
    margin-bottom: 15px;
}

.heritage-title {
    font-size: 44px;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--dark);
}

.heritage-text {
    font-size: 16px;
    color: var(--dark-muted);
    margin-bottom: 24px;
    font-weight: 300;
}

/* Features Highlight Bar */
.features-section {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.feature-item {
    padding: 10px;
}

.feature-icon {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.feature-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    font-weight: 300;
}

/* Reviews Section */
.reviews-section {
    padding: 100px 0;
    background-color: var(--grey-100);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

.review-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 1px solid transparent;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-color);
}

.review-stars {
    color: #fbbf24;
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.review-text {
    font-size: 15px;
    color: var(--dark-muted);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.review-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Star Animation */
@keyframes starPulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; color: #f59e0b; }
    100% { transform: scale(1); opacity: 0.8; }
}

.review-card:hover .animated-star {
    animation: starPulse 0.6s ease-in-out infinite alternate;
}

/* Newsletter Section */
.newsletter-section {
    padding: 100px 0;
    background-color: var(--white);
    text-align: center;
}

.newsletter-box {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--light);
    padding: 60px 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.newsletter-box h3 {
    font-size: 32px;
    margin-bottom: 15px;
}

.newsletter-box p {
    color: var(--dark-muted);
    font-size: 15px;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
}

.newsletter-input {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    border-right: none;
    font-family: inherit;
    font-size: 14px;
    background-color: var(--white);
    transition: var(--transition);
}

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

.newsletter-submit {
    background-color: var(--dark);
    color: var(--white);
    padding: 0 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--dark);
}

.newsletter-submit:hover {
    background-color: transparent;
    border-color: var(--dark);
    color: var(--dark);
}

.newsletter-success {
    display: none;
    color: var(--primary);
    font-weight: 600;
    margin-top: 15px;
    animation: fadeIn 0.5s ease forwards;
}

/* Footer Section */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-widget-logo {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-widget-desc {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin-bottom: 25px;
    max-width: 300px;
    font-weight: 300;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    font-size: 16px;
}

.social-link:hover {
    background-color: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-widget-title {
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 500;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: var(--primary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    font-weight: 300;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 300;
}

.footer-contact i {
    color: var(--primary);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.4);
    font-size: 13px;
    font-weight: 300;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

.payment-partners {
    display: flex;
    gap: 10px;
    font-size: 24px;
}

/* Slide-out Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    transition: var(--transition-slow);
    border-left: 1px solid var(--border-color);
}

@media (max-width: 480px) {
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
}

.cart-drawer.open {
    right: 0;
}

.cart-header {
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-title {
    font-size: 22px;
    font-weight: 600;
}

.cart-close-btn {
    font-size: 24px;
    color: var(--dark);
}

.cart-close-btn:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

/* Empty Cart State */
.empty-cart-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--dark-muted);
    text-align: center;
}

.empty-cart-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--grey-300);
}

/* Cart Item */
.cart-item {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--grey-100);
    animation: slideIn 0.3s ease forwards;
}

.cart-item-img {
    width: 80px;
    height: 106px;
    object-fit: cover;
    background-color: var(--light);
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 4px;
}

.cart-item-meta {
    font-size: 12px;
    color: var(--dark-muted);
    margin-bottom: 10px;
}

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

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
}

.qty-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.qty-btn:hover {
    background-color: var(--grey-100);
}

.qty-value {
    font-size: 13px;
    font-weight: 500;
    width: 28px;
    text-align: center;
}

.cart-item-price {
    font-size: 14px;
    font-weight: 600;
}

.remove-item-btn {
    color: var(--dark-muted);
    font-size: 13px;
    text-decoration: underline;
}

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

.cart-footer {
    padding: 24px 30px;
    border-top: 1px solid var(--border-color);
    background-color: var(--white);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cart-summary-label {
    font-size: 14px;
    color: var(--dark-muted);
    font-weight: 500;
}

.cart-summary-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background-color: var(--dark);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 1px solid var(--dark);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    background-color: #222222;
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Order on WhatsApp Button */
.place-order-btn {
    width: 100%;
    padding: 16px 24px;
    background: #25D366;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.place-order-btn:hover {
    background: #1ebc57;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.place-order-btn i {
    font-size: 20px;
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(17, 17, 17, 0.4);
    backdrop-filter: blur(5px);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: all;
}

/* Quick View / Detail Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal.open {
    opacity: 1;
    pointer-events: all;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background-color: var(--white);
    width: 100%;
    max-width: 1050px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: stretch;
    transform: scale(0.9);
    transition: var(--transition-slow);
}

.modal.open .modal-content {
    transform: scale(1);
}

@media (max-width: 768px) {
    .modal-content {
        grid-template-columns: 1fr;
        max-height: 95vh;
        overflow-y: auto;
        align-items: flex-start;
    }
    .modal-image-wrapper {
        height: auto;
        min-height: unset;
    }
    .modal-details {
        overflow-y: visible;
    }
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    color: var(--dark);
    z-index: 20;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.modal-close-btn:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.modal-image-wrapper {
    position: relative;
    background-color: var(--light);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#modal-product-image {
    display: block;
    width: 100%;
    height: auto;
}

.modal-details {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: visible;
}

@media (max-width: 480px) {
    .modal-details {
        padding: 20px;
    }
}

.modal-category {
    font-size: 12px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    font-weight: 500;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.2;
    color: var(--primary);
}

.modal-price {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
}

.modal-desc {
    font-size: 14px;
    color: var(--dark-muted);
    margin-bottom: 25px;
    font-weight: 400;
    line-height: 1.8;
    padding: 15px 20px;
    background-color: rgba(211, 47, 47, 0.04);
    border-left: 3px solid #D32F2F;
    border-radius: 0 4px 4px 0;
    font-style: italic;
}

.modal-options {
    margin-bottom: 25px;
}

.option-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.size-selector {
    display: flex;
    gap: 10px;
}

.size-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.size-btn:hover,
.size-btn.active {
    border-color: var(--dark);
    background-color: var(--dark);
    color: var(--white);
}

.size-btn.out-of-stock {
    width: auto;
    min-width: 40px;
    padding: 0 10px;
    background-color: #fafafa;
    color: #ccc;
    border: 1px dashed #ddd;
    cursor: not-allowed;
    text-decoration: line-through;
}

.size-btn.out-of-stock:hover {
    background-color: #fafafa;
    color: #ccc;
    border-color: #ddd;
}

.qty-selector-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.modal-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    height: 46px;
}

.modal-qty .qty-btn {
    width: 36px;
    height: 44px;
}

.modal-qty .qty-value {
    width: 36px;
    font-size: 14px;
}

.modal-add-btn {
    padding: 0 30px;
    height: 46px;
    background-color: var(--dark);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--dark);
}

.modal-add-btn:hover {
    background-color: transparent;
    color: var(--dark);
    border-color: var(--dark);
}

.fabric-details {
    border-top: 1px solid var(--grey-100);
    padding-top: 20px;
}

.fabric-detail-item {
    font-size: 13px;
    color: var(--dark-muted);
    margin-bottom: 8px;
    font-weight: 300;
}

.fabric-detail-item strong {
    color: var(--dark);
    font-weight: 500;
}

/* Interactive Search Bar overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(17,17,17,0.95);
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.search-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.search-container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    position: relative;
}

.search-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--primary);
    color: var(--white);
    font-size: 28px;
    font-family: var(--font-heading);
    padding: 10px 0;
    text-align: center;
}

.search-input::placeholder {
    color: rgba(255,255,255,0.4);
}

.search-close-btn {
    position: absolute;
    top: -60px;
    right: 20px;
    font-size: 32px;
    color: var(--white);
}

.search-close-btn:hover {
    color: var(--primary);
}

/* Checkout Success Modal */
.checkout-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.checkout-success-modal.open {
    opacity: 1;
    pointer-events: all;
}

.success-card {
    background-color: var(--white);
    width: 90%;
    max-width: 500px;
    padding: 50px 40px;
    text-align: center;
    border: 1px solid var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(0.8);
    transition: var(--transition-slow);
}

.checkout-success-modal.open .success-card {
    transform: scale(1);
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px auto;
    color: var(--primary);
    font-size: 40px;
    animation: successPulse 2s infinite;
}

.success-title {
    font-size: 30px;
    margin-bottom: 15px;
}

.success-desc {
    font-size: 15px;
    color: var(--dark-muted);
    margin-bottom: 30px;
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes successPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* Scroll Indicators / Floating elements */
.toast-msg {
    position: fixed;
    top: 95px;
    right: 25px;
    background-color: var(--dark);
    color: var(--white);
    padding: 14px 24px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: 6px;
    z-index: 99999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.toast-msg.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-icon {
    color: #25D366;
}

/* --- New Styles (Monochrome Premium UI Elements) --- */

/* Custom scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--white);
}
::-webkit-scrollbar-thumb {
    background: #CCCCCC;
    border-radius: 0px;
}
::-webkit-scrollbar-thumb:hover {
    background: #000000;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: var(--dark);
    color: var(--white);
    border: 1px solid var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}
.scroll-to-top:hover {
    background-color: var(--white);
    color: var(--dark);
    border-color: var(--dark);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Checkout Form inside Modal */
.checkout-modal-content {
    max-width: 650px;
    display: block;
    padding: 40px;
}
.checkout-form-container {
    width: 100%;
}
.checkout-form-title {
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--dark);
}
.checkout-order-summary {
    background-color: var(--light);
    padding: 20px;
    border: 1px solid var(--border-color);
    margin-top: 10px;
}
.checkout-order-summary h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--dark-muted);
}
.summary-line.total-line {
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    margin-top: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
}
.place-order-btn {
    width: 100%;
    padding: 16px;
    background-color: #25D366;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 1px solid #25D366;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}
.place-order-btn:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(37, 211, 102, 0.3);
}

/* Contact Us Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    margin-top: 40px;
}
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}
.contact-info-panel {
    display: flex;
    flex-direction: column;
}
.contact-info-title,
.contact-form-title-right {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 20px;
}
.contact-info-desc {
    font-size: 15px;
    color: var(--dark-muted);
    line-height: 1.7;
    margin-bottom: 35px;
    font-weight: 300;
}
.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.contact-detail-card {
    display: flex;
    gap: 20px;
}
.contact-detail-card i {
    font-size: 20px;
    color: var(--dark);
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}
.contact-detail-card:hover i {
    background-color: var(--dark);
    color: var(--white);
    border-color: var(--dark);
    transform: translateY(-3px);
}
.contact-detail-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.contact-detail-card p {
    font-size: 14px;
    color: var(--dark-muted);
    font-weight: 300;
}
.contact-form-panel {
    background-color: var(--light);
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.submit-contact-btn {
    width: 100%;
    padding: 16px;
    background-color: var(--dark);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 1px solid var(--dark);
    transition: var(--transition);
}
.submit-contact-btn:hover {
    background-color: transparent;
    color: var(--dark);
    border-color: var(--dark);
}
.contact-success-msg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 0;
    color: var(--dark);
    animation: fadeIn 0.5s ease forwards;
}
.contact-success-msg i {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--dark);
}
.contact-success-msg span {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
}

/* Size Chart Modal */
.size-chart-btn {
    color: var(--primary);
    font-size: 11px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition);
}
.size-chart-btn:hover {
    color: var(--dark-muted);
}
.size-chart-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, margin 0.4s ease-in-out, padding 0.4s ease-in-out, opacity 0.4s ease-in-out;
    background: var(--grey-100);
    border-radius: 6px;
    margin-top: 0px;
    opacity: 0;
}
.size-chart-container.open {
    max-height: 500px;
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 15px;
    opacity: 1;
}
.size-chart-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    margin-bottom: 15px;
    background: var(--white);
}
.size-chart-table th {
    background: var(--dark);
    color: var(--white);
    padding: 6px 4px;
    text-align: center;
    font-weight: 500;
}
.size-chart-table td {
    padding: 6px 4px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    color: var(--dark-muted);
}
.size-chart-title {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.contact-form-panel input,
.contact-form-panel textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition);
}
.contact-form-panel input:focus,
.contact-form-panel textarea:focus {
    border-color: var(--dark);
}

/* Three-column form row layout for City, Province, Postal Code */
.form-row-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 576px) {
    .form-row-three {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Checkout items list styling */
.checkout-items-list {
    max-height: 180px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 8px;
    border-bottom: 1px solid var(--border-color);
}

.checkout-item-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 12px;
    color: var(--dark);
}

.checkout-item-summary-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.checkout-item-summary-name {
    font-weight: 500;
}

.checkout-item-summary-meta {
    font-size: 11px;
    color: var(--dark-muted);
}

.checkout-item-summary-price {
    font-weight: 600;
}


.modal-thumbnails { flex-shrink: 0; display: flex; justify-content: center; gap: 10px; padding: 15px 10px; background-color: var(--white); overflow-x: auto; border-top: 1px solid #eaeaea; }
.modal-thumb { width: 50px; height: 50px; object-fit: cover; border-radius: 4px; cursor: pointer; border: 2px solid transparent; transition: all 0.3s ease; }
.modal-thumb.active { border-color: var(--primary); }
.modal-thumb:hover { transform: scale(1.05); }
.modal-image-wrapper { justify-content: flex-start; }
.qty-selector-wrapper { display: flex; align-items: center; gap: 15px; margin-top: 15px; margin-bottom: 25px; }

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   MASTER MOBILE RESPONSIVE OVERRIDES (Hero, Header, Buttons, Spacing)
   ========================================================================== */
@media (max-width: 768px) {
    /* Header & Top Bar Spacing */
    header {
        top: 32px !important;
        height: 60px !important;
        background-color: rgba(0, 0, 0, 0.75) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }
    
    .logo {
        font-size: 20px !important;
        letter-spacing: 0.02em !important;
    }

    /* Hero Section Responsive Layout */
    .hero {
        height: auto !important;
        min-height: 100vh !important;
        padding-top: 130px !important;
        padding-bottom: 60px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-bg img {
        object-position: center top !important;
        opacity: 0.45 !important;
    }

    .hero-overlay {
        background: linear-gradient(to bottom, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.65) 50%, rgba(10, 10, 10, 0.92) 100%) !important;
    }

    .hero-content {
        max-width: 100% !important;
        padding: 0 10px !important;
        text-align: left !important;
    }

    .hero-tagline {
        font-size: 11px !important;
        letter-spacing: 0.2em !important;
        margin-bottom: 10px !important;
        color: #ffffff !important;
        text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    }

    .hero-title {
        font-size: 32px !important;
        line-height: 1.2 !important;
        margin-bottom: 14px !important;
        text-shadow: 0 2px 8px rgba(0,0,0,0.9);
    }

    .hero-title span {
        font-size: 32px !important;
    }

    .hero-desc {
        font-size: 13px !important;
        line-height: 1.55 !important;
        margin-bottom: 24px !important;
        color: rgba(255, 255, 255, 0.9) !important;
        max-width: 100% !important;
    }

    .hero-btn-group {
        display: flex !important;
        flex-direction: row !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .hero-btn-group .btn {
        flex: 1 1 50% !important;
        padding: 14px 10px !important;
        font-size: 11px !important;
        letter-spacing: 0.05em !important;
        text-align: center !important;
        border-radius: 4px !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
    }

    .btn-primary {
        background-color: var(--white) !important;
        color: var(--dark) !important;
        border-color: var(--white) !important;
    }

    .btn-outline {
        border-color: rgba(255, 255, 255, 0.7) !important;
        color: var(--white) !important;
    }
    /* Mobile Modal & Safari Bottom Bar Padding Fixes */
    .checkout-modal-content {
        padding: 24px 18px 80px 18px !important;
        max-height: 85vh !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
    }

    .checkout-form-container {
        padding-bottom: 20px !important;
    }

    .place-order-btn {
        margin-top: 16px !important;
        margin-bottom: 40px !important;
        padding: 16px 20px !important;
        font-size: 14px !important;
        border-radius: 8px !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 27px !important;
    }
    .hero-title span {
        font-size: 27px !important;
    }
    .logo {
        font-size: 18px !important;
    }
    .checkout-modal-content {
        padding: 20px 14px 90px 14px !important;
        max-height: 84vh !important;
    }
    .place-order-btn {
        margin-bottom: 50px !important;
    }
}