/* newage product page: gallery, buy box, options, tabs, reviews, lightbox */
.pdp { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 3.4vw, 52px); padding-bottom: var(--s-section); align-items: start; }
.pdp > :first-child:not(.gal):not(.buy) { grid-column: 1 / -1; }

/* gallery */
.gal { display: grid; gap: 12px; align-content: start; min-width: 0; }
.stage { background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; aspect-ratio: 1 / 1; display: grid; place-items: center; position: relative; }
.stage-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.stage img { width: 100%; height: 100%; object-fit: contain; padding: clamp(14px, 2vw, 28px); }
.stage .save { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--orange-cta); color: #fff; font-size: 13.5px; font-weight: 700; letter-spacing: .05em; padding: 7px 13px; border-radius: 3px; }
.stage .save.ship { top: 54px; background: var(--charcoal); }
.stage-video { position: absolute; inset: 0; background: #000; }
.stage-video iframe { width: 100%; height: 100%; border: 0; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.thumbs button { position: relative; padding: 0; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; background: var(--white); width: clamp(72px, 8vw, 96px); flex: none; aspect-ratio: 1 / 1; transition: border-color .2s ease; }
.thumbs button img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.thumbs button[aria-current="true"] { border-color: var(--charcoal); }
.thumbs button:hover { border-color: var(--orange); }
.thumbs .play { position: absolute; inset: 0; margin: auto; width: 32px; height: 32px; color: #fff; stroke: none; }

/* buy box */
.buy { min-width: 0; }
.buy .brandline { padding: 2px 0; display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-text); }
.buy h1 { font-size: clamp(27px, 3.1vw, 40px); text-transform: uppercase; margin: 9px 0 8px; }
.buy .sku { font-size: 14.5px; color: #6b6764; margin: 0; }
.prate { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; font-size: 14.5px; color: #6b6764; }
.prate .star-container { position: relative; display: inline-block; font-size: 18px; line-height: 1; letter-spacing: 2px; }
.prate .stars-empty { color: #D9D3CD; }
.prate .stars-filled { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--orange); }
.reviews-link { color: var(--orange-cta); font-weight: 600; text-decoration: underline; }
.pricebox { margin: 20px 0 0; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 6px; }
.pricerow { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.pricerow .now { font-family: var(--head); font-size: clamp(38px, 4.4vw, 52px); line-height: 1; }
.pricerow .was { font-size: 19px; color: #6f6862; text-decoration: line-through; }
.savepill { display: inline-block; margin-top: 10px; background: #FFEFE8; color: var(--orange-cta-hover); font-size: 15px; font-weight: 600; padding: 6px 13px; border-radius: 40px; }
.rrpline { font-size: 14.5px; color: #6b6764; margin: 10px 0 0; }
.countdown { margin: 10px 0 0; font-weight: 600; color: var(--orange-cta); }
.payl { display: grid; gap: 6px; margin-top: 14px; font-size: 14.5px; }
.payl a { color: #3b3937; }
.payl strong { font-weight: 700; }
.gift { display: flex; gap: 14px; margin-top: 16px; padding: 14px 18px; background: #FFF4EF; border: 1px solid #FFD9C9; border-radius: 6px; font-size: 15px; }
.gift b { display: block; }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: #3B7A57; font-weight: 600; margin-top: 18px; }
.stock::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.stock.out_of_stcok { color: #a43a1a; }

.poptions { margin-top: 18px; display: grid; gap: 14px; }
.ofield label, .ofield .olabel { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
.ofield.required > label::after, .ofield.required > .olabel::after { content: " *"; color: var(--orange-cta); }
.ofield select, .ofield input[type="text"], .ofield input[type="date"], .ofield input[type="time"], .ofield input[type="datetime-local"], .ofield textarea,
.rform input[type="text"], .rform input[type="email"], .rform input[type="tel"], .rform select, .rform textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--white);
  font-family: var(--body); font-size: 16px; color: var(--charcoal);
}
.ofield select:focus, .rform input:focus, .rform select:focus, .rform textarea:focus { border-color: var(--orange); outline: none; }
.ochoices { display: grid; gap: 8px; }
.opts { margin-top: 16px; display: grid; gap: 10px; }
.optline { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.45; color: #454341; cursor: pointer; font-weight: 400 !important; }
.optline input { width: 19px; height: 19px; accent-color: var(--orange-cta); flex: none; margin-top: 2px; }
.optline .note { display: block; font-size: 13.5px; color: #6b6764; margin-top: 2px; }
.optline img { display: inline-block; vertical-align: middle; border-radius: 3px; }
.knife-law { font-size: 14px; color: #454341; }
.knife-law summary { cursor: pointer; color: var(--orange-cta); font-weight: 600; }

.cartrow { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 4px; background: var(--white); }
.qty button { width: 46px; min-height: 54px; border: 0; background: none; font-size: 20px; color: var(--charcoal); }
.qty button:hover:not(:disabled) { color: var(--orange-cta); }
.qty input { width: 46px; min-height: 54px; border: 0; text-align: center; font-family: var(--body); font-size: 17px; font-weight: 600; background: transparent; outline: none; }
.btn-cart { flex: 1; min-width: 200px; min-height: 54px; border: 0; border-radius: 4px; background: var(--orange-cta); color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: background .25s ease; }
.btn-cart:hover:not(:disabled) { background: var(--orange-cta-hover); }
.btn-cart:disabled, .btn-cart.disabled { background: #b9b3ad; cursor: default; }
.btn-cart.busy { opacity: .7; }
.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.assure div { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 16px 14px; text-align: center; }
.assure .icon { color: var(--orange); margin: 0 auto 9px; display: block; stroke-width: 1.6; }
.assure b { display: block; font-size: 14.5px; font-weight: 600; }
.assure span { display: block; font-size: 13.5px; color: #6b6764; line-height: 1.4; margin-top: 2px; }

/* detail tabs */
.dsec { background: var(--white); border-top: 1px solid var(--line); padding: var(--s-section) 0; }
.dsec h2 { font-size: clamp(23px, 2.5vw, 32px); text-transform: uppercase; margin-bottom: 18px; }
.ptabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.ptabs button { padding: 14px 20px; border: 0; background: none; font-size: 15px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #6b6764; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.ptabs button[aria-selected="true"] { color: var(--charcoal); border-bottom-color: var(--orange); }
.ptabs button:hover { color: var(--orange-text); }
.tpanel[hidden] { display: none; }
.rte p { margin: 0 0 18px; color: #3b3937; line-height: 1.68; }
.rte ul { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 11px; }
.rte li { position: relative; padding-left: 26px; color: #3b3937; }
.rte li::before { content: ""; position: absolute; left: 6px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.rte img { height: auto; }
.rte table { max-width: 100%; }
.spec { width: 100%; border-collapse: collapse; margin-top: 8px; }
.spec th { text-align: left; padding: 12px 14px; background: var(--offwhite); font-size: 14.5px; }
.spec td { padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.spec td:first-child { width: 34%; color: #6b6764; }

/* forms and messages */
.rform { display: grid; gap: 14px; max-width: 640px; }
.rform label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 600; }
.rform .optline { display: flex; }
.form-msg:empty { display: none; }
.form-msg { padding: 12px 16px; border-radius: 4px; background: var(--offwhite); border-left: 4px solid var(--grey); font-size: 15px; }
.form-msg.ok { border-left-color: #2f6b3d; }
.form-msg.err { border-left-color: var(--orange-cta); }
.rating { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rating legend { float: left; width: 100%; font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
.rating input { position: absolute; opacity: 0; }
.rating label { font-size: 30px; line-height: 1; color: #D9D3CD; cursor: pointer; }
.rating input:checked ~ label, .rating label:hover, .rating label:hover ~ label { color: var(--orange); }
.rating input:focus-visible + label { outline: 2px solid var(--orange); outline-offset: 2px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--g-lg); }
.contact-side p { margin: 0 0 18px; }

.review-item { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.review-score .stars svg { width: 15px; height: 15px; color: var(--orange); }
.review-score .stars svg.off { color: #D9D3CD; }
.review-date { font-size: 13.5px; color: #6b6764; }

/* related / upsell */
.rel { padding: var(--s-section) 0; }
.rel:empty, .rel #related-inner:empty { display: none; }
.rel h2, .upsell h2 { font-size: clamp(23px, 2.5vw, 32px); text-transform: uppercase; margin-bottom: var(--s-head); }

/* lightbox */
.lightbox { border: 0; padding: 0; background: rgba(20, 18, 17, .92); max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 88vh; object-fit: contain; background: #fff; }
.lightbox button { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; display: grid; place-items: center; }
.lightbox button:hover { background: var(--orange-cta); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-nav.prev { left: 16px; }
.lightbox-nav.next { right: 16px; }

@media (max-width: 860px) {
  .pdp { grid-template-columns: minmax(0, 1fr); }
  .assure { grid-template-columns: 1fr; }
  .assure div { display: grid; grid-template-columns: 32px 1fr; text-align: left; gap: 0 12px; align-items: center; }
  .assure .icon { grid-row: span 2; margin: 0; }
  .contact-grid, .review-item { grid-template-columns: minmax(0, 1fr); }
  .ptabs { overflow-x: auto; flex-wrap: nowrap; }
  .ptabs button { white-space: nowrap; padding: 14px 14px; }
}

/* upsell: "bought together" picker */
.upsell-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.upsell-tile { position: relative; display: grid; gap: 6px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.upsell-pick { position: absolute; top: 8px; left: 8px; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; background: #fff; border-radius: 6px; }
.upsell-pick input { width: 20px; height: 20px; accent-color: var(--orange-cta); }
.upsell-img img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.upsell-name { font-size: 14px; font-weight: 600; color: var(--charcoal); text-decoration: none; }
.upsell-name:hover { color: var(--orange-text); }
.upsell-price { font-weight: 700; }
.upsell-bar { display: grid; gap: 10px; justify-items: start; }
.upsell-has { display: grid; gap: 10px; justify-items: start; }
.upsell-has[hidden], .upsell-none[hidden], .upsell-age[hidden], .upsell-err[hidden] { display: none; }
.upsell-total b { font-size: 20px; }
