/* Tipografías locales */
@font-face {
  font-family: Inter;
  src: url("assets/fuentes/inter-latin-variable.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("assets/fuentes/poppins-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("assets/fuentes/poppins-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  --dark: #07383d;
  --teal: #27c5ca;
  --accent: #096b70;
  --muted: #45646a;
  --line: #cedfdf;
  --mist: #f5fafa;
  --mint: #d7f4ee;
  --white: #fff;
  --shadow: 0 8px 26px rgb(7 56 61 / 6%);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--white);
  color: var(--dark);
  font: 400 1rem/1.6 Inter, Arial, sans-serif;
}
h1, h2, h3 {
  margin: 0;
  font-family: Poppins, Inter, Arial, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}
p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: .22em; }
button, select { font: inherit; }
button, summary, select { cursor: pointer; }
a, button, summary, select { -webkit-tap-highlight-color: rgb(39 197 202 / 20%); }
:focus-visible { outline: 3px solid #0a777d; outline-offset: 3px; }
.footer :focus-visible { outline-color: var(--teal); }
[hidden] { display: none !important; }
.wrap { width: min(100% - 3rem, 74rem); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.25rem; height: 1.25rem; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.65;
  stroke-linecap: round; stroke-linejoin: round;
}
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: fixed; top: 1rem; left: 1rem; z-index: 50; background: white; padding: .5rem 1rem; }
.section { padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.kicker {
  display: flex; align-items: center; gap: .65rem;
  color: var(--accent); font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .115em;
}
.kicker::before { content: ""; width: 1.65rem; height: 3px; border-radius: 2px; background: var(--teal); }
.section-heading { margin-bottom: 1.8rem; }
.section-heading h2 { font-size: clamp(1.9rem, 3.2vw, 2.85rem); letter-spacing: -.047em; margin-top: .45rem; }
.lead { margin-top: .65rem; color: var(--muted); }

/* Cabecera y navegación */
.header { position: sticky; z-index: 10; top: 0; background: #fff; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.7rem; }
.brand { display: block; flex: none; }
.brand img { width: 6.6rem; height: 4.4rem; object-fit: contain; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: clamp(.9rem, 1.8vw, 1.7rem); }
.nav-links a, .nav-wa, .menu-btn { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.nav-links a { color: var(--dark); font-size: .91rem; font-weight: 600; }
.nav-links a:hover, .nav-links a[aria-current="location"] { text-decoration: underline; text-underline-offset: .45rem; text-decoration-color: var(--accent); }
.nav-wa, .menu-btn { gap: .5rem; border: 1px solid var(--line); border-radius: 999px; padding: .58rem 1.05rem; color: var(--dark); font-weight: 600; font-size: .91rem; background: var(--white); }
.nav-wa:hover, .menu-btn:hover { background: var(--mist); border-color: var(--accent); }
.menu-btn { display: none; }

/* Portada */
.hero {
  background: linear-gradient(108deg, #f1faf7 2%, #e2f5ef 60%, #d7f0e9 100%);
  border-bottom: 1px solid #cde7df;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.06fr; align-items: center;
  gap: clamp(1.5rem, 4.5vw, 4.9rem); padding-block: clamp(2.6rem, 5vw, 4.8rem);
}
.hero h1 {
  margin-block: .9rem 1.1rem; font-size: clamp(3.25rem, 5.5vw, 5.2rem);
  font-weight: 700; letter-spacing: -.047em; line-height: 1.02;
}
.hero h1 em { color: #09777a; font-style: normal; }
.hero-intro { color: #345b5e; font-size: clamp(1rem, 1.28vw, 1.115rem); line-height: 1.62; max-width: 30rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-block: 1.55rem 1.25rem; }
.btn, .whatsapp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 46px; padding: .73rem 1.05rem;
  border-radius: .8rem; font-size: .94rem; font-weight: 700; text-decoration: none;
}
.btn-main, .whatsapp-btn { color: var(--dark); background: var(--teal); border: 1px solid transparent; }
.btn-main:hover, .whatsapp-btn:hover { background: #49d3d4; }
.btn-outline { border: 1px solid #81aba9; background: #ffffff8c; color: var(--dark); }
.btn-outline:hover { background: white; border-color: var(--accent); }
.hero-shipping { display: flex; align-items: center; gap: .55rem; color: #325b58; font-size: .87rem; font-weight: 600; }
.hero-shipping .icon { width: 1.3rem; }
.hero-visual { position: relative; margin: 0 .5rem .5rem 0; isolation: isolate; }
.hero-visual::before {
  content: ""; inset: .5rem -.5rem -.5rem .5rem; position: absolute; z-index: -1;
  border: 1px solid #75ada7; border-radius: 1.35rem 3.8rem 1.35rem 1.35rem;
}
.hero-visual img {
  width: 100%; height: auto; aspect-ratio: 1.44; object-fit: cover;
  border-radius: 1.35rem 3.8rem 1.35rem 1.35rem; box-shadow: var(--shadow);
}

/* Catálogo */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.65rem; }
.filter {
  min-height: 44px; padding: .5rem 1.1rem; border: 1px solid var(--line);
  border-radius: 999px; background: white; color: var(--dark); font-size: .9rem; font-weight: 600;
}
.filter:hover { background: var(--mist); border-color: #8fb4b4; }
.filter[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: white; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; }
.product-card {
  display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--line);
  border-radius: 1.25rem; overflow: hidden; background: white; box-shadow: var(--shadow);
  scroll-margin-top: 1rem;
}
.product-image {
  position: relative; display: grid; place-items: center; height: clamp(13rem, 17vw, 15rem);
  padding: 1rem; border-bottom: 1px solid #dfeae8; background: #fff;
}
.product-image img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.photo-pending { display: grid; height: 100%; place-content: center; place-items: center; gap: .35rem; color: var(--muted); text-align: center; }
.photo-pending .icon { width: 2rem; height: 2rem; margin-bottom: .25rem; }
.photo-pending small { font-size: .85rem; }
.product-body { padding: 1.2rem 1.25rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.product-tag { color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.product-body h3 { font-size: 1.31rem; margin: .35rem 0 .55rem; letter-spacing: -.036em; text-wrap: initial; }
.product-desc { color: var(--muted); margin-bottom: 1.2rem; }
.selection-label { display: block; font-size: .87rem; font-weight: 600; margin-top: auto; }
.select-wrap { position: relative; margin-top: .35rem; }
.select-wrap::after {
  content: ""; position: absolute; top: 50%; right: 1.1rem;
  border: solid var(--accent); border-width: 0 1.8px 1.8px 0; width: .5rem; height: .5rem;
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.select-wrap select {
  width: 100%; min-height: 46px; appearance: none; padding: .55rem 2.2rem .55rem .85rem;
  border: 1px solid #9ab7b6; border-radius: .65rem; background: white; color: var(--dark);
}
.price-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-block: .65rem; }
.price-label { color: var(--muted); font-size: .86rem; }
.price { font-family: Poppins, Inter, sans-serif; font-size: 1.5rem; font-weight: 600; letter-spacing: -.04em; }
.whatsapp-btn { width: 100%; }
.whatsapp-btn .icon { width: 1.2rem; }

/* Guía, beneficios y pasos */
.guide-section { background: var(--mist); border-block: 1px solid #dceae8; }
.guide-grid, .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.05rem; }
.guide-card {
  display: flex; flex-direction: column; align-items: flex-start; background: white; border: 1px solid var(--line);
  border-radius: 1.1rem; padding: 1.35rem; box-shadow: var(--shadow);
}
.guide-icon, .benefit-icon {
  display: grid; place-items: center; background: var(--mint); color: var(--accent); border-radius: .7rem;
}
.guide-icon { width: 2.85rem; height: 2.85rem; margin-bottom: .95rem; }
.guide-icon .icon { width: 1.5rem; height: 1.5rem; }
.guide-card h3, .steps h3 { font-size: 1.15rem; letter-spacing: -.025em; }
.guide-card p, .steps p { color: var(--muted); margin-block: .65rem; }
.guide-card a { margin-top: auto; font-size: .9rem; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.benefits-layout { display: grid; grid-template-columns: .98fr 1.02fr; gap: clamp(2rem, 6vw, 5.2rem); align-items: center; }
.benefits-picture img { width: 100%; height: auto; aspect-ratio: 1.13; object-fit: cover; object-position: 44% 50%; border-radius: 1.5rem; }
.benefit-list { padding: 0; margin: 0; list-style: none; display: grid; gap: 1.05rem; }
.benefit-list li { display: flex; gap: .85rem; align-items: flex-start; }
.benefit-icon { width: 2.15rem; height: 2.15rem; flex: none; border-radius: 50%; }
.benefit-list h3 { font-size: 1.07rem; margin: .15rem 0 .15rem; }
.benefit-list p { color: var(--muted); }
.buy-section { background: #e7f6f1; border-block: 1px solid #cde7df; }
.steps { padding: 0; margin: 0; list-style: none; gap: 1.8rem; }
.steps li { border-top: 1px solid #9fc6ba; padding-top: 1rem; }
.step-number { display: block; color: var(--accent); font: 600 1.3rem/1.2 Poppins, sans-serif; margin-bottom: 1rem; }
.steps p { margin-bottom: 0; }

/* Preguntas y contacto */
.faq-layout { display: grid; grid-template-columns: .8fr 1.4fr; align-items: start; gap: 2.5rem; }
.faq-grid { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: 1rem .25rem; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); flex: none; font-size: 1.45rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 0 .25rem 1rem; color: var(--muted); }
.footer { background: var(--dark); color: #deefed; padding-block: 3.25rem 1rem; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1.2fr 1.1fr; gap: 1.3rem; }
.footer h2 { color: white; font-size: 1.05rem; margin-bottom: .75rem; }
.footer p { color: #d2e6e3; margin-block: .2rem .65rem; }
.footer a { color: #e2f4ef; text-decoration: none; display: flex; width: fit-content; align-items: center; gap: .5rem; min-height: 44px; }
.footer a:hover { text-decoration: underline; }
.footer-brand a { background: white; border-radius: .8rem; padding: .15rem .5rem; }
.footer-brand img { width: 6.7rem; height: auto; }
.footer-bottom { border-top: 1px solid #4b7174; margin-top: 2rem; padding-top: .75rem; display: flex; align-items: center; justify-content: space-between; font-size: .86rem; }

/* Tableta y móvil. Los enlaces siguen disponibles cuando JavaScript está desactivado. */
@media (max-width: 63.99rem) {
  .product-grid, .guide-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { gap: .7rem; }
  .nav-links { gap: .9rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
  .hero h1 { font-size: clamp(3.2rem, 6.2vw, 4.1rem); }
}
@media (max-width: 54.99rem) {
  .nav { min-height: 4.1rem; flex-wrap: wrap; }
  .brand img { width: 5.6rem; height: 3.75rem; }
  .menu-btn { display: inline-flex; order: 3; }
  .nav-wa { margin-left: auto; }
  .nav-links { width: 100%; order: 4; flex-wrap: wrap; justify-content: flex-start; gap: .4rem .9rem; }
  .nav.menu-ready .nav-links {
    display: none; position: absolute; inset: 100% 0 auto; padding: .5rem max(1.5rem, calc((100vw - 74rem) / 2));
    background: white; border-block: 1px solid var(--line); box-shadow: var(--shadow);
    overflow-y: auto; max-height: calc(100dvh - 4.1rem);
  }
  .nav.menu-ready .nav-links.open { display: grid; gap: 0; }
  .nav-links a { width: fit-content; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
}
@media (max-width: 44.99rem) {
  .wrap { width: min(100% - 2rem, 35rem); }
  html { scroll-padding-top: 5.2rem; }
  .hero-grid, .benefits-layout, .faq-layout { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 2.3rem 2rem; gap: 1.6rem; }
  .hero h1 { font-size: clamp(3.1rem, 10.5vw, 4.2rem); }
  .hero-visual { margin-right: .32rem; }
  .hero-visual img { aspect-ratio: 1.62; }
  .hero-visual img, .hero-visual::before { border-radius: 1rem 2.8rem 1rem 1rem; }
  .hero-actions { gap: .5rem; margin-block: 1.25rem 1rem; }
  .btn { font-size: .9rem; }
  .btn .icon { width: 1.05rem; height: 1.05rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product-image { height: 14rem; }
  .benefits-picture img { aspect-ratio: 1.6; }
  .faq-layout { gap: 0; }
  .steps { gap: 1.3rem; }
  .guide-grid { grid-template-columns: 1fr; }
  .section-heading { margin-bottom: 1.3rem; }
  .filters { gap: .4rem; }
  .filter { padding-inline: .9rem; }
}
@media (min-width: 37.5rem) and (max-width: 44.99rem) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog .wrap { width: calc(100% - 2rem); max-width: 42rem; }
}
@media (max-width: 26rem) {
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .footer-top, .steps { grid-template-columns: 1fr; }
  .footer-top { gap: 1.65rem; }
  .nav-wa, .menu-btn { padding-inline: .72rem; }
}
@media (forced-colors: active) {
  .filter[aria-pressed="true"] { outline: 2px solid Highlight; }
  .whatsapp-btn, .btn { border: 1px solid ButtonText; }
}

/* HITO 07: contenido de catálogo visible e indexable sin JavaScript */
.catalog-static-intro { max-width: 70ch; margin: 0 0 1.3rem; }
.catalog-static-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.35rem; }
.catalog-static-card { background: #fff; border: 1px solid #dcebea; border-radius: 1.1rem; overflow: hidden; }
.catalog-static-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; }
.catalog-static-card > div { padding: 1.1rem; }
.catalog-static-card h3 { font-size: 1.13rem; margin: 0 0 .6rem; }
.catalog-static-card p { margin: .45rem 0 .8rem; }
.catalog-static-card a { color: #075d61; font-weight: 700; }
.catalog-static-note { font-size: .88rem; margin-top: 1.1rem; }
@media (max-width: 1000px) { .catalog-static-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 650px) { .catalog-static-grid { grid-template-columns: 1fr; } }

/* HITO 08 — Azul acuario moderno: más contraste, imagen completa y accesibilidad. */
:root { --accent:#087f85; --mist:#e8f7f7; --mint:#c6f0ee; --line:#bfdfe0; --shadow:0 14px 34px rgb(7 56 61 / 10%); }
.header { background:rgb(255 255 255 / 96%); backdrop-filter:blur(10px); border-bottom:2px solid #c6eeee; }
.hero { background:radial-gradient(ellipse at 80% 20%,#a5e5e9 0%,transparent 42%),linear-gradient(120deg,#d4f2f2 0%,#b8e9eb 54%,#89d5dc 100%); border-bottom:4px solid #27c5ca; }
.hero-grid { grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr); }
.hero .kicker { color:#075e67; }
.hero h1 em { color:#087f85; }
.hero-intro { color:#164e55; }
.hero-visual { padding:1rem; margin:0; background:linear-gradient(145deg,#f3ffff,#d8f4f5); border:1px solid #77bfc4; border-radius:1.5rem; box-shadow:0 20px 46px rgb(7 56 61 / 14%); }
.hero-visual::before { display:none; }
.hero-visual img { display:block; width:100%; height:auto; aspect-ratio:auto; object-fit:contain; object-position:center; border-radius:1rem; box-shadow:none; }
.catalog { background:linear-gradient(180deg,#f0fbfb 0%,#e1f5f6 100%); }
.catalog .section-heading h2,.guide-section .section-heading h2 { color:#07383d; }
.product-card,.catalog-static-card { border-color:#b6dddf; box-shadow:0 12px 28px rgb(7 56 61 / 9%); }
.guide-section { background:linear-gradient(130deg,#07383d,#0b6670); border-block:0; }
.guide-section .section-heading h2 { color:#fff; }
.guide-section .kicker { color:#9eeef0; }
.guide-section .guide-card { border:1px solid #65b9bc; }
#beneficios { background:#f8fdfd; }
.benefits-picture img { aspect-ratio:auto; object-fit:contain; background:#e1f5f6; border:12px solid #e1f5f6; box-shadow:var(--shadow); }
.buy-section { background:linear-gradient(125deg,#c9f1f2,#e7fafa); border-block:2px solid #a6dfe0; }
#preguntas { background:#fff; }
.faq-grid details[open] { background:#eefafa; border-radius:.6rem; padding-inline:.6rem; }
.footer { background:linear-gradient(140deg,#07383d,#07535b); }
@media (max-width:63.99rem) { .hero-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:44.99rem) { .hero-grid { grid-template-columns:1fr; } .hero-visual { padding:.6rem; } .hero-visual img { aspect-ratio:auto; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; transition-duration:.01ms !important; animation-duration:.01ms !important; } }

/* HITO 09: navegación compacta y carruseles móviles accesibles */
.mobile-catalog-controls,.mobile-swipe-hint{display:none}
@media(max-width:44.99rem){
 .header{background:#07383d; border-bottom:3px solid #27c5ca}
 .header .nav{min-height:4.25rem; gap:.35rem}
 .header .brand{background:white; border-radius:.65rem; padding:.1rem .35rem}
 .header .nav-wa{background:#27c5ca; color:#07383d; border-color:#27c5ca; padding-inline:.7rem; font-size:.82rem}
 .header .menu-btn{background:transparent; color:white; border-color:#76b6b9; padding-inline:.7rem; font-size:.82rem}
 .header .nav.menu-ready .nav-links{background:#07383d; border-color:#27c5ca; padding-block:.6rem}
 .header .nav-links a{color:white; width:100%; padding:.65rem .5rem; border-bottom:1px solid #2e666a}
 .mobile-catalog-controls{display:flex; justify-content:space-between; align-items:center; gap:.5rem; margin:0 0 .75rem; font-size:.8rem; color:#345b5e; font-weight:600}
 .mobile-catalog-controls>div{display:flex;align-items:center;gap:.55rem;white-space:nowrap}
 .mobile-catalog-controls button{width:38px;height:38px;border:1px solid #87babc;background:#fff;color:#07383d;border-radius:50%;font-size:1.5rem;line-height:1}
 .mobile-catalog-controls button:disabled{opacity:.35}
 .product-grid{display:flex; gap:.85rem; overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding-inline:.2rem; overscroll-behavior-inline:contain; -webkit-overflow-scrolling:touch; padding:.25rem .2rem 1rem; scrollbar-width:thin}
 .product-grid>.product-card{flex:0 0 min(84%,22rem); scroll-snap-align:start; scroll-snap-stop:always}
 .product-image{height:12.5rem}
 .product-body{padding:1rem}
 .product-desc{margin-bottom:.65rem}
 .mobile-swipe-hint{display:block;color:#345b5e;font-size:.85rem;margin:-.4rem 0 1rem}
 .guide-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:.8rem;padding:.2rem .2rem .9rem;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
 .guide-grid>.guide-card{flex:0 0 min(83%,21rem);scroll-snap-align:start}
 .catalog-static-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:.8rem}
 .catalog-static-card{flex:0 0 84%;scroll-snap-align:start}
 .filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:.5rem;scrollbar-width:thin}
 .filter{flex-shrink:0}
}
@media(min-width:37.5rem) and (max-width:44.99rem){.product-grid{display:flex}.product-grid>.product-card{flex-basis:48%}}
@media(prefers-reduced-motion:reduce){.product-grid,.guide-grid{scroll-behavior:auto}}

/* HITO 10: contenido editorial legible y rastreable sin alterar el catálogo móvil. */
.seo-intro{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 20px;color:#28565a;font-size:.93rem;line-height:1.65}
.seo-intro p{margin:0;padding:14px 16px;border:1px solid rgba(7,56,61,.11);border-radius:14px;background:rgba(255,255,255,.62)}
@media(max-width:719px){.seo-intro{grid-template-columns:1fr;gap:8px;font-size:.89rem}.seo-intro p{padding:11px 13px}}


/* HITO 11: carrusel horizontal en todas las pantallas.
   Mantiene las cuatro tarjetas en el DOM y sus selectores interactivos. */
.mobile-catalog-controls {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap;
  gap:.75rem; margin:0 0 .9rem; color:#28565a; font-size:.88rem; font-weight:600;
}
.mobile-catalog-controls>div {display:flex; align-items:center; gap:.7rem; white-space:nowrap}
.mobile-catalog-controls button {
  width:44px; height:44px; border:1px solid #87babc; border-radius:50%;
  background:#fff; color:#07383d; font-size:1.6rem; line-height:1; cursor:pointer;
}
.mobile-catalog-controls button:hover:not(:disabled),.mobile-catalog-controls button:focus-visible {
  background:#07383d; color:white; outline-offset:3px;
}
.mobile-catalog-controls button:disabled {opacity:.35;cursor:not-allowed}
.product-grid {
  display:flex; gap:1.35rem; overflow-x:auto; overflow-y:hidden;
  scroll-snap-type:x mandatory; scroll-padding-inline:.15rem;
  overscroll-behavior-inline:contain; -webkit-overflow-scrolling:touch;
  padding:.3rem .15rem 1.1rem; scrollbar-width:thin;
}
.product-grid>.product-card {
  flex:0 0 calc((100% - 2.7rem)/3); min-width:0;
  scroll-snap-align:start; scroll-snap-stop:always;
}
.product-grid>[hidden] {display:none!important}
.product-grid:focus-visible {outline:3px solid #087f85;outline-offset:3px}
@media (min-width:45rem) and (max-width:63.99rem) {
  .product-grid>.product-card {flex-basis:calc((100% - 1.35rem)/2)}
}
@media (max-width:44.99rem) {
  .product-grid {gap:.85rem; padding:.25rem .2rem 1rem}
  .product-grid>.product-card {flex-basis:min(84%,22rem)}
  .mobile-catalog-controls {display:flex}
  .mobile-catalog-controls button {width:40px;height:40px}
}
@media (min-width:37.5rem) and (max-width:44.99rem) {
  .product-grid>.product-card {flex-basis:48%}
}
@media (prefers-reduced-motion:reduce) { .product-grid {scroll-behavior:auto} }

/* HITO 12: disponibilidad por presentación, sin modificar el diseño general. */
.stock-badge[hidden], .stock-notice[hidden] {display:none!important}
.stock-badge {
  position:absolute;top:.85rem;right:.85rem;z-index:1;
  padding:.4rem .8rem;border-radius:999px;
  background:#713b36;color:#fff;font-size:.8rem;font-weight:700;
  box-shadow:0 3px 12px rgb(0 0 0 / 12%);
}
.stock-notice {font-size:.84rem;color:#713b36;margin:.2rem 0 .65rem;line-height:1.4}
.whatsapp-btn[aria-disabled="true"] {
  background:#e7eded;color:#52676a;border-color:#cbd8d8;
  cursor:not-allowed;pointer-events:none;box-shadow:none;
}
.whatsapp-btn[aria-disabled="true"]:hover {background:#e7eded}

/* Corrección móvil: el documento no debe desplazarse horizontalmente.
   Los carruseles mantienen su desplazamiento independiente. */
html, body { max-width: 100%; overflow-x: clip; }
.product-card, .catalog-static-card, .guide-card { position: relative; min-width: 0; }
.catalog, .catalog .wrap, .product-grid, .guide-grid, .catalog-static-grid { min-width: 0; max-width: 100%; }
.product-grid, .guide-grid, .catalog-static-grid, .filters { overscroll-behavior-x: contain; }
@media (max-width: 44.99rem) {
  .header .nav, .hero-grid, .catalog .wrap { min-width: 0; }
  .product-grid > .product-card, .guide-grid > .guide-card,
  .catalog-static-grid > .catalog-static-card { max-width: 100%; }
}

/* Reserva de espacio para la imagen principal en móvil */
@media (max-width: 44.99rem) { .hero-visual img { aspect-ratio: 880 / 600; } }
