/* OZ Shop: product page and calculator, in the site's look. Fonts come from the theme. */
.ozs { --ink: #1d1d1f; --mute: #5f5f64; --line: #d2d2d7; --soft: #f5f5f7; --sel: #0071e3; display: grid; gap: 40px; color: var(--ink); }
@media (min-width: 900px) { .ozs { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; } .ozs-gallery { position: sticky; top: 96px; } }
.ozs *, .ozs *::before, .ozs *::after { box-sizing: border-box; }
.ozs button { font: inherit; color: inherit; }
.ozs :focus-visible { outline: 2px solid var(--sel); outline-offset: 2px; }

/* gallery */
.ozs-main { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 24px; background: var(--soft); }
.ozs-main--wide { aspect-ratio: 3 / 2; background: #111; }
.ozs-main__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.ozs-main__img.is-top { opacity: 1; }
.ozs-tag { position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .85); color: var(--mute); font-size: 12px; }
.ozs-tag--size { left: auto; right: 12px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 14px; }
.ozs-tag--approx { top: 52px; left: auto; right: 12px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 13px; }
.ozs-tag[hidden], .ozs-main__switch[hidden], .ozs-ledhint[hidden] { display: none; }
.ozs-main__switch { position: absolute; bottom: 16px; left: 16px; }
.ozs-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .8); font-size: 24px; line-height: 1; cursor: pointer; }
.ozs-nav--prev { right: 12px; } .ozs-nav--next { left: 12px; }
.ozs-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding: 4px; scrollbar-width: none; }
.ozs-thumb { position: relative; flex: none; width: 76px; aspect-ratio: 1; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; opacity: .75; background: var(--soft); }
.ozs-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ozs-thumb[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.ozs-thumb__led { position: absolute; bottom: 4px; left: 4px; width: 18px; height: 18px; border-radius: 50%; background: rgba(0, 0, 0, .55) radial-gradient(circle, #f5c46b 35%, transparent 40%); }
.ozs-ledhint { margin: 10px 0 0; font-size: 14px; }
.ozs-linkbtn { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 600; }
.ozs-sim { display: flex; gap: 8px; margin: 14px 0 0; font-size: 13px; line-height: 1.6; color: var(--mute); }
.ozs-sim svg { flex: none; margin-top: 3px; }
.ozs-sim strong { color: var(--ink); }

/* LED switch */
.ozs-switch { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 4px 16px 4px 6px; border: 0; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 4px 18px rgba(0, 0, 0, .3); transition: background .5s, color .5s, box-shadow .5s; }
.ozs-switch__icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.ozs-switch.is-on { background: rgba(255, 227, 168, .95); color: #3a2a10; box-shadow: 0 0 28px 6px rgba(255, 196, 92, .55); }
.ozs-switch.is-on .ozs-switch__icon { background: #fff; }
.ozs-switch.is-on svg { fill: #f5b73b; }
.ozs-switch__pulse { position: absolute; inset: -4px; border-radius: 999px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .6); animation: ozs-pulse 2s infinite; }
.ozs-switch.is-on .ozs-switch__pulse, .ozs-switch.is-touched .ozs-switch__pulse { display: none; }
@keyframes ozs-pulse { 50% { opacity: .2; } }

/* details */
.ozs-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.ozs-price__num { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.ozs-price__meta { font-size: 14px; color: var(--mute); }
.ozs-price__note { margin: 2px 0 0; font-size: 13px; color: var(--mute); }
.ozs-step { margin-top: 28px; }
.ozs-step__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ozs-step__title { margin: 0 0 12px; font-size: 16px; font-weight: 700; }
.ozs-muted { font-weight: 400; color: var(--mute); }
.ozs-link { font-size: 13px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ozs-grid { display: grid; gap: 8px; }
.ozs-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ozs-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ozs-grid--sizes { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
@media (max-width: 520px) { .ozs-grid--sizes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ozs-grid--shapes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ozs-opt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; padding: 10px 8px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-align: center; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.ozs-opt:hover { border-color: rgba(29, 29, 31, .4); }
.ozs-opt[aria-pressed="true"] { border-color: var(--sel); box-shadow: 0 0 0 1px var(--sel); background: #f2f8ff; }
.ozs-opt__name { font-size: 15px; font-weight: 600; }
.ozs-opt__price { font-size: 13px; color: var(--mute); }
.ozs-opt__desc { display: block; font-size: 13px; color: var(--mute); }
.ozs-opt--row { flex-direction: row; justify-content: space-between; gap: 12px; text-align: start; padding: 14px 16px; }
.ozs-swatch { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); margin-bottom: 4px; }
.ozs-shape-box { display: flex; align-items: center; justify-content: center; height: 40px; }
.ozs-shape-ico { display: block; border: 1.5px solid currentColor; }
.ozs-stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 16px; }
.ozs-stepper[hidden] { display: none; }
.ozs-stepper label { flex: 1; text-align: center; }
.ozs-stepper__label { display: block; font-size: 12px; color: var(--mute); padding-top: 6px; }
.ozs-stepper__input { width: 100%; border: 0; background: transparent; text-align: center; font-size: 20px; font-weight: 600; padding: 0 0 6px; -moz-appearance: textfield; }
.ozs-stepper__input::-webkit-outer-spin-button, .ozs-stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ozs-stepper__btn { width: 48px; height: 56px; border: 0; background: none; font-size: 22px; cursor: pointer; }
.ozs-help { margin: 8px 0 0; font-size: 13px; color: var(--mute); }
.ozs-summary { margin-top: 28px; padding: 20px; border-radius: 24px; background: var(--soft); }
.ozs-lines { display: grid; gap: 6px; margin: 0; font-size: 15px; }
.ozs-lines div { display: flex; justify-content: space-between; gap: 12px; }
.ozs-lines dt { color: var(--mute); } .ozs-lines dd { margin: 0; white-space: nowrap; }
.ozs-summary__total { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 26px; font-weight: 700; }
.ozs-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; margin-top: 22px; border: 0; border-radius: 16px; font-weight: 600; font-size: 17px; cursor: pointer; }
.ozs-btn--primary { background: var(--sel); color: #fff; }
.ozs-btn--primary:hover { background: #0077ed; }
.ozs-trust { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--mute); }
.ozs-trust li::before { content: "✓ "; color: var(--ink); }
.ozs-from { font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .ozs-main__img, .ozs-switch { transition: none; } .ozs-switch__pulse { animation: none; } }

/* LED colour and orientation choices */
.ozs-step[hidden] { display: none; }
.ozs-light { flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.ozs-light--3000 { background: radial-gradient(circle, #fff6df 0%, #ffcf7a 70%); box-shadow: 0 0 10px 2px rgba(255, 196, 92, .55); }
.ozs-light--6000 { background: radial-gradient(circle, #ffffff 0%, #dfe9ff 70%); box-shadow: 0 0 10px 2px rgba(190, 212, 255, .7); }
.ozs-orient { flex: none; display: inline-block; border: 1.6px solid currentColor; border-radius: 6px; }
.ozs-orient--v { width: 14px; height: 22px; }
.ozs-orient--h { width: 22px; height: 14px; }
[data-oz-light], [data-oz-orient] { display: flex; align-items: center; gap: 10px; text-align: start; }
