/* NAZZANI — official static storefront
   Minimal editorial design; no build step required. */

:root {
  --bg: #f7f4ef;
  --bg-elevated: #fbf9f5;
  --surface: #ede8e1;
  --surface-deep: #dfd7cd;
  --ink: #151513;
  --muted: #69645c;
  --line: rgba(21, 21, 19, 0.12);
  --dark: #171715;
  --dark-muted: #c9c1b6;
  --white: #fffdfa;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --container: min(1240px, calc(100vw - 48px));
  --header-h: 78px;
  --shadow: 0 24px 80px rgba(24, 21, 17, 0.11);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open,
body.menu-open { overflow: hidden; }

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

a:hover { color: inherit; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

picture {
  display: block;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  cursor: pointer;
  background: transparent;
}

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

ul { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 15px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: none; }

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: clamp(76px, 9vw, 128px) 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: clamp(38px, 5vw, 62px);
}

.section-heading__copy {
  max-width: 660px;
}

.eyebrow {
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .96;
}

.section-title {
  margin-bottom: 17px;
  font-family: var(--serif);
  font-size: clamp(41px, 5.2vw, 72px);
  line-height: .98;
  font-weight: 400;
  letter-spacing: -.05em;
}

.section-subtitle {
  color: var(--muted);
  max-width: 510px;
  font-size: clamp(15px, 1.4vw, 17px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition: gap .25s var(--ease), opacity .25s ease;
}

.text-link:hover { gap: 18px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 142px;
  padding: 0 27px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  transition: transform .23s var(--ease), background .23s ease, color .23s ease, border-color .23s ease;
}

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

.button--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.button--dark:hover {
  background: #292723;
  border-color: #292723;
  color: var(--white);
}

.button--light {
  border-color: rgba(255,253,250,.46);
  color: var(--white);
}

.button--light:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.button--ghost {
  background: transparent;
}

/* Header */
.language-switch { display:inline-flex; align-items:center; gap:3px; flex:none; padding:4px; border:1px solid var(--line); border-radius:999px; color:var(--muted); font-size:11px; font-weight:600; letter-spacing:.06em; }
.language-switch a { min-width:35px; padding:7px 8px; border-radius:999px; text-align:center; transition:background .2s ease,color .2s ease; }
.language-switch a.is-active { background:var(--ink); color:var(--white); }
.language-switch--mobile { display:none; margin-top:17px; align-self:flex-start; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247, 244, 239, .72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(15px);
  transition: background .25s ease, border-color .25s ease;
}

.site-header.is-scrolled {
  background: rgba(247, 244, 239, .95);
  border-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: clamp(12px, 1.7vw, 28px);
}

.logo {
  flex: none;
  font-family: var(--sans);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: .27em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 24px);
}

.desktop-nav a:not(.button) {
  position: relative;
  color: #403d38;
  font-size: 13px;
}

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

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

.header-buy {
  min-height: 44px;
  min-width: 102px;
  padding: 0 20px;
}

.mobile-header-actions {
  display: none;
  align-items: center;
  gap: 9px;
}

.mobile-header-buy {
  min-height: 44px;
  min-width: auto;
  padding-inline: 19px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.menu-toggle span {
  width: 18px;
  height: 1px;
  background: var(--ink);
  transition: transform .25s var(--ease), opacity .2s ease;
}

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

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

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  inset-inline: 0;
  z-index: 99;
  padding: 17px 24px 30px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transform: translateY(-110%);
  visibility: hidden;
  transition: transform .35s var(--ease), visibility .35s ease;
}

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

.mobile-nav a {
  display: flex;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.15;
}

.mobile-nav .button {
  margin-top: 28px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  width: 100%;
}

/* Hero */
.hero {
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(32px, 5vw, 64px)) 0 clamp(34px, 5vw, 64px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(370px, .92fr) minmax(440px, .88fr);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
}

.hero-copy {
  padding-bottom: clamp(12px, 4vw, 48px);
}

.hero-brand {
  margin-bottom: clamp(23px, 4vw, 40px);
  font-size: 12px;
  letter-spacing: .4em;
  font-weight: 600;
}

.hero h1 {
  max-width: 600px;
  margin-bottom: clamp(24px, 3.2vw, 33px);
  font-size: clamp(62px, 7.2vw, 104px);
}

.hero-description {
  max-width: 432px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: clamp(47px, 7vw, 75px);
}

.hero-release {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
}

.hero-media {
  position: relative;
  align-self: stretch;
  min-height: min(76svh, 840px);
  overflow: hidden;
  border-radius: 3px;
  background: var(--surface);
}

.hero-media picture,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center top;
}

.hero-media::after {
  content: "NAZZANI / 2026";
  position: absolute;
  right: 24px;
  bottom: 23px;
  color: rgba(255, 253, 250, .88);
  font-size: 10px;
  letter-spacing: .29em;
  writing-mode: vertical-rl;
}

/* Ticker */
.brand-strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 20px 0;
  white-space: nowrap;
}

.brand-strip__track {
  display: inline-flex;
  min-width: max-content;
  animation: ticker 30s linear infinite;
}

.brand-strip span {
  padding-inline: 36px;
  color: #49453f;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .31em;
  text-transform: uppercase;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Collection */
.collection {
  padding-top: clamp(90px, 11vw, 144px);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 36px);
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-card__media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--surface);
}

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

.product-card:hover .product-card__media img {
  transform: scale(1.035);
}

.product-card__content {
  padding: 25px 0 0;
}

.product-card h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 37px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -.04em;
}

.product-card__description {
  color: var(--muted);
  margin-bottom: 7px;
}

.product-card__sizes {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 25px;
}

.product-card__buy {
  min-height: 49px;
}

/* Detail editorial grid */
.details {
  background: var(--bg-elevated);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.12fr .86fr .86fr;
  gap: clamp(12px, 2vw, 22px);
}

.detail-card {
  position: relative;
  overflow: hidden;
  min-height: clamp(340px, 42vw, 570px);
  background: var(--surface);
}

.detail-card:first-child {
  grid-row: span 2;
  min-height: clamp(550px, 69vw, 866px);
}

.detail-card picture,
.detail-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.detail-card img {
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.detail-card:hover img {
  transform: scale(1.035);
}

.detail-card__label {
  position: absolute;
  left: 18px;
  bottom: 17px;
  z-index: 2;
  padding: 9px 13px;
  background: rgba(247,244,239,.88);
  font-size: 12px;
  letter-spacing: .08em;
}

/* Material */
.material {
  background: #e9e2d8;
}

.material-grid {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(420px, 1fr);
  gap: clamp(36px, 8vw, 120px);
  align-items: start;
}

.material-copy h2 {
  margin-bottom: 23px;
}

.material-copy p:last-child {
  color: #5c574f;
  max-width: 475px;
}

.material-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(21,21,19,.18);
}

.material-feature {
  padding: 27px clamp(15px, 3vw, 27px) 10px 0;
}

.material-feature:not(:last-child) {
  border-right: 1px solid rgba(21,21,19,.18);
  margin-right: clamp(14px, 2vw, 27px);
}

.material-feature__title {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(29px, 3vw, 39px);
  line-height: 1;
  letter-spacing: -.045em;
}

.material-feature__text {
  color: #625d54;
  font-size: 14px;
}

/* Fit */
.fit-grid {
  display: grid;
  grid-template-columns: minmax(375px, .92fr) minmax(360px, .74fr);
  gap: clamp(42px, 8vw, 116px);
  align-items: center;
}

.fit-image {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--surface);
}

.fit-image picture,
.fit-image img {
  width: 100%;
  height: 100%;
}

.fit-image img {
  object-fit: cover;
}

.fit-copy h2 {
  margin-bottom: 26px;
}

.fit-copy__text {
  max-width: 432px;
  margin-bottom: 41px;
  color: var(--muted);
}

.fit-notes {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.fit-note {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.fit-note span:first-child {
  color: var(--muted);
}

/* Sizes */
.sizes {
  border-top: 1px solid var(--line);
}


.measurement-guide {
  display: grid;
  grid-template-columns: minmax(230px, 320px) 1fr;
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
  margin-bottom: clamp(34px, 5vw, 54px);
  padding: clamp(24px, 4vw, 38px);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}

.measurement-guide__image {
  width: 100%;
  height: auto;
  color: var(--ink);
}

.hoodie-outline {
  fill: #ede8e1;
  stroke: #151513;
  stroke-width: 2;
}

.hoodie-line {
  fill: none;
  stroke: #928b82;
  stroke-width: 1.6;
}

.measure {
  fill: none;
  stroke: #151513;
  stroke-width: 1.6;
  stroke-dasharray: 5 4;
}

.measurement-guide text {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  fill: #151513;
}

.measurement-guide__text h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(29px, 3vw, 38px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -.04em;
}

.measurement-guide__text p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
}

.measurement-guide__text strong {
  color: var(--ink);
}

.size-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 19px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.size-table {
  width: 100%;
  min-width: 630px;
  border-collapse: collapse;
  font-size: 14px;
}

.size-table th,
.size-table td {
  padding: 19px clamp(16px, 2vw, 24px);
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 400;
}

.size-table thead th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.size-table tbody th {
  font-weight: 500;
}

.size-table tbody tr:last-child th,
.size-table tbody tr:last-child td {
  border-bottom: 0;
}

.size-table tbody tr:hover {
  background: rgba(21,21,19,.025);
}

.size-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

/* Loyalty */
.loyalty {
  background: var(--dark);
  color: var(--white);
}

.loyalty-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(280px, .55fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: center;
}

.loyalty .eyebrow {
  color: var(--dark-muted);
}

.loyalty h2 {
  margin-bottom: 23px;
}

.loyalty-copy > p:not(.eyebrow) {
  max-width: 570px;
  margin-bottom: 33px;
  color: var(--dark-muted);
}

.loyalty-list {
  display: grid;
  gap: 14px;
  margin-bottom: 39px;
  color: #e3ddd4;
}

.loyalty-list li {
  display: flex;
  gap: 14px;
  align-items: center;
}

.loyalty-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.loyalty-qr {
  justify-self: end;
  text-align: center;
}

.loyalty-qr img {
  width: min(250px, 100%);
  margin-bottom: 18px;
  background: var(--white);
  padding: 12px;
}

.loyalty-qr p {
  max-width: 250px;
  color: var(--dark-muted);
  font-size: 13px;
}

.direct-order__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.direct-order__alternative {
  min-height: 44px;
  color: var(--dark-muted);
  font-size: 14px;
  border-bottom: 1px solid rgba(255,253,250,.46);
}

.direct-order__alternative:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

.direct-order__side {
  display: grid;
  gap: 32px;
  justify-items: end;
}

.direct-order__card {
  max-width: 354px;
  padding: clamp(28px, 4vw, 38px);
  border: 1px solid rgba(255,253,250,.2);
  background: rgba(255,253,250,.04);
}

.direct-order__label {
  margin-bottom: 24px;
  color: var(--dark-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.direct-order__steps {
  display: grid;
  gap: 23px;
  margin: 0;
  padding-left: 23px;
  color: #e3ddd4;
}

.direct-order__steps li {
  padding-left: 9px;
}

/* About */
.about {
  padding: clamp(95px, 12vw, 170px) 0;
  background: var(--dark);
  color: var(--white);
}

.about-text {
  max-width: 1040px;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 90px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.055em;
}

.about-description {
  max-width: 490px;
  margin: clamp(35px, 5vw, 53px) 0 0 auto;
  color: var(--dark-muted);
  font-size: clamp(15px, 1.3vw, 17px);
}

/* Final CTA */
.final-cta {
  text-align: center;
}

.final-cta__brand {
  margin-bottom: 21px;
  font-size: 12px;
  letter-spacing: .42em;
  font-weight: 600;
}

.final-cta h2 {
  margin-bottom: 28px;
  font-size: clamp(65px, 9vw, 116px);
}

.final-cta__description {
  max-width: 500px;
  margin: 0 auto 38px;
  color: var(--muted);
}

.final-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 66px) 0 29px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .85fr .95fr;
  gap: clamp(33px, 6vw, 85px);
  margin-bottom: clamp(45px, 6vw, 62px);
}

.footer-brand .logo {
  display: block;
  margin-bottom: 19px;
}

.footer-tagline {
  color: var(--muted);
  max-width: 220px;
  font-size: 14px;
}

.footer-title {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.footer-links a {
  transition: opacity .2s ease;
}

.footer-links a:hover {
  opacity: .54;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 23px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

/* Buy modal */
.modal[hidden] { display: none; }

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

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 21, 19, .44);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  width: min(470px, 100%);
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  padding: clamp(31px, 6vw, 47px);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
}

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

.modal h2 {
  margin: 11px 0 10px;
  font-family: var(--serif);
  font-size: clamp(38px, 7vw, 49px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: 1.04;
}

.modal__subtitle {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
}

.modal__products {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
}

.modal__product-tab {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.modal__product-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.modal__product-title {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

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

.modal__direct {
  display: grid;
  gap: 12px;
  margin-bottom: 6px;
}

.modal__direct-label {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.modal__divider {
  position: relative;
  margin: 10px 0 6px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.modal__divider::before {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline: 0;
  border-top: 1px solid var(--line);
}

.modal__divider span {
  position: relative;
  padding: 0 13px;
  background: var(--bg);
}

.modal__link--direct {
  min-height: 56px;
}

.modal__link {
  width: 100%;
}

/* Cookie banner — hidden unless counters are configured */
.cookie-banner[hidden] { display: none; }

.cookie-banner {
  position: fixed;
  left: clamp(15px, 4vw, 28px);
  bottom: clamp(15px, 4vw, 28px);
  z-index: 220;
  width: min(446px, calc(100vw - 30px));
  padding: 23px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cookie-banner p {
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 13px;
}

.cookie-actions {
  display: flex;
  gap: 9px;
}

.cookie-actions .button {
  min-height: 43px;
  min-width: 0;
  padding-inline: 18px;
}

/* Privacy and standalone pages */
.page-header {
  padding: calc(var(--header-h) + clamp(52px, 7vw, 92px)) 0 clamp(48px, 7vw, 82px);
  border-bottom: 1px solid var(--line);
}

.page-header h1 {
  max-width: 800px;
  font-size: clamp(53px, 8vw, 90px);
  margin-bottom: 22px;
}

.page-header p {
  max-width: 620px;
  color: var(--muted);
}

.legal-content {
  width: min(820px, var(--container));
  margin: 0 auto;
  padding: clamp(52px, 8vw, 88px) 0 clamp(80px, 10vw, 125px);
}

.legal-content h2 {
  margin: 48px 0 14px;
  font-family: var(--serif);
  font-size: clamp(29px, 3.5vw, 38px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.04em;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p,
.legal-content li {
  color: #4f4a43;
  margin-bottom: 14px;
}

.legal-content ul {
  padding-left: 21px;
  list-style: disc;
}

/* Reveal transitions */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 1040px) {
  :root {
    --container: min(100% - 40px, 860px);
    --header-h: 72px;
  }

  .desktop-nav,
  .language-switch--desktop { display: none; }
  .mobile-header-actions { display: inline-flex; }
  .language-switch--mobile { display: inline-flex; }
  .menu-toggle { display: inline-flex; }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy { padding-bottom: 0; }
  .hero-media {
    grid-row: 2;
    min-height: 0;
    aspect-ratio: 3 / 4;
  }

  .material-grid,
  .fit-grid,
  .loyalty-grid {
    grid-template-columns: 1fr;
  }

  .material-features {
    margin-top: 10px;
  }

  .fit-image {
    max-width: 630px;
  }

  .loyalty-qr {
    justify-self: start;
  }

  .direct-order__side {
    justify-items: start;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  :root {
    --container: calc(100vw - 32px);
    --header-h: 68px;
  }

  .section {
    padding: 72px 0;
  }

  .site-header {
    backdrop-filter: blur(10px);
  }

  .logo {
    font-size: 19px;
    letter-spacing: .23em;
  }

  .mobile-header-buy {
    min-height: 42px;
    padding-inline: 15px;
    font-size: 13px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 44px);
    padding-bottom: 34px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 38px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(50px, 17vw, 70px);
    max-width: 330px;
  }

  .hero-description {
    margin-bottom: 31px;
  }

  .hero-actions {
    margin-bottom: 42px;
  }

  .hero-actions .button {
    flex: 1 1 calc(50% - 7px);
    padding-inline: 17px;
  }

  .hero-media {
    width: 100%;
    aspect-ratio: 3 / 4;
  }

  .brand-strip {
    padding: 16px 0;
  }

  .brand-strip span {
    padding-inline: 25px;
    font-size: 10px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    margin-bottom: 34px;
  }

  .section-title {
    font-size: clamp(40px, 13vw, 53px);
  }

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

  .product-card__content {
    padding-top: 20px;
  }

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

  .detail-card,
  .detail-card:first-child {
    min-height: auto;
    aspect-ratio: 3 / 4;
    grid-row: auto;
  }

  .detail-card:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 4 / 5;
  }

  .detail-card__label {
    left: 10px;
    bottom: 10px;
    padding: 7px 9px;
    font-size: 11px;
  }

  .material-features {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .material-feature {
    padding: 20px 0;
    border-top: 1px solid rgba(21,21,19,.18);
  }

  .material-feature:not(:last-child) {
    border-right: 0;
    margin-right: 0;
  }

  .fit-grid {
    gap: 36px;
  }

  .fit-copy {
    order: -1;
  }

  .measurement-guide {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .measurement-guide__image {
    max-width: 310px;
    margin-inline: auto;
  }

  .size-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .about-text {
    font-size: clamp(42px, 13vw, 57px);
  }

  .about-description {
    margin-left: 0;
  }

  .final-cta h2 {
    font-size: clamp(55px, 17vw, 76px);
  }

  .final-cta__actions {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .modal__dialog {
    align-self: end;
    width: 100%;
    padding: 34px 22px 24px;
  }
}

.cookie-banner a {
  border-bottom: 1px solid currentColor;
  font-weight: 500;
}

.cookie-banner a:hover {
  opacity: .7;
}



/* V6 additions */
.product-card__price-block {
  margin: 18px 0 8px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-elevated);
}

.product-card__price-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.product-card__price {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.testimonials-grid,
.delivery-grid,
.club-grid,
.production-grid,
.embroidery-teaser__grid {
  display: grid;
  gap: 24px;
}

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

.testimonial-card,
.delivery-card,
.club-panel,
.production-card,
.embroidery-teaser__panel,
.embroidery-pricing {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--bg-elevated);
  overflow: hidden;
}

.testimonial-card__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--surface);
}

.testimonial-card__content {
  padding: 22px;
}

.testimonial-card__name {
  margin-bottom: 12px;
  font-weight: 600;
}

.testimonial-card__quote {
  color: var(--muted);
  line-height: 1.7;
}

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

.delivery-card {
  padding: 28px;
}

.delivery-card__title,
.club-panel__title,
.production-card__title,
.embroidery-teaser__title {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: clamp(28px, 2.3vw, 40px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.delivery-list,
.club-benefits,
.production-list,
.embroidery-list {
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.delivery-list li,
.club-benefits li,
.production-list li,
.embroidery-list li {
  position: relative;
  padding-left: 18px;
}

.delivery-list li::before,
.club-benefits li::before,
.production-list li::before,
.embroidery-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
}

.delivery-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.production-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  align-items: stretch;
}

.production-video {
  position: relative;
  min-height: 420px;
  background:
    linear-gradient(180deg, rgba(21,21,19,.08), rgba(21,21,19,.28)),
    url("/assets/images/hero.jpg") center/cover no-repeat;
  color: var(--white);
}

.production-video__inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 30px;
}

.production-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(255,255,255,.12);
  font-size: 24px;
  backdrop-filter: blur(8px);
}

.production-coming {
  max-width: 270px;
  text-align: right;
  font-size: 14px;
  line-height: 1.55;
}

.production-card {
  padding: 30px;
}

.club-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: stretch;
}

.club-panel {
  padding: 30px;
}

.club-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field__label {
  font-size: 13px;
  font-weight: 600;
}

.input,
.textarea,
.select {
  width: 100%;
  min-height: 50px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
}

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

.club-form__note,
.embroidery-form__note,
.embroidery-price__note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.embroidery-teaser__grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  align-items: start;
}

.embroidery-teaser__panel {
  padding: 30px;
}

.embroidery-teaser__visual {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface);
}

.embroidery-teaser__visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.embroidery-teaser__mark {
  position: absolute;
  top: 33%;
  left: 42%;
  transform: translate(-50%, -50%);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,253,250,.88);
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.embroidery-pricing {
  padding: 26px;
}

.embroidery-pricing__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.embroidery-pricing__row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.info-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(21,21,19,.05);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* embroidery page */
.embroidery-page main {
  padding-top: calc(var(--header-h) + 28px);
}

.embroidery-hero {
  padding: 34px 0 22px;
}

.embroidery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr);
  gap: 28px;
  align-items: start;
}

.embroidery-stage,
.embroidery-controls,
.embroidery-request {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--bg-elevated);
}

.embroidery-stage {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 20px;
}

.embroidery-preview {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface);
}

.embroidery-preview img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.embroidery-preview__text {
  position: absolute;
  top: 34%;
  left: 42%;
  transform: translate(-50%, -50%);
  max-width: 45%;
  color: #fffdfa;
  text-align: center;
  text-wrap: balance;
  letter-spacing: .03em;
  text-shadow: 0 2px 10px rgba(0,0,0,.22);
  pointer-events: none;
}

.embroidery-preview__pin {
  position: absolute;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 999px;
  border: 2px solid var(--white);
  background: var(--ink);
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

.embroidery-stage__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.embroidery-controls {
  padding: 26px;
  display: grid;
  gap: 24px;
}

.embroidery-section-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.12;
  letter-spacing: -.03em;
}

.control-row {
  display: grid;
  gap: 12px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

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

.choice-card,
.choice-pill,
.preset-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  transition: border-color .2s ease, transform .2s ease, background .2s ease, color .2s ease;
}

.choice-card,
.preset-card {
  padding: 14px;
  text-align: left;
}

.choice-pill {
  min-height: 50px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

.choice-card.is-active,
.choice-pill.is-active,
.preset-card.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.choice-card__title,
.preset-card__title {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.choice-card__meta,
.preset-card__meta {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.choice-card.is-active .choice-card__meta,
.preset-card.is-active .preset-card__meta {
  color: rgba(255,253,250,.72);
}

.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.color-swatch {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.1);
}

.color-swatch.is-active {
  border-color: var(--ink);
}

.color-swatch span {
  position: absolute;
  left: 50%;
  bottom: -24px;
  transform: translateX(-50%);
  font-size: 11px;
  white-space: nowrap;
  color: var(--muted);
}

.embroidery-price {
  padding: 18px 20px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line);
}

.embroidery-price__value {
  margin: 10px 0 6px;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 700;
  line-height: 1;
}

.embroidery-summary {
  padding: 18px 20px;
  border-radius: 22px;
  background: var(--white);
  border: 1px dashed rgba(21,21,19,.18);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.embroidery-request {
  margin-top: 28px;
  padding: 26px;
}

.embroidery-request__grid {
  display: grid;
  gap: 14px;
}

.embroidery-upload {
  padding: 16px;
  border: 1px dashed rgba(21,21,19,.26);
  border-radius: 20px;
  background: var(--white);
}

.embroidery-upload__name {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1040px) {
  .testimonials-grid,
  .delivery-grid,
  .club-grid,
  .production-grid,
  .embroidery-teaser__grid,
  .embroidery-layout {
    grid-template-columns: 1fr;
  }

  .embroidery-stage {
    position: static;
  }
}

@media (max-width: 720px) {
  .testimonials-grid,
  .choice-grid,
  .choice-grid--three {
    grid-template-columns: 1fr;
  }

  .delivery-card,
  .club-panel,
  .production-card,
  .embroidery-teaser__panel,
  .embroidery-pricing,
  .embroidery-controls,
  .embroidery-request {
    padding: 22px;
  }
}

/* V7 navigation */
.desktop-nav .header-buy {
  min-width: auto;
  padding-inline: 22px;
}

@media (max-width: 1040px) {
  .mobile-header-buy {
    min-width: auto;
    padding-inline: 16px;
    font-size: 13px;
  }
}

@media (max-width: 430px) {
  .mobile-header-buy {
    max-width: 152px;
    line-height: 1.15;
    white-space: normal;
    text-align: center;
  }
}


/* V8 — Zara-inspired NAZZANI embroidery editor */
.edit-page {
  background: #fff;
}

.edit-page .site-header {
  background: rgba(255,255,255,.94);
}

.edit-page main {
  padding-top: var(--header-h);
}

.edit-layout {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: minmax(390px, 1.06fr) minmax(370px, .94fr);
}

.edit-visual {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  background: #f6f6f6;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.edit-visual__back {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 4;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.edit-product {
  position: relative;
  width: min(70%, 570px);
}

.edit-product > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.edit-mark {
  position: absolute;
  left: 43%;
  top: 34%;
  transform: translate(-50%, -50%);
  color: #fffdfa;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .05em;
  text-shadow: 0 1px 4px rgba(0,0,0,.22);
  white-space: nowrap;
  max-width: 44%;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

.edit-mark--serif { font-family: var(--serif); font-weight: 500; }
.edit-mark--sans { font-family: var(--sans); }
.edit-mark--script { font-family: "Brush Script MT", "Segoe Script", cursive; font-weight: 400; }
.edit-mark--small { font-size: clamp(12px, 1.5vw, 17px); }
.edit-mark--large { font-size: clamp(19px, 2.3vw, 29px); }

.edit-icon-preview {
  position: absolute;
  left: 43%;
  top: 34%;
  transform: translate(-50%, -50%);
  display: none;
  width: clamp(25px, 4vw, 45px);
  height: clamp(25px, 4vw, 45px);
  color: #fffdfa;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.2));
  pointer-events: none;
}

.edit-icon-preview.is-visible { display: block; }

.edit-panel {
  position: relative;
  padding: clamp(42px, 7vw, 92px) clamp(34px, 7vw, 92px) 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.edit-close {
  position: absolute;
  right: clamp(22px, 4vw, 46px);
  top: 28px;
  font-size: 26px;
  font-weight: 300;
}

.edit-label {
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.edit-title {
  margin-bottom: 4px;
  font-size: 13px;
  color: var(--muted);
}

.edit-tabs {
  display: flex;
  gap: 22px;
  margin: 30px 0 27px;
  border-bottom: 1px solid transparent;
}

.edit-tab {
  position: relative;
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.edit-tab.is-active {
  color: var(--ink);
}

.edit-tab.is-active::after {
  content: "";
  position: absolute;
  height: 1px;
  inset: auto 0 0;
  background: var(--ink);
}

.edit-pane { display: none; min-height: 225px; }
.edit-pane.is-active { display: block; }

.edit-text-input {
  width: 100%;
  max-width: 350px;
  padding: 0 0 11px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  font-size: 17px;
  background: transparent;
}

.edit-counter {
  margin: 8px 0 22px;
  color: var(--muted);
  font-size: 11px;
}

.edit-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.edit-tool {
  min-width: 30px;
  min-height: 32px;
  padding: 3px 6px;
  border: 1px solid transparent;
  font-size: 15px;
  color: var(--muted);
}

.edit-tool.is-active {
  border-color: var(--ink);
  color: var(--ink);
}

.edit-subtitle {
  margin: 23px 0 11px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

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

.edit-placement {
  padding: 9px 12px;
  border: 1px solid var(--line);
  font-size: 12px;
}

.edit-placement.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.edit-icons {
  display: grid;
  grid-template-columns: repeat(8, 35px);
  gap: 9px;
  max-height: 173px;
  overflow-y: auto;
  padding-right: 8px;
}

.edit-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  color: var(--ink);
  background: transparent;
  font-size: 19px;
}

.edit-icon.is-active {
  border-color: var(--ink);
}

.edit-upload {
  margin-top: 19px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.edit-upload input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  opacity: 0;
}

.edit-upload__button {
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  padding-bottom: 3px;
}

.edit-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 410px;
}

.edit-swatch {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(21,21,19,.15);
  box-shadow: 0 0 0 4px transparent;
}

.edit-swatch.is-active {
  box-shadow: 0 0 0 1px #fff, 0 0 0 2px var(--ink);
}

.edit-color-name {
  margin-top: 20px;
  font-size: 13px;
}

.edit-price-note {
  margin-top: 28px;
  max-width: 390px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.edit-footer {
  margin-top: 35px;
}

.edit-add {
  min-width: 170px;
  min-height: 48px;
  border: 1px solid var(--ink);
  padding: 0 22px;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.edit-add:hover {
  background: var(--ink);
  color: #fff;
}

.edit-request {
  margin-top: 26px;
  display: none;
  max-width: 410px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.edit-request.is-visible { display: block; }

.edit-form {
  display: grid;
  gap: 12px;
}

.edit-form input,
.edit-form textarea {
  width: 100%;
  min-height: 45px;
  border: 1px solid var(--line);
  padding: 12px;
  background: transparent;
}

.edit-form textarea {
  min-height: 80px;
  resize: vertical;
}

.edit-form__hint {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.edit-form .button {
  min-height: 46px;
  border-radius: 0;
  font-size: 12px;
}

@media (max-width: 920px) {
  .edit-layout {
    display: block;
  }

  .edit-visual {
    min-height: auto;
    padding: 26px 0 18px;
  }

  .edit-visual__back {
    display: none;
  }

  .edit-product {
    width: min(78%, 470px);
  }

  .edit-panel {
    padding: 34px 24px 45px;
    justify-content: start;
  }

  .edit-close {
    top: 21px;
    right: 22px;
  }

  .edit-icons {
    grid-template-columns: repeat(7, 35px);
  }
}

@media (max-width: 440px) {
  .edit-tabs { gap: 17px; }
  .edit-icons { grid-template-columns: repeat(6, 35px); }
}


/* V9 — area-based embroidery + AI concept mode */
.edit-product {
  max-width: 680px;
}

.edit-photo-frame {
  position: relative;
}

.edit-area-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.edit-area-box {
  position: absolute;
  border: 2px solid rgba(21,21,19,.75);
  box-shadow: 0 0 0 1px rgba(255,255,255,.85) inset;
  background: rgba(255,255,255,.05);
  transition: .18s ease;
  pointer-events: none;
}

.edit-area-box__label {
  position: absolute;
  left: 50%;
  top: -21px;
  transform: translateX(-50%);
  padding: 0 6px;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: .02em;
}

.edit-area-box[data-area-theme="dark"] {
  border-color: #121212;
}

.edit-area-box[data-area-theme="dark"] .edit-area-box__label {
  color: #121212;
}

.edit-area-box[data-area-theme="red"] {
  border-color: #e53935;
  box-shadow: 0 0 0 1px rgba(229,57,53,.06) inset;
}

.edit-area-box[data-area-theme="red"] .edit-area-box__label {
  color: #e53935;
}

.edit-area-box.is-active {
  background: rgba(255,255,255,.18);
  transform: scale(1.01);
}

.edit-mark,
.edit-icon-preview {
  max-width: 100%;
  width: auto;
  white-space: normal;
  text-align: center;
}

.edit-mark {
  max-width: 100%;
  overflow: hidden;
  text-overflow: clip;
}

.edit-mark[data-area="area-1"] { width: 86%; }
.edit-mark[data-area="area-2"] { width: 86%; }
.edit-mark[data-area="area-3"] { width: 78%; }

.edit-icon-preview {
  align-items: center;
  justify-content: center;
  display: none;
}

.edit-icon-preview.is-visible {
  display: flex;
}

.edit-icon-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.edit-area-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.edit-ai-box {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.edit-ai-box__title {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.edit-ai-input {
  width: 100%;
  max-width: 380px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 14px;
}

.edit-ai-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.edit-ai-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.edit-ai-hint {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.edit-request-summary {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}


/* V10 — hide areas until selection */
.edit-area-box {
  opacity: 0;
  visibility: hidden;
}

.edit-area-box.is-active {
  opacity: 1;
  visibility: visible;
}

.edit-mark.is-hidden,
.edit-icon-preview.is-hidden,
.edit-icon-preview[data-preview-design].is-hidden {
  display: none !important;
}


/* V11 — clean invisible embroidery zones */
.edit-area-layer,
.edit-area-box,
.edit-area-box__label {
  display: none !important;
}

.edit-mark,
.edit-icon-preview,
.edit-icon-preview[data-preview-design] {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  overflow: hidden;
  pointer-events: none;
}

.edit-mark {
  line-height: 1.1;
  padding: 2px 6px;
  text-shadow: 0 1px 3px rgba(0,0,0,.14);
}

.edit-mark[data-area="area-1"],
.edit-mark[data-area="area-2"],
.edit-mark[data-area="area-3"] {
  max-width: none;
}

.edit-icon-preview {
  font-size: 28px;
}

.edit-icon-preview img,
img.edit-icon-preview {
  object-fit: contain;
  padding: 4px;
}

.edit-mark.is-hidden,
.edit-icon-preview.is-hidden,
.edit-icon-preview[data-preview-design].is-hidden {
  display: none !important;
}


/* V13 — verified reviews without placeholder customer photos */
.verified-reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.verified-review {
  display: flex;
  flex-direction: column;
  min-height: 265px;
  padding: clamp(26px, 3.5vw, 38px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--bg-elevated);
}

.verified-review__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.verified-review__name {
  font-size: 18px;
  font-weight: 600;
}

.verified-review__source {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(21, 21, 19, .05);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.verified-review__quote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(23px, 2.4vw, 31px);
  line-height: 1.33;
  letter-spacing: -.03em;
}

.verified-review__label {
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 13px;
}

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

.verified-review__tags span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
}

.verified-review__translated {
  margin-top: auto;
  padding-top: 25px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 760px) {
  .verified-reviews-grid {
    grid-template-columns: 1fr;
  }

  .verified-review {
    min-height: 0;
  }
}


/* V14 — customer photo gallery and expanded verified reviews */
.customer-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, clamp(180px, 22vw, 300px));
  gap: 12px;
  margin-bottom: 14px;
}

.customer-photo {
  overflow: hidden;
  margin: 0;
  border-radius: 20px;
  background: var(--surface);
}

.customer-photo--wide {
  grid-column: span 2;
  grid-row: span 2;
}

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

.customer-photo-note {
  margin-bottom: clamp(32px, 5vw, 52px);
  color: var(--muted);
  font-size: 13px;
}

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

.verified-reviews-grid--four .verified-review {
  min-height: 0;
}

.verified-reviews-grid--four .verified-review__quote {
  font-size: clamp(19px, 1.85vw, 25px);
}

.verified-reviews-grid--four .verified-review__tags {
  margin-top: 22px;
}

@media (max-width: 760px) {
  .customer-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .customer-photo--wide {
    grid-column: span 2;
    grid-row: auto;
    aspect-ratio: 4 / 5;
  }

  .customer-photo:not(.customer-photo--wide) {
    aspect-ratio: 3 / 4;
  }

  .verified-reviews-grid--four {
    grid-template-columns: 1fr;
  }
}

.is-hidden-section{display:none!important;}
.product-card__content .product-card__buy{margin-top:12px;width:100%;}
.mobile-sticky-buy{display:none;}
.video-soon-cover{display:flex;align-items:center;justify-content:center;}
@media (max-width: 760px){
  .hero-actions{flex-direction:column;align-items:stretch;}
  .hero-actions .button{width:100%;}
  .product-grid{grid-template-columns:1fr!important;}
  .customer-photo-grid{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px;}
  .customer-photo{min-width:78%;scroll-snap-align:start;}
  .section{padding:56px 0;}
  body{padding-bottom:72px;}
  .mobile-sticky-buy{display:flex;position:fixed;left:16px;right:16px;bottom:14px;z-index:120;box-shadow:0 12px 40px rgba(0,0,0,.18);}
}
