:root{font:15px/1.5 system-ui,sans-serif;color:#231d16;background:#f5f1e8;--pine:#1b3028;--wine:#832e37;--gold:#dcb875;--linen:#fffdf6;--line:#dfd6c6;--muted:#635b50}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,select{font:inherit;color:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}a{color:inherit}:focus-visible{outline:3px solid #b57437;outline-offset:3px}.masthead{background:var(--pine);color:#f6ecd8}.mast-inner{max-width:1440px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:16px 32px}.brand{font:700 27px/1 Georgia,serif;letter-spacing:.04em}.masthead nav{display:flex;gap:24px}.masthead a,.page-foot a{font-size:13px;text-decoration:none}.masthead a:hover,.page-foot a:hover{text-decoration:underline}.preview{background:#e9e1d0;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:8px max(24px,calc((100vw - 1380px)/2));font-size:12px;color:#443b2e}.preview button,.results button,.detail-top button{border:1px solid #aa9b82;border-radius:4px;padding:5px 10px;background:transparent;white-space:nowrap}.preview button[aria-pressed=true]{color:#fff;background:var(--pine);border-color:var(--pine)}main{max-width:1440px;margin:auto;padding:24px 32px 54px}.eyebrow{text-transform:uppercase;letter-spacing:.14em;color:var(--gold);font-size:11px;font-weight:700;margin:0 0 12px}.catalog h2,.detail h2,dialog h2{font-family:Georgia,serif;font-weight:500;line-height:1.02;margin:0}.button{display:inline-flex;align-items:center;text-decoration:none;padding:10px 16px;border:1px solid transparent;border-radius:5px;font-weight:690;font-size:13px}.button.primary{background:var(--wine);color:#fff8e9}.button.primary:hover{background:#6e2730}.catalog{scroll-margin-top:12px;margin-top:31px}.section-top h2{font-size:clamp(28px,4vw,44px);letter-spacing:-.025em}.section-top p{color:var(--muted);margin:9px 0 19px;font-size:13px}.controls{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:11px}.controls label,#priceForm label{font-size:12px;font-weight:650;color:#4c4237}.controls input,.controls select,#priceForm input{display:block;width:100%;border:1px solid #c9bca9;border-radius:5px;background:var(--linen);padding:10px 11px;margin-top:4px;min-width:0}.type-list{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}.type-list button{border:1px solid #bcaf9a;background:var(--linen);padding:6px 11px;border-radius:30px;font-size:12px}.type-list button[aria-pressed=true]{background:var(--pine);border-color:var(--pine);color:#fff9e9}.results{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px;margin:0 0 9px;min-height:29px}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(218px,1fr));gap:16px}.card{display:flex;flex-direction:column;text-align:left;background:var(--linen);border:1px solid var(--line);border-radius:8px;padding:0;overflow:hidden;min-width:0}.card:hover{border-color:#98764d;box-shadow:0 5px 16px #3c362219}.card-image{background:#e9e5d9;width:100%;display:block;position:relative}.card-image img{height:207px;width:100%;display:block;object-fit:contain}.card-content{display:flex;flex-direction:column;align-items:start;gap:5px;padding:12px;width:100%;flex:1}.condition{font-size:11px;font-weight:670;padding:3px 8px;background:#e7ede1;color:#315043;border-radius:20px;display:inline-block}.condition[data-kind=worn],.condition[data-kind=damaged],.condition[data-kind=parts],.condition[data-kind=unknown]{background:#f1e3d0;color:#624520}.card-title{font:600 18px/1.18 Georgia,serif}.variant,.slot-label,.stock,.retail{font-size:12px;color:var(--muted)}.edit-tag{font-size:11px;color:var(--wine);margin-left:auto}.card-price{margin-top:auto;padding-top:7px}.sale{font-size:15px;font-weight:720;color:var(--wine)}.price-empty{font-size:13px;font-weight:680;color:#625349}.card-price .retail{display:block}.page-foot{display:flex;justify-content:space-between;gap:15px;background:var(--pine);color:#f3e9d5;padding:17px 32px;font-size:13px}.empty{grid-column:1/-1;color:var(--muted);border:1px dashed var(--line);padding:28px}.detail-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 13px;color:var(--muted);font-size:13px}dialog{width:min(1060px,95vw);max-height:92dvh;border:1px solid var(--line);border-radius:10px;background:var(--linen);padding:18px;color:#231d16}dialog::backdrop{background:#13261dc5}.detail-layout{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);gap:23px}.gallery>img{display:block;width:100%;height:min(47vh,520px);background:#eae6da;object-fit:contain;border-radius:6px}.gallery small{color:var(--muted);display:block;margin:6px 0}.thumbnails{display:flex;gap:6px;overflow:auto;padding:4px 0 9px}.thumbnails button{flex:none;border:1px solid var(--line);border-radius:4px;background:#eee9dd;padding:0}.thumbnails button[aria-pressed=true]{border:2px solid var(--wine)}.thumbnails img{display:block;width:55px;height:57px;object-fit:contain}.detail-content h2{font-size:clamp(25px,4vw,41px);margin:9px 0 7px}.detail-content p{margin:6px 0;font-size:13px;color:var(--muted)}#productStock{margin:12px 0}#productPrice{margin:14px 0}#priceForm{border-top:1px solid var(--line);padding-top:13px;margin-top:13px}#priceForm>div{display:flex;gap:7px;align-items:end}#priceForm input{max-width:150px}#priceForm button{white-space:nowrap}#priceMessage,#error{color:var(--wine)}
@media(max-width:850px){main{padding:17px 18px 44px}.mast-inner{padding-inline:18px}.grid{grid-template-columns:repeat(auto-fill,minmax(181px,1fr))}.card-image img{height:173px}.controls{grid-template-columns:repeat(3,minmax(0,1fr))}.controls .search{grid-column:1/-1}}
@media(max-width:530px){main{padding:12px 12px 38px}.mast-inner{padding:13px}.brand{font-size:23px}.masthead nav{gap:12px}.masthead a{font-size:12px}.preview{padding:7px 12px;line-height:1.3}.preview button{white-space:normal}.catalog{margin-top:24px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.card-image img{height:145px}.card-content{padding:9px}.card-title{font-size:16px}.controls{gap:6px}.controls select{padding-inline:5px;font-size:12px}.detail-layout{grid-template-columns:1fr;gap:12px}.gallery>img{height:36vh}.page-foot{padding-inline:14px}}#tabardOptions fieldset{padding:0;border:0;margin:12px 0}#tabardOptions legend{font-weight:700;margin-bottom:4px}#colors,#sizes{display:flex;gap:7px}.option{border:1px solid #c7bead;border-radius:7px;background:#fffdf6;min-height:44px;padding:6px 10px}.option[aria-pressed=true]{outline:2px solid #254733;background:#e5ecdf}.controls{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.controls .search{grid-column:auto}.card-image .condition{position:absolute;top:8px;left:8px;background:#fefff6;box-shadow:0 1px 5px #0002}.card-image img{height:auto;aspect-ratio:1;object-fit:contain}.type-list button{min-height:44px}.option img{display:block;width:100%;height:65px;object-fit:cover;object-position:center 27%;border-radius:3px}.option{font-size:13px}#colors .option{width:24%;padding:4px}#sizes .option{min-width:55px}#tabardOptions table{font-size:13px;text-align:left;border-collapse:collapse}#tabardOptions td,#tabardOptions th{padding:3px 10px 3px 0}#tabardOptions summary{cursor:pointer;padding:6px 0}.card-title{line-height:1.15}
@media(max-width:550px){.catalog{margin-top:16px}.type-list{gap:4px}.type-list button{padding:5px 9px}.card-content .variant{line-height:1.25}.controls .search{grid-column:auto}.controls input,.controls select{font-size:16px}.detail-layout{gap:6px}.gallery>img{height:25dvh}.section-top p:empty{display:none}}

.grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  isolation: isolate;
  border: 0;
  border-radius: 14px;
  background: #e9e5eb;
  color: white;
  box-shadow: 0 8px 24px rgb(29 19 36 / 11%);
}
.card:active { transform: scale(.985); }
.card:focus-visible { outline: 3px solid #f2b72c; outline-offset: 3px; }
.card-image { position: absolute; inset: 0; }
.card-image img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(19 12 24 / 5%), transparent 42%, rgb(19 12 24 / 24%) 60%, rgb(19 12 24 / 94%));
}
.card .equipment-icon {
  position: absolute;
  z-index: 1;
  inset: 8px 8px auto auto;
  display: block;
  width: clamp(26px, 8vw, 41px);
  height: clamp(31px, 9.5vw, 47px);
  background: center / contain no-repeat;
  filter: drop-shadow(0 3px 4px rgb(17 10 23 / 35%));
}
.card-image .condition {
  z-index: 1;
  top: 9px;
  left: 9px;
  max-width: calc(100% - 18px);
  padding: 5px 8px;
  background: rgb(239 251 247 / 96%);
  color: #095c52;
  font: 800 10px/1.1 system-ui, sans-serif;
  box-shadow: 0 3px 12px rgb(24 54 49 / 18%);
}
.card .remaining { display: inline; }
.card-content {
  position: absolute;
  inset: auto 0 0;
  padding: 10px 10px 11px;
  gap: 5px;
  color: white;
  text-shadow: 0 1px 5px rgb(10 5 14 / 65%);
}
.card-title {
  font: 700 17px/1.12 Georgia, serif;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.card-content .variant { color: #fff; font: 650 11px/1.2 system-ui, sans-serif; }
.card-content .stock, .card-price .retail { display: none; }
.card-price { margin: 0; padding: 0; }
.card-price .sale { color: white; font: 800 17px/1.1 system-ui, sans-serif; }
.card-price .price-empty { color: #f0eaf0; font: 650 12px/1.2 system-ui, sans-serif; }

@media (min-width: 760px) {
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(218px, 1fr));
    gap: clamp(14px, 1.5vw, 22px);
  }
  .card-content { padding: 14px 14px 15px; gap: 6px; }
  .card-title { font-size: 20px; }
  .card-content .variant { font-size: 13px; }
  .card-price .sale { font-size: 19px; }
}
@media (max-width: 360px) {
  .card:has(.equipment-icon) .remaining { display: none; }
}

/* Product quick view */
html:has(#detail[open]) { overflow: hidden; }
#detail {
  width: min(1020px, calc(100% - 40px));
  height: min(640px, calc(100dvh - 40px));
  max-width: none;
  max-height: none;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #fffdf7;
  color: #27271f;
  padding: 0;
  box-shadow: 0 25px 80px #0b1c1a55;
}
#detail::backdrop { background: #17251fba; }
#detail[open] {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
}
#detail .close-product {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid #aea99c;
  border-radius: 50%;
  background: #fffefa;
  color: #25372e;
  box-shadow: 0 2px 8px #17231d13;
}
.close-product span { position: relative; width: 20px; height: 20px; }
.close-product span::before, .close-product span::after {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
}
.close-product span::after { transform: rotate(-45deg); }
#detail .close-product:hover { background: #e8ede3; }
.detail-scroll { display: contents; }
.product-gallery {
  grid-area: 1 / 1 / 3 / 2;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #eeeae0;
}
.product-gallery figure { position: relative; flex: 1 1 0; min-height: 0; margin: 0; }
.product-gallery #detailImage { display: block; width: 100%; height: 100%; object-fit: contain; }
.product-gallery figcaption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 4px 9px;
  border-radius: 4px;
  background: #fffef7f5;
  color: #4a4b43;
  font-size: 12px;
}
.product-gallery .thumbnails {
  flex: 0 0 auto;
  min-width: 0;
  overflow-x: auto;
  gap: 8px;
  padding: 10px 12px;
}
.product-gallery .thumbnails button { border: 2px solid transparent; border-radius: 5px; }
.product-gallery .thumbnails button[aria-pressed=true] { border-color: #32483d; }
.product-gallery .thumbnails img { width: 52px; height: 52px; border-radius: 3px; }
.product-info {
  grid-area: 1 / 2 / 2 / 3;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: clamp(46px, 7vh, 84px) clamp(18px, 3vw, 42px) 16px;
  overscroll-behavior: contain;
}
.product-info h2 {
  margin: 9px 0 15px;
  font: 500 clamp(32px, 4.5vw, 56px)/1.02 Georgia, serif;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.product-info .condition { padding: 4px 10px; font-size: 12px; }
#productVariant, #productSource, #productStock, #priceForm p { margin: 6px 0; color: var(--muted); font-size: 14px; }
#productPrice .sale { display: block; color: #283c32; font-size: 21px; }
#productPrice .retail { display: block; margin-top: 3px; }
#tabardOptions fieldset { min-width: 0; margin: 19px 0 13px; padding: 0; border: 0; }
#tabardOptions legend {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 0 0 5px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
}
#colorName { color: var(--muted); font-weight: 500; }
#colors, #sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.color-choice {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 50%;
}
.color-choice::before {
  content: '';
  width: 31px;
  height: 31px;
  border: 1px solid #0003;
  border-radius: 50%;
  background: linear-gradient(105deg, var(--tone-a) 50%, var(--tone-b) 50%);
}
.color-choice[aria-pressed=true]::after {
  content: '';
  position: absolute;
  inset: 2px;
  border: 2px solid #273f32;
  border-radius: 50%;
}
.size-choice {
  min-width: 56px;
  min-height: 46px;
  border: 1px solid #bcb8aa;
  border-radius: 6px;
  background: #fffef9;
  font-size: 15px;
}
.size-choice[aria-pressed=true] { background: #233e31; color: #fff; border-color: #233e31; font-weight: 700; }
#tabardOptions .size-guide { margin: 4px 0 0; }
#tabardOptions .size-guide summary { display: list-item; width: fit-content; padding: 10px 0; color: #413f35; font-size: 13px; }
#tabardOptions .size-guide table { width: 100%; margin: 3px 0 10px; font-variant-numeric: tabular-nums; }
#tabardOptions .size-guide td, #tabardOptions .size-guide th { padding: 4px 6px 4px 0; border-bottom: 1px solid #e7e4da; }
.purchase {
  grid-area: 2 / 2 / 3 / 3;
  padding: 14px clamp(18px, 3vw, 42px) clamp(18px, 3vw, 32px);
  background: #fffdf7;
  border-top: 1px solid #e3ded1;
}
.buy-controls { display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: center; }
.quantity-picker { display: inline-flex; align-items: center; border: 1px solid #c5c1b4; border-radius: 7px; overflow: hidden; }
.quantity-picker button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 21px;
  line-height: 1;
}
.quantity-picker button:not(:disabled):hover { background: #e9ede3; }
.quantity-picker button:disabled { opacity: .38; cursor: default; }
.quantity-picker output { min-width: 20px; text-align: center; font-variant-numeric: tabular-nums; }
.buy-stock { text-align: right; color: #596356; font-size: 13px; }
#detail #addToCart {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 55px;
  justify-content: center;
  padding: 11px 14px;
  border: 0;
  border-radius: 8px;
  background: #7c2839;
  color: white;
  font: 720 16px/1.3 system-ui, sans-serif;
}
#detail #addToCart:not(:disabled):hover { background: #602033; }
#detail #addToCart:disabled { background: #d9dbd2; color: #4a5148; cursor: default; }
#cartFeedback { display: flex; gap: 12px; margin-top: 7px; align-items: baseline; justify-content: space-between; font-size: 13px; }
#cartMessage { margin: 0; color: #38513e; }
#openCart { white-space: nowrap; color: #234530; font-weight: 650; }
@media (max-height: 550px) and (min-width: 600px) {
  .product-info { padding-top: 16px; }
  .purchase { padding-top: 7px; padding-bottom: 9px; }
}
@media (max-width: 599px) {
  #detail {
    width: 100%;
    height: min(900px, 100dvh);
    margin: auto auto 0;
    border-radius: 12px 12px 0 0;
  }
  #detail[open] { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
  #detail .close-product { top: max(10px, env(safe-area-inset-top)); right: 10px; }
  .detail-scroll { display: block; overflow-y: auto; min-height: 0; overscroll-behavior: contain; }
  .product-gallery figure { flex: none; height: clamp(210px, 40dvh, 410px); }
  .product-gallery .thumbnails { padding: 6px 12px; }
  .product-gallery .thumbnails img { width: 44px; height: 44px; }
  .product-info { overflow: visible; padding: 17px 20px; }
  .product-info h2 { margin: 5px 0 10px; font-size: 35px; }
  #tabardOptions fieldset { margin: 10px 0; }
  .purchase { grid-area: 2 / 1; padding: 9px 14px max(10px, env(safe-area-inset-bottom)); }
  #detail #addToCart { min-height: 52px; }
}

/* Keep the product name and the Swedish variant on separate rows. */
.card-content .variant {
  display: block;
  font-size: .875rem;
  line-height: 1.22;
}
.condition-box {
  margin: 10px 0 15px;
  padding: 7px 12px;
  border: 1px solid #c6d2c8;
  border-radius: 8px;
  background: #eff4ed;
}
.condition-box summary { padding: 6px 0; cursor: pointer; font-weight: 700; }
.condition-box dl { margin: 4px 0 7px; display: grid; gap: 8px; }
.condition-box dl div { display: grid; grid-template-columns: minmax(78px, 108px) 1fr; gap: 8px; }
.condition-box dt { font-weight: 700; }
.condition-box dd { margin: 0; }
.horn-option {
  display: grid;
  grid-template-columns: auto 40px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 9px;
  padding: 9px;
  margin: 11px 0;
  border: 1px solid #c6d2c8;
  border-radius: 8px;
  background: #eff4ed;
}
.horn-option input { width: 18px; height: 18px; grid-row: span 2; }
.horn-option img { width: 40px; height: 44px; object-fit: contain; grid-row: span 2; border-radius: 4px; }
.horn-option small { color: #565d53; }

/* Keep search and the selected sort within reach as shoppers scroll. */
.sr-market {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.browse-search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 53px;
  background: #fffef9;
  border: 1px solid #b7b9ab;
  border-radius: 11px;
}
.browse-search:focus-within { border-color: #315247; outline: 2px solid #315247; }
.search-icon {
  position: relative;
  width: 13px;
  height: 13px;
  margin: 0 13px 0 16px;
  flex-shrink: 0;
  border: 1.8px solid #315247;
  border-radius: 50%;
}
.search-icon::after {
  content: '';
  position: absolute;
  left: 9px;
  top: 10px;
  width: 5px;
  height: 2px;
  transform: rotate(45deg);
  transform-origin: left;
  background: #315247;
}
.browse-search input {
  width: 100%;
  min-width: 0;
  min-height: 49px;
  padding: 0 8px 0 0;
  color: #20392e;
  background: transparent;
  border: 0;
  font: 16px system-ui, sans-serif;
  outline: none;
}
.browse-search input::-webkit-search-cancel-button { display: none; }
#clearSearch {
  width: 44px;
  min-height: 44px;
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: #31493d;
  font: 500 26px system-ui, sans-serif;
}
#results { scroll-margin-top: 12px; }
.browse-sheet {
  width: min(calc(100% - 24px), 410px);
  padding: 18px;
  color: #223a2e;
  background: #fffdf7;
  border: 0;
  border-radius: 16px;
}
.sort-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sort-head h2 { margin: 0; font: 500 27px Georgia, serif; }
.sheet-close {
  width: 44px;
  height: 44px;
  border: 1px solid #d3d7cb;
  background: #fffef9;
  color: #233d31;
  border-radius: 50%;
  font: 500 25px system-ui, sans-serif;
}
.browse-options { display: grid; gap: 6px; margin: 8px 0 0; }
.browse-options button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 49px;
  padding: 8px 14px;
  border: 1px solid #e1e2d7;
  border-radius: 8px;
  color: #233d31;
  background: #f7f5ed;
  text-align: left;
}
.browse-options button[aria-pressed=true] { border-color: #2e5542; background: #e8eee4; font-weight: 700; }
.browse-options button[aria-pressed=true]::after { content: '✓' / ''; }
.product-condition {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin: 12px 0;
  padding: 11px;
  border: 1px solid #d6dfd0;
  border-radius: 9px;
  background: #f0f3ea;
  font-size: 13px;
  color: #31493d;
}
.product-condition .condition { padding: 2px 0; border: 0; background: none; color: #234636; }
#productPrice .preview-price { color: #546358; font-size: 12px; }
#detail .product-gallery #expandPhoto {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.zoom-icon, .photo-arrow {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #c2c8b9;
  border-radius: 50%;
  background: #fffef8f5;
  color: #223a2e;
  font: 500 25px/1 system-ui, sans-serif;
}
.zoom-icon { right: 12px; bottom: 12px; }
.photo-arrow { top: 50%; transform: translateY(-50%); }
.photo-prev { left: 11px; }
.photo-next { right: 11px; }
#photoDialog {
  width: min(1550px, 100vw);
  height: 100dvh;
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #1c211d;
}
#photoDialog img { display: block; width: 100%; height: 100%; object-fit: contain; }
#photoDialog .close-product {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
}
#photoDialog .close-product::before, #photoDialog .close-product::after {
  content: '';
  position: absolute;
  top: 21px;
  left: 12px;
  width: 20px;
  height: 2px;
  background: #223a2e;
  transform: rotate(45deg);
}
#photoDialog .close-product::after { transform: rotate(-45deg); }
@media (max-width: 599px) {
  .browse-sheet {
    width: 100%;
    max-width: none;
    margin: auto auto 0;
    padding: 15px 15px max(18px, env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
  }
  #detail { height: 100dvh; max-height: none; border-radius: 0; }
  .product-gallery figure { height: clamp(290px, 59dvh, 630px); }
  .product-info { padding: 17px 16px 22px; }
  .product-info h2 { margin: 0 0 6px; font-size: 33px; }
  #productPrice { margin: 7px 0; }
  #detail .purchase { padding: 8px 12px max(9px, env(safe-area-inset-bottom)); }
  .buy-controls { grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
  .buy-stock { display: none; }
  #detail #addToCart { grid-column: 2; min-height: 52px; padding: 6px; font-size: 14px; }
  .quantity-picker button { width: 37px; }
}
@media (min-width: 600px) {
  #detail {
    width: min(1220px, calc(100vw - 36px));
    height: min(890px, calc(100dvh - 32px));
  }
  #detail[open] { grid-template-columns: minmax(0, 1.62fr) minmax(240px, 1fr); }
  .product-gallery { width: 100%; }
  .product-info h2 { margin-top: 0; }
}

#photoDialog .close-product {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #d0d4c8;
  border-radius: 50%;
  background: #fffdf7;
}
#photoDialog .close-product span { display: none; }

.market-intro {
  padding: clamp(20px, 3vw, 36px);
  background: #263e33;
  border-radius: 14px;
  color: #fff8e9;
}
.market-intro-kicker {
  margin: 0 0 8px;
  color: #f0d59b;
  font-size: .85rem;
  font-weight: 650;
  letter-spacing: .05em;
}
.market-intro h1 {
  margin: 0;
  font: 500 clamp(42px, 6vw, 72px)/1.02 Georgia, serif;
  letter-spacing: -.04em;
}
.market-intro-copy {
  max-width: 58ch;
  margin: 12px 0 0;
  color: #fff8e9;
  font-size: clamp(.95rem, 2vw, 1.12rem);
  line-height: 1.5;
}


.browse-dock {
  position: fixed;
  z-index: 4;
  bottom: max(10px, calc(env(safe-area-inset-bottom) + 8px));
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, minmax(69px, 1fr));
  gap: 4px;
  padding: 5px;
  border: 1px solid #c9d1c2;
  border-radius: 17px;
  background: #fffdf7;
  color: #244336;
  box-shadow: 0 5px 18px #182c2440;
}
.browse-dock button {
  position: relative;
  min-height: 52px;
  padding: 6px 9px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 5px;
  border: 0;
  border-radius: 12px;
  color: inherit;
  background: #eff3ea;
}
.browse-dock button:hover { background: #dee8db; }
.browse-dock button.active-filter::after {
  content: '';
  position: absolute;
  top: 7px;
  right: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8e3544;
}
.browse-dock small { font-size: 11px; font-weight: 700; }
.browse-dock .search-icon { margin: 0 4px 3px 0; }
.category-icon {
  width: 17px;
  height: 12px;
  border-block: 2px solid currentColor;
  background: linear-gradient(currentColor,currentColor) left center / 100% 2px no-repeat;
}
.sort-icon { font-size: 22px; line-height: 16px; }
#searchForm { display: grid; gap: 12px; margin-top: 12px; }
#showResults { min-height: 47px; justify-content: center; border-radius: 8px; }
.page-foot { padding-bottom: calc(89px + env(safe-area-inset-bottom)); }

.price-edit-toggle {
  display: block;
  min-height: 44px;
  margin-top: 13px;
  padding: 5px 9px;
  border: 0;
  background: transparent;
  color: #244336;
  text-decoration: underline;
}
.price-edit-toggle[aria-pressed=true] { font-weight: 750; }

#expandPhoto, #zoomImage { touch-action: pan-y; user-select: none; }
.photo-arrow {
  z-index: 2;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 0;
  color: transparent;
}
.photo-arrow::after {
  position: absolute;
  inset: 18px auto auto 18px;
  content: '';
  width: 10px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(-45deg);
  filter: drop-shadow(0 1px 2px #182323) drop-shadow(0 0 1px #182323);
}
.photo-prev::after { transform: rotate(135deg); }
.photo-arrow:hover::after { border-width: 0 3px 3px 0; }
.photo-arrow:focus-visible { outline-offset: -2px; }

/* A single paper surface from the masthead through the collection. */
:root { --paper: #fbfaf6; --ink: #23352e; }
body { background: var(--paper); color: var(--ink); padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
.masthead { background: var(--paper); color: var(--ink); }
.mast-inner {
  max-width: 1380px; margin-inline: auto; padding: 10px 26px;
  border-bottom: 1px solid #d8dcd3;
}
.brand { font-family: Georgia, serif; font-weight: 700; font-size: 24px; letter-spacing: -.05em; }
#cartLink { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 14px; }
.action-icon { display: block; width: 22px; height: 22px; flex: none; }
main { max-width: 1380px; padding: 0 26px 32px; }
.market-intro {
  padding: clamp(23px, 3.8vw, 54px) 0 clamp(15px, 2.4vw, 34px);
  background: transparent; border-radius: 0; color: var(--ink);
}
.market-intro-kicker { margin: 0 0 7px; color: #6d5545; letter-spacing: .025em; font-size: 13px; }
.market-intro h1 { color: #572b36; font-size: clamp(48px, 6vw, 78px); }
.market-intro-copy { margin-top: 8px; max-width: 65ch; color: #46524b; font-size: clamp(14px, 1.3vw, 16px); line-height: 1.44; }
#sortiment {
  margin-top: 0; display: grid; grid-template-columns: minmax(0,1fr) auto;
  align-items: start; column-gap: 12px; border-top: 1px solid #d8dcd3;
}
.section-top { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; padding: 17px 0 10px; }
.section-top h2 { font-size: clamp(20px, 2vw, 29px); line-height: 1.2; letter-spacing: -.025em; }
#resultCount { font-size: 12px; color: #57655d; white-space: nowrap; }
#filters { grid-column: 2; grid-row: 1; align-self: center; }
.condition-box { border: 0; padding: 0; margin: 0; border-radius: 0; background: none; }
.condition-box summary {
  min-height: 44px; padding: 0; display: inline-flex; align-items: center; gap: 5px;
  list-style: none; font: 500 13px/1.25 system-ui,sans-serif; cursor: pointer;
}
.condition-box summary::-webkit-details-marker { display:none; }
.condition-box .action-icon { width: 17px; height: 17px; }

.condition-box[open] { padding-bottom: 12px; }
.condition-box dl { font-size: 14px; }
.results, #products, #error { grid-column: 1 / -1; }
.results { min-height: 0; margin: 0; justify-content: flex-start; }
.results button { min-height: 44px; margin: -4px 0 5px; border: 0; background: transparent; text-decoration: underline; padding: 0; }
#products { gap: clamp(8px, 1.2vw, 16px); }
.card, .card:hover { box-shadow: none; }
.browse-dock {
  inset: auto 0 0; width: 100%; transform: none;
  display: flex; align-items: center; justify-content: center; gap: clamp(12px,4vw,52px);
  padding: 3px 12px max(3px,env(safe-area-inset-bottom));
  border: 0; border-top: 1px solid #dedfd8; border-radius: 0;
  background: #fffefa; color: #253e33; box-shadow: none;
}
.browse-dock button {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  min-height: 53px; min-width: 74px; gap: 3px; padding: 3px 8px;
  background: none; border: none; border-radius: 0; box-shadow: none;
}
.browse-dock button:hover, .browse-dock button:active { background: transparent; color: #893a4c; }
.browse-dock small { font: 550 11px/1.2 system-ui,sans-serif; }
.browse-dock .action-icon { width: 22px; height: 22px; }
.browse-dock button.active-filter { color: #833549; }
.browse-dock button.active-filter small { text-decoration: underline; text-underline-offset: 3px; }
.browse-dock button.active-filter::after { display: none; }
.browse-dock button:focus-visible, .browse-options button:focus-visible { outline: 2px solid #415c4c; outline-offset: -3px; }
.browse-sheet { background: var(--paper); padding: 16px 22px 18px; }
.sort-head h2 { font-size: 28px; letter-spacing: -.035em; }
.sheet-close { border: 0; background: transparent; font-size: 29px; }
.browse-options { gap: 0; }
.browse-options button, .browse-options button[aria-pressed=true] {
  min-height: 52px; padding: 10px 2px; border: 0; border-bottom: 1px solid #dbded4;
  border-radius: 0; background: transparent; box-shadow: none;
}
.browse-options button:last-child { border-bottom: 0; }
.browse-options button[aria-pressed=true] { color: #244832; }
.browse-options button:hover { color: #813348; }
.price-edit-toggle { padding: 0; color: #59675f; }
.browse-search { border: 0; border-radius: 0; border-bottom: 1px solid #7a887f; background: transparent; }
.browse-search .action-icon { margin-right: 9px; }
.browse-search:focus-within { outline: 0; border-bottom: 2px solid #36523e; }
.product-condition { align-items: baseline; padding: 8px 0 4px; gap: 6px 9px; border: 0; background: transparent; }
.product-condition .condition { font-weight: 750; }
.product-gallery figcaption { padding: 4px 7px; font-variant-numeric: tabular-nums; }
.page-foot { background: var(--paper); color: var(--ink); border-top: 1px solid #dedfd8; padding: 16px 26px; }
@media(max-width:599px) {
  .mast-inner { padding: 2px 14px; }
  .brand { font-size: 21px; }
  main { padding: 0 12px 22px; }
  .market-intro { padding: 20px 0 19px; }
  .section-top { gap: 4px 7px; padding: 12px 0 10px; }
  .section-top h2 { font-size: 21px; }
  .condition-box summary { font-size: 12px; }
  #resultCount { font-size: 11px; }
  .browse-sheet { padding: 14px 20px max(15px, env(safe-area-inset-bottom)); }
  .page-foot { padding: 14px; }
}
@media(max-width:360px) {
  #sortiment { column-gap: 5px; }
  .section-top { gap: 2px 5px; }
  .section-top h2 { font-size: 18px; }
  .condition-box summary { font-size: 11px; }
}

/* Current price leads visually; the reference stays legible against the photo. */
.card-price, #productPrice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  font-variant-numeric: tabular-nums;
}
.card-price .old-price, #productPrice .old-price {
  font: 550 13px/1.2 system-ui, sans-serif;
}
.old-price del { text-decoration-thickness: 1.5px; }
.card-price .old-price { color: #ffc2c6; text-shadow: 0 1px 3px #18131c; }
.card-price .sale {
  font: 800 clamp(22px, 2.3vw, 29px)/1.08 system-ui, sans-serif;
  color: #a9ffc2;
  text-shadow: 0 1px 4px #121c15;
}
#productPrice .old-price { color: #a34c59; }
#productPrice .sale { font: 800 28px/1.12 system-ui,sans-serif; color: #14663e; }

.public-head { position:sticky;top:0;z-index:12;background:#0b3558;color:white }
.public-head .mast-inner { display:flex;align-items:center;gap:16px;min-height:56px;padding-block:5px }
.public-head a { color:inherit;text-decoration:none }
.public-head .site-brand { margin-right:auto;font:700 clamp(17px,3.4vw,26px)/1.1 Georgia,serif }
.site-brand strong { color:#f5bf31 }
.public-head .site-nav { display:flex;align-items:center;gap:24px }
.public-head #cartLink { display:inline-flex;align-items:center;gap:6px;min-height:44px;color:white }
.site-menu { position:relative;display:none }
.site-menu summary { display:grid;place-items:center;min-width:44px;min-height:44px;list-style:none;cursor:pointer }
.site-menu summary::-webkit-details-marker {display:none}
.site-menu nav {position:absolute;right:0;top:100%;display:grid;background:#0b3558;padding:12px 20px;min-width:180px;box-shadow:0 4px 14px #0003}
.site-menu:not([open]) nav {display:none}
.site-menu nav a {padding:8px}
body:has(.public-head) .market-intro {position:relative;isolation:isolate;background:#0b3558;color:white;overflow:hidden;margin-block:12px;padding:clamp(22px,5vw,64px);border-radius:12px}
.hero-film {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
body:has(.public-head) .market-intro::before {content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#071e32f2,#071e32a8 62%,#071e3233)}
body:has(.public-head) .market-intro p,body:has(.public-head) .market-intro h1 {color:white}
#heroMotion {position:absolute;right:10px;bottom:6px;color:white;background:#102c43d9;border:0;border-radius:6px;padding:5px 9px;font-size:11px}
#filters {align-self:start;position:relative;z-index:2;margin-top:5px}
.condition-box[open] {padding-bottom:0}
.condition-box dl {position:absolute;top:100%;right:0;width:min(290px,82vw);margin:0;padding:16px;background:#fffdf7;border:1px solid #d8dcd3;border-radius:10px;box-shadow:0 8px 25px #0002}
#stockSummary {display:block;flex-basis:100%;margin:0;font-size:13px;color:#365646}
.card-stock {font-size:12px;font-weight:650;color:#365646}
.card.sold-out .card-image img {filter:grayscale(1);opacity:.58}
.sold-out .card-stock {color:#594e48}
.empty-choice {opacity:.65;text-decoration:line-through}
#sortiment {scroll-margin-top:70px}
@media(max-width:760px){.public-head .site-nav{display:none}.site-menu{display:block}.public-head .mast-inner{gap:5px}.public-head .market-intro-copy{max-width:95%}}

.card .card-stock{color:#fff;font:650 12px/1.25 system-ui,sans-serif;text-shadow:0 1px 3px #16121c}.card.sold-out .card-stock{color:#eee}.card.sold-out .sale{color:#eee}
@media(max-width:760px){
  #purchase .buy-stock {display:block;grid-column:1 / -1;grid-row:1;text-align:left;font-size:13px;font-weight:650;color:#315641}
  #purchase .quantity-picker {grid-column:1;grid-row:2}
  #purchase #addToCart {grid-column:2;grid-row:2}
}

/* Stock belongs to the existing condition label, leaving the price area clear. */
.card .condition {display:inline-flex;align-items:center;gap:.4em}
.card .condition .card-stock {font:inherit;color:inherit;text-shadow:none;white-space:nowrap}
.card .condition .card-stock::before {content:'·';margin-right:.4em}
.public-head #cartLink {
  justify-content:center; gap:5px; min-width:44px; padding-inline:4px;
  color:#f5bf31; background:transparent; text-decoration:none;
}
.public-head #cartLink svg {width:23px;height:23px}
.public-head #cartCount {font:700 15px/1 system-ui,sans-serif;font-variant-numeric:tabular-nums}
.public-head #cartLink:focus-visible {outline:2px solid #f5bf31;outline-offset:1px}
#purchase #cartFeedback {border-left:4px solid #36775b;background:#e5f1e6;padding:11px 13px;border-radius:6px;margin:0 0 9px;align-items:center}
#purchase #cartMessage {font-weight:700;color:#1b513b}
#purchase #cartFeedback[data-state=notice] {border-color:#b58c3a;background:#fff3d8}
#purchase #openCart {display:flex;justify-content:center;align-items:center;gap:7px;min-height:49px;background:#0b3558;border:1px solid #0b3558;color:white;text-decoration:none;font-weight:750;border-radius:7px;grid-column:1/-1}
#purchase #buyStock {font-variant-numeric:tabular-nums}
body:has(.public-head) .market-intro {display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-height:clamp(260px,27vw,360px);padding:clamp(24px,4vw,62px);background:#0c314a}
.market-intro .hero-film {right:0;left:auto;width:53%;height:100%;z-index:0;object-fit:cover;object-position:50% 46%}
body:has(.public-head) .market-intro::before {z-index:1;background:linear-gradient(115deg,#0b304b,#1a5365);width:59%;clip-path:polygon(0 0,86% 0,100% 100%,0 100%)}
body:has(.public-head) .market-intro :is(h1,p) {position:relative;z-index:2;width:47%;max-width:45ch}
body:has(.public-head) .market-intro-kicker {color:#f5c655}
.market-intro .christmas-delivery {margin:12px 0 0;font-weight:700}
@media(max-width:760px) {
  .public-head {width:100%}
  body:has(.public-head) main {padding-inline:0}
  body:has(.public-head) .catalog {margin-inline:12px}
  body:has(.public-head) .market-intro {border-radius:0;margin:0 0 14px;padding:112px 16px 18px;min-height:284px;justify-content:flex-end}
  .market-intro .hero-film {inset:0;width:100%;height:100%;object-position:50% 33%}
  body:has(.public-head) .market-intro::before {width:100%;clip-path:none;background:linear-gradient(0deg,#09273dfc 4%,#0b2a41e8 35%,#0b2a4170 65%,#0b2a4100 100%)}
  body:has(.public-head) .market-intro :is(h1,p) {width:100%;max-width:43ch}
  body:has(.public-head) .market-intro h1 {font-size:46px}
  .market-intro .christmas-delivery {margin-top:7px;font-size:14px}
  #purchase #openCart {grid-column:2;grid-row:2}
}
@media(max-width:360px) {.public-head .mast-inner{padding-inline:8px}}

.market-intro-copywrap {position:relative;z-index:2;width:100%}
@media (min-width:761px) {
  .public-head {
    background:linear-gradient(90deg,#0c2946,#091e33 54%,#0b243e);
    border-bottom:1px solid #29435a;
  }
  .public-head .mast-inner {
    width:min(calc(100% - 48px),1120px);max-width:none;min-height:62px;margin-inline:auto;padding:8px 0;gap:16px;
  }
  .public-head .site-brand {font:700 23px/1.1 Georgia,serif;white-space:nowrap}
  .public-head .site-nav {gap:clamp(12px,1.6vw,26px)}
  .public-head .site-nav a {display:inline-flex;align-items:center;min-height:44px;font:700 14px/1.2 system-ui,sans-serif}
  .public-head .site-nav a:last-child {padding:0 19px;background:#087569;color:white;border-radius:999px}
  body:has(.public-head) main {width:100%;max-width:none;padding:0 0 32px;margin:0}
  body:has(.public-head) .catalog {max-width:1328px;width:calc(100% - 52px);margin-inline:auto}
  body:has(.public-head) .market-intro {
    margin:0 0 18px;border-radius:0;min-height:clamp(350px,46vh,520px);
    padding:56px 0;background:#0b2941;justify-content:center;
  }
  .market-intro .hero-film {inset:0;width:100%;height:100%;object-fit:cover;object-position:center 23%}
  body:has(.public-head) .market-intro::before {
    inset:0;width:100%;clip-path:none;
    background:linear-gradient(90deg,rgba(5,18,28,.84) 0%,rgba(5,20,31,.73) 30%,rgba(6,22,32,.24) 57%,rgba(9,25,36,.08));
  }
  .market-intro-copywrap {width:min(calc(100% - 48px),1120px);margin-inline:auto}
  body:has(.public-head) .market-intro :is(h1,p) {width:auto;max-width:min(37vw,500px)}
  body:has(.public-head) .market-intro .market-intro-kicker {margin:0 0 10px;font:800 13px/1.3 system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#f5c75f}
  body:has(.public-head) .market-intro h1 {margin:0 0 14px;font:700 clamp(42px,3.5vw,64px)/1.04 Georgia,serif;letter-spacing:-.025em}
  body:has(.public-head) .market-intro-copy {margin:0;font:600 clamp(16px,1.25vw,20px)/1.45 system-ui,sans-serif}
  body:has(.public-head) .christmas-delivery {margin-top:14px;color:#ffe4a1;font-size:15px}
}

/* The seasonal heading and catalogue share a single left edge. */
body:has(.public-head) .market-heading {
  width:100%; margin:0; padding:0;
  background:linear-gradient(110deg,#123833 0%,#1c473c 64%,#17392f 100%);
  color:#fff9ec; border-bottom:2px solid #bf9b58;
}
.market-heading__inner {
  width:min(calc(100% - 52px),1328px); margin:auto; padding:clamp(21px,2.3vw,34px) 0;
  display:grid; grid-template-columns:minmax(245px,.78fr) minmax(0,1.22fr);
  align-items:center; gap:clamp(24px,4vw,66px);
}
.market-heading .heading-kicker {
  margin:0 0 6px; color:#f4d58f; font:750 11px/1.3 system-ui,sans-serif;
  letter-spacing:.12em; text-transform:uppercase;
}
.market-heading h1 {
  margin:0; color:#fff9ec; font:700 clamp(40px,3.8vw,60px)/1.04 Georgia,serif;
  letter-spacing:-.035em;
}
.market-heading__details {padding-left:clamp(20px,3vw,44px);border-left:1px solid #769383}
.market-heading .heading-copy {max-width:57ch;margin:0;color:#eef5ef;font:450 16px/1.5 system-ui,sans-serif}
body:has(.public-head) .market-heading .christmas-delivery {
  display:flex;align-items:center;gap:8px;margin:8px 0 0;color:#fff0c5;font:650 14px/1.4 system-ui,sans-serif;
}
.market-heading .christmas-delivery svg {width:18px;height:18px;flex-shrink:0;color:#f3cf82}
body:has(.public-head) .catalog {border-top:0}
body:has(.public-head) .section-top {align-items:center;gap:18px; padding:18px 0 13px}
body:has(.public-head) .section-top h2 {margin:0;font:650 clamp(22px,2vw,29px)/1.16 Georgia,serif;color:#203b31}
.market-counts {display:flex;align-items:center;flex-wrap:wrap;gap:4px 9px}
body:has(.public-head) .market-counts :is(#resultCount,#stockSummary) {
  display:inline; flex:none; padding:0; margin:0; color:#46574c;font:550 13px/1.4 system-ui,sans-serif;
}
.market-counts #resultCount:not(:empty) + #stockSummary::before {content:"";display:inline-block;width:3px;height:3px;border-radius:50%;vertical-align:middle;margin:0 9px 2px 0;background:#768579}
body:has(.public-head) #filters {align-self:center;margin-top:0}
@media(max-width:760px) {
  .market-heading__inner {display:block;width:calc(100% - 28px);padding:17px 0 16px}
  .market-heading .heading-kicker {font-size:10px;margin-bottom:3px}
  .market-heading h1 {font-size:clamp(36px,9vw,47px)}
  .market-heading__details {margin-top:8px;padding:0;border:0}
  .market-heading .heading-copy {max-width:52ch;font-size:14px;line-height:1.42}
  body:has(.public-head) .market-heading .christmas-delivery {font-size:13px;margin-top:6px}
  body:has(.public-head) .section-top {display:contents}
  body:has(.public-head) .section-top h2 {grid-column:1;grid-row:1;align-self:center;padding-top:5px}
  body:has(.public-head) #filters {padding-top:5px}
  .market-counts {grid-column:1/-1;grid-row:2;margin:0 0 11px}
  body:has(.public-head) .market-counts :is(#resultCount,#stockSummary){font-size:12px}
}

@media(max-width:360px) {
  .market-heading__inner {padding:13px 0}
  .market-heading__details {margin-top:6px}
  body:has(.public-head) .market-heading .christmas-delivery {font-size:12px}
}

/* Sold-out equipment remains browsable, including the full-size gallery. */
.sold-stamp {
  position:absolute; z-index:2; top:44%; left:50%; transform:translate(-50%,-50%) rotate(-8deg);
  padding:.42em .62em .4em; border:2px solid #741f37; outline:3px solid #fbf1de;
  background:#fbf1de; color:#741f37; box-shadow:0 3px 10px #251b1773; text-shadow:none;
  font:850 clamp(18px,2.4vw,30px)/1 system-ui,sans-serif; letter-spacing:.055em;
  text-transform:uppercase; white-space:nowrap; pointer-events:none; user-select:none;
}
.photo-stamp {display:none}
.market-sold-out .photo-stamp {display:block}
.public-head ~ main .card.sold-out .card-image img {filter:saturate(.32);opacity:1}
.public-head ~ main .card.sold-out .card-price .sale {color:#fff;font-size:18px}
.public-head ~ main .card.sold-out .old-price {color:#e3dbd6}
#photoDialog.market-sold-out .sold-stamp {font-size:clamp(24px,4vw,48px);top:50%}
.sold-notice {margin:14px 0;padding:12px 14px;border:1px solid #ddc6aa;background:#faf4e9;color:#581b2c;border-radius:6px}
.sold-notice strong {display:inline-block;padding:2px 6px;border:2px solid #741f37;color:#741f37;font:800 18px/1.15 system-ui,sans-serif;letter-spacing:.045em;text-transform:uppercase}
.sold-notice p {margin:6px 0 0;font:500 14px/1.4 system-ui,sans-serif}
#backToMarket {width:100%;min-height:46px;border:1px solid #aebdaf;border-radius:7px;background:#fffdf7;color:#18372f;padding:9px 12px;font-weight:650}
#backToMarket:hover {background:#edf3eb}
#backToMarket:focus-visible {outline:3px solid #985a13;outline-offset:2px}
#detail.market-sold-out #productPrice .sale {color:#425047;font-size:18px}
@media(max-width:599px){#detail.market-sold-out .product-gallery figure{height:clamp(175px,36dvh,365px)}}
