/* DreamSport shoe helper — independent of desktop navigation/header. */
.ds-sole-switch[hidden], .ds-finder__overlay[hidden], .ds-finder__results[hidden] { display:none !important; }
.ds-sole-switch { padding:16px 0 17px; margin:13px 0 14px; border-top:1px solid #ddd; border-bottom:1px solid #ddd; }
.ds-sole-switch__head {display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:4px 10px; margin-bottom:11px;}
.ds-sole-switch h2 {font-size:14px; font-weight:700; line-height:1.5; margin:0; color:#181818;}
.ds-sole-switch__head span {font-size:11px; color:#737373;}
.ds-sole-switch__options {display:flex;gap:7px;flex-wrap:wrap;}
.ds-sole-switch__chip {text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-width:53px;min-height:38px;padding:7px 11px;border:1px solid #cfcfcf;border-radius:7px;background:#fff;color:#111;font:700 12px/1.3 var(--font-body-family,Arial,sans-serif);letter-spacing:.03em;}
.ds-sole-switch__chip.is-current {background:#161616;color:#fff;border-color:#161616;cursor:default;}
.ds-sole-switch__chip.is-unavailable {border-style:dashed;color:#656565;}
.ds-sole-switch a.ds-sole-switch__chip:hover,.ds-sole-switch a.ds-sole-switch__chip:focus-visible {border-color:#111;outline-offset:2px;}
.ds-sole-switch__note {font-size:11px;line-height:1.6;color:#666;margin:10px 0 0;}
.ds-finder {font-family:var(--font-body-family,Arial,sans-serif);color:#161616;}
.ds-finder__launch {position:fixed;right:18px;bottom:22px;z-index:2147482100;display:flex;align-items:center;gap:7px;border:1px solid #181818;border-radius:99px;padding:10px 15px 10px 12px;background:#171717;color:#fff;min-height:44px;box-shadow:0 5px 22px #0002;font-size:13px;font-weight:700;letter-spacing:.01em;cursor:pointer;}
.ds-finder__launch:hover {background:#383838;}
.ds-finder__launch:focus-visible,.ds-finder__close:focus-visible,.ds-finder__submit:focus-visible {outline:3px solid #888;outline-offset:2px;}
.ds-finder__launch-icon {width:19px;height:19px;font-family:Arial,sans-serif;font-size:24px;line-height:15px;text-align:center;}
.ds-finder__overlay {position:fixed;inset:0;z-index:2147482200;display:flex;align-items:center;justify-content:center;background:rgba(16,18,20,.58);padding:16px;}
.ds-finder__panel {width:min(560px,100%);max-height:min(92dvh,860px);overflow-y:auto;overscroll-behavior:contain;background:#fff;color:#171717;border-radius:18px;padding:28px;box-shadow:0 20px 55px #0003;outline:0;}
body.ds-finder-opened {overflow:hidden !important;}
.ds-finder__top {display:flex;justify-content:space-between;align-items:flex-start;gap:18px;}
.ds-finder__eyebrow {display:block;font:700 9px/1.5 Arial,sans-serif;letter-spacing:.17em;color:#888;margin-bottom:7px;}
.ds-finder__top h2 {font-size:24px;line-height:1.35;letter-spacing:-.02em;margin:0;font-weight:800;color:#161616;}
.ds-finder__close {width:36px;height:36px;min-width:36px;background:#f4f4f4;border:1px solid #e7e7e7;border-radius:9px;font-size:25px;line-height:1;color:#333;cursor:pointer;}
.ds-finder__intro {font-size:13px;line-height:1.65;color:#6b6b6b;margin:13px 0 24px;}
.ds-finder__venues {padding:0;margin:0 0 21px;border:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
.ds-finder__venues legend {width:100%;margin-bottom:11px;float:none;font-size:12px;font-weight:800;color:#222;}
.ds-finder__venues label {position:relative;min-width:0;cursor:pointer;}
.ds-finder__venues input {position:absolute;opacity:0;width:1px;height:1px;}
.ds-finder__venues label span {display:flex;align-items:center;justify-content:center;text-align:center;min-height:47px;padding:8px;border:1px solid #d9d9d9;border-radius:9px;background:#fff;color:#373737;font-size:13px;font-weight:700;}
.ds-finder__venues input:checked+span {border-color:#141414;background:#171717;color:#fff;}
.ds-finder__venues input:focus-visible+span {outline:2px solid #555;outline-offset:3px;}
.ds-finder__row {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:15px;}
.ds-finder__field {display:block;min-width:0;}
.ds-finder__field>span {display:block;font-size:12px;font-weight:800;margin-bottom:9px;}
.ds-finder__field select,.ds-finder__field input {appearance:none;display:block;width:100%;min-height:46px;background:#fff;border:1px solid #d6d6d6;border-radius:8px;padding:10px 12px;color:#202020;font-size:14px;line-height:1.4;box-sizing:border-box;}
.ds-finder__field select {background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23555" stroke-width="2"%3E%3Cpath d="m6 9 6 6 6-6"/%3E%3C/svg%3E');background-position:calc(100% - 10px) center;background-repeat:no-repeat;padding-right:30px;}
.ds-finder__field input:focus,.ds-finder__field select:focus {border-color:#222;outline:1px solid #222;outline-offset:0;}
.ds-finder__submit {display:flex;align-items:center;justify-content:space-between;width:100%;min-height:50px;padding:12px 19px;border:1px solid #171717;border-radius:9px;background:#181818;color:#fff;font-size:14px;font-weight:800;cursor:pointer;}
.ds-finder__submit:disabled {cursor:wait;opacity:.6;}
.ds-finder__results {margin-top:28px;padding-top:19px;border-top:1px solid #e4e4e4;}
.ds-finder__results-head {display:flex;align-items:baseline;justify-content:space-between;gap:10px;}
.ds-finder__results-head h3 {font-size:17px;font-weight:800;margin:0;}
.ds-finder__results-head span {font-size:12px;color:#666;}
.ds-finder__status {font-size:12px;line-height:1.7;color:#6c6c6c;margin:9px 0 15px;}
.ds-finder__items {display:flex;flex-direction:column;gap:8px;}
.ds-finder__item {display:flex;align-items:center;gap:12px;min-height:88px;padding:9px;border:1px solid #e1e1e1;border-radius:10px;text-decoration:none;color:inherit;background:#fff;}
.ds-finder__item:hover {border-color:#777;background:#fafafa;}
.ds-finder__item img {width:68px;height:68px;object-fit:contain;background:#fafafa;border-radius:7px;flex:0 0 68px;}
.ds-finder__item-info {flex:1;min-width:0;display:flex;flex-direction:column;gap:7px;}
.ds-finder__item-info strong {font-size:12px;line-height:1.5;font-weight:700;color:#222;}
.ds-finder__item-meta {font-size:11px;color:#777;line-height:1.5;}
.ds-finder__arrow {font-size:18px;color:#555;}
.ds-finder__more {font-size:11px;color:#777;}
.ds-finder__all {display:inline-flex;padding-top:15px;text-decoration:underline;color:#333;font-size:12px;}
@media(max-width:749px){
 .ds-finder__launch {right:12px;bottom:16px;min-height:43px;padding:9px 13px;font-size:12px;}
 .ds-finder__overlay {align-items:flex-end;padding:0;}
 .ds-finder__panel {width:100%;max-height:94dvh;border-radius:18px 18px 0 0;padding:22px 19px 24px;}
 .ds-finder__top h2 {font-size:22px;}
 .ds-finder__intro {margin-bottom:19px;}
 .ds-finder__venues {gap:8px;margin-bottom:16px;}
 .ds-finder__venues label span {min-height:45px;font-size:12px;}
 .ds-finder__row {gap:10px;}
 .ds-finder__field select,.ds-finder__field input {font-size:13px;min-height:45px;padding-left:9px;}
}
@media(prefers-reduced-motion:reduce){.ds-finder *, .ds-sole-switch * {scroll-behavior:auto;}}

/* Shoe colorways — same model + generation + tier + outsole, different listing */
.ds-colorway-switch { padding:16px 0 15px; margin:14px 0; border-top:1px solid #e3e3e3; border-bottom:1px solid #e3e3e3; color:#161616; }
.ds-colorway-switch__head { display:flex; align-items:baseline; flex-wrap:wrap; justify-content:space-between; gap:6px 12px; margin-bottom:12px; }
.ds-colorway-switch__head h2 { margin:0; font-size:14px; font-weight:800; line-height:1.5; }
.ds-colorway-switch__head span { font-size:11px; color:#777; }
.ds-colorway-switch__items { display:grid; grid-template-columns:repeat(auto-fill,minmax(78px,1fr)); gap:9px; }
.ds-colorway-switch__item { display:flex; flex-direction:column; align-items:center; gap:6px; min-width:0; padding:7px 5px; border:1px solid #ddd; border-radius:10px; background:#fff; color:#181818; text-decoration:none; cursor:pointer; }
.ds-colorway-switch__item.is-current { border:2px solid #161616; padding:6px 4px; cursor:default; }
.ds-colorway-switch__item:hover, .ds-colorway-switch__item:focus-visible { border-color:#161616; outline-offset:2px; }
.ds-colorway-switch__item.is-unavailable { opacity:.64; }
.ds-colorway-switch__item img { width:64px; height:60px; display:block; object-fit:contain; background:#fff; }
.ds-colorway-switch__item-label { font-size:10px; line-height:1.4; text-align:center; overflow-wrap:anywhere; max-width:100%; }
.ds-colorway-switch__status { margin:10px 0 0; font-size:11px; line-height:1.6; color:#777; }
@media(max-width:749px){.ds-colorway-switch__items{grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:7px}.ds-colorway-switch__item img{width:58px;height:56px;}}

/* 2026-11-17: ProDirect-inspired compact colour image selector, original design. */
.ds-colorway-switch__items{display:flex;flex-wrap:wrap;gap:9px;align-items:center;}
.ds-colorway-switch__item{box-sizing:border-box;display:flex;align-items:center;justify-content:center;flex:0 0 78px;width:78px;height:76px;min-height:0;padding:6px;border:1px solid #ddd;border-radius:8px;background:#fff;overflow:hidden;transition:border-color .18s ease,box-shadow .18s ease;}
.ds-colorway-switch__item.is-current{padding:5px;border:2px solid #131313;box-shadow:0 0 0 1px #131313;}
.ds-colorway-switch__item img{display:block;width:100%;height:100%;max-width:66px;max-height:63px;object-fit:contain;mix-blend-mode:multiply;}
.ds-colorway-switch__placeholder{font-size:10px;letter-spacing:.06em;color:#888;}
.ds-colorway-switch__item-label{display:none;}
.ds-colorway-switch__item.is-unavailable{opacity:.55;}
.ds-colorway-switch__head span{font-size:11px;line-height:1.5;}
@media(max-width:749px){.ds-colorway-switch__items{display:flex;gap:8px}.ds-colorway-switch__item{flex-basis:70px;width:70px;height:68px}.ds-colorway-switch__item img{max-width:59px;max-height:56px}}

/* DreamSport product detail typography: original layout using existing licensed web fonts. */
.ds-product-details{border-top:1px solid #dadada;margin:20px 0 22px;padding-top:2px;color:#191919;font-family:'Noto Sans TC',sans-serif;}
.ds-product-info{border-bottom:1px solid #dadada;padding:22px 1px 23px;}
.ds-product-info__head{font-family:'Exo 2','Noto Sans TC',sans-serif;font-size:13px;font-weight:800;letter-spacing:.075em;text-transform:uppercase;margin:0 0 15px;line-height:1.6;}
.ds-product-info__head small{font-family:'Noto Sans TC',sans-serif;letter-spacing:0;font-weight:600;margin-left:8px;font-size:12px;color:#696969;}
.ds-product-info__body{display:grid;gap:10px;}
.ds-product-info__body p{margin:0;font:400 13px/1.85 'Noto Sans TC',sans-serif;letter-spacing:.007em;color:#444;}
.ds-product-info__body strong{font-weight:700;color:#191919;}
.ds-product-info__body a{color:inherit;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;font-weight:700;}
.ds-product-description{padding:0;margin:0;border-bottom:1px solid #dadada;}
.ds-product-description__summary{display:flex;align-items:center;justify-content:space-between;min-height:59px;padding:16px 1px;list-style:none;cursor:pointer;font:800 13px/1.55 'Exo 2','Noto Sans TC',sans-serif;letter-spacing:.075em;text-transform:uppercase;color:#191919;}
.ds-product-description__summary::-webkit-details-marker{display:none;}
.ds-product-description__summary::after{content:'+';display:block;font:400 27px/1 Arial,sans-serif;color:#444;margin-left:14px;}
.ds-product-description[open]>.ds-product-description__summary::after{content:'−';}
.ds-product-description__content{padding:2px 1px 22px;font-family:'Noto Sans TC',sans-serif;font-size:13px;line-height:1.9;color:#444;}
.ds-product-description__content :is(p,ul,ol){margin-top:0;margin-bottom:12px;}
.ds-product-description__summary:focus-visible{outline:2px solid #333;outline-offset:2px;}
@media(max-width:749px){.ds-product-info{padding:19px 0 21px}.ds-product-info__head{font-size:12.5px}.ds-product-info__body p{font-size:12.5px}.ds-product-description__summary{min-height:53px}.ds-product-description__content{font-size:12.5px}}

/* 2026-11-17: colorway selector is a quiet, verified-only product choice, not an async status pane. */
.ds-colorway-switch[hidden]{display:none!important}
body.template-product .ds-colorway-switch{margin:14px 0 20px;padding:16px 0 8px;border-top:1px solid #dcdcdc;border-bottom:0;background:transparent;font-family:var(--ds-font,'Exo 2','Noto Sans TC',sans-serif)}
body.template-product .ds-colorway-switch__head{margin:0 0 12px;align-items:center}
body.template-product .ds-colorway-switch__head h2{font-size:13px;font-weight:700;letter-spacing:.02em;color:#1b1b1b}
body.template-product .ds-colorway-switch__items{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;gap:8px;padding:2px 2px 9px;margin:0;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#ddd transparent}
body.template-product .ds-colorway-switch__item{flex:0 0 76px;width:76px;height:73px;padding:6px;scroll-snap-align:start;border:1px solid #dadada;border-radius:6px;box-shadow:none;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}
body.template-product .ds-colorway-switch__item.is-current{border:2px solid #171717;padding:5px;box-shadow:none}
body.template-product .ds-colorway-switch__item img{max-height:58px;max-width:66px;object-fit:contain;mix-blend-mode:normal}
body.template-product .ds-colorway-switch__item.is-unavailable{opacity:.6}
body.template-product .ds-colorway-switch__item:focus-visible{outline:2px solid #111;outline-offset:2px}
@media(max-width:749px){body.template-product .ds-colorway-switch{padding-top:14px;margin:12px 0 16px}body.template-product .ds-colorway-switch__item{flex-basis:68px;width:68px;height:66px}body.template-product .ds-colorway-switch__item img{max-width:56px;max-height:52px}}

/* DreamSport 2026-11-17 | product-page fine-weight typography.
   Original visual system inspired by modern retail UI; no Pro:Direct licensed font is used.
   Figtree OFL, rendered through Google Fonts on product pages only; Noto Sans TC for Chinese.
   Scope: ONLY product pages, NOT product cards, homepage, cart, header or desktop nav. */
body.template-product .product__info-wrapper {
  --ds-product-display-font: "Figtree", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --ds-product-text-font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-family: var(--ds-product-display-font);
  font-weight: 400;
}
body.template-product .product__info-wrapper .product__text {
  font-family: var(--ds-product-display-font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.5;
}
/* Title 20px / 400 is consistently larger than price 18px / 400, like the supplied reference,
   rather than the old 31-39px / 700 condensed headline. */
body.template-product .product__info-wrapper .product__title {
  font-family: var(--ds-product-display-font);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
/* Price numerals, currency marks and compare-at numerals use the SAME light face.
   Do not alter price data, currency formatting or EasyStore price updates. */
body.template-product .product__info-wrapper :is(.price, .price-item, .price__regular, .price__sale, .price__compare) {
  font-family: var(--ds-product-display-font);
  font-weight: 400;
  font-variant-numeric: lining-nums proportional-nums;
  letter-spacing: 0;
}
body.template-product .product__info-wrapper .price--large :is(.price-item--regular, .price-item--sale) {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 400;
}
body.template-product .product__info-wrapper .price--large .price__compare .price-item--regular {
  font-size: 16px;
  font-weight: 400;
}
/* Size labels/values and quantity counters: normal-width numerals, no condensed bold. */
body.template-product .product__info-wrapper :is(
  .product-form__input, .product-form__input label, .product-form__input select,
  .product-form__input input, .product-form__input .select__select,
  .product-form .form__label, .quantity__input, .quantity__button,
  .product-form__quantity, .product-form__quantity input,
  .ds-colorway-switch__head h2, .ds-restock-ig__title
) {
  font-family: var(--ds-product-display-font);
  font-weight: 400;
  letter-spacing: 0;
  font-variant-numeric: lining-nums proportional-nums;
}
body.template-product .product__info-wrapper :is(
  .product-form__input label, .product-form__input select,
  .product-form__input input, .quantity__input
) { font-size: 14px; }
/* Keep primary actions legible: emphasis belongs to buttons, not body text/numbers. */
body.template-product .product__info-wrapper :is(.product-form__submit, .btn-contactus, .ds-restock-ig button) {
  font-family: var(--ds-product-display-font);
  font-weight: 600;
  letter-spacing: .01em;
}
body.template-product .product__info-wrapper :is(.ds-product-info__head, .ds-product-description__summary) {
  font-family: var(--ds-product-display-font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
}
body.template-product .product__info-wrapper :is(.ds-product-info__head small, .ds-product-info__body, .ds-product-info__body p, .ds-product-description__content) {
  font-family: var(--ds-product-text-font);
  font-weight: 400;
}
@media (max-width: 749px) {
  body.template-product .product__info-wrapper .product__title { font-size: 20px; line-height: 1.36; }
  body.template-product .product__info-wrapper .price--large :is(.price-item--regular, .price-item--sale) { font-size: 18px; }
}

/* 2026-11-17: compact footer after removing redundant checkbox and disclaimer */
.ds-finder__row{margin-bottom:20px}


/* DreamSport 2026-11-17: product editorial information below left-side gallery on desktop.
   One DOM copy only. Mobile: photo -> purchasing -> editorial details. Do not affect
   desktop header, other collections, product form, or the gallery widget. */
body.template-product .product-section > .ds-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "media" "buy" "details";
  gap: 0;
  margin-left: 0;
  width: 100%;
  align-items: start;
}
body.template-product .product-section > .ds-product-layout > .product__media-wrapper {
  grid-area: media; min-width: 0; width: 100%; max-width: 100%; padding-left: 0;
}
body.template-product .product-section > .ds-product-layout > .product__info-wrapper {
  grid-area: buy; min-width: 0; width: 100%; max-width: 100%; padding-left: 0;
}
body.template-product .product-section > .ds-product-layout > .ds-product-details-column {
  grid-area: details; min-width: 0; width: 100%; max-width: 100%; padding: 0;
}
body.template-product .ds-product-details-column .ds-product-details {
  margin: 12px 0 20px; padding-top: 0; border-top: 1px solid #d8d8d8;
  font-family: 'Noto Sans TC', 'PingFang TC', sans-serif;
}
body.template-product .ds-product-details-column .ds-product-info {
  padding: 22px 0 24px;
}
body.template-product .ds-product-details-column :is(.ds-product-info__head,.ds-product-description__summary) {
  font-family: 'Figtree','Noto Sans TC','PingFang TC',sans-serif;
  font-weight: 500; font-size: 16px; letter-spacing: .02em;
}
body.template-product .ds-product-details-column .ds-product-info__head small {
  font-family: 'Noto Sans TC','PingFang TC',sans-serif;
  font-size: 12px; letter-spacing: .01em; font-weight: 600;
}
body.template-product .ds-product-details-column :is(.ds-product-info__body p,.ds-product-description__content) {
  font-family: 'Noto Sans TC','PingFang TC',sans-serif;
  font-size: 13px; line-height: 1.9; overflow-wrap: anywhere;
}
@media (min-width: 750px) {
  body.template-product .product-section > .ds-product-layout {
    grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
    grid-template-areas: "media buy" "details buy";
    column-gap: clamp(25px, 3vw, 50px);
    row-gap: 0;
    align-items: start;
  }
  body.template-product .product-section > .ds-product-layout > .product__info-wrapper {
    grid-row: 1 / span 2;
    grid-column: 2;
  }
  body.template-product .product-section > .ds-product-layout > .product__media-wrapper {
    grid-row: 1;
    grid-column: 1;
  }
  body.template-product .product-section > .ds-product-layout > .ds-product-details-column {
    grid-row: 2;
    grid-column: 1;
  }
  body.template-product .product-section > .ds-product-layout > .product__info-wrapper .product__info-container--sticky {
    position: sticky; top: 3rem;
  }
  body.template-product .ds-product-details-column .ds-product-details { margin-top: 8px; }
}
@media (max-width: 749px) {
  body.template-product .ds-product-details-column { padding: 0 1px !important; }
  body.template-product .ds-product-details-column .ds-product-info { padding: 20px 0 21px; }
  body.template-product .ds-product-details-column :is(.ds-product-info__head,.ds-product-description__summary) { font-size: 15px; }
}
