/* ============================================================
   LUXE GLANZ AURA — SHOP / SEARCH PAGE
   File: public/assets/vamika/css/shop.css
   Same design tokens as home.css, header.css, footer.css, product-details.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

:root {
    --vs-blush:       #1a1613;
    --vs-rose:        #d4af52;
    --vs-primary:     #c9a227;
    --vs-accent:      #a9850f;
    --vs-deep:        #f5f1e8;
    --vs-muted:       #a39a90;
    --vs-ivory:       #121110;
    --vs-border:      rgba(255,255,255,.09);
    --vs-success:     #2d8c5a;
    --vs-card:        #181512;
    --vs-card-border: rgba(201,162,39,.15);
    --vs-black:       #0d0c0a;
    --vs-shadow:      0 4px 20px rgba(0,0,0,.4), 0 0 0 1px rgba(201,162,39,.08);
    --vs-ff-serif:    'Cormorant Garamond', Georgia, serif;
    --vs-ff-sans:     'DM Sans', system-ui, sans-serif;
}

/* ══════════════════════════════════════
   PAGE SHELL
══════════════════════════════════════ */
.vs-page {
    font-family: var(--vs-ff-sans);
    background: var(--vs-ivory);
    color: var(--vs-deep);
    min-height: 100vh;
}
.vs-page *, .vs-page *::before, .vs-page *::after { box-sizing: border-box; }
.vs-page a { text-decoration: none; color: inherit; }
.vs-page img { display: block; max-width: 100%; }

/* ══════════════════════════════════════
   PAGE HERO / BREADCRUMB BAR
══════════════════════════════════════ */
.vs-hero {
    background: var(--vs-black);
    border-bottom: 1px solid var(--vs-border);
    padding: 32px 0 28px;
    position: relative;
    overflow: hidden;
}
.vs-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.vs-hero-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}
.vs-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    margin-bottom: 12px;
}
.vs-breadcrumb a { color: inherit; transition: color .2s; }
.vs-breadcrumb a:hover { color: var(--vs-primary); }
.vs-breadcrumb .sep { font-size: 10px; }
.vs-breadcrumb .current { color: rgba(255,255,255,.85); }

.vs-hero-title {
    font-family: var(--vs-ff-serif);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 300;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 6px;
}
.vs-hero-title em { font-style: italic; color: var(--vs-rose); }
.vs-hero-count {
    font-size: 12px;
    color: rgba(255,255,255,.5);
    letter-spacing: .06em;
}

/* ══════════════════════════════════════
   TOOLBAR (sort + view toggle + count)
══════════════════════════════════════ */
.vs-toolbar {
    background: var(--vs-card);
    border-bottom: 1px solid var(--vs-border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.vs-toolbar-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.vs-toolbar-left  { display: flex; align-items: center; gap: 12px; }
.vs-toolbar-right { display: flex; align-items: center; gap: 12px; }

/* Filter toggle button (mobile) */
.vs-filter-btn {
    display: none;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border: 1px solid var(--vs-border);
    border-radius: 2px;
    background: var(--vs-card);
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--vs-muted);
    cursor: pointer;
    font-family: var(--vs-ff-sans);
    transition: all .2s;
}
.vs-filter-btn:hover { border-color: var(--vs-primary); color: var(--vs-deep); }
.vs-filter-btn svg  { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.vs-filter-btn .vs-active-count {
    background: var(--vs-primary);
    color: var(--vs-ivory);
    font-size: 9px;
    font-weight: 600;
    border-radius: 50%;
    width: 16px; height: 16px;
    display: none;
    align-items: center;
    justify-content: center;
}
.vs-filter-btn.has-filters .vs-active-count { display: flex; }

/* Result count */
.vs-result-count {
    font-size: 12px;
    color: var(--vs-muted);
    letter-spacing: .02em;
}
.vs-result-count strong { color: var(--vs-deep); font-weight: 500; }

/* Sort select */
.vs-sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.vs-sort-label {
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--vs-muted);
    white-space: nowrap;
}
.vs-sort-select {
    padding: 6px 28px 6px 10px;
    border: 1px solid var(--vs-border);
    border-radius: 2px;
    font-size: 12px;
    font-family: var(--vs-ff-sans);
    color: var(--vs-deep);
    background: var(--vs-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23a39a90' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
    transition: border-color .2s;
}
.vs-sort-select:focus { border-color: var(--vs-rose); }
.vs-sort-select option { background: var(--vs-card); color: var(--vs-deep); }

/* View toggle (grid/list) */
.vs-view-toggle { display: flex; gap: 4px; }
.vs-view-btn {
    width: 32px; height: 32px;
    border: 1px solid var(--vs-border);
    border-radius: 2px;
    background: var(--vs-card);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}
.vs-view-btn svg { width: 14px; height: 14px; stroke: var(--vs-muted); fill: none; stroke-width: 1.5; }
.vs-view-btn.active,
.vs-view-btn:hover { background: var(--vs-primary); border-color: var(--vs-primary); }
.vs-view-btn.active svg,
.vs-view-btn:hover svg { stroke: var(--vs-ivory); }

/* ══════════════════════════════════════
   MAIN LAYOUT (sidebar + grid)
══════════════════════════════════════ */
.vs-main {
    max-width: 1360px;
    margin: 0 auto;
    padding: 32px 20px 64px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}

/* ══════════════════════════════════════
   SIDEBAR
══════════════════════════════════════ */
.vs-sidebar {
    position: sticky;
    top: 68px; /* toolbar height + gap */
}

.vs-sidebar-section {
    background: var(--vs-card);
    border: 1px solid var(--vs-card-border);
    border-radius: 3px;
    margin-bottom: 16px;
    /* NO overflow:hidden here — it clips price inputs and expanded sub-cats */
}
.vs-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--vs-border);
    cursor: pointer;
    user-select: none;
}
.vs-sidebar-title {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--vs-deep);
    font-weight: 500;
}
.vs-sidebar-icon {
    width: 16px; height: 16px;
    position: relative; flex-shrink: 0;
}
.vs-sidebar-icon::before,
.vs-sidebar-icon::after {
    content: '';
    position: absolute;
    background: var(--vs-muted);
    border-radius: 1px;
    transition: transform .3s, opacity .3s;
}
.vs-sidebar-icon::before { width: 10px; height: 1px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.vs-sidebar-icon::after  { width: 1px; height: 10px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.vs-sidebar-section.open .vs-sidebar-icon::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }

.vs-sidebar-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height .4s ease;
}
.vs-sidebar-section.open .vs-sidebar-body {
    max-height: 2000px;
    /* Do NOT use overflow:visible — it makes content escape the sidebar box.
       Price inputs fit fine inside the body; the visual "cut" was the border
       of the section, solved by removing overflow:hidden from the section. */
}

/* Category row — link + chevron side by side */
.vs-cat-row {
    display: flex;
    align-items: center;
}
.vs-cat-row .vs-cat-link {
    flex: 1;
    /* remove justify-content:space-between since chevron is now separate */
    justify-content: flex-start;
}

/* Chevron toggle button */
.vs-cat-toggle {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--vs-muted);
    transition: color .2s, background .2s;
    border-radius: 2px;
}
.vs-cat-toggle:hover { background: var(--vs-blush); color: var(--vs-deep); }
.vs-cat-toggle svg {
    width: 12px; height: 12px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    transition: transform .3s;
}
.vs-cat-toggle.open svg { transform: rotate(180deg); }

/* Category list */
.vs-cat-list { padding: 10px 0; }
.vs-cat-item { display: block; }
.vs-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 18px;
    font-size: 13px;
    color: var(--vs-muted);
    transition: color .2s, background .2s, padding-left .2s;
    cursor: pointer;
}
.vs-cat-link:hover { color: var(--vs-deep); background: var(--vs-blush); padding-left: 24px; }
.vs-cat-link.active { color: var(--vs-primary); font-weight: 500; background: rgba(201,162,39,.1); }
.vs-cat-count {
    font-size: 11px;
    color: var(--vs-muted);
    background: var(--vs-blush);
    padding: 1px 7px;
    border-radius: 20px;
}
.vs-cat-link.active .vs-cat-count { background: rgba(201,162,39,.18); color: var(--vs-primary); }

/* Sub-category */
.vs-subcat-list {
    display: none;
    border-top: 1px solid var(--vs-border);
    background: var(--vs-black);
}
.vs-subcat-list.open { display: block; }
.vs-subcat-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px 8px 30px;
    font-size: 12px;
    color: var(--vs-muted);
    transition: color .2s, padding-left .2s;
}
.vs-subcat-link::before {
    content: '';
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--vs-border);
    flex-shrink: 0;
    transition: background .2s;
}
.vs-subcat-link:hover { color: var(--vs-deep); padding-left: 34px; }
.vs-subcat-link:hover::before { background: var(--vs-rose); }
.vs-subcat-link.active { color: var(--vs-primary); font-weight: 500; }
.vs-subcat-link.active::before { background: var(--vs-primary); }

/* Price filter — stacked vertical layout, no overflow issues */
.vs-price-body { padding: 16px 18px 20px; }
.vs-price-inputs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
}
.vs-price-group { width: 100%; }
.vs-price-label {
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--vs-muted);
    margin-bottom: 5px;
}
.vs-price-field {
    display: flex;
    align-items: center;
    border: 1px solid var(--vs-border);
    border-radius: 2px;
    background: var(--vs-blush);
    width: 100%;
    transition: border-color .2s;
}
.vs-price-field:focus-within { border-color: var(--vs-rose); }
.vs-price-sym {
    padding: 0 10px;
    font-size: 12px;
    color: var(--vs-muted);
    background: rgba(255,255,255,.03);
    height: 38px;
    display: flex;
    align-items: center;
    border-right: 1px solid var(--vs-border);
    font-family: var(--vs-ff-sans);
    flex-shrink: 0;
}
.vs-price-input {
    flex: 1;
    padding: 0 10px;
    height: 38px;
    border: none;
    outline: none;
    font-size: 13px;
    font-family: var(--vs-ff-sans);
    color: var(--vs-deep);
    background: transparent;
    width: 100%;
    min-width: 0;
}
.vs-price-sep { display: none; }
.vs-price-btn {
    width: 100%;
    padding: 11px;
    background: var(--vs-primary);
    color: var(--vs-ivory);
    border: none;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--vs-ff-sans);
    border-radius: 2px;
    transition: background .2s;
}
.vs-price-btn:hover { background: var(--vs-accent); }

/* Active filters chips */
.vs-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 18px 14px;
    border-top: 1px solid var(--vs-border);
}
.vs-active-filters:empty { display: none; }
.vs-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: var(--vs-blush);
    border: 1px solid var(--vs-border);
    border-radius: 20px;
    font-size: 11px;
    color: var(--vs-deep);
    cursor: pointer;
    transition: background .2s, border-color .2s;
    font-family: var(--vs-ff-sans);
}
.vs-filter-chip:hover { background: rgba(201,162,39,.12); border-color: var(--vs-primary); color: var(--vs-primary); }
.vs-filter-chip svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ══════════════════════════════════════
   PRODUCT GRID
══════════════════════════════════════ */
.vs-grid-area {}

/* Empty state */
.vs-empty {
    text-align: center;
    padding: 80px 24px;
    background: var(--vs-card);
    border: 1px solid var(--vs-card-border);
    border-radius: 3px;
}
.vs-empty svg {
    width: 48px; height: 48px;
    stroke: var(--vs-muted);
    fill: none;
    stroke-width: 1.2;
    margin: 0 auto 16px;
    opacity: .5;
}
.vs-empty-title {
    font-family: var(--vs-ff-serif);
    font-size: 24px;
    font-weight: 300;
    color: var(--vs-deep);
    margin-bottom: 8px;
}
.vs-empty-desc { font-size: 13px; color: var(--vs-muted); }

/* Grid layout */
.vs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.vs-grid.vs-list { grid-template-columns: 1fr; gap: 12px; }

@media (max-width: 1200px) {
    .vs-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Product card ── */
.vs-card { position: relative; }

.vs-card-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: var(--vs-card);
    border: 1px solid var(--vs-card-border);
    aspect-ratio: 3 / 4;
    margin-bottom: 12px;
}
.vs-card-img-link {
    display: block;
    width: 100%; height: 100%;
}
.vs-card-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.vs-card:hover .vs-card-img-wrap img { transform: scale(1.05); }

/* Hover image */
.vs-card-img-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .4s;
    object-fit: cover;
    width: 100%; height: 100%;
}
.vs-card:hover .vs-card-img-hover { opacity: 1; }

/* Badge */
.vs-card-badges {
    position: absolute;
    top: 10px; left: 10px;
    display: flex; flex-direction: column; gap: 4px;
    z-index: 2;
}
.vs-badge {
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 2px;
    font-weight: 500;
}
.vs-badge-new  { background: var(--vs-primary); color: var(--vs-ivory); }
.vs-badge-sale { background: #a8222c; color: #fff; }

/* Wishlist */
.vs-card-wish {
    position: absolute;
    top: 10px; right: 10px;
    width: 32px; height: 32px;
    background: rgba(18,17,16,.85);
    border: none; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 2;
    opacity: 0; transform: translateY(-4px);
    transition: opacity .25s, transform .25s;
}
.vs-card-wish svg {
    width: 13px; height: 13px;
    stroke: var(--vs-deep); fill: none; stroke-width: 1.6;
    transition: stroke .2s, fill .2s;
}
.vs-card-wish.active svg { stroke: var(--vs-primary); fill: var(--vs-primary); }
.vs-card:hover .vs-card-wish { opacity: 1; transform: translateY(0); }

/* WhatsApp enquiry (catalog-only mode) */
.vs-card-enquire {
    position: absolute;
    top: 10px; right: 48px;
    width: 32px; height: 32px;
    background: rgba(18,17,16,.85);
    border: none; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 2;
    opacity: 0; transform: translateY(-4px);
    transition: opacity .25s, transform .25s;
    text-decoration: none;
}
.vs-card-enquire svg { width: 15px; height: 15px; color: #25D366; }
.vs-card:hover .vs-card-enquire { opacity: 1; transform: translateY(0); }

/* Card meta */
.vs-card-cat {
    font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
    color: var(--vs-muted); margin-bottom: 4px;
}
.vs-card-name {
    font-size: 13px; color: var(--vs-deep);
    margin-bottom: 6px; line-height: 1.35; font-weight: 400;
}
.vs-card-name a { color: inherit; }
.vs-card-name a:hover { color: var(--vs-primary); }
.vs-card-prices { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.vs-price-current { font-size: 14px; color: var(--vs-primary); font-weight: 700; }
.vs-price-old     { font-size: 11px; color: var(--vs-muted); text-decoration: line-through; }
.vs-price-from    { font-size: 10px; color: var(--vs-muted); text-transform: uppercase; letter-spacing: .06em; }
.vs-price-off {
    font-size: 10px; color: var(--vs-primary);
    background: rgba(201,162,39,.12); padding: 2px 6px; border-radius: 20px; font-weight: 500;
}

/* List view card */
.vs-list .vs-card {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 20px;
    background: var(--vs-card);
    border: 1px solid var(--vs-card-border);
    border-radius: 3px;
    padding: 16px;
    align-items: start;
}
.vs-list .vs-card-img-wrap {
    aspect-ratio: 3/4;
    margin-bottom: 0;
    border-radius: 4px;
}
.vs-list .vs-card-body { display: flex; flex-direction: column; gap: 8px; padding: 4px 0; }
.vs-list .vs-card-name { font-size: 15px; font-family: var(--vs-ff-serif); }
.vs-list .vs-card-desc {
    font-size: 13px; color: var(--vs-muted); line-height: 1.65;
    font-weight: 300; display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* List view "View Product" — compact inline link, not the full-width quick bar */
.vs-list-cta {
    display: none;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    padding: 9px 20px;
    background: var(--vs-primary);
    color: var(--vs-ivory);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 500;
    border-radius: 2px;
    text-decoration: none;
    font-family: var(--vs-ff-sans);
    transition: background .2s;
    width: fit-content;
}
.vs-list-cta:hover { background: var(--vs-accent); }
.vs-list .vs-list-cta { display: inline-flex; }

.vs-list .vs-card-wish  { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════
   PAGINATION
══════════════════════════════════════ */
.vs-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.vs-page-btn {
    min-width: 38px; height: 38px;
    padding: 0 6px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--vs-border);
    border-radius: 2px;
    background: var(--vs-card);
    font-size: 13px;
    color: var(--vs-muted);
    font-family: var(--vs-ff-sans);
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
}
.vs-page-btn:hover { border-color: var(--vs-primary); color: var(--vs-deep); }
.vs-page-btn.active {
    background: var(--vs-primary); border-color: var(--vs-primary);
    color: var(--vs-ivory); font-weight: 600;
}
.vs-page-btn.disabled { opacity: .35; pointer-events: none; }
.vs-page-btn svg {
    width: 16px; height: 16px; stroke: currentColor;
    fill: none; stroke-width: 2;
}
.vs-page-dots { color: var(--vs-muted); font-size: 13px; padding: 0 4px; }

/* ══════════════════════════════════════
   MOBILE FILTER DRAWER
══════════════════════════════════════ */
.vs-filter-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.65);
    z-index: 1100;
    opacity: 0; visibility: hidden;
    transition: opacity .3s, visibility .3s;
    backdrop-filter: blur(2px);
}
.vs-filter-overlay.open { opacity: 1; visibility: visible; }

.vs-filter-drawer {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 300px;
    background: var(--vs-ivory);
    z-index: 1200;
    transform: translateX(-100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    display: flex; flex-direction: column; overflow: hidden;
}
.vs-filter-drawer.open { transform: translateX(0); }

.vs-drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px;
    background: var(--vs-black);
    border-bottom: 1px solid var(--vs-border);
    flex-shrink: 0;
}
.vs-drawer-title {
    font-family: var(--vs-ff-serif);
    font-size: 20px; font-weight: 300; color: #fff; letter-spacing: .06em;
}
.vs-drawer-close {
    width: 30px; height: 30px;
    background: rgba(255,255,255,.12); border: none; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.vs-drawer-close:hover { background: rgba(255,255,255,.22); }
.vs-drawer-close svg {
    width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2;
}
.vs-drawer-body {
    flex: 1; overflow-y: auto; padding: 16px;
    -webkit-overflow-scrolling: touch;
}
.vs-drawer-body::-webkit-scrollbar { width: 3px; }
.vs-drawer-body::-webkit-scrollbar-thumb { background: var(--vs-border); border-radius: 2px; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
    .vs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .vs-main {
        grid-template-columns: 1fr;
        padding: 20px 16px 48px;
    }
    .vs-sidebar { display: none; position: static; } /* replaced by drawer */
    .vs-filter-btn { display: flex; }
    .vs-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .vs-toolbar-inner { padding: 0 16px; }
    .vs-sort-label { display: none; }
}

@media (max-width: 560px) {
    .vs-hero { padding: 24px 0 20px; }
    .vs-hero-inner { padding: 0 16px; }
    .vs-hero-title { font-size: 24px; }
    .vs-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .vs-main { padding: 16px 12px 48px; gap: 0; }
    .vs-result-count { font-size: 11px; }
    .vs-view-toggle { display: none; }

    /* Mobile card — app feel */
    .vs-card-img-wrap { border-radius: 8px; margin-bottom: 7px; }
    .vs-card-wish {
        opacity: 1 !important; transform: translateY(0) !important;
        width: 28px; height: 28px; top: 8px; right: 8px;
    }
    .vs-card-wish svg { width: 11px; height: 11px; }
    .vs-card-enquire {
        opacity: 1 !important; transform: translateY(0) !important;
        width: 28px; height: 28px; top: 8px; right: 44px;
    }
    .vs-card-enquire svg { width: 13px; height: 13px; }
    .vs-card-name { font-size: 12px; }
    .vs-price-current { font-size: 13px; font-weight: 600; }
    .vs-price-old { font-size: 10px; }

    /* Bottom padding for mobile nav bar */
    .vs-page { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
}
