:root {
  --navy: #071b33;
  --navy-soft: #102d4f;
  --cyan: #22dcf2;
  --cyan-dark: #007b8f;
  --mist: #edf1f2;
  --paper: #f8f6ef;
  --white: #ffffff;
  --ink: #0a1a2d;
  --muted: #56626f;
  --red: #d92031;
  --yellow: #ffd92f;
  --pink: #ffd9df;
  --line: rgba(7, 27, 51, 0.16);
  --serif: "STSong", "Songti SC", SimSun, Georgia, serif;
  --sans: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --shadow: 0 24px 70px rgba(7, 27, 51, 0.15);
  --page: min(1240px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(7, 27, 51, 0.035) 0.7px, transparent 0.7px),
    radial-gradient(rgba(7, 27, 51, 0.025) 0.6px, transparent 0.6px);
  background-position: 0 0, 5px 7px;
  background-size: 11px 11px, 13px 13px;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

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

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

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 11px 18px;
  color: var(--navy);
  background: var(--yellow);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: var(--page);
  margin-inline: auto;
}

.promo-bar {
  position: relative;
  z-index: 41;
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 7px 20px;
  color: var(--navy);
  background: var(--yellow);
  border-bottom: 1px solid rgba(7, 27, 51, 0.35);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-align: center;
}

.promo-bar p {
  margin: 0;
}

.promo-bar strong {
  display: inline-block;
  margin-right: 14px;
  padding: 2px 7px;
  color: var(--white);
  background: var(--red);
  letter-spacing: 0.08em;
  transform: rotate(-1.5deg);
}

.promo-bar span {
  margin: 0 16px;
  font-size: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  color: var(--white);
  background: rgba(7, 27, 51, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: var(--page);
  min-height: 82px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--cyan);
  border-radius: 50% 45% 48% 44%;
  border: 2px solid var(--white);
  box-shadow: 4px 4px 0 var(--red);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 900;
  transform: rotate(-4deg);
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.63);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.cart-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.34);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.cart-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan);
}

.cart-button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-count {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(70px, 8vw, 126px) max(48px, calc((100vw - 1240px) / 2)) 70px;
  padding-right: clamp(44px, 6vw, 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  width: fit-content;
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.42);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.eyebrow span {
  padding: 8px 12px;
}

.eyebrow span:first-child {
  color: var(--navy);
  background: var(--cyan);
}

.hero h1 {
  margin: 32px 0 25px;
  font-family: var(--serif);
  font-size: clamp(56px, 6.7vw, 100px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero h1 span {
  position: relative;
  z-index: 0;
  color: var(--yellow);
  font-style: italic;
}

.hero h1 span::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: 7px;
  left: -4px;
  z-index: -1;
  height: 10px;
  background: var(--red);
  transform: rotate(-2deg);
}

.hero-copy > p {
  max-width: 540px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.button {
  min-height: 48px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.03em;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

.button-primary {
  color: var(--navy);
  background: var(--yellow);
  border-color: var(--navy);
  box-shadow: 5px 5px 0 var(--red);
}

.button-primary:hover {
  box-shadow: 7px 7px 0 var(--red);
}

.button-dark {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 5px 5px 0 var(--cyan);
}

.button-light {
  color: var(--navy);
  background: var(--white);
  box-shadow: 5px 5px 0 var(--yellow);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  font-size: 14px;
  font-weight: 800;
}

.text-link span {
  color: var(--cyan);
  font-size: 20px;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.hero-facts {
  margin: 58px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-facts div {
  padding: 21px 16px 0 0;
}

.hero-facts div + div {
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-facts dt {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 900;
}

.hero-facts dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hero-visual {
  position: relative;
  min-height: 720px;
  display: grid;
  place-items: center;
  padding: 58px;
  color: var(--navy);
  background-color: var(--cyan);
  background-image:
    linear-gradient(rgba(7, 27, 51, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 27, 51, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--navy);
  box-shadow: 18px 18px 0 rgba(7, 27, 51, 0.1);
}

.hero-visual > img {
  position: relative;
  z-index: 2;
  width: min(650px, 96%);
  filter: drop-shadow(0 28px 22px rgba(7, 27, 51, 0.18));
}

.burst {
  position: absolute;
  z-index: 4;
  width: 120px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 20px;
  clip-path: polygon(50% 0, 61% 13%, 77% 5%, 83% 22%, 100% 25%, 91% 42%, 100% 55%, 83% 64%, 83% 83%, 65% 82%, 54% 100%, 41% 87%, 24% 97%, 19% 78%, 0 74%, 10% 57%, 0 43%, 17% 33%, 17% 14%, 36% 16%);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.burst-red {
  top: 9%;
  right: 8%;
  color: var(--white);
  background: var(--red);
  transform: rotate(8deg);
}

.burst-yellow {
  right: 10%;
  bottom: 14%;
  width: 103px;
  background: var(--yellow);
  transform: rotate(-9deg);
}

.price-ticket {
  position: absolute;
  bottom: 13%;
  left: 8%;
  z-index: 4;
  min-width: 166px;
  padding: 13px 18px 14px;
  color: var(--white);
  background: var(--navy);
  border: 2px solid var(--white);
  box-shadow: 7px 7px 0 var(--red);
  transform: rotate(2deg);
}

.price-ticket > span {
  display: block;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.price-ticket strong {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1;
}

.price-ticket strong small {
  font-size: 20px;
}

.price-ticket strong sup {
  font-family: var(--sans);
  font-size: 21px;
}

.price-ticket em {
  margin-left: 5px;
  font-size: 12px;
  font-style: normal;
}

.hero-note {
  position: absolute;
  top: 7%;
  left: 7%;
  margin: 0;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--navy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.marquee {
  padding: 17px 0;
  color: var(--white);
  background: var(--red);
  border-block: 1px solid var(--navy);
  overflow: hidden;
}

.marquee-track {
  width: var(--page);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.marquee-track i {
  color: var(--yellow);
  font-size: 13px;
}

.new-story {
  padding-block: clamp(80px, 10vw, 145px);
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  align-items: center;
  gap: clamp(55px, 8vw, 120px);
}

.story-visual {
  position: relative;
  min-height: 550px;
  display: grid;
  place-items: center;
  background: var(--mist);
  border: 1px solid var(--navy);
  box-shadow: 15px 15px 0 var(--cyan);
  overflow: hidden;
}

.story-visual::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: 6%;
  width: 38%;
  height: 2px;
  background: var(--navy);
  box-shadow: 0 -10px 0 var(--red), 0 10px 0 var(--yellow);
}

.story-visual > img {
  position: relative;
  z-index: 2;
  width: 84%;
  filter: drop-shadow(0 28px 24px rgba(7, 27, 51, 0.15));
}

.story-number {
  position: absolute;
  top: 2%;
  left: 4%;
  color: rgba(7, 27, 51, 0.08);
  font-family: var(--serif);
  font-size: clamp(120px, 16vw, 220px);
  font-weight: 900;
  line-height: 0.8;
}

.mini-ticket {
  position: absolute;
  right: 7%;
  top: 8%;
  z-index: 3;
  display: grid;
  gap: 6px;
  padding: 13px 17px;
  color: var(--white);
  background: var(--red);
  border: 2px solid var(--navy);
  box-shadow: 5px 5px 0 var(--yellow);
  transform: rotate(3deg);
}

.mini-ticket span {
  font-size: 10px;
  letter-spacing: 0.13em;
}

.mini-ticket strong {
  font-size: 15px;
}

.kicker {
  margin-bottom: 19px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.story-copy h2,
.section-heading h2,
.deal h2,
.closing-banner h2 {
  font-family: var(--serif);
  font-weight: 900;
  letter-spacing: -0.045em;
}

.story-copy h2 {
  margin-bottom: 27px;
  font-size: clamp(42px, 4.6vw, 66px);
  line-height: 1.17;
}

.story-copy h2 span {
  color: var(--red);
  font-style: italic;
}

.story-copy > p:not(.kicker) {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.taste-list {
  margin: 0 0 33px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.taste-list li {
  display: flex;
  align-items: center;
  gap: 19px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.taste-list span {
  color: var(--cyan-dark);
  font-family: var(--serif);
  font-size: 13px;
}

.products {
  padding-block: 112px 128px;
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 42px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(46px, 5.4vw, 76px);
  line-height: 1;
}

.section-heading > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.product-tools {
  margin-bottom: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 18px;
  border-block: 1px solid var(--line);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  min-height: 39px;
  padding: 8px 14px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.filter-button:hover {
  color: var(--navy);
  border-color: var(--navy);
}

.filter-button.is-active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.search-box {
  flex: 0 0 214px;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  background: var(--white);
  border: 1px solid var(--line);
}

.search-box:focus-within {
  border-color: var(--cyan-dark);
  box-shadow: 0 0 0 3px rgba(34, 220, 242, 0.18);
}

.search-box svg {
  width: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.search-box input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--navy);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 13px;
}

.search-box input::placeholder {
  color: #7b858f;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px 20px;
}

.product-card {
  min-width: 0;
  background: rgba(255, 255, 255, 0.48);
  border-bottom: 1px solid var(--navy);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(7, 27, 51, 0.11);
}

.product-card[hidden] {
  display: none;
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1.05;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--navy);
}

.product-media::before {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(7, 27, 51, 0.14);
  border-radius: 50%;
}

.tone-yellow { background: #ffe878; }
.tone-cyan { background: #a9f2f6; }
.tone-mist { background: #e7ecee; }
.tone-pink { background: #ffdbe1; }

.product-media img {
  position: relative;
  z-index: 1;
  width: 85%;
  height: 85%;
  object-fit: contain;
  filter: drop-shadow(0 16px 14px rgba(7, 27, 51, 0.15));
  transition: transform 260ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.045) rotate(-1deg);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 7px 10px;
  border: 1px solid var(--navy);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  transform: rotate(-2deg);
}

.badge-red { color: var(--white); background: var(--red); }
.badge-navy { color: var(--white); background: var(--navy); }
.badge-yellow { color: var(--navy); background: var(--yellow); }

.quick-add {
  position: absolute;
  right: 13px;
  bottom: 13px;
  z-index: 3;
  width: 45px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(7, 27, 51, 0.22);
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.quick-add:hover {
  color: var(--navy);
  background: var(--cyan);
  transform: rotate(90deg);
}

.quick-add.is-added {
  color: var(--navy);
  background: var(--yellow);
}

.product-info {
  padding: 19px 11px 21px;
}

.product-type {
  margin-bottom: 7px;
  color: var(--cyan-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.product-info h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.25;
}

.product-desc {
  min-height: 42px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.product-price {
  min-height: 38px;
  display: flex;
  align-items: end;
  gap: 9px;
}

.product-price strong {
  color: var(--red);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.product-price strong small {
  font-family: var(--sans);
  font-size: 13px;
}

.product-price del {
  color: #899099;
  font-size: 11px;
}

.product-price span {
  margin-left: auto;
  padding: 3px 5px;
  color: var(--red);
  background: #fff1f2;
  border: 1px solid rgba(237, 48, 59, 0.28);
  font-size: 9px;
  font-weight: 800;
}

.empty-state {
  margin: 30px 0 0;
  padding: 50px 20px;
  background: var(--mist);
  border: 1px solid var(--line);
  text-align: center;
}

.deal {
  min-height: 620px;
  margin-bottom: 125px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--navy);
  box-shadow: 15px 15px 0 var(--yellow);
  overflow: hidden;
}

.deal-copy {
  position: relative;
  z-index: 2;
  padding: clamp(55px, 7vw, 90px);
}

.deal .kicker {
  color: var(--cyan);
}

.deal h2 {
  margin-bottom: 25px;
  font-size: clamp(48px, 5.7vw, 76px);
  line-height: 1.08;
}

.deal h2 span {
  color: var(--yellow);
  font-style: italic;
}

.deal-copy > p:not(.kicker) {
  max-width: 560px;
  margin-bottom: 29px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.85;
}

.deal-tiers {
  margin-bottom: 33px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.deal-tiers div {
  display: grid;
  gap: 7px;
  padding: 17px 14px;
  text-align: center;
}

.deal-tiers div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.deal-tiers strong {
  font-family: var(--serif);
  font-size: 19px;
}

.deal-tiers span {
  color: rgba(255, 255, 255, 0.63);
  font-size: 11px;
}

.deal-tiers .is-featured {
  color: var(--navy);
  background: var(--yellow);
  transform: scale(1.05);
}

.deal-tiers .is-featured span {
  color: var(--red);
  font-weight: 900;
}

.deal-visual {
  position: relative;
  min-height: 100%;
  display: grid;
  place-items: center;
  background-color: var(--red);
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1.5px, transparent 1.5px);
  background-size: 19px 19px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.deal-visual::before {
  content: "";
  position: absolute;
  width: 75%;
  aspect-ratio: 1;
  background: var(--cyan);
  border: 2px solid var(--navy);
  border-radius: 50%;
}

.deal-visual img {
  position: relative;
  z-index: 2;
  width: 82%;
  filter: drop-shadow(0 25px 20px rgba(7, 27, 51, 0.2));
}

.deal-stamp {
  position: absolute;
  top: 8%;
  right: 7%;
  z-index: 3;
  padding: 9px 13px;
  color: var(--navy);
  background: var(--yellow);
  border: 2px solid var(--navy);
  font-weight: 900;
  transform: rotate(5deg);
}

.deal-big-number {
  position: absolute;
  right: 6%;
  bottom: 7%;
  z-index: 3;
  padding: 13px 18px;
  color: var(--white);
  background: var(--navy);
  border: 2px solid var(--white);
  box-shadow: 5px 5px 0 var(--yellow);
  transform: rotate(-3deg);
}

.deal-big-number small {
  display: block;
  color: var(--cyan);
  font-size: 10px;
}

.deal-big-number strong {
  font-family: var(--serif);
  font-size: 41px;
}

.service {
  padding-bottom: 125px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--navy);
  background: var(--white);
}

.service-card {
  position: relative;
  min-height: 300px;
  padding: 37px 34px;
}

.service-card + .service-card {
  border-left: 1px solid var(--navy);
}

.service-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 5px;
  background: var(--cyan);
  transition: width 240ms ease;
}

.service-card:hover::after {
  right: auto;
  left: 0;
  width: 100%;
}

.service-icon {
  width: 68px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: 35px;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 5px 5px 0 var(--red);
}

.service-icon svg {
  width: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card:nth-child(2) .service-icon {
  background: var(--cyan);
  box-shadow: 5px 5px 0 var(--navy);
}

.service-card:nth-child(3) .service-icon {
  color: var(--white);
  background: var(--red);
  box-shadow: 5px 5px 0 var(--yellow);
}

.service-card h3 {
  margin-bottom: 13px;
  font-family: var(--serif);
  font-size: 29px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.closing-banner {
  position: relative;
  min-height: 410px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--red);
  border-top: 1px solid var(--navy);
  overflow: hidden;
  text-align: center;
}

.closing-banner::before,
.closing-banner::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  background: var(--cyan);
  border: 2px solid var(--navy);
  transform: rotate(45deg);
}

.closing-banner::before { top: -120px; left: 4%; }
.closing-banner::after { right: 5%; bottom: -125px; background: var(--yellow); }

.closing-copy {
  position: relative;
  z-index: 2;
  padding: 60px 24px;
}

.closing-copy p {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.closing-banner h2 {
  margin-bottom: 28px;
  font-size: clamp(56px, 7vw, 94px);
  line-height: 1;
}

.closing-copy .button {
  margin-inline: auto;
}

.closing-pattern {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  color: rgba(255, 255, 255, 0.13);
  font-size: clamp(50px, 8vw, 130px);
  transform: rotate(-8deg) scale(1.1);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 79;
  background: rgba(2, 11, 22, 0.62);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.drawer-backdrop.is-visible {
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  width: min(460px, 100%);
  display: flex;
  flex-direction: column;
  color: var(--navy);
  background: var(--paper);
  border-left: 1px solid var(--navy);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.18);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 260ms ease, visibility 260ms;
}

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

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 25px 21px;
  color: var(--white);
  background: var(--navy);
}

.cart-head p {
  margin-bottom: 3px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.cart-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 35px;
}

.icon-button {
  width: 43px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.icon-button:hover {
  color: var(--navy);
  background: var(--cyan);
}

.cart-progress {
  padding: 17px 25px;
  background: var(--yellow);
  border-bottom: 1px solid var(--navy);
}

.cart-progress p {
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 800;
}

.cart-progress > div {
  height: 6px;
  background: rgba(7, 27, 51, 0.16);
  overflow: hidden;
}

.cart-progress span {
  width: 0;
  height: 100%;
  display: block;
  background: var(--red);
  transition: width 240ms ease;
}

.cart-items {
  flex: 1;
  padding: 22px 25px;
  overflow-y: auto;
}

.cart-empty {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cart-empty > span {
  margin-bottom: 14px;
  color: var(--cyan-dark);
  font-size: 70px;
}

.cart-empty h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 27px;
}

.cart-empty p {
  margin-bottom: 25px;
  color: var(--muted);
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 13px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line h3 {
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 19px;
}

.cart-line p {
  margin: 0;
  color: var(--red);
  font-family: var(--serif);
  font-weight: 900;
}

.quantity-control {
  display: flex;
  align-items: center;
  align-self: center;
  border: 1px solid var(--navy);
}

.quantity-control button {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  padding: 0;
  background: var(--white);
  border: 0;
  cursor: pointer;
  font-weight: 900;
}

.quantity-control button:hover {
  background: var(--cyan);
}

.quantity-control span {
  min-width: 31px;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.cart-summary {
  padding: 22px 25px 27px;
  background: var(--white);
  border-top: 1px solid var(--navy);
}

.cart-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-summary strong {
  color: var(--red);
  font-family: var(--serif);
  font-size: 28px;
}

.cart-summary p {
  margin: 7px 0 18px;
  color: var(--muted);
  font-size: 11px;
}

.cart-summary .button {
  width: 100%;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  min-width: 220px;
  max-width: calc(100% - 32px);
  padding: 13px 18px;
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--cyan);
  box-shadow: 6px 6px 0 var(--red);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

body.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

body.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .brand-copy small {
    display: none;
  }

  .site-nav {
    gap: 19px;
  }

  .hero-copy {
    padding-left: 38px;
    padding-right: 36px;
  }

  .hero-visual {
    padding: 38px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .deal-copy {
    padding: 55px;
  }
}

@media (max-width: 900px) {
  :root {
    --page: min(100% - 36px, 720px);
  }

  .header-inner {
    min-height: 72px;
  }

  .menu-toggle {
    width: 43px;
    height: 43px;
    margin-left: auto;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 9px;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 8px 18px 18px;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-nav a::after {
    display: none;
  }

  .cart-button {
    margin-left: 0;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 82px max(28px, calc((100vw - 720px) / 2)) 72px;
  }

  .hero h1 {
    font-size: clamp(62px, 12vw, 92px);
  }

  .hero-visual {
    min-height: 650px;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    border-left: 0;
  }

  .new-story {
    grid-template-columns: 1fr;
  }

  .story-visual {
    min-height: 530px;
  }

  .story-copy {
    max-width: 660px;
  }

  .product-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .search-box {
    flex-basis: auto;
    width: 100%;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deal {
    grid-template-columns: 1fr;
  }

  .deal-visual {
    min-height: 570px;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    border-left: 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
    display: grid;
    grid-template-columns: 70px 1fr;
    column-gap: 26px;
    align-items: center;
  }

  .service-card + .service-card {
    border-top: 1px solid var(--navy);
    border-left: 0;
  }

  .service-icon {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }

  .service-card h3 {
    margin: 0 0 8px;
  }
}

@media (max-width: 620px) {
  :root {
    --page: calc(100% - 28px);
  }

  .promo-bar {
    min-height: 34px;
    padding-inline: 10px;
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .promo-bar strong {
    margin-right: 6px;
  }

  .promo-bar span {
    margin: 0 6px;
  }

  .header-inner {
    gap: 10px;
  }

  .brand-mark {
    width: 37px;
    font-size: 20px;
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .cart-button {
    width: 43px;
    height: 43px;
    position: relative;
    justify-content: center;
    padding: 7px;
  }

  .cart-button > span:not(.cart-count) {
    display: none;
  }

  .cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 19px;
    height: 19px;
  }

  .hero-copy {
    padding: 62px 20px 58px;
  }

  .hero h1 {
    margin-top: 26px;
    font-size: clamp(52px, 16vw, 76px);
  }

  .hero-copy > p {
    font-size: 15px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .hero-facts {
    margin-top: 45px;
  }

  .hero-facts dt {
    font-size: 22px;
  }

  .hero-facts div {
    padding-right: 8px;
  }

  .hero-facts div + div {
    padding-left: 10px;
  }

  .hero-visual {
    min-height: 500px;
    padding: 22px;
    background-size: 32px 32px;
  }

  .hero-visual::before {
    width: 83%;
  }

  .burst {
    width: 88px;
    padding: 14px;
    font-size: 11px;
  }

  .burst-red { top: 7%; right: 4%; }
  .burst-yellow { right: 4%; bottom: 10%; width: 78px; }

  .price-ticket {
    bottom: 8%;
    left: 4%;
    min-width: 135px;
    padding: 10px 13px;
  }

  .price-ticket strong {
    font-size: 42px;
  }

  .hero-note {
    top: 5%;
    left: 4%;
  }

  .marquee-track {
    width: max-content;
    min-width: 820px;
    padding-inline: 22px;
    justify-content: flex-start;
    font-size: 15px;
  }

  .new-story {
    padding-block: 80px;
    gap: 60px;
  }

  .story-visual {
    min-height: 390px;
    box-shadow: 8px 8px 0 var(--cyan);
  }

  .story-copy h2 {
    font-size: 40px;
  }

  .products {
    padding-block: 85px 95px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .section-heading h2 {
    font-size: 47px;
  }

  .filters {
    flex-wrap: nowrap;
    margin-inline: -14px;
    padding: 0 14px 5px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .product-grid {
    gap: 32px 11px;
  }

  .product-info {
    padding: 14px 5px 17px;
  }

  .product-info h3 {
    font-size: 19px;
  }

  .product-type {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .product-desc {
    min-height: 58px;
    font-size: 11px;
  }

  .product-price {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .product-price strong {
    font-size: 26px;
  }

  .product-price span {
    margin-left: 0;
  }

  .card-badge {
    top: 7px;
    left: 7px;
    padding: 5px 7px;
    font-size: 9px;
  }

  .quick-add {
    right: 8px;
    bottom: 8px;
    width: 38px;
  }

  .deal {
    width: calc(100% - 28px);
    margin-bottom: 100px;
    box-shadow: 8px 8px 0 var(--yellow);
  }

  .deal-copy {
    padding: 52px 22px 58px;
  }

  .deal h2 {
    font-size: 48px;
  }

  .deal-tiers {
    grid-template-columns: 1fr;
  }

  .deal-tiers div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

  .deal-tiers .is-featured {
    transform: none;
  }

  .deal-visual {
    min-height: 430px;
  }

  .service {
    padding-bottom: 90px;
  }

  .service-card {
    grid-template-columns: 56px 1fr;
    column-gap: 18px;
    padding: 28px 20px;
  }

  .service-icon {
    width: 56px;
  }

  .service-icon svg {
    width: 31px;
  }

  .service-card h3 {
    font-size: 24px;
  }

  .service-card p {
    font-size: 13px;
  }

  .closing-banner {
    min-height: 360px;
  }

  .closing-banner h2 {
    font-size: 56px;
  }
}

@media (max-width: 390px) {
  .brand-copy strong {
    max-width: 122px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero h1 {
    font-size: 50px;
  }

  .eyebrow span {
    padding-inline: 8px;
  }

  .hero-facts dd {
    font-size: 10px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .product-media {
    aspect-ratio: 1.15 / 1;
  }

  .product-desc {
    min-height: 0;
  }

  .product-price {
    align-items: end;
    flex-direction: row;
  }

  .product-price span {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  body.js-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
