/* ==========================================================================
   12:12 — Coffee Roasters
   Global stylesheet
   ========================================================================== */

/* ---------- Tokens ---------------------------------------------------- */
:root {
  --ink: #151515;
  --ink-soft: rgba(21, 21, 21, 0.65);
  --cream: #f5f0e8;
  --bone: #f8f8ef;
  --white: #ffffff;

  --yellow: #f9ce03;
  --gold: #eabe21;
  --orange: #e37428;
  --orange-deep: #e87830;
  --red: #d3380d;
  --green: #00a86b;
  --teal: #14b8b0;
  --blue-teal: #1493b8;
  --indigo: #4352b7;
  --pink: #f38ea1;
  --sky: #87ceeb;

  --line: 2px solid var(--ink);

  --font-body-family: "Helvetica Now Display", "Helvetica Neue", Helvetica,
    Arial, sans-serif;

  --header-height: 103px;
  --topbar-height: 48px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body-family);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg,
video {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Top announcement bar --------------------------------------- */
.header-top-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  padding: 1rem 5rem;
  background: #151414;
  color: #fff;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
}

/* ---------- Header ------------------------------------------------------ */
.section-header {
  position: sticky;
  top: 0;
  z-index: 40;
  margin-bottom: 0;
}

.header-wrapper {
  background: transparent;
  width: 100%;
}

.header {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 3rem 20px 3rem;
}

.header__heading {
  margin: 0;
  justify-self: start;
  display: flex;
  align-items: center;
}

.header__heading-logo {
  display: block;
  width: 62px;
  height: 62px;
  flex: none;
}

.header__inline-menu {
  justify-self: center;
}

.list-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-menu--inline {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 28px;
  height: 48px;
  border-radius: 100px;
  border: 1px solid #dbdbdb;
  padding: 12px 24px;
  align-items: center;
  background: #fff;
}

.list-menu__item {
  display: flex;
  align-items: center;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  white-space: nowrap;
  cursor: pointer;
}

.header__menu-item .icon-caret {
  width: 10px;
  height: 6px;
  margin-left: 6px;
  transition: transform 0.25s ease;
}

.header__icons {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__icon {
  width: 50px;
  height: 50px;
  border-radius: 100px;
  border: 1px solid rgba(21, 21, 21, 0.3);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header__icon:hover {
  background: #f2f2f2;
}

.header__icon svg {
  width: 20px;
  height: 20px;
}

.header__cart {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 22px;
  border-radius: 100px;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.header__cart:hover {
  background: #333;
}

.header__cart svg {
  width: 20px;
  height: 20px;
}

.header__cart-count {
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

/* Mega menu */
.mega-menu {
  position: relative;
}

.mega-menu__content {
  position: fixed;
  left: 0;
  right: 0;
  top: calc(var(--topbar-height) + 82px);
  background: #fff;
  border-top: 1px solid #e9e9e9;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.08);
  padding: 40px 60px 48px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 39;
}

.mega-menu.is-open .mega-menu__content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu.is-open .icon-caret {
  transform: rotate(180deg);
}

.mega-menu__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.mega-menu__link--level-2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(21, 21, 21, 0.45);
  margin-bottom: 14px;
}

.list-unstyled {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.mega-menu__link {
  font-size: 18px;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.mega-menu__link:hover {
  opacity: 0.55;
}

/* Mobile drawer */
.header__icon--menu {
  display: none;
}

.menu-drawer {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 60;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: 24px;
}

.menu-drawer.is-open {
  transform: translateX(0);
}

.menu-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.menu-drawer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.menu-drawer__menu > li > a,
.menu-drawer__menu > li > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  border: none;
  border-bottom: 1px solid rgba(21, 21, 21, 0.12);
  background: transparent;
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
}

.menu-drawer__sub {
  display: none;
  padding: 8px 0 16px 12px;
  gap: 10px;
  list-style: none;
  margin: 0;
}

.menu-drawer__sub.is-open {
  display: grid;
}

.menu-drawer__sub a {
  font-size: 16px;
  opacity: 0.75;
}

/* ---------- Hero -------------------------------------------------------- */
.section-image-custom-sticky {
  position: relative;
}

.image-banner__section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  height: calc(100vh - var(--topbar-height));
  min-height: 760px;
  margin-top: calc(var(--header-height) * -1);
  background: var(--cream);
}

.hero-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--cream);
}

/* ghost wordmark rows drifting behind */
.hero-ghost {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  width: max-content;
  will-change: transform;
  color: rgba(21, 21, 21, 0.07);
  font-size: 150px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  user-select: none;
}

.hero-ghost span {
  padding-right: 60px;
}

.hero-ghost--1 {
  top: 46%;
  animation: hero-ghost-l 26s linear infinite;
}

.hero-ghost--2 {
  top: 61%;
  color: rgba(21, 21, 21, 0.05);
  animation: hero-ghost-r 32s linear infinite;
}

.hero-ghost--3 {
  top: 76%;
  color: rgba(21, 21, 21, 0.04);
  animation: hero-ghost-l 40s linear infinite;
}

@keyframes hero-ghost-l {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes hero-ghost-r {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* animated bean mark */
.hero-mark {
  position: absolute;
  top: 52%;
  left: 50%;
  width: 260px;
  height: 260px;
  transform: translate(-50%, -50%);
  animation: hero-mark-float 6s ease-in-out infinite;
}

.hero-mark svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-mark__bean {
  transform-origin: center;
  animation: hero-bean-spin 9s ease-in-out infinite;
}

.hero-mark__bean--2 {
  animation-delay: -1.2s;
}

.hero-mark__bean--3 {
  animation-delay: -2.4s;
}

@keyframes hero-mark-float {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-16px);
  }
}

@keyframes hero-bean-spin {
  0%,
  100% {
    transform: rotate(-8deg) translateY(0);
  }
  50% {
    transform: rotate(8deg) translateY(-10px);
  }
}

/* steam */
.hero-steam {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 26px;
}

.hero-steam i {
  display: block;
  width: 8px;
  height: 90px;
  border-radius: 999px;
  background: linear-gradient(
    to top,
    rgba(21, 21, 21, 0.12),
    rgba(21, 21, 21, 0)
  );
  animation: hero-steam 3.4s ease-in-out infinite;
}

.hero-steam i:nth-child(2) {
  animation-delay: 0.5s;
  height: 120px;
}

.hero-steam i:nth-child(3) {
  animation-delay: 1s;
}

@keyframes hero-steam {
  0% {
    opacity: 0;
    transform: translateY(20px) scaleY(0.6);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-60px) scaleY(1.2);
  }
}

.banner-title {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1200px;
  z-index: 3;
}

.banner-title .title {
  color: var(--ink);
  text-align: center;
  font-size: 78px;
  font-weight: 500;
  line-height: 1.125em;
  margin: 0;
  text-transform: uppercase;
}

.banner-title .mb {
  display: none;
}

/* floating discount chip */
.discount-chip {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 45;
  padding: 14px 26px;
  border-radius: 100px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}

.discount-chip:hover {
  transform: translateY(-2px);
}

/* ---------- Marquee banner ---------------------------------------------- */
.section-marquee-banner {
  padding: 0;
  margin: 0;
}

.marquee-container {
  position: relative;
  z-index: 1;
  height: 80px;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--yellow);
  border-top: var(--line);
  border-bottom: var(--line);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-scroll 20s linear infinite;
  will-change: transform;
}

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

.marquee-child {
  display: flex;
  color: #0c0e02;
  align-items: center;
  white-space: nowrap;
  padding-right: 32px;
}

.marquee-child h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-transform: uppercase;
  margin: 0;
}

.icon-space {
  margin: 0 32px;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

/* ---------- Products hero (letter grid + physics) ----------------------- */
.section-products-hero {
  padding: 0;
  margin: -2px 0 0;
}

.products-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #fff;
  --ph-cell-bg: var(--cream);
  --ph-letter-color: var(--ink);
}

.products-hero__grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: auto auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.products-hero__cell {
  position: relative;
  border-right: var(--line);
  border-bottom: var(--line);
  overflow: hidden;
  min-width: 0;
  min-height: 0;
}

.ph-r1c1,
.ph-r2c12 {
  border-left: var(--line);
}

.ph-r2c12,
.ph-r2c3,
.ph-r2c4,
.ph-r2c5,
.ph-r2c6,
.ph-r2c7,
.ph-r2c8 {
  border-top: var(--line);
  margin-top: -2px;
}

.ph-r1c1 { grid-row: 1; grid-column: 1; }
.ph-r1c2 { grid-row: 1; grid-column: 2; }
.ph-r1c3 { grid-row: 1; grid-column: 3; }
.ph-r1c4 { grid-row: 1; grid-column: 4; }
.ph-r1c56 { grid-row: 1; grid-column: 5 / 7; }
.ph-r1c7 { grid-row: 1; grid-column: 7; }
.ph-r1c8 { grid-row: 1; grid-column: 8; }
.ph-r2c12 { grid-row: 2; grid-column: 1 / 3; }
.ph-r2c3 { grid-row: 2; grid-column: 3; }
.ph-r2c4 { grid-row: 2; grid-column: 4; }
.ph-r2c5 { grid-row: 2; grid-column: 5; }
.ph-r2c6 { grid-row: 2; grid-column: 6; }
.ph-r2c7 { grid-row: 2; grid-column: 7; }
.ph-r2c8 { grid-row: 2; grid-column: 8; }

.ph-cell--letter {
  background-color: var(--ph-cell-bg);
  perspective: 1000px;
  cursor: pointer;
  aspect-ratio: 9 / 11;
}

.ph-cell--empty,
.ph-cell--image {
  background-color: #fff;
}

.ph-r1c56 {
  position: relative;
  overflow: hidden;
}

.products-hero__flip-card,
.bundles__flip-card {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.ph-cell--letter:hover .products-hero__flip-card,
.bd-cell--letter:hover .bundles__flip-card {
  transform: rotateY(180deg);
}

.products-hero__flip-front,
.products-hero__flip-back,
.bundles__flip-front,
.bundles__flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.products-hero__flip-front,
.bundles__flip-front {
  z-index: 2;
  background-color: var(--ph-cell-bg);
}

.products-hero__flip-back,
.bundles__flip-back {
  transform: rotateY(180deg);
  background-color: var(--ph-cell-bg);
}

.tile,
.tile svg {
  width: 100%;
  height: 100%;
  display: block;
}

.products-hero__static-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.products-hero__shapes-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 15;
  overflow: hidden;
}

.ph-shape {
  position: absolute;
  pointer-events: auto;
  will-change: transform;
}

.ph-shape--circle {
  border-radius: 50%;
}

.ph-shape--half {
  border-radius: 999px 999px 0 0;
}

.products-hero__scroll-more {
  position: absolute;
  bottom: 24px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 20;
}

.products-hero__scroll-text {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}

.products-hero__scroll-btn {
  width: 48px;
  height: 48px;
  background: var(--red);
  border: 1px solid var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-hero__scroll-btn svg {
  width: 18px;
  height: 18px;
}

/* ---------- Horizontal product scroll ----------------------------------- */
.section-products-scroll {
  padding: 0;
  margin: -2px 0;
  position: relative;
  z-index: 2;
}

.products-scroll {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.products-scroll__track {
  display: flex;
  width: var(--ps-track-width, 250vw);
}

.products-scroll__slide {
  position: relative;
  flex: 0 0 50vw;
  width: 50vw;
  box-sizing: border-box;
  aspect-ratio: 0.812;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--ps-slide-bg, #3c5ba9);
  border: var(--line);
  cursor: pointer;
}

.products-scroll__slide + .products-scroll__slide {
  margin-left: -2px;
}

.products-scroll__bg-shapes {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  line-height: 0;
}

.products-scroll__bg-shapes svg {
  display: block;
  width: 100%;
  height: auto;
}

.products-scroll__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  padding: 40px 40px 60px;
}

.products-scroll__tags {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--ps-content-color, var(--ink));
  margin-bottom: 8px;
}

.products-scroll__tag-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
}

.products-scroll__title {
  font-weight: 500;
  font-size: 48px;
  line-height: 1.1;
  color: var(--ps-content-color, var(--ink));
  text-align: left;
  margin: 0 0 24px;
  letter-spacing: -0.5px;
}

.products-scroll__image-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  flex: 1;
  display: grid;
  grid-template: 1fr / 1fr;
  align-items: end;
  justify-items: center;
  margin-top: auto;
}

.products-scroll__image {
  grid-area: 1 / 1;
  width: 80%;
  height: auto;
  align-self: end;
  display: block;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.products-scroll__image--gift {
  opacity: 0;
  pointer-events: none;
}

.products-scroll__slide:hover .products-scroll__image--default {
  opacity: 0;
}

.products-scroll__slide:hover .products-scroll__image--gift {
  opacity: 1;
  transform: translateY(-8px) rotate(-3deg);
}

.products-scroll__actions {
  position: absolute;
  top: 40px;
  right: 40px;
  z-index: 10;
}

.products-scroll__add-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.products-scroll__add-btn:hover {
  background: #f0f0f0;
  transform: scale(1.1);
}

.products-scroll__add-btn svg {
  width: 22px;
  height: 22px;
}

.products-scroll__add-btn .ps-icon-minus {
  display: none;
}

.is-modal-open .products-scroll__add-btn .ps-icon-plus {
  display: none;
}

.is-modal-open .products-scroll__add-btn .ps-icon-minus {
  display: block;
}

.products-scroll__modal {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  background-color: inherit;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.is-modal-open .products-scroll__modal {
  opacity: 1;
  visibility: visible;
}

.products-scroll__modal-inner {
  position: relative;
  z-index: 6;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow-y: auto;
  padding: 40px;
  color: var(--ps-content-color, var(--ink));
}

.products-scroll__modal-title {
  font-weight: 500;
  font-size: 48px;
  line-height: 1.1;
  margin: 0 0 24px;
  letter-spacing: -0.5px;
}

.products-scroll__modal-desc {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.85;
  margin-top: auto;
  margin-bottom: 20px;
}

.products-scroll__modal-variants {
  border-top: 1px solid rgba(21, 21, 21, 0.15);
  align-self: stretch;
}

.ps-modal__variant-row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(21, 21, 21, 0.15);
}

.ps-modal__variant-label {
  display: flex;
  align-items: center;
  flex: 0 0 40%;
  font-weight: 500;
  font-size: 15px;
  padding: 14px 0;
}

.ps-modal__variant-select-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  border-left: 1px solid rgba(21, 21, 21, 0.15);
  padding: 14px 0 14px 16px;
}

.ps-modal__variant-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  color: inherit;
  padding: 0 28px 0 0;
  cursor: pointer;
}

.ps-modal__variant-select:focus {
  outline: none;
}

.ps-modal__variant-select option {
  color: var(--ink);
}

.ps-modal__variant-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
}

.ps-modal__qty-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-between;
  border-left: 1px solid rgba(21, 21, 21, 0.15);
  padding: 14px 0 14px 16px;
}

.ps-modal__qty-btn {
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: inherit;
  transition: opacity 0.2s;
}

.ps-modal__qty-btn:hover {
  opacity: 0.6;
}

.ps-modal__qty-input {
  width: 48px;
  text-align: center;
  border: none;
  background: transparent;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  color: inherit;
  -moz-appearance: textfield;
}

.ps-modal__qty-input::-webkit-outer-spin-button,
.ps-modal__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.products-scroll__modal-form {
  margin-top: 24px;
  align-self: stretch;
}

.ps-modal__add-to-cart {
  width: 100%;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.3px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.ps-modal__add-to-cart:hover {
  background: #fff;
  transform: translateY(-1px);
}

.ps-modal__view-details {
  display: inline-block;
  margin-top: 14px;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 3px;
  align-self: stretch;
  text-align: center;
  width: 100%;
}

/* ---------- Bundles ------------------------------------------------------ */
.section-bundles {
  padding: 0;
  margin: 0;
}

.bundles {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff;
  --bd-cell-bg: var(--cream);
}

.bundles__grid {
  display: grid;
  grid-template-columns: repeat(8, 12.5vw);
  grid-template-rows: auto auto auto;
  width: 100vw;
}

.bundles__cell {
  position: relative;
  border-right: var(--line);
  border-bottom: var(--line);
  overflow: hidden;
  min-width: 0;
  min-height: 0;
}

.bd-r1c1,
.bd-r2-left,
.bd-r3-left {
  border-left: var(--line);
}

.bd-r1c1 { grid-row: 1; grid-column: 1; }
.bd-r1c2 { grid-row: 1; grid-column: 2; }
.bd-r1c3 { grid-row: 1; grid-column: 3; }
.bd-r1c4 { grid-row: 1; grid-column: 4; }
.bd-r1c5 { grid-row: 1; grid-column: 5; }
.bd-r1c6 { grid-row: 1; grid-column: 6; }
.bd-r1c7 { grid-row: 1; grid-column: 7; }
.bd-r1c8 { grid-row: 1; grid-column: 8; }
.bd-r2-left { grid-row: 2; grid-column: 1 / span 4; }
.bd-r2-right { grid-row: 2; grid-column: 5 / span 4; }
.bd-r3-left { grid-row: 3; grid-column: 1 / span 4; }
.bd-r3-right { grid-row: 3; grid-column: 5 / span 4; }

.bd-cell--letter {
  background-color: var(--bd-cell-bg);
  perspective: 1000px;
  cursor: pointer;
  aspect-ratio: 9 / 11;
}

.bd-cell--bundle {
  position: relative;
  overflow: hidden;
  height: 100vh;
  aspect-ratio: unset;
  flex: none;
  width: auto;
}

.bd-bg-shapes {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  line-height: 0;
}

.bd-bg-shapes svg {
  display: block;
  width: 100%;
  height: auto;
}

.bd-pattern-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.25;
}

.bd-cell--cta {
  background: var(--bone);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.bundles__cta-content {
  padding: 48px 40px 48px 60px;
}

.bundles__cta-title {
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

.bundles__cta-desc {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(21, 21, 21, 0.65);
  margin: 0 0 24px;
}

.bundles__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 40px;
  font-weight: 500;
  font-size: 16px;
  transition: background 0.3s ease;
}

.bundles__cta-btn:hover {
  background: #333;
}

.bd-cell--illustration {
  overflow: hidden;
}

.bundles__illustration-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Featured product -------------------------------------------- */
.section-featured-product {
  padding: 0;
  margin: 0;
}

.featured-product {
  position: relative;
  width: 100%;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.featured-product__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
      120% 120% at 20% 20%,
      #2f8f74 0%,
      #1f6f5c 45%,
      #14504a 100%
    );
}

.featured-product__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 12% 30%,
      rgba(255, 255, 255, 0.12) 0 60px,
      transparent 61px
    ),
    radial-gradient(
      circle at 78% 18%,
      rgba(255, 255, 255, 0.08) 0 90px,
      transparent 91px
    ),
    radial-gradient(
      circle at 62% 78%,
      rgba(255, 255, 255, 0.07) 0 120px,
      transparent 121px
    );
}

.featured-product__shapes-band {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.fp-shape {
  flex-shrink: 0;
  opacity: 0.22;
  background: rgba(255, 255, 255, 0.5);
}

.fp-shape--circle { width: 100px; height: 100px; border-radius: 50%; }
.fp-shape--semicircle { width: 100px; height: 50px; border-radius: 100px 100px 0 0; }
.fp-shape--diamond { width: 70px; height: 70px; border-radius: 8px; transform: rotate(45deg); margin-bottom: -10px; }
.fp-shape--1 { width: 90px; height: 90px; margin-left: -20px; }
.fp-shape--2 { width: 80px; height: 40px; margin-left: 10px; }
.fp-shape--3 { width: 70px; height: 70px; margin-left: 15px; }
.fp-shape--4 { width: 60px; height: 60px; margin-left: 5px; }
.fp-shape--5 { width: 100px; height: 100px; margin-left: 10px; }
.fp-shape--6 { width: 90px; height: 45px; margin-left: 10px; }
.fp-shape--7 { width: 80px; height: 80px; margin-left: 15px; }
.fp-shape--8 { width: 55px; height: 55px; margin-left: 5px; }
.fp-shape--9 { width: 110px; height: 110px; margin-left: 10px; }
.fp-shape--10 { width: 75px; height: 37px; margin-left: 15px; }
.fp-shape--11 { width: 85px; height: 85px; margin-left: 10px; }
.fp-shape--12 { width: 65px; height: 65px; margin-left: 5px; }

.featured-product__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 60px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  gap: 20px;
}

.featured-product__info {
  grid-column: 1 / span 4;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.featured-product__title {
  font-weight: 500;
  font-size: 48px;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.featured-product__meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.featured-product__meta-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.featured-product__price {
  font-weight: 600;
  font-size: 20px;
  color: #fff;
}

.featured-product__buttons {
  display: flex;
  gap: 4px;
  align-items: center;
}

.featured-product__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
}

.featured-product__btn--primary {
  padding: 13px 20px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 40px;
}

.featured-product__btn--primary:hover {
  background: #c09218;
}

.featured-product__btn--cart {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.featured-product__btn--cart:hover {
  background: #f0f0f0;
  transform: scale(1.1);
}

.featured-product__image-area {
  grid-column: 5 / span 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-product__image-frame {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1 / 1.15;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-product__image-frame-wrap {
  position: relative;
  width: 85%;
  height: 85%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-product__product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.12));
  transition: opacity 0.3s ease, transform 0.5s ease;
}

.featured-product__options {
  grid-column: 9 / span 4;
  display: grid;
  grid-template-columns: auto auto;
  align-items: start;
  justify-content: center;
}

.featured-product__option-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.featured-product__option-group:first-child { max-width: 160px; }
.featured-product__option-group:nth-child(2) { max-width: 210px; }

.featured-product__option-label {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
  padding-left: 24px;
}

.featured-product__option-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.featured-product__option-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
  color: #fff;
  padding: 4px 0 4px 24px;
  cursor: pointer;
  transition: opacity 0.2s ease;
  position: relative;
}

.featured-product__option-item:not(.is-active) {
  opacity: 0.55;
}

.featured-product__option-item.is-active {
  font-weight: 700;
  opacity: 1;
}

.featured-product__option-swatch-box,
.featured-product__size-box {
  width: 24px;
  height: 24px;
  padding: 2px;
  background: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.featured-product__option-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: block;
}

.featured-product__size-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.featured-product__option-arrow {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  align-items: center;
}

.featured-product__option-item.is-active .featured-product__option-arrow {
  display: flex;
}

/* ---------- Reviews ------------------------------------------------------ */
.section-reviews {
  background: #fff;
  padding: 64px 0;
}

.reviews {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.reviews__head {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.reviews__brand {
  font-size: 20px;
  font-weight: 700;
}

.reviews__score {
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.reviews__stars {
  display: inline-flex;
  gap: 2px;
  color: #fbbc04;
}

.reviews__stars svg {
  width: 20px;
  height: 20px;
}

.reviews__count {
  font-size: 15px;
  color: rgba(21, 21, 21, 0.6);
}

.reviews__google {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 15px;
}

.reviews__summary {
  background: var(--bone);
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 28px;
  max-width: 720px;
}

.reviews__summary h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(21, 21, 21, 0.5);
  margin-bottom: 10px;
}

.reviews__summary ul {
  margin: 0;
  padding-left: 18px;
  font-size: 16px;
  line-height: 1.7;
}

.reviews__viewport {
  overflow: hidden;
}

.reviews__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: reviews-scroll 60s linear infinite;
}

.reviews__viewport:hover .reviews__track {
  animation-play-state: paused;
}

@keyframes reviews-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.review-card {
  width: 360px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.review-card__name {
  font-weight: 700;
  font-size: 15px;
}

.review-card__date {
  font-size: 13px;
  color: rgba(21, 21, 21, 0.5);
}

.review-card__text {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(21, 21, 21, 0.8);
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Partner marquee ---------------------------------------------- */
.partner-section-child {
  background-color: var(--bone);
  padding: 64px 0;
  z-index: 1;
  position: relative;
}

.partner-header {
  margin-bottom: 100px;
}

.header-title {
  font-size: 72px;
  font-weight: 500;
  color: var(--ink);
  line-height: 76px;
  margin-bottom: 16px;
  text-align: center;
  text-transform: uppercase;
}

.header-description {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  line-height: 35.28px;
  text-align: center;
  max-width: 578px;
  margin: 0 auto;
}

.partner-container {
  position: relative;
  width: 100%;
  background-color: var(--bone);
  overflow: hidden;
}

.partner-marquee {
  width: 100%;
  overflow: hidden;
}

.partner-marquee__track {
  display: flex;
  width: max-content;
  animation: partner-scroll var(--marquee-speed, 60s) linear infinite;
  will-change: transform;
}

.partner-marquee__img {
  display: block;
  height: 400px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

@keyframes partner-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Footer -------------------------------------------------------- */
.footer {
  position: relative;
  background-color: #000;
  color: #fff;
  overflow: hidden;
}

.footer__stripes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent calc(12.5% - 12px),
    rgba(80, 20, 20, 0.25) calc(12.5% - 12px),
    rgba(80, 20, 20, 0.25) calc(12.5% + 12px),
    transparent calc(12.5% + 12px)
  );
}

.footer__top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.8fr auto;
  height: 400px;
  align-items: stretch;
  padding: 0 60px;
}

.footer__col {
  padding: 60px 15px;
}

.footer__col:first-child { padding-left: 0; }
.footer__col:last-child { padding-right: 0; }

.footer__col-label {
  display: block;
  font-weight: 600;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.footer__shop-info {
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
}

.footer__menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px 24px;
}

.footer__menu-link {
  font-size: 16px;
  color: #fff;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.footer__menu-link:hover {
  opacity: 0.7;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__col--newsletter {
  padding: 60px 30px 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}

.footer__newsletter-heading {
  font-weight: 400;
  font-size: 32px;
  line-height: 1.3;
  color: #fff;
}

.footer__newsletter-form {
  width: 100%;
  margin-top: auto;
}

.footer__form-label {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 10px;
}

.footer__form-field {
  display: flex;
  align-items: center;
}

.footer__form-input {
  flex: 1;
  height: 56px;
  padding: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 32px;
  outline: none;
}

.footer__form-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.footer__subscribe-btn {
  height: 56px;
  padding: 0 32px;
  background: var(--yellow);
  border: none;
  color: #000;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.footer__subscribe-btn:hover {
  background: #e0b800;
}

.footer__col--social {
  text-align: center;
  padding: 60px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__social-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer__social-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.2s ease;
}

.footer__social-icon:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.footer__social-icon svg {
  width: 20px;
  height: 20px;
}

.footer__logo-area {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 640px;
  padding: 56px 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo-lottie {
  width: 100%;
  max-width: 1200px;
}

.footer-mark {
  width: 100%;
  overflow: visible;
}

.footer-mark__glyph {
  transform-box: fill-box;
  transform-origin: center;
  animation: footer-mark-pulse 4s ease-in-out infinite;
}

.footer-mark__glyph:nth-child(2) { animation-delay: 0.2s; }
.footer-mark__glyph:nth-child(3) { animation-delay: 0.4s; }
.footer-mark__glyph:nth-child(4) { animation-delay: 0.6s; }
.footer-mark__glyph:nth-child(5) { animation-delay: 0.8s; }

@keyframes footer-mark-pulse {
  0%, 100% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(-14px); opacity: 1; }
}

.footer__dots circle {
  animation: footer-dot 3s ease-in-out infinite;
}

@keyframes footer-dot {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}

.footer__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
}

.footer__bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.footer__copyright,
.footer__credit {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Cart drawer + toast ------------------------------------------ */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  background: #fff;
  z-index: 70;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 65;
}

.cart-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid rgba(21, 21, 21, 0.1);
}

.cart-drawer__title {
  font-size: 22px;
  font-weight: 700;
}

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.cart-line {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  padding-bottom: 14px;
}

.cart-line__thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  display: block;
}

.cart-line__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.cart-line__meta {
  font-size: 13px;
  color: rgba(21, 21, 21, 0.55);
}

.cart-drawer__foot {
  padding: 24px;
  border-top: 1px solid rgba(21, 21, 21, 0.1);
  display: grid;
  gap: 14px;
}

.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
}

.cart-drawer__checkout {
  width: 100%;
  height: 56px;
  background: var(--ink);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 100px;
}

.cart-empty {
  color: rgba(21, 21, 21, 0.5);
  font-size: 15px;
}

.toast {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 100vmax;
  background: linear-gradient(90deg, #d54320, #2b99bc 25%, #e57c36 52.88%, #f2cb24, #25ac72);
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.toast::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 100vmax;
  background: #4ade80;
  z-index: -1;
}

.toast.is-visible {
  transform: translateX(0);
}

/* ---------- Newsletter popup --------------------------------------------- */
.popup {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 20px;
}

.popup.is-open {
  opacity: 1;
  visibility: visible;
}

.popup__box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(760px, 100%);
  background: var(--bone);
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup.is-open .popup__box {
  transform: translateY(0) scale(1);
}

.popup__art {
  background: #b9e3f4;
  display: flex;
  align-items: stretch;
}

.popup__art svg {
  width: 100%;
  height: 100%;
  display: block;
}

.popup__body {
  padding: 44px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.popup__title {
  font-size: 40px;
  font-weight: 700;
}

.popup__text {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(21, 21, 21, 0.75);
}

.popup__cta {
  padding: 15px 34px;
  border-radius: 100px;
  background: var(--ink);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.popup__note {
  font-size: 13px;
  color: rgba(21, 21, 21, 0.55);
}

.popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Inner page shell --------------------------------------------- */
.page-hero {
  background: var(--cream);
  padding: 90px 60px 70px;
  border-bottom: var(--line);
}

.page-hero__eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(21, 21, 21, 0.5);
  margin-bottom: 14px;
}

.page-hero__title {
  font-size: clamp(38px, 6vw, 78px);
  font-weight: 500;
  line-height: 1.05;
  text-transform: uppercase;
  max-width: 15ch;
}

.page-hero__lead {
  margin-top: 20px;
  font-size: 20px;
  line-height: 1.55;
  max-width: 62ch;
  color: rgba(21, 21, 21, 0.75);
}

.page-section {
  padding: 80px 60px;
}

.page-section--bone {
  background: var(--bone);
}

.section-heading {
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
}

.prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(21, 21, 21, 0.82);
  display: grid;
  gap: 18px;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border-top: var(--line);
  border-left: var(--line);
}

.grid-card {
  border-right: var(--line);
  border-bottom: var(--line);
  padding: 34px 30px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
}

.grid-card h3 {
  font-size: 24px;
  font-weight: 600;
}

.grid-card p {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(21, 21, 21, 0.7);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  border-top: var(--line);
  border-left: var(--line);
}

.product-card {
  border-right: var(--line);
  border-bottom: var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.product-card__tag {
  font-size: 15px;
  font-weight: 500;
}

.product-card__title {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.4px;
}

.product-card__art {
  margin-top: auto;
  display: flex;
  justify-content: center;
}

.product-card__art svg {
  width: 70%;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card__art svg {
  transform: translateY(-8px) rotate(-3deg);
}

.product-card__price {
  font-weight: 700;
  font-size: 18px;
}

.form-grid {
  display: grid;
  gap: 18px;
  max-width: 640px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(21, 21, 21, 0.55);
  margin-bottom: 8px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 16px;
  border: var(--line);
  background: #fff;
  font-family: inherit;
  font-size: 16px;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  justify-self: start;
}

.news-list {
  display: grid;
  gap: 0;
  border-top: var(--line);
}

.news-item {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: var(--line);
}

.news-item__date {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(21, 21, 21, 0.5);
}

.news-item__title {
  font-size: 26px;
  font-weight: 500;
}

/* ---------- Responsive ---------------------------------------------------- */
@media (max-width: 1200px) {
  .header {
    grid-template-columns: auto 1fr auto;
    padding: 10px 20px 14px;
  }
  .header__inline-menu {
    display: none;
  }
  .header__icon--menu {
    display: flex;
  }
  .header__heading {
    justify-self: center;
  }
  .header__heading-logo {
    width: 46px;
    height: 46px;
    max-width: none;
  }
  .header__icons {
    gap: 6px;
  }
}

@media (max-width: 1400px) {
  .featured-product__inner {
    padding-left: 32px;
    padding-right: 32px;
  }
  .footer__top {
    padding-left: 32px;
    padding-right: 32px;
  }
  .footer__logo-area {
    height: 540px;
  }
}

@media (max-width: 1919px) {
  .banner-title {
    max-width: 991px;
  }
  .banner-title .title {
    font-size: 64px;
    line-height: normal;
  }
}

@media (max-width: 1100px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    padding: 0;
    height: auto;
  }
  .footer__col {
    padding: 16px 24px 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
  }
  .footer__col:first-child { padding-left: 24px; }
  .footer__col--info { grid-column: 1; grid-row: 1; border-bottom: none; }
  .footer__col--menu { grid-column: 1; grid-row: 2 / 4; padding-left: 24px; }
  .footer__col--newsletter {
    grid-column: 2;
    grid-row: 1 / 3;
    padding: 16px 24px;
    border-bottom: none;
  }
  .footer__col--social {
    grid-column: 2;
    grid-row: 3;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: none;
    padding: 16px 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .footer__col--social .footer__col-label { margin-bottom: 0; }
  .footer__social-list { flex-direction: row; gap: 12px; }
  .footer__social-icon { width: 40px; height: 40px; }
  .footer__newsletter-heading { font-size: 24px; }
  .footer__form-input { font-size: 24px; height: 52px; }
  .footer__subscribe-btn { height: 52px; font-size: 14px; padding: 0 16px; }
  .footer__logo-area { padding: 100px 24px; height: auto; }
  .footer__bottom { padding: 16px 24px; }
}

@media (max-width: 991px) {
  .section-image-custom-sticky {
    position: static;
  }
  .image-banner__section {
    min-height: 560px;
    height: 78vh;
  }
  .banner-title .title {
    font-size: 26px;
  }
  .hero-ghost {
    font-size: 80px;
  }
  .hero-mark {
    width: 170px;
    height: 170px;
  }

  .products-hero {
    height: auto;
  }
  .products-hero__grid {
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: auto;
    height: auto;
    border-left: var(--line);
  }
  .ph-r1c1,
  .ph-r1c56,
  .ph-r1c7,
  .ph-r1c8,
  .ph-r2c12,
  .ph-r2c8 {
    display: none;
  }
  .products-hero__cell {
    border: var(--line);
    margin-top: -2px;
    margin-left: -2px;
  }
  .ph-r1c2 { grid-row: 1; grid-column: 1; }
  .ph-r1c3 { grid-row: 1; grid-column: 2; }
  .ph-r1c4 { grid-row: 1; grid-column: 3; }
  .ph-r2c3 { grid-row: 1; grid-column: 4; }
  .ph-r2c4 { grid-row: 1; grid-column: 5; }
  .ph-r2c5 { grid-row: 1; grid-column: 6; }
  .ph-r2c6 { grid-row: 1; grid-column: 7; }
  .ph-r2c7 { grid-row: 1; grid-column: 8; }
  .products-hero__scroll-more,
  .products-hero__shapes-layer {
    display: none;
  }

  .products-scroll {
    height: auto;
    overflow: visible;
  }
  .products-scroll__track {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100% !important;
    height: auto;
    border-right: var(--line);
    border-bottom: var(--line);
  }
  .products-scroll__slide {
    flex: none;
    width: 100%;
    aspect-ratio: 1 / 1.2;
    border-width: 2px 0 0 2px;
  }
  .products-scroll__slide + .products-scroll__slide {
    margin-left: 0;
  }
  .products-scroll__slide:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    aspect-ratio: auto;
    height: 120vw;
  }
  .bd-cell--bundle {
    height: auto;
    aspect-ratio: 1 / 1.2;
  }
  .header-title {
    font-size: 24px;
    line-height: 29.75px;
  }
  .header-description {
    font-size: 18px;
    line-height: 23.52px;
  }
  .partner-header {
    margin-bottom: 42px;
  }
  .partner-marquee__img {
    height: 280px;
  }
  .page-hero,
  .page-section {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 960px) {
  .featured-product__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 24px;
    gap: 24px;
  }
  .featured-product__info,
  .featured-product__image-area,
  .featured-product__options {
    grid-column: 1;
  }
  .featured-product__info { align-items: center; }
  .featured-product__meta-row,
  .featured-product__buttons { justify-content: center; }
  .featured-product__options {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    justify-content: stretch;
  }
  .featured-product__option-group:first-child,
  .featured-product__option-group:nth-child(2) {
    max-width: none;
  }
  .featured-product__image-frame { max-width: 320px; }
  .featured-product__title { font-size: 34px; }
  .featured-product__option-label { padding-left: 0; }
  .featured-product__option-item { padding-left: 0; }
  .featured-product__option-arrow { display: none !important; }
}

@media (max-width: 768px) {
  .bundles__grid {
    grid-template-columns: repeat(4, 25vw);
    grid-template-rows: auto auto auto auto auto auto;
  }
  .bd-r1c1 { grid-row: 1; grid-column: 1; }
  .bd-r1c2 { grid-row: 1; grid-column: 2; }
  .bd-r1c3 { grid-row: 1; grid-column: 3; }
  .bd-r1c4 { grid-row: 1; grid-column: 4; }
  .bd-r1c5 { grid-row: 2; grid-column: 1; border-left: var(--line); }
  .bd-r1c6 { grid-row: 2; grid-column: 2; }
  .bd-r1c7 { grid-row: 2; grid-column: 3; }
  .bd-r1c8 { grid-row: 2; grid-column: 4; }
  .bd-r2-left { grid-row: 3; grid-column: 1 / span 4; }
  .bd-r2-right { grid-row: 4; grid-column: 1 / span 4; border-left: var(--line); }
  .bd-r3-left { grid-row: 5; grid-column: 1 / span 4; }
  .bd-r3-right { grid-row: 6; grid-column: 1 / span 4; border-left: var(--line); }
  .bundles__cta-content {
    padding: 64px 32px;
    text-align: center;
  }
  .popup__box {
    grid-template-columns: 1fr;
    max-height: 88vh;
    overflow: auto;
  }
  .popup__art {
    height: 170px;
  }
  .popup__art svg {
    height: 170px;
    object-fit: cover;
  }
  .popup__body { padding: 28px 24px 32px; }
  .popup__title { font-size: 32px; }
}

@media (max-width: 749px) {
  .header-top-bar {
    font-size: 11px;
    padding: 6px 12px;
  }
  .products-scroll__content {
    padding: 30px 30px 20px;
  }
  .products-scroll__title { font-size: 24px; margin-bottom: 30px; }
  .products-scroll__tags { font-size: 14px; }
  .products-scroll__actions { top: 16px; right: 16px; }
  .products-scroll__add-btn { width: 44px; height: 44px; }
  .products-scroll__modal-inner { padding: 30px; }
  .products-scroll__modal-desc { display: none; }
  .products-scroll__modal-title { font-size: 32px; }
  .partner-marquee__img { height: 160px; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 600px) {
  .header {
    padding: 8px 14px 12px;
  }
  .header__icon {
    width: 42px;
    height: 42px;
  }
  .header__cart {
    height: 42px;
    padding: 0 14px;
    font-size: 14px;
  }
  .header__heading-logo {
    width: 40px;
    height: 40px;
  }
  .products-hero__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
  }
  .ph-r1c2 { grid-row: 1; grid-column: 1; }
  .ph-r1c3 { grid-row: 1; grid-column: 2; }
  .ph-r1c4 { grid-row: 1; grid-column: 3; }
  .ph-r2c3 { grid-row: 1; grid-column: 4; }
  .ph-r2c4 { grid-row: 2; grid-column: 1; }
  .ph-r2c5 { grid-row: 2; grid-column: 2; }
  .ph-r2c6 { grid-row: 2; grid-column: 3; }
  .ph-r2c7 { grid-row: 2; grid-column: 4; }
  .products-scroll__track { grid-template-columns: 1fr; }
  .products-scroll__slide:last-child:nth-child(odd) {
    grid-column: auto;
    height: auto;
    aspect-ratio: 1 / 1.2;
  }
  .footer__top { grid-template-columns: 1fr; }
  .footer__col {
    padding: 24px 20px;
    grid-column: auto !important;
    grid-row: auto !important;
    border-left: none;
  }
  .footer__col--newsletter { order: 1; border-left: none; }
  .footer__col--social { order: 2; border-left: none; border-top: none; }
  .footer__col--info { order: 3; }
  .footer__col--menu { order: 4; }
  .footer__menu-list { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .reviews { padding: 0 20px; }
  .review-card { width: 280px; }
}

/* ---------- Letter tiles -------------------------------------------------- */
.tile-face {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.tile-letter {
  font-weight: 800;
  font-size: clamp(40px, 7.2vw, 132px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  user-select: none;
}

.tile-face--back .tile-letter {
  color: #fff;
  mix-blend-mode: normal;
}

.tile-face--back {
  background-image: radial-gradient(
      circle at 22% 24%,
      rgba(255, 255, 255, 0.35) 0 18%,
      transparent 19%
    ),
    radial-gradient(
      circle at 78% 74%,
      rgba(255, 255, 255, 0.25) 0 24%,
      transparent 25%
    );
}

.tile-arrow {
  width: 46%;
  height: 46%;
}

.tile-photo {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- Coffee bag artwork ------------------------------------------- */
.bag {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Partner strip -------------------------------------------------- */
.partner-strip {
  height: 400px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

@media (max-width: 1024px) { .partner-strip { height: 280px; } }
@media (max-width: 749px) { .partner-strip { height: 160px; } }

/* ---------- Misc ---------------------------------------------------------- */
.illustration-svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.pattern-overlay-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- Combined pinned panel (hero + product slides) ----------------- */
@media (min-width: 992px) {
  .section-products-scroll.ps-combined-mode {
    height: 100vh;
    margin: 0;
  }
  .ps-combined-mode .products-scroll {
    height: 100vh;
    overflow: visible;
  }
  .ps-combined-mode .products-scroll__track {
    height: 100vh;
  }
  .ps-combined-mode .products-scroll__slide {
    height: 100vh;
    aspect-ratio: unset;
  }
  .ps-combined-hero-panel {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: #fff;
  }
  .ps-combined-hero-panel .products-hero__grid {
    height: 100vh;
    grid-template-rows: auto auto;
    align-content: start;
  }
  .ps-combined-hero-panel .products-hero__shapes-layer {
    z-index: 2;
  }
  .ps-combined-hero-panel .ph-r1c56 {
    aspect-ratio: 18 / 11;
  }
  .ps-combined-hero-panel .products-hero__scroll-more {
    position: absolute;
    bottom: 24px;
    right: 28px;
  }
}


/* ---------- Real-asset rules --------------------------------------------- */

/* hero video */
.image-banner__section .image-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-banner__section .image-banner.mobile-image {
  object-position: bottom;
  display: block;
}

.image-banner__section .image-banner.desktop-image {
  display: none;
}

@media screen and (min-width: 990px) {
  .image-banner__section .image-banner.desktop-image {
    display: block;
  }
  .image-banner__section .image-banner.mobile-image {
    display: none;
  }
}

/* letter + flip tiles */
.products-hero__cell-img,
.products-hero__flip-img,
.bundles__cell-img,
.bundles__flip-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* rotating photo cells */
.ph-cell--image .products-hero__static-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.9s ease;
}

/* featured product */
.featured-product__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-product__product-img--gift {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.featured-product__image-frame-wrap:hover .featured-product__product-img {
  opacity: 0;
}

.featured-product__image-frame-wrap:hover .featured-product__product-img--gift {
  opacity: 1;
}

@media (max-width: 600px) {
  .featured-product__product-img { opacity: 0; }
  .featured-product__product-img--gift { opacity: 1; }
}
