/* Easy-inspired theme overrides */
:root {
    --brand-yellow       : #ffe500;
    --brand-yellow-dark  : #f5d400;
    --brand-black        : #111111;
    --brand-gray         : #f5f5f5;
    --primary-500        : var(--brand-yellow);
    --primary-600        : var(--brand-yellow-dark);
    --primary-700        : #e4c700;

    /* Semantic surface/text tokens for Easy layer */
    --easy-surface       : #ffffff;
    --easy-surface-alt   : #f5f5f5;
    --easy-text          : #111111;
    --easy-text-secondary: #444444;
    --easy-border        : #e5e5e5;
    --bg-primary         : #ffffff;    /* fallback integrates with front.css */
    --bg-secondary       : var(--brand-gray);
    --text-primary       : var(--easy-text);
    --text-secondary     : var(--easy-text-secondary);
    --border-primary     : var(--easy-border);
    --focus-ring         : 0 0 0 3px rgb(255, 229, 0, 0.45);

    /* Neutral Colors */
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
  
    /* Semantic Colors */
    --success-500: #22c55e;
    --warning-500: #f59e0b;
    --error-500: #ef4444;
    --info-500: #3b82f6;

    /* Vendor products UI */
    --card: #fff;
    --muted: #6b7280;
    --accent: #0ea5a4;

    /* THEMED ACCOUNT AREA */
    --account-bg: #f4f6fa;
    --account-card-bg: #fff;
    --account-card-border: #e5e7eb;
    --account-card-radius: 14px;
    --account-shadow: 0 1px 2px rgb(0,0,0,.04), 0 4px 12px -2px rgb(0,0,0,.06);
    --account-shadow-soft: 0 1px 3px rgb(0,0,0,.06);
    --account-accent: #ffeb3b;
    --account-nav-active-bg: #fff9cf;
    --account-progress-track: #eceff3;
    --account-progress-bar: #111827;

    /* Dashboard specific styles */
    --dash-accent: #6366f1;
    --dash-card-bg: #fff;
    --dash-border: #eef2ff;
    --dash-radius: 12px;
    --dash-shadow: 0 8px 24px rgb(2,6,23,.04);

    /* Additional design system variables */
  
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  
    /* Layout */
    --container-max-width: 1280px;
    --container-padding: var(--space-4);
  
    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;

    /* Additional Background Colors */
    --bg-tertiary: var(--neutral-100);
    --bg-accent: #fffbea; /* light warm accent matching brand yellow */
  
    /* Additional Text Colors */
    --text-tertiary: var(--neutral-400);
    --text-inverse: #ffffff;
  
    /* Additional Border Colors */
    --border-secondary: var(--neutral-300);
    --border-accent: #ffe066; /* warm accent border */
  
    /* Spacing Scale */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    --space-24: 6rem;     /* 96px */
    --space-32: 8rem;     /* 128px */
  
    /* Typography Scale */
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    --font-size-5xl: 3rem;      /* 48px */
    --font-size-6xl: 3.75rem;   /* 60px */
  
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;
  
    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-snug: 1.375;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 2;
  
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;
  
    /* Shadows */
}

/* Dark mode overrides (activated by data-theme on html or body) */

/* Fallback: ensure --brand-black exists if stylesheet order overrides earlier definitions */
:root:not(:has(--brand-black)) {
    --brand-black: #111111;
}

/* --- Easy style header overhaul --- */
.easy-header {
    background: var(--brand-yellow);
    color     : #000;
    font-size : 13px;
    box-shadow: 0 1px 2px rgb(0, 0, 0, .08);
    position  : relative;
    z-index   : 60;
}

.easy-header a {
    color          : #000;
    text-decoration: none;
}

.easy-header-bar {
    max-width  : 1400px;
    margin     : 0 auto;
    display    : flex;
    align-items: center;
    gap        : 1rem;
    padding    : .55rem 1rem;
}

.easy-left {
    display    : flex;
    align-items: center;
    gap        : 1rem;
    min-width  : 220px;
}

.easy-logo img {
    height : 32px;
    width  : auto;
    display: block;
}

.easy-logo .txt {
    font-weight   : 800;
    font-size     : 1.35rem;
    letter-spacing: .5px;
}

.easy-ship {
    display    : flex;
    align-items: center;
    gap        : .4rem;
    font-size  : .65rem;
    font-weight: 600;
    line-height: 1.1;
}

.easy-ship .flag {
    font-size: 1.1rem;
}

.easy-ship .ship-dest {
    background     : none;
    border         : 0;
    font-weight    : 700;
    cursor         : pointer;
    font-size      : .6rem;
    text-decoration: underline;
    padding        : 0;
}

.easy-search {
    flex: 1;
}

.easy-search form {
    display      : flex;
    background   : var(--easy-surface);
    border-radius: 4px;
    overflow     : hidden;
    box-shadow   : 0 0 0 2px var(--easy-text) inset;
}

.easy-search input {
    flex     : 1;
    border   : 0;
    padding  : .55rem .75rem;
    font-size: .8rem;
}

.easy-search button {
    background : var(--easy-surface);
    border     : 0;
    width      : 50px;
    display    : grid;
    place-items: center;
    cursor     : pointer;
    font-size  : 1rem;
    color      : var(--easy-text);
}

.easy-actions {
    display    : flex;
    align-items: center;
    gap        : .9rem;
}

.easy-actions .act {
    position   : relative;
    display    : flex;
    align-items: center;
}

.dropdown-trigger {
    background   : transparent;
    color        : var(--easy-text);
    border       : 0;
    display      : inline-flex;
    align-items  : center;
    gap          : .3rem;
    padding      : .35rem .4rem;
    border-radius: 6px;
    font-size    : .6rem;
    font-weight  : 700;
    
    line-height  : 1;
    transition   : .15s;
}

.dropdown-trigger:hover {
    background: rgb(0, 0, 0, .08);
}

[data-dropdown] .dropdown-panel {
    position          : absolute;
    top               : calc(100% + 8px);
    inset-inline-start: 0;
    background        : var(--easy-surface);
    color             : var(--easy-text);
    min-width         : 200px;
    padding           : .75rem .85rem;
    border            : 1px solid var(--easy-border);
    border-radius     : 10px;
    box-shadow        : 0 12px 32px -8px rgb(0, 0, 0, .18);
    display           : none;
    flex-direction    : column;
    gap               : .7rem;
    animation         : panelIn .18s ease forwards;
    transform-origin  : top center;
    z-index           : 160;
}

@keyframes panelIn {
    from {
        opacity  : 0;
        transform: translateY(4px) scale(.96);
    }

    to {
        opacity  : 1;
        transform: translateY(0) scale(1);
    }
}

[data-dropdown].open>.dropdown-panel {
    display: flex;
}

.panel-section {
    display       : flex;
    flex-direction: column;
    gap           : .4rem;
}

.panel-title {
    font-size     : 18px;
    font-weight   : 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin        : 0 0 12px;
    color         : #233;
}

.panel-action {
    margin: 0;
}

.panel-action button {
    width        : 100%;
    background   : #f6f6f6;
    border       : 1px solid #ddd;
    padding      : .4rem .55rem;
    font-size    : .6rem;
    border-radius: 6px;
    font-weight  : 600;
    
    text-align   : start;
    transition   : .15s;
}

.panel-action button:hover:not(:disabled) {
    background  : #111;
    color       : #ffe500;
    border-color: #111;
}

.panel-action button:disabled {
    opacity: .45;
    cursor : not-allowed;
}

.currency-grid {
    display  : flex;
    flex-wrap: wrap;
    gap      : .4rem;
}

.currency-chip {
    background    : #f1f1f1;
    border        : 1px solid #ddd;
    padding       : .35rem .5rem;
    font-size     : .55rem;
    border-radius : 6px;
    font-weight   : 700;
    cursor        : pointer;
    letter-spacing: .5px;
}

.currency-chip.is-active,
.currency-chip:hover {
    background  : #111;
    color       : #ffe500;
    border-color: #111;
}

.circle-btn {
    position     : relative;
    background   : rgb(255,255,255,0.95);
    color        : #111;
    border       : none;
    width        : 38px;
    height       : 38px;
    border-radius: 8px;
    display      : grid;
    place-items  : center;
    box-shadow   : 0 2px 6px rgb(2,6,23,0.06);
    
    transition   : .15s;
}

.circle-btn:hover {
    background: rgb(0, 0, 0, .08);
}

.avatar-circle {
    background   : #111;
    color        : #ffe500;
    width        : 34px;
    height       : 34px;
    border-radius: 50%;
    display      : grid;
    place-items  : center;
    font-weight  : 700;
    font-size    : .75rem;
    box-shadow   : 0 2px 4px rgb(0, 0, 0, .15);
}

.menu-list {
    display       : flex;
    flex-direction: column;
    gap           : .15rem;
}

.menu-item {
    display        : flex;
    align-items    : center;
    gap            : .55rem;
    padding        : .45rem .55rem;
    background     : #f9f9f9;
    border         : 1px solid #eee;
    border-radius  : 8px;
    font-size      : 14px;
    font-weight    : 600;
    color          : #222;
    text-decoration: none;
    transition     : .15s;
}

.menu-item:hover {
    background  : #111;
    color       : #ffe500;
    border-color: #111;
}

.menu-item .mi-icon {
    width     : 20px;
    text-align: center;
    font-size : .8rem;
}

.logout-btn {
    background : none;
    border     : 0;
    font       : inherit;
    padding    : 0;
    color      : #d22;
    cursor     : pointer;
    font-weight: 700;
    display    : flex;
    align-items: center;
    gap        : .4rem;
}

.logout-btn:hover {
    color: #fff;
}

[data-tooltip] {
    position: relative;
}

[data-tooltip]:hover::after {
    content      : attr(data-tooltip);
    position     : absolute;
    top          : calc(100% + 6px);
    left         : 50%;
    transform    : translateX(-50%);
    background   : #000;
    color        : #ffe500;
    padding      : 4px 8px;
    font-size    : .55rem;
    border-radius: 4px;
    white-space  : nowrap;
    box-shadow   : 0 4px 12px rgb(0, 0, 0, .2);
}

.icon-btn .badge,
.circle-btn .badge {
    position     : absolute;
    top          : -4px;
    right        : -4px;
    background   : #1a5fff;
    color        : #fff;
    font-size    : .55rem;
    padding      : 2px 6px;
    border-radius: 14px;
    font-weight  : 800;
    box-shadow   : 0 2px 4px rgb(0, 0, 0, .25);
}

.txt.small {
    font-size  : .6rem;
    font-weight: 700;
}

.act-theme .theme-toggle {
    background   : transparent;
    color        : #111;
    border       : 0;
    width        : 34px;
    height       : 34px;
    display      : grid;
    place-items  : center;
    border-radius: 8px;
    
    font-size    : .9rem;
}

.act-theme .theme-toggle:hover {
    background: rgb(0, 0, 0, .08);
}

.icon-btn {
    position     : relative;
    display      : grid;
    place-items  : center;
    width        : 34px;
    height       : 34px;
    border-radius: 50%;
    background   : transparent;
    color        : #111;
    font-size    : .85rem;
    font-weight  : 700;
    transition   : .15s;
}

.icon-btn:hover {
    background: rgb(0, 0, 0, .08);
}

.icon-btn svg {
    color: inherit;
}

.icon-btn .badge,
.act-cart .badge {
    position     : absolute;
    top          : -4px;
    right        : -6px;
    background   : #1a5fff;
    color        : #fff;
    font-size    : .55rem;
    padding      : 2px 5px;
    border-radius: 12px;
    font-weight  : 700;
    min-width    : 18px;
    text-align   : center;
}

.act-cart .icon-btn {
    background: transparent;
}

.act-compare .icon-btn svg {
    width : 18px;
    height: 18px;
}

.act-account summary .icon {
    font-size: 1rem;
}

.act-account .dd-link {
    display        : block;
    font-size      : .65rem;
    padding        : .4rem .5rem;
    border-radius  : 5px;
    color          : #111;
    text-decoration: none;
    font-weight    : 600;
}

.act-account .dd-link:hover {
    background: #111;
    color     : #ffe500;
}

.act-lang-curr summary .lbl {
    font-size  : .65rem;
    font-weight: 700;
}

.easy-cats {
    background: #fff;
    border-top: 1px solid rgb(0, 0, 0, .08);
    box-shadow: 0 1px 2px rgb(0, 0, 0, .04);
}

.easy-cats .cat-list {
    max-width      : 1400px;
    margin         : 0 auto;
    padding        : 0 .75rem;
    list-style     : none;
    display        : flex;
    align-items    : center;
    gap            : 1.2rem;
    overflow       : auto;
    scrollbar-width: none;
}

.easy-cats .cat-list::-webkit-scrollbar {
    display: none;
}

.easy-cats a {
    display       : inline-block;
    padding       : .65rem 0;
    font-weight   : 900;
    color         : #111;
    white-space   : nowrap;
    letter-spacing: .1px;
}

.easy-cats a:hover {
    color          : #000;
    text-decoration: underline;
}

.easy-cats .more button {
    background: none;
    border    : 0;
    font-size : 1.2rem;
    cursor    : pointer;
    padding   : .4rem .25rem;
}

@media (max-width:900px) {
    .easy-header-bar {
        flex-wrap: wrap;
    }

    .easy-left {
        order: 1;
    }

    .easy-search {
        order: 3;
        width: 100%;
    }

    .easy-actions {
        order          : 2;
        flex           : 1;
        justify-content: flex-end;
    }

    .easy-cats .cat-list {
        gap: .8rem;
    }

    /* Hide desktop header controls on mobile */
    .easy-search,
    .easy-cats,
    .easy-actions .act-account,
    .easy-actions .act-wishlist,
    .easy-actions .act-compare,
    .easy-actions .act-cart,
    .easy-actions .act-lang-curr,
    .easy-left .easy-pages { display: none !important; }

    /* Reserve space for bottom nav */
    body { padding-bottom: 64px; }
}

/* Mobile bottom navigation */
.mobile-bottom-nav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    height: 56px;
    background: #fff;
    border-top: 1px solid var(--border-primary);
    display: none;
    z-index: var(--z-fixed);
}
.mobile-bottom-nav .mbn-item {
    flex: 1 1 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #111;
    text-decoration: none;
    font-size: 11px;
}
.mobile-bottom-nav .mbn-item i { font-size: 18px; }
.mobile-bottom-nav .mbn-item button {
    background: none; border: 0; padding: 0; color: inherit; font: inherit;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
}
@media (max-width:900px) {
    .mobile-bottom-nav { display: flex; }
}

/* --- End Easy style header overhaul --- */

/* Promo strip */
.promo-strip {
    background : var(--brand-yellow);
    color      : #000;
    font-size  : 12px;
    font-weight: 600;
}

.promo-strip .inner {
    max-width  : 1280px;
    margin     : 0 auto;
    padding    : 4px 1rem;
    display    : flex;
    gap        : .75rem;
    flex-wrap  : wrap;
    align-items: center;
}

.promo-strip .divider {
    opacity: .4;
}

/* Catalog filters top bar */
.catalog-topbar {
    background   : #fff;
    border       : 1px solid var(--border-primary);
    border-radius: 8px;
    padding      : .45rem .6rem;
    margin-bottom: .65rem;
}

.catalog-filters .filters-row {
    display    : flex;
    gap        : .5rem;
    flex-wrap  : wrap;
    align-items: center;
}

.catalog-filters .filter-input {
    border       : 1px solid var(--border-primary);
    border-radius: 4px;
    padding      : .45rem .6rem;
    font-size    : .8rem;
    min-width    : 140px;
}

.catalog-filters .filter-select {
    border       : 1px solid var(--border-primary);
    border-radius: 4px;
    padding      : .45rem .6rem;
    font-size    : .75rem;
    background   : #fff;
}

.catalog-filters .flag {
    display      : flex;
    align-items  : center;
    gap          : .25rem;
    font-size    : .7rem;
    background   : #f4f4f4;
    padding      : .35rem .5rem;
    border       : 1px solid #e2e2e2;
    border-radius: 20px;
    
}

.catalog-filters .flag input {
    margin: 0;
}

.btn-compact {
    padding  : .45rem .8rem;
    font-size: .7rem;
}

.results-badge {
    background   : var(--brand-yellow);
    color        : #000;
    font-size    : .6rem;
    font-weight  : 700;
    padding      : .4rem .6rem;
    border-radius: 14px;
    margin-left  : auto;
}

.chips-row .chip {
    background   : #f0f6ff;
    border       : 1px solid #d9e6ff;
    padding      : .35rem .6rem;
    border-radius: 20px;
    font-size    : .72rem;
    color        : #123;
}

.catalog-topbar .filters-row {
    gap: .6rem;
}

/* Product card refinements */
.catalog-layout {
    display              : grid;
    grid-template-columns: 260px 1fr;
    gap                  : 1rem;
    align-items          : start;
}

.catalog-sidebar {
    background   : #fff;
    border       : 1px solid var(--border-primary);
    border-radius: 8px;
    padding      : .75rem .9rem;
    position     : sticky;
    top          : 1rem;
    align-self   : start;
}

.catalog-main {
    display       : flex;
    flex-direction: column;
    gap           : .6rem;
}

/* ===== PRODUCTS GRID - UNIFIED CSS ===== */
.products-grid,
.flash-sale-grid,
.latest-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.products-grid .product-card,
.flash-sale-grid .product-card,
.latest-products-grid .product-card {
    background: var(--card, #fff);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.08);
    transition: all var(--transition-normal);
    overflow: hidden;
    position: relative;
}

.products-grid .product-card:hover,
.flash-sale-grid .product-card:hover,
.latest-products-grid .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgb(0 0 0 / 0.12);
}

/* Product card styles moved to unified section above */

.product-card .product-title {
    font-size         : 1rem;
    line-height       : 1.2;
    height            : 2.6em;
    overflow          : hidden;
    display           : -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp        : 2;
    -webkit-box-orient: vertical;
    margin            : 0 0 6px 0;
    color             : #111;
    font-weight       : 600;
    text-overflow     : ellipsis;
    white-space       : nowrap;
}

.product-card .product-category {
    font-size     : .55rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    color         : #666;
}

.product-card .product-price {
    font-weight: 800;
    color      : #000;
    font-size  : 0.95rem;
}

.product-card .price-original {
    text-decoration    : line-through;
    font-weight        : 400;
    font-size          : 0.75rem;
    color              : #8a8a8a;
    margin-left        : 6px;
}

.product-badge {
    position     : absolute;
    top          : 10px;
    left         : 10px;
    background   : #222;
    font-size    : 0.65rem;
    padding      : 4px 6px;
    border-radius: 6px;
    color        : #fff;
    font-weight  : 700;
}

.product-badge.sale-badge {
    background: #ff3131;
    color     : #fff;
}

.product-badge.featured-badge {
    background: #222;
    color     : #fff;
}

.rating-row {
    display    : flex;
    align-items: center;
    gap        : 4px;
    font-size  : 0.72rem;
    margin-top : 4px;
}

.rating-score {
    font-weight  : 700;
    background   : #0055d4;
    color        : #fff;
    padding      : 2px 4px;
    border-radius: 4px;
    font-size    : 0.75rem;
}

.rating-stars {
    display: flex;
    gap    : 1px;
}

.rating-stars .star {
    fill  : #ddd;
    stroke: #ddd;
    width : 14px;
    height: 14px;
}

.rating-stars .star.filled {
    fill  : #ffc400;
    stroke: #ffc400;
}

.reviews-count {
    color      : #666;
    font-weight: 600;
    font-size  : .55rem;
}

.delivery-flags {
    margin-top: 4px;
    display   : flex;
    gap       : 4px;
    flex-wrap : wrap;
}

.flag-express {
    background   : #ffe500;
    color        : #000;
    font-size    : .5rem;
    font-weight  : 700;
    padding      : 2px 4px;
    border-radius: 3px;
    display      : inline-block;
}

.mega-footer {
    background: #111;
    color     : #ddd;
    margin-top: 2rem;
    font-size : .75rem;
}

.mega-footer .container {
    max-width: 1280px;
    margin   : 0 auto;
    padding  : 1.75rem 1rem;
}

.why-choose-us {
    background   : #181818;
    border-top   : 4px solid var(--brand-yellow);
    border-radius: 6px;
}

.choose-grid {
    display              : grid;
    gap                  : 1rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    margin-top           : .75rem;
}

.choose-item {
    background    : #1f1f1f;
    padding       : .85rem .9rem;
    border        : 1px solid #222;
    border-radius : 6px;
    display       : flex;
    flex-direction: column;
    gap           : .4rem;
}

.choose-item .icon {
    font-size: 1.4rem;
}

.choose-item h3 {
    margin     : 0;
    font-size  : .8rem;
    font-weight: 700;
    color      : #fff;
}

.choose-item p {
    margin     : 0;
    font-size  : .65rem;
    line-height: 1.3;
    color      : #bbb;
}

.latest-news {
    background   : #161616;
    border-radius: 6px;
    margin-top   : 1.25rem;
}

.news-list {
    display              : grid;
    gap                  : .85rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-top           : .75rem;
}

.news-item {
    flex             : 0 0 230px;
    background       : #1f1f1f;
    border           : 1px solid #222;
    border-radius    : 6px;
    padding          : .75rem .8rem;
    display          : flex;
    flex-direction   : column;
    gap              : .4rem;
}

.news-item h3 {
    font-size  : .7rem;
    margin     : 0;
    line-height: 1.3;
    font-weight: 600;
}

.news-item a {
    color          : #fff;
    text-decoration: none;
}

.news-item .excerpt {
    margin     : 0;
    font-size  : .6rem;
    line-height: 1.35;
    color      : #aaa;
}

.news-item .date {
    font-size  : .55rem;
    color      : #888;
    font-weight: 500;
}

.stay-loop {
    background   : #181818;
    border-radius: 6px;
    margin-top   : 1.25rem;
    text-align   : center;
}

.subscribe-form {
    display        : flex;
    gap            : .5rem;
    justify-content: center;
    margin-top     : .75rem;
    flex-wrap      : wrap;
}

.subscribe-form input[type="email"] {
    border       : 1px solid #333;
    background   : #1f1f1f;
    color        : #fff;
    padding      : .55rem .7rem;
    border-radius: 4px;
    font-size    : .7rem;
    min-width    : 220px;
}

.footer-bottom {
    background : #0d0d0d;
    border-top : 1px solid #222;
    margin-top : 1.25rem;
    padding-top: 1.25rem;
}

.footer-cols {
    display              : grid;
    gap                  : 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.footer-cols h4 {
    margin        : 0 0 .5rem;
    font-size     : .75rem;
    font-weight   : 700;
    color         : #fff;
    letter-spacing: .5px;
}

.footer-cols ul {
    list-style    : none;
    margin        : 0;
    padding       : 0;
    display       : flex;
    flex-direction: column;
    gap           : .35rem;
}

.footer-cols a {
    color          : #bbb;
    text-decoration: none;
    font-size      : .65rem;
}

.footer-cols a:hover {
    color: #fff;
}

.socials {
    display: flex;
    gap    : .4rem;
}

.socials a {
    background   : #222;
    color        : #fff;
    width        : 26px;
    height       : 26px;
    display      : grid;
    place-items  : center;
    border-radius: 4px;
    font-size    : .6rem;
}

.credits {
    margin-top: 1.25rem;
    font-size : .6rem;
    text-align: center;
    color     : #777;
}

/* New structured footer */
.footer-new {
    background: #f5f7fa;
    color     : #222;
    font-size : .75rem;
    margin-top: 2rem;
    border-top: 1px solid #e2e6ea;
}

.footer-new a {
    text-decoration: none;
    color          : #222;
}

.footer-support-bar {
    display              : grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap                  : 1.5rem;
    padding              : 1.75rem 2rem 1.25rem;
    max-width            : 1400px;
    margin               : 0 auto;
}

.footer-support-bar .support-item strong {
    display      : block;
    margin-bottom: .25rem;
}

.support-channel {
    display       : flex;
    flex-direction: row; /* changed from column to row to show items inline */
    align-items   : center;
    gap           : .5rem;
    flex-wrap     : wrap; /* allow wrapping on very narrow screens */
}

.support-channel .icon {
    font-size: 1rem;
}

.support-channel .label {
    text-transform: uppercase;
    letter-spacing: .75px;
    font-weight   : 700;
    color         : #555;
}

.support-channel a,
.support-channel span {
    font-weight: 600;
}

.footer-columns {
    display              : grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap                  : 2rem;
    padding              : 0 2rem 1.5rem;
    max-width            : 1400px;
    margin               : 0 auto;
}

.footer-columns h4 {
    margin        : 0 0 .6rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight   : 700;
}

.footer-columns ul {
    list-style    : none;
    padding       : 0;
    margin        : 0;
    display       : flex;
    flex-direction: column;
    gap           : .4rem;
}

.footer-columns li a {
    color    : #333;
}

.footer-columns li a:hover {
    color: #000;
}

.footer-apps-social {
    display        : flex;
    flex-wrap      : wrap;
    justify-content: space-between;
    align-items    : center;
    gap            : 1.5rem;
    border-top     : 1px solid #e2e6ea;
    border-bottom  : 1px solid #e2e6ea;
    padding        : 1.25rem 2rem;
    max-width      : 1400px;
    margin         : 0 auto;
}

.apps-title,
.social-title {
    display       : block;
    text-transform: uppercase;
    letter-spacing: .6px;
    font-weight   : 700;
    margin-bottom : .35rem;
}

.apps {
    display       : flex;
    flex-direction: column;
    gap           : .4rem;
}

.app-badge {
    display       : inline-block;
    background    : #000;
    color         : #fff;
    padding       : .5rem .75rem;
    border-radius : 6px;
    font-weight   : 600;
    letter-spacing: .5px;
}

.social-connect {
    display       : flex;
    flex-direction: column;
    gap           : .4rem;
}

.social-icons {
    display: flex;
    gap    : .5rem;
}

.social-icons a {
    width        : 34px;
    height       : 34px;
    display      : grid;
    place-items  : center;
    background   : #ffe500;
    color        : #000;
    font-weight  : 700;
    border-radius: 50%;
}

/* Horizontal footer legal row (pages left, rights center, payments right) */
.footer-legal.footer-legal-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.footer-legal-row .legal-left {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}
.footer-legal-row .legal-center {
    flex: 1;
    text-align: center;
}
.footer-legal-row .legal-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: .4rem;
}

/* Horizontal app badges */
.app-badges-row {
    display: flex;
    gap: .55rem;
    flex-wrap: wrap;
}
.app-badges-row .app-badge { flex:0 0 auto; }

@media (max-width:800px){
    .footer-legal.footer-legal-row { 
        flex-direction: column; 
        align-items: flex-start; 
    }
    .footer-legal-row .legal-center { text-align:left; }
    .footer-legal-row .legal-right { justify-content:flex-start; }
}

.footer-legal {
    max-width     : 1400px;
    margin        : 0 auto;
    padding       : 1.25rem 2rem 2rem;
    display       : flex;
    flex-direction: column;
    gap           : 1rem;
}

.payments {
    display    : flex;
    gap        : .5rem;
    align-items: center;
}

.pm {
    background   : #fff;
    border       : 1px solid #dcdfe3;
    padding      : .25rem .5rem;
    font-weight  : 700;
    border-radius: 4px;
}

.pm.visa {
    color: #1a4aa8;
}

.pm.mc {
    color: #d82400;
}

.pm.amex {
    color: #016fd0;
}

.pm.cash {
    color: #2c6e2f;
}

.legal-links {
    display  : flex;
    flex-wrap: wrap;
    gap      : 1rem;
}

.legal-links a {
    color      : #444;
    font-weight: 500;
}

.legal-links a:hover {
    color: #000;
}

.copyright {
    color    : #666;
}

@media (max-width:800px) {
    .footer-support-bar {
        grid-template-columns: 1fr 1fr;
    }

    .footer-apps-social {
        flex-direction: column;
        align-items   : flex-start;
    }
}

/* Latest News slider */
.latest-news-header {
    display        : flex;
    align-items    : center;
    justify-content: space-between;
    gap            : 1rem;
}

.news-nav {
    display: flex;
    gap    : .4rem;
}

.news-btn {
    background   : #1f1f1f;
    border       : 1px solid #333;
    color        : #fff;
    width        : 34px;
    height       : 34px;
    border-radius: 6px;
    
    display      : grid;
    place-items  : center;
    transition   : .2s;
}

.news-btn:hover:not(:disabled) {
    background: #262626;
}

.news-btn:disabled {
    opacity: .35;
    cursor : not-allowed;
}

.news-scroller {
    position  : relative;
    overflow  : hidden;
    margin-top: .75rem;
}

.news-track {
    display         : flex;
    gap             : 1rem;
    overflow-x      : auto;
    scroll-snap-type: x mandatory;
    padding-bottom  : .25rem;
    scrollbar-width : none;
}

.news-track::-webkit-scrollbar {
    display: none;
}


.news-title {
    margin     : 0;
    font-weight: 600;
    line-height: 1.3;
    color      : #fff;
}

.meta-row {
    display        : flex;
    justify-content: space-between;
    align-items    : center;
    color          : #999;
    margin-top     : auto;
}

.read-more {
    background     : #ffe500;
    color          : #000;
    padding        : 2px 6px;
    border-radius  : 4px;
    font-weight    : 600;
    text-decoration: none;
}

@media (max-width:600px) {
    .news-item {
        flex: 0 0 70%;
    }
}

/* Header nav refinement for closer look */

.site-header .primary a {
    font-size     : .75rem;
    font-weight   : 600;
    letter-spacing: .25px;
}

.categories-ribbon {
    background   : #fff;
    border-bottom: 1px solid var(--border-primary);
    box-shadow   : 0 1px 2px rgb(0, 0, 0, 0.05);
    font-size    : 0;
}

.categories-ribbon .inner a {
    font-size : .65rem;
    padding   : .32rem .65rem;
    background: #fff;
    border    : 1px solid #ececec;
}

.categories-ribbon .inner a:hover {
    border-color: var(--brand-yellow);
}

@media (max-width:700px) {
    .catalog-filters .filter-input {
        flex: 1 1 100%;
    }
}

.site-header {
    background: var(--brand-black);
    color     : #fff;
    font-size : 14px;
}

.site-header a {
    color          : #fff;
    text-decoration: none;
}

.site-header .navbar {
    max-width  : 1280px;
    margin     : 0 auto;
    padding    : 0.5rem 1rem;
    display    : flex;
    align-items: center;
    gap        : 1rem;
}

.site-header .brand {
    display    : flex;
    align-items: center;
    font-weight: 700;
    font-size  : 1.25rem;
}

.header-search {
    flex: 1;
}

.header-search form {
    display      : flex;
    border       : 2px solid var(--brand-yellow);
    border-radius: 4px;
    overflow     : hidden;
    background   : #fff;
}

.header-search input[type='text'] {
    flex     : 1;
    padding  : 0.65rem 0.75rem;
    border   : 0;
    font-size: 0.95rem;
    outline  : none;
}

.header-search button {
    background     : var(--brand-yellow);
    border         : 0;
    padding        : 0 1rem;
    display        : flex;
    align-items    : center;
    justify-content: center;
    cursor         : pointer;
    font-weight    : 600;
}

.header-search button:hover {
    background: var(--primary-600);
}

.header-actions {
    display    : flex;
    gap        : 0.75rem;
    align-items: center;
}

.header-action {
    display       : flex;
    flex-direction: column;
    align-items   : center;
    color         : #fff;
    font-size     : 0.65rem;
    line-height   : 1;
    text-transform: uppercase;
    font-weight   : 600;
}

.header-action .icon {
    width        : 28px;
    height       : 28px;
    display      : grid;
    place-items  : center;
    background   : #222;
    border-radius: 50%;
    margin-bottom: 4px;
    position     : relative;
}

.header-action .badge {
    position     : absolute;
    top          : -6px;
    right        : -6px;
    background   : var(--brand-yellow);
    color        : #000;
    font-size    : 10px;
    padding      : 2px 4px;
    border-radius: 10px;
    font-weight  : 700;


}


.categories-ribbon .inner {
    max-width      : 1280px;
    margin         : 0 auto;
    padding        : 0.4rem 1rem;
    display        : flex;
    gap            : 1rem;
    overflow       : auto;
    scrollbar-width: none;
}

.product-info {
    background    : #fff;
    border        : 1px solid var(--border-primary);
    border-radius : 8px;
    padding       : 1rem 1.25rem;
    display       : flex;
    flex-direction: column;
    gap           : 0.85rem;
    padding-right : 12px;
}

.purchase-box {
    background    : #fff;
    border        : 1px solid #e8f0f6;
    border-radius : 12px;
    padding       : 18px;
    display       : flex;
    flex-direction: column;
    gap           : 0.75rem;
    position      : relative;
    border-left   : 1px solid rgb(0, 0, 0, 0.04);
}

.product-header {
    margin-bottom: 10px;
}

.product-pricing {
    display    : flex;
    align-items: baseline;
    gap        : 12px;
    font-size  : 1.9rem;
    font-weight: 900;
    margin-top : 8px;
}

.categories-ribbon .inner::-webkit-scrollbar {
    display: none;
}

.categories-ribbon a {
    white-space  : nowrap;
    color        : #111;
    font-weight  : 500;
    font-size    : 0.85rem;
    padding      : 0.35rem 0.6rem;
    border-radius: 20px;
    background   : var(--brand-gray);
}

.categories-ribbon a:hover {
    background: var(--brand-yellow);
    color     : #000;
}

.btn,
button[type="submit"] {
    --btn-bg      : var(--brand-yellow);
    --btn-color   : #111;
    --btn-bg-hover: var(--primary-600);

    display      : inline-flex;
    align-items  : center;
    gap          : 8px;
    padding      : 8px 10px;
    font-weight  : 600;
    font-size    : 13px;
    color        : var(--text-primary);
    transition   : .15s;
}

.btn.btn-primary {
    background  : var(--brand-yellow);
    color       : #111;
    border-color: var(--brand-yellow);
}

.btn.btn-primary:hover {
    background: var(--primary-600);
}


.product-card .product-image {
    position       : relative;
    overflow       : hidden;
    width          : 100%;
    height         : 220px;
    background     : #fff;
    padding        : 0.6rem;
    display        : flex;
    align-items    : center;
    justify-content: center;
    border-bottom  : 1px solid var(--border-primary);
    background-color: var(--surface-2, #f8f8f8);
}

.product-card img {
    max-width : 100%;
    max-height: 100%;
    object-fit: cover;
}

.product-card .product-content {
    padding       : 12px;
    display       : flex;
    flex-direction: column;
    flex          : 1 1 auto;
    gap           : 0.45rem;
}

.product-card .price-sale {
    color      : #000;
    font-weight: 800;
}


.product-card form .btn {
    width        : 100%;
    font-size    : 0.8rem;
    padding      : .55rem .6rem;
    border-radius: 6px;
}

/* Ensure Select options button has same size as Add to Cart button */
.product-card .btn {
    width        : 100%;
    font-size    : 0.8rem;
    padding      : .55rem .6rem;
    border-radius: 6px;
    display      : inline-flex;
    align-items  : center;
    justify-content: center;
    text-align   : center;
    text-decoration: none;
}


.product-card .price-badge {
    background   : #e9f7ee;
    color        : #0a8a3f;
    font-weight  : 700;
    padding      : 2px 6px;
    border-radius: 6px;
    font-size    : 0.68rem;
    margin-left  : 6px;
}

.fav-btn {
    position     : absolute;
    top          : 10px;
    right        : 10px;
    width        : 34px;
    height       : 34px;
    border-radius: 50%;
    background   : #fff;
    border       : 1px solid var(--border-primary);
    display      : grid;
    place-items  : center;
    
    transition   : .15s;
}

.cart-quick {
    position     : absolute;
    right        : 10px;
    bottom       : 90px;
    background   : var(--brand-yellow);
    color        : #000;
    padding      : 6px 8px;
    border-radius: 6px;
    border       : none;
    font-weight  : 700;
    
}

.fav-btn[disabled],
.cart-quick[disabled],
.compare-btn[disabled] {
    opacity: .4;
    cursor : wait;
}

.compare-btn.is-active,
.fav-btn.active {
    background  : #ffe500;
    border-color: #ffe500;
}

/* ===== SIDEBAR BLOCKS - OPTIMIZED CSS ===== */
.catalog-sidebar .sidebar-block {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-normal);
}

.catalog-sidebar .sidebar-block:hover {
    box-shadow: var(--shadow-md);
}

.catalog-sidebar h4 {
    font-size: 0.9rem;
    font-weight: var(--font-weight-bold);
    margin: 0 0 1rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.5rem;
}

.catalog-sidebar h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 30px;
    background: linear-gradient(90deg, var(--brand-yellow), transparent);
    border-radius: 1px;
}

/* ===== CATEGORY FILTER SECTION - OPTIMIZED CSS ===== */
.category-list .cat-item {
    margin-bottom: 6px;
    padding: 0.25rem 0;
    border-bottom: 1px solid var(--border-primary);
    transition: background-color var(--transition-fast);
}

.category-list .cat-item:hover {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding-left: 0.5rem;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.category-list .cat-item > a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: var(--font-weight-semibold);
    display: block;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.category-list .cat-item > a:hover {
    color: var(--brand-yellow-dark);
    text-decoration: none;
}

.category-list .cat-children {
    margin: 0.25rem 0 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-left: 0.5rem;
    border-left: 2px solid var(--border-primary);
}

.category-list .cat-children a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: all var(--transition-fast);
    position: relative;
}

.category-list .cat-children a:hover {
    color: var(--brand-yellow-dark);
    text-decoration: none;
    padding-left: 0.5rem;
}

.category-list .cat-children a::before {
    content: "→";
    position: absolute;
    left: -1rem;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.category-list .cat-children a:hover::before {
    opacity: 1;
}

/* ===== FILTER BRAND SECTION - SEPARATE FROM MAIN BRANDS ===== */
.filter-brand-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-primary);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.filter-brand-item:hover {
    background-color: var(--bg-secondary);
}

.filter-brand-item input[type="checkbox"] {
    margin: 0;
    cursor: pointer;
}

.filter-brand-name {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
}

.filter-brand-count {
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    padding: 0.2rem 0.4rem;
    border-radius: var(--radius-sm);
    min-width: 1.5rem;
    text-align: center;
}

.filter-brand-item input[type="checkbox"]:checked + .filter-brand-name {
    color: var(--brand-yellow-dark);
    font-weight: var(--font-weight-semibold);
}

.filter-brand-item input[type="checkbox"]:checked ~ .filter-brand-count {
    background: var(--brand-yellow);
    color: var(--brand-black);
    font-weight: var(--font-weight-semibold);
}

/* ===== FILTER FORMS STYLING ===== */
.filter-form {
    margin: 0;
    padding: 0;
}

.filter-apply-btn {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.5rem;
    font-size: 0.8rem;
}

.brand-search input[type="search"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.brand-search input[type="search"]:focus {
    outline: none;
    border-color: var(--brand-yellow);
    box-shadow: 0 0 0 2px rgb(255 229 0 / 0.2);
}

.brand-list {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    background: var(--bg-primary);
}

/* ===== PRICE FILTER STYLING ===== */
.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.price-input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    text-align: center;
}

.price-input:focus {
    outline: none;
    border-color: var(--brand-yellow);
    box-shadow: 0 0 0 2px rgb(255 229 0 / 0.2);
}

.price-separator {
    font-weight: var(--font-weight-semibold);
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.value-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.value-row strong {
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}


.filters-row {
    display      : flex;
    flex-wrap    : wrap;
    gap          : .5rem;
    align-items  : center;
    background   : #fff;
    padding      : .55rem .7rem;
    border       : 1px solid var(--border-primary);
    border-radius: 10px;
}

.filters-row .filter-input {
    flex         : 1 1 220px;
    min-width    : 180px;
    border       : 1px solid var(--border-primary);
    border-radius: 8px;
    padding      : .5rem .65rem;
}

.filters-row .filter-select {
    border       : 1px solid var(--border-primary);
    background   : #fff;
    border-radius: 8px;
    padding      : .45rem .6rem;
    font-weight  : 600;
    
}

.filters-row .flag {
    display      : flex;
    align-items  : center;
    gap          : .3rem;
    font-weight  : 600;
    background   : #f5f5f5;
    padding      : .35rem .55rem;
    border-radius: 30px;
    
}

.filters-row .flag input {
    margin: 0;
}

.filters-row .btn-compact {
    font-size    : .6rem;
    padding      : .45rem .75rem;
    border-radius: 8px;
    font-weight  : 700;
}


.chips-row {
    display  : flex;
    flex-wrap: wrap;
    gap      : .45rem;
    margin: .65rem 0 .8rem;
}

.chip {
    background   : #f1f1f1;
    border       : 1px solid #e1e1e1;
    padding      : .4rem .7rem;
    font-size    : .6rem;
    font-weight  : 600;
    border-radius: 30px;
    display      : flex;
    align-items  : center;
}

.chip a {
    color          : #555;
    text-decoration: none;
    font-weight    : 700;
    margin-left    : .4rem;
}

.chip a:hover {
    color: #000;
}

/* Product card refinements */

.product-card .product-badge {
    position     : absolute;
    top          : 8px;
    left         : 8px;
    background   : #111;
    color        : #ffe500;
    font-size    : .55rem;
    font-weight  : 700;
    padding      : 4px 8px;
    border-radius: 6px;
}

.product-card .product-badge.featured-badge {
    background: #0055d4;
    color     : #fff;
}

.product-card .badges-inline {
    position      : absolute;
    top           : 8px;
    left          : 8px;
    display       : flex;
    flex-direction: column;
    gap           : 6px;
    align-items   : flex-start;
    z-index       : 25;
    white-space   : normal;
    overflow      : hidden;
    right         : auto;
}

.product-card .badges-inline .product-badge {
    display        : inline-flex !important;
    align-items    : center;
    justify-content: center;
    position       : relative !important;
    top            : auto !important;
    left           : auto !important;
    margin-right   : 6px !important;
    margin-bottom  : 6px !important;
    padding        : 4px 8px !important;
    font-size      : 12px;
    white-space    : normal !important;
    width          : auto !important;
}

.product-card .badges-inline .product-badge:last-child {
    margin-bottom: 0 !important;
}



.product-card .top-controls {
    position      : absolute;
    top           : 10px;
    right         : 25px;
    display       : flex;
    flex-direction: column;
    gap           : 8px;
    align-items   : flex-end;
    z-index       : 70;
}

.product-card .top-controls .fav-btn,
.product-card .top-controls .compare-btn,
.product-card .top-controls .cart-quick {
    display        : flex;
    align-items    : center;
    justify-content: center;
}

/* Ensure fav and compare stack vertically with consistent spacing */
.product-card .top-controls .fav-btn {
    order        : 1;
    margin-bottom: 8px;
}

.product-card .top-controls .compare-btn {
    order        : 2;
    margin-bottom: 8px;
}

.product-card .top-controls .cart-quick {
    order: 3;
}

.product-card .product-badge.sale-badge {
    background: #fff;
    color     : #d60000;
    border    : 1px solid #d60000;
}

.delivery-flags .flag-express {
    background   : #e6f4ff;
    color        : #0055d4;
    font-size    : .5rem;
    font-weight  : 700;
    padding      : 3px 6px;
    border-radius: 4px;
    display      : inline-flex;
    align-items  : center;
    gap          : 3px;
}

.delivery-flags .flag-express::before {
    content  : "🚀";
    font-size: .6rem;
}

.add-to-cart-form .btn-sm {
    padding    : .5rem .65rem;
    font-size  : .6rem;
    font-weight: 700;
}


.fav-btn:hover {
    background: #ffe500;
}

/* Sidebar refinement */



/* Category styles moved to optimized section above */


/* Pagination */
.pagination-wrapper {
    margin-top: 1rem;
}

@media (max-width:1000px) {
    .catalog-layout {
        grid-template-columns: 1fr
    }

    .catalog-sidebar {
        order: 2
    }

    .catalog-main {
        order: 1
    }
}

/* Responsive adjustments moved to unified section below */

/* Toast system */
.toast-stack {
    position        : fixed;
    top             : 80px;
    inset-inline-end: 20px;
    display         : flex;
    flex-direction  : column;
    gap             : 8px;
    z-index         : 9999;
    max-width       : 280px;
    pointer-events  : none;
}

[dir='rtl'] .toast-stack {
    inset-inline-end  : auto;
    inset-inline-start: 20px;
}

.toast {
    background   : #111;
    color        : #ffe500;
    padding      : .7rem .85rem;
    border-radius: 10px;
    font-size    : .8rem;
    font-weight  : 500;
    box-shadow   : 0 6px 18px rgb(0, 0, 0, .3);
    opacity      : 0;
    transform    : translateY(-6px);
    transition   : .35s cubic-bezier(.4, .2, .3, 1);
    
    user-select  : none;
    position     : relative;
    z-index      : 10000;
    pointer-events: auto;
}

.toast.in {
    opacity  : 1;
    transform: translateY(0);
}

.toast.out {
    opacity  : 0;
    transform: translateY(-6px);
}

.toast-success {
    background: #0a8a3f;
    color     : #fff;
}

.toast-error {
    background: #c62828;
    color     : #fff;
}

.toast-info {
    background: #0055d4;
    color     : #fff;
}

.toast-warning {
    background: #ff9800;
    color     : #111;
}

/* Wider layout (85% screen) for product detail related sections */
.product-details-section>.container,
.product-tabs-section>.container,
.related-products-section>.container {
    width       : 85%;
    max-width   : 85%;
    margin-left : auto;
    margin-right: auto;
}

@media (max-width:1100px) {

    .product-details-section>.container,
    .product-tabs-section>.container,
    .related-products-section>.container {
        width    : 100%;
        max-width: 100%;
    }
}

/* Product details layout */
.product-details-section {
    background: var(--brand-gray);
    padding   : 20px 0;
}

.product-details-layout {
    display              : grid;
    grid-template-columns: 1fr;
    gap                  : 16px;
    max-width            : 95%;
    margin               : 0 auto;
    padding              : 0 1rem;
    align-items          : start;
}

@media (max-width:900px) {
    .product-details-layout {
        grid-template-columns: 1fr;
    }
}

.product-main {
    display              : grid;
    grid-template-columns: 120px 1fr;
    gap                  : 1rem;
    align-items          : start
}

.product-gallery {
    background: transparent;
    padding   : 0
}

.thumbnail-gallery {
    display   : flex;
    gap       : 6px;
    margin-top: 8px;
    overflow  : auto;
    padding   : 10px 2px;
}

.thumbnail-gallery .thumbnail {
    border       : 1px solid var(--border-primary);
    background   : #fff;
    padding      : 4px;
    border-radius: 6px;
    
    width        : auto;
}

.thumbnail-gallery .thumbnail.active {
    border-color: #000;
    box-shadow  : 0 0 0 2px #000 inset;
}

.thumbnail-gallery img {
    width     : 62px;
    height    : 62px;
    object-fit: contain;
    display   : block;
    border-radius: 4px;
}

.main-image-container {
    background   : #fff;
    border       : 1px solid var(--border-primary);
    border-radius: 8px;
    padding      : 12px
}

.main-image {
    display        : flex;
    align-items    : center;
    justify-content: center;
    padding        : 12px 6px;
    width          : 50%;
    height         : auto;
    max-height     : 380px;
    object-fit     : contain;
}

/* Thumbnails below main image (no sticky behavior for horizontal row) */

/* Lightbox / modal for zoomed image */
.lightbox-modal {
    position       : fixed;
    inset          : 0;
    background     : rgb(0, 0, 0, 0.75);
    display        : none;
    align-items    : center;
    justify-content: center;
    z-index        : 1200;
    padding        : 2rem;
}

.lightbox-modal.show {
    display: flex
}

.lightbox-modal .lightbox-inner {
    max-width      : 95%;
    max-height     : 95%;
    display        : flex;
    align-items    : center;
    justify-content: center;
    position       : relative
}

.lightbox-modal img {
    max-width    : 100%;
    max-height   : 100%;
    object-fit   : contain;
    border-radius: 6px
}

.lightbox-close {
    position     : absolute;
    top          : -18px;
    right        : -18px;
    background   : #fff;
    border-radius: 50%;
    width        : 36px;
    height       : 36px;
    display      : grid;
    place-items  : center;
    cursor       : pointer
}

/* Low-res placeholder styling while images load */
.image-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes placeholderShimmer {
    from {
        background-position: 200% 0
    }

    to {
        background-position: -200% 0
    }
}



.coupon-pill {
    background   : #f4fff7;
    border       : 1px dashed #cfeee0;
    padding      : .5rem .75rem;
    border-radius: 8px;
    font-weight  : 700;
    color        : #0a7a3a;
    display      : flex;
    align-items  : center;
    
}

.coupon-pill .coupon-code {
    background   : #fff;
    padding      : .15rem .45rem;
    border-radius: 4px;
    margin-left  : .5rem;
    font-weight  : 800;
    color        : #0a7a3a;
    font-size    : .6rem;
}

.payment-discount .pd-line {
    background   : #f1fbff;
    border       : 1px solid #d6f0ff;
    padding      : .55rem .75rem;
    border-radius: 8px;
    color        : #0a6fd0;
    display      : flex;
    align-items  : center;
    gap          : .6rem;
}

.connection-type .option-btn {
    border       : 1px solid var(--border-primary);
    padding      : .45rem .6rem;
    border-radius: 6px;
    margin-right : .4rem;
    cursor       : pointer
}

.connection-type .option-btn.active {
    background  : #fff;
    border-color: var(--brand-yellow)
}

.colour-thumbs {
    display    : flex;
    gap        : .6rem;
    align-items: center;
}

.colour-thumbs .thumb img {
    width        : 64px;
    height       : 64px;
    object-fit   : cover;
    border       : 1px solid var(--border-primary);
    padding      : 6px;
    border-radius: 8px;
}

.internal-memory .mem-btn,
.version-select .ver-btn {
    border       : 1px solid var(--border-primary);
    padding      : .5rem .8rem;
    border-radius: 8px;
    margin-right : .5rem;
    
    font-weight  : 700;
}


.promo-banners .promo {
    font-weight  : 800;
    color        : #111;
    background   : #fff;
    border       : 1px solid var(--border-primary);
    padding      : .5rem .6rem;
    border-radius: 6px;
}


.frequently-bought .fbt-item {
    background   : #fff;
    border       : 1px solid var(--border-primary);
    padding      : .6rem;
    border-radius: 8px;
    width        : 130px;
    text-align   : center;
}

.frequently-bought .fbt-item img {
    width     : 64px;
    height    : 64px;
    object-fit: contain;
}

.frequently-bought .fbt-price {
    font-weight: 900;
    margin-top : .35rem;
    color      : #000;
}


.purchase-box .seller {
    display      : flex;
    gap          : 10px;
    align-items  : center;
    margin-bottom: 10px;
}

.purchase-box .seller .avatar {
    width        : 44px;
    height       : 44px;
    border-radius: 6px;
    background   : #f3f4f6;
}

.purchase-box .price-big {
    font-size  : 1.25rem;
    font-weight: 800;
    color      : #111
}

.purchase-box .btn-buy {
    background   : #2757ff;
    color        : #fff;
    border-radius: 8px;
    padding      : .7rem .9rem;
    font-weight  : 700;
    border       : 0;
    width        : 100%;
}

.purchase-box .btn-add {
    background   : #fff;
    color        : #2757ff;
    border       : 2px solid #2757ff;
    padding      : 10px 14px;
    border-radius: 8px;
    font-weight : 700;
    width        : 100%;
}

@media (max-width:1100px) {
    .product-details-layout {
        grid-template-columns: 1fr;
    }

    .purchase-box {
        position: relative;
        top     : auto
    }
}

.product-gallery .main-image {
    width        : 100%;
    max-height   : 380px;
    object-fit   : contain;
    background   : #fff;
    border-radius: 6px;
}



.product-info .price-current {
    font-size  : 1.85rem;
    font-weight: 900;
    color      : #111;
    line-height: 1
}

.product-info .price-original {
    font-size      : 1rem;
    text-decoration: line-through;
    color          : #777;
    font-weight    : 400
}

.connection-type .option-btn,
.internal-memory .mem-btn,
.version-select .ver-btn {
    font-size: .75rem
}

.seller-flags li {
    background   : #f7f7f7;
    padding      : 6px 8px;
    border-radius: 6px;
    border       : 1px solid var(--border-primary)
}

/* Color swatches for variation attributes */
.option-btn.color-swatch {
    width        : 32px;
    height       : 32px;
    padding      : 0;
    border-radius: 50%;
    position     : relative;
    border       : 2px solid #ddd;
    background   : #eee;
    text-indent  : -9999px;
    overflow     : hidden;
}

.option-btn.color-swatch.active {
    border-color: #000;
    box-shadow  : 0 0 0 2px #000 inset;
}

.option-btn.color-swatch:focus-visible {
    outline       : 2px solid #000;
    outline-offset: 2px
}

.option-btn.disabled {
    opacity : .35;
    cursor  : not-allowed;
    position: relative
}

.option-btn.disabled:hover {
    box-shadow: none;
}

.option-btn:not(.color-swatch) {
    border       : 1px solid var(--border-primary);
    background   : #fff;
    padding      : .45rem .7rem;
    border-radius: 6px;
    font-size    : .75rem;
    
}

.option-btn:not(.color-swatch).active {
    border-color: #ff0000;
    font-weight : 600;
}

.product-title {
    font-size  : 1rem;
    margin     : 0 0 6px 0;
    line-height: 1.05;
    font-weight: 800;
}

.product-subtitle {
    color        : var(--muted);
    margin       : 0 0 10px 0;
    font-size    : 15px;
}

/* Consolidated: pricing, tabs, hero, and related blocks */

.product-pricing .price-original {
    font-size      : 1rem;
    font-weight    : 400;
    text-decoration: line-through;
    color          : #777
}

.product-pricing .price-discount {
    font-size    : 0.9rem;
    background   : #ffef99;
    padding      : 4px 6px;
    border-radius: 4px;
    font-weight  : 700
}

.product-coupons {
    display    : flex;
    gap        : .5rem;
    flex-wrap  : wrap;
    align-items: center
}


.coupon-pill.small {
    padding    : .35rem .6rem;
    font-weight: 700
}


.add-to-cart-form .quantity-field {
    display: none;
}

/* ==================================================
   MODERN ORDER DETAILS PAGE - ULTRA PROFESSIONAL
   ================================================== */

.order-details-modern {
    background: #f8f9fa;
}

.order-detail-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

/* Modern Header */
.order-modern-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.btn-back-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.05);
}

.btn-back-modern:hover {
    background: #f9fafb;
    border-color: #2757ff;
    color: #2757ff;
    transform: translateX(-4px);
}

.header-actions {
    display: flex;
    gap: 12px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #2757ff;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgb(39 87 255 / 0.2);
}

.btn-download:hover {
    background: #1e47dd;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(39 87 255 / 0.3);
}

/* Title Card */
.order-title-card {
    background: linear-gradient(135deg, #fadd00 0%, #f8d900 100%);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 10px 40px rgb(39 87 255 / 0.2);
    color: #fff;
}

.title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.modern-order-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 12px 0;
    color: #000000;
}

.order-number {
    color: rgb(39 87 255);
    font-weight: 800;
}

.order-date-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: rgb(0 0 0 / 0.85);
    margin: 0;
}

.status-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgb(255 255 255 / 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgb(255 255 255 / 0.2);
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-transform: capitalize;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.9); }
}

.status-pending .pulse-dot { background: #fbbf24; }
.status-processing .pulse-dot { background: #60a5fa; }
.status-shipped .pulse-dot { background: #34d399; }
.status-delivered .pulse-dot { background: #10b981; }
.status-cancelled .pulse-dot { background: #f87171; }

/* Timeline Card */
.timeline-card-modern {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgb(0 0 0 / 0.06);
}

.card-title-modern {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 24px 0;
    color: #111827;
}

.timeline-container {
    display: flex;
    gap: 0;
    position: relative;
}

.timeline-item {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 24px;
    left: 50%;
    right: -50%;
    height: 3px;
    background: #e5e7eb;
    z-index: 0;
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-item.completed::after {
    background: linear-gradient(90deg, #10b981, #10b981);
}

.timeline-marker {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 3px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.timeline-item.completed .timeline-marker {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
    box-shadow: 0 0 0 6px rgb(16 185 129 / 0.1);
}

.timeline-item.active .timeline-marker {
    background: #2757ff;
    border-color: #2757ff;
    color: #fff;
    box-shadow: 0 0 0 6px rgb(39 87 255 / 0.15);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0%, 100% { box-shadow: 0 0 0 6px rgb(39 87 255 / 0.15); }
    50% { box-shadow: 0 0 0 10px rgb(39 87 255 / 0.05); }
}

.marker-dot {
    width: 12px;
    height: 12px;
    background: #9ca3af;
    border-radius: 50%;
}

.timeline-content {
    margin-top: 16px;
    text-align: center;
}

.timeline-title {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    margin: 0;
}

.timeline-item.completed .timeline-title,
.timeline-item.active .timeline-title {
    color: #111827;
}

.timeline-date {
    font-size: 12px;
    color: #2757ff;
    margin: 4px 0 0 0;
    font-weight: 500;
}

/* Grid Layout */
.order-grid-modern {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
}

/* Modern Cards */
.modern-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgb(0 0 0 / 0.06);
    margin-bottom: 24px;
}

.modern-card:last-child {
    margin-bottom: 0;
}

.card-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f3f4f6;
}

.badge-count {
    background: linear-gradient(135deg, #2757ff 0%, #1e47dd 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Items List */
.items-list-modern {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.item-card-modern {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    transition: all 0.3s;
}

.item-card-modern:hover {
    border-color: #e5e7eb;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.05);
    transform: translateY(-2px);
}

.item-img-wrapper {
    flex-shrink: 0;
}

.item-img {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
}

.item-img-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
}

.item-info-modern {
    flex: 1;
}

.item-name-modern {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: #111827;
}

.item-variant-modern {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 10px 0;
}

.item-meta-modern {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6b7280;
}

.meta-item svg {
    opacity: 0.7;
}

.meta-item strong {
    color: #111827;
    font-weight: 600;
}

.meta-item.price-tag {
    color: #2757ff;
    font-weight: 600;
}

.item-total-modern {
    flex-shrink: 0;
    text-align: right;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.item-total-modern small {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    margin-top: 4px;
}

/* Address Card */
.address-box-modern {
    display: flex;
    gap: 18px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    border: 1px solid #e0f2fe;
    border-radius: 12px;
}

.address-icon-modern {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #2757ff 0%, #1e47dd 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgb(39 87 255 / 0.25);
}

.address-text-modern {
    flex: 1;
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
}

/* Summary Card */
.sticky-card {
    position: sticky;
    top: 24px;
}

.summary-lines-modern {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.summary-line-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
}

.summary-line-modern span {
    color: #6b7280;
    font-weight: 500;
}

.summary-line-modern strong {
    color: #111827;
    font-weight: 600;
}

.summary-divider-modern {
    height: 2px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
    margin: 10px 0;
}

.total-line {
    padding-top: 14px;
    margin-top: 6px;
    font-size: 17px;
}

.total-amount {
    font-size: 24px !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #2757ff 0%, #1e47dd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Payment Card */
.payment-info-modern {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-row-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
}

.info-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.info-value {
    font-size: 14px;
    color: #111827;
    font-weight: 600;
}

.method-badge {
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    text-transform: capitalize;
}

.payment-badge-modern {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
}

.payment-badge-modern.status-paid {
    background: #d1fae5;
    color: #065f46;
}

.payment-badge-modern.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.payment-badge-modern.status-failed {
    background: #fee2e2;
    color: #991b1b;
}

/* Action Buttons */
.actions-card-modern {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-action-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-action-modern.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.btn-action-modern.btn-secondary:hover {
    background: #e5e7eb;
    border-color: #2757ff;
    color: #2757ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .order-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .sticky-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .order-modern-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .header-actions {
        width: 100%;
    }
    
    .btn-download {
        width: 100%;
        justify-content: center;
    }
    
    .order-title-card {
        padding: 24px 20px;
    }
    
    .title-row {
        flex-direction: column;
        gap: 16px;
    }
    
    .modern-order-title {
        font-size: 24px;
    }
    
    .timeline-container {
        flex-direction: column;
        gap: 24px;
    }
    
    .timeline-item {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
    
    .timeline-item::after {
        display: none;
    }
    
    .timeline-content {
        margin-top: 0;
        margin-left: 16px;
        text-align: left;
        flex: 1;
    }
    
    .modern-card {
        padding: 20px;
    }
    
    .item-card-modern {
        flex-wrap: wrap;
    }
    
    .item-total-modern {
        width: 100%;
        text-align: left;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #f3f4f6;
    }
    
    .address-box-modern {
        flex-direction: column;
        text-align: center;
    }
    
    .address-icon-modern {
        margin: 0 auto;
    }
}
/* Tabs refinement */
.product-tabs-section {
    background: #fff;
    margin-top: 1rem;
    border-top: 1px solid var(--border-primary);
    padding   : 24px 0;
}

.product-tabs {
    max-width: 1280px;
    margin   : 0 auto;
    padding  : 0 1rem 2rem
}

.tab-nav {
    display      : flex;
    gap          : 8px;
    overflow     : auto;
    border-bottom: 1px solid var(--border-primary);
    flex-wrap    : wrap;
    margin-bottom: 16px;
}

.tab-btn {
    background   : #fff;
    border       : 1px solid #e5e7eb;
    padding      : 8px 12px;
    border-radius: 8px;
    
    font-weight  : 700;
    position     : relative;
    text-decoration: none;
    color: inherit;
    display: inline-block;
    cursor: pointer;
}

.tab-btn.active {
    border-color: var(--accent);
    color       : var(--accent);
}

.tab-btn.active::after {
    content      : "";
    position     : absolute;
    left         : 0;
    right        : 0;
    bottom       : 0;
    height       : 3px;
    background   : var(--brand-yellow);
    border-radius: 3px 3px 0 0
}

/* Active tab styling for targeted tabs */
.tab-nav a:target {
    border-color: var(--accent);
    color: var(--accent);
}

.tab-nav a:target::after {
    content      : "";
    position     : absolute;
    left         : 0;
    right        : 0;
    bottom       : 0;
    height       : 3px;
    background   : var(--brand-yellow);
    border-radius: 3px 3px 0 0
}

.tab-content {
    padding-top: 1rem;
    font-size  : 0.9rem;
    line-height: 1.5;
}

/* Tabs visuals */

.tab-pane {
    display: none;
    padding: 1rem 0;
}

.tab-pane.active {
    display: block;
}

/* CSS-only tabs functionality */
.tab-content .tab-pane {
    display: none;
}

.tab-content .tab-pane:first-child {
    display: block;
}

.tab-content .tab-pane:target {
    display: block;
}

/* Hide all panes when one is targeted */
.tab-content:has(.tab-pane:target) .tab-pane:not(:target) {
    display: none;
}

.tab-content .tab-pane:target ~ .tab-pane {
    display: none !important;
}

/* Reset when no target - show first pane */
.tab-content:not(:has(.tab-pane:target)) .tab-pane:first-child {
    display: block;
}

.tab-content:not(:has(.tab-pane:target)) .tab-pane:not(:first-child) {
    display: none;
}

/* Force hide all panes except the active one */
.tab-content .tab-pane {
    position: relative;
}

.tab-content .tab-pane:not(:target):not(:first-child) {
    display: none !important;
}

/* Hover effects for tab buttons */
.tab-btn:hover {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.tab-btn:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Pane specific tweaks */
.tab-pane.description .description-content {
    font-size: 1rem;
    color    : #222;
}

.tab-pane.specifications .spec-grid {
    display              : grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap                  : .75rem;
}

.tab-pane.specifications .spec-item {
    background   : #fff;
    border       : 1px solid var(--border-primary);
    padding      : .6rem;
    border-radius: 6px;
}



.tab-pane.shipping .shipping-info {
    background   : #fff;
    border       : 1px solid var(--border-primary);
    padding      : 1rem;
    border-radius: 8px;
}

/* Reviews styling: responsive two-column layout (list + side panel) */
.reviews-section {
    display              : grid;
    grid-template-columns: 1fr 320px;

    /* main reviews + side form */
    gap                  : 1.25rem;
    align-items          : start;
}

.reviews-main {
    min-width: 0
}

.reviews-list {
    display       : flex;
    flex-direction: column;
    gap           : 1rem
}

.review-item {
    background   : #fff;
    border       : 1px solid var(--border-primary);
    padding      : 1rem;
    border-radius: 8px;
    display      : flex;
    gap          : 1rem
}

.review-header {
    display    : flex;
    gap        : .75rem;
    align-items: flex-start
}

.reviewer-avatar img,
.avatar-placeholder {
    width        : 54px;
    height       : 54px;
    border-radius: 8px;
    object-fit   : cover;
    background   : #f4f4f4;
    display      : grid;
    place-items  : center;
    font-weight  : 700
}

.reviewer-details {
    flex: 1
}

.reviewer-name {
    margin     : 0;
    font-size  : 1rem;
    font-weight: 800
}

.review-meta {
    font-size  : .85rem;
    color      : #666;
    display    : flex;
    gap        : .5rem;
    align-items: center
}

.review-content {
    margin-top: .6rem
}

.review-text {
    margin: 0 0 .5rem
}

.review-images {
    display   : flex;
    gap       : .5rem;
    margin-top: .5rem
}

.review-image img {
    width        : 88px;
    height       : 88px;
    object-fit   : cover;
    border-radius: 6px;
    border       : 1px solid var(--border-primary)
}

.review-actions {
    margin-top: .6rem;
    font-size : .9rem;
    color     : #666
}

.no-reviews {
    background   : #fff;
    padding      : 1rem;
    border       : 1px dashed var(--border-primary);
    border-radius: 8px;
    text-align   : center
}

.reviews-side {
    align-self: start
}

.write-review-section {
    background   : #fff;
    padding      : 1rem;
    border       : 1px solid var(--border-primary);
    border-radius: 8px
}

.write-review-section .form-group {
    margin-bottom: .6rem
}

.rating-input {
    display    : flex;
    gap        : .25rem;
    align-items: center
}

/* ensure stars render inline (not vertically stacked) and have consistent sizing */
.rating-input .star,
.review-meta .review-rating .star {
    display       : inline-block;
    width         : 18px;
    height        : 18px;
    vertical-align: middle;
}

.star-btn {
    background     : transparent;
    border         : 0;
    cursor         : pointer;
    padding        : 4px;
    display        : inline-flex;
    align-items    : center;
    justify-content: center
}

.star-btn .star {
    width : 18px;
    height: 18px;
    color : #ddd
}

.star-btn.active .star,
.review-rating .star.filled {
    color: #f6b400
}

/* make textarea / form controls in the write-review panel full width */
.write-review-section .form-control,
.write-review-section textarea {
    width     : 100%;
    box-sizing: border-box
}

.uploaded-images {
    display       : flex;
    flex-direction: column;
    gap           : .5rem;
    margin-top    : .5rem
}

.uploaded-images .uploaded-thumb {
    display      : flex;
    gap          : .5rem;
    align-items  : center;
    background   : #fff;
    border       : 1px solid var(--border-primary);
    padding      : 6px;
    border-radius: 6px
}

.uploaded-images .uploaded-thumb img {
    width        : 64px;
    height       : 64px;
    object-fit   : cover;
    border-radius: 6px
}

.uploaded-images .uploaded-thumb .fname {
    font-size: 0.85rem;
    color    : #333
}

/* Make side panel sticky on large screens */
.reviews-side .write-review-section {
    position: sticky;
    top     : 92px
}

/* Responsive: stack on small screens */
@media (max-width:900px) {
    .reviews-section {
        grid-template-columns: 1fr;
    }

    .reviews-side .write-review-section {
        position: relative;
        top     : auto
    }
}

/* No reviews large star presentation */

/* No-reviews: responsive, centered icon that doesn't overflow its container */
.no-reviews .no-reviews-icon {
    display  : block;
    margin   : 1.5rem auto 1rem;
    max-width: 280px;

    /* limit the overall icon container */
    width    : 100%;
    color    : var(--text-primary);
}

.no-reviews .no-reviews-icon svg {
    width     : 100%;

    /* fill the container but keep aspect ratio */
    height    : auto;
    max-width : 220px;

    /* visual target on desktop */
    max-height: 220px;
    display   : block;
    margin    : 0 auto;
    fill      : currentcolor;

    /* follow text color for easy theming */
}

.no-reviews h3 {
    margin-top: 0.6rem
}

@media (max-width:900px) {
    .no-reviews .no-reviews-icon {
        max-width: 160px
    }

    .no-reviews .no-reviews-icon svg {
        max-width: 120px
    }
}

/* Landing hero adjustments */
.hero-section {
    padding   : 1.5rem 0 1rem;
    background: #fff;
    position: relative;
    overflow: hidden;
    color: #111;
    contain: layout style paint;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e5e7eb" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.4;
    z-index: 1;
}

.hero-section .container {
    display              : grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap                  : 2rem;
    align-items          : center;
    position: relative;
    z-index: 2;
    max-width: var(--container-max-width, 1200px);
    margin: 0 auto;
    padding: 0 var(--container-padding, 1rem);
}

.hero-title {
    font-size: var(--font-size-5xl, 1.9rem);
    font-weight: var(--font-weight-extrabold, 700);
    line-height: var(--line-height-tight, 1.2);
    color: #111;
    margin: 0 0 .5rem;
    background: linear-gradient(135deg,#111,var(--brand-black));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    margin   : 0 0 1rem;
    font-size: var(--font-size-xl, 0.9rem);
    line-height: var(--line-height-relaxed, 1.5);
    color: var(--text-secondary, #444);
}

.hero-actions {
    display  : flex;
    gap      : var(--space-4, .75rem);
    flex-wrap: wrap;
}

/* Section headers unified */
.section-header {
    display       : flex;
    flex-direction: column;
    align-items   : flex-start;
    gap           : .25rem;
    margin-bottom : var(--space-16, .75rem);
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: var(--font-size-4xl, 1.25rem);
    font-weight: var(--font-weight-bold, 700);
    line-height: var(--line-height-tight, 1.2);
    color: var(--text-primary, #111);
    margin: 0 0 var(--space-4, .5rem) 0;
    background: none;
    -webkit-text-fill-color: initial;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 90px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-yellow-dark), var(--brand-yellow));
    border-radius: 3px;
}

.section-subtitle {
    font-size: var(--font-size-xl, 0.75rem);
    line-height: var(--line-height-relaxed, 1.5);
    color: var(--text-secondary, #666);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 600;
}

/* Categories grid refinement */
.categories-grid {
    display              : grid;
    gap                  : var(--space-6, 0.75rem);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: var(--container-max-width, 1200px);
    margin: 0 auto;
    padding: 0 var(--container-padding, 1rem);
}

.category-card {
    background    : #fff;
    border        : 1px solid var(--border-primary);
    border-radius : 8px;
    padding       : 0.75rem;
    display       : flex;
    flex-direction: column;
    gap           : 0.5rem;

    .color-swatch-wrapper {
        display       : inline-flex;
        flex-direction: column;
        align-items   : center;
        gap           : 4px;
    }

    .color-swatch-wrapper .swatch-label {
        font-size  : 11px;
        line-height: 1.1;
        color      : #222;
        font-weight: 500;
        white-space: nowrap;
        opacity       : 0;
        transform     : translateY(-2px);
        transition    : .2s ease;
        pointer-events: none;
    }


    .color-swatch-wrapper:focus-within .swatch-label,
    .color-swatch-wrapper:hover .swatch-label,
    .color-swatch-wrapper.active .swatch-label {
        opacity  : 1;
        transform: translateY(0);
    }

    /* Toast */
    .toast-container .toast-item {
        min-width : 160px;
        max-width : 320px;
        text-align: center;
    }

    .category-card:hover {
        border-color: var(--brand-yellow);
    }

    .category-image img {
        max-height: 90px;
        object-fit: contain;
    }

    .category-name {
        font-size  : 0.8rem;
        font-weight: 600;
        margin     : 0;
    }

    .category-count {
        font-size: 0.65rem;
        color    : #666;
        margin   : 0;
    }

    /* Featured / products grid spacing */
    .products-grid {
        display              : grid;
        gap                  : 0.75rem;
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .product-card .product-price {
        font-size: 0.85rem;
    }

    /* Footer minimal unify */
    footer,
    .site-footer {
        background: #111;
        color     : #ccc;
        padding   : 2rem 1rem;
        margin-top: 2rem;
    }

    footer a {
        color: #eee;
    }

    /* Shared page header styling */
    .page-header {
        background   : #fff;
        border-bottom: 1px solid var(--border-primary);
        margin-bottom: 1rem;
    }

    .page-header .page-title {
        font-size  : 1.35rem;
        font-weight: 700;
        margin     : 0.25rem 0;
    }

    /* Cart */
    .cart-section .cart-table {
        display      : grid;
        gap          : 6px;
        background   : #fff;
        border       : 1px solid var(--border-primary);
        padding      : 0.75rem;
        border-radius: 6px;
    }

    .cart-section .cart-header,
    .cart-section .cart-row {
        display              : grid;
        grid-template-columns: 2fr 100px 90px 100px 40px;
        align-items          : center;
        gap                  : 8px;
        font-size            : 12px;
    }

    .cart-section .cart-header {
        font-weight   : 600;
        text-transform: uppercase;
        letter-spacing: .5px;
        border-bottom : 1px solid var(--border-primary);
        padding-bottom: 4px;
    }

    .cart-section input[type="number"] {
        width    : 60px;
        padding  : 4px;
        font-size: 12px;
    }

    .cart-actions {
        display    : flex;
        align-items: center;
        gap        : 0.5rem;
        margin-top : 0.75rem;
        flex-wrap  : wrap;
    }

    .cart-total {
        margin-left: auto;
        font-weight: 700;
    }

    .empty-cart {
        text-align   : center;
        padding      : 2rem 1rem;
        background   : #fff;
        border       : 1px dashed var(--border-primary);
        border-radius: 8px;
    }

    @media (max-width:700px) {
        .product-details-layout {
            grid-template-columns: 1fr;
        }

        .cart-section .cart-header,
        .cart-section .cart-row {
            grid-template-columns: 1fr 70px 70px 80px 30px;
        }
    }

    /* Checkout */
    .checkout-section .checkout-form {
        background   : #fff;
        border       : 1px solid var(--border-primary);
        padding      : 1rem 1.25rem;
        border-radius: 8px;
    }

    .checkout-layout {
        display       : flex;
        flex-direction: column;
        gap           : 1rem;
    }

    .panel {
        border       : 1px solid var(--border-primary);
        border-radius: 12px;
        padding      : 1rem;
        background   : var(--dash-card-bg, #fff);
        box-shadow   : var(--dash-shadow, 0 8px 24px rgb(2,6,23,.04));
    }

    .panel.stat { 
        padding:0; 
    }

    }

    .summary-lines {
        list-style    : none;
        margin        : 0 0 12px 0;
        padding       : 0;
        display       : flex;
        flex-direction: column;
        gap           : 4px;
        font-size     : 13px;
    }

    .summary-line,
    .summary-total {
        display        : flex;
        justify-content: space-between;
    }

    .summary-total {
        font-weight: 700;
        border-top : 1px dashed #e8eef6;
        padding-top: 8px;
        margin-top : 4px;
    }

    .gateway-item {
        display      : block;
        border       : 1px solid #eef2f6;
        padding      : 10px;
        border-radius: 8px;
        margin-bottom: 8px;
        background   : #fafafa;
        font-size    : 13px;
    }

    .gateway-item input {
        margin-right: 8px;
    }

    .gateway-instructions {
        font-size    : 11px;
        color        : #555;
        margin-top   : 4px;
        background   : #fff;
        padding      : 4px 6px;
        border-radius: 4px;
    }

    .actions {
        display   : flex;
        gap       : .5rem;
        flex-wrap : wrap;
        margin-top: 1rem;
    }

    /* Blog */
    .blog-grid {
        display              : grid;
        gap                  : 1rem;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .blog-card {
        display: flex;
        flex-direction: column;
        background: var(--bg-primary);
        border: 1px solid var(--border-primary);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-xs);
        overflow: hidden;
        position: relative;
        transition: border-color .18s, box-shadow .18s, transform .18s;
    }

    .blog-card:hover,
    .blog-card:focus-within {
        border-color: var(--brand-yellow-dark);
        box-shadow: var(--shadow-sm);
        transform: translateY(-2px);
    }

    .blog-card .thumb-wrapper {
        aspect-ratio: 16/10;
        background: var(--bg-tertiary);
        position: relative;
        overflow: hidden;
    }

    .blog-card .thumb-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .8s cubic-bezier(.22,.61,.36,1);
    }

    .blog-card:hover .thumb-wrapper img {
        transform: scale(1.06);
    }

    .blog-card .card-body {
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
        padding: var(--space-5) var(--space-5) var(--space-6);
    }

    .blog-card .meta-row {
        display: flex;
        flex-wrap: wrap;
        font-size: .65rem;
        gap: var(--space-3);
        color: var(--text-secondary);
        letter-spacing: .25px;
        text-transform: uppercase;
        font-weight: 500;
    }

    .blog-card .post-title {
        font-size: 1.05rem;
        line-height: 1.35;
        font-weight: 600;
        color: var(--text-primary);
        margin: 0;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .blog-card .excerpt {
        font-size: .8rem;
        line-height: 1.45;
        color: var(--text-secondary);
        margin: 0;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        min-height: 3.6em;
    }

    .blog-card .read-more {
        margin-top: auto;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: .7rem;
        font-weight: 600;
        letter-spacing: .5px;
        text-transform: uppercase;
        color: var(--brand-yellow-dark);
        text-decoration: none;
        padding: 8px 0 0;
        position: relative;
    }

    .blog-card .read-more::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 2px;
        height: 1px;
        background: linear-gradient(90deg, var(--brand-yellow-dark), transparent 70%);
        opacity: .45;
        transition: opacity .3s;
    }

    .blog-card:hover .read-more::after {
        opacity: 1;
    }

    .empty-state {
        background   : #fff;
        border       : 1px dashed var(--border-primary);
        padding      : 2rem 1rem;
        text-align   : center;
        border-radius: 8px;
        grid-column  : 1/-1;
    }

    /* Blog & article */
    .blog-post-section .blog-post h1,
    .blog-post-section .blog-post h2,
    .blog-post-section .blog-post h3 {
        line-height: 1.3;
    }

    .blog-post-section .blog-post h1 {
        font-size: 1.6rem;
    }

    .blog-post-section .blog-post h2 {
        font-size : 1.25rem;
        margin-top: 1.5rem;
    }

    .blog-post-section .blog-post h3 {
        font-size : 1.05rem;
        margin-top: 1.25rem;
    }

    .blog-post-section .blog-post img {
        max-width: 100%;
        height   : auto;
    }

    .content-style p {
        margin: 0 0 1rem;
    }

    .content-style ul {
        margin: 0 0 1rem 1.25rem;
    }

    .content-style li {
        margin-bottom: .25rem;
    }

    /* Generic page content */
    .page-content .page-wrapper {
        background   : #fff;
        border       : 1px solid var(--border-primary);
        border-radius: 8px;
        padding      : 1rem 1.25rem;
    }

    .contact-section {
        display              : grid;
        grid-template-columns: 1fr 1fr;
        gap                  : 2rem;
        margin-top           : 2rem;
    }

    @media (max-width:900px) {
        .contact-section {
            grid-template-columns: 1fr;
        }
    }

    .contact-info,
    .contact-form-section {
        background   : #fff;
        border       : 1px solid var(--border-primary);
        padding      : 1rem 1.25rem;
        border-radius: 8px;
    }

    .contact-details {
        display       : flex;
        flex-direction: column;
        gap           : .5rem;
        margin        : 1rem 0;
        font-size     : .85rem;
    }

    .contact-item {
        display    : flex;
        align-items: center;
        gap        : .5rem;
    }

    .contact-form .form-grid {
        display              : grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap                  : 0.75rem;
    }

    .form-group-full {
        grid-column: 1/-1;
    }

    .form-input,
    .form-textarea {
        width        : 100%;
        border       : 1px solid var(--border-primary);
        border-radius: 4px;
        padding      : 0.5rem .65rem;
        font-size    : .85rem;
        background   : var(--easy-surface);
        color        : var(--easy-text);
    }

    .form-input:focus,
    .form-textarea:focus {
        outline   : none;
        box-shadow: var(--focus-ring);
    }

    /* Generic buttons override for consistency */

    .btn:hover {
        background: var(--btn-bg-hover, #e0e0e0);
    }

    .btn-outline {
        --btn-bg      : #fff;
        --btn-color   : #111;
        --btn-border  : #ccc;
        --btn-bg-hover: #f5f5f5;

        background: var(--bg-primary, #fff);
        color: #111;
        border-color: var(--brand-yellow-dark);
        box-shadow: var(--shadow-sm, none);
    }

    .btn-outline:hover {
        background: var(--brand-yellow-dark);
        color: #111;
    }

    /* Minor utilities */
    .mt-3 {
        margin-top: 1rem;
    }

    .text-danger {
        color: #c00;
    }

    .text-muted {
        color: #666;
    }

    /* Responsive product grid adjustments */
    @media (max-width:600px) {
        .product-card .product-image {
            height: 160px;
        }
    }

    @media (max-width: 900px) {
        .site-header .navbar {
            flex-wrap: wrap;
        }

        .header-search {
            order: 3;
            width: 100%;
        }

        .categories-ribbon .inner {
            padding-bottom: 0.5rem;
        }
    }

/* Landing circular categories styles */
.shop-categories {
    padding   : 48px 0;
    background: var(--bg-primary);
  }
  
  .shop-categories .section-header {
    text-align   : center;
    margin-bottom: 28px;
  }
  
  .shop-categories .section-title {
    font-size  : 1.75rem;
    font-weight: 700;
    margin     : 0 0 8px;
  }
  
  .shop-categories .section-sub {
    color    : var(--text-secondary);
    font-size: .95rem;
    margin   : 0;
  }
  
  .cat-main-list {
    --gap          : 32px;

    display        : flex;
    flex-wrap      : wrap;
    justify-content: center;
    gap            : var(--gap);
    list-style     : none;
    padding        : 0;
    margin         : 0 0 34px;
  }
  
  .cat-main-item {
    flex      : 0 0 auto;
    text-align: center;
  }
  
  .cat-pill {
    position       : relative;
    display        : flex;
    flex-direction : column;
    align-items    : center;
    justify-content: center;
    width          : 110px;
    text-decoration: none;
    border         : 0;
    background     : transparent;
    cursor         : pointer;
    outline        : none;
    gap            : 10px;
  }
  
  .cat-pill:focus-visible {
    outline       : 3px solid rgb(59, 130, 246, .45);
    outline-offset: 4px;
    border-radius : 50%;
  }
  
  
  .cat-pill .icon-ring img {
    max-width : 60px;
    max-height: 60px;
    object-fit: contain;
  }
  
  .cat-pill .icon-ring .placeholder-icon {
    width : 42px;
    height: 42px;
    color : var(--gray-400);
  }
  
  .cat-pill .cat-label {
    margin-top    : 12px;
    font-size     : .82rem;
    font-weight   : 500;
    color         : var(--text-primary);
    letter-spacing: .2px;
    text-align    : center;
    max-width     : 100%;
    white-space   : nowrap;
    overflow      : hidden;
    text-overflow : ellipsis;
    line-height   : 1.2;
  }
  
  .cat-pill.active .icon-ring {
    border-color: var(--primary-600);
    box-shadow  : 0 0 0 4px rgb(59, 130, 246, .25);
    transform   : translateY(-4px);
  }
  
  .cat-pill:hover:not(.active) .icon-ring {
    border-color: var(--primary-600);
  }
  
  .subcats-wrap {
    min-height: 120px;
    margin-top: 36px;
  }
  
  .subcats-grid {
    --col-size           : 130px;

    display              : grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--col-size), 1fr));
    gap                  : 24px;
    list-style           : none;
    padding              : 0;
    margin               : 0;
  }
  
  .subcat-card {
    text-decoration: none;
    display        : flex;
    flex-direction : column;
    align-items    : center;
    gap            : 10px;
    padding        : 14px 6px;
    border-radius  : 14px;
    background     : linear-gradient(145deg, var(--bg-primary), var(--bg-secondary));
    border         : 1px solid var(--border-primary);
    position       : relative;
    transition     : box-shadow .35s, transform .35s;
  }
  
  .subcat-card:focus-visible {
    outline       : 3px solid rgb(59, 130, 246, .45);
    outline-offset: 4px;
  }
  
  .subcat-card:hover {
    transform : translateY(-6px);
    box-shadow: 0 12px 30px -4px rgb(0, 0, 0, .08);
  }
  
  .subcat-card img {
    width     : 56px;
    height    : 56px;
    object-fit: contain;
    display   : block;
    filter    : saturate(.9);
    transition: .3s filter;
  }
  
  .subcat-card img.is-cat-placeholder {
    filter: grayscale(.55) brightness(.95);
  }
  
  
  .subcat-empty {
    text-align: center;
    font-size : .85rem;
    color     : var(--text-secondary);
    padding   : var(--space-6) 0;
  }
  
  .shop-categories .section-footer {
    text-align: center;
  }
  
  @media (max-width:920px) {
    .cat-main-item {
      flex: 0 1 90px;
    }
  
    .cat-pill .icon-ring {
      width : 74px;
      height: 74px;
    }
  
    .cat-pill .icon-ring img {
      max-width : 50px;
      max-height: 50px;
    }
  
    .subcats-grid {
      grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
      gap                  : 14px;
    }
  
    .subcat-card {
      padding: 12px 10px 16px;
    }
  
    .subcat-card img {
      width : 52px;
      height: 52px;
    }
  }
  
  @media (max-width:600px) {
    .cat-main-list {
      justify-content           : flex-start;
      overflow-x                : auto;
      padding                   : 4px 4px 8px;
      margin-bottom             : 28px;
      -webkit-overflow-scrolling: touch;
    }
  
    .cat-main-list::-webkit-scrollbar {
      height: 8px;
    }
  
    .cat-main-list::-webkit-scrollbar-track {
      background: transparent;
    }
  
    .cat-main-list::-webkit-scrollbar-thumb {
      background   : #d0d5da;
      border-radius: 20px;
    }
  
    .cat-main-item {
      flex: 0 0 auto;
    }
  
    .cat-pill {
      min-width: 86px;
    }
  
    .cat-pill .icon-ring {
      width : 64px;
      height: 64px;
    }
  
    .cat-pill .icon-ring img {
      max-width : 44px;
      max-height: 44px;
    }
  
    .subcats-grid {
      grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
      gap                  : 12px;
    }
  
    .subcat-card {
      padding: 10px 8px 14px;
    }
  
    .subcat-card img {
      width : 48px;
      height: 48px;
    }
  }
  
  @media (max-width:420px) {
    .cat-pill .cat-label {
      font-size: .72rem;
    }
  
    .subcat-card .sc-label {
      font-size: .7rem;
    }
  }
  
  /* Landing Categories (circular icons) */
  
  
  
  
  
  
  
  
  .cat-pill .icon-ring {
    width          : 92px;
    height         : 92px;
    border         : 1px solid var(--border-primary);
    border-radius  : 50%;
    display        : flex;
    align-items    : center;
    justify-content: center;
    background     : var(--bg-primary);
    transition     : all .35s cubic-bezier(.4, 0, .2, 1);
    position       : relative
  }
  
  .cat-pill img,
  .cat-pill .placeholder-icon {
    width     : 44px;
    height    : 44px;
    object-fit: contain;
    display   : block;
    transition: transform .35s
  }
  
  .cat-pill .placeholder-icon {
    stroke: var(--error-500);
    fill  : none
  }
  
  
  .cat-pill:hover .icon-ring,
  .cat-pill.active .icon-ring {
    border-color: var(--error-500);
    box-shadow  : 0 4px 18px -2px rgb(232, 243, 72, 0.35), 0 0 0 4px rgb(228, 239, 68, 0.08);
    transform   : translateY(-4px);
    background  : linear-gradient(135deg, var(--bg-primary), var(--bg-primary) 60%, var(--bg-primary))
  }
  
  .cat-pill:hover img,
  .cat-pill.active img,
  .cat-pill:hover .placeholder-icon,
  .cat-pill.active .placeholder-icon {
    transform: scale(1.1)
  }
  
  /* Subcategories */
  
  
  
  
  
  
  .subcat-card .sc-label {
    font-size    : .75rem;
    font-weight  : 500;
    color        : var(--text-primary);
    line-height  : 1.2;
    text-align   : center;
    white-space  : nowrap;
    overflow     : hidden;
    text-overflow: ellipsis;
    max-width    : 100%
  }
  
  
  /* Placeholder styling */
  .is-cat-placeholder {
    filter: grayscale(25%) opacity(.85)
  }
  
  /* Responsive */
  @media (max-width:900px) {
    .cat-main-list {
      --gap: 24px
    }
  
    .cat-pill {
      width: 96px
    }
  
    .cat-pill .icon-ring {
      width : 80px;
      height: 80px
    }
  
    .cat-pill img,
    .cat-pill .placeholder-icon {
      width : 38px;
      height: 38px
    }
  }
  
  @media (max-width:640px) {
    .shop-categories {
      padding: 40px 0
    }
  
    .cat-main-list {
      --gap: 18px
    }
  
    .cat-pill {
      width: 82px
    }
  
    .cat-pill .icon-ring {
      width : 72px;
      height: 72px
    }
  
    .cat-pill img,
    .cat-pill .placeholder-icon {
      width : 34px;
      height: 34px
    }
  
    .cat-pill .cat-label {
      font-size: .7rem
    }
  
    .subcats-grid {
      gap: 18px
    }
  }
  
  @media (prefers-reduced-motion:reduce) {
  
    .cat-pill .icon-ring,
    .cat-pill img,
    .subcat-card {
      transition: none
    }
  }


  /* Cart page component styles extracted from inline attributes */
.cart-section { padding:1.25rem 0; }
.cart-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.checkout-row,
.cart-layout-row {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.cart-items-col { width:68%; }
.cart-item {
    background: #fff;
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    gap: 18px;
    margin-bottom: 18px;
    align-items: center;
    box-shadow: 0 1px 0 rgb(16,24,40,0.03);
}
.cart-thumb { width:110px; flex:0 0 110px; }
.cart-thumb img {
    width: 100%;
    height: 110px;
    object-fit: contain;
    display    : block;
    border-radius: 6px;
}
.cart-thumb .no-image { width:100%; height:110px; background:#f5f5f7; display:flex; align-items:center; justify-content:center; border-radius:6px; color:#9aa0ab; }
.cart-item .meta { flex:1; min-width:0; }
.cart-item .meta .name { font-weight:700; color:var(--text-primary); text-decoration:none; font-size:1rem; }
.cart-item .meta .desc { margin-top:6px; font-size:.95rem; color:var(--text-secondary); }
.cart-item .meta .row { 
    display: flex; 
    gap: 12px; 
    align-items: center; 
    margin-top: 8px; 
}
.cart-item .meta .stock { font-size:.85rem; }
.cart-actions { 
    display: flex; 
    gap: 12px; 
    align-items: center; 
    margin-top: 12px; 
}

/* Price column */
.cart-price { width:160px; text-align:right; flex:0 0 160px; }
.cart-price [data-cart-line-price] { font-weight:700; font-size:1.05rem; }
.cart-price .original-price { font-size:.85rem; color:var(--text-secondary); text-decoration:line-through; }
.cart-price .sale-badge { display:inline-block; background:#ffd400; color:#111827; padding:4px 8px; border-radius:12px; font-weight:700; font-size:.8rem; margin-top:6px; }

/* Action buttons styling */
.action-buttons { display:flex; gap:8px; }
.btn svg { 
    display: inline-block; 
    vertical-align: middle; 
}
.btn .icon-only { 
    padding: 8px; 
    border-radius: 6px; 
}
.btn span { 
    font-size: 13px; 
}

/* Coupon / summary */
.checkout-right { 
    width: 35%;
    flex-shrink: 0;
}
.summary-box { 
    background: #fff;
    border       : 1px solid #e6e9ef;
    border-radius: 10px;
    padding      : 16px;
}
.summary-box h3 { margin:0 0 1rem; font-size:1rem; font-weight:600; }
.coupon-applied { padding:8px; background:#f3f9f3; border-radius:6px; margin-bottom:8px; }
.coupon-applied .row { display:flex; justify-content:space-between; align-items:center; }
.coupon-applied .applied-label{ font-size:.9rem; color:var(--text-secondary); }
.coupon-form-row { display:flex; gap:8px; margin-bottom:12px; }
.coupon-form-row input[type="text"] { flex:1; padding:10px 12px; border:1px solid var(--border-primary); border-radius:6px; }
.coupon-form-row button { padding:9px 14px; border-radius:6px; background:#2b6cb0; color:#fff; border:0; cursor:pointer; }
.summary-break .line { display:flex; justify-content:space-between; color:var(--text-secondary); padding:6px 0; }
.summary-break .line.discount { color:#b91c1c; margin-top:6px; }
.summary-break .line.shipping { margin-top:6px; }
.summary-break .line.total { display:flex; justify-content:space-between; font-weight:700; margin-top:10px; font-size:1.1rem; }
.summary-break .line.shipping span { color:#6b7280; }

/* Checkout CTA styled like Easy (blue checkout in screenshot) */
.summary-box .btn-primary { background:#2b6cb0; text-align: center; color:#fff; padding:.75rem 1rem; border-radius:8px; border:0; display:block; font-weight:700; }
.summary-box .btn-primary:hover{ filter:brightness(.98); }

/* Coupon messages */
.coupon-success { color: #076; background: #e6fffa; padding:8px; border-radius:6px; margin-bottom:8px; }
.coupon-error { color:#b43333; background:#fff6f6; padding:8px; border-radius:6px; margin-bottom:8px; }

/* Sticky summary on desktop */
@media (min-width: 992px) {
    .checkout-row { flex-direction:row; }
    .checkout-right .summary-box { position: sticky; top: 86px; }
}

@media (max-width: 991px) {
    .checkout-row { flex-direction:column; }
    .checkout-right { width:100%; }
    .cart-thumb { width:100%; flex:0 0 auto; }
    .cart-thumb img { width:100%; height:160px; object-fit:cover; }
    .cart-price { width:auto; text-align:left; }
}

/* Checkout specific styles extracted from template */
.checkout-row {
    display    : flex;
    gap        : 24px;
    align-items: flex-start;
}

.checkout-left {
    flex: 1 1 65%;
}


.panel-card {
    background   : #fff;
    border       : 1px solid #e6e9ef;
    border-radius: 10px;
    padding      : 18px;
    margin-bottom: 18px;
    box-shadow   : 0 6px 18px rgb(20, 30, 50, 0.04);
}


.address-card {
    background   : #fff;
    border-radius: 12px;
    padding      : 1rem;
    display      : flex;
    flex-direction: column;
    gap          : .6rem;
    border       : 1px solid var(--border-primary);
    transition   : box-shadow .18s ease, transform .12s ease;
}

.address-card.is-default {
    border-color: #2563eb;
    box-shadow: 0 6px 20px rgb(37,99,235,.06);
}

.address-card:hover {
    box-shadow: 0 10px 30px rgb(2,6,23,.06);
    transform: translateY(-4px);
}

.address-left {
    flex: 1;
}

.address-actions {
    text-align: right;
}

.order-item {
    display      : flex;
    gap          : 12px;
    align-items  : center;
    padding      : 10px 0;
    border-bottom: 1px solid #f1f4f8;
}

.order-item:last-child {
    border-bottom: none;
}

.order-item img {
    width        : 56px;
    height       : 56px;
    object-fit   : cover;
    border-radius: 6px;
}



.summary-line {
    display        : flex;
    justify-content: space-between;
    padding        : 8px 0;
    color          : #4b5563;
}

/* product title + variant in summary (right column) */
.summary-line .product-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 60ch;
}
.summary-line .product-title .title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.summary-line .product-title .title-text {
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.summary-line .product-title .qty {
    color: #6b7280;
    font-size: 13px;
}
.summary-line .product-title .product-meta {
    color: #6b7280;
    font-size: 12px;
}

/* ensure price column is aligned and stands out */
.order-item-price, .summary-line > span:last-child {
    margin-left: auto;
    font-weight: 600;
    color: #111827;
}


.shipping-amount {
    color      : #16a34a;
    font-weight: 700;
}

.btn-place {
    width        : 100%;
    padding      : 12px 14px;
    font-size    : 15px;
    background   : #FFD400;
    color        : #000;
    border       : none;
    border-radius: 8px;
    font-weight  : 600;
}

.btn-place:hover {
    background: #FFB800;
}



.small-muted {
    color: #6b7280;
}

/* Form input improvements */
.form-row {
    display      : flex;
    gap          : 12px;
    margin-bottom: 12px;
}

.form-row label {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
}

.form-row input[type="text"],
.form-row input[type="number"],
.form-row textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 12px;
}

.form-control {
    width        : 100%;
    padding      : 10px 12px;
    border       : 1px solid #d1d5db;
    border-radius: 6px;
    font-size    : 14px;
    transition   : border-color 0.2s;
}

.form-control:focus {
    outline     : none;
    border-color: #3b82f6;
    box-shadow  : 0 0 0 3px rgb(59, 130, 246, 0.1);
}

.form-label {
    display      : block;
    margin-bottom: 4px;
    font-weight  : 500;
    color        : #374151;
}

select.form-control {
    background-image   : url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 8px center;
    background-repeat  : no-repeat;
    background-size    : 16px;
    padding-right      : 40px;
}

@media(max-width:900px) {
    .checkout-row {
    flex-direction: column;
    }


    .form-row {
    flex-direction: column;
    }
}

/* helper classes used by checkout Blade */
.container-wide { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 16px; 
}
.address-title { font-weight:600; }

/* Addresses grid on checkout: selectable address cards */
.addresses-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
}
.address-card-selectable {
    display: block;
    border: 1px solid #000000;
    border-radius: 14px;
    padding: 10px;
    background: #fffac9;
    cursor: pointer;
    transition: box-shadow .12s ease, transform .08s ease, border-color .12s ease;
}
.address-card-selectable:hover { box-shadow: 0 6px 18px rgb(20,30,50,0.04); transform: translateY(-2px); }
.address-card-selectable input[type="radio"] { display: none; }
.address-card-selectable .address-card-body { display: flex; flex-direction: column; gap:6px; }
.address-card-selectable .address-name { font-weight:600; color:#111827; }
.address-card-selectable .small-muted { color: #6b7280; }
.address-card-selectable .badge { background:#eef6ff; color:#2563eb; padding:2px 6px; border-radius:6px; font-size:12px; display:inline-block; }
.address-card-selectable input[type="radio"]:checked + .address-card-body { border-color: #2563eb; box-shadow: 0 8px 22px rgb(37,99,235,0.06); }

@media (max-width: 900px) {
    .addresses-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
}

.btn-buy.loading {
    position      : relative;
    pointer-events: none;
    opacity       : 0.7;
}

/* Address Card Footer layout */
.address-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid var(--border-primary);
}
.address-card-footer .footer-left,
.address-card-footer .footer-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.address-card-footer .btn-action-modern {
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 8px;
}
@media (max-width: 576px) {
    .address-card-footer { flex-direction: column; gap: .5rem; }
    .address-card-footer .footer-left,
    .address-card-footer .footer-right { width: 100%; justify-content: space-between; }
}

/* RTL fixes: Order timeline connector direction */
html[dir="rtl"] .timeline-item::after,
body[dir="rtl"] .timeline-item::after,
[dir="rtl"] .timeline-item::after { left: -50%; right: 50%; }

html[dir="rtl"] .timeline-item:first-child::after,
body[dir="rtl"] .timeline-item:first-child::after,
[dir="rtl"] .timeline-item:first-child::after { display: none; }

html[dir="rtl"] .timeline-item:last-child::after,
body[dir="rtl"] .timeline-item:last-child::after,
[dir="rtl"] .timeline-item:last-child::after { display: none; }

.btn-buy.loading::after {
    content      : '';
    position     : absolute;
    right        : 18px;
    top          : 50%;
    transform    : translateY(-50%);
    width        : 18px;
    height       : 18px;
    border       : 2px solid #fff;
    border-top   : 2px solid #2757ff;
    border-radius: 50%;
    animation    : spin 0.7s linear infinite;
}

@keyframes spin {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }

    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* Pill variants for out of stock and notify buttons */
.pill-out {
    --btn-bg    : #e0e3e8;
    --btn-color : #6b7280;
    --btn-border: none;

    opacity     : 1;
    font-weight : 700;
}

.pill-notify {
    --btn-bg    : #0a7a3a;
    --btn-color : #fff;
    --btn-border: none;

    font-weight : 700;
}

/* Mobile-first responsive product page styles for product show */

.container {
    max-width: var(--container-max-width, 1200px);
    margin   : 0 auto;
    padding  : 0 var(--container-padding, 20px 16px);
}




.main-image img {
    max-width    : 100%;
    height       : auto;
    display      : block;
    border-radius: 6px;
    box-shadow   : 0 10px 30px rgb(16, 24, 40, 0.06);
}


.thumbnail {
    border         : 1px solid #eef3f7;
    background     : #fff;
    padding        : 6px;
    border-radius  : 6px;
    display        : inline-flex;
    align-items    : center;
    justify-content: center;
    min-width      : 72px;
    transition     : transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.thumbnail img {
    width        : 72px;
    height       : 72px;
    object-fit   : cover;
    border-radius: 6px;
}

.thumbnail.active {
    box-shadow  : 0 0 0 4px rgb(11, 116, 222, 0.08);
    border-color: rgb(11, 116, 222, 0.18);
}

.thumbnail:hover:not(.active),
.thumbnail:focus-visible:not(.active) {
    transform   : translateY(-2px) scale(1.04);
    box-shadow  : 0 6px 14px -4px rgb(0, 0, 0, .12), 0 2px 4px rgb(0, 0, 0, .06);
    border-color: #cbd5e1;
}

/* Product info */

/* New listing-style header enhancements */
.product-info-card {
    background   : #fff;
    border       : 1px solid #e5e7eb;
    border-radius: 12px;
    padding      : 22px 24px 28px;
    box-shadow   : 0 2px 8px rgb(16, 24, 40, .05);
}

.product-info-card .pi-meta-row {
    display       : flex;
    flex-wrap     : wrap;
    align-items   : center;
    gap           : 6px;
    font-size     : 12px;
    font-weight   : 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color         : #475569;
    margin-bottom : 4px;
}

.product-info-card .pi-meta-row a {
    color          : #2563eb;
    text-decoration: none;
}

.product-info-card .pi-meta-row a:hover {
    text-decoration: underline;
}

.product-info-card .pi-meta-row .sep {
    color      : #94a3b8;
    font-weight: 400;
}

.product-info-card .product-title {
    font-size     : 26px;
    margin-top    : 2px;
    margin-bottom : 6px;
    line-height   : 1.25;
    letter-spacing: -.3px;
}

.product-info-card .product-subtitle {
    margin     : 4px 0 10px;
    font-size  : 14px;
    line-height: 1.35;
    color      : #64748b;
}

.rating-line {
    display    : flex;
    align-items: center;
    gap        : 8px;
    font-size  : 13px;
    margin-top : 4px;
}

.rating-line .stars {
    display: inline-flex;
}

.rating-line .star {
    font-size: 16px;
    color    : #d1d5db;
}

.rating-line .star.filled {
    color: #fbbf24;
}

.rating-line .rating-value {
    font-weight: 600;
    color      : #111827;
}

.rating-line .rating-count {
    color          : #2563eb;
    text-decoration: none;
    font-weight    : 500;
}

.rating-line .rating-count:hover {
    text-decoration: underline;
}

.price-line {
    display    : flex;
    align-items: baseline;
    gap        : 8px;
    margin-top : 10px;
    flex-wrap  : wrap;
}

.price-line .price-current {
    font-size  : 32px;
    font-weight: 700;
    color      : #111;
}

.price-line .price-original {
    font-size      : 16px;
    color          : #94a3b8;
    text-decoration: line-through;
}

.discount-badge {
    background   : #065f46;
    color        : #fff;
    font-size    : 12px;
    padding      : 4px 8px;
    border-radius: 6px;
    font-weight  : 600;
}

.badges-row {
    display   : flex;
    gap       : 8px;
    flex-wrap : wrap;
    margin-top: 12px;
}

.badge-soft {
    background   : #f1f5f9;
    color        : #334155;
    padding      : 4px 10px;
    font-size    : 12px;
    border-radius: 999px;
    font-weight  : 600;
    display      : inline-flex;
    align-items  : center;
    gap          : 4px;
}

.badge-soft.badge-sale {
    background: #dcfce7;
    color     : #166534;
}

.badge-soft.badge-fast {
    background    : #fde047;
    color         : #111;
    text-transform: lowercase;
    font-weight   : 700;
}

.badge-soft.badge-stock {
    background: #eef2ff;
    color     : #3730a3;
}

/* Dynamic stock levels */
.badge-soft.badge-stock.low-stock {
    background: #fef3c7;
    color     : #92400e;
}

.badge-soft.badge-stock.mid-stock {
    background: #e0f2fe;
    color     : #075985;
}

.badge-soft.badge-stock.high-stock {
    background: #dbeafe;
    color     : #1e40af;
}

.badge-soft.badge-stock.out-stock {
    background: #fee2e2;
    color     : #991b1b;
}

.badge-pill.in-cart {
    background   : #16a34a;
    color        : #fff;
    padding      : 4px 12px;
    border-radius: 999px;
    font-size    : 12px;
}

.divider-line {
    height    : 1px;
    background: linear-gradient(90deg, rgb(0, 0, 0, .08), rgb(0, 0, 0, 0));
    margin    : 18px 0 10px;
}

/* Variation grid card styling */
.variation-grid-card {
    background   : #fff;
    border       : 1px solid #e2e8f0;
    border-radius: 14px;
    padding      : 18px 20px 22px;
    box-shadow   : 0 1px 3px rgb(0, 0, 0, .06), 0 1px 2px rgb(0, 0, 0, .04);
}

.variation-card-title {
    margin        : 0 0 14px;
    font-size     : 15px;
    font-weight   : 700;
    letter-spacing: .3px;
    color         : #111827;
}

.variation-grid {
    display              : grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap                  : 18px 20px;
}

.variation-attr-block .attr-label {
    font-size     : 12px;
    font-weight   : 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom : 6px;
    display       : flex;
    align-items   : center;
    gap           : 6px;
    color         : #475569;
}

.variation-attr-block .attr-label .attr-icon {
    font-size: 14px;
}

.variation-attr-block .attr-options {
    display  : flex;
    flex-wrap: wrap;
    gap      : 6px 8px;
}

.variation-attr-block .option-btn {
    background   : #f1f5f9;
    border       : 1px solid #e2e8f0;
    padding      : 8px 12px;
    border-radius: 8px;
    font-size    : 13px;
    font-weight  : 600;
    min-width    : auto;
    width        : auto;
    white-space  : nowrap;
    flex         : 0 0 auto;
    display      : inline-block;
    transition   : background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.variation-attr-block .option-btn:hover:not(.active):not(:disabled) {
    background: #e2e8f0;
}

.variation-attr-block .option-btn.active {
    background  : #2757ff;
    color       : #fff;
    border-color: #2757ff;
    box-shadow  : 0 0 0 1px #1d4ed8, 0 2px 4px rgb(39, 87, 255, .25);
}

/* CSS-only variation selection using radio buttons */
.attr-radio {
    display: none;
}

.attr-radio:checked + .option-btn {
    background  : #2757ff;
    color       : #fff;
    border-color: #2757ff;
    box-shadow  : 0 0 0 1px #1d4ed8, 0 2px 4px rgb(39, 87, 255, .25);
}

.attr-radio:checked + .option-btn.color {
    box-shadow  : 0 0 0 2px #2757ff;
    border-color: #fff;
}

/* Hover effects for variation options */
.option-btn:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.attr-radio:checked + .option-btn:hover {
    background  : #1d4ed8;
    border-color: #1d4ed8;
}

/* Focus styles for accessibility */
.attr-radio:focus + .option-btn {
    outline: 2px solid #2757ff;
    outline-offset: 2px;
}

/* Price update based on selected variation - CSS only */
.variation-grid-card:has(.attr-radio:checked) ~ .product-info .price-line {
    transition: all 0.3s ease;
}

/* Dynamic price display based on selected variation */
.variation-grid-card:has(.attr-radio[value*="64GB"]:checked) ~ .product-info .price-line .price-current::after {
    content: " (64GB)";
    color: #666;
    font-size: 0.8em;
    font-weight: normal;
}

.variation-grid-card:has(.attr-radio[value*="128GB"]:checked) ~ .product-info .price-line .price-current::after {
    content: " (128GB)";
    color: #666;
    font-size: 0.8em;
    font-weight: normal;
}

/* Enhanced variation selection feedback */
.variation-grid-card .attr-radio:checked + .attr-option-btn {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgb(0 123 255 / 0.3);
}

.variation-grid-card .attr-radio:checked + .attr-option-btn.color {
    border: 3px solid #007bff;
    box-shadow: 0 0 0 2px rgb(0 123 255 / 0.2);
}

/* Price update animation */
.price-line {
    transition: all 0.3s ease;
}

.price-line .price-current {
    transition: all 0.3s ease;
}

/* Variation selection state */
.variation-grid-card .attr-radio:checked + .attr-option-btn::before {
    content: "✓";
    position: absolute;
    top: -5px;
    right: -5px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Disabled state for unavailable variations */
.variation-grid-card .attr-option-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f8f9fa;
    color: #6c757d;
}

/* Hover effects for variation options */
.variation-grid-card .attr-option-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.15);
}

.variation-grid-card:has(.attr-radio[value*="256GB"]:checked) ~ .product-info .price-line .price-current::after {
    content: " (256GB)";
    color: #666;
    font-size: 0.8em;
    font-weight: normal;
}

/* Color variations */
.variation-grid-card:has(.attr-radio[value*="Black"]:checked) ~ .product-info .price-line .price-current::after {
    content: " (Black)";
    color: #666;
    font-size: 0.8em;
    font-weight: normal;
}

.variation-grid-card:has(.attr-radio[value*="White"]:checked) ~ .product-info .price-line .price-current::after {
    content: " (White)";
    color: #666;
    font-size: 0.8em;
    font-weight: normal;
}

.variation-grid-card:has(.attr-radio[value*="Blue"]:checked) ~ .product-info .price-line .price-current::after {
    content: " (Blue)";
    color: #666;
    font-size: 0.8em;
    font-weight: normal;
}

.variation-attr-block .option-btn.disabled {
    opacity: .35;
    cursor : not-allowed;
}

.variation-attr-block .color-swatch-wrapper {
    display       : flex;
    flex-direction: column;
    align-items   : center;
    gap           : 4px;
    min-width     : 48px;
}

.variation-attr-block .color-swatch-wrapper .option-btn.color {
    width        : 36px;
    height       : 36px;
    padding      : 0;
    border-radius: 10px;
    position     : relative;
    border       : 2px solid #ffffff;
    box-shadow   : 0 0 0 1px #e2e8f0;
    background   : #f1f5f9;
}

.variation-attr-block .color-swatch-wrapper .option-btn.color.active {
    box-shadow  : 0 0 0 2px #2757ff;
    border-color: #fff;
}

.variation-attr-block .color-swatch-wrapper .swatch-label {
    font-size  : 11px;
    color      : #475569;
    font-weight: 500;
}

/* Delivery ETA bar */
.delivery-eta-bar {
    margin-top   : 16px;
    background   : linear-gradient(90deg, #1e3a8a, #2563eb);
    color        : #fff;
    padding      : 12px 14px 14px;
    border-radius: 14px;
    font-size    : 13px;
    position     : relative;
    overflow     : hidden;
}

.delivery-eta-bar .eta-line {
    display       : flex;
    align-items   : center;
    gap           : 8px;
    font-weight   : 600;
    letter-spacing: .3px;
}

.delivery-eta-bar .eta-icon {
    font-size: 16px;
}

.delivery-eta-bar .eta-progress {
    margin-top   : 10px;
    height       : 5px;
    background   : rgb(255, 255, 255, .25);
    border-radius: 3px;
    overflow     : hidden;
}

.delivery-eta-bar .eta-progress-inner {
    height    : 100%;
    width     : 0%;
    background: #fbbf24;
    transition: width 1s linear;
}

.delivery-eta-bar .eta-countdown {
    font-variant-numeric: tabular-nums;
}

.clamp-lines {
    display           : -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow          : hidden;
    line-clamp        : 2;
}

.clamp-2 {
    display           : -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow          : hidden;
    line-clamp        : 2;
}


.product-pricing .price-current {
    font-size  : 32px;
    font-weight: 900;
    color      : #111;
    margin-top : 6px;
}

.price-original {
    color          : var(--muted);
    text-decoration: line-through;
    margin-left    : 8px;
}

/* Purchase box */

.purchase-box.sticky {
    position: sticky;
    top     : 100px;
}



.seller-name {
    font-weight: 600;
}

.seller-score {
    color    : var(--muted);
    font-size: 13px;
}

.seller-flags {
    margin      : 12px 0;
    padding-left: 16px;
    color       : var(--muted);
}

/* Shared front button (pill) styles
   Use CSS variables to allow per-button color/border overrides.
   Apply the visual pill shape consistently across front buttons. */
.front-button {
    display        : inline-flex;
    align-items    : center;
    justify-content: center;
    gap            : .5rem;
    padding        : 8px 14px;
    border-radius  : 999px;

    /* pill shape */
    border         : var(--btn-border, none);
    background     : var(--btn-bg, #2757ff);
    color          : var(--btn-color, #fff);
    cursor         : pointer;
    font-weight    : 700;
    font-size      : 14px;
}

/* Concrete button presets used on the product page */

.btn-buy[disabled] {
    --btn-bg   : #f0c200;
    --btn-color: #111;
}

.btn-buy.btn-out-of-stock {
    --btn-bg   : #dc2626;
    --btn-color: #fff;
    cursor: not-allowed;
}

.btn-buy.btn-out-of-stock:hover {
    --btn-bg: #b91c1c;
}

.btn-notify {
    --btn-bg    : #0a7a3a;
    --btn-color : #fff;
    --btn-border: none;
}

/* Tab buttons should also use the pill visual */


/* Quantity pill control on right column */
.qty-pill {
    display        : flex;
    align-items    : center;
    gap            : 8px;
    background     : #2757ff;
    color          : #fff;
    padding        : 8px;
    border-radius  : 12px;
    justify-content: center;
    margin-bottom  : 10px;
}

.qty-action {
    background   : transparent;
    border       : none;
    color        : #fff;
    font-size    : 18px;
    padding      : 6px 10px;
    border-radius: 8px;
    
}

.qty-display {
    min-width  : 40px;
    text-align : center;
    font-weight: 700;
}

.qty-trash {
    background   : rgb(255, 255, 255, 0.12);
    border-radius: 8px;
}



/* Tabs and content */



.tab-content .tab-pane.active {
    display: block;
}

/* Related products grid */

.promo-banner {
    display      : block;
    background   : linear-gradient(90deg, #f1f7ff, #fff);
    border-radius: 8px;
    padding      : 14px;
    margin-top   : 12px;
    border       : 1px solid #e6eef6;
}

.fbt-row {
    display   : flex;
    gap       : 12px;
    overflow-x: auto;
    padding   : 12px 0;
}

.fbt-card {
    min-width    : 180px;
    border       : 1px solid #e6edf3;
    background   : #fff;
    border-radius: 8px;
    padding      : 10px;
    text-align   : center;
}

.fbt-card img {
    width     : 100%;
    height    : 110px;
    object-fit: contain;
}

.fbt-price {
    color      : #111;
    font-weight: 700;
    margin-top : 8px;
}

/* Responsive rules */
@media(min-width:900px) {
    /* Use percentage columns: left 25%, center 50%, right 25% */
    .product-details-layout {
        grid-template-columns: 25% 50% 25%;
        align-items          : start;
    }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Larger main image in the left column, but constrained to its column */
    .main-image img {
        max-height: 720px;
        width     : 100%;
        object-fit: contain;
    }

    /* Make purchase box sticky on larger screens and allow it to use full column width */
    .purchase-box {
        position  : relative;
        width     : 100%;
        box-sizing: border-box;
    }

    .purchase-box.sticky {
        position: sticky;
        top     : 100px;
    }

    /* Tabs two-column layout: main content + side extras */
    .product-tabs .tab-content {
        display              : grid;
        grid-template-columns: 1fr 360px;
        gap                  : 24px;
        align-items          : start;
    }
}

@media(min-width:1200px) {
    .product-title {
    font-size: 24px;
    }
}

/* Styles extracted from product show inline styles */
.product-show-hero {
    padding: 1rem 0;
}


.variation-attr-block {
    margin-bottom: 10px;
}

.attr-options {
    display  : flex;
    flex-wrap: wrap;
    gap      : .5rem;
}

.attr-option-btn {
    --swatch     : transparent;

    width        : 40px;
    height       : 40px;
    border-radius: 8px;
    border       : 1px solid var(--border-primary);
    background   : var(--surface);
    
}

.attr-option-btn.color {
    width        : 36px;
    height       : 36px;
    border-radius: 8px;
    padding      : 0;
    background   : #f3f4f6;
    border       : 2px solid #e2e8f0;
}

.attr-option-btn.color.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.stock-indicator {
    font-size : .75rem;
    color     : #0a7a3a;
    margin-top: 6px;
}

/* Meta items: SKU, tags, specs */
.product-meta {
    margin-top: 12px;
}

.meta-item {
    margin-bottom: 10px;
    display      : flex;
    align-items  : center;
    gap          : 10px;
}

.meta-label {
    font-weight: 700;
    color      : #475569;
    min-width  : 90px;
}

.spec-icon {
    margin-right: 6px;
    opacity     : .75;
}

.product-meta .tag-chip {
    font-size: 12px;
}

.product-meta .btn-copy-sku {
    line-height: 1;
}

.sku-wrapper {
    display    : inline-flex;
    gap        : 8px;
    align-items: center;
}

.btn-copy-sku {
    background   : transparent;
    border       : none;
    
    padding      : 6px;
    border-radius: 8px;
    font-size    : 14px;
}

.btn-copy-sku:hover {
    background: #eef2ff;
}

.tag-chip {
    display        : inline-block;
    padding        : 6px 10px;
    background     : #f1f5f9;
    border-radius  : 999px;
    margin         : 4px 6px 4px 0;
    text-decoration: none;
    color          : #0369a1;
    font-weight    : 600;
}

.tag-more {
    background   : transparent;
    border       : 1px dashed #cbd5e1;
    padding      : 6px 10px;
    border-radius: 999px;
    
}

.tag-more-hidden {
    margin-top: 8px;
}

.spec-grid {
    display              : grid;
    grid-template-columns: repeat(2, 1fr);
    gap                  : 8px 12px;
}

.spec-count-badge {
    display       : inline-block;
    background    : #0f172a;
    color         : #fff;
    font-size     : 11px;
    line-height   : 1;
    padding       : 4px 6px;
    border-radius : 999px;
    margin-left   : 6px;
    vertical-align: middle;
    font-weight   : 600;
}


.reviews-section .reviews-main {
    flex: 2;
}

.reviews-section .reviews-side {
    flex: 1;
}

.reviews-section .card-surface {
    background   : #fff;
    border       : 1px solid #e2e8f0;
    border-radius: 12px;
    padding      : 20px 22px;
    box-shadow   : 0 2px 4px rgb(0, 0, 0, 0.04);
}

.reviews-section .write-title {
    margin-top   : 0;
    margin-bottom: 14px;
    font-size    : 18px;
    font-weight  : 600;
}

/* Pure CSS Star Rating - No JavaScript Required */
.star-rating-selector {
    display        : flex;
    flex-direction : row-reverse;
    justify-content: flex-end;
    gap            : 4px;
    margin-bottom  : 8px;
}

.star-rating-selector input[type="radio"] {
    display: none;
}

.star-rating-selector label {
    cursor     : pointer;
    font-size  : 32px;
    color      : #d1d5db;
    transition : color 0.2s ease, transform 0.2s ease;
    line-height: 1;
    user-select: none;
}

.star-rating-selector label:hover,
.star-rating-selector label:hover ~ label {
    color    : #fbbf24;
    transform: scale(1.1);
}

.star-rating-selector input[type="radio"]:checked ~ label {
    color: #f59e0b;
}

.star-rating-selector input[type="radio"]:checked + label {
    color: #f59e0b;
}

/* Legacy rating input for backwards compatibility */
.reviews-section .rating-input {
    display: flex;
    gap    : 6px;
}

.reviews-section .star-btn {
    background: transparent;
    border    : none;
    cursor    : pointer;
    padding   : 4px;
    transition: transform .15s;
}

.reviews-section .star-btn:hover {
    transform: scale(1.15);
}

.reviews-section .star-btn .star {
    width : 26px;
    height: 26px;
    color : #cbd5e1;
}

.reviews-section .star-btn.active .star,
.reviews-section .star-btn .star.filled {
    color: #f59e0b;
}

.reviews-section .error-message {
    display      : block;
    color        : #dc2626;
    font-size    : 13px;
    margin-top   : 4px;
    font-weight  : 500;
}

.reviews-section .form-label {
    display      : block;
    margin-bottom: 8px;
    font-weight  : 600;
    font-size    : 14px;
    color        : #1f2937;
}

.reviews-section textarea.form-control {
    width        : 100%;
    resize       : vertical;
    border       : 1px solid #cbd5e1;
    border-radius: 8px;
    padding      : 10px 12px;
    font-size    : 14px;
}

.reviews-section textarea.form-control:focus {
    outline     : 2px solid #6366f1;
    border-color: #6366f1;
}

.reviews-section .form-actions {
    margin-top: 12px;
}

.reviews-section .btn.btn-primary {
    display      : inline-flex;
    align-items  : center;
    gap          : 6px;
    background   : #0f172a;
    color        : #fff;
    border       : none;
    padding      : 10px 18px;
    border-radius: 8px;
    font-weight  : 600;
    
}

.reviews-section .btn.btn-primary:hover {
    background: #1e293b;
}

.reviews-section .login-prompt,
.reviews-section .buyer-only-info {
    text-align: center;
}

.reviews-section .login-actions {
    display        : flex;
    justify-content: center;
    gap            : 12px;
    margin-top     : 14px;
    flex-wrap      : wrap;
}

.reviews-section .btn.btn-outline {
    background   : #fff;
    border       : 1px solid #1e293b;
    color        : #1e293b;
    padding      : 10px 18px;
    border-radius: 8px;
    font-weight  : 600;
    
}

.reviews-section .btn.btn-outline:hover {
    background: #1e293b;
    color     : #fff;
}

.reviews-section .no-reviews.fancy-empty {
    text-align   : center;
    padding      : 40px 30px;
    border       : 2px dashed #cbd5e1;
    border-radius: 16px;
    background   : linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.reviews-section .no-reviews.fancy-empty h3 {
    margin   : 10px 0 6px;
    font-size: 20px;
}

.reviews-section .no-reviews.fancy-empty p {
    margin: 0;
    color : #475569;
}

@media (max-width: 960px) {
    .reviews-section.enhanced {
        flex-direction: column;
    }

    /* Unified Empty State */
    .unified-empty.empty-state,
    .no-products,
    .login-prompt.card-surface,
    .buyer-only-info.card-surface {
        --empty-border: #e2e8f0;
        --empty-bg    : linear-gradient(145deg, #f8fafc, #f1f5f9);

        position      : relative;
        background    : var(--empty-bg);
        border        : 1.5px dashed var(--empty-border);
        border-radius : 18px;
        padding       : 38px 34px;
        text-align    : center;
        overflow      : hidden;
    }

    .unified-empty .empty-icon,
    .no-products-icon,
    .empty-state .empty-icon {
        width      : 40px;
        height     : 40px;
        margin     : 0 auto 12px;
        color      : #64748b;
        max-width  : 120px;

        /* hard cap to prevent enormous render */
        max-height : 120px;
        display    : inline-block;
        line-height: 1;
    }

    .empty-icon.empty-icon-sm {
        width : 32px;
        height: 32px;
    }

    /* explicit SVG caps to avoid parent/container forcing huge sizes */
    .unified-empty .empty-icon svg,
    .no-products-icon svg,
    .empty-state .empty-icon svg,
    .unified-empty svg,
    .no-products svg,
    .empty-state svg {
        width     : 100%;
        height    : 100%;
        max-width : 120px;
        max-height: 120px;
        display   : block;
        margin    : 0 auto 12px;
    }

    .empty-title,
    .no-products-title {
        font-size  : 22px;
        font-weight: 600;
        margin     : 0 0 10px;
        color      : #0f172a;
    }

    .empty-message,
    .no-products-text {
        color      : #475569;
        font-size  : 15px;
        max-width  : 560px;
        margin     : 0 auto 18px;
        line-height: 1.5;
    }

    .empty-actions {
        display        : flex;
        gap            : 12px;
        justify-content: center;
        flex-wrap      : wrap;
    }

    .empty-actions .btn-primary {
        background   : #0f172a;
        color        : #fff;
        border       : none;
        padding      : 10px 20px;
        border-radius: 10px;
        font-weight  : 600;
    }

    .empty-actions .btn-primary:hover {
        background: #1e293b;
    }

    .empty-actions .btn-outline {
        border       : 1px solid #0f172a;
        color        : #0f172a;
        padding      : 10px 20px;
        border-radius: 10px;
        font-weight  : 600;
        background   : #fff;
    }

    .empty-actions .btn-outline:hover {
        background: #0f172a;
        color     : #fff;
    }

    .clear-all-filters {
        margin-top: 6px;
    }

    @media (max-width: 640px) {

        .unified-empty.empty-state,
        .no-products {
            padding: 30px 22px;
        }

        .empty-title,
        .no-products-title {
            font-size: 20px;
        }
    }

    .reviews-section .reviews-side {
        order: -1;
    }
}

.spec-item {
    background   : #fff;
    border       : 1px solid #eef2f6;
    padding      : 10px;
    border-radius: 8px;
}

.spec-label {
    font-weight  : 600;
    color        : #475569;
    display      : block;
    margin-bottom: 6px;
}

.spec-value {
    color: #111;
}

.seller .avatar {
    width        : 44px;
    height       : 44px;
    border-radius: 6px;
    background   : var(--surface);
}

.btn-buy,
.btn-add {
    width: 100%;
}

.hidden-block {
    display: none;
}

/* Catalog (products listing) styles extracted from inline */

@media (max-width:992px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }
}

/* Price range */
.price-range {
    display       : flex;
    flex-direction: column;
    gap           : .35rem;
}
.price-range .value-row {
    display    : flex;
    gap        : .4rem;
    align-items: center;
    font-size  : .75rem;
}
.price-range .range-wrapper {
    position: relative;
    height  : 28px;
}
.price-range .range-wrapper input[type="range"] {
    position      : absolute;
    width         : 100%;
    pointer-events: auto;
}

/* Category hover styles moved to optimized section above */

/* Brand block */
.brand-search {
    margin-bottom: .5rem;
}
.brand-search input {
    width        : 100%;
    padding      : .35rem .5rem;
    border       : 1px solid #ddd;
    border-radius: 6px;
}
/* Brand item count styles moved to brands section */

/* Chips, grid and filters to match existing structure */
.filter-input {
    padding      : .35rem .5rem;
    border       : 1px solid #ddd;
    border-radius: 6px;
}
.filter-select {
    padding      : .35rem .5rem;
    border       : 1px solid #ddd;
    border-radius: 6px;
}


@media (max-width:1200px) {
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width:768px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width:480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.no-products {
    display        : flex;
    flex-direction : column;
    align-items    : center;
    justify-content: center;
    padding        : 2rem;
    background     : #fff;
    border         : 1px dashed #ddd;
    border-radius  : 8px;
}
.no-products-title {
    margin   : .5rem 0 0;
    font-size: 1rem;
}
.no-products-text {
    margin: .25rem 0 0;
    color : #666;
}

/* Blog pages extracted from inline styles */
.page-header .page-title { margin-top:.5rem; }
.blog-post-section { padding:1rem 0; }
.blog-post-section .container { max-width:1280px; }
.blog-post-layout { display:grid; grid-template-columns:3fr 1fr; gap:2rem; align-items:start; }
.blog-post { background:#fff; border:1px solid var(--border-primary); padding:1rem 1.25rem; border-radius:8px; }
.blog-post .post-meta { display:flex; gap:1rem; font-size:12px; color:#555; margin-bottom:.75rem; flex-wrap:wrap; }
.blog-post .post-featured-image { margin-bottom:1rem; }
.blog-post .post-featured-image img { width:100%; border-radius:8px; max-height:420px; object-fit:cover; }
.blog-post .post-content { line-height:1.55; font-size:.95rem; }
.blog-post .post-tags { margin-top:1.25rem; display:flex; flex-wrap:wrap; gap:6px; }
.blog-post .post-tags a { background:#f1f1f1; padding:4px 8px; border-radius:20px; font-size:11px; text-decoration:none; color:#111; }
.post-sidebar { position:sticky; top:90px; align-self:start; display:flex; flex-direction:column; gap:1rem; }
.post-sidebar > div { background:#fff; border:1px solid var(--border-primary); padding:.75rem .85rem; border-radius:8px; }
.post-sidebar h3 { font-size:.85rem; font-weight:700; margin:0 0 .5rem; text-transform:uppercase; }
.post-sidebar ul { list-style:none; margin:0; padding:0; font-size:.75rem; display:flex; flex-direction:column; gap:.35rem; }
.post-sidebar ul a { text-decoration:none; color:#111; }

/* Utility */
.link-dark{ color:#111; text-decoration:none; }
.link-dark:hover{ color:#000; }

/* Post card image */
.card .card-img-top{ height:160px; object-fit:cover; }

/* Blog listing empty state */
.empty-state-title { margin:0 0 .5rem; }
.empty-state-description { margin:0 0 1rem; }

@media (max-width: 992px) {
    .blog-post-layout { grid-template-columns:1fr; }
    .post-sidebar { position:static; top:auto; }
}


/* Professional Hero Slider */
.hero-slider { 
    position: relative; 
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: #111;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
}

.hero-slider-viewport { 
    position: relative; 
    overflow: hidden;
    width: 100%;
    border-radius: 0;
}

.hero-slider-track { 
    display: flex; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    scrollbar-width: none; 
    -ms-overflow-style: none; 
    scroll-behavior: smooth;
    transition: transform 0.3s ease;
}

.hero-slider-track::-webkit-scrollbar { 
    display: none; 
}

.hero-slide { 
    position: relative; 
    flex: 0 0 100%; 
    width: 100%; 
    scroll-snap-align: start; 
    min-height: 400px; 
    background: #111; 
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide-img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
    aspect-ratio: 16/6;
}

@media (max-width:760px){ .hero-slide-img { aspect-ratio: 16/9; } }
.hero-slide-overlay { 
    position: absolute; 
    inset: 0; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    padding: clamp(1rem, 4vw, 3rem); 
    gap: clamp(.4rem, 1.1vw, .85rem); 
    background: linear-gradient(135deg, rgb(0 0 0 / .4), rgb(0 0 0 / .2), rgb(0 0 0 / .1)); 
}
.hero-slide-title, .hero-slide-sub { text-wrap:balance; }
@media (max-width: 760px) {
    .hero-slide {
        min-height: 300px;
    }
    
    .hero-slide-overlay { 
        padding: 1.15rem 1rem 1.35rem; 
    }
    
    .hero-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .hero-nav.prev {
        left: 12px;
    }
    
    .hero-nav.next {
        right: 12px;
    }
    
    .hero-dots {
        bottom: 16px;
        gap: 8px;
    }
    
    .hero-dots button {
        width: 10px;
        height: 10px;
    }
}
.hero-slide-title { 
    font-size: clamp(1.5rem, 4vw, 2.75rem); 
    margin: 0 0 .5rem; 
    font-weight: 600; 
    color: #fff; 
    text-align: center;
}

.hero-slide-sub { 
    font-size: clamp(.9rem, 1.6vw, 1.15rem); 
    line-height: 1.4; 
    margin: 0 0 1rem; 
    color: #f4f4f4; 
    text-align: center;
}

.hero-slide-cta { 
    margin-top: .35rem; 
    align-self: center;
}


/* Normalize child elements spacing */
.hero-slide-overlay > * { margin-inline:0; }
.hero-nav { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background: rgb(0 0 0 / 0.6); 
    color: #fff; 
    border: none; 
    width: 48px; 
    height: 48px; 
    border-radius: 50%; 
    font-size: 1.5rem; 
    line-height: 1; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    backdrop-filter: blur(8px); 
    transition: all 0.3s ease;
    opacity: 0.8;
    z-index: 10;
}

.hero-nav:hover { 
    background: rgb(0 0 0 / 0.8); 
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.hero-nav.prev { 
    left: 20px; 
}

.hero-nav.next { 
    right: 20px; 
}

.hero-dots { 
    position: absolute; 
    left: 50%; 
    bottom: 20px; 
    transform: translateX(-50%); 
    display: flex; 
    gap: 12px; 
    z-index: 10;
}

.hero-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgb(255 255 255 / 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.hero-dots button:hover,
.hero-dots button.active {
    background: #fff;
    opacity: 1;
    transform: scale(1.2);
}

/* Banners */
.homepage-banners { margin:var(--space-10,72px) 0; }
.homepage-banners .banners-grid { display:grid; gap:clamp(.75rem,2vw,1.5rem); grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); }
.homepage-banners .banner-item { position:relative; overflow:hidden; border-radius:12px; background:#f5f5f5; display:block; }
.homepage-banners .banner-img { width:100%; height:100%; object-fit:cover; display:block; aspect-ratio: 16/9; transition:transform .6s cubic-bezier(.4,0,.2,1); }
.homepage-banners .banner-item:hover .banner-img { transform:scale(1.05); }

@media (prefers-reduced-motion: reduce){ .hero-slider-track, .homepage-banners .banner-img { scroll-behavior:auto; transition:none; } }

/* Professional Landing Page Styles - Premium E-Commerce Design */

/* Dark Mode Support */
  @media (prefers-color-scheme: dark) {
    :root {
      --bg-primary: var(--neutral-900);
      --bg-secondary: var(--neutral-800);
      --bg-tertiary: var(--neutral-700);
      --text-primary: var(--neutral-50);
      --text-secondary: var(--neutral-300);
      --text-tertiary: var(--neutral-500);
      --border-primary: var(--neutral-700);
      --border-secondary: var(--neutral-600);
    }
  }
  
  /* ===== HERO SECTION ===== */
  
  
  
  .hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    min-height: 400px;
  }
  
  
  
  
  .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .hero-image-placeholder {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/3;
  }
  
  .hero-illustration {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    transition: transform var(--transition-slow);
  }
  
  .hero-illustration:hover {
    transform: scale(1.02) rotate(1deg);
  }
  
  /* ===== PREMIUM BUTTON STYLES ===== */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2, 8px);
    padding: var(--space-3, 8px) var(--space-6, 12px);
    border-radius: var(--radius-lg, 8px);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
  }
  
  .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-normal);
  }
  
  .btn:hover::before {
    left: 100%;
  }
  
  .btn-primary {
    background: linear-gradient(135deg, var(--brand-yellow-dark), var(--brand-yellow));
    color: #111;
    box-shadow: var(--shadow-md);
  }
  
  .btn-primary:hover {
    background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-dark));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }
  
  
  .btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-lg);
  }
  
  .btn-icon {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
    background: transparent;
    border: 0;
    padding: 6px;
    border-radius: 6px;
  }
  
  .btn-icon svg {
    display: block;
  }
  
  .btn:hover .btn-icon {
    transform: translateX(2px);
  }
  
  /* ===== SECTION STYLES ===== */
  .section {
    padding: var(--space-20) 0;
  }
  
  
  
  
  .section-footer {
    text-align: center;
    margin-top: var(--space-12);
  }
  
  /* ===== FEATURES SECTION ===== */
  .features-section {
    background: var(--bg-secondary);
    position: relative;
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
  }
  
  .feature-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-primary);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
  }
  
  .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-yellow-dark), var(--brand-yellow));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
  }
  
  .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
  }
  
  .feature-card:hover::before {
    transform: scaleX(1);
  }
  
  .feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-6);
    background: linear-gradient(135deg, #fff9cc, #ffe500);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    color: var(--brand-black);
  }
  
  .feature-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin: 0 0 var(--space-3) 0;
  }
  
  .feature-description {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--text-secondary);
    margin: 0;
  }
  
  /* ===== CATEGORIES PREVIEW SECTION ===== */
  .categories-preview {
    background: var(--bg-primary);
  }
  
  
  /* ===== LATEST POSTS SECTION ===== */
  .latest-posts {
    background: var(--bg-secondary);
  }
  
  .posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-8);
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
  }
  
  .post-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-primary);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
  }
  
  .post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
  }
  
  .post-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    content-visibility: auto;
    contain-intrinsic-size: 350px 200px;
  }
  
  .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow), opacity 0.3s ease-out;
  }
  
  .post-card:hover .post-image img {
    transform: scale(1.05);
  }
  
  .post-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .post-content {
    padding: var(--space-6);
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .post-meta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
  }
  
  .post-category {
    background: #fff8c2;
    color: var(--brand-black);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-medium);
  }
  
  .post-title {
    margin: 0 0 var(--space-3) 0;
  }
  
  .post-title a {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
  }
  
  .post-title a:hover {
    color: var(--brand-yellow-dark);
  }
  
  .post-excerpt {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--text-secondary);
    margin: 0 0 var(--space-4) 0;
    flex: 1;
  }
  
  .post-read-more {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--brand-yellow-dark);
    text-decoration: none;
    transition: all var(--transition-fast);
    margin-top: auto;
  }
  
  .post-read-more:hover {
    color: var(--brand-yellow);
    gap: var(--space-3);
  }
  
  .read-more-icon {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
  }
  
  .post-read-more:hover .read-more-icon {
    transform: translateX(2px);
  }
  
  /* ===== RESPONSIVE DESIGN ===== */
  
  /* Extra large screens (1400px+) */
  @media (min-width: 1400px) {
    .container {
      max-width: 1320px;
    }
  
    .hero-section {
      min-height: 85vh;
    }
  
    .hero-title {
      font-size: 4.5rem;
      line-height: 1.1;
    }
  
    .hero-description {
      font-size: 1.25rem;
      max-width: 600px;
    }
  
    .features-grid {
      grid-template-columns: repeat(4, 1fr);
      gap: var(--space-20);
    }
  
    .categories-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: var(--space-20);
    }
  }
  
  /* Large screens (1200px - 1399px) */
  @media (min-width: 1200px) and (max-width: 1399px) {
    .container {
      max-width: 1140px;
    }
  
    .hero-section {
      min-height: 80vh;
    }
  
    .hero-title {
      font-size: 4rem;
    }
  
    .features-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  
    .categories-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  /* Medium-large screens (992px - 1199px) */
  @media (min-width: 992px) and (max-width: 1199px) {
    .container {
      max-width: 960px;
    }
  
    .hero-section .container {
      grid-template-columns: 1fr 0.8fr;
    }
  
    .hero-title {
      font-size: 3.5rem;
    }
  
    .features-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: var(--space-10);
    }
  
    .categories-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* Large Tablets and Small Desktops */
  @media (max-width: 1024px) {
    .hero-section .container {
      grid-template-columns: 1fr;
      gap: var(--space-12);
      text-align: center;
    }
  
    .hero-title {
      font-size: var(--font-size-4xl);
    }
  
    .features-grid {
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: var(--space-6);
    }
  
    .categories-grid {
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
  
    .posts-grid {
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: var(--space-6);
    }
  }
  
  /* Medium screens (768px - 991px) */
  @media (min-width: 768px) and (max-width: 991px) {
    .container {
      max-width: 720px;
    }
  
    .hero-section .container {
      grid-template-columns: 1fr;
      text-align: center;
      gap: var(--space-16);
    }
  
    .hero-title {
      font-size: 3rem;
    }
  
    .hero-visual {
      order: -1;
    }
  
    .features-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .categories-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .posts-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* Tablets */
  @media (max-width: 768px) {
    :root {
      --container-padding: var(--space-3);
    }
  
    .hero-section {
      padding: var(--space-16) 0;
    }
  
    .hero-title {
      font-size: var(--font-size-3xl);
    }
  
    .hero-description {
      font-size: var(--font-size-lg);
    }
  
    .section {
      padding: var(--space-16) 0;
    }
  
    .section-title {
      font-size: var(--font-size-3xl);
    }
  
    .section-subtitle {
      font-size: var(--font-size-lg);
    }
  
    .features-grid {
      grid-template-columns: 1fr;
      gap: var(--space-6);
    }
  
    .feature-card {
      padding: var(--space-6);
    }
  
    .categories-grid {
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: var(--space-4);
    }
  
    .posts-grid {
      grid-template-columns: 1fr;
      gap: var(--space-6);
    }
  
    .btn-lg {
      padding: var(--space-3) var(--space-6);
      font-size: var(--font-size-base);
    }
  }
  
  /* Small screens (576px - 767px) */
  @media (min-width: 576px) and (max-width: 767px) {
    .container {
      max-width: 540px;
    }
  
    .hero-section .container {
      grid-template-columns: 1fr;
      text-align: center;
    }
  
    .hero-title {
      font-size: 2.5rem;
    }
  
    .hero-actions {
      flex-direction: column;
      gap: var(--space-4);
      max-width: 300px;
      margin: 0 auto;
    }
  
    .btn {
      width: 100%;
      justify-content: center;
    }
  
    .features-grid {
      grid-template-columns: 1fr;
      gap: var(--space-8);
    }
  
    .categories-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: var(--space-4);
    }
  
    .posts-grid {
      grid-template-columns: 1fr;
    }
  
    .section-header {
      text-align: center;
    }
  }
  
  /* Mobile Phones */
  @media (max-width: 480px) {
    :root {
      --container-padding: var(--space-2);
    }
  
    .hero-section {
      padding: var(--space-12) 0;
    }
  
    .hero-title {
      font-size: var(--font-size-2xl);
    }
  
    .hero-description {
      font-size: var(--font-size-base);
    }
  
    .hero-actions {
      flex-direction: column;
      align-items: center;
    }
  
    .btn {
      width: 100%;
      justify-content: center;
    }
  
    .section {
      padding: var(--space-12) 0;
    }
  
    .section-header {
      margin-bottom: var(--space-12);
    }
  
    .section-title {
      font-size: var(--font-size-2xl);
    }
  
    .section-subtitle {
      font-size: var(--font-size-base);
    }
  
    .feature-card {
      padding: var(--space-5);
    }
  
    .feature-icon {
      width: 48px;
      height: 48px;
      font-size: var(--font-size-xl);
    }
  
    .categories-grid {
      grid-template-columns: 1fr;
      gap: var(--space-3);
    }
  
    .post-content {
      padding: var(--space-4);
    }
  }
  
  /* Landscape orientation on mobile */
  @media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
      min-height: auto;
      padding: var(--space-10) 0;
    }
  
    .hero-title {
      font-size: 2.5rem;
    }
  
    .section {
      padding: var(--space-10) 0;
    }
  }
  
  /* High DPI displays */
  @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-illustration,
    .post-image img {
      image-rendering: crisp-edges;
    }
  }
  
  /* ===== ACCESSIBILITY IMPROVEMENTS ===== */
  
  /* Focus Styles */
  .btn:focus-visible,
  a:focus-visible {
    outline: 2px solid var(--brand-yellow-dark);
    outline-offset: 2px;
  }
  
  /* Enhanced focus for keyboard navigation */
  .keyboard-navigation .btn:focus,
  .keyboard-navigation .feature-card:focus,
  .keyboard-navigation .post-card:focus {
    outline: 3px solid var(--brand-yellow-dark);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgb(255, 229, 0, 0.3);
  }
  
  /* Reduced Motion */
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
  
  /* High Contrast Mode */
  @media (prefers-contrast: more) {
    :root {
      --border-primary: var(--neutral-900);
      --border-secondary: var(--neutral-800);
    }
  
    .feature-card,
    .post-card {
      border-width: 2px;
    }
  }
  
  /* ===== PROGRESSIVE ENHANCEMENT STYLES ===== */
  
  /* Base styles for no-js fallback */
  .no-js [class*="animate-"] {
    opacity: 1 !important;
    transform: none !important;
  }
  
  /* Enhanced styles when JavaScript is enabled */
  .js-enabled [class*="animate-"] {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  
  .js-enabled .animate-fade-in-up {
    transform: translateY(34px) scale(.975);
  }
  
  .js-enabled .animate-fade-in-left {
    transform: translateX(-30px);
  }
  
  .js-enabled .animate-fade-in-right {
    transform: translateX(30px);
  }
  
  /* Visible state when animated */
  .animate-visible {
    opacity: 1 !important;
    transform: none !important;
    will-change: auto;
  }
  
  /* Enhanced card interactions */
  .js-enabled .feature-card,
  .js-enabled .post-card {
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    cursor: pointer;
  }
  
  /* Loading states */
  
  .post-image img.loaded {
    opacity: 1;
  }
  
  .post-image img.error {
    opacity: 0;
  }
  
  /* Active navigation states */
  a.active { color: var(--brand-yellow-dark); font-weight: var(--font-weight-semibold); }
  
  /* Enhanced overlay effects */
  .post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgb(0, 0, 0, 0.1), rgb(0, 0, 0, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease-out;
    pointer-events: none;
  }
  
  .post-card:hover .post-overlay {
    opacity: 1;
  }
  
  /* Smooth scrolling enhancement */
  html.js-enabled {
    scroll-behavior: smooth;
  }
  
  /* Focus trap for accessibility */
  .focus-trap {
    position: relative;
  }
  
  .focus-trap::before,
  .focus-trap::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }
  
  /* ===== PERFORMANCE OPTIMIZATIONS ===== */
  
  /* Critical rendering path optimization */
  
  .features-section,
  .categories-preview,
  .latest-posts {
    contain: layout style;
  }
  
  /* GPU acceleration for animations */
  .hero-illustration,
  .feature-card,
  .post-card,
  .btn {
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
  }
  
  /* Optimize repaints */
  .feature-icon,
  .post-image img {
    transform: translateZ(0);
    backface-visibility: hidden;
  }
  
  /* Lazy loading optimization */
  
  /* Font loading optimization handled via font-face descriptors elsewhere */
  
  /* Reduce layout shifts */
  .feature-card,
  .post-card {
    min-height: 280px;
  }
  
  
  /* Contain Layout Shifts */
  .hero-image-placeholder,
  .post-image {
    contain: layout style paint;
  }
  
  /* Memory optimization */
  .animate-fade-in-up,
  .animate-fade-in-left,
  .animate-fade-in-right {
    will-change: auto;
  }
  
  
  /* Critical CSS inlining support */

  /* .above-fold marker removed (empty rule) */
  
  .below-fold {
    /* Styles for below-the-fold content */
    content-visibility: auto;
  }
  
  /* ===== PRINT STYLES ===== */
  @media print {
    * {
      background: transparent !important;
      color: black !important;
      box-shadow: none !important;
      text-shadow: none !important;
    }
  
    body {
      font-size: 12pt;
      line-height: 1.5;
    }
  
    .hero-section,
    .features-section,
    .categories-preview,
    .latest-posts {
      break-inside: avoid;
    }
  
    .btn {
      border: 1px solid var(--neutral-900);
      background: transparent !important;
      color: var(--neutral-900) !important;
    }
  
    .hero-illustration,
    .post-image img {
      filter: grayscale(100%);
      display: none;
    }
  }
  
  /* ===== UTILITY CLASSES ===== */
  
  .text-center {
    text-align: center;
  }
  
  .text-left {
    text-align: left;
  }
  
  .text-right {
    text-align: right;
  }
  
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  
  /* ===== ANIMATION KEYFRAMES ===== */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translateX(-30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translateX(30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  /* Animation Classes */
  .animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
  }
  
  .animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
  }
  
  .animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out;
  }
  
  /* Stagger Animation Delays */
  .animate-delay-100 {
    animation-delay: 100ms;
    transition-delay: 0.1s;
  }
  
  .animate-delay-200 {
    animation-delay: 200ms;
    transition-delay: 0.2s;
  }
  
  .animate-delay-300 {
    animation-delay: 300ms;
    transition-delay: 0.3s;
  }
  
  .animate-delay-400 {
    animation-delay: 400ms;
    transition-delay: 0.4s;
  }
  
  .animate-delay-500 {
    animation-delay: 500ms;
    transition-delay: 0.5s;
  }
  
  .animate-delay-600 {
    animation-delay: 600ms;
    transition-delay: 0.6s;
  }
  
  /* ===== END OF LANDING PAGE STYLES ===== */

  
  /* Product card overrides moved from blade inline styles */
.product-card .product-image img {
    width     : 100%;
    height    : 100%;
    object-fit: cover;
    display   : block;
}



/* Group favorite and compare horizontally, keep quick-cart in its own column below */
.product-card .top-controls-row {
    display       : flex !important;
    flex-direction: row !important;
    gap           : 8px !important;
    align-items   : center !important;
}

.product-card .top-controls-col {
    display       : flex;
    flex-direction: column;
    gap           : 8px;
    align-items   : flex-end;
}

/* Strong overrides for fav/compare buttons to prevent stacking/wrapping */
.product-card .top-controls-row .fav-btn,
.product-card .top-controls-row .compare-btn {
    display        : inline-flex !important;
    position       : relative !important;
    top            : auto !important;
    right          : auto !important;
    width          : auto !important;
    height         : 40px !important;
    min-width      : 40px !important;
    padding        : 0 !important;
    align-items    : center !important;
    justify-content: center !important;
}

.product-card .product-desc {
    color             : #666;
    font-size         : .9rem;
    margin-top        : 6px;
    min-height        : 1.5em;
    display           : -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp        : 3;
    -webkit-box-orient: vertical;
    overflow          : hidden;
}

/* Star rating */
.product-card .product-rating .stars {
    display    : inline-block;
    font-size  : 0;
    line-height: 1;
}

.product-card .product-rating .star {
    font-size: 15px;
    color    : #ddd;
    display  : inline-block;
}

.product-card .product-rating .star.filled {
    color: #ffb400;
}

/* Top controls buttons sizing and look (moved from blade inline styles) */


/* Ensure badges and controls don't overlap */

/* Prevent duplicate rules: rely on variables from easy.css where available */

/* Small product card sale badge positioning */
.product-card-small .badge-sale {
    top : 6px;
    left: 6px;
}

/* Unified card sizing and image handling */


/* Truncate description/title to keep card heights uniform */


.product-card .product-footer {
    margin-top     : auto;

    /* push footer actions to bottom */
    display        : flex;
    align-items    : center;
    justify-content: space-between;
    gap            : 8px;
}

.product-card .card-actions-row {
    margin-top: 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-card .product-image {
        height: 160px;
    }

    .product-card .product-desc {
        -webkit-line-clamp: 2;
        line-clamp        : 2;
        min-height        : 2.4em;
    }
}

/* Placeholder image fallback when there is no product image */
.product-card .product-image.is-empty {
    display            : flex;
    align-items        : center;
    justify-content    : center;
    background-size    : contain;
    background-position: center;
    background-repeat  : no-repeat;
}

/* Cap placeholder img inside empty image containers so it doesn't overscale */
.product-card .product-image.is-empty img {
    width    : auto;
    max-width: auto;
    height   : auto;
    opacity  : .7;
}

/* Notify button states */
.product-card .notify-btn.subscribed {
    border-color: var(--success, #28a745);
    color       : var(--success, #28a745);
    background  : rgb(40, 167, 69, 0.08);
}

/* Small card specific tweaks */
.product-card-small {
    display       : flex;
    flex-direction: column;
    height        : 100%;
    background: var(--c-surface);
    padding: 1rem;
    border-radius: 8px;
    position: relative;
}

.product-card-small .product-image {
    height  : 120px;
    overflow: hidden;
    background: #111;
    border-radius: 8px;
}

.product-card-small .product-image img {
    width     : 100%;
    height    : 100%;
    object-fit: cover;
}

/* Strong override: force badges to stack vertically even if easy.css forces row layout */

/* Duplicate removed - merged with line 1796 */

/* Product listing and category extracted styles */
.products-section { padding:1rem 0; }
.results-title { font-size:1rem; margin:0 0 .75rem; font-weight:800; }
.card-actions-row { display:flex; gap:.5rem; margin-top:.4rem; }
.card-action-btn { position:static; background:#fff; border:1px solid var(--border-primary); }

/* Empty state for listings */
.empty-state h3 { margin:0 0 .75rem; }

/* Small product card (used by admin/compact widgets) */
.product-card-small img { width:100%; height:100%; object-fit:cover; }
.product-card-small .small-desc { min-height:2.5em; color:#666; }

/* Compare table */
.compare-table { width:100%; border-collapse:collapse; font-size:.85rem; }
.compare-table th, .compare-table td { padding:.45rem; border:1px solid #eee; vertical-align:top; }
.compare-th { background:#f9fafb; font-weight:700; }
.compare-td.feature-td { font-weight:700; width:140px; }
.compare-img { max-width:120px; height:auto; display:block; border-radius:6px; }
.compare-no-image { width:120px; height:90px; background:#f5f5f5; display:flex; align-items:center; justify-content:center; border-radius:6px; color:#999; font-size:11px; }
.compare-link { font-weight:600; text-decoration:none; color:var(--text-primary); }
.btn-remove { background:#ef4444; border:0; color:#fff; width:22px; height:22px; line-height:20px; border-radius:20px; cursor:pointer; font-weight:700; }
.btn-remove:hover { background:#dc2626; }
.table-scroll { overflow-x:auto; }


/* Vendor products UI - responsive and high-quality defaults */
.header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.header h1{margin:0;font-size:1.6rem}
.product-image{position:relative;height:180px;background:linear-gradient(180deg, #f8fafc, #ffffff)}
.product-image-link{display:block;height:100%}
.product-image-media{width:100%;max-width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.product-card:hover .product-image-media{transform:scale(1.04)}
.product-card-body{padding:14px}
.product-category{font-size:12px;color:var(--muted);margin-bottom:6px}
.product-title a{color:#0f172a;text-decoration:none}
.product-title a:hover{text-decoration:underline}
.product-price{color:var(--accent);font-weight:700;margin-top:6px}
.product-actions{margin-top:12px;display:flex;gap:8px}
.btn-outline-secondary{border:1px solid #e5e7eb;padding:7px 11px;background:transparent}

/* Badges */
.badges-inline{position:absolute;left:12px;top:12px;display:flex;gap:8px;z-index:5}
.sale-badge{background:#ef4444}
.featured-badge{background:#f59e0b}
.out-badge{background:#6b7280}

/* Top control buttons */
.top-controls{position:absolute;right:10px;top:10px;display:flex;flex-direction:column;gap:8px;z-index:6}
.circle-btn svg{display:block}
.circle-btn.active{background:var(--accent);color:#fff}

/* Form styling for wishlist and compare buttons */
.wishlist-form, .compare-form {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.wishlist-form button, .compare-form button {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

/* ===== RESPONSIVE GRID DESIGN ===== */
@media (max-width: 1200px) {
    .products-grid,
    .flash-sale-grid,
    .latest-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 900px) {
    .products-grid,
    .flash-sale-grid,
    .latest-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1rem;
    }
    
    .product-image {
        height: 160px;
    }
}

@media (max-width: 600px) {
    .products-grid,
    .flash-sale-grid,
    .latest-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0 0.5rem;
    }
    
    .product-image {
        height: 140px;
    }
    
    .product-card-body {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .products-grid,
    .flash-sale-grid,
    .latest-products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.75rem;
    }
}

.vendor-product-form{max-width:760px;margin:0 auto}
.two-cols {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.two-cols > div {
    flex: 1;
}

.two-cols .field {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.two-cols label {
    font-size: .65rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .5px;
    color: var(--text-secondary);
}

.two-cols input, .two-cols textarea, .two-cols select {
    border: 1px solid var(--border-primary);
    background: #f8fafc;
    padding: .55rem .6rem;
    font-size: .75rem;
    border-radius: 8px;
}

.two-cols textarea {
    resize: vertical;
}
.form-actions{margin-top:16px;display:flex;gap:8px}

@media (max-width:600px){.two-cols{flex-direction:column}}


/* Enhanced loader styling */
.app-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 35% 35%, var(--brand-yellow) 0%, var(--brand-yellow-dark) 55%, #111111 140%);
    color: #111;
    font-weight: 600;
    letter-spacing: .5px;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }
  .app-loader .loader-core { display:flex; flex-direction:column; align-items:center; gap:18px; }
  .app-loader .spinner { 
    width:68px; 
    height:68px; 
    border: 6px solid rgb(0,0,0,.18); 
    border-top-color:#111; 
    border-radius: 50%;
    position:relative;
    animation: spin 1s linear infinite;
  }
  .app-loader .spinner::after { content:""; position:absolute; inset:4px; border-radius:50%; border:3px solid rgb(0,0,0,.12); border-right-color:transparent; animation: spin 1.4s linear infinite reverse; }
  .app-loader .loader-brand { font-size:.9rem; font-weight:700; text-transform:uppercase; background: linear-gradient(90deg,#111,var(--brand-black),#111); background-clip:text; -webkit-background-clip:text; -webkit-text-fill-color:transparent; letter-spacing:1px; }
  .app-loader .loader-progress { width:160px; height:6px; background:rgb(0,0,0,.25); border-radius:4px; overflow:hidden; position:relative; box-shadow:0 2px 4px rgb(0,0,0,.25) inset; }
  .app-loader .loader-progress-bar { position:absolute; inset:0; width:0%; background:linear-gradient(90deg,var(--brand-black), #000 25%, rgb(0,0,0,.6) 50%, #000 75%, var(--brand-black)); background-size:400% 100%; animation: loaderStripe 2s linear infinite; }
  
  @keyframes loaderStripe { to { background-position: -400% 0; } }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  /* Smooth hide */
  .app-loader.hidden { 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }
  
  /* Section title accent bar & brand focus */
  
  /* Flash sale adjustments to brand */
  .flash-sale-section { 
    padding: var(--space-12, 3rem) 0 var(--space-10, 2.5rem); 
    background: linear-gradient(135deg, var(--brand-yellow) 0%, #fffbe6 95%); 
    margin-bottom: 0;
  }
  .flash-countdown { 
    margin-top: var(--space-2); 
    display: inline-flex; 
    align-items: center; 
    gap: var(--space-1); 
    font-family: monospace; 
    font-weight: 600; 
    background: #fffde0; 
    padding: 6px 12px; 
    border: 1px solid var(--brand-yellow-dark); 
    border-radius: var(--radius-lg); 
    box-shadow: var(--shadow-sm); 
  }
  .flash-countdown .cd-label { 
    margin-inline-end: var(--space-1); 
    color: var(--brand-yellow-dark); 
    font-weight: 500; 
  }
  
  /* Blog read-more brand color */
  
  /* Buttons override */
  
  /* Footer showcase accent gradients */
  .showcase-title::after, .brands-title::after { background: linear-gradient(90deg, var(--brand-yellow), rgb(17,17,17,0)); }
  
  /* Subtle hover elevation using brand hue */
  .product-card:hover { box-shadow:0 6px 22px -4px rgb(255,229,0,.35); }
  
  /* Skeleton shimmer (applied to product & blog thumbnails) */
  .skeleton-shimmer { position:relative; background: linear-gradient(110deg,#f6f6f6 8%, #ececec 18%, #f6f6f6 33%); background-size:200% 100%; animation: shimmer 1.2s linear infinite; }

  @keyframes shimmer { to { background-position:-200% 0; } }
  
  /* Apply skeleton to images until loaded (JS toggles .is-loaded) */
  .thumb-wrapper:not(.is-loaded), .product-card .product-image:not(.is-loaded) { background:#FFFFFF; }
  .thumb-wrapper.is-loaded::after, .product-card .product-image.is-loaded::after { display:none; }
  
  /* Animate sections on reveal with slight scale for more premium feel */
  
  /* Accessibility contrast adjustments */
  @media (prefers-contrast: more) { .flash-countdown { box-shadow:0 0 0 3px rgb(0,0,0,.15); } }
  
  /* ==== MERGED: Latest Products / Flash Sale / Blog (from latest-products.css) ==== */
  .latest-products-section { 
    padding: var(--space-12, 3rem) 0 var(--space-10, 2.5rem); 
    background: var(--bg-secondary); 
    margin-bottom: 0;
  }
  .latest-products-section .section-header { text-align:center; margin-bottom:34px; }
  .flash-sale-section .section-header { text-align:center; margin-bottom:32px; }
  .flash-sale-section .product-card .product-badge.sale-badge { background: var(--brand-yellow-dark); color:#111; }
  .flash-countdown .cd-part { min-width:22px; text-align:center; }
  .flash-countdown.expired { opacity:.55; }

  /* Unified grid styles moved to main section above */
  
  /* Specific overrides moved to main section above */
  
  /* Container wrapper for consistent content alignment */
  .flash-sale-section .container,
  .latest-products-section .container,
  .latest-articles-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4, 1rem);
  }
  
  /* Unified product card styling for sliders */
  .flash-sale-grid .product-card,
  .latest-products-grid .product-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .flash-sale-grid .product-card:hover,
  .latest-products-grid .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgb(0 0 0 / 0.12);
  }
  
  /* RTL Support for grids */
  [dir="rtl"] .flash-sale-grid,
  [dir="rtl"] .latest-products-grid,
  [dir="rtl"] .products-grid {
    direction: rtl;
  }
  
  /* LTR Support for grids */
  [dir="ltr"] .flash-sale-grid,
  [dir="ltr"] .latest-products-grid,
  [dir="ltr"] .products-grid {
    direction: ltr;
  }
  
  /* Force center alignment for all grid containers */
  .flash-sale-section .container,
  .latest-products-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .flash-sale-section .products-grid,
  .latest-products-section .products-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-6, 1.5rem);
    justify-content: center;
    align-items: start;
    justify-items: center;
  }
  
  /* Force center alignment for all grid items */
  .flash-sale-section .products-grid .product-card,
  .latest-products-section .products-grid .product-card {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  
  /* Responsive adjustments */
  @media (max-width: 1200px) {
    .flash-sale-grid, .latest-products-grid, .products-grid,
    .flash-sale-section .products-grid,
    .latest-products-section .products-grid {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: var(--space-5, 1.25rem);
    }
  }
  
  @media (max-width: 900px) {
    .flash-sale-grid, .latest-products-grid, .products-grid,
    .flash-sale-section .products-grid,
    .latest-products-section .products-grid {
      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
      gap: var(--space-4, 1rem);
    }
  }
  
  @media (max-width: 640px) {
    .flash-sale-grid, .latest-products-grid, .products-grid,
    .flash-sale-section .products-grid,
    .latest-products-section .products-grid {
      grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
      gap: var(--space-3, 0.75rem);
      padding: 0 var(--space-3, 0.75rem);
    }
  }
  
  @media (max-width: 480px) {
    .flash-sale-grid, .latest-products-grid, .products-grid,
    .flash-sale-section .products-grid,
    .latest-products-section .products-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: var(--space-2, 0.5rem);
      padding: 0 var(--space-2, 0.5rem);
    }
    
    /* Mobile section spacing adjustments */
    .flash-sale-section,
    .latest-products-section,
    .latest-articles-section {
      padding: var(--space-8, 2rem) 0 var(--space-6, 1.5rem);
    }
  }
  
  /* Blog / Latest Articles */
  .latest-articles-section { 
    padding: var(--space-12, 3rem) 0 var(--space-10, 2.5rem); 
    background: var(--bg-secondary); 
    margin-bottom: 0;
  }
  .latest-articles-section .section-header { text-align:center; margin-bottom: var(--space-8); }
  .latest-articles-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:var(--space-6); }

  @media (max-width:900px){ .latest-articles-grid { grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); } }

  @media (max-width:640px){ .latest-articles-section { padding: var(--space-10) 0 var(--space-8); } .latest-articles-grid { gap:var(--space-5); } .blog-card .card-body { padding:var(--space-4) var(--space-4) var(--space-5); } .blog-card .post-title { font-size:.98rem; } .blog-card .excerpt { -webkit-line-clamp:4; line-clamp:4; } }
  

  /* ==== SELECTIVE PERFORMANCE UTILITIES (from landing-performance.css) ==== */
  .lazy-load { opacity:0; transition:opacity .3s ease-in-out; }
  .lazy-load.loaded { opacity:1; }

  @keyframes loading { 0% { background-position:200% 0; } 100% { background-position:-200% 0; } }
  .loading-skeleton { background: linear-gradient(90deg, var(--border-primary) 25%, rgb(255,255,255,0.5) 50%, var(--border-primary) 75%); background-size:200% 100%; animation: loading 1.5s infinite; }
  .reduce-motion .performance-animation { animation:none !important; transition:none !important; }
  
  /* ==== MERGED: Footer Showcase (from footer-showcase.css) ==== */
  .footer-showcase { padding: var(--space-12) 0; background: linear-gradient(180deg,var(--bg-primary) 0%, var(--bg-secondary) 100%); border-top:1px solid var(--border-primary); }
  .footer-showcase .showcase-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:var(--space-10); margin-bottom:var(--space-12); }
  .showcase-title { font-size:var(--font-size-sm); font-weight:var(--font-weight-bold); letter-spacing:.5px; text-transform:uppercase; margin:0 0 var(--space-3); position:relative; padding-bottom:var(--space-2); color:var(--text-primary); }
  .showcase-title::after { content:""; position:absolute; left:0; bottom:0; height:2px; width:100px; background:linear-gradient(90deg,var(--brand-yellow), rgb(17,17,17,0)); }
  .product-mini-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:var(--space-3); }
  .product-mini-list .mini-item { display:flex; gap:var(--space-3); align-items:flex-start; padding:var(--space-1) 0; border-bottom:1px solid var(--border-secondary); }
  .product-mini-list .mini-item:last-child { border-bottom:0; }
  .mini-thumb { display:block; width:54px; height:54px; flex:0 0 54px; border-radius:var(--radius-md); overflow:hidden; background:var(--bg-primary); box-shadow:var(--shadow-sm); }
  .mini-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
  .mini-thumb img.is-placeholder { object-fit:contain; padding:6px; filter:grayscale(15%) contrast(1.05); background:linear-gradient(135deg,var(--neutral-100), var(--neutral-200)); }
  .mini-meta { flex:1; min-width:0; }
  .mini-name { display:block; font-size:13px; font-weight:var(--font-weight-medium); color:var(--text-primary); text-decoration:none; line-height:1.25; margin-bottom:var(--space-1); }
  .mini-name:hover { text-decoration:underline; }
  .mini-price { font-size:12px; display:flex; align-items:center; gap:6px; color:var(--text-primary); }
  .mini-price strong { font-size:13px; font-weight:var(--font-weight-semibold); color:var(--brand-yellow-dark); }
  .mini-price .mini-old { text-decoration:line-through; color:var(--text-tertiary); font-weight:var(--font-weight-normal); }
  .mini-item.on-sale .mini-price strong { color: var(--error-500); }
  .mini-rating { background:rgb(245,158,11,0.1); color:var(--warning-500); font-size:11px; padding:2px 6px; border-radius:10px; font-weight:var(--font-weight-semibold); }
  .mini-empty { font-size:12px; color:var(--text-secondary); }
  /* ===== BRANDS SECTION - OPTIMIZED CSS ===== */
  .brands-title { 
    font-size: 14px; 
    font-weight: var(--font-weight-bold); 
    letter-spacing: .5px; 
    text-transform: uppercase; 
    margin: 0 0 var(--space-4); 
    position: relative; 
    padding-bottom: 6px; 
    color: var(--text-primary); 
  }
  
  .brands-title::after { 
    content: ""; 
    position: absolute; 
    left: 0; 
    bottom: 0; 
    height: 2px; 
    width: 80px; 
    background: linear-gradient(90deg, var(--brand-yellow), rgb(17,17,17,0)); 
  }
  
  .brands-slider { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); 
    gap: var(--space-5); 
  }
  
  .brand-item { 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-normal);
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
  }
  
  .brand-item::before { 
    content: ""; 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(135deg, var(--brand-yellow), transparent); 
    opacity: 0; 
    transition: opacity var(--transition-normal); 
    border-radius: inherit;
  }
  
  .brand-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-yellow);
  }
  
  .brand-item:hover::before {
    opacity: 0.1;
  }
  
  .brand-name { 
    font-size: 13px; 
    font-weight: var(--font-weight-semibold); 
    color: var(--text-primary); 
    letter-spacing: .5px; 
    text-transform: uppercase; 
    white-space: nowrap; 
    position: relative;
    z-index: 1;
  }
  
  .brand-empty { 
    font-size: 12px; 
    color: var(--text-secondary); 
    text-align: center;
    padding: var(--space-4);
    grid-column: 1 / -1;
  }


  /* ===== BRANDS RESPONSIVE DESIGN ===== */
  @media (max-width: 640px) { 
    .footer-showcase { 
      padding: 40px 0; 
    } 
    .footer-showcase .showcase-grid { 
      gap: 28px; 
    } 
    .mini-thumb { 
      width: 48px; 
      height: 48px; 
      flex: 0 0 48px; 
    }
    .brands-slider {
      grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
      gap: var(--space-3);
    }
    .brand-item {
      padding: var(--space-1) var(--space-2);
    }
    .brand-name {
      font-size: 11px;
    }
  }

  @media (min-width: 641px) and (max-width: 900px) { 
    .footer-showcase .showcase-grid { 
      grid-template-columns: repeat(2, minmax(0, 1fr)); 
      gap: 32px; 
    } 
    .brands-slider { 
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); 
    } 
  }

  @media (min-width:1024px){ .footer-showcase .showcase-grid { grid-template-columns:repeat(4,1fr); } }
  
  /* ===== USER DASHBOARD - OPTIMIZED CSS ===== */
body.account-body { 
    background: var(--account-bg); 
    min-height: 100vh;
}

.account-section { 
    padding: 2rem 0 3rem; 
}

.account-grid { 
    display: flex; 
    gap: 2rem; 
    align-items: flex-start; 
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.account-main { 
    flex: 1 1 auto; 
    min-width: 0; 
}

.account-sidebar { 
    width: 300px; 
    flex: 0 0 300px; 
}

/* ===== USER CARD - ENHANCED DESIGN ===== */
.account-user-card { 
    background: var(--account-card-bg); 
    border: 1px solid var(--account-card-border); 
    border-radius: var(--account-card-radius); 
    padding: 1.5rem; 
    display: flex; 
    gap: 1rem; 
    margin-bottom: 1.5rem; 
    box-shadow: var(--account-shadow);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.account-user-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgb(0 0 0 / 0.1);
}

.account-sidebar .avatar-circle { 
    width: 60px; 
    height: 60px; 
    border-radius: 50%; 
    background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-dark)); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--brand-black); 
    font-weight: 700; 
    font-size: 20px;
    box-shadow: 0 4px 12px rgb(255 229 0 / 0.3);
}

.account-sidebar .meta .greet { 
    font-weight: 700; 
    font-size: 1.1rem;
    color: var(--text-primary);
}

.account-sidebar .meta .email { 
    font-size: 0.85rem; 
    color: var(--text-secondary); 
    margin-top: 0.25rem; 
    word-break: break-all; 
}

.account-sidebar .progress-wrapper { 
    margin-top: 1rem; 
}

.account-sidebar .progress-bar { 
    background: var(--account-progress-track); 
    height: 8px; 
    border-radius: 6px; 
    overflow: hidden; 
    position: relative; 
}

.account-sidebar .progress-bar span { 
    display: block; 
    height: 100%; 
    background: linear-gradient(90deg, var(--brand-yellow), var(--brand-yellow-dark)); 
    width: 0; 
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1); 
}

.account-sidebar .progress-label { 
    font-size: 0.8rem; 
    margin-top: 0.5rem; 
    color: var(--text-secondary); 
    font-weight: 600;
}

/* ===== NAVIGATION GROUPS - ENHANCED DESIGN ===== */
.account-nav-groups { 
    background: var(--account-card-bg); 
    border: 1px solid var(--account-card-border); 
    border-radius: var(--account-card-radius); 
    padding: 1.5rem; 
    box-shadow: var(--account-shadow);
}

.account-nav-groups .nav-group { 
    margin-bottom: 1.5rem; 
}

.account-nav-groups .nav-group:last-child {
    margin-bottom: 0;
}

.account-nav-groups .group-title { 
    font-size: 0.75rem; 
    font-weight: 700; 
    color: var(--text-secondary); 
    margin: 0 0 1rem; 
    letter-spacing: 0.5px; 
    text-transform: uppercase; 
}

.account-nav-groups .nav-link { 
    position: relative; 
    display: flex; 
    align-items: center; 
    gap: 0.75rem; 
    padding: 0.75rem 1rem; 
    border-radius: 12px; 
    color: var(--text-primary); 
    text-decoration: none; 
    font-size: 0.9rem; 
    font-weight: 500; 
    line-height: 1.4; 
    transition: all var(--transition-normal);
    margin-bottom: 0.5rem;
}

.account-nav-groups .nav-link:hover { 
    background: var(--bg-secondary); 
    box-shadow: var(--account-shadow-soft); 
    transform: translateX(4px);
}

.account-nav-groups .nav-link.active { 
    background: var(--account-nav-active-bg); 
    border-left: 4px solid var(--brand-yellow); 
    padding-left: 0.75rem; 
    color: var(--brand-black);
    font-weight: 600;
}

.account-sidebar .nav-link-badge { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.account-sidebar .nav-link-badge .badge { 
    margin-left: 0; 
    background: var(--brand-yellow);
    color: var(--brand-black);
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
}
/* ===== DASHBOARD LAYOUT - ENHANCED DESIGN ===== */
.dashboard-page { 
    width: 100%; 
    grid-template-columns: 1fr 350px; 
    gap: 2rem; 
    margin-top: 1rem;
}

.stats-cards { 
    display: grid; 
    gap: 1.5rem; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    margin-bottom: 2rem;
}

/* ===== STATISTICS CARDS - ENHANCED DESIGN ===== */
.panel.stat { 
    background: var(--account-card-bg); 
    border: 1px solid var(--account-card-border); 
    border-radius: var(--account-card-radius); 
    padding: 1.5rem; 
    box-shadow: var(--account-shadow);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.panel.stat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-yellow), var(--brand-yellow-dark));
}

.panel.stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgb(0 0 0 / 0.1);
}

.panel.stat .stat-inner { 
    display: flex; 
    flex-direction: column; 
    gap: 0.75rem; 
}

.panel.stat .icon { 
    width: 50px; 
    height: 50px; 
    border-radius: 14px; 
    background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-dark)); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--brand-black);
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgb(255 229 0 / 0.3);
}

.panel.stat .icon.bg-gradient-green { 
    background: linear-gradient(135deg, #10b981, #34d399); 
    box-shadow: 0 4px 12px rgb(16 185 129 / 0.3);
}

.panel.stat .icon.bg-gradient-orange { 
    background: linear-gradient(135deg, #f59e0b, #f97316); 
    box-shadow: 0 4px 12px rgb(245 158 11 / 0.3);
}

.panel.stat .icon.bg-gradient-blue { 
    background: linear-gradient(135deg, #3b82f6, #60a5fa); 
    box-shadow: 0 4px 12px rgb(59 130 246 / 0.3);
}

.panel.stat .icon.bg-gradient-red { 
    background: linear-gradient(135deg, #ef4444, #fb7185); 
    box-shadow: 0 4px 12px rgb(239 68 68 / 0.3);
}

.panel.stat .icon.bg-gradient-violet { 
    background: linear-gradient(135deg, #a78bfa, #7c3aed); 
    box-shadow: 0 4px 12px rgb(167 139 250 / 0.3);
}

.panel.stat .value { 
    font-size: 1.5rem; 
    font-weight: 700; 
    color: var(--text-primary);
    margin-top: 0.5rem;
}

.panel.stat .label { 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    color: var(--text-secondary); 
    font-weight: 600;
}

.panel.stat .mini-progress { 
    margin-top: 0.75rem; 
    background: var(--account-progress-track); 
    height: 6px; 
    border-radius: 6px; 
    overflow: hidden; 
}

.panel.stat .mini-progress span { 
    display: block; 
    height: 100%; 
    background: linear-gradient(90deg, var(--brand-yellow), var(--brand-yellow-dark)); 
    width: 0; 
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1); 
}
.flex-cols { display:flex; gap:1.75rem; align-items:flex-start; }
.flex-cols .col.primary { flex:2; display:flex; flex-direction:column; gap:1.25rem; }
.flex-cols .col.side { flex:1; display:flex; flex-direction:column; gap:1.25rem; }
.items-table .item-row { display:flex; align-items:center; padding:.65rem .75rem; border:1px solid #f1f5f9; border-radius:8px; margin-bottom:.5rem; background:#fff; }
.items-table .item-row .info { flex:1; }
.items-table .item-row .name { font-weight:600; font-size:.85rem; }
.items-table .item-row .small { font-size:11px; color:var(--text-secondary); }
.items-table .item-row .price { font-size:13px; font-weight:600; }
.panel h4 { margin:0 0 .75rem; font-size:15px; font-weight:600; }
.page-title { font-size:1.55rem; font-weight:600; margin:0 0 1.1rem; }
.address-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:.5rem; }
.address-list li { font-size:12px; line-height:1.4; }
.address-list .badge { margin-left:4px; }
.manage-addresses { margin-top:.65rem; }

/* invoices */
.invoices-wrapper { background:#fff; border:1px solid #eee; border-radius:var(--account-card-radius); padding:1rem; }
.invoices-wrapper h3 { margin:0 0 1rem; font-size:18px; font-weight:600; }
.invoices-table-wrapper { overflow-x:auto; }
.invoices-table { width:100%; border-collapse:collapse; font-size:14px; }
.invoices-table thead tr { background:#fafafa; }
.invoices-table th, .invoices-table td { padding:6px 8px; text-align:left; }
.invoices-table tbody td { border-bottom:1px solid #f2f2f2; }

/* profile */
.profile-panels h1.page-title { margin:0 0 .5rem; font-size:1.25rem; font-weight:600; }
.profile-panels .page-sub { margin:0 0 1.25rem; font-size:.85rem; color:var(--text-secondary); }
.profile-form .panel-row { display:flex; flex-direction:column; gap:1.25rem; }
.profile-form .panel-block { background:#fff; border:1px solid var(--border-primary); padding:1rem 1.1rem; border-radius:var(--account-card-radius); box-shadow:var(--account-shadow); }
.profile-form .panel-block h4 { margin:0 0 .75rem; font-size:.85rem; font-weight:600; text-transform:uppercase; letter-spacing:.5px; }
.err { color:#dc2626; font-size:.65rem; }
.btn-primary-lg { background:#1f2937; color:#fff; padding:.7rem 1.4rem; border:0; border-radius:8px; font-size:.8rem; font-weight:600; cursor:pointer; }

/* Profile page modern two-column layout */
.profile-layout { display:grid; grid-template-columns: 1fr 340px; gap:1.5rem; align-items:start; }
.profile-main { display:flex; flex-direction:column; gap:1rem; }
.profile-side { display:flex; flex-direction:column; gap:1rem; }
.profile-side .user-card { padding:1rem; border-radius:12px; background:var(--account-card-bg); border:1px solid var(--account-card-border); box-shadow:var(--account-shadow); }
.profile-side .avatar { width:72px; height:72px; border-radius:12px; background:linear-gradient(135deg,#6366f1,#818cf8); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:700; font-size:22px; }
.profile-side .user-meta { margin-left:12px; }
.profile-side .user-line { font-size:.95rem; font-weight:600; }
.profile-side .muted { color:var(--text-secondary); font-size:.85rem; }
.profile-side .quick-links { display:flex; flex-direction:column; gap:.5rem; margin-top:.6rem; }
.profile-side .quick-link { display:flex; justify-content:space-between; align-items:center; padding:.5rem .6rem; border-radius:8px; background:#fff; border:1px solid var(--account-card-border); font-size:.9rem; text-decoration:none; color:#111827; }

/* compact form inputs for desktop */
.profile-form .two-cols { grid-template-columns: repeat(2, minmax(220px,1fr)); }

@media (max-width: 992px) {
    .profile-layout { grid-template-columns:1fr; }
    .profile-side { order: -1; }
    .profile-form .two-cols { grid-template-columns:repeat(1,minmax(0,1fr)); }
}

/* orders */
.orders-page .order-filters { display:flex; gap:.75rem; margin:0 0 1.25rem; }
.orders-page .order-filters input,.orders-page .order-filters select { background:#fff; border:1px solid var(--account-card-border); padding:.55rem .7rem; font-size:.75rem; border-radius:8px; width:200px; box-shadow:var(--account-shadow-soft); }
.orders-page .order-filters select { width:110px; }
.orders-list { display:flex; flex-direction:column; gap:1rem; }
.order-card { background:#fff; border:1px solid var(--border-primary); border-radius:var(--account-card-radius); padding:.95rem 1.05rem; display:flex; flex-direction:column; gap:.75rem; position:relative; box-shadow:var(--account-shadow); }
.order-card:hover { box-shadow:0 4px 14px -2px rgb(0,0,0,.12); }
.order-status-line { display:flex; align-items:center; gap:.6rem; }
.status-dot { width:10px; height:10px; border-radius:50%; background:#9ca3af; }
.status-pending { background:#f59e0b; }
.status-completed { background:#10b981; }
.order-summary { display:flex; gap:1rem; align-items:center; }
.thumb-stack { display:flex; }
.thumb-stack .thumb { width:36px; height:36px; border-radius:6px; background:#f1f5f9; display:flex; align-items:center; justify-content:center; font-size:.7rem; font-weight:600; margin-right:-8px; border:2px solid #fff; }
.order-summary .details { flex:1; }
.order-summary .details .title { font-size:.8rem; font-weight:600; }
.order-summary .details .meta { font-size:.65rem; color:var(--text-secondary); margin-top:2px; }
.order-summary .badges { display:flex; gap:.4rem; }

/* order detail */
.order-detail-page .order-head { margin:0 0 1rem; }
.order-detail-page .order-head .page-title { margin:.25rem 0 .4rem; font-size:1.05rem; }
.tracking-block { display:flex; gap:.8rem; align-items:center; background:#fff; border:1px solid var(--border-primary); padding:.85rem 1rem; border-radius:var(--account-card-radius); margin-bottom:1.25rem; box-shadow:var(--account-shadow); }
.tracking-block .status-icon { width:14px; height:14px; border-radius:50%; background:#9ca3af; }
.tracking-block .status-icon.status-completed { background:#10b981; }
.tracking-block .status-text-main { font-size:.8rem; font-weight:600; }
.tracking-block .actions { margin-left:auto; }
.order-detail-page .flex-cols { display:flex; gap:1.75rem; }
.order-detail-page .flex-cols .panel { background:#fff; border:1px solid var(--border-primary); border-radius:var(--account-card-radius); padding:1rem 1.1rem; }
.order-detail-page .items-table .item-row { display:flex; align-items:center; gap:.75rem; padding:.55rem 0; border-bottom:1px solid #f1f5f9; }
.order-detail-page .items-table .thumb { width:40px; height:40px; border-radius:6px; background:#f3f4f6; display:flex; align-items:center; justify-content:center; font-size:.75rem; font-weight:600; }
.order-detail-page .summary-line { display:flex; justify-content:space-between; font-size:.7rem; margin-top:.35rem; }
.order-detail-page .summary-line.total { font-weight:700; }
.order-detail-page .summary-actions { display:flex; gap:.5rem; margin-top:.6rem; }
.order-detail-page .panel.sticky { position:sticky; top:90px; }

/* addresses */
.addresses-page .card { background:#fff; border:1px solid var(--border-primary); border-radius:var(--account-card-radius); margin-bottom:1.5rem; box-shadow:var(--account-shadow); }
.addresses-page .card-header { padding:1rem 1.1rem; border-bottom:1px solid var(--border-primary); }
.addresses-page .card-title { margin:0; font-size:.9rem; font-weight:600; }
.addresses-page .card-body { padding:1rem 1.1rem; }
.address-groups { display:flex; flex-direction:column; gap:1.25rem; }

/* Add New Address form inputs: 3 columns on large screens, responsive down to 1 */
.addresses-page .card-body .two-cols { grid-template-columns: repeat(3, minmax(220px,1fr)); }
.addresses-page .card-body .two-cols .field { min-width:0; }

@media (max-width: 992px) {
    .addresses-page .card-body .two-cols { grid-template-columns: repeat(2, minmax(180px,1fr)); }
}

@media (max-width: 576px) {
    .addresses-page .card-body .two-cols { grid-template-columns: repeat(1, minmax(0,1fr)); }
}

/* Saved addresses: 2 columns on desktop, 1 column on small screens. Page-specific and !important to override accidental global edits. */
.addresses-page .address-cards { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:1rem !important; align-items:start !important; }
.addresses-page .address-cards .address-card { width:90% !important; margin:0 !important; }

@media (max-width: 992px) {
    .addresses-page .address-cards { grid-template-columns:repeat(1,minmax(0,1fr)) !important; }
}

/* head action button (delete) styling to avoid overlapping */
.address-card-head .head-actions .inline-form { margin:0; }
.address-card-head .head-actions .link.danger { padding:.25rem .45rem; border:1px solid #f1f5f9; border-radius:8px; background:#fff; color:#b91c1c; font-size:.82rem; }
.address-group h4 { margin:0 0 .6rem; font-size:.8rem; font-weight:600; text-transform:uppercase; }

/* address modal */
.modal { position:fixed; inset:0; background:rgb(0,0,0,.4); display:none; align-items:center; justify-content:center; z-index:var(--z-modal); }
.modal-dialog { width:100%; max-width:640px; }
.modal-content { background:#fff; border-radius:10px; overflow:hidden; }
.modal-header { display:flex; justify-content:space-between; align-items:center; padding:.75rem 1rem; border-bottom:1px solid var(--border-primary); }
.modal-title { margin:0; font-size:.85rem; font-weight:600; }
.modal-close { background:none; border:0; font-size:1.2rem; line-height:1; cursor:pointer; }
.modal-body { padding:1rem 1.1rem; }

/* utilities */
.ml-3 { margin-left:.75rem; }
.m-0 { margin:0 !important; }
.d-none{display:none !important;}

@media (max-width: 992px) { .account-grid { flex-direction:column; } .account-sidebar { width:100%; display:flex; flex-direction:row; gap:1rem; } .account-nav-groups { flex:1; display:flex; flex-wrap:wrap; gap:1rem 1.25rem; } .account-nav-groups .nav-group { margin:0; min-width:140px; } .flex-cols, .order-detail-page .flex-cols { flex-direction:column; } }

@media (max-width: 768px) { .order-detail-page .flex-cols { flex-direction:column; } .address-cards .address-card { width:90%; } }

/* Dashboard specific styles (user area) */
.dashboard-overview { display:flex; gap:1rem; flex-wrap:wrap; margin-bottom:1rem; }
/* ===== DASHBOARD CARDS - ENHANCED DESIGN ===== */
.dash-card { 
    flex: 1 1 200px; 
    min-width: 180px; 
    background: var(--account-card-bg); 
    border: 1px solid var(--account-card-border); 
    border-radius: var(--account-card-radius); 
    padding: 1.5rem; 
    box-shadow: var(--account-shadow); 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.dash-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-yellow), var(--brand-yellow-dark));
}

.dash-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgb(0 0 0 / 0.1);
}

.dash-card .meta { 
    display: flex; 
    gap: 1rem; 
    align-items: center; 
}

.dash-card .meta .icon { 
    width: 45px; 
    height: 45px; 
    border-radius: 12px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #fff; 
    font-weight: 700; 
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.2);
}

.icon-blue {
    background: linear-gradient(135deg, #60a5fa, #3b82f6); 
    box-shadow: 0 4px 12px rgb(96 165 250 / 0.3);
}

.icon-green {
    background: linear-gradient(135deg, #34d399, #10b981); 
    box-shadow: 0 4px 12px rgb(52 211 153 / 0.3);
}

.icon-yellow {
    background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-dark)); 
    box-shadow: 0 4px 12px rgb(255 229 0 / 0.3);
    color: var(--brand-black);
}

.icon-violet {
    background: linear-gradient(135deg, #a78bfa, #7c3aed); 
    box-shadow: 0 4px 12px rgb(167 139 250 / 0.3);
}

.dash-stats { 
    display: flex; 
    flex-direction: column; 
    gap: 0.5rem; 
    text-align: right;
}

.dash-stats .big { 
    font-weight: 700; 
    font-size: 1.25rem; 
    color: var(--text-primary);
}
.dashboard-main { display:flex; flex-direction:column; gap:1rem; }
.recent-list .row { display:flex; justify-content:space-between; padding:.6rem 0; border-bottom:1px solid #f3f6fb; }
.recent-list .row:last-child{border-bottom:0;}
.dashboard-side { display:flex; flex-direction:column; gap:1rem; }
.addresses-compact { padding:.8rem; }
.addresses-compact .muted{font-size:.85rem;}

/* ===== DASHBOARD RESPONSIVE DESIGN ===== */
@media (max-width: 992px) { 
    .dashboard-page {
        grid-template-columns: 1fr; 
        gap: 1.5rem;
    }
    
    .account-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .account-sidebar {
        width: 100%;
        flex: none;
    }
    
    .stats-cards {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .account-grid {
        padding: 0 1rem;
    }
    
    .stats-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .dash-card {
        flex: 1 1 100%;
        min-width: auto;
    }
    
    .dashboard-overview {
        flex-direction: column;
        gap: 1rem;
    }
    
    .account-user-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .account-sidebar .avatar-circle {
        width: 80px;
        height: 80px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .account-section {
        padding: 1rem 0 2rem;
    }
    
    .account-grid {
        padding: 0 0.75rem;
    }
    
    .panel.stat {
        padding: 1rem;
    }
    
    .dash-card {
        padding: 1rem;
    }
    
    .account-nav-groups {
        padding: 1rem;
    }
    
    .account-user-card {
        padding: 1rem;
    }
}

/* Invoice/PDF styles moved from inline to external CSS for validation and Envato compliance */
h1{font-size:20px;margin:0 0 10px}
table{width:100%;border-collapse:collapse;margin-top:12px}
th,td{border:1px solid #ccc;padding:6px 8px;text-align:left;font-size:12px}
th{background:#f5f5f5}
.totals td{font-weight:600}

/* Utilities */
.mt-15{margin-top:15px}
.w-70{width:70%}

/* Cart page qty input group extracted styles */
.qty-input-group{display:inline-flex;align-items:center;border:1px solid #ddd;border-radius:6px;overflow:hidden;}
.qty-input{width:64px;padding:6px 8px;border:0;text-align:center;}
.qty-btn{background:#f5f5f5;border:0;padding:6px 10px;cursor:pointer;}
.visually-hidden{position:absolute;left:-9999px;}

/* ===== UNIFIED BREADCRUMB STYLES ===== */
.breadcrumb-nav {
    margin-bottom: 1.5rem;
    padding: 0.75rem 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: #6b7280;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin: 0 0.5rem;
    color: #d1d5db;
    font-weight: 400;
}

.breadcrumb-item.active {
    color: #374151;
    font-weight: 500;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #3b82f6;
    text-decoration: none;
}

.breadcrumb-link i {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Breadcrumb responsive adjustments */
@media (max-width: 768px) {
    .breadcrumb-nav {
        margin-bottom: 1rem;
        padding: 0.5rem 0;
    }
    
    .breadcrumb {
        font-size: 0.8rem;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin: 0 0.375rem;
    }
}

/* Breadcrumb dark mode support */
@media (prefers-color-scheme: dark) {
    .breadcrumb-item {
        color: #9ca3af;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        color: #4b5563;
    }
    
    .breadcrumb-item.active {
        color: #f3f4f6;
    }
    
    .breadcrumb-link {
        color: #9ca3af;
    }
    
    .breadcrumb-link:hover {
        color: #60a5fa;
    }
}

/* Admin Login Page Styles */
.admin-login-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.admin-login-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.admin-login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.admin-login-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgb(255 255 255 / 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgb(255 255 255 / 0.2);
}

.admin-login-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 4px rgb(0 0 0 / 0.1);
}

.admin-login-subtitle {
    font-size: 1rem;
    color: rgb(255 255 255 / 0.8);
    margin: 0;
    font-weight: 400;
}

.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.admin-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
}

.admin-form-label svg {
    color: #6b7280;
    flex-shrink: 0;
}

.admin-form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.admin-form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgb(59 130 246 / 0.1);
}

.admin-form-input::placeholder {
    color: #9ca3af;
}

.admin-form-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.admin-checkbox-wrapper {
    display: flex;
    align-items: center;
}

.admin-checkbox {
    display: none;
}

.admin-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #374151;
}

.admin-checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: white;
}

.admin-checkbox:checked + .admin-checkbox-label .admin-checkbox-custom {
    background: #3b82f6;
    border-color: #3b82f6;
}

.admin-checkbox:checked + .admin-checkbox-label .admin-checkbox-custom::after {
    content: '';
    width: 6px;
    height: 10px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.admin-checkbox-text {
    font-weight: 500;
}

.admin-form-actions {
    margin-top: 1rem;
}

.admin-btn-full {
    width: 100%;
    justify-content: center;
}

/* Responsive adjustments for admin login */
@media (max-width: 768px) {
    .admin-login-wrapper {
        padding: 1rem;
    }
    
    .admin-login-container {
        max-width: 100%;
    }
    
    .admin-login-title {
        font-size: 1.75rem;
    }
    
    .admin-login-icon {
        width: 60px;
        height: 60px;
    }
}

/* Additional styles for auth pages */
.admin-login-link {
    color: rgb(255 255 255 / 0.9);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.admin-login-link:hover {
    color: white;
    text-decoration: none;
}

.admin-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-form-links {
    display: flex;
    align-items: center;
}

.admin-form-link {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.admin-form-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

.admin-form-inline {
    display: inline-block;
    width: 100%;
}

.admin-form-inline + .admin-form-inline {
    margin-top: 0.75rem;
}

.admin-success-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    color: #065f46;
    font-size: 0.875rem;
    font-weight: 500;
}

.admin-success-message svg {
    color: #10b981;
    flex-shrink: 0;
}

/* Gradient Classes for Dashboard */
.gradient-blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Vendor Notifications CSS */
.notification-btn {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgb(0 0 0 / 0.1);
}

.notification-badge.envato-hidden {
    display: none;
}

.notification-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s ease;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item.unread {
    background-color: #fef3c7;
    border-left: 3px solid #f59e0b;
}

.notification-item:hover {
    background-color: #f9fafb;
}

.notification-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.notification-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: #111827;
    margin: 0;
}

.notification-message {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

.notification-time {
    font-size: 0.7rem;
    color: #9ca3af;
    margin: 0;
}

/* Dropdown menu adjustments for notifications */
.dropdown-menu {
    min-width: 320px;
    max-width: 400px;
    box-shadow: 0 10px 25px rgb(0 0 0 / 0.1);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
}

.dropdown-header {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
}

.dropdown-item {
    padding: 0;
    border: none;
    border-radius: 0;
}

.dropdown-item:hover {
    background-color: transparent;
}

/* Mark as read button styling */
.btn-link {
    border: none;
    background: none;
    color: #6b7280;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-link:hover {
    color: #374151;
    background-color: #f3f4f6;
}


