/* ============================================
   ROTUNDA — Editorial Minimal · v2
   Helvetica + Instrument Serif
   ============================================ */

:root {
  /* Palette — quiet, warm, mineral */
  --bg:           #F1EEE8;   /* warm bone */
  --bg-soft:      #ECE8DF;   /* slightly deeper */
  --bg-deep:      #1A1A1A;   /* charcoal for inversions */
  --ink:          #1B1B1A;
  --ink-soft:     #4B4944;
  --ink-mute:     #8A857B;
  --line:         rgba(27,27,26,0.16);
  --line-soft:    rgba(27,27,26,0.08);
  --accent:       #6B5641;   /* clay accent — used sparingly */

  /* Type */
  --sans: "Helvetica Neue", "Helvetica", "Inter", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;

  /* Rhythm */
  --gutter: clamp(20px, 4.4vw, 72px);
  --section-y: clamp(96px, 14vw, 220px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--ink); color: var(--bg); }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* ============ Typography ============ */
.serif { font-family: var(--serif); font-weight: 400; }
.italic { font-style: italic; }

h1, h2, h3, h4, h5 { font-weight: 400; line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }

.display {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(56px, 11vw, 180px);
  line-height: 0.92;
  letter-spacing: -0.04em;
}
.display .serif-it {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.h-section {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.h-section .serif-it {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.h-card {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.label {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--ink-mute);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--ink-soft);
}

.dash {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: currentColor;
  margin-right: 14px;
  vertical-align: middle;
  position: relative; top: -3px;
}

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  padding: 24px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  transition: padding 320ms ease, background 320ms ease, border-color 320ms ease;
  border-bottom: 1px solid transparent;
  color: var(--ink);
}
.site-header.is-scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(241,238,232,0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line-soft);
}
.site-header.on-dark {
  color: var(--bg);
}
.site-header.on-dark.is-scrolled {
  background: rgba(26,26,26,0.85);
  border-bottom-color: rgba(241,238,232,0.1);
}

.logo {
  text-decoration: none;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.logo-img {
  height: 22px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}
.is-scrolled .logo-img {
  filter: brightness(0);
}
.on-dark.is-scrolled .logo-img {
  filter: brightness(0) invert(1);
  opacity: 0.78;
}

.nav {
  display: flex;
  gap: 36px;
  justify-content: center;
}
.nav a {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  padding: 6px 2px;
  opacity: 0.78;
  transition: opacity 220ms;
}
.nav a:hover { opacity: 1; }
.nav a.active { opacity: 1; }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: currentColor;
  transform: translateX(-50%);
}

.header-end {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}
.header-end .loc {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.62;
}

.menu-toggle {
  display: none;
  background: none; border: 1px solid currentColor;
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: inherit;
  cursor: pointer;
}

/* Mobile menu sheet */
.menu-sheet {
  position: fixed;
  top: 0; right: 0;
  width: min(360px, 92vw);
  height: 100vh;
  background: var(--bg);
  z-index: 90;
  transform: translateX(100%);
  transition: transform 420ms cubic-bezier(.2,.7,.2,1);
  padding: 100px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.menu-sheet.open { transform: translateX(0); }
.menu-sheet a {
  font-family: var(--sans);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.menu-sheet .close {
  position: absolute;
  top: 28px; right: 28px;
  background: none; border: none;
  font-family: var(--serif);
  font-size: 28px;
  cursor: pointer;
  color: var(--ink);
}

/* ============ Hero ============ */
.hero {
  min-height: 100vh;
  padding: 160px var(--gutter) 64px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 64px;
  position: relative;
}

/* Photo-backed hero variant — full-bleed image + readability overlay */
.hero.hero-photo {
  background-image: url("assets/portada.jpg");
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  color: #fff;
  isolation: isolate;
}
.hero.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg,
      rgba(0,0,0,calc(var(--hero-overlay) * 1.25)) 0%,
      rgba(0,0,0,calc(var(--hero-overlay) * 0.45)) 35%,
      rgba(0,0,0,calc(var(--hero-overlay) * 0.55)) 70%,
      rgba(0,0,0,calc(var(--hero-overlay) * 1.0)) 100%);
  pointer-events: none;
}
.hero.hero-photo > * { position: relative; z-index: 1; }
.hero.hero-photo .display,
.hero.hero-photo .sub,
.hero.hero-photo .meta,
.hero.hero-photo .hero-marquee,
.hero.hero-photo .label,
.hero.hero-photo .btn { color: #fff; }
.hero.hero-photo .label,
.hero.hero-photo .hero-marquee,
.hero.hero-photo .meta { color: rgba(255,255,255,0.82); }
.hero.hero-photo .sub { color: rgba(255,255,255,0.94); }
.hero.hero-photo .display { text-shadow: 0 2px 40px rgba(0,0,0,0.22); }
.hero.hero-photo .hero-bottom { border-top-color: rgba(255,255,255,0.32); }
.hero.hero-photo .hero-marquee::before { background: #fff; }
.hero.hero-photo .btn::before { background: #fff; }
.hero.hero-photo .btn:hover { color: rgba(255,255,255,0.78); }
.hero-display {
  align-self: end;
  max-width: 55vw;
}
.hero-display .top-meta {
  display: flex;
  gap: 24px;
  margin-bottom: 36px;
  align-items: center;
}
.hero-display h1 {
  margin-bottom: 0;
}
.hero-display h1 .line { display: block; }
.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: end;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-bottom .sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.25;
  color: var(--ink);
  max-width: 22ch;
  letter-spacing: -0.01em;
}
.hero-bottom .meta {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.7;
}
.hero-bottom .cta-col { justify-self: end; }

.hero-marquee {
  position: absolute;
  top: 100px;
  right: var(--gutter);
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-marquee::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

/* ============ Section frame ============ */
.section {
  padding: var(--section-y) var(--gutter);
  position: relative;
}
.section--dark {
  background: var(--bg-deep);
  color: var(--bg);
}
.section--dark .label,
.section--dark .eyebrow { color: rgba(241,238,232,0.55); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 96px);
  align-items: end;
  margin-bottom: clamp(56px, 8vw, 120px);
}
.section-head .head-left h2 { margin-top: 18px; }
.section-head .head-right {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.45;
  color: var(--ink);
  max-width: 38ch;
  letter-spacing: -0.005em;
}
.section--dark .section-head .head-right { color: rgba(241,238,232,0.78); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  padding: 14px 0;
  position: relative;
  transition: color 220ms ease;
  text-decoration: none;
}
.btn::before {
  content: "";
  position: absolute;
  left: 0; right: 20px; bottom: 8px;
  height: 1px;
  background: currentColor;
}
.btn:hover { color: var(--accent); }
.btn-arrow { font-family: var(--serif); font-size: 18px; line-height: 1; transition: transform 320ms cubic-bezier(.2,.7,.2,1); }
.btn:hover .btn-arrow { transform: translateX(6px); }

.btn--solid {
  background: var(--ink);
  color: var(--bg);
  padding: 18px 28px;
  border-radius: 999px;
  letter-spacing: 0.2em;
}
.btn--solid::before { display: none; }
.btn--solid:hover { background: var(--accent); color: var(--bg); }

.btn--outline {
  border: 1px solid var(--ink);
  padding: 16px 28px;
  border-radius: 999px;
  letter-spacing: 0.2em;
}
.btn--outline::before { display: none; }
.btn--outline:hover { background: var(--ink); color: var(--bg); }

/* ============ Image placeholder ============ */
.plate-wrap {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
/* Override <image-slot>'s :host default of 240×160 so it fills its
   parent .plate (author CSS in light DOM beats :host shadow defaults). */
image-slot {
  display: block;
  width: 100%;
  height: 100%;
}
.plate {
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--tile, #c8c0b1);
  color: var(--bg);
}
.plate::before {
  /* Subtle vertical light wash for materiality */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(0,0,0,0.0) 30%, rgba(0,0,0,0.18) 100%),
    radial-gradient(140% 100% at 30% 10%, rgba(255,255,255,0.10), transparent 55%);
  z-index: 1;
}
.plate::after {
  /* faint grain */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(2deg, rgba(0,0,0,0.025) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(92deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 5px);
  mix-blend-mode: overlay;
  z-index: 2;
  pointer-events: none;
}
.plate > * { position: relative; z-index: 3; }

.plate .name-stamp {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 0 20px;
  pointer-events: none;
  line-height: 1.3;
}
.plate .name-stamp .sub {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 0.28em;
  opacity: 0.65;
}
.plate--light .name-stamp { color: rgba(20,20,20,0.7); }

.plate .corner {
  position: absolute;
  bottom: 12px; left: 12px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
}
.plate--light .corner { color: rgba(20,20,20,0.55); border-color: rgba(20,20,20,0.3); }

/* ============ Categorías ============ */
.cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cat-card {
  position: relative;
  aspect-ratio: 4/5;
  cursor: pointer;
  overflow: hidden;
}
.cat-card .frame {
  position: absolute;
  inset: 0;
  transition: transform 900ms cubic-bezier(.2,.7,.2,1);
}
.cat-card:hover .frame { transform: scale(1.03); }
.cat-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.5) 100%);
  z-index: 4;
}
.cat-card .label-block {
  position: absolute;
  inset: auto 32px 32px 32px;
  z-index: 5;
  color: var(--bg);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}
.cat-card .label-block h3 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 88px);
  letter-spacing: -0.03em;
  line-height: 0.92;
}
.cat-card .label-block h3 .it {
  font-family: var(--serif);
  font-style: italic;
  display: block;
  font-size: 0.55em;
  opacity: 0.85;
  margin-top: 4px;
  letter-spacing: -0.01em;
}
.cat-card .label-block .meta {
  text-align: right;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(241,238,232,0.85);
  line-height: 1.7;
}
.cat-card .arrow {
  position: absolute;
  top: 24px; right: 24px;
  z-index: 5;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(241,238,232,0.95);
  color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 22px;
  transition: transform 420ms cubic-bezier(.2,.7,.2,1), background 220ms;
}
.cat-card:hover .arrow { transform: translate(8px, -8px); background: var(--bg); }

/* ============ Productos ============ */
.filters-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 56px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.chip {
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: all 220ms ease;
}
.chip:hover { border-color: var(--ink); }
.chip.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.filter-side {
  display: flex;
  align-items: center;
  gap: 24px;
}
.filter-side .count {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.sort-select {
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  padding: 6px 4px;
  appearance: none;
  -webkit-appearance: none;
  border-bottom: 1px solid var(--line);
}
.search-input {
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 13px;
  padding: 6px 4px;
  width: 200px;
  outline: none;
  color: var(--ink);
}
.search-input::placeholder { color: var(--ink-mute); letter-spacing: 0.04em; }
.search-input:focus { border-bottom-color: var(--ink); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 18px;
}
.prod-card {
  cursor: pointer;
  position: relative;
}
.prod-card .frame {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  margin-bottom: 14px;
  transition: transform 700ms cubic-bezier(.2,.7,.2,1);
}
.prod-card:hover .frame {
  transform: scale(0.985);
}
.prod-card .frame .plate {
  transition: transform 1100ms cubic-bezier(.2,.7,.2,1);
}
.prod-card:hover .plate {
  transform: scale(1.03);
}
.prod-card .meta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 12px;
}
.prod-card .name {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}
.prod-card .h {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.prod-card .sub {
  grid-column: 1 / -1;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 6px;
}
.prod-card .quick {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 5;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(241,238,232,0.95);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 18px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 280ms, transform 320ms cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.prod-card:hover .quick { opacity: 1; transform: none; }

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-mute);
}

.show-more {
  display: flex;
  justify-content: center;
  margin-top: 64px;
}

/* ============ Nosotros ============ */
.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.about-text .pull {
  font-family: var(--sans);
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 40px;
  max-width: 16ch;
}
.about-text .pull .it {
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: -0.01em;
}
.about-text p {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 56ch;
}
.about-text p + p { margin-top: 1.1em; }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.about-stats .item .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.about-stats .item .lbl {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.about-images .a1 { aspect-ratio: 3/4; grid-column: 1 / -1; }
.about-images .a2 { aspect-ratio: 1/1; transform: translateY(28px); }
.about-images .a3 { aspect-ratio: 1/1; transform: translateY(60px); }

/* ============ Contacto ============ */
.contact {
  display: block;
}
.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.contact-form label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 16px;
  padding: 8px 0;
  outline: none;
  color: var(--ink);
  resize: vertical;
  font-weight: 400;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-bottom-color: var(--ink); }
.contact-form textarea { min-height: 120px; }
.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.contact-form .check {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 36px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  cursor: pointer;
  user-select: none;
}
.contact-form .check .box {
  width: 18px; height: 18px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  display: grid; place-items: center;
  font-size: 12px;
  background: var(--bg);
}
.contact-form .check input { display: none; }
.contact-form .check input:checked + .box { background: var(--ink); color: var(--bg); }

.sent-msg {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  margin-top: 16px;
}

/* Contact info bar — horizontal below form */
.contact-info-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
  margin-top: 56px;
}
.contact-info-bar .group h5 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
  font-weight: 500;
}
.contact-info-bar .group p,
.contact-info-bar .group a {
  display: block;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 4px;
  line-height: 1.5;
  position: relative;
}
.contact-info-bar .group a {
  border-bottom: 1px solid transparent;
  width: fit-content;
  padding-bottom: 1px;
  transition: border-color 220ms;
}
.contact-info-bar .group a:hover { border-bottom-color: var(--ink); }
.contact-info-bar .group .small {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 4px;
}

/* ============ Trade / Arquitectos ============ */
.trade-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.trade-full-bg {
  position: absolute;
  inset: 0;
  background: #1e1a16;
}
.trade-full-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.0) 30%, rgba(0,0,0,0.5) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.0) 50%);
  z-index: 2;
  pointer-events: none;
}
.trade-full-content {
  position: relative;
  z-index: 3;
  padding: clamp(40px, 6vw, 80px) clamp(40px, 5vw, 72px);
  color: #fff;
}
.trade-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(241,238,232,0.5);
  margin-bottom: 28px;
}
.trade-hero-title {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 100px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 40px;
}
.trade-hero-line { display: block; }
.trade-hero-it {
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: -0.02em;
}
.trade-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  border-top: 1px solid rgba(241,238,232,0.2);
  padding-top: 28px;
}
.trade-desc {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  color: rgba(241,238,232,0.65);
  max-width: 420px;
}
.trade-email {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.05em;
  color: rgba(241,238,232,0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(241,238,232,0.3);
  transition: color 220ms, border-color 220ms;
  width: fit-content;
}
.trade-email:hover { color: #fff; border-color: rgba(241,238,232,0.7); }
.trade-cta {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  padding: 16px 32px;
  border: 1px solid rgba(241,238,232,0.35);
  transition: background 220ms, border-color 220ms;
}
.trade-cta:hover {
  background: rgba(241,238,232,0.1);
  border-color: rgba(241,238,232,0.6);
}

/* ============ Newsletter (in Contacto) ============ */
.newsletter {
  background: var(--bg-deep);
  color: var(--bg);
  padding: clamp(48px, 7vw, 96px);
  margin-top: 96px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.newsletter h3 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.025em;
  line-height: 1;
  max-width: 16ch;
}
.newsletter h3 .it { font-family: var(--serif); font-style: italic; }
.newsletter p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: rgba(241,238,232,0.78);
  margin-top: 18px;
  max-width: 32ch;
}
.newsletter-form {
  display: flex;
  border-bottom: 1px solid rgba(241,238,232,0.4);
}
.newsletter-form input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  padding: 12px 0;
}
.newsletter-form input::placeholder { color: rgba(241,238,232,0.4); }
.newsletter-form button {
  background: none;
  border: none;
  color: var(--bg);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 12px 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity 220ms;
}
.newsletter-form button:hover { opacity: 0.7; }
.newsletter-form button .ar { font-family: var(--serif); font-size: 18px; }
.newsletter-form.sent { border-bottom-color: var(--accent); }
.newsletter-form.sent button { color: var(--accent); }

/* ============ Footer ============ */
.footer {
  background: var(--bg-deep);
  color: var(--bg);
  padding: clamp(48px, 6vw, 80px) var(--gutter) 32px;
}
.footer-mark {
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(241,238,232,0.15);
}
.footer-logo-img {
  height: clamp(60px, 14vw, 200px);
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(241,238,232,0.15);
}
.footer-grid h6 {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(241,238,232,0.55);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--bg);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 220ms;
}
.footer-grid a:hover { opacity: 1; color: var(--bg); }
.footer-end {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(241,238,232,0.45);
}

/* ============ Product modal ============ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(26,26,26,0);
  pointer-events: none;
  transition: background 320ms;
  display: grid;
  place-items: center;
  padding: 4vw;
}
.modal.open { background: rgba(26,26,26,0.7); pointer-events: auto; }
.modal-panel {
  width: min(1100px, 100%);
  height: min(700px, 92vh);
  background: var(--bg);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  transform: scale(0.97);
  opacity: 0;
  transition: transform 420ms cubic-bezier(.2,.7,.2,1), opacity 320ms;
  overflow: hidden;
}
.modal.open .modal-panel { transform: none; opacity: 1; }
.modal .gallery {
  position: relative;
  background: var(--bg-soft);
}
.modal .gallery .main {
  position: absolute;
  inset: 0;
}
.modal .info {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.modal .info .top-row {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 32px;
}
.modal .info .cat-tag {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.modal .info .close {
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 40px; height: 40px;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  transition: all 220ms;
}
.modal .info .close:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.modal .info h2 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.modal .info .color-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 32px;
}
.modal .info .desc {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 42ch;
}
.modal .info dl {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px 24px;
  margin-bottom: 40px;
}
.modal .info dt {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 4px;
}
.modal .info dd {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
}
.modal .info .actions { margin-top: auto; }

/* ============ Reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 900ms ease, transform 900ms cubic-bezier(.2,.7,.2,1);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 50ms; }
.reveal.d2 { transition-delay: 120ms; }
.reveal.d3 { transition-delay: 200ms; }
.reveal.d4 { transition-delay: 280ms; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .header-end .loc { display: none; }
  .menu-toggle { display: inline-flex; }

  .hero { min-height: auto; padding-top: 120px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 32px; }
  .hero-bottom .cta-col { justify-self: start; }
  .hero-marquee { position: static; margin-bottom: 24px; }

  .section-head { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr; }

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

  .about { grid-template-columns: 1fr; }
  .about-images .a1 { grid-column: 1; }
  .about-images .a2, .about-images .a3 { transform: none; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 16px; }

  .contact-info-bar { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .contact-form .row { grid-template-columns: 1fr; gap: 0; }

  .trade-section { min-height: 70vh; }
  .trade-bottom { flex-direction: column; align-items: flex-start; }

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

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-end { flex-direction: column; gap: 12px; align-items: start; }

  .modal-panel { grid-template-columns: 1fr; height: 92vh; }
  .modal .gallery { height: 240px; }
  .modal .info { padding: 32px 28px; }
}

@media (max-width: 560px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .prod-card .name { font-size: 12px; }
  .prod-card .h { font-size: 13px; }
}

/* ============================================
   NEW VIEWS — Nav, Hero SS, Catalog+, PD, Cart, Checkout
   ============================================ */

/* ============ Top Nav ============ */
nav.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background 320ms, padding 320ms, border-color 320ms;
  border-bottom: 1px solid transparent;
}
nav.nav--solid {
  padding-top: 14px; padding-bottom: 14px;
  background: rgba(241,238,232,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line-soft);
}
.nav-logo { text-decoration: none; display: inline-flex; align-items: center; }
.nav-logo-img { height: 20px; width: auto; display: block; }
nav.nav:not(.nav--solid) .nav-logo-img { filter: brightness(0) invert(1); }
nav.nav.nav--solid .nav-logo-img { filter: brightness(0); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  opacity: 0.75;
  transition: opacity 220ms;
}
nav.nav:not(.nav--solid) .nav-links a { color: #fff; }
.nav-links a:hover { opacity: 1; }
.nav-cart { position: relative; }
.cart-badge {
  position: absolute;
  top: -8px; right: -14px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 600;
}

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 6px;
}
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: all 300ms; }
nav.nav:not(.nav--solid) .nav-burger span { background: #fff; }
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============ Toast ============ */
.toast {
  position: fixed;
  bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-deep);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  border-radius: 999px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms, transform 300ms cubic-bezier(.2,.7,.2,1);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }

/* ============ Main padded (for sub-views) ============ */
.main-padded { padding-top: 120px; }

/* ============ Hero Slideshow ============ */
.hero-ss {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #1a1a1a;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1200ms ease;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide-bg {
  position: absolute; inset: 0;
}
.hero-slide-bg image-slot { display: block; width: 100%; height: 100%; }
.hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.45) 100%);
  z-index: 2;
}
.hero-slide-content {
  position: absolute;
  bottom: clamp(60px, 10vh, 140px);
  left: var(--gutter);
  z-index: 3;
  color: #fff;
}
.hero-slide-title {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(48px, 9vw, 140px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.hs-line { display: block; }
.hs-it { font-family: var(--serif); font-style: italic; letter-spacing: -0.025em; }
.hero-slide-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.8vw, 22px);
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
}
.hero-slide-cta {
  background: none; border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 220ms, border-color 220ms;
  display: inline-flex; align-items: center; gap: 10px;
}
.hero-slide-cta:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.cta-arrow { font-family: var(--serif); font-size: 16px; }

/* Hero bottom controls — arrows + dots together */
.hero-controls {
  position: absolute;
  bottom: 28px; right: var(--gutter);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-arrow {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 220ms, border-color 220ms;
  backdrop-filter: blur(6px);
}
.hero-arrow:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); }

/* Hero dots */
.hero-dots {
  display: flex; gap: 8px;
  align-items: center;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: background 300ms, transform 300ms;
}
.hero-dot.active { background: #fff; transform: scale(1.3); }

/* Cats 2-col */
.cats-2 { grid-template-columns: 1fr 1fr; }

/* Catálogo completo bar */
.cat-bar {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 220px;
  margin-top: 18px;
  cursor: pointer;
  overflow: hidden;
}
.cat-bar-img {
  position: absolute;
  inset: 0;
}
.cat-bar-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.0) 100%);
  z-index: 2;
}
.cat-bar-content {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 28px 32px;
  color: var(--bg);
}
.cat-bar-title {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}
.cat-bar-count {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.cat-bar-link {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 220ms;
}
.cat-bar:hover .cat-bar-link { color: #fff; }
.cat-bar:hover .cat-bar-img .plate {
  transform: scale(1.03);
  transition: transform 900ms cubic-bezier(.2,.7,.2,1);
}

@media (max-width: 980px) {
  .cats-2 { grid-template-columns: 1fr; }
  .cat-bar { flex-direction: column; gap: 12px; text-align: center; }
}

/* ============ About rows (Nosotros v2) ============ */
.about-stats--top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: clamp(56px, 8vw, 120px);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  margin-bottom: clamp(56px, 8vw, 100px);
}
.about-row--reverse { direction: rtl; }
.about-row--reverse > * { direction: ltr; }
.about-row-text .pull {
  font-family: var(--sans);
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.about-row-text .pull .it { font-family: var(--serif); font-style: italic; }
.about-row-text .body-text {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 50ch;
}
.about-row-text .body-text + .body-text { margin-top: 1em; }
.about-row-img { aspect-ratio: 4/5; position: relative; }

/* Workshop video */
.workshop-video {
  margin-top: clamp(40px, 6vw, 80px);
}
.wv-media {
  position: relative;
  width: 100%;
  height: clamp(480px, 65vh, 720px);
  overflow: hidden;
  background: #2a2520;
}
.wv-media image-slot { display: block; width: 100%; height: 100%; }
.wv-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.4) 100%);
  z-index: 2;
  pointer-events: none;
}
.wv-content {
  position: absolute;
  bottom: clamp(32px, 5vh, 64px);
  left: clamp(28px, 4vw, 56px);
  z-index: 3;
  color: #fff;
}
.wv-title {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(36px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.wv-line { display: block; }
.wv-it { font-family: var(--serif); font-style: italic; letter-spacing: -0.02em; }

/* ============ Confianza ============ */
.confianza-section { padding-bottom: 0; }
.confianza-hero { aspect-ratio: 21/9; position: relative; margin-bottom: clamp(40px, 6vw, 80px); }
.confianza-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 0 var(--gutter);
  margin-bottom: clamp(64px, 10vw, 140px);
}
.confianza-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.confianza-title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.confianza-text {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Testimonials */
.testimonials { padding: clamp(48px, 8vw, 120px) var(--gutter); }
.test-heading { margin-bottom: clamp(40px, 6vw, 80px); }
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.test-card {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.test-quote {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.test-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 20px;
}
.test-author {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.test-author strong { color: var(--ink); font-weight: 500; }

/* ============ Catalog View Extras ============ */
.catalog-view { padding: 0 var(--gutter) var(--section-y); }
.catalog-header { margin-bottom: clamp(40px, 6vw, 72px); }
.catalog-header h2 { margin-bottom: 12px; }
.catalog-desc {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 50ch;
}

/* Advanced filters — always-visible dropdown system */
.cat-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  margin-bottom: 16px;
}
.cat-tabs { display: flex; gap: 6px; }

.filter-dropdowns-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.fd-group { display: flex; gap: 10px; align-items: center; }
.fd-right { display: flex; align-items: center; gap: 20px; }

/* Filter dropdown button */
.fd { position: relative; }
.fd-btn {
  appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 9px 20px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: all 220ms ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.fd-btn:hover { background-color: var(--bg-soft); }
button.fd-btn.fd-btn--active {
  background-color: var(--ink) !important;
  color: var(--bg) !important;
  border-color: var(--ink) !important;
}
button.fd-btn.fd-btn--active:hover { background-color: #333 !important; }
.fd-btn--open { border-color: var(--ink); }
.fd-count { font-weight: 600; letter-spacing: 0; }
.fd-chev { font-size: 8px; margin-left: 2px; }

/* Dropdown panel */
.fd-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
  padding: 12px 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
}
.fd-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 150ms, color 150ms;
  user-select: none;
}
.fd-option:hover { background: var(--bg-soft); color: var(--ink); }
.fd-option--checked { color: var(--ink); font-weight: 500; }
.fd-option input { display: none; }

/* Custom checkbox */
.fd-checkbox {
  width: 16px; height: 16px;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  display: inline-grid;
  place-items: center;
  font-size: 11px;
  flex-shrink: 0;
  transition: all 180ms;
  color: transparent;
  line-height: 1;
}
.fd-checkbox--on {
  background: var(--ink);
  color: var(--bg);
}

/* Active filter tags row */
.filter-tags-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 12px 0;
}
.filter-tags-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  flex-shrink: 0;
}
.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  background: #EDE8DC;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
}
.filter-tag button {
  background: none; border: none;
  font-size: 14px; cursor: pointer;
  color: var(--ink-soft);
  padding: 0; line-height: 1;
  transition: color 150ms;
}
.filter-tag button:hover { color: var(--ink); }
.clear-all-btn {
  background: none; border: none;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  cursor: pointer;
  padding: 6px 0;
  margin-left: auto;
  flex-shrink: 0;
  transition: opacity 200ms;
}
.clear-all-btn:hover { opacity: 0.7; }

/* Product card price row */
.prod-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  gap: 8px;
}
.prod-price {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.add-cart-btn {
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 220ms;
}
.add-cart-btn:hover { border-color: var(--ink); color: var(--ink); background: var(--bg-soft); }

/* ============ Product Detail ============ */
.pd-view { padding: 0 var(--gutter) var(--section-y); }
.pd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.pd-breadcrumb a { color: var(--ink-soft); text-decoration: none; transition: color 200ms; }
.pd-breadcrumb a:hover { color: var(--ink); }
.pd-breadcrumb .current { color: var(--ink); }

.pd-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.pd-main-img {
  aspect-ratio: 4/5;
  position: relative;
  margin-bottom: 12px;
}
.pd-thumbs {
  display: flex;
  gap: 8px;
}
.pd-thumb {
  width: 72px; height: 72px;
  position: relative;
  background: none;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: border-color 200ms;
}
.pd-thumb.active { border-color: var(--ink); }
.pd-thumb:hover { border-color: var(--ink-mute); }

.pd-cat-tag {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  margin-bottom: 12px;
}
.pd-name {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.pd-finish {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 16px;
}
.pd-price {
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 8px;
}
.pd-sep {
  border: none;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
.pd-specs { display: flex; flex-direction: column; gap: 10px; }
.pd-spec {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
}
.pd-spec-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.pd-spec-value {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink);
}
.pd-desc {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 50ch;
}
.pd-qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.pd-qty-btn {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  background: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: grid; place-items: center;
  transition: all 200ms;
  color: var(--ink);
}
.pd-qty-btn:hover { border-color: var(--ink); background: var(--bg-soft); }
.pd-qty-num {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  min-width: 24px;
  text-align: center;
}
.pd-add { width: 100%; justify-content: center; margin-bottom: 12px; }
.pd-wa { width: 100%; justify-content: center; margin-bottom: 8px; }
.pd-shipping p {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

/* ============ Cart ============ */
.cart-view { padding: 0 var(--gutter) var(--section-y); }
.cart-view h2 { margin-bottom: 40px; }
.cart-empty { text-align: center; padding: 80px 0; }
.cart-empty-msg {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ink-mute);
  margin-bottom: 28px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}
.cart-item-img { width: 80px; height: 80px; position: relative; }
.cart-item-name {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cart-item-color {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 4px;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-item-qty button {
  width: 32px; height: 32px;
  border: 1px solid var(--line);
  background: none; border-radius: 50%;
  cursor: pointer; font-size: 16px;
  display: grid; place-items: center;
  color: var(--ink);
  transition: all 200ms;
}
.cart-item-qty button:hover { border-color: var(--ink); }
.cart-item-qty span {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  min-width: 20px;
  text-align: center;
}
.cart-item-subtotal {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  min-width: 80px;
  text-align: right;
}
.cart-item-remove {
  background: none; border: none;
  font-size: 20px; color: var(--ink-mute);
  cursor: pointer; padding: 4px;
  transition: color 200ms;
}
.cart-item-remove:hover { color: var(--ink); }

.cart-sidebar {
  position: sticky;
  top: 100px;
  padding: 28px;
  border: 1px solid var(--line);
}
.cart-discount {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.cart-discount input {
  flex: 1;
  background: none; border: none;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 14px;
  padding: 8px 0;
  outline: none;
  color: var(--ink);
}
.btn--sm { padding: 10px 18px; font-size: 10px; }
.cart-discount-msg {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 16px;
}
.cart-summary { margin-bottom: 20px; }
.cart-sum-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 14px;
  padding: 8px 0;
  color: var(--ink);
}
.cart-sum-row hr { display: none; }
.cart-summary hr { border: none; border-top: 1px solid var(--line); margin: 8px 0; }
.cart-muted { color: var(--ink-mute); font-size: 12px; }
.cart-total { font-weight: 500; font-size: 16px; }
.cart-checkout-btn { width: 100%; justify-content: center; margin-bottom: 12px; }
.cart-continue {
  display: block;
  text-align: center;
  background: none; border: none;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 8px;
  width: 100%;
}
.cart-continue:hover { color: var(--ink); }

/* ============ Checkout ============ */
.checkout-view { padding: 0 var(--gutter) var(--section-y); }
.checkout-view h2 { margin-bottom: 40px; }
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.checkout-form .field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.checkout-form label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  background: none; border: none;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 16px;
  padding: 8px 0;
  outline: none;
  color: var(--ink);
  resize: vertical;
}
.checkout-form input:focus,
.checkout-form textarea:focus { border-bottom-color: var(--ink); }
.checkout-form textarea { min-height: 80px; }
.checkout-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.checkout-step {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-soft);
}
.checkout-step-title {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
}
.payment-options { display: flex; flex-direction: column; gap: 12px; }
.payment-opt {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 200ms;
}
.payment-opt:hover { border-color: var(--ink-mute); }
.payment-opt input { display: none; }
.po-label {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
}
.po-desc {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-mute);
}
.checkout-submit { margin-top: 8px; }

.checkout-summary {
  position: sticky;
  top: 100px;
  padding: 28px;
  border: 1px solid var(--line);
}
.checkout-summary h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 20px;
  font-weight: 500;
}
.cs-items { display: flex; flex-direction: column; gap: 10px; }
.cs-item {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 14px;
}
.cs-name { color: var(--ink); }
.cs-qty { color: var(--ink-mute); font-size: 12px; }
.cs-price { font-weight: 500; }
.checkout-summary hr { border: none; border-top: 1px solid var(--line); margin: 16px 0; }
.cs-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 14px;
  padding: 4px 0;
}
.cs-total { font-weight: 500; font-size: 16px; }
.cs-free {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--accent);
  margin-top: 4px;
}

.checkout-done { text-align: center; padding: 80px 0; }
.checkout-success { max-width: 480px; margin: 0 auto; }
.check-icon {
  display: inline-grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bg-deep);
  color: var(--bg);
  font-size: 28px;
  margin-bottom: 28px;
}
.checkout-success p {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.checkout-success .btn { margin-top: 20px; }

/* ============ Responsive additions ============ */
@media (max-width: 980px) {
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--bg); flex-direction: column; justify-content: center; align-items: center; gap: 28px; z-index: 79; }
  .nav-links.open { display: flex; }
  .nav-links.open a { color: var(--ink) !important; font-size: 16px; opacity: 1; }
  .nav-burger { display: flex; }

  .hero-ss { height: 80vh; min-height: 500px; }
  .hero-slide-title { font-size: clamp(36px, 8vw, 80px); }

  .cats-3 { grid-template-columns: 1fr; }
  .about-stats--top { grid-template-columns: repeat(3, 1fr); }
  .about-row { grid-template-columns: 1fr; gap: 28px; }
  .about-row--reverse { direction: ltr; }
  .workshop-gallery { grid-template-columns: 1fr 1fr; }
  .confianza-grid { grid-template-columns: 1fr 1fr; }
  .test-grid { grid-template-columns: 1fr; }

  .pd-layout { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 60px 1fr auto auto auto; }
  .checkout-layout { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero-controls { gap: 10px; }
  .hero-arrow { width: 36px; height: 36px; }
  .confianza-grid { grid-template-columns: 1fr; }
  .about-stats--top { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 1fr; gap: 8px; }
  .cart-item-img { display: none; }
  .checkout-form .row { grid-template-columns: 1fr; }
}
