@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap");

:root {
  --aqua: #0bc5d3;
  --aqua-deep: #0899a6;
  --aqua-glow: rgba(11, 197, 211, 0.16);
  --shark: #26272e;
  --shark-2: #32343c;
  --ink: #141518;
  --paper: #f3efe8;
  --paper-2: #e8e2d6;
  --mist: #9a9b9f;
  --line: rgba(38, 39, 46, 0.12);
  --line-light: rgba(250, 250, 248, 0.12);
  --white: #fafaf8;
  --danger: #b85c4c;
  --font: "Outfit", "Futura", "Century Gothic", sans-serif;
  --container: 1180px;
  --wide: 1360px;
  --header: 76px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--shark);
  background: var(--paper);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

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

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

button {
  cursor: pointer;
}

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

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

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.container-wide {
  width: min(calc(100% - 48px), var(--wide));
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--aqua-deep);
}

.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--aqua);
}

.kicker.light {
  color: var(--aqua);
}

.kicker.light::before {
  background: var(--aqua);
}

.display {
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.lead {
  font-size: 1.05rem;
  color: #4a4c53;
  max-width: 52ch;
  font-weight: 300;
}

.muted {
  color: var(--mist);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transition: 0.35s var(--ease);
  background: var(--shark);
  color: var(--white);
}

.btn:hover {
  background: #111216;
}

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

.btn-aqua:hover {
  background: #2ed3df;
}

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

.btn-ghost:hover {
  background: var(--shark);
  color: var(--white);
}

.btn-ghost-light {
  background: transparent;
  border-color: rgba(250, 250, 248, 0.4);
  color: var(--white);
}

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

.btn-line {
  background: none;
  border: 0;
  padding: 0;
  height: auto;
  letter-spacing: 0.14em;
  color: var(--shark);
  border-bottom: 1px solid var(--aqua);
  border-radius: 0;
}

.btn-line:hover {
  color: var(--aqua-deep);
}

/* Topbar + header */
.topbar {
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  align-items: center;
}

.topbar a:hover {
  color: var(--aqua);
}

.staff-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #ffd400;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.staff-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 42px;
  padding-block: 6px;
}

.staff-bar-who {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.staff-bar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.staff-bar-nav a,
.staff-bar-nav .is-here {
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  padding: 6px 12px;
  line-height: 1;
  text-decoration: none;
}

.staff-bar-nav a:hover {
  background: var(--shark);
  color: var(--white);
}

.staff-bar-nav .is-here {
  background: rgba(20, 21, 24, 0.55);
}

body.has-staff-bar .site-header {
  top: 42px;
}

.topbar-ship {
  line-height: 1.35;
}

.topbar-links {
  display: flex;
  gap: 22px;
  flex-shrink: 0;
}

.topbar-phone,
.topbar-email {
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 21, 24, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-light);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: var(--header);
  gap: 24px;
}

.logo {
  min-width: 0;
  display: flex;
  align-items: center;
}

.logo img {
  height: 48px;
  width: auto;
  max-width: min(240px, 100%);
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.nav a {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 250, 248, 0.72);
  padding: 8px 10px;
  position: relative;
}

.nav a:hover,
.nav a.is-active {
  color: var(--white);
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 1px;
  background: var(--aqua);
}

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

.icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(250, 250, 248, 0.14);
  background: transparent;
  color: var(--white);
  display: grid;
  place-items: center;
  position: relative;
  border-radius: var(--radius);
}

.icon-btn:hover {
  border-color: var(--aqua);
  color: var(--aqua);
}

.cart-count {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 16px;
  height: 16px;
  border-radius: 99px;
  background: var(--aqua);
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

.menu-toggle {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 110px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: ken 28s var(--ease) infinite alternate;
}

@keyframes ken {
  to {
    transform: scale(1.14);
  }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 21, 24, 0.18) 0%, rgba(20, 21, 24, 0.55) 78%, #141518 100%),
    linear-gradient(90deg, rgba(20, 21, 24, 0.62) 0%, rgba(20, 21, 24, 0.22) 46%, rgba(20, 21, 24, 0.06) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(100vh - 110px);
  padding: 48px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1.05fr);
  align-items: end;
  gap: 8px 20px;
  flex: 1;
}

.hero-copy {
  padding: 48px 0 12px;
}

.hero-product {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 0;
}

.hero-product img {
  width: min(100%, 620px);
  max-height: min(72vh, 680px);
  height: auto;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.4));
}

.hero h1 {
  max-width: 12ch;
  margin: 18px 0 20px;
}

.hero .lead {
  color: rgba(250, 250, 248, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-meta {
  display: flex;
  gap: 36px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(250, 250, 248, 0.12);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 250, 248, 0.7);
}

.hero-meta strong {
  display: block;
  color: var(--white);
  font-size: 20px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
  margin-bottom: 4px;
}

/* Marquee */
.marquee {
  background: var(--aqua);
  color: var(--ink);
  overflow: hidden;
  padding: 14px 0;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

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

/* Sections */
.section {
  padding: 96px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 48px;
}

.section-head p {
  margin-top: 14px;
}

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

.section-dark .lead,
.section-dark .section-head p {
  color: rgba(250, 250, 248, 0.7);
}

/* Layers teaser */
.layers {
  display: grid;
  gap: 8px;
}

.layer {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: 0.35s var(--ease);
}

.layer:hover,
.layer.is-open {
  border-color: var(--aqua);
  transform: translateX(6px);
}

.layer-n {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--aqua-deep);
}

.layer h3 {
  font-size: 1.15rem;
  font-weight: 500;
}

.layer small {
  color: var(--mist);
  display: block;
  margin-top: 4px;
}

.layer-body {
  display: none;
  grid-column: 2 / 3;
  color: #4a4c53;
  font-weight: 300;
  max-width: 62ch;
}

.layer.is-open .layer-body {
  display: block;
  margin-top: 8px;
}

.layer-body a {
  color: var(--aqua-deep);
  border-bottom: 1px solid currentColor;
}

.layers-visual {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.lv {
  height: 54px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
}

.lv-1 { background: #6d6256; height: 42px; }
.lv-2 { background: #3d6e74; }
.lv-3 { background: #4a4e56; height: 70px; }
.lv-4 { background: #8a8478; }
.lv-5 { background: var(--aqua); color: var(--ink); height: 36px; }

.home-system {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 28px;
}

.home-cut {
  padding: 18px 16px 12px;
}

.home-layers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.home-layer {
  display: grid;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 12px 12px 16px;
  transition: 0.3s var(--ease);
}

.home-layer:hover,
.home-layer.is-on {
  border-color: var(--aqua);
  transform: translateY(-4px);
}

.home-layer-n {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--aqua-deep);
}

.home-layer img {
  width: 100%;
  height: 92px;
  object-fit: contain;
  background: #ece8e0;
}

.home-layer[data-layer="sustrato"] img {
  object-fit: cover;
}

.home-layer strong {
  display: block;
  font-weight: 500;
  font-size: 0.98rem;
}

.home-layer span {
  display: block;
  font-size: 12px;
  color: var(--mist);
  margin-top: 3px;
}

/* Sistema */
.sys-explorer {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.sys-detail {
  background: var(--white);
  border: 1px solid var(--line);
  display: none;
  flex-direction: column;
}

.sys-detail.is-on {
  display: flex;
  min-height: 100%;
}

.sys-detail-media {
  background: #ece8e0;
  min-height: 240px;
  display: grid;
  place-items: center;
  padding: 28px;
}

.sys-detail-media img {
  max-height: 220px;
  width: auto;
  object-fit: contain;
}

.sys-detail-media.cover {
  padding: 0;
}

.sys-detail-media.cover img {
  width: 100%;
  height: 240px;
  max-height: none;
  object-fit: cover;
}

.sys-detail-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.sys-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 8px;
}

.sys-pill {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 5px 8px;
}

.sys-chain {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 36px;
}

.sys-node {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 16px 14px 18px;
  min-height: 100%;
  cursor: pointer;
  text-align: left;
  width: 100%;
  color: inherit;
  transition: 0.25s var(--ease);
}

.sys-node:hover,
.sys-node.is-on {
  border-color: var(--aqua);
}

.sys-node img {
  height: 72px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.sys-node strong {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
}

.sys-node span {
  display: block;
  font-size: 12px;
  color: var(--mist);
  margin-top: 4px;
}

.kit-billboard {
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) 1.12fr;
  gap: 40px 56px;
  align-items: start;
}

.kit-billboard-copy .section-title {
  margin: 12px 0 14px;
}

.kit-billboard-copy .lead {
  margin: 0 0 22px;
}

.kit-billboard-copy .price-row {
  margin: 0 0 22px;
  flex-wrap: wrap;
}

.kit-billboard-copy .price {
  font-size: 1.7rem;
}

.kit-yield {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 250, 248, 0.45);
}

.kit-billboard-visual {
  display: grid;
  border: 1px solid rgba(250, 250, 248, 0.1);
}

.kit-billboard-shot {
  margin: 0;
  background: #e6e2da;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.kit-billboard-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  display: block;
}

.kit-bom {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #1a1b20;
}

.kit-chip {
  display: grid;
  gap: 3px;
  padding: 12px 12px 14px 14px;
  color: var(--white);
  border-right: 1px solid rgba(250, 250, 248, 0.08);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.kit-chip:last-child {
  border-right: 0;
}

.kit-chip strong {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.kit-chip span:last-child {
  font-size: 12px;
  color: rgba(250, 250, 248, 0.45);
}

.kit-chip:hover {
  background: rgba(11, 197, 211, 0.08);
  color: var(--aqua);
}

.kit-chip:hover span:last-child {
  color: var(--aqua);
}

.kit-n {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--aqua);
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.use-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 22px;
  overflow: hidden;
}

.use-card > img {
  display: block;
  width: calc(100% + 44px);
  height: 148px;
  object-fit: cover;
  margin: -22px -22px 16px;
}

.use-card h3 {
  font-weight: 500;
  margin: 8px 0 10px;
}

.use-card ul {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  color: #4a4c53;
  font-weight: 300;
}

.use-card li::before {
  content: "→ ";
  color: var(--aqua-deep);
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 640px;
}

.split-media {
  position: relative;
  min-height: 420px;
}

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

.split-copy {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ink);
  color: var(--white);
}

.split-copy.paper {
  background: var(--paper);
  color: var(--shark);
}

.split-reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

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

.split-copy .lead {
  margin: 16px 0 28px;
}

.includes {
  display: grid;
  gap: 8px;
  margin: 8px 0 28px;
  font-size: 14px;
}

.includes li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.includes li::before {
  content: "";
  width: 8px;
  height: 1px;
  background: var(--aqua);
  flex: none;
  transform: translateY(-4px);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 24px;
}

.price {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.price s {
  font-size: 1rem;
  color: var(--mist);
  font-weight: 400;
}

.badge {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--aqua);
  color: var(--ink);
  padding: 4px 8px;
  font-weight: 600;
}

/* Product grid */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-btn {
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: transparent;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--shark);
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--shark);
  color: var(--white);
  border-color: var(--shark);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 197, 211, 0.45);
}

.card-media {
  aspect-ratio: 1;
  background: #ece8e0;
  overflow: hidden;
  position: relative;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-cat {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aqua-deep);
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 500;
}

.card p {
  font-size: 0.92rem;
  color: #5a5c63;
  font-weight: 300;
  flex: 1;
}

.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 8px;
}

/* Colors */
.color-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.swatch {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  color: var(--shark);
}

.swatch-chip {
  display: block;
  height: 110px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.swatch-chip img,
.pigment-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.color-family {
  margin-bottom: 56px;
  scroll-margin-top: 96px;
}

.color-family-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 18px;
}

.color-family-head h2 {
  font-size: 1.6rem;
  margin: 6px 0 0;
}

.color-family-head p {
  color: var(--mist);
  font-size: 14px;
  max-width: 36ch;
  margin: 0;
}

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

.color-chart-grid .swatch-chip {
  height: 180px;
}

.color-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.swatch-meta {
  padding: 12px 14px 14px;
}

.swatch-meta strong {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
}

.swatch-meta span {
  font-size: 12px;
  color: var(--mist);
  letter-spacing: 0.08em;
}

.swatch.is-selected {
  border-color: var(--aqua);
  outline: 1px solid var(--aqua);
}

.pigment-field {
  display: grid;
  gap: 10px;
}

.pigment-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.pigment-chosen {
  font-size: 14px;
  font-weight: 500;
  text-align: right;
}

.pigment-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
}

.pigment-chip {
  appearance: none;
  -webkit-appearance: none;
  aspect-ratio: 1;
  width: 100%;
  border: 1px solid rgba(38, 39, 46, 0.18);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.pigment-chip:hover {
  transform: translateY(-1px);
  border-color: var(--shark);
}

.pigment-chip.is-selected {
  outline: 2px solid var(--aqua);
  outline-offset: 2px;
  border-color: var(--aqua);
}

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 12px;
}

.project-grid article:first-child {
  grid-row: 1 / 3;
}

.project-grid.flat {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
}

.project-grid.flat article:first-child {
  grid-row: auto;
}

.project {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  color: var(--white);
}

.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: 0.7s var(--ease);
}

.project:hover img {
  transform: scale(1.06);
}

.project::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(20, 21, 24, 0.82));
}

.project-copy {
  position: absolute;
  z-index: 1;
  left: 20px;
  right: 20px;
  bottom: 20px;
}

.project-copy span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aqua);
}

.project-copy h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-top: 6px;
}

/* Dual audience */
.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.dual article {
  padding: 72px 56px;
  min-height: 360px;
}

.dual article:first-child {
  background: var(--shark);
  color: var(--white);
}

.dual article:last-child {
  background: var(--aqua);
  color: var(--ink);
}

.dual h2 {
  margin: 12px 0 14px;
}

/* Page hero */
.page-hero {
  padding: 72px 0 48px;
  background:
    radial-gradient(1200px 400px at 80% -10%, var(--aqua-glow), transparent),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 12px 0 14px;
}

/* Product page */
.pdp {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
  padding: 32px 0 72px;
}

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

.gallery-main {
  background: #ece8e0;
  aspect-ratio: 1;
  overflow: hidden;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbs {
  display: flex;
  gap: 8px;
}

.thumbs button {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 1px solid var(--line);
  background: #ece8e0;
  overflow: hidden;
}

.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-info .kicker {
  margin-bottom: 8px;
}

.pdp-info h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.pdp-info .lead {
  margin-bottom: 10px;
}

.pdp-info .price-row {
  margin-bottom: 14px;
}

.pdp-info > p:not(.lead):not(.pdp-yield):not(.pdp-includes-label) {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #4a4c53;
}

.pdp-yield {
  margin: 10px 0 14px;
  font-size: 0.9rem;
  color: #5a5c63;
  font-weight: 300;
}

.pdp-includes-label {
  margin: 4px 0 6px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

.pdp-info .includes {
  margin: 0 0 16px;
  gap: 6px;
}

.pdp-info .pigment-field {
  margin: 0;
}

.pdp-info .pigment-head .kicker {
  margin-bottom: 0;
}

.pdp-info .pigment-grid {
  gap: 6px;
}

.specs {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 14px;
}

.specs th,
.specs td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}

.specs th {
  width: 38%;
  color: var(--mist);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  width: fit-content;
  margin: 14px 0 12px;
}

.qty button,
.qty span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
}

.pdp-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pdp-actions[hidden] {
  display: none;
}

.related-section {
  padding-top: 8px;
}

.related-section[hidden] {
  display: none;
}

/* Calculator */
.calc-hero {
  padding: 48px 0 28px;
}

.calc-hero .lead {
  max-width: 46ch;
}

.calc-section {
  padding-top: 12px;
}

.calc-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: start;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
}

.calc-form {
  padding: 32px 28px 28px;
}

.calc-result {
  min-height: 280px;
}

@media (min-width: 981px) {
  .calc-result {
    position: sticky;
    top: 96px;
  }

  .pdp-info .includes {
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
  }
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.field[hidden] {
  display: none;
}

.field label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  height: 46px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0 12px;
  font-size: 15px;
}

.field textarea {
  height: 120px;
  padding: 12px;
  resize: vertical;
}

.calc-m2 {
  margin-bottom: 20px;
}

.calc-m2-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid var(--shark);
}

.calc-m2-row input {
  height: auto;
  border: 0;
  background: transparent;
  padding: 0 0 6px;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  width: 100%;
  font-family: inherit;
  color: var(--ink);
  appearance: textfield;
  -moz-appearance: textfield;
}

.calc-m2-row input::-webkit-outer-spin-button,
.calc-m2-row input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.calc-m2-row input:focus {
  outline: none;
}

.calc-m2-row input::placeholder {
  color: var(--mist);
  font-weight: 400;
}

.calc-m2-row span {
  font-size: 1.35rem;
  color: var(--mist);
  padding-bottom: 10px;
}

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

.choice {
  border: 1px solid var(--line);
  background: transparent;
  padding: 10px 14px;
  font-size: 13px;
}

.choice.is-active {
  background: var(--shark);
  color: var(--white);
  border-color: var(--shark);
}

.seg {
  display: grid;
  border: 1px solid var(--line);
}

.seg-2 {
  grid-template-columns: 1fr 1fr;
}

.seg-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.seg .choice {
  border: 0;
  border-right: 1px solid var(--line);
  padding: 12px 10px;
}

.seg .choice:last-child {
  border-right: 0;
}

.choice[data-ship="dispatch"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ship-free-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 7px;
  line-height: 1;
  background: #e05a3c;
  color: #fff;
}

.ship-free-badge[hidden] {
  display: none;
}

.choice.is-active .ship-free-badge {
  background: #ff7a5c;
  color: #141518;
}

.choice-stack {
  display: grid;
  gap: 3px;
  text-align: left;
  padding: 12px 14px;
  min-height: 64px;
  align-content: center;
}

.choice-stack strong {
  font-weight: 500;
  font-size: 13px;
}

.choice-stack span {
  font-size: 11px;
  color: var(--mist);
  font-weight: 300;
  line-height: 1.35;
}

.choice-stack.is-active span {
  color: rgba(250, 250, 248, 0.62);
}

.field-hint {
  margin: 0;
  font-size: 13px;
  color: var(--mist);
  font-weight: 300;
  line-height: 1.4;
}

.recipe-preview-flag {
  margin: 0 0 16px;
  padding: 10px 12px;
  background: var(--paper);
  font-size: 13px;
  color: var(--shark);
}

.calc-result.is-preview .recipe-body {
  opacity: 1;
}

.recipe-blank {
  color: var(--mist);
  font-weight: 400;
}

.recipe-notes {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: #5a5c63;
  font-weight: 300;
}

.recipe-notes li::before {
  content: "→ ";
  color: var(--aqua-deep);
}

.recipe-caveats {
  margin: 16px 0 0;
}

.recipe-caveats summary {
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  list-style: none;
}

.recipe-caveats summary::-webkit-details-marker {
  display: none;
}

.recipe-caveats summary::after {
  content: " +";
  color: var(--aqua-deep);
}

.recipe-caveats[open] summary::after {
  content: " −";
}

.recipe-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.recipe-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  background: #ece8e0;
}

.recipe-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 18px;
  font-size: 1.4rem;
  font-weight: 500;
}

.recipe-total[hidden] {
  display: none;
}

.calc-result .btn {
  margin-top: 8px;
}

.pigment-step {
  padding-top: 4px;
}

.pdp-info [data-color-step] {
  margin: 0 0 2px;
}

.pigment-step .pigment-chosen {
  text-align: left;
  margin: 12px 0 10px;
}

.pigment-step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.btn:disabled {
  opacity: 0.4;
  pointer-events: none;
}

.btn[hidden] {
  display: none;
}

/* Steps */
.steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.step-n {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--aqua-deep);
}

/* Guía de aplicación */
.guide-overview {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.cut {
  background: var(--ink);
  color: var(--white);
  padding: 28px 24px 20px;
  position: relative;
}

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

.cut-hint {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 250, 248, 0.5);
}

.cut-layer {
  cursor: pointer;
  transition: 0.25s var(--ease);
}

.cut-layer:hover,
.cut-layer.is-on {
  filter: brightness(1.18);
}

.cut-label {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  fill: #fafaf8;
}

.guide-legend {
  display: grid;
  gap: 8px;
}

.legend-item {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  width: 100%;
  color: inherit;
  transition: 0.25s var(--ease);
}

.legend-item:hover,
.legend-item.is-on {
  border-color: var(--aqua);
}

.legend-swatch {
  width: 18px;
  height: 18px;
}

.legend-item small {
  color: var(--mist);
  letter-spacing: 0.08em;
  font-size: 11px;
}

.guide-tools {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.guide-recipes {
  margin-top: 56px;
}

.guide-recipes .section-head {
  margin-bottom: 20px;
}

.guide-aside {
  font-size: 0.88rem;
  color: #5a5c63;
  font-weight: 300;
  border-left: 2px solid var(--aqua);
  padding: 2px 0 2px 14px;
  margin: 16px 0 0;
  max-width: 52ch;
}

.guide-caption {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

.tool-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px 18px;
}

.tool-card strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  margin: 8px 0 6px;
}

.tool-card p {
  font-size: 0.9rem;
  color: #5a5c63;
  font-weight: 300;
}

.guide-step {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
  transition: background 0.3s;
}

.guide-step.is-on {
  background: linear-gradient(90deg, var(--aqua-glow), transparent 70%);
}

.guide-step:nth-child(even) {
  grid-template-columns: 1.05fr 0.95fr;
}

.guide-step:nth-child(even) .guide-visual {
  order: 2;
}

.guide-copy h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 10px 0 14px;
}

.guide-copy p {
  color: #4a4c53;
  font-weight: 300;
  max-width: 52ch;
}

.guide-points {
  margin: 18px 0 22px;
  display: grid;
  gap: 8px;
}

.guide-points li {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 10px;
  font-size: 0.95rem;
}

.guide-points li::before {
  content: "";
  width: 8px;
  height: 1px;
  background: var(--aqua);
  margin-top: 10px;
}

.guide-skus {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.guide-sku {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px 14px 8px 8px;
  min-width: 220px;
}

.guide-sku:hover {
  border-color: var(--aqua);
}

.guide-sku img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #ece8e0;
}

.guide-sku strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
}

.guide-sku span {
  font-size: 12px;
  color: var(--mist);
}

.guide-visual {
  display: grid;
  gap: 10px;
}

.guide-frame {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 24px;
}

.guide-frame img {
  max-height: 340px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}

.guide-frame.photo {
  padding: 0;
  background: #ece8e0;
}

.guide-frame.photo img {
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 320px;
  object-fit: cover;
}

.guide-frame.photo.compare {
  min-height: 0;
}

.guide-frame.photo.compare img {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.guide-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mix {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.mix-box {
  background: #ece8e0;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 12px;
  text-align: center;
}

.mix-box img {
  max-height: 140px;
  object-fit: contain;
}

.mix-box span,
.mix-op {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 8px;
}

.mix-op {
  color: var(--aqua-deep);
  font-weight: 600;
  font-size: 22px;
}

.mix-result {
  background: var(--ink);
  color: var(--white);
  min-height: 180px;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 16px;
  gap: 6px;
}

.mix-result strong {
  font-size: 1.4rem;
  font-weight: 500;
}

.thickness {
  width: 100%;
}

.seal-fork {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.seal-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 16px;
  min-height: 100%;
}

.seal-card img {
  height: 140px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.seal-card h4 {
  font-weight: 500;
  margin-bottom: 6px;
}

.seal-card p {
  font-size: 0.88rem;
  color: #5a5c63;
  font-weight: 300;
}

.guide-cta {
  padding: 48px 0 96px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.contact-firm {
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 500;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 8px;
}

.contact-map {
  margin-top: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
  background: var(--paper-2);
}

.contact-map-cap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 16px;
  font-size: 14px;
}

.contact-map-cap a {
  color: var(--aqua-deep);
  white-space: nowrap;
}

.info-list {
  margin: 8px 0 0;
}

.info-list dt {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
  margin-top: 18px;
}

.info-list dt:first-child {
  margin-top: 12px;
}

.info-list dd {
  margin: 4px 0 0;
}

.contact-block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.contact-block h2 {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
}

.contact-block p {
  margin: 0;
}

.contact-block .muted {
  margin-top: 6px;
}

.contact-block + .contact-map {
  margin-top: 16px;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-light);
}

.site-footer .logo img {
  height: 56px;
}

.site-footer p {
  color: rgba(250, 250, 248, 0.65);
  font-weight: 300;
  margin-top: 16px;
  max-width: 36ch;
}

.site-footer h4 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--aqua);
}

.site-footer li {
  margin: 8px 0;
}

.site-footer a {
  color: rgba(250, 250, 248, 0.72);
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  font-size: 12px;
  color: rgba(250, 250, 248, 0.45);
}

.proto-note {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Cart drawer */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 21, 24, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 50;
}

.overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: var(--paper);
  z-index: 60;
  transform: translateX(100%);
  transition: 0.45s var(--ease);
  display: flex;
  flex-direction: column;
}

.drawer.is-open {
  transform: none;
}

.drawer-head,
.drawer-foot {
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.drawer .icon-btn {
  color: var(--shark);
  border-color: var(--line);
}

.drawer-foot {
  border-bottom: 0;
  border-top: 1px solid var(--line);
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.drawer-body {
  padding: 8px 22px;
  overflow: auto;
  flex: 1;
}

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

.cart-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  background: #ece8e0;
}

.remove {
  border: 0;
  background: none;
  color: var(--mist);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0;
}

.cart-item .qty {
  margin: 8px 0 6px;
}

.cart-item .qty button,
.cart-item .qty span {
  width: 36px;
  height: 36px;
}

.cart-item .qty button:disabled {
  opacity: 0.35;
  cursor: default;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--shark);
  color: var(--white);
  padding: 12px 18px;
  font-size: 13px;
  letter-spacing: 0.06em;
  opacity: 0;
  pointer-events: none;
  transition: 0.35s var(--ease);
  z-index: 80;
}

.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 30;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.legal {
  padding: 64px 0 96px;
  max-width: 72ch;
}

.legal h2 {
  margin: 32px 0 10px;
  font-size: 1.2rem;
  font-weight: 500;
}

.legal p,
.legal li {
  margin: 0 0 12px;
  color: #4a4c53;
  font-weight: 300;
}

.legal a {
  color: var(--aqua-deep);
  border-bottom: 1px solid currentColor;
}

.legal ol {
  padding-left: 18px;
}

.notice {
  background: var(--white);
  border-left: 3px solid var(--aqua);
  padding: 14px 16px;
  font-size: 14px;
  margin: 18px 0;
}

.empty {
  padding: 32px 0;
  color: var(--mist);
}

.mobile-nav {
  display: none;
}

@media (max-width: 980px) {
  .nav,
  .hide-sm {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-nav {
    display: none;
    background: var(--ink);
    padding: 8px 24px 24px;
    border-top: 1px solid var(--line-light);
  }

  .mobile-nav.is-open {
    display: grid;
    gap: 6px;
  }

  .mobile-nav a {
    color: var(--white);
    padding: 12px 0;
    border-bottom: 1px solid var(--line-light);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 13px;
  }

  .split,
  .pdp,
  .calc-layout,
  .contact-grid,
  .dual,
  .section-head,
  .footer-grid,
  .guide-overview,
  .guide-step,
  .guide-step:nth-child(even),
  .guide-tools,
  .seal-fork,
  .mix,
  .sys-explorer,
  .kit-billboard,
  .sys-chain,
  .use-grid,
  .hero-grid,
  .home-system {
    grid-template-columns: 1fr;
  }

  .kit-billboard {
    gap: 28px;
  }

  .kit-bom {
    grid-template-columns: repeat(5, 1fr);
  }

  .kit-chip {
    padding: 10px 8px 12px 10px;
  }

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

  .hero-product {
    justify-content: center;
  }

  .hero-product img {
    max-height: 42vh;
    width: min(100%, 420px);
  }

  .hero-copy {
    padding-top: 8px;
  }

  .hero-content {
    min-height: auto;
    padding-top: 24px;
  }

  .mix {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .mix-op {
    transform: rotate(90deg);
  }

  .mix-box,
  .mix-result {
    width: 100%;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    height: 64px;
  }

  .logo img {
    height: 36px;
    max-width: 100%;
  }

  .header-actions {
    gap: 6px;
  }

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

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

  .color-family-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .pigment-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .pigment-head {
    flex-wrap: wrap;
  }

  .pigment-chosen {
    text-align: left;
    width: 100%;
  }

  .project-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .project-grid article:first-child,
  .project-grid.flat {
    grid-row: auto;
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .split-copy,
  .dual article {
    padding: 48px 28px;
  }

  .hero-meta {
    flex-wrap: wrap;
    gap: 20px;
  }

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

@media (max-width: 640px) {
  .container,
  .container-wide {
    width: min(calc(100% - 32px), var(--container));
  }

  .product-grid,
  .product-grid.is-featured,
  .layer,
  .guide-duo,
  .guide-tools,
  .home-layers {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .color-grid .swatch-chip,
  .color-chart-grid .swatch-chip {
    height: 88px;
  }

  .swatch-meta {
    padding: 10px 10px 12px;
  }

  .swatch-meta strong {
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .topbar {
    letter-spacing: 0.03em;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 10px 0;
    font-size: 11px;
  }

  .topbar-ship {
    max-width: 34ch;
  }

  .topbar-links {
    gap: 16px;
    justify-content: center;
  }

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

  .kit-chip {
    border-bottom: 1px solid rgba(250, 250, 248, 0.08);
  }

  .kit-yield {
    margin-left: 0;
    width: 100%;
  }

  .hero-actions,
  .pdp-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .seg-3 .choice {
    font-size: 12px;
    padding: 12px 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Checkout + admin */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.checkout-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.checkout-form .field,
.panel .field {
  margin-bottom: 16px;
}

.checkout-form {
  position: relative;
}

.checkout-coupon {
  margin: 18px 0 4px;
}

.checkout-coupon > label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.checkout-coupon-row {
  display: flex;
  gap: 8px;
}

.checkout-coupon-row[hidden],
.checkout-coupon-applied[hidden] {
  display: none;
}

.checkout-coupon-row input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0 12px;
  color: var(--shark);
  text-transform: uppercase;
}

.checkout-coupon-row .btn,
.checkout-coupon-applied .btn {
  height: 48px;
  flex-shrink: 0;
}

.checkout-coupon-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
}

.checkout-coupon-applied strong {
  letter-spacing: 0.06em;
}

.checkout-coupon #coupon-msg.is-error {
  color: #b42318;
}

.recipe-total.is-discount {
  color: var(--aqua, #0bc5d3);
  font-size: 1.15rem;
  margin-top: 10px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.invoice-upload {
  margin-top: 16px;
  display: grid;
  gap: 12px;
  max-width: 420px;
}

.panel h2 .admin-status-pill {
  margin-left: 8px;
  vertical-align: middle;
}

.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0 12px;
  color: var(--shark);
}

.field textarea {
  height: 120px;
  padding: 12px;
}

.field label.check-row {
  display: flex;
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 0;
}

.field .check-row input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  padding: 0;
  border: none;
  background: transparent;
  accent-color: var(--aqua);
}

.ship-options {
  display: grid;
  gap: 8px;
}

.ship-choice {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 12px 14px;
}

.ship-choice.is-active {
  border-color: var(--aqua);
  box-shadow: 0 0 0 1px var(--aqua);
}

.ship-notice {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--aqua);
  background: var(--aqua-glow);
  color: var(--shark);
}

.ship-notice strong {
  font-weight: 500;
}

.ship-notice span {
  color: var(--mist);
  font-weight: 300;
}

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

.receipt {
  max-width: 720px;
}

.receipt-section {
  padding-top: 24px;
}

.receipt-number {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.receipt-number strong {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

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

.receipt-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.receipt-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.receipt-thumb.is-empty {
  background: linear-gradient(145deg, var(--paper), #ddd);
}

.receipt-item-body strong {
  display: block;
  font-weight: 500;
}

.receipt-pigment {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  font-size: 13px;
}

.receipt-pigment img,
.receipt-pigment span {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  object-fit: cover;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.receipt-codes,
.receipt-qty {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--mist);
}

.receipt-line {
  white-space: nowrap;
  font-weight: 500;
}

.receipt-totals {
  margin-top: 10px;
}

.receipt-totals p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 6px 0;
  font-size: 14px;
  color: var(--mist);
}

.receipt-totals .is-total {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--aqua);
  font-size: 1.15rem;
  color: var(--ink);
}

.receipt-block {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.receipt-block h2 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 500;
}

.receipt-block p {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.5;
}

.receipt-note {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.6;
}

.receipt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

@media (max-width: 640px) {
  .receipt-item {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .receipt-line {
    grid-column: 2;
  }
}

@media print {
  #site-header,
  #site-footer,
  .wa-float,
  .receipt-actions {
    display: none !important;
  }

  .page-hero {
    padding: 24px 0 12px;
    background: none;
    border: 0;
  }

  .receipt-section {
    padding-top: 0;
  }

  .receipt-card {
    border: 0;
    padding: 0;
  }
}

.admin-body {
  background: var(--paper);
  min-height: 100vh;
}

.admin-nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.admin-scrim {
  display: none;
}

.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 240px;
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  padding: 22px 16px 18px;
  z-index: 30;
  overflow-y: auto;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 8px 22px;
  text-decoration: none;
}

.admin-brand-celebro {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  flex: none;
  object-fit: cover;
}

.admin-brand-patagonic {
  height: 28px;
  width: auto;
  max-width: none;
  flex: none;
  object-fit: contain;
}

.admin-brand.is-on-light {
  margin: 0 0 22px;
}

.admin-nav-label {
  margin: 10px 8px 6px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
}

.admin-nav {
  display: grid;
  gap: 4px;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 10px;
  color: rgba(250, 250, 248, 0.72);
  font-size: 14px;
}

.admin-nav a svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.admin-nav a.is-active,
.admin-nav a:hover {
  background: rgba(250, 250, 248, 0.08);
  color: var(--aqua);
}

.admin-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--aqua);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

.admin-sidebar-foot {
  margin-top: auto;
  padding: 16px 8px 0;
  border-top: 1px solid var(--line-light);
}

.admin-who {
  display: grid;
  gap: 2px;
  margin-bottom: 12px;
  font-size: 13px;
}

.admin-who span,
.admin-who em {
  font-style: normal;
  color: var(--mist);
  font-size: 12px;
}

.admin-sidebar-foot .btn {
  width: 100%;
  height: 36px;
}

.admin-sidebar-foot .admin-credit {
  margin-top: 14px;
  font-size: 11px;
}

.admin-shell {
  margin-left: 240px;
  min-height: 100vh;
}

.admin-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 56px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.admin-topbar h1 {
  font-size: 16px;
  font-weight: 500;
  flex: 1;
  min-width: 0;
}

.admin-view-site {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aqua-deep);
  white-space: nowrap;
}

.admin-view-site:hover {
  color: var(--ink);
}

.admin-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}

.admin-menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
}

.admin-main {
  width: min(calc(100% - 48px), 1280px);
  margin: 28px auto 64px;
}

.admin-flash {
  background: var(--white);
  border-left: 3px solid var(--aqua);
  padding: 12px 16px;
  font-size: 14px;
  margin: 0 0 20px;
}

.admin-flash.is-error {
  border-color: var(--danger);
}

.admin-back {
  margin-bottom: 12px;
}

.admin-back a {
  color: var(--mist);
  font-size: 13px;
}

.admin-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-steps {
  display: flex;
  list-style: none;
  margin: 8px 0 28px;
  padding: 0;
}

.admin-steps li {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
  text-align: center;
  line-height: 1.3;
}

.admin-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 8px;
  left: calc(50% + 12px);
  right: calc(-50% + 12px);
  height: 1px;
  background: var(--line);
}

.admin-steps li::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--line);
  order: -1;
}

.admin-steps li.is-done {
  color: var(--aqua-deep);
}

.admin-steps li.is-done::after {
  background: var(--aqua);
  border-color: var(--aqua);
}

.admin-steps li.is-done:not(:last-child)::before {
  background: var(--aqua);
}

.admin-steps li.is-current {
  color: var(--ink);
  font-weight: 500;
}

.admin-steps li.is-current::after {
  background: var(--ink);
  border-color: var(--ink);
}

.admin-status-pill {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.admin-status-pill.is-paid {
  border-color: var(--aqua);
  color: var(--aqua-deep);
  background: var(--aqua-glow);
}

.admin-status-pill.is-prep {
  border-color: #c9a227;
  color: #8a7010;
  background: #f6efd4;
}

.admin-status-pill.is-ship {
  border-color: var(--shark);
  color: var(--ink);
}

.admin-status-pill.is-wait {
  color: var(--mist);
}

.admin-status-pill.is-stop {
  border-color: var(--danger);
  color: var(--danger);
  background: rgba(184, 92, 76, 0.08);
}

.admin-row-link {
  cursor: pointer;
}

.admin-row-link:hover td {
  background: var(--paper);
}

.admin-pager {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 20px;
  font-size: 14px;
}

.admin-pager a {
  color: var(--aqua-deep);
}

.admin-pager .is-off {
  color: var(--mist);
}

.admin-pager-pos {
  color: var(--mist);
}

.admin-price-table input[type="number"] {
  height: 40px;
  width: 110px;
  border: 1px solid var(--line);
  padding: 0 8px;
  background: var(--white);
}

.admin-price-table td .muted {
  display: block;
}

.admin-check {
  display: inline-flex;
  align-items: center;
}

.admin-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 24px;
}

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

.admin-filters input,
.admin-filters select {
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0 10px;
}

.admin-table-wrap {
  overflow: auto;
  background: var(--white);
}

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

.admin-table th,
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.admin-grid.is-spaced {
  margin-top: 20px;
}

.admin-grid > .panel:only-child {
  grid-column: 1 / -1;
}

.admin-status {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
}

.admin-status select {
  height: 48px;
}

.admin-pre {
  background: var(--ink);
  color: var(--paper);
  padding: 14px;
  font-size: 12px;
  overflow: auto;
  margin-top: 12px;
}

.admin-tech {
  margin-top: 20px;
}

.admin-tech summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-tech summary::-webkit-details-marker {
  display: none;
}

.admin-tech summary::after {
  content: "+";
  color: var(--aqua-deep);
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
}

.admin-tech[open] summary::after {
  content: "−";
}

.admin-analytics-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  margin: 0 0 24px;
}

.admin-analytics-filters label {
  display: grid;
  gap: 4px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

.admin-analytics-filters select,
.admin-analytics-filters input {
  height: 44px;
  min-width: 140px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0 10px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  color: var(--ink);
}

.admin-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.admin-snapshot {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 14px 18px;
  margin-bottom: 16px;
}

.admin-snapshot span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

.admin-snapshot strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 2px 0;
}

.admin-snapshot em {
  font-style: normal;
  font-size: 12px;
  color: var(--mist);
}

.admin-snapshot-link {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aqua-deep);
  white-space: nowrap;
}

.admin-snapshot-link:hover {
  color: var(--aqua);
}

.admin-kpi {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px 22px;
  display: grid;
  gap: 6px;
}

.admin-kpi span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

.admin-kpi strong {
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.admin-delta {
  font-size: 12px;
  font-style: normal;
}

.admin-delta.is-up {
  color: var(--aqua-deep);
}

.admin-delta.is-down {
  color: var(--danger);
}

.admin-chart {
  overflow: auto;
}

.admin-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 200px;
  margin-top: 18px;
  min-width: 480px;
}

.admin-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  min-width: 0;
}

.admin-bar span {
  display: block;
  width: 100%;
  max-width: 32px;
  background: var(--aqua);
  border-radius: 4px 4px 0 0;
}

.admin-bar em {
  margin-top: 8px;
  font-size: 10px;
  font-style: normal;
  color: var(--mist);
  white-space: nowrap;
}

.admin-product {
  margin: 12px 0;
}

.admin-product-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin-top: 10px;
}

.admin-product-row label {
  display: grid;
  gap: 4px;
  font-size: 12px;
}

.admin-product-row input[type="number"] {
  height: 40px;
  width: 120px;
}

.badge-woo {
  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--aqua);
  color: var(--aqua-deep);
  padding: 1px 6px;
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 20px;
  padding: 32px 16px;
  background: var(--ink);
}

.admin-login .panel {
  width: min(100%, 420px);
}

.admin-login .section-title {
  font-size: 1.65rem;
}

.admin-login-forgot {
  margin: -6px 0 16px;
  text-align: right;
  font-size: 13px;
}

.admin-credit {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--mist);
}

.admin-credit a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.admin-credit img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

.admin-credit a:hover {
  color: var(--aqua);
}

.admin-login .admin-brand {
  margin: 0;
}

.admin-login .admin-brand-patagonic {
  height: 32px;
}

.admin-login .admin-credit {
  margin: 0;
}

.admin-login .admin-credit a {
  color: rgba(250, 250, 248, 0.72);
}

.admin-login .logo {
  justify-self: center;
}

.mail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.mail-tab {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--shark);
  min-height: 40px;
  padding: 0 12px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.mail-tab.is-active {
  border-color: var(--aqua);
  color: var(--ink);
  background: var(--aqua-glow);
}

.mail-tab em {
  font-style: normal;
  margin-left: 8px;
  color: var(--mist);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mail-editor-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 28px;
  align-items: start;
}

.mail-fields {
  display: none;
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
}

.mail-fields.is-active {
  display: grid;
  gap: 14px;
}

.admin-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  font-size: 14px;
}

.admin-switch input {
  width: 18px;
  height: 18px;
  accent-color: var(--aqua);
}

.mail-tokens {
  margin: 14px 0 18px;
  font-size: 12px;
}

.mail-preview-pane iframe {
  width: 100%;
  min-height: 720px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.admin-mail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.admin-mail-test {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-mail-test input {
  height: 48px;
  min-width: 220px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0 12px;
}

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

.admin-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.admin-item:last-child {
  border-bottom: 0;
}

.admin-item-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.admin-item-thumb.is-empty {
  background: linear-gradient(145deg, var(--paper), #ddd);
}

.admin-item-body {
  min-width: 0;
}

.admin-item-body strong {
  display: block;
}

.admin-item-codes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--mist);
}

.admin-pigment {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  font-size: 13px;
}

.admin-pigment-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.admin-item-qty {
  font-size: 13px;
  color: var(--mist);
  white-space: nowrap;
}

.admin-item-total {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .checkout-layout,
  .admin-grid,
  .admin-head,
  .admin-head-actions,
  .mail-editor-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .admin-steps {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }

  .admin-steps li {
    flex: none;
    flex-direction: row;
    padding-top: 0;
    padding-left: 4px;
  }

  .admin-steps li:not(:last-child)::before {
    top: 18px;
    left: 4px;
    right: auto;
    width: 1px;
    height: 14px;
    transform: translateY(10px);
  }

  .admin-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .admin-item-qty,
  .admin-item-total {
    grid-column: 2;
  }

  .admin-kpis,
  .admin-snapshot {
    grid-template-columns: 1fr 1fr;
  }

  .admin-snapshot-link {
    grid-column: 1 / -1;
  }

  .admin-menu-btn {
    display: grid;
  }

  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s var(--ease);
  }

  .admin-nav-toggle:checked ~ .admin-sidebar {
    transform: none;
  }

  .admin-nav-toggle:checked ~ .admin-scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(20, 21, 24, 0.45);
    z-index: 20;
  }

  .admin-shell {
    margin-left: 0;
  }
}

.icon-btn.is-on {
  border-color: var(--aqua);
  color: var(--aqua);
}

.account-layout {
  max-width: 480px;
}

.account-wide {
  max-width: 760px;
}

.account-card .btn {
  width: 100%;
}

.account-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 14px;
}

.account-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 0;
  font-size: 14px;
}

.account-flash {
  margin: 0 0 16px;
  padding: 12px 14px;
  background: var(--aqua-glow);
  border: 1px solid var(--aqua);
}

.account-flash.is-error {
  background: rgba(184, 92, 76, 0.08);
  border-color: var(--danger);
  color: var(--danger);
}

.account-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.account-order {
  display: block;
  color: inherit;
  text-decoration: none;
  margin-bottom: 16px;
}

.account-order:hover {
  border-color: var(--aqua);
}

.account-order-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.account-order-head em {
  margin-left: auto;
  color: var(--mist);
  font-style: normal;
  font-size: 13px;
}

.account-order-items {
  margin: 0;
}

.account-order-total {
  margin: 12px 0 0;
  text-align: right;
  font-weight: 600;
}

.account-back {
  margin: 0 0 16px;
}

.account-banner {
  margin: 0 0 18px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 14px;
}

.account-banner.is-in {
  background: var(--aqua-glow);
  border-color: var(--aqua);
}

.admin-staff-form {
  margin-bottom: 8px;
}

.admin-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}

@media (max-width: 700px) {
  .account-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
