/* =============== RESET BÁSICO =============== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #8B5A3C;         /* marrón madera */
  --color-primary-dark: #6B4127;    /* marrón más oscuro */
  --color-primary-soft: #F0D7C0;    /* fondo suave */
  --color-bg: #F7E9D9;              /* fondo general */
  --color-bg-alt: #FFF7EC;          /* secciones y tarjetas */
  --color-text: #3C2A1E;            /* texto principal */
  --color-muted: #5F4A38;           /* texto secundario con mayor contraste */
  --color-accent: #4F7C4A;          /* verde planta (detalles) */
  --color-focus: #1f7a54;           /* outline accesible */
  --color-focus-contrast: #f3ecdf;  /* halo claro para outlines */
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: var(--color-text);
  padding: 0.6rem 1rem;
  border: 2px solid var(--color-primary);
  border-radius: 0.8rem;
  z-index: 200;
  text-decoration: none;
}

.skip-link:focus-visible {
  left: 1rem;
}

main,
section,
header,
footer {
  letter-spacing: 0.01em;
}

/* =============== HEADER =============== */

.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 236, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(139, 90, 60, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid rgba(139, 90, 60, 0.35);
  border-radius: 0.75rem;
  padding: 0.45rem 0.65rem;
  font-size: 1.1rem;
  cursor: pointer;
}

.main-header nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-link {
  color: var(--color-text);
  text-decoration: none;
}

.brand-logo {
  height: 42px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.main-header nav a {
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.95rem;
  padding: 0.4rem 0.55rem;
  border-radius: 0.8rem;
  transition: color 0.15s ease, background 0.15s ease;
}

.main-header nav a:hover {
  color: var(--color-primary-dark);
  background: rgba(139, 90, 60, 0.08);
}

.main-header nav a:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-nav:focus-visible,
.btn-chip:focus-visible,
.btn-whatsapp-mueble:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px var(--color-focus-contrast);
}

.btn-nav {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

/* =============== HERO INDEX =============== */

.hero {
  position: relative;
  background: linear-gradient(120deg, #fffaf2 0%, #f0d7c0 60%, #f7e9d9 100%);
  padding: 3.5rem 1.5rem 2.8rem;
  display: flex;
  align-items: center;
}

.hero-shell {
  width: min(1120px, 100% - 2.4rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 0.9rem;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--color-text);
  margin-bottom: 1.4rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.3rem;
}

.hero-actions {
  display: flex;
  justify-content: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}

.hero-meta {
  display: grid;
  gap: 0.35rem;
  color: var(--color-muted);
  font-size: 0.98rem;
}

.hero-visual {
  display: grid;
  gap: 0.85rem;
}

.hero-photo {
  background: #fff;
  border-radius: 1.3rem;
  padding: 0.75rem;
  box-shadow: 0 18px 32px rgba(60, 42, 30, 0.12);
  border: 1px solid rgba(139, 90, 60, 0.16);
}

.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
}

.hero-card {
  background: #fff;
  border-radius: 1.1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(139, 90, 60, 0.14);
  box-shadow: 0 12px 22px rgba(60, 42, 30, 0.08);
}

.hero-card-title {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.3rem;
}

.hero-card-text {
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.hero-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 0.85rem;
  background: rgba(139, 90, 60, 0.09);
  color: var(--color-text);
  font-size: 0.92rem;
  border: 1px solid rgba(139, 90, 60, 0.14);
}

/* =============== BOTONES =============== */

.btn-primary,
.btn-primary-outline,
.btn-secondary,
.btn-secondary-outline,
.btn-chip,
.btn-whatsapp-mueble {
  cursor: pointer;
  font: inherit;
}

.btn-primary {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
  box-shadow: 0 8px 16px rgba(107, 65, 39, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(107, 65, 39, 0.3);
  background: var(--color-primary-dark);
}

.btn-secondary {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(139, 90, 60, 0.35);
  background: #fff;
  text-decoration: none;
  color: var(--color-text);
  transition: color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-chip:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px var(--color-bg);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.2rem;
  border-radius: 12px;
  border: 1px dashed rgba(139, 90, 60, 0.5);
  background: rgba(139, 90, 60, 0.06);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.btn-ghost:hover {
  border-color: var(--color-primary);
  background: rgba(139, 90, 60, 0.12);
  transform: translateY(-1px);
}

.btn-primary-outline,
.btn-secondary-outline,
.btn-nav {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary-outline:hover,
.btn-secondary-outline:hover,
.btn-nav:hover {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 18px rgba(107, 65, 39, 0.15);
}

.btn-secondary--sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.95rem;
  line-height: 1.1;
}

.section-cta-btn {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.section-cta-btn::after {
  content: "→";
  font-size: 0.95rem;
}

.btn-chip {
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(139, 90, 60, 0.25);
  background: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-chip.activo {
  border-color: var(--color-primary);
  background: rgba(139, 90, 60, 0.12);
  color: var(--color-primary-dark);
}

/* =============== SECCIONES GENERALES =============== */

.section {
  padding: 3rem 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.section h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.section-alt {
  background: var(--color-bg-alt);
  border-radius: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.05);
}

.section-text {
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.section-text.small {
  font-size: 0.9rem;
}

/* =============== FRANJA BENEFICIOS INDEX =============== */

.section-beneficios {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
}

.beneficios-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.beneficio-card {
  background: #fff7ec;
  border-radius: 1.2rem;
  padding: 1rem 1rem 1.1rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(139, 90, 60, 0.08);
}

.beneficio-icon {
  font-size: 1.6rem;
  display: inline-block;
  margin-bottom: 0.4rem;
}

.beneficio-card h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.beneficio-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* =============== PASOS "CÓMO FUNCIONA" =============== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.step-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(139, 90, 60, 0.08);
}

.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

/* =============== TAGS =============== */

.tags {
  margin: 1rem 0;
}

.tags span {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: #f0d7c0;
  color: var(--color-text);
  font-size: 0.85rem;
  margin: 0.2rem;
}

/* =============== LISTA PASOS TEXTO =============== */

.lista-pasos {
  margin-top: 1rem;
  padding-left: 1.1rem;
  color: var(--color-muted);
}

.lista-pasos li {
  margin-bottom: 0.4rem;
}

/* =============== FAQ =============== */

.faq-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(139, 90, 60, 0.12);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.faq-item[open] {
  border-color: rgba(139, 90, 60, 0.35);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.faq-item summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--color-text);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-weight: 700;
  color: var(--color-primary-dark);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 0.65rem;
  color: var(--color-muted);
}

.faq-item p + p {
  margin-top: 0.4rem;
}

/* =============== PÁGINA DE CATÁLOGO: LANDING =============== */

.catalogo-body {
  background: #f3eee6;
}

.section-landing {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.landing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.landing-copy {
  text-align: left;
}

.section-landing h1 {
  font-size: clamp(2.3rem, 4.2vw, 2.8rem);
  margin-bottom: 0.75rem;
  font-family: "Playfair Display", serif;
}

.section-landing .section-text {
  font-size: 1.05rem;
}

.landing-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.landing-visual-img {
  width: 100%;
  max-height: 260px;
  border-radius: 1.5rem;
  object-fit: cover;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

/* =============== BLOQUE ELEGIR ZONA =============== */

.paso-zona {
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  width: 100%;
  display: flex;
  justify-content: center;
  scroll-margin-top: 120px;
}

.paso-zona.visible {
  opacity: 1;
  transform: translateY(0);
}

.zona-minimal {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 1rem;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  display: grid;
  gap: 0.9rem;
}

.zona-minimal__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.zona-minimal__copy {
  display: grid;
  gap: 0.2rem;
}

.zona-minimal__title {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
}

.zona-minimal__text {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.4;
  font-size: 0.95rem;
}

.zona-buttons {
  display: grid;
  gap: 0.5rem;
}

.zona-buttons--minimal {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.zona-buttons .btn-chip {
  width: 100%;
  justify-content: center;
  text-align: center;
  padding: 0.65rem 0.8rem;
  font-size: 0.95rem;
  border-radius: 0.85rem;
  min-height: auto;
  border: 1px solid rgba(139, 90, 60, 0.16);
  background: #fffaf5;
  transition: background 0.2s ease, transform 0.2s ease;
}

.zona-buttons .btn-chip:hover,
.zona-buttons .btn-chip.activo {
  background: #f2e7dd;
  transform: translateY(-1px);
}

.zona-btn-title {
  display: block;
  font-weight: 700;
}

.zona-info {
  margin: 0;
  color: var(--color-primary-dark);
  font-weight: 600;
  line-height: 1.4;
}

.zona-info--minimal {
  background: rgba(139, 90, 60, 0.06);
  border: 1px dashed rgba(139, 90, 60, 0.2);
  padding: 0.7rem 0.85rem;
  border-radius: 0.9rem;
  font-size: 0.95rem;
}

/* Cuando colapsa el primer bloque al tocar "Ver catálogo" */
.section-landing.collapsed {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-landing.collapsed .landing-layout {
  display: none;
}

/* Helper */
.oculto {
  display: none !important;
}

/* =============== CATÁLOGO / PRODUCTOS =============== */

.zona-seleccionada {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.zona-seleccionada strong {
  color: var(--color-primary-dark);
}

.zona-seleccionada-help {
  display: block;
  font-size: 0.85rem;
}

.catalogo-top {
  background: linear-gradient(135deg, #fff7ec, #f3e6da);
  border: 1px solid rgba(139, 90, 60, 0.12);
  border-radius: 1.4rem;
  padding: 1.6rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.05);
}

.catalogo-top--compact-only {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0.75rem 0;
}

.catalogo-top__main {
  display: grid;
  gap: 0.75rem;
}

.catalogo-top__headline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.catalogo-top__headline--compact h2 {
  margin-bottom: 0.35rem;
}

.catalogo-top__cta {
  display: grid;
  gap: 0.4rem;
  min-width: 260px;
  justify-items: end;
}

.pill-label {
  display: inline-block;
  background: rgba(37, 211, 102, 0.12);
  color: #137a43;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}

.catalogo-perks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.6rem;
  margin-top: 0.2rem;
}

.catalogo-perks .perk {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0.55rem 0.75rem;
  background: #fff;
  border-radius: 0.9rem;
  border: 1px solid rgba(139, 90, 60, 0.12);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.03);
  font-weight: 500;
  color: var(--color-primary-dark);
}

.catalogo-top__actions {
  display: grid;
  gap: 0.6rem;
}

.catalogo-top__cta-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.categoria-bar {
  margin-top: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(139, 90, 60, 0.15);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
  display: grid;
  gap: 0.65rem;
}

.categoria-bar--compact {
  margin: 0;
  padding: 0.75rem 0.85rem;
  background: #fffaf3;
  border-radius: 0.9rem;
  box-shadow: none;
  border: 1px solid rgba(139, 90, 60, 0.12);
}

.categoria-bar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.categoria-bar__header--compact {
  gap: 0.4rem;
}

.filtro-title {
  font-weight: 700;
  color: var(--color-primary-dark);
}

.filtro-subtitle {
  color: var(--color-muted);
  margin-top: 0.15rem;
}

.categoria-filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
}

.categoria-filtros--compact {
  gap: 0.4rem;
}

.categoria-filtros--scroll {
  overflow-x: auto;
  padding-bottom: 0.2rem;
  scrollbar-width: thin;
}

.categoria-filtros--scroll::-webkit-scrollbar {
  height: 6px;
}

.categoria-filtros--scroll::-webkit-scrollbar-thumb {
  background: rgba(139, 90, 60, 0.25);
  border-radius: 999px;
}

.catalogo-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.catalogo-breadcrumbs .breadcrumb-link {
  color: inherit;
  text-decoration: none;
}

.catalogo-breadcrumbs .breadcrumb-link:hover,
.catalogo-breadcrumbs .breadcrumb-link:focus {
  text-decoration: underline;
}

.catalogo-breadcrumbs .breadcrumb-current {
  color: var(--color-primary-dark);
  font-weight: 600;
}

.categoria-no-encontrada {
  margin: 0 0 1.5rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #fff4f4;
  color: #b91c1c;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.catalogo-buscador label {
  font-weight: 600;
}

.catalogo-buscador input {
  margin-top: 0.4rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(139, 90, 60, 0.35);
  width: 100%;
  max-width: 420px;
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.producto-card {
  background: #fff;
  border-radius: 1.2rem;
  padding: 1rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid rgba(139, 90, 60, 0.08);
  min-height: 260px;
}

.producto-img-placeholder {
  width: 100%;
  height: 150px;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #f0d7c0, #fff7ec);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
}

.producto-card h3 {
  font-size: 1rem;
}

.producto-medidas {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.producto-precio {
  font-size: 1rem;
  color: var(--color-text);
  margin: 0;
}

.producto-credito {
  font-size: 0.95rem;
  color: var(--color-primary-dark);
  font-weight: 600;
  margin: 0;
}

.btn-whatsapp-mueble {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 0.6rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: none;
  background: #25d366;
  color: #fff;
  font-size: 0.95rem;
}

.btn-whatsapp-mueble:not(.home-hero-card) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
}

.btn-whatsapp-mueble:not(.home-hero-card)::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22none%22%20d%3D%22M0%200h32v32H0z%22/%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M16%200C7.2%200%200%207.2%200%2016c0%202.8.7%205.4%202%207.8L0%2032l8.4-2.2A15.9%2015.9%200%200%200%2016%2032c8.8%200%2016-7.2%2016-16S24.8%200%2016%200Zm9.5%2022.5c-.4%201.1-2.2%202-3%202.1-.8.1-1.6.4-5.5-1.2-4.6-1.9-7.5-6.6-7.7-6.9-.2-.3-1.8-2.4-1.8-4.6s1.1-3.2%201.5-3.7c.4-.4.9-.5%201.2-.5h.9c.3%200%20.7-.1%201.1.8.4%201%20.9%202.9%201%203.1.1.2.1.4%200%20.6-.2.4-.5.6-.8%201-.2.2-.4.5-.2.9.2.3.8%201.4%201.7%202.2%201.2%201.1%202.2%201.5%202.6%201.7.3.1.7.1.9-.1.3-.3%201.1-1.3%201.4-1.7.3-.4.6-.3%201-.2.4.1%202.6%201.2%203%201.4.4.2.7.3.8.5.1.1.1%201.1-.3%202.2Z%22/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}


/* =============== HOME: HERO DE MUEBLES DESTACADOS =============== */

.home-hero-grid {
  padding: 2.5rem 0 2.75rem;
}

.home-hero-grid-inner {
  display: grid;
  grid-template-columns: 2fr 1.4fr;
  grid-template-rows: repeat(2, minmax(170px, 1fr));
  gap: 1.25rem;
}

/* Usamos <button> con .btn-whatsapp-mueble pero los estilizamos como tarjetas grandes */
.home-hero-card.btn-whatsapp-mueble {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin-top: 0;
  border-radius: 1.4rem;
  overflow: hidden;
  cursor: pointer;
  border: none;
  background: #000;
  text-align: left;
}

.home-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Degradado oscuro para que el texto se lea bien */
.home-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.05));
  pointer-events: none;
}

.home-hero-card-info {
  position: absolute;
  left: 1.6rem;
  right: 1.6rem;
  bottom: 1.6rem;
  color: #fff;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.65);
}

.home-hero-card-info h2,
.home-hero-card-info h3 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin-bottom: 0.2rem;
}

.home-hero-card-info p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Distribución tipo El Foco: una tarjeta grande a la izquierda, dos apiladas a la derecha */
.home-hero-card-large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.home-hero-card-top-right {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.home-hero-card-bottom-right {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.catalogo-wrapper {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.catalogo-panel {
  background: linear-gradient(145deg, rgba(139, 90, 60, 0.08), rgba(139, 90, 60, 0.02));
  border: 1px solid rgba(139, 90, 60, 0.12);
  border-radius: 1.4rem;
  padding: 1.6rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
}

.catalogo-benefits {
  display: grid;
  gap: 0.8rem;
  margin: 1.2rem 0;
}

.benefit-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(139, 90, 60, 0.08);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
}

.benefit-icon {
  font-size: 1.3rem;
}

.benefit-title {
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.benefit-text {
  color: var(--color-muted);
  line-height: 1.4;
}

.zona-selector {
  display: grid;
  gap: 0.75rem;
}

.zona-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.6rem;
}

.chip-label {
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-right: 0.25rem;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.btn-chip.ghost {
  border-color: rgba(139, 90, 60, 0.35);
  color: var(--color-text);
  background: #fff;
}

.zona-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip-soft {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(139, 90, 60, 0.12);
  color: var(--color-primary-dark);
  font-size: 0.82rem;
  margin-bottom: 0.3rem;
}

.chip-soft--strong {
  background: rgba(139, 90, 60, 0.2);
  color: #5c3219;
  font-weight: 800;
}

.catalogo-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
}

.catalogo-feature {
  position: relative;
  grid-column: span 2;
  min-height: 340px;
  border-radius: 1.4rem;
  padding: 1.4rem;
  color: #fff;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.25);
}

.catalogo-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.15));
  z-index: 0;
}

.catalogo-feature-top,
.catalogo-feature-body {
  position: relative;
  z-index: 1;
}

.catalogo-feature-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.catalogo-feature-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary-dark);
  border-radius: 999px;
  font-weight: 700;
}

.catalogo-feature-chip {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  gap: 0.35rem;
  align-items: center;
}

.catalogo-feature-body h3 {
  margin-bottom: 0.35rem;
}

.catalogo-feature-body p {
  color: #f2f2f2;
  margin-bottom: 0.8rem;
}

.catalogo-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.catalogo-mini {
  background: #fff;
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(139, 90, 60, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.catalogo-mini img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.catalogo-mini-body {
  padding: 1rem 1.05rem 1.2rem;
  display: grid;
  gap: 0.35rem;
}

.mini-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.mini-meta button {
  margin: 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.section-header .chip-group {
  justify-content: flex-end;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--color-primary-dark);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.promo-card {
  background: #fff;
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(139, 90, 60, 0.1);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

.promo-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.promo-body {
  padding: 0.9rem 1rem 1.1rem;
  display: grid;
  gap: 0.3rem;
}

.promo-tag {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.carousel-nav {
  display: flex;
  gap: 0.4rem;
}

.carousel-nav button {
  border: 1px solid rgba(139, 90, 60, 0.35);
  background: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: var(--color-primary-dark);
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 0.9rem;
  overflow-x: auto;
  padding: 0.2rem 0.1rem;
  scroll-behavior: smooth;
}

.producto-mini,
.oferta-card {
  background: #fff;
  border-radius: 1.05rem;
  padding: 0.9rem;
  border: 1px solid rgba(139, 90, 60, 0.1);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.05);
  display: grid;
  gap: 0.45rem;
}

.producto-mini img,
.oferta-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 0.8rem;
}

.destacados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 1.1rem;
}

.destacado-card {
  background: #fff;
  border-radius: 1.05rem;
  border: 1px solid rgba(139, 90, 60, 0.1);
  padding: 0.9rem;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0.75rem;
  align-items: center;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.05);
}

.destacado-card img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 0.8rem;
}

/* Responsive: en celulares se apilan una debajo de la otra */
@media (max-width: 768px) {
  .home-hero-grid-inner {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .home-hero-card-large,
  .home-hero-card-top-right,
  .home-hero-card-bottom-right {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 220px;
  }

  .home-hero-card-info {
    left: 1.2rem;
    right: 1.2rem;
    bottom: 1.2rem;
  }
}

/* =============== HOME: CARRUSEL DE PRODUCTOS =============== */

.home-strip {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.home-strip-header {
  margin-bottom: 1.3rem;
}

.home-strip-header h2 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.home-strip-carousel {
  position: relative;
}

.home-strip-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Tarjetas un poco más angostas para carrusel */
.producto-card-strip {
  flex: 0 0 250px;
  min-width: 250px;
}

/* Flechas */
.home-strip-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.06);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.home-strip-arrow-left {
  left: -0.4rem;
}

.home-strip-arrow-right {
  right: -0.4rem;
}

/* En celular ocultamos las flechas y que solo se deslice con el dedo */
@media (max-width: 768px) {
  .home-strip-arrow {
    display: none;
  }

  .home-strip-scroll {
    padding-inline: 0.1rem;
  }
}



/* =============== FOOTER =============== */

.footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* =============== BOTÓN FLOTANTE WHATSAPP =============== */

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.whatsapp-float-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.whatsapp-float-text {
  font-weight: 500;
}

/* =============== RESPONSIVE =============== */

@media (max-width: 800px) {
  .zona-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* HEADER móvil */
  .main-header {
    padding: 0.6rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .main-header nav {
    width: 100%;
    display: none;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.1rem;
    background: #fffaf3;
    border-radius: 0.9rem;
    padding: 0.5rem;
    border: 1px solid rgba(139, 90, 60, 0.14);
  }

  .main-header nav.is-open {
    display: flex;
  }

  .main-header nav a {
    margin-left: 0;
    font-size: 0.85rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(139, 90, 60, 0.25);
    background: #fff;
    text-decoration: none;
    color: var(--color-primary);
  }

  .main-header nav a.btn-nav {
    border-color: var(--color-primary);
    font-weight: 500;
  }

  .brand-logo {
    height: 34px;
  }

  .brand-title {
    font-size: 1rem;
  }

  /* HERO móvil */
  .hero {
    padding: 2.8rem 1.2rem 2.2rem;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .hero-visual {
    display: none;
    order: -1;
  }

  /* Paso zona móvil: ocultar texto lateral y centrar selector */
  .paso-zona .section-header {
    display: none;
  }

  .zona-minimal {
    justify-items: center;
    text-align: center;
  }

  .zona-minimal__header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .zona-minimal__copy {
    text-align: center;
  }

  .zona-buttons--minimal {
    grid-template-columns: 1fr;
  }

  .zona-info--minimal {
    text-align: center;
  }

  /* Landing catálogo móvil */
  .landing-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .landing-copy {
    text-align: center;
  }

  .landing-visual {
    order: -1;
    margin-bottom: 0.5rem;
  }

  .landing-actions {
    justify-content: center;
  }

  .landing-visual-img {
    max-height: 220px;
  }

  .whatsapp-float {
    right: 0.9rem;
    bottom: 0.9rem;
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }

  .whatsapp-float-text {
    display: none;
  }

  .whatsapp-float-icon {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 2.2rem 1rem;
  }

  .section-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    text-align: left;
  }

  .section-header .chip-group {
    justify-content: flex-start;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .hero-actions .btn-secondary-outline {
    width: 100%;
    text-align: center;
  }

  .hero-meta {
    font-size: 0.95rem;
  }

  .producto-img-placeholder {
    height: 180px;
  }

  .producto-card {
    padding: 0.9rem;
  }

  .promo-card img {
    height: 160px;
  }

  .carousel-track {
    grid-auto-columns: minmax(210px, 82vw);
    padding-inline: 0;
  }

  .home-strip-scroll {
    padding-inline: 0.25rem;
  }
}

/* Combos en carrusel (dos imágenes + texto + botón) */
.combo-card {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  align-items: stretch;
}

.combo-images {
  flex: 0 0 40%;
  display: flex;
  gap: 0.25rem;
}

.combo-img {
  flex: 1;
  border-radius: 0.8rem;
  height: 90px;
  object-fit: cover;
  background: #f5f1ec;
}

.combo-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.35rem;
}

.combo-titulo {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.combo-precios {
  font-size: 0.9rem;
}

.combo-precio-contado {
  font-weight: 600;
}

.combo-precio-credito {
  color: var(--color-muted);
  font-size: 0.85rem;
}

.combo-card .btn-primary {
  width: 100%;
  text-align: center;
  padding: 0.55rem 0.8rem;
  font-size: 0.9rem;
}

/* =============== COMBOS EN CARRUSEL =============== */

/* Sobreescribimos el estilo base de .producto-card solo para combos */
.producto-card.combo-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.75rem;
  min-height: auto;              /* sacamos la altura fija de la card normal */
}

/* Bloque de imágenes del combo (dos fotos una al lado de la otra) */
.combo-images {
  flex: 0 0 45%;
  display: flex;
  gap: 0.25rem;
}

.combo-img {
  flex: 1;
  border-radius: 0.8rem;
  height: 110px;
  object-fit: cover;
  background: #f5f1ec;
}

/* Bloque de texto + botón */
.combo-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.4rem;
}

.combo-titulo {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.combo-precios {
  font-size: 0.9rem;
}

.combo-precio-contado {
  font-weight: 600;
}

.combo-precio-credito {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.combo-card .btn-primary {
  width: 100%;
  text-align: center;
  padding: 0.55rem 0.8rem;
  font-size: 0.9rem;
}

/* =============== DETALLE DE MUEBLE (MODAL) =============== */
.detalle-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.detalle-modal.activo {
  pointer-events: auto;
  opacity: 1;
}

.detalle-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
}

.detalle-contenido {
  position: relative;
  background: #fff;
  border-radius: 18px;
  max-width: 920px;
  width: 92%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.18);
  z-index: 1;
}

.detalle-media {
  background: var(--color-bg-alt);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.detalle-media img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  border-radius: 12px;
}

.detalle-info {
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.detalle-precio-credito {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-primary-dark);
}

.detalle-medidas {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.detalle-precio-contado {
  font-size: 0.95rem;
  color: var(--color-text);
}

.detalle-cerrar {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
}

.detalle-cerrar:hover {
  background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .detalle-contenido {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }

  .detalle-media img {
    max-height: 260px;
  }
}

/* En pantallas chicas lo pasamos a columna para que no se apreté */
@media (max-width: 640px) {
  .producto-card.combo-card {
    flex-direction: column;
  }

  .combo-images {
    flex: 0 0 auto;
  }

  .combo-img {
    height: 140px;
  }
}



/* ======= Admin panel ======= */
.admin-body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #f6f7fb;
  color: #1f2937;
  padding: 32px;
}

.admin-container {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.admin-header h1 {
  margin-bottom: 8px;
}

.admin-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

.admin-form {
  display: grid;
  gap: 14px;
}

.admin-field {
  display: grid;
  gap: 6px;
}

.admin-field input,
.admin-field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-field input:focus,
.admin-field textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.btn-primary.is-loading {
  position: relative;
  color: transparent;
}

.btn-primary.is-loading::after {
  content: '…';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.helper-text {
  font-size: 0.9rem;
  color: #6b7280;
}

.status-message {
  padding: 12px 14px;
  border-radius: 10px;
  background: #eef2ff;
  color: #1f2937;
  border: 1px solid #c7d2fe;
}

.status-info { background: #eef2ff; border-color: #c7d2fe; }
.status-success { background: #ecfdf3; border-color: #bbf7d0; color: #166534; }
.status-error { background: #fef2f2; border-color: #fecdd3; color: #b91c1c; }

/* === Catálogo completo en home === */
.catalogo-home {
  background: linear-gradient(135deg, #fff7ec 0%, #f0d7c0 100%);
  color: var(--color-text);
  border: 1px solid rgba(139, 90, 60, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.catalogo-home .section-header h2,
.catalogo-home .section-header p {
  color: var(--color-text);
}

.chip-group-legend {
  gap: 0.75rem;
}

.catalogo-carruseles {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1rem;
}

.carrusel-bloque {
  background: var(--color-bg-alt);
  border: 1px solid rgba(139, 90, 60, 0.14);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 18px 38px rgba(139, 90, 60, 0.08);
}

.carrusel-bloque header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.carrusel-bloque h3 {
  margin: 0;
  color: var(--color-text);
}

.carrusel-controles {
  display: flex;
  gap: 0.5rem;
}

.carrusel-controles button {
  background: var(--color-primary);
  border: 1px solid var(--color-primary-dark);
  color: #fff7ec;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 15px rgba(139, 90, 60, 0.18);
}

.carrusel-controles button:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(107, 65, 39, 0.22);
}

.catalogo-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 280px);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}

.catalogo-track::-webkit-scrollbar {
  height: 8px;
}

.catalogo-track::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 999px;
}

.catalogo-track::-webkit-scrollbar-track {
  background: rgba(139, 90, 60, 0.12);
}

.catalogo-card-home {
  background: var(--color-bg-alt);
  border: 1px solid rgba(139, 90, 60, 0.16);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 28px rgba(139, 90, 60, 0.12);
}

.catalogo-card-home img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.catalogo-card-home .producto-body {
  padding: 0.9rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.catalogo-card-home .producto-precio,
.catalogo-card-home .producto-medidas {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.3;
}


.catalogo-card-home .producto-nombre-compacto {
  margin: 0;
  font-weight: 700;
  color: var(--color-text);
}

.catalogo-card-home .producto-precios {
  display: grid;
  gap: 0.2rem;
}

.catalogo-card-home .producto-credito {
  margin: 0;
  color: var(--color-primary-dark);
  font-weight: 600;
}

.catalogo-card-home .btn-whatsapp-mueble {
  margin-top: 0.35rem;
}

.catalogo-carruseles--pagina {
  margin-top: 1.5rem;
}

.catalogo-carruseles--pagina .carrusel-bloque {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.catalogo-carruseles--pagina .carrusel-bloque h3 {
  color: #0f172a;
}

.catalogo-carruseles--pagina .carrusel-controles button {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #0f172a;
}

.catalogo-carruseles--pagina .carrusel-controles button:hover {
  background: #e2e8f0;
}

.catalogo-carruseles--pagina .catalogo-card-home {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.catalogo-carruseles--pagina .catalogo-card-home .producto-nombre-compacto,
.catalogo-carruseles--pagina .catalogo-card-home .producto-precio,
.catalogo-carruseles--pagina .catalogo-card-home .producto-medidas,
.catalogo-carruseles--pagina .catalogo-card-home .producto-credito {
  color: #334155;
}

.catalogo-carruseles--pagina .catalogo-card-home .producto-nombre-compacto {
  color: #0f172a;
}

/* === Página de ubicación === */
.location-page {
  background: #fffaf5;
  min-height: 100vh;
}

.location-hero {
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem);
  background: radial-gradient(circle at 20% 20%, rgba(139, 90, 60, 0.08), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(139, 90, 60, 0.06), transparent 30%),
    #fffaf5;
  border-bottom: 1px solid rgba(139, 90, 60, 0.12);
}

.location-hero .hero-shell {
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.location-hero .hero-copy h1 {
  margin-bottom: 0.6rem;
}

.location-hero .hero-lead {
  margin: 0.35rem 0 1.25rem;
}

.location-layout {
  padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  gap: 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
}

.location-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.location-card {
  background: #fff;
  border: 1px solid rgba(139, 90, 60, 0.16);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 14px 28px rgba(139, 90, 60, 0.1);
}

.location-card h3 {
  margin: 0 0 0.4rem;
  color: var(--color-primary-dark);
}

.location-card p {
  margin: 0;
  color: var(--color-muted);
}

.turno-card {
  background: #fff;
  border: 1px solid rgba(139, 90, 60, 0.16);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 16px 36px rgba(139, 90, 60, 0.12);
  display: grid;
  gap: 1rem;
}

.turno-card h2 {
  margin: 0;
}

.turno-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.turno-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.turno-field label {
  font-weight: 600;
  color: var(--color-text);
}

.turno-field input {
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(139, 90, 60, 0.25);
  background: #fffaf5;
  font: inherit;
  color: var(--color-text);
}

.turno-note {
  margin: 0;
  color: var(--color-muted);
}

.turno-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.turno-status {
  font-weight: 600;
  color: var(--color-primary-dark);
}

.turno-status.error {
  color: #b91c1c;
}

@media (max-width: 900px) {
  .carrusel-bloque header {
    flex-direction: column;
    align-items: flex-start;
  }

  .catalogo-track {
    grid-auto-columns: minmax(210px, 1fr);
  }
}
