/* IT Promax — shop catalog + product cards (.shop-*, .store-product-card) */

/* ── Categories ── */
.store-categories-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px}
.store-cat-card{display:block;border-radius:var(--radius);overflow:hidden;text-decoration:none;color:inherit;transition:.25s var(--ease);position:relative;aspect-ratio:4/3;cursor:pointer}
.store-cat-card:hover{transform:translateY(-5px);box-shadow:var(--sh-md)}
.store-cat-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}
.store-cat-card:hover .store-cat-img{transform:scale(1.07)}
.store-cat-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(3,70,110,.8) 0%,rgba(3,70,110,.15) 60%)}
.store-cat-body{position:absolute;bottom:0;left:0;right:0;padding:14px}
.store-cat-name{font-size:14px;font-weight:800;color:#fff;margin-bottom:2px}
.store-cat-count{font-size:11px;color:rgba(255,255,255,.7)}
/* Fallback when no image */
.store-cat-card.no-image{background:var(--blue-50);border:1px solid var(--line)}
.store-cat-card.no-image .store-cat-overlay{background:none}
.store-cat-card.no-image .store-cat-body{position:relative;padding:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%}
.store-cat-card.no-image .store-cat-icon{font-size:32px;color:var(--blue);margin-bottom:12px}
.store-cat-card.no-image .store-cat-name{color:var(--ink);text-align:center}
.store-cat-card.no-image .store-cat-count{color:var(--muted);text-align:center}
/* ── Product Grid ── */
.store-products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}
.store-products-grid-4{grid-template-columns:repeat(4,1fr)}
.store-product-card{background:#fff;border:3px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.25s var(--ease);position:relative;display:flex;flex-direction:column}
.store-product-card:hover{transform:translateY(-6px);box-shadow:var(--sh-md);border-color:var(--red)}
.product-badge{position:absolute;top:10px;left:10px;z-index:5;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;padding:4px 10px;border-radius:999px;color:#fff}
.product-badge-sale{background:var(--red)}
.product-badge-new{background:var(--green)}
.product-badge-hot{background:var(--yellow)}
.product-badge-featured{background:var(--blue)}
.product-badge-near{background:var(--blue)}
.product-wishlist-btn{position:absolute;top:10px;right:10px;z-index:5;width:32px;height:32px;background:rgba(255,255,255,.92);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:14px;border:1px solid var(--line);cursor:pointer;transition:.2s}
.product-wishlist-btn:hover,.product-wishlist-btn.active{color:var(--red);border-color:var(--red)}
.product-img-link{display:block;aspect-ratio:1/1;overflow:hidden;background:#fff}
.product-img-link img{width:100%;height:100%;object-fit:cover;object-position:center;padding:0;transition:transform .45s var(--ease)}
.store-product-card:hover .product-img-link img{transform:scale(1.05)}
.product-card-body{padding:12px 14px 14px;display:flex;flex-direction:column;flex:1;gap:4px}
.product-category{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:1px;color:var(--blue-600)}
.product-name a{font-size:14px;font-weight:800;color:var(--ink);text-decoration:none;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-name a:hover{color:var(--blue)}
.product-rating{display:flex;align-items:center;gap:3px;font-size:12px;color:var(--yellow)}
.product-rating span{color:var(--muted);font-size:11px;margin-left:4px}
.product-price-wrap{display:flex;align-items:center;gap:8px;margin-top:auto}
.product-price{font-size:17px;font-weight:800;color:var(--blue)}
.product-old-price{font-size:13px;color:var(--muted);text-decoration:line-through}
.product-discount{font-size:11px;font-weight:800;color:var(--red);background:rgba(238,0,0,.08);padding:2px 6px;border-radius:4px}
.product-out-of-stock{font-size:11px;font-weight:700;color:var(--muted);background:var(--soft);padding:4px 10px;border-radius:999px;text-align:center}
.btn-add-to-cart{width:100%;padding:10px;background:var(--blue);color:#fff;font-family:var(--font);font-size:13px;font-weight:700;border:none;border-radius:var(--r-sm);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;transition:.2s;margin-top:10px}
.btn-add-to-cart:hover:not(:disabled){background:var(--red);color:#fff;transform:translateY(-1px)}
.btn-add-to-cart:disabled{background:var(--line);color:var(--muted);cursor:not-allowed}
/* ── Shop Page ── */
.shop-page{padding-top:var(--nav-h);min-height:100vh;background:var(--soft)}
.shop-header{background:#fff;border-bottom:1px solid var(--line);padding:14px 0}
.shop-header-inner{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}
.shop-header-copy{min-width:0;flex:1}
.shop-header-tools{display:flex;align-items:center;gap:14px;flex-shrink:0;flex-wrap:wrap}
.shop-result-count{margin:0;font-size:12px;font-weight:700;color:var(--muted);white-space:nowrap}
.shop-title{font-size:20px;font-weight:800;color:var(--ink);letter-spacing:-.02em;margin:0;line-height:1.2}
.shop-subtitle{font-size:13px;color:var(--muted);margin:4px 0 0;line-height:1.4;max-width:42em}
.shop-quick-filters{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.shop-quick-chip{
  font-size:11px;font-weight:700;padding:5px 10px;border-radius:999px;
  border:1px solid var(--line);background:var(--soft);color:var(--ink);text-decoration:none;
  transition:border-color .15s,color .15s,background .15s;
}
.shop-quick-chip:hover{border-color:var(--blue);color:var(--blue);background:var(--blue-50)}
.shop-sort-wrap{display:flex;align-items:center;gap:8px}
.shop-sort-label{font-size:12px;font-weight:600;color:var(--muted)}
.shop-sort-select{padding:8px 12px;border:1.5px solid var(--line);border-radius:var(--r-sm);font-size:13px;font-family:var(--font);outline:none;background:#fff;cursor:pointer;transition:.15s}
.shop-sort-select:focus{border-color:var(--blue)}
.shop-layout{display:grid;grid-template-columns:240px 1fr;gap:20px;padding-top:18px;padding-bottom:56px;align-items:start}
/* Sidebar */
.shop-sidebar{}
.shop-filter-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;position:sticky;top:calc(var(--nav-h) + 16px)}
.filter-section{padding:16px 18px;border-bottom:1px solid var(--line)}
.filter-section:last-of-type{border-bottom:none}
.filter-title{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin-bottom:12px}
.filter-list{display:flex;flex-direction:column;gap:4px}
.filter-cat-link{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border-radius:var(--r-sm);font-size:13px;font-weight:600;color:var(--text);text-decoration:none;transition:.12s}
.filter-cat-link:hover,.filter-cat-link.active{background:var(--blue-50);color:var(--blue)}
.filter-cat-link.active{font-weight:800}
.filter-count-badge{font-size:11px;color:var(--muted);background:var(--soft);padding:2px 7px;border-radius:999px}
/* Price range */
.price-range-wrap{padding-top:4px}
.price-range-display{display:flex;justify-content:space-between;font-size:13px;font-weight:700;color:var(--blue);margin-bottom:12px}
.price-range-inputs{position:relative;height:24px;margin-bottom:12px}
/* legacy single-input class — only apply to raw range inputs, not the dual-handle wrapper */
input.price-slider{-webkit-appearance:none;width:100%;height:4px;background:var(--line);border-radius:2px;outline:none;cursor:pointer}
input.price-slider::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;border-radius:50%;background:var(--blue);cursor:pointer;border:2px solid #fff;box-shadow:0 2px 8px rgba(3,70,110,.3)}
.price-range-fields{display:flex;gap:8px;align-items:center;margin-top:8px}
.price-range-fields input{flex:1;padding:8px 10px;border:1.5px solid var(--line);border-radius:var(--r-sm);font-size:13px;font-family:var(--font);outline:none;text-align:center;transition:.15s}
.price-range-fields input:focus{border-color:var(--blue)}
.price-range-fields span{color:var(--muted);font-size:16px}
/* Checkbox filters */
.filter-checkbox-label{display:flex;align-items:center;gap:10px;padding:6px 10px;border-radius:var(--r-sm);cursor:pointer;transition:.12s}
.filter-checkbox-label:hover{background:var(--soft)}
.filter-checkbox{display:none}
.filter-checkbox-custom{width:16px;height:16px;border:1.5px solid var(--line);border-radius:4px;flex-shrink:0;transition:.15s;display:flex;align-items:center;justify-content:center}
.filter-checkbox:checked~.filter-checkbox-custom{background:var(--blue);border-color:var(--blue)}
.filter-checkbox:checked~.filter-checkbox-custom::after{content:'✓';color:#fff;font-size:10px;font-weight:800}
.filter-checkbox-text{font-size:13px;color:var(--text)}
.filter-clear-btn{display:flex;align-items:center;gap:8px;width:100%;padding:12px 18px;font-size:13px;font-weight:700;color:var(--red);border:none;background:none;cursor:pointer;transition:.15s}
.filter-clear-btn:hover{color:var(--red);background:rgba(238,0,0,.05)}
/* Products area */
.shop-main{}
.shop-products-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}
.shop-pagination{margin-top:32px;display:flex;justify-content:center}
.store-pager{display:flex;flex-direction:column;align-items:center;gap:14px;width:100%}
.store-pager-meta{font-size:13px;color:var(--muted);font-weight:600}
.store-pager-list{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;list-style:none;margin:0;padding:0}
.store-pager-btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:38px;height:38px;padding:0 12px;
  border:1.5px solid var(--line);border-radius:10px;
  background:#fff;color:var(--ink);font-size:14px;font-weight:700;
  text-decoration:none;transition:.15s;
}
a.store-pager-btn:hover{border-color:var(--blue);color:var(--blue);background:var(--blue-50)}
.store-pager-btn.is-active{background:var(--blue);border-color:var(--blue);color:#fff}
.store-pager-btn.is-disabled{opacity:.45;cursor:default;pointer-events:none}
/* Kill unstyled Tailwind pagination SVGs if any leftover views render */
.shop-pagination svg{width:18px!important;height:18px!important;display:inline-block}
.shop-empty{text-align:center;padding:80px 20px;background:#fff;border-radius:var(--radius);border:1px solid var(--line)}
.shop-empty i{font-size:52px;color:var(--line);display:block;margin-bottom:16px}
.shop-empty h3{font-size:20px;font-weight:800;color:var(--ink);margin-bottom:8px}
.shop-empty p{font-size:14px;color:var(--muted);margin-bottom:24px}
/* Mobile filter toggle */
.shop-filter-toggle{display:none;position:fixed;bottom:88px;right:20px;z-index:990;background:var(--blue);color:#fff;padding:12px 18px;border-radius:999px;font-size:13px;font-weight:700;box-shadow:var(--sh-md);border:none;cursor:pointer;gap:8px;align-items:center}
.product-category-pill{display:inline-block;background:var(--blue-50);color:var(--blue);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:1px;padding:5px 12px;border-radius:999px;margin-bottom:12px;text-decoration:none;transition:.15s}
.product-category-pill:hover{background:var(--blue);color:#fff}
.product-rating-row{display:flex;align-items:center;gap:10px;margin:2px 0 0;flex-wrap:wrap}
.product-rating-count{font-size:13px;color:var(--muted)}
.product-rating-link{font-size:13px;font-weight:700;color:var(--blue)}
.product-price-section{display:flex;align-items:baseline;gap:12px;margin:0;flex-wrap:wrap}
.product-price-main{font-size:32px;font-weight:800;color:var(--blue);letter-spacing:-.03em;line-height:1}
.product-price-old{font-size:16px;color:var(--muted);text-decoration:line-through}
.product-discount-tag{font-size:12px;font-weight:800;color:var(--red);background:rgba(238,0,0,.08);padding:4px 9px;border-radius:999px}
.product-wishlist-action{
  width:48px;height:48px;background:#fff;border:1.5px solid var(--line);border-radius:12px;
  display:inline-flex;align-items:center;justify-content:center;color:var(--muted);font-size:16px;
  cursor:pointer;transition:.2s;flex-shrink:0;padding:0;
}
.product-wishlist-action:hover,.product-wishlist-action.active{color:var(--red);border-color:var(--red);background:rgba(238,0,0,.05)}
.product-price-alert{font-size:13px;display:inline}
.product-price-alert > summary.product-tool{display:inline-flex}
.product-price-alert summary::-webkit-details-marker{display:none}
.product-price-alert[open]{display:block;width:100%;flex-basis:100%}
.product-price-alert[open] > summary.product-tool{margin-bottom:4px}
@media(max-width:1100px){
.shop-layout{grid-template-columns:220px 1fr}
}

@media(max-width:768px){
.shop-layout{grid-template-columns:1fr}
.shop-sidebar{display:none;position:fixed;inset:0;z-index:1000;overflow-y:auto;background:#fff}
.shop-sidebar.open{display:block}
.shop-filter-toggle{display:flex}
.product-img-link img{padding:0}
.product-card-body{padding:12px;gap:4px}
.product-name a{font-size:13px}
.product-price{font-size:15px}
.product-old-price{font-size:12px}
.btn-add-to-cart{padding:9px 8px;font-size:12px;gap:6px}
.product-discount{position:relative;z-index:1}
.store-product-card{min-width:0}
.product-price-wrap{flex-wrap:wrap;gap:6px}
}

@media(max-width:480px){
.product-img-link img{padding:0}
}

/* ── 2. Category cards: real photography ─────────────────────── */
.store-cat-card{display:block;position:relative;aspect-ratio:4/3;border-radius:var(--radius);overflow:hidden}
.store-cat-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .55s cubic-bezier(.4,0,.2,1)}
.store-cat-card:hover .store-cat-img{transform:scale(1.08)}
.store-cat-overlay{
  position:absolute;inset:0;
  background:linear-gradient(to top,rgba(1,30,48,.88) 0%,rgba(3,70,110,.28) 52%,rgba(3,70,110,.06) 100%);
  transition:opacity .3s;
}
.store-cat-card:hover .store-cat-overlay{opacity:.82}
.store-cat-body{position:absolute;left:0;right:0;bottom:0;padding:16px;z-index:2}
.store-cat-name{font-size:15px;font-weight:800;color:#fff;margin-bottom:2px}
.store-cat-count{font-size:11px;color:rgba(255,255,255,.72)}
.store-cat-card.no-image{background:linear-gradient(150deg,var(--blue-50),#fff);border:1px solid var(--line)}
.store-cat-card.no-image .store-cat-overlay{background:none}
.store-cat-card.no-image .store-cat-body{
  position:relative;height:100%;display:flex;flex-direction:column;
  align-items:center;justify-content:center;text-align:center;
}
.store-cat-card.no-image .store-cat-icon{font-size:30px;color:var(--blue);margin-bottom:10px}
.store-cat-card.no-image .store-cat-name{color:var(--ink)}
.store-cat-card.no-image .store-cat-count{color:var(--muted)}
/* ── 4. Product cards — quiet category, red accents ──────────── */
.product-category-quiet{
  font-size:11px;font-weight:600;color:var(--muted);letter-spacing:.2px;
  background:none;padding:0;text-transform:none;
}
.product-category-quiet-link{
  display:inline-block;font-size:12px;font-weight:600;color:var(--muted);
  text-decoration:none;margin-bottom:10px;border-bottom:1px solid transparent;transition:.15s;
}
.product-category-quiet-link:hover{color:var(--blue);border-bottom-color:var(--blue-100)}
.store-product-card{position:relative}
.store-product-card::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:3px;
  background:linear-gradient(90deg,var(--blue),var(--red));
  transform:scaleX(0);transform-origin:left;transition:transform .32s;
}
.store-product-card:hover::after{transform:scaleX(1)}
.product-badge-sale,.product-badge-hot{background:var(--red)}
.product-wishlist-btn.active{color:var(--red);border-color:var(--red);background:var(--red-50)}
.product-discount{color:#fff;background:var(--red)}
.product-price{color:var(--blue)}
.kicker{color:var(--red)}
/* ── 5. Shop filters — proper rhythm, no cramped margins ─────── */
.shop-layout{
  display:grid;grid-template-columns:232px minmax(0,1fr);
  gap:22px;padding:18px 0 64px;align-items:start;
}
.filter-panel{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  position:sticky;top:calc(var(--nav-h) + 14px);overflow:hidden;
}
.filter-panel-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 16px;border-bottom:1px solid var(--line);
  background:linear-gradient(180deg,var(--blue-50),#fff);
}
.filter-panel-head h2{font-size:14px;font-weight:800;color:var(--ink);margin:0}
.filter-reset{font-size:12px;font-weight:700;color:var(--red);text-decoration:none;transition:.15s}
.filter-reset:hover{text-decoration:underline}
.filter-reset-inline{margin-top:8px;display:inline-block}
.filter-block{padding:14px 16px;border-bottom:1px solid var(--line)}
.filter-block:last-of-type{border-bottom:none}
.filter-block-title{
  font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:1.1px;
  color:var(--muted);margin:0 0 10px;
}
.filter-options{display:flex;flex-direction:column;gap:1px}
.filter-options-scroll{max-height:180px;overflow-y:auto;padding-right:4px;margin-right:-4px}
.filter-options-scroll::-webkit-scrollbar{width:5px}
.filter-options-scroll::-webkit-scrollbar-thumb{background:var(--line);border-radius:3px}
.filter-cat{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:9px 11px;border-radius:var(--r-sm);
  font-size:13px;font-weight:600;color:var(--text);text-decoration:none;
  transition:background .15s,color .15s;
}
.filter-cat:hover{background:var(--soft);color:var(--blue)}
.filter-cat.is-active{background:var(--blue-50);color:var(--blue);font-weight:800}
.filter-cat em{
  font-style:normal;font-size:11px;color:var(--muted);
  background:var(--soft);padding:2px 8px;border-radius:999px;flex-shrink:0;
}
.filter-cat.is-active em{background:#fff;color:var(--blue)}
.filter-check{
  display:flex;align-items:center;gap:10px;
  padding:8px 11px;border-radius:var(--r-sm);cursor:pointer;transition:background .15s;
}
.filter-check:hover{background:var(--soft)}
.filter-check input{position:absolute;opacity:0;width:0;height:0}
.filter-check-box{
  width:17px;height:17px;flex-shrink:0;
  border:1.5px solid var(--line);border-radius:5px;background:#fff;
  display:flex;align-items:center;justify-content:center;transition:.16s;
}
.filter-check-box::after{
  content:"";width:5px;height:9px;margin-top:-2px;
  border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg) scale(0);
  transition:transform .16s;
}
.filter-check input:checked + .filter-check-box{background:var(--blue);border-color:var(--blue)}
.filter-check input:checked + .filter-check-box::after{transform:rotate(45deg) scale(1)}
.filter-check input:focus-visible + .filter-check-box{box-shadow:0 0 0 3px rgba(3,70,110,.18)}
.filter-check-text{font-size:13px;color:var(--text);line-height:1.35}
.filter-price-inputs{display:flex;align-items:center;gap:9px}
.filter-price-inputs input{
  width:100%;min-width:0;padding:9px 10px;text-align:center;
  border:1.5px solid var(--line);border-radius:var(--r-sm);
  font-size:13px;font-family:var(--font);outline:none;transition:.15s;
}
.filter-price-inputs input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(3,70,110,.1)}
.filter-price-inputs span{color:var(--muted);flex-shrink:0}
.filter-price-hint{font-size:11px;color:var(--muted);margin-top:9px;text-align:center}
.filter-advanced{border-top:1px solid var(--line);background:linear-gradient(180deg,var(--soft),#fff)}
.filter-advanced summary{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 20px;cursor:pointer;list-style:none;
  font-size:12px;font-weight:800;color:var(--blue);
  text-transform:uppercase;letter-spacing:.9px;
}
.filter-advanced summary::-webkit-details-marker{display:none}
.filter-advanced summary span{display:flex;align-items:center;gap:9px}
.filter-advanced summary i:last-child{transition:transform .25s;font-size:11px}
.filter-advanced[open] summary i:last-child{transform:rotate(180deg)}
.filter-advanced summary:hover{color:var(--red)}
.filter-block-nested{padding:14px 20px;border-bottom:1px dashed var(--line)}
.filter-block-nested:last-child{border-bottom:none}
.filter-hint{
  display:flex;gap:9px;align-items:flex-start;
  margin:0;padding:14px 20px;
  font-size:12px;color:var(--muted);line-height:1.55;
  background:var(--soft);border-top:1px solid var(--line);
  position:relative;z-index:1;
}
.filter-hint i{color:var(--blue);margin-top:2px;flex-shrink:0}
.shop-header-inner{padding:0}
.shop-sort-wrap{display:flex;align-items:center;gap:8px}
.shop-products-grid{grid-template-columns:repeat(auto-fill,minmax(196px,1fr));gap:16px}
@media (max-width:1100px){
.shop-layout{grid-template-columns:210px minmax(0,1fr);gap:18px}
}

@media (max-width:860px){
.shop-layout{grid-template-columns:1fr;padding-top:20px}
.shop-sidebar{
    display:none;position:fixed;inset:0;z-index:1000;
    background:#fff;overflow-y:auto;padding:16px;
  }
.shop-sidebar.is-open{display:block}
.filter-panel{position:static;border:none}
.shop-filter-toggle{display:flex}
.field-grid-2{grid-template-columns:1fr}
}

/* ── #8  Price range — dual-handle slider ────────────────────── */
.price-slider{
  position:relative;
  display:block;
  width:100%;
  height:auto;
  padding:2px 0 8px;
  background:transparent;
  border:none;
  outline:none;
}
.price-slider-readout{
  display:flex;justify-content:space-between;
  font-size:13.5px;font-weight:800;color:var(--blue);margin-bottom:12px;
  font-variant-numeric:tabular-nums;
}
.price-slider-track{
  position:relative;
  height:28px;
  margin:2px 0;
}
.price-slider-track::before{
  content:"";position:absolute;left:0;right:0;top:12px;height:4px;
  background:var(--line);border-radius:2px;z-index:0;
}
.price-slider-fill{
  position:absolute;top:12px;height:4px;border-radius:2px;z-index:1;
  background:var(--blue);
  left:0;width:100%;
  pointer-events:none;
}
.price-range-input{
  position:absolute;left:0;top:0;width:100%;height:28px;
  -webkit-appearance:none;appearance:none;
  background:transparent;pointer-events:none;margin:0;padding:0;
  border:none;outline:none;z-index:2;
}
.price-range-input:focus{outline:none}
.price-range-input::-webkit-slider-runnable-track{
  height:4px;background:transparent;border:none;border-radius:2px;
}
.price-range-input::-moz-range-track{
  height:4px;background:transparent;border:none;border-radius:2px;
}
.price-range-input::-moz-range-progress{background:transparent}
.price-range-input::-webkit-slider-thumb{
  -webkit-appearance:none;pointer-events:auto;
  width:18px;height:18px;border-radius:50%;
  background:#fff;border:3px solid var(--blue);cursor:grab;
  box-shadow:0 2px 8px rgba(3,70,110,.32);
  margin-top:-7px;
  transition:transform .14s,border-color .14s;
}
.price-range-input::-webkit-slider-thumb:hover{transform:scale(1.12);border-color:var(--blue-dark, var(--blue))}
.price-range-input::-webkit-slider-thumb:active{cursor:grabbing}
.price-range-input::-moz-range-thumb{
  pointer-events:auto;width:18px;height:18px;border-radius:50%;
  background:#fff;border:3px solid var(--blue);cursor:grab;
  box-shadow:0 2px 8px rgba(3,70,110,.32);
}
.price-range-input:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 4px rgba(3,70,110,.22)}
.filter-block:has(.price-slider){overflow:visible;padding-bottom:22px}
/* ── Luxury pass: depth, restraint, better type ──────────────── */
.store-product-card{
  border-radius:14px;
  box-shadow:0 1px 2px rgba(3,70,110,.04);
  transition:transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s;
}
.store-product-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(3,70,110,.12);border-color:var(--red)}
.product-img-link{display:block;overflow:hidden;aspect-ratio:1/1;background:#fff}
.product-img-link img{object-fit:cover!important;object-position:center;padding:0;box-sizing:border-box;transition:transform .5s cubic-bezier(.4,0,.2,1)}
.store-product-card:hover .product-img-link img{transform:scale(1.05)}
.product-name a{letter-spacing:-.15px;font-size:13px;line-height:1.35}
.product-price{font-size:16px;letter-spacing:-.3px}
.btn-add-to-cart{border-radius:10px;letter-spacing:.1px;padding:9px}
.shop-page{background:linear-gradient(180deg,#f7fafc 0%,#fff 320px)}
.filter-panel{border-radius:14px;box-shadow:0 1px 3px rgba(3,70,110,.05)}
/* Product card actions — single CTA */
.product-card-actions{display:contents}
.product-card-wa{display:none}
/* ════════════════════════════════════════════════════════
   Shop catalog — calmer layout, quieter cards
   ════════════════════════════════════════════════════════ */
.shop-page{
  padding-top:var(--nav-h);min-height:100vh;
  background:
    radial-gradient(900px 320px at 12% 0%,rgba(3,70,110,.06),transparent 55%),
    linear-gradient(180deg,#f4f8fb 0%,#fff 480px);
}
.shop-shell{padding-top:18px;padding-bottom:64px}
.shop-header{display:none}
/* old full-bleed header retired */
.shop-toolbar{margin:0 0 18px}
.shop-crumbs{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  font-size:12px;font-weight:600;color:var(--muted);margin:0 0 10px;
}
.shop-crumbs a{color:var(--blue);text-decoration:none}
.shop-crumbs a:hover{text-decoration:underline}
.shop-toolbar-row{
  display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;
}
.shop-toolbar-copy{min-width:0}
.shop-title{
  margin:0;font-size:clamp(22px,2.4vw,28px);font-weight:800;color:var(--ink);
  letter-spacing:-.03em;line-height:1.15;
}
.shop-result-count{margin:6px 0 0;font-size:13px;font-weight:600;color:var(--muted)}
.shop-near-banner{
  margin:8px 0 0;display:inline-flex;align-items:center;gap:7px;
  font-size:13px;font-weight:700;color:var(--blue);
}
.shop-near-banner i{color:var(--red);font-size:12px}
.shop-sort-wrap{display:flex;align-items:center;gap:8px}
.shop-sort-label{font-size:12px;font-weight:700;color:var(--muted)}
.shop-sort-select{
  min-width:170px;padding:9px 12px;border:1.5px solid var(--line);border-radius:10px;
  font-size:13px;font-family:var(--font);background:#fff;color:var(--ink);outline:none;
}
.shop-sort-select:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(3,70,110,.1)}
.shop-quick-filters{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.shop-quick-chip{
  font-size:12px;font-weight:700;padding:6px 12px;border-radius:999px;
  border:1px solid var(--line);background:#fff;color:var(--text);text-decoration:none;
  transition:.15s;
}
.shop-quick-chip:hover,.shop-quick-chip.is-active{
  border-color:var(--blue);color:var(--blue);background:var(--blue-50);
}
.shop-layout{
  display:grid;grid-template-columns:220px minmax(0,1fr);
  gap:22px;padding:0;align-items:start;
}
.filter-panel{
  background:#fff;border:1px solid var(--line);border-radius:14px;
  position:sticky;top:calc(var(--nav-h) + 12px);overflow:hidden;
  box-shadow:0 1px 2px rgba(3,70,110,.04);
}
.filter-panel-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 14px;border-bottom:1px solid var(--line);background:#fff;
}
.filter-panel-head h2{font-size:13px;font-weight:800;color:var(--ink);margin:0;letter-spacing:.02em}
.filter-block{padding:12px 14px;border-bottom:1px solid var(--line)}
.filter-block-title{margin:0 0 8px;font-size:10px;letter-spacing:.08em}
.filter-options-scroll{max-height:160px}
.filter-check{padding:6px 8px;gap:8px}
.filter-check-text{font-size:12.5px}
.shop-main{min-width:0}
.shop-active-filters{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 14px;
}
.shop-active-chip{
  display:inline-flex;align-items:center;gap:6px;
  padding:5px 10px;border-radius:999px;background:var(--blue-50);color:var(--blue);
  font-size:12px;font-weight:700;text-decoration:none;border:1px solid var(--blue-100);
}
.shop-active-chip:hover{background:var(--blue);color:#fff;border-color:var(--blue)}
.shop-active-clear{font-size:12px;font-weight:700;color:var(--red);text-decoration:none;margin-left:2px}
.shop-active-clear:hover{text-decoration:underline}
.shop-products-grid{
  grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
  gap:14px;
}
.store-product-card{
  background:#fff;border:3px solid var(--line);border-radius:14px;overflow:hidden;
  display:flex;flex-direction:column;position:relative;
  box-shadow:none;transform:none;
  transition:border-color .2s,box-shadow .2s,transform .2s;
}
.store-product-card:hover{
  border-color:var(--red);transform:translateY(-3px);
  box-shadow:0 10px 28px rgba(238,0,0,.16);
}
.store-product-card::after{display:none}
.product-img-link{
  display:block;aspect-ratio:1/1;background:#fff;overflow:hidden;
  border-bottom:1px solid var(--line);
}
.product-img-link img{
  width:100%;height:100%!important;max-width:none;max-height:none;
  object-fit:cover!important;object-position:center;
  padding:0;box-sizing:border-box;
  image-rendering:auto;-webkit-backface-visibility:hidden;backface-visibility:hidden;
  transition:transform .45s var(--ease);
}
.store-product-card:hover .product-img-link img{transform:scale(1.05)}
.product-wishlist-btn{
  width:30px;height:30px;top:8px;right:8px;
  background:rgba(255,255,255,.95);border-color:var(--line);
}
.product-card-body{
  padding:12px 12px 12px;display:flex;flex-direction:column;flex:1;gap:6px;
}
.product-category-quiet{font-size:10px;font-weight:700;color:var(--muted);letter-spacing:.04em;text-transform:uppercase}
.product-name{margin:0}
.product-name a{
  font-size:13px;font-weight:700;color:var(--ink);line-height:1.35;letter-spacing:-.01em;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  min-height:2.7em;
}
.product-name a:hover{color:var(--blue)}
.product-card-meta{
  margin-top:auto;display:flex;align-items:flex-end;justify-content:space-between;gap:8px;
}
.product-price-wrap{margin-top:0;gap:6px}
.product-price{font-size:16px;font-weight:800;color:var(--blue);letter-spacing:-.02em}
.btn-add-to-cart{
  margin-top:8px;width:100%;padding:9px 10px;border-radius:10px;
  background:var(--blue);color:#fff;border:1.5px solid var(--blue);
  font-size:12.5px;font-weight:800;box-shadow:none;transform:none;
}
.btn-add-to-cart:hover:not(:disabled){
  background:var(--red);color:#fff;border-color:var(--red);transform:none;
}
.store-product-card:hover .btn-add-to-cart:not(:disabled){
  background:var(--red);color:#fff;border-color:var(--red);
}
.btn-add-to-cart:disabled{
  background:var(--soft);color:var(--muted);border-color:var(--line);cursor:not-allowed;
}
.product-card-actions,.product-card-wa{display:none}
@media (max-width:1100px){
.shop-layout{grid-template-columns:200px minmax(0,1fr);gap:16px}
.shop-products-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}
}

@media (max-width:768px){
.shop-shell{padding-top:14px;padding-bottom:88px}
.shop-layout{grid-template-columns:1fr;gap:0;padding:0}
.shop-title{font-size:22px}
.shop-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.product-img-link img{padding:0}
.store-product-card:hover .product-img-link img{transform:scale(1.05)}
.product-name a{font-size:12px;min-height:2.6em}
.product-price{font-size:14px}
.btn-add-to-cart{font-size:12px;padding:8px}
}
