/* Storefront extras (inc/storefront-extras.php): product page and homepage, Studio look. */

/* ── Product page ─────────────────────────────────────────────────────────── */
.op-incl-vat { margin: 4px 0 0; font-size: 14px; color: var(--st-ink2, #3B4148); font-variant-numeric: tabular-nums; }
body.op-premium.single-product .summary.entry-summary > .op-incl-vat { order: 3; }

.op-sample { margin: 12px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--st-mute, #7A8189); }
.op-sample a { color: var(--st-ink, #0E1114); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; margin-right: 6px; }
.op-sample a:hover { color: var(--st-teal, #0A8AA6); }
.op-sample span { display: inline; }
body.op-premium.single-product .summary.entry-summary > .op-sample { order: 8; }

.op-df { margin: 16px 0 0; padding: 14px 16px; border: 1px solid var(--st-line, #E6E8EA); border-radius: 14px; background: #fff; font-family: var(--st-font, inherit); }
.op-df label { display: block; margin: 0 0 8px; font-size: 13.5px; font-weight: 500; color: var(--st-ink, #0E1114); }
.op-df input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid #CFD3D7; border-radius: 999px; background: #fff; font: inherit; font-size: 14.5px; color: var(--st-ink, #0E1114); }
.op-df input:focus-visible { outline: 2px solid var(--st-teal, #0A8AA6); outline-offset: 2px; border-color: var(--st-ink, #0E1114); }
.op-df__out { margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--st-ink2, #3B4148); }
body.op-premium.single-product .summary.entry-summary > .op-df { order: 10; }

.op-rv { margin-top: 72px; font-family: var(--st-font, inherit); }
.op-rv h2 { margin: 0 0 20px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--st-ink, #0E1114); }
.op-rv__list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.op-rv__list a { display: block; color: var(--st-ink, #0E1114); font-size: 13.5px; line-height: 1.35; }
.op-rv__list img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 12px; background: var(--st-well, #F3F4F5); margin-bottom: 8px; mix-blend-mode: multiply; }
.op-rv__list span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.op-rv__list a:hover span { color: var(--st-teal, #0A8AA6); }

/* Description teaser under the price (live for everyone). */
.op-desc-teaser { margin: 12px 0 0; font-family: var(--st-font, inherit); font-size: 14.5px; line-height: 1.55; color: var(--st-ink2, #3B4148); }
.op-desc-teaser a { color: var(--st-ink, #0E1114); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.op-desc-teaser a:hover { color: var(--st-teal, #0A8AA6); }
body.op-premium.single-product .summary.entry-summary > .op-desc-teaser { order: 4; }
#opFullDescription { scroll-margin-top: 96px; }

/* ── Homepage: ready-made packs ───────────────────────────────────────────── */
.op-kits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.op-kit { display: flex; flex-direction: column; padding: 14px 14px 18px; border: 1px solid var(--st-line, #E6E8EA); border-radius: 18px; background: #fff; font-family: var(--st-font, inherit); }
.op-kit__imgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 6px; border-radius: 12px; background: var(--st-well, #F3F4F5); }
.op-kit__imgs img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.op-kit__imgs--3 img:first-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.op-kit h3 { margin: 16px 2px 0; font-size: 17px; font-weight: 600; letter-spacing: -.015em; color: var(--st-ink, #0E1114); }
.op-kit__line { margin: 4px 2px 0; font-size: 13.5px; color: var(--st-mute, #7A8189); }
.op-kit__items { margin: 12px 2px 0; padding: 12px 0 0; border-top: 1px solid var(--st-line, #E6E8EA); list-style: none; display: grid; gap: 6px; }
.op-kit__items a { font-size: 13.5px; line-height: 1.35; color: var(--st-ink2, #3B4148); }
.op-kit__items a:hover { color: var(--st-teal, #0A8AA6); }
.op-kit__price { margin: auto 2px 0; padding-top: 16px; font-size: 13.5px; color: var(--st-ink2, #3B4148); }
.op-kit__price strong { font-size: 19px; font-weight: 600; letter-spacing: -.02em; color: var(--st-ink, #0E1114); font-variant-numeric: tabular-nums; }
.op-kit__price small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--st-mute, #7A8189); }
.op-kit__cta { display: flex; align-items: center; justify-content: center; height: 44px; margin-top: 14px; border-radius: 999px; background: var(--st-ink, #0E1114); color: #fff; font-size: 14px; font-weight: 500; }
.op-kit__cta:hover { background: #000; color: #fff; }

/* ── Homepage: how ordering works ─────────────────────────────────────────── */
.op-how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: op-how; border-top: 1px solid var(--st-ink, #0E1114); font-family: var(--st-font, inherit); }
.op-how li { counter-increment: op-how; padding: 22px 24px 0 0; }
.op-how li + li { padding-left: 24px; border-left: 1px solid var(--st-line, #E6E8EA); }
.op-how li::before { content: counter(op-how); display: block; margin-bottom: 28px; font-size: 13px; font-weight: 500; color: var(--st-teal, #0A8AA6); font-variant-numeric: tabular-nums; }
.op-how b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; color: var(--st-ink, #0E1114); }
.op-how span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--st-ink2, #3B4148); }

/* ── Homepage: recent work ────────────────────────────────────────────────── */
.op-work { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; font-family: var(--st-font, inherit); }
.op-work figure { margin: 0; }
.op-work img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--st-well, #F3F4F5); }
.op-work figcaption { margin-top: 8px; font-size: 13.5px; color: var(--st-ink2, #3B4148); }

@media (max-width: 1100px) {
  .op-kits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .op-rv__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .op-rv__list li:nth-child(n+5) { display: none; }
}
@media (max-width: 760px) {
  .op-how { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .op-how li, .op-how li + li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 8px; padding: 18px 0; border-left: 0; border-top: 1px solid var(--st-line, #E6E8EA); }
  .op-how li:first-child { border-top-color: var(--st-ink, #0E1114); }
  .op-how li::before { grid-row: 1 / span 2; margin: 3px 0 0; }
  .op-how b { font-size: 16.5px; }
  .op-how span { margin-top: 4px; }
  .op-work { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .op-kits { display: flex; gap: 12px; margin: 0 -16px; padding: 0 16px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .op-kits::-webkit-scrollbar { display: none; }
  .op-kit { flex: 0 0 78%; scroll-snap-align: start; }
  .op-rv { margin-top: 48px; }
  .op-rv h2 { font-size: 19px; }
  .op-rv__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .op-rv__list li:nth-child(n+4) { display: none; }
}

/* Supplier rules (inc/one-supplier-cart.php): quote-only items and the dispatch fee note. */
.op-quote-only-box { margin: 18px 0 0; padding: 16px 18px; border: 1px solid var(--st-line, #E6E8EA); border-radius: 14px; background: var(--st-well, #F3F4F5); font-family: var(--st-font, inherit); }
.op-quote-only-box__title { margin: 0; font-size: 15px; font-weight: 600; color: var(--st-ink, #0E1114); }
.op-quote-only-box__text { margin: 6px 0 14px; font-size: 14px; line-height: 1.5; color: var(--st-ink2, #3B4148); }
.op-quote-only-box .op-quote-only-box__btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; border-radius: 999px; font-size: 15px; }
body.op-premium.single-product .summary.entry-summary > .op-quote-only-box { order: 7; }
body.op-quote-only-product #op-sticky-atc-bar,
body.op-quote-only-product .summary .op-pay-line--pdp,
body.op-quote-only-product .summary .op-min-order-note { display: none !important; }
.op-dispatch-fee-note { margin: 8px 0 0; font-size: 13.5px; color: var(--st-ink2, #3B4148); }
body.op-premium.single-product .summary.entry-summary > .op-dispatch-fee-note { order: 4; }

