/*
Theme Name: YourSunglasses
Theme URI: https://yoursunglasses.com.au
Author: YourSunglasses Team
Author URI: https://yoursunglasses.com.au
Description: A modern, luxury WooCommerce theme designed specifically for premium sunglasses in Australia. Features sophisticated design, elegant animations, and optimized for conversions.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yoursunglasses
Tags: e-commerce, woocommerce, responsive, luxury, modern, sunglasses
*/

/* ==========================================================================
   1. CSS VARIABLES & DESIGN SYSTEM
   ========================================================================== */

:root {
    /* Colors - Sophisticated Palette */
    --color-primary: #1a1a1a;
    --color-secondary: #c9a55a;
    --color-accent: #2d2d2d;
    --color-text: #1a1a1a;
    --color-text-light: #666666;
    --color-background: #ffffff;
    --color-background-alt: #f8f7f5;
    --color-border: #e8e6e3;
    
    /* Typography */
    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;
    --font-accent: 'Cormorant Garamond', 'Times New Roman', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-background);
    letter-spacing: 0.01em;
}

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

a {
    text-decoration: none;
    color: var(--color-text);
    transition: all var(--transition-normal);
    position: relative;
}

a:hover {
    color: var(--color-secondary);
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 400;
}

h4 {
    font-size: 1.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.875rem;
}

p {
    margin-bottom: var(--spacing-sm);
    font-weight: 300;
    letter-spacing: 0.01em;
}

.subtitle {
    font-family: var(--font-accent);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

/* ==========================================================================
   4. LAYOUT & CONTAINERS
   ========================================================================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 calc(-1 * var(--spacing-sm));
}

.col {
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-alt {
    background-color: var(--color-background-alt);
}

/* ==========================================================================
   5. HEADER - LUXURY DESIGN
   ========================================================================== */

.site-header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: transparent;
}

.header-top {
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    padding: 0.5rem 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 400;
}

.header-top .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.promo-bar {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

.promo-bar::before {
    content: '✦';
    margin-right: 0.75rem;
    opacity: 0.7;
}

.promo-bar::after {
    content: '✦';
    margin-left: 0.75rem;
    opacity: 0.7;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    position: relative;
}

.site-logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    position: relative;
}

.site-logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 1px;
    background: var(--color-secondary);
    transition: width var(--transition-normal);
}

.site-logo:hover::after {
    width: 100%;
}

/* Navigation - Refined & Minimal */
.main-navigation {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.main-navigation a {
    font-family: var(--font-body);
    color: var(--color-text);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.8125rem;
    letter-spacing: 0.15em;
    padding: 0.5rem 0;
    position: relative;
    overflow: hidden;
}

.main-navigation a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--color-secondary);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.main-navigation a:hover::before,
.main-navigation a.current::before {
    width: 100%;
}

.header-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.header-icons a {
    color: var(--color-text);
    font-size: 1.125rem;
    transition: all var(--transition-fast);
    position: relative;
}

.header-icons a:hover {
    color: var(--color-secondary);
    transform: translateY(-2px);
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-secondary);
    color: var(--color-primary);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 600;
    font-family: var(--font-body);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text);
    padding: 0.5rem;
}

/* ==========================================================================
   6. HERO SECTION - EDITORIAL LUXURY
   ========================================================================== */

.hero-section {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f7f5 0%, #ffffff 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: 
        radial-gradient(circle at 70% 30%, rgba(201, 165, 90, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(26, 26, 26, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--color-border) 50%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hero-section h1 {
    color: var(--color-primary);
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.hero-section .subtitle {
    font-family: var(--font-accent);
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
    font-style: italic;
    font-weight: 300;
    animation: fadeInUp 1.2s 0.2s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.hero-badges {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 1.2s 0.4s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
}

.hero-badge::before {
    content: '✓';
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--color-primary);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 2px solid var(--color-primary);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1.2s 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-secondary);
    transition: left var(--transition-slow);
    z-index: -1;
}

.btn:hover {
    color: var(--color-primary);
    border-color: var(--color-secondary);
}

.btn:hover::before {
    left: 0;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: #ffffff;
}

/* ==========================================================================
   7. TRUST BADGES - REFINED & ELEGANT
   ========================================================================== */

.trust-badges {
    background-color: var(--color-background);
    padding: var(--spacing-xl) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    position: relative;
}

.trust-badges::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, var(--color-border) 50%, transparent 100%);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
}

.badge-item {
    text-align: center;
    padding: var(--spacing-md);
    position: relative;
    transition: all var(--transition-normal);
}

.badge-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--color-border);
}

.badge-item:hover {
    transform: translateY(-4px);
}

.badge-icon {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-sm);
    transition: all var(--transition-normal);
}

.badge-item:hover .badge-icon {
    transform: scale(1.1);
    color: var(--color-primary);
}

.badge-item h3 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.badge-item p {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.01em;
}

/* ==========================================================================
   8. PRODUCTS SECTION - LUXURY SHOWCASE
   ========================================================================== */

.products-section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: calc(-1 * var(--spacing-md));
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--color-secondary);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: var(--spacing-sm);
    font-weight: 300;
}

.section-header p {
    font-family: var(--font-accent);
    font-size: 1.125rem;
    color: var(--color-text-light);
    font-style: italic;
    font-weight: 300;
}

/* WooCommerce Product Grid - Luxury Layout */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce ul.products li.product {
    background: var(--color-background);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: all var(--transition-slow);
    position: relative;
    cursor: pointer;
}

.woocommerce ul.products li.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.03) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.woocommerce ul.products li.product:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: var(--color-secondary);
}

.woocommerce ul.products li.product:hover::before {
    opacity: 1;
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform var(--transition-slow);
    filter: grayscale(0.1);
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.05);
    filter: grayscale(0);
}

.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 1.5rem;
    margin: 0;
    color: var(--color-text);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color var(--transition-fast);
}

.woocommerce ul.products li.product:hover h2,
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
    color: var(--color-secondary);
}

.woocommerce ul.products li.product .price {
    padding: 0 1.5rem 1.5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-primary);
    letter-spacing: 0.05em;
}

.woocommerce ul.products li.product .price del {
    color: var(--color-text-light);
    font-size: 1.125rem;
    margin-right: 0.5rem;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    color: var(--color-secondary);
}

.woocommerce ul.products li.product .button {
    width: 100%;
    background-color: var(--color-primary);
    color: #ffffff;
    border: none;
    padding: 1rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.woocommerce ul.products li.product .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-secondary);
    transition: left var(--transition-slow);
    z-index: 0;
}

.woocommerce ul.products li.product .button:hover {
    color: var(--color-primary);
}

.woocommerce ul.products li.product .button:hover::before {
    left: 0;
}

/* Product Sale Badge - Refined */
.woocommerce span.onsale {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 10;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   8. CATEGORIES SECTION
   ========================================================================== */

.categories-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category-card {
    position: relative;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.category-overlay h3 {
    font-size: 2rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==========================================================================
   9. SINGLE PRODUCT PAGE
   ========================================================================== */

.woocommerce div.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 40px 0;
}

.woocommerce div.product .images {
    position: sticky;
    top: 100px;
}

.woocommerce div.product .summary {
    padding: 20px;
}

.woocommerce div.product .product_title {
    font-size: 2rem;
    margin-bottom: 15px;
}

.woocommerce div.product .price {
    font-size: 2rem;
    color: #0066cc;
    font-weight: bold;
    margin-bottom: 20px;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    margin-bottom: 30px;
    color: #666;
    line-height: 1.8;
}

.woocommerce div.product form.cart {
    margin-bottom: 30px;
}

.woocommerce div.product form.cart .button {
    background-color: #0066cc;
    color: #fff;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.woocommerce div.product form.cart .button:hover {
    background-color: #004499;
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */

.site-footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
    color: #fff;
}

.footer-widget p {
    color: #ccc;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 30px;
    text-align: center;
    color: #999;
}

.footer-bottom p {
    margin: 5px 0;
}

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

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #0066cc;
}

/* ==========================================================================
   11. RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .main-navigation.active {
        display: flex;
    }

    .header-main {
        flex-wrap: wrap;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .woocommerce div.product {
        grid-template-columns: 1fr;
    }

    .badges-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   12. UTILITY CLASSES
   ========================================================================== */

.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-40 {
    margin-top: 40px;
}

/* ==========================================================================
   13. WOOCOMMERCE CART & CHECKOUT
   ========================================================================== */

.woocommerce-cart table.cart {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.woocommerce-cart table.cart th {
    background-color: #f8f9fa;
    padding: 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.woocommerce-cart table.cart td {
    padding: 20px 15px;
    border-top: 1px solid #e0e0e0;
}

.woocommerce-cart .cart-collaterals {
    margin-top: 40px;
}

.woocommerce-cart .cart_totals {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.woocommerce #payment {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

/* ==========================================================================
   14. LOADING & ANIMATIONS
   ========================================================================== */

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ==========================================================================
   15. NEWSLETTER
   ========================================================================== */

.newsletter-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.newsletter-section h2 {
    color: #fff;
    margin-bottom: 15px;
}

.newsletter-form {
    max-width: 500px;
    margin: 30px auto 0;
    display: flex;
    gap: 10px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 15px 30px;
    background-color: #fff;
    color: #667eea;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #f0f0f0;
}

/* ==========================================================================
   9. CATEGORIES SECTION - EDITORIAL GRID
   ========================================================================== */

.categories-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-background-alt);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.category-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--color-border);
    transition: all var(--transition-slow);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
    transition: all var(--transition-slow);
}

.category-card:hover::before {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

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

.category-card:hover img {
    transform: scale(1.1);
    filter: grayscale(0);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.category-overlay h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 300;
    margin-bottom: 0.5rem;
    transition: transform var(--transition-normal);
}

.category-card:hover .category-overlay h3 {
    transform: translateY(-8px);
}

.category-overlay::after {
    content: '→';
    font-size: 2rem;
    color: var(--color-secondary);
    margin-top: 1rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all var(--transition-normal);
}

.category-card:hover .category-overlay::after {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   10. SINGLE PRODUCT PAGE - LUXURY LAYOUT
   ========================================================================== */

.woocommerce div.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl) 0;
}

.woocommerce div.product .images {
    position: sticky;
    top: 120px;
}

.woocommerce div.product .summary {
    padding: var(--spacing-md);
}

.woocommerce div.product .product_title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 300;
    letter-spacing: 0.05em;
}

.woocommerce div.product .price {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-primary);
    font-weight: 300;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.05em;
}

.woocommerce div.product .price del {
    color: var(--color-text-light);
    font-size: 1.75rem;
    margin-right: 1rem;
}

.woocommerce div.product .price ins {
    text-decoration: none;
    color: var(--color-secondary);
}

.woocommerce div.product .woocommerce-product-details__short-description {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.woocommerce div.product form.cart {
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.woocommerce div.product form.cart .button {
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 1.25rem 3rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    border: 2px solid var(--color-primary);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.woocommerce div.product form.cart .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-secondary);
    transition: left var(--transition-slow);
    z-index: -1;
}

.woocommerce div.product form.cart .button:hover {
    color: var(--color-primary);
    border-color: var(--color-secondary);
}

.woocommerce div.product form.cart .button:hover::before {
    left: 0;
}

/* ==========================================================================
   11. FOOTER - REFINED & MINIMAL
   ========================================================================== */

.site-footer {
    background-color: var(--color-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-widget h3 {
    color: #ffffff;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 0.75rem;
}

.footer-widget ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
    font-weight: 300;
    letter-spacing: 0.02em;
    font-size: 0.9375rem;
}

.footer-widget ul li a:hover {
    color: var(--color-secondary);
    padding-left: 0.5rem;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--color-secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: var(--spacing-md);
    justify-content: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-primary);
    transform: translateY(-4px);
}

/* ==========================================================================
   12. RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
    .woocommerce div.product {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--color-border);
    }

    .main-navigation.active {
        display: flex;
    }

    .header-main {
        flex-wrap: wrap;
    }

    .hero-section {
        min-height: 70vh;
        padding: var(--spacing-lg) 0;
    }

    .hero-section h1 {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .hero-badges {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.75rem;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 1rem;
    }

    .badges-grid {
        grid-template-columns: 1fr;
    }

    .badge-item:not(:last-child)::after {
        display: none;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* ==========================================================================
   13. UTILITY CLASSES
   ========================================================================== */

.text-center {
    text-align: center;
}

.text-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.mb-20 {
    margin-bottom: var(--spacing-md);
}

.mb-40 {
    margin-bottom: var(--spacing-lg);
}

.mt-40 {
    margin-top: var(--spacing-lg);
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

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

/* ==========================================================================
   14. NEWSLETTER SECTION - ELEGANT
   ========================================================================== */

.newsletter-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: #ffffff;
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(201, 165, 90, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-section h2 {
    color: #ffffff;
    margin-bottom: var(--spacing-sm);
    font-weight: 300;
}

.newsletter-section p {
    font-family: var(--font-accent);
    font-style: italic;
    opacity: 0.9;
    margin-bottom: var(--spacing-md);
}

.newsletter-form {
    max-width: 600px;
    margin: var(--spacing-md) auto 0;
    display: flex;
    gap: 1rem;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--color-secondary);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    padding: 1rem 2.5rem;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    border: none;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.newsletter-form button:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================================================
   15. LOADING & ANIMATIONS
   ========================================================================== */

.loading {
    opacity: 0.6;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ==========================================================================
   16. WOOCOMMERCE CART & CHECKOUT
   ========================================================================== */

.woocommerce-cart table.cart {
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.woocommerce-cart table.cart th {
    background-color: var(--color-background-alt);
    padding: 1rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--color-border);
}

.woocommerce-cart table.cart td {
    padding: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.woocommerce-cart .cart-collaterals {
    margin-top: var(--spacing-lg);
}

.woocommerce-cart .cart_totals {
    background-color: var(--color-background-alt);
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
}

.woocommerce #payment {
    background-color: var(--color-background-alt);
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background-color: var(--color-primary);
    color: #ffffff;
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.back-to-top.show {
    opacity: 1;
}

.back-to-top:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    transform: translateY(-4px);
}
