/*
Theme Name: Domys Theme
Theme URI: https://domys.local
Author: Antigravity
Description: A premium, mobile-first WooCommerce theme for Domys.
Version: 10.35
Text Domain: domys-theme
*/

:root {
    /* Brand Colors - Premium SaaS Palette */
    --color-primary: #079bf5;
    --color-primary-dark: #0582ce;
    --color-primary-light: rgba(7, 155, 245, 0.1);
    --color-accent: #fbbf24;
    --color-accent-hover: #f59e0b;
    --color-success: #10b981;
    
    /* Neutrals */
    --color-white: #ffffff;
    --color-off-white: #f8fafc;
    --color-text-main: #0f172a;
    --color-text-muted: #64748b;
    --color-border: #e2e8f0;
    --color-border-light: #f1f5f9;

    /* Typography - Modern Stack */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing System */
    --space-2xs: 0.25rem;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    --container-width: 1400px;
    --header-height: 90px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Elevated Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-primary: 0 10px 15px -3px rgba(7, 155, 245, 0.3);
}

/* Modern Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-off-white);
    font-family: var(--font-body);
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Contain full-bleed elements (e.g. .rayon-separator) without breaking the
   sticky header — overflow-x on html/body forces the other axis to `auto`
   per spec, which detaches position:sticky from the viewport. Scoping the
   clip to .site-main (a sibling of the header, not an ancestor) avoids that. */
.site-main {
    overflow-x: hidden;
    width: 100%;
}

/* content-single-product.php renders straight into #primary via woocommerce_content()
   with no .container wrapper of its own (unlike the shop/category/cart/checkout
   templates), so the single-product page needs its own horizontal padding here. */
.single-product #primary {
    padding: 0 2rem;
}

@media (max-width: 600px) {
    .single-product #primary {
        padding: 0 16px;
    }
}

body.menu-open {
    overflow: hidden;
    /* Prevent background scroll */
}

/* Overlay for Sidebar */
body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 1000;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text-main);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--color-primary-dark);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* 
========================================
   HEADER & NAVIGATION
========================================
*/
header.site-header {
    background: var(--color-primary);
    /* Blue Background */
    backdrop-filter: blur(10px);
    height: var(--header-height);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease, transform 0.3s ease;
}

/* Auto-hide on scroll down, reappear on scroll up */
header.site-header.header-hidden {
    transform: translateY(-100%);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* ========================================
   REFINED PREMIUM CART PAGE
 ======================================== */
body.woocommerce-cart .cart-page-wrapper {
    padding: 100px 0 !important;
    background: #fdfdfd !important;
    background-image: radial-gradient(circle at 100% 0%, rgba(7, 155, 245, 0.03) 0%, transparent 25%),
                      radial-gradient(circle at 0% 100%, rgba(7, 155, 245, 0.03) 0%, transparent 25%) !important;
    min-height: 100vh !important;
}

/* Step Progress Bar - Redesigned */
body.woocommerce-cart .cart-steps {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 80px !important;
    gap: 0 !important;
}

body.woocommerce-cart .step {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 0 30px !important;
}

body.woocommerce-cart .step-num {
    width: 36px !important;
    height: 36px !important;
    background: #f1f5f9 !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 800 !important;
    color: #94a3b8 !important;
    font-size: 0.9rem !important;
}

body.woocommerce-cart .step-text {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

body.woocommerce-cart .step.active .step-num {
    background: var(--color-primary) !important;
    color: white !important;
    box-shadow: 0 10px 20px rgba(7, 155, 245, 0.2) !important;
}

body.woocommerce-cart .step.active .step-text {
    color: #1e293b !important;
}

body.woocommerce-cart .step-line {
    width: 50px !important;
    height: 2px !important;
    background: #e2e8f0 !important;
    margin-top: 0 !important;
}

body.woocommerce-cart .cart-page-title {
    display: none !important; /* Let the steps do the talking */
}

/* Grid Definition */
body.woocommerce-cart .cart-items-header,
body.woocommerce-cart .cart-item {
    display: grid !important;
    grid-template-columns: 1fr 120px 160px 120px 50px !important;
    align-items: center !important;
    gap: 20px !important;
}

/* Header Row */
body.woocommerce-cart .cart-items-header {
    padding: 0 30px 20px 30px !important;
    border-bottom: 2px solid #f1f5f9 !important;
    margin-bottom: 30px !important;
    color: #94a3b8 !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* Item Row */
body.woocommerce-cart .cart-item {
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 20px 30px !important;
    border: 1px solid #f1f5f9 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02) !important;
    margin-bottom: 15px !important;
    transition: all 0.3s ease !important;
}

body.woocommerce-cart .cart-item:hover {
    transform: translateX(10px) !important;
    border-color: rgba(7, 155, 245, 0.2) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05) !important;
}

/* Product Column (Image + Title) */
body.woocommerce-cart .cart-item-image {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    grid-column: 1 !important;
}

body.woocommerce-cart .cart-item-image img {
    width: 80px !important;
    height: 80px !important;
    border-radius: 16px !important;
}

body.woocommerce-cart .cart-item-details {
    flex: 1 !important;
}

body.woocommerce-cart .cart-item-name a {
    color: #1e293b !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Prices & Totals */
body.woocommerce-cart .cart-item-price,
body.woocommerce-cart .cart-item-subtotal {
    text-align: center !important;
}

body.woocommerce-cart .cart-item-subtotal {
    color: #0f172a !important;
    font-weight: 800 !important;
}

/* Quantity Wrapper */
body.woocommerce-cart .cart-item-quantity {
    display: flex !important;
    justify-content: center !important;
}

body.woocommerce-cart .cart-item-quantity .quantity {
    background: #f8fafc !important;
    border-radius: 12px !important;
    padding: 5px 10px !important;
}

/* Sidebar Summary */
body.woocommerce-cart .cart-totals {
    background: #ffffff !important;
    border-radius: 32px !important;
    padding: 40px !important;
    border: 1px solid #f1f5f9 !important;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.06) !important;
}

body.woocommerce-cart .cart-total-final {
    font-size: 2rem !important;
    color: var(--color-primary) !important;
}

/* Responsive Fixes */
@media (max-width: 991px) {
    body.woocommerce-cart .cart-content-wrapper {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    body.woocommerce-cart .cart-items-header {
        display: none !important;
    }
    
    body.woocommerce-cart .cart-item {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 15px !important;
    }
    
    body.woocommerce-cart .cart-item-image {
        grid-column: span 2 !important;
    }
    
    body.woocommerce-cart .cart-item-subtotal {
        grid-column: 2 !important;
        text-align: right !important;
    }
    
    body.woocommerce-cart .cart-steps {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: flex-start !important;
        padding-left: 20px !important;
    }
    
    body.woocommerce-cart .step-line {
        display: none !important;
    }
}

/* Responsive */
@media (max-width: 1100px) {
    .cart-content-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 100px 1fr;
        grid-template-rows: auto auto auto;
        padding: 20px;
        gap: 20px;
    }
    
    .cart-item-image {
        grid-row: span 3;
    }
    
    .cart-item-subtotal {
        grid-row: 3;
        grid-column: 2;
    }
    
    .remove-item {
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .cart-page-title {
        font-size: 2rem;
    }
}

/* No Promo Custom State */
.no-products-wrapper {
    width: 100%;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.no-promo-container {
    max-width: 600px;
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    padding: 50px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.no-promo-icon {
    font-size: 5rem;
    color: #e2e8f0;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.no-promo-container h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--color-text-main);
}

.no-promo-container p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 35px;
    line-height: 1.6;
}

.no-promo-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.promo-back-btn {
    background: var(--color-primary) !important;
    color: white !important;
    padding: 15px 30px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
}

.promo-back-btn:hover {
    background: var(--color-primary-dark) !important;
    transform: translateY(-2px);
}

.promo-item a, .promo-link {
    color: #ef4444 !important; /* Red-500 */
    font-weight: 800 !important;
}

.promo-item a i, .promo-link i {
    color: #f97316; /* Orange-500 */
    margin-right: 5px;
    animation: pulse-fire 2s infinite;
}

@keyframes pulse-fire {
    0% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.1); filter: brightness(1.3); }
    100% { transform: scale(1); filter: brightness(1); }
}

.categories-horizontal-list li.promo-item {
    border-right: 2px solid rgba(0,0,0,0.05);
    padding-right: 15px;
    margin-right: 15px;
}

.product-card, .product-inner {
    position: relative;
}

.product-card-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.product-actions, .product-hover-actions, .product-actions a, .product-hover-actions a, .btn-buy, .btn-cart {
    position: relative;
    z-index: 2;
}

/* Left Group: Burger + Logo */
.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    /* Space between burger and logo */
}

.site-branding {
    display: flex;
    align-items: center;
}

.custom-logo-link img,
.site-logo img {
    max-height: 55px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.site-title a {
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 800;
}

/* 
   SIDEBAR NAVIGATION (LEFT SIDE)
*/
/* 
   SIDEBAR NAVIGATION (LEFT SIDE) - FULL PAGE LENGTH
*/
.main-navigation {
    position: fixed;
    top: 20px;
    left: -420px;
    width: 380px;
    max-width: 85%;
    max-height: calc(100vh - 40px);

    /* Premium gradient background */
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);

    /* Fully rounded borders - floating card style */
    border-radius: 24px;
    box-shadow: 10px 0 50px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(7, 155, 245, 0.1);

    /* Layout */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center vertically */
    padding-bottom: 20px;
    z-index: 1001;

    /* Smooth animation */
    transition: left 0.4s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
}

.main-navigation.toggled {
    left: 20px;
    box-shadow: 10px 0 60px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(7, 155, 245, 0.2);
}

/* Sidebar Header Branding */
.sidebar-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: 2.5rem 2rem 2rem;
    margin-bottom: 2rem;
    border-radius: 24px 24px 0 0;
}

.sidebar-logo img {
    max-height: 50px;
    /* filter: brightness(0) invert(1); Removed per user request */
}

.site-logo img,
.custom-logo-link img {
    /* filter: brightness(0) invert(1); Removed per user request */
}

.sidebar-brand {
    color: var(--color-white);
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Sidebar Section */
.sidebar-section {
    padding: 0 2rem;
    margin-bottom: 2rem;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.main-navigation ul li {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.main-navigation.toggled ul li {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Items */
.main-navigation.toggled ul li:nth-child(1) {
    transition-delay: 0.1s;
}

.main-navigation.toggled ul li:nth-child(2) {
    transition-delay: 0.15s;
}

.main-navigation.toggled ul li:nth-child(3) {
    transition-delay: 0.2s;
}

.main-navigation.toggled ul li:nth-child(4) {
    transition-delay: 0.25s;
}

.main-navigation.toggled ul li:nth-child(5) {
    transition-delay: 0.3s;
}

.main-navigation.toggled ul li:nth-child(6) {
    transition-delay: 0.35s;
}

.main-navigation.toggled ul li:nth-child(7) {
    transition-delay: 0.4s;
}

.main-navigation.toggled ul li:nth-child(8) {
    transition-delay: 0.45s;
}

.main-navigation ul li a {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-main);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: transparent;
}

.main-navigation ul li a:hover {
    color: var(--color-primary);
    background: rgba(7, 155, 245, 0.08);
    transform: translateX(8px) scale(1.02);
    padding-left: 1.5rem;
}

/* Sidebar Categories */
.sidebar-categories {
    margin-top: 0;
    padding: 2rem;
    border-top: none;
    /* Remove border */
    background: transparent;
    /* Transparent bg */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center horizontally */
}

.sidebar-heading {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center heading */
    gap: 0.5rem;
}

.sidebar-heading i {
    font-size: 1rem;
}

.sidebar-categories ul {
    gap: 8px;
    width: 100%;
}

.sidebar-categories ul li a {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sidebar-categories ul li a i {
    font-size: 1.1rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
    width: 20px;
    text-align: center;
}

.sidebar-categories ul li a:hover {
    color: var(--color-primary);
    background: rgba(7, 155, 245, 0.1);
    transform: translateX(6px) scale(1.02);
}

.sidebar-categories ul li a:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Close Button in Sidebar */
.menu-close-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    font-size: 1.1rem;
    color: var(--color-white);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.menu-close-mobile:hover {
    background: var(--color-white);
    color: var(--color-primary);
    transform: rotate(90deg) scale(1.15);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Header Actions */
.header-actions {
    flex: 0 0 auto;
    /* Don't grow */
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-action-item {
    display: flex;
    align-items: center;
}

.action-text {
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 0.5rem;
    display: none;
    /* Hidden by default on small screens */
}

@media (min-width: 768px) {
    .action-text {
        display: inline-block;
    }
}

.header-action-item a,
.header-action-item button {
    color: var(--color-accent);
    /* Yellow Contrast */
    font-size: 1.1rem;
    transition: color 0.2s ease;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.header-action-item a:hover,
.header-action-item button:hover {
    color: var(--color-white);
}

/* Center Search Bar */
.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 2rem;
    max-width: 600px;
}

.header-search-form {
    display: flex;
    align-items: center;
    background: var(--color-white);
    border-radius: 50px;
    padding: 0.25rem 0.5rem 0.25rem 1rem;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    width: 100%;
    transition: all 0.3s ease;
    height: 40px;
}

.header-search-form:focus-within {
    box-shadow: 0 6px 20px rgba(7, 155, 245, 0.25);
    transform: translateY(-1px);
}

.header-search-form .search-icon {
    color: var(--color-text-muted);
    margin-right: 0.75rem;
    font-size: 1rem;
}

.header-search-input {
    border: none;
    background: transparent;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    flex: 1;
    min-width: 200px;
    height: auto;
    outline: none;
    color: var(--color-text-main);
}

.header-search-input::placeholder {
    color: var(--color-text-muted);
}

.header-search-btn {
    background: var(--color-primary);
    color: var(--color-white) !important;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: 30px;
    line-height: 1;
}

.header-search-btn:hover {
    background: var(--color-primary-dark);
    transform: scale(1.05);
}

.phone-number a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.phone-number i {
    color: var(--color-primary);
    background: var(--color-accent);
    /* Yellow background */
    padding: 8px;
    border-radius: 50%;
    font-size: 0.8rem;
}

.cart-icon {
    position: relative;
}

.cart-icon a {
    font-size: 1.2rem;
    position: relative;
    display: block;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #ef4444;
    /* Red badge for contrast against yellow icon */
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.7rem;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Categories Dropdown in Navbar */
.categories-dropdown {
    position: relative;
}

.categories-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    color: var(--color-accent);
    /* Yellow */
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.categories-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.categories-trigger i:last-child {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.categories-dropdown:hover .categories-trigger i:last-child {
    transform: rotate(180deg);
}

.categories-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1000;
    border: 1px solid var(--color-border);
}

.categories-dropdown:hover .categories-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.categories-menu-inner {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.category-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    color: var(--color-text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.category-menu-item i {
    font-size: 1.1rem;
    color: var(--color-primary);
    width: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.category-menu-item:hover {
    background: rgba(7, 155, 245, 0.08);
    color: var(--color-primary);
    transform: translateX(5px);
}

.category-menu-item:hover i {
    transform: scale(1.2) rotate(5deg);
}


/* Burger Menu Toggle (Left Side in Header-Left) */
.menu-toggle {
    display: block;
    background: transparent;
    border: none;
    padding: 5px;
    /* Minimal padding */
    cursor: pointer;
    margin: 0;
    /* Reset margins */
}

.menu-toggle .bar {
    width: 26px;
    height: 2px;
    background: var(--color-accent);
    /* Yellow bars */
    margin: 6px 0;
    display: block;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hover effect for burger */
.menu-toggle:hover .bar {
    background: var(--color-white);
}

/* 
========================================
   HERO SECTION (Split Layout)
========================================
*/
.hero-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(7, 155, 245, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* Carousel takes 2/3, Banners take 1/3 */
    gap: 1.5rem;
    align-items: stretch;
    height: 500px;
    /* Fixed height for gallery feel */
}

.hero-section.only-carousel .hero-container {
    grid-template-columns: 1fr;
}

.hero-section.only-banners .hero-container {
    grid-template-columns: 1fr;
}

/* Hero Banners (Right Column) */
.hero-banners {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

.hero-banner-item {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.hero-banner-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.hero-banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-banner-item:hover img {
    transform: scale(1.05);
}

/* NEW HERO SLIDER */
.new-hero-slider-wrapper {
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    background: #0f172a;
}

.new-hero-track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -webkit-overflow-scrolling: touch;
}

.new-hero-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.new-hero-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
    position: relative;
}

.new-hero-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.new-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.new-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.new-hero-arrow:hover {
    background: var(--color-accent);
    color: var(--color-text-main);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 16px rgba(255, 210, 47, 0.4);
}

.new-hero-arrow.prev { left: 15px; }
.new-hero-arrow.next { right: 15px; }

.new-hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.new-hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.new-hero-dot.active {
    background: #fff;
    transform: scale(1.3);
}
.carousel-nav .prev-btn {
    left: 16px;
}

.carousel-nav .next-btn {
    right: 16px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dot.active {
    background: var(--color-accent);
    /* Yellow active dot */
    transform: scale(1.4);
    box-shadow: 0 0 8px rgba(255, 210, 47, 0.6);
}

/* Buttons */
.button,
button,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-accent);
    /* Yellow Background */
    color: var(--color-text-main);
    /* Dark Text */
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(255, 210, 47, 0.2);
}

.button:hover,
button:hover,
input[type="submit"]:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(255, 210, 47, 0.3);
}

.button-outline {
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-text-main);
    box-shadow: none;
}

.button-outline:hover {
    background: var(--color-accent);
    color: var(--color-text-main);
}

/* 
========================================
   FEATURES BAR
========================================
*/
.features-bar {
    background: var(--color-white);
    padding: 3rem 0;
    margin-bottom: 5rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    top: -40px;
    /* Overlap hero slightly */
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2rem;
    color: var(--color-accent-hover);
    /* Darker Yellow Icon */
    background: rgba(255, 210, 47, 0.15);
    /* Yellow Tint BG */
    padding: 1rem;
    border-radius: 50%;
}

.feature-text h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: var(--color-text-main);
}

.feature-text p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* 
========================================
   SECTION STYLING
========================================
*/
.section-padding {
    padding: 2rem 0 3rem;
    /* Reduced vertical padding */
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    /* Reduced bottom margin */
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    margin: 0.5rem auto 0;
    border-radius: 3px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

/* 
========================================
   PROMO BANNER
========================================
*/
.promo-banner {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 5rem 0;
    text-align: center;
    margin: 4rem 0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
}

.promo-banner .promo-content {
    position: relative;
    /* z-index context */
    max-width: 700px;
    margin: 0 auto;
}

.promo-banner .promo-content h2 {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.promo-banner .promo-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.promo-button {
    background: var(--color-accent);
    color: #1a1a1a;
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

.promo-button:hover {
    background: var(--color-accent-hover);
    color: #1a1a1a;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* 
========================================
   COMPONENTS & CARDS
========================================
*/
/* Carousel Scroller */
.carousel-wrapper {
    position: relative;
    padding: 0 20px;
    /* Space for arrows */
}

.product-scroller {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 1rem;
    /* Reduced gap */
    padding-bottom: 2rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* smooth scroll on iOS */
    scrollbar-width: none;
    /* Firefox */
    scroll-snap-type: x mandatory;
    /* Snap on mobile */
}

.product-scroller::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.product-card {
    flex: 0 0 160px;
    /* Much Narrower */
    min-width: 160px;
    background: var(--color-white);
    border-radius: 12px;
    padding: 0.75rem;
    /* Reduced padding */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--color-border);
    position: relative;
    scroll-snap-align: center;
    /* Snap cards to center */
}

/* Scroll Arrows */
.scroll-arrow {
    position: absolute;
    top: 45%;
    /* Vertically centered relative to cards (adjust for padding) */
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-primary);
    transition: all 0.2s ease;
}

.scroll-arrow:hover {
    background: var(--color-accent);
    /* Yellow */
    color: var(--color-text-main);
    /* Dark Text */
    border-color: var(--color-accent);
    box-shadow: 0 4px 10px rgba(255, 210, 47, 0.4);
    transform: translateY(-50%) scale(1.1);
    /* Keep centered and scale up */
}

.prev-arrow {
    left: -20px;
}

.next-arrow {
    right: -20px;
}

@media (max-width: 900px) {
    .scroll-arrow {
        display: none;
    }

    /* Hide arrows on mobile, just swipe */
    .carousel-wrapper {
        padding: 0;
    }
}

.product-card img {
    border-radius: 14px;
    margin-bottom: 1.5rem;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--color-off-white);
}

.product-card h3 {
    font-size: 0.9rem;
    /* Smaller text */
    margin-bottom: 0.25rem;
    color: var(--color-text-main);
    line-height: 1.3;
}

.category-placeholder {
    height: 240px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-card .price {
    display: block;
    color: var(--color-text-main);
    font-weight: 700;
    font-size: 1.1rem;
    /* Smaller price */
    margin-bottom: 0;
}

.product-card .button {
    width: 100%;
    background: var(--color-off-white);
    color: var(--color-text-main);
    box-shadow: none;
}

.product-card:hover .button {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 10px rgba(7, 155, 245, 0.3);
}

/* Hover Actions */
.product-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    /* Reduced margin */
}

.product-image-wrap img {
    margin-bottom: 0;
    /* Remove margin as it's on wrapper now */
    transition: transform 0.4s ease;
}

.product-card:hover .product-image-wrap img {
    transform: scale(1.05);
}

.product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.product-actions .button {
    width: 100%;
    padding: 0.5rem 0.5rem;
    /* Smaller buttons */
    font-size: 0.8rem;
    margin: 0;
}

.product-actions .btn-cart {
    background: transparent;
    border: 2px solid var(--color-accent);
    /* Yellow Outline */
    color: var(--color-text-main);
    box-shadow: none;
}

.product-actions .btn-cart:hover {
    background: var(--color-accent);
    color: var(--color-text-main);
}

.product-actions .btn-buy {
    background: var(--color-accent);
    color: #1a1a1a;
}

.product-actions .btn-buy:hover {
    background: var(--color-accent-hover);
    color: #1a1a1a;
}

/* 
========================================
   FOOTER (REDESIGN: BLUE)
========================================
*/
/* 
========================================
   FOOTER (REDESIGN: BLUE)
========================================
*/
.site-footer {
    background: var(--color-primary);
    /* Brand Blue */
    color: var(--color-white);
    padding-top: 4rem;
    margin-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
    text-align: left;
}

.footer-heading {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer Nav */
.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav ul li {
    margin-bottom: 0.75rem;
}

.footer-nav ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s;
    text-decoration: none;
}

.footer-nav ul li a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

/* Contact List */
.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-contact-list li i {
    color: var(--color-accent);
    margin-top: 5px;
}

/* Social Icons */
.footer-social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: var(--color-white);
}

.social-icon.instagram:hover {
    background: #e1306c;
}

.social-icon.facebook:hover {
    background: #1877f2;
}

.social-icon.tiktok:hover {
    background: #000000;
}

.site-info-bar {
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.2);
    /* Slightly darker overlay */
    color: rgba(255, 255, 255, 0.6);
}

/* 
========================================
   WOOCOMMERCE INTEGRATION
========================================
*/
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    width: 100%;
    margin: 0;
    border: none;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--color-text-main);
    font-size: 1.8rem;
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background-color: var(--color-accent);
    /* Yellow */
    color: var(--color-text-main);
}

.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background-color: var(--color-accent-hover);
    color: #1a1a1a;
}

/* Responsive */
@media (max-width: 1024px) {
    .header-search-input {
        width: 100px;
    }

    .phone-text {
        display: none;
    }
}

@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }

    /* Single-line mobile header: burger + logo + search + whatsapp + cart */
    .header-container {
        display: flex !important;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
        height: auto;
        padding: 10px 12px;
    }

    .header-left {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .menu-toggle {
        margin: 0;
        background: rgba(255, 255, 255, 0.1);
        padding: 12px;
        border-radius: 10px;
        min-width: 44px;
        min-height: 44px;
    }

    .site-branding {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        min-width: 0;
        overflow: hidden;
    }

    .site-branding img {
        max-height: 34px !important;
    }

    .site-branding .site-title {
        font-size: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 90px;
    }

    .header-center {
        flex: 1 1 auto;
        min-width: 0;
        padding: 0;
        max-width: none;
    }

    .header-search-form {
        display: flex;
        width: 100%;
        height: 40px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        box-shadow: none;
        padding: 0.25rem 0.5rem;
    }

    .header-search-input {
        color: #fff;
        font-size: 0.9rem;
        background: transparent;
        min-width: 0;
    }

    .header-search-input::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }

    .header-search-form .search-icon {
        color: #fff;
        margin-right: 0.4rem;
    }

    .header-search-btn {
        display: none; /* Hide the button text/btn on mobile for cleaner look */
    }

    .header-actions {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        gap: 0.5rem;
    }

    .header-actions .phone-number {
        display: flex;
    }

    .header-actions .phone-number a {
        background: rgba(255, 255, 255, 0.1);
        padding: 12px;
        border-radius: 10px;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-actions .phone-number .phone-text {
        display: none; /* icon-only on mobile, no room for the number */
    }

    .header-actions .cart-icon {
        background: rgba(255, 255, 255, 0.1);
        padding: 12px;
        border-radius: 10px;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    header.site-header {
        height: auto;
        background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
        padding-bottom: 5px;
    }

    .main-navigation {
        width: 340px;
    }

    /* HomePage Responsive */
    .hero-container {
        grid-template-columns: 1fr;
        /* Stack vertically */
        height: auto;
        /* Allow auto height */
        gap: 2rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        height: auto;
    }

    .new-hero-slider-wrapper {
        height: 300px;
    }

    .hero-banners {
        height: auto;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-banner-item {
        height: 200px;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        /* Keep grid on tablets/large phones */
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
        /* Stack on small phones */
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-carousel {
        max-width: 100%;
        height: 280px;
        /* Smaller height for small screens */
        border-radius: 20px;
    }

    .hero-section {
        padding: 4rem 0 6rem;
    }

    .carousel-nav button {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}
}

/* 
========================================
   CATEGORY PAGES - CLEAN & MODERN
========================================
*/

/* Category Hero - Minimal */
.category-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
    padding: 2.5rem 0 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.category-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.category-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
}

.category-description {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.product-count {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(7, 155, 245, 0.1);
    color: var(--color-primary);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Toolbar - Compact & Clean */
.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--color-white);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--color-border);
}

.toolbar-left,
.toolbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-off-white);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-toggle-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.filter-toggle-btn i {
    font-size: 0.85rem;
}

.woocommerce-result-count {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.woocommerce-ordering {
    margin: 0;
}

.woocommerce-ordering select {
    padding: 0.6rem 2rem 0.6rem 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-off-white);
    color: var(--color-text-main);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23475569' d='M5 7L1 3h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    appearance: none;
}

.woocommerce-ordering select:hover,
.woocommerce-ordering select:focus {
    border-color: var(--color-primary);
    outline: none;
}

/* Product Grid - Compact Cards */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 0 0 2rem 0;
    padding: 0;
    list-style: none;
}

.woocommerce ul.products li.product {
    background: var(--color-white);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(7, 155, 245, 0.3);
}

.woocommerce ul.products li.product a {
    text-decoration: none;
}

.woocommerce ul.products li.product img {
    border-radius: 8px;
    margin-bottom: 0.75rem;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.03);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.woocommerce ul.products li.product .price {
    color: var(--color-primary);
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.75rem;
}

.woocommerce ul.products li.product .button {
    width: 100%;
    text-align: center;
    padding: 0.6rem 1rem;
    background: var(--color-off-white);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    margin-top: auto;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* No Products */
.no-products-found {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--color-white);
    border-radius: 16px;
    border: 1px dashed var(--color-border);
}

.no-products-found i {
    font-size: 3rem;
    color: var(--color-text-muted);
    opacity: 0.4;
    margin-bottom: 1rem;
}

.no-products-found h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.no-products-found p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

/* Pagination - Clean */
.woocommerce nav.woocommerce-pagination {
    margin-top: 2rem;
    text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex;
    gap: 0.4rem;
    border: none;
    padding: 0;
    list-style: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    margin: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0.4rem 0.8rem;
    background: var(--color-white);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .category-info {
        flex-direction: column;
        text-align: center;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .products-toolbar {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }

    .toolbar-left,
    .toolbar-right {
        width: 100%;
        justify-content: space-between;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }

    .woocommerce ul.products li.product {
        padding: 0.75rem;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 0.85rem;
    }

    .woocommerce ul.products li.product .price {
        font-size: 1rem;
    }
}

/* Product Hover Actions */
.product-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.product-hover-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.woocommerce ul.products li.product:hover .product-hover-actions {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.product-hover-actions .button {
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    margin: 0;
}

.product-hover-actions .added_to_cart {
    display: none;
}

.product-hover-actions .add_to_cart_button,
.product-hover-actions .ajax_add_to_cart {
    background: var(--color-white);
    color: var(--color-text-main);
}

.product-hover-actions .add_to_cart_button:hover,
.product-hover-actions .ajax_add_to_cart:hover {
    background: var(--color-off-white);
    transform: translateY(-2px);
}

.product-hover-actions .product-buy-now {
    background: var(--color-accent);
    color: #1a1a1a;
}

.product-hover-actions .product-buy-now:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
}

/* Product View More Button */
.woocommerce ul.products li.product .product-view-more {
    width: 100%;
    text-align: center;
    padding: 0.6rem 1rem;
    background: var(--color-off-white);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    margin-top: auto;
    display: block;
    text-decoration: none;
}

.woocommerce ul.products li.product .product-view-more:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* Hide default WooCommerce add to cart button in product cards */
.woocommerce ul.products li.product .product-info .add_to_cart_button,
.woocommerce ul.products li.product .product-info .ajax_add_to_cart,
.woocommerce ul.products li.product .product-info .added_to_cart {
    display: none !important;
}

/* 
========================================
   SINGLE PRODUCT PAGE - MODERN DESIGN
========================================
*/

/* Product Breadcrumb */
.product-breadcrumb {
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

.product-breadcrumb .woocommerce-breadcrumb {
    color: var(--color-text-muted);
}

.product-breadcrumb .woocommerce-breadcrumb a {
    color: var(--color-text-muted);
    transition: color 0.2s;
}

.product-breadcrumb .woocommerce-breadcrumb a:hover {
    color: var(--color-primary);
}

/* Main Product Content - Two Columns */
.product-main-content {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Product Gallery Column - Compact */
.product-gallery-column {
    position: relative;
}

.product-images-wrapper {
    position: sticky;
    top: 100px;
}

/* WooCommerce Gallery Styles */
.woocommerce-product-gallery {
    margin: 0;
    position: relative;
}

/* Sale Badge - Modern Design */
.onsale {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: var(--color-white);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    animation: pulse-sale 2s ease-in-out infinite;
}

@keyframes pulse-sale {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.woocommerce ul.products li.product .onsale {
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
}

.woocommerce-product-gallery__wrapper {
    margin: 0;
}

.woocommerce-product-gallery__image {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid var(--color-border);
}

.woocommerce-product-gallery__image img,
.woocommerce-product-gallery__image .woocommerce-placeholder {
    width: 100%;
    height: auto;
    max-height: 400px;
    max-width: 400px;
    object-fit: cover;
    display: block;
}

.woocommerce-product-gallery__image .woocommerce-placeholder {
    margin: 0 auto;
    opacity: 0.3;
}

/* Gallery Thumbnails */
.flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.flex-control-thumbs li {
    margin: 0;
}

.flex-control-thumbs li img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--color-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.flex-control-thumbs li img:hover,
.flex-control-thumbs li img.flex-active {
    border-color: var(--color-primary);
    transform: scale(1.05);
}

/* Product Info Column */
.product-info-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

/* Product Rating */
.product-rating-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.star-rating {
    color: var(--color-accent);
    font-size: 1rem;
}

/* Product Price */
.product-price-wrapper .price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
}

.product-price-wrapper .price del {
    color: var(--color-text-muted);
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

/* Product Short Description */
.product-short-description,
.woocommerce-product-details__short-description {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Add to Cart Form & Variations */
.cart {
    background: var(--color-off-white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

/* Color/Variation Swatches */
.variations {
    margin-bottom: 1.5rem;
}

.variations tr {
    display: block;
    margin-bottom: 1rem;
}

.variations label {
    display: block;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.variations .value {
    display: block;
}

.variations select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-white);
    color: var(--color-text-main);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.variations select:hover,
.variations select:focus {
    border-color: var(--color-primary);
    outline: none;
}

/* Custom Color Swatches (for color attributes) */
.variation-color-swatches {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.color-swatch {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.color-swatch:hover {
    transform: scale(1.1);
    border-color: var(--color-text-muted);
}

.color-swatch.selected {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(7, 155, 245, 0.2);
}

/* Quantity & Add to Cart */
.quantity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.quantity label {
    font-weight: 600;
    color: var(--color-text-main);
    font-size: 0.9rem;
}

.quantity .input-text {
    width: 80px;
    padding: 0.6rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}

.single_add_to_cart_button {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(7, 155, 245, 0.3);
}

.single_add_to_cart_button:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(7, 155, 245, 0.4);
}

/* Product Meta */
.product_meta {
    padding: 1.5rem 0;
    border-top: 1px solid var(--color-border);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product_meta>span {
    display: flex;
    gap: 0.5rem;
    color: var(--color-text-muted);
}

.product_meta a {
    color: var(--color-primary);
    font-weight: 600;
}

/* Trust Badges */
.product-trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trust-badge i {
    font-size: 1.6rem;
    color: var(--color-primary);
}

.trust-text {
    display: flex;
    flex-direction: column;
}

.trust-text strong {
    font-size: 0.85rem;
    color: var(--color-text-main);
    font-weight: 700;
}

.trust-text span {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

@media (max-width: 600px) {
    .product-trust-badges {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
}

/* Product Tabs */
.product-tabs-section {
    margin-bottom: 3rem;
}

.woocommerce-tabs {
    background: var(--color-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--color-border);
}

.woocommerce-tabs .tabs {
    display: flex;
    gap: 2rem;
    border-bottom: 2px solid var(--color-border);
    margin-bottom: 2rem;
    padding: 0;
    list-style: none;
}

.woocommerce-tabs .tabs li {
    margin: 0;
    padding-bottom: 1rem;
}

.woocommerce-tabs .tabs li a {
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s;
}

.woocommerce-tabs .tabs li.active a,
.woocommerce-tabs .tabs li a:hover {
    color: var(--color-primary);
}

.woocommerce-tabs .tabs li.active {
    border-bottom: 3px solid var(--color-primary);
    margin-bottom: -2px;
}

.woocommerce-tabs .woocommerce-Tabs-panel {
    color: var(--color-text-muted);
    line-height: 1.7;
}

.woocommerce-tabs .woocommerce-Tabs-panel h2 {
    color: var(--color-text-main);
    margin-bottom: 1rem;
}

/* Related Products */
.related.products,
.upsells.products {
    margin-bottom: 3rem;
}

.related.products h2,
.upsells.products h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--color-text-main);
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .product-main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-images-wrapper {
        position: relative;
        top: 0;
    }

    .woocommerce-product-gallery__image img {
        max-height: 350px;
    }

    .flex-control-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-title {
        font-size: 1.6rem;
    }

    .product-price-wrapper .price {
        font-size: 1.6rem;
    }

    .product-trust-badges {
        grid-template-columns: 1fr;
    }
}

/* Product Color Swatches Display */
.product-color-swatches {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--color-off-white);
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.color-swatches-label {
    display: block;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.color-swatches-container {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.color-swatch {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.color-swatch:hover {
    transform: scale(1.15);
    border-color: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.color-swatch.selected {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(7, 155, 245, 0.2);
    transform: scale(1.1);
}

/* Product Dimension Options Display */
.product-dimension-options {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--color-off-white);
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.dimension-options-label {
    display: block;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dimension-options-container {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.dimension-pill {
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    border: 2px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-text-main);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dimension-pill:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.dimension-pill.selected {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* Variant Availability Notice */
.variant-stock-notice {
    margin: 1rem 0;
    padding: 0.9rem 1.2rem;
    border-radius: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-weight: 600;
    font-size: 0.9rem;
}

.purchase-buttons .single_add_to_cart_button.domys-disabled,
.purchase-buttons .buy-now-btn.domys-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Product Image Carousel - Simple & Clean */
.product-image-carousel {
    position: relative;
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.carousel-main {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    background: var(--color-off-white);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Carousel Navigation Buttons */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-text-main);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

/* Carousel Thumbnails */
.carousel-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.75rem;
    padding: 1rem;
    background: var(--color-white);
}

.carousel-thumb {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--color-border);
    transition: all 0.3s ease;
    aspect-ratio: 1;
}

.carousel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-thumb:hover {
    border-color: var(--color-primary);
    transform: scale(1.05);
}

.carousel-thumb.active {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(7, 155, 245, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-main {
        height: 350px;
    }

    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .carousel-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 0.5rem;
        padding: 0.75rem;
    }
}

/* Updated Product Page Layout */

/* Main Content - Better Spacing */
.product-main-content {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

/* Product Info Column */
.product-info-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin: 0;
    line-height: 1.2;
}

.product-price-main .price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

/* Two Column Layout: Description + Purchase Box */
.product-content-row {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    align-items: start;
    margin-top: 0;
}

/* Description Column */
.product-description-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-short-description {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Purchase Box - Clean Modern Design */
.product-purchase-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 120px;
    margin-top: -5rem;
}

.purchase-box-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-border);
}

/* Quantity Selector */
.quantity-selector {
    margin-bottom: 1.5rem;
}

.quantity-selector label {
    display: block;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--color-white);
}

.qty-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: var(--color-off-white);
    color: var(--color-text-main);
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.qty-input {
    flex: 1;
    height: 45px;
    border: none;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-main);
    background: var(--color-white);
    width: 80px;
}

.qty-input:focus {
    outline: none;
}

/* Price Summary */
.price-summary {
    background: var(--color-white);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--color-border);
}

.price-per-unit,
.price-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.price-total {
    border-top: 2px solid var(--color-border);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.price-summary .label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.price-summary .value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.price-total .value {
    font-size: 1.4rem;
    color: var(--color-primary);
}

/* Purchase Buttons */
.purchase-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.purchase-buttons .cart {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
}

.purchase-buttons .single_add_to_cart_button,
.purchase-buttons .buy-now-btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: block;
}

.purchase-buttons .single_add_to_cart_button {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(7, 155, 245, 0.3);
}

.purchase-buttons .single_add_to_cart_button:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(7, 155, 245, 0.4);
}

.purchase-buttons .buy-now-btn {
    background: var(--color-accent);
    color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.purchase-buttons .buy-now-btn:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 193, 7, 0.4);
}

/* Hide default quantity input from WooCommerce */
.purchase-buttons .quantity {
    display: none;
}

/* Product Meta Section */
.product-meta-section {
    padding: 1.5rem 0;
    border-top: 1px solid var(--color-border);
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .product-main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem 0;
    }

    .product-content-row {
        grid-template-columns: 1fr;
    }

    .product-purchase-box {
        position: relative;
        top: 0;
        margin-top: 1.5rem;
        padding: 1.25rem;
    }
}

@media (max-width: 600px) {
    .product-title {
        font-size: 1.15rem;
        line-height: 1.3;
    }

    .product-price-main .price {
        font-size: 1.25rem;
    }

    .product-purchase-box {
        padding-bottom: 0.75rem;
    }

    .product-meta-section {
        padding: 0.5rem 0;
    }
}

   
/* 
========================================
   CART PAGE STYLES
========================================
*/

.cart-page-wrapper {
    background: var(--color-off-white);
    padding: 3rem 0;
    min-height: 60vh;
}

.cart-page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 2rem;
    text-align: center;
}

/* Cart Content Layout */
.cart-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    align-items: start;
}

/* Cart Items Section */
.cart-items-section {
    background: var(--color-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

/* Individual Cart Item */
.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr 120px 100px 120px 50px;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item:hover {
    background: var(--color-off-white);
    border-radius: 12px;
}

/* Cart Item Image */
.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Cart Item Details */
.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cart-item-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0;
}

.cart-item-name a {
    color: var(--color-text-main);
    text-decoration: none;
    transition: color 0.2s;
}

.cart-item-name a:hover {
    color: var(--color-primary);
}

.cart-item-price-mobile {
    display: none;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Cart Item Quantity */
.cart-item-quantity .quantity {
    display: flex;
    align-items: center;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-white);
}

.cart-item-quantity .qty {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.cart-item-quantity .qty:focus {
    outline: none;
}

/* Cart Item Price & Subtotal */
.cart-item-price,
.cart-item-subtotal {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-main);
    text-align: right;
}

.cart-item-subtotal {
    color: var(--color-primary);
}

/* Remove Button */
.cart-item-remove {
    text-align: center;
}

.cart-item-remove .remove-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cart-item-remove .remove-item:hover {
    background: #ef4444;
    color: var(--color-white);
    transform: scale(1.1);
}

/* Cart Actions */
.cart-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.update-cart-btn {
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.update-cart-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(7, 155, 245, 0.4);
}

/* Cart Totals Section */
.cart-totals-section {
    position: sticky;
    top: 120px;
}

.cart-totals {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.cart-totals-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-border);
}

.cart-totals-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.cart-total-label {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.cart-total-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.cart-total-final {
    border-top: 2px solid var(--color-border);
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.cart-total-final .cart-total-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.cart-total-final .cart-total-value {
    font-size: 1.6rem;
    color: var(--color-primary);
}

/* Checkout Button */
.checkout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.2rem 2rem;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(7, 155, 245, 0.3);
}

.checkout-button:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(7, 155, 245, 0.4);
    color: var(--color-white);
}

/* Empty Cart State */
.cart-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.empty-cart-icon {
    font-size: 5rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.cart-empty-state h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 1rem;
}

.cart-empty-state p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.return-to-shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(7, 155, 245, 0.3);
}

.return-to-shop-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(7, 155, 245, 0.4);
    color: var(--color-white);
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .cart-content-wrapper {
        grid-template-columns: 1fr;
    }

    .cart-totals-section {
        position: relative;
        top: 0;
    }

    .cart-item {
        grid-template-columns: 80px 1fr 40px;
        gap: 1rem;
        padding: 1rem;
    }

    .cart-item-price,
    .cart-item-subtotal {
        display: none;
    }

    .cart-item-price-mobile {
        display: block;
    }

    .cart-item-quantity {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .cart-item-remove {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .cart-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .update-cart-btn {
        width: 100%;
        justify-content: center;
    }
}

/* 
========================================
   CHECKOUT PAGE STYLES
========================================
*/

.checkout-page-wrapper {
    background: var(--color-off-white);
    padding: 3rem 0;
    min-height: 80vh;
}

.checkout-page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 2.5rem;
    text-align: center;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.checkout-billing-section,
.checkout-review-box {
    background: var(--color-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title i {
    color: var(--color-primary);
}

/* Form Fields Styling */
.woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-row {
    margin: 0;
    width: 100% !important;
    float: none !important;
}

.form-row-wide {
    grid-column: 1 / -1;
}

.woocommerce-input-wrapper {
    width: 100%;
    display: block;
}

.woocommerce-input-wrapper label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text-main);
    font-size: 0.95rem;
}

.woocommerce-input-wrapper input,
.woocommerce-input-wrapper textarea,
.select2-selection {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--color-text-main);
    background: var(--color-off-white);
    transition: all 0.3s ease;
    height: auto !important;
}

.woocommerce-input-wrapper input:focus,
.woocommerce-input-wrapper textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(7, 155, 245, 0.1);
}

/* Review Order Table */
.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 1rem 0;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.woocommerce-checkout-review-order-table thead th {
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.product-name {
    font-weight: 600;
    color: var(--color-text-main);
}

.product-total {
    font-weight: 700;
    color: var(--color-text-main);
}

.cart-subtotal th,
.order-total th {
    font-weight: 700;
    color: var(--color-text-main);
}

.order-total td strong {
    font-size: 1.4rem;
    color: var(--color-primary);
}

/* Payment Methods */
.woocommerce-checkout-payment {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1.5rem;
}

.wc_payment_method label {
    font-weight: 700;
    color: var(--color-text-main);
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment_box {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--color-white);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    border: 1px solid var(--color-border);
}

/* Place Order Button */
#place_order {
    width: 100%;
    padding: 1.2rem;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(7, 155, 245, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#place_order:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(7, 155, 245, 0.4);
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-billing-section,
    .checkout-review-box {
        padding: 1.5rem;
    }

    .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr;
    }
}

.privacy-policy-small {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-top: 1rem;
}

.privacy-policy-small a {
    color: var(--color-primary);
    text-decoration: underline;
}

.privacy-policy-small {
    font-size: 0.75rem !important;
    /* Made smaller as requested */
    color: var(--color-text-muted);
    line-height: 1.4;
    margin-top: 1rem;
    opacity: 0.8;
}

.privacy-policy-small a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* 
========================================
   THANK YOU PAGE STYLES
========================================
*/

.thankyou-page-wrapper {
    background: var(--color-off-white);
    padding: 3rem 0;
    min-height: 80vh;
}

.thankyou-success-box {
    background: var(--color-white);
    border-radius: 16px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    border: 1px solid var(--color-border);
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    /* Success Green */
    margin-bottom: 1.5rem;
}

.thankyou-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 2rem;
}

.order-overview {
    background: #f0fdf4;
    /* Light Green Bg */
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.woocommerce-order-overview {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-order-overview li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 140px;
    border-right: 1px solid #bbf7d0;
}

.woocommerce-order-overview li:last-child {
    border-right: none;
}

.woocommerce-order-overview li span {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.woocommerce-order-overview li strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-main);
}

/* Order Details Section */
.order-details-sections {
    max-width: 800px;
    margin: 0 auto;
}

.order-details-box {
    background: var(--color-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.order-details-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-border);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .woocommerce-order-overview {
        flex-direction: column;
        align-items: flex-start;
    }

    .woocommerce-order-overview li {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-right: none;
        border-bottom: 1px solid #bbf7d0;
        padding-bottom: 1rem;
    }

    .woocommerce-order-overview li:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* 
========================================
   SEARCH RESULTS PAGE STYLES
========================================
*/

.search-page-container {
    padding: 3rem 2rem;
    min-height: 80vh;
}

.search-header {
    margin-bottom: 3rem;
    text-align: center;
}

.search-header .page-title {
    font-size: 2rem;
    color: var(--color-text-main);
}

.search-header .page-title span {
    color: var(--color-primary);
    font-style: italic;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.search-result-item {
    display: flex;
    gap: 2rem;
    background: var(--color-white);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    align-items: center;
}

.search-result-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.search-item-image {
    flex: 0 0 180px;
    width: 180px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
}

.search-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.search-result-item:hover .search-item-image img {
    transform: scale(1.05);
}

.search-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.search-item-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
}

.search-item-title a {
    color: var(--color-text-main);
    text-decoration: none;
}

.search-item-title a:hover {
    color: var(--color-primary);
}

.search-item-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.search-item-excerpt {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-item-action .button-voir-plus {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-text-main);
    color: var(--color-white);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-item-action .button-voir-plus:hover {
    background: var(--color-primary);
    gap: 0.8rem;
}

/* No results */
.no-results-found {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--color-white);
    border-radius: 16px;
    border: 1px solid var(--color-border);
}

.no-results-found h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.search-again-form {
    max-width: 400px;
    margin: 2rem auto 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .search-result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .search-item-image {
        width: 100%;
        height: 200px;
        flex: none;
    }

    .search-item-content {
        width: 100%;
    }
}

/* 
========================================
   NEW CATEGORIES BAR (HORIZONTAL)
========================================
*/
.categories-bar-container {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 0.5rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.categories-horizontal-list {
    display: flex;
    justify-content: center;
    /* Center items, or flex-start */
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.categories-horizontal-list li {
    margin: 0;
}

.categories-horizontal-list li a {
    color: var(--color-primary);
    /* Blue words */
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.categories-horizontal-list li a:hover {
    background-color: rgba(7, 155, 245, 0.08);
    transform: translateY(-2px);
    color: var(--color-primary-dark);
}

/* Adjust header height to accommodate bar if needed, or let it be auto */
header.site-header {
    height: auto;
    /* Allow header to grow with the new bar */
    padding-bottom: 0;
}

/* Ensure mobile menu doesn't break */
@media (max-width: 768px) {
    .categories-bar-container {
        display: none;
        /* Hide on mobile, use sidebar instead */
    }
}

/* 
========================================
   SHOP FILTERS PANEL (INLINE EXPANDABLE)
========================================
*/
.shop-filters-panel {
    background: var(--color-off-white);
    border-radius: 16px;
    margin-bottom: 2rem;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
}

.shop-filters-panel.active {
    max-height: 500px;
    /* Approximate max height */
    opacity: 1;
    margin-top: -1rem;
    /* Pull up slightly */
    padding: 1.5rem;
    border: 1px solid var(--color-border);
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Mobile: Stack filters */
@media (max-width: 768px) {
    .shop-filters-panel.active {
        max-height: 1000px;
        /* More height for stacked mobile */
    }
}

/* Widget Styling */
.shop-sidebar-static .widget {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f1f5f9;
    transition: transform 0.2s;
}

.shop-sidebar-static .widget:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.shop-sidebar-static .widget-title,
.shop-sidebar-static .widgettitle {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    color: var(--color-text-main);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 12px;
    font-family: 'Poppins', sans-serif;
}

.shop-sidebar-static .widget-title::before,
.shop-sidebar-static .widgettitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 2px;
}

.shop-sidebar-static .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-sidebar-static .widget ul li {
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
}

.shop-sidebar-static .widget ul li:hover {
    background: #f8fafc;
    transform: translateX(4px);
}

.shop-sidebar-static .widget ul li a {
    color: var(--color-text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s;
    flex: 1;
}

.shop-sidebar-static .widget ul li a:hover {
    color: var(--color-primary);
}

/* Active/Current Category */
.shop-sidebar-static .widget ul li.current-cat,
.shop-sidebar-static .widget ul li.current-cat-parent {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
}

.shop-sidebar-static .widget ul li.current-cat a,
.shop-sidebar-static .widget ul li.current-cat-parent>a {
    color: var(--color-primary);
    font-weight: 700;
}

/* Price Filter Widget */
.widget_price_filter .price_slider_wrapper .ui-widget-content {
    background-color: #eee;
    height: 6px;
    border-radius: 3px;
    margin-bottom: 1.5rem;
}

.widget_price_filter .ui-slider-range {
    background-color: var(--color-primary);
    /* Blue Range */
}

.widget_price_filter .ui-slider-handle {
    background-color: var(--color-accent);
    /* Yellow Handle */
    border: 2px solid #fff;
    width: 16px;
    height: 16px;
    top: -5px;
    border-radius: 50%;
    cursor: ew-resize;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.widget_price_filter .price_slider_amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.widget_price_filter .price_slider_amount .button {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: 6px;
    border: none;
    font-weight: 600;
}

.widget_price_filter .price_slider_amount .price_label {
    font-size: 0.95rem;
    color: var(--color-text-main);
    font-weight: 600;
}

/* Category & Attribute Lists - Enhanced */
.shop-sidebar-static .widget_product_categories ul li,
.shop-sidebar-static .widget_layered_nav ul li {
    /* Inherited from .widget ul li above */
}

.shop-sidebar-static .widget_product_categories ul li span.count,
.shop-sidebar-static .widget_layered_nav ul li span.count {
    background: linear-gradient(135deg, var(--color-accent) 0%, #fbbf24 100%);
    color: #1e293b;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    min-width: 28px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
    transition: all 0.2s;
}

.shop-sidebar-static .widget ul li:hover span.count {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

/* Active Filters - Enhanced */
.shop-sidebar-static .widget_layered_nav_filters ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.shop-sidebar-static .widget_layered_nav_filters ul li {
    background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
    border: 1px solid var(--color-primary);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.shop-sidebar-static .widget_layered_nav_filters ul li:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(7, 155, 245, 0.3);
}

.shop-sidebar-static .widget_layered_nav_filters ul li a {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shop-sidebar-static .widget_layered_nav_filters ul li:hover a {
    color: white;
    transform: none;
}

/* Selected Category Checkmark */
.shop-sidebar-static .widget_layered_nav ul li.chosen {
    background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
}

.shop-sidebar-static .widget_layered_nav ul li.chosen a {
    color: var(--color-primary);
    font-weight: 700;
}

.shop-sidebar-static .widget_layered_nav ul li.chosen::before {
    content: '✓';
    color: var(--color-primary);
    font-weight: 900;
    margin-right: 8px;
    font-size: 1.1rem;
}

/* 
========================================
   SUPPORT FOR BLOCK WIDGETS
========================================
*/

/* Block Price Filter */
.wp-block-woocommerce-price-filter .wc-block-price-filter__range-input-wrapper {
    background-color: #eee;
    height: 6px;
    border-radius: 3px;
    margin-bottom: 1.5rem;
}

.wp-block-woocommerce-price-filter .wc-block-price-filter__range-input-progress {
    --range-color: var(--color-primary);
    /* Blue Range */
}

.wp-block-woocommerce-price-filter .wc-block-price-filter__range-input::-webkit-slider-thumb {
    background-color: var(--color-accent);
    /* Yellow Handle */
    border: 2px solid #fff;
    width: 16px;
    height: 16px;
    cursor: ew-resize;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-top: -6px;
    /* Adjust alignment */
}

.wc-block-price-filter__controls .wc-block-price-filter__amount {
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
    font-size: 0.9rem;
    color: var(--color-text-main);
}

.wc-block-price-filter__button {
    background: var(--color-primary) !important;
    color: #fff !important;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem !important;
    padding: 0.5rem 1rem !important;
}

/* Block Categories & Attributes */
.wc-block-product-categories-list li,
.wc-block-attribute-filter-list li {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.5rem 0 !important;
    border-bottom: 1px dashed var(--color-border) !important;
}

.wc-block-product-categories-list li a,
.wc-block-attribute-filter-list li label {
    color: var(--color-text-main) !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    text-decoration: none !important;
}

.wc-block-product-categories-list li a:hover,
.wc-block-attribute-filter-list li label:hover {
    color: var(--color-primary) !important;
    padding-left: 5px !important;
}

.wc-block-product-categories-list-item-count,
.wc-block-attribute-filter-list-item-count {
    background: #f0f4f8 !important;
    color: var(--color-text-muted) !important;
    font-size: 0.8rem !important;
    padding: 2px 8px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
}

/* Block Active Filters */
.wc-block-active-filters__list-item {
    background-color: var(--color-off-white) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 20px !important;
    padding: 0.3rem 0.8rem !important;
    font-size: 0.85rem !important;
    color: var(--color-text-main) !important;
    margin-right: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    display: inline-flex !important;
    align-items: center !important;
}

.wc-block-active-filters__list-item-name {
    margin-right: 0.5rem !important;
    font-weight: 600 !important;
}

.wc-block-active-filters__list-item-remove {
    color: var(--color-text-muted) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
}

.wc-block-active-filters__list-item-remove:hover {
    color: red !important;
}

/* Block Price Filter Overrides */
.wp-block-woocommerce-price-filter .wc-block-price-filter__range-input-wrapper {
    background-color: #eee !important;
    height: 6px !important;
    border-radius: 3px !important;
}

.wp-block-woocommerce-price-filter .wc-block-price-filter__range-input-progress {
    --range-color: var(--color-primary) !important;
}

/* Override SVG thumb if used, or standard input thumb */
input[type=range]::-webkit-slider-thumb {
    background: var(--color-accent) !important;
    border: 2px solid #fff !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
    height: 16px !important;
    width: 16px !important;
    margin-top: -6px !important;
}

/* 
========================================
   STANDARD SHOP LAYOUT (SIDEBAR + GRID)
========================================
*/
.shop-layout-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    /* Sidebar | Content */
    gap: 3rem;
    align-items: start;
}

.shop-sidebar-static {
    position: sticky;
    top: 2rem;
    /* Stick to top when scrolling */
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    height: fit-content;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

.shop-main-content {
    min-width: 0;
    /* Prevent grid blowout */
}

.simple-toolbar {
    margin-bottom: 2rem;
    border-radius: 12px;
    padding: 1rem 1.5rem;
}

.shop-layout-grid {
    transition: opacity 0.3s ease;
}

/* Mobile Responsive: Stack Layout */
@media (max-width: 992px) {
    .shop-layout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .shop-sidebar-static {
        position: relative;
        top: 0;
        max-height: none;
        order: 2;
        /* Sidebar below content on mobile */
    }
}

/* Hide SKU field (not needed for this store) */
.product_meta .sku_wrapper {
    display: none !important;
}

/* 
========================================
   PRODUCT CAROUSEL - ENHANCED
========================================
*/
.home-products {
    background: var(--color-white);
    padding: 4rem 2rem;
    margin: 0;
}

.home-products .section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.home-products .section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
}

.home-products .section-subtitle {
    color: var(--color-text-muted);
    font-size: 1rem;
}

.home-products .section-subtitle a {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.home-products .section-subtitle a:hover {
    gap: 0.75rem;
}

/* Carousel Wrapper */
.carousel-wrapper {
    position: relative;
    padding: 0 50px;
}

.product-scroller {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-scroller::-webkit-scrollbar {
    display: none;
}

/* Scroll Arrows */
.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    color: var(--color-text-main);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.scroll-arrow.prev-arrow {
    left: 0;
}

.scroll-arrow.next-arrow {
    right: 0;
}

.scroll-arrow:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(7, 155, 245, 0.35);
}

/* Product Card - Enhanced */
.product-card {
    flex: 0 0 260px;
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

.product-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrap img {
    transform: scale(1.08);
}

/* Product Actions Overlay */
.product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:hover .product-actions {
    transform: translateY(0);
}

.product-actions .button {
    padding: 0.6rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-actions .btn-cart {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-text-main);
    border: none;
}

.product-actions .btn-cart:hover {
    background: var(--color-white);
    transform: scale(1.05);
}

.product-actions .btn-buy {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    border: none;
}

.product-actions .btn-buy:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(7, 155, 245, 0.4);
}

/* Product Info */
.product-info-link {
    display: block;
    padding: 1.25rem;
    text-decoration: none;
    text-align: center;
}

.product-info-link h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin: 0 0 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.product-info-link .price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
}

.product-info-link .price del {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 400;
    margin-right: 0.5rem;
}

.product-info-link .price ins {
    text-decoration: none;
    color: #dc2626;
}

/* Category Carousel Section */
.category-carousel-section {
    background: linear-gradient(180deg, #f8fafc 0%, var(--color-white) 100%);
}

.category-carousel-section.section-padding {
    padding: 2rem 0;
}

/* Rayon Separator (thick overlapping wave divider between category carousels) */
.rayon-separator {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 90px;
    overflow: hidden;
}

.rayon-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    transform-origin: center bottom;
}

.rayon-wave-yellow {
    filter: drop-shadow(0 -6px 16px rgba(251, 191, 36, 0.25));
    animation: rayonWaveDriftA 10s ease-in-out infinite;
}

.rayon-wave-blue {
    filter: drop-shadow(0 -10px 24px rgba(7, 155, 245, 0.3));
    animation: rayonWaveDriftB 10s ease-in-out infinite;
    animation-delay: 0.4s;
}

@keyframes rayonWaveDriftA {
    0%, 100% { transform: translateY(0) scaleY(1); }
    50% { transform: translateY(6px) scaleY(1.04); }
}

@keyframes rayonWaveDriftB {
    0%, 100% { transform: translateY(0) scaleY(1); }
    50% { transform: translateY(-8px) scaleY(1.05); }
}

@media (prefers-reduced-motion: reduce) {
    .rayon-wave {
        animation: none;
    }
}

@media (max-width: 768px) {
    .rayon-separator {
        height: 45px;
    }

    .category-carousel-section.section-padding {
        padding: 0.5rem 0;
    }

    .home-promo-banner {
        margin: 24px 0;
    }
}

/* Section Padding */
.section-padding {
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 1.5rem 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-wrapper {
        padding: 0 10px;
    }

    .scroll-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .product-card {
        flex: 0 0 200px;
    }

    .product-actions {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
    }

    .home-products {
        padding: 2rem 1rem;
    }

    .home-products .section-header h2 {
        font-size: 1.5rem;
    }
}

/* 
========================================
   CART PAGE - ENHANCED
========================================
*/
.cart-page-wrapper {
    background: linear-gradient(180deg, #f8fafc 0%, var(--color-white) 100%);
    min-height: 60vh;
    padding: 3rem 0;
}

.cart-page-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-page-title::before {
    content: '🛒';
    font-size: 1.5rem;
}

.cart-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

.cart-items-section {
    background: var(--color-white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--color-border);
}

.cart-item:last-of-type {
    border-bottom: none;
}

.cart-item-image {
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
}

.cart-item-image img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.cart-item-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.cart-item-name a {
    color: var(--color-text-main);
    text-decoration: none;
}

.cart-item-name a:hover {
    color: var(--color-primary);
}

.cart-item-price,
.cart-item-subtotal {
    font-weight: 600;
    color: var(--color-text-main);
}

.cart-item-subtotal {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.cart-item-remove .remove-item {
    color: #dc2626;
    font-size: 1rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.cart-item-remove .remove-item:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* Cart Totals Sidebar */
.cart-totals-section {
    position: sticky;
    top: 2rem;
}

.cart-totals {
    background: var(--color-white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cart-totals-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-border);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 0.95rem;
}

.cart-total-label {
    color: var(--color-text-muted);
}

.cart-total-value {
    font-weight: 600;
    color: var(--color-text-main);
}

.cart-total-final {
    border-top: 2px solid var(--color-border);
    margin-top: 1rem;
    padding-top: 1rem;
}

.cart-total-final .cart-total-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.cart-total-final .cart-total-value {
    font-size: 1.25rem;
    color: var(--color-primary);
}

.checkout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
    margin-top: 1.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(7, 155, 245, 0.35);
    color: var(--color-white);
}

.cart-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.update-cart-btn {
    background: var(--color-off-white);
    border: 1px solid var(--color-border);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    color: var(--color-text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.update-cart-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* Empty Cart */
.cart-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--color-white);
    border-radius: 16px;
}

.empty-cart-icon {
    font-size: 4rem;
    color: var(--color-border);
    margin-bottom: 1.5rem;
}

.cart-empty-state h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.cart-empty-state p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.return-to-shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
}

.return-to-shop-btn:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
}

@media (max-width: 992px) {
    .cart-content-wrapper {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 80px 1fr auto;
        gap: 0.75rem;
    }

    .cart-item-price,
    .cart-item-subtotal {
        display: none;
    }

    .cart-item-price-mobile {
        display: block;
        font-weight: 600;
        color: var(--color-primary);
        margin-top: 0.5rem;
    }
}

@media (min-width: 993px) {
    .cart-item-price-mobile {
        display: none;
    }
}

/* WooCommerce Default Cart Override - Enhanced */
.woocommerce-cart .woocommerce {
    background: linear-gradient(180deg, #f8fafc 0%, var(--color-white) 100%) !important;
    padding: 2rem;
    min-height: 50vh;
}

.woocommerce-cart .woocommerce>.woocommerce-notices-wrapper+form,
.woocommerce-cart .woocommerce>form.woocommerce-cart-form {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    align-items: start;
}

.woocommerce-cart .shop_table {
    background: var(--color-white) !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06) !important;
    border: none !important;
}

.woocommerce-cart .shop_table thead {
    background: #f8fafc !important;
}

.woocommerce-cart .shop_table th,
.woocommerce-cart .shop_table td {
    padding: 1rem 1.25rem !important;
    border-color: var(--color-border) !important;
    vertical-align: middle !important;
}

.woocommerce-cart .shop_table th {
    font-weight: 600 !important;
    color: var(--color-text-muted) !important;
    text-transform: uppercase !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.5px !important;
}

.woocommerce-cart .shop_table .product-thumbnail img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
}

.woocommerce-cart .shop_table .product-name a {
    font-weight: 600 !important;
    color: var(--color-text-main) !important;
}

.woocommerce-cart .shop_table .product-name a:hover {
    color: var(--color-primary) !important;
}

.woocommerce-cart .shop_table .product-price,
.woocommerce-cart .shop_table .product-subtotal {
    font-weight: 600 !important;
    color: var(--color-text-main) !important;
}

.woocommerce-cart .shop_table .product-subtotal {
    color: var(--color-primary) !important;
    font-size: 1.1rem !important;
}

.woocommerce-cart .shop_table .product-remove a {
    color: #dc2626 !important;
    font-size: 1.2rem !important;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.woocommerce-cart .shop_table .product-remove a:hover {
    opacity: 1;
    transform: scale(1.2);
}

.woocommerce-cart .cart_totals {
    background: var(--color-white) !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06) !important;
    position: sticky;
    top: 2rem;
}

.woocommerce-cart .cart_totals h2 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-border);
}

.woocommerce-cart .cart_totals table {
    border: none !important;
}

.woocommerce-cart .cart_totals th,
.woocommerce-cart .cart_totals td {
    padding: 0.75rem 0 !important;
    border: none !important;
}

.woocommerce-cart .cart_totals th {
    color: var(--color-text-muted) !important;
    font-weight: 500 !important;
}

.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    border-top: 2px solid var(--color-border) !important;
    padding-top: 1rem !important;
    margin-top: 0.5rem;
}

.woocommerce-cart .cart_totals .order-total td {
    color: var(--color-primary) !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    width: 100% !important;
    padding: 1rem !important;
    margin-top: 1rem !important;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%) !important;
    color: var(--color-white) !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(7, 155, 245, 0.35) !important;
}

.woocommerce-cart .coupon {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.woocommerce-cart .coupon input[type="text"] {
    flex: 1;
    border-radius: 10px !important;
    border: 1px solid var(--color-border) !important;
    padding: 0.75rem 1rem !important;
}

.woocommerce-cart .coupon button {
    background: var(--color-off-white) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 10px !important;
    padding: 0.75rem 1.25rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce-cart .coupon button:hover {
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
    border-color: var(--color-primary) !important;
}

.woocommerce-cart button[name="update_cart"] {
    background: var(--color-off-white) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 10px !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    color: var(--color-text-muted) !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce-cart button[name="update_cart"]:hover {
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
    border-color: var(--color-primary) !important;
}

@media (max-width: 992px) {

    .woocommerce-cart .woocommerce>.woocommerce-notices-wrapper+form,
    .woocommerce-cart .woocommerce>form.woocommerce-cart-form {
        grid-template-columns: 1fr;
    }
}

/* 
========================================
   THANKYOU PAGE & VIEW ORDER - MODERN
========================================
*/
.thankyou-page-wrapper {
    background: linear-gradient(180deg, #f0fdf4 0%, var(--color-white) 100%);
    min-height: 60vh;
    padding: 3rem 0;
}

.thankyou-success-box {
    text-align: center;
    background: var(--color-white);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.thankyou-success-box .success-icon {
    font-size: 4rem;
    color: #22c55e;
    margin-bottom: 1.5rem;
    animation: pulse-success 2s infinite;
}

@keyframes pulse-success {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.thankyou-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 1rem;
}

.order-overview {
    margin-top: 2rem;
}

.order_details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.order_details li {
    background: #f8fafc;
    padding: 1.25rem;
    border-radius: 12px;
    text-align: center;
}

.order_details li span {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.order_details li strong {
    display: block;
    font-size: 1.1rem;
    color: var(--color-text-main);
    font-weight: 700;
}

/* Order Details Sections */
.order-details-sections {
    max-width: 900px;
    margin: 0 auto;
}

.order-details-box {
    background: var(--color-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.order-details-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-details-title::before {
    content: '📦';
}

/* Order Failed Message */
.order-failed-message {
    text-align: center;
    background: #fef2f2;
    border-radius: 16px;
    padding: 3rem 2rem;
    border: 1px solid #fecaca;
}

.order-failed-message i {
    font-size: 3rem;
    color: #dc2626;
    margin-bottom: 1rem;
}

.order-failed-message h2 {
    color: #dc2626;
    font-size: 1.25rem;
}

/* View Order Page */
.woocommerce-order-details,
.woocommerce-customer-details {
    background: var(--color-white);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.woocommerce-order-details__title,
.woocommerce-column__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-text-main);
}

.woocommerce-table--order-details {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-table--order-details th,
.woocommerce-table--order-details td {
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
}

.woocommerce-table--order-details thead th {
    background: #f8fafc;
    font-weight: 600;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-table--order-details tfoot th {
    text-align: right;
    color: var(--color-text-muted);
}

.woocommerce-table--order-details tfoot td {
    font-weight: 600;
}

.woocommerce-table--order-details .product-name a {
    color: var(--color-text-main);
    font-weight: 600;
}

.woocommerce-table--order-details .product-name a:hover {
    color: var(--color-primary);
}

/* Customer Details Grid */
.woocommerce-customer-details .woocommerce-columns--2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.woocommerce-customer-details address {
    font-style: normal;
    line-height: 1.8;
    color: var(--color-text-main);
}

@media (max-width: 768px) {
    .thankyou-page-wrapper {
        padding: 1.5rem 0;
    }

    .thankyou-success-box {
        padding: 2rem 1.5rem;
    }

    .thankyou-title {
        font-size: 1.4rem;
    }

    .order_details {
        grid-template-columns: 1fr 1fr;
    }

    .order-details-box {
        padding: 1.25rem;
    }

    .order-details-title {
        font-size: 1.1rem;
    }

    /* WooCommerce's default order-items table has no responsive handling of its own;
       let it scroll horizontally within its own box instead of overflowing the page. */
    .woocommerce-table--order-details {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .woocommerce-table--order-details th,
    .woocommerce-table--order-details td {
        padding: 0.75rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .woocommerce-order-details,
    .woocommerce-customer-details {
        padding: 1.25rem;
    }

    .woocommerce-customer-details .woocommerce-columns--2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .order_details {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   WOOCOMMERCE CART PAGE REDESIGN
======================================== */
.woocommerce-cart .woocommerce {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.woocommerce-cart .woocommerce-cart-form {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
}

.woocommerce-cart table.shop_table {
    border: none;
    margin: 0;
    width: 100%;
}

.woocommerce-cart table.shop_table th {
    background: transparent;
    padding: 1rem 0;
    border-bottom: 2px solid var(--color-border);
    color: var(--color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.woocommerce-cart table.shop_table td {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
}

.woocommerce-cart .product-thumbnail img {
    width: 80px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.woocommerce-cart .product-remove a.remove {
    color: #dc2626 !important;
    background: #fee2e2;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
}

.woocommerce-cart .product-remove a.remove:hover {
    background: #dc2626 !important;
    color: #fff !important;
}

.woocommerce-cart .cart-collaterals {
    width: 100%;
}

.woocommerce-cart .cart_totals {
    width: 100%;
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
}

.woocommerce-cart .cart_totals h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-border);
}

.woocommerce-cart .cart_totals table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-cart .cart_totals th {
    padding: 1rem 0;
    color: var(--color-text-muted);
    font-weight: normal;
}

.woocommerce-cart .cart_totals td {
    padding: 1rem 0;
    text-align: right;
    font-weight: 600;
}

.woocommerce-cart .checkout-button {
    background: var(--color-accent) !important;
    color: #1a1a1a !important;
    width: 100%;
    padding: 1rem !important;
    font-size: 1.1rem !important;
    border-radius: 8px !important;
    margin-top: 1.5rem;
    transition: all 0.3s ease !important;
}

.woocommerce-cart .checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 210, 47, 0.4);
}

@media (max-width: 900px) {
    .woocommerce-cart .woocommerce {
        grid-template-columns: 1fr;
    }
}

/* Hero Section dynamic CSS */
.hero-section.only-carousel .hero-container {
    grid-template-columns: 1fr;
    max-width: 1200px;
}
.hero-section.only-carousel .hero-carousel-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.hero-section.only-banners .hero-container {
    grid-template-columns: 1fr;
    max-width: 1200px;
}
.hero-section.only-banners .hero-banners {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    width: 100%;
}
.hero-section.only-banners .hero-banner-item {
    flex: 1;
}

@media (max-width: 768px) {
    .hero-section.only-banners .hero-banners {
        flex-direction: column;
    }
}

/* ========================================
   ANNOUNCEMENT BAR (TOP)
======================================== */
.site-announcement-bar {
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 50%, #f59e0b 100%);
    color: #0f172a;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1001;
}

.announcement-marquee {
    display: flex;
    width: max-content;
    animation: marquee-scroll 60s linear infinite;
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
}

.announcement-text {
    padding: 0 60px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.site-announcement-bar:hover .announcement-marquee {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .announcement-text {
        font-size: 0.85rem;
        padding: 0 2rem;
    }
}

/* ========================================
   OFF-CANVAS CART (SIDE DRAWER)
======================================== */
.domys-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.domys-cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.domys-offcanvas-cart {
    position: fixed;
    top: 20px;
    right: -450px; /* Hidden */
    bottom: 20px;
    width: 400px;
    max-width: calc(100% - 40px);
    background: #ffffff;
    z-index: 10001;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

@media (max-width: 480px) {
    .domys-offcanvas-cart {
        top: 0;
        right: -100%;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
    }
    
    .domys-offcanvas-cart.active {
        right: 0 !important;
    }
}

.domys-offcanvas-cart.active {
    right: 20px;
}

.offcanvas-cart-header {
    padding: 24px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.offcanvas-cart-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.offcanvas-cart-header .close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: color 0.2s;
    padding: 0;
}

.offcanvas-cart-header .close-cart:hover {
    color: var(--color-primary);
}

.offcanvas-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.offcanvas-cart-body .widget_shopping_cart_content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* WooCommerce Mini Cart Styles inside Drawer */
.widget_shopping_cart_content ul.cart_list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex: 1;
}

.widget_shopping_cart_content ul.cart_list li {
    display: flex;
    align-items: center;
    padding: 16px;
    margin-bottom: 12px;
    background: #f8fafc;
    border-radius: 16px;
    border: none;
    position: relative;
    transition: transform 0.2s;
}

.widget_shopping_cart_content ul.cart_list li:hover {
    transform: scale(1.02);
}

.widget_shopping_cart_content ul.cart_list li img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    margin-right: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.widget_shopping_cart_content ul.cart_list li .remove {
    position: absolute;
    top: 0;
    right: 0;
    color: #dc2626 !important;
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: bold;
}

.widget_shopping_cart_content ul.cart_list li .remove {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    color: #94a3b8 !important;
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: 400;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.widget_shopping_cart_content ul.cart_list li .remove:hover {
    color: #ef4444 !important;
    background: #fee2e2;
}

.widget_shopping_cart_content .total {
    border-top: 2px dashed #e2e8f0;
    padding-top: 20px;
    margin: 10px 0 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    font-size: 1.3rem;
    color: #0f172a;
}

.widget_shopping_cart_content .buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
}

.widget_shopping_cart_content .buttons a.button {
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: block;
    transition: all 0.3s;
}

.widget_shopping_cart_content .buttons a.button:not(.checkout) {
    background: var(--color-off-white);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
}

.widget_shopping_cart_content .buttons a.button:not(.checkout):hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.widget_shopping_cart_content .buttons a.button.checkout {
    background: var(--color-accent);
    color: #1a1a1a;
}

.widget_shopping_cart_content .buttons a.button.checkout:hover {
    box-shadow: 0 4px 15px rgba(255, 210, 47, 0.4);
    transform: translateY(-2px);
}

/* Hide "View Cart" buttons globally so users only use the side drawer */
a.added_to_cart.wc-forward,
.woocommerce-message a.button.wc-forward,
.widget_shopping_cart_content .buttons a.button:not(.checkout) {
    display: none !important;
}

/* ========================================
   PRODUCT REVIEWS DESIGN
======================================== */
#reviews {
    margin-top: 3rem;
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
}

#reviews h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 1rem;
}

#reviews ol.commentlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

#reviews ol.commentlist li {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

#reviews ol.commentlist li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

#reviews .comment_container {
    display: flex;
    gap: 1.5rem;
}

#reviews .comment_container img.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#reviews .comment-text {
    flex: 1;
    background: var(--color-off-white);
    padding: 1.5rem;
    border-radius: 8px;
    position: relative;
}

/* The small triangle pointing to the avatar */
#reviews .comment-text::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    border-style: solid;
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--color-off-white) transparent transparent;
}

#reviews .meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

#reviews .meta strong {
    font-size: 1.1rem;
    color: var(--color-text-main);
}

#reviews .meta time {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

#reviews .star-rating {
    color: var(--color-accent);
    font-size: 1rem;
    margin-bottom: 1rem;
    float: right;
}

#reviews .description p {
    margin: 0;
    color: var(--color-text-main);
    line-height: 1.6;
}

/* Review Form */
#review_form_wrapper {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--color-border);
}

#review_form_wrapper .comment-reply-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: block;
}

#review_form_wrapper form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#review_form_wrapper .comment-form-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#review_form_wrapper .comment-form-rating label {
    font-weight: 600;
}

#review_form_wrapper .stars a {
    color: var(--color-border);
    transition: color 0.2s;
}
#review_form_wrapper .stars a:hover,
#review_form_wrapper .stars a.active {
    color: var(--color-accent);
}

#review_form_wrapper p.comment-form-comment,
#review_form_wrapper p.comment-form-author,
#review_form_wrapper p.comment-form-email {
    margin: 0;
}

#review_form_wrapper label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

#review_form_wrapper input[type="text"],
#review_form_wrapper input[type="email"],
#review_form_wrapper textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s;
}

#review_form_wrapper input:focus,
#review_form_wrapper textarea:focus {
    border-color: var(--color-primary);
    outline: none;
}

#review_form_wrapper .form-submit .submit {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

#review_form_wrapper .form-submit .submit:hover {
    background: var(--color-accent);
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 210, 47, 0.4);
}

/* ========================================
   FORCE WOOCOMMERCE STARS TO FONT AWESOME
======================================== */
.woocommerce .star-rating {
    float: right;
    overflow: hidden;
    position: relative;
    height: 1.2em;
    line-height: 1.2em;
    font-size: 1em;
    width: 5.4em;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.woocommerce .star-rating::before {
    content: "\f005\f005\f005\f005\f005" !important;
    color: #e2e8f0;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    letter-spacing: 2px;
}

.woocommerce .star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}

.woocommerce .star-rating span::before {
    content: "\f005\f005\f005\f005\f005" !important;
    top: 0;
    position: absolute;
    left: 0;
    color: var(--color-accent);
    letter-spacing: 2px;
}

/* Hide default woo stars in the form */
.woocommerce p.stars a::before {
    display: none !important;
}

/* Rebuild p.stars with FontAwesome flexbox */
.woocommerce p.stars span {
    display: inline-flex !important;
    flex-direction: row;
    gap: 4px;
}

.woocommerce p.stars a {
    position: relative;
    width: 1.2em !important;
    height: 1.2em !important;
    text-indent: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--color-border) !important;
    text-decoration: none;
    transition: color 0.2s;
    overflow: visible !important;
    font-size: 1.2rem;
}

/* Draw the FontAwesome star */
.woocommerce p.stars a::after {
    content: "\f005" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    position: absolute;
    left: 0;
    top: 0;
}

/* Hide the 1, 2, 3 text */
.woocommerce p.stars a {
    color: transparent !important;
}
.woocommerce p.stars a::after {
    color: var(--color-border);
}

/* Default Active (Clicked) */
.woocommerce p.stars.selected a::after { color: var(--color-accent) !important; }
.woocommerce p.stars.selected a.active ~ a::after { color: var(--color-border) !important; }

/* Hover (Overrides Active) */
.woocommerce p.stars:hover a::after { color: var(--color-accent) !important; }
.woocommerce p.stars:hover a:hover ~ a::after { color: var(--color-border) !important; }

/* ========================================
   AJAX LIVE SEARCH
======================================== */
.live-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    margin-top: 5px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    max-height: 400px;
    overflow-y: auto;
}

.live-search-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    transition: background 0.2s;
}

.live-search-item:last-child {
    border-bottom: none;
}

.live-search-item:hover {
    background: #f8fafc;
}

.live-search-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

.live-search-info {
    flex: 1;
}

.live-search-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: var(--color-primary);
}

.live-search-price {
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: 700;
}

.live-search-empty {
    padding: 20px;
    text-align: center;
    color: #64748b;
    font-size: 0.95rem;
}

/* ========================================
   TRUST BADGES
======================================== */
/* 1. Single Product Page Trust Badges */
.domys-product-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 25px 0;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.domys-product-trust-badges .trust-badge-item {
    flex: 1 1 40%;
    display: flex;
    align-items: center;
    gap: 12px;
}

.domys-product-trust-badges i {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.domys-product-trust-badges span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.2;
}

/* 2. Global Footer Trust Badges */
.global-trust-badges {
    background: #f1f5f9;
    padding: 30px 0;
    border-top: 1px solid #e2e8f0;
}

.trust-badges-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.global-trust-badges .trust-badge-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1 1 200px;
}

.global-trust-badges i {
    font-size: 2rem;
    color: var(--color-accent);
}

.global-trust-badges .trust-badge-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-primary);
    margin-bottom: 3px;
}

.global-trust-badges .trust-badge-text span {
    font-size: 0.85rem;
    color: #64748b;
}

@media (max-width: 768px) {
    .trust-badges-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    .global-trust-badges .trust-badge-item {
        width: 100%;
    }
}

/* ========================================
   MOBILE RESPONSIVENESS (PHONES)
======================================== */
@media (max-width: 768px) {
    /* Reviews Section */
    #reviews {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    #reviews .comment_container {
        flex-direction: column;
        gap: 1rem;
    }
    
    #reviews .comment_container img.avatar {
        width: 50px;
        height: 50px;
        margin: 0 auto;
    }
    
    #reviews .comment-text {
        padding: 1rem;
    }
    
    /* Hide the chat bubble triangle on mobile since it stacks */
    #reviews .comment-text::before {
        display: none;
    }
    
    #reviews .meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    #reviews .star-rating {
        float: none;
        margin-top: 5px;
        margin-bottom: 10px;
    }
    
    #review_form_wrapper {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    #review_form_wrapper .comment-form-rating {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    /* Off-Canvas Cart */
    .domys-offcanvas-cart {
        width: 340px;
        right: -360px;
    }
    .domys-offcanvas-cart.active {
        right: 20px;
    }
    
    .offcanvas-cart-header {
        padding: 15px;
    }
    
    .offcanvas-cart-body {
        padding: 15px;
    }
    
    .widget_shopping_cart_content ul.cart_list li {
        flex-direction: row; /* Keep image and text side-by-side */
    }
    
    .widget_shopping_cart_content ul.cart_list li img {
        width: 50px;
        height: 50px;
    }
    
    /* Mobile Sticky Cart */
    .mobile-sticky-cart {
        position: fixed;
        bottom: -150px; /* Hidden initially */
        left: 0;
        right: 0;
        background: var(--color-white);
        box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.15);
        z-index: 10000;
        padding: 12px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border-top: 1px solid var(--color-border);
    }
    
    .mobile-sticky-cart.visible {
        bottom: 0;
    }
    
    .sticky-cart-info {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .sticky-cart-info img {
        width: 45px;
        height: 45px;
        object-fit: cover;
        border-radius: 8px;
    }
    
    .sticky-cart-text {
        display: flex;
        flex-direction: column;
    }
    
    .sticky-title {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--color-text);
        max-width: 140px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .sticky-price {
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--color-accent);
    }
    
    .sticky-add-to-cart-btn {
        padding: 10px 20px !important;
        font-size: 0.95rem !important;
        border-radius: 30px !important;
        box-shadow: 0 4px 15px rgba(255, 210, 47, 0.4);
    }
}

/* Hide Sticky Cart completely on desktop */
@media (min-width: 769px) {
    .mobile-sticky-cart {
        display: none !important;
    }
}

/* ========================================
   HOMEPAGE SPECIAL OFFER BANNER
 ======================================== */
.home-promo-banner {
    margin: 60px 0;
    position: relative;
}

.promo-banner-container {
    background: var(--color-primary);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%), 
                      radial-gradient(at 100% 0%, rgba(251, 191, 36, 0.2) 0, transparent 50%);
    padding: 60px 40px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(7, 155, 245, 0.3);
}

.promo-banner-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    pointer-events: none;
    background: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 20px 20px;
}

.promo-content {
    position: relative;
    z-index: 2;
    flex: 1;
}

.promo-label {
    display: inline-block;
    background: #fbbf24;
    color: #1e293b;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(7, 155, 245, 0.2);
}

.promo-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.promo-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: 500;
    max-width: 600px;
}

.promo-action {
    position: relative;
    z-index: 2;
}

.promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: #0f172a;
    padding: 20px 40px;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.promo-btn:hover {
    transform: translateY(-5px) scale(1.02);
    background: var(--color-primary);
    color: white;
    box-shadow: 0 20px 40px rgba(7, 155, 245, 0.3);
}

.promo-btn i {
    transition: transform 0.3s;
}

.promo-btn:hover i {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 991px) {
    .promo-banner-container {
        flex-direction: column;
        text-align: center;
        padding: 60px 30px;
    }
    
    .promo-description {
        margin: 0 auto;
    }
    
    .promo-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .promo-banner-container {
        margin: 0 15px;
        padding: 50px 20px;
    }
    
    .promo-title {
        font-size: 1.75rem;
    }
    
    .promo-description {
        font-size: 1rem;
    }
    
    .promo-btn {
        width: 100%;
        justify-content: center;
    }
}
/* 
========================================
   HOMEPAGE REDESIGN (PREMIUM)
========================================
*/

.premium-hero-section {
    padding: 20px 0 60px;
    background: var(--color-off-white);
}

.hero-grid {
    display: grid;
    gap: 24px;
}

.premium-hero-section.split-layout .hero-grid {
    grid-template-columns: 1.8fr 1fr;
}

/* Main Slider */
.hero-main-slider {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 500px;
    box-shadow: var(--shadow-lg);
}

.hero-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-slide-item {
    min-width: 100%;
    height: 100%;
}

.hero-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-controls {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}

.hero-arrow {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text-main);
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
}

.hero-arrow:hover {
    background: var(--color-primary);
    color: white;
    transform: scale(1.1);
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.hero-dot.active {
    background: var(--color-primary);
    width: 30px;
    border-radius: 6px;
}

/* Side Banners */
.hero-side-banners {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-banner-card {
    flex: 1;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.side-banner-card:hover {
    transform: translateY(-5px);
}

.side-banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    pointer-events: none;
}

/* Features Bar */
.premium-features-bar {
    padding: 40px 0;
    background: white;
    margin-bottom: 40px;
}

.features-flex-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-card {
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--color-off-white);
    transition: all 0.3s;
}

.feature-card:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.feature-icon-wrap {
    width: 60px;
    height: 60px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-info h4 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.feature-info p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Product Sections */
.premium-product-section {
    margin-bottom: 80px;
}

.section-heading-block {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

@media (max-width: 768px) {
    .premium-product-section {
        margin-bottom: 24px;
    }

    .section-heading-block {
        margin-bottom: 20px;
    }
}

.section-tag {
    display: inline-block;
    color: var(--color-primary);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-main-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    margin: 0 auto;
    border-radius: 2px;
}

.title-with-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.view-all-link {
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.view-all-link:hover {
    color: var(--color-primary-dark);
}

/* Product Scroller Overlay */
.carousel-outer-wrap {
    position: relative;
    padding: 0 50px;
}

.scroll-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.scroll-nav-btn:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

.product-scroller {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 5px 40px;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.product-scroller::-webkit-scrollbar { display: none; }

/* Premium Product Card */
.premium-product-card {
    min-width: 280px;
    background: white;
    border-radius: var(--radius-xl);
    padding: 12px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--color-border-light);
    display: flex;
    flex-direction: column;
}

.premium-product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-visual-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--color-off-white);
}

.product-visual-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.premium-product-card:hover .product-visual-wrap img {
    transform: scale(1.1);
}

.product-quick-actions {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s;
}

.premium-product-card:hover .product-quick-actions {
    opacity: 1;
    transform: translateY(0);
}

.action-icon-btn {
    flex: 1;
    height: 44px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-main);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.action-icon-btn:hover {
    background: var(--color-primary);
    color: white;
}

.action-icon-btn.buy-btn {
    background: var(--color-accent);
}

.action-icon-btn.buy-btn:hover {
    background: var(--color-accent-hover);
}

.sale-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ef4444;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.product-detail-wrap {
    padding: 16px 8px 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-name {
    font-size: 1rem;
    margin: 0 0 8px 0;
}

.product-name a {
    color: var(--color-text-main);
    text-decoration: none;
    transition: color 0.2s;
}

.product-name a:hover {
    color: var(--color-primary);
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--color-text-main);
}

.product-rating {
    font-size: 0.85rem;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .premium-hero-section.split-layout .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-main-slider {
        height: 350px;
    }
    
    .hero-side-banners {
        flex-direction: row;
    }
    
    .side-banner-card {
        height: 200px;
    }
    
    .section-main-title {
        font-size: 2rem;
    }
    
    .title-with-link {
        flex-direction: column;
        gap: 10px;
    }
    
    .view-all-link {
        position: static;
    }
}

@media (max-width: 600px) {
    .hero-side-banners {
        flex-direction: column;
    }
    
    .carousel-outer-wrap {
        padding: 0;
    }
    
    .scroll-nav-btn {
        display: none;
    }
    
    .premium-product-card {
        min-width: 240px;
    }
}

/* Touch devices have no :hover, so the buy/add-to-cart overlay buttons
   must be shown by default instead of waiting for a hover that will never fire. */
@media (hover: none) {
    .product-quick-actions {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}


/* Make product card entirely clickable */
.premium-product-card {
    position: relative;
}

.product-card-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    cursor: pointer;
}

/* Ensure buttons and links remain clickable above the overlay */
.product-visual-wrap,
.product-detail-wrap {
    position: relative;
    z-index: 6;
    pointer-events: none; /* Let clicks pass through to overlay */
}

.product-quick-actions,
.product-name a {
    position: relative;
    z-index: 10;
    pointer-events: auto; /* Catch clicks */
}

.product-quick-actions {
    position: absolute; /* Restore absolute positioning */
}

