/* wf-2: the 3D ring. Products float in a circle; the front one shows price, size and add to cart. */
.ring-hero { background: linear-gradient(var(--color-neutral-100), var(--color-bg)); padding-top: clamp(20px, 3vw, 36px); padding-bottom: clamp(48px, 6vw, 72px); overflow: hidden; }
.ring-head { text-align: center; display: grid; gap: 12px; justify-items: center; }
.ring-head h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); font-weight: 900; line-height: 1.2; color: var(--color-primary-800); }
.ring-head p { color: var(--color-text-muted); max-width: 60ch; font-size: 1.1rem; }
.gs-tabs { display: flex; gap: 6px; background: var(--color-surface); border-radius: 99px; padding: 5px; box-shadow: var(--shadow); margin-top: 8px; }
.gs-tabs button { border: 0; background: transparent; min-height: 48px; padding: 0 26px; border-radius: 99px; font-weight: 500; font-size: 1.05rem; }
.gs-tabs button.on { background: var(--color-brand); color: var(--color-on-button); font-weight: 800; }

.ring-scene { --iw: min(64vw, 270px); position: relative; height: calc(var(--iw) * 1.25 + 56px); margin-top: 20px; perspective: 1700px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
@media (min-width: 760px) { .ring-scene { --iw: clamp(300px, 26vw, 380px); height: calc(var(--iw) * 1.25 + 72px); } .ring { top: 36px; } }
.ring-scene:active { cursor: grabbing; }
.ring-scene:focus-visible { outline-offset: -4px; }
.ring { position: absolute; top: 28px; inset-inline: 0; margin-inline: auto; width: var(--iw); height: calc(var(--iw) * 1.25); transform-style: preserve-3d; will-change: transform; }
.ri { position: absolute; inset: 0; margin: 0; border-radius: var(--r-m); overflow: hidden; background: var(--color-secondary-100); backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 36px 50px -34px rgba(21, 16, 2, .6); }
.ri img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.rnav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--color-surface); color: var(--color-text); box-shadow: var(--shadow); display: grid; place-items: center; z-index: 5; }
.rnav svg { width: 24px; height: 24px; }
.rnav-prev { inset-inline-start: var(--pad); }
.rnav-next { inset-inline-end: var(--pad); }
@media (hover: hover) and (pointer: fine) { .rnav:hover { background: var(--color-primary-800); color: #fff; } }

.ring-info { display: grid; gap: 16px; background: var(--color-surface); border-radius: var(--r-l); box-shadow: var(--shadow); padding: 22px; max-width: 1000px; margin: 24px auto 0; align-items: center; justify-items: start; }
.ring-info h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
.ring-info p { color: var(--color-text-muted); }
.ring-info .gs-tag { font-size: 1.7rem; font-weight: 900; }
.ring-info .gs-tag small { font-size: 1rem; }
.dots { display: flex; gap: 8px; flex-wrap: wrap; }
.dots:empty { display: none; }
.dots button { min-width: 48px; min-height: 48px; padding: 0 12px; border-radius: 12px; border: 2px solid var(--color-border); background: var(--color-surface); font-weight: 500; font-size: 1rem; }
.dots button[aria-pressed="true"] { border-color: var(--color-brand); background: var(--color-primary-50); color: var(--color-primary-800); font-weight: 800; }
.ring-info .btn { min-height: 56px; font-size: 1.1rem; padding-inline: 36px; width: 100%; }
@media (min-width: 900px) { .ring-info { grid-template-columns: 1.3fr auto auto auto; gap: 28px; padding: 24px 36px; } .ring-info .btn { width: auto; } }

/* no script: a swipeable row instead of the ring */
.ring-fallback { display: none; }
.fb-row { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px var(--pad); }
.fb-row .pc { flex: none; width: min(64vw, 220px); scroll-snap-align: start; }

@media (prefers-reduced-motion: reduce) { .ring { transition: none; } }

/* phones: arrows sit below the photo, never on it */
@media (max-width: 759px) {
  .ring-scene { height: calc(var(--iw) * 1.25 + 56px + 64px); }
  .rnav { top: auto; bottom: 0; transform: none; width: 48px; height: 48px; }
}

/* ---------- inner pages: centred, light page heads; values as cards ---------- */
.pghead { background: linear-gradient(var(--color-neutral-100), var(--color-bg)); padding-block: clamp(28px, 5vw, 52px) clamp(28px, 4vw, 44px); text-align: center; border-bottom: 1px solid var(--color-border); }
.pghead .wrap { display: grid; gap: 12px; justify-items: center; }
.pghead .crumbs { justify-content: center; }
.pghead h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); font-weight: 900; line-height: 1.25; color: var(--color-primary-800); }
.pghead .lead { color: var(--color-text-muted); }
.pghead--s { padding-block: clamp(20px, 3vw, 30px); }
.pghead--s h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.pghead--post h1 { max-width: 24ch; }
.pghead .pmeta { justify-content: center; }
.vgrid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
.vcard { background: var(--color-surface); border-radius: var(--r-l); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 8px; align-content: start; }
.vcard h3 { font-size: 1.35rem; color: var(--color-primary-800); }
.vcard p { color: var(--color-text-muted); font-size: 1.08rem; }

/* page heads with a photo: text beside a rounded picture, on a soft brand tint */
.pghead--split { background: var(--color-primary-50); border-bottom: 0; text-align: start; padding-block: clamp(28px, 5vw, 56px); }
.pghead--split .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; justify-items: stretch; }
.pghead--split .ph-txt { display: grid; gap: 12px; justify-items: start; }
.pghead--split .crumbs { justify-content: flex-start; }
.pghead--split .ph-img { margin: 0; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 16 / 9; background: var(--color-secondary-100); box-shadow: var(--shadow); }
.pghead--split .ph-img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .pghead--split .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; } }
