/* =========================================================
   ZAANEX STORE · public storefront
   ========================================================= */

/* ---------- announcement ---------- */
.announcement {
  position: relative;
  z-index: 60;
  background: var(--ink);
  color: rgba(255, 253, 248, 0.88);
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 36px;
  font-size: 0.68rem;
  font-weight: 550;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.announcement p {
  margin: 0;
}

.announcement-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(216, 255, 99, 0.55);
  animation: pulse-dot 2.4s infinite;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(216, 255, 99, 0.5);
  }
  65% {
    box-shadow: 0 0 0 7px rgba(216, 255, 99, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(216, 255, 99, 0);
  }
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 232, 0.84);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 241, 232, 0.94);
  box-shadow: 0 8px 30px rgba(18, 21, 15, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
}

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

.brand-image img {
  display: block;
  width: auto;
  height: 58px;
}

.footer-brand .brand-image img {
  height: 70px;
}

@media (max-width: 920px) {
  .brand-image img {
    height: 54px;
  }
}

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

.desktop-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 0.82rem;
  font-weight: 560;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

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

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Atalho do painel: só existe no DOM visível quando há sessão ativa. */
.header-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 15px 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
  animation: admin-shortcut-in 0.45s var(--ease-out);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    transform 0.25s var(--ease-out);
}

.header-admin-link:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  transform: translateY(-1px);
}

.header-admin-link svg {
  transition: transform 0.3s var(--ease-out);
}

.header-admin-link:hover svg {
  transform: translateX(3px);
}

.header-admin-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(38, 115, 77, 0.16);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.header-admin-link:hover .header-admin-dot {
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(216, 255, 99, 0.22);
}

@keyframes admin-shortcut-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 480px) {
  .header-admin-link {
    height: 38px;
    gap: 7px;
    padding: 0 12px 0 11px;
    font-size: 0.74rem;
  }
}

.menu-toggle {
  position: relative;
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  gap: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.menu-toggle span {
  display: block;
  width: 15px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease-out);
}

.menu-toggle[aria-expanded="true"] span {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -0.75px;
  margin-left: -7.5px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 12px 24px 24px;
  animation: mobile-menu-in 0.3s var(--ease-out);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.mobile-menu a span {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

@keyframes mobile-menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 34%, rgba(216, 255, 99, 0.28), transparent 29%),
    radial-gradient(circle at 8% 92%, rgba(255, 106, 61, 0.08), transparent 22%),
    var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(18, 21, 15, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 21, 15, 0.035) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(circle at 70% 45%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 70% 45%, black 0%, transparent 70%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr);
  align-items: center;
  gap: clamp(20px, 5vw, 76px);
  min-height: 690px;
  padding-block: 66px 54px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-title {
  margin-top: 24px;
  font-size: clamp(3.9rem, 7.6vw, 6.9rem);
  font-weight: 650;
  letter-spacing: -0.062em;
  line-height: 0.91;
}

.hero-title > span {
  display: block;
}

.hero-title em {
  display: inline;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.052em;
  background-image: linear-gradient(
    transparent 69%,
    var(--lime) 69%,
    var(--lime) 94%,
    transparent 94%
  );
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding-right: 0.06em;
}

.hero-text {
  max-width: 490px;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px 24px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 540px;
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-proof svg {
  color: var(--ink);
}

.hero-art {
  position: relative;
  min-height: 620px;
  isolation: isolate;
}

.hero-disc {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 49%;
  width: min(37vw, 470px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 27%, rgba(255, 255, 255, 0.65), transparent 18%),
    radial-gradient(circle at 55% 45%, var(--lime-bright) 0%, var(--lime) 48%, #c8ed4c 100%);
  box-shadow:
    inset 0 0 70px rgba(255, 255, 255, 0.24),
    0 40px 100px rgba(155, 190, 44, 0.22);
}

.hero-disc::before {
  content: "";
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  border: 1px solid rgba(18, 21, 15, 0.12);
}

.hero-disc::after {
  content: "";
  position: absolute;
  inset: 23%;
  border-radius: 50%;
  border: 1px dashed rgba(18, 21, 15, 0.16);
}

.hero-grid-lines {
  position: absolute;
  z-index: 0;
  inset: 8% -10% 4% 2%;
  border-radius: 40px;
  background-image: radial-gradient(rgba(18, 21, 15, 0.18) 1px, transparent 1px);
  background-size: 16px 16px;
  mask-image: linear-gradient(115deg, transparent 18%, black 55%, transparent 88%);
  -webkit-mask-image: linear-gradient(115deg, transparent 18%, black 55%, transparent 88%);
  opacity: 0.5;
}

.hero-vertical {
  position: absolute;
  z-index: 2;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-size: 0.55rem;
  font-weight: 650;
  letter-spacing: 0.22em;
  color: var(--ink-muted);
}

.hero-product {
  position: absolute;
  z-index: 4;
  left: 2%;
  top: 4%;
  width: min(335px, 62%);
  padding: 13px;
  border: 1px solid var(--ink);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: rotate(-3.2deg);
  transition: transform 0.6s var(--ease-out);
}

.hero-product:hover {
  transform: rotate(-1deg) translateY(-4px);
}

.hero-product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 3px 10px;
}

.hero-product-kicker {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero-product-index {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.hero-product-media {
  position: relative;
  aspect-ratio: 1 / 1.04;
  overflow: hidden;
  border-radius: 14px;
  background: var(--paper-deep);
}

.hero-product-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(8px, 1.8vw, 18px);
  background: var(--paper-deep);
  transition: transform 0.8s var(--ease-out);
}

.hero-product:hover .hero-product-media img {
  transform: scale(1.04);
}

.hero-product-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  border-radius: 999px;
  background: var(--lime);
  padding: 6px 10px;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-product-badge:empty {
  display: none;
}

.hero-product-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 3px 12px;
}

.hero-product-category {
  font-size: 0.57rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero-product-title {
  margin-top: 3px;
  font-size: 1.16rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 650;
}

.hero-product-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: 0 0 auto;
  line-height: 1.2;
}

.hero-product-price span {
  color: var(--ink-muted);
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-product-price strong {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.hero-product-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 3px 2px;
  border-top: 1px solid var(--line);
  font-size: 0.77rem;
  font-weight: 650;
}

.round-arrow {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  transition: transform 0.3s var(--ease-out), background 0.2s ease;
}

.hero-product-link:hover .round-arrow {
  transform: rotate(42deg);
}

.hero-stamp {
  position: absolute;
  z-index: 5;
  right: 0;
  top: 4%;
  width: 138px;
  color: var(--ink);
  animation: stamp-spin 38s linear infinite;
}

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

.hero-stamp text {
  font-family: var(--font-sans);
  font-size: 9.1px;
  font-weight: 650;
  letter-spacing: 1.25px;
  fill: currentColor;
}

.hero-stamp path {
  color: var(--coral);
}

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

.hero-note {
  position: absolute;
  z-index: 6;
  right: 1%;
  bottom: 11%;
  display: flex;
  gap: 11px;
  width: 240px;
  padding: 15px 16px;
  border: 1px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: rotate(2deg);
}

.hero-note-star {
  color: var(--coral);
  font-size: 1.05rem;
  line-height: 1.25;
}

.hero-note p {
  color: var(--ink-soft);
  font-size: 0.71rem;
  line-height: 1.45;
}

.hero-note strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
}

.hero-mini {
  position: absolute;
  z-index: 3;
  left: -2%;
  bottom: 2%;
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 152px;
  padding: 15px;
  border-radius: 15px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-md);
  transform: rotate(-4deg);
}

.hero-mini-top {
  font-size: 0.52rem;
  font-weight: 650;
  letter-spacing: 0.17em;
  color: var(--lime);
}

.hero-mini-big {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.hero-mini-line {
  width: 26px;
  height: 1px;
  margin-top: 7px;
  background: var(--coral);
}

.hero-asterisk {
  position: absolute;
  z-index: 2;
  right: 6%;
  bottom: 2%;
  width: 71px;
  color: var(--coral);
  transform: rotate(12deg);
}

.hero-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: color 0.2s ease;
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal-up 0.85s var(--ease-out) forwards;
}

.reveal-delay {
  animation-delay: 0.12s;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--lime);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 36px;
  padding: 15px 0;
  animation: marquee-scroll 42s linear infinite;
}

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

.marquee-track span {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  white-space: nowrap;
}

.marquee-star {
  color: var(--coral) !important;
  font-size: 1.05rem !important;
  letter-spacing: 0 !important;
}

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

/* ---------- products ---------- */
.products-section {
  position: relative;
  padding: clamp(72px, 9vw, 122px) 0 clamp(64px, 8vw, 108px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: end;
  gap: 44px;
}

.section-heading h2 {
  margin-top: 18px;
  max-width: 780px;
  font-size: clamp(2.75rem, 5.3vw, 4.9rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.section-intro {
  max-width: 310px;
  padding-bottom: 5px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.55;
}

.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

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

.filter-chip {
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.filter-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.search-field,
.sort-field {
  display: flex;
  align-items: center;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.58);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.search-field {
  gap: 8px;
  padding: 0 14px;
}

.search-field:focus-within,
.sort-field:focus-within {
  border-color: var(--ink);
  background: var(--white);
}

.search-field svg {
  flex: 0 0 auto;
  color: var(--ink-muted);
}

.search-field input {
  width: 138px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.75rem;
}

.search-field input::placeholder {
  color: var(--ink-muted);
}

.search-field input::-webkit-search-cancel-button {
  cursor: pointer;
}

.sort-field {
  position: relative;
  padding: 0 12px;
}

.sort-field select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  outline: 0;
  background: transparent;
  padding-right: 20px;
  font-size: 0.73rem;
  font-weight: 550;
  cursor: pointer;
}

.sort-field svg {
  position: absolute;
  right: 12px;
  pointer-events: none;
  color: var(--ink-muted);
}

.results-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 26px 0 18px;
}

.results-row p {
  flex: 0 0 auto;
  color: var(--ink-muted);
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.results-line {
  width: 100%;
  height: 1px;
  background: var(--line);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.3vw, 30px) clamp(14px, 1.8vw, 24px);
}

/* ---------- paginação da vitrine ---------- */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(34px, 4vw, 52px);
}

.pager-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    transform 0.25s var(--ease-out);
}

.pager-button:hover:not(:disabled):not(.is-current) {
  border-color: var(--ink);
  background: var(--paper-soft);
  transform: translateY(-1px);
}

.pager-button.is-current {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--lime);
  cursor: default;
}

.pager-button:disabled {
  opacity: 0.32;
}

.pager-arrow {
  padding: 0;
  color: var(--ink);
}

.pager-arrow svg {
  display: block;
}

.pager-gap {
  min-width: 24px;
  color: var(--ink-muted);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-align: center;
  user-select: none;
}

@media (max-width: 480px) {
  .pager {
    gap: 6px;
  }

  .pager-button {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-size: 0.8rem;
  }

  .pager-gap {
    min-width: 18px;
  }
}

.product-card {
  position: relative;
  min-width: 0;
  animation: card-in 0.55s var(--ease-out) both;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(18, 21, 15, 0.09);
  background: var(--paper-deep);
  cursor: pointer;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}

.product-card:hover .product-media {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(18, 21, 15, 0.12);
}

.product-media .media-fallback span {
  font-size: clamp(3.3rem, 6vw, 5.7rem);
}

.product-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  /* A imagem enviada aparece inteira dentro do quadro: nada é cortado. O
     fundo no próprio <img> preenche as sobras com a cor do card. */
  object-fit: contain;
  padding: clamp(6px, 1.6vw, 12px);
  background: var(--paper-deep);
  transition: transform 0.8s var(--ease-out);
}

.product-card:hover .product-media img {
  transform: scale(1.055);
}

.product-media img.is-broken {
  opacity: 0;
}

.product-flags {
  position: absolute;
  z-index: 2;
  top: 11px;
  left: 11px;
  right: 11px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.product-category-pill {
  max-width: 55%;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.88);
  padding: 6px 10px;
  color: var(--ink-soft);
  font-size: 0.56rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.product-badge {
  max-width: 48%;
  overflow: hidden;
  border-radius: 999px;
  background: var(--lime);
  padding: 6px 10px;
  color: var(--ink);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-badge:empty {
  display: none;
}

.product-hover-arrow {
  position: absolute;
  z-index: 3;
  right: 11px;
  bottom: 11px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  opacity: 0;
  transform: translateY(8px) rotate(-15deg);
  transition: opacity 0.3s ease, transform 0.35s var(--ease-spring);
  pointer-events: none;
}

.product-card:hover .product-hover-arrow,
.product-media:focus-visible .product-hover-arrow {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

.product-body {
  padding: 14px 2px 0;
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.product-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.25vw, 1.13rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.product-title button {
  text-align: left;
  transition: color 0.2s ease;
}

.product-title button:hover {
  color: var(--ink-soft);
}

.product-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 5px;
  color: var(--ink-muted);
  font-size: 0.77rem;
  line-height: 1.48;
}

.product-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.product-price-block {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.product-old-price {
  color: var(--ink-muted);
  font-size: 0.69rem;
  text-decoration: line-through;
}

.product-offer {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 0;
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.product-offer svg {
  transition: transform 0.25s var(--ease-out);
}

.product-offer:hover svg {
  transform: translate(2px, -2px);
}

.product-skeleton {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--paper-soft);
}

.product-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(255, 253, 248, 0.65) 45%,
    transparent 70%
  );
  animation: skeleton-sweep 1.4s infinite;
}

@keyframes skeleton-sweep {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(48px, 8vw, 92px) 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.5);
}

.empty-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--lime);
  font-size: 1.5rem;
}

.empty-state .eyebrow {
  margin-bottom: 10px;
}

.empty-state h3 {
  max-width: 490px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
}

.empty-state > p:not(.eyebrow) {
  max-width: 430px;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.empty-state .button {
  margin-top: 24px;
  min-height: 46px;
}

/* ---------- how it works ---------- */
.how-section {
  padding: clamp(20px, 3vw, 42px) 0 clamp(70px, 9vw, 110px);
}

.how-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 92px);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--ink);
  color: var(--paper);
  padding: clamp(36px, 5.5vw, 72px);
}

.how-panel::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  right: -240px;
  top: -330px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 255, 99, 0.22), transparent 68%);
  pointer-events: none;
}

.how-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(115deg, transparent 25%, black 95%);
  -webkit-mask-image: linear-gradient(115deg, transparent 25%, black 95%);
  pointer-events: none;
}

.how-copy {
  position: relative;
  z-index: 1;
  align-self: start;
}

.how-copy h2 {
  margin-top: 24px;
  font-size: clamp(2.7rem, 4.3vw, 4.2rem);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.how-copy h2 em {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--lime);
}

.how-copy > p:not(.eyebrow) {
  max-width: 390px;
  margin-top: 22px;
  color: rgba(255, 253, 248, 0.6);
  font-size: 0.88rem;
  line-height: 1.65;
}

.how-copy .button {
  margin-top: 28px;
}

.how-steps {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.how-steps li {
  display: grid;
  grid-template-columns: 38px 46px minmax(0, 1fr);
  align-items: start;
  gap: 4px 15px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.how-steps li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.step-number {
  grid-column: 1;
  grid-row: 1 / span 2;
  padding-top: 10px;
  color: rgba(255, 253, 248, 0.35);
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-style: italic;
}

.step-icon {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--lime);
}

.how-steps h3 {
  grid-column: 3;
  grid-row: 1;
  margin-top: 2px;
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.how-steps p {
  grid-column: 3;
  grid-row: 2;
  max-width: 390px;
  margin-top: 0;
  color: rgba(255, 253, 248, 0.5);
  font-size: 0.77rem;
  line-height: 1.55;
}

.how-disclosure {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 253, 248, 0.36);
  font-size: 0.65rem;
  line-height: 1.6;
}

/* ---------- about ---------- */
.about-section {
  padding: clamp(56px, 7vw, 92px) 0 clamp(64px, 9vw, 120px);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.about-visual {
  position: relative;
  max-width: 480px;
  margin-inline: auto;
  width: 100%;
}

.about-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 4 / 5;
  padding: clamp(24px, 4vw, 38px);
  overflow: hidden;
  border-radius: 26px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}

.about-frame::before {
  content: "✳";
  position: absolute;
  right: -34px;
  top: 28%;
  font-size: 12rem;
  line-height: 1;
  color: rgba(216, 255, 99, 0.08);
  transform: rotate(14deg);
}

.about-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 16px 16px;
  mask-image: linear-gradient(145deg, transparent 40%, black 100%);
  -webkit-mask-image: linear-gradient(145deg, transparent 40%, black 100%);
  opacity: 0.22;
}

.about-frame-top,
.about-frame-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 253, 248, 0.45);
  font-size: 0.55rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-frame-bottom {
  color: var(--lime);
  letter-spacing: 0.05em;
  text-transform: none;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.8rem;
}

.about-quote {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 3.8vw, 3.7rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.about-quote em {
  color: var(--lime);
}

@media (min-width: 721px) {
  .about-quote {
    max-width: calc(100% - 96px);
  }
}

.about-badge {
  position: absolute;
  right: -24px;
  top: 54%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  transform: rotate(9deg);
  box-shadow: var(--shadow-md);
}

.about-badge > span {
  font-size: 1.6rem;
  line-height: 1;
}

.about-badge small {
  font-size: 0.45rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.45;
}

.about-copy h2 {
  margin-top: 18px;
  font-size: clamp(2.5rem, 4.3vw, 4.1rem);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.about-copy > p:not(.eyebrow) {
  max-width: 480px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.7;
}

.about-list {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 520px;
}

.about-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.about-list li > span {
  padding-top: 2px;
  color: var(--ink-muted);
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-style: italic;
}

.about-list strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 650;
}

.about-list p {
  margin-top: 2px;
  color: var(--ink-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.about-copy .text-link {
  margin-top: 28px;
}

/* ---------- invite ---------- */
.invite-section {
  padding: 10px 0 clamp(70px, 9vw, 112px);
}

.invite-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  align-items: center;
  gap: 38px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--lime);
  padding: clamp(32px, 5vw, 62px);
}

.invite-card::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -40%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(18, 21, 15, 0.15);
}

.invite-card::after {
  content: "";
  position: absolute;
  right: -2%;
  top: -12%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px dashed rgba(18, 21, 15, 0.15);
}

.invite-copy {
  position: relative;
  z-index: 1;
}

.invite-copy .eyebrow {
  color: var(--ink-soft);
}

.invite-copy .eyebrow-dot {
  background: var(--ink);
  box-shadow: none;
}

.invite-copy h2 {
  margin-top: 18px;
  font-size: clamp(2.5rem, 4.6vw, 4.4rem);
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.invite-copy h2 em {
  font-family: var(--font-serif);
  font-weight: 400;
}

.invite-copy > p:not(.eyebrow) {
  max-width: 450px;
  margin-top: 18px;
  color: rgba(18, 21, 15, 0.68);
  font-size: 0.86rem;
  line-height: 1.6;
}

.invite-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  justify-self: end;
  width: 100%;
  max-width: 290px;
}

.invite-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 650;
  transition: background 0.25s ease, color 0.25s ease;
}

.invite-link:hover {
  background: var(--ink);
  color: var(--lime);
}

.invite-link svg {
  flex: 0 0 auto;
}

.invite-star {
  position: absolute;
  left: 47%;
  bottom: -53px;
  color: rgba(18, 21, 15, 0.08);
  font-size: 13rem;
  line-height: 1;
  transform: rotate(11deg);
  pointer-events: none;
}

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  border-radius: 38px 38px 0 0;
  background: var(--ink);
  color: var(--paper);
  padding-top: 62px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 46px;
}

.footer-brand > p {
  max-width: 290px;
  margin-top: 20px;
  color: rgba(255, 253, 248, 0.5);
  font-size: 0.78rem;
  line-height: 1.65;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, auto));
  gap: 60px;
}

.footer-nav > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-title {
  margin-bottom: 4px;
  color: rgba(255, 253, 248, 0.36);
  font-size: 0.57rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-nav a {
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.77rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--lime);
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  color: rgba(255, 253, 248, 0.38);
  font-size: 0.64rem;
  line-height: 1.65;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 253, 248, 0.3);
  font-size: 0.6rem;
  letter-spacing: 0.03em;
}

.footer-wordmark {
  margin-top: 8px;
  margin-bottom: -2.2vw;
  color: rgba(255, 253, 248, 0.045);
  font-family: var(--font-display);
  font-size: 21vw;
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.72;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

/* ---------- modal ---------- */
.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 24px;
  background: rgba(8, 10, 7, 0.72);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  animation: backdrop-in 0.25s ease both;
}

.product-modal {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: min(940px, 100%);
  max-height: min(92vh, 780px);
  overflow: hidden;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  animation: modal-in 0.42s var(--ease-out) both;
}

@keyframes backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  z-index: 5;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(18, 21, 15, 0.12);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, color 0.2s ease, transform 0.25s ease;
}

.modal-close:hover {
  background: var(--ink);
  color: var(--white);
  transform: rotate(90deg);
}

.modal-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--paper-deep);
}

.modal-media img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(10px, 2vw, 22px);
  background: var(--paper-deep);
}

.modal-media img.is-broken {
  opacity: 0;
}

.modal-badge {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  max-width: calc(100% - 90px);
  border-radius: 999px;
  background: var(--lime);
  padding: 8px 13px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.modal-badge:empty {
  display: none;
}

.modal-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  padding: clamp(30px, 4.5vw, 48px);
}

.modal-category {
  color: var(--ink-muted);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.modal-content h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.modal-description {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.68;
}

.modal-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.modal-price-label {
  display: block;
  color: var(--ink-muted);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-price {
  display: inline-block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
}

.modal-old-price {
  display: inline-block;
  margin-left: 8px;
  color: var(--ink-muted);
  font-size: 0.74rem;
  text-decoration: line-through;
}

.modal-price-note {
  flex: 0 0 auto;
  padding-bottom: 2px;
  color: var(--ink-muted);
  font-size: 0.58rem;
}

.modal-content .button {
  margin-top: 22px;
}

.modal-disclosure {
  margin-top: 12px;
  color: var(--ink-muted);
  font-size: 0.62rem;
  line-height: 1.5;
  text-align: center;
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
    gap: 28px;
    min-height: 640px;
  }

  .hero-title {
    font-size: clamp(3.5rem, 6.8vw, 5.9rem);
  }

  .hero-art {
    min-height: 570px;
  }

  .hero-product {
    width: min(300px, 64%);
    left: 3%;
  }

  .hero-stamp {
    width: 116px;
  }

  .hero-note {
    width: 215px;
    right: 0;
  }

  .hero-mini {
    left: 0;
    width: 138px;
  }

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

@media (max-width: 1020px) {
  .section-heading {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 30px;
  }

  .products-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .toolbar-right {
    width: 100%;
  }

  .search-field {
    flex: 1;
  }

  .search-field input {
    width: 100%;
  }

  .how-panel {
    grid-template-columns: 1fr;
  }

  .how-copy {
    max-width: 680px;
  }

  .how-steps {
    margin-top: 8px;
  }

  .about-grid {
    gap: 56px;
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 68px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 52px 28px;
    gap: 30px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-title {
    font-size: clamp(3.8rem, 10.5vw, 6.2rem);
  }

  .hero-text {
    max-width: 560px;
  }

  .hero-art {
    width: min(100%, 580px);
    min-height: 570px;
    margin: 0 auto;
  }

  .hero-disc {
    width: min(62vw, 450px);
  }

  .hero-product {
    width: min(320px, 53%);
    left: 9%;
    top: 3%;
  }

  .hero-stamp {
    right: 2%;
    top: 2%;
    width: 124px;
  }

  .hero-note {
    right: 2%;
    bottom: 8%;
    width: 225px;
  }

  .hero-mini {
    left: 2%;
    bottom: 1%;
  }

  .hero-vertical {
    display: none;
  }

  .hero-bottom {
    padding-bottom: 20px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-intro {
    max-width: 440px;
  }

  .section-heading h2 {
    font-size: clamp(2.9rem, 7.4vw, 4.4rem);
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 62px;
  }

  .about-visual {
    max-width: 420px;
    width: 82%;
  }

  .about-copy {
    max-width: 640px;
  }

  .footer-top {
    flex-direction: column;
    gap: 36px;
  }

  .footer-nav {
    gap: 60px;
  }

  .invite-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .invite-actions {
    justify-self: start;
    max-width: 330px;
  }

  .product-modal {
    grid-template-columns: 1fr;
    max-height: 88vh;
    overflow-y: auto;
  }

  .modal-media {
    min-height: 300px;
    max-height: 36vh;
  }

  .modal-content {
    padding: 28px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 64px;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .announcement-inner {
    justify-content: flex-start;
    min-height: 34px;
    padding-inline: 2px;
    font-size: 0.59rem;
    letter-spacing: 0.06em;
  }

  .brand-image img {
    height: 50px;
  }

  .footer-brand .brand-image img {
    height: 60px;
  }

  .mobile-menu {
    padding-inline: 16px;
  }

  .hero {
    background:
      radial-gradient(circle at 50% 72%, rgba(216, 255, 99, 0.24), transparent 28%),
      var(--paper);
  }

  .hero-grid {
    padding-top: 42px;
    padding-bottom: 18px;
    gap: 18px;
  }

  .hero-title {
    margin-top: 18px;
    font-size: clamp(3.2rem, 14.2vw, 4.7rem);
    line-height: 0.92;
  }

  .hero-text {
    margin-top: 22px;
    font-size: 0.93rem;
    line-height: 1.6;
  }

  .hero-actions {
    gap: 14px;
    margin-top: 26px;
  }

  .button {
    min-height: 48px;
    padding-inline: 21px;
    font-size: 0.84rem;
  }

  .hero-proof {
    gap: 9px 16px;
    margin-top: 30px;
    padding-top: 16px;
  }

  .hero-proof li {
    font-size: 0.59rem;
  }

  .hero-art {
    min-height: 440px;
    margin-top: 8px;
  }

  .hero-disc {
    width: min(82vw, 380px);
    top: 52%;
  }

  .hero-product {
    width: min(270px, 69%);
    left: 2%;
    top: 2%;
    padding: 10px;
    border-radius: 18px;
  }

  .hero-product-title {
    font-size: 0.98rem;
  }

  .hero-product-price strong {
    font-size: 0.87rem;
  }

  .hero-product-foot {
    padding-top: 11px;
  }

  .hero-stamp {
    width: 91px;
    right: 1%;
    top: 0;
  }

  .hero-note {
    display: none;
  }

  .hero-mini {
    left: 1%;
    bottom: 1%;
    width: 120px;
    padding: 12px;
  }

  .hero-mini-big {
    font-size: 1.05rem;
  }

  .hero-asterisk {
    right: 2%;
    bottom: 3%;
    width: 48px;
  }

  .hero-bottom {
    font-size: 0.56rem;
    padding: 15px 0 18px;
  }

  .hero-bottom a span {
    display: none;
  }

  .marquee-track {
    gap: 24px;
    padding: 12px 0;
  }

  .marquee-track span {
    font-size: 0.63rem;
  }

  .products-section {
    padding-top: 64px;
  }

  .products-toolbar {
    margin-top: 30px;
    padding-top: 15px;
    gap: 12px;
  }

  .category-filters {
    width: calc(100vw - 16px);
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-right: 16px;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .category-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex: 0 0 auto;
    min-height: 34px;
    padding-inline: 13px;
    font-size: 0.69rem;
  }

  .toolbar-right {
    gap: 6px;
  }

  .search-field {
    height: 38px;
    padding-inline: 12px;
  }

  .search-field input {
    font-size: 0.72rem;
  }

  .sort-field {
    height: 38px;
    padding-inline: 10px;
  }

  .sort-field select {
    max-width: 104px;
    font-size: 0.68rem;
  }

  .results-row {
    margin: 21px 0 14px;
  }

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

  .product-media {
    border-radius: 14px;
  }

  .product-flags {
    top: 8px;
    left: 8px;
    right: 8px;
  }

  .product-category-pill,
  .product-badge {
    padding: 5px 8px;
    font-size: 0.5rem;
  }

  .product-hover-arrow {
    display: none;
  }

  .product-title {
    font-size: 0.92rem;
  }

  .product-description {
    display: none;
  }

  .product-meta {
    margin-top: 8px;
    padding-top: 8px;
    align-items: center;
  }

  .product-price {
    font-size: 0.86rem;
  }

  .product-old-price {
    font-size: 0.62rem;
  }

  .product-offer {
    font-size: 0.56rem;
  }

  .product-offer svg {
    width: 12px;
    height: 12px;
  }

  .product-skeleton {
    border-radius: 14px;
  }

  .how-section {
    padding-bottom: 70px;
  }

  .how-panel {
    border-radius: 26px;
    padding: 28px 22px;
    gap: 30px;
  }

  .how-copy h2 {
    font-size: clamp(2.3rem, 10vw, 3.4rem);
  }

  .how-copy > p:not(.eyebrow) {
    margin-top: 16px;
    font-size: 0.82rem;
  }

  .how-steps li {
    grid-template-columns: 28px 40px minmax(0, 1fr);
    gap: 10px;
    padding: 16px 0;
  }

  .step-icon {
    width: 38px;
    height: 38px;
  }

  .step-icon svg {
    width: 23px;
    height: 23px;
  }

  .how-steps h3 {
    font-size: 1.03rem;
  }

  .how-steps p {
    font-size: 0.72rem;
  }

  .how-disclosure {
    font-size: 0.6rem;
  }

  .about-section {
    padding-top: 48px;
    padding-bottom: 60px;
  }

  .about-visual {
    width: 88%;
    max-width: 360px;
  }

  .about-badge {
    right: -15px;
    top: 55%;
    width: 96px;
    height: 96px;
  }

  .about-badge > span {
    font-size: 1.2rem;
  }

  .about-badge small {
    font-size: 0.38rem;
  }

  .about-copy h2 {
    font-size: clamp(2.25rem, 9.5vw, 3.2rem);
  }

  .about-copy > p:not(.eyebrow) {
    font-size: 0.85rem;
  }

  .about-list {
    margin-top: 22px;
  }

  .invite-section {
    padding-bottom: 70px;
  }

  .invite-card {
    border-radius: 26px;
    padding: 28px 22px 34px;
  }

  .invite-copy h2 {
    font-size: clamp(2.3rem, 10vw, 3.4rem);
  }

  .invite-link {
    min-height: 48px;
    font-size: 0.77rem;
  }

  .footer-top {
    gap: 32px;
    padding-bottom: 30px;
  }

  .footer-nav {
    gap: 36px;
    width: 100%;
  }

  .footer-bottom {
    padding: 20px 0;
  }

  .footer-legal {
    flex-direction: column;
    gap: 6px;
  }

  .site-footer {
    border-radius: 28px 28px 0 0;
    padding-top: 44px;
  }

  .footer-wordmark {
    font-size: 25vw;
    margin-bottom: -1vw;
  }

  .modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .product-modal {
    width: 100%;
    max-height: 93vh;
    border-radius: 22px 22px 0 0;
  }

  .modal-media {
    min-height: 248px;
    max-height: 31vh;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }

  .modal-content {
    padding: 22px 20px 28px;
  }

  .modal-content h2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .modal-description {
    font-size: 0.82rem;
    margin-top: 13px;
  }

  .modal-price {
    font-size: 1.65rem;
  }

  .modal-price-note {
    display: none;
  }

  .modal-content .button {
    margin-top: 18px;
  }
}

@media (max-width: 440px) {
  .hero-title {
    font-size: clamp(2.85rem, 14vw, 3.8rem);
  }

  .hero-art {
    min-height: 390px;
  }

  .hero-product {
    width: 72%;
    left: 1%;
  }

  .hero-disc {
    width: min(84vw, 330px);
  }

  .hero-stamp {
    width: 78px;
  }

  .hero-mini {
    display: none;
  }

  .hero-asterisk {
    width: 42px;
  }

  .hero-proof {
    gap: 7px 12px;
  }

  .hero-proof li {
    font-size: 0.55rem;
  }

  .hero-proof li svg {
    width: 13px;
    height: 13px;
  }

  .product-flags {
    display: block;
  }

  .product-badge {
    position: absolute;
    top: 24px;
    right: 0;
    max-width: 100%;
  }

  .product-category-pill {
    max-width: 100%;
  }

  .product-meta {
    display: block;
  }

  .product-offer {
    margin-top: 4px;
  }

  .footer-nav {
    gap: 24px;
  }
}
