/* Product details only: the retail characteristics and technology accordions. */
.product-detail .detail-earnings { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 24px 0 0; padding: 20px 0; border-top: 1px solid #dedede; font-size: 13px; }
.product-detail .detail-earnings strong { font-size: 20px; font-weight: 500; letter-spacing: -.03em; white-space: nowrap; }
.product-information { margin-top: 24px; border-bottom: 1px solid #dedede; }
.detail-accordion { border-top: 1px solid #dedede; }
.detail-accordion h3, .detail-tech-item h4 { margin: 0; font: inherit; }
.detail-accordion-toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 60px; padding: 24px 0; text-align: left; }
.detail-accordion-toggle > span:first-child { font-size: 11px; font-weight: 500; letter-spacing: .22em; line-height: 1.1; text-transform: uppercase; }
.detail-accordion-plus { flex: none; font-size: 18px; font-weight: 300; line-height: 1; color: #737373; transition: transform .2s ease; }
.detail-accordion-toggle[aria-expanded=true] .detail-accordion-plus { transform: rotate(45deg); }
.detail-accordion-panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .24s ease, opacity .2s ease; }
.detail-accordion-panel[aria-hidden=false] { grid-template-rows: 1fr; opacity: 1; }
.detail-accordion-clip { min-height: 0; overflow: hidden; }
.detail-accordion-content { padding-bottom: 30px; }
.product-spec-list { display: grid; gap: 14px; margin: 0; }
.product-spec-list > div { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 24px; }
.product-spec-list dt { color: #808080; font-size: 11px; line-height: 1.6; letter-spacing: .08em; text-transform: uppercase; }
.product-spec-list dd { min-width: 0; margin: 0; color: #202020; font-size: 13px; line-height: 1.6; }
.technology-actions { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.technology-actions button { padding: 0 0 2px; border-bottom: 1px solid #999; font-size: 10.5px; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; color: #777; }
.detail-tech-item { border-top: 1px solid #e2e2e2; }
.detail-tech-toggle { display: flex; align-items: center; gap: 14px; width: 100%; padding: 17px 0; text-align: left; }
.detail-tech-number { flex: 0 0 22px; color: #999; font-family: ui-monospace, monospace; font-size: 11px; }
.detail-tech-title { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 500; line-height: 1.35; }
.detail-tech-question { flex: 0 0 20px; display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid #999; border-radius: 50%; font-size: 11px; font-weight: 600; line-height: 1; color: #777; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.detail-tech-toggle[aria-expanded=true] .detail-tech-question { color: #fff; border-color: #202020; background: #202020; }
.detail-tech-description { padding: 0 0 18px; color: #494949; font-size: 13.5px; font-weight: 500; line-height: 1.6; }
@media (max-width:740px) {
  .detail-accordion-toggle { padding: 20px 0; }
  .detail-accordion-plus { font-size: 16px; }
  .detail-accordion-content { padding-bottom: 22px; }
  .detail-tech-toggle { padding: 15px 0; }
  .detail-tech-description { padding-bottom: 16px; }
}

/* A single compact price group and one cart action. */
.product-detail .stock-status { margin: 12px 0 18px; }
.detail-pricing { padding: 16px 18px; margin: 0 0 20px; border: 1px solid #e9e9eb; border-radius: 14px; background: #f7f7f8; }
.product-detail .detail-pricing .prices { margin: 0; gap: 18px; padding: 0; }
.detail-pricing .price-col { flex: 1; min-width: 0; }
.detail-pricing .price-col span { font-size: 12px; color: #737373; }
.detail-pricing .price-col strong { font-size: 25px; font-weight: 600; line-height: 1.35; margin-top: 5px; letter-spacing: -.035em; white-space: nowrap; }
.detail-pricing .price-col.retail { text-align: right; }
.detail-pricing .price-col.retail strong { color: #555; font-size: 22px; font-weight: 450; }
.product-detail .detail-pricing .detail-earnings { margin: 12px 0 0; padding: 12px 0 0; gap: 10px; font-size: 13px; border-top: 1px solid #dedee1; }
.product-detail .detail-pricing .detail-earnings strong { font-size: 22px; font-weight: 600; }
.detail-order > .button { width: 100%; border-radius: 10px; }
.detail-cart-quantity { display: flex; width: 100%; align-items: center; justify-content: space-between; background: #22272b; color: white; border-radius: 10px; min-height: 46px; }
.detail-cart-quantity button { width: 56px; min-height: 46px; font-size: 24px; font-weight: 400; }
.detail-cart-quantity button:disabled { opacity: .35; }
.detail-cart-quantity span { font-size: 16px; font-variant-numeric: tabular-nums; }
.catalog-minimum-track > span { transition: width .7s cubic-bezier(.22,.7,.2,1); }
@media (max-width:740px) {
  .detail-pricing { padding: 14px; margin-bottom: 16px; }
  .detail-pricing .price-col strong { font-size: 24px; }
  .detail-pricing .price-col.retail strong { font-size: 21px; }
  .product-detail .detail-pricing .detail-earnings strong { font-size: 21px; }
}
@media (prefers-reduced-motion:reduce) { .catalog-minimum-track > span { transition: none; } }

/* Final order review before dispatch. */
.order-review { max-width: 720px; margin: 0 auto; padding: 8px 0 36px; }
.review-intro { text-align: center; padding: 20px 0 30px; }
.review-intro h1 { font-size: clamp(28px,5vw,38px); letter-spacing: -.04em; line-height: 1.15; margin: 12px 0 16px; }
.review-intro > p:not(.eyebrow) { max-width: 460px; margin: 0 auto; font-size: 14px; line-height: 1.6; color: #676767; }
.review-countdown { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 24px 0 14px; }
#reviewClock { font-size: 48px; line-height: 1.1; font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
#reviewClockLabel { font-size: 12px; color: #737373; }
.review-time-track { max-width: 240px; height: 3px; margin: 0 auto 24px; border-radius: 2px; overflow: hidden; background: #e9e9e9; }
.review-time-track span { display: block; height: 100%; width: 100%; background: #222; transition: width .25s linear; }
.review-intro > .button { min-width: 220px; }
.review-intro > .review-keep-open { font-size: 11px!important; margin-top: 12px!important; }
.review-contact { padding: 22px 0; border-top: 1px solid #dedede; }
.review-contact h2, .review-items h2 { font-size: 20px; font-weight: 500; letter-spacing: -.025em; margin-bottom: 18px; }
.review-contact dl { margin: 0; display: grid; gap: 10px; }
.review-contact dl > div { display: grid; grid-template-columns: 95px minmax(0,1fr); gap: 16px; font-size: 13px; line-height: 1.5; }
.review-contact dt { color: #737373; }
.review-contact dd { margin: 0; overflow-wrap: anywhere; }
.review-totals { border-top: 1px solid #dedede; border-bottom: 1px solid #dedede; padding: 18px 0; display: grid; gap: 12px; }
.review-totals > div { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; }
.review-totals strong { font-weight: 500; }
.review-totals .review-total { font-size: 20px; }
.review-items { margin-top: 28px; text-align: left; }
.review-item { display: grid; grid-template-columns: 88px minmax(0,1fr) auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid #e5e5e5; align-items: center; }
.review-item img { width: 88px; height: 100px; object-fit: contain; border-radius: 8px; background: #f5f5f6; }
.review-item h3 { font-size: 15px; font-weight: 500; line-height: 1.35; margin-bottom: 7px; }
.review-item p { font-size: 12px; line-height: 1.5; color: #737373; margin: 3px 0 0; }
.review-item > strong { font-weight: 500; font-size: 14px; white-space: nowrap; }
.success-view .review-items { margin: 28px 0; }
@media (max-width:740px) {
  .review-intro { padding-top: 12px; }
  .review-item { grid-template-columns: 72px minmax(0,1fr); column-gap: 14px; row-gap: 4px; }
  .review-item img { width: 72px; height: 90px; grid-row: span 2; }
  .review-item > strong { grid-column: 2; }
  .review-item p { font-size: 11px; }
}
@media (prefers-reduced-motion:reduce) { .review-time-track span { transition: none; } }

#reviewTitle:focus { outline: none; }

/* Jacket catalog: complete size runs and their prices. */
.product-card .card-run { margin: 8px 0 10px; color: #565b63; font-size: 11px; line-height: 1.45; }
.product-card .card-color { display: block; overflow: hidden; margin: 0 0 5px; color: #656b71; font-size: 11px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.product-detail .detail-color { margin: 7px 0 0; color: #555b61; font-size: 13px; line-height: 1.5; }
.detail-run-price { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 15px; padding-top: 14px; border-top: 1px solid #dedee1; font-size: 12px; line-height: 1.5; }
.detail-run-price span { color: #555b61; }
.detail-run-price strong { flex: none; font-size: 18px; white-space: nowrap; }
.size-run-choices { margin: 20px 0; }
.size-run-choices h3 { margin: 0 0 9px; font-size: 13px; font-weight: 600; }
.size-run-choice { display: flex; justify-content: space-between; gap: 16px; width: 100%; padding: 11px 13px; margin: 0 0 7px; border: 1px solid #dfe2e4; border-radius: 10px; text-align: left; }
.size-run-choice[aria-pressed="true"] { border-color: #252c32; background: #f4f6f7; }
.size-run-choice > span { display: grid; gap: 4px; }
.size-run-choice > span:last-child { text-align: right; white-space: nowrap; }
.size-run-choice small { color: #6e7378; font-size: 11px; }
.cart-line-unit { margin-top: 6px; font-size: 12px; color: #5e6469; }
.stock-filter[hidden] { display: none !important; }
.product-card .card-stock::before { background: #a9adb2; }
@media (max-width:740px) {
  .product-card .card-run { font-size: 10px; margin: 1px 0; }
  .product-card .card-color { max-width: 100%; margin: 0; font-size: 9px; }
  .detail-run-price { flex-wrap: wrap; }
}

/* One consistent accent for potential earnings throughout the order. */
:root { --profit-ink: #237447; --profit-soft: #edf5ef; }
.profit-accent,
.success-data .profit-accent span,
.product-detail .detail-earnings,
.earnings-top,
.product-card .card-economics .card-metric:first-child,
.product-card .card-economics .card-metric:first-child strong,
.product-card .card-economics .card-metric:first-child .metric-label { color: var(--profit-ink); }
.product-detail .detail-pricing .detail-earnings { background: var(--profit-soft); padding: 11px 12px; margin: 12px -5px -5px; border: 0; border-radius: 8px; }
.summary-earnings .earnings-top { background: var(--profit-soft); border-radius: 8px; padding: 12px; }
.cart-line-total small.profit-accent { color: var(--profit-ink); }
.minimum-order-totals { display: flex; flex-direction: column; gap: 3px; align-items: flex-end; }
#minimumProfit { color: var(--profit-ink); font-size: 11px; line-height: 1.4; white-space: nowrap; }
#minimumProfit strong { font-weight: 650; font-variant-numeric: tabular-nums; }
.review-totals .review-profit { background: var(--profit-soft); padding: 12px; border-radius: 8px; align-items: baseline; }
.review-profit strong { font-size: 20px; }
.review-profit-note { color: #737373; font-size: 11px; line-height: 1.5; margin: 0; }
@media (max-width:740px) {
  .catalog-minimum-inner { column-gap: 8px; }
  .minimum-total { padding-left: 9px; }
  #minimumProfit { font-size: 10px; }
}

/* Jacket detail card: large catalog photo and clear size-run economics. */
.product-dialog { width: min(1280px,calc(100vw - 32px)); border-radius: 28px; max-height: calc(100dvh - 32px); }
.product-dialog-layout { grid-template-columns: minmax(0,1.03fr) minmax(0,.97fr); gap: clamp(24px,3vw,42px); padding: 28px; max-height: calc(100dvh - 32px); overflow-x: hidden; }
.product-dialog .dialog-close { top: 22px; right: 22px; border-radius: 50%; box-shadow: 0 2px 14px #10182814; }
.product-dialog .product-gallery { position: sticky; top: 0; align-self: start; background: none; }
.product-dialog .gallery-stage { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 24px; background: radial-gradient(circle at 50% 45%,#fff 0,#f4f5f6 76%); }
.product-dialog .gallery-stage .gallery-photo-trigger img { object-fit: contain; mix-blend-mode: multiply; }
.product-dialog .gallery-stage .gallery-photo-trigger img.landscape-photo { transform: scale(1.3); }
.product-dialog .gallery-stage .card-favorite { display: grid; place-items: center; position: absolute; z-index: 2; top: 22px; right: 22px; width: 52px; height: 52px; padding: 0; border: 1px solid #dfe2e6; border-radius: 50%; background: #fff; box-shadow: 0 4px 18px #11182712; color: #111827; }
.product-dialog .gallery-stage .card-favorite svg { width: 26px; height: 26px; }
.product-dialog .gallery-stage .card-favorite[aria-pressed=true] svg { fill: #172d5a; stroke: #172d5a; }
.product-dialog .gallery-arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #e4e6e9; background: #fffe; box-shadow: 0 2px 10px #10182814; font-size: 25px; line-height: 1; opacity: .72; }
.product-dialog .gallery-arrow:hover,.product-dialog .gallery-arrow:focus-visible { opacity: 1; }
.product-dialog .gallery-arrow.prev { left: 12px; }
.product-dialog .gallery-arrow.next { right: 12px; }
.product-dialog .gallery-count { right: 18px; bottom: 16px; padding: 5px 9px; border-radius: 20px; color: #4b5563; background: #fffd; }
.product-dialog .product-detail { min-width: 0; padding: 48px 8px 8px 0; }
.product-dialog .product-detail .eyebrow { margin: 0 0 8px; color: #6b7280; }
.product-dialog .product-detail h2 { max-width: 88%; font-size: clamp(28px,2.7vw,36px); line-height: 1.16; font-weight: 650; letter-spacing: -.04em; }
.product-dialog .detail-color { margin: 8px 0 0; color: #6b7280; font-size: 14px; }
.detail-availability { padding: 25px 0 24px; margin-bottom: 26px; border-bottom: 1px solid #dce0e5; }
.product-dialog .stock-status { margin: 0 0 8px; color: #4b5563; font-size: clamp(16px,1.7vw,21px); font-weight: 700; }
.product-dialog .stock-status::before { flex: none; width: 10px; height: 10px; margin-right: 5px; background: #a8afb7; }
.detail-size-summary { margin: 0; color: #5c6370; font-size: clamp(13px,1.3vw,17px); line-height: 1.5; }
.product-dialog .size-run-choices { margin: -8px 0 22px; }
.detail-unit-prices { margin: 0 0 20px; }
.detail-price-heading { margin: 0 0 12px; color: #626b77; font-size: 14px; font-weight: 750; letter-spacing: .045em; text-transform: uppercase; }
.detail-price-card { padding: 4px 18px; border-radius: 22px; background: linear-gradient(125deg,#f5f6f8,#f9fafb 55%,#f4f5f7); }
.detail-price-row { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 14px; min-height: 72px; border-bottom: 1px solid #dde1e7; }
.detail-price-row:last-child { border-bottom: 0; }
.detail-price-icon { display: grid; place-items: center; color: #171e2c; }
.detail-price-icon svg { width: 28px; height: 28px; stroke-width: 1.8; }
.detail-price-label { min-width: 0; font-size: clamp(14px,1.35vw,17px); line-height: 1.3; }
.detail-price-row strong { font-size: clamp(22px,2.1vw,29px); font-weight: 750; letter-spacing: -.045em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.detail-profit-note { margin: 8px 2px 0; color: #767e89; font-size: 10px; line-height: 1.5; }
.detail-run-card { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 15px; align-items: start; padding: 24px 20px; border-radius: 23px; color: #11295c; background: linear-gradient(115deg,#edf3ff,#f3f7ff 60%,#eaf1ff); }
.detail-run-icon { display: grid; place-items: center; margin-top: 2px; }
.detail-run-icon svg { width: 29px; height: 29px; stroke-width: 1.7; }
.detail-run-copy { display: grid; gap: 8px; min-width: 0; }
.detail-run-copy > span { font-size: clamp(14px,1.4vw,18px); line-height: 1.25; font-weight: 700; }
.detail-run-copy small { color: #596677; font-size: 14px; font-weight: 500; }
.detail-run-card > strong { align-self: end; margin-top: 28px; font-size: clamp(27px,3vw,42px); line-height: 1; font-weight: 800; letter-spacing: -.055em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.product-dialog .detail-order { margin-top: 20px; }
.product-dialog .detail-order > .button,.product-dialog .detail-cart-quantity { min-height: 62px; border-radius: 18px; font-size: 20px; font-weight: 700; }
.product-dialog .detail-order > .button svg { width: 26px; height: 26px; stroke-width: 1.9; }
.product-dialog .detail-cart-quantity button { min-height: 62px; }
.product-dialog .product-information { margin-top: 20px; }

@media (max-width:950px) and (min-width:741px) {
  .product-dialog-layout { display: block; padding: 24px; }
  .product-dialog .product-gallery { position: relative; }
  .product-dialog .gallery-stage { height: min(65dvh,560px); aspect-ratio: auto; }
  .product-dialog .product-detail { padding: 28px 8px 8px; }
}
@media (max-width:740px) {
  .product-dialog { width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .product-dialog-layout { display: block; max-height: calc(100dvh - 58px); padding: 12px 14px 104px; }
  .product-dialog-heading { height: 58px; padding-left: 18px; }
  .product-dialog .dialog-close { top: 7px; right: 10px; box-shadow: none; }
  .product-dialog .product-gallery { position: relative; }
  .product-dialog .gallery-stage { width: 100%; height: min(55dvh,475px); max-height: none; aspect-ratio: auto; border-radius: 18px; }
  .product-dialog .gallery-stage .card-favorite { top: 13px; right: 13px; width: 42px; height: 42px; }
  .product-dialog .gallery-stage .card-favorite svg { width: 22px; height: 22px; }
  .product-dialog .gallery-arrow { width: 34px; height: 34px; font-size: 22px; }
  .product-dialog .product-detail { padding: 24px 2px 0; }
  .product-dialog .product-detail h2 { max-width: none; font-size: 28px; }
  .detail-availability { padding: 19px 0 20px; margin-bottom: 21px; }
  .product-dialog .stock-status { font-size: 17px; }
  .detail-size-summary { font-size: 13px; }
  .detail-price-heading { font-size: 12px; }
  .detail-price-card { padding: 3px 13px; border-radius: 18px; }
  .detail-price-row { min-height: 66px; grid-template-columns: 30px minmax(0,1fr) auto; gap: 10px; }
  .detail-price-icon svg { width: 24px; height: 24px; }
  .detail-price-label { font-size: 13px; }
  .detail-price-row strong { font-size: clamp(18px,5.3vw,23px); }
  .detail-run-card { grid-template-columns: minmax(0,1fr) auto; gap: 10px; padding: 20px 15px; border-radius: 18px; }
  .detail-run-icon svg { width: 25px; height: 25px; }
  .detail-run-copy > span { font-size: 13px; }
  .detail-run-copy small { font-size: 12px; }
  .detail-run-card > strong { font-size: clamp(23px,6vw,31px); }
  .product-dialog .detail-order { margin: 0; padding: 10px 15px max(10px,env(safe-area-inset-bottom)); }
  .product-dialog .detail-order > .button,.product-dialog .detail-cart-quantity { min-height: 52px; border-radius: 13px; font-size: 17px; }
  .product-dialog .detail-cart-quantity button { min-height: 52px; }
}

/* Full product presentation directly in the mobile catalog. */
.mobile-card-reference { display: none; }
@media (max-width:740px) {
  .product-grid { gap: 18px; }
  .product-card { position: relative; display: flex; flex-direction: column; gap: 0; padding: 12px; border-radius: 26px; box-shadow: 0 8px 28px #1720360b; }
  .product-card .product-image-link { display: block; width: 100%; height: auto; min-height: 0; aspect-ratio: 4 / 5; align-self: auto; overflow: hidden; border-radius: 20px; background: radial-gradient(circle at 50% 45%,#fff 0,#f4f5f6 78%); }
  .product-card .product-image-link img { width: 100%; height: 100%; padding: 0; object-fit: contain; mix-blend-mode: multiply; }
  .product-card .product-image-link img.landscape-photo { transform: scale(1.3); }
  .product-card .card-content { display: block; min-height: 0; padding: 18px 3px 3px; }
  .product-card .card-identity { display: flex; flex-direction: column; align-items: stretch; gap: 7px; min-height: 0; margin: 0; }
  .product-card .card-title-row { order: 0; min-height: 0; }
  .product-card .product-name,.product-card.card-long-title .product-name { padding: 0; font-size: 23px; line-height: 1.2; font-weight: 700; letter-spacing: -.04em; }
  .product-card .card-favorite { position: absolute; z-index: 2; top: 25px; right: 25px; display: grid; place-items: center; width: 48px; height: 48px; min-height: 48px; border: 1px solid #dfe2e6; border-radius: 50%; background: #fff; box-shadow: 0 3px 16px #10182815; }
  .product-card .card-favorite svg { width: 25px; height: 25px; }
  .product-card .card-color { order: 1; display: block; margin: 0; color: #68707b; font-size: 13px; line-height: 1.45; white-space: normal; }
  .product-card .card-stock { order: 2; display: flex; gap: 8px; margin-top: 10px; color: #505a66; font-size: 17px; font-weight: 700; line-height: 1.4; white-space: normal; }
  .product-card .card-stock::before { width: 9px; height: 9px; flex-basis: 9px; margin-right: 1px; background: #a8afb7; }
  .product-card .card-pricing-row,.product-card .card-run { display: none; }
  .product-card .mobile-card-reference { display: block; }
  .product-card .mobile-card-size { margin: 7px 0 22px; padding-bottom: 20px; border-bottom: 1px solid #dce0e5; color: #5c6370; font-size: 14px; line-height: 1.5; }
  .product-card .detail-unit-prices { margin-bottom: 20px; }
  .product-card .detail-price-heading { font-size: 12px; margin-bottom: 12px; }
  .product-card .detail-price-card { padding: 3px 14px; border-radius: 18px; }
  .product-card .detail-price-row { grid-template-columns: 30px minmax(0,1fr) auto; gap: 10px; min-height: 70px; }
  .product-card .detail-price-icon svg { width: 24px; height: 24px; }
  .product-card .detail-price-label { font-size: 14px; }
  .product-card .detail-price-row strong { font-size: clamp(20px,5.5vw,25px); }
  .product-card .detail-profit-note { font-size: 10px; }
  .product-card .detail-run-card { grid-template-columns: minmax(0,1fr) auto; gap: 10px; padding: 20px 16px; border-radius: 18px; }
  .product-card .detail-run-icon svg { width: 26px; height: 26px; }
  .product-card .detail-run-copy > span { font-size: 16px; }
  .product-card .detail-run-copy small { font-size: 13px; }
  .product-card .detail-run-card > strong { grid-column: 2; justify-self: end; margin: 3px 0 0; font-size: clamp(30px,8vw,38px); }
  .product-card .mobile-card-other-runs { margin: 8px 2px 0; color: #68707b; font-size: 11px; line-height: 1.5; }
  .product-card .card-action { height: auto; margin: 18px 0 0; }
  .product-card .card-add,.product-card .card-quantity { min-height: 58px; height: 58px; border-radius: 15px; }
  .product-card .card-add { gap: 12px; font-size: 18px; font-weight: 700; }
  .product-card .card-cart-icon { width: 24px; height: 24px; }
  .product-card .card-quantity { display: grid; grid-template-columns: 56px minmax(0,1fr) 56px; }
  .product-card .card-quantity > button { height: 56px; font-size: 24px; }
  .product-card .card-quantity > span { font-size: 17px; }
}
@media (max-width:360px) {
  .product-card .detail-price-label { font-size: 12px; }
  .product-card .detail-price-row strong { font-size: 19px; }
  .product-card .card-add { font-size: 16px; }
}

/* Three horizontal jacket cards fit in the first phone catalog screen. */
@media (max-width:740px) {
  .product-grid { gap: 8px; }
  .product-card { display: grid; grid-template-columns: minmax(0,39%) minmax(0,1fr); align-items: stretch; gap: 8px; height: 204px; padding: 6px; border-radius: 14px; box-shadow: 0 3px 12px #17203608; }
  .product-card .product-image-link { width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; border-radius: 10px; }
  .product-card .product-image-link img.landscape-photo { transform: scale(1.5); }
  .product-card .card-content { display: flex; flex-direction: column; min-width: 0; min-height: 0; height: 100%; padding: 1px 0; overflow: hidden; }
  .product-card .card-identity { flex: none; gap: 1px; margin: 0 0 2px; }
  .product-card .card-title-row { min-height: 0; }
  .product-card .product-name,.product-card.card-long-title .product-name { overflow: hidden; font-size: 12px; line-height: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
  .product-card .card-color { overflow: hidden; margin: 0; font-size: 9px; line-height: 10px; text-overflow: ellipsis; white-space: nowrap; }
  .product-card .card-stock { gap: 4px; margin: 0; font-size: 9px; font-weight: 600; line-height: 10px; white-space: nowrap; }
  .product-card .card-stock::before { width: 6px; height: 6px; flex-basis: 6px; margin: 0; }
  .product-card .card-favorite { top: 11px; right: auto; left: calc(39% - 28px); width: 27px; height: 27px; min-height: 27px; border-radius: 50%; }
  .product-card .card-favorite svg { width: 16px; height: 16px; }
  .product-card .mobile-card-reference { display: flex; flex: none; flex-direction: column; min-height: 0; }
  .product-card .mobile-card-size { flex: none; overflow: hidden; margin: 0 0 2px; padding: 0; border: 0; color: #616a76; font-size: 9px; line-height: 10px; text-overflow: ellipsis; white-space: nowrap; }
  .product-card .detail-unit-prices { flex: none; margin: 0; }
  .product-card .detail-price-heading { margin: 0 0 2px; font-size: 8px; line-height: 8px; letter-spacing: .04em; }
  .product-card .detail-price-card { padding: 1px 5px; border-radius: 8px; }
  .product-card .detail-price-row { grid-template-columns: 13px minmax(0,1fr) auto; gap: 4px; min-height: 18px; }
  .product-card .detail-price-icon svg { width: 12px; height: 12px; stroke-width: 1.8; }
  .product-card .detail-price-label { overflow: hidden; font-size: 9px; line-height: 10px; text-overflow: ellipsis; white-space: nowrap; }
  .product-card .detail-price-row strong { font-size: 12px; line-height: 13px; letter-spacing: -.04em; }
  .product-card .detail-profit-note,.product-card .mobile-card-other-runs { display: none; }
  .product-card .detail-run-card { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 4px; min-height: 29px; margin-top: 3px; padding: 3px 5px; border-radius: 8px; }
  .product-card .detail-run-icon svg { width: 14px; height: 14px; }
  .product-card .detail-run-copy { gap: 1px; }
  .product-card .detail-run-copy > span { font-size: 9px; line-height: 9px; }
  .product-card .detail-run-copy small { display: none; }
  .product-card .detail-run-card > strong { grid-column: auto; align-self: center; justify-self: end; margin: 0; font-size: 15px; line-height: 18px; }
  .product-card .card-action { flex: none; height: 27px; margin: auto 0 0; }
  .product-card .card-add,.product-card .card-quantity { height: 27px; min-height: 27px; border-radius: 7px; }
  .product-card .card-add { gap: 5px; padding: 0 3px; font-size: 10px; font-weight: 650; }
  .product-card .card-cart-icon { width: 14px; height: 14px; }
  .product-card .card-quantity { grid-template-columns: 28px minmax(0,1fr) 28px; }
  .product-card .card-quantity > button { height: 25px; font-size: 16px; }
  .product-card .card-quantity > span { font-size: 10px; }
}
@media (max-width:360px) {
  .product-card .detail-price-row strong { font-size: 11px; }
  .product-card .detail-price-label { font-size: 8px; }
  .product-card .detail-run-card > strong { font-size: 14px; }
  .product-card .card-add { font-size: 9px; }
}

/* Reference hierarchy: availability and sizes first, with no invented product titles. */
@media (max-width:740px) {
  .product-card { height: 204px; }
  .product-card .card-title-row { height: 0; min-height: 0; }
  .product-card .card-content { box-sizing: border-box; justify-content: normal; gap: 0; padding: 0; }
  .product-card .product-name,.product-card .card-color { display: none; }
  .product-card .card-identity { gap: 0; margin: 0 0 2px; }
  .product-card .card-stock { font-size: 10.5px; line-height: 15px; font-weight: 600; }
  .product-card .card-stock::before { width: 6px; height: 6px; flex-basis: 6px; }
  .product-card .card-favorite { display: none; }
  .product-card .card-stock.available { color: #09865a; }
  .product-card .card-stock.available::before { background: #39bd20; }
  .product-card .card-stock.out { color: #bc3540; }
  .product-card .card-stock.out::before { background: #dc3945; }
  .product-card .mobile-card-size { display: grid; gap: 2px; overflow: visible; margin-bottom: 6px; color: #535d69; font-size: 12px; line-height: 15px; text-overflow: clip; white-space: normal; }
  .product-card .mobile-card-size span { white-space: nowrap; }
  .product-card .detail-price-heading { display: none; }
  .product-card .detail-price-card { padding: 2px 5px; }
  .product-card .detail-price-row { min-height: 21px; }
  .product-card .detail-price-label { overflow: visible; font-size: 10px; line-height: 11px; font-weight: 400; text-overflow: clip; white-space: normal; }
  .product-card .detail-price-row strong { font-size: 13px; font-weight: 550; }
  .product-card .detail-price-row.profit { margin-top: 1px; padding: 0 2px; border: 0; border-radius: 5px; background: #eaf6ed; color: #167345; }
  .product-card .detail-price-row.profit .detail-price-icon { color: #167345; }
  .product-card .detail-run-card { min-height: 35px; margin-top: 4px; }
  .product-card .detail-run-copy > span { line-height: 11px; font-weight: 600; }
  .product-card .detail-run-card > strong { font-size: 17px; font-weight: 700; }
  .product-card .card-action,.product-card .card-add,.product-card .card-quantity { height: 24px; min-height: 24px; }
  .product-card .card-add,.product-card .card-quantity > span { line-height: 16px; }
  .product-card .card-quantity > button { height: 22px; }
}
@media (max-width:360px) {
  .product-card .mobile-card-size { font-size: 11px; }
  .product-card .detail-price-label { font-size: 9px; }
  .product-card .detail-price-row strong { font-size: 12px; }
  .product-card .detail-run-card > strong { font-size: 15px; }
}

.product-card .card-stock.available,
.product-dialog .stock-status.available { color: #09865a; }
.product-card .card-stock.available::before,
.product-dialog .stock-status.available::before { background: #39bd20; }
.product-card .card-stock.out,
.product-dialog .stock-status.out { color: #bc3540; }
.product-card .card-stock.out::before,
.product-dialog .stock-status.out::before { background: #dc3945; }
.product-dialog .detail-price-row strong { font-weight: 600; }
.product-dialog .detail-run-copy > span { font-weight: 600; }
.product-dialog .detail-run-card > strong { font-weight: 700; }
.product-dialog .detail-price-row.profit { margin: 4px 0; padding: 4px 8px; border: 0; border-radius: 12px; background: #eaf6ed; color: #167345; }
.product-dialog .detail-price-row.profit .detail-price-icon { color: #167345; }
