/* Home page: products orbiting the sun. Loaded after home.css and daylight.css */
.orbit { position: relative; aspect-ratio: 1 / .95; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; outline: none; }
.orbit.is-dragging { cursor: grabbing; }
.orbit:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: 24px; }
.orbit-sun { position: absolute; left: 50%; top: 57%; width: 52%; aspect-ratio: 1; transform: translate(-50%, -62%); border-radius: 50%; z-index: 2;
  background: radial-gradient(circle at 50% 45%, #FFB57E, #FF8A3D 55%, #FF751F); box-shadow: 0 30px 80px -20px rgba(255,117,31,.65), 0 0 0 18px rgba(255,138,61,.10), 0 0 0 40px rgba(255,138,61,.06); }
.orbit-ring { position: absolute; left: 11.5%; right: 11.5%; top: calc(57% - 16%); height: 32%; border-radius: 50%; border: 2px dashed rgba(255,117,31,.35); z-index: 1; pointer-events: none; }
.orbit-items { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.orbit-item { position: absolute; left: 0; top: 0; transform-origin: 50% 100%; will-change: transform, opacity; }
.orbit-item a { display: block; width: 100%; height: 100%; -webkit-user-drag: none; border-radius: 12px; }
.orbit-item a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.orbit-item img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; pointer-events: none; -webkit-user-drag: none; }
.orbit:not(.js) .orbit-item { position: static; display: inline-block; width: 30%; }
.orbit:not(.js) .orbit-items { position: absolute; inset: auto 0 12% 0; text-align: center; z-index: 3; }

.orbit-label { position: absolute; z-index: 20; left: 50%; bottom: -1.2rem; transform: translateX(-50%); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .1rem .6rem; width: min(100%, 440px); padding: .55rem .9rem .55rem .55rem; border-radius: 18px; background: #fff; border: 1px solid #F6D9C2; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; text-align: left; }
.orbit-label:hover { border-color: var(--brand); }
.orbit-label:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.ol-tag { grid-row: span 2; align-self: center; background: var(--brand); color: var(--on-brand); border-radius: 999px; padding: .3rem .7rem; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.ol-tag.alt { background: var(--slate-soft); color: #33505F; }
.ol-brand { font-size: .76rem; color: var(--muted); line-height: 1.2; }
.ol-name { grid-column: 2; font-family: var(--font-display); font-weight: 600; font-size: .95rem; line-height: 1.25; }
.ol-price { grid-column: 3; grid-row: 1 / span 2; font-family: var(--font-display); font-weight: 700; color: var(--brand-text); white-space: nowrap; font-size: .95rem; }

.orbit-stop { position: absolute; z-index: 30; top: 0; left: 50%; transform: translate(-50%, -120%); opacity: 0; pointer-events: none; min-height: 44px; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 .9rem var(--font-body); }
.orbit-stop:focus-visible { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); outline: 3px solid var(--accent); outline-offset: 2px; }

.orbit .ds-card { z-index: 15; }
.orbit-hint { position: absolute; z-index: 15; right: 2%; bottom: 14%; margin: 0; font-size: .75rem; color: var(--muted); background: rgba(255,255,255,.8); border-radius: 999px; padding: .25rem .6rem; }
@media (hover: none) { .orbit-hint .h-mouse { display: none; } }
@media (hover: hover) { .orbit-hint .h-touch { display: none; } }

@media (max-width: 900px) { .orbit { max-width: 460px; width: 100%; margin: 0 auto 1.5rem; } }
@media (max-width: 560px) {
  .orbit-hint { bottom: auto; top: 0; right: auto; left: 50%; transform: translateX(-50%); }
  .ol-name { font-size: .86rem; } .ol-price { font-size: .86rem; } .ol-tag { font-size: .68rem; padding: .25rem .55rem; }
}
/* only the product at the front is tappable (avoids overlapping tap targets); others come forward by turning */
.orbit.js .orbit-item:not(.is-front) a { pointer-events: none; }
