/* Young Green Studio · standalone product, fit tools and image viewing. */
.st-product-page { padding-bottom: 64px; }
.st-product-page .yg-breadcrumbs { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:26px 0 20px; font-size:10px; color:var(--st-muted); }
.st-product-page .yg-breadcrumbs a { text-decoration:none; }
.st-product-page .yg-product-layout { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr); align-items:start; gap:clamp(28px,4vw,64px); margin:0; }
.st-product-page .yg-product-gallery-shell { min-width:0; position:relative; overflow:hidden; border:0; border-radius:10px; background:#f0f2eb; }
.st-product-page .yg-product-gallery { display:flex; gap:2px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; overscroll-behavior-x:contain; scrollbar-width:none; background:#f0f2eb; }
.st-product-page .yg-product-gallery::-webkit-scrollbar { display:none; }
.st-product-page .yg-product-gallery-slide { margin:0; min-width:0; flex:0 0 calc((100% - 2px)/2); aspect-ratio:4/5; scroll-snap-align:start; background:#f0f2eb; }
.st-product-page .yg-product-gallery--single .yg-product-gallery-slide { flex-basis:100%; max-height:820px; }
.st-product-page .yg-product-gallery-trigger { display:block; width:100%; height:100%; padding:0; border:0; background:#f0f2eb; cursor:zoom-in; }
.st-product-page .yg-product-gallery img { display:block; width:100%; height:100%; object-fit:contain; }
.st-product-page .yg-gallery-nav { display:flex; align-items:center; justify-content:flex-end; gap:8px; padding:12px; border-top:1px solid var(--st-line); background:var(--yg-color-paper); }
.st-product-page .yg-gallery-status { margin-right:auto; padding-left:4px; font-size:10px; font-weight:650; letter-spacing:.04em; color:var(--st-muted); }
.st-product-page .yg-gallery-arrow { display:grid; place-items:center; flex:none; width:35px; height:35px; padding:0; border:1px solid var(--st-line); border-radius:50%; background:transparent; color:var(--yg-color-ink); cursor:pointer; }
.st-product-page .yg-gallery-arrow svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.5; }
.st-product-page .yg-gallery-arrow--prev svg { transform:rotate(180deg); }
.st-product-page .yg-gallery-arrow:disabled { opacity:.3; cursor:default; }
.st-product-page .yg-product-summary { position:sticky; top:112px; min-width:0; padding:6px 0 0; align-self:start; background:none; border:0; border-radius:0; box-shadow:none; }
.st-product-page .st-product-edition { display:block; margin-bottom:12px; font-size:9px; letter-spacing:.14em; font-weight:750; color:var(--st-muted); }
.st-product-page .yg-product-vendor { display:block; margin-bottom:9px; font-size:9px; letter-spacing:.13em; font-weight:700; color:var(--st-muted); }
.st-product-page .yg-product-summary h1 { margin:0; font-size:clamp(28px,3.1vw,48px); font-weight:600; line-height:1.13; letter-spacing:-.05em; text-transform:none; overflow-wrap:anywhere; }
.st-product-page .yg-product-main-price { display:flex; align-items:baseline; flex-wrap:wrap; gap:12px; margin-top:22px; color:var(--yg-color-ink); font-size:24px; font-weight:600; line-height:1.3; }
.st-product-page .yg-product-main-price s { color:var(--st-muted); font-size:14px; font-weight:400; }
.st-product-page .yg-product-status { display:flex; align-items:center; gap:6px; margin:10px 0 0; font-size:10px; color:var(--st-muted); }
.st-product-page .yg-product-status::before { content:''; width:5px; height:5px; border-radius:50%; background:currentColor; }
.st-product-page .yg-product-form { margin-top:28px; }
.st-product-page .yg-variant-picker { margin-bottom:22px; }
.st-product-page .yg-option-row { padding:0; margin:0 0 20px; border:0; min-width:0; }
.st-product-page .yg-option-row legend { padding:0; margin-bottom:10px; font-size:10px; font-weight:750; letter-spacing:.08em; }
.st-product-page .yg-option-choices { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.st-product-page .yg-option-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-width:46px; min-height:42px; padding:10px 14px; background:var(--st-surface); border:1px solid var(--st-line); border-radius:6px; color:var(--yg-color-ink); font-size:11px; font-weight:650; cursor:pointer; transition:background .2s,color .2s,border-color .2s; }
.st-product-page .yg-option-button:hover { border-color:var(--yg-color-ink); }
.st-product-page .yg-option-button[aria-pressed=true] { background:var(--yg-color-ink); color:var(--yg-color-paper); border-color:var(--yg-color-ink); }
.st-product-page .yg-option-button:disabled { opacity:.32; text-decoration:line-through; cursor:not-allowed; }
.st-product-page .yg-color-swatch { display:inline-block; width:14px; height:14px; border:1px solid #87917f; border-radius:50%; }
.st-product-page .yg-product-form-actions { display:flex; align-items:center; gap:12px; }
.st-product-page .yg-product-form-actions>.yg-button { flex:1; padding-inline:16px; font-size:10px; letter-spacing:.04em; }
.st-product-page .yg-buy-now { display:block; width:100%; min-height:48px; padding:13px 20px; margin-top:12px; border:1px solid var(--yg-color-ink); border-radius:999px; background:transparent; color:var(--yg-color-ink); font-size:10px; font-weight:800; letter-spacing:.07em; cursor:pointer; transition:background .2s,color .2s; }
.st-product-page .yg-buy-now:hover { background:var(--yg-color-ink); color:var(--yg-color-paper); }
.st-product-page .yg-buy-now:disabled { opacity:.4; cursor:not-allowed; }
.st-product-page .st-product-service { display:grid; gap:5px; padding:18px 0; margin-top:10px; border-bottom:1px solid var(--st-line); color:var(--st-muted); font-size:10px; line-height:1.7; }
.st-product-page .st-product-service strong { font-size:10px; color:var(--yg-color-ink); font-weight:650; }
.st-product-page .st-product-fit-tools { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:20px 0 0; }
.st-product-page .yg-size-guide-trigger { display:flex; align-items:center; justify-content:space-between; gap:9px; min-width:0; min-height:49px; padding:12px 14px; border:1px solid var(--st-line); border-radius:7px; background:var(--st-surface); color:var(--yg-color-ink); text-align:left; cursor:pointer; }
.st-product-page .yg-size-guide-trigger span { font-size:8px; font-weight:750; letter-spacing:.1em; color:var(--st-muted); }
.st-product-page .yg-size-guide-trigger strong { font-size:9px; line-height:1.4; font-weight:700; }
.st-product-page .yg-product-description { margin-top:28px; }
.st-product-page .yg-accordion { border-top:1px solid var(--st-line); }
.st-product-page .yg-accordion:last-child { border-bottom:1px solid var(--st-line); }
.st-product-page .yg-accordion summary { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:16px 0; list-style:none; font-size:11px; font-weight:650; cursor:pointer; }
.st-product-page .yg-accordion summary::-webkit-details-marker { display:none; }
.st-product-page .yg-accordion summary::after { content:'+'; font-size:17px; font-weight:400; }
.st-product-page .yg-accordion[open] summary::after { content:'−'; }
.st-product-page .yg-accordion .yg-rte { padding-bottom:20px; font-size:12px; line-height:1.85; }
.st-product-page .yg-product-description .yg-rte img { display:block;max-width:100%;height:auto;margin:16px auto; }

/* Image viewing has a calm, full-screen canvas and controls outside the image. */
.st-product-page .yg-product-lightbox { display:flex; flex-direction:column; position:fixed; inset:0; z-index:180; visibility:hidden; opacity:0; pointer-events:none; background:var(--yg-color-paper); color:var(--yg-color-ink); transition:opacity .25s,visibility .25s; }
.st-product-page .yg-product-lightbox.is-open { visibility:visible; opacity:1; pointer-events:auto; }
.st-product-page .yg-lightbox-toolbar { display:grid; grid-template-columns:minmax(0,1fr) auto 48px; align-items:center; gap:15px; flex:0 0 66px; border-bottom:1px solid var(--st-line); padding:0 24px; font-size:10px; }
.st-product-page .yg-lightbox-toolbar strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; font-weight:600; }
.st-product-page .yg-lightbox-close { display:grid; place-items:center; justify-self:end; width:36px; height:36px; padding:0; border:1px solid var(--st-line); border-radius:50%; background:transparent; color:inherit; font-size:25px; cursor:pointer; }
.st-product-page .yg-lightbox-stage { display:flex; flex:1 1 auto; align-items:center; justify-content:center; min-height:0; overflow:auto; padding:18px 70px 72px; position:relative; background:#f1f3ed; }
.st-product-page .yg-lightbox-stage img { display:block; max-width:100%; max-height:calc(100dvh - 160px); width:auto; height:auto; object-fit:contain; transform-origin:center; transition:transform .18s ease; cursor:zoom-in; }
.st-product-page .yg-lightbox-stage.is-zoomed img { cursor:zoom-out; }
.st-product-page .yg-lightbox-arrow { position:fixed; top:50%; transform:translateY(-50%); z-index:2; display:grid; place-items:center; width:40px; height:40px; padding:0; border:1px solid #cfd5c7; border-radius:50%; background:#fbfcf7ef; color:#183d33; cursor:pointer; }
.st-product-page .yg-lightbox-arrow--prev { left:20px; }
.st-product-page .yg-lightbox-arrow--next { right:20px; }
.st-product-page .yg-lightbox-arrow svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.5; }
.st-product-page .yg-lightbox-arrow--prev svg { transform:rotate(180deg); }
.st-product-page .yg-lightbox-arrow:disabled { opacity:.3; cursor:default; }
.st-product-page .yg-lightbox-controls { position:fixed; bottom:20px; left:50%; transform:translateX(-50%); z-index:3; display:flex; align-items:center; border:1px solid var(--st-line); border-radius:999px; background:var(--st-surface); overflow:hidden; }
.st-product-page .yg-lightbox-controls button { display:grid; place-items:center; width:42px; height:36px; padding:0; border:0; background:transparent; color:inherit; font-size:18px; cursor:pointer; }
.st-product-page .yg-lightbox-controls span { min-width:55px; font-size:11px; text-align:center; }
.st-product-page .yg-lightbox-controls button:disabled { opacity:.25; cursor:default; }

/* Supporting tools share neutral surfaces and small editorial section labels. */
.yg-size-guide .yg-drawer-panel,.pg-fit-passport .yg-drawer-panel { width:min(590px,94vw); max-width:100%; background:var(--yg-color-paper); color:var(--yg-color-ink); }
.yg-size-guide-body { padding:30px 28px 50px; }
.yg-size-guide-body .yg-eyebrow { color:var(--st-muted); font-size:9px; letter-spacing:.12em; font-weight:750; }
.yg-size-guide-body h2 { margin:13px 0 16px; font-size:clamp(28px,3vw,43px); font-weight:550; line-height:1.12; letter-spacing:-.05em; }
.yg-size-guide-body>p { color:var(--st-muted); font-size:12px; line-height:1.9; }
.yg-size-table-wrap { overflow-x:auto; margin-top:26px; border:1px solid var(--st-line); border-radius:8px; }
.yg-size-table { width:100%; min-width:470px; border-collapse:collapse; font-size:10px; text-align:center; }
.yg-size-table th,.yg-size-table td { padding:14px 10px; border-bottom:1px solid var(--st-line); }
.yg-size-table thead th { background:var(--yg-color-ink); color:var(--yg-color-paper); font-size:9px; font-weight:650; }
.yg-size-table tbody tr:last-child th,.yg-size-table tbody tr:last-child td { border-bottom:0; }
.yg-size-table tbody th { font-weight:750; }
.yg-size-unit { margin-top:9px; font-size:9px!important; }
.yg-measure-grid { display:grid; grid-template-columns:1fr 1fr; gap:0 24px; margin-top:30px; }
.yg-measure-grid>div { padding:20px 0; border-top:1px solid var(--st-line); }
.yg-measure-grid span { display:block; margin-bottom:8px; color:var(--st-muted); font-size:9px; }
.yg-measure-grid strong { font-size:13px; font-weight:650; }
.yg-measure-grid p { margin:6px 0 0; color:var(--st-muted); font-size:11px; line-height:1.8; }
.pg-fit-passport .yg-drawer-head strong { display:block; font-size:20px; line-height:1.3; font-weight:600; letter-spacing:-.03em; }
.pg-fit-form { display:grid; gap:24px; padding:28px; }
.pg-fit-form>p { margin:0; color:var(--st-muted); font-size:12px; line-height:1.85; }
.pg-fit-fields { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.pg-fit-fields label { display:grid; gap:9px; color:var(--yg-color-ink); font-size:9px; font-weight:700; letter-spacing:.06em; }
.pg-fit-fields input { width:100%; min-width:0; min-height:48px; padding:12px; background:var(--st-surface); color:var(--yg-color-ink); border:1px solid var(--st-line); border-radius:7px; font-size:14px; }
.pg-fit-form fieldset { display:flex; flex-wrap:wrap; gap:12px; margin:0; padding:0; border:0; }
.pg-fit-form legend { margin-bottom:12px; font-size:9px; font-weight:750; letter-spacing:.07em; }
.pg-fit-form fieldset label { display:flex; align-items:center; gap:6px; font-size:11px; }
.pg-fit-form input[type=radio] { accent-color:var(--yg-color-ink); width:15px; height:15px; margin:0; }
.pg-fit-result { display:grid; grid-template-columns:auto 1fr; align-items:center; gap:8px 22px; padding:24px; border:1px solid var(--st-line); border-radius:12px; background:var(--st-surface); }
.pg-fit-result>span { grid-column:2; font-size:9px; letter-spacing:.07em; color:var(--st-muted); }
.pg-fit-result>strong { grid-column:1; grid-row:1/span 2; font-size:53px; font-weight:600; letter-spacing:-.06em; line-height:1; }
.pg-fit-result p { margin:0; font-size:11px; color:var(--st-muted); line-height:1.65; }
.pg-fit-result [data-fit-availability] { grid-column:1/-1; }
.pg-fit-result .yg-button { grid-column:1/-1; margin-top:10px; }
.pg-fit-form>small { color:var(--st-muted); font-size:10px; line-height:1.8; }
.st-product-page .pg-complete-mood { padding:70px 0 0; margin-top:40px; border-top:1px solid var(--st-line); background:none; border-radius:0; box-shadow:none; }
.st-product-page .pg-module-heading { display:flex; justify-content:space-between; gap:20px; margin-bottom:26px; }
.st-product-page .pg-module-heading h2 { margin:8px 0 12px; font-size:clamp(30px,4vw,54px); font-weight:550; letter-spacing:-.055em; line-height:1.12; }
.st-product-page .pg-module-heading p:last-child { margin:0; font-size:12px; color:var(--st-muted); max-width:480px; }
.st-product-page .pg-bundle-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.st-product-page .pg-bundle-card { position:relative; min-width:0; padding:0; border:0; border-radius:0; background:none; box-shadow:none; overflow:hidden; }
.st-product-page .pg-bundle-card>label { position:absolute; top:12px; left:12px; z-index:2; padding:5px; background:#ffffffea; border-radius:5px; }
.st-product-page .pg-bundle-card>label input { display:block; width:17px; height:17px; margin:0; accent-color:#183d33; }
.st-product-page .pg-bundle-card>a { display:block; background:#f0f2eb; border-radius:8px; overflow:hidden; }
.st-product-page .pg-bundle-card img { display:block; width:100%; height:auto; aspect-ratio:4/5; object-fit:contain; }
.st-product-page .pg-bundle-card>div { display:grid; gap:10px; padding:14px 0 0; background:none; border:0; }
.st-product-page .pg-bundle-card h3 { margin:0; font-size:12px; font-weight:650; line-height:1.5; letter-spacing:0; }
.st-product-page .pg-bundle-card strong { font-size:12px; font-weight:600; color:var(--yg-color-ink); }
.st-product-page .pg-bundle-card label span { display:block; margin-bottom:7px; font-size:8px; font-weight:750; letter-spacing:.08em; }
.st-product-page .pg-bundle-card select { display:block; width:100%; min-width:0; min-height:40px; padding:9px 12px; border:1px solid var(--st-line); border-radius:6px; background:var(--st-surface); color:var(--yg-color-ink); font-size:11px; }
.st-product-page .pg-bundle-action { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; padding-top:24px; margin-top:24px; border-top:1px solid var(--st-line); }
.st-product-page .pg-bundle-action p { margin:0; color:var(--st-muted); font-size:11px; }
.st-product-page .pg-bundle-action strong { color:var(--yg-color-ink); }
.st-product-page .pg-recent-card { min-width:0; background:none; border:0; border-radius:0; box-shadow:none; overflow:hidden; }
.st-product-page .pg-recent-card>a { display:block; }
.st-product-page .pg-recent-card img { display:block; width:100%; height:auto; aspect-ratio:4/5; object-fit:contain; border-radius:8px; background:#f0f2eb; }
.st-product-page .pg-recent-card h3 { margin:12px 0 5px; font-size:11px; line-height:1.5; font-weight:650; }
.st-product-page .pg-recent-card strong { color:var(--yg-color-ink); font-size:11px; font-weight:600; }
.st-product-page .pg-recently-viewed .yg-section-head>span { color:var(--st-muted); font-size:9px; letter-spacing:.08em; }
@media(max-width:1100px) and (min-width:821px) {
  .st-product-page .yg-product-layout { grid-template-columns:minmax(0,1fr) minmax(300px,.8fr); gap:26px; }
  .st-product-page .yg-product-summary h1 { font-size:32px; }
  .st-product-page .st-product-fit-tools { grid-template-columns:1fr; }
}
@media(max-width:820px) {
  .st-product-page .yg-product-layout { grid-template-columns:minmax(0,1fr); gap:28px; }
  .st-product-page .yg-product-gallery-slide { flex-basis:100%; }
  .st-product-page .yg-product-gallery--single .yg-product-gallery-slide { max-height:none; }
  .st-product-page .yg-product-summary { position:static; top:auto; padding:0; }
  .st-product-page .yg-product-summary h1 { font-size:34px; max-width:590px; }
  .st-product-page .yg-product-form { max-width:620px; }
  .st-product-page .yg-product-description { max-width:620px; }
}
@media(max-width:767px) {
  .st-product-page .yg-breadcrumbs { padding:20px 0 16px; font-size:9px; }
  .st-product-page .yg-product-gallery-shell { border-radius:7px; }
  .st-product-page .yg-product-gallery-slide { aspect-ratio:1/1.1; }
  .st-product-page .yg-product-summary h1 { font-size:31px; }
  .st-product-page .yg-product-main-price { margin-top:18px; font-size:23px; }
  .st-product-page .yg-product-form-actions { flex-wrap:wrap; gap:10px; }
  .st-product-page .yg-product-form-actions>.yg-button { flex-basis:140px; min-width:0; padding-inline:12px; font-size:9px; }
  .st-product-page .st-product-fit-tools { gap:8px; }
  .st-product-page .yg-size-guide-trigger { padding:10px; flex-direction:column; align-items:flex-start; justify-content:center; min-height:64px; gap:5px; }
  .st-product-page .yg-lightbox-toolbar { padding-inline:14px; gap:8px; flex-basis:58px; }
  .st-product-page .yg-lightbox-toolbar strong { font-size:10px; }
  .st-product-page .yg-lightbox-stage { padding:12px 16px 70px; }
  .st-product-page .yg-lightbox-stage img { max-height:calc(100dvh - 150px); }
  .st-product-page .yg-lightbox-arrow { width:34px; height:34px; background:#fbfcf7e8; }
  .st-product-page .yg-lightbox-arrow--prev { left:10px; }
  .st-product-page .yg-lightbox-arrow--next { right:10px; }
  .yg-size-guide-body,.pg-fit-form { padding:24px 20px 36px; }
  .yg-measure-grid { gap:0 18px; }
  .pg-fit-fields { gap:12px; }
  .pg-fit-result { padding:20px; }
  .st-product-page .pg-complete-mood { padding-top:40px; margin-top:30px; }
  .st-product-page .pg-bundle-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 12px; }
  .st-product-page .pg-bundle-card h3 { font-size:10px; }
  .st-product-page .pg-bundle-card label span { font-size:7px; }
  .st-product-page .pg-bundle-card select { font-size:10px; padding-inline:7px; }
  .st-product-page .pg-bundle-action { gap:14px; }
  .st-product-page .pg-bundle-action .yg-button { width:100%; }
}
@media(prefers-reduced-motion:reduce) {
  .st-product-page .yg-product-gallery { scroll-behavior:auto; }
  .st-product-page .yg-product-lightbox,.st-product-page .yg-lightbox-stage img,.st-product-page .yg-option-button { transition:none; }
}