/* VAPRIS_HOME_REDESIGN_20261119 */
/* VAPRIS_HERO_SEARCH_20261125 */
.hero {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  column-gap: 0;
  min-height: 0;
}
.hero__copy {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  gap: clamp(12px, 1.4vw, 18px);
  padding: clamp(28px, 4vw, 52px) clamp(24px, 2.4vw, 34px)
    clamp(28px, 4vw, 52px) clamp(48px, 5.6vw, 80px);
}
.hero h1 {
  font-size: clamp(3rem, 5.25vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
}
.hero__lead {
  max-width: 46ch;
  line-height: 1.5;
}
.hero__actions { gap: 10px; flex-wrap: nowrap; }
.hero__actions .btn {
  flex: 1 1 0;
  min-width: 0;
  padding-inline: 14px;
  white-space: nowrap;
}
.hero__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  padding-top: 0;
}
.hero__media {
  background: var(--mist-deep);
}
.hero__media img {
  object-fit: contain;
  object-position: center;
}
body[data-cart-key="noctis"] .hero,
body[data-cart-key="calder"] .hero,
body[data-cart-key="verdis"] .hero,
body[data-cart-key="roux"] .hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}
body[data-cart-key="noctis"] .hero__copy,
body[data-cart-key="calder"] .hero__copy,
body[data-cart-key="verdis"] .hero__copy,
body[data-cart-key="roux"] .hero__copy {
  padding: clamp(28px, 4vw, 52px) clamp(48px, 5.6vw, 80px)
    clamp(28px, 4vw, 52px) clamp(24px, 2.4vw, 34px);
}
body[data-cart-key="verdis"] .hero h1 {
  font-size: clamp(2.75rem, 4.5vw, 3.9rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
}

.cat-card {
  grid-template-columns: minmax(0, 1.15fr) minmax(100px, 0.85fr);
}
.cat-card > img {
  width: 100%;
  height: 132px;
  object-fit: contain;
  object-position: center;
  padding: 8px;
  border-radius: calc(var(--radius) * 0.75);
  background: var(--paper);
  mix-blend-mode: normal;
}

.product-grid--home {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.product-card__media img {
  object-fit: contain;
  object-position: center;
  padding: 10px;
  background: var(--paper);
}
.product-card:hover .product-card__media img { transform: none; }
.product-card__name {
  display: -webkit-box;
  height: 2.7em;
  min-height: 2.7em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.product-card__add {
  width: 100%;
  min-height: 44px;
  margin-top: 2px;
  padding: 0 14px;
  font-size: 13px;
}
.product-card__options {
  display: grid;
  gap: 7px;
  margin-top: 2px;
}
.product-card__field {
  display: grid;
  gap: 4px;
}
.product-card__field-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.product-card__select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  padding: 0 10px;
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
}
.product-card__select.is-invalid {
  border-color: #b42318;
  box-shadow: 0 0 0 2px rgba(180, 35, 24, 0.12);
}
.product-card__hint {
  display: none;
  margin: 0;
  color: #b42318;
  font-size: 11.5px;
  line-height: 1.3;
}
.product-card__hint.is-visible { display: block; }
.product-card__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
}
.product-card__favorite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 999px;
}
.product-card__favorite[aria-pressed="true"] {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}
.product-card__favorite[aria-pressed="true"] svg {
  fill: currentColor;
}
.product-card__favorite--corner {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  width: 44px;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  color: var(--ink);
}
.product-card__favorite--corner:hover {
  background: var(--paper);
}
.product-grid--home .wish-btn,
[data-favorites-grid] .wish-btn { display: none; }

.quick-add {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}
.quick-add.is-open { display: grid; place-items: center; }
.quick-add__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.64);
  backdrop-filter: blur(3px);
}
.quick-add__panel {
  position: relative;
  z-index: 1;
  width: min(540px, calc(100vw - 28px));
  max-height: min(88vh, 760px);
  overflow: auto;
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: calc(var(--radius) * 1.2);
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}
.quick-add__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.quick-add__product {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding-right: 36px;
}
.quick-add__product img {
  width: 104px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 7px;
  border-radius: var(--radius-sm);
  background: var(--mist);
}
.quick-add__product h2 {
  font-size: clamp(18px, 2.6vw, 23px);
  line-height: 1.2;
  margin-bottom: 6px;
}
.quick-add__product p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.quick-add__groups {
  display: grid;
  gap: 16px;
}
.quick-add__group .option-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.quick-add__group .option-chip {
  min-height: 44px;
}
.quick-add__group .option-hint {
  display: none;
  margin-top: 8px;
  font-size: 12.5px;
  color: #b42318;
}
.quick-add__group .option-hint.is-visible { display: block; }

.favorite-nav { position: relative; }
.favorite-nav .icon-btn__badge {
  display: inline-grid;
}
.favorite-nav .icon-btn__badge[hidden] { display: none; }

.favorites-empty {
  padding: 46px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.pdp__gallery img {
  object-fit: contain;
  object-position: center;
  padding: clamp(12px, 2.5vw, 28px);
  background: var(--paper);
}

.journal-card > a > img,
.journal-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  padding: clamp(10px, 2vw, 22px);
  border-radius: var(--radius);
  background: var(--mist);
}
.story__media img,
.ig-grid img {
  object-fit: contain;
  object-position: center;
  background: var(--mist-deep);
  padding: 8px;
}
.ig-grid a:hover img { transform: none; }

.checkout-items {
  display: grid;
  gap: 12px;
  margin: 14px 0;
}
.checkout-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.checkout-item:last-child { border-bottom: 0; }
.checkout-item__image {
  width: 72px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  padding: 4px;
  background: var(--mist);
  border-radius: var(--radius-sm);
}
.checkout-item__body {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.checkout-item__name {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}
.checkout-item__meta {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.35;
}
.checkout-item__total {
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.search-results {
  max-height: min(70vh, 680px);
  overflow: auto;
}
.search-results img {
  object-fit: contain;
  background: var(--mist);
  padding: 4px;
}
.search-result-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.search-results .search-result-summary a {
  display: inline-flex;
  grid-template-columns: none;
  min-height: 0;
  padding: 4px 0;
  color: var(--teal);
  font-weight: 600;
  background: transparent;
}
.search-result-summary__meta {
  line-height: 1.35;
}
.search-pager,
.shop-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  font-size: 12px;
  color: var(--muted);
}
.search-pager {
  border-top: 1px solid var(--line);
}
.shop-pagination {
  flex-wrap: wrap;
  padding: 8px 0 0;
}
.search-pager button,
.shop-pagination button {
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.search-pager button:hover:not(:disabled),
.shop-pagination button:hover:not(:disabled) {
  border-color: var(--ink);
}
.search-pager button:disabled,
.shop-pagination button:disabled {
  cursor: default;
  opacity: 0.45;
}
.shop-pagination__status {
  min-width: 150px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1100px) {
  .hero__copy {
    gap: 10px;
    padding: 30px 24px 30px 32px;
  }
  .hero h1 {
    font-size: clamp(2.7rem, 5.5vw, 4rem);
    line-height: 0.92;
  }
  .hero__lead {
    font-size: 14.5px;
    line-height: 1.42;
  }
  .hero__actions .btn {
    padding-inline: 9px;
    font-size: 12px;
  }
  .hero__features {
    gap: 7px 12px;
    font-size: 12px;
  }
  body[data-cart-key="noctis"] .hero__copy,
  body[data-cart-key="calder"] .hero__copy,
  body[data-cart-key="verdis"] .hero__copy,
  body[data-cart-key="roux"] .hero__copy {
    padding: 30px 32px 30px 24px;
  }
  .product-grid--home { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  body[data-cart-key="noctis"] .hero,
  body[data-cart-key="calder"] .hero,
  body[data-cart-key="verdis"] .hero,
  body[data-cart-key="roux"] .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero__copy {
    padding: 30px var(--gutter);
    gap: 13px;
  }
  body[data-cart-key="noctis"] .hero__copy,
  body[data-cart-key="calder"] .hero__copy,
  body[data-cart-key="verdis"] .hero__copy,
  body[data-cart-key="roux"] .hero__copy {
    padding: 30px var(--gutter);
  }
  body[data-cart-key="verdis"] .hero h1 {
    font-size: clamp(2.4rem, 8vw, 3.1rem);
  }
  .hero h1 { font-size: clamp(2.55rem, 8vw, 3.4rem); }
  .hero__lead {
    max-width: 52ch;
    font-size: 15px;
    line-height: 1.5;
  }
  .hero__actions { flex-wrap: wrap; }
  .hero__actions .btn {
    flex: 1 1 180px;
    padding-inline: 14px;
    font-size: 14px;
  }
  .hero__features { font-size: 13px; }
  .cat-card > img { height: 120px; }
}
@media (max-width: 720px) {
  .product-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-item { grid-template-columns: 58px minmax(0, 1fr); }
  .checkout-item__total { grid-column: 2; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 2.55rem; }
  .hero__features {
    grid-template-columns: minmax(0, 1fr);
  }
  .search-result-summary {
    align-items: flex-start;
    flex-direction: column;
  }
  .search-pager,
  .shop-pagination {
    gap: 7px;
  }
  .search-pager button,
  .shop-pagination button {
    padding-inline: 11px;
  }
  .product-card__favorite--corner { top: 8px; left: 8px; width: 44px; }
}
