/* ==========================================================================
   jojo — shared chrome
   Loaded after each page's own styles, so it wins where they overlap.
   Header, logo, product stage, option pickers and checkout live here so the
   three pages cannot drift apart.
   ========================================================================== */

:root {
  --hdr-milk: #f7f8fb;
  --hdr-ink: #0e0f13;
  --hdr-grey: #74757e;
  --hdr-hair: #e2e3ea;
  --hdr-blue: #5b7cff;
  --hdr-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* .btn sets display, which out-specifies the UA rule for [hidden];
   without this an intentionally hidden button still shows. */
[hidden] { display: none !important; }
body.hdr-menu-open { overflow: hidden; }
body.search-is-open { overflow: hidden; }

/* --- header ---------------------------------------------------------------
   Logo left and compact; the gammes carry icons so they read as destinations
   rather than small caps. On the landing page the bar stays out of the way
   until the hero has been passed (see .hdr--reveal).
   -------------------------------------------------------------------------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  /* Three tracks: the middle one centres the gammes regardless of how much
     the sides weigh. */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(0.8rem, 0.4rem + 1.4vw, 2rem);
  padding: 0.62rem var(--edge, 1.6rem);
  /* Liquid glass: the pane lifts and blurs the page under it, carries a lit
     top edge, and lenses hardest at its lower border. */
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(255, 255, 255, 0.5),
    0 1px 0 rgba(14, 15, 19, 0.05),
    0 10px 30px rgba(14, 15, 19, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

/* The lensed lower rim — a magnified slice of the backdrop, masked to the
   edge, which is where real glass bends light hardest. */
.hdr::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  backdrop-filter: blur(5px) saturate(150%);
  -webkit-backdrop-filter: blur(5px) saturate(150%);
  transform: scaleY(1.5);
  transform-origin: bottom;
  -webkit-mask-image: linear-gradient(to bottom, transparent 62%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 62%, #000 100%);
}

.hdr > * { position: relative; z-index: 1; }

.hdr__logo { grid-column: 1; justify-self: start; display: block; transition: opacity 0.25s var(--hdr-ease); }
.hdr__logo:hover { opacity: 0.68; }
.hdr__logo img { display: block; width: clamp(74px, 6vw, 92px); height: auto; }

.hdr__nav { display: flex; align-items: center; gap: 0.15rem; min-width: 0; }
.hdr__nav--start { grid-column: 2; justify-self: center; }
.hdr__nav--end { grid-column: 3; justify-self: end; gap: 0.5rem; }

/* A gamme: icon over label, comfortably sized to hit. */
.hdr__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.56rem 0.8rem;
  border-radius: 11px;
  color: var(--hdr-ink);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s var(--hdr-ease), color 0.2s var(--hdr-ease);
}

.hdr__item svg { flex: 0 0 auto; opacity: 0.75; }
.hdr__item-img {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  object-fit: contain;
  opacity: 0.78;
}
.hdr__item:hover { background: rgba(14, 15, 19, 0.055); }
.hdr__item:hover svg,
.hdr__item:hover .hdr__item-img { opacity: 1; }
.hdr__item[aria-current="page"] { background: rgba(91, 124, 255, 0.1); color: var(--hdr-blue); }
.hdr__item[aria-current="page"] svg,
.hdr__item[aria-current="page"] .hdr__item-img { opacity: 1; }

/* Anything with a menu says so. */
.hdr__item .chev {
  width: 9px; height: 9px; opacity: 0.5;
  transition: transform 0.25s var(--hdr-ease);
}
.hdr__menu[open] .hdr__combo .chev,
.hdr__menu[open] > .hdr__item .chev { transform: rotate(180deg); }

.hdr__menu { position: relative; }
.hdr__menu > summary { list-style: none; }
.hdr__menu > summary::-webkit-details-marker { display: none; }
.hdr__summary {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.hdr__combo {
  display: inline-flex;
  align-items: center;
  border-radius: 11px;
}
.hdr__combo .hdr__item {
  padding-right: 0.24rem;
  border-radius: 11px 0 0 11px;
}
.hdr__chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-width: 1.36rem;
  margin-left: -0.12rem;
  padding: 0 0.52rem 0 0.16rem;
  border: 0;
  border-radius: 0 11px 11px 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.hdr__combo:hover,
.hdr__menu[open] .hdr__combo { background: rgba(14, 15, 19, 0.055); }
.hdr__combo:hover .hdr__item { background: transparent; }
.hdr__chev .chev {
  width: 9px;
  height: 9px;
  opacity: 0.5;
  transition: transform 0.25s var(--hdr-ease);
}

.hdr__drop {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  z-index: 5;
  display: grid;
  gap: 0.1rem;
  min-width: 208px;
  padding: 0.45rem;
  border: 1px solid var(--hdr-hair);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 44px rgba(14, 15, 19, 0.14);
}

.hdr__drop a { width: 100%; justify-content: flex-start; }

.hdr__menu--desktop > .hdr__item {
  user-select: none;
}

.hdr__drop--products {
  left: 50%;
  width: min(var(--hdr-drop-width, 760px), calc(100vw - 2rem));
  min-width: min(var(--hdr-drop-width, 760px), calc(100vw - 2rem));
  padding: 0.9rem;
  gap: 0.8rem;
  transform: translateX(-50%);
  overflow: hidden;
}

.hdr__drop--mac,
.hdr__drop--ipad {
  --hdr-drop-width: 820px;
}

.hdr__drop--watch {
  --hdr-drop-width: 680px;
}

.hdr__drop--airpods {
  --hdr-drop-width: 500px;
}

.hdr__menu--desktop[open] > .hdr__drop--products {
  animation: hdr-product-drop 0.28s var(--hdr-ease) both;
}

@keyframes hdr-product-drop {
  from { opacity: 0; transform: translateX(-50%) translateY(-0.45rem) scale(0.985); }
  to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

.hdrd__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
  gap: 0.65rem;
}

.hdr__drop--watch .hdrd__grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.hdr__drop--airpods .hdrd__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.42rem;
}

.hdrd__product {
  min-width: 0;
  min-height: 112px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.18rem;
  padding: 0.55rem 0.35rem 0.65rem;
  border-radius: 12px;
  overflow: hidden;
  color: var(--hdr-ink);
  text-align: center;
  text-decoration: none;
  transition: background 0.22s var(--hdr-ease), transform 0.28s var(--hdr-ease);
}

.hdrd__product:hover {
  background: rgba(14, 15, 19, 0.055);
  transform: translateY(-2px);
}

.hdrd__pic {
  position: relative;
  width: 78px;
  height: 66px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hdrd__pic img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  mix-blend-mode: normal !important;
  filter: drop-shadow(0 7px 10px rgba(14, 15, 19, 0.12));
  transform: none !important;
}

.hdrd__product:hover .hdrd__pic img {
  transform: none !important;
}

.hdrd__name {
  display: -webkit-box;
  min-height: 1.5rem;
  max-width: 100%;
  color: var(--hdr-ink);
  font-size: 0.64rem;
  line-height: 1.16;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hdrd__tag {
  color: #e04b14;
  font-size: 0.55rem;
  line-height: 1.1;
}

.hdrd__all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  border-top: 1px solid rgba(14, 15, 19, 0.08);
  padding-top: 0.8rem;
  color: var(--hdr-grey);
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.hdrd__all:hover {
  color: var(--hdr-ink);
}

.hdr__menu--mobile { display: none; }

.hdr__burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border: 1px solid var(--hdr-hair);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--hdr-ink);
  cursor: pointer;
  list-style: none;
  transition: border-color 0.2s var(--hdr-ease), background 0.2s var(--hdr-ease), transform 0.2s var(--hdr-ease);
}

.hdr__burger::-webkit-details-marker { display: none; }
.hdr__burger:hover { border-color: rgba(14, 15, 19, 0.28); background: #fff; transform: translateY(-1px); }
.hdr__burger svg { opacity: 0.8; }
.hdr__burger-lines {
  position: relative;
  width: 1.05rem;
  height: 0.9rem;
  display: inline-block;
}

.hdr__burger-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition:
    transform 0.52s var(--hdr-ease),
    opacity 0.34s var(--hdr-ease),
    top 0.52s var(--hdr-ease);
}

.hdr__burger-lines span:nth-child(1) { top: 0.05rem; }
.hdr__burger-lines span:nth-child(2) { top: calc(50% - 0.75px); }
.hdr__burger-lines span:nth-child(3) { top: calc(100% - 1.55px); }

.hdr__search {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.52rem 0.95rem 0.52rem 0.8rem;
  border: 1px solid var(--hdr-hair);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--hdr-grey);
  font-size: 0.8rem;
  text-decoration: none;
  transition: border-color 0.2s var(--hdr-ease), color 0.2s var(--hdr-ease);
}

.hdr__search:hover { border-color: rgba(14, 15, 19, 0.32); color: var(--hdr-ink); }

/* --- global search --------------------------------------------------------- */
.jsearch {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  justify-items: center;
  align-items: start;
  padding: max(5.2rem, env(safe-area-inset-top)) clamp(0.9rem, 2vw, 1.6rem) 1.4rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s var(--hdr-ease);
}

.jsearch.is-open {
  pointer-events: auto;
  opacity: 1;
}

.jsearch__veil {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(247, 248, 251, 0.34);
  backdrop-filter: blur(5px) saturate(118%);
  -webkit-backdrop-filter: blur(5px) saturate(118%);
  cursor: default;
}

.jsearch__panel {
  position: relative;
  width: min(680px, 100%);
  max-height: min(72vh, 720px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(14, 15, 19, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 44px rgba(14, 15, 19, 0.13);
  transform: translateY(-0.7rem) scale(0.985);
  transition: transform 0.28s var(--hdr-ease);
}

.jsearch.is-open .jsearch__panel { transform: none; }

.jsearch__box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.25rem;
  padding: 0 1rem 0 1.15rem;
  border-bottom: 1px solid rgba(14, 15, 19, 0.08);
  color: var(--hdr-grey);
}

.jsearch__input {
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--hdr-ink);
  font: inherit;
  font-size: 1.14rem;
  letter-spacing: 0;
}

.jsearch__input::placeholder { color: rgba(14, 15, 19, 0.36); }

.jsearch__x {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(14, 15, 19, 0.06);
  color: var(--hdr-grey);
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.jsearch__x:hover { color: var(--hdr-ink); background: rgba(14, 15, 19, 0.1); }

.jsearch__results {
  display: grid;
  gap: 0.2rem;
  padding: 0.5rem;
  overflow: auto;
}

.jsearch__item {
  min-width: 0;
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  padding: 0.54rem 0.65rem;
  border-radius: 14px;
  color: var(--hdr-ink);
  text-decoration: none;
}

.jsearch__item:hover,
.jsearch__item.is-active {
  background: rgba(91, 124, 255, 0.1);
}

.jsearch__thumb {
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 13px;
  background: linear-gradient(180deg, #fff, #f1f2f6);
}

.jsearch__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0.3rem;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(14, 15, 19, 0.12));
}

.jsearch__meta {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
}

.jsearch__meta b {
  overflow: hidden;
  color: var(--hdr-ink);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jsearch__meta small {
  overflow: hidden;
  color: var(--hdr-grey);
  font-size: 0.76rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jsearch__empty {
  padding: 1.4rem 1rem;
  color: var(--hdr-grey);
  font-size: 0.9rem;
  text-align: center;
}

.hdr__cart {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.58rem 1.05rem;
  border: 0;
  border-radius: 999px;
  background: var(--hdr-ink);
  color: #fff;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.25s var(--hdr-ease), background 0.25s var(--hdr-ease);
}

.hdr__cart:hover { transform: translateY(-1px); background: #26272e; }

.hdr__cart b {
  min-width: 1.5em; height: 1.5em; padding-inline: 0.32em;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--hdr-blue); font-weight: 500; font-size: 0.8em;
}

.hdr__cart b[data-count="0"] { background: rgba(255, 255, 255, 0.22); }

/* Landing page: the bar slides in only once the hero is behind you. */
.hdr--reveal { display: none; }
.hdr--reveal.is-shown { display: grid; }

@media (max-width: 1080px) { .hdr__item span { display: none; } .hdr__item { padding: 0.5rem 0.55rem; } .hdr__menu .hdr__drop span { display: inline; } }
@media (max-width: 860px) { .hdr__search span { display: none; } }
@media (max-width: 700px) {
  .jsearch {
    align-items: center;
    padding: 1.1rem;
  }
  .jsearch__panel {
    width: min(390px, 100%);
    max-height: min(70svh, 31rem);
  }
  .jsearch__box {
    min-height: 3.9rem;
  }
  .jsearch__results {
    max-height: 22rem;
  }

  .hdr { grid-template-columns: auto 1fr; }
  .hdr__nav--start { display: none; }
  .hdr__nav--end { grid-column: 2; gap: 0.45rem; }
  .hdr__search { display: none; }
  .hdr__menu--mobile { display: block; }
  .hdr__menu--mobile[open] > .hdr__burger {
    position: relative;
    z-index: 81;
    border-color: rgba(14, 15, 19, 0.08);
    background: var(--hdr-ink);
    color: #fff;
  }
  .hdr__menu--mobile[open]:not(.is-closing) > .hdr__burger .hdr__burger-lines span:nth-child(1) {
    top: calc(50% - 0.75px);
    transform: rotate(45deg);
  }
  .hdr__menu--mobile[open]:not(.is-closing) > .hdr__burger .hdr__burger-lines span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.2);
  }
  .hdr__menu--mobile[open]:not(.is-closing) > .hdr__burger .hdr__burger-lines span:nth-child(3) {
    top: calc(50% - 0.75px);
    transform: rotate(-45deg);
  }
  .hdr__drop--mobile {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    align-content: start;
    gap: 0.45rem;
    width: 100%;
    min-height: 100svh;
    min-width: 0;
    max-height: none;
    box-sizing: border-box;
    padding:
      calc(env(safe-area-inset-top) + 5.7rem)
      clamp(1.15rem, 0.85rem + 1.4vw, 1.6rem)
      calc(env(safe-area-inset-bottom) + 1.6rem);
    overflow: auto;
    border: 0;
    border-radius: 0;
    background: #fff;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: none;
    opacity: 0;
    transform: translateY(-1.6rem) scale(0.985);
    transform-origin: top center;
    pointer-events: none;
    transition: opacity 0.5s var(--hdr-ease), transform 0.68s var(--hdr-ease);
  }
  .hdr__menu--mobile[open]:not(.is-closing) > .hdr__drop--mobile {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .hdr__menu--mobile.is-closing > .hdr__drop--mobile {
    opacity: 0;
    transform: translateY(-1rem) scale(0.99);
    pointer-events: none;
  }
  .hdrm {
    display: grid;
    gap: 0;
    width: min(100%, 520px);
    max-width: 760px;
    margin: 0 auto;
  }
  .hdrm__section {
    display: grid;
    gap: 0;
    padding: 1.18rem 0;
    border-bottom: 1px solid rgba(14, 15, 19, 0.08);
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity 0.46s var(--hdr-ease),
      transform 0.6s var(--hdr-ease);
  }
  .hdr__menu--mobile[open]:not(.is-closing) > .hdr__drop--mobile .hdrm__section {
    opacity: 1;
    transform: none;
  }
  .hdr__menu--mobile[open]:not(.is-closing) > .hdr__drop--mobile .hdrm__section:nth-child(1) { transition-delay: 70ms; }
  .hdr__menu--mobile[open]:not(.is-closing) > .hdr__drop--mobile .hdrm__section:nth-child(2) { transition-delay: 115ms; }
  .hdr__menu--mobile[open]:not(.is-closing) > .hdr__drop--mobile .hdrm__section:nth-child(3) { transition-delay: 160ms; }
  .hdr__menu--mobile[open]:not(.is-closing) > .hdr__drop--mobile .hdrm__section:nth-child(4) { transition-delay: 205ms; }
  .hdr__menu--mobile[open]:not(.is-closing) > .hdr__drop--mobile .hdrm__section:nth-child(5) { transition-delay: 250ms; }
  .hdr__menu--mobile[open]:not(.is-closing) > .hdr__drop--mobile .hdrm__section:nth-child(6) { transition-delay: 295ms; }
  .hdr__menu--mobile[open]:not(.is-closing) > .hdr__drop--mobile .hdrm__section:nth-child(7) { transition-delay: 340ms; }
  .hdr__menu--mobile.is-closing > .hdr__drop--mobile .hdrm__section {
    opacity: 0;
    transform: translateY(12px);
    transition-duration: 0.24s, 0.34s;
    transition-delay: 0ms;
  }
  .hdrm__head {
    width: 100%;
    min-height: 2.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--hdr-ink);
    font: inherit;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: 0;
    text-align: left;
    cursor: pointer;
  }
  .hdrm__head:focus-visible {
    outline: 2px solid rgba(35, 214, 225, 0.42);
    outline-offset: 0.35rem;
  }
  .hdrm__title {
    min-width: 0;
  }
  .hdrm__mark {
    display: inline-grid;
    place-items: center;
    width: 1.6rem;
    height: 1.6rem;
    min-width: 1.6rem;
    color: var(--hdr-grey);
    font-size: 1.28rem;
    font-weight: 500;
    line-height: 1;
    text-align: right;
    transform-origin: center;
    transition: color 0.24s var(--hdr-ease), transform 0.38s var(--hdr-ease);
  }
  .hdrm__section.is-open .hdrm__mark {
    color: var(--hdr-ink);
    transform: rotate(45deg);
  }
  .hdrm__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(74px, 1fr));
    gap: 0.82rem 0.52rem;
    height: 0;
    padding-top: 0;
    overflow: hidden;
    opacity: 0;
    box-sizing: border-box;
    transform: translateY(-0.45rem) scaleY(0.98);
    transform-origin: top;
    transition:
      height 0.46s var(--hdr-ease),
      padding-top 0.46s var(--hdr-ease),
      opacity 0.28s var(--hdr-ease),
      transform 0.46s var(--hdr-ease);
  }
  .hdrm__section.is-open .hdrm__grid {
    padding-top: 1rem;
    opacity: 1;
    transform: none;
  }
  .hdrm__section.is-closing .hdrm__grid {
    padding-top: 0;
    opacity: 0;
    transform: translateY(-0.35rem) scaleY(0.985);
  }
  .hdrm__grid[hidden] { display: none; }
  .hdrm__product {
    min-width: 0;
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 0.18rem;
    padding: 0.05rem 0.08rem 0.35rem;
    color: var(--hdr-ink);
    text-align: center;
    text-decoration: none;
    opacity: 0;
    transform: translateY(0.6rem) scale(0.985);
    transition:
      opacity 0.34s var(--hdr-ease),
      transform 0.42s var(--hdr-ease);
  }
  .hdrm__section.is-open .hdrm__product {
    opacity: 1;
    transform: none;
  }
  .hdrm__section.is-open .hdrm__product:nth-child(1) { transition-delay: 45ms; }
  .hdrm__section.is-open .hdrm__product:nth-child(2) { transition-delay: 75ms; }
  .hdrm__section.is-open .hdrm__product:nth-child(3) { transition-delay: 105ms; }
  .hdrm__section.is-open .hdrm__product:nth-child(4) { transition-delay: 135ms; }
  .hdrm__section.is-open .hdrm__product:nth-child(5) { transition-delay: 165ms; }
  .hdrm__section.is-open .hdrm__product:nth-child(6) { transition-delay: 195ms; }
  .hdrm__section.is-open .hdrm__product:nth-child(7) { transition-delay: 225ms; }
  .hdrm__section.is-closing .hdrm__product {
    opacity: 0;
    transform: translateY(-0.25rem) scale(0.99);
    transition-duration: 0.18s, 0.24s;
    transition-delay: 0ms;
  }
  .hdrm__pic {
    position: relative;
    width: 76px;
    height: 60px;
    display: grid;
    place-items: center;
    overflow: hidden;
  }
  .hdrm__pic img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    mix-blend-mode: normal !important;
    filter: drop-shadow(0 7px 10px rgba(14, 15, 19, 0.12));
    transform: none !important;
  }
  .hdrm__name {
    display: -webkit-box;
    max-width: 100%;
    color: var(--hdr-ink);
    font-size: 0.64rem;
    line-height: 1.16;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .hdrm__tag {
    color: #e04b14;
    font-size: 0.55rem;
    line-height: 1.1;
  }
  .hdrm__extras {
    display: grid;
    gap: 0;
    padding-top: 0.7rem;
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity 0.46s var(--hdr-ease),
      transform 0.6s var(--hdr-ease);
  }
  .hdr__menu--mobile[open]:not(.is-closing) > .hdr__drop--mobile .hdrm__extras {
    opacity: 1;
    transform: none;
    transition-delay: 385ms;
  }
  .hdr__menu--mobile.is-closing > .hdr__drop--mobile .hdrm__extras {
    opacity: 0;
    transform: translateY(12px);
    transition-duration: 0.24s, 0.34s;
    transition-delay: 0ms;
  }
  .hdrm__extras a {
    min-height: 3.45rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(14, 15, 19, 0.08);
    color: var(--hdr-ink);
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
  }
  .hdrm__extras a:last-child { border-bottom: 0; }
  .hdrm__extras svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--hdr-grey);
    opacity: 0.9;
  }
  .hdr__drop--mobile .hdr__item {
    gap: 0.9rem;
    width: 100%;
    padding: 0.95rem 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(14, 15, 19, 0.08);
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    background: transparent;
    box-shadow: none;
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity 0.46s var(--hdr-ease),
      transform 0.6s var(--hdr-ease),
      color 0.2s var(--hdr-ease),
      background 0.2s var(--hdr-ease);
  }
  .hdr__drop--mobile .hdr__item:last-child {
    border-bottom: 0;
  }
  .hdr__menu--mobile[open]:not(.is-closing) > .hdr__drop--mobile .hdr__item {
    opacity: 1;
    transform: none;
  }
  .hdr__menu--mobile[open]:not(.is-closing) > .hdr__drop--mobile .hdr__item:nth-child(1) { transition-delay: 90ms; }
  .hdr__menu--mobile[open]:not(.is-closing) > .hdr__drop--mobile .hdr__item:nth-child(2) { transition-delay: 130ms; }
  .hdr__menu--mobile[open]:not(.is-closing) > .hdr__drop--mobile .hdr__item:nth-child(3) { transition-delay: 170ms; }
  .hdr__menu--mobile[open]:not(.is-closing) > .hdr__drop--mobile .hdr__item:nth-child(4) { transition-delay: 210ms; }
  .hdr__menu--mobile[open]:not(.is-closing) > .hdr__drop--mobile .hdr__item:nth-child(5) { transition-delay: 250ms; }
  .hdr__menu--mobile[open]:not(.is-closing) > .hdr__drop--mobile .hdr__item:nth-child(6) { transition-delay: 290ms; }
  .hdr__menu--mobile[open]:not(.is-closing) > .hdr__drop--mobile .hdr__item:nth-child(7) { transition-delay: 330ms; }
  .hdr__menu--mobile[open]:not(.is-closing) > .hdr__drop--mobile .hdr__item:nth-child(8) { transition-delay: 370ms; }
  .hdr__menu--mobile[open]:not(.is-closing) > .hdr__drop--mobile .hdr__item:nth-child(9) { transition-delay: 410ms; }
  .hdr__menu--mobile[open]:not(.is-closing) > .hdr__drop--mobile .hdr__item:nth-child(10) { transition-delay: 450ms; }
  .hdr__menu--mobile[open]:not(.is-closing) > .hdr__drop--mobile .hdr__item:nth-child(11) { transition-delay: 490ms; }
  .hdr__menu--mobile[open]:not(.is-closing) > .hdr__drop--mobile .hdr__item:nth-child(12) { transition-delay: 530ms; }
  .hdr__menu--mobile.is-closing > .hdr__drop--mobile .hdr__item {
    opacity: 0;
    transform: translateY(12px);
    transition-duration: 0.24s, 0.34s, 0.2s, 0.2s;
    transition-delay: 0ms;
  }
  .hdr__drop--mobile .hdr__item span {
    display: inline;
  }
  .hdr__drop--mobile .hdr__item svg {
    width: 1.35rem;
    height: 1.35rem;
    opacity: 0.92;
  }
  .hdr__cart { padding: 0.58rem 0.9rem; }
  .hdr__logo img { width: 78px; }
}

@media (max-width: 620px) {
  .site-footer,
  .foot {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 0.95rem 1.2rem;
    padding: 1.35rem var(--edge) calc(1.35rem + env(safe-area-inset-bottom));
    font-size: 0.58rem;
    letter-spacing: 0.11em;
  }

  .site-footer > :first-child,
  .site-footer > :last-child,
  .foot > :first-child,
  .foot > :last-child {
    grid-column: 1 / -1;
  }

  .site-footer > :last-child,
  .foot > :last-child {
    margin-left: 0;
  }

  .site-footer a,
  .site-footer span,
  .foot a,
  .foot span {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}



/* --- product stage --------------------------------------------------------
   Product shots arrive from many sources: transparent cut-outs, shots baked
   on white, wide or tall. One neutral lit stage that flatters all of them,
   instead of a dark panel that only suits cut-outs.
   -------------------------------------------------------------------------- */
.stage {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(84% 58% at 50% 6%, rgba(255, 255, 255, 0.95), transparent 62%),
    linear-gradient(162deg, #eef1f7 0%, #e8eaf2 46%, #efeae6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Absolute box with explicit percentages: a percentage height on an in-flow
   child does not resolve against an aspect-ratio height. */
.stage img {
  position: absolute;
  left: 7%;
  top: 6%;
  width: 86%;
  height: 88%;
  object-fit: contain;
  /* Shots baked on a white card blend into the stage; multiply drops that
     white so any source image sits on the same surface. */
  mix-blend-mode: multiply;
  filter: drop-shadow(0 14px 22px rgba(14, 15, 19, 0.16));
}

/* Genuine cut-outs keep normal blending so dark products stay dark. */
.stage img.is-cutout { mix-blend-mode: normal; }

.stage--tall { aspect-ratio: 4 / 5; }
.stage--laptop { aspect-ratio: 5 / 4; }
.stage--square { aspect-ratio: 1; }
.stage--wide { aspect-ratio: 16 / 11; }
.stage--pencil {
  background:
    radial-gradient(84% 58% at 50% 6%, rgba(255, 255, 255, 0.88), transparent 62%),
    linear-gradient(162deg, #e3eaf4 0%, #edf0f6 48%, #ece4dc 100%);
}
.stage--pencil img {
  left: 12%;
  top: 4%;
  width: 76%;
  height: 92%;
}

/* --- option pickers -------------------------------------------------------- */
.opts { display: grid; gap: 1.1rem; margin: 1.4rem 0; }

.opt__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.55rem;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hdr-grey);
}

.opt__label b { color: var(--hdr-ink); font-weight: 400; text-transform: none; letter-spacing: 0.02em; }

.opt__set { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.swatch {
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border: 1px solid rgba(14, 15, 19, 0.16);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: transform 0.25s var(--hdr-ease), box-shadow 0.25s var(--hdr-ease);
}

.swatch:hover { transform: scale(1.06); }

.swatch[aria-pressed="true"] {
  box-shadow: 0 0 0 2px var(--hdr-milk), 0 0 0 4px var(--hdr-ink);
}

.cap {
  padding: 0.6em 1.05em;
  border: 1px solid var(--hdr-hair);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--hdr-ink);
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.72rem;
  cursor: pointer;
  transition: border-color 0.25s var(--hdr-ease), background 0.25s var(--hdr-ease);
}

.cap:hover { border-color: rgba(14, 15, 19, 0.4); }

.cap[aria-pressed="true"] {
  background: var(--hdr-ink);
  border-color: var(--hdr-ink);
  color: #fff;
}

.cap span { opacity: 0.55; margin-left: 0.45em; }
.cap[aria-pressed="true"] span { opacity: 0.7; }

/* --- buy row --------------------------------------------------------------- */
.buyrow { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s var(--hdr-ease), background 0.3s var(--hdr-ease);
}

.btn:hover { transform: translateY(-2px); }
.btn--buy { background: var(--hdr-blue); color: #fff; }
.btn--buy:hover { background: #4569f2; }
.btn--dark { background: var(--hdr-ink); color: #fff; }
.btn--dark:hover { background: #26272e; }
.btn--quiet { background: rgba(255, 255, 255, 0.75); border-color: var(--hdr-hair); color: var(--hdr-ink); }
.btn--quiet:hover { background: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }

/* --- checkout -------------------------------------------------------------- */
.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(1.2rem, 0.6rem + 2vw, 2.4rem);
  align-items: start;
}

.co-promise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 0.55rem + 1vw, 1.2rem);
  margin-top: clamp(1.3rem, 1rem + 1.3vw, 2rem);
}

.co-promise {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  min-height: 188px;
  padding: clamp(1rem, 0.85rem + 0.7vw, 1.3rem);
  border: 1px solid var(--hdr-hair);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

.co-promise__icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(91, 124, 255, 0.12), rgba(255, 255, 255, 0.85));
  color: var(--hdr-ink);
}

.co-promise strong {
  font-family: var(--display, system-ui);
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.co-promise p {
  margin: 0;
  color: var(--hdr-grey);
  font-size: 0.9rem;
  line-height: 1.55;
}

.co-card {
  padding: clamp(1.2rem, 0.9rem + 1vw, 1.9rem);
  border: 1px solid var(--hdr-hair);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.co-form { display: grid; gap: 0.45rem; }

.co-side {
  position: sticky;
  top: 6.5rem;
  display: grid;
  gap: 1rem;
  align-self: start;
}

.co-steps {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hdr-grey);
}

.co-steps span { display: inline-flex; align-items: center; }
.co-steps b {
  display: inline-grid;
  place-items: center;
  width: 1.7em;
  height: 1.7em;
  margin-right: 0.5em;
  border: 1px solid var(--hdr-hair);
  border-radius: 50%;
  font-weight: 400;
}
.co-steps span[aria-current="step"] { color: var(--hdr-ink); }
.co-steps span[aria-current="step"] b { background: var(--hdr-ink); border-color: var(--hdr-ink); color: #fff; }
.co-steps span[data-done] b { background: var(--hdr-blue); border-color: var(--hdr-blue); color: #fff; }
.co-steps i { width: 24px; height: 1px; background: var(--hdr-hair); }

.co-legend {
  font-family: var(--display, system-ui);
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 1.1rem;
}

.co-sublegend {
  margin: 1rem 0 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hdr-hair);
  font-family: var(--display, system-ui);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.field { display: grid; gap: 0.35rem; margin-bottom: 0.9rem; }
.field label { font-size: 0.78rem; color: var(--hdr-grey); }
.field__req { color: #ff628f; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85em 1em;
  border: 1px solid var(--hdr-hair);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--hdr-ink);
  font: inherit;
  transition: border-color 0.25s var(--hdr-ease), box-shadow 0.25s var(--hdr-ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--hdr-blue);
  box-shadow: 0 0 0 3px rgba(91, 124, 255, 0.18);
  background: #fff;
}

.field__err { min-height: 0; font-size: 0.76rem; color: #c8283c; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }

.choice {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  margin-bottom: 0.6rem;
  border: 1px solid var(--hdr-hair);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: border-color 0.25s var(--hdr-ease), box-shadow 0.25s var(--hdr-ease);
}

.choice:has(input:checked) {
  border-color: var(--hdr-ink);
  background: #fff;
  box-shadow: 0 6px 18px rgba(14, 15, 19, 0.07);
}

.choice input { margin-top: 0.25rem; accent-color: var(--hdr-blue); }
.choice strong { display: block; font-size: 0.95rem; }
.choice span { color: var(--hdr-grey); font-size: 0.82rem; }
.choice em { margin-left: auto; font-style: normal; font-family: var(--mono, monospace); font-size: 0.82rem; white-space: nowrap; }
.choice--static { cursor: default; }

.co-sum { position: static; top: auto; }

.co-sum__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--hdr-hair);
  font-family: var(--mono, monospace);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hdr-grey);
}

.co-sum__head span:last-child { text-align: right; }

.co-sum__list {
  display: grid;
  gap: 1rem;
  padding-top: 1rem;
}

.co-sum__item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: start;
}

.co-sum__thumb {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, #eef1f7, #efeae6);
}

.co-sum__thumb img {
  position: absolute;
  left: 8%;
  top: 8%;
  width: 84%;
  height: 84%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.co-sum__thumb img[src*="cutout"],
.co-sum__thumb img[src*="-alpha"] {
  mix-blend-mode: normal;
}

.co-sum__meta { display: grid; gap: 0.3rem; }
.co-sum__meta strong { font-size: 0.94rem; line-height: 1.35; }
.co-sum__options {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.2rem;
}
.co-sum__detail {
  display: grid;
  gap: 0.08rem;
}
.co-sum__detail span {
  color: var(--hdr-grey);
  font-family: var(--mono, monospace);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.co-sum__detail b {
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.35;
}
.co-sum__price {
  text-align: right;
  font-style: normal;
  font-family: var(--mono, monospace);
  font-size: 0.82rem;
  white-space: nowrap;
}

.co-sum__choice {
  margin-bottom: 0.75rem;
  color: var(--hdr-grey);
  font-size: 0.84rem;
}

.co-sum__totals {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hdr-hair);
}

.co-method,
.co-paynote { display: grid; gap: 0.8rem; }

.co-recs {
  display: grid;
  gap: 0.9rem;
}

.co-recs p {
  margin: 0;
  color: var(--hdr-grey);
  font-size: 0.88rem;
  line-height: 1.55;
}

.co-recs__list {
  display: grid;
  gap: 0.55rem;
}

.co-rec {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.65rem;
  border: 1px solid var(--hdr-hair);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--hdr-ink);
  text-decoration: none;
  transition: transform 0.25s var(--hdr-ease), border-color 0.25s var(--hdr-ease), background 0.25s var(--hdr-ease);
}

.co-rec:hover {
  transform: translateY(-1px);
  border-color: rgba(14, 15, 19, 0.24);
  background: #fff;
}

.co-rec__img {
  position: relative;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: 13px;
  background: #f1f2f5;
}

.co-rec__img img {
  position: absolute;
  left: 14%;
  top: 14%;
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.co-rec strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.25;
}

.co-rec small {
  display: block;
  margin-top: 0.15rem;
  color: var(--hdr-grey);
  font-size: 0.72rem;
}

.co-recs__all {
  justify-self: start;
  color: var(--hdr-ink);
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.co-paynote__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.co-paynote__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(91,124,255,0.12), rgba(255,255,255,0.9));
  color: var(--hdr-blue);
}

.co-paynote strong {
  display: block;
  font-size: 1rem;
}

.co-paynote p {
  margin: 0.32rem 0 0;
  color: var(--hdr-grey);
  font-size: 0.88rem;
  line-height: 1.55;
}

.co-privacy {
  margin: 0;
  color: var(--hdr-grey);
  font-size: 0.84rem;
  line-height: 1.6;
}

.co-demo {
  margin: 0;
  line-height: 1.7;
}

.co-submit-status {
  min-height: 1.35rem;
  margin: 0;
  color: var(--hdr-grey);
  font-size: 0.84rem;
  line-height: 1.45;
}

.co-submit-status[data-tone="error"] { color: #c8283c; }
.co-submit-status[data-tone="busy"] { color: var(--hdr-ink); }

.btn:disabled {
  cursor: progress;
  opacity: 0.62;
  transform: none;
}

.product--accessory .product__media {
  background: linear-gradient(145deg, #eef1f7, #f7f8fb);
}

.product--accessory .product__media img {
  width: 68%;
  height: 68%;
  padding: 0;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product--accessory .product__acts {
  justify-content: flex-end;
}

.product-card--accessory .product-card__visual {
  background: linear-gradient(145deg, #eef1f7, #f7f8fb);
}

.product-card--accessory .product-card__visual img {
  width: 72%;
  height: 72%;
  padding: 0;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-card--accessory .product-card__price strong {
  color: var(--hdr-blue, #5b7cff);
}

.co-empty {
  text-align: center;
  padding: 3.5rem 1.5rem;
}

.co-line {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--hdr-hair);
}

.co-line__img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(160deg, #eef1f7, #efeae6);
  position: relative;
  overflow: hidden;
}

.co-line__img img {
  position: absolute; left: 8%; top: 8%; width: 84%; height: 84%;
  object-fit: contain; mix-blend-mode: multiply;
}

.co-line b { display: block; font-size: 0.88rem; font-weight: 600; }
.co-line small { color: var(--hdr-grey); font-size: 0.74rem; }
.co-line em { font-style: normal; font-family: var(--mono, monospace); font-size: 0.82rem; }

.co-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: var(--hdr-grey);
}

.co-row--total em { font-style: normal; }
.co-row--total {
  margin-top: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--hdr-hair);
  color: var(--hdr-ink);
  font-size: 1.05rem;
  font-weight: 600;
}

.co-done { text-align: center; padding: clamp(2rem, 1.4rem + 3vw, 3.6rem) 1.5rem; }

.co-seal {
  width: 74px;
  height: 74px;
  margin: 0 auto 1.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--hdr-blue);
  color: #fff;
  animation: co-pop 0.7s var(--hdr-ease) both;
}

@keyframes co-pop { from { transform: scale(0.4); opacity: 0; } }

@media (max-width: 900px) {
  .co-promise-grid { grid-template-columns: 1fr; }
  .checkout { grid-template-columns: minmax(0, 1fr); }
  .co-side { position: static; }
  .row2 { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .co-sum__item {
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .co-sum__thumb {
    width: 60px;
    height: 60px;
  }

  .co-sum__price {
    grid-column: 2;
    text-align: left;
  }

  .buyrow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .buyrow > .btn,
  .buyrow > button,
  .buyrow > a {
    width: 100%;
    min-width: 0;
    min-height: 3rem;
    padding-inline: 0.7rem;
    font-size: 0.62rem;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hdr__cart, .btn, .swatch, .cap, .co-seal { transition: none; animation: none; }
}

/* --- shared cart drawer ---------------------------------------------------- */
.jcart { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.jcart.is-open,
.jcart.is-closing { visibility: visible; }

.jcart__veil {
  position: absolute; inset: 0; opacity: 0;
  background: rgba(14, 15, 19, 0.32);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  transition: opacity 0.35s var(--hdr-ease);
}
.jcart.is-open .jcart__veil { opacity: 1; }
.jcart.is-closing .jcart__veil { opacity: 0; }

.jcart__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(100%, 420px);
  display: flex; flex-direction: column;
  padding: 1.3rem 1.3rem calc(1.3rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-left: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: -20px 0 60px rgba(14, 15, 19, 0.16);
  transform: translateX(100%);
  transition: transform 0.45s var(--hdr-ease);
}
.jcart.is-open .jcart__panel { transform: none; }
.jcart.is-closing .jcart__panel { transform: translateX(100%); }

.jcart__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.jcart__head strong { font-family: var(--display, system-ui); font-size: 1.4rem; letter-spacing: -0.04em; }
.jcart__x {
  width: 2.2rem; height: 2.2rem; display: grid; place-items: center;
  border: 1px solid var(--hdr-hair); border-radius: 50%;
  background: rgba(255, 255, 255, 0.7); color: var(--hdr-ink);
  font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.jcart__x:hover { background: #fff; }

.jcart__items { flex: 1; overflow-y: auto; margin: 0 -0.3rem; padding: 0 0.3rem; }
.jcart__empty { color: var(--hdr-grey); padding: 2.5rem 0; text-align: center; }

.jcart__line {
  display: grid; grid-template-columns: 60px minmax(0, 1fr) auto;
  gap: 0.85rem; align-items: center;
  padding: 0.85rem 0; border-bottom: 1px solid var(--hdr-hair);
}
.jcart__img {
  position: relative; width: 60px; height: 60px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(160deg, #eef1f7, #efeae6);
}
.jcart__img img { position: absolute; left: 8%; top: 8%; width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.jcart__img img[src*="-alpha"] { mix-blend-mode: normal; }
.jcart__meta b { display: block; font-size: 0.92rem; font-weight: 600; letter-spacing: -0.015em; }
.jcart__meta small { color: var(--hdr-grey); font-size: 0.76rem; }

.jcart__qty { display: inline-flex; align-items: center; gap: 0.15rem; margin-top: 0.35rem; }
.jcart__qty button {
  width: 1.75rem; height: 1.75rem; display: grid; place-items: center;
  border: 1px solid var(--hdr-hair); border-radius: 50%;
  background: rgba(255, 255, 255, 0.8); color: var(--hdr-ink); cursor: pointer; line-height: 1;
}
.jcart__qty button:hover { background: #fff; border-color: rgba(14, 15, 19, 0.3); }
.jcart__qty i { min-width: 1.8rem; text-align: center; font-style: normal; font-family: var(--mono, monospace); font-size: 0.85rem; }

.jcart__end { display: grid; justify-items: end; gap: 0.4rem; font-family: var(--mono, monospace); font-size: 0.84rem; }
.jcart__end button {
  border: 0; background: none; padding: 0; cursor: pointer;
  color: var(--hdr-grey); font-family: inherit; font-size: 0.72rem;
  text-decoration: underline; text-underline-offset: 3px;
}
.jcart__end button:hover { color: var(--hdr-ink); }

.jcart__foot { padding-top: 1.1rem; border-top: 1px solid var(--hdr-ink); }
.jcart__sum { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 0.9rem; }
.jcart__sum span { font-family: var(--mono, monospace); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hdr-grey); }
.jcart__sum b { font-family: var(--display, system-ui); font-size: 1.35rem; letter-spacing: -0.04em; }
.jcart__clear {
  display: block; width: 100%; margin-top: 0.7rem; padding: 0.5rem;
  border: 0; background: none; cursor: pointer;
  color: var(--hdr-grey); font-family: inherit; font-size: 0.78rem;
}
.jcart__clear:hover { color: var(--hdr-ink); }

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