/* ─── Shop Page ─── */

.page-shop {
  background: #ffffff;
}

.page-shop .header {
  background: #ffffff;
  border-bottom: 1px solid rgba(58, 36, 24, 0.06);
}

.page-shop .header__nav a.is-active {
  color: #3a2418;
  font-weight: 600;
  border-bottom: 1px solid #3a2418;
  padding-bottom: 2px;
}

.shop-main {
  width: 100%;
  background: #ffffff;
}

/* ─── Shop Hero ─── */
.shop-hero {
  --shop-hero-bg: #f7f3e9;
  --shop-hero-watermark-color: #e2d8c3;
  --shop-hero-title-color: #7d6a36;
  /* Admin-editable text-size knobs (see admin/shop-banners.js) — a unitless
     multiplier on top of the normal responsive font-size, so a long title
     or watermark string can be scaled down instead of overflowing its box
     (title lines never wrap — white-space: nowrap — and the watermark is
     one long word, so shrinking is the only fix once a string runs long). */
  --shop-hero-title-scale: 1;
  --shop-hero-watermark-scale: 1;
  /* 10% of 1920 design width — scales with --u so alignment stays locked */
  --shop-compose-shift: calc(192 * var(--u));
  --shop-compose-width: calc(1200 * var(--u));

  position: relative;
  width: 100%;
  height: calc(322 * var(--u));
  margin: 0;
  background: var(--shop-hero-bg);
  overflow: hidden;
}

.shop-hero__watermark {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* Shared layer: SHOP text + bottles move/scale as one unit */
.shop-hero__compose {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.shop-hero[data-watermark-mode="default"] .shop-hero__compose {
  left: 50%;
  right: auto;
  top: 0;
  bottom: 0;
  width: var(--shop-compose-width);
  transform: translateX(calc(-50% + var(--shop-compose-shift)));
}

/* Default shop watermark — centered inside compose (bottles cover “P”) */
.shop-hero[data-watermark-mode="default"] .shop-hero__watermark {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: auto;
}

.shop-hero__watermark span {
  position: absolute;
  left: auto;
  right: calc(96 * var(--u));
  bottom: calc(28 * var(--u));
  transform: none;
  font-family: var(--font-playfair);
  font-weight: 400;
  font-size: calc(430 * var(--u) * var(--shop-hero-watermark-scale));
  line-height: 0.76;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--shop-hero-watermark-color);
  white-space: nowrap;
  margin: 0;
  padding: 0;
}

.shop-hero[data-watermark-mode="default"] .shop-hero__watermark span {
  left: 50%;
  right: auto;
  top: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
  font-size: calc(320 * var(--u) * var(--shop-hero-watermark-scale));
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: #7e6319;
  opacity: 0.2;
}

@media (min-width: 641px) {
  /* Admin-editable position (see admin/shop-banners.js) for the default
     Shop banner's watermark — center is the built-in default and needs no
     override. Scoped to this width and up only: below it, the watermark's
     position is pinned to a specific fixed spot that keeps it from
     sitting behind the hero bottle image (see the ≤640px block further
     down, and memory shop-hero-watermark-mobile-fix), and that fix must
     always win regardless of what's picked here. */
  .shop-hero[data-watermark-mode="default"][data-watermark-align="left"] .shop-hero__watermark span {
    left: 20%;
  }

  .shop-hero[data-watermark-mode="default"][data-watermark-align="right"] .shop-hero__watermark span {
    left: 80%;
  }
}

/* Category mode — compose is a full-bleed pass-through shell */
.shop-hero[data-watermark-mode="category"] .shop-hero__compose {
  inset: 0;
  left: 0;
  right: 0;
  width: auto;
  transform: none;
}

/* Category watermark — smaller, right zone only */
.shop-hero[data-watermark-mode="category"] .shop-hero__watermark {
  left: calc(120 * var(--u) + 400 * var(--u));
  right: 0;
  top: 0;
  bottom: 0;
}

.shop-hero[data-watermark-mode="category"][data-title-width="wide"] .shop-hero__watermark {
  left: calc(120 * var(--u) + 720 * var(--u) + 16 * var(--u));
}

.shop-hero[data-watermark-mode="category"] .shop-hero__watermark span {
  right: calc(140 * var(--u));
  bottom: auto;
  top: 42%;
  transform: translateY(-50%);
  font-size: calc(300 * var(--u) * var(--shop-hero-watermark-scale));
  line-height: 0.85;
  letter-spacing: -0.04em;
}

.shop-hero[data-watermark-mode="category"][data-watermark-size="long"] .shop-hero__watermark span {
  font-size: calc(220 * var(--u) * var(--shop-hero-watermark-scale));
  line-height: 0.88;
}

/* Admin-editable position (see admin/shop-banners.js) — decoupled from the
   text-length-based "long" sizing above; js/shop-categories.js's
   computeWatermarkAlign() still defaults an unset category to "left" here
   whenever its watermark word IS long, so nothing changes for an existing
   category until an admin actually sets this. */
.shop-hero[data-watermark-mode="category"][data-watermark-align="left"] .shop-hero__watermark span {
  right: auto;
  left: 0;
}

.shop-hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 calc(120 * var(--u));
  max-width: none;
  width: 100%;
  margin: 0;
}

.shop-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: calc(18 * var(--u));
  max-width: calc(500 * var(--u));
  flex-shrink: 0;
}

.shop-hero[data-watermark-mode="category"] .shop-hero__content {
  max-width: calc(500 * var(--u));
}

.shop-hero[data-watermark-mode="category"][data-title-width="wide"] .shop-hero__content {
  max-width: calc(720 * var(--u));
}

.shop-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: calc(6 * var(--u));
  font-family: var(--font-playfair);
  font-weight: 400;
  font-size: calc(13 * var(--u));
  line-height: calc(18 * var(--u));
  color: rgba(58, 36, 24, 0.7);
}

/* Admin-editable title alignment (see admin/shop-banners.js) — the content
   block itself always stays docked to the left of the hero; this only
   changes how the breadcrumb + title lines sit relative to each other and
   to the full width .shop-hero__content stretches them to. */
.shop-hero[data-title-align="center"] .shop-hero__breadcrumb {
  justify-content: center;
}

.shop-hero[data-title-align="right"] .shop-hero__breadcrumb {
  justify-content: flex-end;
}

.shop-hero__breadcrumb a {
  color: rgba(58, 36, 24, 0.7);
  text-decoration: none;
}

.shop-hero__breadcrumb a:hover {
  color: #3a2418;
}

.shop-hero__breadcrumb span:last-child {
  color: #3a2418;
}

.shop-hero__title {
  font-family: var(--font-playfair);
  font-weight: 600;
  font-size: calc(52 * var(--u) * var(--shop-hero-title-scale));
  line-height: calc(56 * var(--u) * var(--shop-hero-title-scale));
  letter-spacing: calc(-1 * var(--u));
  text-transform: uppercase;
  color: var(--shop-hero-title-color);
  margin: 0;
}

.shop-hero__title-line {
  display: block;
  width: fit-content;
  white-space: nowrap;
}

.shop-hero[data-title-align="center"] .shop-hero__title-line {
  margin-inline: auto;
}

.shop-hero[data-title-align="right"] .shop-hero__title-line {
  margin-inline-start: auto;
}

.shop-hero[data-watermark-mode="category"] .shop-hero__title {
  font-size: calc(46 * var(--u) * var(--shop-hero-title-scale));
  line-height: calc(50 * var(--u) * var(--shop-hero-title-scale));
}

/* Hero media — default single-image slot (backend categories) */
.shop-hero__media {
  position: absolute;
  top: 0;
  right: calc(40 * var(--u));
  bottom: 0;
  width: calc(520 * var(--u));
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.shop-hero__media-img {
  position: absolute;
  right: 0;
  bottom: calc(-32 * var(--u));
  width: auto;
  height: calc(320 * var(--u));
  object-fit: contain;
  object-position: bottom right;
  mix-blend-mode: normal;
}

/* Shop default — dual bottles (desktop); mobile P-overlap is in ≤991 only */
.shop-hero[data-watermark-mode="default"] .shop-hero__media[data-hero-layout="dual"] {
  left: auto;
  right: calc(-48 * var(--u));
  top: 0;
  bottom: 0;
  width: calc(680 * var(--u));
  height: 100%;
  transform: none;
  z-index: 2;
}

.shop-hero__media[data-hero-layout="dual"] .shop-hero__media-img {
  mix-blend-mode: normal;
}

.shop-hero[data-watermark-mode="default"] .shop-hero__media-img--front {
  left: auto;
  right: calc(72 * var(--u));
  bottom: calc(-120 * var(--u));
  height: calc(560 * var(--u));
  width: auto;
  max-width: none;
  transform: scaleX(1.12);
  transform-origin: bottom center;
  z-index: 2;
}

.shop-hero[data-watermark-mode="default"] .shop-hero__media-img--back {
  left: auto;
  right: calc(-8 * var(--u));
  bottom: calc(-136 * var(--u));
  height: calc(540 * var(--u));
  width: auto;
  max-width: none;
  filter: blur(calc(3.5 * var(--u)));
  opacity: 0.92;
  transform: scaleX(1.08);
  transform-origin: bottom center;
  z-index: 1;
}

/* Fallback dual layout (if used outside default compose) */
.shop-hero__media[data-hero-layout="dual"] {
  right: calc(-32 * var(--u));
  width: calc(753 * var(--u));
}

.shop-hero__media-img--front {
  right: calc(130 * var(--u));
  bottom: calc(-110 * var(--u));
  height: calc(599 * var(--u));
  z-index: 2;
}

.shop-hero__media-img--back {
  right: calc(24 * var(--u));
  bottom: calc(-128 * var(--u));
  height: calc(572 * var(--u));
  filter: blur(calc(3 * var(--u)));
  opacity: 0.9;
  z-index: 1;
}

/* ─── Category Icons ─── */
.shop-categories {
  width: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
  padding: calc(50 * var(--u)) calc(368 * var(--u));
  box-sizing: border-box;
}

.shop-categories__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: calc(16 * var(--u));
  width: calc(1184 * var(--u));
  max-width: 100%;
  height: calc(124 * var(--u));
  box-sizing: border-box;
}

.shop-categories__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: calc(8 * var(--u));
  flex: 0 0 auto;
  width: calc(140 * var(--u));
  max-width: calc(140 * var(--u));
  text-align: center;
}

.shop-categories__icon {
  width: calc(75 * var(--u));
  height: calc(75 * var(--u));
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.shop-categories__button {
  transition: opacity 0.15s ease;
}

.shop-categories__button:hover .shop-categories__icon {
  transform: scale(1.06);
}

.shop-categories__button.is-active .shop-categories__icon {
  transform: scale(1.08);
  outline: 2px solid var(--color-gold, #9a7847);
  outline-offset: 4px;
  border-radius: 50%;
}

.shop-categories__button.is-active .shop-categories__label {
  color: var(--color-brown-dark, #3a2418);
  font-weight: 600;
}

.shop-categories__label {
  font-family: var(--font-manrope);
  font-weight: 400;
  font-size: calc(11 * var(--u));
  line-height: calc(15 * var(--u));
  letter-spacing: 0;
  color: #3a2418;
  max-width: 100%;
}

/* ─── Toolbar ─── */
.shop-toolbar {
  width: 100%;
  background: #f8f6f3;
  padding: calc(24 * var(--u)) calc(40 * var(--u)) calc(20 * var(--u));
}

.shop-toolbar__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(16 * var(--u));
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
}

.shop-toolbar__count {
  font-family: var(--font-manrope);
  font-weight: 600;
  font-size: calc(20 * var(--u));
  line-height: calc(26 * var(--u));
  letter-spacing: 0;
  color: #3a2418;
  margin: 0;
  white-space: nowrap;
}

.shop-toolbar__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: calc(12 * var(--u));
  width: 100%;
}

.shop-toolbar__search {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
  height: calc(44 * var(--u));
  padding: 0 calc(16 * var(--u));
  border: 1px solid rgba(58, 36, 24, 0.18);
  border-radius: calc(4 * var(--u));
  background: #ffffff;
  color: rgba(58, 36, 24, 0.55);
  width: 100%;
  max-width: calc(280 * var(--u));
}

.shop-toolbar__search svg {
  flex-shrink: 0;
}

.shop-toolbar__search input {
  border: none;
  outline: none;
  background: none;
  width: 100%;
  font-family: var(--font-manrope);
  font-size: calc(14 * var(--u));
  color: #3a2418;
}

.shop-toolbar__search input::placeholder {
  color: rgba(58, 36, 24, 0.45);
}

.shop-toolbar__search input::-webkit-search-cancel-button {
  cursor: pointer;
}

.shop-toolbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(20 * var(--u));
  width: 100%;
}

.shop-toolbar__extra-filter:empty {
  display: none;
}

.shop-extra-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: calc(8 * var(--u));
  height: calc(36 * var(--u));
  padding: 0 calc(16 * var(--u));
  border: 1px solid #3a2418;
  border-radius: calc(4 * var(--u));
  background: #3a2418;
  font-family: var(--font-manrope);
  font-weight: 600;
  font-size: calc(12.5 * var(--u));
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
}

.shop-extra-filter-chip span {
  font-size: calc(16 * var(--u));
  line-height: 1;
}

.shop-toolbar__filters {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: calc(12 * var(--u));
  flex: 1;
}

.shop-filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: calc(96 * var(--u));
  height: calc(48 * var(--u));
  padding: 0 calc(28 * var(--u));
  border: 1px solid rgba(58, 36, 24, 0.15);
  border-radius: calc(4 * var(--u));
  background: #ffffff;
  font-family: var(--font-manrope);
  font-weight: 500;
  font-size: calc(14 * var(--u));
  line-height: calc(18 * var(--u));
  color: #3a2418;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.shop-filter-pill:hover,
.shop-filter-pill.is-active {
  background: #f3eddf;
  border-color: rgba(58, 36, 24, 0.34);
}

.shop-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: calc(8 * var(--u));
  height: calc(48 * var(--u));
  padding: 0 calc(24 * var(--u));
  border: 1px solid rgba(58, 36, 24, 0.18);
  border-radius: calc(4 * var(--u));
  background: #ffffff;
  font-family: var(--font-manrope);
  font-weight: 500;
  font-size: calc(14 * var(--u));
  line-height: 1;
  color: #3a2418;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.shop-filter-btn:hover {
  background: #f8f6f3;
}

/* ─── Product Grid ─── */
.shop-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.shop-card-link:hover .shop-card__name {
  color: #8b5e3c;
}

.shop-products {
  width: 100%;
  background: #f8f6f3;
  padding: calc(10 * var(--u)) calc(16 * var(--u)) calc(48 * var(--u));
}

.shop-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: calc(9.9 * var(--u));
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
}

.shop-card {
  position: relative;
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(58, 36, 24, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.shop-card__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 466.58 / 599.06;
  background: #ffffff;
  flex-shrink: 0;
}

.shop-card__badge {
  position: absolute;
  top: calc(16 * var(--u));
  left: calc(16.5 * var(--u));
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: calc(12 * var(--u)) calc(22 * var(--u));
  height: calc(38 * var(--u));
  background: #426b99;
  font-family: 'Helvetica', var(--font-inter), sans-serif;
  font-weight: 400;
  font-size: calc(14 * var(--u));
  line-height: calc(14 * var(--u));
  letter-spacing: -0.02em;
  font-variant: all-small-caps;
  color: #ffffff;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.shop-card__heart {
  position: absolute;
  top: calc(16 * var(--u));
  right: calc(16 * var(--u));
  z-index: 5;
  width: calc(32 * var(--u));
  height: calc(32 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  color: #3a2418;
  cursor: pointer;
}

.shop-card__heart svg {
  width: calc(22 * var(--u));
  height: calc(22 * var(--u));
  display: block;
}

.shop-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #ffffff;
}

.shop-card__image--gem {
  mix-blend-mode: darken;
}

.shop-card__rating {
  position: absolute;
  left: calc(12 * var(--u));
  bottom: calc(12 * var(--u));
  z-index: 2;
  display: flex;
  align-items: center;
  gap: calc(4 * var(--u));
  padding: calc(8 * var(--u));
  background: rgba(237, 237, 237, 0.5);
  height: calc(30 * var(--u));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.shop-card__add-btn {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(10 * var(--u));
  width: 100%;
  height: calc(60 * var(--u));
  padding: 0 calc(16 * var(--u));
  border: none;
  background: #2e1f1a;
  color: #ffffff;
  font-family: var(--font-manrope);
  font-weight: 500;
  font-size: calc(17 * var(--u));
  line-height: 1;
  letter-spacing: calc(0.2 * var(--u));
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
}

.shop-card__add-btn svg {
  flex-shrink: 0;
  width: calc(22 * var(--u));
  height: calc(22 * var(--u));
}

@media (hover: hover) {
  .shop-card-link:hover .shop-card__add-btn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .shop-card-link:hover .shop-card__rating {
    opacity: 0;
    visibility: hidden;
  }

  .shop-card-link:hover .shop-card__badge {
    opacity: 0;
    visibility: hidden;
  }

  .shop-card-link:hover .shop-card__dots {
    opacity: 0;
    visibility: hidden;
  }
}

.shop-card__star {
  flex-shrink: 0;
  display: block;
  width: calc(14 * var(--u));
  height: calc(14 * var(--u));
}

.shop-card__rating-score,
.shop-card__rating-count {
  font-family: 'Helvetica Neue', var(--font-inter), sans-serif;
  font-weight: 700;
  font-size: calc(14 * var(--u));
  line-height: calc(14 * var(--u));
  letter-spacing: -0.02em;
  font-variant: all-small-caps;
  color: #000000;
}

.shop-card__rating-divider {
  width: 0.75px;
  height: calc(14 * var(--u));
  background: rgba(20, 20, 20, 0.3);
  flex-shrink: 0;
}

.shop-card__dots {
  position: absolute;
  bottom: calc(20 * var(--u));
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: calc(5 * var(--u));
  padding: calc(5 * var(--u));
  background: rgba(255, 255, 255, 0.5);
  border: 0.5px solid rgba(139, 94, 60, 0.1);
  border-radius: 45px;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.shop-card__dots span {
  width: calc(8 * var(--u));
  height: calc(8 * var(--u));
  border-radius: 50%;
  background: #8b5e3c;
  opacity: 0.2;
}

.shop-card__dots span.is-active {
  opacity: 1;
}

.shop-card__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(5.94 * var(--u));
  padding: calc(24 * var(--u));
  min-height: calc(86.94 * var(--u));
  background: #ffffff;
}

.shop-card__info-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  gap: calc(12 * var(--u));
  width: 100%;
}

.shop-card__category {
  font-family: var(--font-manrope);
  font-weight: 500;
  font-size: calc(9.9 * var(--u));
  line-height: calc(10 * var(--u));
  letter-spacing: calc(1.78 * var(--u));
  text-transform: uppercase;
  color: #8b5e3c;
}

.shop-card__name {
  flex: 1;
  min-width: 0;
  font-family: var(--font-playfair);
  font-weight: 600;
  font-size: calc(17.8 * var(--u));
  line-height: calc(22 * var(--u));
  text-transform: uppercase;
  color: #3a2418;
  margin: 0;
}

.shop-card__price {
  flex-shrink: 0;
  font-family: var(--font-manrope);
  font-weight: 700;
  font-size: calc(18 * var(--u));
  line-height: calc(21 * var(--u));
  color: #3a2418;
}

.shop-show-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(8 * var(--u));
  margin: calc(32 * var(--u)) auto 0;
  padding: 0;
  border: none;
  background: transparent;
  font-family: var(--font-manrope);
  font-weight: 500;
  font-size: max(12px, calc(16 * var(--u)));
  line-height: 1;
  letter-spacing: max(0.7px, calc(1.2 * var(--u)));
  text-transform: uppercase;
  color: #3a2418;
  cursor: pointer;
}

.shop-show-more[hidden] {
  display: none;
}

.shop-show-more:hover {
  opacity: 0.7;
}

.shop-show-more svg {
  width: max(11px, calc(14 * var(--u)));
  height: max(11px, calc(14 * var(--u)));
}

/* ─── Shop Responsive ─── */
@media (max-width: 991px) {
  /* Keep default SHOP + bottles compose locked while hamburger is visible.
     Do NOT floor hero height/title with max() — that left the beige band
     tall while text shrank, breaking the Figma gap ratio. Height + type
     both use --u so space above/below the title scales together. */

  .shop-hero {
    /* Keep design scale, but never so short that bottles disappear */
    height: max(150px, calc(322 * var(--u)));
  }

  .shop-show-more {
    font-size: 13px;
    letter-spacing: 0.9px;
    gap: 7px;
    margin-top: 26px;
  }

  .shop-show-more svg {
    width: 12px;
    height: 12px;
  }

  .shop-hero__inner {
    padding: 0 calc(48 * var(--u));
  }

  .shop-hero__title {
    font-size: calc(52 * var(--u) * var(--shop-hero-title-scale));
    line-height: calc(56 * var(--u) * var(--shop-hero-title-scale));
  }

  .shop-hero[data-watermark-mode="category"] .shop-hero__title {
    font-size: calc(46 * var(--u) * var(--shop-hero-title-scale));
    line-height: calc(50 * var(--u) * var(--shop-hero-title-scale));
  }

  .shop-hero__breadcrumb {
    font-size: calc(13 * var(--u));
    line-height: calc(18 * var(--u));
    gap: calc(6 * var(--u));
  }

  .shop-hero__content {
    gap: calc(18 * var(--u));
  }

  /* Mobile only: bottle sits on/after “P” and partially hides it */
  .shop-hero[data-watermark-mode="default"] .shop-hero__watermark span {
    left: 36%;
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
  }

  .shop-hero[data-watermark-mode="default"] .shop-hero__media[data-hero-layout="dual"] {
    right: calc(-4 * var(--u));
    width: calc(500 * var(--u));
    z-index: 2;
  }

  .shop-hero[data-watermark-mode="default"] .shop-hero__media-img--front {
    right: calc(100 * var(--u));
    bottom: 0;
    height: 110%;
    max-height: none;
    transform: scaleX(1.1);
    object-position: bottom center;
    z-index: 2;
  }

  .shop-hero[data-watermark-mode="default"] .shop-hero__media-img--back {
    right: calc(12 * var(--u));
    bottom: 0;
    height: 100%;
    max-height: none;
    transform: scaleX(1.06);
    object-position: bottom center;
    z-index: 1;
  }

  .shop-categories {
    padding: 20px var(--section-padding-x);
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .shop-categories::-webkit-scrollbar {
    display: none;
  }

  .shop-categories__list {
    justify-content: flex-start;
    gap: 20px;
    min-width: max-content;
    width: auto;
    height: auto;
    padding: 0;
  }

  .shop-categories__item {
    width: 80px;
    max-width: 80px;
  }

  .shop-categories__icon {
    width: 48px;
    height: 48px;
  }

  .shop-categories__label {
    font-size: 10px;
    line-height: 1.25;
  }

  .shop-toolbar {
    padding: 16px var(--section-padding-x) 12px;
  }

  .shop-toolbar__inner {
    gap: 10px;
  }

  .shop-toolbar__count {
    font-size: 16px;
    line-height: 1.3;
  }

  .shop-toolbar__top {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-toolbar__search {
    max-width: 100%;
  }

  .shop-toolbar__row {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
  }

  .shop-toolbar__filters {
    order: 0;
    width: auto;
    flex: 1;
    min-width: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding-bottom: 2px;
  }

  .shop-toolbar__filters::-webkit-scrollbar {
    display: none;
  }

  .shop-filter-pill {
    min-width: auto;
    height: 36px;
    padding: 0 14px;
    font-size: 11px;
    line-height: 1.2;
    flex-shrink: 0;
  }

  .shop-filter-btn {
    order: 1;
    margin-left: 0;
    flex-shrink: 0;
    height: 36px;
    padding: 0 14px;
    font-size: 12px;
  }

  .shop-products {
    padding: 8px var(--section-padding-x) 32px;
  }

  .shop-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .shop-card__image-wrap {
    height: clamp(140px, 44vw, 180px);
    aspect-ratio: auto;
  }

  .shop-card__badge {
    top: 6px;
    left: 6px;
    padding: 3px 7px;
    height: auto;
    min-height: 0;
    max-width: calc(100% - 34px);
    font-family: var(--font-manrope);
    font-variant: normal;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 7px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .shop-card__heart {
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
  }

  .shop-card__heart svg {
    width: 14px;
    height: 14px;
  }

  .shop-card__rating,
  .shop-card__dots {
    display: none;
  }

  .shop-card__info {
    padding: 10px;
    gap: 5px;
    min-height: 0;
  }

  .shop-card__category {
    font-size: 8px;
    line-height: 1.35;
    letter-spacing: 1px;
    display: block;
  }

  .shop-card__info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
  }

  .shop-card__name {
    font-size: 12px;
    line-height: 1.35;
    width: 100%;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .shop-card__price {
    font-size: 13px;
    line-height: 1.2;
    align-self: flex-start;
  }
}

@media (max-width: 768px) {
  /* Still scale with --u — no fixed px floors on hero height/title */
  .shop-hero__breadcrumb {
    font-size: calc(12 * var(--u));
    line-height: calc(16 * var(--u));
  }

  .shop-show-more {
    font-size: 12px;
    letter-spacing: 0.8px;
    gap: 6px;
    margin-top: 22px;
  }

  .shop-show-more svg {
    width: 11px;
    height: 11px;
  }

  .shop-hero__title {
    font-size: calc(52 * var(--u) * var(--shop-hero-title-scale));
    line-height: calc(56 * var(--u) * var(--shop-hero-title-scale));
  }

  .shop-hero[data-watermark-mode="category"] .shop-hero__title {
    font-size: calc(46 * var(--u) * var(--shop-hero-title-scale));
    line-height: calc(50 * var(--u) * var(--shop-hero-title-scale));
  }

  .shop-card__badge {
    font-size: 6px;
    padding: 3px 6px;
    letter-spacing: 0.05em;
  }

  .shop-categories {
    padding: 14px var(--section-padding-x);
  }

  .shop-categories__list {
    gap: 16px;
  }

  .shop-categories__item {
    width: 72px;
    max-width: 72px;
  }

  .shop-categories__icon {
    width: 42px;
    height: 42px;
  }

  .shop-categories__label {
    font-size: 9px;
    line-height: 1.2;
  }

  .shop-toolbar__count {
    font-size: 15px;
  }

  .shop-toolbar__row {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .shop-filter-btn {
    margin-left: 0;
    width: auto;
    flex-shrink: 0;
  }

  .shop-products__grid {
    gap: 8px;
  }

  .shop-card__image-wrap {
    height: clamp(120px, 40vw, 155px);
  }

  .shop-card__info {
    padding: 8px;
    gap: 4px;
  }

  .shop-card__name {
    font-size: 11px;
    line-height: 1.25;
  }

  .shop-card__price {
    font-size: 12px;
  }
}

/* Compact shop hero only on small phones — tablet/hamburger keeps desktop compose */
@media (max-width: 640px) {
  .shop-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 1fr;
    align-items: center;
    column-gap: 10px;
    height: auto;
    min-height: 0;
    overflow: hidden;
    padding: 0;
  }

  .shop-hero__compose {
    display: contents;
  }

  .shop-hero[data-watermark-mode="default"] .shop-hero__compose {
    transform: none;
    width: auto;
    left: auto;
  }

  .shop-hero__watermark {
    grid-column: 1 / -1;
    grid-row: 1;
    z-index: 0;
  }

  .shop-hero__inner {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 12px 0 12px var(--section-padding-x);
    margin: 0;
  }

  .shop-hero__content {
    max-width: 100%;
    width: 100%;
    min-width: 0;
    gap: 6px;
  }

  .shop-hero__breadcrumb {
    font-size: 10px;
    line-height: 1.35;
    gap: 4px;
  }

  .shop-hero__title {
    font-size: calc(16px * var(--shop-hero-title-scale));
    line-height: 1.18;
    letter-spacing: -0.01em;
  }

  .shop-hero[data-watermark-mode="category"] .shop-hero__title {
    font-size: calc(14px * var(--shop-hero-title-scale));
    line-height: 1.2;
  }

  .shop-hero__title-line {
    width: auto;
    margin-inline: 0;
    white-space: normal;
  }

  /* Wrapped multi-line text at this width can't use the desktop
     fit-content + margin trick (there's no single "content width" to
     center against) — text-align on the wrapping block handles it instead. */
  .shop-hero[data-title-align="center"] .shop-hero__title {
    text-align: center;
  }

  .shop-hero[data-title-align="right"] .shop-hero__title {
    text-align: right;
  }

  .shop-hero[data-watermark-mode="default"] .shop-hero__watermark {
    left: 0;
    right: 0;
  }

  /* Right-anchored text sat directly behind the hero product image at this
     width, hiding everything but its last letter or two — left-anchor it
     instead so it reads from a safe starting point before the image. */
  .shop-hero__watermark span,
  .shop-hero[data-watermark-mode="default"] .shop-hero__watermark span {
    left: var(--section-padding-x);
    right: auto;
    top: auto;
    bottom: 50%;
    transform: translateY(50%);
    font-size: calc(clamp(32px, 10vw, 44px) * var(--shop-hero-watermark-scale));
    line-height: 0.82;
    color: var(--shop-hero-watermark-color);
    opacity: 1;
  }

  .shop-hero[data-watermark-mode="category"] .shop-hero__watermark {
    left: 40%;
    right: 0;
  }

  .shop-hero[data-watermark-mode="category"] .shop-hero__watermark span {
    right: var(--section-padding-x);
    top: auto;
    bottom: 50%;
    transform: translateY(50%);
    font-size: calc(clamp(28px, 9vw, 36px) * var(--shop-hero-watermark-scale));
  }

  .shop-hero[data-watermark-mode="category"][data-title-width="wide"] .shop-hero__watermark {
    left: 38%;
  }

  .shop-hero[data-watermark-mode="category"][data-watermark-align="left"] .shop-hero__watermark span {
    right: auto;
    left: var(--section-padding-x);
  }

  .shop-hero[data-watermark-mode="category"][data-watermark-size="long"] .shop-hero__watermark span {
    font-size: calc(clamp(24px, 7vw, 32px) * var(--shop-hero-watermark-scale));
  }

  .shop-hero[data-watermark-mode="category"] .shop-hero__content,
  .shop-hero[data-watermark-mode="category"][data-title-width="wide"] .shop-hero__content {
    max-width: 100%;
  }

  .shop-hero__media,
  .shop-hero__media[data-hero-layout="dual"],
  .shop-hero[data-watermark-mode="default"] .shop-hero__media[data-hero-layout="dual"] {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    z-index: 2;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: clamp(120px, 34vw, 150px);
    max-width: 150px;
    height: clamp(130px, 38vw, 160px);
    margin-right: var(--section-padding-x);
    flex-shrink: 0;
    align-self: center;
    pointer-events: none;
    transform: none;
    overflow: visible;
  }

  .shop-hero__media-img,
  .shop-hero__media-img--front,
  .shop-hero__media-img--back,
  .shop-hero[data-watermark-mode="default"] .shop-hero__media-img--front,
  .shop-hero[data-watermark-mode="default"] .shop-hero__media-img--back {
    position: absolute;
    left: auto;
    width: auto;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: bottom center;
    transform: none;
  }

  .shop-hero__media-img {
    right: 0;
    bottom: 0;
    height: 100%;
  }

  .shop-hero__media-img--front,
  .shop-hero[data-watermark-mode="default"] .shop-hero__media-img--front {
    right: 18%;
    bottom: 0;
    height: 100%;
    z-index: 2;
  }

  .shop-hero__media-img--back,
  .shop-hero[data-watermark-mode="default"] .shop-hero__media-img--back {
    right: 0;
    bottom: 0;
    height: 92%;
    filter: blur(2px);
    opacity: 0.9;
    z-index: 1;
  }
}

@media (max-width: 480px) {
  .shop-hero__media,
  .shop-hero__media[data-hero-layout="dual"],
  .shop-hero[data-watermark-mode="default"] .shop-hero__media[data-hero-layout="dual"] {
    width: clamp(110px, 32vw, 136px);
    max-width: 136px;
    height: clamp(120px, 36vw, 148px);
  }

  .shop-categories__item {
    width: 64px;
    max-width: 64px;
  }

  .shop-categories__icon {
    width: 38px;
    height: 38px;
  }

  .shop-categories__label {
    font-size: 8px;
  }

  .shop-filter-pill {
    height: 34px;
    padding: 0 12px;
    font-size: 10px;
  }

  .shop-products__grid {
    gap: 8px;
  }

  .shop-card__image-wrap {
    height: clamp(110px, 38vw, 140px);
  }

  .shop-card__badge {
    font-size: 6px;
    padding: 3px 6px;
    letter-spacing: 0.05em;
  }

  .shop-card__info {
    padding: 7px 8px 8px;
  }

  .shop-card__category {
    font-size: 7px;
    letter-spacing: 0.8px;
  }

  .shop-card__name {
    font-size: 10px;
  }

  .shop-card__price {
    font-size: 11px;
  }
}

/* ─── Filter Drawer ─── */
body.filter-drawer-open {
  overflow: hidden;
}

.shop-filter-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: none;
  visibility: hidden;
}

.shop-filter-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.shop-filter-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.shop-filter-drawer.is-open .shop-filter-drawer__overlay {
  opacity: 1;
}

.shop-filter-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(calc(480 * var(--u)), 100vw);
  max-width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s ease;
}

.shop-filter-drawer.is-open .shop-filter-drawer__panel {
  transform: translateX(0);
}

.shop-filter-drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: calc(16 * var(--u));
  padding: calc(28 * var(--u)) calc(28 * var(--u)) calc(20 * var(--u));
  border-bottom: 1px solid #eeeeee;
  background: #ffffff;
  flex-shrink: 0;
}

.shop-filter-drawer__title {
  font-family: var(--font-manrope);
  font-weight: 700;
  font-size: calc(28 * var(--u));
  line-height: calc(34 * var(--u));
  color: #000000;
  margin: 0 0 calc(6 * var(--u));
}

.shop-filter-drawer__subtitle {
  font-family: var(--font-manrope);
  font-weight: 400;
  font-size: calc(14 * var(--u));
  line-height: calc(20 * var(--u));
  color: #888888;
  margin: 0;
}

.shop-filter-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(36 * var(--u));
  height: calc(36 * var(--u));
  padding: 0;
  border: none;
  background: transparent;
  color: #000000;
  cursor: pointer;
  flex-shrink: 0;
}

.shop-filter-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: calc(8 * var(--u)) calc(28 * var(--u)) calc(24 * var(--u));
  background: #ffffff;
}

.shop-filter-section {
  padding: calc(24 * var(--u)) 0;
}

.shop-filter-section__title {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
  font-family: var(--font-manrope);
  font-weight: 700;
  font-size: calc(14 * var(--u));
  line-height: calc(20 * var(--u));
  color: #000000;
  margin: 0 0 calc(16 * var(--u));
}

.shop-filter-section__icon {
  width: calc(16 * var(--u));
  height: calc(16 * var(--u));
  flex-shrink: 0;
  color: #111111;
}

.shop-filter-intentions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(20 * var(--u)) calc(12 * var(--u));
}

.shop-filter-intention {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(10 * var(--u));
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: center;
}

.shop-filter-intention__circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(72 * var(--u));
  height: calc(72 * var(--u));
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  background: transparent;
}

.shop-filter-intention__asset {
  width: calc(28 * var(--u));
  height: calc(28 * var(--u));
  object-fit: contain;
  display: block;
}

.shop-filter-intention__icon {
  width: calc(28 * var(--u));
  height: calc(28 * var(--u));
  color: #111111;
}

.shop-filter-intention.is-active .shop-filter-intention__circle {
  background: #111111;
  border-color: #111111;
}

.shop-filter-intention.is-active .shop-filter-intention__asset {
  filter: brightness(0) invert(1);
}

.shop-filter-intention.is-active .shop-filter-intention__icon {
  color: #ffffff;
}

.shop-filter-intention__label {
  font-family: var(--font-manrope);
  font-weight: 500;
  font-size: calc(11 * var(--u));
  line-height: calc(14 * var(--u));
  color: #111111;
  max-width: calc(90 * var(--u));
}

.shop-filter-radio {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
  position: relative;
  cursor: pointer;
  margin-bottom: calc(12 * var(--u));
}

.shop-filter-radio:last-child {
  margin-bottom: 0;
}

.shop-filter-radio input[type="radio"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.shop-filter-radio__dot {
  width: calc(18 * var(--u));
  height: calc(18 * var(--u));
  border-radius: 50%;
  border: 2px solid #bdbdbd;
  flex-shrink: 0;
  position: relative;
  box-sizing: border-box;
  pointer-events: none;
}

.shop-filter-radio.is-checked .shop-filter-radio__dot,
.shop-filter-radio:has(input:checked) .shop-filter-radio__dot {
  border-color: #2b59ff;
  background: #2b59ff;
}

.shop-filter-radio.is-checked .shop-filter-radio__dot::after,
.shop-filter-radio:has(input:checked) .shop-filter-radio__dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(6 * var(--u));
  height: calc(6 * var(--u));
  border-radius: 50%;
  background: #ffffff;
  transform: translate(-50%, -50%);
}

.shop-filter-radio__label {
  font-family: var(--font-manrope);
  font-weight: 500;
  font-size: calc(14 * var(--u));
  line-height: calc(18 * var(--u));
  color: #757575;
  pointer-events: none;
}

.shop-filter-radio.is-checked .shop-filter-radio__label,
.shop-filter-radio:has(input:checked) .shop-filter-radio__label {
  color: #111111;
}

.shop-filter-radios .shop-filter-radio {
  margin-bottom: calc(14 * var(--u));
}

.shop-filter-size {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: calc(72 * var(--u));
  height: calc(36 * var(--u));
  padding: 0 calc(20 * var(--u));
  border: none;
  border-radius: calc(18 * var(--u));
  background: #ffffff;
  font-family: var(--font-manrope);
  font-weight: 600;
  font-size: calc(14 * var(--u));
  color: #000000;
  cursor: pointer;
}

.shop-filter-size.is-active {
  background: #000000;
  color: #ffffff;
}

.shop-filter-drawer__footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(12 * var(--u));
  padding: calc(20 * var(--u)) calc(28 * var(--u)) calc(28 * var(--u));
  border-top: 1px solid #eeeeee;
  background: #ffffff;
  flex-shrink: 0;
}

.shop-filter-drawer__clear,
.shop-filter-drawer__apply {
  height: calc(52 * var(--u));
  border-radius: calc(4 * var(--u));
  font-family: var(--font-manrope);
  font-weight: 600;
  font-size: calc(14 * var(--u));
  cursor: pointer;
}

.shop-filter-drawer__clear {
  border: 1px solid #000000;
  background: #ffffff;
  color: #000000;
}

.shop-filter-drawer__apply {
  border: none;
  background: #3b2416;
  color: #ffffff;
}

@media (max-width: 991px) {
  .shop-filter-drawer__panel {
    width: min(360px, 92vw);
  }

  .shop-filter-drawer__head {
    padding: 20px 20px 16px;
    gap: 12px;
  }

  .shop-filter-drawer__title {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 4px;
  }

  .shop-filter-drawer__subtitle {
    font-size: 13px;
    line-height: 1.4;
  }

  .shop-filter-drawer__close {
    width: 36px;
    height: 36px;
  }

  .shop-filter-drawer__close svg {
    width: 20px;
    height: 20px;
  }

  .shop-filter-drawer__body {
    padding: 4px 20px 16px;
  }

  .shop-filter-section {
    padding: 16px 0;
  }

  .shop-filter-section__title {
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 12px;
    gap: 8px;
  }

  .shop-filter-section__icon {
    width: 16px;
    height: 16px;
  }

  .shop-filter-intentions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 8px;
  }

  .shop-filter-intention {
    gap: 8px;
  }

  .shop-filter-intention__circle {
    width: 54px;
    height: 54px;
  }

  .shop-filter-intention__asset,
  .shop-filter-intention__icon {
    width: 22px;
    height: 22px;
  }

  .shop-filter-intention__label {
    font-size: 10px;
    line-height: 1.25;
    max-width: 100%;
  }

  .shop-filter-radio {
    gap: 10px;
    margin-bottom: 10px;
  }

  .shop-filter-radio__dot {
    width: 18px;
    height: 18px;
  }

  .shop-filter-radio.is-checked .shop-filter-radio__dot::after,
  .shop-filter-radio:has(input:checked) .shop-filter-radio__dot::after {
    width: 6px;
    height: 6px;
  }

  .shop-filter-radio__label {
    font-size: 14px;
    line-height: 1.35;
  }

  .shop-filter-radios .shop-filter-radio {
    margin-bottom: 10px;
  }

  .shop-filter-size {
    min-width: 56px;
    height: 34px;
    padding: 0 14px;
    font-size: 13px;
  }

  .shop-filter-drawer__footer {
    padding: 14px 20px 24px;
    gap: 10px;
  }

  .shop-filter-drawer__clear,
  .shop-filter-drawer__apply {
    height: 48px;
    font-size: 14px;
    border-radius: 4px;
  }
}

@media (max-width: 768px) {
  .shop-filter-drawer__panel {
    width: 100%;
    max-width: 100%;
  }

  .shop-filter-intentions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 6px;
  }

  .shop-filter-intention__circle {
    width: 50px;
    height: 50px;
  }

  .shop-filter-intention__label {
    font-size: 9px;
  }
}
