:root {
    --ink: #0f2425;
    --muted: #5c7273;
    --deep: #0c2d30;
    --deep-2: #071e20;
    --teal: #196766;
    --teal-light: #e6f3f2;
    --teal-accent: #2ab5ab;
    --teal-accent-rgb: 42, 181, 171;
    --mint: #daf0ec;
    --sand: #f7f1e5;
    --paper: #fcfbfa;
    --white: #ffffff;
    --rose: #c85a4a;
    --gold: #d4a34b;
    --gold-rgb: 212, 163, 75;
    --gold-light: #fdf5e6;
    --line: rgba(15, 36, 37, 0.1);
    --shadow-sm: 0 4px 16px rgba(12, 45, 48, 0.06);
    --shadow-md: 0 14px 36px rgba(12, 45, 48, 0.11);
    --shadow-lg: 0 24px 64px rgba(7, 30, 32, 0.18);
    --radius-sm: 12px;
    --radius: 22px;
    --radius-lg: 30px;
    --max: 1400px;
}

.branch-select-wrap {
    align-items: center;
    margin-left: 12px;
}

.branch-select-dropdown {
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink);
    border: 1.5px solid var(--teal-accent);
    border-radius: 12px;
    padding: 6px 30px 6px 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23196766' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    appearance: none;
}

.branch-select-dropdown:hover,
.branch-select-dropdown:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(42, 181, 171, 0.18);
}

.branch-select-dropdown option {
    background: var(--white);
    color: var(--ink);
    font-weight: 600;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #f7f5f0 0%, #fcfbfa 35%, #f4f1ea 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

body.drawer-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
    border: 0;
    background: none;
}

img {
    max-width: 100%;
    display: block;
}

.icon {
    width: 1.15em;
    height: 1.15em;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* ── TOPBAR ── */
.topbar {
    background: var(--deep-2);
    color: #d6f0ec;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.topbar-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.topbar strong {
    color: #f5cf88;
}

.topbar a {
    color: #87d6cd;
    text-decoration: underline;
}

/* ── HEADER ── */
.header {
    position: sticky;
    top: 0;
    z-index: 2000;
    background: rgba(252, 251, 250, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
}

.nav {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
}

.brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
    padding: 5px;
    box-shadow: var(--shadow-sm);
}

.brand small {
    display: block;
    color: var(--muted);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a {
    padding: 9px 15px;
    color: #355354;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    transition: all .2s ease;
}

.nav-links a:hover {
    background: var(--teal-light);
    color: var(--teal);
}

.actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ghost-btn {
    padding: 0 16px;
    min-height: 42px;
    border-radius: 14px;
    background: var(--teal-light);
    color: var(--teal);
    font-weight: 800;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .2s ease;
}

.ghost-btn:hover {
    background: #d3ebe7;
}

.primary-btn {
    padding: 0 20px;
    min-height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--teal), var(--deep));
    color: white;
    font-weight: 800;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(25, 103, 102, 0.28);
    transition: all .25s ease;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(25, 103, 102, 0.4);
}

.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: var(--deep);
    background: var(--teal-light);
    display: grid;
    place-items: center;
    position: relative;
    transition: all .2s ease;
}

.icon-btn:hover {
    background: #d3ebe7;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 99px;
    background: var(--rose);
    color: white;
    font-size: 11px;
    font-weight: 900;
    border: 2px solid white;
    box-shadow: 0 3px 8px rgba(200, 90, 74, .4);
}

/* Brand Titles */
.brand-titles {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--deep);
    line-height: 1.2;
}

.brand-sub {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Header Search */
.header-search {
    flex: 1;
    max-width: 440px;
    position: relative;
}

.header-search input {
    width: 100%;
    height: 42px;
    padding: 0 42px 0 16px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: #f1f5f9;
    font-size: 13.5px;
    outline: none;
    transition: all 0.2s ease;
    color: var(--deep);
    font-family: inherit;
}

.header-search input:focus {
    background: #ffffff;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(25, 103, 102, 0.14);
}

.header-search button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--teal);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.header-search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(15, 45, 48, 0.16);
    z-index: 2000;
    max-height: 420px;
    overflow-y: auto;
}

.cart-header-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: var(--deep);
    background: var(--teal-light);
    display: grid;
    place-items: center;
    position: relative;
    transition: all .2s ease;
    border: none;
    cursor: pointer;
}

.cart-header-btn:hover {
    background: #d3ebe7;
    transform: translateY(-1px);
}

.cart-header-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 99px;
    background: var(--rose);
    color: white;
    font-size: 11px;
    font-weight: 900;
    border: 2px solid white;
    box-shadow: 0 3px 8px rgba(200, 90, 74, .4);
}

/* ── STORE THEME PICKER ── */
.theme-picker {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.theme-picker-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.theme-picker-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--muted);
}

.theme-picker-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
    padding: 0;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.theme-dot:hover {
    transform: scale(1.14);
}

.theme-dot.active {
    box-shadow: 0 0 0 1px var(--line), 0 0 0 2px white, 0 0 0 4px var(--ink);
    transform: scale(1.1);
}

/* ── HERO SECTION ── */
.hero {
    position: relative;
    z-index: 100;
    background-size: cover !important;
    overflow: visible !important;
    padding: 76px 24px 90px;
    background: radial-gradient(circle at 85% 15%, rgba(var(--teal-accent-rgb), 0.2), transparent 45%), radial-gradient(circle at 15% 85%, rgba(var(--gold-rgb), 0.15), transparent 45%), linear-gradient(135deg, var(--deep) 0%, var(--deep-2) 100%);
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    transition: background-image .4s ease;
}

.hero-content {
    position: relative;
    z-index: 101;
    max-width: var(--max);
    width: 100%;
    margin: 0 auto;
}

.back-to-market {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #87d6cd;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    backdrop-filter: blur(8px);
    transition: all .2s ease;
}

.back-to-market:hover {
    color: white;
    background: rgba(255, 255, 255, .16);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 99px;
    background: rgba(255, 255, 255, .08);
    color: #f5cf88;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(8px);
}

h1 {
    margin: 20px 0 12px;
    max-width: 760px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(38px, 4.5vw, 58px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.5px;
}

.hero-sub {
    color: #d0e8e5;
    font-size: 14px;
    margin: 0 0 8px;
    font-weight: 600;
}

p.hero-desc {
    max-width: 900px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
    line-height: 1.7;
}

.hero-search {
    position: relative;
    z-index: 102;
    max-width: 680px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 8px 8px 8px 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, .6);
    backdrop-filter: blur(12px);
}

.hero-search input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 12px 0;
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    background: transparent;
}

/* Hero Search Item Suggestions Dropdown */
.hero-search-suggestions {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    max-height: 420px;
    overflow-y: auto;
    padding: 8px 0;
    text-align: left;
}

.hero-search-suggestions .suggestion-header {
    padding: 10px 18px 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-search-suggestions .suggestion-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
    border-bottom: 1px solid #f8fafc;
    text-decoration: none;
    color: inherit;
}

.hero-search-suggestions .suggestion-item:last-child {
    border-bottom: none;
}

.hero-search-suggestions .suggestion-item:hover,
.hero-search-suggestions .suggestion-item.active {
    background: #f0fdfa;
    /* light teal accent match */
}

.hero-search-suggestions .suggestion-thumb {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: cover;
    background: #f1f5f9;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.hero-search-suggestions .suggestion-info {
    flex: 1;
    min-width: 0;
}

.hero-search-suggestions .suggestion-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 0 3px 0;
}

.hero-search-suggestions .suggestion-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #64748b;
}

.hero-search-suggestions .suggestion-price {
    font-size: 14px;
    font-weight: 700;
    color: #1f6b68;
    margin-left: auto;
    flex-shrink: 0;
}

.hero-search-suggestions .suggestion-badge {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.3;
}

.hero-search-suggestions .suggestion-badge.badge-cat {
    background: #e0f2fe;
    color: #0369a1;
}

.hero-search-suggestions .suggestion-badge.badge-out {
    background: #fee2e2;
    color: #b91c1c;
}

.hero-search-suggestions .suggestion-badge.badge-low {
    background: #fef3c7;
    color: #b45309;
}

.hero-search-suggestions .suggestion-badge.badge-ok {
    background: #dcfce7;
    color: #15803d;
}

.hero-search-suggestions .suggestion-empty {
    padding: 24px 18px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

/* ── SECTIONS ── */
section {
    position: relative;
    z-index: 1;
    padding: 68px 0;
}

.section-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.section-head h2 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3.5vw, 40px);
    color: var(--deep);
    font-weight: 700;
}

.section-head p {
    margin: 6px 0 0;
    color: var(--muted);
    max-width: 580px;
    font-size: 14px;
    line-height: 1.6;
}

/* ── SHOP BY CATEGORY ── */
.scroll-controls {
    display: flex;
    gap: 8px;
}

.scroll-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: white;
    color: var(--deep);
    font-size: 20px;
    font-weight: 800;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-sm);
    transition: all .2s ease;
}

.scroll-btn:hover {
    background: var(--teal);
    color: white;
    border-color: var(--teal);
}

.category-scroll-wrap {
    position: relative;
    width: 100%;
    margin-top: 8px;
}

.category-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 10px 4px 20px 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
}

.category-row::-webkit-scrollbar {
    display: none;
}

.category-btn {
    flex: 0 0 140px;
    scroll-snap-align: start;
    min-height: 110px;
    padding: 16px 12px;
    border: 1.5px solid var(--line);
    border-radius: 22px;
    background: white;
    color: var(--ink);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all .28s cubic-bezier(.16, 1, .3, 1);
    position: relative;
    overflow: hidden;
}

.category-btn:hover,
.category-btn.active {
    transform: translateY(-5px);
    border-color: var(--teal);
    box-shadow: 0 14px 32px rgba(25, 103, 102, 0.18);
    background: linear-gradient(180deg, #ffffff 0%, #edf6f5 100%);
}

.category-btn.active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--teal-accent));
}

.cat-icon {
    width: 60px;
    height: 60px;
    border-radius: 18%;
    display: grid;
    place-items: center;
    color: white;
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .14);
    transition: transform .25s ease;
}

.category-btn:hover .cat-icon {
    transform: scale(1.1);
}

.category-btn strong {
    font-size: 13px;
    font-weight: 800;
    color: var(--deep);
    display: block;
    line-height: 1.2;
}

/* ── SHOP CATALOG & FILTERS ── */
.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 26px;
    align-items: start;
}

.filters {
    position: sticky;
    top: 96px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: white;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.filters h3 {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 800;
    color: var(--deep);
}

.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    margin-bottom: 7px;
    font-size: 11px;
    font-weight: 800;
    color: #436263;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #faf9f6;
    color: var(--ink);
    outline: 0;
    padding: 0 14px;
    font-weight: 600;
    font-size: 14px;
}

.field textarea {
    min-height: 86px;
    resize: vertical;
    padding-top: 10px;
}

.range-values {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 13px;
    margin-top: 22px;
    font-weight: 600;
}

/* ── DUAL-THUMB PRICE RANGE ── */
.price-range {
    position: relative;
    height: 28px;
    margin-top: 10px;
}

.price-range-track {
    position: absolute;
    top: 88%;
    width: 82%;
    left: 22px;
    right: 0;
    height: 4px;
    background: var(--line);
    border-radius: 2px;
    transform: translateY(-50%);
}

.price-range-fill {
    position: absolute;
    top: 90%;
    height: 4px;
    background: var(--teal);
    border-radius: 2px;
    transform: translateY(-50%);
}

.price-range input[type="range"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 28px;
    margin: 0;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    pointer-events: none;
}

.price-range input[type="range"]#priceMin {
    z-index: 3;
}

.price-range input[type="range"]#priceMax {
    z-index: 2;
}

.price-range input[type="range"]::-webkit-slider-runnable-track {
    background: transparent;
}

.price-range input[type="range"]::-moz-range-track {
    background: transparent;
}

.price-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--teal);
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(12, 45, 48, 0.3);
    cursor: pointer;
    margin-top: 5px;
}

.price-range input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--teal);
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(12, 45, 48, 0.3);
    cursor: pointer;
}

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.result-count {
    color: var(--muted);
    font-weight: 800;
    font-size: 15px;
}

/* ── LAZY LOAD SENTINEL ── */
.scroll-sentinel {
    display: none;
    justify-content: center;
    padding: 28px 0 4px;
}

.scroll-sentinel .spinner {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 3px solid var(--line);
    border-top-color: var(--teal);
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── PRODUCT CARDS ── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.product-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    background: white;
    box-shadow: 0 8px 24px rgba(12, 45, 48, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s cubic-bezier(.16, 1, .3, 1), border-color .3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(12, 45, 48, 0.14);
    border-color: rgba(25, 103, 102, 0.4);
}

.product-media {
    aspect-ratio: 4/3;
    background: var(--soft);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: block;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.product-card:hover .product-media img {
    transform: scale(1.06);
}

.badge {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 6px 10px;
    border-radius: 99px;
    background: rgba(12, 45, 48, .9);
    color: white;
    font-size: 11px;
    font-weight: 800;
    backdrop-filter: blur(6px);
}

.badge.out {
    background: rgba(200, 90, 74, .9);
}

.badge.low {
    background: rgba(212, 163, 75, .9);
}

.product-body {
    padding: 18px;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #16292a;
    align-self: flex-start;
}

.product-title {
    margin: 0;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 800;
    color: var(--deep);
}

.product-desc {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.product-foot {
    margin-top: auto;
}

.price {
    font-size: 20px;
    font-weight: 900;
    color: var(--deep);
    white-space: nowrap;
}

.stock-label {
    font-size: 12px;
    font-weight: 700;
}

.stock-ok {
    color: var(--teal);
}

.stock-low {
    color: var(--gold);
}

.stock-out {
    color: var(--rose);
}

/* ── DEALS & METRICS BANNER ── */
.deals {
    background: linear-gradient(135deg, var(--deep), var(--deep-2));
    color: white;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.deal-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    align-items: center;
}

.deal-panel {
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 26px;
    padding: 28px;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(12px);
}

.deal-panel h2 {
    margin: 0 0 12px;
    font-family: 'Playfair Display', serif;
    font-size: 34px;
}

.deal-panel p {
    color: #d0e8e5;
    line-height: 1.65;
    margin: 0 0 20px;
    font-size: 15px;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.metric {
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 20px;
    padding: 18px;
    background: rgba(255, 255, 255, .08);
}

.metric strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #f5cf88;
}

.metric span {
    color: #c0dfdb;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── RECENT ORDERS ── */
.orders {
    background: rgba(246, 241, 232, 0.6);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.order-list {
    display: grid;
    gap: 14px;
}

.order-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: white;
    padding: 18px;
    box-shadow: var(--shadow-sm);
    transition: all .2s ease;
}

.order-card:hover {
    box-shadow: var(--shadow-md);
}

.order-card.order-new {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(25, 103, 102, .18);
    animation: pulseNew 1.8s ease 3;
}

@keyframes pulseNew {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(25, 103, 102, .18);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(25, 103, 102, .08);
    }
}

.order-id {
    font-weight: 900;
    color: var(--deep);
    font-size: 16px;
}

.order-meta {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    font-weight: 600;
}

.order-date {
    font-size: 12px;
    color: #8aa3a3;
    margin-top: 6px;
}

.order-items-list {
    margin: 10px 0 0;
    padding: 10px 12px;
    background: var(--soft);
    border-radius: 10px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
}

.status-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 99px;
    background: var(--mint);
    color: var(--deep);
    font-weight: 800;
    font-size: 13px;
    white-space: nowrap;
}

.status-chip.preparing {
    background: #fff4d9;
    color: #8a5e00;
}

.status-chip.ready {
    background: #d6f5e9;
    color: #1a6640;
}

/* ── CREDIT CARD PREVIEW ── */
.credit-card-preview {
    background: linear-gradient(135deg, var(--deep) 0%, var(--teal) 50%, var(--deep-2) 100%);
    border-radius: 20px;
    padding: 30px 20px;
    color: white;
    box-shadow: 0 12px 32px rgba(12, 45, 48, 0.35);
    border: 1px solid rgba(255, 255, 255, .2);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.credit-card-preview::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    pointer-events: none;
}

/* ── ORDER SUCCESS PANEL ── */
.success-panel {
    display: none;
    padding: 36px 28px;
    text-align: center;
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-accent));
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
    box-shadow: 0 8px 28px rgba(25, 103, 102, .36);
    animation: popIn .4s cubic-bezier(.17, .89, .32, 1.28);
}

@keyframes popIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-panel h2 {
    margin: 0 0 6px;
    color: var(--deep);
    font-family: 'Playfair Display', serif;
    font-size: 28px;
}

.success-panel .success-sub {
    color: var(--muted);
    margin: 0 0 22px;
    font-size: 15px;
}

.success-order-box {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--soft);
    padding: 18px;
    text-align: left;
    margin: 0 auto 24px;
    max-width: 440px;
}

.success-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.success-row:last-child {
    border-bottom: 0;
}

.success-row .lbl {
    color: var(--muted);
}

.success-row .val {
    font-weight: 800;
    color: var(--ink);
}

.success-row .val.price {
    color: var(--deep);
    font-size: 18px;
}

/* ── ITEM ATTRIBUTES GRID ── */
.attr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
    background: var(--soft);
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    font-size: 14px;
}

.attr-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(15, 36, 37, .12);
    padding-bottom: 8px;
}

.attr-row strong {
    color: #436263;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.attr-row span {
    color: var(--ink);
    font-weight: 700;
    font-size: 14px;
    font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
}

/* ── FOOTER ── */
.footer {
    background: #0d282b;
    color: rgba(255, 255, 255, 0.8);
    padding: 48px 0 24px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
}

@media (max-width: 991px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }
}

.footer-col h4 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13.5px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fca311;
}

.footer-bottom {
    max-width: 1320px;
    margin: 32px auto 0;
    padding: 24px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #fca311;
}

/* ── Footer Payment Methods ── */
.supported-brands-container {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    margin-top: 10px;
    padding: 0;
    background: transparent;
}

.payment-brand {
    width: 44px;
    height: 28px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 3px 5px;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.payment-brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.22);
}

.visa-brand {
    background-image: url('../img/supported-brand-visa-5VGWDZXF.svg');
}

.mastercard-brand {
    background-image: url('../img/supported-brand-mastercard-5RRG52PH.svg');
}

.amex-brand {
    background-image: url('../img/express_logo-4ZHMI6WK.png');
}

.omannet-brand {
    background-image: url('../img/oman_net-OJGRVNW5.svg');
}

.applepay-brand {
    background-image: url('../img/supported-brand-applepay-5VOXRCUD.svg');
}

.googlepay-brand {
    background-image: url('../img/GPay_Acceptance_Mark_800-DV65H7QK.png');
}

.maal-brand {
    background-image: url('../img/maal-LR5GVS3I.svg');
}

@media screen and (max-width: 480px) {
    .supported-brands-container {
        gap: 5px;
    }

    .payment-brand {
        width: 40px;
        height: 25px;
        padding: 2px 4px;
        border-radius: 4px;
    }
}

/* ── EMPTY / LOADING ── */
.empty {
    border: 1px dashed rgba(15, 36, 37, .2);
    border-radius: 20px;
    padding: 32px;
    background: rgba(255, 255, 255, .6);
    color: var(--muted);
    text-align: center;
    font-weight: 600;
}

.skeleton {
    border-radius: 20px;
    overflow: hidden;
    background: #e6f0ef;
    animation: shimmer 1.4s infinite;
}

.skeleton-img {
    height: 180px;
}

.skeleton-line {
    height: 16px;
    margin: 10px;
    border-radius: 4px;
    background: #d0e2e0;
}

.skeleton-line.short {
    width: 60%;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }
}

/* ── CART DRAWER ── */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2999;
    background: rgba(7, 30, 32, .5);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.drawer-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 3000;
    width: min(440px, 100vw);
    height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    background: var(--paper);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.25);
    transform: translateX(110%);
    transition: transform .28s cubic-bezier(.16, 1, .3, 1);
}

.cart-drawer.open {
    transform: translateX(0);
}

.drawer-head,
.drawer-total {
    padding: 20px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    text-align: right;
}

.drawer-head h2 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--deep);
}

.cart-items {
    overflow: auto;
    padding: 18px;
    display: grid;
    align-content: start;
    gap: 14px;
}

.cart-item {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
    padding: 12px;
    box-shadow: var(--shadow-sm);
}

.cart-item img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 12px;
}

.cart-item h4 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 800;
    color: var(--deep);
}

.qty {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.qty button {
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #f4faf9;
    color: var(--deep);
    font-weight: 900;
}

.drawer-total {
    border-top: 1px solid var(--line);
    border-bottom: 0;
    display: grid;
    justify-content: flex-end;
    align-items: center;
    gap: 13px;
    background: white;
}

.total-row {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-weight: 600;
}

.total-row.grand {
    color: var(--deep);
    font-size: 20px;
    font-weight: 900;
    font-family: 'Playfair Display', serif;
}

/* ── MODALS OVERLAY (FIXED & CENTERED) ── */
.modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 3000 !important;
    display: none;
    place-items: center;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgba(7, 30, 32, 0.78) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow-y: auto;
}

.modal.show {
    display: flex !important;
}

.checkout-box {
    width: min(780px, 100%);
    max-height: 90vh;
    overflow: auto;
    border-radius: 28px;
    background: var(--paper);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, .5);
}

.checkout-head {
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.checkout-head h2 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--deep);
}

.checkout-form {
    padding: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.checkout-form .wide {
    grid-column: 1/-1;
}

/* ── ITEM MODAL: IMAGE CAROUSEL ── */
.modal-img-track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.modal-img-track::-webkit-scrollbar {
    display: none;
}

.modal-img-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: start;
    cursor: zoom-in;
}

/* ── ITEM MODAL: LIGHTBOX ── */
.img-lightbox {
    z-index: 3100 !important;
    background: rgba(4, 16, 17, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px;
}

.img-lightbox.show {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

.img-lightbox .icon-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, .14);
    color: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 180;
}

.img-lightbox .icon-btn:hover {
    background: rgba(255, 255, 255, .26);
}

.lightbox-main-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 70vh;
    margin: auto;
}

.lightbox-img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-width: 80%;
    overflow: hidden;
}

.img-lightbox img#lightboxImg {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease-in-out;
}

.lightbox-arrow {
    background: rgba(255, 255, 255, .1);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    transition: all .2s ease;
    z-index: 170;
}

.lightbox-arrow:hover {
    background: rgba(255, 255, 255, .3);
    transform: scale(1.1);
}

/* Bottom Thumbnail Strip (Amazon/Flipkart Style) */
.lightbox-thumbnails-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding: 10px;
    width: 100%;
    overflow-x: auto;
}

.lightbox-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    border: 2px solid transparent;
    padding: 2px;
    cursor: pointer;
    background: #fff;
    object-fit: cover;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.lightbox-thumb:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.lightbox-thumb.active {
    border-color: var(--teal-accent, #2ab5ab);
    box-shadow: 0 0 10px rgba(42, 181, 171, 0.6);
    opacity: 1;
    transform: scale(1.05);
}

/* ── TOAST ── */
.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 140;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    pointer-events: none;
    padding: 14px 20px;
    border-radius: 16px;
    background: var(--deep-2);
    color: white;
    box-shadow: var(--shadow-lg);
    transition: all .25s ease;
    font-weight: 800;
    font-size: 14px;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
    .nav-links {
        display: none;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-layout,
    .deal-grid {
        grid-template-columns: 1fr;
    }

    .filters {
        position: static;
    }

    .attr-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .brand {
        min-width: 0;
    }

    .hero {
        padding: 50px 16px;
    }

    h1 {
        font-size: 34px;
    }

    .hero-search {
        grid-template-columns: 1fr;
    }

    .product-grid,
    .metrics,
    .checkout-form {
        grid-template-columns: 1fr;
    }

    .order-card {
        grid-template-columns: 1fr;
    }
}

.btn-remove {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #ef4444;
    border-radius: 10px;
    background: #fff5f5;
    color: #ef4444;
    cursor: pointer;
    transition: all .25s ease;
}

.btn-remove:hover {
    background: #ef4444;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, .25);
}

.btn-remove svg {
    width: 18px;
    height: 18px;
}

.select2-container {
    width: 100% !important;
}

.select2-selection,
.select2-selection--single {
    height: 40px !important;
}

.select2-selection__arrow,
.select2-selection__rendered {
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
}

/* ==========================================================================
   Modern Profile Dropdown UI Component
   ========================================================================== */
.user-profile-wrapper {
    position: relative;
    z-index: 2005;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    font-family: inherit;
    outline: none;
}

.user-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid rgba(25, 103, 102, 0.22);
    border-radius: 40px;
    padding: 4px 12px 4px 5px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 8px rgba(15, 36, 37, 0.06);
    outline: none;
    user-select: none;
    text-decoration: none;
    color: var(--ink, #0f2425);
    height: 38px;
}

.user-profile-btn:hover,
.user-profile-btn:focus-visible,
.user-profile-wrapper.open .user-profile-btn,
.user-profile-wrapper:focus-within .user-profile-btn {
    background: #ffffff;
    border-color: var(--teal, #196766);
    box-shadow: 0 4px 14px rgba(25, 103, 102, 0.15);
}

.user-avatar-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal, #196766) 0%, #0d4645 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(25, 103, 102, 0.25);
}

.user-name-text {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1;
}

.dropdown-caret {
    font-size: 11px;
    color: #64748b;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 2px;
}

.user-profile-wrapper.open .dropdown-caret,
.user-profile-wrapper:focus-within .dropdown-caret {
    transform: rotate(180deg);
    color: var(--teal, #196766);
}

/* Dropdown Menu Card */
.profile-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 220px;
    background: #ffffff;
    border: 1px solid rgba(15, 36, 37, 0.08);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 12px 32px rgba(12, 45, 48, 0.14), 0 4px 12px rgba(12, 45, 48, 0.04);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transform-origin: top right;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 100000;
}

.user-profile-wrapper.open .profile-dropdown-menu,
.user-profile-wrapper:focus-within .profile-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Hover support for desktop */
@media (hover: hover) {
    .user-profile-wrapper:hover .profile-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .user-profile-wrapper:hover .dropdown-caret {
        transform: rotate(180deg);
        color: var(--teal, #196766);
    }

    .user-profile-wrapper:hover .user-profile-btn {
        border-color: var(--teal, #196766);
        box-shadow: 0 4px 14px rgba(25, 103, 102, 0.15);
    }
}

.dropdown-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 4px;
}

.dropdown-user-avatar {
    font-size: 24px;
    color: var(--teal, #196766);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-user-details {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dropdown-user-title {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.dropdown-user-subtitle {
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-divider {
    height: 1px;
    background-color: #f1f5f9;
    margin: 4px 0;
}

.profile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.profile-dropdown-item i {
    font-size: 15px;
    color: #64748b;
    transition: color 0.15s ease;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.profile-dropdown-item:hover {
    background-color: #e6f3f2;
    color: var(--teal, #196766);
}

.profile-dropdown-item:hover i {
    color: var(--teal, #196766);
}

.profile-dropdown-item.logout-item {
    color: #dc2626;
}

.profile-dropdown-item.logout-item i {
    color: #dc2626;
}

.profile-dropdown-item.logout-item:hover {
    background-color: #fef2f2;
    color: #b91c1c;
}

.profile-dropdown-item.logout-item:hover i {
    color: #b91c1c;
}

/* Wishlist Button Styles */
.wishlist-btn {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    z-index: 10;
    color: #64748b;
    padding: 0;
}

.wishlist-btn i {
    pointer-events: none;
    font-size: 15px;
}

.wishlist-btn:hover {
    transform: scale(1.1);
    background: #ffffff;
    color: #ef4444;
}

.wishlist-btn.active {
    color: #ef4444 !important;
}

#mWishlistBtn {
    transition: all 0.2s ease;
}

#mWishlistBtn:hover {
    background-color: #fecaca;
    border-color: #ef4444;
    color: #ef4444;
}

#mWishlistBtn.active {
    background-color: #ef4444;
    border-color: #ef4444;
    color: #ffffff !important;
}

/* ── BREADCRUMB SECTION ── */
.breadcrumb-section {
    max-width: 1270px;
    margin: 16px auto 0;
    padding: 0px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    flex-wrap: wrap;
}

.breadcrumb-list a {
    color: #163f43;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-list a:hover {
    text-decoration: underline;
    color: #0c2d30;
}

.breadcrumb-list .sep {
    color: #cbd5e1;
}

.breadcrumb-list .active {
    color: #1e293b;
    font-weight: 700;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    color: #163f43;
    text-decoration: none !important;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.back-btn:hover {
    background: #f0f7f7;
    border-color: #163f43;
    color: #163f43;
    transform: translateY(-1px);
}

/* ─── Shop Pagination Styles ────────────────────────────────────────── */
.shop-pagination-wrapper {
    width: 100%;
    transition: all 0.3s ease;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.page-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: var(--deep, #0c2d30);
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.page-btn:hover:not(:disabled):not(.active) {
    background: var(--teal-light, #e6f3f2);
    border-color: var(--teal, #196766);
    color: var(--teal, #196766);
    transform: translateY(-1px);
}

.page-btn.active {
    background: var(--teal, #196766);
    border-color: var(--teal, #196766);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(25, 103, 102, 0.25);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
}

.page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 38px;
    color: #94a3b8;
    font-weight: 800;
    letter-spacing: 2px;
}

.pagination-pagesize select {
    border: 1.5px solid #e2e8f0;
    transition: all 0.2s;
}

.pagination-pagesize select:focus {
    border-color: var(--teal, #196766);
    box-shadow: 0 0 0 3px rgba(42, 181, 171, 0.15);
}