:root {
  --ink: #173c63;
  --ink-2: #2e5477;
  --muted: #69798a;
  --paper: #fff;
  --soft: #f5f2ed;
  --soft-blue: #eaf0f5;
  --line: #dfe6ec;
  --green: #24a56d;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(26, 55, 80, 0.1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: #27394a;
  background: #fff;
  line-height: 1.55;
}
body.menu-open {
  overflow: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img,
svg {
  max-width: 100%;
  display: block;
}
button,
input,
textarea {
  font: inherit;
}
.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}
.section {
  padding: 80px 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--ink);
}
h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
h2 {
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  line-height: 1.1;
  margin-bottom: 14px;
}
h3 {
  color: var(--ink);
  margin-bottom: 6px;
}
p {
  color: var(--muted);
}
.eyebrow {
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 0.82rem;
  color: #6a7080;
  margin-bottom: 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  padding: 13px 22px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.25s ease;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 22px rgba(23, 60, 99, 0.18);
}
.btn-primary:hover {
  background: #0f3152;
}
.btn-secondary {
  border-color: #9eb2c4;
  color: var(--ink);
  background: #fff;
}
.btn-secondary:hover {
  background: #f5f8fa;
}
.btn-whatsapp {
  background: var(--green);
  color: #fff;
  padding: 12px 18px;
}
.wa-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}
.contact-icon.contact-whatsapp {
  background: var(--green);
}
.contact-icon .wa-icon {
  width: 23px;
  height: 23px;
}
.text-link {
  color: var(--ink);
  font-weight: 700;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(222, 229, 235, 0.8);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  min-width: max-content;
}
.brand-mark {
  width: 52px;
}
.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand strong {
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
}
.brand small {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  margin-top: 5px;
}
.main-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.main-nav a {
  font-size: 0.92rem;
  color: #4c6072;
  font-weight: 600;
}
.main-nav a:hover {
  color: var(--ink);
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

.hero {
  background: linear-gradient(135deg, #f8f6f2 0%, #ffffff 46%, #eef3f7 100%);
  overflow: hidden;
}
.hero-grid {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 54px;
}
.lead {
  font-size: 1.15rem;
  max-width: 700px;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.trust-item {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
}
.trust-item strong,
.trust-item small {
  display: block;
}
.trust-item small {
  color: var(--muted);
}
.icon-box {
  width: 42px;
  height: 42px;
  border: 1px solid #bdcad4;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
}

.hero-visual {
  height: 570px;
  position: relative;
  border-radius: 28px;
  background: linear-gradient(180deg, #ece8df, #d8dfdf);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-visual:after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(55, 70, 76, 0.08));
}
.towel-stack {
  position: absolute;
  right: 7%;
  bottom: 9%;
  width: 62%;
  z-index: 3;
}
.towel {
  height: 74px;
  border-radius: 28px 28px 22px 22px;
  margin-top: -8px;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.12),
    inset 0 -8px 16px rgba(0, 0, 0, 0.08);
}
.towel-small {
  width: 72%;
  margin-left: 20%;
  height: 64px;
}
.towel-white {
  background: linear-gradient(#fbfbf9, #dfded9);
}
.towel-light {
  background: linear-gradient(#d8d8d5, #bfc1c3);
}
.towel-beige {
  background: linear-gradient(#d8c9b0, #bca88c);
}
.towel-blue {
  background: linear-gradient(#54758a, #2c536f);
}
.plant {
  position: absolute;
  left: 10%;
  bottom: 18%;
  width: 120px;
  height: 265px;
  z-index: 1;
}
.vase {
  position: absolute;
  bottom: 0;
  left: 25px;
  width: 78px;
  height: 105px;
  border-radius: 18px 18px 28px 28px;
  background: linear-gradient(90deg, #d4d2ca, #f4f2ea, #c9c7bf);
}
.stem {
  position: absolute;
  bottom: 90px;
  left: 60px;
  width: 3px;
  background: #617b62;
  transform-origin: bottom;
}
.s1 {
  height: 125px;
  transform: rotate(-21deg);
}
.s2 {
  height: 150px;
  transform: rotate(8deg);
}
.s3 {
  height: 110px;
  transform: rotate(26deg);
}
.leaf {
  position: absolute;
  width: 34px;
  height: 18px;
  background: #6e8d6c;
  border-radius: 80% 10% 80% 10%;
}
.l1 {
  left: 17px;
  top: 70px;
  transform: rotate(-18deg);
}
.l2 {
  left: 73px;
  top: 46px;
  transform: rotate(28deg);
}
.l3 {
  left: 37px;
  top: 16px;
  transform: rotate(-3deg);
}
.l4 {
  left: 78px;
  top: 112px;
}
.l5 {
  left: 7px;
  top: 122px;
}
.hero-note {
  position: absolute;
  right: 5%;
  top: 7%;
  z-index: 2;
  text-align: right;
  transform: rotate(-6deg);
  color: #55606a;
}
.hero-note span {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  display: block;
}
.hero-note strong {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
}
.mini-card {
  position: absolute;
  right: 2.5%;
  top: 30%;
  width: 150px;
  background: rgba(255, 255, 255, 0.87);
  padding: 20px;
  z-index: 5;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.07);
}
.mini-card span {
  display: block;
  width: 28px;
  border-top: 1px solid #b9a995;
  margin-bottom: 16px;
}
.mini-card p {
  font-family: "Playfair Display", serif;
  color: #5c5350;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  margin: 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 30px;
}
.section-head p {
  margin-bottom: 0;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.category-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(30, 62, 90, 0.05);
}
.category-art {
  height: 230px;
  position: relative;
  overflow: hidden;
}
.card-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 18px;
}
.card-copy h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
}
.card-copy p {
  font-size: 0.86rem;
  margin: 0;
}
.card-copy > span {
  font-size: 1.4rem;
  color: var(--ink);
}
.towels-art {
  background: linear-gradient(145deg, #dfe7e6, #f6f5ef);
}
.mini-towel {
  position: absolute;
  left: 16%;
  right: 12%;
  height: 52px;
  border-radius: 22px;
  background: #f6f4ed;
  box-shadow: 0 8px 16px rgba(30, 55, 60, 0.12);
}
.mini-towel.a {
  bottom: 42px;
}
.mini-towel.b {
  bottom: 83px;
  right: 20%;
  background: #e5e1d9;
}
.mini-towel.c {
  bottom: 124px;
  left: 30%;
  background: #fbfaf6;
}
.linen-art {
  background: linear-gradient(#e9edf0, #d6dfe7);
}
.bed-head {
  position: absolute;
  left: 11%;
  right: 11%;
  bottom: 32px;
  height: 105px;
  background: #f2f0ea;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(25, 50, 70, 0.13);
}
.pillow {
  position: absolute;
  bottom: 93px;
  width: 30%;
  height: 57px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 12px rgba(30, 40, 50, 0.08);
}
.p1 {
  left: 24%;
}
.p2 {
  right: 18%;
}
.blanket {
  position: absolute;
  left: 11%;
  right: 11%;
  bottom: 28px;
  height: 46px;
  background: #7790a1;
  border-radius: 0 0 11px 11px;
}
.accessory-art {
  background: linear-gradient(145deg, #cdd5d1, #efece4);
}
.soap {
  position: absolute;
  right: 25%;
  bottom: 42px;
  width: 58px;
  height: 92px;
  border-radius: 8px;
  background: #ded0b8;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.1);
}
.soap:before {
  content: "";
  position: absolute;
  width: 38px;
  height: 7px;
  background: #585e61;
  left: 10px;
  top: -9px;
}
.folded {
  position: absolute;
  left: 16%;
  width: 40%;
  height: 34px;
  border-radius: 13px;
  background: #f7f6f1;
  box-shadow: 0 7px 12px rgba(0, 0, 0, 0.08);
}
.f1 {
  bottom: 42px;
}
.f2 {
  bottom: 69px;
  background: #e4e2dc;
}
.f3 {
  bottom: 96px;
}
.soon-art {
  background: linear-gradient(145deg, #e8ddcc, #f4efe5);
}
.box-shape {
  position: absolute;
  right: 13%;
  bottom: 37px;
  width: 42%;
  height: 90px;
  background: #b98e61;
  transform: skewY(-3deg);
  box-shadow: 0 10px 22px rgba(100, 70, 50, 0.2);
}
.sprout {
  position: absolute;
  right: 18%;
  bottom: 123px;
  width: 40px;
  height: 60px;
  border-left: 3px solid #678263;
  transform: rotate(8deg);
}
.sprout:before,
.sprout:after {
  content: "";
  position: absolute;
  width: 28px;
  height: 15px;
  background: #789472;
  border-radius: 80% 10% 80% 10%;
}
.sprout:before {
  left: -27px;
  top: 16px;
  transform: rotate(-16deg);
}
.sprout:after {
  left: 4px;
  top: 2px;
  transform: rotate(32deg);
}
.soon-label {
  position: absolute;
  left: 9%;
  top: 16%;
  font-family: "Playfair Display", serif;
  letter-spacing: 0.1em;
  color: #5c5148;
  font-size: 0.72rem;
}

.benefits {
  padding: 56px 0;
  background: var(--soft);
}
.benefits h2 {
  margin-bottom: 28px;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.benefit > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7dccd;
  color: var(--ink);
  font-size: 1.35rem;
  flex: 0 0 auto;
}
.benefit h3 {
  font-size: 1rem;
  margin-bottom: 5px;
}
.benefit p {
  font-size: 0.86rem;
  margin: 0;
}

.wholesale-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
}
.wholesale-visual {
  height: 480px;
  border-radius: 18px;
  background: linear-gradient(145deg, #d7e0dd, #edf1ed);
  position: relative;
  overflow: hidden;
}
.stack-alt {
  position: absolute;
  left: 18%;
  right: 16%;
  bottom: 12%;
}
.stack-alt div {
  height: 68px;
  margin-top: -8px;
  border-radius: 28px;
  background: linear-gradient(#f6f5f0, #d8d7d2);
  box-shadow: 0 10px 18px rgba(20, 45, 55, 0.13);
}
.stack-alt div:nth-child(2) {
  background: linear-gradient(#5f7c8e, #385a70);
}
.stack-alt div:nth-child(3) {
  background: linear-gradient(#e5e4df, #cfd0cf);
}
.stack-alt div:nth-child(4) {
  background: linear-gradient(#456d85, #244d67);
}
.overlay-note {
  position: absolute;
  left: 24px;
  bottom: 26px;
  background: rgba(249, 247, 242, 0.95);
  padding: 22px;
  font-family: "Playfair Display", serif;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  color: #544c46;
}
.wholesale-copy > p {
  font-size: 1.05rem;
}
.business-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 26px 0;
}
.business-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  padding: 22px 12px;
  background: #fff;
}
.business-card span {
  font-size: 1.45rem;
  color: var(--ink);
}
.business-card h3 {
  font-size: 0.95rem;
}
.business-card p {
  font-size: 0.78rem;
  margin: 0;
}
.wide {
  width: 100%;
}

.about {
  background: #fbfcfd;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: center;
}
.about-grid p {
  font-size: 1.04rem;
}
.mountain-banner {
  height: 280px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.mountain-banner svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.mountain-banner span {
  position: absolute;
  right: 24px;
  bottom: 22px;
  color: #fff;
  font-family: "Playfair Display", serif;
  letter-spacing: 0.1em;
  text-align: right;
  font-size: 0.8rem;
  text-shadow: 0 1px 5px #183d56;
}

.faq {
  background: var(--soft);
}
.faq-grid {
  /* Cada pregunta conserva su altura cuando se abre otra en la misma fila. */
  align-items: start;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
details {
  background: #fff;
  border: 1px solid #e2e7eb;
  border-radius: 10px;
  padding: 0 18px;
}
summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  color: var(--ink);
  font-family: "Playfair Display", serif;
  font-weight: 700;
}
summary::-webkit-details-marker {
  display: none;
}
details p {
  padding: 0 0 18px;
  margin: 0;
  font-size: 0.92rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 42px;
  align-items: start;
}
.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.contact-list > a,
.contact-list > div {
  display: flex;
  gap: 13px;
  align-items: center;
}
.contact-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
}
.contact-list strong,
.contact-list small {
  display: block;
}
.contact-list small {
  color: var(--muted);
}
.contact-form {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 16px 36px rgba(32, 62, 84, 0.07);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
label {
  display: grid;
  gap: 7px;
  color: #3b5368;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 14px;
}
input,
textarea {
  width: 100%;
  border: 1px solid #dbe3ea;
  border-radius: 8px;
  padding: 12px 13px;
  color: #2d4357;
  background: #fbfdfe;
  outline: none;
}
input:focus,
textarea:focus {
  border-color: #7f9bb3;
  box-shadow: 0 0 0 3px rgba(86, 125, 158, 0.12);
}
textarea {
  resize: vertical;
}
.form-status {
  font-size: 0.9rem;
  margin: 12px 0 0;
  color: var(--green);
}

footer {
  padding: 42px 0 20px;
  background: #f5f7f8;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
  gap: 36px;
}
.footer-grid h4 {
  color: var(--ink);
  margin: 0 0 12px;
}
.footer-grid a,
.footer-grid p {
  display: block;
  color: #637486;
  font-size: 0.9rem;
  margin: 5px 0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #dde4e9;
  margin-top: 30px;
  padding-top: 18px;
  color: #7b8895;
  font-size: 0.82rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1000px) {
  .desktop-cta {
    display: none;
  }
  .main-nav {
    position: fixed;
    inset: 78px 0 auto 0;
    background: #fff;
    display: none;
    flex-direction: column;
    padding: 24px 30px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 70px 0;
  }
  .hero-visual {
    height: 470px;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wholesale-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .business-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 650px) {
  .container {
    width: min(100% - 26px, 1180px);
  }
  .section {
    padding: 62px 0;
  }
  .nav-wrap {
    height: 70px;
  }
  .main-nav {
    inset: 70px 0 auto 0;
  }
  .brand strong {
    font-size: 1.35rem;
  }
  .brand-mark {
    width: 43px;
  }
  h1 {
    font-size: 3.15rem;
  }
  .hero-grid {
    padding: 45px 0;
  }
  .hero-visual {
    height: 390px;
  }
  .hero-note {
    display: none;
  }
  .mini-card {
    width: 125px;
    right: 3%;
    top: 8%;
  }
  .trust-row {
    grid-template-columns: 1fr;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .category-grid,
  .benefit-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .category-art {
    height: 210px;
  }
  .business-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
  }
}

/* ---------- Catálogo comercial ---------- */
.catalog-section {
  background: linear-gradient(180deg, #fff 0%, #f8fafb 100%);
}
.catalog-heading {
  align-items: flex-end;
}
.catalog-heading > div:first-child {
  max-width: 720px;
}
.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.filter-btn {
  border: 1px solid #cbd7e0;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: 0.2s ease;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(31, 61, 84, 0.06);
  transition: 0.25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(31, 61, 84, 0.11);
}
.product-card.is-hidden {
  display: none;
}
.product-image {
  height: 250px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-white {
  background: linear-gradient(145deg, #e7e6e0, #f7f6f2);
}
.product-grey {
  background: linear-gradient(145deg, #cfd2d2, #ecebea);
}
.product-blue {
  background: linear-gradient(145deg, #7f9cad, #dce5e9);
}
.product-beige {
  background: linear-gradient(145deg, #d7c6ae, #f1eae0);
}
.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.08);
}
.rolled-towel {
  position: absolute;
  width: 128px;
  height: 72px;
  top: 52px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 42px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(220, 222, 219, 0.95)
  );
  box-shadow:
    0 12px 24px rgba(23, 49, 65, 0.14),
    inset -15px 0 20px rgba(0, 0, 0, 0.05);
}
.rolled-towel:after {
  content: "";
  position: absolute;
  right: 8px;
  top: 10px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 8px solid rgba(170, 176, 176, 0.38);
  background: rgba(247, 247, 243, 0.8);
}
.product-grey .rolled-towel,
.product-grey .flat-towel {
  filter: brightness(0.83);
}
.product-blue .rolled-towel,
.product-blue .flat-towel {
  background: linear-gradient(#587b90, #365e77);
}
.product-beige .rolled-towel,
.product-beige .flat-towel {
  background: linear-gradient(#e1d1b8, #c8b393);
}
.flat-towel {
  position: absolute;
  left: 16%;
  right: 16%;
  height: 54px;
  border-radius: 20px;
  background: linear-gradient(#faf9f5, #deded8);
  box-shadow: 0 10px 20px rgba(25, 45, 55, 0.13);
}
.flat-towel.one {
  bottom: 58px;
}
.flat-towel.two {
  bottom: 24px;
  left: 22%;
  right: 10%;
}
.product-body {
  padding: 20px;
}
.product-topline {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: flex-start;
}
.product-topline h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  line-height: 1.15;
}
.gsm-pill {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #eef3f6;
  color: var(--ink);
  padding: 5px 8px;
  font-size: 0.72rem;
  font-weight: 800;
}
.product-body > p {
  min-height: 72px;
  font-size: 0.9rem;
}
.spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  border-top: 1px solid #e4e9ed;
}
.spec-list li {
  padding: 9px 0;
  border-bottom: 1px solid #edf1f3;
  font-size: 0.82rem;
  color: #667789;
}
.spec-list strong {
  color: #40576b;
}
.product-quote {
  width: 100%;
  font-size: 0.85rem;
}
.catalog-note {
  margin-top: 25px;
  border: 1px solid #dce5eb;
  background: #eef3f6;
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.catalog-note strong {
  color: var(--ink);
  font-size: 1.05rem;
}
.catalog-note p {
  margin: 5px 0 0;
  font-size: 0.9rem;
}
@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 650px) {
  .catalog-heading {
    align-items: flex-start;
  }
  .catalog-filters {
    justify-content: flex-start;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-body > p {
    min-height: auto;
  }
  .catalog-note {
    align-items: flex-start;
    flex-direction: column;
  }
  .catalog-note .btn {
    width: 100%;
  }
}

/* ---------- Carrito de cotización ---------- */
.cart-floating {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 13px 16px;
  box-shadow: 0 16px 34px rgba(16, 46, 74, 0.28);
  cursor: pointer;
  font-weight: 800;
  transition: 0.2s ease;
}
.cart-floating:hover {
  transform: translateY(-2px);
}
.cart-icon {
  font-size: 1.1rem;
}
.cart-label {
  font-size: 0.88rem;
}
.cart-count {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 0.75rem;
}
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 30, 45, 0.42);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
}
.cart-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.quote-cart {
  position: fixed;
  top: 0;
  right: 0;
  width: min(440px, 100%);
  height: 100dvh;
  background: #fff;
  z-index: 99;
  box-shadow: -20px 0 48px rgba(16, 40, 60, 0.18);
  transform: translateX(105%);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
}
.quote-cart.open {
  transform: translateX(0);
}
.cart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}
.cart-header .eyebrow {
  margin-bottom: 6px;
}
.cart-header h2 {
  font-size: 2rem;
  margin: 0;
}
.cart-close {
  border: 0;
  background: #f0f4f6;
  color: var(--ink);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.cart-items {
  flex: 1;
  overflow: auto;
  padding: 18px 24px;
}
.cart-empty {
  flex: 1;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 36px;
}
.cart-empty-icon {
  font-size: 2.4rem;
  margin-bottom: 10px;
}
.cart-empty h3 {
  font-family: "Playfair Display", serif;
  color: var(--ink);
  font-size: 1.45rem;
  margin-bottom: 8px;
}
.cart-empty p {
  max-width: 320px;
}
.cart-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
}
.cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.cart-item h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  line-height: 1.2;
  margin: 0;
}
.cart-remove {
  border: 0;
  background: transparent;
  color: #8c5b5b;
  cursor: pointer;
  font-weight: 700;
}
.cart-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.qty-control button {
  width: 34px;
  height: 34px;
  border: 0;
  background: #f7f9fa;
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
}
.qty-control span {
  min-width: 38px;
  text-align: center;
  font-weight: 800;
  color: var(--ink);
}
.cart-footer {
  border-top: 1px solid var(--line);
  padding: 18px 24px 24px;
  background: #fbfcfd;
}
.cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  margin-bottom: 14px;
}
.cart-summary strong {
  font-size: 1.15rem;
}
.cart-whatsapp {
  width: 100%;
  background: var(--green);
}
.cart-whatsapp:hover {
  background: #1e8f5f;
}
.cart-clear {
  width: 100%;
  margin-top: 10px;
  border: 0;
  background: transparent;
  color: #7d8790;
  cursor: pointer;
  font-size: 0.85rem;
}
.add-to-cart.added {
  background: var(--green);
}
body.cart-open {
  overflow: hidden;
}
@media (max-width: 650px) {
  .cart-floating {
    right: 14px;
    bottom: 14px;
  }
  .cart-label {
    display: none;
  }
}

/* Acabados de navegación y accesibilidad. */
section[id] {
  scroll-margin-top: 96px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #24a56d;
  outline-offset: 4px;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.footer-grid .footer-brand {
  display: flex;
  color: var(--ink);
}
@media (min-width: 1001px) and (max-width: 1250px) {
  .desktop-cta {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ANDEZA: refinamientos sobre la identidad visual original. */
:root {
  --ink: #183e58;
  --ink-2: #315b70;
  --muted: #596d7a;
  --green: #167949;
  --soft: #f5f2eb;
  --line: #dce4e7;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
}
h1,
h2,
.brand strong,
.product-body h3 {
  font-family: Georgia, "Times New Roman", serif;
}
h1 {
  font-size: clamp(3rem, 5.8vw, 5.4rem);
}
h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
}
[hidden],
.hidden {
  display: none !important;
}
.icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  vertical-align: middle;
}
svg.icon {
  max-width: none;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.icon-button:hover {
  background: #edf3f4;
}
.btn {
  min-height: 46px;
  font-size: 0.92rem;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.btn-whatsapp:hover {
  background: #105d38;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.text-link .icon {
  width: 18px;
}
.wide {
  width: 100%;
}
.full {
  grid-column: 1/-1;
}
.muted,
.caption {
  color: var(--muted);
  font-size: 0.9rem;
}
.preserve-lines {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 500;
  background: #fff;
  color: var(--ink);
  padding: 14px;
}
.skip-link:focus {
  top: 16px;
}
.demo-banner {
  text-align: center;
  background: #ece5d5;
  color: #4a473f;
  padding: 8px 16px;
  font-size: 0.8rem;
  letter-spacing: 0.015em;
}
.nav-wrap {
  gap: 22px;
}
.main-nav {
  gap: 18px;
}
.main-nav a {
  font-size: 0.84rem;
}
.desktop-cta {
  white-space: nowrap;
  font-size: 0.8rem;
}
.brand-mark {
  flex-shrink: 0;
}
.hero-grid {
  min-height: 650px;
  gap: 42px;
}
.hero-copy h1 {
  max-width: 660px;
}
.hero-copy .lead {
  max-width: 550px;
}
.hero-visual {
  border-radius: 24px;
  background: radial-gradient(ellipse at 50% 58%, #e9e2d6, transparent 68%);
}
.trust-row {
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.icon-box {
  display: grid;
  place-items: center;
}
.hero-actions .btn {
  font-size: 0.9rem;
}
.benefit > span {
  display: grid;
  place-items: center;
}
.business-card > span {
  display: inline-flex;
}
.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.category-tile {
  padding: 30px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  min-width: 0;
}
.category-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.category-tile > .icon {
  width: 38px;
  height: 38px;
  margin-bottom: 26px;
  color: #547783;
}
.category-tile h3 {
  font-family: Georgia, serif;
  font-size: 1.6rem;
}
.category-tile p {
  font-size: 0.94rem;
}
.category-tile .text-link {
  font-size: 0.85rem;
}
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 18px;
  padding: 22px;
  background: #f0f3f3;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 18px;
}
.catalog-toolbar label {
  margin: 0;
  flex: 1;
  min-width: 150px;
}
.catalog-toolbar .search-field {
  flex: 2;
}
.catalog-toolbar .check-label {
  flex: 0 1 auto;
  min-height: 46px;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  font-weight: 400;
  flex-wrap: wrap;
}
.check-label input {
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: var(--ink);
}
.check-label a {
  text-decoration: underline;
}
select {
  width: 100%;
  border: 1px solid #b9c9d0;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
}
input,
textarea {
  background: #fff;
  border-color: #b9c9d0;
  min-width: 0;
}
.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.product-photo {
  display: block;
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f1eee8;
}
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.product-card:hover .product-photo img {
  transform: scale(1.035);
}
.product-body {
  display: flex;
  flex-direction: column;
  padding: 22px;
  flex: 1;
}
.product-card {
  display: flex;
  flex-direction: column;
}
.product-category {
  font-size: 0.68rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 10px !important;
  min-height: 0 !important;
}
.product-body h3 {
  font-size: 1.38rem;
  line-height: 1.18;
  margin-bottom: 12px;
}
.product-body > p {
  font-size: 0.88rem;
  min-height: 64px;
}
.product-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.73rem;
  color: var(--muted);
  margin: 0 0 20px;
}
.product-meta span {
  background: #f0f4f5;
  padding: 4px 7px;
  border-radius: 5px;
}
.add-product {
  width: 100%;
  margin-top: auto;
  padding: 11px 9px;
  font-size: 0.8rem;
}
.add-product .icon {
  width: 16px;
}
.product-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.84rem;
  margin-top: 14px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.price {
  font-size: 1.25rem !important;
  color: var(--ink);
  min-height: 0 !important;
}
.price small {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
}
.empty-state {
  padding: 48px 24px;
  text-align: center;
  border: 1px dashed #bcccd0;
  border-radius: 14px;
  width: 100%;
}
.empty-state > .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: var(--ink);
}
.empty-state h3 {
  font-family: Georgia, serif;
  font-size: 1.6rem;
}
.skeleton {
  height: 440px;
  background: linear-gradient(100deg, #e7eded, #f6f8f8, #e7eded);
  background-size: 200%;
  border-radius: 16px;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
.business-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.business-card {
  padding: 20px;
}
.about-grid {
  gap: 45px;
}
.mountain-banner {
  height: 320px;
}
.contact-list strong {
  overflow-wrap: anywhere;
}
.contact-icon {
  flex-shrink: 0;
}
.contact-form {
  background: #fff;
  padding: 30px;
}
.contact-list [hidden] {
  display: none;
}
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.contact-form .form-status {
  color: var(--ink);
}
.contact-form .check-label {
  line-height: 1.5;
}
.contact-form .check-label input {
  align-self: flex-start;
}
.footer-grid .footer-brand {
  display: flex;
  align-items: flex-start;
}
.footer-brand svg {
  margin-top: 2px;
}
.footer-grid {
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
}
.footer-grid a {
  overflow-wrap: anywhere;
}
#socialLinks a {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-bottom {
  padding-bottom: 66px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 15px 22px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  background: var(--ink);
  color: #fff;
  z-index: 300;
  font-size: 0.92rem;
}
.toast.error {
  background: #923d34;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #167949;
  outline-offset: 3px;
}
section[id] {
  scroll-margin-top: 95px;
}
/* Cotización accesible mediante dialog nativo (foco y Escape). */
.quote-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  padding: 0;
  width: min(490px, 100%);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  border: 0;
  color: var(--ink);
  box-shadow: -20px 0 70px #173c6330;
}
.quote-dialog[open] {
  display: flex;
  flex-direction: column;
}
dialog::backdrop {
  background: #132d45a6;
  backdrop-filter: blur(3px);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.quote-dialog .cart-items {
  min-height: 0;
  padding: 18px 24px;
  flex: 1;
}
.cart-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.cart-fields label {
  font-size: 0.76rem;
  margin: 0;
}
.cart-fields input,
.cart-fields textarea {
  padding: 9px;
}
.cart-footer p {
  font-size: 0.8rem;
  margin-bottom: 12px;
}
.cart-footer {
  flex: none;
}
.cart-header {
  flex: none;
}
.cart-header h2 {
  font-size: 2rem;
}
.cart-floating {
  background: var(--ink);
}
.cart-item h3 {
  max-width: calc(100% - 50px);
  overflow-wrap: anywhere;
}
.cart-item-top {
  align-items: center;
}
.cart-clear {
  min-height: 38px;
}
.cart-clear:disabled {
  opacity: 0.5;
  cursor: default;
}
/* Fiche produit. */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 35px;
}
.breadcrumbs a {
  text-decoration: underline;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
}
.detail-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1.08;
  object-fit: cover;
  border-radius: 18px;
  background: #f2eee8;
}
.gallery {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.gallery-thumb {
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-thumb img {
  width: 74px;
  height: 74px;
  object-fit: cover;
}
.product-page h1 {
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: 1.05;
}
.specs {
  margin: 22px 0;
}
.specs > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.87rem;
}
.specs dt {
  font-weight: 700;
  color: var(--ink);
}
.specs dd {
  margin: 0;
  color: var(--muted);
}
.direct-quote {
  margin-top: 12px;
}
.detail-description {
  max-width: 800px;
  margin-top: 65px;
}
.detail-description h2 {
  font-size: 2.2rem;
}
.prose {
  max-width: 800px;
}
.prose h1 {
  font-size: 3.5rem;
}
.prose h2 {
  font-size: 1.8rem;
  margin-top: 30px;
}
.prose a {
  text-decoration: underline;
}
/* Administración. */
.admin-body {
  background: #f3f5f5;
}
.admin-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  min-height: 100vh;
}
.admin-sidebar {
  background: #173b52;
  color: #eff5f6;
  position: sticky;
  top: 0;
  height: 100dvh;
  padding: 34px 22px;
  display: flex;
  flex-direction: column;
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, serif;
  font-size: 2rem;
}
.admin-brand > .icon {
  width: 39px;
  height: 39px;
}
.admin-brand small {
  display: block;
  font: 9px Arial;
  letter-spacing: 0.18em;
}
.sidebar-label {
  color: #a1b7c3;
  font-size: 0.62rem;
  letter-spacing: 0.17em;
  margin: 50px 10px 15px;
}
.admin-sidebar nav {
  display: grid;
  gap: 7px;
}
.admin-sidebar button {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  border: 0;
  background: transparent;
  min-height: 48px;
  border-radius: 8px;
  padding: 12px;
  text-align: left;
  cursor: pointer;
  font-size: 0.9rem;
}
.admin-sidebar nav button.active {
  background: #ffffff1c;
}
.sidebar-bottom {
  display: grid;
  gap: 12px;
  margin-top: auto;
  font-size: 0.85rem;
}
.sidebar-bottom a {
  padding: 12px;
}
.sidebar-bottom button {
  font-size: 0.85rem;
}
.admin-main {
  padding: 0 42px 60px;
  max-width: 1550px;
  width: 100%;
  min-width: 0;
}
.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 0.83rem;
}
.status-pill {
  font-size: 0.64rem;
  letter-spacing: 0.03em;
  font-weight: 700;
  border-radius: 99px;
  background: #e5f1e9;
  color: #226344;
  padding: 6px 9px;
  white-space: nowrap;
}
.status-pill.inactive {
  background: #edf0f1;
  color: #5d6f79;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 38px;
}
.stat-grid > div {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.stat-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}
.stat-grid strong {
  display: block;
  font: 2.5rem Georgia;
  color: var(--ink);
  margin-top: 9px;
}
.admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 28px 0;
}
.admin-heading h1 {
  font-size: 2.7rem;
  margin-bottom: 12px;
}
.admin-heading p {
  margin: 0;
  font-size: 0.9rem;
}
.admin-heading .eyebrow {
  font-size: 0.65rem;
  margin-bottom: 12px;
}
.admin-search {
  max-width: 370px;
}
.table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.8rem;
}
th {
  text-align: left;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  background: #fafcfc;
  padding: 17px;
}
td {
  padding: 16px;
  border-top: 1px solid var(--line);
}
.table-product {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 210px;
}
.table-product img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}
.table-product small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.row-actions {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
}
.danger {
  color: #a54138;
}
.btn-danger {
  background: #9d3e35;
  color: #fff;
}
.admin-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.admin-categories h2 {
  font-size: 1.6rem;
}
.editor-dialog {
  border: 0;
  border-radius: 16px;
  padding: 0;
  width: min(840px, calc(100% - 30px));
  max-height: 90dvh;
  color: var(--ink);
}
.editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 30px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}
.editor-header h2 {
  font-size: 2rem;
  margin: 0;
}
.editor-header .eyebrow {
  font-size: 0.65rem;
  margin-bottom: 6px;
}
.editor-form {
  padding: 24px 30px;
}
.editor-form fieldset {
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 0 24px;
  margin: 0 0 20px;
  min-width: 0;
}
.editor-form legend {
  font-weight: 700;
  padding: 0;
  margin-bottom: 8px;
}
.editor-form textarea {
  font-weight: 400;
}
.editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  position: sticky;
  bottom: 0;
  background: #fff;
  padding: 18px 0;
}
.drop-zone {
  display: flex;
  align-items: center;
  flex-direction: column;
  border: 1px dashed #9ab1ba;
  background: #f5f8f8;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  cursor: pointer;
}
.drop-zone.dragging {
  background: #dbeae4;
}
.drop-zone input {
  max-width: 100%;
  margin-top: 14px;
  font-size: 0.8rem;
  border: 0;
  background: transparent;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.photo-item {
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  font-size: 0.75rem;
}
.photo-item img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}
.photo-item > span {
  display: block;
  padding: 7px;
}
.photo-item > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 4px;
}
.photo-item .icon-button {
  min-width: 32px;
  min-height: 32px;
}
.link-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.8rem;
  text-decoration: underline;
  cursor: pointer;
  min-height: 40px;
}
.confirm-dialog {
  padding: 30px;
  border: 0;
  border-radius: 16px;
  max-width: min(440px, calc(100% - 30px));
  color: var(--ink);
}
.confirm-dialog h2 {
  font-size: 1.8rem;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}
.requests-list {
  display: grid;
  gap: 18px;
}
.request-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 25px;
  border-radius: 14px;
  overflow-wrap: anywhere;
}
.request-card h2 {
  font-size: 1.5rem;
  margin: 0;
}
.request-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.request-card p {
  font-size: 0.9rem;
}
.request-card a {
  text-decoration: underline;
}
.notice {
  padding: 14px 18px;
  background: #f4eddb;
  border: 1px solid #e8dcbb;
  border-radius: 9px;
  font-size: 0.83rem;
  color: #665a3e;
  margin-bottom: 24px;
}
.login-shell {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 100dvh;
  padding: 30px 18px;
  background:
    radial-gradient(ellipse at top right, #e6eced, transparent), #f5f2eb;
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 2.1rem Georgia;
  color: var(--ink);
  margin-bottom: 30px;
}
.login-brand > .icon {
  width: 44px;
  height: 44px;
}
.login-brand small {
  font: 10px Arial;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.login-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px;
  border-radius: 18px;
  max-width: 450px;
  width: 100%;
  box-shadow: var(--shadow);
}
.login-card h1 {
  font-size: 2.6rem;
}
.login-card > p {
  font-size: 0.92rem;
}
.login-card .eyebrow {
  font-size: 0.68rem;
}
.loading-page {
  text-align: center;
  padding: 15vh 25px;
}
#editorError {
  color: #9d3e35;
}
@media (max-width: 1250px) {
  .desktop-cta {
    display: none;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-layout {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .admin-main {
    padding: 0 25px 45px;
  }
  .admin-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1000px) {
  .main-nav {
    top: 78px;
    max-height: calc(100dvh - 78px);
    overflow-y: auto;
    gap: 0;
    align-items: stretch;
  }
  .main-nav a {
    padding: 11px 0;
    font-size: 1rem;
  }
  .menu-toggle {
    padding: 10px;
  }
  .menu-toggle > span {
    height: auto;
    width: auto;
    background: none;
    margin: 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .hero-visual {
    max-width: 630px;
    width: 100%;
    justify-self: center;
    height: 430px;
  }
  .hero-copy h1 {
    max-width: 740px;
  }
  .hero-copy .lead {
    max-width: 680px;
  }
  .contact-grid {
    gap: 30px;
  }
  .about-grid {
    gap: 25px;
  }
  .detail-grid {
    gap: 30px;
  }
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .admin-sidebar {
    padding: 25px 15px;
  }
  .category-grid {
    gap: 12px;
  }
  .category-tile {
    padding: 23px;
  }
}
@media (max-width: 760px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
  .category-tile {
    padding: 24px;
  }
  .category-tile > .icon {
    margin-bottom: 15px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-photo {
    aspect-ratio: 4/3;
  }
  .admin-layout {
    display: block;
  }
  .admin-sidebar {
    position: static;
    height: auto;
    padding: 18px 20px;
    display: block;
  }
  .admin-brand {
    font-size: 1.6rem;
  }
  .admin-brand .icon {
    width: 30px;
    height: 30px;
  }
  .sidebar-label {
    display: none;
  }
  .admin-sidebar nav {
    display: flex;
    margin-top: 20px;
    gap: 4px;
  }
  .admin-sidebar nav button {
    flex: 1;
    justify-content: center;
    padding: 10px 6px;
    font-size: 0.78rem;
  }
  .admin-sidebar nav .icon {
    width: 18px;
  }
  .sidebar-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
  }
  .sidebar-bottom a,
  .sidebar-bottom button {
    padding: 8px;
    min-height: 38px;
    font-size: 0.75rem;
  }
  .admin-main {
    padding: 0 18px 35px;
  }
  .admin-top {
    min-height: 70px;
  }
  .admin-top > span:first-child {
    font-size: 0.75rem;
  }
  .admin-categories {
    grid-template-columns: 1fr;
  }
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .editor-dialog {
    max-height: 95dvh;
  }
  .editor-header,
  .editor-form {
    padding: 20px;
  }
  .editor-header h2 {
    font-size: 1.7rem;
  }
  .editor-actions {
    bottom: 0;
  }
}
@media (max-width: 650px) {
  .container {
    width: calc(100% - 32px);
  }
  .main-nav {
    top: 70px;
  }
  .hero-grid {
    padding: 45px 0 30px;
  }
  .hero-copy h1 {
    font-size: clamp(2.8rem, 11.7vw, 4rem);
  }
  .hero-copy .lead {
    font-size: 1.02rem;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-visual {
    height: 330px;
  }
  .hero-visual .towel-stack {
    transform: scale(0.82);
    transform-origin: center bottom;
  }
  .hero-visual .mini-card {
    top: 2%;
    width: 105px;
    padding: 14px;
  }
  .mini-card p {
    font-size: 0.68rem;
  }
  .plant {
    transform: scale(0.75);
    transform-origin: bottom right;
  }
  .trust-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .trust-item {
    justify-content: flex-start;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-photo {
    aspect-ratio: 4/3;
  }
  .product-body > p {
    min-height: 0;
  }
  .product-body h3 {
    font-size: 1.55rem;
  }
  .add-product {
    font-size: 0.9rem;
  }
  .catalog-toolbar {
    padding: 16px;
    gap: 12px;
  }
  .catalog-toolbar label {
    flex: 1 1 100%;
  }
  .catalog-toolbar .check-label {
    min-height: 36px;
  }
  .mountain-banner {
    height: 265px;
  }
  .contact-form {
    padding: 20px;
  }
  .contact-list strong {
    font-size: 0.88rem;
  }
  .contact-list small {
    font-size: 0.8rem;
  }
  .contact-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-bottom {
    font-size: 0.76rem;
  }
  .business-grid {
    gap: 10px;
  }
  .business-card {
    padding: 16px 10px;
  }
  .business-card h3 {
    font-size: 0.86rem;
  }
  .quote-dialog .cart-header {
    padding: 22px 18px;
  }
  .quote-dialog .cart-items {
    padding: 15px;
  }
  .quote-dialog .cart-footer {
    padding: 16px 18px;
  }
  .cart-header h2 {
    font-size: 1.8rem;
  }
  .cart-fields {
    gap: 10px;
  }
  .cart-fields label {
    font-size: 0.73rem;
  }
  .cart-fields input {
    width: 100%;
  }
  .cart-item {
    padding: 13px;
  }
  .stat-grid {
    gap: 10px;
    margin-bottom: 25px;
  }
  .stat-grid > div {
    padding: 17px;
  }
  .stat-grid span {
    font-size: 0.72rem;
  }
  .stat-grid strong {
    font-size: 2rem;
  }
  .admin-heading h1 {
    font-size: 2.4rem;
  }
  .admin-top .status-pill {
    font-size: 0.57rem;
  }
  .login-card {
    padding: 26px 22px;
  }
  .login-card h1 {
    font-size: 2.2rem;
  }
  .prose h1 {
    font-size: 2.7rem;
  }
  .editor-form .form-row {
    grid-template-columns: 1fr;
  }
  .editor-actions .btn {
    font-size: 0.82rem;
    padding: 12px;
  }
  .product-page {
    padding-top: 30px;
  }
  .product-page .lead {
    font-size: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
@media (max-width: 430px) {
  .admin-sidebar nav button {
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    font-size: 0.73rem;
    padding: 10px 4px;
  }
  .admin-sidebar nav {
    gap: 4px;
  }
  .admin-sidebar nav .icon {
    width: 20px;
    height: 20px;
  }
}

.editor-dialog {
  scroll-padding-top: 120px;
  scroll-padding-bottom: 95px;
}
@media (max-width: 650px) {
  .table-wrap {
    border: 0;
    background: transparent;
    overflow: visible;
  }
  .table-wrap table,
  .table-wrap tbody {
    display: block;
  }
  .table-wrap thead {
    display: none;
  }
  .table-wrap tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 10px;
  }
  .table-wrap td {
    display: block;
    border: 0;
    padding: 9px;
    min-width: 0;
  }
  .table-wrap td:first-child,
  .table-wrap td:last-child {
    grid-column: 1/-1;
  }
  .table-wrap td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.68rem;
    color: var(--muted);
    margin-bottom: 6px;
  }
  .table-wrap td:last-child {
    border-top: 1px solid var(--line);
    margin-top: 8px;
  }
  .table-wrap td:last-child .row-actions {
    justify-content: flex-end;
  }
  .table-product {
    min-width: 0;
  }
}

/* ANDEZA: tamaños intrínsecos; ninguna medida JavaScript queda fija al cargar. */
.corporate-logo {
  display: block;
  width: 210px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.brand,
.admin-brand,
.login-brand {
  min-width: 0;
}
.brand {
  flex-shrink: 0;
}
.brand .corporate-logo {
  width: 188px;
}
.admin-brand .corporate-logo {
  width: 210px;
}
.out-of-stock .product-photo img {
  opacity: 0.48;
  filter: grayscale(0.65);
}
.out-of-stock .product-badge {
  background: #536675;
  color: white;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}
.stock-label {
  display: inline-block;
  font-weight: 700;
  font-size: 0.82rem;
  color: #245746;
}
.stock-label.empty {
  color: #754740;
}
.stock-label.low {
  color: #8b611d;
}
.stock-label.untracked {
  color: #657683;
}
.quote-checkout {
  display: grid;
  gap: 14px;
  padding: 24px 0;
  border-top: 1px solid #dbe3e8;
  margin-top: 20px;
}
.quote-lines {
  display: grid;
  gap: 12px;
}
.quote-lines section {
  padding: 12px;
  background: #f6f5f0;
  border-radius: 8px;
}
#requestQuote,
#quoteCheckout,
#cartStockStatus {
  margin-left: 24px;
  margin-right: 24px;
}
#requestQuote {
  width: calc(100% - 48px);
}
.quote-dialog,
.editor-dialog {
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.confirm-dialog {
  max-height: calc(100dvh - 24px);
  overflow: auto;
}
.admin-layout,
.login-shell {
  min-height: 100vh;
  min-height: 100dvh;
}
.idle-warning {
  position: fixed;
  z-index: 10000;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(520px, calc(100% - 32px));
  padding: 16px;
  background: #fff1d5;
  color: #503814;
  border: 1px solid #c0a778;
  border-radius: 10px;
  box-shadow: 0 4px 20px #0002;
}
.idle-warning[hidden] {
  display: none;
}
.request-tabs {
  margin-bottom: 24px;
}
.request-tabs [aria-pressed="true"] {
  background: #173c5b;
  color: white;
}
.request-card,
.cart-item,
.detail-grid > *,
.admin-main,
.form-row > * {
  min-width: 0;
}
.request-card,
.cart-item,
.detail-description,
.prose {
  overflow-wrap: anywhere;
}
.row-actions {
  flex-wrap: wrap;
}
@media (max-width: 1100px) {
  .desktop-cta {
    display: none;
  }
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 600px) {
  .brand .corporate-logo {
    width: 172px;
  }
  .quote-dialog {
    width: calc(100% - 16px);
    max-width: calc(100% - 16px);
  }
  .editor-dialog {
    width: calc(100% - 16px);
    max-width: calc(100% - 16px);
  }
  .cart-fields,
  .quote-checkout .form-row {
    grid-template-columns: 1fr;
  }
  .main-nav.open {
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
  }
  .hero h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }
}

@media (min-width: 1000px) {
  .hero-copy h1 {
    font-size: clamp(3.4rem, 4.5vw, 4.4rem);
    line-height: 1.04;
  }
}

/* Inventario por combinación: tarjetas compactas también en el editor móvil. */
.variant-editor {
  margin-top: 20px;
}
.variant-row {
  padding: 16px;
  margin: 12px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}
.variant-row .form-row {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr));
}
.variant-row-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  font-size: 0.85rem;
}
