/** Shopify CDN: Minification failed

Line 3862:0 Expected "}" to go with "{"

**/
/*
 * JUNGCARDS polish layer: effects that make the shop feel premium, on top of jc-theme.css.
 * Each block is switched by a class on <html> from Theme settings > JUNGCARDS > Effects
 * (jc-fx-hover, jc-fx-glass, jc-fx-depth, jc-fx-foil, jc-fx-skel, jc-fx-fly).
 * Only transform/opacity/filter are animated; everything respects prefers-reduced-motion.
 *
 *   1. Tokens
 *   2. Card hover
 *   3. Buttons & focus
 *   4. Glass surfaces
 *   5. Hero depth
 *   6. Badges
 *   7. Holo foil
 *   8. Loading shimmer & empty cart
 *   9. Cart choreography
 *  10. Marquee
 *  11. Dawn components in the JUNGCARDS look
 *  12. All-collections sheet & category chips
 *  13. Phone polish
 *  14. Glass design (html.jc-glass), formerly assets/jc-glass.css
 */

/* ---------- 1. Tokens ---------- */

:root {
  --jc-teal: 86, 180, 176;
  --jc-danger: 255, 157, 138;
  --jc-shadow-sm: 0 0.4rem 1.2rem -0.4rem rgba(0, 0, 0, 0.45);
  --jc-shadow-md: 0 1.4rem 3.2rem -1.2rem rgba(0, 0, 0, 0.6);
  --jc-shadow-lg: 0 2.4rem 5.6rem -1.6rem rgba(0, 0, 0, 0.7);
  --jc-glow: 0 0 2.8rem -0.6rem rgba(var(--jc-gold), 0.45);
  --jc-ring: 0 0 0 0.1rem rgba(var(--jc-gold), 0.55);
  --jc-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --jc-slow: 600ms;
}

.jc .price,
.jc .totals__total-value,
.jc .cart-count-bubble,
.jc .jc-bottom-nav__count,
.jc .jc-addon__price,
.jc .jc-card__stock {
  font-variant-numeric: tabular-nums;
}

/* ---------- 2. Card hover ---------- */

.jc-fx-hover .jc-card__media {
  transition: transform 400ms var(--jc-ease-out), box-shadow 400ms var(--jc-ease-out);
  box-shadow: 0 0 0 0.1rem rgba(var(--jc-gold), 0);
}

.jc-fx-hover .jc-card__img {
  transition: transform var(--jc-slow) var(--jc-ease-out), opacity 300ms ease;
}

.jc-fx-hover .jc-card__add {
  transition: transform var(--jc-press) var(--jc-ease-out), box-shadow 250ms var(--jc-ease-out), filter 250ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .jc-fx-hover .jc-card:hover .jc-card__media {
    transform: translateY(-0.4rem);
    box-shadow: var(--jc-ring), var(--jc-shadow-md), var(--jc-glow);
  }

  .jc-fx-hover .jc-card:hover .jc-card__img {
    transform: scale(1.045);
  }

  .jc-fx-hover .jc-card__add:hover {
    transform: scale(1.08);
    filter: brightness(1.08);
    box-shadow: 0 0.6rem 1.8rem -0.4rem rgba(var(--jc-gold), 0.7);
  }

  .jc-fx-hover .jc-card__add:active {
    transform: scale(0.96);
  }

  .jc-fx-hover :is(.jc-tile, .jc-cat) {
    transition: transform 400ms var(--jc-ease-out), box-shadow 400ms var(--jc-ease-out), border-color 400ms ease;
  }

  .jc-fx-hover :is(.jc-tile, .jc-cat):hover {
    transform: translateY(-0.3rem);
    box-shadow: var(--jc-shadow-md), var(--jc-glow);
    border-color: rgba(var(--jc-gold), 0.55);
  }
}

/* ---------- 3. Buttons & focus ---------- */

/* Sheen: a light band sweeps across gold buttons on hover (background layer, no pseudo element,
   because Dawn uses ::before/::after on .button for its borders). */
.jc-fx-hover :is(.button:not(.button--secondary):not(.button--tertiary), .jc-drop-alarm__button, .jc-sticky-atc__button) {
  background-image: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.32) 50%, transparent 65%);
  background-size: 260% 100%;
  background-position: 130% 0;
  background-repeat: no-repeat;
  transition: transform var(--jc-press) var(--jc-ease-out), background-position 0ms linear 700ms, box-shadow 300ms var(--jc-ease-out), filter 300ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .jc-fx-hover :is(.button:not(.button--secondary):not(.button--tertiary), .jc-drop-alarm__button, .jc-sticky-atc__button):hover {
    background-position: -30% 0;
    box-shadow: 0 0.8rem 2.4rem -0.8rem rgba(var(--jc-gold), 0.65);
    filter: brightness(1.05);
    transition: transform var(--jc-press) var(--jc-ease-out), background-position 800ms var(--jc-ease-out), box-shadow 300ms var(--jc-ease-out), filter 300ms ease;
  }

  .jc-fx-hover .button--secondary:hover {
    background-color: rgba(var(--jc-gold), 0.1);
  }

  .jc-fx-hover .jc-hero__arrow:hover {
    box-shadow: var(--jc-ring), var(--jc-glow);
  }
}

/* One gold focus ring for every interactive element (keyboard only). */
.jc :is(
    a,
    button,
    summary,
    input[type='checkbox'],
    input[type='radio'] + label,
    select,
    .jc-card__add,
    .jc-hero__arrow,
    .jc-hero__dot,
    .jc-cat,
    .jc-tile,
    .jc-bottom-nav__item,
    .jc-addon__add,
    .header__icon,
    .header__menu-item
  ):focus-visible {
  outline: 0.2rem solid rgb(var(--jc-gold));
  outline-offset: 0.3rem;
  box-shadow: 0 0 0 0.6rem rgba(var(--jc-gold), 0.18);
  border-radius: max(var(--jc-radius), 0.4rem);
}

.jc :is(.field__input, .select__select, .quantity__input, .jc-drop-alarm__input):focus-visible {
  outline: 0.2rem solid rgb(var(--jc-gold));
  outline-offset: 0;
  box-shadow: 0 0 0 0.5rem rgba(var(--jc-gold), 0.16);
}

@media (prefers-reduced-motion: reduce) {
  .jc-fx-hover .jc-card:hover .jc-card__media,
  .jc-fx-hover .jc-card:hover .jc-card__img,
  .jc-fx-hover .jc-card__add:hover,
  .jc-fx-hover :is(.jc-tile, .jc-cat):hover {
    transform: none;
  }

  .jc-fx-hover :is(.button, .jc-drop-alarm__button, .jc-sticky-atc__button) {
    background-image: none;
  }
}

/* ---------- 4. Glass surfaces ---------- */

/* Frosted glass where content scrolls underneath. backdrop-filter sits on a pseudo element for
   the header: on the header itself it would trap the fixed mobile menu inside the header box. */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .jc-fx-glass .scrolled-past-header .header-wrapper {
    isolation: isolate;
    background: transparent;
  }

  .jc-fx-glass .scrolled-past-header .header-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(var(--color-background), 0.84);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    backdrop-filter: blur(20px) saturate(150%);
    box-shadow: inset 0 -0.1rem 0 rgba(var(--jc-gold), 0.12);
    pointer-events: none;
  }

  .jc-fx-glass :is(.header__submenu, .mega-menu__content) {
    background: rgba(var(--jc-deep), 0.82);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
  }

  @media screen and (max-width: 749px) {
    .jc-fx-glass .jc-bottom-nav {
      background: rgba(var(--jc-surface), 0.72);
      -webkit-backdrop-filter: blur(16px) saturate(160%);
      backdrop-filter: blur(16px) saturate(160%);
      border-top-color: rgba(var(--jc-gold), 0.14);
    }

    .jc-fx-glass .jc-sticky-atc {
      background: rgba(var(--jc-surface), 0.76);
      -webkit-backdrop-filter: blur(16px) saturate(160%);
      backdrop-filter: blur(16px) saturate(160%);
    }

    .jc-fx-glass .jc-toast {
      background: rgba(var(--jc-deep), 0.78);
      -webkit-backdrop-filter: blur(14px) saturate(150%);
      backdrop-filter: blur(14px) saturate(150%);
    }
  }

  .jc-fx-glass .jc-error-toast {
    background: rgba(var(--jc-deep), 0.8);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  .jc-fx-glass .jc-os-upsell {
    background: rgba(15, 20, 21, 0.45);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }

  .jc-fx-glass .drawer {
    background-color: rgba(15, 20, 21, 0.45);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }
}

/* ---------- 5. Hero depth ---------- */

/* Calm by design: nothing moves on its own. On desktop the products shift a few pixels with the
   pointer (--jc-px / --jc-py, -1…1, eased in jc-fx.js) and the glow counter-moves slightly. */
.jc-fx-depth .jc-hero__media {
  --jc-px: 0;
  --jc-py: 0;
  isolation: isolate;
  background: none;
  translate: calc(var(--jc-px) * 0.5rem) calc(var(--jc-py) * 0.35rem);
}

/* Two-tone glow behind the products: gold key light, teal rim light (static). */
.jc-fx-depth .jc-hero__media::before {
  content: '';
  position: absolute;
  inset: -12% -8%;
  z-index: -1;
  background:
    radial-gradient(38% 46% at 62% 46%, rgba(var(--jc-gold), 0.26), transparent 72%),
    radial-gradient(30% 36% at 28% 72%, rgba(var(--jc-teal), 0.16), transparent 72%),
    radial-gradient(60% 60% at 50% 50%, rgba(var(--jc-gold), 0.06), transparent 80%);
  translate: calc(var(--jc-px) * -0.8rem) calc(var(--jc-py) * -0.6rem);
  pointer-events: none;
}

/* Progress dots: the active dot fills over the autoplay interval (--jc-speed from jc-motion.js);
   paused while the slider is hovered or focused. */
.jc-fx-depth .jc-hero.is-autoplay .jc-hero__dot[aria-current='true']::before {
  background: rgba(var(--jc-gold), 0.32);
}

.jc-fx-depth .jc-hero.is-autoplay .jc-hero__dot[aria-current='true']::after {
  content: '';
  position: absolute;
  left: 0.4rem;
  right: 0.4rem;
  top: 50%;
  height: 0.4rem;
  margin-top: -0.2rem;
  border-radius: 0.2rem;
  background: rgb(var(--jc-gold));
  transform-origin: left center;
  animation: jc-dot-fill var(--jc-speed, 7000ms) linear forwards;
}

.jc-fx-depth .jc-hero.is-held .jc-hero__dot::after {
  animation-play-state: paused;
}

.jc-fx-depth .jc-hero.is-stopped .jc-hero__dot::after {
  display: none;
}

@keyframes jc-dot-fill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* ---------- 6. Badges ---------- */

/* One tone per state, readable on any product photo (solid or tinted glass backgrounds). */
.jc-card__badge {
  border: 0.1rem solid transparent;
  letter-spacing: 0.02em;
  box-shadow: var(--jc-shadow-sm);
}

.jc-card__badge--new {
  background: rgba(var(--jc-deep), 0.82);
  border-color: rgba(var(--jc-gold), 0.75);
  color: rgb(var(--jc-gold-soft));
}

.jc-card__badge--sale {
  background: rgb(var(--jc-gold));
  color: rgb(var(--jc-page));
  font-weight: 700;
}

.jc-card__badge--preorder {
  background: rgb(var(--jc-teal));
  color: rgb(var(--jc-deep));
  font-weight: 700;
}

.jc-card__badge--coming {
  background: rgba(var(--jc-deep), 0.82);
  border-color: rgba(var(--jc-teal), 0.9);
  color: rgb(var(--jc-teal));
}

.jc-card__badge--soldout {
  background: rgba(var(--jc-deep), 0.78);
  color: rgba(var(--jc-text), 0.7);
  font-weight: 500;
}

.jc-card__badge--limited {
  background: linear-gradient(115deg, #f3d38b 0%, #f7f1d5 26%, #b9e4e1 48%, #e2c3f2 72%, #f3d38b 100%);
  color: rgb(var(--jc-deep));
  font-weight: 700;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .jc-card__badge:is(.jc-card__badge--new, .jc-card__badge--coming, .jc-card__badge--soldout) {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}


/* ---------- 7. Holo foil ---------- */

/* Trading-card holo: a rainbow sheen plus a bright spot follow the pointer (--jc-mx/--jc-my,
   set in jc-fx.js) and the card tilts slightly. On touch screens a faint static sheen. */
.jc-fx-foil .jc-card--foil .jc-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--jc-mx, 50%) var(--jc-my, 30%), rgba(255, 255, 255, 0.45), transparent 42%),
    linear-gradient(
      115deg,
      transparent 18%,
      rgba(255, 90, 180, 0.45) 32%,
      rgba(255, 230, 120, 0.42) 42%,
      rgba(90, 255, 220, 0.45) 52%,
      rgba(120, 140, 255, 0.45) 62%,
      transparent 78%
    );
  background-size: 100% 100%, 250% 250%;
  background-position: 0 0, var(--jc-mx, 50%) var(--jc-my, 50%);
  mix-blend-mode: color-dodge;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms var(--jc-ease-out);
}

.jc-fx-foil .jc-card--foil .jc-card__media {
  box-shadow: 0 0 0 0.1rem rgba(var(--jc-gold), 0.28);
}

@media (hover: hover) and (pointer: fine) {
  .jc-fx-foil .jc-card--foil .jc-card__media {
    transition: transform 200ms var(--jc-ease-out), box-shadow 400ms var(--jc-ease-out);
  }

  .jc-fx-foil .jc-card--foil:hover .jc-card__media::after {
    opacity: 0.6;
  }

  .jc-fx-foil .jc-card--foil:hover .jc-card__media {
    transform: perspective(70rem) translateY(-0.4rem) rotateX(var(--jc-ry, 0deg)) rotateY(var(--jc-rx, 0deg));
    box-shadow: 0 0 0 0.1rem rgba(var(--jc-gold), 0.7), var(--jc-shadow-lg), 0 0 3.6rem -0.6rem rgba(var(--jc-teal), 0.45);
  }
}

@media (hover: none) {
  .jc-fx-foil .jc-card--foil .jc-card__media::after {
    opacity: 0.18;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jc-fx-foil .jc-card--foil:hover .jc-card__media {
    transform: none;
  }
}

.jc-fx-foil .jc-card--foil :is(.jc-card__badge, .jc-card__quick) {
  z-index: 2;
}

/* ---------- 8. Loading shimmer & empty cart ---------- */

/* A light band sweeps behind product images while they load (a few passes only: every running
   animation keeps the main thread rendering frames, and lazy images below the fold may never
   load during a visit). jc-fx.js adds
   .jc-skel-on to <html> (no shimmer without JS) and .is-loaded per image container. */
.jc-skel-on .jc-card__media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.07) 50%, transparent 70%);
  transform: translateX(-100%);
  pointer-events: none;
}

.jc-skel-on .jc-card__media-link {
  position: relative;
  z-index: 0;
}

.jc-skel-on .jc-card__media.is-loaded::before {
  content: none;
}

@media (prefers-reduced-motion: no-preference) {
  .jc-skel-on .jc-card__media:not(.is-loaded)::before {
    animation: jc-skel 1.3s ease-in-out 3;
  }
}

@keyframes jc-skel {
  to {
    transform: translateX(100%);
  }
}

/* The image is never hidden: it paints over the shimmer as soon as it arrives (no LCP delay). */

/* Empty cart drawer */
.jc-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding-top: 3.2rem;
  text-align: center;
}

.jc-empty__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6.4rem;
  height: 6.4rem;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(var(--jc-gold), 0.22), rgba(var(--jc-gold), 0.04) 70%);
  box-shadow: inset 0 0 0 0.1rem rgba(var(--jc-gold), 0.35), var(--jc-glow);
  color: rgb(var(--jc-gold));
}

.jc-empty .cart__empty-text {
  margin: 0.4rem 0 0;
}

.jc-empty__text {
  margin: 0 0 0.8rem;
  max-width: 30rem;
  color: rgba(var(--color-foreground), 0.75);
  font-size: 1.4rem;
  line-height: 1.45;
}

.jc-empty__rail {
  width: 100%;
  padding: 2rem 0 0;
  border-top: 0.1rem solid rgb(var(--jc-line));
}

.jc-empty__rail-title {
  margin: 0 0 1rem;
  color: rgb(var(--jc-gold));
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jc-empty__list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jc-empty__item {
  display: grid;
  grid-template-columns: 6.4rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.2rem;
  padding: 0.8rem;
  border: 0.1rem solid rgb(var(--jc-line));
  border-radius: var(--jc-radius);
  background: rgb(var(--jc-surface));
  color: rgb(var(--color-foreground));
  text-decoration: none;
  transition: border-color 250ms ease, transform 250ms var(--jc-ease-out);
}

.jc-empty__img {
  width: 6.4rem;
  height: 6.4rem;
  object-fit: cover;
  border-radius: 0.6rem;
}

.jc-empty__name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}

.jc-empty__price {
  font-size: 1.4rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

@media (hover: hover) and (pointer: fine) {
  .jc-empty__item:hover {
    border-color: rgba(var(--jc-gold), 0.6);
    transform: translateX(0.2rem);
  }
}

.drawer__inner-empty:has(.jc-empty__rail) .cart-drawer__warnings {
  flex: none;
  padding-bottom: 2rem;
}

/* ---------- 9. Cart choreography ---------- */

/* The count bubble no longer pops on every page load; jc-fx.js adds .is-bump when it goes up. */
.jc .cart-count-bubble {
  animation: none;
}

.jc .cart-count-bubble.is-bump,
.jc .jc-bottom-nav__count.is-bump {
  animation: jc-bump 520ms var(--jc-ease-spring);
}

#cart-icon-bubble.is-bump .svg-wrapper,
#cart-icon-bubble.is-bump > svg {
  animation: jc-icon-bump 520ms var(--jc-ease-spring);
}

@keyframes jc-bump {
  0% {
    transform: scale(0.6);
  }
  60% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes jc-icon-bump {
  0%,
  100% {
    transform: none;
  }
  40% {
    transform: translateY(-0.3rem) scale(1.12);
  }
}

/* Flying product image (desktop add to cart) */
.jc-fly {
  position: fixed;
  z-index: 2000;
  object-fit: cover;
  border-radius: var(--jc-radius);
  box-shadow: var(--jc-shadow-lg), 0 0 0 0.2rem rgba(var(--jc-gold), 0.6);
  pointer-events: none;
  will-change: transform, opacity;
}

/* Free-shipping bar: the fill slides to its new width instead of jumping. */
.jc .jc-ship__fill {
  animation: none;
  transition: transform 800ms var(--jc-ease-out);
}

.jc .jc-ship--done .jc-ship__fill {
  background: linear-gradient(90deg, rgb(var(--jc-gold)), rgb(var(--jc-gold-soft)), rgb(var(--jc-gold)));
  box-shadow: 0 0 1.2rem rgba(var(--jc-gold), 0.55);
}

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

/* ---------- 10. Marquee ---------- */

.jc-marquee {
  overflow: hidden;
  border-block: 0.1rem solid rgba(var(--jc-gold), 0.14);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.jc-marquee__track {
  display: flex;
  width: max-content;
}

.jc-marquee__list {
  display: flex;
  flex: none;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jc-marquee__item {
  display: flex;
  align-items: center;
  padding: 1.3rem 0;
  color: rgba(var(--jc-text), 0.82);
  font-family: var(--font-heading-family);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Gold diamond between items */
.jc-marquee__item::after {
  content: '';
  width: 0.6rem;
  height: 0.6rem;
  margin: 0 2.8rem;
  background: rgb(var(--jc-gold));
  transform: rotate(45deg);
  box-shadow: 0 0 1rem rgba(var(--jc-gold), 0.7);
}

.jc-marquee__link {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease;
}

.jc-marquee__link:hover {
  color: rgb(var(--jc-gold));
}

@media (prefers-reduced-motion: no-preference) {
  .jc-marquee__track {
    animation: jc-marquee var(--jc-marquee-duration, 45s) linear infinite;
  }

  .jc-marquee__track--reverse {
    animation-direction: reverse;
  }

  .jc-marquee:hover .jc-marquee__track,
  .jc-marquee:focus-within .jc-marquee__track,
  .jc-io .jc-marquee:not(.is-inview) .jc-marquee__track {
    animation-play-state: paused;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jc-marquee {
    overflow-x: auto;
  }

  .jc-marquee__list[aria-hidden='true'] {
    display: none;
  }
}

@keyframes jc-marquee {
  to {
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 749px) {
  .jc-marquee__item {
    padding: 1rem 0;
    font-size: 1.35rem;
  }

  .jc-marquee__item::after {
    margin: 0 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jc-marquee__item[aria-hidden='true'] {
    display: none;
  }
}

/* ---------- 11. Dawn components in the JUNGCARDS look ---------- */

/* Variant pills: rounded like the cards, gold tint instead of a white block when selected. */
.jc .product-form__input--pill input[type='radio'] + label {
  border-color: rgb(var(--jc-line));
  border-radius: var(--jc-radius);
  background-color: rgb(var(--jc-surface));
  letter-spacing: 0.02em;
  transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease, box-shadow 250ms ease;
}

.jc .product-form__input--pill input[type='radio'] + label::before {
  border-radius: var(--jc-radius);
}

.jc .product-form__input--pill input[type='radio'] + label:hover {
  border-color: rgba(var(--jc-gold), 0.7);
}

.jc .product-form__input--pill input[type='radio']:checked + label {
  border-color: rgb(var(--jc-gold));
  background-color: rgba(var(--jc-gold), 0.14);
  color: rgb(var(--jc-gold-soft));
  box-shadow: 0 0 1.6rem -0.4rem rgba(var(--jc-gold), 0.55);
}

.jc .product-form__input--pill input[type='radio']:disabled + label,
.jc .product-form__input--pill input[type='radio'].disabled + label {
  opacity: 0.5;
}

/* Quantity stepper: surface field, gold +/- on hover, gold ring while focused. */
.jc .quantity {
  border-radius: var(--jc-radius);
}

.jc .quantity::before {
  background: rgb(var(--jc-surface));
  border-radius: var(--jc-radius);
}

.jc .quantity::after {
  border-radius: var(--jc-radius);
  box-shadow: 0 0 0 0.1rem rgb(var(--jc-line));
}

.jc .quantity:focus-within::after {
  box-shadow: 0 0 0 0.1rem rgb(var(--jc-gold)), 0 0 0 0.5rem rgba(var(--jc-gold), 0.14);
}

.jc .quantity__button {
  color: rgba(var(--color-foreground), 0.7);
  transition: color 150ms ease, transform var(--jc-press) var(--jc-ease-out);
}

.jc .quantity__button:hover {
  color: rgb(var(--jc-gold));
}

.jc .quantity__button:active {
  transform: scale(0.9);
}

.jc .quantity__input {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Filters: gold checkboxes, calmer separators, glass mobile drawer. */
.jc .facet-checkbox > input[type='checkbox']:checked ~ svg {
  background-color: rgb(var(--jc-gold));
  color: rgb(var(--jc-gold));
}

.jc .facet-checkbox .icon-checkmark {
  color: rgb(var(--jc-page));
}

.jc .facet-checkbox:hover .facet-checkbox__text-label {
  color: rgb(var(--jc-gold-soft));
}

.jc .facets__disclosure-vertical,
.jc .facets-vertical .facets__summary {
  border-color: rgb(var(--jc-line));
}

.jc .active-facets__button-inner {
  border-color: rgba(var(--jc-gold), 0.5);
  background: rgba(var(--jc-gold), 0.1);
  color: rgb(var(--jc-gold-soft));
}

.jc .mobile-facets__inner {
  background: rgb(var(--jc-deep));
  border-left: 0.1rem solid rgba(var(--jc-gold), 0.18);
  box-shadow: var(--jc-shadow-lg);
}

.jc .price-range input,
.jc .facets__price .field__input {
  border-radius: var(--jc-radius);
}

/* Cart page and drawer lines: rounded images, quieter rules. */
.jc .cart-item__image,
.jc .cart-item__media img {
  border-radius: 0.6rem;
}

.jc :is(.cart-items, .cart-drawer .cart-items) td,
.jc .cart-items thead th {
  border-color: rgb(var(--jc-line));
}

.jc .cart-item__name {
  transition: color 150ms ease;
}

.jc .cart-item__name:hover {
  color: rgb(var(--jc-gold));
}

.jc .totals__total-value {
  color: rgb(var(--jc-gold-soft));
}

/* Rich text ("Why JUNGCARDS?") and newsletter: a surface card with a soft gold edge. */
.jc :is(.rich-text__wrapper, .newsletter__wrapper) {
  position: relative;
  padding: 4.8rem 3.2rem;
  border: 0.1rem solid rgba(var(--jc-gold), 0.22);
  border-radius: 1.2rem;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(var(--jc-gold), 0.09), transparent 70%),
    rgb(var(--jc-surface));
  box-shadow: var(--jc-shadow-md);
}

.jc .newsletter__wrapper {
  width: min(120rem, calc(100% - 3.2rem));
  margin-inline: auto;
}

.jc .newsletter-form__field-wrapper .field__input {
  border-radius: var(--jc-radius);
}

@media screen and (max-width: 749px) {
  .jc :is(.rich-text__wrapper, .newsletter__wrapper) {
    padding: 3.2rem 2rem;
  }
}

/* Dawn product cards (complementary products, search): same surface and hover as jc cards. */
.jc .card-wrapper .card__inner,
.jc .card-wrapper .card--card {
  border-radius: var(--jc-radius);
  background: rgb(var(--jc-tile));
  overflow: hidden;
}

.jc-fx-hover .card-wrapper .card__inner {
  transition: transform 400ms var(--jc-ease-out), box-shadow 400ms var(--jc-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .jc-fx-hover .card-wrapper:hover .card__inner {
    transform: translateY(-0.3rem);
    box-shadow: var(--jc-ring), var(--jc-shadow-md), var(--jc-glow);
  }
}

@media (prefers-reduced-motion: reduce) {
  .jc-fx-hover .card-wrapper:hover .card__inner {
    transform: none;
  }
}

/* Breadcrumb: on touch screens the links are 44px tall tap targets; keep the separators centred. */
.jc-breadcrumb {
  align-items: center;
}

@media (pointer: coarse) {
  .jc-breadcrumb > span[aria-hidden='true'] {
    padding: 0 0.6rem;
  }
}

/* ---------- 12. All-collections sheet & category chips ---------- */

/* Bottom sheet on phones, centred panel on desktop. */
.jc-sheet {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgb(var(--jc-text));
  overflow: hidden;
}

.jc-sheet::backdrop {
  background: rgba(10, 13, 14, 0.55);
  opacity: 0;
  transition: opacity 250ms ease;
}

.jc-sheet.is-open::backdrop {
  opacity: 1;
}

.jc-sheet__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  max-height: 86vh;
  max-height: 86dvh;
  padding: 0 1.6rem calc(1.6rem + env(safe-area-inset-bottom, 0px));
  border: 0.1rem solid rgba(255, 255, 255, 0.12);
  border-bottom: 0;
  border-radius: 2.4rem 2.4rem 0 0;
  background: rgb(var(--jc-deep));
  box-shadow: 0 -2rem 6rem -2rem rgba(0, 0, 0, 0.8);
  transform: translateY(100%);
  transition: transform 320ms var(--jc-ease-drawer);
}

.jc-sheet.is-open .jc-sheet__panel {
  transform: none;
}

/* Keep the handle hidden from 750px (also tablets) */
@media screen and (min-width: 750px) {
  .jc-sheet .jc-sheet__handle {
    display: none;
  }

  .jc-sheet__panel {
    left: 50%;
    right: auto;
    top: 50%;
    bottom: auto;
    width: min(76rem, calc(100vw - 4rem));
    max-height: 80vh;
    padding: 0 2.4rem 2.4rem;
    border-bottom: 0.1rem solid rgba(255, 255, 255, 0.12);
    border-radius: 2.4rem;
    opacity: 0;
    transform: translate(-50%, -48%) scale(0.98);
    transition: transform 260ms var(--jc-ease-out), opacity 200ms ease;
  }

  .jc-sheet.is-open .jc-sheet__panel {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.jc-sheet__handle {
  display: flex;
  justify-content: center;
  padding: 1rem 0 0.4rem;
  cursor: grab;
  touch-action: none;
}

.jc-sheet__handle span {
  width: 4.4rem;
  height: 0.5rem;
  border-radius: 0.3rem;
  background: rgba(255, 255, 255, 0.25);
}

.jc-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0 1.2rem;
}

@media screen and (min-width: 750px) {
  .jc-sheet__head {
    padding-top: 2rem;
  }
}

.jc-sheet__title {
  margin: 0;
  font-size: 2.4rem;
  text-transform: uppercase;
}

.jc-sheet__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  border: 0;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgb(var(--jc-text));
  cursor: pointer;
}

.jc-sheet__search {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 4.8rem;
  margin-bottom: 1.4rem;
  padding: 0 1.4rem;
  border: 0.1rem solid rgba(255, 255, 255, 0.14);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(var(--jc-text), 0.6);
}

.jc-sheet__search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: none;
  color: rgb(var(--jc-text));
  font: inherit;
  font-size: 1.6rem;
  outline: none;
}

.jc-sheet__body {
  flex: 1;
  min-height: 0;
  margin: 0 -1.6rem;
  padding: 0 1.6rem 0.8rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.jc-sheet__quick,
.jc-sheet__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0 0 1.8rem;
  padding: 0;
  list-style: none;
}

.jc-sheet__pill,
.jc-sheet__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 4.4rem;
  padding: 0 1.6rem;
  border: 0.1rem solid rgba(255, 255, 255, 0.12);
  border-radius: 99rem;
  background: rgba(255, 255, 255, 0.05);
  color: rgb(var(--jc-text));
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
}

.jc-sheet__pill {
  border-color: rgba(var(--jc-gold), 0.55);
  background: rgba(var(--jc-gold), 0.12);
  color: rgb(var(--jc-gold-soft));
}

.jc-sheet__chip-count {
  color: rgba(var(--jc-text), 0.5);
  font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
}

.jc-sheet__label {
  margin: 0 0 1rem;
  color: rgb(var(--jc-gold));
  font-family: var(--font-body-family);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jc-sheet__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

@media screen and (min-width: 750px) {
  .jc-sheet__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.jc-sheet__tile {
  display: grid;
  grid-template-columns: 4.8rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 1rem;
  align-items: center;
  min-height: 6.4rem;
  padding: 0.8rem;
  border: 0.1rem solid rgba(255, 255, 255, 0.1);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  color: rgb(var(--jc-text));
  text-decoration: none;
  transition: border-color 200ms ease, background-color 200ms ease;
}

.jc-sheet__img {
  grid-row: span 2;
  width: 4.8rem;
  height: 4.8rem;
  object-fit: cover;
  border-radius: 0.9rem;
  background: rgb(var(--jc-tile));
}

.jc-sheet__name {
  align-self: end;
  overflow: hidden;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.jc-sheet__count {
  align-self: start;
  color: rgba(var(--jc-text), 0.55);
  font-size: 1.2rem;
}

@media (hover: hover) and (pointer: fine) {
  .jc-sheet__tile:hover,
  .jc-sheet__chip:hover {
    border-color: rgba(var(--jc-gold), 0.55);
    background: rgba(var(--jc-gold), 0.08);
  }
}

.jc-sheet__empty {
  margin: 0 0 1.6rem;
  color: rgba(var(--jc-text), 0.65);
}

.jc-sheet__all {
  display: inline-block;
  margin: 0.4rem 0 0.8rem;
  color: rgb(var(--jc-gold));
  font-weight: 600;
}

.jc-sheet__loading {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.jc-sheet__loading span {
  height: 6.4rem;
  border-radius: 1.4rem;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.04) 30%, rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0.04) 70%) 0 0 / 300% 100%;
}

@media (prefers-reduced-motion: no-preference) {
  .jc-sheet__loading span {
    animation: jc-sheet-skel 1.2s linear infinite;
  }
}

@keyframes jc-sheet-skel {
  to {
    background-position: -300% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jc-sheet__panel,
  .jc-sheet::backdrop {
    transition: none;
  }
}

html.jc-sheet-open {
  overflow: hidden;
}

/* Header button for the sheet (desktop; phones use the bottom nav). */
.header__icon.jc-sheet-trigger {
  display: none;
}

/* Only while the inline menu is hidden (990-1199px, hamburger). From 1200px the inline menu needs
   the full header width (page width is capped), and its "All categories" dropdown covers the need. */
@media screen and (min-width: 990px) and (max-width: 1199px) {
  .header__icon.jc-sheet-trigger {
    display: flex;
  }
}

@media screen and (min-width: 990px) {

  .jc-sheet__handle {
    display: none;
  }
}

/* Category chips on collection pages */
.jc-chips {
  margin: 1.4rem 0 0;
}

.jc-chips__list {
  display: flex;
  gap: 0.8rem;
  margin: 0;
  padding: 0.2rem 0 0.6rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.jc-chips__list::-webkit-scrollbar {
  display: none;
}

.jc-chips__list > li {
  flex: none;
  scroll-snap-align: start;
}

.jc-chips__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 4.4rem;
  padding: 0 1.6rem;
  border: 0.1rem solid rgba(255, 255, 255, 0.12);
  border-radius: 99rem;
  background: rgba(255, 255, 255, 0.05);
  color: rgb(var(--jc-text));
  font-size: 1.4rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.jc-chips__chip[aria-current='page'] {
  border-color: rgb(var(--jc-gold));
  background: rgba(var(--jc-gold), 0.16);
  color: rgb(var(--jc-gold-soft));
}

.jc-chips__chip--all {
  border-color: rgba(var(--jc-gold), 0.55);
  color: rgb(var(--jc-gold));
}

@media screen and (max-width: 749px) {
  /* Chips run edge to edge on phones. */
  .jc-chips {
    margin-inline: -1.5rem;
  }

  .jc-chips__list {
    padding-inline: 1.5rem;
    scroll-padding-inline: 1.5rem;
  }
}

/* Story style (Theme settings > Collections sheet > chips style): round image, name below. */
.jc-chips:not(.jc-chips--stories) .jc-chips__ring:not(:has(svg)) {
  display: none;
}

.jc-chips:not(.jc-chips--stories) .jc-chips__ring {
  display: contents;
}

.jc-chips--stories .jc-chips__list {
  gap: 1.2rem;
}

.jc-chips--stories .jc-chips__chip {
  flex-direction: column;
  gap: 0.6rem;
  width: 7.6rem;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  white-space: normal;
}

.jc-chips--stories .jc-chips__ring {
  display: grid;
  place-items: center;
  width: 6.4rem;
  height: 6.4rem;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 0.1rem rgba(255, 255, 255, 0.14);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.jc-chips--stories .jc-chips__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jc-chips__initial {
  font-size: 2.2rem;
  font-weight: 700;
  color: rgb(var(--jc-gold));
}

.jc-chips--stories .jc-chips__label {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.2;
}

.jc-chips--stories .jc-chips__chip[aria-current='page'] {
  background: none;
  color: rgb(var(--jc-gold-soft));
}

.jc-chips--stories .jc-chips__chip[aria-current='page'] .jc-chips__ring {
  box-shadow: 0 0 0 0.2rem rgb(var(--jc-deep)), 0 0 0 0.4rem rgb(var(--jc-gold));
}

.jc-chips--stories .jc-chips__chip--all .jc-chips__ring {
  color: rgb(var(--jc-gold));
  box-shadow: 0 0 0 0.1rem rgba(var(--jc-gold), 0.55);
}

.jc-chips--stories .jc-chips__chip:focus-visible {
  outline: none;
}

.jc-chips--stories .jc-chips__chip:focus-visible .jc-chips__ring {
  box-shadow: 0 0 0 0.2rem rgb(var(--jc-deep)), 0 0 0 0.4rem rgb(var(--jc-gold));
}

@media (hover: hover) {
  .jc-chips--stories .jc-chips__chip:hover .jc-chips__ring {
    transform: translateY(-0.2rem);
  }
}

.jc-chips--stories .jc-chips__list {
  padding-top: 0.6rem;
}

.jc-chips--stories {
  margin-bottom: 1.6rem;
}

/* ---------- 13. Phone polish ---------- */

/* Product page on phones (conversion research: big swipe gallery, buy box early):
   - the gallery uses the full width; "constrain to viewport" shrank square photos to ~60 %
   - all slides share one square frame (photos contained) so the buy box still starts early
   - the visual breadcrumb is hidden on product pages (structured data stays) */
@media screen and (max-width: 749px) {
  .product-media-container.constrain-height.media-fit-contain {
    width: 100%;
  }

  /* One square frame for every slide: mixed photo formats no longer stretch the slider to the
     tallest one (which left big gaps around square photos). Photos are contained, not cropped. */
  .product__media-list .product-media-container.constrain-height .media,
  .product__media-list .product-media-container .media {
    padding-top: 100%;
  }

  .product__media-list {
    align-items: flex-start;
  }

  .template-product .jc-breadcrumb {
    display: none;
  }

  /* Collection pages on phones: products within the first screen, filter always at hand
     (research: Gymshark, Dragon Shield sticky filter/sort bars; Allbirds compact headers). */
  .template-collection .jc-breadcrumb {
    display: none;
  }

  .template-collection .collection-hero__title {
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
  }

  .template-collection .jc-chips {
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
  }

  .jc-chips--stories .jc-chips__chip {
    width: 6.6rem;
    font-size: 1.15rem;
  }

  .jc-chips--stories .jc-chips__ring {
    width: 5.4rem;
    height: 5.4rem;
  }

  .facets-vertical > .facets-wrapper {
    position: sticky;
    top: 5.8rem;
    z-index: 3;
    margin: 0 -1.5rem 0.8rem;
    padding: 0.6rem 1.5rem;
    background: rgb(var(--color-background));
    box-shadow: 0 0.1rem 0 rgba(255, 255, 255, 0.06);
  }
}


@media screen and (max-width: 749px) {
  /* Collection pages: products come up sooner. */
  .jc .collection-hero__title {
    font-size: 3rem;
    line-height: 1.05;
  }

  .jc .collection-hero__inner {
    padding-bottom: 0.8rem;
  }

  .jc .collection-hero__description.is-clamped {
    max-height: 5.6rem;
  }

  /* Readable minimum sizes (were 10–11px). */
  .jc .product__tax,
  .jc .copyright__content,
  .jc .policies li,
  .jc .policies a {
    font-size: 1.2rem;
  }

  /* Language switch: a comfortable tap target. */
  .jc .jc-lang__select {
    min-height: 3.6rem;
  }

  /* Marquee links: taller tap area without changing the band height. */
  .jc .jc-marquee__link {
    display: inline-flex;
    align-items: center;
    min-height: 4.4rem;
    margin-block: -1rem;
  }
}

.jc-sheet__panel:focus {
  outline: none;
}

/* Price and stock hint wrap instead of overflowing narrow cards (search grid on phones). */
.jc-card__bottom {
  flex-wrap: wrap;
  row-gap: 0.2rem;
}

/* ---------- 14. Glass design ---------- */

/*
 * JUNGCARDS glass design (Theme settings > JUNGCARDS > Glass design; html.jc-glass).
 * Concept: a calm gold/teal aurora behind the page; floating chrome (header, bottom nav, drawer,
 * buy box, sticky bar, popups) is real frosted glass; cards and panels are translucent "glass"
 * without backdrop blur (looks the same over the smooth aurora, costs nothing while scrolling).
 * --jc-glass-blur / --jc-glass-tint come from the theme settings (layout/theme.liquid).
 *
 *   1. Tokens & aurora
 *   2. Floating header
 *   3. Hero
 *   4. Cards, tiles, panels
 *   5. Product page
 *   6. Drawers, mobile chrome, footer
 *   7. Glass: sheet & readable menu
 */

/* ---------- 1. Tokens & aurora ---------- */

.jc-glass {
  --jc-glass-blur: 20px;
  --jc-glass-tint: 0.06;
  --jc-glass-bg: rgba(255, 255, 255, var(--jc-glass-tint));
  --jc-glass-strong: rgba(24, 31, 34, 0.66);
  --jc-glass-edge: rgba(255, 255, 255, 0.12);
  --jc-glass-light: inset 0 0.1rem 0 rgba(255, 255, 255, 0.1);
  --jc-glass-shadow: 0 2.4rem 6rem -2.4rem rgba(0, 0, 0, 0.65);
}

.jc-glass body {
  background: #12171a;
}

/* Fixed aurora behind everything (one composited layer, painted once). */
.jc-glass body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 84% 6%, rgba(var(--jc-gold), 0.18), transparent 70%),
    radial-gradient(50rem 40rem at 4% 32%, rgba(var(--jc-teal), 0.14), transparent 70%),
    radial-gradient(60rem 44rem at 92% 92%, rgba(var(--jc-gold), 0.1), transparent 70%),
    #12171a;
}

/* Sections become transparent so the aurora shows through. */
.jc-glass main .gradient,
.jc-glass main .jc-hero,
.jc-glass .jc-strip,
.jc-glass .jc-marquee,
.jc-glass footer.footer,
.jc-glass .shopify-section-group-footer-group .gradient {
  background: transparent;
}

.jc-glass .jc-panel,
.jc-glass :is(.jc-cat, .jc-tile, .jc-promo, .jc-trust__item, .jc-faq__list, .rich-text__wrapper, .newsletter__wrapper, .jc-ship, .jc-addons, .jc-notify, .jc-da__benefit, .jc-brand__tier, .jc-soldout, .jc-bundle) {
  border: 0.1rem solid var(--jc-glass-edge);
  background: var(--jc-glass-bg);
  box-shadow: var(--jc-glass-light), var(--jc-glass-shadow);
}

.jc-glass .jc-blur {
  background: var(--jc-glass-strong);
  border: 0.1rem solid var(--jc-glass-edge);
  box-shadow: var(--jc-glass-light), var(--jc-glass-shadow);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .jc-glass .jc-blur {
    -webkit-backdrop-filter: blur(var(--jc-glass-blur)) saturate(160%);
    backdrop-filter: blur(var(--jc-glass-blur)) saturate(160%);
  }
}

/* ---------- 2. Floating header ---------- */

/* The header bar floats as a glass pill. Its glass is a ::before layer: backdrop-filter on the
   header itself would trap the fixed mobile menu inside it. */
.jc-glass .header-wrapper {
  background: transparent;
  border-bottom: 0;
  padding-top: 1rem;
}

.jc-glass .header-wrapper::before,
.jc-glass .scrolled-past-header .header-wrapper::before {
  content: none;
}

.jc-glass .header-wrapper > .header {
  position: relative;
  isolation: isolate;
}

.jc-glass .header-wrapper > .header::before {
  content: '';
  position: absolute;
  inset: 0 max(0px, calc(5rem - 1.6rem));
  z-index: -1;
  border: 0.1rem solid var(--jc-glass-edge);
  border-radius: 1.8rem;
  /* A little more opaque than other glass: text scrolls right under the menu. */
  background: rgba(24, 31, 34, 0.8);
  box-shadow: var(--jc-glass-light), var(--jc-glass-shadow);
  pointer-events: none;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .jc-glass .header-wrapper > .header::before {
    -webkit-backdrop-filter: blur(var(--jc-glass-blur)) saturate(160%);
    backdrop-filter: blur(var(--jc-glass-blur)) saturate(160%);
  }
}

@media screen and (max-width: 749px) {
  .jc-glass .header-wrapper {
    padding: 0.8rem 0.8rem 0;
  }

  /* The wrapper already insets the bar: keep the icons inside the screen width. */
  .jc-glass .header-wrapper > .header {
    padding-inline: 0.6rem;
  }

  .jc-glass .header-wrapper > .header::before {
    inset: 0;
    border-radius: 1.6rem;
  }
}

/* ---------- 3. Hero ---------- */

.jc-glass .jc-hero__media::before {
  background:
    radial-gradient(40% 46% at 62% 46%, rgba(var(--jc-gold), 0.3), transparent 72%),
    radial-gradient(30% 36% at 28% 72%, rgba(var(--jc-teal), 0.2), transparent 72%);
}

/* Product cut-outs sit in glass frames instead of a drop shadow. */
.jc-glass .jc-hero__img {
  box-sizing: border-box;
  padding: 1rem;
  border: 0.1rem solid var(--jc-glass-edge);
  border-radius: 2.2rem;
  background: var(--jc-glass-bg);
  box-shadow: var(--jc-glass-light), 0 3rem 6rem -2.4rem rgba(0, 0, 0, 0.75);
  filter: none;
}

.jc-glass .jc-hero__img--main {
  height: 37rem;
  max-width: 32rem;
}

.jc-glass .jc-hero__inner {
  position: relative;
}

.jc-hero__chip {
  display: none;
}

.jc-glass .jc-hero__chip {
  position: absolute;
  right: 5rem;
  bottom: 2.4rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  width: min(30rem, 40%);
  padding: 1.4rem 1.4rem 1.4rem 1.8rem;
  border-radius: 1.8rem;
  color: rgb(var(--jc-text));
  text-decoration: none;
  background: rgba(22, 28, 31, 0.86);
  border: 0.1rem solid var(--jc-glass-edge);
  box-shadow: var(--jc-glass-light), var(--jc-glass-shadow);
  transition: border-color 250ms ease, transform 250ms var(--jc-ease-out);
}


.jc-glass .jc-hero__chip:hover {
  border-color: rgba(var(--jc-gold), 0.6);
}

.jc-hero__chip-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.jc-hero__chip-meta {
  color: rgba(var(--jc-text), 0.6);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.jc-hero__chip-title {
  overflow: hidden;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.jc-hero__chip-price {
  margin-top: 0.2rem;
  color: rgb(var(--jc-gold-soft));
  font-family: var(--font-heading-family);
  font-size: 2.2rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.jc-hero__chip-go {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 1.4rem;
  background: linear-gradient(180deg, #d9bc84, rgb(var(--jc-gold)));
  color: rgb(var(--jc-page));
  box-shadow: 0 1rem 2.6rem -1rem rgba(var(--jc-gold), 0.7), inset 0 0.1rem 0 rgba(255, 255, 255, 0.45);
}

.jc-hero__chips {
  display: none;
}

.jc-glass .jc-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.jc-glass .jc-hero__fact {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.3rem;
  border: 0.1rem solid var(--jc-glass-edge);
  border-radius: 1.2rem;
  background: var(--jc-glass-bg);
  box-shadow: var(--jc-glass-light);
  color: rgba(var(--jc-text), 0.85);
  font-size: 1.3rem;
}

.jc-glass .jc-hero__fact svg {
  color: rgb(var(--jc-teal));
}

.jc-glass .jc-hero__arrow,
.jc-glass .jc-eyebrow--pill {
  border-color: var(--jc-glass-edge);
  background: var(--jc-glass-bg);
}

@media screen and (max-width: 749px) {
  .jc-glass .jc-hero__img {
    padding: 0.6rem;
    border-radius: 1.6rem;
  }

  .jc-glass .jc-hero__img--main {
    height: 22rem;
    max-width: 18rem;
  }

  .jc-glass .jc-hero__chip {
    right: 1.6rem;
    bottom: auto;
    top: 1.2rem;
    width: auto;
    max-width: 55%;
    gap: 0.8rem;
    padding: 0.8rem 0.8rem 0.8rem 1.2rem;
    border-radius: 1.4rem;
  }

  .jc-glass .jc-hero__chip-title {
    display: none;
  }

  .jc-glass .jc-hero__chip-price {
    font-size: 1.8rem;
  }

  .jc-glass .jc-hero__chip-go {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 1rem;
  }

  /* Phones: the hero stays compact; the same facts sit in the product page trust row. */
  .jc-glass .jc-hero__chips {
    display: none;
  }
}

/* ---------- 4. Cards, tiles, panels ---------- */

/* Product cards: a glass frame around image and text. */
.jc-glass .jc-card {
  gap: 1.2rem;
  padding: 1rem;
  border: 0.1rem solid var(--jc-glass-edge);
  border-radius: 2rem;
  background: var(--jc-glass-bg);
  box-shadow: var(--jc-glass-light), 0 1.6rem 4rem -2rem rgba(0, 0, 0, 0.6);
  transition: border-color 400ms ease, box-shadow 400ms var(--jc-ease-out);
}

.jc-glass .jc-card__media {
  border-radius: 1.4rem;
}

.jc-glass .jc-card__info,
.jc-glass .jc-card__bottom {
  padding-inline: 0.4rem;
}

.jc-glass .jc-card__bottom {
  padding-bottom: 0.4rem;
}

@media (hover: hover) and (pointer: fine) {
  .jc-glass .jc-card:hover {
    border-color: rgba(var(--jc-gold), 0.45);
    box-shadow: var(--jc-glass-light), 0 2.4rem 5rem -2rem rgba(0, 0, 0, 0.7), 0 0 4rem -1rem rgba(var(--jc-gold), 0.35);
  }

  .jc-glass.jc-fx-hover .jc-card:hover .jc-card__media {
    transform: none;
    box-shadow: none;
  }
}

@media screen and (max-width: 749px) {
  .jc-glass .jc-card {
    padding: 0.7rem;
    border-radius: 1.6rem;
  }

  .jc-glass .jc-card__media {
    border-radius: 1.1rem;
  }
}

.jc-glass :is(.jc-cat, .jc-tile) {
  border-radius: 2rem;
}

.jc-glass .jc-promo {
  border-radius: 2.8rem;
}

.jc-glass .jc-trust__item {
  border-radius: 1.8rem;
}

.jc-glass .jc-faq__list {
  padding: 0.8rem 2.8rem;
  border-radius: 2.4rem;
}

.jc-glass .jc-faq__item:last-child {
  border-bottom: 0;
}

.jc-glass :is(.rich-text__wrapper, .newsletter__wrapper) {
  border-radius: 2.8rem;
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(var(--jc-gold), 0.1), transparent 70%),
    var(--jc-glass-bg);
}

.jc-glass .jc-marquee {
  border-block-color: var(--jc-glass-edge);
  background: var(--jc-glass-bg);
}

.jc-glass .jc-strip {
  border-block: 0.1rem solid var(--jc-glass-edge);
}

.jc-glass :is(.jc-ship, .jc-addons, .jc-notify) {
  border-radius: 1.6rem;
}

.jc-glass .jc-ship {
  padding: 1.4rem 1.6rem;
}

.jc-glass :is(.field__input, .jc-drop-alarm__input, .select__select) {
  background: var(--jc-glass-bg);
}

@media screen and (max-width: 749px) {
  /* Trust row on phones: one glass panel with divided rows (not a box per row). */
  .jc-glass .jc-trust {
    border: 0.1rem solid var(--jc-glass-edge);
    border-radius: 1.8rem;
    background: var(--jc-glass-bg);
    box-shadow: var(--jc-glass-light), var(--jc-glass-shadow);
  }

  .jc-glass .jc-trust__item {
    border: 0;
    border-top: 0.1rem solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  .jc-glass .jc-trust__item:first-child {
    border-top: 0;
  }

  .jc-glass .jc-faq__list {
    padding: 0.4rem 1.8rem;
    border-radius: 2rem;
  }
}

/* ---------- 5. Product page ---------- */

.jc-glass .product__media-item .product-media-container {
  border: 0.1rem solid var(--jc-glass-edge);
  border-radius: 2.4rem;
  background: var(--jc-glass-bg);
  box-shadow: var(--jc-glass-light), var(--jc-glass-shadow);
  overflow: hidden;
}

/* The buy box is a frosted panel on desktop (on phones the content is full width). */
@media screen and (min-width: 750px) {
  .jc-glass .product__info-container {
    box-sizing: border-box;
    padding: 3.2rem;
    border: 0.1rem solid var(--jc-glass-edge);
    border-radius: 2.8rem;
    background: var(--jc-glass-strong);
    box-shadow: var(--jc-glass-light), var(--jc-glass-shadow);
  }

  @supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .jc-glass .product__info-container {
      -webkit-backdrop-filter: blur(var(--jc-glass-blur)) saturate(160%);
      backdrop-filter: blur(var(--jc-glass-blur)) saturate(160%);
    }
  }
}

.jc-glass .jc-ptrust,
.jc-glass .jc-facts {
  padding: 1.4rem 1.6rem;
  border: 0.1rem solid var(--jc-glass-edge);
  border-radius: 1.6rem;
  background: var(--jc-glass-bg);
}

.jc-glass .product-form__input--pill input[type='radio'] + label:not(:hover) {
  background-color: var(--jc-glass-bg);
}

.jc-glass .product-form__input--pill input[type='radio']:checked + label {
  background-color: rgba(var(--jc-gold), 0.14);
}

.jc-glass .quantity::before {
  background: var(--jc-glass-bg);
}

/* ---------- 6. Drawers, mobile chrome, footer ---------- */

.jc-glass .drawer__inner,
.jc-glass .menu-drawer,
.jc-glass .mobile-facets__inner {
  background: var(--jc-glass-strong);
  border-left: 0.1rem solid var(--jc-glass-edge);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .jc-glass .drawer__inner,
  .jc-glass .mobile-facets__inner {
    -webkit-backdrop-filter: blur(calc(var(--jc-glass-blur) + 8px)) saturate(160%);
    backdrop-filter: blur(calc(var(--jc-glass-blur) + 8px)) saturate(160%);
  }
}

.jc-glass .jc-os-upsell__dialog {
  border: 0.1rem solid var(--jc-glass-edge);
  background: var(--jc-glass-strong);
  box-shadow: var(--jc-glass-light), 0 3rem 8rem -2rem rgba(0, 0, 0, 0.8);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .jc-glass .jc-os-upsell__dialog {
    -webkit-backdrop-filter: blur(var(--jc-glass-blur)) saturate(160%);
    backdrop-filter: blur(var(--jc-glass-blur)) saturate(160%);
  }
}

/* Mobile: bottom nav and sticky add-to-cart float as glass pills. */
@media screen and (max-width: 749px) {
  .jc-glass .jc-bottom-nav {
    left: 1rem;
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    height: var(--jc-bottom-nav-h);
    padding-bottom: 0;
    border: 0.1rem solid var(--jc-glass-edge);
    border-radius: 2.2rem;
    background: var(--jc-glass-strong);
    box-shadow: var(--jc-glass-light), 0 2rem 5rem -2rem rgba(0, 0, 0, 0.8);
  }

  .jc-glass .jc-sticky-atc {
    left: 1rem;
    right: 1rem;
    bottom: calc(var(--jc-bottom-nav-h) + 1.8rem + env(safe-area-inset-bottom, 0px));
    border: 0.1rem solid var(--jc-glass-edge);
    border-radius: 1.8rem;
    background: var(--jc-glass-strong);
    box-shadow: var(--jc-glass-light), 0 2rem 5rem -2rem rgba(0, 0, 0, 0.8);
  }

  /* No live blur here: product images and the marquee scroll behind these bars constantly, and
     re-blurring every frame cost ~150ms of main-thread time on phones. Near-opaque glass instead. */
  .jc-glass :is(.jc-bottom-nav, .jc-sticky-atc) {
    background: rgba(22, 28, 31, 0.92);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .jc-glass .jc-toast {
    bottom: calc(var(--jc-bottom-nav-h) + 2rem + env(safe-area-inset-bottom, 0px));
  }
}

/* Footer: the link columns sit on one glass panel. */
.jc-glass .footer__content-top {
  margin-top: 2.4rem;
  padding: 4rem;
  border: 0.1rem solid var(--jc-glass-edge);
  border-radius: 2.8rem;
  background: var(--jc-glass-strong);
  box-shadow: var(--jc-glass-light), var(--jc-glass-shadow);
}

@media screen and (max-width: 749px) {
  .jc-glass .footer__content-top {
    margin-inline: 1rem;
    padding: 2.4rem 2rem;
    border-radius: 2.2rem;
  }
}

/* ---------- 7. Glass: sheet & readable menu ---------- */

.jc-glass .jc-sheet__panel {
  background: rgba(20, 26, 29, 0.86);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .jc-glass .jc-sheet__panel {
    -webkit-backdrop-filter: blur(calc(var(--jc-glass-blur) + 8px)) saturate(160%);
    backdrop-filter: blur(calc(var(--jc-glass-blur) + 8px)) saturate(160%);
  }

  .jc-glass .jc-sheet::backdrop {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }
}

/* The mobile menu lists text over the page: it needs an almost solid surface. */
.jc-glass .menu-drawer {
  background: rgba(18, 23, 26, 0.96);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .jc-glass .menu-drawer {
    -webkit-backdrop-filter: blur(var(--jc-glass-blur)) saturate(150%);
    backdrop-filter: blur(var(--jc-glass-blur)) saturate(150%);
  }
}

/* Bars that always have moving content behind them get no live blur (see section 4 / 14). */
@media screen and (max-width: 749px) {
  .jc :is(.jc-bottom-nav, .jc-sticky-atc, .jc-toast) {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .jc-fx-glass:not(.jc-glass) :is(.jc-bottom-nav, .jc-sticky-atc) {
    background: rgba(var(--jc-surface), 0.94);
  }
}

/* ---------- Guides: tables (blog articles) ----------
   Tables scroll sideways inside the text column instead of widening the whole page on phones. */
.article-template__content table {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 2.4rem 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border: 0.1rem solid rgb(var(--jc-line));
  border-radius: 1.4rem;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto;
  font-size: 1.4rem;
  line-height: 1.5;
}

.article-template__content :is(th, td) {
  min-width: 10rem;
  padding: 1rem 1.4rem;
  border-bottom: 0.1rem solid rgb(var(--jc-line));
  text-align: left;
  vertical-align: top;
}

.article-template__content thead th {
  background: rgba(var(--jc-gold), 0.1);
  color: rgb(var(--jc-gold));
  font-weight: 700;
}

.article-template__content tbody tr:last-child :is(th, td) {
  border-bottom: 0;
}

.article-template__content tbody tr:nth-child(even) {
  background: rgba(var(--jc-text), 0.03);
}

@media screen and (max-width: 749px) {
  .article-template__content table {
    font-size: 1.35rem;
  }

  .article-template__content :is(th, td) {
    min-width: 9rem;
    padding: 0.9rem 1.1rem;
  }
}

/* ---------- Mobile: one floating bar at a time ----------
   Product page: once the sticky add-to-cart bar shows, it takes the bottom nav's place (the nav
   slides away), so bar + nav + withdrawal tab no longer cover a third of the screen.
   Menu drawer open (Dawn sets body.overflow-hidden-tablet): the nav slides away too, so the
   drawer's last entries (country, language, social) stay reachable. */
@media screen and (max-width: 749px) {
  .jc-bottom-nav {
    transition: transform 250ms var(--jc-ease-out);
  }

  body:has(.jc-sticky-atc.is-visible) .jc-bottom-nav,
  body.overflow-hidden-tablet .jc-bottom-nav {
    transform: translateY(calc(100% + 2rem + env(safe-area-inset-bottom, 0px)));
    pointer-events: none;
  }

  html body:has(.jc-sticky-atc.is-visible) .jc-sticky-atc {
    bottom: env(safe-area-inset-bottom, 0px);
  }

  html.jc-glass body:has(.jc-sticky-atc.is-visible) .jc-sticky-atc {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }

  body:has(.jc-sticky-atc.is-visible) {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 10rem);
  }

  /* EU withdrawal tab (legally required, stays visible): right above the sticky bar */
  body:has(.jc-sticky-atc.is-visible) #wb-trigger-btn {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 9.6rem) !important;
  }

  body:has(.jc-sticky-atc.is-visible) .jc-toast {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 12rem);
  }
}

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

/* ---------- Footer bottom on phones ----------
   Legal links as a centered, wrapping list: no "·" at the start of a wrapped line and
   comfortable tap targets. */
@media screen and (max-width: 749px) {
  .footer .policies {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 1.8rem;
    margin-top: 0.8rem;
  }

  .footer .policies li::before {
    content: none;
  }

  .footer .policies li a {
    display: inline-flex;
    align-items: center;
    min-height: 4rem;
    padding: 0;
  }

  .footer .footer__copyright {
    text-align: center;
  }
}

/* ---------- Phones: no text below 12px ---------- */
@media screen and (max-width: 749px) {
  .jc .jc-bottom-nav__item,
  .jc .jc-chips--stories .jc-chips__chip {
    font-size: 1.2rem;
  }

  .jc .slider-counter {
    font-size: 1.3rem;
  }

  .jc .article-template time,
  .jc .article-card__info time {
    font-size: 1.2rem;
  }

  #wb-trigger-btn {
    font-size: 12px !important;
  }
}

/* ---------- Footer link lists: accordions on phones (sections/footer.liquid) ---------- */
.jc-foot-acc__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  list-style: none;
}

.jc-foot-acc__summary::-webkit-details-marker {
  display: none;
}

.jc-foot-acc__summary .footer-block__heading {
  margin: 0;
}

.jc-foot-acc__icon {
  flex: none;
  width: 1.2rem;
  color: rgb(var(--jc-gold));
  transition: transform 200ms var(--jc-ease-out);
}

.jc-foot-acc[open] .jc-foot-acc__icon {
  transform: rotate(180deg);
}

@media screen and (max-width: 749px) {
  .footer-block--menu {
    margin: 0;
    border-bottom: 0.1rem solid rgba(var(--jc-line), 0.8);
  }

  .jc-foot-acc__summary {
    min-height: 5.2rem;
    cursor: pointer;
  }

  .jc-foot-acc > .footer-block__details-content {
    padding-bottom: 1.2rem;
  }

  .jc-foot-acc .list-menu__item--link {
    min-height: 4.4rem;
    display: flex;
    align-items: center;
    padding: 0;
  }
}

@media screen and (min-width: 750px) {
  .jc-foot-acc__summary {
    pointer-events: none;
    margin-bottom: 2rem;
  }

  .jc-foot-acc__icon {
    display: none;
  }
}

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

/* ---------- Cookie banner + preferences (Shopify customer privacy) ----------
   Look only: dark card in the shop style. "Accept" and "Decline" get exactly the same style
   (equal prominence); markup, texts and consent logic stay Shopify's. Id selectors beat
   Shopify's injected class rules without !important. */
#shopify-pc__banner {
  background: rgb(var(--jc-surface));
  color: rgb(var(--jc-text));
  border: 0.1rem solid rgba(var(--jc-gold), 0.28);
  border-radius: 2rem;
  box-shadow: 0 2.4rem 6rem -1.6rem rgba(0, 0, 0, 0.75);
  padding: 2.4rem;
  bottom: 1.6rem;
  font-size: 1.4rem;
}

#shopify-pc__banner h2 {
  font-family: var(--font-heading-family);
  font-weight: var(--font-heading-weight);
  font-size: 2rem;
  letter-spacing: 0.02em;
  color: rgb(var(--jc-text));
}

#shopify-pc__banner p,
#shopify-pc__banner a {
  color: rgba(var(--jc-text), 0.78);
  line-height: 1.55;
}

#shopify-pc__banner a {
  color: rgb(var(--jc-gold));
  text-underline-offset: 0.3rem;
}

#shopify-pc__banner .shopify-pc__banner__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}

#shopify-pc__banner button {
  margin: 0;
  min-height: 4.8rem;
  border-radius: 99rem;
  font-weight: 700;
  font-size: 1.5rem;
}

#shopify-pc__banner .shopify-pc__banner__btn-accept,
#shopify-pc__banner .shopify-pc__banner__btn-decline {
  flex: 1 1 12rem;
  background: rgba(var(--jc-gold), 0.12);
  border: 0.1rem solid rgb(var(--jc-gold));
  color: rgb(var(--jc-text));
}

#shopify-pc__banner .shopify-pc__banner__btn-accept:hover,
#shopify-pc__banner .shopify-pc__banner__btn-decline:hover {
  background: rgba(var(--jc-gold), 0.22);
}

#shopify-pc__banner .shopify-pc__banner__btn-manage-prefs {
  order: 3;
  flex: 1 1 100%;
  min-height: 4.4rem;
  background: transparent;
  border: 0;
  color: rgba(var(--jc-text), 0.75);
  font-weight: 600;
  font-size: 1.4rem;
}

#shopify-pc__banner button:focus-visible,
#shopify-pc__prefs button:focus-visible {
  outline: 0.2rem solid rgb(var(--jc-gold));
  outline-offset: 0.2rem;
  box-shadow: none;
}

@media screen and (max-width: 749px) {
  #shopify-pc__banner {
    left: 1rem;
    right: 1rem;
    width: auto;
    min-width: 0;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    padding: 2rem 1.8rem 1.4rem;
    max-height: 80vh;
  }

  #shopify-pc__banner h2 {
    font-size: 1.8rem;
  }

  #shopify-pc__banner p {
    font-size: 1.35rem;
  }
}

#shopify-pc__prefs__overlay {
  background: rgba(10, 13, 14, 0.7);
}

#shopify-pc__prefs__dialog {
  background: rgb(var(--jc-surface));
  color: rgb(var(--jc-text));
  border: 0.1rem solid rgba(var(--jc-gold), 0.28);
  border-radius: 2rem;
}

#shopify-pc__prefs__dialog header {
  background: transparent;
  border-bottom: 0.1rem solid rgb(var(--jc-line));
}

#shopify-pc__prefs__dialog :is(h2, h3, label) {
  color: rgb(var(--jc-text));
}

#shopify-pc__prefs__dialog :is(p, li) {
  color: rgba(var(--jc-text), 0.75);
}

#shopify-pc__prefs__dialog a {
  color: rgb(var(--jc-gold));
}

#shopify-pc__prefs__dialog .shopify-pc__prefs__header-actions button {
  min-height: 4.4rem;
  border-radius: 99rem;
  background: rgba(var(--jc-gold), 0.12);
  border: 0.1rem solid rgb(var(--jc-gold));
  color: rgb(var(--jc-text));
  font-weight: 700;
}

#shopify-pc__prefs__dialog .shopify-pc__prefs__header-close svg path {
  fill: rgb(var(--jc-text));
}

#shopify-pc__prefs__dialog .shopify-pc__prefs__option {
  border-color: rgb(var(--jc-line));
}

/* Hidden sticky add-to-cart bar must not show through the translucent bottom nav */
@media screen and (max-width: 749px) {
  .jc-sticky-atc:not(.is-visible) {
    visibility: hidden;
    transition: transform 250ms var(--jc-ease-out), visibility 0s linear 250ms;
  }
}

/* Fixes after the mobile check: Shopify stacks the banner buttons in a column, so the
   flex-basis above turned into height. Accept + decline side by side, settings link below. */
#shopify-pc__banner .shopify-pc__banner__btns {
  flex-direction: row;
}

#shopify-pc__banner .shopify-pc__banner__btn-accept,
#shopify-pc__banner .shopify-pc__banner__btn-decline {
  flex: 1 1 0;
  height: auto;
}

#shopify-pc__prefs__dialog .shopify-pc__prefs__header-close:focus {
  box-shadow: none;
}

@media screen and (max-width: 749px) {
  .footer-block--menu.grid__item {
    width: 100%;
    max-width: 100%;
    flex-basis: 100%;
  }

  .jc-foot-acc > .footer-block__details-content {
    margin-bottom: 0;
  }

  /* last legal line stays clear of the withdrawal tab and the bottom nav */
  .footer__content-bottom {
    padding-bottom: calc(var(--jc-bottom-nav-h) + env(safe-area-inset-bottom, 0px) + 6rem);
  }
}

@media screen and (max-width: 749px) {
  .jc-foot-acc {
    display: block;
    width: 100%;
  }

  .footer__blocks-wrapper.grid {
    row-gap: 0;
  }

  .footer-block--menu + .footer-block:not(.footer-block--menu) {
    margin-top: 2.4rem;
  }
}

/* Dawn positions every "summary .icon-caret" absolutely; keep the footer caret in its box */
.jc-foot-acc__icon {
  position: relative;
}

.jc-foot-acc__icon .icon-caret {
  position: static;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 749px) {
  .footer__blocks-wrapper .footer-block--menu.grid__item {
    margin-top: 0;
    margin-bottom: 0;
  }
}

/* Pre-order stock line (sections/main-product, replaces the Timesact app) */
.jc-stock--preorder {
  color: rgb(var(--jc-gold));
}

/* ---------- Spin wheel (snippets/jc-spin-wheel.liquid, assets/jc-spin.js) ---------- */
.jc-spin {
  width: min(92rem, calc(100vw - 3.2rem));
  max-width: none;
  max-height: calc(100dvh - 3.2rem);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: rgb(var(--jc-text));
}

.jc-spin::backdrop {
  background: rgba(8, 11, 12, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.jc-spin[open] {
  animation: jc-spin-in 380ms var(--jc-ease-out);
}

@keyframes jc-spin-in {
  from {
    opacity: 0;
    transform: translateY(2.4rem) scale(0.97);
  }
}

.jc-spin__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 3.2rem;
  max-height: calc(100dvh - 3.2rem);
  overflow-y: auto;
  padding: 4rem;
  border: 0.1rem solid rgba(var(--jc-gold), 0.35);
  border-radius: 2.8rem;
  background:
    radial-gradient(120% 80% at 25% 30%, rgba(var(--jc-gold), 0.16), transparent 60%),
    rgb(var(--jc-surface));
  box-shadow: 0 3rem 8rem -2rem rgba(0, 0, 0, 0.85), inset 0 0.1rem 0 rgba(255, 255, 255, 0.06);
}

.jc-spin__close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  border: 0;
  border-radius: 50%;
  background: rgba(var(--jc-text), 0.08);
  color: rgb(var(--jc-text));
  cursor: pointer;
}

.jc-spin__close:hover {
  background: rgba(var(--jc-text), 0.16);
}

/* Wheel */
.jc-spin__stage {
  position: relative;
  display: grid;
  place-items: center;
}

.jc-spin__glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--jc-gold), 0.35), transparent 70%);
  filter: blur(2rem);
}

.jc-spin__wheel-wrap {
  position: relative;
  width: min(100%, 38rem);
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 1.6rem 3rem rgba(0, 0, 0, 0.6);
}

.jc-spin__wheel {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
  will-change: transform;
}

.jc-spin__rim {
  fill: rgb(var(--jc-deep));
  stroke: rgb(var(--jc-gold));
  stroke-width: 4;
}

.jc-spin__seg {
  stroke: rgba(var(--jc-gold), 0.55);
  stroke-width: 1.2;
}

.jc-spin__seg--a {
  fill: #1b2225;
}

.jc-spin__seg--b {
  fill: rgb(var(--jc-gold));
}

.jc-spin__label {
  font-family: var(--font-heading-family);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.jc-spin__label--a {
  fill: rgb(var(--jc-gold-soft));
}

.jc-spin__label--b {
  fill: rgb(var(--jc-deep));
}

.jc-spin__label-big {
  font-size: 24px;
}

.jc-spin__label-small {
  font-size: 11px;
  font-family: var(--font-body-family);
  font-weight: 600;
  letter-spacing: 0;
}

.jc-spin__bulb {
  fill: #fff4d8;
  filter: drop-shadow(0 0 3px rgba(255, 220, 150, 0.9));
  animation: jc-spin-bulb 1.4s ease-in-out infinite;
}

.jc-spin__bulb--1 {
  animation-delay: 0.7s;
}

.jc-spin.is-spinning .jc-spin__bulb {
  animation-duration: 0.35s;
}

@keyframes jc-spin-bulb {
  50% {
    opacity: 0.25;
  }
}

.jc-spin__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 19%;
  aspect-ratio: 1;
  border: 0.3rem solid rgb(var(--jc-gold));
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2c3539, rgb(var(--jc-deep)));
  box-shadow: 0 0.6rem 1.6rem rgba(0, 0, 0, 0.6);
  color: rgb(var(--jc-gold));
  font-family: var(--font-heading-family);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  transform: translate(-50%, -50%);
}

.jc-spin__pointer {
  position: absolute;
  top: -1.2rem;
  left: 50%;
  width: 3.4rem;
  height: 4.4rem;
  background: linear-gradient(180deg, rgb(var(--jc-gold-soft)), rgb(var(--jc-gold)));
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  filter: drop-shadow(0 0.4rem 0.6rem rgba(0, 0, 0, 0.6));
  transform: translateX(-50%);
}

.jc-spin.is-spinning .jc-spin__pointer {
  animation: jc-spin-tick 0.18s ease-in-out infinite alternate;
}

@keyframes jc-spin-tick {
  to {
    transform: translateX(-50%) rotate(-7deg);
  }
}

.jc-spin__sparks {
  position: absolute;
  top: 50%;
  left: 50%;
  pointer-events: none;
}

.jc-spin__sparks span {
  position: absolute;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 0.2rem;
  background: rgb(var(--jc-gold-soft));
  opacity: 0;
  animation: jc-spin-spark 1.2s var(--jc-ease-out) forwards;
}

.jc-spin__sparks span:nth-child(3n) {
  background: #fff4d8;
  border-radius: 50%;
}

@keyframes jc-spin-spark {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--x), var(--y)) rotate(220deg) scale(0.4);
  }
}

/* Text column */
.jc-spin__eyebrow {
  margin: 0 0 0.8rem;
  color: rgb(var(--jc-gold));
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.jc-spin__title {
  margin: 0;
  font-size: clamp(2.4rem, 3vw, 3.4rem);
  line-height: 1.1;
}

.jc-spin__title:focus {
  outline: none;
}

.jc-spin__text {
  margin: 1.2rem 0 2rem;
  color: rgba(var(--jc-text), 0.78);
  font-size: 1.5rem;
  line-height: 1.5;
}

.jc-spin__form {
  display: grid;
  gap: 1.2rem;
}

.jc-spin__field {
  display: grid;
  gap: 0.4rem;
}

.jc-spin__field label {
  font-size: 1.3rem;
  font-weight: 600;
  color: rgba(var(--jc-text), 0.8);
}

.jc-spin__field input {
  min-height: 4.8rem;
  padding: 0 1.4rem;
  border: 0.1rem solid rgb(var(--jc-line));
  border-radius: 1.2rem;
  background: rgba(0, 0, 0, 0.25);
  color: rgb(var(--jc-text));
  font: inherit;
  font-size: 1.6rem;
}

.jc-spin__field input:focus-visible {
  outline: 0.2rem solid rgb(var(--jc-gold));
  outline-offset: 0.1rem;
  border-color: transparent;
}

.jc-spin__field input[aria-invalid="true"] {
  border-color: rgb(238, 120, 100);
}

.jc-spin__hp {
  position: absolute;
  left: -999rem;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.jc-spin__consent {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 1rem;
  align-items: start;
  font-size: 1.25rem;
  line-height: 1.5;
  color: rgba(var(--jc-text), 0.72);
  cursor: pointer;
}

.jc-spin__consent input {
  width: 2.2rem;
  height: 2.2rem;
  margin: 0.1rem 0 0;
  accent-color: rgb(var(--jc-gold));
}

.jc-spin__consent a {
  color: rgb(var(--jc-gold));
}

.jc-spin__error {
  margin: 0;
  padding: 0.8rem 1.2rem;
  border-radius: 1rem;
  background: rgba(238, 120, 100, 0.12);
  color: #ffb3a6;
  font-size: 1.35rem;
}

.jc-spin__submit {
  min-height: 5.2rem;
  font-size: 1.7rem;
}

.jc-spin__terms {
  margin: 0;
  color: rgba(var(--jc-text), 0.55);
  font-size: 1.2rem;
  line-height: 1.5;
}

/* Result */
.jc-spin__code {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.2rem 1.2rem;
  margin: 2rem 0 0.8rem;
  padding: 1.4rem 1.6rem;
  border: 0.15rem dashed rgb(var(--jc-gold));
  border-radius: 1.4rem;
  background: rgba(var(--jc-gold), 0.08);
}

.jc-spin__code-label {
  grid-column: 1 / -1;
  color: rgba(var(--jc-text), 0.65);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.jc-spin__code-value {
  color: rgb(var(--jc-gold-soft));
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}

.jc-spin__copy {
  min-height: 4.4rem;
  padding: 0 1.6rem;
  border: 0.1rem solid rgb(var(--jc-gold));
  border-radius: 99rem;
  background: transparent;
  color: rgb(var(--jc-gold));
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.jc-spin__valid {
  margin: 0 0 1.6rem;
  color: rgba(var(--jc-text), 0.7);
  font-size: 1.35rem;
}

.jc-spin__apply {
  width: 100%;
  min-height: 5.2rem;
}

.jc-spin__note {
  margin: 1.2rem 0 0;
  color: rgba(var(--jc-text), 0.6);
  font-size: 1.25rem;
  line-height: 1.5;
}

.jc-spin.is-won .jc-spin__glow {
  background: radial-gradient(circle, rgba(var(--jc-gold), 0.6), transparent 70%);
}

html.jc-spin-open {
  overflow: hidden;
}

/* Phones: bottom sheet, wheel on top */
@keyframes jc-spin-up {
  from {
    transform: translateY(100%);
  }
}

@media screen and (max-width: 749px) {
  .jc-spin {
    width: 100vw;
    max-height: 94dvh;
    margin: auto 0 0;
  }

  .jc-spin[open] {
    animation-name: jc-spin-up;
  }

  .jc-spin__panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
    max-height: 94dvh;
    padding: 2.4rem 1.8rem calc(2rem + env(safe-area-inset-bottom, 0px));
    border-radius: 2.4rem 2.4rem 0 0;
    border-bottom: 0;
  }

  .jc-spin__wheel-wrap {
    width: min(68vw, 28rem);
  }

  .jc-spin__title {
    font-size: 2.3rem;
  }

  .jc-spin__text {
    margin: 0.8rem 0 1.4rem;
    font-size: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jc-spin[open],
  .jc-spin__bulb,
  .jc-spin.is-spinning .jc-spin__pointer {
    animation: none;
  }
}

/* Homepage teaser (sections/jc-spin-teaser.liquid) */
.jc-spin-teaser__card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 2.4rem;
  padding: 3.2rem 4rem;
  border: 0.1rem solid rgba(var(--jc-gold), 0.3);
  border-radius: 2.8rem;
  background:
    radial-gradient(80% 140% at 0% 50%, rgba(var(--jc-gold), 0.18), transparent 60%),
    rgb(var(--jc-surface));
}

.jc-spin-teaser__icon {
  width: 8.8rem;
  height: 8.8rem;
}

.jc-spin-teaser__eyebrow {
  margin: 0 0 0.4rem;
  color: rgb(var(--jc-gold));
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.jc-spin-teaser__title {
  margin: 0;
  font-size: clamp(2.2rem, 2.6vw, 3rem);
}

.jc-spin-teaser__text {
  margin: 0.8rem 0 0;
  color: rgba(var(--jc-text), 0.75);
}

.jc-spin-teaser__button {
  min-height: 5.2rem;
  white-space: nowrap;
}

@media screen and (max-width: 749px) {
  .jc-spin-teaser__card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.6rem;
    padding: 2.4rem 2rem;
    border-radius: 2.2rem;
  }

  .jc-spin-teaser__icon {
    width: 6.4rem;
    height: 6.4rem;
  }

  .jc-spin-teaser__button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .jc-spin-teaser__icon {
    transition: transform 700ms var(--jc-ease-out);
  }

  .jc-spin-teaser__card:hover .jc-spin-teaser__icon {
    transform: rotate(45deg);
  }
}

/* ---------- Pre-order notice in cart + confirmation (jc-preorder-cart-note, jc-preorder-confirm) ---------- */
.jc-pre-note {
  margin: 1.6rem 0 0;
  padding: 1.4rem 1.6rem;
  border: 0.1rem solid rgba(var(--jc-gold), 0.45);
  border-radius: 1.4rem;
  background: rgba(var(--jc-gold), 0.08);
  text-align: left;
}

.jc-pre-note__heading {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 0.8rem;
  color: rgb(var(--jc-gold));
  font-size: 1.4rem;
  font-weight: 700;
}

.jc-pre-note__heading svg {
  flex: none;
}

.jc-pre-note__list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jc-pre-note__item {
  display: grid;
  gap: 0.2rem;
  font-size: 1.35rem;
  line-height: 1.45;
}

.jc-pre-note__title {
  color: rgb(var(--jc-text));
  font-weight: 600;
}

.jc-pre-note__when {
  color: rgba(var(--jc-text), 0.75);
}

.jc-pre-confirm {
  width: min(52rem, calc(100vw - 3.2rem));
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgb(var(--jc-text));
}

.jc-pre-confirm::backdrop {
  background: rgba(8, 11, 12, 0.72);
}

.jc-pre-confirm__panel {
  padding: 3.2rem;
  border: 0.1rem solid rgba(var(--jc-gold), 0.35);
  border-radius: 2.4rem;
  background: rgb(var(--jc-surface));
  box-shadow: 0 3rem 8rem -2rem rgba(0, 0, 0, 0.85);
}

.jc-pre-confirm__eyebrow {
  margin: 0 0 0.6rem;
  color: rgb(var(--jc-gold));
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.jc-pre-confirm__title {
  margin: 0;
  font-size: 2.6rem;
}

.jc-pre-confirm__text {
  margin: 1rem 0 1.6rem;
  color: rgba(var(--jc-text), 0.78);
}

.jc-pre-confirm__list {
  max-height: 40vh;
  overflow-y: auto;
  padding: 1.4rem 1.6rem;
  border-radius: 1.4rem;
  background: rgba(var(--jc-gold), 0.08);
}

.jc-pre-confirm__actions {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.jc-pre-confirm__actions .button {
  width: 100%;
  min-height: 5.2rem;
}

@media screen and (max-width: 749px) {
  .jc-pre-confirm {
    width: 100vw;
    margin: auto 0 0;
  }

  .jc-pre-confirm__panel {
    padding: 2.4rem 1.8rem calc(2rem + env(safe-area-inset-bottom, 0px));
    border-radius: 2.4rem 2.4rem 0 0;
  }

  .jc-pre-confirm__title {
    font-size: 2.2rem;
  }
}

/* ---------- JungcardsHQ pages inside the theme (app proxy, application/liquid) ----------
   Review page (/apps/jungcards/bewerten), referral page (/apps/jungcards/empfehlen), wheel confirm.
   HQ renders plain markup with these classes; layout, header and footer come from the theme.
   Markup reference: docs/hq-proxy-pages.md. Copy buttons: [data-jc-copy] (assets/jc-motion.js). */
.jc-px {
  width: min(64rem, calc(100% - 3.2rem));
  margin: 0 auto;
  padding: 4.8rem 0 6.4rem;
}

.jc-px--wide {
  width: min(84rem, calc(100% - 3.2rem));
}

.jc-px__card {
  position: relative;
  padding: 4rem;
  border: 0.1rem solid rgba(var(--jc-gold), 0.3);
  border-radius: 2.8rem;
  background:
    radial-gradient(120% 70% at 0% 0%, rgba(var(--jc-gold), 0.14), transparent 60%),
    rgb(var(--jc-surface));
  box-shadow: 0 3rem 8rem -3rem rgba(0, 0, 0, 0.8), inset 0 0.1rem 0 rgba(255, 255, 255, 0.05);
}

.jc-px__card + .jc-px__card {
  margin-top: 2rem;
}

.jc-px__icon {
  display: grid;
  place-items: center;
  width: 5.6rem;
  height: 5.6rem;
  margin-bottom: 1.6rem;
  border: 0.1rem solid rgba(var(--jc-gold), 0.5);
  border-radius: 50%;
  background: rgba(var(--jc-gold), 0.12);
  color: rgb(var(--jc-gold));
  font-size: 2.4rem;
}

.jc-px__icon svg {
  width: 2.6rem;
  height: 2.6rem;
}

.jc-px__eyebrow {
  margin: 0 0 0.8rem;
  color: rgb(var(--jc-gold));
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.jc-px__title {
  margin: 0;
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  line-height: 1.1;
}

.jc-px__lead {
  margin: 1.2rem 0 0;
  color: rgba(var(--jc-text), 0.78);
  font-size: 1.6rem;
  line-height: 1.6;
}

.jc-px__section-title {
  margin: 3.2rem 0 1.2rem;
  font-size: 2rem;
}

/* Steps / perks ("Freund bekommt 15 %", "du bekommst 5 €") */
.jc-px__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.2rem;
  margin: 2.4rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: jc-px-step;
}

.jc-px__step {
  position: relative;
  padding: 1.6rem 1.6rem 1.6rem 5.6rem;
  border: 0.1rem solid rgb(var(--jc-line));
  border-radius: 1.6rem;
  background: rgba(0, 0, 0, 0.18);
  font-size: 1.4rem;
  line-height: 1.5;
  color: rgba(var(--jc-text), 0.8);
  counter-increment: jc-px-step;
}

.jc-px__step::before {
  content: counter(jc-px-step);
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: rgb(var(--jc-gold));
  color: rgb(var(--jc-deep));
  font-weight: 700;
  font-size: 1.4rem;
}

.jc-px__step strong {
  display: block;
  margin-bottom: 0.2rem;
  color: rgb(var(--jc-text));
  font-size: 1.6rem;
}

/* Forms */
.jc-px__form {
  display: grid;
  gap: 1.6rem;
  margin-top: 2.8rem;
}

.jc-px__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  gap: 1.6rem;
}

.jc-px__field {
  display: grid;
  gap: 0.6rem;
}

.jc-px__field > span,
.jc-px__label {
  color: rgba(var(--jc-text), 0.85);
  font-size: 1.35rem;
  font-weight: 600;
}

.jc-px__field input,
.jc-px__field textarea,
.jc-px__field select {
  width: 100%;
  min-height: 5rem;
  padding: 1.2rem 1.4rem;
  border: 0.1rem solid rgb(var(--jc-line));
  border-radius: 1.2rem;
  background: rgba(0, 0, 0, 0.25);
  color: rgb(var(--jc-text));
  font: inherit;
  font-size: 1.6rem;
  box-sizing: border-box;
}

.jc-px__field textarea {
  min-height: 11rem;
  resize: vertical;
  line-height: 1.5;
}

.jc-px__field input::placeholder,
.jc-px__field textarea::placeholder {
  color: rgba(var(--jc-text), 0.4);
}

.jc-px__field :is(input, textarea, select):focus-visible {
  outline: 0.2rem solid rgb(var(--jc-gold));
  outline-offset: 0.1rem;
  border-color: transparent;
}

.jc-px__hint {
  color: rgba(var(--jc-text), 0.55);
  font-size: 1.25rem;
}

.jc-px__hp {
  position: absolute !important;
  left: -999rem !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.jc-px__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 0.8rem;
}

.jc-px__actions .button {
  min-height: 5.2rem;
  padding: 0 3.2rem;
}

.jc-px__msg {
  margin: 2rem 0 0;
  padding: 1.2rem 1.6rem;
  border-radius: 1.2rem;
  font-size: 1.45rem;
  line-height: 1.5;
}

.jc-px__msg--error {
  border: 0.1rem solid rgba(238, 120, 100, 0.5);
  background: rgba(238, 120, 100, 0.12);
  color: #ffc2b7;
}

.jc-px__msg--success {
  border: 0.1rem solid rgba(var(--jc-ok), 0.45);
  background: rgba(var(--jc-ok), 0.1);
  color: rgb(var(--jc-ok));
}

.jc-px__note {
  margin: 2rem 0 0;
  color: rgba(var(--jc-text), 0.55);
  font-size: 1.3rem;
  line-height: 1.55;
}

.jc-px__note a,
.jc-px__lead a {
  color: rgb(var(--jc-gold));
}

/* Review items: one per ordered product */
.jc-px__items {
  display: grid;
  gap: 1.6rem;
  margin: 2.8rem 0 0;
  padding: 0;
  list-style: none;
}

.jc-px__item {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1.2rem 1.6rem;
  padding: 1.8rem;
  border: 0.1rem solid rgb(var(--jc-line));
  border-radius: 1.8rem;
  background: rgba(0, 0, 0, 0.18);
}

.jc-px__item-img {
  width: 8rem;
  height: 8rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  object-fit: contain;
}

.jc-px__item-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.35;
}

.jc-px__item-body {
  grid-column: 1 / -1;
  display: grid;
  gap: 1.2rem;
}

.jc-px__item--done {
  border-color: rgba(var(--jc-ok), 0.45);
}

.jc-px__item-done {
  color: rgb(var(--jc-ok));
  font-size: 1.35rem;
  font-weight: 600;
}

/* Star input: radios 5..1 in the markup, shown 1..5 */
.jc-px__stars {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.jc-px__stars legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.jc-px__stars input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.jc-px__stars label {
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  color: rgba(var(--jc-text), 0.22);
  font-size: 3.2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 150ms ease, transform 150ms var(--jc-ease-out);
}

.jc-px__stars input:checked ~ label,
.jc-px__stars label:hover,
.jc-px__stars label:hover ~ label {
  color: rgb(var(--jc-gold));
}

.jc-px__stars label:active {
  transform: scale(0.9);
}

.jc-px__stars input:focus-visible + label {
  outline: 0.2rem solid rgb(var(--jc-gold));
  outline-offset: -0.2rem;
  border-radius: 0.8rem;
}

/* Code box + share (referral, wheel confirm) */
.jc-px__code {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.4rem 1.6rem;
  margin: 2.8rem 0 0;
  padding: 1.8rem 2rem;
  border: 0.15rem dashed rgb(var(--jc-gold));
  border-radius: 1.6rem;
  background: rgba(var(--jc-gold), 0.08);
}

.jc-px__code-label {
  grid-column: 1 / -1;
  color: rgba(var(--jc-text), 0.65);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.jc-px__code-value {
  color: rgb(var(--jc-gold-soft));
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}

.jc-px__copy {
  min-height: 4.4rem;
  padding: 0 1.8rem;
  border: 0.1rem solid rgb(var(--jc-gold));
  border-radius: 99rem;
  background: transparent;
  color: rgb(var(--jc-gold));
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.jc-px__copy:hover {
  background: rgba(var(--jc-gold), 0.14);
}

.jc-px__share {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.6rem;
}

.jc-px__share a {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 4.4rem;
  padding: 0 1.6rem;
  border: 0.1rem solid rgb(var(--jc-line));
  border-radius: 99rem;
  background: rgba(0, 0, 0, 0.2);
  color: rgb(var(--jc-text));
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
}

.jc-px__share a:hover {
  border-color: rgb(var(--jc-gold));
}

/* Small stats ("2 Freunde haben bestellt") */
.jc-px__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.jc-px__stat {
  padding: 1.4rem 1.6rem;
  border: 0.1rem solid rgb(var(--jc-line));
  border-radius: 1.4rem;
  background: rgba(0, 0, 0, 0.18);
}

.jc-px__stat-value {
  display: block;
  color: rgb(var(--jc-gold));
  font-family: var(--font-heading-family);
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1.1;
}

.jc-px__stat-label {
  color: rgba(var(--jc-text), 0.65);
  font-size: 1.3rem;
}

@media screen and (max-width: 749px) {
  .jc-px {
    width: calc(100% - 2rem);
    padding: 2.4rem 0 4rem;
  }

  .jc-px__card {
    padding: 2.6rem 2rem;
    border-radius: 2.2rem;
  }

  .jc-px__actions .button {
    width: 100%;
  }

  .jc-px__item {
    grid-template-columns: 6.4rem minmax(0, 1fr);
    padding: 1.4rem;
  }

  .jc-px__item-img {
    width: 6.4rem;
    height: 6.4rem;
  }

  .jc-px__code {
    grid-template-columns: minmax(0, 1fr);
  }

  .jc-px__copy {
    justify-self: start;
  }

  .jc-px__stars label {
    width: 4.8rem;
    height: 4.8rem;
  }
}

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

/* ---------- Product page on phones: buy button in the first screen ----------
   EU shoppers on phones add to cart half as often as on desktop; the buy button sat 1.5 screens
   down behind the benefit line, the quantity label and the "add a companion" box. On phones the
   info column becomes a flex column: title, price, tax, shipping, stock, quantity and buy buttons
   come first (order 1), everything else follows in its usual order (order 2). Desktop unchanged. */
@media screen and (max-width: 749px) {
  .product__info-container {
    display: flex;
    flex-direction: column;
  }

  /* flex items do not collapse margins: keep Dawn's 1.5rem top margins, drop the bottom ones */
  .jc .product__info-container > * {
    order: 2;
    margin-bottom: 0;
  }

  .jc .product__info-container > :is(
      .product__title,
      .jc-rating-line,
      [id^='price-'],
      .volume-pricing-note,
      .product__tax,
      .jc-ship-line,
      div:has(> form.installment),
      .product__inventory,
      .product-form__quantity,
      div:has(> product-form),
      .jc-notify-wrap,
      .jc-soldout
    ) {
    order: 1;
  }

  /* "Inkl. Steuern." stays right under the price */
  .jc .product__info-container > .product__tax {
    margin-top: 0.2rem;
  }

  /* empty installment form wrapper (no Klarna/PayPal message) takes no gap */
  .product__info-container > div:has(> form.installment):not(:has(shopify-payment-terms)) {
    display: none;
  }

  /* companion box: a little air between the buy buttons and the box below */
  .jc .product__info-container > jc-bundle {
    margin-top: 2rem;
  }

  .jc .product__title h1 {
    font-size: 2.1rem;
  }

  .jc-title-prefix {
    margin-bottom: 0.3rem;
  }

  /* Quantity: label only for screen readers, compact stepper */
  .product-form__quantity .quantity__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .product-form__quantity .quantity {
    min-height: 4.4rem;
  }
/* Spin wheel: prize won, code follows by e-mail (double opt-in) */
.jc-spin__mail {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
  margin: 2rem 0 0;
  padding: 1.6rem 1.8rem;
  border: 0.15rem dashed rgb(var(--jc-gold));
  border-radius: 1.6rem;
  background: rgba(var(--jc-gold), 0.08);
}

.jc-spin__mail-icon {
  color: rgb(var(--jc-gold));
}

.jc-spin__mail-title {
  margin: 0;
  color: rgb(var(--jc-gold-soft));
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.35;
}

.jc-spin__mail-text {
  margin: 0.6rem 0 0;
  color: rgba(var(--jc-text), 0.8);
  font-size: 1.45rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.jc-spin__pending-actions {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.jc-spin__resend {
  min-height: 4.4rem;
  border: 0;
  background: transparent;
  color: rgb(var(--jc-gold));
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.3rem;
  cursor: pointer;
}

.jc-spin__resend:disabled {
  color: rgba(var(--jc-text), 0.6);
  text-decoration: none;
  cursor: default;
}
