:root {
  --coffee: #3B1F12;
  --mahogany: #6B371F;
  --gold: #E5C46E;
  --green: #22C55E;
  --cream: #F7F2EA;
  --ink: #20140E;
  --deep: #0F0B08;
  --panel: rgba(32, 20, 14, 0.78);
  --text: #FFFFFF;
  --muted: rgba(247, 242, 234, 0.72);
  --line: rgba(229, 196, 110, 0.25);
  --soft-line: rgba(247, 242, 234, 0.14);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --container: 1200px;
}

/* Update UI 16: portal distribuidor */
.distributor-page {
  min-height: 100vh;
  color: #f7f2ea;
  background:
    radial-gradient(circle at 8% 16%, rgba(107, 55, 31, 0.46), transparent 34%),
    radial-gradient(circle at 92% 8%, rgba(18, 60, 44, 0.52), transparent 32%),
    linear-gradient(135deg, #0f0b08, #1a120d 52%, #0c120e);
}

.dealer-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 54px);
  border-bottom: 1px solid rgba(229, 196, 110, 0.18);
  background: rgba(15, 11, 8, 0.82);
  backdrop-filter: blur(16px);
}

.dealer-brand {
  display: grid;
  color: #e5c46e;
  font-family: Georgia, serif;
  font-size: 1.7rem;
  line-height: 1;
}

.dealer-brand small {
  margin-top: 5px;
  color: #c9bba3;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dealer-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dealer-user strong {
  color: #fff;
}

.dealer-user form {
  margin: 0;
}

.dealer-user button,
.dealer-action,
.dealer-filter button,
.dealer-card button {
  border: 0;
  border-radius: 999px;
  padding: 11px 17px;
  color: #20140e;
  background: linear-gradient(135deg, #e5c46e, #f4df94);
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.dealer-cart-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  padding: 0;
  color: #20140e;
  background: #22c55e;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.24);
}

.dealer-cart-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dealer-cart-toggle span {
  position: absolute;
  right: -5px;
  top: -7px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #20140e;
  background: #e5c46e;
  font-size: 0.72rem;
  font-weight: 900;
}

.dealer-user button:hover,
.dealer-action:hover,
.dealer-filter button:hover,
.dealer-card button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(229, 196, 110, 0.22);
}

.dealer-shell {
  width: min(1640px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.dealer-hero {
  min-height: 150px;
  display: grid;
  align-content: end;
  gap: 12px;
  margin-bottom: 18px;
  border: 1px solid rgba(229, 196, 110, 0.18);
  border-radius: 26px;
  padding: clamp(20px, 3vw, 34px);
  background:
    linear-gradient(90deg, rgba(15, 11, 8, 0.9), rgba(59, 31, 18, 0.72)),
    var(--section-bg, none);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.dealer-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1;
}

.dealer-hero p:not(.eyebrow) {
  max-width: 640px;
  margin: 0;
  color: #d8cbb8;
  font-size: 0.98rem;
}

.dealer-sent,
.dealer-filter,
.dealer-cart,
.dealer-card {
  border: 1px solid rgba(229, 196, 110, 0.18);
  background: rgba(26, 18, 13, 0.78);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.dealer-sent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  border-radius: 22px;
  padding: 18px;
}

.dealer-sent h2 {
  margin: 0;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 2rem;
}

.dealer-sent p {
  margin: 5px 0 0;
  color: #c9bba3;
}

.dealer-filter {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 260px) auto auto;
  gap: 10px;
  margin-bottom: 16px;
  border-radius: 999px;
  padding: 8px;
}

.dealer-filter input,
.dealer-filter select {
  width: 100%;
  border: 1px solid rgba(229, 196, 110, 0.16);
  border-radius: 999px;
  padding: 10px 14px;
  color: #f7f2ea;
  background: rgba(15, 11, 8, 0.68);
  font: inherit;
}

.dealer-filter a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: #c9bba3;
  font-weight: 900;
}

.dealer-workspace {
  display: block;
}

.dealer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.dealer-card {
  overflow: hidden;
  border-radius: 18px;
  transition: transform .22s ease, border-color .22s ease;
}

.dealer-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 196, 110, 0.36);
}

.dealer-card-image {
  display: grid;
  place-items: center;
  aspect-ratio: 1.25 / 1;
  background: #4b2418;
  overflow: hidden;
}

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

.dealer-card-image span {
  color: #e5c46e;
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 900;
}

.dealer-card-copy {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.dealer-card-copy small {
  color: #e5c46e;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dealer-card-copy h2 {
  min-height: 2.15em;
  margin: 0;
  color: #fff;
  font-family: Georgia, serif;
  font-size: clamp(1.12rem, 1.4vw, 1.45rem);
  line-height: 1.05;
}

.dealer-card-copy p {
  min-height: 2.6em;
  margin: 0;
  color: #c9bba3;
  font-size: 0.88rem;
  line-height: 1.4;
}

.dealer-card-copy strong {
  color: #f4df94;
  font-size: 1.02rem;
}

.dealer-card-copy button {
  padding: 10px 14px;
}

.dealer-card button.is-added {
  background: #22c55e;
}

.dealer-cart {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  width: min(430px, calc(100vw - 24px));
  transform: translateX(105%);
  display: grid;
  align-content: start;
  gap: 16px;
  border-width: 0 0 0 1px;
  border-radius: 0;
  padding: 20px;
  background: rgba(15, 11, 8, 0.96);
  transition: transform .28s ease;
  overflow: auto;
}

.dealer-cart.is-open {
  transform: translateX(0);
}

.dealer-cart-scrim {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: none;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(4px);
}

.dealer-cart-open .dealer-cart-scrim {
  display: block;
}

.dealer-cart h2 {
  margin: 0;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.65rem;
}

.dealer-cart-close {
  position: absolute;
  right: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(229, 196, 110, 0.22);
  border-radius: 999px;
  color: #f7f2ea;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.dealer-cart p {
  margin: 4px 0 0;
  color: #c9bba3;
}

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

.dealer-cart-items {
  display: grid;
  gap: 12px;
  max-height: none;
  overflow: auto;
  padding-right: 4px;
}

.dealer-empty {
  border: 1px dashed rgba(229, 196, 110, 0.26);
  border-radius: 16px;
  padding: 18px;
  color: #c9bba3;
  text-align: center;
}

.dealer-cart-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(229, 196, 110, 0.14);
  border-radius: 16px;
  padding: 10px;
  background: rgba(15, 11, 8, 0.48);
}

.dealer-cart-img {
  display: grid;
  place-items: center;
  width: 64px;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #4b2418;
}

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

.dealer-cart-img span {
  color: #e5c46e;
  font-family: Georgia, serif;
  font-weight: 900;
}

.dealer-cart-row strong {
  display: block;
  color: #fff;
}

.dealer-cart-row small {
  display: block;
  color: #c9bba3;
}

.dealer-qty {
  display: inline-grid;
  grid-template-columns: 30px 34px 30px;
  align-items: center;
  margin-top: 8px;
  border: 1px solid rgba(229, 196, 110, 0.22);
  border-radius: 999px;
  overflow: hidden;
}

.dealer-qty button {
  border: 0;
  min-height: 30px;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.dealer-qty span {
  text-align: center;
  color: #fff;
  font-weight: 900;
}

.dealer-row-price {
  display: grid;
  gap: 5px;
  justify-items: end;
}

.dealer-row-price button,
.dealer-clear {
  border: 0;
  color: #ffb1a5;
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.dealer-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(229, 196, 110, 0.16);
  padding-top: 14px;
  color: #c9bba3;
}

.dealer-total strong {
  color: #fff;
  font-size: 1.5rem;
}

.dealer-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.dealer-action:disabled {
  cursor: not-allowed;
  opacity: .48;
  transform: none;
  box-shadow: none;
}

@media (max-width: 1180px) {
  .dealer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .dealer-topbar,
  .dealer-user,
  .dealer-sent {
    align-items: stretch;
    flex-direction: column;
  }

  .dealer-user {
    gap: 8px;
  }

  .dealer-filter {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

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

@media (max-width: 560px) {
  .dealer-shell {
    width: min(100% - 20px, 1640px);
    padding-top: 18px;
  }

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

  .dealer-cart-row {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .dealer-row-price {
    grid-column: 2;
    justify-items: start;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(107, 55, 31, 0.42), transparent 30%),
    radial-gradient(circle at 96% 12%, rgba(34, 197, 94, 0.12), transparent 24%),
    linear-gradient(180deg, #0F0B08 0%, #20140E 52%, #0F0B08 100%);
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(229,196,110,.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(247,242,234,.035), transparent);
  background-size: 54px 54px, auto;
}

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

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

main {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px clamp(18px, 5vw, 70px);
  background: rgba(15, 11, 8, 0.58);
  border-bottom: 1px solid rgba(229, 196, 110, 0.16);
  backdrop-filter: blur(18px);
  transition: background 220ms ease, padding 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(15, 11, 8, 0.92);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.38);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark,
.brand-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
}

.brand-mark {
  border-radius: 999px;
  background:
    linear-gradient(135deg, var(--gold), #9e6e2e),
    var(--gold);
  box-shadow: 0 12px 34px rgba(229, 196, 110, 0.2);
}

.brand-logo {
  object-fit: contain;
  border-radius: 10px;
  background: rgba(247, 242, 234, 0.08);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  font-weight: 700;
  line-height: 0.92;
}

.brand-text small {
  display: block;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px;
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  background: rgba(247, 242, 234, 0.06);
}

.site-nav a {
  border-radius: 999px;
  padding: 10px 15px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(229, 196, 110, 0.12);
  transform: translateY(-1px);
}

.site-nav .pill {
  color: var(--ink);
  background: var(--gold);
}

.btn,
.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(229, 196, 110, 0.38);
  border-radius: 999px;
  padding: 13px 22px;
  color: var(--text);
  background: rgba(247, 242, 234, 0.08);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover,
.button:hover,
button:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.btn.primary,
.button,
button {
  color: var(--ink);
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold), #f6df96);
}

.btn.action {
  color: #06220f;
  border-color: transparent;
  background: var(--green);
}

.btn.ghost {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.08);
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: grid;
  align-items: end;
  padding: clamp(70px, 9vw, 120px) clamp(18px, 6vw, 86px) clamp(28px, 4vw, 56px);
  background:
    linear-gradient(90deg, rgba(15, 11, 8, 0.88) 0%, rgba(59, 31, 18, 0.72) 45%, rgba(15, 11, 8, 0.34) 100%),
    var(--hero-bg, url("../images/hero-maderalia.svg")) center/cover;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 75% 25%, rgba(229, 196, 110, 0.2), transparent 24%),
    linear-gradient(180deg, transparent 45%, rgba(15, 11, 8, 0.86));
  animation: heroGlow 7s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  from { opacity: 0.68; transform: scale(1); }
  to { opacity: 1; transform: scale(1.018); }
}

.hero-inner {
  width: min(var(--container), 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  margin: 0 auto;
}

.hero-copy {
  max-width: 760px;
  animation: fadeUp 650ms ease both;
}

.hero-copy h1 {
  margin: 18px 0 0;
  color: var(--text);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.8rem, 8vw, 8.6rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--cream);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.78;
}

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

.hero-stats {
  display: grid;
  gap: 12px;
  animation: floatCards 4.6s ease-in-out infinite alternate;
}

.hero-stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(32, 20, 14, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-stat strong {
  display: block;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.hero-stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

@keyframes floatCards {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.floating-showcase {
  width: min(var(--container), calc(100% - 36px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: -34px auto 0;
  position: relative;
  z-index: 4;
}

.showcase-card {
  min-height: 138px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(107, 55, 31, 0.78), rgba(32, 20, 14, 0.82)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, border-color 180ms ease;
}

.showcase-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}

.showcase-card span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--gold);
  font-weight: 900;
}

.showcase-card strong {
  display: block;
  margin-top: 16px;
  font-size: 1.08rem;
}

.showcase-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.band,
.page-head,
.catalog-layout,
.product-detail,
.promo-list,
.trust,
.quote-cta,
.form-shell {
  width: min(var(--container), calc(100% - 36px));
  margin-inline: auto;
}

.band {
  padding: clamp(72px, 10vw, 122px) 0;
}

.section-visual,
.page-visual {
  position: relative;
  isolation: isolate;
}

.section-visual::before,
.page-visual::before {
  content: "";
  position: absolute;
  inset: 18px -18px;
  z-index: -1;
  border: 1px solid rgba(229, 196, 110, 0.12);
  border-radius: calc(var(--radius) + 10px);
  background:
    linear-gradient(180deg, rgba(15, 11, 8, 0.82), rgba(32, 20, 14, 0.86)),
    var(--section-bg, var(--page-bg, url("../images/hero-maderalia.svg"))) center/cover;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.22);
  opacity: 0.9;
}

.page-visual {
  margin-top: 28px;
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 52px);
  overflow: hidden;
}

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

.section-head h2,
.page-head h1,
.product-info h1,
.quote-cta h2,
.form-aside h2,
.promo-row h2 {
  margin: 0;
  color: var(--text);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.7rem, 5vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.section-head p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-tile {
  min-height: 238px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  padding: 22px;
  background:
    linear-gradient(160deg, rgba(59, 31, 18, 0.88), rgba(32, 20, 14, 0.86)),
    var(--panel);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.category-tile:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  background:
    linear-gradient(160deg, rgba(107, 55, 31, 0.94), rgba(32, 20, 14, 0.9)),
    var(--panel);
}

.category-tile span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--ink);
  background: var(--gold);
  font-weight: 900;
}

.category-tile strong {
  color: var(--cream);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 0.96;
}

.category-tile em {
  color: var(--gold);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 900;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: rgba(32, 20, 14, 0.72);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.24);
  animation: fadeUp 500ms ease both;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.product-media {
  display: block;
  overflow: hidden;
}

.product-card img,
.image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3.35;
  object-fit: cover;
  background:
    linear-gradient(135deg, rgba(107, 55, 31, 0.42), rgba(15, 11, 8, 0.44)),
    #3B1F12;
  transition: transform 280ms ease;
}

.product-card:hover img,
.product-card:hover .image-placeholder {
  transform: scale(1.04);
}

.image-placeholder {
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
}

.product-card > div {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.product-card small {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0;
  color: var(--text);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.6rem;
  line-height: 1;
}

.product-card p {
  min-height: 44px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.product-card strong {
  color: var(--cream);
  font-size: 1.05rem;
}

.card-actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
}

.card-actions a {
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--ink);
  background: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.card-actions a:last-child {
  color: #05210f;
  background: var(--green);
}

.promo-strip,
.promo-row,
.quote-cta-inner,
.form-aside,
.public-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(59, 31, 18, 0.78), rgba(32, 20, 14, 0.82)),
    rgba(32, 20, 14, 0.72);
  box-shadow: var(--shadow);
}

.promo-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 44px);
}

.promo-home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.promo-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(59, 31, 18, 0.78), rgba(32, 20, 14, 0.86)),
    rgba(32, 20, 14, 0.72);
  box-shadow: var(--shadow);
  transition: transform 200ms ease, border-color 200ms ease;
}

.promo-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.promo-card img,
.promo-row-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: rgba(247, 242, 234, 0.06);
}

.promo-card > div {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 3vw, 28px);
}

.promo-card h3 {
  margin: 0;
  color: var(--text);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.promo-card p,
.promo-card small {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.promo-strip h2,
.promo-row h2 {
  font-size: clamp(2.6rem, 5vw, 5.4rem);
}

.promo-strip p,
.promo-strip small,
.promo-row p,
.promo-row small {
  color: var(--muted);
  line-height: 1.7;
}

.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: clamp(60px, 8vw, 100px);
}

.trust div {
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(247, 242, 234, 0.06);
}

.trust strong {
  display: block;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
}

.trust span {
  color: var(--muted);
}

.quote-cta {
  padding-bottom: clamp(70px, 10vw, 120px);
}

.quote-cta-inner {
  display: grid;
  gap: 16px;
  padding: clamp(28px, 5vw, 54px);
}

.quote-cta p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.75;
}

.page-head {
  padding: clamp(62px, 9vw, 118px) 0 34px;
}

.page-head p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.75;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 292px 1fr;
  gap: 28px;
  padding-bottom: clamp(70px, 10vw, 122px);
}

.filters {
  position: sticky;
  top: 98px;
  align-self: start;
  display: grid;
  gap: 12px;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(32, 20, 14, 0.72);
}

.range-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.filters input,
.filters select,
.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--soft-line);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--text);
  background: rgba(15, 11, 8, 0.48);
  font: inherit;
}

.filters input::placeholder,
.form input::placeholder,
.form textarea::placeholder {
  color: rgba(247, 242, 234, 0.46);
}

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

.filter-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.filter-links a,
.product-benefits span,
.mini-list span {
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  padding: 9px 11px;
  color: var(--cream);
  background: rgba(247, 242, 234, 0.06);
  font-size: 0.78rem;
  font-weight: 800;
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--muted);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding: clamp(58px, 8vw, 110px) 0;
}

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

.gallery img,
.gallery .image-placeholder {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 5 / 4.2;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.product-info {
  display: grid;
  gap: 18px;
}

.price {
  margin: 0;
  color: var(--gold);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 900;
}

.product-description {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.85;
}

.product-benefits,
.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.promo-list {
  display: grid;
  gap: 18px;
  padding-bottom: clamp(70px, 10vw, 122px);
}

.promo-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: clamp(22px, 4vw, 38px);
}

.promo-row.has-image {
  grid-template-columns: minmax(220px, 0.38fr) 1fr auto;
}

.promo-row-image {
  border-radius: calc(var(--radius) - 6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.form-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: 24px;
  padding-bottom: clamp(70px, 10vw, 122px);
}

.form-aside,
.public-form {
  padding: clamp(22px, 4vw, 36px);
}

.form-aside h2 {
  margin-top: 10px;
}

.form-aside p {
  color: var(--muted);
  line-height: 1.75;
}

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

.public-form .full,
.public-form button {
  grid-column: 1 / -1;
}

.quote-picker {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 0.55fr 0.8fr;
  gap: 12px;
  align-items: end;
}

.quote-cart {
  display: grid;
  gap: 12px;
  border: 1px solid var(--soft-line);
  border-radius: 16px;
  padding: 16px;
  background: rgba(15, 11, 8, 0.34);
}

#quoteItems {
  display: grid;
  gap: 10px;
}

.quote-item-row,
.quote-summary div {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(229, 196, 110, 0.18);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(247, 242, 234, 0.06);
}

.quote-item-row strong,
.quote-summary strong {
  color: var(--cream);
}

.quote-item-row span,
.quote-summary span {
  color: var(--muted);
}

.quote-item-row button {
  min-height: 34px;
  padding: 8px 12px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.08);
}

.quote-summary {
  display: grid;
  gap: 10px;
}

.notice {
  width: min(var(--container), calc(100% - 36px));
  margin: 16px auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.success {
  color: var(--cream);
  background: rgba(34, 197, 94, 0.16);
}

.error {
  color: var(--cream);
  background: rgba(107, 55, 31, 0.72);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  border-radius: 999px;
  padding: 13px 16px;
  color: #05210f;
  background: var(--green);
  box-shadow: 0 20px 55px rgba(34, 197, 94, 0.28);
  font-size: 0.82rem;
  font-weight: 900;
  transition: transform 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #0a0705;
}

.footer-inner {
  width: min(var(--container), calc(100% - 36px));
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 0.4fr;
  gap: 28px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 82px) 0;
}

.footer-inner strong {
  display: block;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.95;
}

.footer-inner span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-inner p,
.footer-links a {
  display: block;
  color: var(--muted);
  line-height: 1.7;
}

.footer-links {
  display: grid;
  gap: 7px;
}

@media (max-width: 1040px) {
  .hero-inner,
  .catalog-layout,
  .product-detail,
  .form-shell,
  .promo-row,
  .promo-strip,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .floating-showcase,
  .product-grid,
  .category-grid,
  .promo-home-grid,
  .trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .filters {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: inline-flex;
    min-height: 40px;
    padding: 10px 13px;
    color: var(--text);
    background: rgba(247, 242, 234, 0.08);
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    flex-wrap: wrap;
    justify-content: flex-start;
    border-radius: var(--radius);
  }

  .site-nav.is-open {
    display: flex;
  }

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

  .hero-copy h1,
  .page-head h1,
  .section-head h2,
  .product-info h1 {
    font-size: clamp(3rem, 15vw, 5.3rem);
  }

  .hero-stats,
  .floating-showcase,
  .product-grid,
  .category-grid,
  .promo-home-grid,
  .trust,
  .public-form,
  .quote-picker,
  .quote-item-row,
  .quote-summary div {
    grid-template-columns: 1fr;
  }

  .floating-showcase {
    margin-top: 16px;
  }

  .section-head {
    display: grid;
  }

  .btn,
  .button,
  button {
    width: 100%;
  }

  .actions {
    width: 100%;
  }
}

/* Update UI 19: distribuidor compacto y moderno */
.distributor-page {
  background:
    radial-gradient(circle at 12% 12%, rgba(37, 99, 235, 0.26), transparent 30%),
    radial-gradient(circle at 86% 10%, rgba(20, 184, 166, 0.22), transparent 28%),
    radial-gradient(circle at 78% 88%, rgba(124, 58, 237, 0.16), transparent 31%),
    linear-gradient(135deg, #070b12 0%, #0d1320 52%, #071411 100%);
}

.dealer-topbar {
  min-height: 72px;
  background: rgba(7, 11, 18, 0.9);
  border-bottom-color: rgba(96, 165, 250, 0.18);
  box-shadow: 0 14px 40px rgba(2, 6, 23, 0.28);
}

.dealer-brand {
  color: #f8fafc;
}

.dealer-brand small {
  color: #38bdf8;
}

.dealer-user strong {
  color: #dbeafe;
}

.dealer-user form button,
.dealer-action,
.dealer-filter button,
.dealer-card button {
  background: linear-gradient(135deg, #38bdf8, #22c55e);
  color: #061014;
  box-shadow: 0 16px 34px rgba(34, 197, 94, 0.16);
}

.dealer-cart-toggle {
  background: linear-gradient(135deg, #22c55e, #14b8a6);
  color: #03110c;
  box-shadow: 0 18px 40px rgba(20, 184, 166, 0.22);
}

.dealer-cart-toggle span {
  color: #111827;
  background: #f59e0b;
}

.dealer-shell {
  padding-top: 18px;
}

.dealer-hero {
  min-height: 96px;
  border-color: rgba(96, 165, 250, 0.22);
  border-radius: 20px;
  padding: 20px 24px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.72), rgba(6, 78, 59, 0.54)),
    var(--section-bg, none);
  box-shadow: 0 18px 56px rgba(2, 6, 23, 0.32);
}

.dealer-shell.has-sent-quote .dealer-hero {
  min-height: 72px;
  padding: 16px 20px;
}

.dealer-hero h1 {
  max-width: 760px;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(1.55rem, 2.6vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.dealer-hero .eyebrow {
  color: #38bdf8;
}

.dealer-hero p:not(.eyebrow) {
  max-width: 620px;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.dealer-sent {
  border-color: rgba(34, 197, 94, 0.24);
  border-radius: 18px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(6, 78, 59, 0.64));
}

.dealer-sent h2 {
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.dealer-sent p {
  margin: 2px 0 0;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.dealer-sent .eyebrow {
  color: #86efac;
}

.distributor-page .notice {
  width: min(980px, calc(100% - 28px));
  margin: 12px auto 16px;
  border-radius: 18px;
  padding: 12px 18px;
  font-weight: 800;
}

.distributor-page .notice.success {
  border: 1px solid rgba(34, 197, 94, 0.24);
  color: #d1fae5;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.18), rgba(34, 197, 94, 0.14));
}

.dealer-filter {
  border-color: rgba(96, 165, 250, 0.18);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
}

.dealer-filter input,
.dealer-filter select {
  border-color: rgba(148, 163, 184, 0.24);
  color: #e2e8f0;
  background: rgba(2, 6, 23, 0.68);
}

.dealer-filter a {
  color: #93c5fd;
}

.dealer-card {
  border-color: rgba(96, 165, 250, 0.14);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(17, 24, 39, 0.92));
}

.dealer-card:hover {
  border-color: rgba(56, 189, 248, 0.36);
  box-shadow: 0 22px 58px rgba(2, 6, 23, 0.34);
}

.dealer-card-image {
  background: #0f172a;
}

.dealer-card-copy small {
  color: #38bdf8;
}

.dealer-card-copy p {
  color: #a7b6cb;
}

.dealer-card-copy strong {
  color: #86efac;
}

.dealer-cart {
  border-color: rgba(56, 189, 248, 0.22);
  background: linear-gradient(180deg, #020617, #0f172a);
}

.dealer-cart-row {
  border-color: rgba(96, 165, 250, 0.18);
  background: rgba(15, 23, 42, 0.72);
}

.dealer-total strong {
  color: #86efac;
}

.dealer-empty {
  border-color: rgba(56, 189, 248, 0.26);
  color: #cbd5e1;
}

@media (max-width: 760px) {
  .dealer-topbar {
    min-height: 64px;
  }

  .dealer-hero,
  .dealer-shell.has-sent-quote .dealer-hero {
    padding: 16px;
  }

  .dealer-sent {
    align-items: stretch;
  }
}

/* Update UI 20: accesos internos separados y tactiles */
.site-footer {
  position: relative;
}

.footer-secret-links {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  display: block;
  height: 34px;
  margin: 0;
  opacity: 0.52;
  pointer-events: none;
}

.footer-secret-links .footer-secret-link {
  position: absolute;
  top: 0;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.footer-secret-links .footer-secret-link.is-admin {
  left: 0;
}

.footer-secret-links .footer-secret-link.is-distributor {
  right: 0;
}

@media (max-width: 760px) {
  .footer-secret-links {
    right: 14px;
    bottom: 12px;
    left: 14px;
  }

  .footer-secret-links button {
    width: 36px;
    height: 36px;
  }

  .footer-secret-links .footer-secret-link.is-distributor {
    right: 84px;
  }
}

/* Update UI 21: distribuidor azul cielo y solicitud dentro del carrito */
.dealer-user form button,
.dealer-action,
.dealer-filter button,
.dealer-card button,
.dealer-clear,
.dealer-new-request {
  border: 0;
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 52%, #0ea5e9 100%);
  color: #06121f;
  box-shadow: 0 16px 34px rgba(14, 165, 233, 0.22);
}

.dealer-user form button:hover,
.dealer-action:hover,
.dealer-filter button:hover,
.dealer-card button:hover,
.dealer-clear:hover,
.dealer-new-request:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.dealer-cart-toggle {
  background: linear-gradient(135deg, #bae6fd 0%, #38bdf8 58%, #0284c7 100%);
  color: #06121f;
  box-shadow: 0 18px 40px rgba(14, 165, 233, 0.24);
}

.dealer-cart-copy strong,
.dealer-card-copy strong,
.dealer-total strong {
  color: #7dd3fc;
}

.dealer-saved {
  display: grid;
  gap: 14px;
}

.dealer-saved > strong {
  color: #f8fafc;
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.45rem;
  line-height: 1;
}

.dealer-saved > p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.45;
}

.dealer-saved-items {
  display: grid;
  gap: 9px;
  max-height: 220px;
  overflow: auto;
  border-top: 1px solid rgba(125, 211, 252, 0.18);
  border-bottom: 1px solid rgba(125, 211, 252, 0.18);
  padding: 12px 0;
}

.dealer-saved-items div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(125, 211, 252, 0.14);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(14, 165, 233, 0.08);
}

.dealer-saved-items span {
  color: #e2e8f0;
  font-weight: 700;
}

.dealer-saved-items b {
  color: #7dd3fc;
  white-space: nowrap;
}

.dealer-new-request {
  display: inline-flex;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 900;
  text-decoration: none;
}

/* Update UI 11: logo fuera de barra y apariencia por secciones */
.site-logo-dock {
  position: fixed;
  top: 2px;
  left: clamp(18px, 5vw, 74px);
  z-index: 72;
  width: min(var(--logo-size, 92px), 122px);
  pointer-events: none;
}

.site-logo-dock .brand {
  width: max-content;
  display: inline-grid;
  justify-items: center;
  gap: 0;
  pointer-events: auto;
}

.site-logo-dock .brand-logo,
.site-logo-dock .brand-mark {
  width: min(var(--logo-size, 92px), 122px);
  height: min(var(--logo-size, 92px), 122px);
  flex-basis: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.35));
}

.site-logo-dock .brand-text {
  display: none;
}

.site-header {
  z-index: 70;
  min-height: 66px;
  display: grid;
  grid-template-columns: minmax(130px, 0.34fr) auto minmax(210px, 0.34fr);
  align-items: center;
  padding: 8px clamp(18px, 4vw, 58px);
  background: linear-gradient(90deg, rgba(45, 20, 11, 0.78), rgba(10, 13, 9, 0.82));
}

.site-header.is-scrolled {
  min-height: 52px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.site-header .site-nav {
  grid-column: 2;
  justify-content: center;
}

.site-header .header-actions {
  grid-column: 3;
  justify-content: flex-end;
}

.site-header .header-cart {
  width: 44px;
  height: 44px;
}

.site-header.is-scrolled .header-cart {
  width: 38px;
  height: 38px;
}

.site-header .header-cta {
  min-height: 44px;
  padding-inline: 20px;
}

.site-header.is-scrolled .header-cta {
  min-height: 38px;
}

.page-head.page-visual,
.catalog-head,
.promotions-head,
.contact-head {
  min-height: 260px;
  display: grid;
  align-content: center;
  border: 1px solid rgba(229, 196, 110, 0.16);
  border-radius: 22px;
  padding: clamp(34px, 5vw, 62px);
  background:
    linear-gradient(90deg, rgba(15, 11, 8, 0.92), rgba(32, 20, 14, 0.72), rgba(18, 38, 26, 0.28)),
    var(--page-bg, url("../images/hero-maderalia.svg")) center/cover;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

.page-visual::before {
  display: none;
}

.page-head h1,
.catalog-head h1,
.promotions-head h1,
.contact-head h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 4.4vw, 4.9rem);
}

.page-head p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(247, 242, 234, 0.74);
}

.catalog-shell {
  padding-top: 28px;
}

.category-selector {
  margin-bottom: 28px;
}

.quote-app.section-visual::before {
  inset: 8px -8px;
  opacity: 0.42;
}

@media (max-width: 1040px) {
  .site-logo-dock {
    top: 4px;
    left: 16px;
    width: min(var(--logo-size, 74px), 92px);
  }

  .site-logo-dock .brand-logo,
  .site-logo-dock .brand-mark {
    width: min(var(--logo-size, 74px), 92px);
    height: min(var(--logo-size, 74px), 92px);
  }

  .site-header {
    grid-template-columns: 92px 1fr auto;
    padding-left: 116px;
  }
}

@media (max-width: 760px) {
  .site-logo-dock {
    top: 4px;
    left: 12px;
    width: min(var(--logo-size, 62px), 72px);
  }

  .site-logo-dock .brand-logo,
  .site-logo-dock .brand-mark {
    width: min(var(--logo-size, 62px), 72px);
    height: min(var(--logo-size, 62px), 72px);
  }

  .site-header {
    min-height: 58px;
    grid-template-columns: 76px auto 1fr;
    padding-left: 90px;
    padding-right: 12px;
  }

  .site-header .nav-toggle {
    grid-column: 2;
  }

  .site-header .header-actions {
    grid-column: 3;
  }

  .site-header .header-cart {
    width: 40px;
    height: 40px;
  }

  .page-head.page-visual,
  .catalog-head,
  .promotions-head,
  .contact-head {
    width: min(100% - 24px, var(--container));
    min-height: 210px;
    margin-top: 18px;
    padding: 28px 22px;
  }
}

/* Update UI 10: catalogo editorial, opciones administrables y footer premium */
.custom-design-form select option,
.filters select option {
  color: #20140e;
  background: #f7f2ea;
}

.catalog-head {
  padding-top: clamp(30px, 4vw, 54px);
  padding-bottom: clamp(30px, 4vw, 54px);
}

.catalog-head h1 {
  font-size: clamp(2.1rem, 4vw, 4.1rem);
}

.catalog-head p:not(.eyebrow) {
  max-width: 520px;
}

.catalog-shell {
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto;
  padding: 22px 0 clamp(70px, 9vw, 112px);
}

.category-selector {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.category-selector details {
  position: relative;
}

.category-selector summary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(229, 196, 110, 0.28);
  border-radius: 999px;
  padding: 0 18px;
  color: #f7f2ea;
  background: rgba(247, 242, 234, 0.06);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.category-selector summary::-webkit-details-marker {
  display: none;
}

.category-selector summary::after {
  content: "+";
  color: var(--gold);
}

.category-selector details[open] summary::after {
  content: "-";
}

.category-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: min(420px, calc(100vw - 40px));
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid rgba(229, 196, 110, 0.22);
  border-radius: 20px;
  padding: 16px;
  background: rgba(18, 11, 7, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.category-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.category-check span,
.catalog-reset {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(229, 196, 110, 0.2);
  border-radius: 999px;
  padding: 0 13px;
  color: rgba(247, 242, 234, 0.84);
  background: rgba(247, 242, 234, 0.05);
  font-size: 0.86rem;
  font-weight: 800;
}

.category-check input:checked + span {
  color: #20140e;
  background: var(--gold);
  border-color: var(--gold);
}

.category-menu .btn {
  min-height: 38px;
  padding-inline: 16px;
}

.catalog-reset {
  min-height: 42px;
  color: var(--gold);
}

.product-grid-catalog,
.band .product-grid {
  gap: 24px;
}

.product-card {
  display: grid;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(20, 12, 8, 0.72);
}

.product-card .product-media {
  min-height: 0;
}

.product-card .product-media img,
.product-card .image-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  height: auto;
  object-fit: cover;
}

.product-card .image-placeholder {
  display: grid;
  place-items: center;
  color: var(--gold);
  background: linear-gradient(145deg, rgba(107, 55, 31, 0.76), rgba(59, 31, 18, 0.68));
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.product-card > div {
  display: grid;
  gap: 8px;
  padding: 18px 20px 20px;
}

.product-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.04;
}

.product-card p {
  min-height: 0;
  margin: 0;
  color: rgba(247, 242, 234, 0.68);
  font-size: 0.95rem;
  line-height: 1.45;
}

.product-price,
.product-card > div > strong {
  margin-top: 6px;
  color: #fff;
  font-size: 1.05rem;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.card-actions .cart-add,
.card-actions a {
  width: auto;
  min-height: 36px;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.card-actions a {
  border: 1px solid rgba(229, 196, 110, 0.3);
  color: rgba(247, 242, 234, 0.9);
  background: rgba(247, 242, 234, 0.05);
}

.card-actions .whatsapp-card-link {
  color: #0d2b16;
  background: rgba(34, 197, 94, 0.9);
  border-color: transparent;
}

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(229, 196, 110, 0.18);
  padding: clamp(38px, 6vw, 70px) 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(229, 196, 110, 0.1), transparent 28%),
    linear-gradient(135deg, rgba(15, 11, 8, 0.98), rgba(43, 20, 11, 0.94));
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(229, 196, 110, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - 36px));
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.7fr;
  gap: clamp(22px, 5vw, 70px);
  margin: 0 auto;
}

.footer-brand-block strong {
  display: block;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.footer-brand-block p {
  max-width: 560px;
  color: rgba(247, 242, 234, 0.74);
  line-height: 1.65;
}

.footer-brand-block small {
  display: inline-flex;
  border: 1px solid rgba(229, 196, 110, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--gold);
  background: rgba(247, 242, 234, 0.05);
}

.footer-contact-block span,
.footer-links span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-contact-block p,
.footer-links a {
  display: block;
  margin: 0 0 10px;
  color: rgba(247, 242, 234, 0.72);
}

@media (max-width: 980px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 760px) {
  .category-menu {
    position: fixed;
    left: 18px;
    right: 18px;
    top: 92px;
    width: auto;
    max-height: calc(100vh - 130px);
    overflow: auto;
  }

  .product-card .product-media img,
  .product-card .image-placeholder {
    aspect-ratio: 1.12 / 1;
  }

  .card-actions {
    flex-wrap: wrap;
  }

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

/* Update UI 9: escala fina y formulario a medida */
.section-head h2,
.page-head h1,
.promo-row h2,
.quote-cta h2 {
  font-size: clamp(2rem, 3.8vw, 4.15rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.band {
  padding-top: clamp(46px, 6vw, 82px);
  padding-bottom: clamp(54px, 7vw, 92px);
}

.section-head {
  align-items: center;
  margin-bottom: 24px;
}

.section-head .btn {
  min-height: 44px;
  padding-inline: 20px;
}

.hero {
  min-height: calc(100vh - 74px);
  align-items: center;
  padding-top: clamp(88px, 8vw, 118px);
  padding-bottom: clamp(54px, 7vw, 78px);
}

.hero-copy {
  max-width: min(700px, 58vw);
}

.hero-brand-title {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 2.7vw, 3rem);
}

.hero-copy h1 {
  max-width: 690px;
  font-size: clamp(3rem, 5vw, 5.65rem);
  line-height: 1.02;
}

.hero-copy > p:not(.eyebrow, .hero-badge, .hero-brand-title) {
  max-width: 590px;
  margin-top: 16px;
  font-size: clamp(0.98rem, 1.25vw, 1.18rem);
  line-height: 1.55;
}

.hero-features {
  margin-top: clamp(22px, 4vw, 42px);
}

.hero-badge {
  transform: none;
  margin-bottom: 22px;
  font-size: 0.56rem;
}

.hero-heart {
  top: clamp(96px, 16vh, 150px);
  right: clamp(12px, 5vw, 92px);
  width: min(30vw, 460px);
}

.promo-offers .section-head h2 {
  max-width: 860px;
}

.promo-offer-card {
  min-height: 118px;
}

.quote-cta {
  padding: 18px 0 clamp(60px, 8vw, 96px);
}

.quote-cta-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
  border: 1px solid rgba(229, 196, 110, 0.22);
  border-radius: 26px;
  padding: clamp(22px, 4vw, 38px);
  background:
    linear-gradient(135deg, rgba(59, 31, 18, 0.82), rgba(15, 11, 8, 0.88)),
    var(--panel);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

.quote-cta-copy {
  display: grid;
  gap: 14px;
}

.quote-cta-copy h2 {
  max-width: 520px;
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3.9rem);
  font-weight: 900;
  letter-spacing: 0;
}

.quote-cta-copy p:not(.eyebrow) {
  max-width: 480px;
  margin: 0;
  color: rgba(247, 242, 234, 0.76);
  line-height: 1.6;
}

.custom-design-form {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(229, 196, 110, 0.18);
  border-radius: 22px;
  padding: clamp(16px, 3vw, 22px);
  color: #f7f2ea;
  background: rgba(15, 11, 8, 0.34);
  backdrop-filter: blur(12px);
}

.custom-design-form label {
  display: grid;
  gap: 7px;
  color: rgba(247, 242, 234, 0.86);
  font-size: 0.86rem;
  font-weight: 800;
}

.custom-design-form input,
.custom-design-form select,
.custom-design-form textarea {
  width: 100%;
  border: 1px solid rgba(229, 196, 110, 0.18);
  border-radius: 14px;
  padding: 12px 13px;
  color: #fff;
  background: rgba(247, 242, 234, 0.07);
  font: inherit;
  outline: 0;
}

.custom-design-form textarea {
  min-height: 78px;
  resize: vertical;
}

.custom-design-form input::placeholder,
.custom-design-form textarea::placeholder {
  color: rgba(247, 242, 234, 0.48);
}

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

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

.custom-design-form .btn {
  width: 100%;
  min-height: 50px;
}

@media (max-width: 1040px) {
  .hero-copy {
    max-width: 680px;
  }

  .quote-cta-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-head h2,
  .page-head h1,
  .promo-row h2,
  .quote-cta h2 {
    font-size: clamp(1.9rem, 9vw, 3rem);
  }

  .hero {
    min-height: auto;
    padding-top: 82px;
    padding-bottom: 56px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-copy h1 {
    font-size: clamp(2.55rem, 11.5vw, 4.25rem);
  }

  .hero-copy > p:not(.eyebrow, .hero-badge, .hero-brand-title) {
    max-width: 96%;
  }

  .hero-heart {
    top: 78px;
    right: -124px;
    width: 310px;
    opacity: 0.26;
  }

  .quote-cta-inner {
    padding: 18px;
  }

  .measure-grid,
  .measure-grid.two {
    grid-template-columns: 1fr;
  }
}

/* Update UI: hero editorial, clean navigation and showroom categories */
.site-header {
  gap: clamp(14px, 3vw, 34px);
  padding: 22px clamp(18px, 5vw, 70px);
  background: linear-gradient(180deg, rgba(15, 11, 8, 0.52), rgba(15, 11, 8, 0.04));
  border-bottom: 0;
  box-shadow: none;
}

.site-header.is-scrolled {
  padding-top: 8px;
  padding-bottom: 8px;
  background: rgba(15, 11, 8, 0.78);
  border-bottom: 1px solid rgba(229, 196, 110, 0.16);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.brand {
  flex: 0 0 auto;
}

.brand-mark,
.brand-logo {
  width: var(--logo-size, 72px);
  height: var(--logo-size, 72px);
  flex-basis: var(--logo-size, 72px);
  transition: width 220ms ease, height 220ms ease, flex-basis 220ms ease;
}

.site-header.is-scrolled .brand-mark,
.site-header.is-scrolled .brand-logo {
  width: calc(var(--logo-size, 72px) * 0.68);
  height: calc(var(--logo-size, 72px) * 0.68);
  flex-basis: calc(var(--logo-size, 72px) * 0.68);
  min-width: 38px;
  min-height: 38px;
}

.brand.has-logo .brand-text {
  display: none;
}

.brand-text strong {
  letter-spacing: 0;
}

.brand-text small {
  display: none;
}

.site-nav {
  flex: 1;
  justify-content: center;
  gap: clamp(12px, 2.2vw, 34px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.site-nav a {
  padding: 9px 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.86rem, 1vw, 1rem);
  font-weight: 900;
  border-radius: 0;
}

.site-nav a:hover {
  color: var(--gold);
  background: transparent;
}

.site-nav .admin-link {
  color: rgba(255, 255, 255, 0.52);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 999px;
  padding: 0 26px;
  color: #fff;
  background: rgba(91, 50, 28, 0.92);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease;
}

.site-header.is-scrolled .header-cta {
  min-height: 42px;
  padding-inline: 20px;
}

.header-cta:hover {
  transform: translateY(-2px);
  background: rgba(119, 69, 39, 0.96);
}

.hero {
  min-height: 100vh;
  align-items: center;
  padding: clamp(112px, 13vw, 170px) clamp(18px, 6vw, 86px) clamp(56px, 7vw, 92px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(20, 10, 5, 0.92) 0%, rgba(59, 31, 18, 0.7) 38%, rgba(15, 11, 8, 0.22) 100%),
    var(--hero-bg, url("../images/hero-maderalia.svg")) center/cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 68%, rgba(229, 196, 110, 0.16), transparent 18%),
    linear-gradient(90deg, rgba(15, 11, 8, 0.68), transparent 64%);
  animation: heroBreath 8s ease-in-out infinite alternate;
}

.hero::after {
  background:
    radial-gradient(circle at 74% 18%, rgba(229, 196, 110, 0.16), transparent 22%),
    linear-gradient(180deg, transparent 68%, rgba(247, 242, 234, 0.96));
}

@keyframes heroBreath {
  from { opacity: 0.72; transform: scale(1); }
  to { opacity: 1; transform: scale(1.025); }
}

.hero-inner {
  grid-template-columns: minmax(0, 0.76fr);
  align-items: center;
}

.hero-copy {
  max-width: 880px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  border: 1px solid rgba(229, 196, 110, 0.42);
  border-radius: 999px;
  padding: 9px 18px;
  color: var(--gold);
  background: rgba(91, 50, 28, 0.42);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.hero-copy h1 {
  max-width: 920px;
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  font-size: clamp(3.6rem, 7.8vw, 8.4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.hero-copy > p:not(.eyebrow, .hero-badge) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  margin-top: clamp(42px, 7vw, 84px);
  color: rgba(255, 255, 255, 0.92);
}

.hero-features span {
  position: relative;
  padding-left: 18px;
  font-weight: 700;
}

.hero-features span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(229, 196, 110, 0.78);
  box-shadow: 0 0 22px rgba(229, 196, 110, 0.42);
  animation: floatDot 6s ease-in-out infinite alternate;
}

.hero-orbit.one { left: 31%; top: 25%; animation-duration: 5.6s; }
.hero-orbit.two { left: 64%; top: 62%; animation-duration: 7.2s; }
.hero-orbit.three { left: 88%; top: 84%; animation-duration: 6.4s; }

@keyframes floatDot {
  from { transform: translate3d(0, 0, 0); opacity: 0.35; }
  to { transform: translate3d(18px, -22px, 0); opacity: 0.9; }
}

.categories-showroom {
  width: 100%;
  padding: clamp(72px, 9vw, 120px) clamp(18px, 4vw, 36px);
  background:
    linear-gradient(180deg, rgba(247, 242, 234, 0.96), rgba(247, 242, 234, 0.92)),
    var(--section-bg, url("../images/hero-maderalia.svg")) center/cover;
}

.categories-showroom .section-head {
  width: min(var(--container), 100%);
  margin-inline: auto;
}

.section-head.centered {
  display: grid;
  justify-items: center;
  text-align: center;
}

.section-head.centered h2 {
  color: #20140e;
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  letter-spacing: 0;
  line-height: 1.02;
}

.section-head.centered p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(32, 20, 14, 0.78);
  font-size: 1.06rem;
}

.categories-showroom .category-grid {
  width: min(100%, 1500px);
  margin: clamp(34px, 5vw, 70px) auto 0;
}

.category-tile {
  position: relative;
  min-height: clamp(300px, 29vw, 520px);
  overflow: hidden;
  border-color: rgba(107, 55, 31, 0.24);
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(180deg, rgba(15, 11, 8, 0.12), rgba(15, 11, 8, 0.86)),
    var(--category-bg, var(--section-bg, url("../images/hero-maderalia.svg"))) center/cover;
}

.category-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(15, 11, 8, 0.72));
  transition: background 220ms ease;
}

.category-tile > * {
  position: relative;
  z-index: 1;
}

.category-tile:hover {
  transform: translateY(-7px);
  border-color: rgba(229, 196, 110, 0.7);
  background:
    linear-gradient(180deg, rgba(15, 11, 8, 0.02), rgba(15, 11, 8, 0.78)),
    var(--category-bg, var(--section-bg, url("../images/hero-maderalia.svg"))) center/cover;
}

.category-tile span {
  margin-left: auto;
  background: rgba(229, 196, 110, 0.92);
}

.category-tile strong {
  margin-top: auto;
  color: #fff;
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.8rem, 2.4vw, 3rem);
  letter-spacing: 0;
  line-height: 1.05;
}

.category-tile p {
  max-width: 88%;
  min-height: auto;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

.category-tile em {
  margin-top: 20px;
  color: var(--gold);
  font-size: 0.96rem;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    justify-content: flex-end;
    gap: 14px;
  }

  .header-cta {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    background: rgba(15, 11, 8, 0.78);
  }

  .site-nav {
    padding: 12px;
    border: 1px solid rgba(229, 196, 110, 0.16);
    border-radius: 18px;
    background: rgba(15, 11, 8, 0.88);
  }

  .site-nav a {
    padding: 9px 10px;
  }

  .hero {
    min-height: 86vh;
    padding-top: 118px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .hero-features {
    gap: 12px 18px;
    margin-top: 34px;
  }

  .categories-showroom {
    padding-inline: 18px;
  }
}

/* Update UI 2: slimmer header, modern catalog/cart actions and richer hero motion */
.site-header {
  min-height: 74px;
  padding-top: 10px;
  padding-bottom: 10px;
  background: linear-gradient(90deg, rgba(45, 20, 11, 0.74), rgba(15, 18, 13, 0.66));
}

.site-header.is-scrolled {
  min-height: 54px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.brand-logo {
  border-radius: 0;
  background: transparent;
}

.brand-mark {
  border-radius: 0;
}

.site-nav a {
  font-size: clamp(0.9rem, 1vw, 1.02rem);
}

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

.header-cart {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 14px 36px rgba(34, 197, 94, 0.28);
  font-size: 1rem;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(34, 197, 94, 0.36);
}

.header-cta {
  min-height: 42px;
  border: 1px solid rgba(229, 196, 110, 0.38);
  padding: 0 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  font-size: clamp(0.9rem, 1vw, 1.02rem);
  backdrop-filter: blur(14px);
}

.header-cta:hover {
  color: var(--ink);
  background: rgba(229, 196, 110, 0.92);
}

.site-header.is-scrolled .header-cart {
  width: 34px;
  height: 34px;
}

.site-header.is-scrolled .header-cta {
  min-height: 34px;
}

.hero {
  background-position: center;
  animation: heroImageDrift 14s ease-in-out infinite alternate;
}

@keyframes heroImageDrift {
  from { background-position: center center; }
  to { background-position: 56% 48%; }
}

.hero-badge {
  margin-bottom: 4px;
  padding: 7px 14px;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  transform: translateY(-18px);
}

.hero .btn.primary {
  min-height: 56px;
  border: 0;
  padding-inline: 30px;
  color: #1f1209;
  background:
    linear-gradient(135deg, rgba(255, 231, 154, 1), rgba(218, 176, 83, 1));
  box-shadow: 0 18px 48px rgba(229, 196, 110, 0.24);
}

.hero .btn.primary::after {
  content: "→";
  margin-left: 14px;
  transition: transform 180ms ease;
}

.hero .btn.primary:hover::after {
  transform: translateX(5px);
}

.hero-face {
  position: absolute;
  right: clamp(-90px, -4vw, 28px);
  top: clamp(80px, 12vw, 160px);
  width: min(34vw, 480px);
  min-width: 280px;
  opacity: 0.42;
  color: rgba(247, 242, 234, 0.78);
  pointer-events: none;
  mix-blend-mode: screen;
  animation: faceFloat 7s ease-in-out infinite alternate;
}

.hero-face svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.hero-face path {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: drawFace 4.8s ease forwards, shimmerFace 5s ease-in-out infinite alternate 4.8s;
}

@keyframes faceFloat {
  from { transform: translate3d(0, 0, 0) rotate(-1deg); }
  to { transform: translate3d(-18px, 12px, 0) rotate(1deg); }
}

@keyframes drawFace {
  to { stroke-dashoffset: 0; }
}

@keyframes shimmerFace {
  from { opacity: 0.62; }
  to { opacity: 1; }
}

.hero-orbit {
  animation-name: floatDotWide;
}

@keyframes floatDotWide {
  from { transform: translate3d(0, 0, 0) scale(0.8); opacity: 0.25; }
  to { transform: translate3d(32px, -30px, 0) scale(1.25); opacity: 0.95; }
}

.categories-showroom {
  background:
    radial-gradient(circle at 14% 0%, rgba(229, 196, 110, 0.13), transparent 26%),
    linear-gradient(180deg, rgba(36, 16, 8, 0.98), rgba(31, 14, 8, 0.96)),
    var(--section-bg, url("../images/hero-maderalia.svg")) center/cover;
}

.section-head.centered h2 {
  color: #fff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.section-head.centered p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.84);
}

.category-tile {
  border-color: rgba(229, 196, 110, 0.2);
  background:
    linear-gradient(180deg, rgba(15, 11, 8, 0.08), rgba(15, 11, 8, 0.88)),
    var(--category-bg, var(--section-bg, url("../images/hero-maderalia.svg"))) center/cover;
}

.category-tile::before {
  background:
    linear-gradient(180deg, rgba(15, 11, 8, 0.18), rgba(15, 11, 8, 0.58) 46%, rgba(15, 11, 8, 0.93));
}

.category-tile span {
  width: auto;
  height: auto;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.32);
  padding: 8px 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  font-size: 0.78rem;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.category-tile p {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.42);
}

.category-tile em::after {
  content: " →";
  transition: margin-left 180ms ease;
}

.category-tile:hover em::after {
  margin-left: 7px;
}

@media (max-width: 1040px) {
  .header-actions {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
  }

  .hero-face {
    right: -110px;
    top: 110px;
    opacity: 0.22;
  }

  .hero-badge {
    transform: none;
    font-size: 0.62rem;
  }
}

/* Update UI 3: polished cart icon, clearer hero title and offer cards */
.header-cart svg,
.promo-gift svg,
.promo-cart svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-cart {
  color: #fff;
}

.hero-inner {
  align-items: end;
}

.hero-copy {
  max-width: 920px;
}

.hero-badge {
  transform: translateY(-34px);
  padding: 6px 12px;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  background: rgba(91, 50, 28, 0.3);
}

.hero-brand-title {
  margin: -12px 0 12px;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 4.6rem);
  font-weight: 800;
  line-height: 0.9;
  text-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

.hero-copy h1 {
  max-width: 940px;
  color: #fff;
  font-size: clamp(3.4rem, 6.4vw, 7.2rem);
  line-height: 1.03;
  text-wrap: balance;
}

.hero-copy > p:not(.eyebrow, .hero-badge, .hero-brand-title) {
  max-width: 780px;
  font-size: clamp(1.02rem, 1.35vw, 1.25rem);
}

.hero-face {
  right: clamp(-56px, 1vw, 70px);
  top: clamp(86px, 10vw, 138px);
  width: min(38vw, 540px);
  opacity: 0.5;
  color: rgba(255, 255, 255, 0.82);
}

.hero-face path {
  stroke-width: 3.2;
}

.hero-face .leaf-line {
  stroke-width: 3.6;
}

.hero-face .face-line {
  stroke-width: 3;
}

.promo-offers {
  padding-top: clamp(58px, 8vw, 96px);
}

.promo-offer-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.promo-offer-card {
  min-height: 108px;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(229, 196, 110, 0.22);
  border-radius: 20px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(91, 50, 28, 0.96), rgba(62, 31, 17, 0.96));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.promo-offer-card:hover {
  transform: translateY(-5px);
  border-color: rgba(229, 196, 110, 0.64);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.promo-gift {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #2c190d;
  background: var(--gold);
}

.promo-thumb {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.promo-offer-copy {
  min-width: 0;
}

.promo-offer-copy p {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 5px;
  border-radius: 999px;
  padding: 4px 9px;
  color: #2c190d;
  background: var(--gold);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-offer-copy h3 {
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.promo-offer-copy strong,
.promo-offer-copy small {
  display: block;
  margin-top: 4px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 900;
}

.promo-offer-copy small {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.promo-cart {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 14px 32px rgba(34, 197, 94, 0.24);
  cursor: pointer;
  transition: transform 180ms ease;
}

.promo-cart:hover {
  transform: scale(1.07);
}

@media (max-width: 1040px) {
  .promo-offer-rail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero-badge {
    transform: translateY(-12px);
  }

  .hero-brand-title {
    margin-top: 0;
  }

  .hero-face {
    right: -92px;
    width: 340px;
  }

  .promo-offer-card {
    grid-template-columns: auto 1fr auto;
  }

  .promo-thumb {
    display: none;
  }
}

/* Update UI 4: compact first viewport and botanical heart */
.site-header {
  min-height: 58px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.site-header.is-scrolled {
  min-height: 48px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.site-header .brand-logo,
.site-header .brand-mark {
  max-width: 92px;
  max-height: 64px;
}

.hero {
  min-height: calc(100vh - 58px);
  align-items: start;
  padding-top: clamp(48px, 7vw, 86px);
  padding-bottom: clamp(32px, 5vw, 58px);
}

.hero-inner {
  margin-top: 0;
  align-items: start;
}

.hero-copy {
  max-width: min(760px, 62vw);
}

.hero-badge {
  display: inline-flex;
  width: auto;
  max-width: max-content;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-color: rgba(229, 196, 110, 0.34);
  color: rgba(229, 196, 110, 0.92);
  background: rgba(59, 31, 18, 0.18);
  font-size: 0.54rem;
  letter-spacing: 0.16em;
  line-height: 1;
  white-space: nowrap;
  transform: translateY(-20px);
}

.hero-brand-title {
  margin: -6px 0 10px;
  font-size: clamp(1.8rem, 3vw, 3.4rem);
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(3.1rem, 5.5vw, 6.2rem);
  line-height: 0.98;
}

.hero-copy > p:not(.eyebrow, .hero-badge, .hero-brand-title) {
  max-width: 660px;
  margin-top: 20px;
}

.hero-features {
  margin-top: clamp(28px, 5vw, 56px);
}

.hero-face {
  display: none;
}

.hero-heart {
  position: absolute;
  right: clamp(10px, 5vw, 100px);
  top: clamp(120px, 19vh, 190px);
  z-index: -1;
  width: min(34vw, 500px);
  min-width: 300px;
  color: rgba(255, 255, 255, 0.48);
  pointer-events: none;
  animation: heartFloat 7.5s ease-in-out infinite alternate;
}

.hero-heart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.hero-heart path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawFace 3.8s ease forwards, shimmerFace 5s ease-in-out infinite alternate 3.8s;
}

.hero-heart .heart-line {
  stroke-width: 3.4;
}

.hero-heart .leaf-line {
  stroke-width: 3;
}

@keyframes heartFloat {
  from { transform: translate3d(0, 0, 0) rotate(-2deg); opacity: 0.38; }
  to { transform: translate3d(-12px, 14px, 0) rotate(1deg); opacity: 0.58; }
}

@media (max-width: 1040px) {
  .hero-copy {
    max-width: 760px;
  }

  .hero-heart {
    right: -90px;
    opacity: 0.28;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding-top: 92px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-badge {
    transform: none;
    white-space: normal;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 14vw, 4.8rem);
  }

  .hero-heart {
    right: -130px;
    top: 118px;
    width: 320px;
    min-width: 0;
  }
}

/* Update UI 5: independent logo size and real quote cart */
.site-header {
  overflow: visible;
}

.brand {
  min-height: 54px;
  overflow: visible;
}

.site-header .brand-logo,
.site-header .brand-mark,
.site-header.is-scrolled .brand-logo,
.site-header.is-scrolled .brand-mark {
  width: var(--logo-size, 92px);
  height: var(--logo-size, 92px);
  max-width: none;
  max-height: none;
  flex-basis: var(--logo-size, 92px);
  transform-origin: left center;
}

.site-header.is-scrolled .brand-logo,
.site-header.is-scrolled .brand-mark {
  transform: scale(0.82);
}

.hero-badge {
  padding: 3px 9px;
  font-size: 0.48rem;
  letter-spacing: 0.14em;
  transform: translateY(-24px);
}

.hero-brand-title {
  color: #fff;
  font-size: clamp(2.6rem, 4.8vw, 5.6rem);
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.header-cart {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 2px solid #10130e;
  border-radius: 999px;
  color: #1b1009;
  background: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.cart-count.is-empty {
  display: none;
}

.cart-add {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 9px 13px;
  color: #091f10;
  background: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.cart-add.is-added {
  background: var(--gold);
  color: #20140e;
}

.card-actions {
  align-items: center;
}

.card-actions button {
  width: auto;
}

.quote-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-clear {
  width: auto;
  min-height: 34px;
  padding: 8px 12px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.76rem;
}

.cart-empty {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 760px) {
  .site-header .brand-logo,
  .site-header .brand-mark,
  .site-header.is-scrolled .brand-logo,
  .site-header.is-scrolled .brand-mark {
    width: min(var(--logo-size, 76px), 96px);
    height: min(var(--logo-size, 76px), 96px);
    flex-basis: min(var(--logo-size, 76px), 96px);
  }

  .hero-brand-title {
    font-size: clamp(2.3rem, 12vw, 4.4rem);
  }
}

/* Update UI 6: client quote cart */
.quote-app {
  width: min(980px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 clamp(70px, 10vw, 120px);
}

.quote-app-head {
  border-radius: 24px 24px 0 0;
  padding: 24px clamp(20px, 4vw, 34px);
  color: #fff;
  background: linear-gradient(135deg, #2d160d, #1b0f09);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.quote-app-head h1 {
  margin: 6px 0 6px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1;
}

.quote-app-head p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.quote-cart-form {
  overflow: hidden;
  border: 1px solid rgba(201, 164, 92, 0.24);
  border-top: 0;
  border-radius: 0 0 24px 24px;
  background: #f7f2ea;
  color: #2a1a11;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.quote-empty-state {
  min-height: 450px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 48px 22px;
  text-align: center;
}

.quote-empty-icon {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: rgba(91, 50, 28, 0.48);
  background: rgba(201, 164, 92, 0.16);
}

.quote-empty-icon svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quote-empty-state h2 {
  margin: 16px 0 0;
  color: #24150d;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.quote-empty-state p {
  max-width: 520px;
  margin: 0;
  color: rgba(36, 21, 13, 0.62);
  font-size: 1.08rem;
  line-height: 1.55;
}

.quote-active {
  display: grid;
}

.quote-items-card {
  background: #fbf7f0;
}

.quote-items-card #quoteItems {
  display: grid;
}

.quote-item-row {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 18px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid rgba(91, 50, 28, 0.14);
  border-radius: 0;
  padding: 22px clamp(16px, 4vw, 34px);
  background: transparent;
}

.quote-item-media {
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(91, 50, 28, 0.12);
}

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

.quote-item-media span {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 800;
}

.quote-item-info {
  display: grid;
  gap: 7px;
}

.quote-item-info strong {
  color: #24150d;
  font-size: 1.08rem;
}

.quote-item-info small,
.quote-item-price small {
  color: rgba(36, 21, 13, 0.56);
}

.qty-control {
  width: fit-content;
  display: inline-grid;
  grid-template-columns: 38px 48px 38px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 92, 0.42);
  border-radius: 16px;
  background: #fff;
}

.qty-control button {
  min-height: 36px;
  width: 38px;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: #24150d;
  background: transparent;
  box-shadow: none;
}

.qty-control span {
  text-align: center;
  color: #24150d;
  font-weight: 900;
}

.quote-item-price {
  display: grid;
  gap: 3px;
  padding-right: 28px;
  text-align: right;
}

.quote-item-price strong {
  color: #160d08;
  font-size: 1.15rem;
}

.quote-remove {
  position: absolute;
  top: 22px;
  right: 18px;
  width: auto;
  min-height: 0;
  border: 0;
  padding: 0;
  color: #ff2d2d;
  background: transparent;
  box-shadow: none;
  font-size: 1.4rem;
  line-height: 1;
}

.quote-contact-card {
  display: grid;
  gap: 14px;
  padding: 24px clamp(16px, 4vw, 34px);
  background: #f2e7d5;
}

.quote-contact-card h2 {
  margin: 0;
  border-left: 5px solid var(--gold);
  padding-left: 12px;
  color: #24150d;
  font-size: 1.2rem;
}

.quote-contact-card label {
  display: grid;
  gap: 8px;
  color: #24150d;
  font-weight: 800;
}

.quote-contact-card input,
.quote-contact-card textarea {
  width: 100%;
  border: 1px solid rgba(91, 50, 28, 0.14);
  border-radius: 16px;
  padding: 14px 16px;
  color: #24150d;
  background: #fff;
  font: inherit;
  box-shadow: 0 8px 22px rgba(91, 50, 28, 0.08);
}

.quote-contact-card textarea {
  min-height: 92px;
  resize: vertical;
}

.quote-total-panel {
  display: grid;
  gap: 16px;
  padding: 22px clamp(16px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.94);
}

.quote-total-panel > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #24150d;
}

.quote-total-panel > div:last-of-type {
  border-top: 1px solid rgba(91, 50, 28, 0.12);
  padding-top: 16px;
  font-size: 1.15rem;
  font-weight: 900;
}

.quote-total-panel strong {
  color: #130b06;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.quote-total-panel .btn.action {
  width: 100%;
  min-height: 58px;
  color: #063017;
  background: #86e6a9;
  font-size: 1.05rem;
}

.quote-total-panel .cart-clear {
  justify-self: center;
  color: #e11d24;
  background: transparent;
}

.quote-manual-add {
  display: grid;
  gap: 14px;
  padding: 22px clamp(16px, 4vw, 34px) 30px;
  background: #fbf7f0;
}

.quote-manual-add .eyebrow {
  color: #6b371f;
}

.quote-manual-add .quote-picker {
  grid-template-columns: 1.2fr 1.1fr 0.55fr 0.75fr auto;
}

.quote-manual-add input,
.quote-manual-add select {
  color: #24150d;
  background: #fff;
}

@media (max-width: 820px) {
  .quote-item-row {
    grid-template-columns: 86px 1fr;
  }

  .quote-item-media {
    width: 86px;
    height: 86px;
  }

  .quote-item-price {
    grid-column: 2;
    padding-right: 0;
    text-align: left;
  }

  .quote-manual-add .quote-picker {
    grid-template-columns: 1fr;
  }
}

/* Update UI 7: carrito lateral de cotizacion */
.header-cart {
  border: 0;
  cursor: pointer;
}

.cart-drawer-open {
  overflow: hidden;
}

.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 88;
  visibility: hidden;
  opacity: 0;
  background: rgba(12, 7, 4, 0.52);
  backdrop-filter: blur(4px);
  transition: opacity 220ms ease, visibility 220ms ease;
}

.cart-drawer-overlay.is-open {
  visibility: visible;
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 89;
  width: min(460px, calc(100vw - 18px));
  height: 100vh;
  display: flex;
  flex-direction: column;
  color: #24150d;
  background: #f7f2ea;
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.42);
  transform: translateX(106%);
  transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 24px 22px;
  color: #fff;
  background: linear-gradient(135deg, #2d160d, #1a0e08);
  border-bottom: 1px solid rgba(229, 196, 110, 0.22);
}

.cart-drawer-head .eyebrow {
  color: var(--gold);
  font-size: 0.68rem;
}

.cart-drawer-head h2 {
  margin: 7px 0 6px;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.35rem);
  line-height: 1;
}

.cart-drawer-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.cart-drawer-close {
  width: 40px;
  min-height: 40px;
  border: 1px solid rgba(229, 196, 110, 0.32);
  border-radius: 999px;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.1rem;
  box-shadow: none;
}

.cart-drawer-body {
  min-height: 0;
  flex: 1;
  overflow: auto;
}

.cart-drawer-empty {
  min-height: calc(100vh - 142px);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 42px 28px;
  text-align: center;
}

.cart-drawer-empty h3 {
  margin: 8px 0 0;
  color: #24150d;
  font-size: 1.55rem;
}

.cart-drawer-empty p {
  max-width: 330px;
  margin: 0;
  color: rgba(36, 21, 13, 0.62);
  line-height: 1.55;
}

.cart-drawer-empty .btn {
  margin-top: 8px;
}

.cart-drawer-active {
  min-height: calc(100vh - 142px);
  display: grid;
  grid-template-rows: 1fr auto;
}

.drawer-cart-items {
  display: grid;
  align-content: start;
}

.cart-drawer .quote-item-row {
  grid-template-columns: 76px 1fr;
  gap: 14px;
  padding: 18px 22px;
  background: #fbf7f0;
}

.cart-drawer .quote-item-media {
  width: 76px;
  height: 76px;
  border-radius: 16px;
}

.cart-drawer .quote-item-info {
  padding-right: 28px;
}

.cart-drawer .quote-item-info strong {
  font-size: 0.98rem;
}

.cart-drawer .quote-item-info small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cart-drawer .qty-control {
  grid-template-columns: 34px 42px 34px;
  border-radius: 14px;
}

.cart-drawer .qty-control button {
  width: 34px;
  min-height: 32px;
}

.cart-drawer .quote-item-price {
  grid-column: 2;
  padding-right: 28px;
  text-align: left;
}

.cart-drawer .quote-item-price strong {
  font-size: 1.05rem;
}

.cart-drawer .quote-remove {
  top: 18px;
  right: 18px;
  color: #d91818;
  font-size: 1rem;
  font-weight: 900;
}

.cart-drawer-total {
  position: sticky;
  bottom: 0;
  display: grid;
  gap: 14px;
  border-top: 1px solid rgba(91, 50, 28, 0.14);
  padding: 18px 22px 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -14px 32px rgba(91, 50, 28, 0.08);
}

.cart-drawer-total > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.cart-drawer-total span {
  color: rgba(36, 21, 13, 0.68);
}

.cart-drawer-total strong {
  color: #160d08;
  font-size: 1.32rem;
}

.drawer-checkout {
  width: 100%;
  justify-content: center;
  min-height: 54px;
  color: #063017;
  background: #86e6a9;
}

@media (max-width: 560px) {
  .cart-drawer {
    width: 100vw;
  }

  .cart-drawer-head {
    padding: 22px 18px 20px;
  }

  .cart-drawer .quote-item-row {
    padding: 16px 18px;
  }
}

/* Update UI 8: solicitar, catalogo y promociones mas compactos */
.site-header {
  min-height: 62px;
  padding-top: 6px;
  padding-bottom: 6px;
  background: linear-gradient(90deg, rgba(38, 17, 9, 0.62), rgba(10, 13, 9, 0.74));
}

.site-header.is-scrolled {
  min-height: 48px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.site-header .brand-logo,
.site-header .brand-mark,
.site-header.is-scrolled .brand-logo,
.site-header.is-scrolled .brand-mark {
  width: min(var(--logo-size, 74px), 112px);
  height: min(var(--logo-size, 74px), 112px);
  flex-basis: min(var(--logo-size, 74px), 112px);
}

.hero {
  min-height: calc(100vh - 40px);
  padding-top: clamp(96px, 10vw, 132px);
}

.hero-badge {
  padding: 3px 8px;
  font-size: 0.46rem;
  letter-spacing: 0.14em;
  transform: translateY(-28px);
}

.hero-heart {
  top: clamp(88px, 14vh, 142px);
  right: clamp(4px, 4vw, 82px);
}

.page-head {
  padding: clamp(36px, 5vw, 68px) clamp(18px, 4vw, 42px);
}

.page-visual {
  margin-top: 22px;
}

.page-visual::before {
  inset: 8px -10px;
  border-radius: 18px;
}

.catalog-head h1,
.promotions-head h1 {
  max-width: 980px;
  font-size: clamp(2.6rem, 5.2vw, 5.2rem);
  line-height: 0.95;
}

.catalog-head p:not(.eyebrow),
.promotions-head p:not(.eyebrow) {
  max-width: 520px;
  font-size: 1rem;
}

.catalog-layout-refined {
  grid-template-columns: minmax(220px, 250px) 1fr;
  gap: 24px;
  padding-top: 10px;
}

.filters-compact {
  top: 76px;
  gap: 10px;
  border-color: rgba(229, 196, 110, 0.18);
  border-radius: 18px;
  padding: 14px;
  background: rgba(15, 11, 8, 0.38);
  box-shadow: none;
}

.filters-compact input,
.filters-compact select {
  border-radius: 12px;
  padding: 11px 12px;
  background: rgba(247, 242, 234, 0.045);
}

.filters-compact .btn {
  min-height: 42px;
}

.filters-compact .filter-links {
  gap: 7px;
}

.filters-compact .filter-links a {
  border-color: rgba(229, 196, 110, 0.2);
  padding: 7px 10px;
  background: rgba(247, 242, 234, 0.045);
  font-size: 0.8rem;
}

.promo-list-refined {
  display: grid;
  gap: 18px;
  padding: 22px 0 clamp(70px, 8vw, 112px);
}

.promo-row-luxury {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 250px) 1fr auto;
  gap: clamp(18px, 4vw, 36px);
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(229, 196, 110, 0.22);
  border-radius: 22px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(135deg, rgba(59, 31, 18, 0.9), rgba(20, 10, 5, 0.92)),
    var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.promo-row-luxury::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(229, 196, 110, 0.1), transparent 34%, rgba(34, 197, 94, 0.06));
  opacity: 0.8;
}

.promo-row-luxury > * {
  position: relative;
  z-index: 1;
}

.promo-row-luxury .promo-row-image {
  width: 100%;
  aspect-ratio: 1.45;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.promo-row-luxury:not(.has-image) {
  grid-template-columns: 1fr auto;
}

.promo-row-luxury h2 {
  max-width: 720px;
  font-size: clamp(2rem, 4.2vw, 4.6rem);
}

.promo-row-luxury p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(247, 242, 234, 0.78);
  line-height: 1.55;
}

.promo-row-luxury small {
  color: rgba(229, 196, 110, 0.78);
}

.quote-app {
  width: min(640px, calc(100% - 28px));
  padding-top: 18px;
}

.quote-app-head {
  padding: 20px 22px;
  border-radius: 22px 22px 0 0;
}

.quote-app-head h1 {
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  letter-spacing: 0;
}

.quote-cart-form {
  border-radius: 0 0 22px 22px;
}

.quote-empty-state {
  min-height: 390px;
}

.quote-item-row {
  grid-template-columns: 82px 1fr;
  gap: 14px;
  padding: 18px 20px;
}

.quote-item-media {
  width: 82px;
  height: 82px;
  border-radius: 16px;
}

.quote-item-price {
  grid-column: 2;
  padding-right: 30px;
  text-align: left;
}

.quote-contact-card {
  padding: 20px;
}

.quote-total-panel {
  padding: 18px 20px 22px;
}

.quote-total-panel .cart-clear {
  justify-self: stretch;
  min-height: 48px;
  border: 1px solid rgba(107, 55, 31, 0.18);
  border-radius: 999px;
  color: #6b371f;
  background: rgba(107, 55, 31, 0.08);
  font-weight: 900;
}

.quote-total-panel .cart-clear:hover {
  color: #fff;
  background: #6b371f;
}

.quote-manual-add {
  display: none;
}

.quote-sent-panel {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(201, 164, 92, 0.24);
  border-radius: 0 0 22px 22px;
  padding: 24px 22px;
  color: #24150d;
  background: #f7f2ea;
}

.quote-sent-panel h2 {
  margin: 0;
  color: #24150d;
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

@media (max-width: 980px) {
  .catalog-layout-refined {
    grid-template-columns: 1fr;
  }

  .filters-compact {
    position: relative;
    top: 0;
  }

  .promo-row-luxury {
    grid-template-columns: 180px 1fr;
  }

  .promo-row-luxury .btn {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 58px;
    padding-inline: 12px;
  }

  .site-header .brand-logo,
  .site-header .brand-mark,
  .site-header.is-scrolled .brand-logo,
  .site-header.is-scrolled .brand-mark {
    width: min(var(--logo-size, 74px), 82px);
    height: min(var(--logo-size, 74px), 82px);
    flex-basis: min(var(--logo-size, 74px), 82px);
  }

  .hero-badge {
    transform: none;
  }

  .hero-heart {
    top: 86px;
  }

  .catalog-head h1,
  .promotions-head h1 {
    font-size: clamp(2.25rem, 12vw, 3.8rem);
  }

  .promo-row-luxury {
    grid-template-columns: 1fr;
  }

  .promo-row-luxury .btn {
    grid-column: auto;
    justify-self: stretch;
  }

  .quote-app {
    width: min(100% - 18px, 640px);
    padding-top: 12px;
  }
}

/* Update UI 12: fondos administrables restantes */
.quote-cta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(15, 11, 8, 0.9), rgba(15, 11, 8, 0.94)),
    var(--section-bg);
  background-position: center;
  background-size: cover;
}

.quote-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 24%, rgba(229, 196, 110, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(229, 196, 110, 0.04) 1px, transparent 1px);
  background-size: auto, 54px 54px;
}

.quote-cta-inner {
  position: relative;
  z-index: 1;
}

.site-footer {
  background:
    linear-gradient(135deg, rgba(15, 11, 8, 0.95), rgba(43, 20, 11, 0.9)),
    var(--footer-bg),
    radial-gradient(circle at 12% 0%, rgba(229, 196, 110, 0.1), transparent 28%),
    linear-gradient(135deg, rgba(15, 11, 8, 0.98), rgba(43, 20, 11, 0.94));
  background-position: center;
  background-size: cover;
}

/* Update UI 14: apariencia avanzada y footer limpio */
.hero {
  min-height: var(--hero-height, 720px);
}

.page-head.page-visual,
.catalog-head,
.promotions-head,
.contact-head {
  min-height: var(--page-banner-height, 260px);
}

.catalog-head.collection-head {
  min-height: var(--collection-banner-height, 210px);
  padding-block: clamp(24px, 4vw, 46px);
}

.catalog-head.collection-head h1 {
  max-width: 680px;
}

.site-footer {
  padding: var(--footer-padding-y, 46px) 0;
  background:
    linear-gradient(
      135deg,
      rgba(15, 11, 8, var(--footer-overlay-alpha, 0.46)),
      rgba(15, 11, 8, var(--footer-overlay-strong, 0.58))
    ),
    var(--footer-bg) center / cover no-repeat,
    linear-gradient(135deg, #0f0b08, #1f120b);
}

.site-footer::before {
  opacity: 0.08;
  background: linear-gradient(90deg, rgba(229, 196, 110, 0.025) 1px, transparent 1px);
  background-size: 74px 74px;
}

.site-footer .footer-inner {
  align-items: center;
}

.footer-brand-block small {
  display: inline-flex;
  width: fit-content;
}

@media (max-width: 760px) {
  .catalog-head.collection-head {
    min-height: min(var(--collection-banner-height, 210px), 240px);
    padding-block: 24px;
  }

  .site-footer {
    padding: max(28px, calc(var(--footer-padding-y, 46px) * 0.78)) 0;
  }
}

/* Update UI 15: cupones y promociones por producto */
.discount-box {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 16px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(241, 245, 249, 0.08), rgba(37, 99, 235, 0.08));
}

.discount-box label {
  color: #bfdbfe;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.discount-box div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.discount-box input {
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, 0.36);
  border-radius: 999px;
  padding: 10px 12px;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.62);
}

.discount-box button {
  width: auto;
  border-radius: 999px;
  padding: 10px 14px;
  color: #ffffff;
  background: #2563eb;
}

.discount-box small {
  min-height: 1.2em;
  color: #94a3b8;
}

.discount-box small.is-error {
  color: #ffb1a5;
}

.quote-discount-box {
  background: linear-gradient(135deg, #f8fafc, #eef4ff);
  border-color: rgba(37, 99, 235, 0.24);
}

.quote-discount-box label {
  color: #1d4ed8;
}

.quote-discount-box input {
  color: #334155;
  background: #fff;
  border-color: rgba(148, 163, 184, 0.45);
}

.quote-discount-box small {
  color: #64748b;
}

.footer-secret-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  opacity: 0.42;
}

.footer-secret-links button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(229, 196, 110, 0.16);
  border-radius: 999px;
  color: rgba(247, 242, 234, 0.58);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.footer-secret-links button:hover,
.footer-secret-links button.is-waking {
  color: #e5c46e;
  border-color: rgba(229, 196, 110, 0.34);
  transform: translateY(-1px);
}

.footer-secret-links svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 560px) {
  .discount-box div {
    grid-template-columns: 1fr;
  }

  .discount-box button {
    width: 100%;
  }
}

/* Update UI 13: header movil y titulos administrables */
.mobile-brand {
  display: none;
}

.hero h1 {
  font-size: var(--hero-title-size, 76px);
}

.categories-showroom .section-head h2 {
  font-size: var(--categories-title-size, 54px);
}

.band.section-visual:not(.promo-offers) .section-head h2 {
  font-size: var(--featured-title-size, 58px);
}

.promo-offers .section-head h2 {
  font-size: var(--home-promotions-title-size, 56px);
}

.catalog-head h1 {
  font-size: var(--catalog-title-size, 62px);
}

.promotions-head h1 {
  font-size: var(--promotions-title-size, 62px);
}

.contact-head h1 {
  font-size: var(--contact-title-size, 58px);
}

.quote-app-head h1 {
  font-size: var(--quote-title-size, 44px);
}

.quote-cta-copy h2 {
  font-size: var(--custom-title-size, 48px);
}

.footer-brand-block strong {
  font-size: var(--footer-title-size, 34px);
}

@media (max-width: 760px) {
  .site-logo-dock {
    display: none;
  }

  .site-header,
  .site-header.is-scrolled {
    min-height: 58px;
    grid-template-columns: 46px auto minmax(0, 1fr);
    gap: 8px;
    padding: 7px 10px;
  }

  .mobile-brand {
    grid-column: 1;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    min-width: 46px;
  }

  .mobile-brand .brand-logo,
  .mobile-brand .brand-mark {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.34));
  }

  .site-header .nav-toggle {
    grid-column: 2;
    width: auto;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
  }

  .site-header .header-actions,
  .site-header.is-scrolled .header-actions {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
  }

  .site-header .header-cart,
  .site-header.is-scrolled .header-cart {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .site-header .header-cta,
  .site-header.is-scrolled .header-cta {
    min-height: 38px;
    max-width: 112px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.76rem;
    line-height: 1;
    white-space: nowrap;
  }

  .site-header .site-nav {
    grid-column: 1 / -1;
    top: calc(100% + 8px);
    left: 10px;
    right: 10px;
    width: auto;
    max-height: calc(100vh - 84px);
    overflow: auto;
    border-radius: 18px;
    padding: 12px;
    background: rgba(15, 11, 8, 0.96);
    border: 1px solid rgba(229, 196, 110, 0.22);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
  }

  .hero {
    min-height: 78svh;
    padding-top: 86px;
  }

  .hero-inner {
    align-items: center;
    padding-top: 20px;
    padding-bottom: 28px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 13vw, min(var(--hero-title-size, 76px), 4.4rem));
    line-height: 0.98;
  }

  .categories-showroom .section-head h2,
  .band.section-visual:not(.promo-offers) .section-head h2,
  .promo-offers .section-head h2 {
    font-size: clamp(2rem, 10vw, 3.35rem);
    line-height: 1.02;
  }

  .catalog-head h1,
  .promotions-head h1,
  .contact-head h1 {
    font-size: clamp(2rem, 10vw, 3.4rem);
    line-height: 1.04;
  }

  .quote-app-head h1,
  .quote-cta-copy h2 {
    font-size: clamp(1.85rem, 9vw, 3rem);
    line-height: 1.05;
  }

  .footer-brand-block strong {
    font-size: clamp(1.65rem, 8vw, 2.65rem);
  }
}
