/* Anushka Fashion — SHOP page */

.shop-hero {
  background: var(--cream);
  padding-block: clamp(28px, 5vw, 56px) clamp(20px, 3vw, 36px);
  background-size: cover;
  background-position: center 30%;
  transition: background-image .4s var(--ease);
}
.shop-hero--image { color: var(--ivory); }
.shop-hero--image .breadcrumb a,
.shop-hero--image .breadcrumb span { color: rgba(251, 248, 243, .78); }
.shop-hero--image .eyebrow { color: var(--gold-light); }
.shop-hero--image .display-2 { color: var(--ivory); }
.shop-hero--image .lead { color: rgba(251, 248, 243, .85); max-width: 56ch; }
.shop-hero .display-2 { margin: 6px 0 8px; }
.shop-hero .lead { max-width: 62ch; margin: 0; }

/* category chips rail */
.shop-chips {
  position: sticky; top: var(--header-h); z-index: 20;
  background: color-mix(in srgb, var(--ivory) 92%, transparent);
  backdrop-filter: blur(10px);
  border-block: 1px solid var(--line);
}
.shop-chips__row {
  display: flex; gap: 8px; overflow-x: auto; padding-block: 12px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.shop-chips__row::-webkit-scrollbar { display: none; }
.shop-chips .chip { white-space: nowrap; flex: 0 0 auto; }

/* layout */
.shop-layout {
  display: grid; grid-template-columns: 250px 1fr; gap: clamp(24px, 3vw, 48px);
  padding-block: clamp(24px, 4vw, 44px) clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 900px) { .shop-layout { grid-template-columns: 1fr; } }

/* filters */
.shop-filters { position: sticky; top: calc(var(--header-h) + 58px); }
.shop-filters__head { display: none; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.shop-filters__title { font-family: var(--font-display); font-size: 22px; margin: 0; }
.shop-filters__foot { display: none; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.shop-filters__foot .btn { flex: 1; }

.filter-group { border-bottom: 1px solid var(--line); padding-block: 14px; }
.filter-group__title {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.filter-group__title::-webkit-details-marker { display: none; }
.filter-group__title::after { content: '+'; color: var(--gold); font-size: 16px; }
.filter-group[open] .filter-group__title::after { content: '−'; }
.filter-group__body { padding-top: 12px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chips .chip em { font-style: normal; opacity: .5; font-size: .85em; }
.chip--sm { padding: 6px 12px; font-size: 11px; }
.chip--active { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.filter-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-swatches .swatch {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 6px;
  border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 11.5px;
  border-radius: 2px; transition: border-color .2s var(--ease);
}
.filter-swatches .swatch i { width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--line-strong); display: block; }
.filter-swatches .swatch.is-active { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }

/* toolbar */
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.shop-count { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0; }
.shop-toolbar__actions { display: flex; align-items: center; gap: 10px; }
.shop-sort .select { min-width: 190px; padding-block: 9px; font-size: 12.5px; }
.shop-filter-btn { display: none; position: relative; }
.shop-filter-btn__dot { position: absolute; top: 4px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.shop-active { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.shop-clear { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }

.shop-more { text-align: center; padding-top: 36px; }
.shop-progress { font-size: 12px; color: var(--muted); margin-top: 12px; }
.shop-recent { margin-top: 20px; }
.shop-recent .eyebrow { text-align: center; margin-bottom: 22px; }

/* mobile filter drawer */
@media (max-width: 900px) {
  .shop-filter-btn { display: inline-flex; }
  .shop-filters {
    position: fixed; inset: auto 0 0 0; z-index: 90; background: var(--ivory);
    max-height: 86vh; display: flex; flex-direction: column;
    transform: translateY(101%); transition: transform .35s var(--ease-lux);
    box-shadow: 0 -20px 60px -30px rgba(26, 20, 22, .5); padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom));
  }
  body.filters-open .shop-filters { transform: translateY(0); }
  body.filters-open { overflow: hidden; }
  body.filters-open::after {
    content: ''; position: fixed; inset: 0; background: rgba(26, 20, 22, .45); z-index: 89;
  }
  .shop-filters__head, .shop-filters__foot { display: flex; }
  .shop-filters__body { overflow-y: auto; flex: 1; }
}
