/*
Theme Name: Delicio Child - FOODSE Dark
Theme URI: http://185.201.112.43:8081
Description: Premium Desktop Experience - Dark theme with sidebar layout
Author: Custom
Template: delicio
Version: 3.0.1
*/

/* FOODSE Dark Theme - Black Background */
:root {
    --primary-orange: #FF8533;
    --primary-yellow: #FFD700;
    --primary-red: #FF6B6B;
    --bg-black: #0A0A0A;
    --bg-dark: #1C1C1C;
    --bg-card: #252525;
    --text-white: #FFFFFF;
    --text-gray: #c16f2d; /* FOODSE logo color - updated 31/10/2025 */
    --text-muted: #c16f2d; /* FOODSE logo color - updated 31/10/2025 */
    --border-dark: #333333;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
    --shadow-orange: 0 8px 24px rgba(255,133,51,0.25);

    /* Layout variables for consistency */
    --header-height: 80px;
    --sidebar-width-min: 240px;
    --sidebar-width-max: 300px;
}

/* Global Dark Background */
body,
.site,
.site-content,
.woocommerce,
.woocommerce-page {
    background: var(--bg-black) !important;
    color: var(--text-white) !important;
}

/* ========================================
   HEADER - PREMIUM DESKTOP DESIGN
   ======================================== */

.site-header,
#masthead {
    background: var(--bg-black) !important;
    border-bottom: 2px solid var(--border-dark) !important;
    padding: 0 !important;
    position: relative !important; /* Changed from sticky - logo không dính theo scroll */
    z-index: 999 !important;
    box-shadow: var(--shadow-md) !important;
    transition: all 0.3s ease !important;
}

/* Sticky header effect when scrolled */
/* .site-header.scrolled, */
/* #masthead.scrolled { */
/*     box-shadow: var(--shadow-lg) !important; */
/*     backdrop-filter: blur(10px) !important; */
/*     background: rgba(10,10,10,0.95) !important; */
/* } */
/*  */
/* Desktop Header Container */
.header-desktop-container {
    max-width: 1200px !important; /* Reduced from 1320px to match content width */
    margin: 0 auto !important;
    padding: 20px 32px !important; /* Increased from 24px to match content padding */
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 32px !important; /* Reduced from 40px for more compact layout */
}

.site-header.scrolled .header-desktop-container {
    padding: 12px 32px !important; /* Increased from 24px to match */
}

/* Header Left - Logo */
.header-left {
    display: flex !important;
    align-items: center !important;
}

.site-branding {
    text-align: left !important;
    margin: 0 !important;
}

/* LOGO - Desktop Premium */
.custom-logo {
    max-width: 160px !important;
    max-height: 80px !important;
    height: auto !important;
    width: auto !important;
    transition: all 0.3s ease !important;
    filter: drop-shadow(0 2px 8px rgba(255,133,51,0.3)) !important;
}

.custom-logo:hover {
    transform: scale(1.05) !important;
    filter: drop-shadow(0 4px 12px rgba(255,133,51,0.5)) !important;
}

/* Header Center - Search Bar (Desktop Only) */
.header-center {
    flex: 1 !important;
    max-width: 500px !important;
    display: none !important; /* Hide by default */
}

@media (min-width: 1025px) {
    .header-center {
        display: block !important;
    }
}

.header-search-bar {
    position: relative !important;
    width: 100% !important;
}

.header-search-bar input[type="search"] {
    width: 100% !important;
    padding: 14px 48px 14px 20px !important;
    background: var(--bg-dark) !important;
    border: 2px solid var(--border-dark) !important;
    border-radius: 30px !important;
    color: var(--text-white) !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
}

.header-search-bar input[type="search"]:focus {
    outline: none !important;
    border-color: var(--primary-orange) !important;
    box-shadow: 0 0 0 3px rgba(255,133,51,0.15) !important;
}

.header-search-bar input[type="search"]::placeholder {
    color: var(--text-muted) !important;
}

.header-search-button {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: var(--primary-orange) !important;
    border: none !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
}

.header-search-button:hover {
    background: var(--primary-red) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

/* Live Search Results */
.search-results-dropdown {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border-dark) !important;
    border-radius: 16px !important;
    box-shadow: var(--shadow-lg) !important;
    max-height: 400px !important;
    overflow-y: auto !important;
    display: none !important;
    z-index: 1000 !important;
}

.search-results-dropdown.active {
    display: block !important;
}

.search-result-item {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 12px 16px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border-bottom: 1px solid var(--border-dark) !important;
}

.search-result-item:last-child {
    border-bottom: none !important;
}

.search-result-item:hover {
    background: var(--bg-dark) !important;
}

.search-result-image {
    width: 50px !important;
    height: 50px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
}

.search-result-info h4 {
    margin: 0 0 4px 0 !important;
    font-size: 14px !important;
    color: var(--text-white) !important;
}

.search-result-price {
    color: var(--primary-orange) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}

/* Hide "Menu" navigation item (not needed) */
.navbar-nav li.menu-item a[href*="menu"]:not([href*="wc-ajax"]),
.navbar-nav li.menu-item-type-post_type a:contains("Menu"),
li[class*="menu-item"] a[href$="/menu/"],
li.menu-item-244,
li#menu-item-244 {
    display: none !important;
}

/* Hide parent li if it only contains Menu link */
.navbar-nav li.menu-item:has(a[href*="/menu/"]):not(:has(ul.sub-menu)) {
    display: none !important;
}

/* Header Right - Navigation + Cart */
.header-right {
    display: flex !important;
    align-items: center !important;
    gap: 32px !important;
}

/* Navigation - Desktop Horizontal */
.main-navigation {
    margin: 0 !important;
    display: none !important; /* Hide by default */
}

@media (min-width: 1025px) {
    .main-navigation {
        display: block !important;
    }
}

.main-navigation ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
}

.main-navigation li {
    margin: 0 !important;
    position: relative !important;
}

.main-navigation a {
    color: var(--text-gray) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    display: block !important;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--primary-orange) !important;
    background: rgba(255,133,51,0.1) !important;
}

/* Shopping Cart Icon - Enhanced */
.header-cart-wrapper {
    position: relative !important;
}

.cart-contents {
    color: var(--primary-orange) !important;
    font-size: 24px !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 16px !important;
    background: rgba(255,133,51,0.1) !important;
    border-radius: 12px !important;
    text-decoration: none !important;
}

.cart-contents:hover {
    color: var(--primary-yellow) !important;
    background: rgba(255,133,51,0.2) !important;
    transform: translateY(-2px) !important;
}

.cart-count-header {
    background: var(--primary-red) !important;
    color: var(--text-white) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Cart with items - Orange to Yellow Gradient ✨ */
.cart-contents.has-items,
.floating-cart-button.has-items {
    background: linear-gradient(135deg, #FF8533 0%, #FFD700 100%) !important;
    color: var(--text-white) !important;
    box-shadow: 0 4px 15px rgba(255, 133, 51, 0.5) !important;
}

.cart-contents.has-items:hover,
.floating-cart-button.has-items:hover {
    background: linear-gradient(135deg, #FF6B35 0%, #FFC700 100%) !important;
    box-shadow: 0 6px 20px rgba(255, 133, 51, 0.7) !important;
    transform: translateY(-3px) !important;
}

.cart-contents.has-items .cart-count-header {
    background: var(--text-white) !important;
    color: #FF8533 !important;
    animation: pulse-orange 2s infinite !important;
}

@keyframes pulse-orange {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 133, 51, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 8px rgba(255, 133, 51, 0);
    }
}

/* Mobile Header */
@media (max-width: 1024px) {
    .header-desktop-container {
        flex-direction: column !important;
        padding: 16px !important;
    }

    .site-branding {
        text-align: center !important;
    }

    .custom-logo {
        max-width: 150px !important;
        max-height: 75px !important;
    }

    .header-right {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */

.foodse-hero {
    background: linear-gradient(135deg, rgba(255,133,51,0.1) 0%, rgba(26,26,26,1) 100%) !important;
    padding: 60px 20px !important;
    text-align: center !important;
    margin-bottom: 40px !important;
    border-bottom: 1px solid var(--border-dark) !important;
    position: relative !important;
    overflow: hidden !important;
}

.foodse-hero::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><text x="10" y="30" font-size="40" opacity="0.03">🍜</text><text x="50" y="70" font-size="40" opacity="0.03">🍕</text></svg>') !important;
    background-repeat: repeat !important;
    opacity: 0.5 !important;
    z-index: 0 !important;
}

.foodse-hero-content {
    position: relative !important;
    z-index: 1 !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

.foodse-hero-icons {
    font-size: 48px !important;
    letter-spacing: 20px !important;
    margin-bottom: 20px !important;
    line-height: 1 !important;
}

.foodse-hero h1 {
    font-size: 56px !important;
    font-weight: 900 !important;
    color: var(--text-white) !important;
    margin: 0 0 16px 0 !important;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-yellow) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    letter-spacing: -2px !important;
}

.foodse-hero p {
    font-size: 20px !important;
    color: var(--primary-orange) !important;
    margin: 0 0 32px 0 !important;
    line-height: 1.6 !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-weight: 700 !important;
}

.foodse-hero-cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: var(--primary-orange) !important;
    color: var(--text-white) !important;
    padding: 16px 40px !important;
    border-radius: 50px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 8px 24px rgba(255,133,51,0.4) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.foodse-hero-cta:hover {
    background: var(--primary-red) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 32px rgba(255,107,107,0.5) !important;
}

.foodse-hero-cta .cta-icon {
    font-size: 24px !important;
    line-height: 1 !important;
}

/* Mobile hero - Optimized for better FCP */
@media (max-width: 768px) {
    .foodse-hero {
        padding: 24px 16px !important; /* Reduced from 40px for better above-fold content */
        margin-bottom: 20px !important;
    }

    .foodse-hero-icons {
        font-size: 28px !important;
        letter-spacing: 10px !important;
    }

    .foodse-hero h1 {
        font-size: 32px !important;
        letter-spacing: -1px !important;
    }

    .foodse-hero p {
        font-size: 15px !important;
        margin-bottom: 20px !important;
    }

    .foodse-hero-cta {
        padding: 12px 28px !important;
        font-size: 15px !important;
    }
}

/* ========================================
   CATEGORY GRID WITH THUMBNAILS
   ======================================== */

.foodse-category-grid {
    max-width: 1200px !important; /* Reduced from 1400px to match shop container width */
    margin: 0 auto 60px auto !important;
    padding: 0 32px !important; /* Increased from 24px to match shop wrapper padding */
}

.category-grid-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: var(--text-white) !important;
    text-align: center !important;
    margin: 0 0 40px 0 !important;
    letter-spacing: -1px !important;
}

.category-grid-items {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 24px !important;
}

.category-grid-item {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-dark) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: var(--shadow-sm) !important;
}

.category-grid-item:hover {
    transform: translateY(-8px) !important;
    border-color: var(--primary-orange) !important;
    box-shadow: var(--shadow-orange) !important;
}

.category-grid-item .category-image {
    width: 100% !important;
    padding-top: 75% !important; /* 4:3 aspect ratio */
    position: relative !important;
    overflow: hidden !important;
    background: #000 !important;
}

.category-grid-item .category-image img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.category-grid-item:hover .category-image img {
    transform: scale(1.1) !important;
}

.category-grid-item .category-info {
    padding: 20px !important;
    text-align: center !important;
}

.category-grid-item .category-name {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--text-white) !important;
    margin: 0 0 8px 0 !important;
    letter-spacing: -0.3px !important;
}

.category-grid-item .category-count {
    font-size: 14px !important;
    color: var(--text-white) !important;
    display: block !important;
}

/* Mobile category grid */
@media (max-width: 768px) {
    .foodse-category-grid {
        margin-bottom: 40px !important;
        padding: 0 16px !important;
    }

    .category-grid-title {
        font-size: 24px !important;
        margin-bottom: 24px !important;
    }

    .category-grid-items {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .category-grid-item .category-info {
        padding: 16px !important;
    }

    .category-grid-item .category-name {
        font-size: 16px !important;
    }

    .category-grid-item .category-count {
        font-size: 13px !important;
    }
}

/* ========================================
   CATEGORY PILLS - MODERN DESIGN
   ======================================== */

.product-categories,
.woocommerce-breadcrumb {
    background: transparent !important;
    padding: 24px 16px !important;
    border-radius: 0 !important;
    margin: 0 0 40px 0 !important;
    text-align: center !important;
    border: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important; /* Firefox */
}

.product-categories::-webkit-scrollbar,
.woocommerce-breadcrumb::-webkit-scrollbar {
    display: none !important; /* Chrome, Safari */
}

/* Category Pills */
.product-categories a,
.woocommerce-breadcrumb a {
    color: var(--text-white) !important;
    text-decoration: none !important;
    padding: 12px 28px !important;
    margin: 0 6px !important;
    display: inline-block !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 24px !important;
    background: var(--bg-dark) !important;
    border: 2px solid transparent !important;
    letter-spacing: 0.3px !important;
}

.product-categories a:hover {
    color: var(--primary-orange) !important;
    background: rgba(255,133,51,0.15) !important;
    border-color: var(--primary-orange) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-orange) !important;
}

.product-categories a.current {
    color: var(--text-white) !important;
    background: var(--primary-orange) !important;
    border-color: var(--primary-orange) !important;
    box-shadow: var(--shadow-orange) !important;
}

/* Mobile category pills */
@media (max-width: 768px) {
    .product-categories,
    .woocommerce-breadcrumb {
        padding: 16px 12px !important;
        margin: 0 0 24px 0 !important;
    }

    .product-categories a,
    .woocommerce-breadcrumb a {
        font-size: 14px !important;
        padding: 10px 20px !important;
        margin: 0 4px !important;
    }
}

/* Product Grid - Base Setup */
.woocommerce ul.products {
    display: grid !important;
    gap: 20px !important; /* Reduced from 24px for tighter layout */
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 1200px !important; /* Reduced from 1400px to match overall container width */
    list-style: none !important;
    /* Default mobile-first: 2 columns */
    grid-template-columns: repeat(2, 1fr) !important;
}

/* Remove WooCommerce default float/clear that breaks grid */
.woocommerce ul.products li.product.first {
    clear: none !important;
}

.woocommerce ul.products li.product.last {
    margin-right: 0 !important;
}

/* ========================================
   PRODUCT CARDS - ENHANCED DESIGN
   ======================================== */

.woocommerce ul.products li.product {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-dark) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease !important;
    box-shadow: var(--shadow-sm) !important; /* Reduced from shadow-md for better performance */
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
    /* Performance optimization */
    will-change: transform;
    backface-visibility: hidden;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px) !important; /* Reduced from -12px for smoother animation */
    box-shadow: var(--shadow-orange) !important;
    border-color: var(--primary-orange) !important;
}

/* Product Image - 4:3 Ratio (Natural for Food Photos) */
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link:first-child {
    position: relative !important;
    width: 100% !important;
    padding-top: 100% !important; /* 1:1 square ratio - consistent with video */
    overflow: hidden !important;
    display: block !important;
    background: #000 !important;
}

.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link:first-child img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Hover effect on image */
.woocommerce ul.products li.product:hover > a.woocommerce-LoopProduct-link:first-child img {
    transform: scale(1.1) !important;
}

/* Image overlay on hover */
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link:first-child::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

.woocommerce ul.products li.product:hover > a.woocommerce-LoopProduct-link:first-child::after {
    opacity: 1 !important;
}

/* Product Info Container */
.woocommerce ul.products li.product .product-info {
    padding: 20px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Product Title - White Bold - IMPROVED TYPOGRAPHY */
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title a {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--text-white) !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    letter-spacing: -0.2px !important;
}

/* Product Description - White */
.woocommerce ul.products li.product .product-description {
    font-size: 14px !important;
    color: var(--text-white) !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.5 !important;
}

/* Price - Orange Color */
.woocommerce ul.products li.product .price {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--primary-orange) !important;
    margin: auto 0 16px 0 !important;
}

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

/* Rating Stars - Yellow */
.woocommerce .star-rating {
    color: var(--primary-yellow) !important;
}

.woocommerce .star-rating span {
    color: var(--primary-yellow) !important;
}

/* ========================================
   QUANTITY PICKER + ADD TO CART
   ======================================== */

/* Quantity and cart container */
.product-quantity-cart {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: auto !important;
}

/* Quantity picker */
.quantity-picker {
    display: flex !important;
    align-items: center !important;
    background: var(--bg-dark) !important;
    border: 2px solid var(--border-dark) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.quantity-picker:hover {
    border-color: var(--primary-orange) !important;
}

.quantity-picker button {
    background: transparent !important;
    border: none !important;
    color: var(--text-white) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    width: 36px !important;
    height: 36px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.quantity-picker button:hover {
    background: var(--primary-orange) !important;
    color: var(--text-white) !important;
}

.quantity-picker button:active {
    transform: scale(0.9) !important;
}

.quantity-picker input[type="number"] {
    background: transparent !important;
    border: none !important;
    color: var(--text-white) !important;
    text-align: center !important;
    width: 45px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    -moz-appearance: textfield !important;
}

.quantity-picker input[type="number"]::-webkit-inner-spin-button,
.quantity-picker input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Add to Cart Button - Improved */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
    background: var(--primary-orange) !important;
    color: var(--text-white) !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    flex: 1 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
    background: var(--primary-red) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255,107,107,0.4) !important;
}

.woocommerce ul.products li.product .button:active,
.woocommerce ul.products li.product .add_to_cart_button:active {
    transform: translateY(0) !important;
}

/* Added to cart state */
.woocommerce ul.products li.product .added_to_cart {
    background: #4CAF50 !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    margin-top: 8px !important;
    text-align: center !important;
    display: block !important;
}

.woocommerce ul.products li.product .added_to_cart:hover {
    background: #388E3C !important;
}

/* ========================================
   PRODUCT BADGES SYSTEM
   ======================================== */

/* Badge container */
.product-badges {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 10 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

/* Individual badge */
.product-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: var(--text-white) !important;
    backdrop-filter: blur(8px) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
    white-space: nowrap !important;
}

/* Badge types */
.product-badge.vegetarian {
    background: rgba(76, 175, 80, 0.9) !important;
}

.product-badge.vegan {
    background: rgba(139, 195, 74, 0.9) !important;
}

.product-badge.spicy {
    background: rgba(255, 87, 34, 0.9) !important;
}

.product-badge.new {
    background: rgba(33, 150, 243, 0.9) !important;
}

.product-badge.popular {
    background: rgba(255, 193, 7, 0.9) !important;
}

.product-badge.gluten-free {
    background: rgba(156, 39, 176, 0.9) !important;
}

/* Sale Badge - Red (moved to top right) */
.woocommerce span.onsale {
    background: var(--primary-red) !important;
    color: var(--text-white) !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 10 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Footer - Dark */
.site-footer {
    background: var(--bg-black) !important;
    color: var(--text-gray) !important;
    border-top: 1px solid var(--border-dark) !important;
}

/* Responsive Grid - Mobile First Approach */

/* Small Mobile: 2 columns (default - already set above) */
@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
        padding: 0 16px !important;
    }

    .woocommerce-shop-wrapper {
        display: block !important; /* Single column on mobile */
        padding: 0 !important;
    }

    .shop-main-content {
        width: 100% !important;
    }
}

/* Tablet: 3 columns */
@media (min-width: 769px) and (max-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
        padding: 0 24px !important;
    }

    .woocommerce-shop-wrapper {
        display: block !important; /* Single column on tablet */
    }
}

/* Desktop: 4 columns for better balance and tighter layout */
@media (min-width: 1025px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(4, 1fr) !important; /* 4 columns on desktop - compact and balanced */
        gap: 20px !important; /* Reduced gap for tighter, more compact layout */
        max-width: none !important; /* Remove max-width since wrapper controls it */
        padding: 0 !important; /* Remove padding since wrapper controls it */
    }
}

/* ========================================
   DESKTOP SIDEBAR LAYOUT
   ======================================== */

@media (min-width: 1025px) {
    .woocommerce-shop-wrapper {
        max-width: 1200px !important; /* Reduced from 1320px to match header width for better balance */
        margin: 0 auto !important;
        padding: 0 32px !important; /* Increased padding for better spacing from edges */
        display: flex !important;
        gap: 28px !important; /* Reduced from 40px for more compact layout */
    }

    .shop-sidebar {
        width: clamp(220px, 18vw, 260px) !important; /* Narrower sidebar: 220-260px instead of 240-300px */
        flex-shrink: 0 !important;
    }

    .shop-main-content {
        flex: 1 !important;
        min-width: 0 !important; /* Prevent flex overflow */
    }
}

/* Sidebar Filters */
.shop-sidebar {
    background: var(--bg-card) !important;
    border-radius: 16px !important;
    padding: 24px !important;
    border: 1px solid var(--border-dark) !important;
    position: sticky !important;
    top: 120px !important;
    max-height: calc(100vh - 140px) !important;
    overflow-y: auto !important;
    display: none !important; /* Hide by default */
}

/* Show sidebar only on desktop */
@media (min-width: 1025px) {
    .shop-sidebar {
        display: block !important;
    }
}

.sidebar-section {
    margin-bottom: 32px !important;
}

.sidebar-section:last-child {
    margin-bottom: 0 !important;
}

.sidebar-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--text-white) !important;
    margin: 0 0 16px 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Filter Checkboxes */
.filter-option {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 0 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.filter-option:hover {
    padding-left: 8px !important;
}

.filter-option input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    cursor: pointer !important;
    accent-color: var(--primary-orange) !important;
}

.filter-option label {
    color: var(--text-gray) !important;
    font-size: 14px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.filter-option input[type="checkbox"]:checked + label {
    color: var(--text-white) !important;
}

/* Price Range Slider */
.price-range-slider {
    padding: 16px 0 !important;
}

.price-range-input {
    width: 100% !important;
    height: 6px !important;
    background: var(--bg-dark) !important;
    border-radius: 3px !important;
    outline: none !important;
    -webkit-appearance: none !important;
}

.price-range-input::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    width: 18px !important;
    height: 18px !important;
    background: var(--primary-orange) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
}

.price-range-values {
    display: flex !important;
    justify-content: space-between !important;
    margin-top: 12px !important;
    color: var(--text-gray) !important;
    font-size: 14px !important;
}

/* Rating Filter */
.rating-filter {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 0 !important;
    cursor: pointer !important;
}

.rating-stars {
    color: var(--primary-yellow) !important;
    font-size: 14px !important;
}

/* Apply Filters Button */
.apply-filters-btn {
    width: 100% !important;
    padding: 14px !important;
    background: var(--primary-orange) !important;
    color: var(--text-white) !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 24px !important;
}

.apply-filters-btn:hover {
    background: var(--primary-red) !important;
    transform: translateY(-2px) !important;
}

/* Clear Filters */
.clear-filters-btn {
    width: 100% !important;
    padding: 10px !important;
    background: transparent !important;
    color: var(--text-gray) !important;
    border: 1px solid var(--border-dark) !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    cursor: pointer !important;
    margin-top: 8px !important;
    transition: all 0.3s ease !important;
}

.clear-filters-btn:hover {
    color: var(--text-white) !important;
    border-color: var(--primary-orange) !important;
}

/* Hide Delivery Info (not in reference design) */
.product-delivery-info {
    display: none !important;
}

/* Hide pagination - using lazy load instead */
.woocommerce nav.woocommerce-pagination,
.woocommerce .navigation,
.navigation.pagination {
    display: none !important;
}

/* Smooth loading animation for lazy loaded images */
.woocommerce ul.products li.product img {
    transition: opacity 0.3s ease-in-out !important; /* Reduced from 0.5s for snappier feel */
    /* Performance optimization for images */
    will-change: opacity;
    content-visibility: auto; /* Browser optimization hint */
}

.woocommerce ul.products li.product img:not(.loaded) {
    opacity: 0.3 !important;
    background: #1a1a1a !important;
}

.woocommerce ul.products li.product img.loaded {
    opacity: 1 !important;
}

/* General Text Colors */
.woocommerce-result-count,
.woocommerce-ordering select {
    color: var(--text-gray) !important;
    background: var(--bg-dark) !important;
    border-color: var(--border-dark) !important;
}

/* Links */
a {
    color: var(--primary-orange) !important;
}

a:hover {
    color: var(--primary-yellow) !important;
}

/* ========================================
   MOBILE vs DESKTOP SPECIFIC STYLES
   Using body class detection
   ======================================== */

/* Mobile-specific styles */
.is-mobile-device .woocommerce ul.products li.product .product-info {
    /* Example: Smaller padding on mobile */
    padding: 15px !important;
}

.is-mobile-device .woocommerce ul.products li.product h2 {
    /* Example: Smaller font on mobile */
    font-size: 16px !important;
}

.is-mobile-device .mobile-only {
    display: block !important;
}

.is-mobile-device .desktop-only {
    display: none !important;
}

/* Desktop-specific styles */
.is-desktop-device .woocommerce ul.products li.product .product-info {
    /* Example: Larger padding on desktop */
    padding: 20px !important;
}

.is-desktop-device .mobile-only {
    display: none !important;
}

.is-desktop-device .desktop-only {
    display: block !important;
}

/* ========================================
   FLOATING CART BUTTON
   ======================================== */

.floating-cart-button {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    z-index: 9999 !important;
    width: 64px !important;
    height: 64px !important;
    background: var(--primary-orange) !important;
    border-radius: 50% !important;
    box-shadow: 0 8px 24px rgba(255,133,51,0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    border: none !important;
}

.floating-cart-button:hover {
    transform: scale(1.1) rotate(10deg) !important;
    box-shadow: 0 12px 32px rgba(255,133,51,0.6) !important;
    background: var(--primary-red) !important;
}

.floating-cart-button:active {
    transform: scale(0.95) !important;
}

.floating-cart-button .cart-icon {
    font-size: 28px !important;
    color: var(--text-white) !important;
    line-height: 1 !important;
}

/* Cart count badge */
.floating-cart-button .cart-count {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    background: var(--primary-red) !important;
    color: var(--text-white) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid var(--bg-black) !important;
    animation: pulse 2s infinite !important;
}

/* Floating cart with items - Orange badge ✨ */
.floating-cart-button.has-items .cart-count {
    background: var(--text-white) !important;
    color: #FF8533 !important;
    border: 2px solid #FF8533 !important;
    animation: pulse-orange 2s infinite !important;
}

/* Cart price display */
.floating-cart-button .cart-price {
    position: absolute !important;
    bottom: -28px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: var(--bg-dark) !important;
    color: var(--primary-orange) !important;
    padding: 4px 12px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    box-shadow: var(--shadow-sm) !important;
    border: 1px solid var(--border-dark) !important;
}

/* Pulse animation for badge */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Mobile floating cart */
@media (max-width: 768px) {
    .floating-cart-button {
        bottom: 16px !important;
        right: 16px !important;
        width: 56px !important;
        height: 56px !important;
    }

    .floating-cart-button .cart-icon {
        font-size: 24px !important;
    }

    .floating-cart-button .cart-count {
        width: 20px !important;
        height: 20px !important;
        font-size: 11px !important;
    }
}

/* ========================================
   TYPOGRAPHY IMPROVEMENTS
   ======================================== */

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    letter-spacing: 0.3px !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif !important;
    letter-spacing: -0.5px !important;
    font-weight: 700 !important;
}

/* Better line height for readability */
p {
    line-height: 1.6 !important;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth !important;
}

/* Screen reader only text - WCAG 2.1 compliance */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Focus styles for accessibility - WCAG 2.1 AA compliant */
*:focus {
    outline: 2px solid var(--primary-orange) !important;
    outline-offset: 2px !important;
}

/* Better focus-visible for keyboard navigation */
*:focus-visible {
    outline: 3px solid var(--primary-orange) !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 5px rgba(255, 133, 51, 0.2) !important;
}

/* Remove focus outline for mouse users */
*:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

/* ========================================
   BREADCRUMBS NAVIGATION
   ======================================== */

.woocommerce-breadcrumb-wrapper {
    max-width: 1200px !important; /* Reduced from 1320px to match container width */
    margin: 0 auto 24px auto !important;
    padding: 0 32px !important; /* Increased from 24px to match container padding */
}

.woocommerce .woocommerce-breadcrumb {
    background: transparent !important;
    padding: 16px 0 !important;
    margin: 0 !important;
    font-size: 14px !important;
    color: var(--text-gray) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

.woocommerce .woocommerce-breadcrumb a {
    color: var(--text-gray) !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
}

.woocommerce .woocommerce-breadcrumb a:hover {
    color: var(--primary-orange) !important;
    background: rgba(255,133,51,0.1) !important;
}

.woocommerce .woocommerce-breadcrumb span {
    margin: 0 4px !important;
}

/* ========================================
   PRODUCT HOVER OVERLAY + QUICK ACTIONS
   ======================================== */

/* Quick Actions Overlay */
.product-quick-actions {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: flex !important;
    gap: 12px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 5 !important;
}

.woocommerce ul.products li.product:hover .product-quick-actions {
    opacity: 1 !important;
    visibility: visible !important;
}

.quick-action-btn {
    width: 48px !important;
    height: 48px !important;
    background: rgba(255,255,255,0.95) !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
}

.quick-action-btn:hover {
    transform: scale(1.15) !important;
    background: var(--primary-orange) !important;
}

.quick-action-btn.wishlist-btn {
    color: #E91E63 !important;
}

.quick-action-btn.wishlist-btn:hover {
    color: var(--text-white) !important;
}

.quick-action-btn.quickview-btn {
    color: #2196F3 !important;
}

.quick-action-btn.quickview-btn:hover {
    color: var(--text-white) !important;
}

.quick-action-btn.compare-btn {
    color: #9C27B0 !important;
}

.quick-action-btn.compare-btn:hover {
    color: var(--text-white) !important;
}

/* Wishlist active state */
.quick-action-btn.wishlist-btn.active {
    background: #E91E63 !important;
    color: var(--text-white) !important;
}

/* Compare active state */
.quick-action-btn.compare-btn.active {
    background: #9C27B0 !important;
    color: var(--text-white) !important;
}

/* ========================================
   QUICK VIEW MODAL
   ======================================== */

.quickview-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0,0,0,0.9) !important;
    z-index: 99999 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    backdrop-filter: blur(8px) !important;
}

.quickview-modal.active {
    display: flex !important;
    animation: fadeIn 0.3s ease !important;
}

.quickview-content {
    background: var(--bg-card) !important;
    border-radius: 20px !important;
    max-width: 1000px !important;
    width: 100% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    position: relative !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5) !important;
    border: 1px solid var(--border-dark) !important;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.quickview-close {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(0,0,0,0.5) !important;
    border: none !important;
    border-radius: 50% !important;
    color: var(--text-white) !important;
    font-size: 24px !important;
    cursor: pointer !important;
    z-index: 10 !important;
    transition: all 0.3s ease !important;
}

.quickview-close:hover {
    background: var(--primary-red) !important;
    transform: rotate(90deg) !important;
}

.quickview-inner {
    padding: 40px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
}

.quickview-image {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 16px !important;
}

.quickview-details h2 {
    font-size: 32px !important;
    margin: 0 0 16px 0 !important;
    color: var(--text-white) !important;
}

.quickview-price {
    font-size: 28px !important;
    color: var(--primary-orange) !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
}

.quickview-description {
    color: var(--text-gray) !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
}

.quickview-actions {
    display: flex !important;
    gap: 16px !important;
    margin-top: 32px !important;
}

.quickview-add-to-cart {
    flex: 1 !important;
    padding: 16px 32px !important;
    background: var(--primary-orange) !important;
    color: var(--text-white) !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.quickview-add-to-cart:hover {
    background: var(--primary-red) !important;
    transform: translateY(-2px) !important;
}

/* Mobile quickview */
@media (max-width: 768px) {
    .quickview-inner {
        grid-template-columns: 1fr !important;
        padding: 24px !important;
    }
}

/* ========================================
   WISHLIST FUNCTIONALITY
   ======================================== */

.wishlist-floating-btn {
    position: fixed !important;
    bottom: 100px !important;
    right: 24px !important;
    width: 56px !important;
    height: 56px !important;
    background: #E91E63 !important;
    border-radius: 50% !important;
    box-shadow: 0 8px 24px rgba(233,30,99,0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    z-index: 9998 !important;
    text-decoration: none !important;
}

.wishlist-floating-btn:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 12px 32px rgba(233,30,99,0.6) !important;
}

.wishlist-icon {
    font-size: 24px !important;
    color: var(--text-white) !important;
}

.wishlist-count-badge {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    background: var(--text-white) !important;
    color: #E91E63 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ========================================
   PRODUCT COMPARISON
   ======================================== */

.comparison-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: var(--bg-card) !important;
    border-top: 2px solid var(--primary-orange) !important;
    padding: 16px 24px !important;
    z-index: 9997 !important;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.5) !important;
    transform: translateY(100%) !important;
    transition: transform 0.3s ease !important;
}

.comparison-bar.active {
    transform: translateY(0) !important;
}

.comparison-inner {
    max-width: 1200px !important; /* Reduced from 1320px to match container width */
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
}

.comparison-items {
    flex: 1 !important;
    display: flex !important;
    gap: 16px !important;
    overflow-x: auto !important;
}

.comparison-item {
    flex-shrink: 0 !important;
    width: 80px !important;
    position: relative !important;
}

.comparison-item img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    border: 2px solid var(--primary-orange) !important;
}

.remove-comparison {
    position: absolute !important;
    top: -8px !important;
    right: -8px !important;
    width: 24px !important;
    height: 24px !important;
    background: var(--primary-red) !important;
    border: none !important;
    border-radius: 50% !important;
    color: var(--text-white) !important;
    cursor: pointer !important;
    font-size: 14px !important;
}

.compare-btn-action {
    padding: 12px 32px !important;
    background: var(--primary-orange) !important;
    color: var(--text-white) !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
}

.compare-btn-action:hover {
    background: var(--primary-red) !important;
}

/* ========================================
   STICKY CATEGORY BAR
   ======================================== */

.sticky-category-bar {
    position: sticky !important;
    top: 100px !important;
    background: var(--bg-card) !important;
    z-index: 998 !important;
    box-shadow: var(--shadow-md) !important;
    border-bottom: 1px solid var(--border-dark) !important;
    margin-bottom: 24px !important;
    opacity: 0 !important;
    transform: translateY(-100%) !important;
    transition: all 0.3s ease !important;
}

.sticky-category-bar.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ========================================
   ADVANCED ANIMATIONS
   ======================================== */

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

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

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Optimized fade-in animation - Removed stagger to prevent CLS (Cumulative Layout Shift) */
.woocommerce ul.products li.product {
    animation: fadeIn 0.3s ease-in-out !important;
    /* Use transform for better performance */
    will-change: transform;
}

/* Reduce paint operations */
@media (prefers-reduced-motion: reduce) {
    .woocommerce ul.products li.product {
        animation: none !important;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed !important;
    bottom: 180px !important;
    right: 24px !important;
    width: 48px !important;
    height: 48px !important;
    background: var(--bg-card) !important;
    border: 2px solid var(--border-dark) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    z-index: 9996 !important;
}

.back-to-top.visible {
    opacity: 1 !important;
    visibility: visible !important;
}

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

.back-to-top-icon {
    color: var(--text-white) !important;
    font-size: 20px !important;
}

/* Mobile adjustments for floating buttons */
@media (max-width: 768px) {
    .wishlist-floating-btn {
        bottom: 80px !important;
        right: 16px !important;
        width: 48px !important;
        height: 48px !important;
    }

    .back-to-top {
        bottom: 140px !important;
        right: 16px !important;
    }
}


/* ========================================
   HEADING COLORS - FOODSE LOGO COLOR
   ======================================== */

/* Page title - "Wietnamskie smaki w sercu Krakowa" */
h1.entry-title,
.page h1.entry-title,
.woocommerce h2.entry-title,
.single h1.entry-title {
    color: #c16f2d !important; /* FOODSE logo color - updated 31/10/2025 */
}


/* ========================================
   NAVBAR TOGGLE & SOCIAL ICONS - HEADER
   ======================================== */

/* Hamburger Menu - Orange Color */
.navbar-toggle {
    position: relative;
    padding: 10px !important;
    background: transparent !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.navbar-toggle .icon-bar {
    display: block;
    width: 26px !important;
    height: 3px !important;
    background-color: var(--primary-orange, #FF8533) !important;
    border-radius: 2px !important;
    margin: 5px 0 !important;
    transition: all 0.3s ease !important;
}

.navbar-toggle:hover .icon-bar {
    background-color: #FFD700 !important;
}

/* Social Icons Container */
.foodse-mobile-social-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
}

/* Social Icon Buttons */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--text-white, #FFFFFF) !important;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.social-icon:hover {
    background: var(--primary-orange, #FF8533);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 133, 51, 0.4);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Facebook specific */
.social-facebook svg {
    width: 22px;
    height: 22px;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--text-white, #FFFFFF);
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--primary-orange, #FF8533);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 133, 51, 0.4);
}

.lang-btn svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   SEARCH BUTTON & OVERLAY
   ============================================ */

/* Search Button in Header */
.header-search-btn {
    display: flex;
    align-items: center;
    margin-left: 8px;
    margin-right: 10px;
}

.search-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--text-white, #FFFFFF);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.search-icon-btn:hover {
    background: var(--primary-orange, #FF8533);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 133, 51, 0.4);
}

.search-icon-btn svg {
    width: 22px;
    height: 22px;
}

/* Search Overlay */
.foodse-search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.foodse-search-overlay.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    opacity: 1;
}

.search-overlay-content {
    width: 100%;
    max-width: 800px;
    position: relative;
    padding: 0 20px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.search-close-btn {
    position: absolute;
    top: -50px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--text-white, #FFFFFF);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.search-close-btn:hover {
    background: var(--primary-orange, #FF8533);
    border-color: var(--primary-orange, #FF8533);
    transform: rotate(90deg);
}

.search-close-btn svg {
    width: 24px;
    height: 24px;
}

.search-overlay-inner h2 {
    color: var(--text-white, #FFFFFF);
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.search-input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray, #B0B0B0);
    width: 24px;
    height: 24px;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 18px 60px 18px 60px;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--text-white, #FFFFFF);
    outline: none;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: var(--text-gray, #B0B0B0);
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-orange, #FF8533);
    box-shadow: 0 0 20px rgba(255, 133, 51, 0.3);
}

.search-loading {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
}

.search-loading.active {
    display: block;
}

.loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--primary-orange, #FF8533);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Search Results */
.search-results {
    max-height: 500px;
    overflow-y: auto;
    margin-top: 20px;
}

.search-results::-webkit-scrollbar {
    width: 8px;
}

.search-results::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.search-results::-webkit-scrollbar-thumb {
    background: var(--primary-orange, #FF8533);
    border-radius: 10px;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-white, #FFFFFF);
}

.search-result-item:hover {
    background: rgba(255, 133, 51, 0.2);
    transform: translateX(5px);
}

.search-result-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
}

.search-result-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white, #FFFFFF);
    margin-bottom: 5px;
}

.search-result-price {
    font-size: 16px;
    color: var(--primary-orange, #FF8533);
    font-weight: 600;
}

.search-no-results {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-gray, #B0B0B0);
    font-size: 16px;
}

.search-no-results svg {
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .search-overlay-content {
        padding: 0 15px;
    }

    .search-overlay-inner h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .search-input {
        padding: 15px 50px 15px 50px;
        font-size: 16px;
    }

    .search-result-image {
        width: 60px;
        height: 60px;
    }

    .search-result-title {
        font-size: 14px;
    }

    .search-result-price {
        font-size: 14px;
    }

    .search-close-btn {
        top: -45px;
        width: 40px;
        height: 40px;
    }

    .header-search-btn .search-icon-btn {
        width: 36px !important;
        height: 36px !important;
    }

    .header-search-btn .search-icon-btn svg {
        width: 20px !important;
        height: 20px !important;
    }
}

/* Header layout adjustments */
.side-panel-btn {
    display: inline-flex;
    align-items: center;
}

/* Hide Menu navigation in slideNav sidebar (not needed) */
#side-nav,
#slideNav .side-nav {
    display: none !important;
}

/* Responsive - show only on mobile/tablet */
@media (min-width: 1200px) {
    .foodse-mobile-social-icons {
        display: none !important;
    }
}

@media (max-width: 1199px) {
    .foodse-mobile-social-icons {
        display: flex !important;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .lang-btn {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 768px) {
    .foodse-mobile-social-icons {
        gap: 6px;
        margin-left: 10px;
    }
    
    .social-icon {
        width: 34px;
        height: 34px;
    }
    
    .lang-btn {
        width: 34px;
        height: 34px;
    }
}

/* ========================================
   END NAVBAR TOGGLE & SOCIAL ICONS
   ======================================== */

/* ========================================
   ADDRESS SELECTION BUTTON - HEADER
   ======================================== */

.foodse-address-selection {
    margin: 20px 0;
    text-align: center;
}

.foodse-address-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 500px;
    padding: 15px 20px !important;
    background: linear-gradient(135deg, #FF8533 0%, #FF6B35 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    box-shadow: 0 4px 16px rgba(255, 133, 51, 0.3) !important;
    transition: all 0.3s ease !important;
    animation: pulse-shadow 2s infinite;
}

.foodse-address-btn:hover {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8533 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 133, 51, 0.4) !important;
    color: #fff !important;
}

.foodse-address-btn svg {
    flex-shrink: 0;
    min-width: 16px;
}

.foodse-address-btn .address-text {
    flex: 1;
    text-align: left;
    margin-left: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    color: #ffffff;
}

@keyframes pulse-shadow {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(255, 133, 51, 0.3);
    }
    50% {
        box-shadow: 0 6px 24px rgba(255, 133, 51, 0.5);
    }
}

/* Address Modal Styling */
#addressModal .modal-content {
    border-radius: 12px;
    border: none;
    background: #ffffff;
}

#addressModal .modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

#addressModal .modal-header {
    background: linear-gradient(135deg, #FF8533 0%, #FF6B35 100%);
    color: #fff;
    border-radius: 12px 12px 0 0;
    padding: 16px 20px;
    border-bottom: none;
    position: relative;
}

#addressModal .modal-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    padding-right: 30px;
}

#addressModal .close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    opacity: 1;
    text-shadow: none;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    cursor: pointer;
}

#addressModal .close:hover {
    opacity: 0.8;
}

#addressModal .modal-body {
    padding: 20px;
    background: #ffffff;
}

#addressModal .form-group {
    margin-bottom: 14px;
}

#addressModal .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #333333;
}

#addressModal .form-control:focus {
    border-color: #FF8533;
    box-shadow: 0 0 0 0.2rem rgba(255, 133, 51, 0.25);
    background: #ffffff;
}

#addressModal label {
    font-weight: 600;
    color: #333333;
    margin-bottom: 6px;
    font-size: 13px;
    display: block;
}

#addressModal .btn-primary {
    background: linear-gradient(135deg, #FF8533 0%, #FF6B35 100%);
    border: none;
    padding: 12px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: 6px;
}

#addressModal .btn-primary:hover {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8533 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 133, 51, 0.3);
}

/* Desktop - Compact modal */
@media (min-width: 768px) {
    #addressModal .modal-dialog {
        max-width: 480px;
    }
}

/* Desktop - Hide address button */
@media (min-width: 1200px) {
    .foodse-address-selection {
        display: none !important;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .foodse-address-btn {
        font-size: 14px !important;
        padding: 12px 15px !important;
    }
    
    #addressModal .modal-dialog {
        margin: 10px;
    }
    
    #addressModal .modal-body {
        padding: 20px;
    }
}

/* ========================================
   END ADDRESS SELECTION
   ======================================== */

/* ============================================
   HEADER SOCIAL ICONS (Desktop)
   ============================================ */

/* Wrapper inner layout - flexbox để align items */
.site-header .wrapper-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
}


/* ============================================
   MOBILE SOCIAL ICONS FIX
   ============================================ */

/* Show header social icons on ALL devices (desktop + mobile) */
.header-social-icons {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    margin-right: 10px;
    order: 2;
}

/* Mobile specific adjustments */
@media (max-width: 1024px) {
    .header-social-icons {
        display: flex !important; /* Override previous hide */
        gap: 8px;
        margin-right: 10px;
    }
    
    .header-social-icons .social-icon {
        width: 36px !important;
        height: 36px !important;
    }
    
    .header-social-icons .social-icon svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    /* Make sure hamburger is still on the right */
    .site-header .wrapper-inner {
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }
    
    .navbar-brand {
        flex: 0 0 auto;
        order: 0;
    }
    
    .main-navbar {
        display: none; /* Hide navigation menu on mobile */
    }
    
    .header-social-icons {
        flex: 0 0 auto;
        order: 1;
        margin-left: auto !important;
    }

    .header-search-btn {
        flex: 0 0 auto;
        order: 2;
        margin-left: 0 !important;
        margin-right: 8px !important;
    }

    .side-panel-btn {
        flex: 0 0 auto;
        order: 3;
        margin-left: 0 !important;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .header-social-icons {
        gap: 10px;
        margin-right: 15px;
    }
    
    .header-social-icons .social-icon {
        width: 38px !important;
        height: 38px !important;
    }
}


/* ============================================
   ABOUT US PAGE - RESTAURANT SECTIONS
   ============================================ */

/* Company Introduction */
.company-intro-title {
    font-size: 2.5rem;
    color: #FF8533;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.company-intro-subtitle {
    font-size: 1.2rem;
    color: #B0B0B0;
    text-align: center;
    margin-bottom: 2rem;
}

.company-intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
    color: #FFFFFF;
}

/* Section Title */
.section-title {
    font-size: 2rem;
    color: #FF8533;
    text-align: center;
    margin: 3rem 0 2rem;
    font-weight: 600;
}

/* Restaurant Grid */
.restaurant-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Restaurant Card */
.restaurant-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 133, 51, 0.2);
}

.restaurant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(255, 133, 51, 0.3);
    border-color: rgba(255, 133, 51, 0.5);
}

/* Alternate layout for even cards */
.restaurant-card:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.restaurant-card:nth-child(even) .restaurant-image {
    order: 2;
}

.restaurant-card:nth-child(even) .restaurant-content {
    order: 1;
}

/* Restaurant Image */
.restaurant-image {
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

.restaurant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Restaurant Content */
.restaurant-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.restaurant-content h4 {
    font-size: 1.8rem;
    color: #FF8533;
    margin-bottom: 1rem;
    font-weight: 600;
}

.restaurant-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #E0E0E0;
    margin-bottom: 1.5rem;
}

/* Restaurant Highlights */
.restaurant-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.restaurant-highlights li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: #FFD700;
    font-size: 0.95rem;
}

.restaurant-highlights li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #FF8533;
    font-weight: bold;
}

/* Location Section */
.location-title {
    font-size: 2rem;
    color: #FF8533;
    text-align: center;
    margin: 3rem 0 1.5rem;
    font-weight: 600;
}

.location-address {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.location-map {
    max-width: 1200px;
    margin: 2rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.location-map iframe {
    display: block;
    width: 100%;
    height: 450px;
}

.location-contact {
    font-size: 1.1rem;
    text-align: center;
    margin-top: 2rem;
    color: #FF8533;
}

/* Responsive Design */

/* Tablet */
@media (max-width: 1024px) {
    .restaurant-card {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .restaurant-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .restaurant-card:nth-child(even) .restaurant-image {
        order: 1;
    }

    .restaurant-card:nth-child(even) .restaurant-content {
        order: 2;
    }

    .restaurant-image {
        min-height: 300px;
    }

    .company-intro-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.7rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .restaurant-grid {
        gap: 2rem;
        padding: 1rem;
    }

    .restaurant-card {
        border-radius: 8px;
    }

    .restaurant-image {
        min-height: 250px;
    }

    .restaurant-content {
        padding: 1.5rem;
    }

    .restaurant-content h4 {
        font-size: 1.5rem;
    }

    .restaurant-description {
        font-size: 0.95rem;
    }

    .company-intro-title {
        font-size: 1.7rem;
    }

    .company-intro-subtitle {
        font-size: 1rem;
    }

    .company-intro-text {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .location-map iframe {
        height: 350px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .restaurant-card {
        gap: 0;
    }

    .restaurant-image {
        min-height: 200px;
    }

    .restaurant-content {
        padding: 1rem;
    }

    .restaurant-content h4 {
        font-size: 1.3rem;
    }

    .restaurant-highlights li {
        font-size: 0.9rem;
    }

    .location-map iframe {
        height: 300px;
    }
}


/* ============================================
   REDUCE HEADER HEIGHT - COMPACT MENU
   ============================================ */

/* Main header - reduce padding */
.site-header,
#masthead {
    padding: 0 !important;
}

/* Header container - reduce vertical padding */
.header-desktop-container {
    padding: 10px 24px !important; /* Reduced from 20px to 10px */
}

.site-header.scrolled .header-desktop-container {
    padding: 8px 24px !important; /* Reduced from 12px to 8px */
}

/* Wrapper inner - reduce height */
.site-header .wrapper-inner {
    padding: 10px 20px !important; /* Compact padding */
    min-height: auto !important;
}

.site-header .wrapper {
    padding: 10px 0 !important; /* Reduce wrapper padding */
}

/* Logo - smaller size for compact header */
.custom-logo {
    max-width: 140px !important; /* Reduced from 160px */
    max-height: 50px !important; /* Limit height */
}

.navbar-brand {
    margin: 0 !important;
    padding: 0 !important;
}

.navbar-brand .tagline {
    font-size: 12px !important; /* Smaller tagline */
    margin-top: 2px !important;
}

/* Navigation menu - reduce spacing */
.main-navbar {
    padding: 0 !important;
}

#navbar-main {
    padding: 0 !important;
}

.nav.navbar-nav {
    margin: 0 !important;
    padding: 0 !important;
}

.nav.navbar-nav > li {
    margin: 0 8px !important; /* Reduce horizontal spacing */
}

.nav.navbar-nav > li > a {
    padding: 8px 12px !important; /* Reduce link padding (was probably 15px 20px) */
    font-size: 15px !important; /* Slightly smaller font */
    line-height: 1.4 !important;
}

/* Social icons - compact */
.header-social-icons {
    margin-right: 8px !important;
}

.header-social-icons .social-icon {
    width: 36px !important; /* Reduced from 40px */
    height: 36px !important;
}

.header-social-icons .social-icon svg {
    width: 18px !important;
    height: 18px !important;
}

/* Hamburger button - compact */
.side-panel-btn {
    padding: 8px !important;
}

.navbar-toggle {
    padding: 6px 8px !important;
}

.navbar-toggle .icon-bar {
    height: 2px !important;
    margin: 4px 0 !important;
}

/* Mobile adjustments */
@media (max-width: 1024px) {
    .site-header .wrapper-inner {
        padding: 8px 15px !important;
    }

    .custom-logo {
        max-width: 120px !important;
        max-height: 45px !important;
    }

    .navbar-brand .tagline {
        font-size: 11px !important;
    }
}

@media (max-width: 768px) {
    .site-header .wrapper-inner {
        padding: 8px 12px !important;
    }

    .custom-logo {
        max-width: 100px !important;
        max-height: 40px !important;
    }
}

/* ============================================
   STICKY MENU ON SCROLL
   ============================================ */

/* Make header sticky at top */
.site-header,
#masthead {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    background: var(--black-bg) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}

/* Ensure header stays on top when scrolling */
.site-header.scrolled {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
}

/* ============================================
   HIDE BOTTOM RIGHT BUTTONS
   ============================================ */

/* Hide Back to Top button */
.back-to-top {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Hide Wishlist floating button */
.wishlist-floating-btn {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Ensure no bottom-right floating elements show */
[class*="floating-btn"],
[class*="back-to-top"],
[class*="scroll-to-top"] {
    display: none !important;
}

/* Mobile - also hide on mobile */
@media (max-width: 768px) {
    .back-to-top,
    .wishlist-floating-btn {
        display: none !important;
    }
}

/* ============================================


/* ============================================
   SIMPLE CLEAN SIDEBAR - RIGHT SIDE
   Minimal, functional, mobile-friendly
   ============================================ */

/* ===== HAMBURGER BUTTON ===== */

/* Move hamburger to far right */
.site-header .wrapper-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.side-panel-btn,
.navbar-toggle {
    order: 999 !important;
    margin-left: auto !important;
    margin-right: 16px !important;
}

/* Simple hamburger styling */
.side-panel-btn {
    width: 40px !important;
    height: 40px !important;
    padding: 8px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
}

/* ===== SIDEBAR CONTAINER ===== */

/* Hidden by default */
#pageslide {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 320px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    background: #1a1a1a !important;
    z-index: 99999 !important;
    overflow-y: auto !important;
    transition: right 0.3s ease !important;
    box-shadow: -2px 0 8px rgba(0,0,0,0.3) !important;
}

/* Show when active */
#pageslide[style*="display: block"],
#pageslide.active,
body.pageslide-open #pageslide {
    right: 0 !important;
}

/* ===== SIDEBAR CONTENT ===== */

#slideNav {
    padding: 20px !important;
}

/* Close button */
.closeBtn {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    width: 32px !important;
    height: 32px !important;
    background: transparent !important;
    border: 2px solid #fff !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 24px !important;
    line-height: 28px !important;
    text-align: center !important;
    cursor: pointer !important;
}

.closeBtn:after {
    content: "×" !important;
}

.closeBtn:hover {
    background: #FF8533 !important;
    border-color: #FF8533 !important;
}

/* ===== MENU ===== */

#side-nav .menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 40px 0 0 0 !important;
}

#side-nav .menu-item {
    margin-bottom: 5px !important;
}

#side-nav .menu-item a {
    display: block !important;
    padding: 12px 15px !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 5px !important;
    transition: background 0.2s !important;
}

#side-nav .menu-item a:hover {
    background: #FF8533 !important;
}

#side-nav .menu-item.current-menu-item a {
    background: #FF8533 !important;
}

/* ===== OVERLAY ===== */

.pageslide-overlay,
#pageslide-overlay {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0,0,0,0.5) !important;
    z-index: 99998 !important;
}

body.pageslide-open .pageslide-overlay,
body.pageslide-open #pageslide-overlay {
    display: block !important;
}

/* Lock body scroll when sidebar open */
body.pageslide-open {
    overflow: hidden !important;
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {
    #pageslide {
        width: 280px !important;
    }
}

@media (max-width: 480px) {
    #pageslide {
        width: 260px !important;
    }
}

/* ============================================
   REMOVE ALL STICKY - BACK TO NORMAL
   Bỏ hết menu sticky, trở về bình thường
   ============================================ */

/* ===== MAIN HEADER - NORMAL (NO STICKY) ===== */

.site-header,
#masthead {
    position: relative !important; /* Bình thường, KHÔNG sticky */
    top: auto !important;
    z-index: 999 !important;
}

/* Remove sticky classes */
.site-header.scrolled,
#masthead.scrolled {
    position: relative !important; /* Không sticky */
}

/* ===== CATEGORY MENU BAR - NORMAL (NO STICKY) ===== */

.wc-nhv-menu-bar-container {
    position: relative !important; /* Bình thường, KHÔNG sticky */
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    z-index: 100 !important; /* Lower z-index */
}

.wc-nhv-menu-bar-container.is-fixed {
    position: relative !important; /* KHÔNG sticky */
    top: auto !important;
}

/* ===== SIMPLE LAYOUT ===== */

/* Header normal flow */
.site-header {
    background: #000 !important;
    padding: 0 !important;
}

/* Category menu normal flow */
.wc-nhv-menu-bar-container {
    background: var(--bg-black, #0A0A0A) !important;
    padding: 12px 0 !important;
    margin-bottom: 30px !important;
}

/* ===== MOBILE - NO STICKY ===== */

@media (max-width: 768px) {
    .site-header,
    #masthead {
        position: relative !important;
    }

    .wc-nhv-menu-bar-container {
        position: relative !important;
        width: 100% !important;
    }
}

/* ========================================
   CART PAGE IMPROVEMENTS - PHASE 1
   Research-based UX fixes for cart page
   ======================================== */

/* ===== TASK 1.1: HIDE SHOP SIDEBAR ON CART/CHECKOUT ===== */

.woocommerce-cart .shop-sidebar,
.woocommerce-checkout .shop-sidebar,
.woocommerce-cart #secondary,
.woocommerce-checkout #secondary {
    display: none !important;
}

.woocommerce-cart .shop-main-content,
.woocommerce-checkout .shop-main-content,
.woocommerce-cart #primary,
.woocommerce-checkout #primary,
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    float: none !important;
}

/* Remove sidebar wrapper completely on cart/checkout */
.woocommerce-cart .content-area,
.woocommerce-checkout .content-area {
    width: 100% !important;
    margin: 0 auto !important;
}


/* ===== TASK 1.2: DARK THEME CART STYLING ===== */

/* Cart Page Container */
.woocommerce-cart,
.woocommerce-cart .woocommerce {
    background: #000000 !important;
    color: #FFFFFF !important;
}

.woocommerce-cart .entry-content {
    background: #000000 !important;
}

/* Cart Form Container */
.woocommerce-cart .woocommerce-cart-form {
    background: #1A1A1A !important;
    border-radius: 12px !important;
    padding: 30px !important;
    box-shadow: 0 4px 20px rgba(255, 133, 51, 0.1) !important;
    margin-bottom: 30px !important;
}

/* Cart Table */
.woocommerce-cart table.shop_table {
    background: transparent !important;
    border: none !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #333333 !important;
    color: #FFFFFF !important;
    padding: 20px 15px !important;
    vertical-align: middle !important;
}

.woocommerce-cart table.shop_table thead th {
    color: #B0B0B0 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-weight: 600 !important;
    border-bottom: 2px solid #FF8533 !important;
}

.woocommerce-cart table.shop_table tbody tr:last-child td {
    border-bottom: none !important;
}

/* Product Thumbnail */
.woocommerce-cart .product-thumbnail {
    width: 100px !important;
}

.woocommerce-cart .product-thumbnail img {
    border-radius: 8px !important;
    border: 2px solid #333333 !important;
    transition: all 0.3s ease !important;
    max-width: 100px !important;
    height: auto !important;
}

.woocommerce-cart .product-thumbnail:hover img {
    border-color: #FF8533 !important;
    transform: scale(1.05) !important;
}

/* Product Name */
.woocommerce-cart .product-name {
    font-weight: 600 !important;
}

.woocommerce-cart .product-name a {
    color: #FFFFFF !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.woocommerce-cart .product-name a:hover {
    color: #FF8533 !important;
}

/* Price Display */
.woocommerce-cart .product-price,
.woocommerce-cart .product-subtotal,
.woocommerce-cart .amount {
    color: #FFD700 !important;
    font-weight: 700 !important;
    font-size: 18px !important;
}

.woocommerce-cart .woocommerce-Price-amount {
    color: #FFD700 !important;
}

/* Quantity Input */
.woocommerce-cart .quantity {
    margin: 0 auto !important;
}

.woocommerce-cart .quantity input[type="number"],
.woocommerce-cart .quantity input[type="text"],
.woocommerce-cart .quantity .qty {
    background: #2A2A2A !important;
    border: 2px solid #333333 !important;
    color: #FFFFFF !important;
    border-radius: 8px !important;
    padding: 10px 15px !important;
    min-width: 60px !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    -moz-appearance: textfield !important;
}

.woocommerce-cart .quantity input::-webkit-outer-spin-button,
.woocommerce-cart .quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.woocommerce-cart .quantity input:focus {
    border-color: #FF8533 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255, 133, 51, 0.2) !important;
}

/* Remove Button */
.woocommerce-cart .product-remove {
    text-align: center !important;
}

.woocommerce-cart .product-remove a {
    background: #2A2A2A !important;
    color: #FF6B6B !important;
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    font-size: 18px !important;
    text-decoration: none !important;
}

.woocommerce-cart .product-remove a:hover {
    background: #FF6B6B !important;
    color: #FFFFFF !important;
    transform: scale(1.1) rotate(90deg) !important;
}

/* Update Cart Button */
.woocommerce-cart button[name="update_cart"],
.woocommerce-cart input[name="update_cart"] {
    background: #2A2A2A !important;
    color: #FFFFFF !important;
    border: 2px solid #FF8533 !important;
    padding: 12px 30px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.woocommerce-cart button[name="update_cart"]:hover,
.woocommerce-cart input[name="update_cart"]:hover {
    background: #FF8533 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(255, 133, 51, 0.4) !important;
}

.woocommerce-cart button[name="update_cart"]:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

/* Actions Row */
.woocommerce-cart .actions {
    background: transparent !important;
    padding: 20px 0 0 !important;
}

/* Coupon Code */
.woocommerce-cart .coupon {
    margin-right: 15px !important;
}

.woocommerce-cart .coupon label {
    color: #B0B0B0 !important;
    display: block !important;
    margin-bottom: 8px !important;
}

.woocommerce-cart .coupon input[type="text"] {
    background: #2A2A2A !important;
    border: 2px solid #333333 !important;
    color: #FFFFFF !important;
    padding: 12px 15px !important;
    border-radius: 8px !important;
    margin-right: 10px !important;
}

.woocommerce-cart .coupon input[type="text"]:focus {
    border-color: #FF8533 !important;
    outline: none !important;
}

.woocommerce-cart .coupon button {
    background: #2A2A2A !important;
    color: #FFFFFF !important;
    border: 2px solid #28A745 !important;
    padding: 12px 25px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.woocommerce-cart .coupon button:hover {
    background: #28A745 !important;
}

/* Cart Totals Sidebar */
.woocommerce-cart .cart-collaterals {
    width: 100% !important;
    float: none !important;
}

.woocommerce-cart .cart_totals {
    background: #1A1A1A !important;
    border-radius: 12px !important;
    padding: 30px !important;
    box-shadow: 0 4px 20px rgba(255, 133, 51, 0.1) !important;
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 0 0 auto !important;
}

.woocommerce-cart .cart_totals h2 {
    color: #FFFFFF !important;
    font-size: 24px !important;
    margin-bottom: 20px !important;
    border-bottom: 2px solid #FF8533 !important;
    padding-bottom: 15px !important;
}

.woocommerce-cart .cart_totals table {
    background: transparent !important;
    border: none !important;
}

.woocommerce-cart .cart_totals th,
.woocommerce-cart .cart_totals td {
    background: transparent !important;
    border: none !important;
    color: #B0B0B0 !important;
    padding: 12px 0 !important;
    font-size: 16px !important;
}

.woocommerce-cart .cart_totals .cart-subtotal th,
.woocommerce-cart .cart_totals .cart-subtotal td {
    padding-top: 0 !important;
}

.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td {
    color: #FFFFFF !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    border-top: 2px solid #333333 !important;
    padding-top: 20px !important;
}

.woocommerce-cart .cart_totals .order-total .woocommerce-Price-amount {
    color: #FFD700 !important;
    font-size: 26px !important;
}

/* Shipping Methods */
.woocommerce-cart .cart_totals .woocommerce-shipping-methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 10px 0 !important;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods li {
    color: #B0B0B0 !important;
    padding: 8px 0 !important;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods input[type="radio"] {
    margin-right: 10px !important;
    accent-color: #FF8533 !important;
}

/* Proceed to Checkout Button - ORANGE PRIMARY */
.woocommerce-cart .wc-proceed-to-checkout {
    padding: 0 !important;
    background: transparent !important;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.woocommerce-cart .wc-proceed-to-checkout .button {
    background: linear-gradient(135deg, #FF8533 0%, #FF6B35 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    padding: 18px 40px !important;
    border-radius: 12px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 20px rgba(255, 133, 51, 0.4) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: block !important;
    text-align: center !important;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout .button:hover {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8533 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 30px rgba(255, 133, 51, 0.6) !important;
}

/* Empty Cart Message */
.woocommerce-cart .cart-empty,
.woocommerce-cart .woocommerce-info {
    background: #1A1A1A !important;
    color: #B0B0B0 !important;
    padding: 40px 30px !important;
    text-align: center !important;
    border-radius: 12px !important;
    font-size: 18px !important;
    border: 2px solid #333333 !important;
}

.woocommerce-cart .cart-empty::before,
.woocommerce-cart .woocommerce-info::before {
    color: #FF8533 !important;
}

.woocommerce-cart .return-to-shop {
    margin-top: 20px !important;
}

.woocommerce-cart .return-to-shop .button {
    background: #FF8533 !important;
    color: #FFFFFF !important;
    padding: 15px 40px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
}

.woocommerce-cart .return-to-shop .button:hover {
    background: #FF6B35 !important;
    transform: translateY(-2px) !important;
}

/* Cross-sells */
.woocommerce-cart .cross-sells {
    background: #1A1A1A !important;
    border-radius: 12px !important;
    padding: 30px !important;
    margin-top: 40px !important;
}

.woocommerce-cart .cross-sells h2 {
    color: #FFFFFF !important;
    border-bottom: 2px solid #FF8533 !important;
    padding-bottom: 15px !important;
    margin-bottom: 25px !important;
}

.woocommerce-cart .cross-sells .products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

.woocommerce-cart .cross-sells .product {
    background: #2A2A2A !important;
    border-radius: 8px !important;
    padding: 15px !important;
    transition: all 0.3s ease !important;
}

.woocommerce-cart .cross-sells .product:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(255, 133, 51, 0.3) !important;
}

/* WooCommerce Messages */
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-error,
.woocommerce-cart .woocommerce-notice {
    background: #1A1A1A !important;
    color: #FFFFFF !important;
    border-left: 4px solid #FF8533 !important;
    padding: 15px 20px !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
}

.woocommerce-cart .woocommerce-message::before,
.woocommerce-cart .woocommerce-error::before,
.woocommerce-cart .woocommerce-notice::before {
    color: #FF8533 !important;
}

.woocommerce-cart .woocommerce-error {
    border-left-color: #FF6B6B !important;
}

.woocommerce-cart .woocommerce-error::before {
    color: #FF6B6B !important;
}

.woocommerce-cart .woocommerce-message .button {
    background: #FF8533 !important;
    color: #FFFFFF !important;
    padding: 8px 20px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    float: right !important;
}

/* Loading/Blocking UI */
.woocommerce-cart .blockUI.blockOverlay {
    background: rgba(0, 0, 0, 0.8) !important;
}


/* ===== TASK 1.3: MOBILE CART OPTIMIZATION ===== */

/* Mobile Devices < 768px */
@media (max-width: 768px) {
    
    /* Cart Form - Reduce Padding */
    .woocommerce-cart .woocommerce-cart-form {
        padding: 20px 15px !important;
        border-radius: 8px !important;
    }
    
    /* Hide Table Headers - Use Card Layout */
    .woocommerce-cart table.shop_table thead {
        display: none !important;
    }
    
    /* Convert Table to Card Layout */
    .woocommerce-cart table.shop_table,
    .woocommerce-cart table.shop_table tbody,
    .woocommerce-cart table.shop_table tr,
    .woocommerce-cart table.shop_table td {
        display: block !important;
        width: 100% !important;
    }
    
    .woocommerce-cart table.shop_table tr {
        background: #2A2A2A !important;
        border-radius: 12px !important;
        padding: 20px 15px !important;
        margin-bottom: 20px !important;
        position: relative !important;
        border: 2px solid #333333 !important;
    }
    
    .woocommerce-cart table.shop_table tr:hover {
        border-color: #FF8533 !important;
    }
    
    .woocommerce-cart table.shop_table td {
        border: none !important;
        padding: 8px 0 !important;
        text-align: left !important;
    }
    
    /* Product Thumbnail - Float Left */
    .woocommerce-cart .product-thumbnail {
        float: left !important;
        width: 100px !important;
        margin-right: 15px !important;
        margin-bottom: 10px !important;
    }
    
    .woocommerce-cart .product-thumbnail img {
        width: 100px !important;
        height: 100px !important;
        object-fit: cover !important;
    }
    
    /* Product Name */
    .woocommerce-cart .product-name {
        margin-bottom: 10px !important;
        padding-top: 0 !important;
        font-size: 16px !important;
        line-height: 1.4 !important;
        min-height: 50px !important;
        display: block !important;
        clear: none !important;
    }
    
    .woocommerce-cart .product-name a {
        font-size: 16px !important;
    }
    
    /* Price - Add Label */
    .woocommerce-cart .product-price {
        display: block !important;
        clear: both !important;
        margin-bottom: 12px !important;
        padding-top: 10px !important;
    }
    
    .woocommerce-cart .product-price::before {
        content: "Cena: " !important;
        color: #B0B0B0 !important;
        margin-right: 8px !important;
        font-weight: 400 !important;
        font-size: 14px !important;
    }
    
    /* Quantity - Add Label and Bigger Touch Target */
    .woocommerce-cart .product-quantity {
        margin: 15px 0 !important;
        clear: both !important;
    }
    
    .woocommerce-cart .product-quantity::before {
        content: "Ilość: " !important;
        color: #B0B0B0 !important;
        display: block !important;
        margin-bottom: 10px !important;
        font-size: 14px !important;
    }
    
    .woocommerce-cart .product-quantity .quantity {
        display: inline-block !important;
    }
    
    .woocommerce-cart .product-quantity input {
        min-width: 80px !important;
        min-height: 48px !important; /* 44px+ for thumb-friendly */
        font-size: 18px !important;
        padding: 12px 18px !important;
    }
    
    /* Subtotal - Add Label */
    .woocommerce-cart .product-subtotal {
        margin-top: 15px !important;
        padding-top: 15px !important;
        border-top: 1px solid #333333 !important;
    }
    
    .woocommerce-cart .product-subtotal::before {
        content: "Suma: " !important;
        color: #B0B0B0 !important;
        margin-right: 8px !important;
        font-weight: 400 !important;
        font-size: 14px !important;
    }
    
    /* Remove Button - Top Right Corner, Bigger Touch Target */
    .woocommerce-cart .product-remove {
        position: absolute !important;
        top: 15px !important;
        right: 15px !important;
        padding: 0 !important;
    }
    
    .woocommerce-cart .product-remove a {
        width: 44px !important;  /* Thumb-friendly 44px */
        height: 44px !important;
        font-size: 20px !important;
        line-height: 44px !important;
    }
    
    /* Actions Row - Stack Vertically */
    .woocommerce-cart .actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        padding: 20px 0 !important;
    }
    
    .woocommerce-cart .actions .coupon {
        width: 100% !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .woocommerce-cart .actions .coupon input[type="text"] {
        width: 100% !important;
        margin: 0 !important;
        min-height: 48px !important;
    }
    
    .woocommerce-cart .actions .coupon button {
        width: 100% !important;
        min-height: 48px !important;
    }
    
    /* Update Cart Button - Full Width, Bigger */
    .woocommerce-cart button[name="update_cart"],
    .woocommerce-cart input[name="update_cart"] {
        width: 100% !important;
        padding: 16px 20px !important;
        font-size: 16px !important;
        min-height: 52px !important;
    }
    
    /* Cart Totals - Full Width */
    .woocommerce-cart .cart-collaterals {
        margin-top: 30px !important;
    }
    
    .woocommerce-cart .cart_totals {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 25px 20px !important;
    }
    
    .woocommerce-cart .cart_totals h2 {
        font-size: 20px !important;
    }
    
    .woocommerce-cart .cart_totals th,
    .woocommerce-cart .cart_totals td {
        font-size: 15px !important;
    }
    
    .woocommerce-cart .cart_totals .order-total th,
    .woocommerce-cart .cart_totals .order-total td {
        font-size: 20px !important;
    }
    
    .woocommerce-cart .cart_totals .order-total .woocommerce-Price-amount {
        font-size: 24px !important;
    }
    
    /* Sticky Checkout Button at Bottom */
    .woocommerce-cart .wc-proceed-to-checkout {
        position: sticky !important;
        bottom: 0 !important;
        background: #000000 !important;
        padding: 20px !important;
        margin: 0 -20px -20px !important;
        z-index: 999 !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5) !important;
        border-top: 2px solid #333333 !important;
    }
    
    .woocommerce-cart .wc-proceed-to-checkout .checkout-button,
    .woocommerce-cart .wc-proceed-to-checkout .button {
        min-height: 56px !important;  /* 44px+ for thumb */
        font-size: 17px !important;
        padding: 16px 30px !important;
    }
    
    /* Cross-sells - 2 Columns on Mobile */
    .woocommerce-cart .cross-sells {
        padding: 20px 15px !important;
        margin-top: 30px !important;
    }
    
    .woocommerce-cart .cross-sells .products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .woocommerce-cart .cross-sells h2 {
        font-size: 18px !important;
    }
    
    /* Messages */
    .woocommerce-cart .woocommerce-message,
    .woocommerce-cart .woocommerce-error,
    .woocommerce-cart .woocommerce-info {
        padding: 12px 15px !important;
        font-size: 14px !important;
    }
    
    /* Empty Cart */
    .woocommerce-cart .cart-empty,
    .woocommerce-cart .woocommerce-info {
        padding: 30px 20px !important;
        font-size: 16px !important;
    }
    
    .woocommerce-cart .return-to-shop .button {
        padding: 14px 30px !important;
        min-height: 48px !important;
    }
}

/* Tablet 769px - 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    
    .woocommerce-cart table.shop_table th,
    .woocommerce-cart table.shop_table td {
        padding: 15px 10px !important;
        font-size: 14px !important;
    }
    
    .woocommerce-cart .product-thumbnail {
        width: 80px !important;
    }
    
    .woocommerce-cart .product-thumbnail img {
        max-width: 80px !important;
    }
    
    .woocommerce-cart .cart_totals {
        max-width: 450px !important;
        margin-left: auto !important;
    }
    
    .woocommerce-cart .cross-sells .products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Small Mobile < 480px */
@media (max-width: 480px) {
    
    .woocommerce-cart .woocommerce-cart-form {
        padding: 15px 10px !important;
    }
    
    .woocommerce-cart table.shop_table tr {
        padding: 15px 10px !important;
    }
    
    .woocommerce-cart .product-thumbnail {
        width: 80px !important;
    }
    
    .woocommerce-cart .product-thumbnail img {
        width: 80px !important;
        height: 80px !important;
    }
    
    .woocommerce-cart .product-name a {
        font-size: 14px !important;
    }
    
    .woocommerce-cart .product-price,
    .woocommerce-cart .product-subtotal {
        font-size: 16px !important;
    }
    
    .woocommerce-cart .cart_totals {
        padding: 20px 15px !important;
    }
    
    .woocommerce-cart .wc-proceed-to-checkout {
        padding: 15px !important;
        margin: 0 -15px -15px !important;
    }
    
    .woocommerce-cart .wc-proceed-to-checkout .checkout-button,
    .woocommerce-cart .wc-proceed-to-checkout .button {
        font-size: 15px !important;
        padding: 14px 20px !important;
    }
}


/* ===== TASK 1.4: PROGRESS INDICATOR ===== */

/* Progress Indicator Container */
.foodse-checkout-progress {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 800px !important;
    margin: 40px auto !important;
    padding: 0 20px !important;
}

/* Progress Step */
.foodse-checkout-progress .progress-step {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Step Number Circle */
.foodse-checkout-progress .step-number {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: #2A2A2A !important;
    color: #B0B0B0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    border: 3px solid #333333 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Active Step - Orange */
.foodse-checkout-progress .progress-step.active .step-number {
    background: linear-gradient(135deg, #FF8533 0%, #FF6B35 100%) !important;
    color: #FFFFFF !important;
    border-color: #FF8533 !important;
    box-shadow: 0 0 20px rgba(255, 133, 51, 0.5) !important;
    transform: scale(1.1) !important;
}

/* Completed Step - Green with Checkmark */
.foodse-checkout-progress .progress-step.completed .step-number {
    background: linear-gradient(135deg, #28A745 0%, #20C997 100%) !important;
    border-color: #28A745 !important;
    color: #FFFFFF !important;
    font-size: 24px !important;
}

/* Step Label */
.foodse-checkout-progress .step-label {
    margin-top: 10px !important;
    color: #B0B0B0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    transition: color 0.3s ease !important;
}

.foodse-checkout-progress .progress-step.active .step-label {
    color: #FF8533 !important;
    font-weight: 700 !important;
}

.foodse-checkout-progress .progress-step.completed .step-label {
    color: #28A745 !important;
}

/* Progress Line */
.foodse-checkout-progress .progress-line {
    width: 80px !important;
    height: 3px !important;
    background: #333333 !important;
    margin: 0 10px !important;
    position: relative !important;
    top: -30px !important;
    transition: all 0.3s ease !important;
}

.foodse-checkout-progress .progress-line.completed {
    background: linear-gradient(90deg, #28A745 0%, #20C997 100%) !important;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.5) !important;
}

/* Mobile Progress Indicator */
@media (max-width: 768px) {
    .foodse-checkout-progress {
        padding: 0 10px !important;
        margin: 30px auto !important;
    }
    
    .foodse-checkout-progress .step-number {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
        border-width: 2px !important;
    }
    
    .foodse-checkout-progress .progress-step.active .step-number {
        transform: scale(1.05) !important;
    }
    
    .foodse-checkout-progress .progress-step.completed .step-number {
        font-size: 20px !important;
    }
    
    .foodse-checkout-progress .progress-line {
        width: 30px !important;
        top: -25px !important;
        height: 2px !important;
    }
    
    .foodse-checkout-progress .step-label {
        font-size: 11px !important;
        margin-top: 8px !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .foodse-checkout-progress .step-number {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }
    
    .foodse-checkout-progress .progress-line {
        width: 20px !important;
        margin: 0 5px !important;
    }
    
    .foodse-checkout-progress .step-label {
        font-size: 10px !important;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .foodse-checkout-progress .step-number {
        width: 46px !important;
        height: 46px !important;
    }
    
    .foodse-checkout-progress .progress-line {
        width: 60px !important;
    }
    
    .foodse-checkout-progress .step-label {
        font-size: 13px !important;
    }
}


/* ========================================
   PHASE 2: UX ENHANCEMENTS
   ======================================== */

/* ===== TASK 2.1: TRUST SIGNALS ===== */

/* Trust Signals Container */
.foodse-cart-trust-signals {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    margin-top: 30px !important;
    padding-top: 30px !important;
    border-top: 2px solid #333333 !important;
}

.foodse-cart-trust-signals .trust-signal {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    color: #B0B0B0 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    padding: 8px !important;
    border-radius: 6px !important;
}

.foodse-cart-trust-signals .trust-signal:hover {
    color: #FFFFFF !important;
    background: rgba(255, 133, 51, 0.1) !important;
}

.foodse-cart-trust-signals .trust-signal svg {
    color: #28A745 !important;
    flex-shrink: 0 !important;
    transition: transform 0.3s ease !important;
}

.foodse-cart-trust-signals .trust-signal:hover svg {
    transform: scale(1.1) !important;
}

/* Minimum Order Notice */
.foodse-minimum-order-notice {
    background: linear-gradient(135deg, #FF8533 0%, #FF6B35 100%) !important;
    color: #FFFFFF !important;
    padding: 15px 20px !important;
    border-radius: 12px !important;
    margin-bottom: 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    box-shadow: 0 4px 15px rgba(255, 133, 51, 0.3) !important;
    animation: pulseNotice 2s ease-in-out infinite !important;
}

@keyframes pulseNotice {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 133, 51, 0.3) !important;
    }
    50% {
        box-shadow: 0 6px 25px rgba(255, 133, 51, 0.5) !important;
    }
}

.foodse-minimum-order-notice svg {
    flex-shrink: 0 !important;
}

.foodse-minimum-order-notice span {
    line-height: 1.5 !important;
}

.foodse-minimum-order-notice strong {
    color: #FFD700 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* Mobile Trust Signals */
@media (max-width: 768px) {
    .foodse-cart-trust-signals {
        gap: 12px !important;
        padding-top: 20px !important;
        margin-top: 20px !important;
    }
    
    .foodse-cart-trust-signals .trust-signal {
        font-size: 13px !important;
        gap: 10px !important;
    }
    
    .foodse-cart-trust-signals .trust-signal svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    .foodse-minimum-order-notice {
        padding: 12px 15px !important;
        font-size: 14px !important;
    }
    
    .foodse-minimum-order-notice svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    .foodse-minimum-order-notice strong {
        font-size: 16px !important;
    }
}


/* ===== TASK 2.2: SMART UPSELLING ===== */

/* Cart Upsells Container */
.foodse-cart-upsells {
    margin: 60px 0 40px !important;
    padding: 40px !important;
    background: #1A1A1A !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(255, 133, 51, 0.1) !important;
}

.foodse-cart-upsells h3 {
    color: #FFFFFF !important;
    font-size: 26px !important;
    margin-bottom: 30px !important;
    text-align: center !important;
    border-bottom: 2px solid #FF8533 !important;
    padding-bottom: 15px !important;
    font-weight: 700 !important;
}

/* Upsell Products Carousel */
.foodse-cart-upsells .upsell-products {
    position: relative;
}

.foodse-cart-upsells .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.foodse-cart-upsells .owl-nav button {
    background: rgba(255, 133, 51, 0.9) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: all !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.foodse-cart-upsells .owl-nav button:hover {
    background: #FF6B35 !important;
    transform: scale(1.1) !important;
}

.foodse-cart-upsells .owl-nav button svg {
    width: 20px;
    height: 20px;
    stroke-width: 3;
}

.foodse-cart-upsells .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.foodse-cart-upsells .owl-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3) !important;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
    border: none;
}

.foodse-cart-upsells .owl-dot.active {
    background: #FF8533 !important;
    width: 30px;
    border-radius: 6px;
}

/* Upsell Product Card */
.foodse-cart-upsells .upsell-product-card {
    background: #2A2A2A !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    border: 2px solid #333333 !important;
}

.foodse-cart-upsells .upsell-product-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(255, 133, 51, 0.3) !important;
    border-color: #FF8533 !important;
}

/* Product Image */
.foodse-cart-upsells .upsell-product-image {
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
}

.foodse-cart-upsells .upsell-product-image img {
    width: 100% !important;
    aspect-ratio: 1/1 !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.foodse-cart-upsells .upsell-product-card:hover .upsell-product-image img {
    transform: scale(1.1) !important;
}

/* Product Info */
.foodse-cart-upsells .upsell-product-info {
    padding: 20px !important;
}

.foodse-cart-upsells .upsell-product-info h4 {
    font-size: 16px !important;
    margin-bottom: 10px !important;
    min-height: 40px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.foodse-cart-upsells .upsell-product-info h4 a {
    color: #FFFFFF !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.foodse-cart-upsells .upsell-product-info h4 a:hover {
    color: #FF8533 !important;
}

/* Upsell Price */
.foodse-cart-upsells .upsell-price {
    color: #FFD700 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
}

.foodse-cart-upsells .upsell-price .woocommerce-Price-amount {
    color: #FFD700 !important;
}

/* Add to Cart Button */
.foodse-cart-upsells .add-upsell-to-cart,
.foodse-cart-upsells .view-product {
    background: #FF8533 !important;
    color: #FFFFFF !important;
    width: 100% !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    text-align: center !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.foodse-cart-upsells .add-upsell-to-cart svg {
    transition: transform 0.3s ease !important;
}

.foodse-cart-upsells .add-upsell-to-cart:hover,
.foodse-cart-upsells .view-product:hover {
    background: #FF6B35 !important;
    transform: scale(1.02) !important;
    box-shadow: 0 4px 15px rgba(255, 133, 51, 0.4) !important;
}

.foodse-cart-upsells .add-upsell-to-cart:hover svg {
    transform: rotate(90deg) !important;
}

.foodse-cart-upsells .view-product {
    background: #2A2A2A !important;
    border: 2px solid #FF8533 !important;
}

.foodse-cart-upsells .view-product:hover {
    background: #FF8533 !important;
}

/* Tablet Upsells */
@media (min-width: 769px) and (max-width: 1024px) {
    .foodse-cart-upsells .upsell-products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }
    
    .foodse-cart-upsells {
        padding: 30px 25px !important;
    }
    
    .foodse-cart-upsells h3 {
        font-size: 22px !important;
    }
}

/* Mobile Upsells */
@media (max-width: 768px) {
    .foodse-cart-upsells {
        margin: 40px 0 30px !important;
        padding: 25px 15px !important;
    }
    
    .foodse-cart-upsells h3 {
        font-size: 20px !important;
        margin-bottom: 20px !important;
    }
    
    .foodse-cart-upsells .upsell-products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .foodse-cart-upsells .upsell-product-info {
        padding: 15px !important;
    }
    
    .foodse-cart-upsells .upsell-product-info h4 {
        font-size: 14px !important;
        min-height: 36px !important;
    }
    
    .foodse-cart-upsells .upsell-price {
        font-size: 16px !important;
        margin-bottom: 12px !important;
    }
    
    .foodse-cart-upsells .add-upsell-to-cart,
    .foodse-cart-upsells .view-product {
        padding: 10px 15px !important;
        font-size: 13px !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .foodse-cart-upsells .upsell-products {
        gap: 12px !important;
    }
    
    .foodse-cart-upsells .upsell-product-info {
        padding: 12px !important;
    }
    
    .foodse-cart-upsells .upsell-product-info h4 {
        font-size: 13px !important;
    }
    
    .foodse-cart-upsells .upsell-price {
        font-size: 15px !important;
    }
}


/* ===== TASK 2.3: CONTINUE SHOPPING BUTTON ===== */

/* Continue Shopping Container */
.foodse-continue-shopping {
    margin-bottom: 20px !important;
    padding: 10px 0 !important;
}

.foodse-continue-shopping .continue-shopping-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #B0B0B0 !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    padding: 8px 15px !important;
    border-radius: 6px !important;
}

.foodse-continue-shopping .continue-shopping-btn:hover {
    color: #FF8533 !important;
    background: rgba(255, 133, 51, 0.1) !important;
}

.foodse-continue-shopping .continue-shopping-btn svg {
    transition: transform 0.3s ease !important;
}

.foodse-continue-shopping .continue-shopping-btn:hover svg {
    transform: translateX(-3px) !important;
}

/* Mobile Continue Shopping */
@media (max-width: 768px) {
    .foodse-continue-shopping {
        margin-bottom: 15px !important;
    }
    
    .foodse-continue-shopping .continue-shopping-btn {
        font-size: 14px !important;
        padding: 10px 12px !important;
    }
}


/* ========================================
   PRODUCT VIDEO STYLES
   ======================================== */

.product-media-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--bg-card);
}

.product-video-container {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 aspect ratio */
    overflow: hidden;
    border-radius: 12px;
    background: var(--bg-card);
    cursor: pointer;
}

.product-video,
.product-image-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.product-video {
    opacity: 1;
    z-index: 2;
}

.product-image-fallback {
    opacity: 1;
    z-index: 1;
}

/* Play indicator */
.video-play-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    pointer-events: none;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.product-video-container:hover .video-play-indicator {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Desktop hover effect */
@media (min-width: 1025px) {
    .product-video-container:hover {
        box-shadow: 0 8px 24px rgba(255, 133, 51, 0.3);
        transform: translateY(-2px);
        transition: all 0.3s ease;
    }
}

/* Mobile specific */
@media (max-width: 768px) {
    .product-video-container {
        border-radius: 8px;
    }
    
    .video-play-indicator svg {
        width: 36px;
        height: 36px;
    }
}

/* Loading state */
.product-video-container.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(255, 133, 51, 0.3);
    border-top-color: var(--primary-orange);
    border-radius: 50%;
    animation: spinner 0.8s linear infinite;
    z-index: 4;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* Video controls hidden */
.product-video::-webkit-media-controls {
    display: none !important;
}

.product-video::-webkit-media-controls-enclosure {
    display: none !important;
}


/* ========================================
   SINGLE PRODUCT PAGE VIDEO STYLES
   ======================================== */

.single-product-video-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.single-product-video-container {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 aspect ratio */
    overflow: hidden;
    border-radius: 16px;
    background: #1A1A1A;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.single-product-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-product-image-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .single-product-video-wrapper {
        max-width: 100%;
    }
    
    .single-product-video-container {
        border-radius: 12px;
    }
}


/* ========================================

/* ========================================
   SINGLE PRODUCT CAROUSEL (Video + Images)
   Desktop: Hình vuông phù hợp, Mobile: Full width
   ======================================== */

.single-product-carousel {
    position: relative;
    width: 100%;
    max-width: 600px; /* Desktop: Kích thước phù hợp */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    background: #1A1A1A;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.single-product-carousel .swiper-slide {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 aspect ratio - Hình vuông */
    overflow: hidden;
}

.single-product-carousel .swiper-slide video,
.single-product-carousel .swiper-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Đảm bảo ảnh/video fill đầy không bị méo */
}

/* Navigation Arrows - BÊN NGOÀI khung carousel */
.single-product-carousel .swiper-button-prev,
.single-product-carousel .swiper-button-next {
    color: #FF8533 !important;
    background: rgba(0, 0, 0, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Đẩy arrows ra ngoài */
.single-product-carousel .swiper-button-prev {
    left: -70px !important; /* Bên trái ngoài khung */
}

.single-product-carousel .swiper-button-next {
    right: -70px !important; /* Bên phải ngoài khung */
}

.single-product-carousel .swiper-button-prev:hover,
.single-product-carousel .swiper-button-next:hover {
    background: rgba(255, 133, 51, 0.95);
    color: #fff !important;
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(255, 133, 51, 0.4);
}

.single-product-carousel .swiper-button-prev::after,
.single-product-carousel .swiper-button-next::after {
    font-size: 20px;
    font-weight: bold;
}

/* Mobile: Arrows bên trong nhưng gần mép */
@media (max-width: 768px) {
    .single-product-carousel .swiper-button-prev {
        left: 10px !important;
    }
    
    .single-product-carousel .swiper-button-next {
        right: 10px !important;
    }
    
    .single-product-carousel .swiper-button-prev,
    .single-product-carousel .swiper-button-next {
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.6);
    }
    
    .single-product-carousel .swiper-button-prev::after,
    .single-product-carousel .swiper-button-next::after {
        font-size: 16px;
    }
}

/* Tablet: Arrows closer to carousel */
@media (min-width: 769px) and (max-width: 1024px) {
    .single-product-carousel .swiper-button-prev {
        left: -60px !important;
    }
    
    .single-product-carousel .swiper-button-next {
        right: -60px !important;
    }
}

/* Pagination Dots */
.single-product-carousel .swiper-pagination {
    bottom: 20px !important;
}

.single-product-carousel .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    width: 10px;
    height: 10px;
    margin: 0 5px !important;
    transition: all 0.3s ease;
}

.single-product-carousel .swiper-pagination-bullet-active {
    background: #FF8533;
    width: 24px;
    border-radius: 5px;
}

/* Video Indicator Badge */
/* Desktop: Larger size on big screens */
@media (min-width: 1200px) {
    .single-product-carousel {
        max-width: 650px; /* Slightly larger on desktop */
    }
}

/* Tablet: Medium size */
@media (min-width: 769px) and (max-width: 1199px) {
    .single-product-carousel {
        max-width: 500px;
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .single-product-carousel {
        border-radius: 12px;
        max-width: 100%; /* Full width on mobile */
        margin: 0; /* Remove auto margin on mobile */
    }
    
    .single-product-carousel .swiper-button-prev,
    .single-product-carousel .swiper-button-next {
        width: 36px;
        height: 36px;
    }
    
    .single-product-carousel .swiper-button-prev::after,
    .single-product-carousel .swiper-button-next::after {
        font-size: 14px;
    }
    
    .single-product-carousel .swiper-pagination {
        bottom: 10px !important;
    }
}

/* Hide default single video wrapper (replaced by carousel) */
.single-product-video-wrapper:not(.single-product-carousel) {
    display: none;
}


/* ========================================
   FORCE VERTICAL LAYOUT - ULTIMATE OVERRIDE
   ======================================== */

/* Remove default WooCommerce grid */
.single-product #content div.product,
.single-product.woocommerce #content div.product,
body.single-product div.product,
body.single-product.woocommerce div.product {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

/* Carousel MUST be full width first */
.single-product div.product > .single-product-carousel,
body.single-product div.product .single-product-carousel,
.single-product #content div.product .single-product-carousel {
    order: 1 !important;
    width: 100% !important;
    max-width: 800px !important;
    margin: 0 auto 40px auto !important;
    float: none !important;
    display: block !important;
}

/* Summary MUST be below carousel */
.single-product div.product > .summary,
body.single-product div.product .summary,
.single-product #content div.product .summary,
.single-product div.product > .entry-summary,
body.single-product div.product .entry-summary {
    order: 2 !important;
    width: 100% !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    float: none !important;
    display: block !important;
    clear: both !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Kill any WooCommerce default gallery/images wrapper */
.single-product div.product .images,
.single-product div.product .woocommerce-product-gallery,
body.single-product div.product .images,
body.single-product div.product .woocommerce-product-gallery {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

/* Desktop specific */
@media (min-width: 769px) {
    .single-product #content,
    .single-product .shop-wrapper {
        max-width: 1200px !important;
        margin: 0 auto !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .single-product div.product > .single-product-carousel {
        max-width: 100% !important;
        margin: 0 0 30px 0 !important;
    }
    
    .single-product div.product > .summary,
    .single-product div.product > .entry-summary {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}


/* ========================================
   WOOCOMMERCE TABS - MÀU CAM
   Opis, Składniki, Smak, Opinie
   ======================================== */

/* Tab navigation - Orange color */
.woocommerce-tabs ul.tabs.wc-tabs li a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    background: #FF8533 !important; /* Màu cam */
    color: #FFFFFF !important;
    border-color: #FF8533 !important;
    font-weight: 600;
    padding: 12px 20px !important;
    border-radius: 8px 8px 0 0 !important;
    transition: all 0.3s ease;
}

/* Active tab - Darker orange */
.woocommerce-tabs ul.tabs.wc-tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    background: #E67326 !important; /* Cam đậm hơn */
    color: #FFFFFF !important;
    border-bottom-color: #E67326 !important;
}

/* Tab hover */
.woocommerce-tabs ul.tabs.wc-tabs li a:hover,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    background: #FF9D5C !important; /* Cam sáng hơn */
    color: #FFFFFF !important;
}

/* Tab content panel */
.woocommerce-tabs .panel {
    background: #1A1A1A !important;
    border: 2px solid #FF8533 !important;
    border-radius: 0 0 8px 8px !important;
    padding: 30px !important;
    color: #FFFFFF !important;
}

.woocommerce-tabs .panel h2,
.woocommerce-tabs .panel h3 {
    color: #FF8533 !important;
    margin-bottom: 20px !important;
}


/* Tab list spacing - Force single line */
.woocommerce-tabs ul.tabs.wc-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    border-bottom: 2px solid #FF8533 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce-tabs ul.tabs.wc-tabs li {
    display: inline-block !important;
    margin: 0 5px !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    white-space: nowrap !important;
}

/* Move tabs to bottom with spacing */
.single-product div.product .woocommerce-tabs {
    order: 999 !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 80px auto 0 auto !important;
    padding-top: 40px !important;
}

/* Desktop only - more spacing */
@media (min-width: 769px) {
    .single-product div.product .woocommerce-tabs {
        margin-top: 100px !important;
        padding-top: 50px !important;
    }
}
