/* Products page */
.shop-top { background: var(--g900); color: var(--cream); padding: 112px 0 6px; position: relative; overflow: hidden; }
.shop-top .eyebrow { color: #F2B8A8; }
.shop-top .display { font-size: clamp(2.6rem, 5.6vw, 5rem); margin-top: 10px; line-height: .95; }
.shop-top .lead { color: var(--mutedD); max-width: 400px; margin: 0 0 6px; }
.shop-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px 48px; position: relative; z-index: 1; }
/* "360°" is a glass of juice: an outline filled with the colour of the juice on show, with a moving surface */
@property --j { syntax: '<color>'; inherits: true; initial-value: #E3A33C; }
@property --lvl { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
.jtxt { --lvl: 0%; display: inline-block; color: transparent; -webkit-text-stroke: 2px rgba(247, 245, 239, .85); padding-right: .04em;
  background:
    radial-gradient(14px 7px at 50% 100%, var(--j) 96%, transparent 100%) 0 calc(100% - var(--lvl) + 6px) / 28px 8px repeat-x,
    radial-gradient(14px 7px at 50% 0%, transparent 96%, var(--j) 100%) 14px calc(100% - var(--lvl) + 13px) / 28px 8px repeat-x,
    linear-gradient(var(--j), var(--j)) 0 100% / 100% calc(var(--lvl) - 6px) no-repeat;
  -webkit-background-clip: text; background-clip: text;
  transition: --j .9s ease;
  animation: jfill 2.2s cubic-bezier(.2, .85, .2, 1) .3s forwards, jwave 2.4s linear infinite, jbob 4s ease-in-out 2.5s infinite; }
@keyframes jfill { to { --lvl: 64%; } }
@keyframes jbob { 0%, 100% { --lvl: 64%; } 50% { --lvl: 58%; } }
@keyframes jwave { to { background-position: 28px calc(100% - var(--lvl) + 6px), -14px calc(100% - var(--lvl) + 13px), 0 100%; } }
@media (prefers-reduced-motion: reduce) { .jtxt { animation: none; --lvl: 64%; } }
.shop-top .ghost-word { position: absolute; right: -3%; top: 40px; font-family: var(--display); font-weight: 800; font-size: 22vw; line-height: .8; color: transparent; -webkit-text-stroke: 2px rgba(221, 232, 213, .07); pointer-events: none; white-space: nowrap; }

.viewer-sec { background: var(--g900); color: var(--cream); padding: 22px 0 80px; scroll-margin-top: 84px; }
.viewer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 980px) { .viewer-grid { grid-template-columns: 1fr; gap: 36px; } }
.window { position: relative; border-radius: 30px; overflow: hidden; background: #12301F; box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(247, 245, 239, .08); outline: none; }
.window:focus-visible { box-shadow: 0 0 0 3px var(--amber), 0 60px 120px -50px rgba(0, 0, 0, .8); }
.window .wbar { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; pointer-events: none; }
.window .wbar > * { pointer-events: auto; }
.wtitle { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--mutedD); display: flex; align-items: center; gap: 10px; }
.wtitle i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 14px var(--amber); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.wnav { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--cream); }
.wnav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(247, 245, 239, .25); background: rgba(14, 36, 24, .45); color: var(--cream); cursor: pointer; font-size: 16px; transition: background .25s, border-color .25s; }
.wnav button:hover { background: rgba(247, 245, 239, .12); border-color: var(--cream); }
.window canvas { display: block; width: 100%; height: clamp(340px, calc(100vh - 200px), 580px); touch-action: pan-y; cursor: grab; }
@supports (height: 100svh) { .window canvas { height: clamp(340px, calc(100svh - 200px), 580px); } }
.window.grabbing canvas { cursor: grabbing; }
.whint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2; font-size: 13px; color: var(--mutedD); display: flex; gap: 8px; align-items: center; background: rgba(14, 36, 24, .55); padding: 9px 15px; border-radius: 999px; transition: opacity .6s; pointer-events: none; white-space: nowrap; }
.whint.hide { opacity: 0; }
.wload { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: radial-gradient(60% 50% at 50% 45%, #2B5E42, #12301F); color: var(--mutedD); font-weight: 600; letter-spacing: .1em; transition: opacity .7s; }
.wload.hide { opacity: 0; pointer-events: none; }
.window.nogl .wload { opacity: 1; }

.panel .pnum { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 4.2vw, 3.8rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(247, 245, 239, .28); }
.panel .pname { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 2.7vw, 2.6rem); letter-spacing: -.03em; line-height: .98; margin: 8px 0 0; }
.panel .pnote { color: var(--mutedD); font-size: 15px; margin: 8px 0 0; max-width: 440px; }
.formats { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.formats button { border: 1.5px solid rgba(247, 245, 239, .25); background: transparent; color: var(--cream); border-radius: 999px; padding: 9px 16px; cursor: pointer; font-weight: 600; min-height: 40px; transition: background .3s, color .3s, border-color .3s; }
.formats button:hover { border-color: var(--cream); }
.formats button[aria-pressed="true"] { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 16px 0 0; padding: 10px 0; border-top: 1px solid rgba(247, 245, 239, .12); border-bottom: 1px solid rgba(247, 245, 239, .12); }
.price { font-family: var(--display); font-size: 24px; font-weight: 700; }
.juice-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--juice, #E3A33C); box-shadow: 0 0 22px var(--juice, #E3A33C); transition: background .6s, box-shadow .6s; }
.buy { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; align-items: center; }
.qty.dark { background: transparent; border-color: rgba(247, 245, 239, .28); }
.qty.dark button { color: var(--cream); }
.qty.dark span { color: var(--cream); }
.specs { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 4px; color: var(--mutedD); font-size: 13.5px; line-height: 1.4; }
.specs b { color: var(--cream); font-weight: 600; }

.all-sec { background: var(--cream); padding: 76px 0 84px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.pcard { position: relative; display: flex; flex-direction: column; border: 0; padding: 0; background: #fff; border-radius: 22px; overflow: hidden; cursor: pointer; text-align: left; color: var(--ink); box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(14, 36, 24, .45), 0 0 0 1px var(--line); }
.pcard .img { aspect-ratio: 300 / 380; background: radial-gradient(60% 50% at 50% 45%, #2B5E42, #12301F); display: grid; place-items: center; overflow: hidden; }
.pcard .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .img img { transform: scale(1.07); }
.pcard .meta { padding: 16px 18px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pcard .meta b { font-size: 16px; }
.pcard .meta small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .12em; font-weight: 700; }
.pcard .dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }
.pcard[aria-current="true"] { box-shadow: 0 0 0 3px var(--amber); }

/* juice picker under the details: the names as chips */
.picker { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid rgba(247, 245, 239, .12); }
.pk-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mutedD); margin-bottom: 8px; }
.pk-name { display: none; }
.pk-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pkc { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 10px; border-radius: 999px; border: 1px solid rgba(247, 245, 239, .2); background: rgba(247, 245, 239, .04);
  color: var(--cream); font: 600 13.5px/1.1 var(--body); cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease); }
.pkc i { width: 10px; height: 10px; border-radius: 50%; background: var(--j); box-shadow: 0 0 0 2px rgba(0, 0, 0, .25); flex: none; transition: transform .3s var(--ease); }
.pkc:hover { border-color: rgba(247, 245, 239, .6); background: rgba(247, 245, 239, .09); }
.pkc:hover i { transform: scale(1.25); }
.pkc[aria-pressed="true"] { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.pkc[aria-pressed="true"] i { box-shadow: 0 0 0 2px #fff, 0 0 10px var(--j); }

/* ---------- phone ---------- */
@media (max-width: 640px) {
  .all-sec { padding: 56px 0 64px; }
  .all-sec .section-head { margin-bottom: 26px; }
  .all-sec .section-head .display { font-size: 2.3rem; }
  .cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pcard { border-radius: 18px; }
  .pcard:hover { transform: none; }
  .pcard .img { aspect-ratio: 4 / 5; }
  .pcard .meta { padding: 10px 12px 12px; align-items: flex-start; }
  .pcard .meta b { font-size: 13.5px; line-height: 1.25; display: block; }
  .pcard .meta small { font-size: 10px; letter-spacing: .08em; margin-bottom: 2px; }
  .pcard .dot { width: 10px; height: 10px; margin-top: 3px; }
  .shop-top { padding-top: 96px; }
  .shop-top .ghost-word { font-size: 34vw; top: 70px; }
}

/* ---------- phone polish: products ---------- */
@media (max-width: 640px) {
  /* the 3D window fits above the menu, podium included */
  .window canvas { height: clamp(300px, 58svh, 440px); }
  .pkc { min-height: 40px; padding-left: 12px; padding-right: 14px; }
  .viewer-sec { padding-bottom: 56px; }
}

/* nutrition facts (fold out) */
.specs .nut details { margin-top: 2px; }
.specs .nut summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.specs .nut summary::-webkit-details-marker { display: none; }
.specs .nut summary::after { content: "+"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(247, 245, 239, .35); font-size: 12px; line-height: 1; }
.specs .nut details[open] summary::after { content: "–"; }
.specs .nut table { width: 100%; max-width: 340px; border-collapse: collapse; margin-top: 8px; font-size: 13px; }
.specs .nut td { padding: 5px 0; border-bottom: 1px solid rgba(247, 245, 239, .1); }
.specs .nut td + td { text-align: right; font-weight: 600; white-space: nowrap; }
