/* ---------- Helpers ---------- */
.desktop-only {
  display: none !important;
}

@media (min-width: 1024px) {
  .desktop-only {
    display: revert !important;
  }

  .icon-btn.desktop-only {
    display: inline-grid !important;
  }

  .mobile-only {
    display: none !important;
  }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s var(--ease);
}

.chip:hover,
.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.badge-count {
  position: absolute;
  top: 3px;
  right: 1px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--terracotta);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  line-height: 17px;
  text-align: center;
  animation: pop 0.45s var(--ease);
}

@keyframes pop {
  0% {
    transform: scale(0.3);
  }
  60% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}

.pill--light {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.progress {
  height: 4px;
  border-radius: 99px;
  background: var(--sand);
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--sage), var(--sage-deep));
  border-radius: inherit;
  transition: width 0.8s var(--ease);
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  height: 52px;
}

.qty button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 100%;
}

.qty button svg {
  width: 16px;
}

.qty span,
.qty input {
  width: 32px;
  text-align: center;
  font-weight: 700;
  border: 0;
  background: none;
}

.qty--sm {
  height: 34px;
}

.qty--sm button {
  width: 32px;
}

.qty--sm button svg {
  width: 13px;
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.logo__img {
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.logo__img img {
  width: 40px;
  height: 40px;
  transition: transform 0.8s var(--ease);
}

@media (min-width: 1024px) {
  .site-header__logo .logo__img img {
    width: 48px;
    height: 48px;
  }
}

.logo:hover .logo__img img {
  transform: rotate(-8deg) scale(1.06);
}

/* The monogram's slate half disappears on the dark footer, so it sits on a cream badge there. */
.logo--light .logo__img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cream);
}

.logo--light .logo__img img {
  width: 40px;
  height: 40px;
}

.logo__word {
  font-family: var(--font-display);
  font-size: 25px;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variation-settings: 'SOFT' 100, 'opsz' 144;
}

.logo__word em {
  font-weight: 300;
}

.logo--light {
  color: var(--cream);
}

/* ---------- Announcement ---------- */
.announce {
  height: var(--announce-h);
  background: var(--slate);
  color: var(--cream);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.marquee {
  display: flex;
  width: max-content;
  --speed: 40s;
}

.marquee__track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  animation: marquee var(--speed) linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__track > * {
  padding-inline: 22px;
  white-space: nowrap;
}

.marquee__track i {
  font-style: normal;
  color: var(--butter);
  padding: 0;
}

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 241, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transform: translate3d(0, 0, 0);
  transition: transform 0.45s var(--ease), border-color 0.3s, background 0.3s;
  will-change: transform;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 247, 241, 0.94);
}

.site-header.is-hidden {
  transform: translate3d(0, calc(-100% - 8px), 0);
  pointer-events: none;
}

.site-header.mega-open,
.site-header:focus-within {
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.site-header__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  transition: height 0.4s var(--ease);
}

.site-header.is-scrolled .site-header__bar {
  height: 62px;
}

.site-header__left {
  display: flex;
  align-items: center;
  height: 100%;
  min-width: 0;
}

.site-header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  height: 100%;
  min-width: 0;
}

.site-header__logo .logo__word {
  font-size: clamp(21px, 2.2vw, 28px);
}

.nav,
.nav__list {
  height: 100%;
}

.nav__list {
  display: flex;
  gap: 4px;
}

.nav__item {
  display: flex;
  align-items: center;
}

.nav__link {
  position: relative;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.nav__item:hover .nav__link::after,
.nav__item.is-open .nav__link::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__link.is-accent {
  color: var(--terracotta);
}

.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--cream);
  border-top: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(29, 39, 48, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  clip-path: inset(0 0 100% 0);
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease), clip-path 0.6s var(--ease), visibility 0s 0.5s;
}

.nav__item.is-open .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  clip-path: inset(0 0 0 0);
  transition-delay: 0s;
}

.mega__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  padding-block: 36px 44px;
}

.mega__cols {
  display: flex;
  gap: 72px;
}

.mega__title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.mega__col li + li {
  margin-top: 10px;
}

.mega__col a {
  font-family: var(--font-display);
  font-size: 22px;
  display: inline-block;
  transition: transform 0.35s var(--ease), color 0.3s;
}

.mega__col a:hover {
  transform: translateX(6px);
  color: var(--sage-deep);
}

.mega__col li {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s var(--ease);
}

.nav__item.is-open .mega__col li {
  opacity: 1;
  transform: none;
}

.nav__item.is-open .mega__col li:nth-child(2) { transition-delay: 0.04s; }
.nav__item.is-open .mega__col li:nth-child(3) { transition-delay: 0.08s; }
.nav__item.is-open .mega__col li:nth-child(4) { transition-delay: 0.12s; }
.nav__item.is-open .mega__col li:nth-child(5) { transition-delay: 0.16s; }

.mega__feats {
  display: flex;
  gap: 18px;
}

.mega__feat {
  width: 210px;
  display: grid;
  gap: 4px;
}

.mega__feat-img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 8px;
}

.mega__feat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.mega__feat:hover img {
  transform: scale(1.06);
}

.mega__feat-title {
  font-weight: 700;
  font-size: 13px;
}

.mega__feat-price {
  font-size: 13px;
  color: var(--ink-2);
}

/* ---------- Mobile sheet ---------- */
.sheet,
.search,
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.sheet__scrim,
.search__scrim,
.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 35, 0.45);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.is-open > .sheet__scrim,
.is-open > .search__scrim,
.is-open > .drawer__scrim {
  opacity: 1;
}

.sheet__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--cream);
  border-radius: 24px 24px 0 0;
  padding: 10px 20px 32px;
  transform: translateY(100%);
  transition: transform 0.6s var(--ease);
}

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

.sheet__handle {
  width: 44px;
  height: 4px;
  border-radius: 9px;
  background: var(--sand);
  margin: 0 auto 12px;
}

.sheet__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.sheet__cats {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 14px;
  scrollbar-width: none;
}

.sheet__cat {
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.sheet__cat span {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  padding: 2px;
  background: conic-gradient(var(--sage), var(--butter), var(--terracotta), var(--sage));
}

.sheet__cat img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cream);
}

.sheet__list > li {
  border-bottom: 1px solid var(--line);
}

.sheet__list > li > a,
.sheet__list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 22px;
  list-style: none;
}

.sheet__list summary::-webkit-details-marker {
  display: none;
}

.sheet__chev svg {
  width: 18px;
  transition: transform 0.3s var(--ease);
}

.sheet__list details[open] .sheet__chev svg {
  transform: rotate(45deg);
}

.sheet__list details ul {
  padding: 0 0 14px 4px;
  display: grid;
  gap: 10px;
  color: var(--ink-2);
}

/* ---------- Search ---------- */
.search__panel {
  position: absolute;
  inset: 0 0 auto;
  max-height: 100vh;
  overflow-y: auto;
  background: var(--cream);
  padding: 28px 0 40px;
  transform: translateY(-100%);
  transition: transform 0.65s var(--ease);
}

.search.is-open .search__panel {
  transform: none;
}

.search__form {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 12px;
}

.search__form > svg {
  width: 26px;
  flex-shrink: 0;
}

.search__form input {
  flex: 1;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 44px);
  outline: none;
  min-width: 0;
}

.search__form input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.search__trending {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 18px 0 26px;
}

.search__trending > span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 6px;
}

.search__count {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  font-weight: 600;
}

.search__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .search__grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.search__item {
  display: grid;
  gap: 6px;
  font-size: 13px;
  animation: rise 0.6s var(--ease) both;
  animation-delay: calc(var(--i) * 50ms);
}

.search__img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
}

.search__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.search__item:hover img {
  transform: scale(1.06);
}

.search__title {
  font-weight: 700;
}

.search__price s {
  color: var(--muted);
  margin-left: 4px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* ---------- Drawer (cart) ---------- */
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.6s var(--ease);
  box-shadow: var(--shadow);
}

.drawer.is-open .drawer__panel {
  transform: none;
}

.drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.drawer__head sup {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--muted);
}

.drawer__ship {
  padding: 14px 24px;
  background: var(--mint);
  font-size: 13px;
  display: grid;
  gap: 8px;
}

.drawer__ship .progress {
  background: rgba(255, 255, 255, 0.7);
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 24px;
}

.drawer__foot {
  padding: 18px 24px 24px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}

.drawer__foot:empty {
  display: none;
}

.drawer__save {
  font-size: 13px;
  color: var(--sage-deep);
}

.drawer__total {
  display: flex;
  justify-content: space-between;
  font-size: 17px;
}

.drawer__note {
  font-size: 12px;
  color: var(--muted);
}

.drawer__continue {
  justify-self: center;
  margin-top: 4px;
}

.line {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  animation: rise 0.5s var(--ease) both;
}

.line__img {
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  background: var(--sand);
}

.line__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.line__info {
  display: grid;
  gap: 6px;
  align-content: start;
}

.line__title {
  font-weight: 700;
}

.line__opts {
  font-size: 12px;
  color: var(--muted);
}

.line__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.line__price {
  font-weight: 700;
  text-align: right;
}

.line__price s {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
}

.line__remove {
  justify-self: start;
  font-size: 12px;
  color: var(--muted);
  text-decoration: underline;
}

.cart-empty {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
  padding: 40px 0;
  color: var(--ink-2);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.cart-empty__picks {
  width: 100%;
  margin-top: 28px;
  display: grid;
  gap: 12px;
  text-align: left;
}

.mini {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  padding: 8px;
  border-radius: var(--radius);
  background: var(--white);
}

.mini img {
  width: 56px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

/* ---------- Product card ---------- */
.card {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
}

.card__imgs {
  position: absolute;
  inset: 0;
}

.card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.7s var(--ease), transform 1.4s var(--ease);
}

.card__img--b {
  opacity: 0;
  transform: scale(1.08);
}

@media (hover: hover) {
  .card:hover .card__img--a {
    opacity: 0;
    transform: scale(1.04);
  }

  .card:hover .card__img--b {
    opacity: 1;
    transform: scale(1);
  }
}

.card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  pointer-events: none;
}

.card__wish {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  transition: transform 0.3s var(--ease), color 0.3s;
}

.card__wish svg,
[data-wish] svg {
  width: 18px;
  transition: fill 0.3s;
}

.card__wish:hover {
  transform: scale(1.1);
}

[data-wish].is-active {
  color: var(--terracotta);
}

[data-wish].is-active svg {
  fill: currentColor;
}

[data-wish].is-pop svg {
  animation: pop 0.5s var(--ease);
}

.card__quick {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(251, 247, 241, 0.94);
  backdrop-filter: blur(10px);
  transform: translateY(calc(100% + 14px));
  transition: transform 0.55s var(--ease);
}

.card:hover .card__quick,
.card:focus-within .card__quick {
  transform: none;
}

@media (hover: none) {
  .card__quick {
    display: none;
  }
}

.card__quick-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.card__quick-label span {
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--muted);
}

.card__sizes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.card__sizes button {
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
  transition: all 0.25s var(--ease);
}

.card__sizes button:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.card__sizes button.is-added {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  color: var(--white);
}

.card__sizes button:disabled {
  opacity: 0.35;
  text-decoration: line-through;
}

.card__info {
  display: grid;
  gap: 3px;
}

.card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.card__title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
}

.card__title a {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease);
}

.card:hover .card__title a {
  background-size: 100% 1px;
}

.card__swatch {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sw);
  box-shadow: 0 0 0 1px var(--line), 0 0 0 3px var(--cream), 0 0 0 4px var(--line);
}

.card__meta {
  font-size: 12.5px;
  color: var(--muted);
}

.card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  margin-top: 2px;
}

.card__price .price {
  font-weight: 800;
}

.card__price s {
  color: var(--muted);
  font-size: 12.5px;
}

.card__off {
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 700;
}

/* ---------- Product rails ---------- */
.rail {
  position: relative;
}

.rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 16px) / 1.6);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 6px;
}

.rail__track::-webkit-scrollbar {
  display: none;
}

.rail__track > * {
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .rail__track {
    grid-auto-columns: calc((100% - 32px) / 2.6);
  }
}

@media (min-width: 1024px) {
  .rail__track {
    grid-auto-columns: calc((100% - 72px) / 4);
    gap: 24px;
  }
}

.rail__foot {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.rail__foot .rail__bar {
  margin: 0;
}

.rail__nav {
  display: flex;
  justify-self: end;
  gap: 10px;
}

.rail__foot .link-underline {
  grid-column: 1 / -1;
  justify-self: start;
}

@media (min-width: 641px) {
  .rail__foot {
    grid-template-columns: 1fr auto auto;
  }

  .rail__foot .link-underline {
    grid-column: auto;
    justify-self: end;
  }
}

.rail__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease);
}

.rail__btn svg {
  width: 18px;
}

.rail__btn:hover {
  background: var(--ink);
  color: var(--cream);
}

.rail__btn:disabled {
  opacity: 0.25;
  pointer-events: none;
}

.rail__bar {
  height: 2px;
  background: var(--line);
  margin-top: 28px;
  border-radius: 9px;
  overflow: hidden;
}

.rail__bar span {
  display: block;
  height: 100%;
  width: 20%;
  background: var(--ink);
  border-radius: inherit;
  transition: transform 0.3s var(--ease), width 0.3s;
}

/* ---------- Accordion ---------- */
.acc {
  border-bottom: 1px solid var(--line);
}

.acc summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

.acc summary::-webkit-details-marker {
  display: none;
}

.acc__icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.acc__icon::before,
.acc__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}

.acc__icon::after {
  transform: rotate(90deg);
}

.acc[open] .acc__icon::after {
  transform: rotate(0);
}

.acc__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}

.acc[open] .acc__body {
  grid-template-rows: 1fr;
}

.acc__body > div {
  overflow: hidden;
  color: var(--ink-2);
}

.acc__body > div > :last-child {
  margin-bottom: 22px;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 35, 0.55);
  opacity: 0;
  transition: opacity 0.4s;
}

.modal.is-open .modal__scrim {
  opacity: 1;
}

.modal__box {
  position: relative;
  width: min(680px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition: all 0.5s var(--ease);
}

.modal.is-open .modal__box {
  opacity: 1;
  transform: none;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}

.footer .eyebrow,
.footer .lead {
  color: rgba(251, 247, 241, 0.72);
}

.footer__news {
  display: grid;
  gap: 24px;
  padding-block: clamp(36px, 5vw, 64px);
  border-bottom: 1px solid rgba(251, 247, 241, 0.12);
}

.footer__news > div {
  display: grid;
  gap: 16px;
}

@media (min-width: 1024px) {
  .footer__news {
    grid-template-columns: 1.1fr 1fr;
    align-items: end;
  }
}

.news-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-self: end;
}

.news-form input {
  height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(251, 247, 241, 0.3);
  background: rgba(251, 247, 241, 0.06);
  color: var(--cream);
  outline: none;
  transition: border-color 0.3s;
  min-width: 0;
}

.news-form input:focus {
  border-color: var(--butter);
}

.news-form input::placeholder {
  color: rgba(251, 247, 241, 0.5);
}

.news-form .btn {
  min-height: 56px;
}

.news-form__note {
  grid-column: 1 / -1;
  font-size: 12px;
  color: rgba(251, 247, 241, 0.5);
}

@media (max-width: 520px) {
  .news-form {
    grid-template-columns: 1fr;
  }
}

.footer__main {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 24px;
  padding-block: 56px;
}

.footer__brand {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  max-width: 380px;
  color: rgba(251, 247, 241, 0.72);
}

@media (min-width: 900px) {
  .footer__main {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer__brand {
    grid-column: auto;
  }
}

.footer__social {
  display: flex;
  gap: 4px;
  margin-left: -10px;
}

.footer__social .icon-btn:hover {
  background: rgba(251, 247, 241, 0.1);
  color: var(--butter);
}

.footer__title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: rgba(251, 247, 241, 0.5);
}

.footer__col li + li {
  margin-top: 10px;
}

.footer__col a {
  transition: color 0.3s, padding 0.3s var(--ease);
}

.footer__col a:hover {
  color: var(--butter);
  padding-left: 6px;
}

.footer__giant {
  font-family: var(--font-display);
  font-size: 15.5vw;
  line-height: 0.8;
  letter-spacing: -0.04em;
  white-space: nowrap;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(251, 247, 241, 0.18);
  user-select: none;
  padding-bottom: 2vw;
}

.footer__giant span {
  display: inline-block;
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-block: 22px;
  border-top: 1px solid rgba(251, 247, 241, 0.12);
  font-size: 12px;
  color: rgba(251, 247, 241, 0.55);
}

.footer__pay {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.footer__pay span {
  padding: 4px 10px;
  border: 1px solid rgba(251, 247, 241, 0.2);
  border-radius: 6px;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.06em;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(92vw, 460px);
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  box-shadow: var(--shadow);
  transform: translate(-50%, calc(100% + 40px));
  visibility: hidden;
  transition: transform 0.6s var(--ease), visibility 0s 0.6s;
  pointer-events: none;
}

.toast.is-show {
  transform: translate(-50%, 0);
  visibility: visible;
  transition-delay: 0s;
}

.toast svg {
  width: 18px;
  flex-shrink: 0;
  color: var(--butter);
}

/* ---------- Stars & reviewer ---------- */
.stars,
.review__stars {
  display: inline-flex;
  gap: 2px;
  color: #e0a43a;
}

.stars svg,
.review__stars svg {
  width: 16px;
}

.review__avatar {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--sage-deep);
  font-weight: 800;
}

.review__verified {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  color: var(--sage-deep);
}

.review__verified svg {
  width: 12px;
}

/* ---------- Breadcrumb ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.crumbs a:hover {
  color: var(--ink);
}

.crumbs span[aria-hidden] {
  opacity: 0.5;
}

.checkout,
.reading {
  padding: 48px 0 80px;
}

.checkout__grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 960px) {
  .checkout__grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.checkout__card,
.reading__body {
  background: #fff;
  border: 1px solid rgba(51, 42, 34, 0.08);
  border-radius: 24px;
  padding: 28px;
}

.checkout__fields {
  display: grid;
  gap: 14px;
}

@media (min-width: 720px) {
  .checkout__fields--split {
    grid-template-columns: 1fr 1fr;
  }
}

.checkout label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.checkout input,
.checkout select,
.checkout textarea {
  height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(51, 42, 34, 0.16);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.checkout textarea {
  height: auto;
  padding: 12px 16px;
}

.checkout .error {
  color: #9b3b2f;
  font-size: 12px;
  font-weight: 500;
}

.checkout__pay {
  display: grid;
  gap: 10px;
}

.checkout__pay label {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(51, 42, 34, 0.12);
  font-weight: 500;
}

.checkout__lines {
  display: grid;
  gap: 12px;
}

.checkout__line,
.checkout__total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.checkout__total {
  font-weight: 700;
  padding-top: 8px;
  border-top: 1px solid rgba(51, 42, 34, 0.1);
}

.reading__body :where(p, ul) {
  line-height: 1.7;
}

.reading__list {
  display: grid;
  gap: 18px;
}

.cookie-bar {
  position: sticky;
  bottom: 0;
  z-index: 40;
  margin: 24px 16px 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #303030;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}
