/* Additions for the live product section (not part of the static design). */
.nd-p-product .nd-variant-pick{margin-top:12px}
.nd-p-product .nd-variant-pick label{display:flex;flex-direction:column;gap:6px}
.nd-p-product .nd-variant-pick span{font-family:var(--nd-font-body);font-weight:800;font-size:calc(.72 * var(--nd-rem,1rem));letter-spacing:.12em;text-transform:uppercase;color:#5b6b7d}
.nd-p-product .nd-variant-pick select{font:inherit;font-weight:700;color:var(--ink);background:#fff;border:2px solid #dfe7ef;border-radius:12px;padding:12px 14px;cursor:pointer}
.nd-p-product .nd-pdp-hint{margin-top:8px;font-size:calc(.8 * var(--nd-rem,1rem));color:var(--coral)}
.nd-p-product .pdp-cta[disabled]{opacity:.55;cursor:not-allowed;transform:none}
.nd-p-product .pdp-cta.is-loading{opacity:.75;pointer-events:none}
.nd-p-product .vip-add.is-active{cursor:default}

/* ---- Told layout (layout = told). Scoped to .nd-told; spec docs/browser/ref-2026-11/SPEC.md "Pod hero". ---- */
.nd-told.ndt-pdp { padding: 20px 0 64px; }
.nd-told .product-detail-wrapper, .nd-told .product-detail { background: none; }
.nd-told .product-detail-wrapper > .page-width { max-width: none; padding-inline: 0; }
.nd-told .ndt-grid { display: grid; grid-template-columns: minmax(0, 716fr) minmax(0, 420fr); gap: 64px; align-items: start; }

/* Gallery */
.nd-told .ndt-main { position: relative; aspect-ratio: 716 / 660; border-radius: 20px; overflow: hidden; background: var(--t-sky); }
.nd-told .ndt-main > img[data-nd-main] { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.nd-told .ndt-main > img[hidden], .nd-told .ndt-main .pg-video[hidden] { display: none; }
.nd-told .ndt-main .pg-video { position: absolute; inset: 0; background: #000; }
.nd-told .ndt-main .pg-video .theme-video-media img { padding: 0; background: none; aspect-ratio: auto; }
.nd-told .ndt-badges { position: absolute; z-index: 2; top: 17px; left: 17px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; pointer-events: none; }
.nd-told .ndt-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; background: var(--t-white); box-shadow: 0 2px 10px rgba(34, 40, 47, .08); font-size: 13px; line-height: 18px; font-weight: 600; color: var(--t-ink); }
.nd-told .ndt-badge:first-child .ndt-icon { color: var(--t-coral); }
.nd-told .ndt-badge + .ndt-badge .ndt-icon { color: var(--t-ocean); }
.nd-told .ndt-icon { flex: none; width: 15px; height: 15px; }
.nd-told .ndt-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 17px; margin-top: 14px; }
.nd-told .ndt-thumbs :is(.ndt-thumb, .pg-thumb) {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  aspect-ratio: 1; width: 100%; padding: 0; margin: 0; border: 2px solid transparent; border-radius: 16px; overflow: hidden;
  background: var(--t-sky); color: var(--t-ink); cursor: pointer; font: inherit;
}
.nd-told .ndt-thumbs :is(.ndt-thumb, .pg-thumb) > img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.nd-told .ndt-thumbs :is(.ndt-thumb, .pg-thumb).is-on { border-color: var(--t-ink); }
.nd-told .ndt-thumbs :is(.ndt-thumb, .pg-thumb):focus-visible { outline: 3px solid var(--t-ocean); outline-offset: 2px; }
.nd-told .ndt-thumb--size > img { width: 75%; height: auto; object-fit: contain; }
.nd-told .ndt-thumb--size span { font-size: 12.5px; line-height: 1.2; font-weight: 600; }
.nd-told .ndt-thumb .pg-thumb__play { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.nd-told .ndt-thumb .pg-thumb__play svg { width: 36%; max-width: 34px; height: auto; color: var(--t-white); filter: drop-shadow(0 2px 6px rgba(20, 40, 60, .3)); }

/* Info column */
.nd-told .ndt-rating { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--t-ink); }
.nd-told .ndt-rating__text { display: block; }
.nd-told .ndt-title { margin: 6px 0 0; font-family: var(--t-display); font-weight: 400; font-size: 46px; line-height: .92; text-transform: uppercase; color: var(--t-ink); letter-spacing: 0; }
.nd-told .ndt-lede { margin: 12px 0 0; font-size: 17px; line-height: 26px; color: var(--t-ink-85); }
.nd-told .ndt-price { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 14px; }
.nd-told .ndt-price__now { font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.nd-told .ndt-price__was { font-size: 18px; font-weight: 500; color: var(--t-ink-50); }
.nd-told .ndt-save { display: inline-flex; align-items: center; gap: .3em; padding: 4px 12px; border-radius: 999px; background: var(--t-green); font-size: 13px; line-height: 18px; font-weight: 600; }
.nd-told .ndt-pay8 { display: flex; flex-wrap: wrap; gap: 4px; margin: 12px 0 0; padding: 8px 14px; border-radius: 10px; background: var(--t-grey); font-size: 14px; line-height: 20px; }
.nd-told .ndt-pay8 b { font-weight: 400; }
.nd-told .ndt-pay8__link { color: var(--t-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.nd-told .ndt-foot { margin: 10px 0 0; font-size: 13px; line-height: 18px; color: var(--t-ink-66); }
.nd-told .ndt-label { margin: 0 0 8px; font-size: 13px; line-height: 18px; color: var(--t-ink-66); }
.nd-told .ndt-label b { font-weight: 700; color: var(--t-ink); margin-right: 4px; }

/* Pod swatches */
.nd-told .ndt-pick { margin-top: 18px; }
.nd-told .ndt-sws { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding-top: 6px; }
.nd-told .ndt-sw { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 142px; padding: 8px 5px 10px; border: 1px solid var(--t-line); border-radius: 14px; background: var(--t-white); color: var(--t-ink); text-align: center; text-decoration: none; }
.nd-told .ndt-sw:hover { border-color: var(--t-ink-50); }
.nd-told .ndt-sw:focus-visible { outline: 3px solid var(--t-ocean); outline-offset: 2px; }
.nd-told .ndt-sw.is-on { border: 2px solid var(--t-ink); background: var(--t-sky); padding: 7px 4px 9px; }
.nd-told .ndt-sw__img { display: block; width: 100%; aspect-ratio: 89 / 62; margin-bottom: 6px; overflow: hidden; }
.nd-told .ndt-sw__img img { width: 100%; height: 100%; max-width: none; object-fit: contain; }
.nd-told .ndt-sw__name { font-size: 13px; line-height: 16px; font-weight: 700; }
.nd-told .ndt-sw__price { font-size: 12.5px; line-height: 16px; color: var(--t-ink-66); }
.nd-told .ndt-sw__tag { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 1px 8px; border-radius: 999px; background: var(--t-yellow); font-size: 10.5px; line-height: 15px; font-weight: 700; }

/* Sets (the $package radios) */
.nd-told .ndt-sets { margin-top: 18px; }
.nd-told .ndt-sets__list { display: flex; flex-direction: column; gap: 10px; }
.nd-told .ndt-set {
  position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 3px; width: 100%; margin: 0; padding: 12px 16px;
  border: 1px solid rgba(34, 40, 47, .18); border-radius: 14px; background: var(--t-white); color: var(--t-ink); text-align: left; font: inherit; cursor: pointer;
}
.nd-told .ndt-set:hover { border-color: var(--t-ink-50); }
.nd-told .ndt-set:focus-visible { outline: 3px solid var(--t-ocean); outline-offset: 2px; }
.nd-told .ndt-set.is-on { border: 2px solid var(--t-ink); padding: 11px 15px; background: var(--t-sky); }
.nd-told .ndt-set__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.nd-told .ndt-set__name { font-size: 17px; line-height: 22px; font-weight: 700; }
.nd-told .ndt-set__price { white-space: nowrap; font-size: 17px; line-height: 22px; }
.nd-told .ndt-set__price b { font-weight: 700; }
.nd-told .ndt-set__price s { font-size: 13px; color: var(--t-ink-50); }
.nd-told .ndt-set__sub { font-size: 13px; line-height: 18px; color: var(--t-ink-66); }
.nd-told .ndt-set__note { display: block; margin-top: 6px; padding: 8px 12px; border-radius: 8px; background: var(--t-grey); font-size: 13px; line-height: 18px; color: var(--t-ink-85); }
.nd-told .ndt-set__note strong, .nd-told .ndt-set__note b { font-weight: 700; color: var(--t-ink); }
.nd-told .ndt-set__tag { position: absolute; top: -10px; right: 12px; padding: 2px 9px; border-radius: 999px; background: var(--t-ink); color: var(--t-white); font-size: 11.5px; line-height: 16px; font-weight: 700; }
.nd-told .ndt-variant { margin-top: 12px; }
.nd-told .ndt-variant label { display: flex; flex-direction: column; gap: 6px; }
.nd-told .ndt-variant span { font-size: 13px; font-weight: 700; }
.nd-told .ndt-variant select { font: inherit; font-size: 15px; color: var(--t-ink); background: var(--t-white); border: 1px solid rgba(34, 40, 47, .25); border-radius: 12px; padding: 11px 14px; }

/* VIP pass box (only when the told_pass setting shows it) */
.nd-told .ndt-pass { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 16px; padding: 12px 14px; border: 1px solid rgba(34, 40, 47, .18); border-radius: 14px; background: var(--t-white); color: var(--t-ink); text-align: left; font: inherit; cursor: pointer; }
.nd-told .ndt-pass img { width: 40px; height: auto; flex: none; }
.nd-told .ndt-pass > span { flex: 1; display: flex; flex-direction: column; font-size: 14px; line-height: 19px; }
.nd-told .ndt-pass small { font-size: 12.5px; color: var(--t-ink-66); }
.nd-told .ndt-pass em { font-style: normal; font-weight: 700; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--t-ink); }
.nd-told .ndt-pass.is-added { border: 2px solid var(--t-ink); padding: 11px 13px; background: var(--t-sky); }
.nd-told .ndt-pass.is-active { cursor: default; }

/* Buy area: stock theme-product-form / button[name=add], restyled */
.nd-told .ndt-buy { display: block; margin-top: 20px; }
.nd-told .ndt-cta-row { display: flex; gap: 12px; align-items: stretch; }
.nd-told .ndt-cta-row .ndt-qty { flex: none; }
.nd-told .ndt-buy .ndt-cta.button {
  flex: 1; min-height: 66px; padding: 0 28px; border: 2px solid var(--t-ink); border-radius: 999px; background: var(--t-yellow); color: var(--t-ink);
  box-shadow: 0 5px 0 var(--t-ink); font-family: var(--t-body); font-size: 18px; line-height: 1.1; font-weight: 700; letter-spacing: 0; white-space: normal; text-transform: none;
}
.nd-told .ndt-buy .ndt-cta.button::after { content: none; display: none; }
.nd-told .ndt-buy .ndt-cta.button:not([disabled]):hover { background: var(--t-yellow); filter: brightness(.96); }
.nd-told .ndt-buy .ndt-cta.button:not([disabled]):active { transform: translateY(3px); box-shadow: 0 2px 0 var(--t-ink); }
.nd-told .ndt-buy .ndt-cta.button[disabled] { opacity: .55; cursor: not-allowed; }
.nd-told .ndt-buy .ndt-cta.button.loading { color: transparent; pointer-events: none; }
.nd-told .ndt-buy .ndt-cta.button .loading--rotator { color: var(--t-ink); }
.nd-told .ndt-pay { margin-top: 12px; }
.nd-told .ndt-pay.is-disabled { display: none; }
.nd-told .ndt-apps { margin-top: 14px; }
.nd-told .ndt-micro { margin: 12px 0 0; font-size: 12px; line-height: 17px; color: var(--t-ink-66); text-align: center; }
.nd-told .ndt-micro a { color: inherit; text-decoration: underline; }
.nd-told .ndt-login { text-align: left; }

/* Vegan, drop info, trust row */
.nd-told .ndt-vegan { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; font-size: 14.5px; line-height: 19px; font-weight: 500; cursor: pointer; }
.nd-told .ndt-vegan[hidden] { display: none; }
.nd-told .ndt-vegan input { flex: none; width: 22px; height: 22px; margin: 0; border-radius: 6px; accent-color: var(--t-ink); cursor: pointer; }
.nd-told .ndt-drop { display: flex; gap: 12px; margin-top: 18px; padding: 16px 20px; border-radius: 14px; background: var(--t-sky); font-size: 14.5px; line-height: 21px; }
.nd-told .ndt-drop > .ndt-icon { margin-top: 3px; width: 16px; height: 16px; }
.nd-told .ndt-drop strong, .nd-told .ndt-drop b { font-weight: 700; }
.nd-told .ndt-drop a { display: inline; color: var(--t-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.nd-told .ndt-trust { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px 22px; margin-top: 20px; }
.nd-told .ndt-trust__item { display: inline-flex; flex: 0 1 auto; min-width: 0; align-items: center; gap: 8px; font-size: 12.5px; line-height: 16px; font-weight: 500; color: var(--t-ink-78); }
.nd-told .ndt-trust__item .ndt-icon { color: var(--t-ink); }
.nd-told .ndt-other { margin-top: 20px; display: grid; gap: 8px; }
.nd-told .ndt-other a { display: block; padding: 12px 14px; border: 1px solid var(--t-line); border-radius: 12px; color: var(--t-ink); text-decoration: none; font-size: 14px; line-height: 19px; }
.nd-told .ndt-other a span { display: block; color: var(--t-ink-66); font-size: 13px; }
.nd-told .nd-pdp-hint { margin-top: 8px; font-size: 13px; color: var(--t-coral); }

@media (max-width: 990px) {
  .nd-told .ndt-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .nd-told .ndt-info { max-width: 640px; }
}
@media (max-width: 720px) {
  .nd-told.ndt-pdp { padding: 16px 0 48px; }
  .nd-told .ndt-main { aspect-ratio: 350 / 400; border-radius: 24px; }
  .nd-told .ndt-main > img[data-nd-main] { object-fit: contain; }
  /* Gallery image blocks (lifestyle photos): keep the photo ratio and fill, as in the Told reference */
  .nd-told .ndt-main.ndt-main--photos { aspect-ratio: 716 / 660; }
  .nd-told .ndt-main.ndt-main--photos > img[data-nd-main] { object-fit: cover; }
  .nd-told .ndt-badges { top: 16px; left: 14px; gap: 8px; }
  .nd-told .ndt-badge { padding: 6px 14px; font-size: 13.5px; }
  .nd-told .ndt-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .nd-told .ndt-thumbs::-webkit-scrollbar { display: none; }
  .nd-told .ndt-thumbs :is(.ndt-thumb, .pg-thumb) { flex: 0 0 76px; width: 76px; }
  .nd-told .ndt-title { font-size: 40px; }
  .nd-told .ndt-lede { font-size: 17px; line-height: 26px; }
  .nd-told .ndt-price__now { font-size: 44px; }
  .nd-told .ndt-pay8 { font-size: 15px; }
  .nd-told .ndt-foot { font-size: 14px; }
  .nd-told .ndt-label { font-size: 14px; }
  .nd-told .ndt-sw { min-height: 130px; }
  .nd-told .ndt-sw__name { font-size: 13.5px; }
  .nd-told .ndt-set__name { font-size: 18px; }
  .nd-told .ndt-set__sub { font-size: 14px; line-height: 20px; }
  .nd-told .ndt-set__note { font-size: 14px; line-height: 20px; }
  .nd-told .ndt-buy .ndt-cta.button { min-height: 66px; font-size: 18px; }
  .nd-told .ndt-micro { font-size: 12.5px; }
  .nd-told .ndt-vegan { font-size: 15px; line-height: 20px; }
  .nd-told .ndt-drop { font-size: 15px; line-height: 21px; padding: 16px 18px; }
  .nd-told .ndt-trust { gap: 10px 18px; justify-content: space-between; flex-wrap: nowrap; }
}

/* Star rating (components/nudel/stars.html), shown only when the section setting is Show. */
.nd-told .ndt-rating .nd-stars { display: inline-flex; align-items: center; gap: 8px; letter-spacing: 0; }
.nd-told .ndt-rating .nd-stars__icons { display: inline-flex; gap: 2px; font-size: 12px; line-height: 1; color: var(--t-ink); }
.nd-told .ndt-rating .nd-star { display: block; }
