/* Retail surfaces. The existing catalog grid and form layouts control sizing. */
body[data-page] {
  --shop-ink: #352520;
  --shop-secondary: #4f3c36;
  --shop-line: #d1c5bc;
  --shop-night: #301e19;
  --shop-rim: rgb(228 217 208 / 34%);
  --shop-panel: linear-gradient(127deg, #a3827855, #4729208f 42%, #381f18a6);
  --shop-button: linear-gradient(175deg, #9c704f, #73533a 58%, #5e4430);
}

.page-catalog #catalog > .section-heading {
  padding: clamp(18px, 3vw, 38px);
  border: 1px solid var(--shop-rim);
  border-radius: 20px;
  background: radial-gradient(ellipse at top right, #d8bb6d30, transparent 56%),
              linear-gradient(115deg, #43271fbd, #4e322966 65%, #967b6646);
  backdrop-filter: blur(4px);
  box-shadow: inset 0 1px #f9f1ea36, 0 10px 28px #1f0f0a38;
}

.page-catalog .catalog-mode,
.page-catalog .catalog-search,
body[data-page] .price-list-switch,
.page-catalog .catalog-filters,
.page-catalog .filter-toggle {
  border-color: var(--shop-rim);
  background: var(--shop-panel);
  box-shadow: inset 0 1px #f6efe926;
}

.page-catalog .catalog-search { border-radius: 999px; }
.page-catalog .catalog-filters { backdrop-filter: blur(7px); }
.page-catalog .catalog-search:focus-within { outline: 2px solid #e5c47c; outline-offset: 2px; }
.page-catalog .catalog-search input::placeholder { color: #dad0c9; }
body[data-page] .price-list-switch > div { background: #2b18129c; }
body[data-page] .price-list-switch button[aria-pressed="true"] {
  color: #241b0d;
  background: linear-gradient(165deg, #f3da9e, #d7a955);
  box-shadow: inset 0 1px #fff1c8, 0 1px 5px #21191660;
}
.page-catalog .catalog-filters__head { background: #3a251fc7; backdrop-filter: blur(8px); }
.page-catalog .filter-group h4 { color: #ecd49a; }
.page-catalog :is(.filter-category-option, .filter-check, .filter-label) { color: #eae4df; }
.page-catalog .filter-category-option.is-selected { color: #f2e4b6; background: #e7d2c219; }
.page-catalog .filter-group select { color-scheme: dark; border-color: #a68f7d83; background-color: #392722; }
.page-catalog .filter-group :is(.filter-hint, .filter-category-option__count, .filter-price-bounds) { color: #d2c6bd; }

body[data-page] #productGrid .product-card,
#productDetail .cross-sell-card {
  --cut-x: clamp(9px, 1.3vw, 17px);
  --cut-y: clamp(50px, 7vw, 100px);
  --card-corners: bevel round bevel round;
  --card-radius: var(--cut-x) 17px 12px 13px / var(--cut-y) 17px 23px 13px;
  --card-clip: polygon(var(--cut-x) 0, 100% 0, 100% calc(100% - 23px), calc(100% - 12px) 100%, 0 100%, 0 var(--cut-y));
  color: var(--shop-ink);
  position: relative;
  isolation: isolate;
  border: 1px solid #d8cec6a6;
  border-top-color: #fff2cdd1;
  border-bottom-color: #ddcbbdba;
  border-radius: var(--card-radius);
  corner-shape: var(--card-corners);
  background: linear-gradient(156deg, #d6cbc378, #f7f3f0c7 39%, #eee9e5c2 73%, #dbd2cbab);
  box-shadow: -2px -2px 8px #f2e4da2e, 2px 2px 7px #f4ce8226, 0 9px 19px #200f0a54;
}
#productDetail .cross-sell-card {
  --card-corners: round bevel round bevel;
  --card-radius: 17px var(--cut-x) 13px 13px / 17px var(--cut-y) 13px 20px;
  --card-clip: polygon(0 0, calc(100% - var(--cut-x)) 0, 100% var(--cut-y), 100% 100%, 13px 100%, 0 calc(100% - 20px));
}
@supports not (corner-shape: bevel) {
  body[data-page] #productGrid .product-card, #productDetail .cross-sell-card { clip-path: var(--card-clip); }
}
body[data-page] #productGrid .product-card::after,
#productDetail .cross-sell-card::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  corner-shape: inherit;
  pointer-events: none;
  box-shadow: inset 1px 1px 2px #fefdfc99, inset -1px -1px 2px #d4c4b780;
}
body[data-page] #productGrid .product-card:is(:focus-within, :hover),
#productDetail .cross-sell-card:is(:focus-within, :hover) {
  box-shadow: -2px -2px 10px #f7ede555, 2px 2px 9px #e9c28144, 0 10px 22px #200f0a66;
}
body[data-page] #productGrid .product-card__image,
#productDetail .cross-sell-card__image,
#productDetail .product-detail__image {
  isolation: isolate;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
body[data-page] #productGrid .product-card__image,
#productDetail .cross-sell-card__image {
  border: 0;
  width: 100%;
  aspect-ratio: 1.65;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: radial-gradient(ellipse at 72% 16%, #f8e4bd61, transparent 65%),
              linear-gradient(128deg, #7f605675, #c2b2a650 44%, #e1d9d370);
  /* Fade the complete photo scene onto the continuous surface underneath it. */
  mask-image: linear-gradient(to bottom, black 69%, rgb(0 0 0 / .96) 76%,
              rgb(0 0 0 / .73) 85%, rgb(0 0 0 / .25) 94%, transparent);
}
body[data-page] #productGrid .product-card__image::after,
#productDetail .cross-sell-card__image::after {
  content: ""; position: absolute; z-index: 2; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 0 0, #faf4f050, transparent 46%),
              linear-gradient(110deg, #f7ede628, transparent 25% 73%, #c7b6aa2e);
}
body[data-page] #productGrid .product-card__image .product-photo__ambient,
#productDetail .cross-sell-card__image .product-photo__ambient,
#productDetail .product-detail__image .product-photo__ambient {
  position: absolute; inset: -5%; width: 110%; height: 110%;
  max-width: none; max-height: none; padding: 0; margin: 0;
  border: 0; border-radius: 0; box-shadow: none; pointer-events: none;
  object-fit: cover; filter: blur(19px) saturate(.78); opacity: .63;
}
body[data-page] #productGrid .product-card__image .product-photo__main,
#productDetail .cross-sell-card__image .product-photo__main,
#productDetail .product-detail__image .product-photo__main {
  position: relative; z-index: 1; inset: auto;
  width: 99%; height: 95%; max-width: 99%; max-height: 95%;
  margin: 0; padding: 0; border-radius: 0; box-shadow: none;
  mix-blend-mode: normal; object-fit: contain;
  /* Fade the outer edges into the ambient photo underneath. */
  mask-image: linear-gradient(90deg, transparent, rgb(0 0 0 / .4) 5%,
              black 19% 81%, rgb(0 0 0 / .4) 95%, transparent),
              linear-gradient(180deg, transparent, black 9% 91%, transparent);
  mask-composite: intersect;
}
#productDetail .product-detail__image .product-photo__main {
  width: auto; height: auto;
}
body[data-page] #productGrid h3 { color: var(--shop-ink); letter-spacing: -.025em; }
body[data-page] #productGrid h3 a:hover { text-decoration: underline; text-underline-offset: .14em; }
body[data-page] #productGrid :is(.product-card__category, .product-card__summary, .price-unit) { color: var(--shop-secondary); }
body[data-page] #productGrid .product-card__favorite {
  color: #fffbed;
  border: 1px solid #f6f0eca3;
  background: #44332ee0;
  box-shadow: inset 0 1px #fbf5f12e;
}
body[data-page] #productGrid .product-card__favorite[aria-pressed="true"] {
  color: #803624;
  background: #ffeddb;
  border-color: #ab6652;
}
body[data-page] .product-badge {
  border-radius: 999px;
  transform: none;
  box-shadow: inset 0 1px #fffae44a, 0 2px 5px #32221d38;
}
body[data-page] .product-badge::before { content: none; }
body[data-page] .product-badge--hit { color: #fefdfd; border-color: #dcc6b5; background: linear-gradient(120deg, #88664c, #5d3b31); }
body[data-page] .product-badge--new { color: #fff; border-color: #b8dce1; background: linear-gradient(120deg, #337b89, #245468); }
body[data-page] .product-badge--sale { color: #fff; border-color: #f4bd9b; background: linear-gradient(120deg, #a14a29, #903827); }

body[data-page] :is(#productGrid, #productDetail) :is(.variant-option, .weight-tier-pricing__item) {
  border: 1px solid #bba99b;
  border-radius: 10px;
  color: #473630;
  background: linear-gradient(#fefdfdcf, #f1ece8);
  box-shadow: inset 0 1px #fffefe;
  font-variant-numeric: tabular-nums;
}
body[data-page] :is(#productGrid, #productDetail) :is(.variant-option, .weight-tier-pricing__item)[aria-pressed="true"] {
  color: #432e28;
  border-color: #715a49;
  background: linear-gradient(145deg, #f3ede8, #e3d7ce);
  box-shadow: inset 0 0 0 1px #796250;
}
body[data-page] :is(#productGrid, #productDetail) :is(.weight-tier-pricing__title, .variant-picker > span, .weight-tier-pricing__item > small) {
  color: #685547;
}
body[data-page] #productGrid .product-card__bottom {
  border-top: 1px solid #ae998888;
  padding: 10px 0 0;
}
body[data-page] #productGrid .product-card__category { letter-spacing: .095em; }
body[data-page] #productGrid .product-card__body {
  background: transparent;
}
body[data-page] #productGrid :is(.variant-option, .weight-tier-pricing__item) {
  border-radius: 8px; border-color: #bcaa9d; background: #ffffff80;
}
body[data-page] #productGrid :is(.variant-option, .weight-tier-pricing__item)[aria-pressed="true"] {
  background: linear-gradient(150deg, #74584f, #513a33 72%, #674d45);
  color: #fff8de; border-color: #a99280; box-shadow: inset 0 1px #efe3da7d;
}
body[data-page] #productGrid :is(.variant-option, .weight-tier-pricing__item)[aria-pressed="true"] :is(small, em, b, del) {
  color: #faf5f2; background: transparent;
}
body[data-page] #productGrid .variant-option[aria-pressed="true"] .variant-option__unit-price {
  color: #f2eae3 !important;
}
body[data-page] :is(#productGrid, #productDetail) .variant-option:not([aria-pressed="true"]) .variant-option__unit-price,
#productModal #productDetail .variant-option .variant-option__unit-price {
  color: #625043 !important;
}
body[data-page] :is(#productGrid, #productDetail) .variant-option:not([aria-pressed="true"]) del,
#productModal #productDetail .variant-option :is(del, .variant-option__weight) {
  color: #655245;
}
#productModal #productDetail :is(.variant-option__saving, .weight-tier-pricing__item > em) {
  color: #5f4d3f;
}
#productModal #productDetail .weight-tier-pricing__item > small { color: #5f4e41; }
body[data-page] #productGrid .product-card__badges { top: 9px; left: calc(var(--cut-x) + 3px); gap: 3px; }
body[data-page] #productGrid .product-card__favorite { right: calc(var(--cut-x) + 1px); }
body[data-page] #productGrid .product-badge {
  min-height: 0; font-size: 8px; padding: 3px 6px; letter-spacing: .03em;
}
body[data-page] #productGrid .product-badge__icon { width: 13px; height: 13px; }
body[data-page] #productGrid .price { font-variant-numeric: tabular-nums; }
body[data-page] #productGrid .price b { color: #3d2923; letter-spacing: -.035em; }
body[data-page] :is(#productGrid, #productDetail) .product-quantity-control {
  border: 1px solid #b9a698;
  border-radius: 11px;
  color: var(--shop-ink);
  background: #fefcfb;
  box-shadow: inset 0 1px #fffefe;
}
body[data-page] .product-quantity-control button { color: #553e36; background: #ece5e0; }
body[data-page] .product-quantity-control button:not(:disabled):hover { background: #e0d5cd; }

body[data-page] #productGrid .add-button,
body[data-page] :is(.modal__panel, .cart-drawer) .button--green,
body[data-page] .cross-sell-card__add,
.page-catalog .filter-apply {
  border: 1px solid #c4b1a2;
  border-radius: 999px;
  background: var(--shop-button);
  color: #fefcfb;
  box-shadow: inset 0 1px #f4e6dc80, 0 2px 5px #4f393326;
}
body[data-page] #productGrid .add-button:not(:disabled):hover,
body[data-page] :is(.cart-drawer, .modal__panel) .button--green:not(:disabled):hover {
  background: linear-gradient(160deg, #7f5e44, #5f3d33);
}
body[data-page] :is(.cart-drawer, .modal__panel) .button--gold {
  color: #2f240f;
  border: 1px solid #b58e4d;
  background: linear-gradient(160deg, #f3dda0, #d6a456);
  box-shadow: inset 0 1px #fff1cd;
}
body[data-page] :is(#productGrid, .modal__panel, .cart-drawer) :focus-visible {
  outline: 2px solid #685647;
  outline-offset: -3px;
}
.page-catalog .catalog-filters :focus-visible,
body[data-page] .price-list-switch :focus-visible { outline: 2px solid #f5d995; outline-offset: 2px; }

body[data-page] :is(.drawer-backdrop, .modal__scrim) { background: #21120d9c; }
body[data-page] :is(.modal__panel, .cart-drawer) {
  color: var(--shop-ink);
  border: 1px solid #d4c8c0;
  background: radial-gradient(ellipse at top right, #e6ded92e, transparent 60%),
              linear-gradient(152deg, #fbf8efd1, #f3efecd9 60%, #ede9e5be);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px #fefdfd, 0 18px 64px #150a0670;
}
body[data-page] :is(.cart-drawer, .modal__panel) .eyebrow--dark { color: #6d5a4a; }
body[data-page] :is(.cart-drawer, .modal__panel) :is(.cash-note, .delivery-estimate, .checkout-address) {
  border-color: var(--shop-line);
  background: #f0ebe7;
}
body[data-page] :is(.cart-drawer, .modal__panel) :is(.cart-row, .drawer-head, .checkout-items, .cart-summary) {
  border-color: var(--shop-line);
}
body[data-page] .product-detail__image {
  background: linear-gradient(155deg, #e7e1dc, #fcf9f7 70%);
  border-color: #d2c6bc;
}
body[data-page] .product-detail__description {
  border-color: #d7ccc4;
  border-left-color: #9b816c;
  background: #f9f6f3;
}
body[data-page] .delivery-options label:has(input:checked) {
  background: #f1ebe6;
  border-color: #917763;
  box-shadow: inset 0 0 0 1px #917763;
}
body[data-page] .checkout-form :is(input:not([type="radio"]), textarea) { border-color: #c3b4a8; }
body[data-page] .checkout-form :is(input:not([type="radio"]), textarea):focus-visible {
  outline: 2px solid #8a715e;
  outline-offset: 1px;
}

@media (max-width: 700px) {
  body[data-page] #productGrid .product-card__bottom { padding-top: 7px; }
  body[data-page] .filter-toggle { min-height: 44px; }
  body[data-page] .weight-tier-pricing__item > small { font-size: 10px; }
  body[data-page] .weight-tier-pricing__item > em { font-size: 9px; }
}

/* All recommendations stay visible in the same reading order as the catalog. */
body[data-page="home"] #catalog #productGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
  align-items: stretch;
  gap: clamp(10px, 1.25vw, 18px);
  padding: 0;
  overflow: visible;
}
body[data-page="home"] #catalog #productGrid .product-card {
  min-width: 0;
  width: 100%;
  max-width: none;
}
body[data-page="home"] #catalog #productGrid .product-card__image {
  height: clamp(124px, 11vw, 165px);
  aspect-ratio: auto;
}
body[data-page="home"] #catalog #productGrid .product-card__body { padding: 10px 12px 12px; }
body[data-page="home"] #catalog #productGrid h3 { min-height: 0; margin: 0 0 6px; font-size: 15px; }
body[data-page="home"] #catalog #productGrid .product-card__summary { min-height: 0; margin-bottom: 7px; }
body[data-page="home"] #catalog #productGrid :is(.variant-picker > div, .weight-tier-pricing__grid) {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 76px), 1fr));
  gap: 4px;
}
body[data-page="home"] #catalog #productGrid :is(.variant-option, .weight-tier-pricing__item) {
  min-height: 44px;
  padding: 6px 4px;
}
body[data-page="home"] #catalog #productGrid .product-card__bottom { padding-top: 8px; gap: 5px; }
body[data-page="home"] #catalog #productGrid .price b { font-size: 21px; }
body[data-page="home"] #catalog #productGrid .product-purchase-controls {
  grid-template-columns: minmax(100px, .95fr) minmax(0, 1fr);
  gap: 5px;
}
body[data-page="home"] #catalog #productGrid .product-quantity-control {
  grid-template-columns: 30px minmax(0, 1fr) 30px;
}

@media (max-width: 900px) {
  body[data-page="home"] #catalog #productGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1320px) {
  body[data-page="home"] #catalog #productGrid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
  }
  body[data-page="home"] #catalog #productGrid .product-card__body { padding: 9px; }
  body[data-page="home"] #catalog #productGrid .product-purchase-controls {
    grid-template-columns: minmax(84px, .95fr) minmax(0, 1.05fr);
  }
  body[data-page="home"] #catalog #productGrid .product-quantity-control { grid-template-columns: 25px 1fr 25px; }
}
@media (max-width: 579px) {
  body[data-page="home"] #catalog #productGrid .product-card__body { padding: 8px; }
  body[data-page="home"] #catalog #productGrid .product-purchase-controls { grid-template-columns: minmax(0, 1fr); }
  body[data-page="home"] #catalog #productGrid .product-card__image { height: clamp(100px, 29vw, 152px); }
  body[data-page="home"] #catalog #productGrid h3 { font-size: 14px; }
  body[data-page="home"] #catalog #productGrid :is(.variant-picker > div, .weight-tier-pricing__grid) {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 60px), 1fr));
  }
}
@media (max-width: 359px) {
  body[data-page="home"] #catalog #productGrid { grid-template-columns: minmax(0, 1fr); }
  body[data-page="home"] #catalog #productGrid .product-purchase-controls { grid-template-columns: 1fr 1.1fr; }
}

/* Product detail: photography and a single, prominent purchase area. */
#productModal .product-modal {
  --detail-rim: #c9baaf4a;
  --detail-cream: #f5f2e6;
  --detail-muted: #d9cfc7;
  color: var(--detail-cream);
  width: min(1020px, 100%);
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid #d0c2b6b3;
  border-top-color: #e5d4a7c7;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 95% 0%, #d5af6522, transparent 38%),
    radial-gradient(ellipse at 0 0, #bfada038, transparent 57%),
    linear-gradient(140deg, #4c2e24bd, #351c14bd 70%, #53443899);
  backdrop-filter: blur(12px) saturate(1.15);
  box-shadow: inset 0 1px 5px #f6ebc626, 0 0 22px #c7ae9c40, 0 20px 75px #170c0885;
}
#productModal .modal__close {
  top: 12px;
  right: 12px;
  z-index: 4;
  border: 1px solid #bcaa9c8c;
  background: #44332e;
  color: var(--detail-cream);
}
#productDetail .product-detail {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  grid-template-areas: "media heading" "media buy" "description service";
  align-items: start;
  gap: clamp(16px, 2.1vw, 27px);
}
#productDetail .product-detail__heading { grid-area: heading; align-self: end; padding-right: 22px; }
#productDetail .product-detail__heading .product-card__category { color: #d7bd81; letter-spacing: .12em; font-size: 11px; }
#productDetail .product-detail__heading h2 {
  color: var(--detail-cream);
  font-size: clamp(23px, 2.4vw, 33px);
  line-height: 1.13;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
  margin: 6px 0 9px;
}
#productDetail .stock-note { color: #e1d9d3; margin: 0; font-size: 12px; }
#productDetail .stock-note::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  margin-right: 7px; background: #ceab6b; vertical-align: 1px;
}
#productDetail .stock-note[data-stock="available"]::before { background: #d7c0af; }
#productDetail .stock-note[data-stock="unavailable"]::before { background: #db947a; }
#productDetail .product-detail__media { grid-area: media; gap: 8px; }
#productDetail .product-detail__image {
  height: clamp(240px, 28vw, 355px);
  min-height: 0;
  border: 1px solid #e7ded870;
  border-radius: 20px 10px 16px 9px / 50px 10px 26px 9px;
  corner-shape: bevel round bevel round;
  background: radial-gradient(ellipse at 46% 30%, #f5f0e0b0, #e1d9d38c 70%, #d3c7be88);
  box-shadow: inset 0 1px #fefdfd8f;
}
#productDetail .product-gallery__thumb {
  width: 52px; height: 52px; padding: 3px; background: #4f3c36; border-color: #b6a29379;
}
#productDetail .product-gallery__thumb.is-active { border-color: #e4bd79; box-shadow: 0 0 0 1px #dab06d; }
#productDetail .product-detail__copy { grid-area: buy; min-width: 0; padding: 0; }
#productDetail .product-detail__price { margin: 0 0 12px; }
#productDetail .product-detail__price b { color: #fff8de; font-size: clamp(29px, 3vw, 39px); letter-spacing: -.045em; }
#productDetail .product-detail__price :is(del, small) { color: var(--detail-muted); }
#productDetail .product-detail__saving { color: #e9d8ca; }
#productModal #productDetail .product-detail__copy :is(.variant-picker > span, .weight-tier-pricing__title) {
  color: #e5ddd7; font-size: 11px; letter-spacing: .075em;
}
#productDetail :is(.variant-picker, .weight-tier-pricing) { width: 100%; max-width: none; margin: 12px 0; }
#productDetail .variant-picker > div, #productDetail .weight-tier-pricing__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 94px), 1fr)); gap: 6px;
}
#productDetail :is(.variant-option, .weight-tier-pricing__item) {
  min-width: 0; min-height: 48px; padding: 8px 6px;
}
#productDetail .detail-actions { display: flex; flex-wrap: nowrap; align-items: flex-end; gap: 8px; margin: 16px 0 0; }
#productDetail .detail-actions .product-purchase-controls {
  flex: 1 1 auto; min-width: 0;
  grid-template-columns: minmax(98px, .8fr) minmax(0, 1.4fr);
}
#productDetail .product-purchase-controls .product-purchase__unit-price { color: #dbd1ca; margin: 0; }
#productDetail .product-purchase-controls .product-purchase__unit-price b { color: #f7eed1; }
#productDetail .detail-actions .button--green {
  font-size: 14px; border-color: #d4c1b1; border-radius: 12px;
  background: linear-gradient(160deg, #8d6a4f, #644e3e);
}
#productDetail .detail-favorite { width: 44px; height: 44px; background: #44312b; color: #f4eee9; border-color: #a28a77; }
#productDetail .detail-favorite[aria-pressed="true"] { color: #f2cb8d; border-color: #d3ac69; }
#productDetail .product-detail__description,
#productDetail .product-detail__service {
  border: 0; border-top: 1px solid var(--detail-rim);
  border-radius: 0; background: transparent; padding: 17px 0 0; margin: 0;
  min-width: 0;
}
#productDetail .product-detail__description { grid-area: description; }
#productDetail .product-detail__description h3,
#productDetail .product-detail__service b,
#productDetail .cross-sell h3 { color: var(--detail-cream); }
#productDetail .product-detail__description :is(.product-description, .product-description p) {
  max-height: none; overflow: visible; color: var(--detail-muted); font-size: 14px; line-height: 1.55;
}
#productDetail .product-detail__description a, #productDetail .detail-info a {
  color: #f2d097; text-decoration: underline; text-underline-offset: 3px;
}
#productDetail .product-properties { color: var(--detail-muted); background: transparent; border-color: var(--detail-rim); }
#productDetail .product-properties :is(dt, dd) { color: var(--detail-muted); }
#productDetail .product-detail__service { grid-area: service; display: grid; align-content: start; gap: 12px; }
#productDetail .product-detail__service :is(.cash-note, .detail-info) {
  margin: 0; padding: 13px 15px; background: #e4d8cf0b; border: 1px solid var(--detail-rim); border-radius: 12px;
}
#productDetail .product-detail__service :is(small, p) { color: var(--detail-muted); font-size: 12px; line-height: 1.45; }
#productDetail .cross-sell { border-color: var(--detail-rim); }
#productDetail .cross-sell__heading :is(.eyebrow, span) { color: #d8ccc3; }
#productDetail .cross-sell__grid { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
#productDetail .cross-sell-card { color: #3f2e2a; }
#productModal :focus-visible { outline: 2px solid #e8bd70; outline-offset: 2px; }

@media (max-width: 700px) {
  #productModal { padding: 8px; }
  #productModal .product-modal { padding: 16px; border-radius: 18px; }
  #productDetail .product-detail {
    grid-template-areas: "heading" "media" "buy" "description" "service";
    grid-template-columns: minmax(0, 1fr); gap: 14px;
  }
  #productDetail .product-detail__heading { padding-right: 35px; }
  #productDetail .product-detail__heading h2 { font-size: clamp(21px, 5.5vw, 27px); }
  #productDetail .product-detail__image { height: clamp(125px, 25dvh, 225px); }
  #productDetail .product-gallery__thumb { width: 44px; height: 44px; }
  #productDetail .cross-sell__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  #productDetail .cross-sell__heading { margin-bottom: 10px; }
  #productDetail .detail-actions .product-quantity-control { grid-template-columns: 28px minmax(0, 1fr) 28px; }
}


#catalogMore[hidden] { display: none; }
@media (max-width: 760px), (max-width: 980px) and (pointer: coarse) {
  #catalogMore { margin: 1rem auto; display: block; }
  body[data-page] #productGrid .product-card__image .product-photo__ambient,
  #productDetail .cross-sell-card__image .product-photo__ambient { display: none; }
}
