/* Catalog controls and saved selections use the existing Vesta Store tokens. */
.vs-shell .vs-topbar { display:grid; grid-template-columns:minmax(220px,1fr) minmax(260px,560px) minmax(220px,1fr); gap:24px; }
.vs-topbar__actions { margin-left:0; justify-self:end; }
.vs-shell .vs-currency { display:inline-flex; align-items:center; min-height:44px; color:var(--paper-muted); font-size:14px; white-space:nowrap; }
.vs-topbar .vs-store-search { width:100%; max-width:560px; justify-self:center; padding-right:4px; }
.vs-store-search input { min-width:0; }
.vs-shell .vs-store-search button { display:grid; place-items:center; min-width:44px; min-height:44px; color:var(--paper-muted); border-radius:6px; }
.vs-favorites-link,.vs-account-link { display:inline-flex; align-items:center; gap:8px; min-height:44px; font-size:14px; font-weight:550; }
.vs-card__visual { position:relative; }
.vs-shell :is(.vs-favorite-button,.vs-card__cart-button) { display:inline-grid; place-items:center; width:44px; height:44px; flex-shrink:0; border:1px solid var(--vs-line); border-radius:50%; background:var(--vs-surface); color:var(--paper-ink); }
.vs-shell .vs-card__visual>.vs-favorite-button { position:absolute; right:12px; top:12px; }
.vs-shell .vs-card__visual>.vs-card__cart-button { position:absolute; right:12px; bottom:12px; }
.vs-shell .vs-card__cart-button:hover:not(:disabled) { color:var(--vs-accent); border-color:var(--vs-accent); background:var(--vs-soft); }
.vs-shell .vs-favorite-button[aria-pressed=true] { color:var(--vs-accent); border-color:var(--vs-accent); }
.vs-shell .vs-favorite-button[aria-pressed=true] svg { fill:#155cad20; }
@media(hover:hover) and (pointer:fine) {
  .vs-shell .vs-card__visual>:is(.vs-favorite-button,.vs-card__cart-button) { opacity:0; pointer-events:none; }
  .vs-shell .vs-card:is(:hover,:focus-within) .vs-card__visual>:is(.vs-favorite-button,.vs-card__cart-button) { opacity:1; pointer-events:auto; }
  .vs-shell .vs-card:is(:hover,:focus-within) .vs-card__visual>:is(.vs-favorite-button,.vs-card__cart-button):disabled { opacity:.5; }
}
.vs-product__favorite { display:flex; align-items:center; gap:12px; margin-top:22px; color:var(--paper-muted); font-size:14px; }
.vs-shell .vs-enhanced-filters { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:end; gap:16px; }
.vs-enhanced-filters .vs-filter-select,.vs-enhanced-filters .vs-sort { display:flex; flex-direction:column; align-items:stretch; min-width:0; gap:6px; color:var(--paper-muted); font-size:13px; }
.vs-enhanced-filters select { min-height:50px; width:100%; max-width:none; padding:10px 12px; color:var(--paper-ink); border:1px solid var(--vs-line); border-radius:8px; background:var(--vs-surface); font-size:14px; }
.vs-price-range { margin:20px 0; }
.vs-price-range fieldset { display:flex; align-items:flex-end; gap:12px; min-width:0; margin:0; padding:0; border:0; }
.vs-price-range legend { margin-bottom:8px; color:var(--paper-muted); font-size:13px; }
.vs-price-range label { display:grid; gap:5px; width:min(180px,100%); min-width:0; font-size:13px; color:var(--paper-muted); }
.vs-price-range input { min-height:44px; min-width:0; width:100%; padding:10px 12px; border:1px solid var(--vs-line); border-radius:7px; background:var(--vs-surface); color:var(--paper-ink); font-size:15px; }
.vs-price-range button { min-height:44px; padding:10px 17px; border:1px solid var(--paper-muted); border-radius:7px; color:var(--paper-ink); font-size:14px; background:var(--vs-surface); }
.vs-price-range button:hover { border-color:var(--vs-accent); color:var(--vs-accent); }
.vs-active-filters { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:8px 0 16px; }
.vs-active-filters button { display:inline-flex; align-items:center; gap:14px; min-height:44px; max-width:100%; padding:9px 14px; border:1px solid var(--vs-line); border-radius:999px; color:var(--paper-ink); background:var(--vs-soft); font-size:13px; overflow-wrap:anywhere; text-align:left; }
.vs-active-filters button>span { flex-shrink:0; font-size:20px; line-height:1; }
.vs-active-filters .vs-clear-filters { border-color:transparent; background:transparent; color:var(--vs-accent); text-decoration:underline; text-underline-offset:4px; }
.vs-feedback { margin:0 0 20px!important; padding:14px 18px; color:var(--paper-ink); background:var(--vs-soft); border-left:3px solid var(--vs-accent); border-radius:4px; font-size:14px; line-height:1.6; }
.vs-wishlist-heading .vs-eyebrow { margin-bottom:12px; }
.vs-wishlist-count { margin:12px 0 24px!important; color:var(--paper-muted); font-size:14px; }
.vs-wishlist-missing { margin-top:40px; padding-block:25px; border-top:1px solid var(--vs-line); }
.vs-wishlist-missing h2 { font-size:24px; }
.vs-wishlist-missing p { color:var(--paper-muted); margin-top:12px!important; line-height:1.6; }
.vs-wishlist-missing ul { padding:0; margin:15px 0; list-style:none; }
.vs-wishlist-missing li { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 20px; padding:12px 0; border-bottom:1px solid var(--vs-line); font-size:14px; }
.vs-wishlist-missing button { min-height:44px; color:var(--vs-accent); text-decoration:underline; text-underline-offset:4px; }
.vs-catalog { display:grid; grid-template-columns:280px minmax(0,1fr); gap:32px; align-items:start; }
.vs-filter-panel { --vs-filter-admin:0px; grid-column:1; grid-row:1; position:sticky; top:max(calc(var(--vs-filter-admin) + 16px),calc((100dvh - var(--vs-filter-height,680px) + var(--vs-filter-admin)) / 2)); max-height:calc(100vh - var(--vs-filter-admin) - 32px); max-height:calc(100dvh - var(--vs-filter-admin) - 32px); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; padding:24px; border:1px solid var(--vs-line); border-radius:12px; background:var(--vs-surface); min-width:0; }
.admin-bar .vs-filter-panel { --vs-filter-admin:32px; }
.vs-filter-panel h2 { margin:0 0 22px; font-size:22px; line-height:1.25; font-weight:600; }
.vs-shell .vs-filter-panel .vs-enhanced-filters { grid-template-columns:minmax(0,1fr); gap:18px; }
.vs-filter-panel .vs-price-range { margin:24px 0 0; padding-top:22px; border-top:1px solid var(--vs-line); }
.vs-filter-panel .vs-price-range fieldset { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.vs-filter-panel .vs-price-range label { width:100%; }
.vs-filter-panel .vs-price-range button { grid-column:1/-1; width:100%; }
.vs-catalog-products { grid-column:2; grid-row:1; min-width:0; }
.vs-catalog-products .vs-active-filters { margin-top:0; }
.vs-catalog-products .vs-results { margin-top:0; }
@media(max-width:1200px) {
  .vs-catalog-products>.vs-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:900px) {
  .vs-catalog { grid-template-columns:minmax(0,1fr); gap:24px; }
  .vs-filter-panel,.vs-catalog-products { grid-column:1; grid-row:auto; }
  .vs-filter-panel { position:static; max-height:none; overflow:visible; }
  .vs-shell .vs-filter-panel .vs-enhanced-filters { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
}
@media(max-width:620px) {
  .vs-filter-panel { padding:20px; }
  .vs-shell .vs-filter-panel .vs-enhanced-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .vs-catalog-products>.vs-grid { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:1000px) {
  .vs-shell .vs-enhanced-filters { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .vs-topbar__actions { gap:14px; }
}
@media(max-width:900px) {
  .vs-shell .vs-topbar { grid-template-columns:minmax(0,1fr) auto; gap:12px 20px; }
  .vs-topbar .vs-wordmark { grid-column:1; grid-row:1; }
  .vs-topbar__actions { grid-column:2; grid-row:1; }
  .vs-topbar .vs-store-search { grid-column:1/-1; grid-row:2; }
}
@media(max-width:620px) {
  .vs-topbar__actions { width:auto; margin-left:0; gap:8px; }
  .vs-shell .vs-currency { font-size:13px; }
  .vs-nav-label { display:none; }
  .vs-favorites-link,.vs-account-link { min-width:44px; justify-content:center; gap:6px; }
  .vs-shell .vs-enhanced-filters { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .vs-enhanced-filters .vs-sort { grid-column:1/-1; }
  .vs-enhanced-filters select { min-height:46px; font-size:14px; }
  .vs-price-range { margin:18px 0; }
  .vs-price-range fieldset { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .vs-price-range label { width:100%; }
  .vs-price-range button { grid-column:1/-1; }
  .vs-wishlist-heading>.vs-text-link { margin-top:6px; }
  .vs-empty-real { gap:20px; }
}

.vs-filter-panel .vs-price-range fieldset { grid-template-columns:minmax(0,1fr); }
@media(max-width:900px) {
  .vs-filter-panel .vs-price-range fieldset { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

.vs-catalog-currency { display:flex; justify-content:flex-end; margin:0 0 12px; color:var(--paper-muted); font-size:14px; }
.vs-catalog-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:24px; padding-top:18px; border-top:1px solid var(--vs-line); }
.vs-shell .vs-results { display:flex; flex:1 1 auto; align-items:center; flex-wrap:wrap; gap:10px 20px; margin:0; }
.vs-shell .vs-results>p { margin:0; }
.vs-shell .vs-page-size { display:inline-flex; align-items:center; gap:10px; color:var(--paper-muted); font-size:14px; }
.vs-shell .vs-page-size select { min-height:44px; min-width:72px; padding:8px 30px 8px 12px; border:1px solid var(--vs-line); border-radius:7px; background:var(--vs-surface); color:var(--paper-ink); color-scheme:light; }
.vs-shell .vs-pagination { display:flex; flex:0 0 auto; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:12px; margin:0; color:var(--paper-muted); font-size:14px; }
.vs-shell .vs-pagination>span { font-variant-numeric:tabular-nums; }
.vs-shell .vs-pagination .vs-pagination__step { display:inline-flex; align-items:center; justify-content:center; min-width:100px; min-height:44px; padding:8px 14px; border:1px solid var(--vs-line); border-radius:7px; background:var(--vs-surface); color:var(--paper-ink); font-size:14px; transition:color .15s,border-color .15s,background-color .15s; }
.vs-shell .vs-pagination .vs-pagination__step:hover:not(:disabled) { border-color:var(--vs-accent); color:var(--vs-accent); background:var(--vs-soft); }
.vs-shell .vs-pagination .vs-pagination__step:disabled { cursor:not-allowed; opacity:.55; }
@media(max-width:620px) {
  .vs-catalog-footer { align-items:flex-start; flex-direction:column; gap:12px; margin-top:20px; padding-top:16px; }
  .vs-shell .vs-results { justify-content:flex-start; gap:8px 14px; }
  .vs-shell .vs-page-size { gap:7px; font-size:13px; }
  .vs-shell .vs-page-size select { min-width:64px; padding:6px 24px 6px 8px; }
  .vs-shell .vs-pagination { align-self:stretch; justify-content:flex-end; gap:8px; }
  .vs-shell .vs-pagination .vs-pagination__step { min-width:82px; padding-inline:10px; font-size:13px; }
}

