/* ════════════════════════════════════════════════
   WATEEN PERFUMES — SHOP ALL PAGE
   ════════════════════════════════════════════════ */

body.shop-page{ background:#fff; }

/* nav: reuses the same plain, full-width white bar as category/product */
body.shop-page .announce{ display:none; }
body.shop-page .nav{ position:fixed; top:0; }
body.shop-page .nav__bar{
  max-width:none;
  padding:0 30px;
  background:#fff;
  border-bottom:1px solid rgba(58,50,42,.08);
  box-shadow:0 2px 16px -8px rgba(94,68,40,.14);
}
body.shop-page .nav .nav__cap{
  height:72px;
  margin:0;
  padding:0;
  background:none;
  border:0;
  border-radius:0;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  box-shadow:none;
}
body.shop-page .nav .nav__cap--left{ padding-right:70px; }
body.shop-page .nav .nav__cap--right{ padding-left:70px; }
body.shop-page .nav .nav__medallion{
  width:auto; height:auto;
  background:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  border:0;
  box-shadow:none;
}
body.shop-page .nav .nav__medallionRing{ display:none; }
body.shop-page .nav .nav__medallion img{ width:72px; height:auto; }
body.shop-page .nav.is-hidden{ transform:none; }

body.shop-page .nav__mob{ background:#fff; border-bottom:1px solid rgba(58,50,42,.08); }
body.shop-page .nav__mobTop{ min-height:76px; }
body.shop-page .nav .nav__mobLogo img{ height:68px; }
body.shop-page .nav .nav__burger,
body.shop-page .nav .nav__pill--mob{
  margin-top:0;   /* the home page drops these to sit under its big logo */
  margin-bottom:0;
  background:none;
  border:0;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  box-shadow:none;
}

body.shop-page .crumb{ padding-top:88px; }
@media (max-width:1180px){
  body.shop-page .crumb{ padding-top:92px; }
}

/* ---- breadcrumb + back (shared markup/classes with category.css) ---- */
.crumb{ padding:22px 0 0; }
.crumb__inner{
  display:flex; align-items:center; gap:8px;
  font-size:11px; letter-spacing:.06em;
  color:var(--ink-soft);
}
.crumb__inner a{ transition:color .2s var(--ease); }
.crumb__inner a:hover{ color:var(--gold-deep); }
.crumb__inner span{ color:rgba(58,50,42,.4); }
.crumb__inner b{ font-weight:500; color:var(--ink); }

.backBtn{
  display:inline-flex; align-items:center; gap:8px;
  margin-bottom:14px;
  font-size:11px; letter-spacing:.1em; font-weight:500;
  color:var(--ink-soft);
  transition:color .18s var(--ease), gap .18s var(--ease);
}
.backBtn svg{ width:15px; height:15px; transition:transform .18s var(--ease); }
.backBtn:hover{ color:var(--gold-deep); gap:11px; }
.backBtn:hover svg{ transform:translateX(-3px); }


/* ════════════════════════════════════════════════
   1 · PAGE HEAD — title left, blurb right
   ════════════════════════════════════════════════ */

.shopHead{
  padding:18px 0 34px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:40px;
  flex-wrap:wrap;
  border-bottom:1px solid rgba(58,50,42,.1);
}
.shopHead__title{
  margin:0;
  font-family:var(--f-display);
  font-weight:600;
  font-size:clamp(2.2rem,4.4vw,3.2rem);
  letter-spacing:.01em;
  color:var(--ink);
}
.shopHead__sub{
  margin:8px 0 0;
  font-size:10.5px;
  letter-spacing:.24em;
  font-weight:400;
  color:var(--ink-soft);
}
.shopHead__note{
  margin:0;
  max-width:34ch;
  font-size:12.5px;
  line-height:1.7;
  font-weight:300;
  color:var(--ink-soft);
  text-align:right;
}


/* ════════════════════════════════════════════════
   2 · LAYOUT — sidebar + results
   ════════════════════════════════════════════════ */

.shopBody{
  padding:34px 0 100px;
  display:grid;
  grid-template-columns:240px 1fr;
  gap:48px;
  align-items:start;
}


/* ---- sidebar ---- */
.shopFilters{
  position:sticky;
  top:96px;
}
.shopFilters__group{
  border-bottom:1px solid rgba(58,50,42,.1);
  padding:20px 0;
}
.shopFilters__group:first-child{ padding-top:0; }
.shopFilters__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  margin:0 0 14px;
  font-size:10.5px;
  letter-spacing:.2em;
  font-weight:600;
  color:var(--ink);
}
.shopFilters__head svg{
  width:11px; height:11px;
  color:var(--ink-soft);
  transition:transform .22s var(--ease);
}
.shopFilters__group.is-collapsed .shopFilters__head svg{ transform:rotate(-90deg); }
.shopFilters__group.is-collapsed .shopFilters__body{ display:none; }

.shopFilters__body{ display:flex; flex-direction:column; gap:11px; }

.shopChk{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  color:var(--ink-soft);
  cursor:pointer;
  transition:color .16s var(--ease);
}
.shopChk:hover{ color:var(--ink); }
.shopChk input{
  width:14px; height:14px;
  accent-color:var(--ink);
  cursor:pointer;
}
.shopChk span{ flex:1 1 auto; }
.shopChk i{ font-style:normal; color:rgba(58,50,42,.45); }

.shopPrice__range{
  -webkit-appearance:none;
  appearance:none;
  width:100%;
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--ink) 0%,var(--ink) var(--fill,100%),rgba(58,50,42,.16) var(--fill,100%));
  outline:0;
}
.shopPrice__range::-webkit-slider-thumb{
  -webkit-appearance:none;
  width:15px; height:15px;
  border-radius:50%;
  background:var(--ink);
  border:2px solid #fff;
  box-shadow:0 0 0 1px rgba(58,50,42,.3);
  cursor:pointer;
}
.shopPrice__range::-moz-range-thumb{
  width:15px; height:15px;
  border-radius:50%;
  background:var(--ink);
  border:2px solid #fff;
  box-shadow:0 0 0 1px rgba(58,50,42,.3);
  cursor:pointer;
}
.shopPrice__labels{
  display:flex; justify-content:space-between;
  margin-top:10px;
  font-size:10.5px;
  letter-spacing:.04em;
  color:var(--ink-soft);
}
.shopPrice__labels b{ color:var(--ink); font-weight:600; }

.shopFilters__clear{
  margin-top:6px;
  font-size:10.5px;
  letter-spacing:.1em;
  color:var(--gold-deep);
  text-decoration:underline;
  text-underline-offset:3px;
}


/* ---- results column ---- */
.shopResults__bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:26px;
}
.shopResults__count{
  font-size:12px;
  letter-spacing:.06em;
  font-weight:500;
  color:var(--ink);
}
.shopResults__right{
  display:flex; align-items:center; gap:12px;
}

/* ---- in-page search: filters this page's own grid only (its category or
   brand), separate from the global search modal which searches everything ---- */
.shopSearch{
  position:relative;
  flex:1 1 220px;
  max-width:280px;
}
.shopSearch svg{
  position:absolute; left:13px; top:50%; transform:translateY(-50%);
  width:14px; height:14px; color:var(--ink-soft); opacity:.6;
  pointer-events:none;
}
.shopSearch input{
  width:100%;
  padding:9px 34px 9px 34px;
  border:1px solid rgba(58,50,42,.18);
  border-radius:20px;
  background:#fff;
  font-size:12px;
  color:var(--ink);
  transition:border-color .16s var(--ease);
}
.shopSearch input::placeholder{ color:rgba(58,50,42,.45); }
.shopSearch input:focus{ outline:none; border-color:var(--gold); }
.shopSearch__clear{
  position:absolute; right:8px; top:50%; transform:translateY(-50%);
  width:20px; height:20px;
  display:none;
  align-items:center; justify-content:center;
  border-radius:50%;
  background:rgba(58,50,42,.1);
  color:var(--ink-soft);
}
.shopSearch__clear svg{ position:static; width:9px; height:9px; opacity:1; }
.shopSearch.has-value .shopSearch__clear{ display:flex; }
@media (max-width:640px){
  .shopSearch{ flex:1 1 100%; max-width:none; order:3; }
}
.shopSort{
  display:inline-flex; align-items:center; gap:10px;
  padding:9px 16px;
  font-size:10.5px;
  letter-spacing:.08em;
  color:var(--ink-soft);
  border:1px solid rgba(58,50,42,.2);
  border-radius:999px;
  background:#fff;
  cursor:pointer;
}
.shopSort svg{ width:11px; height:11px; }
.shopViewToggle{
  display:flex;
  border:1px solid rgba(58,50,42,.2);
  border-radius:8px;
  overflow:hidden;
}
.shopViewToggle button{
  width:36px; height:36px;
  display:grid; place-items:center;
  color:var(--ink-soft);
  background:#fff;
  transition:background .16s var(--ease), color .16s var(--ease);
}
.shopViewToggle button svg{ width:15px; height:15px; }
.shopViewToggle button.is-active{ background:var(--ink); color:#fff; }
.shopViewToggle button:not(:last-child){ border-right:1px solid rgba(58,50,42,.2); }

/* active filter chips */
.shopChips{
  display:flex; flex-wrap:wrap; gap:8px;
  margin-bottom:22px;
}
.shopChips:empty{ display:none; margin:0; }
.shopChip{
  display:inline-flex; align-items:center; gap:7px;
  padding:6px 8px 6px 12px;
  border-radius:999px;
  background:rgba(185,139,82,.1);
  font-size:10.5px;
  letter-spacing:.04em;
  color:var(--ink);
}
.shopChip button{
  width:16px; height:16px;
  display:grid; place-items:center;
  border-radius:50%;
  background:rgba(58,50,42,.14);
  color:var(--ink);
}
.shopChip button svg{ width:7px; height:7px; }

/* the grid itself reuses .grid--products / .card / .card__wish from
   hero.css and category.css's white-card treatment */
.shopGrid{
  grid-template-columns:repeat(3,1fr);
  gap:38px 28px;
}
/* undo the homepage best-sellers' 3-up "centre the last short row"
   rule — shop.html is a plain, even 4-up grid at any item count */
.shopGrid .card:nth-child(7),
.shopGrid .card:nth-child(8){
  grid-column:auto;
  justify-self:stretch;
}
.shopGrid .card{
  position:relative;
  align-items:stretch;
  text-align:left;
  padding:0 0 20px;
}
.shopGrid .card__media{
  position:relative;
  /* square box that keeps its size: without this the flex column can squeeze
     it and the photo then overflows onto the name and price */
  flex:0 0 auto;
  height:auto;
  aspect-ratio:1/1;
  margin-bottom:16px;
}
.shopGrid .card__media img{ position:absolute; inset:0; width:100%; height:100%; max-width:none; max-height:none; padding:8%; object-fit:contain; }
.shopGrid .card__wish{
  position:absolute;
  top:14px; right:14px;
  z-index:2;
  width:34px; height:34px;
  display:grid; place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.85);
  color:var(--ink-soft);
  box-shadow:0 6px 16px -10px rgba(94,68,40,.5);
  transition:color .2s var(--ease), transform .2s var(--ease);
}
.shopGrid .card__wish svg{ width:15px; height:15px; }
.shopGrid .card__wish:hover{ color:#c0392b; transform:scale(1.08); }
.shopGrid .card__wish.is-on{ color:#c0392b; }
.shopGrid .card__wish.is-on svg{ fill:#c0392b; }

.shopGrid .card__brand{ text-align:left; margin-bottom:2px; }
.shopGrid .card__name{ text-align:left; font-size:16px; margin-bottom:2px; }
.shopGrid .card__type{ text-align:left; margin-bottom:6px; }
.shopGrid .card__rating{
  display:flex; align-items:center; gap:6px;
  margin-bottom:8px;
  font-size:11px; letter-spacing:.02em;
  color:var(--gold);
}
.shopGrid .card__rating i{ color:var(--ink-soft); font-style:normal; }
.shopGrid .card__price{ text-align:left; margin:0 0 12px; font-size:13.5px; }
.shopGrid .card__buy{ width:100%; }
.shopGrid .add{ width:100%; justify-content:center; }

/* list view */
.shopGrid.is-list{ grid-template-columns:1fr; gap:16px; }
.shopGrid.is-list .card{
  display:grid;
  grid-template-columns:140px 1fr auto;
  gap:22px;
  align-items:center;
  padding:14px;
  border:1px solid rgba(58,50,42,.08);
  border-radius:6px;
}
.shopGrid.is-list .card__media{ width:140px; height:140px; margin:0; aspect-ratio:auto; }
.shopGrid.is-list .card__buy{ width:auto; }
.shopGrid.is-list .card__price{ margin-bottom:0; }
.shopGrid.is-list .card__wish{ position:static; box-shadow:none; background:transparent; }

.shopEmpty{
  padding:70px 20px;
  text-align:center;
  color:var(--ink-soft);
}
.shopEmpty h3{
  margin:0 0 10px;
  font-family:var(--f-display);
  font-size:1.4rem;
  color:var(--ink);
}
.shopEmpty p{ margin:0; font-size:12.5px; }

/* ---- pagination ---- */
.shopPager{
  display:flex; align-items:center; justify-content:center;
  gap:8px;
  margin-top:50px;
}
.shopPager button{
  min-width:36px; height:36px;
  padding:0 8px;
  display:grid; place-items:center;
  border-radius:50%;
  font-size:11px;
  font-weight:500;
  color:var(--ink-soft);
  border:1px solid transparent;
  transition:background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.shopPager button svg{ width:12px; height:12px; }
.shopPager button:hover{ border-color:rgba(58,50,42,.2); color:var(--ink); }
.shopPager button.is-active{ background:var(--ink); color:#fff; }
.shopPager button[disabled]{ opacity:.35; pointer-events:none; }
.shopPager span{ color:var(--ink-soft); font-size:11px; padding:0 2px; }


/* ════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════ */

@media (max-width:1180px){
  .shopBody{ grid-template-columns:210px 1fr; gap:32px; }
}

@media (max-width:900px){
  .crumb{ padding-top:16px; }
  .crumb__inner{ font-size:9.5px; }

  .shopHead{ padding:14px 0 22px; flex-direction:column; align-items:flex-start; gap:10px; }
  .shopHead__note{ text-align:left; max-width:none; font-size:11.5px; }

  .shopBody{
    grid-template-columns:1fr;
    gap:0;
    padding:20px 0 64px;
  }

  /* filters collapse into a full-width accordion block above the grid */
  .shopFilters{
    position:static;
    margin-bottom:22px;
    padding-bottom:6px;
    border-bottom:1px solid rgba(58,50,42,.12);
  }
  .shopFiltersToggle{
    display:flex; align-items:center; justify-content:space-between;
    width:100%;
    padding:12px 2px;
    font-size:11px;
    letter-spacing:.14em;
    font-weight:600;
    color:var(--ink);
  }
  .shopFiltersToggle svg{ width:13px; height:13px; transition:transform .2s var(--ease); }
  .shopFilters.is-open .shopFiltersToggle svg{ transform:rotate(180deg); }
  .shopFilters__panel{ display:none; }
  .shopFilters.is-open .shopFilters__panel{ display:block; }

  .shopResults__bar{ margin-bottom:16px; }
  .shopResults__count{ font-size:11px; }
  .shopSort{ padding:7px 12px; font-size:9.5px; }
  .shopViewToggle{ display:none; }

  .shopGrid{ grid-template-columns:repeat(2,1fr); gap:20px 12px; }
  .shopGrid .card__name{ font-size:13.5px; }
  .shopGrid .card__type{ font-size:9px; }
  .shopGrid .card__rating{ font-size:9.5px; }
  .shopGrid .card__price{ font-size:12px; }
  .shopGrid .card__wish{ width:28px; height:28px; }
  .shopGrid .card__wish svg{ width:13px; height:13px; }
  .shopGrid.is-list .card{ grid-template-columns:88px 1fr; grid-template-rows:auto auto; }
  .shopGrid.is-list .card__media{ width:88px; height:88px; grid-row:1 / 3; }
  .shopGrid.is-list .card__buy{ grid-column:2; }

  .shopPager button{ min-width:30px; height:30px; font-size:10px; }
}

/* ---- accessories: product photos read small in a square padded box, so
   give them noticeably less inset than perfume bottles get, matching the
   card size/grid rhythm every other category already uses ---- */
.accessories-page .shopGrid .card__media img{ padding:4%; }

/* ---- watches: every card media box gets the same stone-podium backdrop
   (a shared studio scene, not a per-watch photo) so the whole grid reads as
   one consistent, premium display case instead of bare white squares.
   .watches-page covers watches.html, where every card is a watch; .is-watch
   (set per-card by the JS that builds each card) covers shop.html and brand
   pages, where watches are mixed in alongside perfumes/accessories.
   The background is zoomed past "cover" and pushed down (112%/center 40%) so
   the marble slab's top surface sits low in the box, and the watch photo is
   pulled down to meet it (object-position center 70%) instead of floating
   dead-centre — together the watch reads as actually resting on the slab
   rather than hovering in front of it. Tuned against both the chunky
   near-square men's photos and the slim ~1:2 women's bracelet photos in the
   catalogue; see product.css for the matching product-page gallery rule.
   The product-page gallery gets the matching treatment in product.css. ---- */
.watches-page .shopGrid .card__media,
.watches-page .pgrid .card__media,
.shopGrid .card.is-watch .card__media{
  background:#e9e0d2 url('assets/bg/watches.webp') center 40%/112% 112% no-repeat;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 10px 26px -14px rgba(58,45,30,.35);
}
.watches-page .shopGrid .card__media img,
.watches-page .pgrid .card__media img,
.shopGrid .card.is-watch .card__media img{
  padding:8%;
  object-position:center 70%;
}

/* ---- perfumes: same idea as the watches podium above, using a second
   stone-scene backdrop shot with oud chips instead of a watch. Perfume
   photos are already framed as "bottle + box standing on a surface" shots
   (not bare transparent cutouts like the watch photos), so unlike watches
   this one needs no push-down tuning — a plain centred cover-fit backdrop
   already lines up with where the bottle's base naturally sits.
   .perfumes-page covers men.html/women.html/unisex.html, where every card
   is a perfume; .is-perfume (set per-card by the JS that builds each card)
   covers shop.html and brand pages, where perfumes are mixed in alongside
   watches/accessories. ---- */
.perfumes-page .shopGrid .card__media,
.perfumes-page .pgrid .card__media,
.shopGrid .card.is-perfume .card__media{
  background:#efe6d6 url('assets/bg/perfumes.webp') center/cover no-repeat;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 10px 26px -14px rgba(58,45,30,.35);
}
