/* ============================================================
   KHAYAE — Editorial luxury e-commerce
   Design system: Orchid palette + Cormorant / Jost
   ============================================================ */

@font-face {
  font-family: 'Junicode';
  src: url('./Fonts/Junicode.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Junicode';
  src: url('./Fonts/Junicode-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Junicode';
  src: url('./Fonts/Junicode-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Junicode';
  src: url('./Fonts/Junicode-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: 'Work Sans';
  src: url('./Fonts/WorkSans-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: 'Work Sans';
  src: url('./Fonts/WorkSans-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
}

:root {
  --black: black;
  /* ---- Orchid palette ---- */
  --paper: #f4ede6;
  /* orchid white — primary ground */
  --paper-2: #ece2d7;
  /* deeper paper for alternating sections */
  --paper-3: #e4d8cb;
  --white: #fbf9f6;
  /* solid white, warmed */
  --ink: #211e1a;
  /* near-black */
  --ink-soft: #463f38;
  --stone: #8c8073;
  /* muted text */
  --stone-2: #a89c8d;
  --line: #d9cec0;
  /* hairlines */
  --line-soft: #e5dccf;

  --peach: #e7c9c0;
  --peach-deep: #d3a293;
  --mint: #cdd8c3;
  --mint-deep: #a6ba96;
  --brown: #6b5d4f;
  /* peduncle */
  --brown-deep: #534739;

  /* ---- Type ---- */
  --serif: "Junicode", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", system-ui, -apple-system, sans-serif;

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.33, 0.0, 0.12, 1);
  --slow: 1.1s;
  --med: 0.6s;
  --fast: 0.32s;

  /* ---- Layout ---- */
  --maxw: 1440px;
  --gutter: clamp(20px, 5vw, 72px);
  --nav-h: 76px;
  --announce-h: 0px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: var(--brown);
  color: var(--paper);
}

/* ---------- Loading splash ---------- */
#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.splash__bg {
  position: absolute;
  inset: 0;
  background: var(--paper);
  transform-origin: top;
  animation: splashBgOut 0.8s var(--ease) 5.4s forwards;
  overflow: hidden;
}

.splash__img {
  position: absolute;
  inset: 0;
  background-image: url('./Renalkun.webp');
  background-size: cover;
  background-position: center;
  animation: splashZoom 6s ease-out forwards;
}


@keyframes splashZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08);
  }
}

.splash__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  animation: splashContentOut 0.7s var(--ease) 5.1s forwards;
}

#splash .splash-logo {
  width: 180px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0;
  transform: translateY(12px) scale(0.95);
  animation: splashFadeIn 0.9s var(--ease) 0.15s forwards;
}

.splash__tagline {
  font-family: var(--serif);
  font-size: clamp(26px, 4.5vw, 36px);
  font-style: italic;
  color: #ffffff;
  display: flex;
  gap: 6px;
  overflow: hidden;
  padding-bottom: 4px;
}

.splash__tagline .word {
  opacity: 0;
  transform: translateY(100%);
}

.splash__tagline .word:nth-child(1) {
  animation: splashWordUp 0.8s var(--ease) 0.5s forwards;
}

.splash__tagline .word:nth-child(2) {
  animation: splashWordUp 0.8s var(--ease) 0.6s forwards;
}

.splash__tagline .word:nth-child(3) {
  animation: splashWordUp 0.8s var(--ease) 0.7s forwards;
}

@keyframes splashFadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes splashWordUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes splashContentOut {
  to {
    opacity: 0;
    transform: scale(1.04) translateY(-10px);
  }
}

@keyframes splashBgOut {
  to {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  #splash,
  .splash__bg,
  .splash__content,
  #splash .splash-logo,
  .splash__tagline .word {
    animation: none;
    display: none;
  }
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

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

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.display-i {
  font-style: italic;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--stone);
}

.lede {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 30px);
  font-style: italic;
  line-height: 1.4;
  color: var(--ink-soft);
  font-weight: 400;
}

.body-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  font-weight: 300;
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.wrap-wide {
  max-width: 1680px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-block: clamp(64px, 9vw, 140px);
}

.center {
  text-align: center;
}

/* Reveal on scroll — transform-only so content is ALWAYS visible even if the
   motion timeline never advances (opacity is never used as a visibility gate) */
.reveal {
  opacity: 1;
  transform: translateY(20px);
  transition: transform 1s var(--ease);
}

.reveal.in {
  transform: none;
}

.reveal.d1 {
  transition-delay: 0.08s;
}

.reveal.d2 {
  transition-delay: 0.16s;
}

.reveal.d3 {
  transition-delay: 0.24s;
}

.reveal.d4 {
  transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================================
   LOGO MARK
   ============================================================ */
.mark {
  display: inline-flex;
  line-height: 0;
  color: inherit;
}

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

.mark .st0 {
  fill: currentColor;
}

/* ============================================================
   PLACEHOLDER (image-filled / film loop)
   ============================================================ */
.ph {
  position: relative;
  overflow: hidden;
  background: var(--paper-3);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.ph__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

.ph--peach {
  background: var(--peach);
}

.ph--mint {
  background: var(--mint);
}

.ph--brown {
  background: var(--brown);
}

.ph--ink {
  background: #2a2622;
}

.ph--paper2 {
  background: var(--paper-2);
}

.ph__label {
  position: relative;
  z-index: 3;
  margin: 14px;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown);
  background: rgba(251, 249, 246, 0.66);
  backdrop-filter: blur(3px);
  padding: 5px 10px;
  border: 1px solid rgba(107, 93, 79, 0.16);
}

.ph--brown .ph__label,
.ph--ink .ph__label {
  color: var(--paper);
  background: rgba(0, 0, 0, 0.22);
  border-color: rgba(255, 255, 255, 0.22);
}

.ph__play {
  position: absolute;
  z-index: 3;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.ph__play svg {
  width: 22px;
  height: 22px;
}

/* film-loop motion */
.ph--video .ph__img {
  animation: kenburns 26s var(--ease) infinite alternate;
}

@keyframes kenburns {
  from {
    transform: scale(1.05) translate(0, 0);
  }

  to {
    transform: scale(1.16) translate(-2.5%, -2%);
  }
}

.ph__sheen {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.16) 50%, transparent 58%);
  transform: translateX(-65%);
  animation: phsheen 8s var(--ease) infinite;
}

@keyframes phsheen {

  0%,
  100% {
    transform: translateX(-65%);
  }

  50% {
    transform: translateX(65%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ph--video .ph__img {
    animation: none;
  }

  .ph__sheen {
    animation: none;
    opacity: 0;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 34px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  background: transparent;
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--light {
  background: var(--paper);
  color: #211e1a;
  border-color: var(--paper);
}

.btn--light:hover {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}

.btn--ghost-light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(251, 249, 246, 0.5);
}

.btn--ghost-light:hover {
  background: var(--paper);
  color: #211e1a;
  border-color: var(--paper);
}

.btn--brown {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--paper);
}

.btn--brown:hover {
  background: transparent;
  color: var(--brown);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  padding: 12px 24px;
  font-size: 10.5px;
}

/* Underline link */
.link-ul {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  color: var(--ink);
}

.link-ul::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform var(--med) var(--ease);
}

.link-ul:hover::after {
  transform: scaleX(0);
  transform-origin: left;
}

.link-ul--reverse::after {
  transform: scaleX(0);
  transform-origin: left;
}

.link-ul--reverse:hover::after {
  transform: scaleX(1);
  transform-origin: right;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: var(--announce-h);
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--med) var(--ease), border-color var(--med) var(--ease), color var(--med) var(--ease);
  border-bottom: 1px solid transparent;
}

.nav__inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav--over {
  color: var(--paper);
}

.nav--solid {
  background: var(--paper);
  color: var(--ink);
  border-bottom-color: var(--line);
}

.nav--solid .nav__link::after {
  background: currentColor;
}

.nav__logo {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  letter-spacing: 0.02em;
  line-height: 1;
}

.nav__mark {
  width: 50px;
  height: 50px;
}

.nav--solid .nav__mark {
  color: var(--brown);
}

.nav--over .nav__mark {
  color: var(--paper);
}

.nav__group {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav__group--right {
  justify-content: flex-end;
}

.nav__link {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  padding: 4px 0;
  transition: opacity var(--fast);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--med) var(--ease);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__icon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav__icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.2;
}

.nav__cartcount {
  font-size: 10px;
}

.nav__burger {
  display: none;
  width: 24px;
  height: 14px;
  position: relative;
}

.nav__burger span {
  position: absolute;
  left: 0;
  height: 1px;
  width: 100%;
  background: currentColor;
  transition: transform var(--fast), top var(--fast);
}

.nav__burger span:nth-child(1) {
  top: 0;
}

.nav__burger span:nth-child(2) {
  top: 13px;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  transition: transform var(--med) var(--ease);
  padding: 28px var(--gutter);
}

.mobile-menu.open {
  transform: none;
}

.mobile-menu__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu__top .nav__mark {
  color: var(--brown);
}

.mobile-menu__close {
  font-size: 26px;
  font-family: var(--serif);
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8vh;
}

.mobile-menu__links a {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.25;
}

.mobile-menu__links a .num {
  font-family: var(--sans);
  font-size: 11px;
  vertical-align: super;
  color: var(--stone);
  margin-right: 14px;
  letter-spacing: 0.1em;
}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announce {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 250;
}

@media (max-width: 620px) {
  .announce {
    font-size: 8.5px;
    letter-spacing: 0.14em;
    padding: 0 12px;
  }
}

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.pcard {
  cursor: pointer;
  display: block;
}

.pcard__media {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--paper-3);
}

.pcard__media .ph {
  position: absolute;
  inset: 0;
  transition: transform 1.4s var(--ease);
}

.pcard:hover .pcard__media .ph {
  transform: scale(1.045);
}

.pcard__media .ph.alt {
  opacity: 0;
  transition: opacity var(--med) var(--ease), transform 1.4s var(--ease);
}

.pcard:hover .pcard__media .ph.alt {
  opacity: 1;
}

.pcard__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--paper);
  color: var(--ink);
  padding: 5px 10px;
}

.pcard__tag--brown {
  background: var(--brown);
  color: var(--paper);
}

.pcard__quick {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  padding: 14px;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform var(--med) var(--ease);
}

.pcard:hover .pcard__quick {
  transform: none;
}

.pcard__info {
  padding-top: 16px;
}

.pcard__name {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.15;
}

.pcard__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 4px;
  gap: 12px;
}

.pcard__price {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.pcard__cat {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

/* Product grid */
.pgrid {
  display: grid;
  gap: clamp(20px, 2.4vw, 40px) clamp(16px, 1.8vw, 28px);
}

.pgrid--4 {
  grid-template-columns: repeat(4, 1fr);
}

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

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

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(56px, 7vw, 96px);
}

.footer a {
  color: var(--paper);
  opacity: 0.72;
  transition: opacity var(--fast);
  font-size: 13px;
  cursor: pointer;
}

.footer a:hover {
  opacity: 1;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer__brand {
  font-family: var(--serif);
  font-style: italic;
  font-size: 40px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer__mark {
  width: 40px;
  height: 40px;
  color: var(--peach);
}

.footer__col h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  opacity: 0.6;
  margin-bottom: 18px;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer__news {
  margin-top: 22px;
  max-width: 340px;
}

.footer__news-row {
  display: flex;
  border-bottom: 1px solid rgba(251, 249, 246, 0.3);
  padding-bottom: 8px;
  margin-top: 14px;
}

.footer__news-row input {
  flex: 1;
  background: none;
  border: none;
  color: var(--paper);
  padding: 6px 0;
  letter-spacing: 0.04em;
}

.footer__news-row input::placeholder {
  color: rgba(251, 249, 246, 0.5);
}

.footer__news-row button {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer__bottom {
  border-top: 1px solid rgba(251, 249, 246, 0.16);
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(251, 249, 246, 0.6);
}

/* ============================================================
   PAGE / VIEW transition
   ============================================================ */
.view {
  animation: viewIn var(--med) var(--ease);
}

@keyframes viewIn {
  from {
    transform: translateY(6px);
  }

  to {
    transform: none;
  }
}

.page-top {
  padding-top: calc(var(--nav-h) + var(--announce-h) + clamp(36px, 5vw, 80px));
}

/* Breadcrumb */
.crumb {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  display: flex;
  gap: 8px;
}

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

/* ============================================================
   DROPDOWN / CART DRAWER
   ============================================================ */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(33, 30, 26, 0.4);
  z-index: 350;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--med) var(--ease);
}

.scrim.show {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  background: var(--paper);
  z-index: 360;
  transform: translateX(100%);
  transition: transform var(--med) var(--ease);
  display: flex;
  flex-direction: column;
}

.drawer.open {
  transform: none;
}

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

.drawer__title {
  font-family: var(--serif);
  font-size: 26px;
}

.drawer__close {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px var(--gutter);
}

.drawer__foot {
  border-top: 1px solid var(--line);
  padding: 22px var(--gutter);
}

/* Cart line item */
.cline {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}

.cline__media {
  aspect-ratio: 3/4;
}

.cline__name {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.1;
}

.cline__attr {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--stone);
  margin-top: 5px;
}

.cline__price {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 8px;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
}

.qty button {
  width: 28px;
  height: 28px;
  font-size: 14px;
}

.qty span {
  min-width: 26px;
  text-align: center;
  font-size: 12px;
}

.cline__remove {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 8px;
}

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

.summ-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 7px 0;
  color: var(--ink-soft);
}

.summ-row--total {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 16px;
}

/* ============================================================
   FORMS
   ============================================================ */
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.field label {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}

.field input,
.field select,
.field textarea {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 14px 16px;
  font-size: 14px;
  transition: border-color var(--fast);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brown);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

/* size / option pills */
.opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.opt {
  min-width: 48px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  transition: all var(--fast);
  background: var(--white);
}

.opt:hover {
  border-color: var(--brown);
}

.opt.sel {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.opt.sw {
  width: 30px;
  height: 30px;
  min-width: 0;
  padding: 0;
  border-radius: 50%;
  position: relative;
}

.opt.sw.sel {
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink);
  border-color: transparent;
}

/* ============================================================
   STEPPER
   ============================================================ */
.stepper {
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}

.stepper .step.active {
  color: var(--ink);
}

.stepper .step.done {
  color: var(--brown);
}

.stepper .sep {
  width: 28px;
  height: 1px;
  background: var(--line);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .pgrid--4 {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 860px) {
  .nav__desk {
    display: none !important;
  }

  .nav__burger {
    display: block;
  }

  .nav__inner {
    grid-template-columns: 1fr auto 1fr;
  }

  .nav__group--right {
    gap: 18px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }

  .nav__logo {
    font-size: 24px;
  }

  .pgrid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pgrid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .field-row,
  .field-row-3 {
    grid-template-columns: 1fr;
  }

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

  .lede {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .pgrid--2 {
    grid-template-columns: 1fr;
  }

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