#boutique .filters {
  gap: 6px 22px;
}
#boutique .filters button {
  color: var(--body);
  cursor: pointer;
  font-size: 13px;
}
#boutique .filters button.active {
  color: var(--terra);
  font-weight: 600;
}
#boutique .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(50px, 5vw, 76px) clamp(32px, 4vw, 62px);
  justify-content: start;
}
#boutique .product-card:not([hidden]) {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #faf7f2;
  border: 1px solid var(--line);
}
#boutique .product-photo {
  flex: none;
  aspect-ratio: 3 / 2;
  background: #e6ddd2;
}
#boutique .product-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#boutique .product-photo .badge {
  inset: 10px auto auto 10px;
  max-width: calc(100% - 20px);
  padding: 5px 8px;
  background: #302432;
  color: #fffaf4;
  font-size: 10px;
  line-height: 1.35;
}
#boutique .photo-arrow {
  display: grid;
  place-items: center;
}
#boutique .product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 17px 18px;
  row-gap: 6px;
}
#boutique .product-info .kicker {
  color: var(--terra);
  font-size: 9px;
  line-height: 1.4;
}
#boutique .product-info h3 {
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}
#boutique .product-info p:not(.kicker) {
  color: var(--body);
  font-size: 13px;
}
#boutique .product-info .collection-price {
  margin: 8px 0 0;
  color: var(--terra);
  font-weight: 600;
}
@media (max-width: 1000px) {
  #boutique .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  #boutique .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
  }
}
@media (max-width: 460px) {
  #boutique .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

#boutique #cart-status:empty {
  display: none;
}

#boutique :is([data-category="box"], [data-category="subscription"]) .product-photo {
  aspect-ratio: 7 / 5;
  background: #f2eee5;
}
#boutique :is([data-category="box"], [data-category="subscription"]) .product-photo img {
  object-fit: contain;
  object-position: center;
}
#boutique :is([data-category="box"], [data-category="subscription"]) .product-photo:hover img {
  transform: none;
}

#boutique [data-category="textiles"] h3 {
  min-block-size: 2lh;
}
#boutique [data-category="textiles"] .product-info .collection-price {
  margin-top: auto;
  padding-top: 8px;
}
#boutique .product-card .shop-add {
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  padding: 8px 12px;
  border: 1px solid var(--terra);
  background: var(--terra);
  color: white;
  font: inherit;
  font-size: 13px;
}
#boutique .product-card .shop-add:hover {
  background: #241b2a;
}
@media (max-width: 460px) {
  #boutique [data-category="textiles"] h3 {
    min-block-size: auto;
  }
}

#boutique [data-category="candles"] .product-photo img {
  object-fit: contain;
}
#boutique [data-category="candles"] .collection-price {
  margin-top: auto;
  padding-top: 8px;
}

#boutique .shop-upcoming {
  margin-top: clamp(48px, 8vw, 96px);
  padding-top: clamp(24px, 4vw, 44px);
  border-top: 1px solid var(--line);
}
#boutique .shop-upcoming h2 {
  margin-bottom: 24px;
}
#boutique [data-category="candles"] .product-info .collection-price {
  margin-top: auto;
}

/* An editorial catalogue: generous imagery, title, price and one action. */
#boutique.shop.wrap {
  max-width: 1620px;
}
#boutique .filters {
  margin-bottom: 46px;
}
#boutique .product-card .product-photo {
  aspect-ratio: 3 / 2;
}
#boutique .product-card:not(.upcoming-card) .product-photo .badge,
#boutique .product-card .photo-arrow,
#boutique .product-info > p:not(.collection-price) {
  display: none;
}
#boutique .product-info {
  padding: 26px 25px 24px;
  row-gap: 16px;
}
#boutique .product-info h3 {
  font-size: clamp(23px, 2.1vw, 29px);
  margin: 0;
  min-block-size: 0;
}
#boutique .product-card .product-info p.collection-price {
  margin: auto 0 0;
  padding-top: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #433744;
}
#boutique .product-card .shop-add {
  margin-top: 4px;
  min-height: 46px;
  background: #ffffff;
  border-color: #bdb3a6;
  color: #241b16;
  font-weight: 600;
  font-size: 15px;
}
#boutique .product-card .shop-add:hover {
  background: #f5f2ed;
  border-color: #8b8074;
  color: #241b16;
}
#boutique .product-card .shop-add:focus-visible {
  outline: 2px solid #6e5126;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  #boutique .filters {
    margin-bottom: 32px;
  }
  #boutique .product-info {
    padding: 16px 14px;
    row-gap: 10px;
  }
  #boutique .product-info h3 {
    font-size: 22px;
  }
}

/* Maison-style editorial catalogue: the photographs carry the colour. */
main:has(> #boutique) {
  background: #fdfcfa;
}
#boutique .filters {
  gap: 10px 30px;
  border-bottom-color: #ded9d1;
}
#boutique .filters button {
  color: #625e58;
  font-size: 14px;
}
#boutique .filters button.active {
  color: #24221f;
  border-bottom-color: #282521;
}
#boutique .product-card:not([hidden]) {
  background: transparent;
  border: 0;
}
#boutique .product-card .product-photo {
  background: #f3f1ed;
}
#boutique .product-card .product-photo > img:first-of-type {
  object-fit: contain;
  object-position: center;
  background: #fff;
  transform: none;
}
#boutique .product-info {
  padding: 22px 0 0;
  row-gap: 10px;
}
#boutique .product-info h3 {
  color: #292621;
  font-size: clamp(25px, 2.05vw, 31px);
  font-weight: 400;
  line-height: 1.2;
}
#boutique .product-card .product-info p.collection-price {
  color: #635d54;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: .015em;
  margin-top: auto;
}
#boutique .product-card .shop-add {
  align-self: flex-start;
  width: min(100%, 210px);
  min-height: 44px;
  margin-top: 8px;
  padding: 12px 22px;
  border: 1px solid #292622;
  border-radius: 0;
  background: #292622;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .085em;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
#boutique .product-card .shop-add:hover {
  background: #fff;
  border-color: #aa8954;
  color: #292622;
}
@media (max-width: 760px) {
  #boutique .filters { gap: 6px 18px; }
  #boutique .filters button { font-size: 13px; }
  #boutique .product-info { padding: 16px 0 0; }
  #boutique .product-info h3 { font-size: 24px; }
  #boutique .product-card .shop-add { width: 100%; }
}

/* White actions with a warm gold selection state. */
#boutique .product-card .shop-add,
#boutique .filters button {
  background: #fff;
  border: 1px solid #c8bba5;
  color: #292622;
}
#boutique .filters button {
  padding: 9px 15px;
  transition: background .2s ease, border-color .2s ease;
}
#boutique .filters button.active,
#boutique .filters button:active,
#boutique .product-card .shop-add:active {
  background: #c6a46b;
  border-color: #c6a46b;
  color: #211b14;
}
#boutique .product-photo .product-photo-secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  transform: none;
}
#boutique .product-card .product-photo.has-secondary img {
  transform: none;
}
@media (hover: hover) and (pointer: fine) {
  #boutique .product-card:hover .product-photo-secondary {
    opacity: 1;
  }
}
#boutique .product-photo:focus-visible .product-photo-secondary {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  #boutique .product-photo .product-photo-secondary { transition: none; }
}
