/* Product imagery shares a baseline and a single frame across supplier formats. */
.variant-options {
  --option-bg: #fffaf6;
  --option-line: #dcd1cb;
  --selected-bg: #f6e6eb;
  --selected-ink: #781737;
  --option-muted: #665952;
  min-width: 0; margin: 18px 0; padding: 0; border: 0;
}
[data-shop-theme=dark] .variant-options {
  --option-bg: #282329; --option-line: #594b55; --selected-bg: #49313d;
  --selected-ink: #ffc0d3; --option-muted: #d0bfc8;
}
.variant-options legend { margin-bottom: 9px; padding: 0; font-size: 15px; font-weight: 600; }
.variant-options label {
  display: grid; grid-template-columns: 18px minmax(0,1fr) auto; align-items: center;
  gap: 12px; min-height: 55px; padding: 9px 13px; margin-bottom: 5px;
  border: 1px solid var(--option-line); border-radius: 8px; background: var(--option-bg); cursor: pointer;
}
.variant-options label:has(:checked) { border-color: var(--selected-ink); background: var(--selected-bg); }
.variant-options input {
  appearance: none; box-sizing: border-box; width: 17px; height: 17px; margin: 0; padding: 3px;
  border-radius: 50%; border: 1px solid var(--option-muted); background: transparent;
}
.variant-options input:checked { border-color: var(--selected-ink); background: var(--selected-ink); background-clip: content-box; }
.variant-options label:has(:focus-visible) { outline: 2px solid var(--selected-ink); outline-offset: 1px; }
.variant-copy { display: grid; gap: 2px; line-height: 1.22; }
.variant-copy b { font-size: 15px; font-weight: 600; }
.variant-copy small { font-size: 13px; color: var(--option-muted); }
.variant-options strong { font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.variant-options label:has(:checked) strong { color: var(--selected-ink); }
@media (hover:hover) { .variant-options label:hover { border-color: var(--selected-ink); } }
@media (forced-colors:active) { .variant-options input { appearance: auto; } }
.perfume-grid {
  --album: #f2ece7;
  --muted: #6c635e;
  row-gap: 26px;
  align-items: stretch;
}
.perfume-card { container-type: inline-size; }
.perfume-link, .perfume-copy { display: flex; flex-direction: column; min-width: 0; }
.perfume-link { height: 100%; }
.perfume-photo, .product-stage {
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--album, #f2ece7);
  border-radius: 10px;
}
.perfume-photo { aspect-ratio: 1; }
.perfume-photo img, .product-stage img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.perfume-photo img { padding: 7%; border-radius: 0; }
.perfume-copy { flex: 1; padding: 11px 4px 2px; }
.perfume-copy small {
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .055em;
  color: var(--muted);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-height: 1.4em;
}
.perfume-card h3, .perfume-format {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.perfume-card h3 {
  -webkit-line-clamp: 2;
  margin: 4px 0;
  font-size: clamp(14px, 8cqw, 18px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.19;
}
.perfume-format { -webkit-line-clamp: 2; color: var(--muted); font-size: 13px; line-height: 1.4; }
.perfume-card .price { margin-top: auto; padding-top: 9px; line-height: 1.25; }
.perfume-card .heart {
  width: 36px; height: 36px; display: grid; place-items: center;
  right: 5px; top: 5px; padding: 0; color: #342e2b; background: #fffaf4e8;
}
.perfume-card .heart[aria-pressed=true], .product-favorite[aria-pressed=true] { color: #700921; }
.perfume-card .heart[aria-pressed=true] path, .product-favorite[aria-pressed=true] path { fill: currentColor; }
.perfume-card :focus-visible, .catalog-frame :focus-visible, .product-view :focus-visible {
  outline: 2px solid #8a2740;
  outline-offset: 2px;
}
.catalog-head, .catalog-head>div, .quantity-line { display: flex; align-items: center; }
.catalog-head { justify-content: space-between; gap: 20px; margin: 4px 0 28px; }
.catalog-head>div { flex-wrap: wrap; gap: 12px; }
.catalog-head .catalog-mobile-brand { display: none; }
.catalog-head h1, .product-about h1 { font-weight: 600; letter-spacing: -.045em; text-wrap: balance; }
.catalog-head h1 { margin: 0; max-width:100%; overflow-wrap:anywhere; font-size: clamp(27px, 2.8vw, 42px); line-height: 1.12; }
.catalog-head span { color: #6c635e; white-space: nowrap; font-size: 14px; }
.catalog-frame { display: grid; grid-template-columns: clamp(170px, 16%, 215px) minmax(0, 1fr); gap: clamp(22px, 3vw, 48px); }
.catalog-categories { border-top: 1px solid #e5dcd5; margin-top: 20px; padding-top: 18px; }
.catalog-filters label span, .catalog-categories h3 { display: block; margin: 0 0 12px; font-size: 15px; font-weight: 600; }
.catalog-categories a { display: block; font-size: 14px; line-height: 1.35; padding: 7px 0; }
.catalog-categories a[aria-current=page] { font-weight: 600; color: #700921; }
.catalog-mobile-brand select, .catalog-filters select, .catalog-sort select {
  font: inherit; font-size: 14px; line-height: 1.3;
  min-height: 42px; border: 1px solid #e7dfda; border-radius: 7px; padding: 6px 10px;
  color: #342e2b; background-color: #f8f3ef;
}
.catalog-filters select { width: 100%; }
.catalog-results { min-width: 0; }
.catalog-more { display: block; min-height: 44px; margin: 28px auto 0; }
.catalog-empty a { color: #700921; text-decoration: underline; }
.catalog-empty, .brand-directory a, .product-about .brand { overflow-wrap:anywhere; }
.catalog-empty p { line-height:1.5; max-width:50ch; }
.catalog-status {padding-block:24px; color:#574d47}
.catalog-status p {margin:0 0 14px}
.brands-page {padding-block:4px 20px}
.brands-page label {display:block; font-weight:600; margin-bottom:7px}
.brands-page input {width:min(100%,410px); font:inherit; padding:10px 14px; border:1px solid #ddd2cb; border-radius:7px; background:#fffaf7}
.brand-directory {display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,175px),1fr)); gap:0 22px; margin-top:20px}
.brand-directory a {display:flex; align-items:center; min-height:43px; padding:9px 0; border-bottom:1px solid #e9ded7; font-size:14px}
.brand-directory a[hidden] {display:none}
.brand-directory a:hover,.product-about a.brand:hover {text-decoration:underline}
.catalog-head>div, .catalog-head select {min-width:0; max-width:100%}
.product-view {
  --album: #f2ece7;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .92fr) minmax(260px, .76fr);
  gap: clamp(20px, 2.8vw, 46px); align-items: start; padding: 6px 0 16px;
}
.product-stage { aspect-ratio: 0.96; }
.product-stage img { padding: 9%; }
.product-stage .no-photo, .perfume-photo .no-photo { background: transparent; width: 100%; }
.product-about { min-width: 0; padding-top: 6px; }
.product-about .brand { letter-spacing: .15em; line-height: 1.5; }
.product-about a.brand {display:inline-block;max-width:100%}
.product-about h1 { margin: 7px 0 12px; font-size: clamp(29px, 3vw, 48px); line-height: 1.05; overflow-wrap: anywhere; }
.product-about p { margin: 0; font-size: 15px; line-height: 1.45; }
.product-about dl { margin: 30px 0 0; }
.product-about dl div { display: grid; grid-template-columns: minmax(65px, .6fr) minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid #e5dcd5; font-size: 14px; line-height: 1.35; }
.product-about dt { color: #6c635e; }
.product-about dd { margin: 0; overflow-wrap: anywhere; }
.product-purchase { padding: clamp(16px, 1.7vw, 28px); border-radius: 12px; background: #f5efea; }
.product-purchase h2 { line-height: 1.1; margin: 0 0 12px; font-size: clamp(25px, 2.7vw, 39px); letter-spacing: -.045em; }
.product-stock { font-size: 13px; color: #504a46; display: flex; align-items: center; gap: 7px; }
.product-stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #ad9785; }
.product-stock.in-stock::before { background: #56845b; }
.quantity-line { justify-content: space-between; gap: 8px; border-top: 1px solid #e2d8d1; margin-top: 18px; padding-top: 18px; font-size: 14px; }
.product-purchase .qty { gap: 0; background: #fffaf7; padding: 0 2px; border: 1px solid #e4d9d1; border-radius: 7px; }
.product-purchase .qty strong { min-width: 24px; text-align: center; }
.product-purchase .qty button { width: 36px; height: 38px; background: transparent; font-size: 18px; }
.product-purchase .qty button:disabled { color: #80756c; cursor: default; }
.product-purchase .product-add, .product-favorite { width: 100%; min-height: 45px; margin-top: 14px; }
.product-favorite { display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 6px; margin-top: 8px; background: #ebe2db; }
@media (min-width:801px) and (max-width:1090px) {
  .catalog-results .products { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .product-view { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .product-stage { grid-row: span 2; }
  .product-purchase { grid-column: 2; }
  .product-about dl { margin-top: 16px; }
}
@media (max-width:800px) {
  .catalog-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 15px 10px; margin: 3px 0 15px; }
  .brands-page .catalog-head {display:block}
  .brand-directory {grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
  .catalog-head>div:first-child { grid-column: 1/-1; }
  .catalog-head .catalog-sort { grid-column: 2; }
  .catalog-frame { display: block; }
  .catalog-filters { display:none; }
  .catalog-head .catalog-mobile-brand { display: flex; }
  .catalog-filters label span, .catalog-categories { display: none; }
  .catalog-head select { width: 100%; height: 42px; }
  .perfume-grid { gap: 22px 10px; }
  .perfume-card .heart { height: 40px; width: 40px; }
  .perfume-copy { padding: 8px 2px 0; }
  .perfume-card .price { padding-top: 6px; }
  .product-view { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .product-stage { aspect-ratio: 1.22; max-height: 400px; }
  .product-about { padding: 0; }
  .product-about dl { margin-top: 14px; }
  .product-about dl div { grid-template-columns: minmax(85px,.45fr) 1fr; }
  .product-purchase { padding: 18px; }
  .quantity-line { margin-top: 14px; padding-top: 14px; }
}
@media (min-width:570px) and (max-width:800px) {
  .catalog-results .products, .perfume-grid.home { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
