@font-face {
  font-family: Barlow Condensed;
  src: url("assets/barlow-condensed-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Barlow Condensed;
  src: url("assets/barlow-condensed-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("assets/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #131312;
  --deep: #0d0e0d;
  --paper: #f4f4ef;
  --white: #fff;
  --yellow: #f5e339;
  --yellow-hover: #fff16e;
  --muted: #53534b;
  --rule: #dcdcd3;
  --sans: Manrope, system-ui, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", var(--sans);
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --header-height: 4.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; color: var(--ink); background: var(--ink); font-family: var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #776500; outline-offset: 4px; }
.site-header :focus-visible, .hero :focus-visible, .contact-section :focus-visible, .site-footer :focus-visible {
  outline-color: var(--yellow);
}
::selection { background: var(--yellow); color: var(--ink); }

.shell {
  width: min(100% - 2 * var(--gutter), 78rem);
  margin-inline: auto;
}
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden, .swatch input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 10;
  top: .75rem;
  left: .75rem;
  padding: .8rem 1rem;
  background: var(--yellow);
  color: var(--ink);
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }
.eyebrow {
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 1px solid transparent;
  border-radius: .45rem;
  padding: .65rem 1rem;
  font-weight: 800;
  font-size: .9375rem;
  line-height: 1.25;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.button-yellow { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.button-yellow:hover { background: var(--yellow-hover); border-color: var(--yellow-hover); }
.button-outline { background: transparent; color: var(--ink); border-color: #bcbcb1; }
.button-outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.site-header {
  position: sticky;
  z-index: 4;
  top: 0;
  border-bottom: 1px solid #33332b;
  color: var(--white);
  background: var(--ink);
}
.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}
.brand-lockup { justify-self: start; display: flex; align-items: center; gap: 1rem; }
.brand-r1 { width: 3rem; height: auto; }
.brand-maggenta {
  width: 8.6rem;
  height: auto;
  padding: .42rem .55rem;
  border-radius: .35rem;
  background: #faf9f5;
}
.brand-cross { font-size: 1.05rem; font-weight: 400; color: #9b9b8e; }
.main-nav { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 3rem); }
.main-nav a { padding-block: .75rem; color: #e1e1d8; font-size: .9375rem; font-weight: 700; }
.main-nav a:hover { color: var(--yellow); }
.cart-trigger {
  min-height: 2.75rem;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  border: 1px solid #555548;
  border-radius: .45rem;
  background: transparent;
  padding: .45rem .65rem .45rem .8rem;
  font-size: .875rem;
  font-weight: 800;
  white-space: nowrap;
}
.cart-trigger:hover:not(:disabled) { border-color: var(--yellow); }
.cart-trigger .icon { color: var(--yellow); }
.cart-count {
  display: grid;
  place-items: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding-inline: .25rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: var(--deep);
  border-bottom: 3px solid var(--yellow);
}
.hero-media, .hero-shade { position: absolute; inset: 0; z-index: -1; }
.hero-media { left: 16%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 63% 56%; }
.hero-shade {
  background:
    linear-gradient(90deg, var(--deep) 14%, rgba(13, 14, 13, .98) 25%, rgba(13, 14, 13, .75) 41%, rgba(13, 14, 13, .16) 68%, transparent 88%),
    linear-gradient(0deg, rgba(6, 7, 6, .58), transparent 31%);
}
.hero-inner {
  min-height: clamp(36rem, 46vw, 43rem);
  display: grid;
  align-items: center;
  position: relative;
  padding-block: 4rem 5rem;
}
.hero-copy { max-width: 43rem; }
.hero-kicker, .contact-kicker { display: flex; align-items: center; gap: .65rem; color: var(--yellow); }
.hero-kicker > span, .contact-kicker > span { width: 1.75rem; height: 2px; background: currentColor; }
.hero h1, .contact-copy h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(5.25rem, 8.4vw, 8.3rem);
  line-height: .86;
  letter-spacing: -.025em;
}
.hero h1 { margin-top: 1.35rem; }
.hero h1 em, .contact-copy em { color: var(--yellow); font-style: normal; }
.hero-lead {
  max-width: 29rem;
  margin-top: 1.55rem;
  color: #e0dfd5;
  font-size: clamp(1rem, 1.35vw, 1.185rem);
  line-height: 1.65;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.55rem; margin-top: 1.8rem; }
.hero-actions .button { min-height: 3.3rem; padding-inline: 1.15rem; }
.text-action { padding-block: .65rem; font-weight: 800; font-size: .9375rem; text-decoration: underline; text-decoration-color: #9d9d89; text-underline-offset: .32em; }
.text-action:hover { color: var(--yellow); text-decoration-color: var(--yellow); }
.hero-meter { position: absolute; right: 0; bottom: 1.65rem; display: flex; gap: 4px; align-items: end; opacity: .8; }
.hero-meter span { width: 4px; height: .425rem; background: var(--yellow); }
.hero-meter span:nth-child(3n) { height: .75rem; }
.hero-meter span:nth-child(4n) { height: 1.1rem; }
.hero-meter span:nth-child(5) { height: 1.35rem; }

.catalog-section { background: var(--paper); padding-block: clamp(3.4rem, 6vw, 5.75rem) clamp(4rem, 7vw, 6.4rem); }
.catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem 3rem; margin-bottom: 2rem; }
.catalog-heading h2 {
  font-family: var(--display);
  font-size: clamp(3.5rem, 6.2vw, 6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: .86;
}
.catalog-heading h2 span { color: #8c7700; }
.catalog-heading p { max-width: 25rem; color: var(--muted); line-height: 1.65; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.25vw, 2rem); }
.product-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--rule); border-radius: .8rem; background: var(--white); }
.product-media {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  min-width: 0;
  height: clamp(15rem, 25vw, 22rem);
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 43%, #fff 12%, #efefe9 85%);
}
.product-media::after {
  position: absolute;
  z-index: -1;
  content: "";
  width: 60%;
  aspect-ratio: 1;
  right: -35%;
  bottom: -66%;
  border: 1px solid #dbdbce;
  border-radius: 50%;
  box-shadow: 0 0 0 1.375rem #f5f5ef, 0 0 0 calc(1.375rem + 1px) #e0e0d4;
  opacity: .84;
}
.model-code {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: .37rem .57rem;
  border: 1px solid #d2d2c6;
  border-radius: .25rem;
  background: var(--paper);
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1;
}
.product-media img { width: auto; height: 88%; max-width: 88%; object-fit: contain; mix-blend-mode: multiply; }
.product-media--cm07 img { width: 78%; height: auto; transform: rotate(-10deg); }
.product-info { flex: 1; display: flex; flex-direction: column; padding: clamp(1.1rem, 2.5vw, 1.85rem); }
.product-category { color: var(--muted); font-size: .8125rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 800; }
.product-title {
  margin-top: .25rem;
  font-family: var(--display);
  font-size: clamp(2.3rem, 3.6vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
}
.product-description { color: var(--muted); line-height: 1.6; margin-top: .6rem; }
.variant-controls { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem .9rem; margin-top: 1rem; }
.variant-meta { color: #44443e; font-size: .875rem; font-weight: 700; line-height: 1.45; }
.variant-picker { display: contents; }
.variant-list { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.swatch { position: relative; cursor: pointer; }
.swatch-body {
  display: flex;
  align-items: center;
  gap: .375rem;
  min-height: 2.75rem;
  padding: .36rem .62rem;
  border: 1px solid #deded5;
  border-radius: .35rem;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 700;
}
.swatch-body::before { content: ""; width: .65rem; height: .65rem; border: 1px solid #2c2c26; border-radius: 50%; background: var(--swatch, #171714); }
.swatch[data-tone="colorida"] { --swatch: linear-gradient(135deg, #171714 22%, #f7e438 63%); }
.swatch input:checked + .swatch-body { border-color: var(--ink); background: #f8f8f3; color: var(--ink); }
.swatch input:focus-visible + .swatch-body { outline: 3px solid #776500; outline-offset: 3px; }
.card-actions {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  flex: 1;
  padding-top: 1.15rem;
}
.detail-link {
  min-height: 2.75rem;
  padding: .4rem 0;
  border: 0;
  background: transparent;
  font-size: .9375rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: .3em;
  text-decoration-color: #8d8d7f;
}
.detail-link:hover { text-decoration-color: currentColor; }
.card-actions .button { min-height: 2.75rem; }

.contact-section {
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, .62fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 6.2rem);
}
.contact-copy h2 { margin-top: .9rem; font-size: clamp(3.7rem, 6.3vw, 6.3rem); line-height: 1.04; }
.contact-copy > p:last-child { max-width: 28rem; color: #c9c9bd; margin-top: 1.1rem; line-height: 1.7; }
.contact-links { display: grid; gap: .75rem; }
.contact-channel {
  display: flex;
  align-items: center;
  gap: .95rem;
  padding: .9rem;
  border: 1px solid #53534a;
  border-radius: .55rem;
  transition: background-color .18s ease, border-color .18s ease;
}
.contact-channel:hover { background: #20201c; border-color: var(--yellow); }
.contact-whatsapp { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
.contact-whatsapp:hover { background: var(--yellow-hover); border-color: var(--yellow-hover); }
.channel-icon { flex: none; width: 2.65rem; height: 2.65rem; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 1.05rem; }
.contact-channel strong, .contact-channel small { display: block; overflow-wrap: anywhere; }
.contact-channel strong { font-weight: 800; }
.contact-channel small { margin-top: .18rem; font-size: .9rem; }
.contact-channel:not(.contact-whatsapp) small { color: #deded2; }
.site-footer { border-top: 1px solid #34342b; background: var(--deep); color: #bfbfb4; }
.footer-inner { min-height: 5.25rem; display: flex; align-items: center; justify-content: space-between; gap: .9rem 2rem; font-size: .875rem; }
.footer-inner > a:first-child { flex: none; }
.footer-site { color: #e6e6db; font-weight: 800; }
.footer-site:hover { text-decoration: underline; text-underline-offset: .25em; }

.toast {
  position: fixed;
  z-index: 5;
  inset: auto var(--gutter) max(1.1rem, env(safe-area-inset-bottom)) auto;
  display: flex;
  align-items: center;
  gap: .75rem;
  max-width: 25rem;
  padding: .5rem .7rem .5rem .65rem;
  color: var(--white);
  background: var(--ink);
  border: 1px solid #46463c;
  border-radius: .6rem;
  box-shadow: 0 .75rem 2.5rem #10100e40;
  font-size: .875rem;
  font-weight: 700;
}
.toast-check { flex: none; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; background: var(--yellow); color: var(--ink); border-radius: 50%; }
.toast button { min-height: 2.75rem; border: 0; border-radius: .3rem; background: transparent; color: var(--yellow); font-weight: 800; white-space: nowrap; }
.toast button:hover { text-decoration: underline; text-underline-offset: .2em; }
.toast button:focus-visible { outline-color: var(--yellow); }

dialog { border: 0; padding: 0; color: var(--ink); background: var(--white); }
dialog::backdrop { background: rgb(9 10 8 / 72%); }
.icon-button {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: .45rem;
  background: var(--white);
  font-size: 1rem;
}
.icon-button:hover { background: var(--paper); }
.product-dialog {
  width: min(calc(100% - 2rem), 52rem);
  max-height: calc(100% - 2rem);
  border-radius: .85rem;
  overflow: auto;
  overscroll-behavior: contain;
}
.product-dialog-frame { position: relative; }
.dialog-close { position: absolute; z-index: 2; top: .75rem; right: .75rem; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.detail-layout .product-media { height: auto; min-height: 22rem; }
.detail-layout .product-media img { max-height: 22rem; height: 82%; }
.detail-layout .product-media--cm07 img { height: auto; }
.detail-copy { padding: 2.6rem 1.75rem 1.75rem; }
.detail-copy .product-description { margin-bottom: 1rem; }
.detail-copy .button { margin-top: 1.1rem; }
.detail-specs { margin: 1.05rem 0 0; display: grid; gap: .55rem; }
.detail-specs div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .6rem; border-top: 1px solid var(--rule); padding-top: .5rem; }
.detail-specs dt { color: var(--muted); font-size: .875rem; }
.detail-specs dd { margin: 0; font-weight: 800; font-size: .875rem; }
.detail-variant { margin-top: .5rem; }

.cart-dialog {
  width: min(100%, 31rem);
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  inset: 0 0 0 auto;
  margin: 0;
}
.cart-dialog[open] { animation: drawer-in .23s ease-out both; }
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: none; } }
.cart-panel { min-height: 100%; height: 100%; display: flex; flex-direction: column; }
.cart-header, .cart-footer { padding: 1rem clamp(1rem, 5vw, 1.75rem); background: var(--white); }
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--rule);
}
.cart-header .eyebrow { color: var(--muted); }
.cart-header h2 { margin-top: .15rem; font: 800 2.75rem/.95 var(--display); }
.cart-body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 1.1rem clamp(1rem, 5vw, 1.75rem) 1.5rem; }
.cart-empty { min-height: 16rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .85rem; text-align: center; }
.cart-empty > .icon { font-size: 1.75rem; }
.cart-empty p { font-weight: 700; }
.cart-items { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.cart-line { display: grid; grid-template-columns: 4.65rem minmax(0, 1fr); gap: .85rem; padding: .9rem 0; border-bottom: 1px solid var(--rule); }
.cart-line:first-child { padding-top: 0; }
.cart-thumbnail {
  width: 4.65rem;
  height: 4.65rem;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  background: var(--paper);
  border-radius: .45rem;
}
.cart-thumbnail img { width: auto; height: auto; max-height: 86%; max-width: 88%; mix-blend-mode: multiply; }
.line-details h3 { font: 700 1.5rem/1.07 var(--display); }
.line-variant { margin-top: .25rem; font-size: .875rem; line-height: 1.45; color: var(--muted); }
.line-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .9rem; margin-top: .6rem; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--rule); border-radius: .4rem; }
.qty-control button {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 0;
  border-radius: .3rem;
  background: transparent;
}
.qty-control button:hover:not(:disabled) { background: var(--paper); }
.qty-control button:disabled { color: #727268; opacity: .7; }
.qty-control input { appearance: textfield; width: 3.85rem; min-height: 2.75rem; padding: .25rem; border: 0; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.qty-control input::-webkit-inner-spin-button, .qty-control input::-webkit-outer-spin-button { appearance: none; }
.remove-line { min-height: 2.75rem; border: 0; padding: .25rem 0; background: transparent; color: var(--muted); font-size: .875rem; text-decoration: underline; text-underline-offset: .2em; }
.note-label { display: block; margin-bottom: .5rem; font-weight: 800; font-size: .9375rem; }
.note-label span { color: var(--muted); font-weight: 500; }
#quote-note {
  display: block;
  width: 100%;
  min-height: 5.75rem;
  padding: .75rem;
  resize: vertical;
  border: 1px solid #c7c7bb;
  background: var(--paper);
  border-radius: .4rem;
  line-height: 1.4;
}
.cart-footer { border-top: 1px solid var(--rule); padding-bottom: max(1rem, env(safe-area-inset-bottom)); display: grid; gap: .5rem; }
.cart-footer p { margin-bottom: .2rem; color: var(--muted); font-size: .875rem; line-height: 1.5; }

@media (max-width: 860px) {
  .hero-inner { min-height: 36rem; }
  .hero-media { left: 4%; }
  .hero-media img { object-position: 62% center; }
  .hero h1 { font-size: clamp(4.4rem, 10.3vw, 5.9rem); }
  .catalog-heading { align-items: start; flex-direction: column; }
  .catalog-heading p { max-width: 34rem; }
}

@media (max-width: 720px) {
  :root { --header-height: 4.25rem; }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: .65rem; }
  .main-nav { display: none; }
  .brand-lockup { gap: .5rem; max-width: 100%; }
  .brand-r1 { flex: none; width: 2.4rem; }
  .brand-maggenta { min-width: 0; width: 6.25rem; padding: .35rem .42rem; }
  .hero-media { left: 0; }
  .hero-media img { object-position: center; }
  .hero-shade {
    background:
      linear-gradient(0deg, var(--deep) 3%, rgb(13 14 13 / 97%) 19%, rgb(13 14 13 / 69%) 48%, rgb(13 14 13 / 15%) 84%),
      linear-gradient(90deg, rgb(13 14 13 / 40%), transparent);
  }
  .hero-inner { align-items: end; min-height: 34rem; padding-block: 10.7rem 2.8rem; }
  .hero h1 { font-size: clamp(3.5rem, 13.5vw, 5.8rem); margin-top: 1rem; }
  .hero-lead { margin-top: 1.15rem; }
  .hero-actions { margin-top: 1.25rem; }
  .hero-meter { display: none; }
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .product-media { height: clamp(15rem, 57vw, 21rem); }
  .contact-inner { grid-template-columns: minmax(0, 1fr); }
  .contact-copy h2 { font-size: clamp(3.6rem, 11vw, 5.3rem); }
  .contact-links { width: min(100%, 28rem); }
  .footer-inner { justify-content: start; flex-wrap: wrap; padding-block: 1.1rem; }
  .footer-inner p { order: 1; width: 100%; }
}

@media (max-width: 550px) {
  .detail-layout { display: block; }
  .detail-layout .product-media { min-height: 13rem; height: 13rem; }
  .detail-copy { padding: 1.15rem; }
  .detail-copy .product-title { font-size: 2.5rem; }
  .toast { inset-inline: var(--gutter); max-width: none; gap: .5rem; }
}

@media (max-width: 370px) {
  .cart-trigger { gap: .4rem; padding-inline: .5rem; font-size: .8125rem; }
  .brand-maggenta { width: 5.15rem; padding: .35rem; }
  .brand-lockup { gap: .45rem; }
  .hero h1 { font-size: 3.375rem; }
  .line-actions { gap: .2rem .55rem; }
  .qty-control button { width: 2.45rem; }
  .qty-control input { width: 3.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cart-dialog[open] { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
