:root {
  --bg: #F7F3EE;
  --sand: #D7C1A7;
  --coffee: #533C2C;
  --ink: #2B2623;
  --navy: #1E2F42;
  --gold: #C3923D;
  --white: #fff;
  --line: rgba(83, 60, 44, 0.16);
  --line-navy: rgba(30, 47, 66, 0.22);
  --shadow: 0 24px 80px rgba(43, 38, 35, 0.18);
  --shadow-soft: 0 16px 45px rgba(43, 38, 35, 0.09);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --header-h: 62px;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100dvh;
  overflow-x: hidden;
}
body.modal-open, body.drawer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid rgba(30, 47, 66, 0.45); outline-offset: 3px; }

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 500;
  background: var(--navy);
  color: var(--bg);
  padding: 12px 16px;
  border-radius: 999px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  z-index: 150;
  inset: 0 0 auto;
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 0 clamp(16px, 3vw, 28px);
  background: rgba(247, 243, 238, 0.96);
  border-bottom: 1px solid rgba(83, 60, 44, 0.10);
  backdrop-filter: blur(12px);
  transition: background 0.22s ease, box-shadow 0.22s ease;
}
.site-header.is-scrolled { background: rgba(247, 243, 238, 0.98); box-shadow: none; }
.brand img { width: 90px; height: auto; }
.header-context { display: none; justify-self: center; color: var(--coffee); font-size: 0.8rem; line-height: 1; font-weight: 800; white-space: nowrap; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 24px; }
.site-nav a, .nav-whatsapp, .text-action, .text-link {
  border: 0;
  background: transparent;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0;
}
.site-nav a, .nav-whatsapp { color: rgba(43, 38, 35, 0.84); }
.site-nav a:hover, .nav-whatsapp:hover, .text-action:hover, .text-link:hover { color: var(--coffee); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line-navy);
  background: rgba(247, 243, 238, 0.8);
}
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; border-radius: 999px; background: var(--navy); }

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--navy); color: var(--bg); }
.button-primary:hover { background: #172535; }
.button-secondary { background: transparent; border-color: var(--line-navy); color: var(--navy); }
.button-secondary.light { border-color: rgba(247, 243, 238, 0.75); color: var(--bg); }
.prequote-button {
  min-height: 42px;
  border: 1px solid var(--line-navy);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(255,255,255,0.55);
  color: var(--navy);
  font-weight: 700;
}
.prequote-button span { display: inline-grid; place-items: center; min-width: 24px; height: 24px; margin-right: 6px; border-radius: 999px; background: var(--navy); color: var(--bg); font-size: 0.72rem; }
.prequote-button.dark { background: rgba(30, 47, 66, 0.9); color: var(--bg); border-color: rgba(247,243,238,0.35); }
.prequote-button.dark span { background: var(--bg); color: var(--navy); }

.screen-shell { min-height: 100dvh; padding-top: var(--header-h); }
.screen-shell > section { min-height: calc(100dvh - var(--header-h)); }
.motion-in { animation: screenIn 110ms ease-out both; }
@keyframes screenIn { from { opacity: 0; } to { opacity: 1; } }

.hero-screen { position: relative; display: grid; align-items: center; overflow: hidden; padding: clamp(28px, 5vw, 70px); }
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      180deg,
      rgba(15, 20, 24, 0.62) 0%,
      rgba(15, 20, 24, 0.55) 38%,
      rgba(15, 20, 24, 0.38) 68%,
      rgba(15, 20, 24, 0.28) 100%
    ),
    linear-gradient(
      90deg,
      rgba(15, 20, 24, 0.45) 0%,
      rgba(15, 20, 24, 0.22) 55%,
      rgba(15, 20, 24, 0.08) 100%
    ),
    url("assets/img/pages/hero-horeca.webp");
  background-size: cover;
  background-position: center 45%;
  background-repeat: no-repeat;
}
.hero-content { width: min(860px, 100%); color: var(--bg); }
.eyebrow { display: inline-block; margin-bottom: 18px; color: inherit; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.eyebrow.navy { color: var(--navy); }
h1 { margin: 0; font-size: clamp(2.15rem, 5vw, 4.55rem); line-height: 1.03; letter-spacing: -0.055em; color: var(--coffee); font-weight: 800; }
.hero-content h1 { color: var(--bg); max-width: 900px; }
.hero-content p { max-width: 720px; margin: 22px 0 0; font-size: clamp(1rem, 2.2vw, 1.25rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }
.hero-primary-action { display: grid; justify-items: start; gap: 8px; }
.hero-primary-action small { color: rgba(247,243,238,0.82); font-size: 0.78rem; line-height: 1.45; }
.hero-primary-action .button-primary { background: #F7F3EE; color: #1E2F42; box-shadow: 0 10px 28px rgba(0,0,0,0.28); }
.hero-primary-action .button-primary:hover { background: #fff; }
.hero-chips { display: grid; gap: 5px; margin-top: 22px; max-width: 760px; color: rgba(247,243,238,0.84); font-size: 0.78rem; line-height: 1.45; font-weight: 600; }
.hero-chips span { display: block; padding: 0; border: 0; border-radius: 0; background: transparent; }
.mini-chip { display: inline-flex; align-items: center; min-height: 30px; border: 1px solid rgba(247,243,238,0.45); border-radius: 999px; padding: 0 12px; font-size: 0.78rem; font-weight: 700; }

.index-screen, .category-layout, .finishes-layout, .process-layout, .wizard-layout, .thanks-layout {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(24px, 5vw, 68px) 0;
}
.screen-nav { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--navy); font-weight: 700; margin-bottom: clamp(22px, 4vw, 48px); }
.index-heading, .section-heading { max-width: 860px; }
.index-heading p, .section-heading p, .category-head p { color: rgba(43,38,35,0.72); line-height: 1.75; margin-top: 14px; max-width: 760px; }
.catalog-index-list { margin-top: clamp(24px, 4vw, 42px); display: grid; gap: 13px; }
.catalog-index-row {
  min-height: 108px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 14px;
  padding: 19px 20px;
  border-bottom: 1px solid rgba(83,60,44,0.14);
  border-radius: 22px;
  background: rgba(215,193,167,0.14);
  color: var(--coffee);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}
.catalog-index-row:hover { background: rgba(215,193,167,0.24); border-color: rgba(83,60,44,0.2); transform: translateY(-1px); }
.catalog-index-row:active { transform: scale(0.98); background: rgba(215,193,167,0.28); }
.catalog-index-number { font-size: clamp(1.75rem, 4vw, 2rem); font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 600; line-height: 1; color: var(--navy); opacity: 0.9; }
.catalog-index-copy { display: block; min-width: 0; }
.catalog-index-title-line { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.catalog-index-title-line em { color: var(--navy); font-size: 0.72rem; font-style: normal; font-weight: 800; letter-spacing: 0.04em; }
.catalog-index-row strong { font-size: clamp(1.25rem, 2.4vw, 1.85rem); letter-spacing: -0.04em; }
.catalog-index-row small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: rgba(43,38,35,0.65); line-height: 1.5; }
.catalog-index-arrow { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; border: 1px solid rgba(83,60,44,0.12); background: rgba(255,255,255,0.62); color: var(--navy); font-size: 1.18rem; font-weight: 800; }
.index-proof { display: grid; gap: 2px; margin-top: 24px; color: var(--navy); font-weight: 700; font-size: 0.92rem; line-height: 1.45; }

.category-head { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: end; }
.category-number { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--navy); font-size: clamp(2.6rem, 5vw, 5rem); }
.category-help { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,0.4); }
.category-products { margin-top: 34px; }
.category-set { display: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.category-set.is-active { display: grid; }
.category-pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 26px; color: var(--navy); font-weight: 700; }
.product-card { display: grid; grid-template-rows: 1fr auto; min-height: 520px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,0.55); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform 180ms ease, box-shadow 180ms ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(43,38,35,0.13); }
.product-card-media { position: relative; display: block; aspect-ratio: 1/1; background: #efe8df; overflow: hidden; }
.product-card-media img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: opacity 180ms ease; }
.product-card-media .hover-img { position: absolute; inset: 0; opacity: 0; object-fit: cover; padding: 0; }
.product-card:hover .hover-img { opacity: 1; }
.product-card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.product-card-body span { color: var(--navy); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; }
.product-card-body h2 { margin: 0; color: var(--coffee); line-height: 1.15; letter-spacing: -0.035em; font-size: 1.45rem; }
.product-card-body p, .product-card-body small { color: rgba(43,38,35,0.72); line-height: 1.55; }
.product-card-body strong { color: var(--navy); font-size: 0.9rem; }
.product-card-body .button { margin-top: auto; width: 100%; }

.catalog-index-screen .index-heading h1 { font-size: clamp(1.75rem, 4vw, 3rem); white-space: nowrap; }

body.chair-category-active .site-header, body.product-detail-active .site-header { position: fixed; }
.chair-category-screen .category-layout { padding-top: clamp(16px, 3vw, 26px); }
.chair-category-screen .screen-nav { margin-bottom: 12px; }
.chair-category-head { padding-top: 0; }
.chair-category-head h1 { font-size: clamp(2rem, 4.5vw, 2.375rem); line-height: 1.05; letter-spacing: -0.05em; }
.chair-category-head h1 span { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--navy); font-size: clamp(1.5rem, 3.5vw, 1.75rem); font-weight: 500; letter-spacing: -0.02em; }
.chair-category-head p { margin-top: 10px; max-width: 560px; font-size: 0.95rem; line-height: 1.55; }
.chair-sticky-nav { position: sticky; top: var(--header-h); z-index: 30; margin: 24px calc(50% - 50vw) 0; padding: 7px max(18px, calc((100vw - 1280px) / 2 + 18px)); background: transparent; border-bottom: 1px solid transparent; transition: background 180ms ease, border-color 180ms ease; }
.chair-sticky-nav.is-stuck { background: rgba(247, 243, 238, 0.96); backdrop-filter: blur(12px); border-bottom-color: rgba(83, 60, 44, 0.10); }
.chair-sticky-top { min-height: 42px; display: none; align-items: center; justify-content: flex-start; gap: 12px; }
.chair-sticky-nav.is-stuck .chair-sticky-top { display: flex; }
.chair-sticky-top strong { color: var(--coffee); font-size: 1rem; letter-spacing: -0.025em; }
.chair-filter-bar { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: none; }
.chair-filter-bar::-webkit-scrollbar { display: none; }
.chair-filter { flex: 0 0 auto; min-height: 36px; border: 1px solid var(--line-navy); border-radius: 999px; background: transparent; color: var(--navy); padding: 0 14px; font-weight: 800; font-size: 0.82rem; }
.chair-filter.is-active { background: var(--navy); color: var(--bg); }
.chair-sticky-current { min-height: 28px; display: none; align-items: center; color: var(--navy); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.chair-sticky-nav.is-stuck .chair-sticky-current { display: flex; }
.chair-filter-copy { max-width: 760px; margin: 0 0 18px; color: rgba(43,38,35,0.72); line-height: 1.6; }
.chair-products { margin-top: 22px; }
.chair-section { margin-top: 30px; scroll-margin-top: 130px; }
.chair-section:first-child { margin-top: 0; }
.chair-section h2 { margin: 0 0 14px; color: var(--navy); font-size: 0.78rem; line-height: 1.3; letter-spacing: 0.1em; text-transform: uppercase; }
.chair-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.chair-grid-filtered { margin-top: 0; }
.chair-product-card { min-width: 0; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,0.56); box-shadow: var(--shadow-soft); overflow: hidden; transition: transform 180ms ease, box-shadow 180ms ease; }
.chair-product-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(43,38,35,0.12); }
.chair-product-card:active { transform: scale(0.98); }
.is-return-highlight { border-color: rgba(30,47,66,0.52) !important; box-shadow: 0 0 0 3px rgba(30,47,66,0.10), var(--shadow-soft) !important; transition: border-color 180ms ease, box-shadow 180ms ease; }
.chair-product-link { display: grid; gap: 10px; height: 100%; padding: 14px; }
.chair-product-media { aspect-ratio: 1/1; background: transparent; overflow: hidden; }
.chair-product-media img { width: 100%; height: 100%; object-fit: cover; padding: 0; }
.chair-product-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.chair-product-category { color: var(--navy); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; }
.chair-product-body h2 { margin: 0; color: var(--coffee); line-height: 1.1; letter-spacing: -0.035em; font-size: clamp(1.125rem, 1.8vw, 1.25rem); text-transform: none; }
.chair-product-price { display: grid; gap: 1px; color: var(--navy); }
.chair-product-price strong { font-size: clamp(0.98rem, 1.5vw, 1.05rem); line-height: 1.18; }
.chair-product-price small { color: rgba(30,47,66,0.62); font-size: 0.72rem; line-height: 1.2; font-weight: 700; }
.chair-product-body p { margin: 0; color: rgba(43,38,35,0.72); font-size: 0.82rem; line-height: 1.38; }
.chair-product-cta { margin-top: auto; color: var(--navy); font-size: 0.88rem; font-weight: 800; }

.product-detail-screen { position: relative; padding: clamp(22px, 4vw, 48px) 0 76px; overflow: hidden; }
.product-bg { position: fixed; inset: 0; z-index: -2; background: var(--ink); }
.product-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(12px) saturate(0.8); transform: scale(1.04); opacity: 0.65; }
.product-bg::after { content: ''; position: absolute; inset: 0; background: rgba(43,38,35,0.42); }
.product-toolbar, .product-panel, .product-tabs, .related-products { width: min(1320px, calc(100% - 36px)); margin-inline: auto; }
.product-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.product-toolbar .text-action { color: var(--bg); }
.product-panel { display: grid; grid-template-columns: minmax(0, 54%) minmax(340px, 46%); gap: 24px; padding: clamp(16px, 2.4vw, 24px); border-radius: var(--radius-xl); background: rgba(247,243,238,0.94); box-shadow: var(--shadow); }
.product-gallery { display: grid; grid-template-columns: 1fr; gap: 12px; }
.thumb-rail { display: flex; gap: 8px; max-width: 100%; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; }
.thumb { flex: 0 0 auto; width: 62px; height: 62px; padding: 0; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { border-color: var(--navy); box-shadow: 0 0 0 2px rgba(30,47,66,0.14); }
.gallery-stage { position: relative; aspect-ratio: 1/1; border-radius: 24px; background: transparent; overflow: hidden; touch-action: pan-y pinch-zoom; overscroll-behavior-x: contain; overscroll-behavior-y: auto; }
.gallery-stage > img { width: 100%; height: 100%; padding: 0; object-fit: cover; transition: opacity 180ms ease, transform 200ms ease; }
.gallery-stage > img.fit-contain { object-fit: cover; }
.gallery-stage > img.fit-cover { object-fit: cover; padding: 0; }
.gallery-half { position: absolute; z-index: 2; top: 0; bottom: 0; width: 50%; border: 0; background: transparent; -webkit-tap-highlight-color: transparent; appearance: none; touch-action: pan-y pinch-zoom; }
.gallery-half.left { left: 0; } .gallery-half.right { right: 0; }
.gallery-half:active, .gallery-half:focus { background: transparent; outline: none; }
.product-info { padding: 4px 4px 4px 0; }
.product-info h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
.product-code { margin: 4px 0 0; color: rgba(43,38,35,0.56); font-size: 0.82rem; font-weight: 800; }
.product-lead { margin-top: 14px; color: rgba(43,38,35,0.72); line-height: 1.55; }
.product-top-price { display: grid; gap: 2px; margin-top: 16px; color: var(--navy); }
.product-top-price strong { font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.05; }
.product-top-price small { color: rgba(30,47,66,0.62); font-size: 0.82rem; font-weight: 800; }
.info-grid-mini { display: grid; gap: 8px; margin: 18px 0; }
.info-grid-mini div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,0.55); }
.info-grid-mini span { display: block; color: rgba(43,38,35,0.58); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; }
.info-grid-mini strong { color: var(--coffee); }
.product-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.price-note, .microcopy { color: rgba(43,38,35,0.62); font-size: 0.86rem; line-height: 1.55; margin-top: 10px; }
.panel-card { margin-top: 20px; padding: clamp(18px, 3vw, 28px); border-radius: var(--radius-xl); background: rgba(247,243,238,0.96); box-shadow: var(--shadow-soft); }
.tabs-helper { margin: 0 0 12px; }
.tabs-helper h2 { margin: 0 0 4px; color: var(--coffee); font-size: 1rem; line-height: 1.2; letter-spacing: -0.02em; }
.tabs-helper p { margin: 0; color: rgba(43,38,35,0.68); font-size: 0.82rem; line-height: 1.45; }
.tab-list { position: sticky; top: var(--header-h); z-index: 60; min-height: 52px; display: flex; align-items: center; gap: 7px; flex-wrap: nowrap; overflow-x: auto; border-bottom: 1px solid rgba(83,60,44,0.10); padding: 7px 0 8px; margin-bottom: 22px; background: rgba(247,243,238,0.96); backdrop-filter: blur(12px); scrollbar-width: none; }
.tab-list::-webkit-scrollbar { display: none; }
.tab-list button { min-height: 36px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,0.55); color: var(--navy); padding: 8px 12px; font-size: 0.8rem; line-height: 1; white-space: nowrap; font-weight: 800; }
.tab-list button.is-active { background: var(--navy); border-color: var(--navy); color: var(--bg); }
.tab-panel { display: none; } .tab-panel.is-active { display: block; }
.spec-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.spec-grid section, .advantage-grid article, .config-card, .material-block, .conditions-card, .thanks-card, .empty-state { border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,0.55); padding: 20px; }
.spec-grid h3, .advantage-grid h3, .config-card h3 { margin: 0 0 10px; color: var(--coffee); }
.spec-grid p, .advantage-grid p, .config-card p, .material-block p { color: rgba(43,38,35,0.72); line-height: 1.65; margin: 8px 0 0; }
.price-breaks { display: grid; gap: 8px; }
.price-breaks span { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 0.85rem; }
.advantage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.advantage-grid span { color: var(--navy); font-weight: 900; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 2rem; }
.config-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.config-carousel { display: flex; gap: 14px; max-width: 100%; min-width: 0; overflow-x: auto; padding: 2px 4px 12px 0; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.config-carousel::-webkit-scrollbar { display: none; }
.config-carousel .config-card { flex: 0 0 min(82%, 360px); }
.config-card { display: grid; grid-template-rows: auto 1fr; gap: 14px; scroll-snap-align: start; scroll-snap-stop: always; }
.config-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; background: transparent; }
.config-count { display: inline-flex; align-items: center; min-height: 24px; margin-bottom: 8px; padding: 0 9px; border-radius: 999px; background: rgba(30,47,66,0.08); color: var(--navy); font-size: 0.72rem; font-weight: 800; }
.chip-grid { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.material-list { display: grid; gap: 6px; margin: 18px 0; }
.material-list h4 { margin: 10px 0 0; color: var(--navy); font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.08em; }
.material-list p { margin: 0; color: rgba(43,38,35,0.72); line-height: 1.55; }
.material-section { margin-top: 24px; }
.material-section h4 { margin: 0 0 14px; color: var(--navy); font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.08em; }
.fabric-carousel { display: flex; gap: 14px; max-width: 100%; min-width: 0; overflow-x: auto; padding: 2px 4px 12px 0; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.fabric-carousel::-webkit-scrollbar { display: none; }
.fabric-family-card { flex: 0 0 min(82%, 360px); scroll-snap-align: start; scroll-snap-stop: always; border: 1px solid var(--line); border-radius: 24px; background: rgba(247,243,238,0.66); padding: 14px; display: grid; gap: 14px; }
.fabric-family-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; border-radius: 18px; background: #efe8df; }
.fabric-family-card h5, .leg-finish-card h5 { margin: 0; color: var(--coffee); font-size: 1.12rem; line-height: 1.2; }
.fabric-family-card p, .leg-finish-card p { margin: 8px 0 0; color: rgba(43,38,35,0.72); font-size: 0.88rem; line-height: 1.55; }
.leg-finish-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.table-finish-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.leg-finish-card { border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,0.52); padding: 14px; }
.leg-finish-image { width: 100%; aspect-ratio: 1 / 1; border-radius: 16px; background: rgba(215,193,167,0.22); overflow: hidden; margin-bottom: 12px; }
.leg-finish-image img { width: 100%; height: 100%; object-fit: cover; }
.mini-chip, .finish-chip { border-color: var(--line-navy); color: var(--navy); background: transparent; }
.finish-chip { border: 1px solid var(--line-navy); border-radius: 999px; padding: 10px 14px; font-weight: 700; }
.related-products h2 { margin: 0 0 16px; color: var(--coffee); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.related-card { display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,0.6); font-weight: 700; color: var(--coffee); }
.related-card img { width: 80px; height: 80px; object-fit: contain; background: #efe8df; border-radius: 14px; }
.mobile-sticky-cta { display: none; }
.mobile-sticky-info { border: 0; background: transparent; padding: 0; text-align: left; cursor: pointer; }
.photos-fab { display: none; }

.finishes-layout, .process-layout { display: grid; gap: 26px; }
.finish-tabs { display: flex; flex-wrap: wrap; gap: 10px; position: sticky; top: calc(var(--header-h) + 8px); z-index: 4; padding: 10px; border-radius: 999px; background: rgba(247,243,238,0.92); backdrop-filter: blur(10px); }
.finish-tabs a { border: 1px solid var(--line-navy); border-radius: 999px; padding: 8px 13px; color: var(--navy); font-weight: 800; }
.finish-panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,0.45); }
.finish-panel h2, .conditions-card h2 { margin: 0 0 10px; color: var(--coffee); }
.swatch-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 20px; }
.swatch-card { min-height: 132px; text-align: left; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,0.6); padding: 14px; }
.swatch-card span { display: block; width: 100%; height: 46px; border-radius: 14px; background: linear-gradient(135deg, #2B2623, #6C7C8F, #D7C1A7); margin-bottom: 12px; }
.swatch-card strong, .swatch-card small { display: block; }
.care-grid, .process-steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.care-grid article, .process-steps article { min-height: 260px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,0.52); display: flex; flex-direction: column; gap: 12px; }
.care-grid span, .process-steps span { font-family: 'Cormorant Garamond', serif; font-size: 3rem; color: var(--navy); font-style: italic; }
.care-grid h2, .process-steps h3 { margin: 0; color: var(--coffee); }
.care-grid p, .process-steps p, .conditions-card p { color: rgba(43,38,35,0.72); line-height: 1.7; }
.care-grid .text-action, .process-steps .text-action { margin-top: auto; text-align: left; }

.wizard-layout { display: grid; align-content: center; }
.wizard-progress { height: 6px; border-radius: 999px; background: rgba(30,47,66,0.12); margin-bottom: 20px; overflow: hidden; }
.wizard-progress span { display: block; height: 100%; background: var(--navy); transition: width 240ms ease; }
.wizard-card { width: min(920px, 100%); margin: 0 auto; padding: clamp(22px, 4vw, 42px); border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,0.58); box-shadow: var(--shadow-soft); }
.wizard-card.wide { width: min(1180px, 100%); }
.wizard-card.center { text-align: center; }
.wizard-card h1 { font-size: clamp(2rem, 4vw, 3.6rem); }
.wizard-card > p, .wizard-card > small { display: block; color: rgba(43,38,35,0.72); line-height: 1.7; margin: 14px auto 0; max-width: 780px; }
.zone-picker, .category-choice-grid, .model-grid { display: grid; gap: 14px; margin-top: 24px; }
.zone-picker { grid-template-columns: repeat(2, minmax(0,1fr)); }
.zone-option, .category-choice, .model-choice { border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(247,243,238,0.7); text-align: left; padding: 18px; }
.zone-option.is-selected, .category-choice.is-selected { border-color: var(--navy); box-shadow: 0 0 0 2px rgba(30,47,66,0.12); }
.zone-option strong, .category-choice strong { display: block; color: var(--coffee); font-size: 1.1rem; }
.zone-option span, .category-choice small { color: rgba(43,38,35,0.67); }
.category-choice-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.model-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.model-choice { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: center; }
.model-choice img { width: 130px; height: 130px; object-fit: contain; border-radius: 18px; background: #efe8df; }
.model-choice h2 { margin: 0; color: var(--coffee); }
.model-choice p, .model-choice small { color: rgba(43,38,35,0.7); line-height: 1.55; }
.model-choice small, .model-choice strong { display: block; margin-top: 6px; }
.model-actions { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.wizard-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.quantity-control { display: inline-grid; grid-template-columns: 52px 100px 52px; gap: 10px; margin-top: 24px; }
.quantity-control button, .quantity-control input { height: 52px; border: 1px solid var(--line-navy); border-radius: 999px; background: rgba(247,243,238,0.9); text-align: center; color: var(--navy); font-weight: 800; }
.quick-qty { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 18px 0; }
.quick-qty button { border: 1px solid var(--line-navy); border-radius: 999px; background: transparent; color: var(--navy); padding: 8px 12px; font-weight: 800; }
.quick-qty button.is-active { background: var(--navy); color: var(--bg); }
.warning-box, .calc-box { width: min(650px, 100%); margin: 18px auto 0; padding: 18px; border-radius: 18px; border: 1px solid rgba(195,146,61,0.38); background: rgba(195,146,61,0.12); }
.calc-box { display: grid; gap: 10px; border-color: var(--line-navy); background: rgba(30,47,66,0.06); }
.client-form .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 22px; }
.client-form label { display: grid; gap: 8px; color: var(--coffee); font-weight: 700; }
.client-form input, .client-form select, .client-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; background: rgba(247,243,238,0.85); }
.client-form textarea { min-height: 110px; resize: vertical; }
.form-options { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.form-options label { display: flex; align-items: center; gap: 8px; font-weight: 600; color: rgba(43,38,35,0.75); }
.quote-summary { overflow: auto; }
.quote-summary table { width: 100%; border-collapse: collapse; min-width: 600px; }
.quote-summary th, .quote-summary td { text-align: left; padding: 13px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.quote-summary th { color: var(--navy); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.quote-summary small { display: block; color: rgba(43,38,35,0.6); }
.quote-total { display: flex; justify-content: flex-end; gap: 20px; align-items: baseline; margin-top: 18px; color: var(--navy); }
.quote-total strong { font-size: 1.5rem; }
.thanks-layout { display: grid; place-items: center; }
.thanks-card { width: min(920px, 100%); text-align: center; }
.thanks-card > p { color: rgba(43,38,35,0.72); line-height: 1.7; margin: 16px auto; max-width: 680px; }
.summary-box { text-align: left; margin-top: 20px; }

.overlay { position: fixed; inset: 0; z-index: 220; background: rgba(43,38,35,0.42); backdrop-filter: blur(4px); }
.modal-root { position: fixed; inset: 0; z-index: 230; pointer-events: none; display: grid; place-items: center; padding: 22px; }
.modal { position: relative; pointer-events: auto; width: min(720px, 100%); max-height: min(90dvh, 920px); overflow: auto; border-radius: 28px; background: var(--bg); box-shadow: var(--shadow); padding: 28px; animation: modalIn 180ms ease-out both; }
@keyframes modalIn { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: scale(1); } }
.modal-close { position: sticky; z-index: 10; top: 0; float: right; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 999px; background: rgba(247,243,238,0.9); color: var(--navy); font-size: 1.4rem; }
.wide-modal { width: min(980px, 100%); }
.side-modal { margin-left: auto; height: calc(100dvh - 44px); width: min(520px, 100%); border-radius: 28px; }
.product-full-modal { width: min(1360px, 100%); height: min(92dvh, 940px); padding: 0; background: transparent; box-shadow: none; }
.product-full-modal .modal-close { position: fixed; top: 26px; right: 28px; }
.product-full-modal .product-detail-screen { padding: 8px 0; }
.config-modal-content { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: center; }
.config-modal-content img { border-radius: 20px; width: 100%; aspect-ratio: 4 / 5; object-fit: contain; background: #efe8df; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.compare-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 20px; }
.compare-grid article, .compare-grid button { text-align: left; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,0.55); padding: 18px; }
.fabric-modal-content p, .conditions-modal p, .whatsapp-modal p { color: rgba(43,38,35,0.72); line-height: 1.7; }
.quote-drawer { position: fixed; z-index: 240; top: 0; right: 0; width: min(480px, 100%); height: 100dvh; transform: translateX(105%); transition: transform 260ms ease-out; background: var(--bg); box-shadow: var(--shadow); display: grid; grid-template-rows: auto 1fr auto; }
.quote-drawer.is-open { transform: translateX(0); }
.drawer-head, .drawer-actions { padding: 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.drawer-head h2 { margin: 0; color: var(--coffee); }
.drawer-head button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--navy); font-size: 1.4rem; }
.drawer-body { overflow: auto; padding: 18px; }
.drawer-actions { border-top: 1px solid var(--line); border-bottom: 0; justify-content: stretch; }
.drawer-actions .button { flex: 1; }
.toast { position: fixed; z-index: 300; left: 50%; bottom: 22px; transform: translate(-50%, 120%); opacity: 0; transition: transform 220ms ease, opacity 220ms ease; display: flex; gap: 14px; align-items: center; padding: 13px 16px; border-radius: 999px; background: var(--navy); color: var(--bg); box-shadow: var(--shadow-soft); }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.toast button { border: 1px solid rgba(247,243,238,0.45); border-radius: 999px; background: transparent; color: var(--bg); padding: 6px 10px; font-weight: 800; }


.product-detail-screen { background: var(--bg); overflow: visible; }
.product-bg { display: none; }
.product-toolbar, .product-panel, .product-tabs, .related-products { width: min(980px, calc(100% - 36px)); }
.product-toolbar .text-action { color: var(--navy); }
.product-panel { display: grid; grid-template-columns: 1fr; gap: 22px; padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
.product-info-hero { padding: 0 2px 2px; }
.product-info-hero .eyebrow { margin-bottom: 10px; font-size: 0.74rem; }
.product-info-hero h1 { font-size: clamp(2rem, 4vw, 2.55rem); line-height: 1.04; }
.product-info-hero .product-code { margin-top: 4px; font-size: 0.78rem; color: rgba(43,38,35,0.56); }
.product-info-hero .product-top-price { margin-top: 14px; }
.product-info-hero .product-top-price strong { font-size: clamp(1.32rem, 3vw, 1.55rem); }
.product-info-hero .product-top-price small { font-size: 0.82rem; }
.personalization-line { margin: 8px 0 0; color: var(--coffee); font-size: 0.9rem; font-weight: 700; line-height: 1.45; }
.product-story { display: grid; gap: 18px; }
.product-description, .ideal-checklist { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,0.55); }
.product-description h2, .ideal-checklist h2, .finish-tab-block > h3 { margin: 0 0 12px; color: var(--coffee); font-size: clamp(1.35rem, 3vw, 1.55rem); letter-spacing: -0.035em; }
.product-description p { margin: 0; color: rgba(43,38,35,0.76); line-height: 1.68; }
.product-description p + p { margin-top: 12px; }
.ideal-checklist > div { display: grid; gap: 8px; }
.ideal-checklist p { display: grid; grid-template-columns: 22px 1fr; align-items: start; gap: 8px; margin: 0; padding: 11px 12px; border-radius: 16px; background: rgba(255,255,255,0.78); color: rgba(43,38,35,0.78); font-size: 0.9rem; line-height: 1.45; }
.ideal-checklist p span { color: var(--navy); font-weight: 900; line-height: 1.35; }
.order-info-grid { display: grid; gap: 10px; }
.order-info-card { padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,0.58); }
.order-info-card h2 { margin: 0 0 10px; color: var(--coffee); font-size: 1.05rem; letter-spacing: -0.025em; }
.order-info-card p { margin: 5px 0 0; color: rgba(43,38,35,0.72); font-size: 0.88rem; line-height: 1.5; }
.order-info-card.soft { background: rgba(30,47,66,0.05); border-color: rgba(30,47,66,0.11); }
.order-info-card.soft strong { color: var(--navy); }
.order-guarantee { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: start; }
.order-guarantee span { color: var(--navy); font-weight: 900; line-height: 1.35; }
.order-guarantee p { margin: 0; }
.order-guarantee strong { color: var(--navy); }
.reference-code { margin: 14px 0 0; color: rgba(43,38,35,0.55); font-size: 0.78rem; line-height: 1.4; font-weight: 700; }
.dimensions-section { display: grid; align-content: start; }
.dimension-image-button { width: 100%; margin-top: 14px; padding: 0; border: 1px solid var(--line); border-radius: 20px; background: #efe8df; overflow: hidden; }
.dimension-image-button img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.dimension-image-button.is-static { cursor: default; }
.advantages-block h2 { margin: 0 0 14px; color: var(--coffee); font-size: clamp(1.35rem, 3vw, 1.55rem); letter-spacing: -0.035em; }
.advantages-media { width: min(100%, 250px); aspect-ratio: 1 / 1; margin: 0 auto 20px; border-radius: 20px; background: #efe8df; overflow: hidden; }
.advantages-media img { width: 100%; height: 100%; object-fit: contain; }
.advantages-subtitle { margin: 0 0 12px; color: var(--coffee); font-size: clamp(1.05rem, 2.2vw, 1.18rem); line-height: 1.25; letter-spacing: -0.025em; }
.advantage-list-card { border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,0.55); overflow: hidden; }
.advantage-list-item { padding: 18px; }
.advantage-list-item + .advantage-list-item { border-top: 1px solid rgba(83,60,44,0.10); }
.advantage-list-item span { display: block; margin-bottom: 8px; color: var(--navy); font-size: 0.86rem; line-height: 1; font-weight: 800; letter-spacing: 0.08em; }
.advantage-list-item h3 { margin: 0 0 8px; color: var(--coffee); font-size: clamp(1rem, 2vw, 1.08rem); line-height: 1.25; letter-spacing: -0.025em; }
.advantage-list-item p { margin: 0; color: rgba(43,38,35,0.72); font-size: 0.88rem; line-height: 1.55; }
.measure-modal { width: min(720px, 100%); padding: 16px; }
.measure-modal-content img { width: 100%; max-height: min(82dvh, 760px); object-fit: contain; border-radius: 22px; background: #efe8df; }

.product-tabs, .tab-panel, .finish-tab-block, .material-section, .seat-materials { min-width: 0; }
.product-story .product-actions { margin-top: 0; }
.finish-tab-block { display: grid; gap: 10px; }
.finish-tab-block > .material-section:first-child { margin-top: 0; }
.finish-tab-block > p { margin: 0; color: rgba(43,38,35,0.72); line-height: 1.65; }
.material-section h4.leg-title { margin-top: 22px; }

@media (max-width: 980px) {
  :root { --header-h: 62px; }
  .site-header { grid-template-columns: auto minmax(0, 1fr) auto; justify-content: stretch; gap: 10px; padding: 0 14px 0 16px; }
  .brand img { width: 90px; }
  .header-context { display: block; }
  .nav-toggle { display: block; width: 40px; height: 40px; border-color: rgba(30,47,66,0.18); background: rgba(255,255,255,0.45); }
  .nav-toggle span { width: 20px; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto auto;
    width: min(360px, calc(100% - 22px));
    min-height: calc(100dvh - var(--header-h));
    transform: translateX(105%);
    transition: transform 240ms ease-out;
    display: grid;
    align-content: start;
    justify-content: stretch;
    gap: 0;
    padding: 20px;
    background: var(--bg);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav a, .site-nav .nav-whatsapp { display: block; width: 100%; padding: 18px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: 1.1rem; }
  .header-actions { display: none; }
  .hero-screen { padding: 18px 24px 24px; align-items: start; }
  .hero-bg { background-position: center 42%; }
  .hero-content .eyebrow { margin-bottom: 12px; font-size: 0.68rem; letter-spacing: 0.1em; }
  .hero-content h1 { font-size: clamp(2.625rem, 11.5vw, 2.875rem); line-height: 1; }
  .hero-content p { margin-top: 16px; font-size: clamp(1.125rem, 4.8vw, 1.25rem); line-height: 1.4; }
  .hero-actions { display: grid; }
  .hero-primary-action { width: 100%; justify-items: stretch; }
  .hero-primary-action small { text-align: center; font-size: 0.82rem; }
  .hero-actions .button, .hero-actions .text-link { width: 100%; }
  .catalog-index-row { grid-template-columns: 46px minmax(0, 1fr) 34px; gap: 12px; padding: 18px 18px; min-height: 106px; }
  .catalog-index-title-line { align-items: flex-start; flex-direction: column; gap: 6px; }
  .catalog-index-row strong { font-size: 1.16rem; }
  .catalog-index-arrow { width: 34px; height: 34px; }
  .category-head { grid-template-columns: 1fr; }
  .chair-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .chair-product-link { padding: 14px; }
  .chair-product-media { aspect-ratio: 1/1; height: auto; }
  .category-set, .category-set.is-active { display: grid; grid-template-columns: 1fr; }
  .category-pager { display: none; }
  .product-card { min-height: auto; }
  .product-card-media { aspect-ratio: 1/0.72; }
  .product-panel { grid-template-columns: 1fr; padding: 14px; gap: 18px; }
  .product-gallery { grid-template-columns: 1fr; }
  .thumb-rail { order: 2; display: flex; max-height: none; overflow-x: auto; padding: 4px 0; }
  .product-info { padding: 0; }
  .spec-grid, .advantage-grid, .related-grid, .care-grid, .process-steps, .swatch-grid, .category-choice-grid, .model-grid { grid-template-columns: 1fr; }
  .config-grid:not(.config-carousel) { grid-template-columns: 1fr; }
  .leg-finish-grid, .table-finish-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .related-card { grid-template-columns: 72px 1fr; }
  .mobile-sticky-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; min-height: 68px; padding: 10px 15px calc(10px + env(safe-area-inset-bottom)); background: rgba(247,243,238,0.96); backdrop-filter: blur(12px); border-top: 1px solid rgba(83,60,44,0.12); box-shadow: 0 -10px 28px rgba(43,38,35,0.08); transform: translateY(110%); opacity: 0; pointer-events: none; transition: transform 180ms ease, opacity 180ms ease; }
  .mobile-sticky-cta.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-sticky-info { display: grid; gap: 2px; min-width: 0; border: 0; background: transparent; padding: 0; text-align: left; }
  .mobile-sticky-info strong { color: var(--coffee); font-size: 0.98rem; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mobile-sticky-info span { color: var(--navy); font-size: 0.78rem; line-height: 1.2; font-weight: 800; }
  .mobile-sticky-cta .button { flex: 0 0 auto; width: min(150px, 42vw); min-height: 44px; padding: 0 18px; font-size: 0.86rem; font-weight: 800; }
  .photos-fab { display: inline-flex; align-items: center; justify-content: center; position: fixed; right: 15px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 119; min-height: 38px; padding: 0 14px; border: 1px solid rgba(83,60,44,0.12); border-radius: 999px; background: rgba(247,243,238,0.96); color: var(--navy); font-size: 0.8rem; font-weight: 800; box-shadow: 0 10px 26px rgba(43,38,35,0.12); backdrop-filter: blur(12px); transform: translateY(12px); opacity: 0; pointer-events: none; transition: opacity 140ms ease, transform 140ms ease; }
  .photos-fab.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .finish-tabs { border-radius: 18px; }
  .zone-picker, .client-form .form-grid { grid-template-columns: 1fr; }
  .model-choice { grid-template-columns: 96px 1fr; }
  .model-choice img { width: 96px; height: 96px; }
  .config-modal-content { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .quote-drawer { top: auto; left: 0; right: 0; bottom: 0; width: 100%; height: min(80dvh, 720px); transform: translateY(105%); border-radius: 28px 28px 0 0; }
  .quote-drawer.is-open { transform: translateY(0); }
  .side-modal { height: min(88dvh, 720px); margin: auto 0 0; border-radius: 28px 28px 0 0; }
  .modal-root { align-items: end; padding: 12px; }
  .toast { width: calc(100% - 24px); border-radius: 18px; justify-content: space-between; }
}

@media (max-width: 560px) {
  .header-context { font-size: 0.76rem; }
  .index-screen, .category-layout, .finishes-layout, .process-layout, .wizard-layout, .thanks-layout { width: min(100% - 24px, 1280px); padding-top: 18px; }
  .catalog-index-screen .index-heading h1 { font-size: clamp(1.35rem, 7vw, 1.85rem); }
  .chairs-layout { width: min(100% - 36px, 1280px); }
  .chair-category-head { padding-top: 0; }
  .chair-category-head h1 { font-size: clamp(1.95rem, 9vw, 2.25rem); }
  .chair-category-head p { font-size: 0.9rem; }
  .chair-sticky-nav { padding-inline: 18px; }
  .chair-sticky-top { min-height: 42px; }
  .chair-sticky-current { min-height: 26px; font-size: 0.7rem; }
  .chair-product-link { padding: 12px; }
  .config-carousel .config-card, .fabric-family-card { flex-basis: 82%; }
  .fabric-family-card, .leg-finish-card { padding: 14px; }
  .button { width: 100%; min-height: 46px; }
  .screen-nav { margin-bottom: 22px; font-size: 0.9rem; }
  .hero-chips { display: grid; grid-template-columns: 1fr; margin-top: 18px; }
  .product-toolbar { width: min(100% - 24px, 1320px); }
  .product-panel, .product-tabs, .related-products { width: min(100% - 24px, 1320px); }
  .gallery-stage { border-radius: 18px; }
  .thumb { width: 64px; height: 64px; flex: 0 0 auto; }
  .product-actions { display: none; }
  .wizard-card { padding: 20px; }
  .quote-summary table { min-width: 560px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 560px) {
  .product-tabs .tab-list { margin-inline: -18px; padding-inline: 12px; }
  .mobile-sticky-cta .button { width: min(150px, 42vw); }
}

.category-filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 26px 0 20px;
  padding: 4px 0 10px;
  scrollbar-width: none;
}
.category-filter-bar::-webkit-scrollbar { display: none; }
.category-filter {
  flex: 0 0 auto;
  min-height: 36px;
  border: 1px solid var(--line-navy);
  border-radius: 999px;
  background: rgba(255,255,255,0.48);
  color: var(--navy);
  padding: 0 14px;
  font-weight: 800;
  font-size: 0.82rem;
}
.category-filter.is-active { background: var(--navy); border-color: var(--navy); color: var(--bg); }
.category-products-grid { display: grid; gap: 16px; }
.category-products-grid.is-one { grid-template-columns: 1fr; }
.category-products-grid.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.category-section { margin-top: 30px; }
.category-section:first-child { margin-top: 0; }
.category-section h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 0.78rem;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.category-product-card { min-height: auto; grid-template-rows: auto 1fr; }
.category-product-card .product-card-media { aspect-ratio: 1 / 1; background: transparent; }
.category-product-card .product-card-media img { object-fit: cover; padding: 0; }
.category-product-card .product-card-body { gap: 8px; padding: 16px; }
.category-product-card .product-card-body h2 { font-size: clamp(1.08rem, 2vw, 1.35rem); }
.category-product-card .product-card-body p { margin: 0; font-size: 0.86rem; line-height: 1.45; }
.category-card-price { display: grid; gap: 2px; color: var(--navy); }
.category-card-price strong { font-size: clamp(0.98rem, 1.6vw, 1.08rem); line-height: 1.15; }
.category-card-price small { color: rgba(30,47,66,0.62); font-size: 0.74rem; line-height: 1.2; font-weight: 800; }
.category-product-cta { margin-top: auto; color: var(--navy); font-size: 0.88rem; font-weight: 800; }
.category-products-grid.is-one .category-product-card {
  grid-template-columns: minmax(210px, 34%) 1fr;
  grid-template-rows: none;
}
.category-products-grid.is-one .category-product-card .product-card-media { height: 100%; min-height: 230px; aspect-ratio: auto; }

@media (max-width: 980px) {
  .category-products-grid.is-one { grid-template-columns: 1fr; }
  .category-products-grid.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-products-grid.is-one .category-product-card { grid-template-columns: minmax(150px, 38%) 1fr; }
  .category-products-grid.is-one .category-product-card .product-card-media { min-height: 190px; }
  .category-product-card .product-card-media { aspect-ratio: 1 / 1; }
}

@media (max-width: 560px) {
  .category-filter-bar { margin-top: 22px; }
  .category-filter { min-height: 34px; padding: 0 12px; font-size: 0.78rem; }
  .category-products-grid { gap: 14px; }
  .category-products-grid.is-two { gap: 14px; }
  .category-products-grid.is-one .category-product-card { grid-template-columns: minmax(128px, 40%) 1fr; }
  .category-products-grid.is-one .category-product-card .product-card-media { min-height: 168px; }
  .category-product-card .product-card-body { padding: 13px; gap: 6px; }
  .category-product-card .product-card-body h2 { font-size: 1rem; line-height: 1.12; }
  .category-product-card .product-card-body span { font-size: 0.64rem; }
  .category-product-card .product-card-body p { font-size: 0.76rem; line-height: 1.35; }
  .category-card-price strong { font-size: 0.86rem; }
  .category-card-price small { font-size: 0.68rem; }
  .category-product-cta { font-size: 0.78rem; }
}

.category-sticky-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  margin: 24px calc(50% - 50vw) 0;
  padding: 7px max(18px, calc((100vw - 1280px) / 2 + 18px));
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease;
}
.category-sticky-nav.is-stuck {
  background: rgba(247, 243, 238, 0.96);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(83, 60, 44, 0.10);
}
.category-sticky-top {
  min-height: 42px;
  display: none;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}
.category-sticky-nav.is-stuck .category-sticky-top { display: flex; }
.category-sticky-top strong { color: var(--coffee); font-size: 1rem; letter-spacing: -0.025em; }
.category-sticky-nav .category-filter-bar {
  margin: 0;
  padding: 4px 0 8px;
}
.category-sticky-current {
  min-height: 28px;
  display: none;
  align-items: center;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.category-sticky-nav.is-stuck .category-sticky-current { display: flex; }
.category-section { scroll-margin-top: 130px; }
.capacity-card {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.62);
}
.capacity-card span {
  display: block;
  color: var(--navy);
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}
.capacity-card strong {
  display: block;
  margin-top: 6px;
  color: var(--coffee);
  font-size: 1rem;
  line-height: 1.35;
}

@media (max-width: 560px) {
  .category-sticky-nav { padding-inline: 18px; }
  .category-sticky-current { min-height: 26px; font-size: 0.7rem; }
}

/* Cotizador guiado por zonas */
.wizard-layout { align-content: start; }
.wizard-progress-label {
  margin: 0 0 10px;
  color: rgba(30,47,66,0.72);
  font-size: 0.84rem;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.quote-start-card .eyebrow { margin-bottom: 12px; }
.quote-start-card h1 { max-width: 780px; margin-inline: auto; }
.quote-recovery-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  margin: 18px auto 0;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 800;
}
.quote-recovery-stats span {
  padding: 8px 11px;
  border: 1px solid rgba(30,47,66,0.12);
  border-radius: 999px;
  background: rgba(247,243,238,0.72);
}
.quote-recovery-last {
  margin: 14px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(83,60,44,0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.6);
  text-align: left;
}
.quote-recovery-last span {
  display: block;
  color: rgba(43,38,35,0.62);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.quote-recovery-last strong {
  display: block;
  margin-top: 4px;
  color: var(--coffee);
  font-size: 0.95rem;
}
.quote-zone-card > p, .quote-refine-card > p, .quote-builder-card .builder-head p { max-width: 720px; }
.zone-option { position: relative; min-height: 112px; padding: 20px 44px 20px 20px; }
.zone-option .zone-check {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(30,47,66,0.08);
  color: transparent;
  font-size: 0.78rem;
  font-weight: 900;
}
.zone-option.is-selected .zone-check { background: var(--navy); color: var(--bg); }
.quote-search-link { margin-top: 18px; }
.quote-fieldset { margin-top: 26px; }
.quote-fieldset h2, .form-section h2, .builder-products-head h2 {
  margin: 0 0 10px;
  color: var(--coffee);
  font-size: clamp(1rem, 2vw, 1.22rem);
}
.quote-fieldset small { display: block; margin-bottom: 10px; color: rgba(43,38,35,0.62); }
.quote-chip-grid, .builder-category-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.quote-choice {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.56);
  color: var(--navy);
  padding: 0 14px;
  font-size: 0.84rem;
  font-weight: 800;
}
.quote-choice.is-active { background: var(--navy); border-color: var(--navy); color: var(--bg); }
.builder-head { display: grid; gap: 8px; }
.builder-tools {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(247,243,238,0.66);
}
.builder-tools > span { color: var(--coffee); font-weight: 800; }
.builder-secondary-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.builder-products-head { margin: 26px 0 14px; }
.builder-products-head p { margin: 0; color: rgba(43,38,35,0.68); line-height: 1.55; }
.quote-model-list { display: grid; gap: 14px; }
.quote-model-list.compact { margin-top: 18px; }
.model-choice {
  grid-template-columns: 96px minmax(0,1fr) auto;
  padding: 12px;
  gap: 14px;
  align-items: center;
  background: rgba(255,255,255,0.62);
}
.model-choice img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 18px;
  background: transparent;
}
.model-choice .model-copy { min-width: 0; }
.model-choice h2 { font-size: 1.05rem; line-height: 1.2; }
.model-choice p { margin: 6px 0 0; font-size: 0.85rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.model-choice small { margin-top: 6px; font-size: 0.74rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.model-choice strong { color: var(--navy); font-size: 0.9rem; }
.model-actions { display: grid; gap: 8px; justify-items: end; }
.model-actions .button { min-height: 40px; padding-inline: 16px; font-size: 0.84rem; }
.wizard-quantity-sheet { max-width: 720px; }
.wizard-quantity-sheet > p { font-weight: 800; color: var(--coffee); }
.quote-calc-box span { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.quote-calc-box strong { color: var(--navy); }
.quick-qty { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.quick-qty button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.62);
  color: var(--navy);
  padding: 0 13px;
  font-weight: 800;
}
.quick-qty button.is-active { background: var(--navy); color: var(--bg); border-color: var(--navy); }
.quote-summary-screen h1 { margin-bottom: 18px; }
.quote-summary-cards { overflow: visible; display: grid; gap: 18px; }
.quote-item-list { display: grid; gap: 12px; }
.quote-item-card {
  display: grid;
  grid-template-columns: 86px minmax(0,1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,0.68);
}
.quote-item-media-button { width: 86px; height: 86px; padding: 0; border: 0; border-radius: 16px; background: transparent; overflow: hidden; display: block; cursor: pointer; }
.quote-item-media img { width: 86px; height: 86px; border-radius: 16px; object-fit: cover; display: block; }
.quote-item-body { display: grid; gap: 6px; }
.quote-item-body > strong { color: var(--coffee); font-size: 1rem; line-height: 1.2; }
.quote-item-body small { color: rgba(43,38,35,0.62); }
.quote-item-body p { margin: 0; color: rgba(43,38,35,0.75); font-size: 0.86rem; }
.quote-item-qty { display: flex; align-items: center; gap: 8px; color: var(--navy); font-size: 0.82rem; font-weight: 800; }
.quote-item-qty button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-navy);
  border-radius: 999px;
  background: rgba(247,243,238,0.9);
  color: var(--navy);
  font-weight: 900;
}
.quote-item-qty b { min-width: 26px; text-align: center; }
.quote-card-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.quote-conditions {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid rgba(83,60,44,0.10);
  border-radius: 18px;
  background: rgba(247,243,238,0.74);
  color: rgba(43,38,35,0.72);
  font-size: 0.88rem;
}
.quote-conditions p { margin: 0; }
.form-section { margin-top: 24px; }
.form-section:first-of-type { margin-top: 18px; }
.form-wide { grid-column: 1 / -1; }
.option-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.option-cards label {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(247,243,238,0.66);
}
.option-cards strong { display: block; color: var(--coffee); font-size: 0.9rem; }
.option-cards small { display: block; margin-top: 3px; color: rgba(43,38,35,0.62); line-height: 1.35; }
.quote-search-modal { display: grid; gap: 14px; }
.quote-search-modal input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  background: rgba(247,243,238,0.85);
}
.quote-search-results { display: grid; gap: 10px; max-height: min(58dvh, 620px); overflow: auto; padding-right: 4px; }
.quote-search-result {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.62);
  padding: 10px;
  text-align: left;
}
.quote-search-result img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.quote-search-result span { display: grid; gap: 2px; }
.quote-search-result strong { color: var(--coffee); }
.quote-search-result small { color: rgba(43,38,35,0.62); }
.quote-search-result em { grid-column: 2; color: var(--navy); font-style: normal; font-size: 0.78rem; font-weight: 800; }
.empty-note { color: rgba(43,38,35,0.62); }

@media (max-width: 760px) {
  .wizard-card h1 { font-size: clamp(1.8rem, 8vw, 2.45rem); }
  .zone-picker { gap: 12px; }
  .zone-option { min-height: 104px; padding: 18px 42px 18px 18px; }
  .builder-tools { margin-inline: -2px; }
  .model-choice { grid-template-columns: 88px minmax(0, 1fr); }
  .model-choice img { width: 88px; height: 88px; }
  .model-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; justify-items: stretch; }
  .model-actions .button, .model-actions .text-action { width: 100%; }
  .quote-calc-box span { display: grid; justify-content: stretch; text-align: left; }
  .quote-item-card { grid-template-columns: 74px minmax(0,1fr); padding: 12px; }
  .quote-item-media-button,
  .quote-item-media img { width: 74px; height: 74px; }
  .option-cards { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wizard-progress-label { font-size: 0.78rem; }
  .quote-chip-grid, .builder-category-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .quote-chip-grid::-webkit-scrollbar, .builder-category-chips::-webkit-scrollbar { display: none; }
  .quote-choice { flex: 0 0 auto; font-size: 0.78rem; padding-inline: 12px; }
  .builder-secondary-actions { display: grid; gap: 8px; }
  .model-choice { padding: 10px; gap: 10px; border-radius: 18px; }
  .model-choice h2 { font-size: 1rem; }
  .model-choice p { font-size: 0.78rem; }
  .model-choice small { font-size: 0.68rem; }
  .model-actions { gap: 8px; }
  .quantity-control { grid-template-columns: 48px 92px 48px; }
  .quote-item-body p { font-size: 0.8rem; }
  .quote-card-actions { gap: 8px; }
}

/* Cotizador guiado por zonas */
.wizard-layout { align-content: start; padding-bottom: 28px; }
.wizard-progress-label {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.quote-start-card .button { margin-top: 24px; }
.zone-step > p, .refine-step > p, .builder-head p { color: rgba(43,38,35,0.72); line-height: 1.65; }
.zone-step .zone-picker { grid-template-columns: repeat(2, minmax(0,1fr)); }
.zone-step .zone-option { position: relative; min-height: 112px; padding: 20px 48px 20px 20px; }
.zone-check {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--line-navy);
  color: transparent;
  font-weight: 900;
  font-size: 0.78rem;
}
.zone-option.is-selected .zone-check { color: var(--bg); background: var(--navy); border-color: var(--navy); }
.wizard-search-link { display: inline-flex; margin-top: 18px; }
.refine-section { margin-top: 24px; }
.refine-section h2, .form-section h2 { margin: 0 0 12px; color: var(--coffee); font-size: 1.08rem; }
.refine-section > p { margin: -6px 0 12px; color: rgba(43,38,35,0.62); font-size: 0.88rem; }
.chip-select-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.option-chip {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255,255,255,0.58);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.84rem;
}
.option-chip.is-selected { background: var(--navy); color: var(--bg); border-color: var(--navy); }
.builder-step-card { display: grid; gap: 18px; }
.builder-step { color: var(--navy); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.builder-tool-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.builder-category-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 3px 0 8px;
  scrollbar-width: none;
}
.builder-category-tabs::-webkit-scrollbar { display: none; }
.builder-category-tabs .category-choice {
  flex: 0 0 auto;
  min-width: 178px;
  min-height: 74px;
  padding: 13px 15px;
  display: grid;
  gap: 3px;
}
.builder-category-tabs .category-choice span { color: var(--navy); font-weight: 900; font-size: 0.78rem; }
.model-list { display: grid; gap: 13px; }
.compact-model-choice {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 22px;
  background: rgba(255,255,255,0.66);
}
.model-choice-main {
  display: grid;
  grid-template-columns: 94px minmax(0,1fr);
  gap: 14px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  min-width: 0;
}
.compact-model-choice img {
  width: 94px;
  height: 94px;
  object-fit: cover;
  border-radius: 18px;
  background: transparent;
}
.compact-model-choice h2 { margin: 0; color: var(--coffee); font-size: 1.04rem; line-height: 1.18; }
.compact-model-choice p {
  margin: 6px 0 0;
  color: rgba(43,38,35,0.72);
  font-size: 0.84rem;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.compact-model-choice small {
  display: block;
  margin-top: 6px;
  color: rgba(43,38,35,0.6);
  font-size: 0.74rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.compact-model-choice strong { display: block; margin-top: 6px; color: var(--navy); font-size: 0.92rem; }
.compact-model-choice .model-actions { display: grid; gap: 8px; justify-items: end; grid-column: auto; }
.compact-model-choice .model-actions .button { width: auto; min-height: 40px; padding-inline: 16px; }
.quantity-sheet-card { width: min(720px, 100%); }
.quantity-sheet-card > p { color: var(--coffee); font-weight: 800; }
.quote-calc-box span { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.quote-calc-box strong { color: var(--navy); }
.summary-step .quote-summary { margin-top: 18px; }
.quote-summary-cards { overflow: visible; display: grid; gap: 18px; }
.quote-item-list { display: grid; gap: 12px; }
.quote-item-card {
  display: grid;
  grid-template-columns: 86px minmax(0,1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,0.68);
}
.quote-item-media img { width: 86px; height: 86px; border-radius: 16px; object-fit: cover; }
.quote-item-body { display: grid; gap: 6px; }
.quote-item-body > strong { color: var(--coffee); font-size: 1rem; line-height: 1.2; }
.quote-item-body p { margin: 0; color: rgba(43,38,35,0.74); font-size: 0.86rem; }
.quote-item-qty { display: flex; align-items: center; gap: 8px; color: var(--navy); font-size: 0.82rem; font-weight: 800; }
.quote-item-qty button { width: 30px; height: 30px; border: 1px solid var(--line-navy); border-radius: 999px; background: rgba(247,243,238,0.9); color: var(--navy); font-weight: 900; }
.quote-item-qty b { min-width: 28px; text-align: center; }
.quote-card-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.quote-conditions { display: grid; gap: 4px; padding: 16px; border: 1px solid rgba(83,60,44,0.10); border-radius: 18px; background: rgba(247,243,238,0.74); color: rgba(43,38,35,0.72); font-size: 0.88rem; }
.quote-conditions p { margin: 0; }
.form-section { margin-top: 24px; }
.form-section:first-of-type { margin-top: 18px; }
.form-wide { grid-column: 1 / -1; }
.toggle-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.toggle-cards label {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(247,243,238,0.66);
}
.toggle-cards strong { display: block; color: var(--coffee); font-size: 0.9rem; }
.toggle-cards small { display: block; margin-top: 3px; color: rgba(43,38,35,0.62); line-height: 1.35; }
.product-search-modal { display: grid; gap: 14px; }
.product-search-modal input { width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 13px 14px; background: rgba(247,243,238,0.85); }
.product-search-results { display: grid; gap: 10px; max-height: min(58dvh, 620px); overflow: auto; padding-right: 4px; }
.product-search-results button { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,0.62); padding: 10px; text-align: left; }
.product-search-results img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.product-search-results strong { color: var(--coffee); }
.product-search-results small { color: rgba(43,38,35,0.62); }

@media (max-width: 760px) {
  .zone-step .zone-picker { grid-template-columns: 1fr; }
  .wizard-card h1 { font-size: clamp(1.8rem, 8vw, 2.45rem); }
  .compact-model-choice { grid-template-columns: 1fr; }
  .model-choice-main { grid-template-columns: 88px minmax(0, 1fr); }
  .compact-model-choice img { width: 88px; height: 88px; }
  .compact-model-choice .model-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; justify-items: stretch; }
  .compact-model-choice .model-actions .button, .compact-model-choice .model-actions .text-action { width: 100%; }
  .quote-calc-box span { display: grid; justify-content: stretch; text-align: left; }
  .toggle-cards { grid-template-columns: 1fr; }
  .builder-tool-row { justify-content: space-between; }
}

@media (max-width: 560px) {
  .wizard-progress-label { font-size: 0.78rem; }
  .builder-category-tabs { margin-inline: -2px; }
  .builder-category-tabs .category-choice { min-width: 150px; min-height: 66px; }
  .compact-model-choice { padding: 10px; border-radius: 18px; }
  .compact-model-choice h2 { font-size: 1rem; }
  .compact-model-choice p { font-size: 0.78rem; }
  .compact-model-choice small { font-size: 0.68rem; }
  .quote-item-card { grid-template-columns: 74px minmax(0,1fr); padding: 12px; }
  .quote-item-media-button,
  .quote-item-media img { width: 74px; height: 74px; }
}

/* Ajustes específicos del nuevo constructor por zonas */
.refine-section { margin-top: 26px; }
.refine-section h2 {
  margin: 0 0 10px;
  color: var(--coffee);
  font-size: clamp(1rem, 2vw, 1.2rem);
}
.refine-section p { margin: 0 0 10px; color: rgba(43,38,35,0.64); }
.chip-select-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.option-chip {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.56);
  color: var(--navy);
  padding: 0 14px;
  font-size: 0.84rem;
  font-weight: 800;
}
.option-chip.is-selected { background: var(--navy); border-color: var(--navy); color: var(--bg); }
.builder-step-card .builder-head { display: grid; gap: 8px; }
.builder-step {
  color: var(--navy);
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.builder-tool-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.builder-category-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 0 8px;
  scrollbar-width: none;
}
.builder-category-tabs::-webkit-scrollbar { display: none; }
.builder-category-tabs .category-choice {
  flex: 0 0 auto;
  min-width: min(240px, 74vw);
  padding: 14px 16px;
}
.model-list { display: grid; gap: 14px; }
.compact-model-list { margin-top: 12px; }
.compact-model-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
}
.model-choice-main {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.model-choice-main img {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  object-fit: cover;
  background: transparent;
}
.model-choice-main h2 { margin: 0; color: var(--coffee); font-size: 1.08rem; line-height: 1.18; }
.model-choice-main p {
  margin: 6px 0 0;
  color: rgba(43,38,35,0.7);
  font-size: 0.86rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.model-choice-main small {
  display: block;
  margin-top: 6px;
  color: rgba(43,38,35,0.62);
  font-size: 0.74rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.model-choice-main strong { display: block; margin-top: 6px; color: var(--navy); font-size: 0.9rem; }
.quantity-sheet-card > p { color: var(--coffee); font-weight: 800; }
.toggle-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.toggle-cards label {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(247,243,238,0.66);
}
.toggle-cards strong { display: block; color: var(--coffee); font-size: 0.9rem; }
.toggle-cards small { display: block; margin-top: 3px; color: rgba(43,38,35,0.62); line-height: 1.35; }
.product-search-modal { display: grid; gap: 14px; }
.product-search-modal input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  background: rgba(247,243,238,0.85);
}
.product-search-results { display: grid; gap: 10px; max-height: min(58dvh, 620px); overflow: auto; padding-right: 4px; }
.product-search-results button {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.62);
  padding: 10px;
  text-align: left;
}
.product-search-results img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.product-search-results strong { display: block; color: var(--coffee); }
.product-search-results small { display: block; color: rgba(43,38,35,0.62); }

@media (max-width: 760px) {
  .compact-model-choice { grid-template-columns: 1fr; }
  .model-choice-main { grid-template-columns: 88px minmax(0,1fr); }
  .model-choice-main img { width: 88px; height: 88px; }
  .compact-model-choice .model-actions { grid-template-columns: 1fr 1fr; justify-items: stretch; }
  .compact-model-choice .model-actions .button, .compact-model-choice .model-actions .text-action { width: 100%; }
  .toggle-cards { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .chip-select-grid { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .chip-select-grid::-webkit-scrollbar { display: none; }
  .option-chip { flex: 0 0 auto; font-size: 0.78rem; padding-inline: 12px; }
  .builder-tool-row { display: grid; gap: 8px; justify-items: start; }
  .builder-category-tabs .category-choice { min-width: min(220px, 78vw); }
  .model-choice-main h2 { font-size: 1rem; }
  .model-choice-main p { font-size: 0.78rem; }
  .model-choice-main small { font-size: 0.68rem; }
}

/* Ajustes puntuales del cotizador guiado */
.refine-step {
  align-self: start;
}
.refine-step .chip-select-grid {
  align-items: flex-start;
}
.builder-tool-row .button.small {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 0.82rem;
}
.builder-category-chips {
  position: sticky;
  top: calc(var(--header-h) + 4px);
  z-index: 25;
  margin-inline: -6px;
  padding: 10px 6px 8px;
  background: rgba(247,243,238,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(83,60,44,0.08);
}
.builder-category-tabs .category-choice {
  min-width: auto;
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1;
  white-space: nowrap;
}
.builder-category-tabs .category-choice.is-selected {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--bg);
}
.model-choice-main em {
  display: block;
  margin-top: 2px;
  color: rgba(30,47,66,0.62);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
}
.compact-model-choice.is-added {
  border-color: rgba(30,47,66,0.30);
  background: rgba(30,47,66,0.045);
}
.added-pill {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(30,47,66,0.10);
  color: var(--navy);
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 900;
}
.quantity-bottom-modal,
.category-bottom-modal {
  width: min(620px, 100%);
  max-height: 82dvh;
  margin: auto auto 0;
  border-radius: 30px 30px 0 0;
  background: var(--bg);
  padding: 18px;
}
.quantity-bottom-modal .modal-close,
.category-bottom-modal .modal-close {
  display: none;
}
.quote-quantity-sheet,
.add-category-sheet {
  display: grid;
  gap: 14px;
}
.sheet-handle {
  width: 46px;
  height: 4px;
  border-radius: 999px;
  background: rgba(83,60,44,0.18);
  justify-self: center;
  margin-bottom: 2px;
}
.quote-quantity-sheet h2,
.add-category-sheet h2 {
  margin: 0;
  color: var(--coffee);
  font-size: clamp(1.15rem, 4vw, 1.35rem);
  line-height: 1.15;
}
.quote-quantity-sheet h3 {
  margin: 2px 0 0;
  color: var(--coffee);
  font-size: clamp(1.55rem, 6vw, 1.9rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}
.sheet-qty-control {
  display: grid;
  grid-template-columns: 58px minmax(92px, 1fr) 58px;
  width: 100%;
  gap: 10px;
  margin-top: 4px;
}
.sheet-qty-control button,
.sheet-qty-control input {
  height: 58px;
}
.quantity-bottom-modal .quote-calc-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  padding: 16px;
  border: 1px solid rgba(83,60,44,0.10);
  border-radius: 18px;
  background: rgba(255,255,255,0.58);
  text-align: left;
}
.quantity-bottom-modal .quote-calc-box span {
  color: rgba(43,38,35,0.64);
  font-size: 0.82rem;
  font-weight: 700;
}
.quantity-bottom-modal .quote-calc-box strong {
  color: var(--navy);
  text-align: right;
}
.sheet-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 2px;
}
.sheet-actions .button {
  width: 100%;
}
.category-sheet-list {
  display: grid;
  gap: 9px;
}
.category-sheet-list button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.62);
  color: var(--navy);
  font-weight: 800;
  text-align: left;
  padding: 0 14px;
}

.product-full-modal {
  background: var(--bg);
  overflow: auto;
}
.product-full-modal .modal-close-row {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  justify-content: flex-end;
  padding: 10px 12px;
  background: rgba(247,243,238,0.96);
  border-bottom: 1px solid rgba(83,60,44,0.10);
  backdrop-filter: blur(12px);
}
.product-full-modal .modal-close-row .modal-close {
  position: static;
  float: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: auto;
  height: 38px;
  padding: 0 14px;
  font-size: 0.9rem;
  font-weight: 900;
}
.product-full-modal .product-detail-screen {
  padding-top: 12px;
}
.product-full-modal .tab-list {
  top: 58px;
}
.product-full-modal .photos-fab {
  opacity: 1;
  pointer-events: auto;
  right: 16px;
  bottom: 16px;
  transform: none;
}
.product-full-modal .mobile-sticky-cta {
  display: none;
}

@media (max-width: 760px) {
  .wizard-layout {
    width: min(100% - 18px, 1280px);
    padding-top: 10px;
  }
  .wizard-card {
    padding: 18px;
    border-radius: 24px;
  }
  .refine-step {
    max-width: 100%;
  }
  .refine-step h1 {
    font-size: clamp(1.75rem, 7vw, 2.18rem);
  }
  .refine-section {
    margin-top: 18px;
  }
  .refine-section h2 {
    font-size: 0.98rem;
  }
  .refine-step .chip-select-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    overflow: visible;
    padding-bottom: 0;
  }
  .refine-step .option-chip {
    min-height: 34px;
    padding: 0 11px;
    font-size: 0.76rem;
  }
  .builder-tool-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .builder-tool-row .button.small {
    width: 100%;
    justify-content: center;
  }
  .builder-category-chips {
    top: var(--header-h);
  }
  .quantity-bottom-modal,
  .category-bottom-modal {
    width: 100%;
    max-height: 82dvh;
    padding: 16px;
  }
  .quantity-bottom-modal .quote-calc-box {
    grid-template-columns: 1fr;
  }
  .quantity-bottom-modal .quote-calc-box strong {
    text-align: left;
    margin-bottom: 4px;
  }
  .product-full-modal {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }
  .product-full-modal .product-detail-screen.in-modal {
    padding-bottom: 74px;
  }
}

@media (max-width: 420px) {
  .builder-tool-row {
    grid-template-columns: 1fr;
  }
  .refine-step .option-chip {
    font-size: 0.72rem;
    padding: 0 9px;
  }
  .sheet-qty-control {
    grid-template-columns: 54px minmax(86px,1fr) 54px;
  }
}
.product-full-modal .photos-fab { display: inline-flex; }

/* Ajustes cotizador: recomendaciones por categoría */
.recommendation-basis {
  display: grid;
  gap: 3px;
  width: fit-content;
  max-width: 100%;
  margin-top: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(83,60,44,0.10);
  border-radius: 16px;
  background: rgba(255,255,255,0.50);
}
.recommendation-basis span {
  color: rgba(43,38,35,0.58);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.recommendation-basis strong {
  color: var(--navy);
  font-size: 0.9rem;
  line-height: 1.35;
}
.wizard-products-view,
.wizard-single-category {
  display: grid;
  gap: 20px;
}
.wizard-category-block {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(83,60,44,0.10);
  border-radius: 24px;
  background: rgba(247,243,238,0.50);
}
.wizard-category-head {
  display: grid;
  gap: 5px;
}
.wizard-category-head h2 {
  margin: 0;
  color: var(--coffee);
  font-size: clamp(1.18rem, 3vw, 1.55rem);
  line-height: 1.15;
}
.wizard-category-head p {
  margin: 0;
  color: rgba(43,38,35,0.66);
  line-height: 1.45;
}
.wizard-category-head.solo {
  padding: 2px 2px 0;
}
.wizard-category-head.solo strong {
  color: var(--navy);
}
.wizard-subgroup {
  display: grid;
  gap: 10px;
}
.wizard-subgroup h3 {
  margin: 0;
  color: var(--navy);
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.wizard-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}
.wizard-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(30,47,66,0.09);
  color: var(--navy);
  font-size: 0.68rem;
  line-height: 1;
  font-weight: 900;
}
.category-sheet-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.category-sheet-list button.is-disabled,
.category-sheet-list button:disabled {
  opacity: 0.48;
  background: rgba(215,193,167,0.25);
  cursor: not-allowed;
}
.category-sheet-list button small {
  color: rgba(43,38,35,0.58);
  font-size: 0.74rem;
  font-weight: 800;
}
.quote-profile {
  display: grid;
  gap: 5px;
  margin: 16px 0 18px;
  padding: 16px;
  border: 1px solid rgba(83,60,44,0.10);
  border-radius: 18px;
  background: rgba(247,243,238,0.72);
}
.quote-profile h2 {
  margin: 0 0 4px;
  color: var(--coffee);
  font-size: 1rem;
}
.quote-profile p {
  margin: 0;
  color: rgba(43,38,35,0.70);
  line-height: 1.45;
  font-size: 0.88rem;
}
@media (max-width: 760px) {
  .refine-step {
    width: 100%;
    padding: 16px;
  }
  .refine-step > p {
    margin-top: 8px;
    line-height: 1.45;
  }
  .refine-step .chip-select-grid,
  .refine-step .chip-select-grid.single {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }
  .refine-step .option-chip {
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    white-space: normal;
    line-height: 1.18;
    text-align: center;
  }
  .wizard-category-block {
    margin-inline: -2px;
    padding: 13px;
    border-radius: 20px;
  }
  .wizard-products-view {
    gap: 16px;
  }
  .recommendation-basis {
    width: 100%;
    padding: 9px 10px;
  }
}
@media (max-width: 420px) {
  .refine-step .chip-select-grid,
  .refine-step .chip-select-grid.single {
    grid-template-columns: 1fr;
  }
}

/* Constructor guiado por pasos dentro de cada zona */
.zone-builder-card { padding-bottom: 18px; }
.zone-stepper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
  gap: 8px;
  margin: 8px 0 4px;
}
.zone-stepper-item {
  min-height: 48px;
  border: 1px solid rgba(83,60,44,0.12);
  border-radius: 16px;
  background: rgba(255,255,255,0.54);
  color: var(--coffee);
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  text-align: left;
}
.zone-stepper-item span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(30,47,66,0.08);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 900;
}
.zone-stepper-item strong {
  min-width: 0;
  color: inherit;
  font-size: 0.78rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zone-stepper-item.is-active {
  border-color: var(--navy);
  background: rgba(30,47,66,0.06);
}
.zone-stepper-item.is-active span,
.zone-stepper-item.is-done span {
  background: var(--navy);
  color: var(--bg);
}
.zone-current-step {
  width: fit-content;
  border-radius: 999px;
  background: rgba(30,47,66,0.08);
  color: var(--navy);
  padding: 5px 10px;
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.zone-builder-card .builder-head h2 {
  margin: 4px 0 0;
  color: var(--coffee);
  font-size: clamp(1.35rem, 3.6vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.zone-step-hint {
  margin-top: 0 !important;
  color: rgba(30,47,66,0.72) !important;
  font-size: 0.88rem;
  font-weight: 700;
}
.guided-products-view {
  display: grid;
  gap: 18px;
}
.wizard-step-products-block {
  display: grid;
  gap: 10px;
}
.wizard-step-block-head h3 {
  margin: 0;
  color: var(--navy);
  font-size: 0.84rem;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.wizard-step-block-head p {
  margin: 5px 0 0;
  color: rgba(43,38,35,0.64);
  font-size: 0.86rem;
  line-height: 1.45;
}
.wizard-more-toggle {
  justify-self: start;
  margin-top: 4px;
}
.wizard-more-list {
  margin-top: 4px;
}
.zone-step-footer {
  position: sticky;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 28;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid rgba(83,60,44,0.12);
  border-radius: 22px;
  background: rgba(247,243,238,0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 42px rgba(30,47,66,0.13);
}
.zone-step-footer > div:first-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.zone-step-footer strong {
  color: var(--coffee);
  font-size: 0.92rem;
  line-height: 1.2;
}
.zone-step-footer span {
  color: rgba(43,38,35,0.62);
  font-size: 0.78rem;
  line-height: 1.25;
}
.zone-step-footer-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.zone-step-footer-actions .button {
  min-height: 42px;
  padding-inline: 15px;
  white-space: nowrap;
}
.zone-step-footer-actions .text-action {
  white-space: nowrap;
  font-size: 0.78rem;
}
.category-sheet-list button.is-disabled,
.category-sheet-list button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.category-sheet-list button small {
  display: block;
  margin-top: 2px;
  color: rgba(43,38,35,0.58);
  font-size: 0.72rem;
}

@media (max-width: 760px) {
  .zone-stepper {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .zone-stepper::-webkit-scrollbar { display: none; }
  .zone-stepper-item {
    flex: 0 0 auto;
    min-width: 112px;
  }
  .zone-step-footer {
    align-items: stretch;
  }
  .zone-step-footer-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .zone-step-footer-actions .button,
  .zone-step-footer-actions .text-action {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .zone-builder-card {
    padding-left: 16px;
    padding-right: 16px;
  }
  .zone-stepper-item {
    min-width: 104px;
    min-height: 44px;
    padding: 7px 9px;
  }
  .zone-stepper-item strong { font-size: 0.72rem; }
  .zone-builder-card .builder-head h2 { font-size: clamp(1.25rem, 7vw, 1.75rem); }
  .zone-step-footer {
    margin-inline: -4px;
    padding: 10px;
    border-radius: 18px;
  }
  .zone-step-footer strong { font-size: 0.86rem; }
  .zone-step-footer span { font-size: 0.72rem; }
}

/* Correcciones de flujo del cotizador por pasos */
.wizard-progress-meta {
  display: grid;
  gap: 2px;
  margin: 0 0 8px;
  padding: 0 4px;
}
.wizard-progress-meta strong {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.wizard-progress-meta span {
  color: rgba(83,60,44,0.68);
  font-size: 0.86rem;
  font-weight: 700;
}
.zone-builder-wrap {
  display: grid;
  gap: 18px;
  padding-bottom: 92px;
}
.zone-work-card {
  margin-inline: 0;
  padding: 22px;
  border: 1px solid rgba(83,60,44,0.12);
  border-radius: 30px;
  background: rgba(255,255,255,0.68);
  box-shadow: 0 14px 40px rgba(30,47,66,0.06);
}
.selected-zones-tracker {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}
.selected-zones-tracker > span,
.applied-priorities > span {
  color: rgba(30,47,66,0.68);
  font-size: 0.68rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.selected-zones-tracker > div,
.applied-priorities > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.selected-zones-tracker button {
  min-height: 32px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(83,60,44,0.12);
  background: rgba(247,243,238,0.88);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
}
.selected-zones-tracker button.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--bg);
}
.zone-work-card > h1 {
  margin: 0 0 6px;
  color: var(--coffee);
  font-size: clamp(1.9rem, 5.2vw, 2.12rem);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 900;
}
.zone-work-card > p {
  margin: 0 0 17px;
  color: rgba(43,38,35,0.68);
  font-size: 0.94rem;
  line-height: 1.38;
  max-width: 680px;
}
.current-decision {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.current-decision h2 {
  margin: 0;
  color: var(--coffee);
  font-size: clamp(1.55rem, 5.3vw, 1.78rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 900;
}
.current-decision > p {
  margin: 0;
  color: rgba(43,38,35,0.70);
  font-size: 0.98rem;
  line-height: 1.45;
  max-width: 720px;
}
.applied-priorities {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}
.applied-priorities b {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(30,47,66,0.09);
  color: var(--navy);
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 900;
}
.zone-work-card .zone-stepper {
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  margin: 0;
}
.zone-work-card .zone-stepper-item {
  min-height: 44px;
  border-radius: 17px;
}
.zone-work-card .zone-stepper-item.is-active {
  background: var(--navy);
  color: var(--bg);
  border-color: var(--navy);
}
.zone-work-card .zone-stepper-item.is-active span {
  background: var(--bg);
  color: var(--navy);
}
.zone-work-card .zone-stepper-item.is-done:not(.is-active) {
  border-color: rgba(30,47,66,0.34);
  background: rgba(30,47,66,0.07);
  color: var(--navy);
}
.guided-products-view {
  padding: 0 2px;
}
.wizard-step-block-head h3 {
  font-size: 0.76rem;
  font-weight: 900;
}
.compact-model-choice {
  min-height: 158px;
  border: 1px solid rgba(83,60,44,0.11);
  box-shadow: 0 10px 26px rgba(30,47,66,0.045);
}
.compact-model-choice strong {
  font-size: 0.98rem;
  font-weight: 900;
}
.compact-model-choice .model-actions .button.button-primary {
  min-width: 130px;
}
.summary-add-more {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(83,60,44,0.12);
  border-radius: 22px;
  background: rgba(247,243,238,0.72);
}
.summary-add-more h2 {
  margin: 0 0 12px;
  color: var(--coffee);
  font-size: 1.12rem;
  line-height: 1.15;
}
.add-product-category-sheet h3 {
  margin: 18px 0 10px;
  color: var(--coffee);
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .zone-work-card {
    padding: 20px;
    border-radius: 28px;
  }
  .zone-work-card .zone-stepper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    overflow: visible;
    padding-bottom: 0;
  }
  .zone-work-card .zone-stepper-item {
    min-width: 0;
    min-height: 42px;
    padding: 7px 8px;
    grid-template-columns: 22px minmax(0,1fr);
  }
  .zone-work-card .zone-stepper-item span {
    width: 22px;
    height: 22px;
  }
  .zone-work-card .zone-stepper-item strong {
    font-size: 0.72rem;
  }
  .compact-model-choice {
    min-height: 154px;
    padding: 12px;
    border-radius: 20px;
  }
  .model-choice-main {
    grid-template-columns: 90px minmax(0,1fr);
    gap: 12px;
  }
  .compact-model-choice img {
    width: 90px;
    height: 90px;
    border-radius: 15px;
  }
  .zone-step-footer {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    margin: 0;
  }
}

@media (max-width: 420px) {
  .zone-work-card {
    padding: 18px;
  }
  .zone-work-card > h1 {
    font-size: 1.86rem;
  }
  .zone-work-card .zone-stepper-item {
    gap: 6px;
    padding-inline: 6px;
  }
  .zone-work-card .zone-stepper-item strong {
    font-size: 0.66rem;
  }
  .current-decision h2 {
    font-size: 1.44rem;
  }
  .current-decision > p {
    font-size: 0.92rem;
  }
}
.wizard-layout .screen-nav {
  min-height: 46px;
  margin-bottom: 10px;
  padding: 0 4px;
  font-size: 0.96rem;
}

/* Ajustes finales del constructor guiado y resumen */
.wizard-progress-meta {
  display: block;
  margin: 0 0 8px;
  padding: 0 4px;
}
.wizard-progress-meta strong {
  color: var(--navy);
  font-size: 0.82rem;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.wizard-layout .wizard-progress { height: 6px; margin-bottom: 14px; }
.zone-builder-wrap { gap: 14px; padding-bottom: 24px; }
.zone-work-card {
  padding: 18px 20px;
  border-radius: 26px;
}
.zone-position {
  display: grid;
  gap: 3px;
  margin-bottom: 12px;
}
.zone-position strong {
  color: var(--navy);
  font-size: 0.82rem;
  line-height: 1.2;
  font-weight: 900;
}
.zone-position span {
  color: rgba(83,60,44,0.62);
  font-size: 0.76rem;
  line-height: 1.25;
}
.zone-work-card > h1 {
  font-size: clamp(1.75rem, 6.7vw, 1.95rem);
  line-height: 1;
  margin-bottom: 4px;
}
.zone-work-card > p {
  margin-bottom: 14px;
  font-size: 0.88rem;
  line-height: 1.3;
}
.zone-work-card .zone-stepper {
  gap: 7px;
}
.zone-stepper-item.is-locked {
  opacity: 0.58;
  cursor: not-allowed;
  pointer-events: auto;
}
.zone-stepper-item.is-locked:active { transform: none; }
.current-decision {
  gap: 8px;
  margin-top: 16px;
}
.current-decision h2 {
  font-size: clamp(1.34rem, 5.4vw, 1.52rem);
  line-height: 1.05;
}
.current-decision > p {
  font-size: 0.92rem;
  line-height: 1.35;
}
.applied-profile-line {
  margin: 2px 0 0 !important;
  color: var(--navy) !important;
  font-size: 0.78rem !important;
  line-height: 1.35 !important;
  font-weight: 700;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.applied-profile-line::-webkit-scrollbar { display: none; }
.guided-products-view { gap: 12px; }
.wizard-step-products-block { gap: 11px; }
.wizard-more-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: 2px;
  border: 1px solid rgba(83,60,44,0.10);
  border-radius: 999px;
  background: rgba(255,255,255,0.42);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 900;
}
.wizard-more-toggle::after {
  content: ' ↓';
}
.wizard-more-toggle[aria-expanded="true"]::after { content: ' ↑'; }
.zone-step-end-card {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  margin-bottom: 22px;
  padding: 15px;
  border: 1px solid rgba(83,60,44,0.12);
  border-radius: 20px;
  background: rgba(255,255,255,0.58);
}
.zone-step-end-card strong {
  color: var(--coffee);
  font-size: 0.94rem;
  line-height: 1.2;
  font-weight: 900;
}
.zone-step-end-card span {
  display: block;
  margin-top: 3px;
  color: rgba(43,38,35,0.64);
  font-size: 0.8rem;
}
.zone-step-end-card .button {
  width: 100%;
  min-height: 48px;
}
.zone-step-sticky {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(8px + env(safe-area-inset-bottom));
  z-index: 120;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(83,60,44,0.12);
  border-radius: 22px;
  background: rgba(247,243,238,0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 42px rgba(30,47,66,0.13);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 160ms ease, opacity 160ms ease;
}
.zone-step-sticky.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.zone-step-sticky strong {
  color: var(--coffee);
  font-size: 0.9rem;
  line-height: 1.2;
}
.zone-step-sticky .button {
  min-height: 46px;
  padding-inline: 16px;
}
.quote-zone-list { display: grid; gap: 18px; }
.quote-zone-group {
  display: grid;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(83,60,44,0.12);
  border-radius: 22px;
  background: rgba(255,255,255,0.42);
}
.quote-zone-group h3 {
  margin: 0;
  color: var(--coffee);
  font-size: 1.05rem;
  line-height: 1.2;
}
.quote-zone-subtotal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(83,60,44,0.10);
  color: var(--navy);
  font-weight: 900;
}
.summary-add-more p {
  margin: 0 0 14px;
  color: rgba(43,38,35,0.68);
  font-size: 0.9rem;
  line-height: 1.45;
}
.summary-add-more .button { width: 100%; min-height: 50px; }
.add-more-bottom-modal {
  width: min(620px, 100%);
  max-height: 82dvh;
  margin: auto auto 0;
  border-radius: 30px 30px 0 0;
  background: var(--bg);
  padding: 18px 20px 20px;
}
.add-more-bottom-modal .modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  float: none;
}
.add-more-sheet-view {
  display: grid;
  gap: 14px;
  padding-top: 2px;
}
.add-more-sheet-view h2 {
  margin: 0;
  color: var(--coffee);
  font-size: clamp(1.55rem, 6vw, 1.85rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.add-more-sheet-view p {
  margin: 0;
  color: rgba(43,38,35,0.68);
  font-size: 0.92rem;
  line-height: 1.42;
}
.add-more-choice,
.add-more-zone-card,
.add-more-category-list button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 1px solid rgba(83,60,44,0.12);
  border-radius: 20px;
  background: rgba(255,255,255,0.58);
  padding: 15px;
  text-align: left;
}
.add-more-choice strong,
.add-more-zone-card strong,
.add-more-category-list strong {
  color: var(--coffee);
  font-size: 1rem;
  line-height: 1.15;
}
.add-more-choice small,
.add-more-zone-card small,
.add-more-category-list small {
  display: block;
  margin-top: 4px;
  color: rgba(43,38,35,0.62);
  font-size: 0.82rem;
  line-height: 1.3;
}
.add-more-choice b,
.add-more-category-list b,
.add-more-zone-card i {
  color: var(--navy);
  font-size: 1.15rem;
  font-style: normal;
}
.add-more-zone-card > b {
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(30,47,66,0.08);
  color: var(--navy);
  padding: 5px 9px;
  font-size: 0.72rem;
}
.add-more-zone-list,
.add-more-category-list,
.add-more-products-list {
  display: grid;
  gap: 10px;
}
.add-more-target { display: grid; gap: 8px; }
.add-more-target > span {
  color: rgba(30,47,66,0.68);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
}
.add-more-target > div {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.add-more-target button {
  flex: 0 0 auto;
  min-height: 32px;
  border: 1px solid rgba(83,60,44,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.58);
  color: var(--navy);
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 900;
}
.add-more-target button.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--bg);
}
.add-more-search {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(83,60,44,0.12);
  border-radius: 17px;
  background: rgba(255,255,255,0.58);
  color: var(--coffee);
  padding: 0 14px;
  font: inherit;
}
.add-more-sheet-view h3 {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.add-more-product-card {
  display: grid;
  grid-template-columns: 78px minmax(0,1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(83,60,44,0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.58);
}
.add-more-product-card > img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  border-radius: 13px;
  background: rgba(247,243,238,0.8);
}
.add-more-product-card > div { display: grid; gap: 5px; min-width: 0; }
.add-more-product-card strong { color: var(--coffee); font-size: 0.98rem; line-height: 1.15; }
.add-more-product-card small { color: rgba(43,38,35,0.62); font-size: 0.78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.add-more-product-card b { color: var(--navy); font-size: 0.88rem; }
.add-more-product-card > div > div:last-child { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.add-more-product-card .button { min-height: 40px; padding-inline: 14px; }
.duplicate-product-sheet { display: grid; gap: 14px; padding-top: 22px; }
.duplicate-product-sheet h2 { margin: 0; color: var(--coffee); font-size: 1.35rem; line-height: 1.1; }
.duplicate-product-sheet p { margin: 0; color: rgba(43,38,35,0.68); }
@media (max-width: 760px) {
  .zone-builder-wrap { padding-bottom: 22px; }
  .zone-work-card { padding: 18px; border-radius: 24px; }
  .zone-work-card .zone-stepper { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .zone-step-sticky { grid-template-columns: 1fr; }
  .zone-step-sticky .button { width: 100%; }
  .add-more-bottom-modal { width: 100%; padding-inline: 18px; }
}
@media (max-width: 420px) {
  .zone-work-card > h1 { font-size: 1.76rem; }
  .current-decision h2 { font-size: 1.32rem; }
  .add-more-product-card { grid-template-columns: 72px minmax(0,1fr); }
  .add-more-product-card > img { width: 72px; height: 72px; }
}
.add-more-bottom-modal { min-height: 58dvh; }
.wizard-layout .wizard-progress {
  height: 6px;
  margin: 0 16px 14px;
}
.wizard-progress-meta {
  display: block;
  margin: 0 0 8px;
  padding: 0 16px;
}
.wizard-progress-meta strong {
  color: var(--navy);
  font-size: 0.82rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.01em;
}
.zone-builder-wrap {
  gap: 12px;
}
.zone-work-card {
  margin-inline: 14px;
  padding: 18px 20px;
  border-radius: 28px;
}
.zone-work-card > h1 {
  margin: 0 0 5px;
  color: var(--coffee);
  font-size: clamp(1.88rem, 7vw, 2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 900;
}
.zone-position.compact {
  display: block;
  margin: 0 0 15px;
}
.zone-position.compact strong {
  display: block;
  color: rgba(83,60,44,0.68);
  font-size: 0.8rem;
  line-height: 1.25;
  font-weight: 700;
}
.zone-work-card .zone-stepper {
  margin-top: 0;
  gap: 7px;
}
.current-decision {
  gap: 0;
  margin-top: 17px;
}
.current-decision h2 {
  margin: 0;
  color: var(--coffee);
  font-size: clamp(1.42rem, 5.6vw, 1.56rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 900;
}
.current-decision > p,
.zone-step-hint {
  display: none !important;
}
.wizard-profile-order {
  display: grid;
  gap: 4px;
  margin: 2px 0 6px;
  padding: 0 16px;
}
.wizard-profile-order span {
  color: rgba(30,47,66,0.70);
  font-size: 0.68rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.wizard-profile-order strong {
  display: block;
  color: var(--navy);
  font-size: 0.82rem;
  line-height: 1.25;
  font-weight: 800;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.wizard-profile-order strong::-webkit-scrollbar { display: none; }
.zone-step-top-sticky {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 82;
  min-height: 52px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(83,60,44,0.10);
  background: rgba(247,243,238,0.96);
  backdrop-filter: blur(12px);
  transform: translateY(-105%);
  opacity: 0;
  pointer-events: none;
  transition: transform 150ms ease, opacity 150ms ease;
}
.zone-step-top-sticky.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.zone-step-top-sticky strong {
  color: var(--navy);
  font-size: 0.82rem;
  line-height: 1.2;
  font-weight: 900;
}
.zone-step-top-sticky span {
  color: rgba(83,60,44,0.68);
  font-size: 0.76rem;
  line-height: 1.2;
  font-weight: 700;
}
@media (max-width: 420px) {
  .zone-work-card {
    margin-inline: 12px;
    padding: 18px;
    border-radius: 26px;
  }
  .zone-work-card > h1 {
    font-size: 1.86rem;
  }
  .current-decision h2 {
    font-size: 1.42rem;
  }
}

/* Ajustes de flujo cotizador: scroll, sheets y ficha rápida */
.quantity-bottom-modal {
  width: min(620px, 100%);
  max-height: min(72dvh, 680px);
  height: auto;
  padding: 16px 18px 0;
  display: grid;
  overflow: hidden;
}
.quote-quantity-sheet {
  max-height: min(72dvh, 680px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
}
.quantity-sheet-scroll {
  display: grid;
  gap: 12px;
  overflow: auto;
  padding-bottom: 8px;
}
.quote-quantity-sheet .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}
.quote-quantity-sheet h2 {
  font-size: clamp(1.25rem, 5vw, 1.38rem);
  line-height: 1.08;
  margin-top: -3px;
}
.quote-quantity-sheet h3 {
  font-size: clamp(1.5rem, 6.2vw, 1.62rem);
  line-height: 1.05;
  margin: 2px 0 2px;
}
.sheet-qty-control {
  grid-template-columns: 56px minmax(112px, 1fr) 56px;
  gap: 9px;
  margin-top: 0;
}
.sheet-qty-control button,
.sheet-qty-control input {
  height: 56px;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.sheet-qty-control button {
  font-size: 1.45rem;
  font-weight: 900;
}
.sheet-qty-control input { font-size: 1.1rem; }
.quick-qty {
  gap: 8px;
  margin-top: 0;
}
.quick-qty button {
  min-width: 40px;
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.88rem;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.quantity-bottom-modal .quote-calc-box,
.add-more-quantity-view .quote-calc-box {
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  padding: 14px 15px;
  border-radius: 18px;
}
.quote-calc-box .calc-title {
  grid-column: 1 / -1;
  color: var(--coffee);
  text-align: left;
  font-size: 0.86rem;
  font-weight: 900;
}
.quantity-bottom-modal .quote-calc-box span,
.add-more-quantity-view .quote-calc-box span {
  font-size: 0.82rem;
  line-height: 1.25;
}
.quantity-bottom-modal .quote-calc-box b,
.add-more-quantity-view .quote-calc-box b {
  color: var(--navy);
  text-align: right;
  font-size: 0.96rem;
  line-height: 1.2;
}
.quantity-sheet-footer,
.add-more-sticky-footer {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 0;
  padding: 12px 0 calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(83,60,44,0.10);
  background: rgba(247,243,238,0.97);
  backdrop-filter: blur(12px);
}
.quantity-sheet-footer .button,
.add-more-sticky-footer .button {
  width: 100%;
  min-height: 48px;
}
.quantity-sheet-footer .button-primary,
.add-more-sticky-footer .button-primary { min-height: 52px; }
.toast {
  max-width: min(560px, calc(100% - 28px));
  min-height: 56px;
  max-height: 64px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  border-radius: 20px;
  padding: 11px 12px 11px 14px;
  gap: 10px;
  font-size: 0.84rem;
  line-height: 1.25;
}
.toast button {
  height: 36px;
  padding: 0 12px;
  font-size: 0.78rem;
  flex: 0 0 auto;
}
.zone-complete-card { text-align: left; }
.zone-complete-card > h1 { text-align: left; }
.zone-complete-summary {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 15px;
  border: 1px solid rgba(83,60,44,0.12);
  border-radius: 20px;
  background: rgba(255,255,255,0.58);
}
.zone-complete-summary span {
  color: rgba(43,38,35,0.62);
  font-size: 0.82rem;
  font-weight: 700;
}
.zone-complete-summary strong,
.zone-complete-summary b {
  color: var(--navy);
  font-weight: 900;
}
.add-more-bottom-modal[data-add-more-view="products"],
.add-more-bottom-modal[data-add-more-view="category"],
.add-more-bottom-modal[data-add-more-view="quick"],
.add-more-bottom-modal[data-add-more-view="quantity"] {
  height: min(92dvh, calc(100dvh - 24px));
  max-height: calc(100dvh - 24px);
  width: min(720px, 100%);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  padding: 0;
}
.add-more-bottom-modal[data-add-more-view="home"],
.add-more-bottom-modal[data-add-more-view="zones"] {
  min-height: 58dvh;
  max-height: 82dvh;
}
.add-more-internal-header {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(83,60,44,0.10);
  background: rgba(247,243,238,0.98);
  backdrop-filter: blur(12px);
}
.add-more-internal-header .modal-close {
  position: static;
  float: none;
  flex: 0 0 auto;
}
.add-more-bottom-modal[data-add-more-view="products"] .add-more-sheet-view,
.add-more-bottom-modal[data-add-more-view="category"] .add-more-sheet-view,
.add-more-quick-view,
.add-more-quantity-view {
  overflow: auto;
  padding: 18px 20px 20px;
}
.add-more-product-card {
  cursor: pointer;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.add-more-product-card:active { transform: scale(0.99); }
.add-more-product-card .text-action { min-height: 40px; }
.add-more-quick-view {
  display: grid;
  gap: 13px;
}
.add-more-quick-view h2 {
  margin: 0;
  color: var(--coffee);
  font-size: clamp(1.85rem, 7vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.055em;
}
.add-more-quick-view > img {
  width: 100%;
  height: clamp(240px, 42dvh, 300px);
  object-fit: contain;
  border-radius: 20px;
  background: rgba(239,232,223,0.9);
}
.add-more-quick-view section {
  padding: 14px;
  border: 1px solid rgba(83,60,44,0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.58);
}
.add-more-quick-view h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.add-more-quick-view p,
.add-more-quick-view li {
  margin: 0;
  color: rgba(43,38,35,0.68);
  font-size: 0.88rem;
  line-height: 1.45;
}
.add-more-quick-view ul { display: grid; gap: 6px; padding: 0; margin: 0; list-style: none; }
.add-more-quantity-view {
  display: grid;
  gap: 13px;
}
.add-more-quantity-view h2 {
  margin: 0;
  color: var(--coffee);
  font-size: clamp(1.25rem, 5vw, 1.38rem);
  line-height: 1.08;
}
.add-more-quantity-view h3 {
  margin: 4px 0 2px;
  color: var(--coffee);
  font-size: clamp(1.5rem, 6vw, 1.62rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.related-card {
  border: 1px solid rgba(83,60,44,0.10);
  text-align: left;
}
@media (max-width: 760px) {
  .quantity-bottom-modal {
    max-height: min(72dvh, 660px);
    padding-inline: 16px;
  }
  .quote-quantity-sheet { max-height: min(72dvh, 660px); }
  .add-more-bottom-modal[data-add-more-view="products"],
  .add-more-bottom-modal[data-add-more-view="category"],
  .add-more-bottom-modal[data-add-more-view="quick"],
  .add-more-bottom-modal[data-add-more-view="quantity"] {
    width: 100%;
    height: min(92dvh, calc(100dvh - 18px));
    max-height: calc(100dvh - 18px);
  }
}
input,
select,
textarea {
  font-size: 16px;
}
.toast {
  bottom: calc(86px + env(safe-area-inset-bottom));
}
.quantity-bottom-modal {
  max-height: min(72dvh, 640px);
  height: auto;
  padding: 16px 20px 0;
  overflow: hidden;
}
.quote-quantity-sheet {
  max-height: min(72dvh, 640px);
  grid-template-rows: auto minmax(0, auto) auto;
  gap: 8px;
}
.quantity-sheet-scroll {
  gap: 10px;
  overflow: auto;
  padding-bottom: 8px;
}
.quote-quantity-sheet .eyebrow,
.add-more-quantity-view .eyebrow {
  font-size: 0.7rem;
  line-height: 1.1;
}
.quote-quantity-sheet h2,
.add-more-quantity-view h2 {
  font-size: clamp(1.25rem, 5vw, 1.38rem);
  line-height: 1.05;
  margin: -2px 0 0;
}
.quote-quantity-sheet h3,
.add-more-quantity-view h3 {
  font-size: clamp(1.5rem, 6vw, 1.62rem);
  line-height: 1.05;
  margin: 4px 0 0;
}
.sheet-qty-control {
  grid-template-columns: 56px minmax(112px, 1fr) 56px;
  gap: 8px;
}
.sheet-qty-control button,
.sheet-qty-control input {
  height: 56px;
}
.quick-qty-label {
  display: block;
  margin: 2px 0 -2px;
  color: rgba(83,60,44,0.62);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.quantity-bottom-modal .quick-qty,
.add-more-quantity-view .quick-qty {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  gap: 8px;
  margin: 0;
  padding: 0 0 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.quantity-bottom-modal .quick-qty::-webkit-scrollbar,
.add-more-quantity-view .quick-qty::-webkit-scrollbar { display: none; }
.quantity-bottom-modal .quick-qty button,
.add-more-quantity-view .quick-qty button {
  flex: 0 0 auto;
  height: 38px;
  min-width: 42px;
  min-height: 38px;
  padding: 0 13px;
  font-size: 0.88rem;
  font-weight: 900;
  border-color: rgba(83,60,44,0.16);
  background: rgba(255,255,255,0.62);
}
.quantity-bottom-modal .quick-qty button.is-active,
.add-more-quantity-view .quick-qty button.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--bg);
}
.quantity-bottom-modal .quote-calc-box,
.add-more-quantity-view .quote-calc-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(83,60,44,0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.62);
}
.quote-calc-box .calc-title {
  grid-column: auto;
  color: var(--coffee);
  text-align: left;
  font-size: 0.84rem;
  font-weight: 900;
}
.quote-calc-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.quote-calc-row span {
  color: rgba(43,38,35,0.66);
  font-size: 0.84rem;
  line-height: 1.25;
  font-weight: 700;
}
.quote-calc-row b {
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.2;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}
.quantity-sheet-footer,
.add-more-sticky-footer {
  position: sticky;
  bottom: 0;
  z-index: 8;
  margin-inline: -2px;
  padding: 10px 0 calc(6px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(83,60,44,0.10);
  background: rgba(247,243,238,0.98);
  backdrop-filter: blur(12px);
  pointer-events: auto;
}
.quantity-sheet-footer .button,
.add-more-sticky-footer .button {
  width: 100%;
}
.quantity-sheet-footer .button-secondary,
.add-more-sticky-footer .button-secondary {
  min-height: 46px;
}
.quantity-sheet-footer .button-primary,
.add-more-sticky-footer .button-primary {
  min-height: 52px;
}
.add-more-bottom-modal[data-add-more-view="quantity"] {
  height: auto;
  min-height: 0;
  max-height: min(72dvh, 640px);
  grid-template-rows: auto minmax(0, auto) auto;
}
.add-more-bottom-modal[data-add-more-view="quantity"] .add-more-quantity-view {
  gap: 10px;
  padding: 16px 20px 10px;
}
.add-more-quick-gallery {
  display: grid;
  gap: 10px;
}
.add-more-quick-main {
  width: 100%;
  height: clamp(260px, 36dvh, 320px);
  object-fit: contain;
  border-radius: 22px;
  background: rgba(239,232,223,0.9);
}
.add-more-quick-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.add-more-quick-thumbs::-webkit-scrollbar { display: none; }
.add-more-quick-thumbs button {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 1px solid rgba(83,60,44,0.14);
  border-radius: 14px;
  background: rgba(255,255,255,0.62);
  overflow: hidden;
}
.add-more-quick-thumbs button.is-active {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(30,47,66,0.10);
}
.add-more-quick-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.toast {
  min-height: 56px;
  max-height: 64px;
}
@media (max-width: 760px) {
  .quantity-bottom-modal {
    max-height: min(72dvh, 640px);
    padding-inline: 18px;
  }
  .quote-quantity-sheet { max-height: min(72dvh, 640px); }
  .add-more-bottom-modal[data-add-more-view="quantity"] {
    width: 100%;
    height: auto;
    max-height: min(72dvh, 640px);
  }
}

/* Ajustes solicitados: ficha rápida con galería tipo ficha completa y acciones no sticky */
.quick-product-gallery { margin-top: 4px; }
.add-more-bottom-modal[data-add-more-view="quick"],
.add-more-bottom-modal[data-add-more-view="quantity"] {
  display: block;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.add-more-bottom-modal[data-add-more-view="quick"] .add-more-quick-view,
.add-more-bottom-modal[data-add-more-view="quantity"] .add-more-quantity-view {
  overflow: visible;
}
.quantity-bottom-modal {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.quote-quantity-sheet {
  display: block;
  max-height: none;
}
.quantity-sheet-scroll {
  overflow: visible;
}
.quantity-sheet-footer,
.add-more-sticky-footer {
  position: static;
  bottom: auto;
  z-index: auto;
  margin-top: 10px;
  padding: 10px 0 calc(6px + env(safe-area-inset-bottom));
  background: transparent;
  border-top: 1px solid rgba(83,60,44,0.10);
  backdrop-filter: none;
}


.quantity-sheet-footer,
.add-more-sticky-footer {
  position: sticky !important;
  bottom: 0 !important;
  z-index: 28 !important;
  margin-top: 10px !important;
  padding: 10px 0 calc(6px + env(safe-area-inset-bottom)) !important;
  border-top: 1px solid rgba(83,60,44,0.10) !important;
  background: rgba(247,243,238,0.98) !important;
  backdrop-filter: blur(12px) !important;
  pointer-events: auto !important;
}
.quantity-sheet-footer .button,
.add-more-sticky-footer .button {
  width: 100%;
  pointer-events: auto;
}
.quantity-sheet-footer .button-secondary,
.add-more-sticky-footer .button-secondary { min-height: 46px; }
.quantity-sheet-footer .button-primary,
.add-more-sticky-footer .button-primary { min-height: 52px; }

/* Corrección: footer de cantidad vuelve a ser sticky y con interacción activa */
.quantity-bottom-modal {
  overflow: hidden;
}
.quote-quantity-sheet {
  display: grid;
  grid-template-rows: auto minmax(0, auto) auto;
  max-height: min(72dvh, 640px);
}
.quantity-sheet-scroll {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.add-more-bottom-modal[data-add-more-view="quantity"] {
  display: grid;
  grid-template-rows: auto minmax(0, auto) auto;
  overflow: hidden;
}
.add-more-bottom-modal[data-add-more-view="quantity"] .add-more-quantity-view {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.quantity-sheet-footer,
.add-more-bottom-modal[data-add-more-view="quantity"] .add-more-sticky-footer {
  position: sticky;
  bottom: 0;
  z-index: 18;
  margin-top: 10px;
  padding: 10px 0 calc(6px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(83,60,44,0.10);
  background: rgba(247,243,238,0.98);
  backdrop-filter: blur(12px);
  pointer-events: auto;
}

/* Corrección: el toast oculto no debe bloquear botones del bottom sheet */
.toast {
  pointer-events: none;
}
.toast.is-visible {
  pointer-events: auto;
}

/* Ajustes finales solicitados: doble tap, overflow horizontal y cantidad */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
button,
.button,
.text-action,
.quote-choice,
.builder-category-chips button,
.zone-stepper button,
.quick-qty button,
.thumb,
.thumb-rail button,
.add-more-target button,
.add-more-category-list button,
.add-more-zone-card,
.add-more-product-card {
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.modal,
.quantity-bottom-modal,
.add-more-bottom-modal,
.add-more-sheet-view,
.add-more-quick-view,
.add-more-quantity-view,
.add-more-products-list,
.add-more-product-card,
.quick-product-gallery,
.quick-product-gallery .gallery-stage,
.quick-product-gallery .thumb-rail {
  box-sizing: border-box;
  max-width: 100%;
}
.add-more-bottom-modal,
.add-more-bottom-modal[data-add-more-view="products"],
.add-more-bottom-modal[data-add-more-view="category"],
.add-more-bottom-modal[data-add-more-view="quick"],
.add-more-bottom-modal[data-add-more-view="quantity"] {
  overflow-x: hidden !important;
  max-width: min(720px, calc(100vw - 24px));
}
.add-more-bottom-modal * {
  min-width: 0;
  box-sizing: border-box;
}
.add-more-product-card > div > div:last-child {
  flex-wrap: wrap;
}
.add-more-product-card .button,
.add-more-product-card .text-action {
  max-width: 100%;
}
.quick-product-gallery {
  width: 100%;
  overflow: hidden;
}
.quick-product-gallery .thumb-rail {
  overflow-x: auto;
  overflow-y: hidden;
}
.quantity-bottom-modal .quick-qty,
.add-more-quantity-view .quick-qty {
  height: 44px;
  min-height: 44px;
  overflow-x: auto !important;
  overflow-y: visible !important;
  align-items: center;
  gap: 8px;
  padding: 0 0 4px !important;
  margin: 0 0 18px !important;
}
.quantity-bottom-modal .quick-qty button,
.add-more-quantity-view .quick-qty button {
  height: 38px;
  min-height: 38px;
  min-width: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 900;
}
.quantity-bottom-modal .quote-calc-box,
.add-more-quantity-view .quote-calc-box {
  margin-top: 0;
}
.quantity-sheet-footer .button-secondary,
.add-more-sticky-footer .button-secondary {
  min-height: 44px;
  font-size: 0.88rem;
  font-weight: 750;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(83,60,44,0.16);
  color: var(--navy);
}
.quantity-sheet-footer .button-primary,
.add-more-sticky-footer .button-primary {
  min-height: 52px;
  font-size: 0.96rem;
  font-weight: 900;
}
@media (max-width: 760px) {
  .modal-root {
    overflow-x: hidden;
  }
  .quantity-bottom-modal,
  .add-more-bottom-modal,
  .add-more-bottom-modal[data-add-more-view="products"],
  .add-more-bottom-modal[data-add-more-view="category"],
  .add-more-bottom-modal[data-add-more-view="quick"],
  .add-more-bottom-modal[data-add-more-view="quantity"] {
    max-width: calc(100vw - 24px);
  }
}

/* Ajustes inicio del precotizador: zonas, afinación y cantidad */
.zone-selection-screen,
.refine-question-screen {
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}
.zone-select-sticky,
.refine-select-sticky {
  position: sticky;
  bottom: 0;
  z-index: 34;
  margin: 20px -2px 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(247,243,238,0.96);
  border-top: 1px solid rgba(83,60,44,0.10);
  backdrop-filter: blur(12px);
}
.zone-select-sticky .button,
.refine-select-sticky .button {
  width: 100%;
  min-height: 54px;
  border-radius: 999px;
}
.button-disabled,
.button-disabled:disabled {
  background: rgba(83,60,44,0.15) !important;
  color: rgba(43,38,35,0.42) !important;
  border-color: transparent !important;
  cursor: not-allowed;
  box-shadow: none !important;
}
.zone-step .zone-picker {
  gap: 12px;
}
.zone-step .zone-option {
  width: 100%;
  min-height: 96px;
  padding: 18px 54px 18px 18px;
  border-radius: 24px;
}
.zone-step .zone-option.is-selected {
  border-width: 2px;
  background: rgba(30,47,66,0.055);
}
.zone-step .zone-check {
  width: 30px;
  height: 30px;
}
.refine-question-screen .refine-step {
  max-width: 680px;
  margin-inline: auto;
}
.refine-question-screen .refine-step h1 {
  margin: 12px 0 8px;
  font-size: clamp(1.65rem, 7vw, 1.9rem);
  line-height: 1.05;
}
.refine-question-screen .refine-step > p {
  margin: 0 0 18px;
  font-size: 0.92rem;
  line-height: 1.42;
}
.refine-question-screen .chip-select-grid,
.refine-question-screen .chip-select-grid.single {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  overflow: visible;
}
.refine-question-screen .option-chip {
  min-height: 50px;
  justify-content: center;
  padding: 0 16px;
  border-radius: 18px;
  font-size: 0.9rem;
}
@media (max-width: 760px) {
  .zone-step .zone-picker { grid-template-columns: 1fr; }
  .zone-step .zone-option { min-height: 94px; }
}

/* Cantidad: resumen visible y chips sin cortes */
.quantity-bottom-modal {
  max-height: min(84dvh, 760px) !important;
  padding: 16px 20px 0 !important;
  overflow: hidden !important;
}
.quote-quantity-sheet {
  max-height: min(84dvh, 760px) !important;
  grid-template-rows: auto minmax(0, 1fr) auto !important;
  gap: 8px !important;
}
.quantity-sheet-scroll {
  gap: 9px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-bottom: 8px !important;
}
.quote-quantity-sheet h3,
.add-more-quantity-view h3 {
  font-size: clamp(1.5rem, 6vw, 1.62rem) !important;
  line-height: 1.05 !important;
  margin: 4px 0 2px !important;
}
.quantity-bottom-modal .quick-qty,
.add-more-quantity-view .quick-qty {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  height: 44px !important;
  min-height: 44px !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  gap: 8px !important;
  padding: 0 0 4px !important;
  margin: 0 0 16px !important;
  scrollbar-width: none;
}
.quantity-bottom-modal .quick-qty button,
.add-more-quantity-view .quick-qty button {
  flex: 0 0 auto !important;
  height: 38px !important;
  min-height: 38px !important;
  min-width: 44px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  font-size: 0.88rem !important;
  font-weight: 900 !important;
}
.quantity-bottom-modal .quote-calc-box,
.add-more-quantity-view .quote-calc-box {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  padding: 14px 16px !important;
  border-radius: 18px !important;
  overflow: hidden;
}
.quote-calc-row {
  display: grid !important;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
  gap: 10px !important;
  align-items: baseline !important;
}
.quote-calc-row span,
.quote-calc-row b {
  min-width: 0;
}
.quote-calc-row b {
  white-space: normal !important;
  overflow-wrap: anywhere;
  text-align: right;
}
.quantity-sheet-footer,
.add-more-sticky-footer {
  position: sticky !important;
  bottom: 0 !important;
  z-index: 28 !important;
  margin-top: 8px !important;
  padding: 10px 0 calc(6px + env(safe-area-inset-bottom)) !important;
  border-top: 1px solid rgba(83,60,44,0.10) !important;
  background: rgba(247,243,238,0.98) !important;
  backdrop-filter: blur(12px) !important;
}
.quantity-sheet-footer .button-secondary,
.add-more-sticky-footer .button-secondary {
  min-height: 44px !important;
  font-size: 0.88rem !important;
  font-weight: 750 !important;
}
.quantity-sheet-footer .button-primary,
.add-more-sticky-footer .button-primary {
  min-height: 52px !important;
  font-size: 0.96rem !important;
  font-weight: 900 !important;
}
.add-more-bottom-modal[data-add-more-view="quantity"] {
  max-height: min(84dvh, 760px) !important;
}
.add-more-bottom-modal[data-add-more-view="quantity"] .add-more-quantity-view {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

/* Evitar zoom accidental por doble toque en controles rápidos */
.zone-option,
.option-chip,
.quick-qty button,
.sheet-qty-control button,
.sheet-qty-control input,
.quantity-sheet-footer .button,
.add-more-sticky-footer .button,
.add-more-product-card,
.add-more-target button,
.add-more-category-list button {
  touch-action: manipulation !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

/* Ajustes finales solicitados: selección, perfil, cantidad y balance */
.zone-select-sticky,
.refine-select-sticky {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: 0 !important;
  width: min(720px, calc(100% - 24px)) !important;
  transform: translateX(-50%);
  z-index: 140 !important;
  margin: 0 !important;
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom)) !important;
  background: rgba(247,243,238,0.96) !important;
  border-top: 1px solid rgba(83,60,44,0.10) !important;
  backdrop-filter: blur(12px) !important;
}
.zone-selection-screen,
.refine-question-screen {
  padding-bottom: calc(104px + env(safe-area-inset-bottom)) !important;
}
.refine-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(30,47,66,0.72);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.refine-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.refine-dots i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(83,60,44,0.20);
}
.refine-dots i.is-active { background: var(--navy); }
.refine-question-label {
  display: block;
  margin-top: 12px;
  color: var(--navy);
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.refine-question-screen .refine-step h1 {
  font-size: clamp(2.1rem, 7.8vw, 2.35rem) !important;
  line-height: 1.02 !important;
}
.refine-question-screen .option-chip {
  display: flex !important;
  align-items: center;
  justify-content: space-between !important;
  gap: 10px;
  text-align: left !important;
}
.refine-question-screen .option-chip > span:first-child {
  min-width: 0;
  flex: 1 1 auto;
}
.option-check {
  flex: 0 0 auto;
  color: currentColor;
  font-size: 0.9rem;
  font-weight: 900;
}
.option-chip.is-muted:not(.is-selected) {
  opacity: 0.46;
  background: rgba(215,193,167,0.22);
}
.zone-capacity-guide {
  display: grid;
  gap: 6px;
  margin: 0 16px 2px;
  padding: 15px 16px;
  border: 1px solid rgba(83,60,44,0.12);
  border-radius: 20px;
  background: rgba(255,255,255,0.62);
}
.zone-capacity-guide > span {
  color: rgba(30,47,66,0.72);
  font-size: 0.7rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.zone-capacity-guide p,
.zone-capacity-guide small,
.zone-capacity-guide em {
  margin: 0;
  color: rgba(83,60,44,0.72);
  font-size: 0.9rem;
  line-height: 1.35;
  font-style: normal;
}
.zone-capacity-guide strong {
  color: var(--navy);
  font-size: 1.38rem;
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.025em;
}
.zone-capacity-selected {
  display: grid;
  gap: 2px;
  margin-top: 6px;
}
.zone-capacity-selected small {
  color: rgba(83,60,44,0.70);
  font-size: 0.85rem;
  line-height: 1.2;
  font-weight: 700;
}
.zone-capacity-selected b {
  color: var(--navy);
  font-size: 1.04rem;
  line-height: 1.15;
  font-weight: 900;
}
.zone-capacity-status {
  display: block;
  margin-top: 4px !important;
  font-weight: 700;
}
.zone-capacity-status.is-neutral {
  color: rgba(83,60,44,0.72);
}
.zone-capacity-status.is-warn,
.zone-capacity-status.is-comfortable,
.zone-capacity-status.is-compact,
.zone-capacity-status.is-review {
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
}
.zone-capacity-status.is-warn {
  color: #533C2C;
  border-color: #D7C1A7;
  background: #F1E5D6;
}
.zone-capacity-status.is-comfortable {
  color: #294434;
  border-color: #B9C8B9;
  background: #E8EFE9;
}
.zone-capacity-status.is-compact {
  color: #1E2F42;
  border-color: #B9C7D3;
  background: #E8EEF3;
}
.zone-capacity-status.is-review {
  color: #7A3F30;
  border-color: #D7A99A;
  background: #F1DED7;
}
.quote-calc-highlight {
  display: grid;
  gap: 3px;
  padding: 12px 0 8px;
}
.quote-calc-highlight span {
  color: rgba(43,38,35,0.66);
  font-size: 0.78rem;
  line-height: 1.1;
  font-weight: 800;
}
.quote-calc-highlight strong {
  color: var(--navy);
  font-size: clamp(1.35rem, 5.2vw, 1.6rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.035em;
}
.quote-calc-highlight small {
  color: rgba(43,38,35,0.70);
  font-size: 0.88rem;
  line-height: 1.25;
  font-weight: 700;
}
.quote-calc-row.is-subtotal b {
  font-weight: 950;
  font-size: 1.04rem;
}
.zone-balance-card {
  display: grid;
  gap: 13px;
  padding: 15px 16px;
  border: 1px solid rgba(83,60,44,0.12);
  border-radius: 18px;
  background: rgba(247,243,238,0.74);
}
.zone-balance-card h4 {
  margin: 0 0 1px;
  color: var(--coffee);
  font-size: 0.94rem;
  line-height: 1.15;
  font-weight: 900;
}
.zone-balance-metric {
  display: grid;
  gap: 3px;
}
.zone-balance-label {
  color: rgba(83,60,44,0.68);
  font-size: 0.84rem;
  line-height: 1.25;
  font-weight: 800;
}
.zone-balance-primary {
  color: var(--navy);
  font-size: clamp(1.25rem, 5vw, 1.38rem);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.025em;
}
.zone-balance-secondary {
  color: rgba(43,38,35,0.68);
  font-size: 0.86rem;
  line-height: 1.25;
  font-weight: 700;
}
.zone-balance-seat {
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.15;
  font-weight: 900;
}
.zone-balance-status {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(30,47,66,0.08);
  color: var(--navy);
}
.zone-balance-status strong {
  font-size: 0.88rem;
  line-height: 1.2;
  font-weight: 950;
}
.zone-balance-status span {
  font-size: 0.84rem;
  line-height: 1.35;
  font-weight: 700;
}
.zone-balance-status.is-warn { background: #F1E5D6; border: 1px solid #D7C1A7; color: #533C2C; }
.zone-balance-status.is-comfortable { background: #E8EFE9; border: 1px solid #B9C8B9; color: #294434; }
.zone-balance-status.is-compact { background: #E8EEF3; border: 1px solid #B9C7D3; color: #1E2F42; }
.zone-balance-status.is-review { background: #F1DED7; border: 1px solid #D7A99A; color: #7A3F30; }
@media (max-width: 760px) {
  .zone-select-sticky,
  .refine-select-sticky {
    width: calc(100% - 24px) !important;
  }
  .refine-question-screen .refine-step h1 {
    font-size: clamp(2.05rem, 9vw, 2.3rem) !important;
  }
}

/* Ajustes finales del flujo de precotización: toast sin acción, scroll interno y zona de producto */
.toast {
  justify-content: center;
  text-align: center;
}
.toast.has-action {
  justify-content: space-between;
  text-align: left;
}
.toast:not(.has-action) span {
  width: 100%;
  text-align: center;
}

.quote-zone-add-product {
  justify-self: start;
  border: 0;
  background: transparent;
  color: var(--navy);
  padding: 4px 0;
  font-size: 0.88rem;
  line-height: 1.2;
  font-weight: 900;
  text-align: left;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.quote-zone-add-product:active { transform: scale(0.99); }

.add-more-bottom-modal {
  max-width: min(720px, calc(100vw - 24px)) !important;
  overflow-x: hidden !important;
}
.add-more-bottom-modal:not([data-add-more-view="quantity"]) {
  display: flex !important;
  flex-direction: column;
  max-height: min(92dvh, calc(100dvh - 24px)) !important;
  overflow: hidden !important;
}
.add-more-bottom-modal[data-add-more-view="home"] {
  height: auto !important;
  min-height: 0 !important;
  max-height: min(72dvh, calc(100dvh - 24px)) !important;
}
.add-more-bottom-modal[data-add-more-view="products"],
.add-more-bottom-modal[data-add-more-view="category"],
.add-more-bottom-modal[data-add-more-view="quick"],
.add-more-bottom-modal[data-add-more-view="destination"],
.add-more-bottom-modal[data-add-more-view="duplicate-same"],
.add-more-bottom-modal[data-add-more-view="duplicate-other"] {
  height: min(92dvh, calc(100dvh - 24px)) !important;
}
.add-more-bottom-modal .add-more-internal-header,
.add-more-bottom-modal .sheet-handle,
.add-more-bottom-modal .add-more-sticky-footer {
  flex: 0 0 auto;
}
.add-more-bottom-modal .add-more-sheet-view,
.add-more-bottom-modal .add-more-quick-view,
.add-more-bottom-modal .duplicate-product-sheet {
  min-height: 0;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-right: 2px;
}
.add-more-bottom-modal[data-add-more-view="quantity"] {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: min(84dvh, 760px) !important;
  overflow: hidden !important;
}
.add-more-bottom-modal[data-add-more-view="quantity"] .add-more-quantity-view {
  min-height: 0;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.add-more-bottom-modal[data-add-more-view="quantity"] .add-more-sticky-footer {
  position: sticky !important;
  bottom: 0 !important;
  z-index: 28 !important;
}

.add-more-destination {
  display: grid;
  gap: 7px;
  padding: 13px 14px;
  border: 1px solid rgba(83,60,44,0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.58);
}
.add-more-destination > span {
  color: rgba(30,47,66,0.68);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
}
.add-more-destination p {
  margin: 0;
  color: rgba(43,38,35,0.68);
  font-size: 0.86rem;
  line-height: 1.3;
}
.add-more-destination strong { color: var(--coffee); }
.add-more-destination .text-action {
  justify-self: start;
  font-size: 0.84rem;
}
.add-more-destination-list {
  display: grid;
  gap: 10px;
}
.add-more-zone-card.is-selected {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(30,47,66,0.10);
}
.add-more-zone-card.is-selected > b {
  background: var(--navy);
  color: var(--bg);
}

@media (max-width: 760px) {
  .toast:not(.has-action) {
    justify-content: center !important;
  }
  .toast:not(.has-action) span {
    text-align: center;
  }
}

/* Correcciones de estado vacío, balance por zona y acciones de resumen */
.quote-empty-state {
  display: grid;
  gap: 12px;
  text-align: left;
}
.quote-empty-state h2 {
  margin: 0;
  color: var(--coffee);
  font-size: clamp(1.7rem, 7vw, 2.25rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.quote-empty-state p {
  margin: 0;
  color: rgba(43,38,35,0.70);
  font-size: 0.95rem;
  line-height: 1.45;
}
.quote-empty-profile {
  display: block;
  color: var(--navy);
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 800;
}
.quote-empty-actions {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}
.quote-zone-group.is-empty {
  background: rgba(255,255,255,0.34);
}
.quote-zone-empty {
  padding: 14px 15px;
  border: 1px solid rgba(83,60,44,0.10);
  border-radius: 18px;
  background: rgba(247,243,238,0.70);
}
.quote-zone-empty p {
  margin: 0;
  color: rgba(43,38,35,0.64);
  font-size: 0.88rem;
  line-height: 1.35;
  font-weight: 700;
}
.quote-zone-actions {
  display: grid;
  gap: 8px;
  justify-items: start;
}
.quote-zone-remove {
  border: 0;
  background: transparent;
  color: rgba(43,38,35,0.58);
  padding: 2px 0;
  font-size: 0.84rem;
  line-height: 1.2;
  font-weight: 800;
  text-align: left;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Ajustes de uso en cotizador y acciones de resumen */
.wizard-badges span.uso-diario {
  background: rgba(215,193,167,0.22);
  border: 1px solid rgba(83,60,44,0.14);
  color: var(--coffee);
}
.wizard-badges span.uso-alto {
  background: rgba(30,47,66,0.10);
  border: 1px solid rgba(30,47,66,0.18);
  color: var(--navy);
}
.wizard-badges span.uso-intenso {
  background: var(--navy);
  border: 1px solid var(--navy);
  color: var(--bg);
}
.wizard-badges span {
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Correcciones finales: menú/overlays y bottom sheet de cantidad responsive */
.quantity-bottom-modal {
  width: min(620px, calc(100vw - 24px)) !important;
  height: min(86dvh, 760px) !important;
  max-height: calc(100dvh - 16px) !important;
  padding: 0 20px !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
.quote-quantity-sheet {
  height: 100% !important;
  max-height: none !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  gap: 0 !important;
}
.quantity-sheet-header {
  flex: 0 0 auto;
  display: grid;
  gap: 10px;
  padding: 16px 0 10px;
}
.quantity-sheet-scroll {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding: 0 0 calc(88px + env(safe-area-inset-bottom)) !important;
}
.quantity-sheet-footer {
  flex: 0 0 auto !important;
  position: sticky !important;
  bottom: 0 !important;
  z-index: 40 !important;
  margin-top: 0 !important;
  padding: 10px 0 calc(8px + env(safe-area-inset-bottom)) !important;
  border-top: 1px solid rgba(83,60,44,0.10) !important;
  background: rgba(247,243,238,0.98) !important;
  backdrop-filter: blur(12px) !important;
}
.add-more-bottom-modal[data-add-more-view="quantity"] {
  width: min(720px, calc(100vw - 24px)) !important;
  height: min(88dvh, 780px) !important;
  max-height: calc(100dvh - 16px) !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
.add-more-bottom-modal[data-add-more-view="quantity"] .add-more-internal-header {
  flex: 0 0 auto !important;
}
.add-more-bottom-modal[data-add-more-view="quantity"] .add-more-quantity-view {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  padding: 0 !important;
}
.add-more-quantity-header {
  flex: 0 0 auto;
  display: grid;
  gap: 10px;
  padding: 16px 20px 10px;
}
.add-more-quantity-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding: 0 20px calc(92px + env(safe-area-inset-bottom));
}
.add-more-bottom-modal[data-add-more-view="quantity"] .add-more-sticky-footer {
  flex: 0 0 auto !important;
  position: sticky !important;
  bottom: 0 !important;
  z-index: 40 !important;
  margin-top: 0 !important;
  padding: 10px 20px calc(8px + env(safe-area-inset-bottom)) !important;
  border-top: 1px solid rgba(83,60,44,0.10) !important;
  background: rgba(247,243,238,0.98) !important;
  backdrop-filter: blur(12px) !important;
}
.add-more-destination.is-required {
  border: 1px solid rgba(83,60,44,0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.62);
  padding: 14px 15px;
}
.add-more-destination.is-required .button {
  width: 100%;
  margin-top: 6px;
}
.add-more-destination.is-selected {
  border: 1px solid rgba(30,47,66,0.12);
  border-radius: 18px;
  background: rgba(30,47,66,0.05);
  padding: 14px 15px;
}
.quantity-bottom-modal .quick-qty,
.add-more-quantity-view .quick-qty {
  min-height: 44px !important;
  height: 44px !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  padding-bottom: 4px !important;
  margin-bottom: 16px !important;
}
.quantity-bottom-modal .quick-qty button,
.add-more-quantity-view .quick-qty button {
  height: 38px !important;
  min-height: 38px !important;
  min-width: 42px !important;
  padding: 0 13px !important;
}
@media (max-height: 700px) {
  .quantity-bottom-modal,
  .add-more-bottom-modal[data-add-more-view="quantity"] {
    height: min(92dvh, calc(100dvh - 8px)) !important;
    max-height: calc(100dvh - 8px) !important;
  }
  .quote-quantity-sheet h3,
  .add-more-quantity-view h3 {
    font-size: 1.42rem !important;
  }
  .quantity-sheet-header,
  .add-more-quantity-header {
    gap: 8px;
    padding-top: 12px;
  }
}
@media (min-height: 860px) {
  .quantity-bottom-modal,
  .add-more-bottom-modal[data-add-more-view="quantity"] {
    height: min(82dvh, 760px) !important;
  }
}

.quantity-bottom-modal {
  width: min(620px, calc(100vw - 24px)) !important;
  height: min(88dvh, calc(100dvh - 12px)) !important;
  max-height: calc(100dvh - 12px) !important;
  padding: 0 20px !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}
.quote-quantity-sheet {
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  gap: 0 !important;
}
.quantity-sheet-header {
  flex: 0 0 auto !important;
  padding: 16px 0 10px !important;
}
.quantity-sheet-scroll {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  touch-action: pan-y !important;
  padding: 0 0 calc(96px + env(safe-area-inset-bottom)) !important;
}
.quantity-sheet-footer {
  flex: 0 0 auto !important;
  position: sticky !important;
  bottom: 0 !important;
  z-index: 45 !important;
  margin-top: 0 !important;
  padding: 10px 0 calc(8px + env(safe-area-inset-bottom)) !important;
  border-top: 1px solid rgba(83,60,44,0.10) !important;
  background: rgba(247,243,238,0.98) !important;
  backdrop-filter: blur(12px) !important;
}
.add-more-bottom-modal[data-add-more-view="quantity"] {
  width: min(720px, calc(100vw - 24px)) !important;
  height: min(90dvh, calc(100dvh - 12px)) !important;
  max-height: calc(100dvh - 12px) !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto !important;
  overflow: hidden !important;
}
.add-more-bottom-modal[data-add-more-view="destination"] {
  width: min(720px, calc(100vw - 24px)) !important;
  max-height: calc(100dvh - 18px) !important;
  overflow: hidden !important;
}
.add-more-bottom-modal[data-add-more-view="destination"] .add-more-sheet-view {
  max-height: min(76dvh, calc(100dvh - 110px));
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.add-more-bottom-modal[data-add-more-view="quantity"] .add-more-quantity-view {
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  padding: 0 !important;
}
.add-more-quantity-header {
  flex: 0 0 auto !important;
  padding: 16px 20px 10px !important;
}
.add-more-quantity-body {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  touch-action: pan-y !important;
  padding: 0 20px calc(96px + env(safe-area-inset-bottom)) !important;
}
.add-more-bottom-modal[data-add-more-view="quantity"] .add-more-sticky-footer {
  position: sticky !important;
  bottom: 0 !important;
  z-index: 45 !important;
  margin-top: 0 !important;
  padding: 10px 20px calc(8px + env(safe-area-inset-bottom)) !important;
  border-top: 1px solid rgba(83,60,44,0.10) !important;
  background: rgba(247,243,238,0.98) !important;
  backdrop-filter: blur(12px) !important;
}
.quantity-bottom-modal .quote-calc-box,
.add-more-quantity-view .quote-calc-box {
  overflow: visible !important;
}
.quote-calc-capacity {
  display: grid;
  gap: 3px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(83,60,44,0.12);
}
.quote-calc-capacity span {
  color: rgba(43,38,35,0.66);
  font-size: 0.82rem;
  line-height: 1.1;
  font-weight: 800;
}
.quote-calc-capacity strong {
  color: var(--navy);
  font-size: clamp(1.28rem, 5vw, 1.5rem);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.035em;
}
.quote-calc-capacity small {
  color: rgba(43,38,35,0.70);
  font-size: 0.88rem;
  line-height: 1.25;
  font-weight: 700;
}
.add-more-destination {
  margin-top: 10px;
}
.add-more-quantity-view .button[disabled],
.quantity-sheet-footer .button[disabled] {
  background: rgba(83,60,44,0.15) !important;
  color: rgba(43,38,35,0.42) !important;
  border-color: transparent !important;
  cursor: not-allowed;
  box-shadow: none !important;
}
@media (max-height: 700px) {
  .quantity-bottom-modal,
  .add-more-bottom-modal[data-add-more-view="quantity"] {
    height: min(92dvh, calc(100dvh - 8px)) !important;
    max-height: calc(100dvh - 8px) !important;
  }
}
@media (min-height: 860px) {
  .quantity-bottom-modal,
  .add-more-bottom-modal[data-add-more-view="quantity"] {
    height: min(84dvh, 780px) !important;
  }
}

/* Micro-transición del perfil del cotizador */
.recommendation-transition-screen {
  min-height: min(620px, calc(100dvh - 120px));
  display: grid;
  align-items: center;
  padding: clamp(18px, 4vw, 32px) 0;
}
.recommendation-transition-card {
  max-width: 720px;
  background: rgba(255,255,255,0.66);
}
.recommendation-transition-card h1 {
  color: var(--coffee);
  font-size: clamp(2rem, 8vw, 3.1rem);
  line-height: 0.98;
  margin-top: 8px;
}
.recommendation-profile-line {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 18px auto 0;
  color: var(--navy);
  font-size: clamp(0.86rem, 3.3vw, 1rem);
  line-height: 1.4;
  font-weight: 900;
}
.recommendation-checks {
  display: grid;
  gap: 9px;
  width: min(420px, 100%);
  margin: 24px auto 0;
  text-align: left;
}
.recommendation-checks span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(83,60,44,0.10);
  border-radius: 999px;
  background: rgba(247,243,238,0.74);
  color: var(--navy);
  font-size: 0.88rem;
  line-height: 1.2;
  font-weight: 850;
  opacity: 0;
  transform: scale(0.98);
  animation: recommendation-check 420ms ease-out forwards;
}
.recommendation-checks span:nth-child(2) { animation-delay: 120ms; }
.recommendation-checks span:nth-child(3) { animation-delay: 240ms; }
@keyframes recommendation-check {
  to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .recommendation-checks span { animation: none; opacity: 1; transform: none; }
}

/* Pantalla final de datos de la precotización */
.client-form-v2 {
  width: min(860px, 100%);
  padding: clamp(20px, 4vw, 34px);
}
.client-form-v2 h1 {
  margin: 0;
  color: var(--coffee);
  font-size: clamp(2rem, 7vw, 2.15rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 900;
}
.client-form-v2 > p {
  margin: 12px 0 0;
  max-width: 720px;
  color: rgba(43,38,35,0.68);
  font-size: 0.96rem;
  line-height: 1.48;
}
.client-form-v2 .form-section {
  margin-top: 28px;
}
.client-form-v2 .form-section h2,
.client-form-v2 .client-inline-block h3 {
  margin: 0 0 12px;
  color: var(--coffee);
  font-size: 0.96rem;
  line-height: 1.2;
  font-weight: 900;
}
.client-form-v2 .form-section-copy {
  margin: 0 0 10px;
  color: rgba(43,38,35,0.68);
  font-size: 0.9rem;
  line-height: 1.4;
}
.client-form-v2 .form-grid {
  margin-top: 0;
}
.client-form-v2 label {
  color: var(--coffee);
  font-size: 0.88rem;
  font-weight: 800;
}
.client-form-v2 input,
.client-form-v2 select,
.client-form-v2 textarea {
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(83,60,44,0.16);
  background: rgba(255,255,255,0.62);
  color: var(--navy);
  font-size: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.client-form-v2 textarea {
  min-height: 126px;
  line-height: 1.5;
}
.client-form-v2 input:focus,
.client-form-v2 select:focus,
.client-form-v2 textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30,47,66,0.10);
  outline: none;
}
.client-form-v2 label small,
.client-date-field small,
.client-call-time small,
.client-submit-note {
  color: rgba(43,38,35,0.58);
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 600;
}
.client-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.client-chip {
  min-height: 42px;
  border: 1px solid rgba(83,60,44,0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.66);
  color: var(--navy);
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 850;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}
.client-chip.is-selected {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--bg);
}
.client-chip b {
  font-size: 0.8rem;
  line-height: 1;
}
.client-call-time,
.client-date-field {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.client-call-time.is-hidden,
.client-date-field.is-hidden {
  display: none;
}
.client-profile-card {
  margin-top: 18px;
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(83,60,44,0.12);
  border-radius: 20px;
  background: rgba(247,243,238,0.66);
}
.client-profile-card span {
  color: var(--coffee);
  font-size: 0.9rem;
  font-weight: 900;
}
.client-profile-card p {
  margin: 0;
  color: rgba(43,38,35,0.72);
  font-size: 0.86rem;
  line-height: 1.35;
}
.client-profile-card .text-action {
  justify-self: start;
  margin-top: 2px;
}
.client-inline-block,
.client-date-goal {
  margin-top: 18px;
}
.client-toggle-line {
  display: grid !important;
  grid-template-columns: 22px 1fr;
  gap: 10px !important;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid rgba(83,60,44,0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.54);
}
.client-toggle-line span,
.client-toggle-line small {
  grid-column: 2;
}
.client-toggle-line input {
  grid-row: 1 / span 2;
  width: 18px;
  min-height: auto;
  height: 18px;
  margin-top: 2px;
}
.client-option-cards label {
  min-height: 72px;
}
.client-option-cards input:checked + span strong,
.client-option-cards label:has(input:checked) strong {
  color: var(--navy);
}
.client-option-cards label:has(input:checked) {
  border-color: var(--navy);
  background: rgba(30,47,66,0.05);
}
.client-form-actions {
  display: grid;
  margin-top: 28px;
}
.client-form-actions .button {
  width: 100%;
  min-height: 54px;
  border-radius: 999px;
}
.client-form-actions .button:disabled {
  cursor: not-allowed;
  border-color: rgba(83,60,44,0.12);
  background: rgba(215,193,167,0.42);
  color: rgba(43,38,35,0.48);
  box-shadow: none;
}
.client-submit-note {
  margin-top: 10px !important;
  text-align: center;
}
.client-profile-editor {
  display: grid;
  gap: 18px;
}
.client-profile-editor h2 {
  margin: 0;
  color: var(--coffee);
  font-size: clamp(1.5rem, 6vw, 1.9rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.client-profile-editor p {
  margin: -8px 0 0;
  color: rgba(43,38,35,0.68);
  line-height: 1.45;
}
.client-profile-editor h3 {
  margin: 0 0 10px;
  color: var(--coffee);
  font-size: 0.94rem;
}
.confirmation-email {
  display: block;
  margin: 6px auto 14px;
  color: var(--navy);
  font-size: clamp(1rem, 4vw, 1.25rem);
  word-break: break-word;
}
@media (max-width: 760px) {
  .client-form-v2 .form-grid {
    grid-template-columns: 1fr;
  }
  .client-chip-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .client-chip-row::-webkit-scrollbar { display: none; }
  .client-chip { flex: 0 0 auto; }
}

/* Ajuste final Paso 5 · Datos */
.client-data-layout {
  width: min(100%, 760px);
  padding: 14px 16px calc(32px + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
.client-data-layout .screen-nav {
  min-height: 38px;
  margin-bottom: 18px;
  padding: 0;
}
.client-data-layout .wizard-progress-label {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 0.875rem;
  line-height: 1.2;
  font-weight: 900;
}
.client-data-layout .wizard-progress {
  width: 100%;
  height: 7px;
  margin: 0 0 18px;
  border-radius: 999px;
  background: #DEDAD3;
}
.client-data-layout .wizard-progress span {
  background: var(--navy);
}
.client-form-v2,
.client-form-v2 * {
  box-sizing: border-box;
  max-width: 100%;
}
.client-form-v2 {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  overflow: hidden;
  border: 1px solid #E3DAD0;
  border-radius: 26px;
  background: #FFFEFC;
  box-shadow: 0 12px 32px rgba(30,47,66,0.06);
}
.client-form-v2 h1 {
  margin: 0;
  color: var(--coffee);
  font-size: clamp(1.94rem, 8.8vw, 2.12rem);
  line-height: 1.01;
  letter-spacing: -0.045em;
  font-weight: 900;
}
.client-form-v2 > p {
  margin: 10px 0 24px;
  max-width: none;
  color: #5F5751;
  font-size: 0.94rem;
  line-height: 1.45;
}
.client-form-v2 .form-section {
  margin-top: 24px;
}
.client-form-v2 .form-section:first-of-type {
  margin-top: 0;
}
.client-form-v2 .form-section h2,
.client-form-v2 .client-inline-block h2 {
  margin: 0 0 12px;
  color: var(--coffee);
  font-size: 1.125rem;
  line-height: 1.2;
  font-weight: 900;
}
.client-form-v2 .form-grid {
  width: 100%;
  margin: 0;
  gap: 16px;
}
.client-form-v2 label {
  display: grid;
  gap: 7px;
  color: var(--coffee);
  font-size: 0.94rem;
  line-height: 1.25;
  font-weight: 800;
}
.client-form-v2 input,
.client-form-v2 select,
.client-form-v2 textarea {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  border: 1px solid #DDD4CA;
  border-radius: 15px;
  background: #FCFAF7;
  padding: 0 15px;
  color: #2B2623;
  font-size: 16px;
  outline: none;
}
.client-form-v2 input::placeholder,
.client-form-v2 textarea::placeholder {
  color: #A69C92;
  font-size: 0.91rem;
}
.client-form-v2 textarea {
  min-height: 106px;
  padding: 14px 15px;
  line-height: 1.4;
  resize: vertical;
}
.client-form-v2 input:focus,
.client-form-v2 select:focus,
.client-form-v2 textarea:focus {
  border-color: var(--navy);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(30,47,66,0.08);
}
.client-form-v2 label small,
.client-date-field small,
.client-submit-note {
  margin-top: -2px;
  color: #746A61;
  font-size: 0.8rem;
  line-height: 1.35;
  font-weight: 600;
}
.client-profile-card {
  margin: 0;
  padding: 14px 16px;
  gap: 6px;
  border: 1px solid #E4DBCF;
  border-radius: 16px;
  background: #F8F4EE;
}
.client-profile-card p {
  margin: 0;
  color: #2B2623;
  font-size: 0.92rem;
  line-height: 1.45;
}
.client-profile-card .text-action {
  justify-self: start;
  margin-top: 4px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 900;
}
.client-profile-card.is-pending {
  border-color: #D7A99A;
  background: #FFF8F5;
}
.client-profile-card.is-pending .button {
  justify-self: start;
  margin-top: 6px;
}

.client-form-v2 .client-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
  padding-bottom: 0;
}
.client-form-v2 .client-chip {
  min-height: 38px;
  border: 1px solid #DDD4CA;
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--navy);
  padding: 0 14px;
  font-size: 0.82rem;
  font-weight: 900;
  flex: 0 1 auto;
}
.client-form-v2 .client-chip.is-selected {
  border-color: var(--navy);
  background: var(--navy);
  color: #FFFFFF;
}
.client-date-goal {
  margin-top: 24px;
}
.client-toggle-line {
  display: flex !important;
  align-items: center;
  gap: 10px !important;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #E1D8CC;
  border-radius: 15px;
  background: #FFFFFF;
}
.client-toggle-line span {
  color: var(--coffee);
  font-size: 0.91rem;
  font-weight: 800;
}
.client-toggle-line input {
  width: 18px;
  height: 18px;
  min-height: auto;
  margin: 0;
  flex: 0 0 auto;
}
.client-toggle-line small {
  display: none;
}
.client-date-field {
  margin-top: 12px;
  gap: 7px;
}
.client-option-cards {
  display: grid;
  gap: 10px;
  margin-top: 0;
}
.client-option-cards label {
  position: relative;
  display: block;
  width: 100%;
  min-height: 70px;
  padding: 14px 14px 14px 44px;
  border: 1px solid #E1D8CC;
  border-radius: 17px;
  background: #FFFFFF;
}
.client-option-cards label input {
  position: absolute;
  left: 14px;
  top: 18px;
  width: 18px;
  height: 18px;
  min-height: auto;
  margin: 0;
  accent-color: var(--navy);
}
.client-option-cards label span {
  display: grid;
  gap: 2px;
}
.client-option-cards label strong {
  color: var(--coffee);
  font-size: 0.94rem;
  line-height: 1.25;
  font-weight: 900;
}
.client-option-cards label small {
  color: #6F665D;
  font-size: 0.8rem;
  line-height: 1.3;
  font-weight: 500;
}
.client-option-cards label:has(input:checked) {
  border-color: var(--navy);
  background: rgba(30,47,66,0.045);
}
.client-form-actions {
  margin-top: 22px;
}
.client-form-actions .button {
  min-height: 56px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 900;
}
.client-submit-note {
  display: block;
  margin-top: 10px !important;
  color: #746A61;
  text-align: left;
}
@media (max-width: 390px) {
  .client-data-layout { padding-inline: 14px; }
  .client-form-v2 { padding: 18px; border-radius: 24px; }
  .client-form-v2 h1 { font-size: clamp(1.82rem, 8.4vw, 1.95rem); }
  .client-form-v2 .form-section h2 { font-size: 1.05rem; }
}
@media (max-width: 340px) {
  .client-form-v2 { padding: 16px; }
  .client-form-v2 h1 { font-size: 1.75rem; }
  .client-form-v2 .client-chip { font-size: 0.78rem; padding-inline: 12px; }
}
.client-form-v2 .form-grid > label:only-child { grid-column: 1 / -1; }

/* Estado de entrega searchable */
.client-field {
  display: grid;
  gap: 8px;
  color: var(--coffee);
  font-weight: 700;
}
.client-field-label {
  display: block;
  color: var(--coffee);
  font-size: 14.5px;
  font-weight: 700;
}
.client-select-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  border: 1px solid #DDD4CA;
  border-radius: 15px;
  background: #FCFAF7;
  color: #2B2623;
  padding: 0 15px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  box-sizing: border-box;
}
.client-select-button.is-placeholder {
  color: #A69C92;
  font-size: 14.5px;
  font-weight: 600;
}
.client-select-button:focus {
  border-color: #1E2F42;
  box-shadow: 0 0 0 3px rgba(30,47,66,0.08);
  background: #FFFFFF;
  outline: none;
}
.client-select-button b {
  color: #1E2F42;
  font-size: 0.9rem;
  line-height: 1;
}
.field-error {
  color: #7A3F30;
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 600;
}
.field-error.is-hidden { display: none; }
.state-bottom-modal {
  width: min(620px, 100%);
  height: min(86dvh, calc(100dvh - 18px));
  max-height: calc(100dvh - 18px);
  margin: auto auto 0;
  border-radius: 28px 28px 0 0;
  padding: 0;
  overflow: hidden;
  background: #F7F3EE;
  display: flex;
  flex-direction: column;
}
.delivery-state-sheet {
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.delivery-state-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  gap: 14px;
  padding: 14px 20px 16px;
  border-bottom: 1px solid rgba(83,60,44,0.10);
  background: rgba(247,243,238,0.98);
  backdrop-filter: blur(12px);
}
.delivery-state-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}
.delivery-state-title-row h2 {
  margin: 0 0 6px;
  color: #533C2C;
  font-size: clamp(1.45rem, 6vw, 1.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 900;
}
.delivery-state-title-row p {
  margin: 0;
  color: rgba(43,38,35,0.68);
  font-size: 0.9rem;
  line-height: 1.38;
}
.delivery-state-title-row .modal-close {
  position: static;
  float: none;
  flex: 0 0 auto;
}
.delivery-state-head input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(83,60,44,0.14);
  border-radius: 15px;
  background: #FFFFFF;
  color: #2B2623;
  padding: 0 15px;
  font-size: 16px;
  font-weight: 600;
  outline: none;
  box-sizing: border-box;
}
.delivery-state-head input:focus {
  border-color: #1E2F42;
  box-shadow: 0 0 0 3px rgba(30,47,66,0.08);
}
.delivery-state-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 18px 20px calc(22px + env(safe-area-inset-bottom));
}
.delivery-state-body h3 {
  margin: 0 0 10px;
  color: #1E2F42;
  font-size: 0.76rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.delivery-state-suggested {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.delivery-state-list {
  display: grid;
  gap: 8px;
}
.delivery-state-option {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(83,60,44,0.12);
  border-radius: 16px;
  background: rgba(255,255,255,0.72);
  color: #1E2F42;
  padding: 0 14px;
  font-size: 0.95rem;
  font-weight: 800;
  text-align: left;
}
.delivery-state-suggested .delivery-state-option {
  width: auto;
  min-height: 38px;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 0.84rem;
}
.delivery-state-option.is-selected {
  border-color: #1E2F42;
  background: #1E2F42;
  color: #FFFFFF;
}
.delivery-state-option b {
  flex: 0 0 auto;
}
@media (max-width: 760px) {
  .state-bottom-modal {
    width: 100%;
    height: min(88dvh, calc(100dvh - 14px));
    max-height: calc(100dvh - 14px);
  }
  .delivery-state-head,
  .delivery-state-body {
    padding-inline: 18px;
  }
}

/* Integración backend cotizador automático */
.quote-submit-state .recommendation-checks,
.quote-confirmation-card .hero-actions { margin-top: 18px; }
.confirmation-summary {
  width: 100%;
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid rgba(83, 60, 44, 0.12);
  border-radius: 20px;
  background: #FCFAF7;
  text-align: left;
}
.confirmation-summary p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
  font-size: 0.92rem;
}
.confirmation-summary span { color: rgba(83, 60, 44, 0.72); font-weight: 700; }
.confirmation-summary strong { color: #1E2F42; text-align: right; }
.button.is-disabled { pointer-events: none; opacity: .55; }
.client-form [disabled] { opacity: .72; }
@media (max-width: 430px) {
  .confirmation-summary p { display: block; }
  .confirmation-summary strong { display: block; text-align: left; margin-top: 2px; }
}

/* Ajustes de validación y envío de precotización */
.client-form-v2 [data-client-field].is-error .client-field-label,
.client-form-v2 label.is-error,
.client-form-v2 [data-client-field].is-error > h2 {
  color: #7A3F30;
}
.client-form-v2 [data-client-field].is-error input,
.client-form-v2 [data-client-field].is-error textarea,
.client-form-v2 [data-client-field].is-error .client-select-button {
  border-color: #D7A99A;
  background: #FFF8F5;
}
.client-form-v2 [data-client-field].is-error .client-chip-row {
  padding: 8px;
  border: 1px solid #D7A99A;
  border-radius: 16px;
  background: #FFF8F5;
}
.field-helper { display: block; }
.client-form-actions .button.is-incomplete {
  background: rgba(215,193,167,0.42);
  color: rgba(43,38,35,0.58);
  box-shadow: none;
}
.submit-progress-bar {
  width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #E4DED6;
  margin: 22px 0;
}
.submit-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #1E2F42;
  transition: width 450ms ease;
}
.submit-stage-list {
  width: 100%;
  display: grid;
  gap: 10px;
  margin-top: 4px;
}
.submit-stage {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid #E3DAD0;
  border-radius: 16px;
  background: #FFFEFC;
  color: #746A61;
  font-weight: 800;
  text-align: left;
}
.submit-stage i {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  color: #9B9188;
}
.submit-stage.is-complete i {
  background: #E8EFE9;
  color: #294434;
}
.submit-stage.is-complete span { color: #1E2F42; }
.submit-stage.is-active {
  border-color: #D7C1A7;
  background: #F8F4EE;
  color: #1E2F42;
}
.submit-stage.is-active i {
  border: 2px solid rgba(30,47,66,0.18);
  border-top-color: #1E2F42;
  animation: submit-spin 820ms linear infinite;
}
.submit-stage.is-pending i { color: #9B9188; }
@keyframes submit-spin { to { transform: rotate(360deg); } }
.submit-note {
  margin: 16px 0 0;
  color: #5F5751;
  font-size: 0.88rem;
  font-weight: 700;
}
.submit-delay-actions {
  width: 100%;
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.submit-delay-actions.is-hidden { display: none; }
.submit-result-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: #F1DED7;
  color: #7A3F30;
  font-weight: 900;
  font-size: 1.4rem;
}
.submit-result-icon.is-success,
.submit-result-card.is-success-partial .submit-result-icon {
  background: #E8EFE9;
  color: #294434;
}
.submit-result-card.is-info .submit-result-icon {
  background: #E8EEF3;
  color: #1E2F42;
}
.submit-result-card.is-warning .submit-result-icon {
  background: #F1E5D6;
  color: #533C2C;
}
.submit-error-meta {
  width: 100%;
  display: grid;
  gap: 8px;
  margin: 16px 0 2px;
  padding: 14px 16px;
  border: 1px solid #E3DAD0;
  border-radius: 18px;
  background: #FCFAF7;
  text-align: left;
}
.submit-error-meta p { margin: 0; display: grid; gap: 2px; }
.submit-error-meta span { color: #746A61; font-size: .82rem; font-weight: 800; }
.submit-error-meta strong { color: #1E2F42; word-break: break-word; }
.confirmation-summary.compact {
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.confirmation-summary.compact p {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(83,60,44,0.10);
}
.confirmation-summary.compact p:last-child { border-bottom: 0; }
.confirmation-summary.compact span {
  font-size: .8rem;
  text-transform: none;
}
.confirmation-summary.compact strong {
  display: block;
  text-align: left;
  font-size: 1rem;
  word-break: break-word;
}
.copy-folio {
  display: inline-flex;
  min-height: 28px;
  margin-left: 6px;
  padding: 0 9px;
  border: 1px solid rgba(30,47,66,0.18);
  border-radius: 999px;
  background: #fff;
  color: #1E2F42;
  font-size: .72rem;
  font-weight: 900;
  vertical-align: middle;
}
@media (max-width: 430px) {
  .quote-submit-state .hero-actions,
  .quote-confirmation-card .hero-actions { width: 100%; display: grid; gap: 10px; }
}

/* Catálogo · precotización y organización por zonas */
.quote-zone-intro {
  margin: -6px 0 2px;
  color: rgba(43,38,35,0.64);
  font-size: 0.86rem;
  line-height: 1.35;
}
.organize-selection-card,
.manage-note {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid #E4DBCF;
  border-radius: 20px;
  background: #F8F4EE;
}
.organize-selection-card h4 {
  margin: 0;
  color: #533C2C;
  font-size: 0.98rem;
  font-weight: 800;
}
.organize-selection-card p,
.manage-note {
  margin: 0;
  color: #6F665D;
  font-size: 0.84rem;
  line-height: 1.35;
}
.organize-selection-card .button {
  width: 100%;
  min-height: 44px;
  background: #FFFFFF;
  border-color: #1E2F42;
  color: #1E2F42;
}
.catalog-organize-prompt {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 260;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #E3DAD0;
  border-radius: 22px;
  background: #FFFEFC;
  box-shadow: 0 14px 36px rgba(30,47,66,0.16);
}
.catalog-organize-prompt strong {
  display: block;
  color: #1E2F42;
  font-size: 1rem;
  font-weight: 800;
}
.catalog-organize-prompt span {
  display: block;
  margin-top: 3px;
  color: #6F665D;
  font-size: 0.86rem;
}
.catalog-organize-prompt p {
  margin: 8px 0 0;
  color: #533C2C;
  font-size: 0.9rem;
  font-weight: 700;
}
.catalog-organize-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.catalog-organize-actions .button {
  min-height: 46px;
  padding-inline: 10px;
  font-size: 0.82rem;
}
.organize-selection-bottom-modal {
  width: min(620px, 100%);
  height: min(88dvh, calc(100dvh - 18px));
  max-height: calc(100dvh - 18px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  padding: 0;
}
.organize-selection-bottom-modal .add-more-sheet-view {
  overflow-y: auto;
  min-height: 0;
  padding: 18px 20px 20px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.organize-zone-list {
  display: grid;
  gap: 12px;
}
.organize-zone-suggestion,
.organize-manual-card,
.manage-product-card,
.manage-zone-line {
  display: grid;
  gap: 8px;
  padding: 15px;
  border: 1px solid #E3DAD0;
  border-radius: 18px;
  background: #FFFFFF;
}
.organize-zone-suggestion h3,
.manage-product-view h3 {
  margin: 0;
  color: #533C2C;
  font-size: 1rem;
  font-weight: 800;
}
.organize-zone-suggestion p,
.organize-manual-card span,
.manage-product-card span,
.manage-product-card small,
.manage-zone-line span {
  margin: 0;
  color: #6F665D;
  font-size: 0.86rem;
}
.organize-manual-card strong,
.manage-product-card strong,
.manage-zone-line strong {
  color: #533C2C;
  font-size: 1rem;
  font-weight: 800;
}
.organize-manual-card label {
  display: grid;
  gap: 7px;
  color: #533C2C;
  font-size: 0.85rem;
  font-weight: 800;
}
.organize-manual-card select {
  width: 100%;
  height: 48px;
  border: 1px solid #DDD4CA;
  border-radius: 14px;
  background: #FCFAF7;
  padding: 0 14px;
  color: #1E2F42;
  font-weight: 700;
}
.manage-product-bottom-modal {
  width: min(560px, 100%);
  max-height: min(82dvh, 680px);
  margin: auto auto 0;
  border-radius: 30px 30px 0 0;
  background: var(--bg);
  padding: 18px 20px 20px;
  overflow-y: auto;
}
.manage-product-bottom-modal .modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
}
.manage-product-view .button {
  width: 100%;
  min-height: 48px;
}
.manage-zone-line {
  grid-template-columns: 1fr auto;
  align-items: center;
}
.manage-zone-line > div:last-child {
  display: flex;
  gap: 8px;
  align-items: center;
}
.add-more-zone-card.is-disabled,
.add-more-zone-card:disabled {
  background: #F4F0EA;
  border-color: #DED6CD;
  color: #8A8178;
  cursor: not-allowed;
}
.add-more-zone-card.is-disabled strong,
.add-more-zone-card:disabled strong,
.add-more-zone-card.is-disabled small,
.add-more-zone-card:disabled small {
  color: #8A8178;
}
.mobile-sticky-cta .button[data-manage-product] {
  min-width: 128px;
}
.mobile-sticky-info span:empty {
  display: none;
}
@media (max-width: 520px) {
  .catalog-organize-actions { grid-template-columns: 1fr; }
  .manage-zone-line { grid-template-columns: 1fr; }
}

.category-layout,
.category-screen,
.chair-category-screen,
.screen-shell.category-screen,
.screen-shell.chair-category-screen { overflow: visible !important; }
.catalog-sticky-placeholder { display: block; height: 0; }
.chair-sticky-nav,
.category-sticky-nav { position: -webkit-sticky; position: sticky; }
.chair-sticky-nav.is-stuck,
.category-sticky-nav.is-stuck {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  width: 100%;
  margin: 0;
  z-index: 140;
  padding: 7px max(18px, calc((100vw - 1280px) / 2 + 18px));
}

/* Corrección perfil del proyecto desde catálogo: bottom sheet móvil y estado pendiente */
.client-profile-bottom-modal {
  width: calc(100vw - 32px);
  max-width: 560px;
  max-height: 86dvh;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 28px;
  padding: 22px 20px 0;
  box-sizing: border-box;
  background: var(--bg);
}
.client-profile-bottom-modal .modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 48px;
  height: 48px;
  float: none;
  display: inline-grid;
  place-items: center;
  border: 1px solid #DDD4CA;
  border-radius: 999px;
  background: #F7F3EE;
  color: var(--navy);
}
.client-profile-editor {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  display: grid;
  gap: 18px;
}
.client-profile-editor h2 {
  margin: 0;
  padding-right: 64px;
  color: #533C2C;
  font-size: clamp(1.75rem, 7vw, 1.875rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.client-profile-editor p {
  margin: -8px 0 0;
  color: rgba(43,38,35,0.68);
  line-height: 1.45;
}
.client-profile-editor h3 {
  margin: 0 0 10px;
  color: #533C2C;
  font-size: 0.94rem;
}
.client-profile-editor .client-chip-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  overflow: visible;
  padding-bottom: 0;
}
.client-profile-editor .client-chip {
  width: 100%;
  min-height: 50px;
  justify-content: space-between;
  border: 1px solid #DDD4CA;
  border-radius: 999px;
  background: #FFFFFF;
  color: #1E2F42;
  padding: 0 18px;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: left;
  box-sizing: border-box;
}
.client-profile-editor .client-chip.is-selected {
  border-color: #1E2F42;
  background: #1E2F42;
  color: #FFFFFF;
}
.client-profile-editor .client-chip b {
  font-size: 0.78rem;
}
.client-profile-editor-actions {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 2px -20px 0;
  padding: 14px 20px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid #E3DAD0;
  background: #F7F3EE;
  z-index: 2;
}
.client-profile-editor-actions .button {
  width: 100%;
  border-radius: 999px;
}
.client-profile-editor-actions .button-secondary {
  min-height: 48px;
  background: transparent;
}
.client-profile-editor-actions .button-primary {
  min-height: 52px;
}
.client-profile-editor-actions .button-primary:disabled {
  cursor: not-allowed;
  border-color: rgba(83,60,44,0.12);
  background: rgba(215,193,167,0.42);
  color: rgba(43,38,35,0.48);
  box-shadow: none;
}
.client-profile-card.is-pending {
  background: #fff8f5;
  border-color: #d7a99a;
}
.client-profile-card.is-pending p strong {
  color: #7a3f30;
}
.client-form-v2 [data-client-field="perfil"].is-error .client-profile-card,
.client-form-v2 [data-client-field="profile"].is-error .client-profile-card {
  border-color: #d7a99a;
  background: #fff8f5;
}
@media (max-width: 760px) {
  .client-profile-bottom-modal {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    max-height: 86dvh;
    margin: auto 0 0;
    border-radius: 28px 28px 0 0;
    padding-top: 22px;
  }
}
