/* ==========================================================================
   UI.com Fonts & Global Styles
   ========================================================================== */

/* UI Sans Fonts */
@font-face {
    src: url(https://assets.ecomm.ui.com/static/fonts/ui-sans-v9-light.woff2) format("woff2");
    font-family: "UI Sans";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    src: url(https://assets.ecomm.ui.com/static/fonts/ui-sans-v9-regular.woff2) format("woff2");
    font-family: "UI Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    src: url(https://assets.ecomm.ui.com/static/fonts/ui-sans-v9-medium.woff2) format("woff2");
    font-family: "UI Sans";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    src: url(https://assets.ecomm.ui.com/static/fonts/ui-sans-v9-bold.woff2) format("woff2");
    font-family: "UI Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    src: url(https://assets.ecomm.ui.com/static/fonts/ui-sans-v9-black.woff2) format("woff2");
    font-family: "UI Sans";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}

/* Lato Fonts */
@font-face {
    src: url(https://assets.ecomm.ui.com/static/fonts/lato-regular.woff2) format("woff2");
    font-family: Lato;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    src: url(https://assets.ecomm.ui.com/static/fonts/lato-bold.woff2) format("woff2");
    font-family: Lato;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

/*
Theme Name: UniFi Store
Theme URI: http://77.233.222.136
Author: UniFi Store Team
Description: Магазин UniFi оборудования в стиле UI.com
Version: 3.2.1
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: unifi-store
*/

/* ==========================================================================
   1. CSS Variables
   ========================================================================== */
:root {
    /* Primary Colors */
    --ui-blue: #006FFF;
    --ui-blue-hover: #0059CC;
    --ui-blue-light: #E8F1FF;

    /* Neutral Colors */
    --ui-black: #000000;
    --ui-dark: #212427;
    --ui-gray-900: #262626;
    --ui-gray-800: #333333;
    --ui-gray-700: #4D4D4D;
    --ui-gray-600: #6B7280;
    --ui-gray-500: #808080;
    --ui-gray-400: #9CA3AF;
    --ui-gray-300: #B3B3B3;
    --ui-gray-200: #E5E7EB;
    --ui-gray-100: #F3F4F6;
    --ui-gray-50: #F9FAFB;
    --ui-white: #FFFFFF;

    /* Status Colors */
    --ui-success: #10B981;
    --ui-warning: #F59E0B;
    --ui-error: #EF4444;

    /* Typography */
    --font-primary: "UI Sans", Lato, HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;

    /* Border Radius */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-card: 0 1px 3px rgba(0,0,0,0.08);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;

    /* Layout */
    --header-height: 64px;
    --header-height-mobile: 56px;
    --nav-height: 80px;
    --nav-height-mobile: 70px;
    --container-max: 1440px;
    --container-padding: 24px;
    --container-padding-mobile: 16px;
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    font-synthesis: none;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--ui-dark);
    background: var(--ui-white);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    visibility: visible;
}

ul, ol {
    list-style: none;
}

button {
    letter-spacing: inherit;
    font-weight: inherit;
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ==========================================================================
   3. Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.25;
    color: var(--ui-dark);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

/* ==========================================================================
   4. Layout & Container
   ========================================================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.site-main {
    min-height: calc(100vh - var(--header-height) - var(--nav-height) - 200px);
}

/* ==========================================================================
   5. Header
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--ui-white);
    border-bottom: none;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 var(--container-padding);
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.site-logo img {
    height: 40px;
    width: auto;
}

.brand-logo {
    height: 36px;
    width: auto;
}
/* Main Logo */
#main-site-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
}

@media (min-width: 769px) {
    #main-site-logo {
        height: 120px;
    }
    
    .site-header {
        min-height: 140px;
    }
}
@media (max-width: 768px) {
    .site-header {
        position: relative;
        min-height: 56px;
    }
    
    .site-header .site-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin-top: 0;
    }
    
    #main-site-logo {
        height: 48px;
        width: auto;
    }
}

.store-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: var(--space-1) var(--space-2);
    background: var(--ui-gray-100);
    border-radius: var(--radius-xs);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ui-gray-600);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.header-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 56px;
    color: var(--ui-gray-600);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.header-btn:hover {
    background: var(--ui-gray-100);
    color: var(--ui-dark);
}

.header-btn img {
    filter: brightness(0);
    width: 20px;
    height: 20px;
}

/* Cart Badge */
.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 16px;
    height: 40px;
    padding: 0 4px;
    background: var(--ui-blue);
    color: var(--ui-white);
    font-size: 10px;
    font-weight: 600;
    line-height: 40px;
    text-align: center;
    border-radius: var(--radius-full);
}

.cart-count:empty,
.cart-count.empty {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 56px;
    align-items: center;
    justify-content: center;
    color: var(--ui-dark);
    border-radius: var(--radius-md);
}

.mobile-menu-toggle span {
    visibility: visible;
    width: 20px;
    height: 2px;
    background: currentColor;
    position: relative;
    transition: var(--transition-base);
}

.mobile-menu-toggle span::before,
.mobile-menu-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: var(--transition-base);
}

.mobile-menu-toggle span::before { top: -6px; }
.mobile-menu-toggle span::after { top: 6px; }

/* ==========================================================================
   6. Category Navigation
   ========================================================================== */
/* === Category Navigation - UI.com Style === */
.category-nav {
    display: flex;
    justify-content: center;
    padding: 0;
    border-top: none;
    background: var(--ui-white);
    overflow-x: auto;
}

.category-nav-inner {
    display: flex;
    gap: 0;
    padding: 8px 16px;
    max-width: var(--container-max);
    justify-content: center;
}

.category-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 8px 12px;
    min-width: 80px;
    max-width: 95px;
    height: auto;
    color: #808893;
    font-size: 0.6875rem;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    border-radius: 8px;
}

.category-link:hover {
    color: #1A1A1A;
    background: transparent;
    border-bottom: 2px solid #E6E6E6;
}


.category-link.active {
    color: #006FFF;
    background: transparent;
    border-bottom: 2px solid #006FFF;
}


.category-link img {
    width: auto;
    height: 48px !important;
    max-width: 64px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.2s ease;
}

}

.category-link:hover img {
    filter: brightness(0);
    opacity: 1;
}

.category-link.active img {
    filter: none;
    opacity: 1;
}

.category-link span {
    display: block !important;
    font-size: 0.6875rem;
    line-height: 1.2;
    text-align: center;
}

/* Hide scrollbar */
.category-nav::-webkit-scrollbar,
.category-nav-inner::-webkit-scrollbar {
    display: none;
}

.category-nav,
.category-nav-inner {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

.hero-card-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: var(--space-1) 10px;
    background: var(--ui-blue);
    color: var(--ui-white);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-xs);
    margin-bottom: var(--space-3);
}

.hero-card h3 {
    color: var(--ui-white);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.hero-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
}

/* ==========================================================================
   8. Products Section
   ========================================================================== */
.products-section {
    padding: var(--space-12) 0;
    background: var(--ui-white);
}

/* Products Grid Base */
.products-grid-FIX-DISABLED {
    display: none;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-6);
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ui-dark);
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    color: var(--ui-blue);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-base);
}

.btn-view-all:hover {
    color: var(--ui-blue-hover);
}

/* ==========================================================================
   11. Shop Page
   ========================================================================== */
.woocommerce-page .site-main {
    padding: var(--space-6) 0;
}

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

.shop-header {
    padding: var(--space-6) 0;
    border-bottom: none;
}

.woocommerce-products-header__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-6);
}

/* Shop Filters */
.shop-filters {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.filter-tabs {
    display: flex;
    gap: var(--space-2);
}

.filter-tab {
    padding: var(--space-2) var(--space-4);
    background: transparent;
    border: 1px solid var(--ui-gray-200);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ui-gray-600);
    transition: var(--transition-base);
    cursor: pointer;
}

.filter-tab:hover {
    border-color: var(--ui-gray-300);
    color: var(--ui-dark);
}

.filter-tab.active {
    background: var(--ui-blue);
    border-color: var(--ui-blue);
    color: var(--ui-white);
}

.shop-sort {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.shop-sort select {
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--ui-gray-200);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    background: var(--ui-white);
    cursor: pointer;
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
    font-size: 0.8125rem;
    color: var(--ui-gray-500);
    margin-bottom: var(--space-4);
}

.woocommerce-breadcrumb a {
    color: var(--ui-gray-500);
}

.woocommerce-breadcrumb a:hover {
    color: var(--ui-blue);
}

/* Pagination */
.woocommerce-pagination {
    margin-top: var(--space-8);
    text-align: center;
}

.woocommerce-pagination ul {
    display: inline-flex;
    gap: var(--space-2);
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 56px;
    padding: 0 var(--space-3);
    border: 1px solid var(--ui-gray-200);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--ui-gray-600);
    transition: var(--transition-base);
}

.woocommerce-pagination ul li a:hover {
    border-color: var(--ui-blue);
    color: var(--ui-blue);
}

.woocommerce-pagination ul li span.current {
    background: var(--ui-blue);
    border-color: var(--ui-blue);
    color: var(--ui-white);
}

/* ==========================================================================
   12. Single Product
   ========================================================================== */
.single-product .product {
    padding: var(--space-12) 0;
}

.woocommerce div.product div.images {
    width: 50%;
    float: left;
}

.woocommerce div.product div.summary {
    width: 45%;
    float: right;
}

.woocommerce div.product .product_title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.woocommerce div.product p.price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ui-dark);
    margin-bottom: var(--space-6);
}

.woocommerce .quantity .qty {
    width: 70px;
    padding: var(--space-3);
    border: 1px solid var(--ui-gray-200);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 1rem;
}

/* ==========================================================================
   13. Cart & Checkout
   ========================================================================== */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: var(--ui-blue) !important;
    color: var(--ui-white) !important;
    padding: var(--space-3) var(--space-6) !important;
    border-radius: var(--radius-md) !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    transition: var(--transition-base) !important;
    border: none !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background: var(--ui-blue-hover) !important;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background: var(--ui-blue) !important;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background: var(--ui-blue-hover) !important;
}

/* Cart Table */
.woocommerce-cart-form table {
    border-collapse: collapse;
    width: 100%;
}

.woocommerce-cart-form table th,
.woocommerce-cart-form table td {
    padding: var(--space-4);
    border-bottom: none;
}

.woocommerce-cart-form table th {
    font-weight: 600;
    text-align: left;
}

/* ==========================================================================
   14. Footer
   ========================================================================== */
.site-footer {
    background: var(--ui-dark);
    color: var(--ui-gray-400);
    padding: var(--space-12) 0 var(--space-6);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-title {
    color: var(--ui-white);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
}

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

.footer-links a {
    color: var(--ui-gray-400);
    font-size: 0.8125rem;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--ui-white);
}

.footer-bottom {
    padding-top: var(--space-6);
    border-top: 1px solid var(--ui-gray-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.8125rem;
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 48px;
    color: var(--ui-gray-400);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.footer-social a:hover {
    color: var(--ui-white);
    background: var(--ui-gray-800);
}

/* ==========================================================================
   15. Mobile Navigation Overlay
   ========================================================================== */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: var(--ui-white);
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4);
    border-bottom: none;
}

.mobile-nav-close {
    width: 40px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ui-gray-600);
    border-radius: var(--radius-md);
}

.mobile-nav-menu {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-4);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    color: var(--ui-dark);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.mobile-nav-link:hover {
    background: var(--ui-gray-100);
}

.mobile-nav-link.active {
    background: var(--ui-blue-light);
    color: var(--ui-blue);
}

.mobile-nav-link img {
    width: 32px;
    height: 56px;
    object-fit: contain;
}

.mobile-nav-footer {
    padding: var(--space-4);
    border-top: 1px solid var(--ui-gray-200);
}

/* ==========================================================================
   16. Utilities
   ========================================================================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

/* ==========================================================================
   17. RESPONSIVE - Tablet (max-width: 1200px)
   ========================================================================== */
@media (max-width: 1200px) {
    .products-grid,
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
    }

    .category-link {
        padding: 12px 16px;
        gap: 6px;
    }

    .category-link img {
    width: auto;
    height: 48px !important;
    max-width: 64px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.2s ease;
}

    .hero-card {
        flex: 0 0 300px;
        min-height: 360px;
    }
}

/* ==========================================================================
   18. RESPONSIVE - Tablet Portrait (max-width: 992px)
   ========================================================================== */
@media (max-width: 992px) {
    .woocommerce div.product div.images,
    .woocommerce div.product div.summary {
        width: 100%;
        float: none;
    }

    .woocommerce div.product div.summary {
        margin-top: var(--space-6);
    }
}

/* ==========================================================================
   19. RESPONSIVE - Mobile Landscape (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    :root {
        --container-padding: var(--container-padding-mobile);
    }

    /* Header Mobile */
    .header-top {
        height: var(--header-height-mobile);
    }

    .store-badge span:first-child {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-nav-overlay {
        visibility: visible;
    }

    /* Category Navigation Mobile */
    .category-nav {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .category-nav-inner {
        padding: 0 var(--space-4);
    }

    .category-link {
        padding: 10px 12px;
        gap: 5px;
        border-radius: 10px;
        margin: 6px 0;
    }

    .category-link img {
    width: auto;
    height: 48px !important;
    max-width: 64px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.2s ease;
}

    /* Products Grid Mobile */
    .products-grid,
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    /* Hero Mobile */
    .hero-slider {
        padding: var(--space-6) 0;
    }

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

    .hero-card {
        flex: 0 0 280px;
        min-height: 340px;
    }

    .hero-card-image {
        width: 160px;
        height: 160px;
    }

    /* Product Card Mobile */
    .product-card-content {
        padding: var(--space-3);
    }

    .product-card-title,
    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 0.875rem !important;
        padding: var(--space-2) var(--space-3) var(--space-1) !important;
    }

    .product-card-price,
    .woocommerce ul.products li.product .price {
        font-size: 0.9375rem !important;
        padding: 0 var(--space-3) var(--space-2) !important;
    }

    .btn-add-cart,
    .btn-add-to-cart,
    .woocommerce ul.products li.product .button {
    letter-spacing: inherit;
    font-weight: inherit;
        padding: var(--space-2) var(--space-4);
        font-size: 0.75rem !important;
        margin: 0 var(--space-3) var(--space-3) !important;
    }

    /* Section Headers Mobile */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }

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

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }

    /* Shop Page Mobile */
    .shop-filters {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-tabs {
        overflow-x: auto;
        width: 100%;
        padding-bottom: var(--space-2);
    }

    .shop-sort {
        margin-left: 0;
        width: 100%;
    }

    .shop-sort select {
        width: 100%;
    }
}

/* ==========================================================================
   20. RESPONSIVE - Mobile Portrait (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
    /* Single Column Products */
    .products-grid,
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }

    /* Store Badge Hidden */
    .store-badge {
        display: none;
    }

    /* Smaller Hero */
    .hero-card {
        flex: 0 0 260px;
        min-height: 300px;
    }

    .hero-card-image {
        width: 140px;
        height: 140px;
    }

    .hero-card h3 {
        font-size: 1.125rem;
    }

    .hero-card p {
        font-size: 0.8125rem;
    }

    /* Typography Mobile */
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.125rem; }

    .woocommerce-products-header__title {
        font-size: 1.25rem;
    }

    /* Category Nav Mobile */
    .category-link {
        padding: 8px 10px;
        gap: 4px;
        border-radius: 8px;
        margin: 4px 0;
    }

    .category-link img {
    width: auto;
    height: 48px !important;
    max-width: 64px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.2s ease;
}

    /* Pagination Mobile */
    .woocommerce-pagination ul li a,
    .woocommerce-pagination ul li span {
        min-width: 36px;
        height: 48px;
        font-size: 0.8125rem;
    }
}

/* ==========================================================================
   21. RESPONSIVE - Small Mobile (max-width: 360px)
   ========================================================================== */
@media (max-width: 360px) {
    :root {
        --container-padding: 12px;
    }

    .header-btn {
        width: 36px;
        height: 48px;
    }

    .header-btn img {
    filter: brightness(0);
        width: 18px;
        height: 18px;
    }

    .hero-card {
        flex: 0 0 240px;
        min-height: 280px;
    }
}

/* ==========================================================================
   22. Print Styles
   ========================================================================== */
@media print {
    .site-header,
    .site-footer,
    .category-nav,
    .btn-add-cart,
    .btn-add-to-cart,
    .woocommerce-pagination {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    a {
        text-decoration: underline;
    }
}

/* ==========================================================================
   23. Accessibility - Focus States
   ========================================================================== */
:focus-visible {
    outline: 2px solid var(--ui-blue);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--ui-blue);
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--ui-blue);
    color: var(--ui-white);
    padding: var(--space-2) var(--space-4);
    z-index: 10000;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}

/* ==========================================================================
   24. Animations
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in {
    animation: fadeIn var(--transition-slow) ease-out;
}

.animate-slide-up {
    animation: slideInUp var(--transition-slow) ease-out;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   UNIFIED PRODUCT CARD STYLES (Override all previous)
   ========================================================================== */

/* Base Card */
.product-card,
.products-section .product-card,
.woocommerce ul.products li.product {
    background: #FAFBFB !important;
    border: none !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    box-shadow: none !important;
}

.product-card:hover,
.products-section .product-card:hover,
.woocommerce ul.products li.product:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px);
    border: none !important;
}

/* Card Image Container */
.product-card-image,
.products-section .product-card-image {
    position: relative !important;
    aspect-ratio: 1 !important;
    background: #FAFBFB !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    padding: 24px !important;
}

.product-card-image a,
.products-section .product-card-image a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

/* When image container IS the link */
a.product-card-image {
    padding: 24px !important;
}

.product-card-image img,
.products-section .product-card-image img,
a.product-card-image img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    transition: transform 0.3s ease !important;
}

.product-card:hover .product-card-image img,
.products-section .product-card:hover .product-card-image img {
    transform: scale(1.05) !important;
}

/* Card Content */
.product-card-content,
.products-section .product-card-content {
    padding: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    background: #fff !important;
}

/* Title */
.product-card-title,
.products-section .product-card-title {
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    color: #1A1A1A !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}

.product-card-title a,
.products-section .product-card-title a {
    color: inherit !important;
    text-decoration: none !important;
}

.product-card-title a:hover,
.products-section .product-card-title a:hover {
    color: #006FFF !important;
}

/* SKU */
.product-card-sku,
.products-section .product-card-sku {
    font-size: 0.6875rem !important;
    color: #808080 !important;
    margin-bottom: 8px !important;
}

/* Description */
.product-card-desc,
.products-section .product-card-desc {
    font-size: 0.8125rem !important;
    color: #666 !important;
    line-height: 1.4 !important;
    margin: 0 0 12px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Footer */
.product-card-footer,
.products-section .product-card-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-top: auto !important;
    padding-top: 12px !important;
    border-top: 1px solid #F0F0F0 !important;
}

/* Price */
.product-card-price,
.products-section .product-card-price {
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    color: #1A1A1A !important;
    white-space: nowrap !important;
    padding: 0 !important;
    margin: 0 !important;
}

.product-card-price del,
.products-section .product-card-price del {
    color: #999 !important;
    font-weight: 400 !important;
    font-size: 0.6875rem !important;
    margin-right: 4px !important;
}

.product-card-price ins,
.products-section .product-card-price ins {
    text-decoration: none !important;
}

/* Add to Cart Button */
.product-card .btn-add-cart,
.products-section .btn-add-cart {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 16px !important;
    background: #006FFF !important;
    color: #fff !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: background 0.15s ease !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}

.product-card .btn-add-cart:hover,
.products-section .btn-add-cart:hover {
    background: #0059CC !important;
    color: #fff !important;
}

/* Products Grid */
.products-grid,
.products-section .products-grid-FIX-DISABLED {
    display: none;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

/* Responsive */
@media (max-width: 1200px) {
    .products-grid,
    .products-section .products-grid-FIX-DISABLED {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 900px) {
    .products-grid,
    .products-section .products-grid-FIX-DISABLED {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
    
    .product-card-content,
    .products-section .product-card-content {
        padding: 14px !important;
    }
    
    .product-card-title,
    .products-section .product-card-title {
        font-size: 0.875rem !important;
    }
    
    .product-card-desc,
    .products-section .product-card-desc {
        -webkit-line-clamp: 1 !important;
    }
}

@media (max-width: 600px) {
    .products-grid,
    .products-section .products-grid-FIX-DISABLED {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .product-card-image,
    .products-section .product-card-image,
    a.product-card-image {
        padding: 16px !important;
    }
    
    .product-card-content,
    .products-section .product-card-content {
        padding: 10px 12px 12px !important;
    }
    
    .product-card-title,
    .products-section .product-card-title {
        font-size: 0.8125rem !important;
    }
    
    .product-card-sku,
    .products-section .product-card-sku {
        display: none !important;
    }
    
    .product-card-desc,
    .products-section .product-card-desc {
        display: none !important;
    }
    
    .product-card-footer,
    .products-section .product-card-footer {
        padding-top: 10px !important;
        gap: 8px !important;
    }
    
    .product-card-price,
    .products-section .product-card-price {
        font-size: 0.75rem !important;
    }
    
    .product-card .btn-add-cart,
    .products-section .btn-add-cart {
        padding: 7px 12px !important;
        font-size: 0.6875rem !important;
    }
}

@media (max-width: 380px) {
    .products-grid,
    .products-section .products-grid-FIX-DISABLED {
        gap: 8px !important;
    }
    
    .product-card-content,
    .products-section .product-card-content {
        padding: 8px 10px 10px !important;
    }
    
    .product-card-title,
    .products-section .product-card-title {
        font-size: 0.75rem !important;
    }
    
    .product-card .btn-add-cart,
    .products-section .btn-add-cart {
        padding: 6px 10px !important;
        font-size: 0.625rem !important;
        border-radius: 4px !important;
    }
}

/* === Remove separator line in product card footer === */
.product-card-footer,
.products-section .product-card-footer {
    border-top: none !important;
    padding-top: 8px !important;
}

/* === Hide horizontal scrollbar everywhere === */
.hero-slider,
.hero-cards,
.whats-new-section,
.whats-new-slider,
.products-slider,
.category-nav,
.category-nav-inner {
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.hero-slider::-webkit-scrollbar,
.hero-cards::-webkit-scrollbar,
.whats-new-section::-webkit-scrollbar,
.whats-new-slider::-webkit-scrollbar,
.products-slider::-webkit-scrollbar,
.category-nav::-webkit-scrollbar,
.category-nav-inner::-webkit-scrollbar {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
}

/* Hide all horizontal scrollbars on body */
body {
    overflow-x: hidden !important;
}

/* === Hide scrollbar for slider-track === */
.slider-track {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.slider-track::-webkit-scrollbar {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    background: transparent;
}

/* Also for container if needed */
.hero-slider .container {
    overflow: hidden !important;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .header-top {
        padding: 10px 16px;
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .site-logo {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .site-logo img {
        height: 48px;
    }
    
    .store-badge {
        display: none;
    }
    
    .desktop-only {
        display: none;
    }
    
    .header-btn {
        width: 36px;
        height: 48px;
    }
    
    .header-btn svg {
        width: 22px;
        height: 32px;
    }
    
    /* Category nav mobile */
    .category-nav {
        justify-content: flex-start;
    }
    
    .category-nav-inner {
        padding: 0 12px;
    }
    
    .category-link {
        padding: 12px;
        min-width: 64px;
        gap: 6px;
    }
    
    .category-link img {
    width: auto;
    height: 48px !important;
    max-width: 64px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.2s ease;
}

        opacity: 1;
    }
    
    .category-link span {
    display: block !important;
        font-size: 0.625rem;
    }
}

/* ==========================================================================
   MOBILE SPECIFIC STYLES
   ========================================================================== */

/* Cart button with icon on mobile */
@media (max-width: 600px) {
    .product-card .btn-add-cart,
    .add_to_cart_button:not(.single_add_to_cart_button) {
        width: 36px;
        height: 48px;
        min-width: 36px;
        padding: 0;
        font-size: 0;
        border-radius: 8px;
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .product-card .btn-add-cart::after,
    .add_to_cart_button:not(.single_add_to_cart_button)::after {
        content: '';
        position: absolute;
        width: 18px;
        height: 18px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17 18c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM7 18c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-3l1.1-2h7.45c.75 0 1.41-.41 1.75-1.03L21.7 4H5.21l-.94-2H1v2h2l3.6 7.59L3.62 17H19v-2H7z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }
}

/* Sticky cart bar on product page */
.sticky-cart-bar {
    display: none;
}

@media (max-width: 768px) {
    .sticky-cart-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-top: none;
        padding: 12px 16px;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        z-index: 9999;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    }
    
    .sticky-cart-bar .cart-icon-price {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .sticky-cart-bar .cart-icon-price svg {
        width: 24px;
        height: 24px;
        color: #1A1A1A;
    }
    
    .sticky-cart-bar .price {
        font-size: 1rem;
        font-weight: 600;
        color: #1A1A1A;
    }
    
    .sticky-cart-bar .quantity-selector {
        display: flex;
        align-items: center;
        background: #F5F5F5;
        border-radius: 8px;
    }
    
    .sticky-cart-bar .quantity-selector button {
    letter-spacing: inherit;
    font-weight: inherit;
        width: 36px;
        height: 48px;
        background: none;
        border: none;
        font-size: 1.25rem;
        color: #666;
        cursor: pointer;
    }
    
    .sticky-cart-bar .quantity-selector input {
        width: 40px;
        height: 48px;
        border: none;
        background: none;
        text-align: center;
        font-size: 1rem;
        font-weight: 500;
        -moz-appearance: textfield;
    }
    
    .sticky-cart-bar .quantity-selector input::-webkit-outer-spin-button,
    .sticky-cart-bar .quantity-selector input::-webkit-inner-spin-button {
    letter-spacing: inherit;
    font-weight: inherit;
        -webkit-appearance: none;
        margin: 0;
    }
    
    .sticky-cart-bar .add-to-cart-btn {
        padding: 10px 20px;
        background: #006FFF;
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 0.875rem;
        font-weight: 600;
        cursor: pointer;
        white-space: nowrap;
    }
    
    .sticky-cart-bar .add-to-cart-btn:hover {
        background: #0059CC;
    }
    
    /* Add padding to footer on product pages */
    .single-product .site-footer {
        padding-bottom: 80px;
    }
}

/* Footer styles */
.site-footer {
    background: #fff;
    margin-top: auto;
}

.footer-main {
    padding: 48px 0;
    border-top: none;
}

.footer-main .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 16px 0;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-column ul li a {
    font-size: 0.875rem;
    color: #666;
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: #006FFF;
}

.subscribe-form {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.subscribe-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #E6E6E6;
    border-radius: 8px;
    font-size: 0.875rem;
    outline: none;
}

.subscribe-form input:focus {
    border-color: #006FFF;
}

.subscribe-form button {
    letter-spacing: inherit;
    font-weight: inherit;
    padding: 10px 20px;
    background: #006FFF;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 48px;
    color: #666;
}

.social-links a:hover {
    color: #006FFF;
}

.footer-bottom {
    padding: 20px 0;
    border-top: none;
}

.footer-bottom .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-legal a {
    font-size: 0.8125rem;
    color: #666;
    text-decoration: none;
}

.footer-legal span {
    color: #CCC;
}

.footer-copyright {
    font-size: 0.8125rem;
    color: #999;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-subscribe {
        grid-column: span 3;
        margin-top: 24px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .footer-subscribe {
        grid-column: span 2;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-subscribe {
        grid-column: span 1;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
}

/* Login page centered */
.woocommerce-account .woocommerce {
    max-width: 420px;
    margin: 0 auto;
    padding: 40px 24px;
}

.woocommerce-account #customer_login {
    display: flex;
    justify-content: center;
}

.woocommerce-account #customer_login > .u-column1,
.woocommerce-account #customer_login > .col-1 {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.woocommerce-account #customer_login > .u-column2,
.woocommerce-account #customer_login > .col-2 {
    display: none;
}

/* ==========================================================================
   11. Shop Page Layout
   ========================================================================== */
.shop-page {
    background: #fff;
    min-height: calc(100vh - 200px);
}

/* Toolbar */
.shop-toolbar {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.shop-result-count {
    font-size: 0.875rem;
    color: #666;
}

.shop-sort-select .woocommerce-ordering {
    margin: 0;
}

.shop-sort-select select {
    padding: 8px 32px 8px 14px;
    font-size: 0.8125rem;
    color: #666;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
    border: 1px solid #E6E6E6;
    border-radius: 20px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.shop-sort-select select:focus {
    outline: none;
    border-color: #006FFF;
}

/* Products Container */
.shop-products {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px 64px;
}

/* Pagination */
.shop-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.shop-pagination .woocommerce-pagination ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 56px;
    padding: 0 12px;
    font-size: 0.875rem;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.shop-pagination .page-numbers:hover {
    background: #F5F5F5;
    color: #1A1A1A;
}

.shop-pagination .page-numbers.current {
    background: #006FFF;
    color: #fff;
}

/* No products */
.no-products {
    text-align: center;
    padding: 80px 24px;
}

.no-products h2 {
    font-size: 1.5rem;
    color: #1A1A1A;
    margin-bottom: 12px;
}

.no-products p {
    color: #666;
    margin-bottom: 24px;
}

.no-products .btn-shop {
    display: inline-block;
    padding: 14px 28px;
    background: #006FFF;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

/* Shop Page Responsive */
@media (max-width: 600px) {
    .shop-toolbar {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .shop-products {
        padding: 0 12px 48px;
    }

    .shop-pagination .page-numbers {
        min-width: 36px;
        height: 48px;
        font-size: 0.8125rem;
    }
}

/* ==========================================================================
   MOBILE VERSION - UI.com Style
   Version: 3.2.0
   ========================================================================== */

/* === Bottom Navigation (Таббар) === */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #fff;
    border-top: 1px solid #F0F0F0;
    z-index: 9990;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    
    /* Add padding to body to prevent content from hiding behind bottom nav */
    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0));
    }
    
    /* On single product page, add extra padding for sticky cart bar */
    body.single-product {
        padding-bottom: calc(140px + env(safe-area-inset-bottom, 0));
    }
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    height: 100%;
    color: #808893;
    text-decoration: none;
    font-size: 0.625rem;
    font-weight: 500;
    transition: color 0.15s ease;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.bottom-nav-item svg {
    width: 22px;
    height: 32px;
    stroke-width: 1.5;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: #006FFF;
}

.bottom-nav-item.active svg {
    stroke: #006FFF;
}

.bottom-nav-badge {
    position: absolute;
    top: 6px;
    right: 50%;
    transform: translateX(12px);
    min-width: 16px;
    height: 40px;
    padding: 0 4px;
    background: #006FFF;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 40px;
    text-align: center;
    border-radius: 8px;
}

/* === Mobile Category Navigation (как на UI.com) === */
@media (max-width: 768px) {
    .category-nav {
        border-top: none;
        padding: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .category-nav-inner {
        display: flex;
        gap: 0;
        padding: 8px 12px;
    }
    
    .category-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 8px 12px;
        min-width: 72px;
        border-radius: 8px;
        margin: 0;
        background: transparent;
    }
    
    .category-link img {
    width: auto;
    height: 48px !important;
    max-width: 64px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.2s ease;
}

    .category-link:hover img,
    .category-link.active img {
        filter: none;
        opacity: 1;
    }
    
    .category-link span {
    display: block !important;
        font-size: 0.6875rem;
        color: #808893;
        text-align: center;
        line-height: 1.2;
    }
    
    .category-link:hover span,
    .category-link.active span {
        color: #1A1A1A;
    }
}

/* === Mobile Header Improvements === */
@media (max-width: 768px) {
    .header-top {
        height: 56px;
        padding: 0 12px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: -1;
        width: 44px;
        height: 44px;
    }
    
    .site-logo {
        position: static;
        transform: none;
        margin: 0 auto;
    }
    
    .site-logo img {
        height: 32px;
    }
    
    .header-actions {
        gap: 0;
    }
    
    .header-btn {
        width: 44px;
        height: 44px;
    }
    
    .header-btn img {
        width: 22px;
        height: 32px;
    }
    
    .cart-count {
        top: 6px;
        right: 6px;
    }
}

/* === Mobile Product Grid (2 columns) === */
@media (max-width: 768px) {
    .products-grid,
    .woocommerce ul.products {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 12px;
    }
    
    .product-card,
    .woocommerce ul.products li.product {
        width: 100%;
        padding: 12px;
        border-radius: 12px;
    }
    
    .product-card-image,
    .woocommerce ul.products li.product .woocommerce-loop-product__link img {
        aspect-ratio: 1;
        margin-bottom: 10px;
    }
    
    .product-card-title,
    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 0.8125rem;
        line-height: 1.3;
        margin-bottom: 6px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .product-card-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }
    
    .product-card-price,
    .woocommerce ul.products li.product .price {
        font-size: 0.875rem;
        font-weight: 600;
    }
    
    /* Cart button as icon on mobile */
    .product-card .btn-add-cart,
    .woocommerce ul.products li.product .add_to_cart_button {
    letter-spacing: inherit;
    font-weight: inherit;
        width: 40px;
        height: 56px;
        min-width: 40px;
        padding: 0;
        border-radius: 10px;
        font-size: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #006FFF;
    }
    
    .product-card .btn-add-cart::before,
    .woocommerce ul.products li.product .add_to_cart_button::before {
        content: '';
        width: 20px;
        height: 20px;
        background-image: url(data:image/svg+xml,%3Csvg xmlns=http://www.w3.org/2000/svg viewBox=0 0 24 24 fill=white%3E%3Cpath d=M11 9h2V6h3V4h-3V1h-2v3H8v2h3v3zm-4 9c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zm-9.83-3.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.86-7.01L19.42 4h-.01l-1.1 2-2.76 5H8.53l-.13-.27L6.16 6l-.95-2-.94-2H1v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25z/%3E%3C/svg%3E);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }
}

/* === Mobile Hero Section === */
@media (max-width: 768px) {
    .hero-slider {
        padding: 16px 0 24px;
    }
    
    .hero-title {
        font-size: 1.25rem;
        padding: 0 16px;
        margin-bottom: 16px;
    }
    
    .slider-track {
        padding: 0 12px 16px;
        gap: 12px;
        scroll-padding-left: 12px;
    }
    
    .hero-card {
        flex: 0 0 280px;
        min-height: 320px;
        border-radius: 16px;
        padding: 20px;
    }
    
    .hero-card-image {
        width: 140px;
        height: 140px;
    }
    
    .hero-card h3 {
        font-size: 1rem;
    }
    
    .hero-card p {
        font-size: 0.8125rem;
    }
}

/* === Mobile Product Page === */
@media (max-width: 768px) {
    .single-product .product-gallery {
        margin-bottom: 16px;
    }
    
    .single-product .product-info {
        padding: 0 16px;
    }
    
    .single-product .product-title {
        font-size: 1.25rem;
        margin-bottom: 8px;
    }
    
    .single-product .product-price {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }
    
    .single-product .product-description {
        font-size: 0.875rem;
        color: #666;
        margin-bottom: 20px;
    }
    
    /* Hide desktop add to cart on product page */
    .single-product .single_add_to_cart_button:not(.sticky-cart-bar .add-to-cart-btn) {
        display: none;
    }
    
    /* Sticky Add to Cart Bar */
    .sticky-cart-bar {
        display: flex;
        position: fixed;
        bottom: calc(64px + env(safe-area-inset-bottom, 0));
        left: 0;
        right: 0;
        background: #fff;
        padding: 12px 16px;
        box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
        z-index: 9989;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }
    
    .sticky-cart-price {
        font-size: 1.125rem;
        font-weight: 600;
        color: #1A1A1A;
    }
    
    .sticky-cart-bar .add-to-cart-btn {
        flex: 1;
        max-width: 200px;
        padding: 14px 24px;
        background: #006FFF;
        color: #fff;
        border: none;
        border-radius: 10px;
        font-size: 0.9375rem;
        font-weight: 600;
        cursor: pointer;
        text-align: center;
    }
    
    .sticky-cart-bar .add-to-cart-btn:hover {
        background: #0059CC;
    }
}

/* === Mobile Navigation Menu === */
@media (max-width: 768px) {
    .mobile-nav {
        width: 300px;
        box-shadow: 4px 0 20px rgba(0,0,0,0.15);
    }
    
    .mobile-nav-header {
        height: 56px;
        padding: 0 16px;
        border-bottom: 1px solid #F0F0F0;
    }
    
    .mobile-nav-search {
        padding: 12px 16px;
        border-bottom: 1px solid #F0F0F0;
    }
    
    .mobile-nav-search-wrapper {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 14px;
        background: #F5F5F5;
        border-radius: 10px;
    }
    
    .mobile-nav-search-wrapper input {
        flex: 1;
        border: none;
        background: none;
        font-size: 0.9375rem;
        outline: none;
    }
    
    .mobile-nav-search-wrapper img {
        opacity: 0.5;
    }
    
    .mobile-nav-menu {
        padding: 8px;
    }
    
    .mobile-nav-link {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 12px;
        border-radius: 10px;
        font-size: 0.9375rem;
        font-weight: 500;
    }
    
    .mobile-nav-link img {
        width: 28px;
        height: 48px;
        filter: brightness(0);
        opacity: 0.7;
    }
    
    .mobile-nav-link:hover img,
    .mobile-nav-link.active img {
        filter: none;
        opacity: 1;
    }
    
    .mobile-nav-footer {
        margin-top: auto;
        padding: 16px;
        border-top: 1px solid #F0F0F0;
    }
    
    .mobile-nav-account {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px;
        color: #1A1A1A;
        font-size: 0.9375rem;
        font-weight: 500;
        text-decoration: none;
        border-radius: 10px;
    }
    
    .mobile-nav-account:hover {
        background: #F5F5F5;
    }
}

/* === Mobile Search Modal === */
@media (max-width: 768px) {
    .mobile-search-modal {
        padding-top: env(safe-area-inset-top, 0);
    }
    
    .mobile-search-header {
        padding: 12px 16px;
        gap: 12px;
    }
    
    .mobile-search-header input {
        padding: 12px 16px;
        font-size: 16px;
        border: 2px solid #006FFF;
        border-radius: 12px;
    }
    
    .mobile-search-results {
        padding: 8px 16px;
    }
    
    .search-result-item {
        padding: 12px;
        border-radius: 10px;
    }
    
    .search-result-item img {
        width: 56px;
        height: 56px;
    }
}

/* === Mobile Cart Page === */
@media (max-width: 768px) {
    .woocommerce-cart .woocommerce {
        padding: 16px;
    }
    
    .woocommerce-cart .cart-item {
        padding: 16px;
        border-radius: 12px;
        background: #fff;
        margin-bottom: 12px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }
    
    .woocommerce-cart .cart-totals {
        position: sticky;
        bottom: 64px;
        background: #fff;
        padding: 16px;
        border-radius: 12px 12px 0 0;
        box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
    }
}

/* === Mobile Checkout Page === */
@media (max-width: 768px) {
    .woocommerce-checkout .woocommerce {
        padding: 16px;
    }
    
    .woocommerce-checkout .woocommerce-billing-fields,
    .woocommerce-checkout .woocommerce-shipping-fields {
        padding: 16px;
        background: #fff;
        border-radius: 12px;
        margin-bottom: 16px;
    }
    
    .woocommerce-checkout h3 {
        font-size: 1rem;
        margin-bottom: 16px;
    }
    
    .woocommerce-checkout .form-row input,
    .woocommerce-checkout .form-row select {
        padding: 14px 16px;
        border: 1px solid #E6E6E6;
        border-radius: 10px;
        font-size: 16px;
    }
    
    .woocommerce-checkout .form-row input:focus,
    .woocommerce-checkout .form-row select:focus {
        border-color: #006FFF;
        outline: none;
    }
    
    .woocommerce-checkout #place_order {
        width: 100%;
        padding: 16px;
        font-size: 1rem;
        border-radius: 10px;
    }
}

/* === Hide elements on mobile === */
@media (max-width: 768px) {
    .product-card-sku,
    .product-card-description {
        display: none;
    }
    
    /* Hide header search button on mobile (use bottom nav search) */
    .header-actions .header-btn#searchBtn {
        display: none;
    }
}

/* === Small phones optimization === */
@media (max-width: 380px) {
    .products-grid,
    .woocommerce ul.products {
        gap: 8px;
        padding: 0 8px;
    }
    
    .product-card,
    .woocommerce ul.products li.product {
        padding: 10px;
    }
    
    .product-card-title {
        font-size: 0.75rem;
    }
    
    .product-card-price {
        font-size: 0.8125rem;
    }
    
    .product-card .btn-add-cart {
        width: 36px;
        height: 48px;
    }
    
    .category-link {
        min-width: 64px;
        padding: 6px 8px;
    }
    
    .category-link img {
    width: auto;
    height: 48px !important;
    max-width: 64px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.2s ease;
}

    
    .bottom-nav {
        height: 56px;
    }
    
    .bottom-nav-item svg {
        width: 20px;
        height: 20px;
    }
    
    .bottom-nav-item span {
        font-size: 0.5625rem;
    }
}

/* === FIX: Product Cards on Homepage Mobile === */
@media (max-width: 768px) {
    /* Homepage product sections */
    .products-section .products-grid,
    .home-products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .products-section .product-card {
        display: flex !important;
        flex-direction: column !important;
        padding: 12px !important;
        background: #fff !important;
        border-radius: 12px !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
    }
    
    .product-card .product-card-image {
        aspect-ratio: 1 !important;
        margin-bottom: 12px !important;
        background: #F9FAFB !important;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .product-card .product-card-image img {
        max-width: 80% !important;
        max-height: 80% !important;
        object-fit: contain !important;
    }
    
    .product-card .product-card-title {
        font-size: 0.8125rem !important;
        font-weight: 500 !important;
        color: #1A1A1A !important;
        line-height: 1.3 !important;
        margin-bottom: 4px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        min-height: 2.6em !important;
    }
    
    /* Hide SKU and description on mobile */
    .product-card .product-card-sku,
    .product-card .product-card-description {
        display: none !important;
    }
    
    .product-card .product-card-footer {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-top: auto !important;
        gap: 8px !important;
    }
    
    .product-card .product-card-price {
        font-size: 0.875rem !important;
        font-weight: 600 !important;
        color: #1A1A1A !important;
        white-space: nowrap !important;
    }
    
    /* Cart button as blue icon */
    .product-card .btn-add-cart,
    .product-card .add_to_cart_button {
    letter-spacing: inherit;
    font-weight: inherit;
        width: 40px !important;
        height: 32px;
        min-width: 40px !important;
        max-width: 40px !important;
        padding: 0 !important;
        border-radius: 10px !important;
        background: #006FFF !important;
        color: transparent !important;
        font-size: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        overflow: hidden !important;
        flex-shrink: 0 !important;
    }
    
    .product-card .btn-add-cart::before,
    .product-card .add_to_cart_button::before {
        content: '' !important;
        position: absolute !important;
        width: 20px !important;
        height: 20px !important;
        background-image: url(data:image/svg+xml,%3Csvg xmlns=http://www.w3.org/2000/svg viewBox=0 0 24 24 fill=white%3E%3Cpath d=M11 9h2V6h3V4h-3V1h-2v3H8v2h3v3zm-4 9c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zm-9.83-3.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.86-7.01L19.42 4h-.01l-1.1 2-2.76 5H8.53l-.13-.27L6.16 6l-.95-2-.94-2H1v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25z/%3E%3C/svg%3E) !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: contain !important;
    }
    
    .product-card .btn-add-cart:hover,
    .product-card .add_to_cart_button:hover {
        background: #0059CC !important;
    }
}

/* === FIX: Section headers on mobile === */
@media (max-width: 768px) {
    .products-section {
        padding: 24px 0 !important;
    }
    
    .section-header {
        padding: 0 16px !important;
        margin-bottom: 16px !important;
    }
    
    .section-header h2 {
        font-size: 1.125rem !important;
    }
    
    .section-header a {
        font-size: 0.8125rem !important;
    }
    
    .products-grid-FIX-DISABLED {
        padding: 0 12px !important;
    }
}

/* === FIX: Unified cart buttons in list view === */
.product-list-btn,
.product-list-btn.ajax_add_to_cart,
.products-list .ajax_add_to_cart,
.products-list button[class*="add_to_cart"],
.products-list .add_to_cart_button {
    letter-spacing: inherit;
    font-weight: inherit;
    width: 40px !important;
    height: 32px;
    min-width: 40px !important;
    max-width: 40px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    background: #006FFF !important;
    color: #fff !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
}

.product-list-btn:hover,
.products-list .ajax_add_to_cart:hover,
.products-list .add_to_cart_button:hover {
    background: #0059CC !important;
}

.product-list-btn svg {
    width: 20px !important;
    height: 20px !important;
}

/* === FIX: Shop page views - List on mobile, Grid on desktop === */
.shop-page .products-list {
    display: flex !important;
    flex-direction: column;
}

.shop-page .products-grid-FIX-DISABLED {
    display: none !important;
}

@media (min-width: 769px) {
    .shop-page .products-list {
        display: none !important;
    }
    
    .shop-page .products-grid-FIX-DISABLED {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .shop-page .products-grid-FIX-DISABLED {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* === HIDE: Filter chips and dropdowns on shop page === */
.shop-filters {
    display: none !important;
}

/* ============================================
   UI IMPROVEMENTS - Product, Accessories, Cart, Checkout
   ============================================ */

/* === 1. Product Page - Quantity Selector === */
.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid #E6E6E6;
    border-radius: 8px;
    overflow: hidden;
    height: 44px;
}

.quantity-selector .qty-btn {
    width: 44px;
    height: 44px;
    background: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #666;
    transition: all 0.15s ease;
}

.quantity-selector .qty-btn:hover {
    background: #F5F5F5;
    color: #1A1A1A;
}

.quantity-selector .qty-input,
.quantity-selector input[type="number"] {
    width: 50px;
    height: 44px;
    border: none;
    border-left: 1px solid #E6E6E6;
    border-right: 1px solid #E6E6E6;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    -moz-appearance: textfield;
}

.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
    letter-spacing: inherit;
    font-weight: inherit;
    -webkit-appearance: none;
    margin: 0;
}

/* WooCommerce default quantity */
.woocommerce .quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #E6E6E6;
    border-radius: 8px;
    overflow: hidden;
}

.woocommerce .quantity .qty {
    width: 60px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    -moz-appearance: textfield;
}

/* === 2. Recommended Accessories - Compact Cards === */
.recommended-accessories,
.related-products,
.upsells {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #F0F0F0;
}

.recommended-accessories h2,
.related-products h2,
.upsells h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 20px;
}

.recommended-accessories .products,
.related-products .products,
.upsells .products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 992px) {
    .recommended-accessories .products,
    .related-products .products,
    .upsells .products {
        grid-template-columns: repeat(2, 1fr);
    }
}

.recommended-accessories .product,
.related-products .product,
.upsells .product {
    background: #FAFBFB;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.recommended-accessories .product a.woocommerce-LoopProduct-link,
.related-products .product a.woocommerce-LoopProduct-link,
.upsells .product a.woocommerce-LoopProduct-link {
    text-decoration: none;
    color: inherit;
}

.recommended-accessories .product img,
.related-products .product img,
.upsells .product img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 12px;
}

.recommended-accessories .product .woocommerce-loop-product__title,
.related-products .product .woocommerce-loop-product__title,
.upsells .product .woocommerce-loop-product__title {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #1A1A1A !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.3;
}

.recommended-accessories .product .price,
.related-products .product .price,
.upsells .product .price {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 12px;
}

.recommended-accessories .product .button,
.related-products .product .button,
.upsells .product .button {
    letter-spacing: inherit;
    font-weight: inherit;
    width: 40px !important;
    height: 32px;
    min-width: 40px !important;
    padding: 0 !important;
    background: #006FFF !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 0 !important;
    cursor: pointer;
    margin-left: auto;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.recommended-accessories .product .button::before,
.related-products .product .button::before,
.upsells .product .button::before {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Cpath d='M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* === 3. Cart Page Improvements === */
.woocommerce-cart .cart-item {
    padding: 20px;
    border: 1px solid #F0F0F0;
    border-radius: 12px;
    margin-bottom: 12px;
}

.woocommerce-cart .product-name a {
    color: #1A1A1A;
    font-weight: 600;
    text-decoration: none;
}

.woocommerce-cart .product-name a:hover {
    color: #006FFF;
}

/* Cart totals */
.cart_totals {
    background: #FAFBFB;
    border-radius: 12px;
    padding: 24px;
}

.cart_totals h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.cart_totals .order-total th,
.cart_totals .order-total td {
    font-size: 1.25rem;
    font-weight: 700;
    color: #006FFF;
}

/* Coupon form */
.coupon {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.coupon input[type="text"] {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #E6E6E6;
    border-radius: 8px;
    font-size: 0.9375rem;
}

.coupon button {
    letter-spacing: inherit;
    font-weight: inherit;
    padding: 12px 24px;
    background: #006FFF;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* === 4. Checkout - Radio Buttons & Form === */
.woocommerce-checkout .woocommerce-shipping-methods,
.woocommerce-checkout #payment .payment_methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-checkout .woocommerce-shipping-methods li,
.woocommerce-checkout #payment .payment_methods li {
    padding: 16px;
    border: 1px solid #E6E6E6;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.15s ease;
}

.woocommerce-checkout .woocommerce-shipping-methods li:has(input:checked),
.woocommerce-checkout #payment .payment_methods li:has(input:checked) {
    border-color: #006FFF;
    background: #F8FBFF;
}

/* Custom radio buttons */
.woocommerce-checkout input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #D1D5DB;
    border-radius: 50%;
    margin-right: 12px;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
}

.woocommerce-checkout input[type="radio"]:checked {
    border-color: #006FFF;
}

.woocommerce-checkout input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #006FFF;
    border-radius: 50%;
}

.woocommerce-checkout input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 111, 255, 0.2);
}

/* Payment method labels */
.woocommerce-checkout .payment_method label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #1A1A1A;
}

.woocommerce-checkout .payment_box {
    padding: 12px 0 0 32px;
    color: #666;
    font-size: 0.875rem;
}

/* Shipping method labels */
.woocommerce-checkout .shipping_method + label {
    cursor: pointer;
    font-weight: 500;
}

/* Place order button */
.woocommerce-checkout #place_order {
    width: 100%;
    padding: 16px 32px;
    background: #006FFF;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.woocommerce-checkout #place_order:hover {
    background: #0059CC;
}

/* Form inputs */
.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E6E6E6;
    border-radius: 8px;
    font-size: 0.9375rem;
    transition: border-color 0.15s ease;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    outline: none;
    border-color: #006FFF;
    box-shadow: 0 0 0 3px rgba(0, 111, 255, 0.1);
}

.woocommerce-checkout .form-row label {
    visibility: visible;
    margin-bottom: 6px;
    font-weight: 500;
    color: #1A1A1A;
}

}

.shop-products,
.single-product-page,
.woocommerce-cart,
.woocommerce-checkout {
    padding-bottom: 40px !important;
}

}





/* 3. Bigger category icons */
.category-link {
    padding: 12px 16px !important;
    min-width: 90px !important;
    max-width: 110px !important;
    gap: 8px !important;
}

.category-link img {
    width: auto;
    height: 48px !important;
    max-width: 64px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.2s ease;
}

}

/* Responsive */
@media (max-width: 1200px) {
    .products-grid-FIX-DISABLED {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .products-grid-FIX-DISABLED {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .category-link img {
    width: auto;
    height: 48px !important;
    max-width: 64px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.2s ease;
}

        gap: 12px !important;
    }
}

/* ==========================================================================
   FIX: Missing Base Styles for Search Elements
   ========================================================================== */

/* Header Search - hidden by default, shown when .active */
.header-search {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #fff;
    z-index: 100;
    align-items: center;
    padding: 0 16px;
}

.header-search.active {
    display: flex;
}

.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #F3F4F6;
    border-radius: 12px;
}

.search-input-wrapper input {
    flex: 1;
    border: none;
    background: none;
    font-size: 1rem;
    outline: none;
}

.search-cancel {
    padding: 8px 16px;
    color: #006FFF;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
}

.search-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    max-height: 400px;
    overflow-y: auto;
}

.search-dropdown.active,
.search-dropdown.visible {
    visibility: visible;
}

/* Mobile Search Modal - hidden by default */
.mobile-search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 2000;
    flex-direction: column;
}

.mobile.search-modal.active {
    display: block !important;
    display: flex;
}

.mobile-search-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #E5E7EB;
}

.mobile-search-header input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #006FFF;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
}

.mobile-search-close {
    padding: 8px 16px;
    color: #006FFF;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-search-results {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

/* Search Results Items */
.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: #F3F4F6;
}

.search-result-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 6px;
    background: #F9FAFB;
}

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

.search-result-name {
    font-weight: 500;
    color: #1A1A1A;
    margin-bottom: 4px;
}

.search-result-price {
    color: #006FFF;
    font-weight: 600;
}

.search-loading,
.search-no-results {
    padding: 20px;
    text-align: center;
    color: #6B7280;
}

/* FIX: Products Grid - MUST be grid, not none */
.products-grid-FIX-DISABLED {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

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

@media (max-width: 480px) {
    .products-grid-FIX-DISABLED {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CRITICAL FIX: Hide duplicate search elements
   ========================================================================== */

/* Mobile search modal - MUST be hidden */
.mobile-search-modal {
    display: none !important;
    position: fixed !important;
    visibility: hidden !important;
}

.mobile.search-modal.active {
    display: block !important;
    display: flex !important;
    visibility: visible !important;
}

/* Header search - MUST be hidden */
.header-search {
    display: none !important;
    position: absolute !important;
    visibility: hidden !important;
}

.header-search.active {
    display: flex !important;
    visibility: visible !important;
}

/* Mobile nav - MUST be hidden by default */
.mobile-nav {
    transform: translateX(-100%) !important;
}

.mobile-nav.active {
    transform: translateX(0) !important;
}

/* Hide mobile nav search input when nav is closed */
.mobile-nav:not(.active) .mobile-nav-search {
    display: none !important;
}

/* Bottom nav - hide on desktop */
.bottom-nav {
    display: none !important;
}

@media (max-width: 768px) {
    .bottom-nav {
        display: flex !important;
    }
}

/* === Category Navigation Fix - UI.com Style (v3.4.1) === */
.category-nav {
    border-top: 1px solid #E6E6E6 !important;
    border-bottom: 1px solid #E6E6E6 !important;
    padding: 0 !important;
}

.category-nav-inner {
    gap: 0 !important;
    padding: 0 32px !important;
}

.category-link {
    padding: 16px 24px !important;
    min-width: 90px !important;
    max-width: none !important;
    gap: 10px !important;
    border-radius: 0 !important;
    border-bottom: 2px solid transparent !important;
    background: transparent;
    transition: all 0.2s ease !important;
}

.category-link:hover {
    color: #1A1A1A !important;
    background: transparent;
    border-bottom-color: #E6E6E6 !important;
}

.category-link.active {
    color: #006FFF !important;
    background: transparent;
    border-bottom-color: #006FFF !important;
}

.category-link img {
    height: 56px !important;
    max-width: 80px !important;
    filter: grayscale(100%) !important;
    opacity: 0.5 !important;
}

.category-link:hover img {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
}

.category-link.active img {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
}

.category-link span {
    display: block !important;
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
}
/* === Category Navigation - UI.com Style (Updated) === */
.category-nav {
    display: flex;
    justify-content: center;
    padding: 0;
    border-top: 1px solid #E6E6E6;
    background: #fff;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-nav-inner {
    display: flex;
    gap: 0;
    padding: 0 24px;
    max-width: 1440px;
}

.category-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    color: #808893;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    min-width: 80px;
    position: relative;
}

.category-link:hover {
    color: #1A1A1A;
}

.category-link.active {
    color: #006FFF;
    border-bottom-color: #006FFF;
}

.category-link img {
    width: auto;
    height: 40px;
    max-width: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.2s ease;
}

.category-link:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.category-link.active img {
    filter: grayscale(0%);
    opacity: 1;
}

.category-link span {
    display: block !important;
    text-align: center;
    line-height: 1.2;
}

/* Responsive - Tablet */
@media (max-width: 1200px) {
    .category-nav-inner {
        padding: 0 16px;
    }
    
    .category-link {
        padding: 14px 18px;
        min-width: 70px;
    }
    
    .category-link img {
        height: 36px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .category-nav {
        justify-content: flex-start;
    }
    
    .category-nav-inner {
        padding: 0 12px;
    }
    
    .category-link {
        padding: 12px 14px;
        gap: 6px;
        min-width: 65px;
        font-size: 0.6875rem;
    }
    
    .category-link img {
        height: 32px;
        max-width: 48px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .category-link {
        padding: 10px 12px;
        min-width: 60px;
    }
    
    .category-link img {
        height: 28px;
    }
}

/* === Category Navigation - UI.com Hover Effect === */
.category-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    color: #808893;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.15s ease;
    border-radius: 12px;
    min-width: 90px;
    border-bottom: none !important;
}

.category-link:hover {
    background: #F4F5F6;
    color: #1A1A1A;
}

.category-link.active {
    background: #F4F5F6;
    color: #1A1A1A;
}

.category-link img {
    width: auto;
    height: 48px;
    max-width: 70px;
    object-fit: contain;
    opacity: 0.6;
    transition: all 0.15s ease;
    filter: none;
}

.category-link:hover img,
.category-link.active img {
    opacity: 1;
    filter: none;
}

.category-link span {
    display: block !important;
    text-align: center;
}

/* === Category Navigation - Final UI.com Style Fix === */
.category-nav {
    border-top: none !important;
    border-bottom: none !important;
}

.category-nav-inner {
    gap: 4px;
}

.category-link,
.category-link:hover,
.category-link:focus,
.category-link:active,
.category-link.active {
    border: none !important;
    border-bottom: none !important;
    text-decoration: none !important;
}

/* === Category Navigation - Background Fix === */
.category-link {
    background: transparent;
}

.category-link:hover {
    background: #F4F5F6 !important;
}

.category-link.active {
    background: #F4F5F6 !important;
}

/* === Category Navigation - Complete Fix === */
.category-link {
    background: transparent;
    border-radius: 12px !important;
}

.category-link:hover {
    background: #F4F5F6 !important;
    border-radius: 12px !important;
}

.category-link.active {
    background: #F4F5F6 !important;
    border-radius: 12px !important;
}

/* ==========================================================================
   Search Modal - Hidden by Default
   ========================================================================== */

.search-modal {
    display: none !important;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #fff;
    padding: 12px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-modal.active {
    display: block !important;
    visibility: visible;
}

.search-modal-content {
    max-width: 1440px;
    margin: 0 auto;
}

.search-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #F6F6F8;
    border-radius: 53px;
}

.search-input-wrapper svg {
    width: 20px;
    height: 20px;
    color: #393939;
    flex-shrink: 0;
}

.search-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
}

.search-cancel {
    padding: 8px 0;
    background: none;
    border: none;
    color: #006FFF;
    font-size: 14px;
    cursor: pointer;
}

.search-results {
    margin-top: 16px;
    max-height: 400px;
    overflow-y: auto;
}

/* Bottom Navigation - Mobile Only */
.bottom-nav {
    display: none !important;
}

@media (max-width: 768px) {
    .bottom-nav {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: #fff;
        border-top: 1px solid #E6E6E6;
        padding: 8px 0;
        justify-content: space-around;
    }
}

/* ==========================================================================
   Category Navigation Icons (UI.com Style)
   ========================================================================== */

.category-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 20px;
}

.category-nav-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.2s ease;
}

.category-nav-link:hover .category-nav-icon {
    filter: grayscale(0%);
    opacity: 1;
}

.category-nav-link.active .category-nav-icon {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive - Tablet */
@media (max-width: 1200px) {
    .category-nav-icon {
        width: 28px;
        height: 28px;
    }
    
    .category-nav-link {
        padding: 0 16px;
    }
}

/* Responsive - Mobile (hide desktop nav) */
@media (max-width: 768px) {
    .category-nav-uicom {
        display: none !important;
    }
}

/* ==========================================================================
   Category Navigation Bar (Below Header) - Icons Only
   ========================================================================== */

/* Show category-nav on ALL devices */
.category-nav {
    display: flex !important;
    justify-content: center;
    padding: 0;
    border-top: 1px solid #E6E6E6;
    background: #fff;
    overflow-x: auto;
}

.category-nav-inner {
    display: flex;
    gap: 0;
    padding: 0 24px;
    max-width: 1440px;
    justify-content: center;
}

.category-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 12px 24px;
    color: #4D4D4D;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    min-width: 60px;
}

.category-link:hover {
    color: #1A1A1A;
}

.category-link.active {
    color: #006FFF;
    border-bottom-color: #006FFF;
}

.category-link img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.2s ease;
}

.category-link:hover img,
.category-link.active img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Show text labels under icons */
.category-link span {
    display: block !important;
}

/* Responsive - Tablet */
@media (max-width: 1200px) {
    .category-link {
        padding: 10px 16px;
    }
    
    .category-link img {
        width: 36px;
        height: 36px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .category-nav-inner {
        padding: 0 12px;
        justify-content: flex-start;
    }
    
    .category-link {
        padding: 8px 12px;
        min-width: 50px;
    }
    
    .category-link img {
        width: 32px;
        height: 32px;
    }
}

/* === Products Section - UI.com Style === */
.products-section {
    padding: 40px 0;
    background: #FFFFFF;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 0;
}

.section-title {
    font-family: "UI Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: -0.64px;
    color: #000000;
    margin: 0;
    padding: 0;
}

.view-all {
    font-family: "UI Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #006FFF;
    text-decoration: none;
    transition: color 0.2s ease;
}

.view-all:hover {
    color: #0059CC;
}

/* Responsive Section Title */
@media (max-width: 1200px) {
    .section-title {
        font-size: 28px;
        line-height: 36px;
    }
}

@media (max-width: 768px) {
    .products-section {
        padding: 24px 0;
    }
    
    .section-header {
        margin-bottom: 16px;
    }
    
    .section-title {
        font-size: 24px;
        line-height: 32px;
    }
    
    .view-all {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 20px;
        line-height: 28px;
    }
}


/* === Section Header - UI.com Two-Color Style === */
.section-header-uicom {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 40px 0 24px 0;
    margin: 0;
}

.section-title-uicom {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: "UI Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: -0.64px;
    margin: 0;
    padding: 0;
}

.section-title-uicom .title-black {
    color: rgb(0, 0, 0);
}

.section-title-uicom .title-gray {
    color: rgba(0, 0, 0, 0.45);
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease;
}

.section-title-uicom .title-gray:hover {
    color: rgba(0, 0, 0, 0.65);
}

/* First section no top padding */
.products-section:first-of-type .section-header-uicom {
    padding-top: 24px;
}

/* Responsive */
@media (max-width: 1200px) {
    .section-title-uicom {
        font-size: 28px;
        line-height: 36px;
    }
}

@media (max-width: 768px) {
    .section-header-uicom {
        padding: 24px 0 16px 0;
    }
    
    .section-title-uicom {
        font-size: 24px;
        line-height: 32px;
    }
}

@media (max-width: 480px) {
    .section-title-uicom {
        font-size: 20px;
        line-height: 28px;
    }
}


/* === MOBILE FIX: Vertical Product Cards on Homepage === */
@media (max-width: 768px) {
    /* Grid layout - 2 columns */
    .products-section .products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 16px !important;
    }
    
    /* Vertical card layout */
    .products-section .product-card {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: auto !important;
        padding: 12px !important;
        background: #fff !important;
        border-radius: 12px !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
    }
    
    /* Large image at top */
    .products-section .product-card-image {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 !important;
        margin-bottom: 12px !important;
        background: #F9FAFB !important;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 16px !important;
    }
    
    .products-section .product-card-image img {
        max-width: 100% !important;
        max-height: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }
    
    /* Content below image */
    .products-section .product-card-content {
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        flex: 1 !important;
    }
    
    .products-section .product-card-title {
        font-size: 0.8125rem !important;
        font-weight: 500 !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    
    /* Hide SKU and description on mobile */
    .products-section .product-card-sku,
    .products-section .product-card-desc {
        display: none !important;
    }
    
    /* Footer with price and button */
    .products-section .product-card-footer {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-top: auto !important;
        padding: 0 !important;
        border-top: none !important;
        gap: 8px !important;
    }
    
    .products-section .product-card-price {
        font-size: 0.875rem !important;
        font-weight: 600 !important;
        color: #1A1A1A !important;
    }
    
    /* Blue icon button */
    .products-section .btn-add-cart {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        padding: 0 !important;
        border-radius: 8px !important;
        background: #006FFF !important;
        color: transparent !important;
        font-size: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }
    
    .products-section .btn-add-cart::before {
        content: '' !important;
        width: 18px !important;
        height: 18px !important;
        background-image: url(data:image/svg+xml,%3Csvg xmlns=http://www.w3.org/2000/svg viewBox=0 0 24 24 fill=white%3E%3Cpath d=M11 9h2V6h3V4h-3V1h-2v3H8v2h3v3zm-4 9c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zm-9.83-3.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.86-7.01L19.42 4h-.01l-1.1 2-2.76 5H8.53l-.13-.27L6.16 6l-.95-2-.94-2H1v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25z/%3E%3C/svg%3E) !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: contain !important;
    }
}

/* ===========================================
   FIX v15: Mobile Search Overlay
   =========================================== */
.mobile-search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 10000;
    flex-direction: column;
}

.mobile-search-overlay.active {
    display: flex !important;
}

.mobile-search-overlay .mobile-search-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #E5E7EB;
}

.mobile-search-overlay .mobile-search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #F6F6F8;
    border-radius: 53px;
}

.mobile-search-overlay .mobile-search-input-wrapper img {
    width: 20px;
    height: 20px;
    opacity: 0.5;
}

.mobile-search-overlay .mobile-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    outline: none;
}

.mobile-search-overlay .mobile-search-cancel {
    padding: 8px 0;
    background: none;
    border: none;
    color: #006FFF;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.mobile-search-overlay .mobile-search-results {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

/* ===========================================
   FIX v16: Desktop Search Bar (UI.com style)
   =========================================== */
.search-bar-uicom {
    flex: 1;
    max-width: 500px;
    margin: 0 24px;
}

.search-bar-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-bar-pill {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #F6F6F8;
    border-radius: 53px;
    transition: all 0.2s ease;
}

.search-bar-pill:focus-within {
    background: #fff;
    box-shadow: 0 0 0 2px #006FFF;
}

.search-bar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-bar-icon img {
    width: 20px;
    height: 20px;
    opacity: 0.5;
}

.search-bar-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
    min-width: 0;
}

.search-bar-input::placeholder {
    color: #808080;
}

.search-bar-clear {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 4px;
    background: none;
    border: none;
    cursor: pointer;
    color: #808080;
}

.search-bar-clear.visible {
    display: flex;
}

.search-bar-clear svg {
    width: 16px;
    height: 16px;
}

.search-bar-cancel {
    display: none;
    padding: 8px 0;
    background: none;
    border: none;
    color: #006FFF;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.search-bar-container.active .search-bar-cancel {
    display: block;
}

/* Search Dropdown */
.search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
}

.search-dropdown.visible {
    display: block;
}

.search-dropdown-content {
    padding: 8px 0;
}

.search-dropdown-empty {
    padding: 16px;
    text-align: center;
    color: #808080;
    font-size: 14px;
}

.search-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.search-dropdown-item:hover {
    background: #F6F6F8;
}

.search-dropdown-item-image {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F9FAFB;
    border-radius: 8px;
}

.search-dropdown-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.search-dropdown-item-info {
    flex: 1;
    min-width: 0;
}

.search-dropdown-item-name {
    font-weight: 500;
    color: #1A1A1A;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-dropdown-item-sku {
    font-size: 12px;
    color: #808080;
}

/* ===========================================
   FIX v17: Search input focus - remove double border
   =========================================== */
.search-bar-input:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.search-bar-pill:focus-within {
    outline: 2px solid #006FFF !important;
    outline-offset: 0 !important;
}

.search-bar-input {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* ===========================================
   FIX v18: Search focus - use box-shadow instead of outline
   =========================================== */
.search-bar-pill:focus-within {
    outline: none !important;
    box-shadow: 0 0 0 2px #006FFF !important;
}
