
body {
    background-color: #dee2e6; /* Color de fondo claro */
    color: #343a40; /* Texto oscuro */
    margin: 0;
    padding: 0;
    font-family: Montserrat , sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
}


* {
   
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

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

h1 {
    color: #ffffff;
}


h2, h3 {
    color: #4e4e4e;
}


.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    padding: 30px 10%;
}

/* Header (Navbar) */
.navbar {
    background-color: #007bff;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
}

.navbar-brand {
    font-size: 1.5rem;
    color: #fff;
}

.navbar-nav {
    align-items: end;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    right: auto;
    position: static;
}

.navbar-nav .nav-link {
    color: white;
    font-weight: bold;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #ffc107;
}


/* FONDO del panel abierto en móvil (mismo azul de la barra) */
@media (max-width: 991.98px){
  .navbar .navbar-collapse{
    background-color: #007bff;
    padding: .25rem 1rem;
  }
}

/* En desktop: fila normal a la derecha */
@media (min-width: 992px){
  .navbar-nav{
    flex-direction: row;
    align-items: center;
    margin-left: auto; /* empuja a la derecha */
  }
}
/* Hero Section */ 
.hero-section {
    text-align: center;
    background-color: #007bff;
    color: white;
    
} 

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 0%;
    top: 70px;
}

.hero-section p {
    font-size: 1.2rem;
}


/* Products Section 
.products-section {
    padding: 60px 60px;
    background-color: #f8f9fa;
}

*/
.products-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.product-card {
    transition: transform 0.9s;
    background-color: white;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: 100%;
}

.product-card:hover {
    transform: scale(1.05);
    background-color: rgb(245, 243, 243);;
}

/* Fixed size for images */
.product-card img {
    width: 100%;
    height: 200px; /* Fixed height for all images */
    object-fit: contain;/* Ensure the image fits while maintaining aspect ratio */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    animation: fadeIn 1.5s ease-in-out; /* AnimaciÃ³n suave */
}

.product-card .card-body {
    text-align: center;
}

.product-card .btn {
    background-color: #007bff;
    color: white;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.product-card .btn:hover {
    background-color: #0056b3;
}


.btn {
  border: none;
  text-align: center;
  cursor: pointer;
  text-transform: uppercase;
  outline: none;
  overflow: hidden;
  position: relative;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  background-color: #222;
  padding: 17px 60px;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(0,0,0,0.20);
}

.btn span {
    position: relative; 
    z-index: 1;
  }
  

.btn:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 490%;
  width: 140%;
  background: #78c7d2;
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  -webkit-transform: translateX(-98%) translateY(-25%) rotate(45deg);
  transform: translateX(-98%) translateY(-25%) rotate(45deg);
}

.btn:hover:after {
  -webkit-transform: translateX(-9%) translateY(-25%) rotate(45deg);
  transform: translateX(-9%) translateY(-25%) rotate(45deg);
}

.price-and-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
}

/* === Footer (extraído de style_no.css) === */
footer {
  background-color: #007bff;
  color: white;
  padding: 0px 20px;
}
footer h3 {
  margin-bottom: 20px;
  color: white;
}
footer ul {
  list-style: none;
  padding: 0;
}
footer ul li a {
  color: #fff;
  transition: color 0.3s;
}
footer ul li a:hover {
  color: #ffc107;
}
footer .social-icons i {
  font-size: 1.5rem;
  margin-right: 15px;
  color: white;
  transition: color 0.3s;
}
footer .social-icons i:hover {
  color: #ffc107;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Waves Animation */
.waves {
    position: relative;
    width: 100%;
    height: 15vh;
    margin-bottom: -7px;
    min-height: 100px;
    max-height: 150px;
}

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}
@keyframes move-forever {
    0% {
        transform: translate3d(-90px,0,0);
    }
    100% {
        transform: translate3d(85px,0,0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .waves {
        height:40px;
        min-height:40px;
    }
    .content {
        height:30vh;
    }
    h1 {
        font-size:24px;
    }

    .hero-section h1 {
        font-size: 3rem;
        margin-bottom: 0px;
        
    }

    .product-card {
        margin-bottom: 30px;
    }

    footer {
        text-align: center;
    }

    footer .social-icons {
        margin-top: 20px;
    }
}

@media (min-width: 768px) {
    .col-md-6 {
        -ms-flex: 0 0 41.666667%;
        flex: 0 0 50%;
        max-width: 100%;
        padding: 1%;
    }
}
    .logo-container-nav {
        display: flex;
        align-items: center;
        position: relative;
        top: 2%;
        left: 2%;
    }


.logo-container-footer {
    
    align-items: center;
}

.logo {
    width: 220px;
    min-width: 120px;
    height: auto;
}

@media (max-width: 520px) {
    .logo-container-nav {
        width: 50%;
        justify-items: center;
    }
}

@media (max-width: 768px) {
    .logo-container-nav {
        width: 30%;
    }
}


@media (max-width: 1024px) {
    .logo-container-nav {
        justify-content: center;
    }
}

    ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .footer_area .col-md-3:last-child .footer_widget {
        margin-bottom: 0;
    }
    
    ol, ul {
        margin-top: 0;
        margin-bottom: 10px;
    }

    .footer_style_2 .footer_widget .address li {
        color: #babdbf;
        font-weight: 400;
        font-size: 16px;
        position: relative;
        display: flex;
        align-items: center;
        line-height: 20px;
        margin-bottom: 30px;
    }

    .footer_style_2 .footer_widget .address li i {
        color: #c12026;
        font-size: 14px;
        margin-right: 11px;
        display: inline-block;
    }
    
    .fa {
        display: inline-block;
        font: normal normal normal 14px / 1 FontAwesome;
        font-size: inherit;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    @media (min-width: 1200px) {
        .container, .container-lg, .container-md, .container-sm, .container-xl {
            max-width: 100%;
        }
    }

    .footer-bottom {
        background-color: #6c757d; /* Color gris */
        color: white;
        padding: 1px 0;
    }
    
    .footer-bottom p {
        margin: 0;
        font-size: 0.9rem;
    }
    
    .footer-bottom .social-icons a {
        margin: 0 10px;
        color: white;
        font-size: 1.2rem;
        transition: color 0.3s;
    }
    
    .footer-bottom .social-icons a:hover {
        color: #ffc107; /* Color de hover en las redes sociales */
    }
    
    /* Responsive adjustments */
    @media (max-width: 768px) {
        .footer-bottom .text-md-left,
        .footer-bottom .text-md-right {
            text-align: center !important;
        }
    
        .footer-bottom .social-icons {
            margin-top: 10px;
        }
    }


    .product-detail-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
    .product-image {
        max-width: 90%;
        height: auto;
        border-radius: 8px;
    }
    
    .product-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .product-description {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }
    
    .product-features {
        list-style: none;
        padding: 0;
    }
    
    .product-features li {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .product-features li i {
        color: #007bff;
        margin-right: 10px;
    }
    

    .row-articulo {
        top: 51px;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-right: -15px;
        margin-left: -15px;
        padding: 38px 10%;
    }

  
    @import url("https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900");


.content {
	display: flex;
    position: fixed;
    left: 50%;
    top: 14%;
    
}

.content h2 {
	color: #fff;
	font-size: 8em;
	position: absolute;
	transform: translate(-50%, -50%);
}

.content h2:nth-child(1) {
	color: transparent;
	-webkit-text-stroke: 2px #8338ec;
}

.content h2:nth-child(2) {
	color: #ffffff;
    animation: animate 3s ease-in-out infinite;
}

@keyframes animate {
	0%,
	100% {
		clip-path: polygon(
			0% 45%,
			16% 44%,
			33% 50%,
			54% 60%,
			70% 61%,
			84% 59%,
			100% 52%,
			100% 100%,
			0% 100%
		);
	}

	50% {
		clip-path: polygon(
			0% 60%,
			15% 65%,
			34% 66%,
			51% 62%,
			67% 50%,
			84% 45%,
			100% 46%,
			100% 100%,
			0% 100%
		);
	}
}


.rotating-text-wrapper {
    
    display: flex;
    flex-direction: column;
    align-items: center;
    
  }

  .rotating-text-wrapper h2 {
    font-size: 2.5em;
    margin: 0;
    padding: 0.3em;
    color: #fff;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    opacity: 0;
  }
  .rotating-text-wrapper h2:nth-child(1) {
   
    animation-name: rotating-text-1;
  }
  @keyframes rotating-text-1 {
    0% {
      transform: translateY(200%);
    }
    33% {
      transform: translateY(100%);
      opacity: 1;
    }
    34% {
      opacity: 0;
    }
  }
  .rotating-text-wrapper h2:nth-child(2) {
   
    animation-name: rotating-text-2;
  }
  @keyframes rotating-text-2 {
    33% {
      transform: translateY(100%);
      opacity: 0;
    }
    66% {
      transform: translateY(0);
      opacity: 1;
    }
    67% {
      opacity: 0;
    }
  }
  .rotating-text-wrapper h2:nth-child(3) {
    
    animation-name: rotating-text-3;
  }
  
  @keyframes rotating-text-3 {
    66% {
      transform: translateY(0);
      opacity: 0;
    }
    99% {
      transform: translateY(-100%);
      opacity: 1;
    }
    100% {
      transform: translateY(-100%);
      opacity: 0;
    }
  }
  @media screen and (max-width: 576px) {
    .rotating-text-wrapper {
      font-size: 0.7rem;
    }
  }
  
/* 
 :root{
  --bg:#0a0f1a;
  --text:#0f172a;
  --muted:#64748b;
  --accent:#00a6ce;
  --accent2:#95d4e9;
  --border:#e2e8f0;
  --white:#ffffff;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:var(--text);background:#f8fafc}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1200px;margin:0 auto;padding:0 20px}
.nav{display:flex;align-items:center;gap:24px;justify-content:space-between;padding:14px 0;background:#0b1221;color:#e5f6fb;border-bottom:1px solid rgba(255,255,255,.08)}
.nav .menu{display:flex;gap:16px;align-items:center}
.nav a{color:#e5f6fb}
.logo{height:44px} */ 

.hero{
  background:
    linear-gradient(rgba(10,15,26,.55),rgba(10,15,26,.55)),
        url('https://images.pexels.com/photos/304784/pexels-photo-304784.jpeg?_gl=1*nqni8w*_ga*MTIxMzk1NzE0Ni4xNzU4NjI5MTA4*_ga_8JE65Q40S6*czE3NTg2MjkxMDgkbzEkZzEkdDE3NTg2MjkzMTkkajU5JGwwJGgw') center/cover no-repeat;
       /* url('https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?q=80&w=1400&auto=format&fit=crop') center/cover no-repeat;*/
  color:#fff;
  padding:70px 0;
}
.hero h1{margin:0 0 6px 0;font-size:36px}
.hero p{margin:0;color:#dbeafe}

.section{padding:28px 0}
.grid{display:grid;grid-template-columns:2fr 1fr;gap:24px}
@media (max-width: 960px){
  .grid{grid-template-columns:1fr}
}

.accordion{display:grid;gap:12px}
.item{background:#fff;border:1px solid var(--border);border-radius:10px;overflow:hidden}
.item summary{
  list-style:none;cursor:pointer;padding:16px 18px;display:flex;align-items:center;gap:12px;
}
.item summary::-webkit-details-marker{display:none}
.item .q{flex:1;font-weight:700}
.item .chev{
  width:28px;height:28px;border-radius:999px;display:grid;place-items:center;
  background:#e6f7fb;border:1px solid #bfeef7;color:#077ea0;flex:0 0 auto;transition:transform .2s ease;
}
details[open] .chev{transform:rotate(180deg)}
.item .a{padding:0 18px 18px 18px;color:var(--muted);line-height:1.6}

.form-card{
  background:#fff;border:1px solid var(--border);border-radius:12px;padding:16px 16px 18px;
  position:sticky; top:16px; align-self:start;
}
.form-card h3{margin:6px 0 12px 0}
.field{display:flex;gap:8px}
.input,select,textarea{
  width:100%;padding:12px 12px;border:1px solid var(--border);border-radius:10px;font-size:14px;outline:none;
}
.input:focus,select:focus,textarea:focus{box-shadow:0 0 0 3px rgba(0,166,206,.2);border-color:#9ee6f4}
.btn{
  display:inline-block;width:30%;padding:12px 16px;border:none;border-radius:10px;background:#007bff;
  color:#fff;font-weight:700;cursor:pointer;transition:transform .02s ease;
}
.btn:active{transform:scale(.99)}
.helper{font-size:12px;color:var(--muted);margin-top:6px}

.footer{border-top:1px solid var(--border);padding:24px 0;color:var(--muted);background:#fff;margin-top:20px}

.whatsapp{
  position:fixed;right:20px;bottom:20px;width:56px;height:56px;border-radius:999px;display:grid;place-items:center;
  background:#25d366;box-shadow:0 10px 20px rgba(0,0,0,.15);color:#fff;font-weight:900;text-decoration:none;
}
.whatsapp:hover{transform:translateY(-1px)}
.fade-in{opacity:0;transform:translateY(8px);transition:opacity .4s ease, transform .4s ease}
.fade-in.visible{opacity:1;transform:none}


/* === HARD ALIGNMENT for product buttons (anchor wrapper) === */
.products-section .col-md-6{ display:flex; }
.products-section .card.product-card{ display:flex; flex-direction:column; width:100%; }
.products-section .card.product-card .card-body{ display:flex; flex-direction:column; flex:1 1 auto; }

/* The CTA is an <a> that wraps a <button>. The flex child is the <a>, not the button */
.products-section .card.product-card .card-body > a:last-child{
  margin-top:auto;
  display:block;
  width:100%;
}
.products-section .card.product-card .card-body > a:last-child .btn{
  width:100%;
}

/* normalize text height a bit */
.products-section .card.product-card .card-body .card-text{ min-height: 110px; }

/* optional: adjust images area for consistency */
.products-section .card.product-card .card-img-top{
  margin: 0 auto;
  max-height: 160px;
  width: auto;
  object-fit: contain;
}



/* ===== Benefits (GIF icons) ===== */
.benefits{padding:10px 0 10px;background:#fff}
.benefits-title{
  text-align:center;font-weight:800;color:#0a2b57;font-size:34px;line-height:1.18;margin:10px auto 6px;
}
.benefits-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:8px;align-items:start;padding:0 8%;
}
.benefit{text-align:center;padding:8px 8px 18px;}
.benefit-icon{display:grid;place-items:center;margin:0 auto 6px;}
.benefit-icon img{width:120px;height:120px;object-fit:contain;display:block;filter:drop-shadow(0 6px 10px rgba(0,123,255,.08));}
.benefit-caption{color:#0f172a;margin:2px 0 0;font-size:16px;}
.benefit-caption strong{font-weight:800;}
@media (max-width:1200px){.benefit-icon img{width:220px;height:220px}}
@media (max-width:992px){.benefits-grid{grid-template-columns:repeat(2,1fr);gap:12px}.benefit-icon img{width:200px;height:200px}.benefits-title{font-size:28px}}
@media (max-width:576px){.benefits-grid{grid-template-columns:1fr}.benefit-icon img{width:180px;height:180px}.benefits-title{font-size:22px}}

/* ====== FIX: Alinear botones de productos abajo y nivelados ====== */
/* Cárgalo DESPUÉS de tu style.css existente */

/* Hacemos que las columnas estiren la card a la misma altura */
.products-section .row{ align-items: stretch; }
@media (min-width:768px){
  .products-section .col-md-6{ display:flex; }
}

/* La card es una columna flex; el body ocupa el alto disponible */
.product-card{ display:flex; flex-direction:column; }
.product-card .card-body{
  display:flex; flex-direction:column; flex:1 1 auto;
}

/* El botón se pega al fondo del body y ocupa todo el ancho */
.product-card .card-body .btn,
.product-card .card-body a.btn{
  margin-top:auto; width:100%; align-self:stretch;
}

/* Si la descripción es corta, evita que el botón suba demasiado */
.product-card .card-body p:last-of-type{ min-height: 66px; } /* ajusta este valor si lo necesitas */

/* Hover suave para no romper la alineación visual */
.product-card:hover{ transform: translateY(-2px); } /* en lugar de escalado agresivo */

/* Corrige el ancho de .col-md-6 en desktop (por si algún override lo dejó a 100%) */
@media (min-width:768px){
  .col-md-6{
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}



/* ======== FAQ Polished Overrides (Hydros) ======== */

/* Layout spacing */
.section { padding: 56px 0; }
.section-title { font-weight: 800; margin-bottom: 18px; }

/* Hero alignment (uses existing .hero from site) */
.hero .container { padding-top: 28px; padding-bottom: 18px; }
.hero h1 { margin-bottom: 6px; }
.hero p { margin: 0; opacity: .9; }

/* Accordion look & feel */
.card-group-custom.card-group-corporate { margin-top: 8px; }
.card-group-custom .card.card-corporate {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  background: #fff;
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.card-group-custom .card.card-corporate:hover {
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}
.card-corporate .card-header { background: #fff; border: 0; padding: 0; }
.card-corporate .card-title {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 16px;
}
.card-corporate .card-title > a {
  color: #0f172a; font-weight: 800; text-decoration: none;
}
.card-corporate .card-title > a:hover { color: #007bff; text-decoration: none; }
.card-corporate .card-arrow {
  width: 28px; height: 28px; border-radius: 999px; flex: 0 0 28px;
  background: #e6f7fb; border: 1px solid #bfeef7; position: relative;
}
.card-corporate .card-arrow::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 10px; height: 10px;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24"><path d="M6 9l6 6 6-6" fill="none" stroke="%23077ea0" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / contain no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24"><path d="M6 9l6 6 6-6" fill="none" stroke="%23077ea0" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / contain no-repeat;
  background: #077ea0; transition: transform .2s ease;
}
/* rotate when expanded (use aria-expanded on the trigger) */
.card-corporate .card-title > a[aria-expanded="true"] ~ .card-arrow::before {
  transform: rotate(180deg);
}

.card-corporate .collapse { border-top: 1px solid #e2e8f0; }
.card-corporate .card-body { padding: 14px 16px 16px; color: #475569; line-height: 1.65; }

/* Right form (if used) */
.form-card{
  background:#fff; border:1px solid #e2e8f0; border-radius:12px; padding:16px; 
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.form-card .input, .form-card select, .form-card textarea{
  width:100%; padding:12px; border:1px solid #e2e8f0; border-radius:10px; outline:none;
}
.form-card .input:focus, .form-card select:focus, .form-card textarea:focus{
  border-color:#9ee6f4; box-shadow:0 0 0 3px rgba(0,166,206,.18);
}
.form-card .btn{
  display:inline-block; width:100%; padding:12px 16px; border:none; border-radius:10px;
  background:#007bff; color:#fff; font-weight:800; cursor:pointer;
}
.helper{ font-size:12px; color:#64748b; margin-top:6px; }

/* Navbar: ensure toggler icon is visible when .navbar-dark used */
.navbar.navbar-dark .navbar-toggler { border-color: rgba(255,255,255,.35); }
.navbar.navbar-dark .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* === Products Carousel (3 por vista, paso de 3) === */
.products-carousel{
  position: relative;
  width: 80%;
  margin: 0 auto;
}
.carousel-viewport{
  overflow: hidden;
  width: 100%;
}
.products-section .carousel-track{
  display: flex;
  transition: transform .55s ease;
  will-change: transform;
}
.product-slide{
  flex: 0 0 33.3333%;
  padding: 0 12px;
  box-sizing: border-box;
}
/* RESPONSIVE: 2 por vista en tablets, 1 en móvil */
@media (max-width: 991.98px){
  .product-slide{ flex-basis: 50%; }
}
@media (max-width: 575.98px){
  .product-slide{ flex-basis: 100%; padding: 0 8px; }
}

/* Navegación */
.carousel-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 5;
}
.carousel-btn:hover{ background: rgba(0,0,0,.75); }
.carousel-btn:disabled{ opacity:.35; cursor:not-allowed; }
.carousel-btn.prev{ left: 6px; }
.carousel-btn.next{ right: 6px; }

/* Dots */
.carousel-dots{
  display:flex; gap:8px; justify-content:center; margin-top: 12px;
}
.carousel-dots .dot{
  width: 8px; height:8px; border-radius:999px; border:0;
  background:#9ecbff; opacity:.6; cursor:pointer;
}
.carousel-dots .dot.active{ opacity:1; background:#007bff; }

/* Ajustes visuales para cards dentro del carrusel */
.products-section .card.product-card{ height:100%; }
.products-section .card.product-card .card-body{ display:flex; flex-direction:column; }
.products-section .card.product-card .card-body > a:last-child{ margin-top:auto; display:block; width:100%; }
.products-section .card.product-card .card-body > a:last-child .btn{ width:100%; }
.products-section .card.product-card .card-text{ min-height:110px; }

/* Quita márgenes laterales extra que venían del grid .row anterior */
.products-section .container{ padding-left: 20px; padding-right: 20px; padding-bottom: 20px; }





/* ===== Legal pages (Privacy / Terms) – HYDROS ===== */
.legal-section { padding: 28px 0; }
.legal-card{
  background:#fff; border:1px solid #e2e8f0; border-radius:12px;
  padding:16px 18px; margin-bottom:12px; box-shadow:0 1px 2px rgba(0,0,0,.04);
}
.legal-card .section-title{ margin:4px 0 10px; font-weight:800; }
.legal-list{ margin:0; padding-left:18px; }
.legal-list li{ margin-bottom:8px; }
.badge-updated{
  display:inline-block; font-size:12px; color:#64748b; background:#f1f5f9;
  border:1px solid #e2e8f0; padding:4px 8px; border-radius:999px; margin-bottom:6px;
}
.brand{ font-weight:800; }

/* ===== About / Nosotros ===== */
.about-section { padding: 28px 0; }
.about-card{
  background:#fff; border:1px solid #e2e8f0; border-radius:12px;
  padding:16px 18px; margin-bottom:12px; box-shadow:0 1px 2px rgba(0,0,0,.04);
}
.about-card .section-title{ margin:4px 0 10px; font-weight:800; }
.about-bullets{ list-style:none; padding-left:0; margin:0; }
.about-bullets li{ margin-bottom:8px; }
.about-bullets i{ margin-right:8px; color:#00a6ce; }

.about-photo img{
  width:100%; height:auto; border-radius:12px; display:block;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}

.values-list{
  display:flex; flex-wrap:wrap; gap:8px; padding-left:0; list-style:none; margin:0;
}
.values-list li{
  background:#f1f5f9; border:1px solid #e2e8f0; color:#0f172a;
  padding:6px 10px; border-radius:999px; font-size:14px; font-weight:600;
}

.features-grid .feature{
  margin-bottom:16px;
}
.features-grid .feature i{
  font-size:22px; margin-right:8px; color:#00a6ce;
}
.features-grid .feature h5{
  margin:6px 0 4px; font-weight:700;
}

.team-grid{ margin-top:4px; }
.team-card{
  text-align:center; padding:14px; border:1px solid #e2e8f0; border-radius:12px; background:#fff;
  box-shadow:0 1px 2px rgba(0,0,0,.04);
}
.team-card img{
  width:110px; height:110px; border-radius:999px; object-fit:cover; margin-bottom:8px;
  box-shadow:0 3px 12px rgba(0,0,0,.08);
}
.team-card h6{ font-weight:800; margin-bottom:2px; }
.team-card .role{ margin:0; color:#475569; font-size:14px; }

.about-cta .btn{
  padding:.65rem 1.25rem; border-radius:10px; font-weight:700;
}

/* ==== Carrusel MUY SUAVE / efecto “flotando” ==== */
#products .carousel-track{
  /* + larga y ease-out de lujo */
  transition: transform 2.60s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Cuando el carrusel se mueve, las cards “flotan” un pelín */
#products .products-carousel.is-moving .product-card{
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
  transition: transform 1.35s cubic-bezier(0.16,1,0.3,1), box-shadow .6s ease;
}

/* Evita que el :hover meta otra transformación mientras se mueve */
#products .products-carousel.is-moving .product-card:hover{
  transform: translateY(-6px);
}

/* Respeto a prefers-reduced-motion */
@media (prefers-reduced-motion: reduce){
  #products .carousel-track,
  #products .products-carousel.is-moving .product-card{
    transition: none !important;
  }
}

/* Quita el medio-gutter que dejaba un borde en blanco al pegar primero/último */
#products .carousel-track{
  margin: 0 -12px;  /* compensa el padding lateral de cada slide */
}
#products .product-slide{
  padding: 0 12px;  /* mantenemos el gutter entre tarjetas, pero sin hueco en los bordes */
}

#products .carousel-dots { display: none !important; }





/* ===== FIX: nav + separación del catálogo ===== */
:root{
  /* Altura aproximada del nav; ajústala si tu header mide más/menos */
  --nav-h: 10px;
}

/* Si tu navbar ya es fixed o sticky, deja esto así.
   El punto es asegurar que quede arriba y no tape clics. */
.navbar{
  position: sticky;   /* o fixed, según lo tengas */
  top: 0;
  z-index: 1200;
}



/* Empuja el catálogo por debajo del nav.
   Quita cualquier regla anterior de .catalogo con 'padding: auto;' */
.catalogo{
  padding: calc(var(--nav-h) + 24px) 0 60px;
  background: #e5ebf0;
 /* min-height: 100dvh;*/
   padding: 5% 10% 5% 10%;
}

/* ===== Grid del catálogo en TARJETAS ===== */
.catalog-grid{
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 columnas como tu referencia */
}

@media (max-width: 1199.98px){
  .catalog-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px){
  .catalog-grid{ grid-template-columns: 1fr; }
}

/* Tarjeta */
.catalog-card{
  background: #fff;
  border-radius: 16px;
  box-shadow: 3px 0px 3px rgba(0, 0, 0, 0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.catalog-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
}

/* Enlace que ocupa toda la tarjeta y define el layout interno */
.catalog-link{
  display: grid;
  grid-template-columns: 120px 1fr; /* imagen a la izquierda, info a la derecha */
  align-items: center;
  gap: 14px;
  color: inherit;
  padding: 14px 16px;
}

/* Imagen */
.catalog-imgWrap{
  display: grid;
  place-items: center;
  padding: 6px;
}
.catalog-imgWrap img{
  max-width: 110px;
  max-height: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.12));
}

/* Texto */
.catalog-info{
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.catalog-name{
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #2a3b4c;
  text-align: left;
}
.catalog-price{
  margin: 0;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 900;
  color: #28a745;               /* azul fuerte como tu referencia */
  text-underline-offset: 3px;
  text-decoration-thickness: 3px;
}

/* En móvil: tarjeta vertical (imagen arriba, precio abajo) */
@media (max-width: 575.98px){
  .catalog-link{
    grid-template-columns: 1fr;
    text-align: center;
    padding: 16px;
  }
  .catalog-info{ align-items: center; }
}

/* Quitar subrayado en TODOS los estados del enlace de la tarjeta */
.catalog-link,
.catalog-link:link,
.catalog-link:visited,
.catalog-link:hover,
.catalog-link:active,
.catalog-link:focus{
  text-decoration: none !important;
}

/* Asegurar que el título y el precio no hereden subrayado */
.catalog-name,
.catalog-price{
  text-decoration: none !important;
}





/* ===== Catálogo ===== */
.catalogo{ padding: 100px 0 80px; background:#e5ebf0; } /* despega del nav fijo */
.catalogo .container{ max-width:1200px; margin:0 auto; padding:0 16px; }
.catalogo-title{ font-weight:800; color:#2a3b4c; margin:0 0 16px; }

.catalog-grid{
  display:grid;
  gap:22px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}
@media (max-width:1199.98px){ .catalog-grid{ grid-template-columns: repeat(2,1fr);} }
@media (max-width:767.98px){  .catalog-grid{ grid-template-columns: 1fr; } }

/* Tarjeta */
.catalog-card{
  background:#fff;
  border-radius:16px;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
  overflow:hidden;
}
.catalog-card:hover{ transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.10); }

.catalog-link{
  display:grid;
  grid-template-columns: 120px 1fr;
  align-items:center;
  gap:14px;
  text-decoration:none;
  color:inherit;
  padding:14px 16px 6px;
}
.catalog-imgWrap{ display:grid; place-items:center; }
.catalog-imgWrap img{ max-width:110px; max-height:110px; height:auto; width:auto; object-fit:contain; }

.catalog-info{ display:flex; flex-direction:column; gap:6px; }
.catalog-name{ margin:0; font-size:16px; font-weight:800; color:#2a3b4c; }
.catalog-price{ margin:0; font-size:26px; font-weight:900; color:#28a745; }

.catalog-actions{
  padding: 0 16px 14px;
}
.btn-add{
  display:inline-block;
  padding:10px 14px;
  border:none; border-radius:10px;
  background:#007bff; color:#fff; font-weight:800;
  cursor:pointer;
}
.btn-add:hover{ filter:brightness(.95); }

/* En móvil, tarjeta vertical */
@media (max-width:575.98px){
  .catalog-link{ grid-template-columns: 1fr; text-align:center; }
  .catalog-info{ align-items:center; }
}

/* ===== Carrito ===== */
.cart-widget{
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: min(420px, calc(100% - 32px));
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  overflow: hidden;
  z-index: 1200;
}
.cart-header{
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 14px; background:#f8fafc; border-bottom:1px solid #e2e8f0;
}
.cart-count{ background:#0ea5e9; color:#fff; font-weight:800; padding:2px 8px; border-radius:999px; }

.cart-body{ max-height: 46vh; overflow:auto; padding:10px 12px; }
.cart-empty{ margin: 8px 2px; color:#64748b; }

.cart-row{ border-bottom:1px dashed #e2e8f0; padding:8px 0; }
.cart-row:last-child{ border-bottom:0; }
.cart-row-main{ display:flex; justify-content:space-between; align-items:center; gap:10px; }
.cart-name{ font-weight:800; color:#0f172a; text-decoration:none; }
.cart-unit{ color:#0a66ff; font-weight:800; }
.cart-row-ctrl{ display:flex; align-items:center; gap:8px; margin-top:6px; }
.qbtn{ width:28px; height:28px; border-radius:8px; border:1px solid #e2e8f0; background:#fff; cursor:pointer; }
.rm{ width:28px; height:28px; border-radius:8px; border:1px solid #e2e8f0; background:#fff; color:#e11d48; font-weight:900; cursor:pointer; }
.cart-sub{ margin-left:auto; font-weight:800; }

.cart-footer{ border-top:1px solid #e2e8f0; padding:10px 12px; }
.cart-total{ font-weight:900; margin-bottom:8px; }
.btn-cart{
  display:inline-block; width:100%;
  padding:10px 12px; border:none; border-radius:10px; background:#007bff; color:#fff; font-weight:800; cursor:pointer;
  margin-bottom:8px;
}
.btn-cart.btn-mail{ background:#22c55e; }
.btn-cart:hover{ filter:brightness(.95); }

/* Quitar subrayados del card link */
.catalog-link, .catalog-link:hover, .catalog-link:focus { text-decoration:none; }
.catalog-name, .catalog-price { text-decoration:none; }




/* === Espacio bajo el nav para el catálogo (ajusta si tu nav es más alto) === */
.catalogo{ padding: 100px 0 120px; background:#e5ebf0; } /* +120px porque ahora el carrito ocupa esquina */

/* === Carrito flotante === */
.cart-widget{
  position: fixed;
  right: 16px;
  bottom: 90px; /* deja hueco para el botón WA flotante */
  width: min(420px, calc(100% - 32px));
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:14px;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  overflow:hidden;
  z-index: 1400;
}
.cart-header{
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 12px; background:#f8fafc; border-bottom:1px solid #e2e8f0; cursor:pointer;
}
.cart-right{ display:flex; align-items:center; gap:8px; }
.cart-count{ background:#0ea5e9; color:#fff; font-weight:800; padding:2px 8px; border-radius:999px; }
.cart-toggle{ border:none; background:transparent; font-size:18px; line-height:1; cursor:pointer; padding:2px 6px; }
.cart-body{ max-height: 46vh; overflow:auto; padding:10px 12px; }
.cart-empty{ margin:8px 2px; color:#64748b; }
.cart-row{ border-bottom:1px dashed #e2e8f0; padding:8px 0; }
.cart-row:last-child{ border-bottom:0; }
.cart-row-main{ display:flex; justify-content:space-between; align-items:center; gap:10px; }
.cart-name{ font-weight:800; color:#0f172a; text-decoration:none; }
.cart-unit{ color:#0a66ff; font-weight:800; }
.cart-row-ctrl{ display:flex; align-items:center; gap:8px; margin-top:6px; }
.qbtn, .rm{ width:28px; height:28px; border-radius:8px; border:1px solid #e2e8f0; background:#fff; cursor:pointer; }
.rm{ color:#e11d48; font-weight:900; }
.cart-sub{ margin-left:auto; font-weight:800; }
.cart-footer{ border-top:1px solid #e2e8f0; padding:10px 12px; }
.cart-total{ font-weight:900; margin-bottom:8px; }
.btn-cart{
  display:inline-block; width:100%;
  padding:10px 12px; border:none; border-radius:10px; color:#fff; font-weight:800; cursor:pointer;
  margin-bottom:8px;
}
.btn-cart.btn-wa{ background:#25D366; }  /* WhatsApp */
.btn-cart.btn-mail{ background:#22c55e; }

/* Estado minimizado */
.cart-widget.is-collapsed .cart-body,
.cart-widget.is-collapsed .cart-footer{ display:none; }
.cart-widget.is-collapsed .cart-toggle{ transform: rotate(180deg); }

/* === Botón flotante WhatsApp === */
.btn-wa-float{
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  display: grid; place-items: center;
  z-index: 1500; /* por encima del carrito */
}
.btn-wa-float:hover{ filter: brightness(.95); }

/* === Grid/ tarjetas (igual que tenías) === */
.catalog-grid{
  display:grid; gap:22px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}
@media (max-width:1199.98px){ .catalog-grid{ grid-template-columns: repeat(2,1fr);} }
@media (max-width:767.98px){  .catalog-grid{ grid-template-columns: 1fr; } }

.catalog-card{
  background:#fff; border-radius:16px;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease; overflow:hidden;
}
.catalog-card:hover{ transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.10); }

.catalog-link{
  display:grid; grid-template-columns: 120px 1fr; align-items:center; gap:14px;
  text-decoration:none; color:inherit; padding:14px 16px 6px;
}
.catalog-imgWrap{ display:grid; place-items:center; }
.catalog-imgWrap img{ max-width:110px; max-height:110px; width:auto; height:auto; object-fit:contain; }
.catalog-info{ display:flex; flex-direction:column; gap:6px; }
.catalog-name{ margin:0; font-size:16px; font-weight:800; color:#2a3b4c; }
.catalog-price{ margin:0; font-size:26px; font-weight:900; color:#28a745; }

/* Quitar subrayados del card link */
.catalog-link, .catalog-link:hover, .catalog-link:focus{ text-decoration:none; }
.catalog-name, .catalog-price{ text-decoration:none; }



/* === Ajustes móvil: que el carrito no tape las tarjetas === */
@media (max-width: 575.98px){
  /* Más espacio al final del contenido para que el carrito no cubra las cards */
  .catalogo{
    padding-bottom: 260px; /* ajusta si tu carrito crece mucho */
  }

  /* Carrito centrado abajo, con ancho fluido */
  .cart-widget{
    right: 10px;
    left: 10px;          /* ancho auto entre márgenes */
    width: auto;
    bottom: calc(80px + env(safe-area-inset-bottom)); /* deja hueco al botón WA */
    border-radius: 12px;
  }

  /* Limita el alto del listado en móvil */
  .cart-body{
    max-height: 36vh;    /* que no sea gigante */
  }
}

/* iPhone safe area: asegura que el contenido no quede bajo el borde curvo */
@supports (padding: max(0px)){
  @media (max-width: 575.98px){
    .catalogo{
      padding-bottom: max(260px, calc(env(safe-area-inset-bottom) + 200px));
    }
  }
}



/* ---------- OFF-CANVAS carrito en móvil/tablet ---------- */
@media (max-width: 991.98px){
  .cart-widget{
    right: 0;
    left: auto;
    bottom: 20px;
    width: min(420px, 92vw);
    border-radius: 14px 0 0 14px;
    transform: translateX(0);
    transition: transform .28s ease;
  }
  /* cerrado: se esconde a la derecha */
  .cart-widget.is-oc-closed{
    transform: translateX(calc(100% + 16px));
    pointer-events: none;
  }
  /* abierto: normal */
  .cart-widget.is-oc-open{
    transform: translateX(0);
    pointer-events: auto;
  }

  /* menos padding al contenido porque el panel ya no tapa */
  .catalogo{ padding-bottom: 120px; }
}

/* ---------- Botón flotante para abrir/ cerrar el carrito ---------- */
.btn-cart-float{
  position: fixed;
  right: 20px;
  bottom: 90px;              /* por encima del botón WA si lo usas */
  width: 56px; height: 56px;
  border-radius: 999px;
  display: grid; place-items: center;
  background: #007bff;       /* azul del sitio */
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  border: 0; cursor: pointer;
  z-index: 1600;
}
.btn-cart-float:hover{ filter: brightness(.95); }
.cart-fab-badge{
  position: absolute; top: -6px; right: -6px;
  min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; background:#22c55e; color:#fff;
  font-weight: 800; font-size: 12px; display: grid; place-items: center;
}

/* Oculta el botón en desktop (solo móvil/tablet) */
@media (min-width: 992px){
  .btn-cart-float{ display: none; }
}


/* ---------- OFF-CANVAS carrito en móvil/tablet (corrige superposición) ---------- */
@media (max-width: 991.98px){
  .cart-widget{
    right: 0;
    left: auto;
    bottom: 20px;
    width: min(420px, 92vw);
    border-radius: 14px 0 0 14px;
    transform: translateX(0);
    transition: transform .28s ease;
    z-index: 1400;
  }
  .cart-widget.is-oc-closed{
    transform: translateX(calc(100% + 16px));
    pointer-events: none;
  }
  .cart-widget.is-oc-open{
    transform: translateX(0);
    pointer-events: auto;
  }
  .catalogo{ padding-bottom: 120px; }
}

/* ---------- Botón flotante para abrir/cerrar carrito ---------- */
.btn-cart-float{
  position: fixed;
  right: 20px;
  bottom: 90px;             /* por encima del botón WA si lo usas */
  width: 56px; height: 56px;
  border-radius: 999px;
  display: grid; place-items: center;
  background: #007bff;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  border: 0; cursor: pointer;
  z-index: 1600;
}
.btn-cart-float:hover{ filter: brightness(.95); }
.cart-fab-badge{
  position: absolute; top: -6px; right: -6px;
  min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; background:#22c55e; color:#fff;
  font-weight: 800; font-size: 12px; display: grid; place-items: center;
}

/* ---------- Ajustes móvil extra (no tape cards) ---------- */
@media (max-width: 575.98px){
  .catalogo{ padding-bottom: 260px; }
  .cart-body{ max-height: 36vh; }
}


/* --- Colocar el botón debajo de "Consultar" y agrandar imagen --- */

/* La tarjeta pasa a grid de 2 columnas: [imagen | info] */
.catalog-card{
  display: grid;
  grid-template-columns: 140px 1fr;   /* antes 120px -> imagen un pelín más grande */
  grid-auto-rows: min-content;
}

/* El bloque con imagen+texto sigue ocupando la fila superior completa */
.catalog-link{
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 140px 1fr;   /* acompasa con el ancho de imagen */
  align-items: center;
  gap: 14px;
}

/* Imagen un poco más grande */
.catalog-imgWrap img{
  max-width: 140px;   /* antes ~110px */
  max-height: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* El botón (acciones) se coloca en la columna de la info, debajo del precio */
.catalog-actions{
  grid-column: 2;               /* columna derecha */
  justify-self: start;          /* alineado al inicio */
  padding: 0 16px 16px;         /* mismo padding lateral que la card */
}

/* Asegura que el botón no quede posicionado raro */
.btn-add{
  position: static;  /* o unset; ambos ok */
  margin-top: 6px;   /* respirito bajo el precio */
}

/* --- Responsive móvil: apila todo y centra el botón --- */
@media (max-width: 575.98px){
  .catalog-card{
    grid-template-columns: 1fr;     /* una columna */
  }
  .catalog-link{
    grid-template-columns: 1fr;     /* imagen arriba, texto abajo */
    text-align: center;
  }
  .catalog-actions{
    grid-column: 1;                 /* ocupa la única columna */
    justify-self: center;           /* botón centrado */
  }
  .catalog-imgWrap img{
    max-width: 120px;
    max-height: 120px;              /* un pelín menor en pantallas chicas */
  }
}

/* Cuando está minimizado: oculta COMPLETAMENTE el panel del carrito
   (queda solo el botón flotante circular). */
.cart-widget.is-collapsed{
  display: none !important;
}

/* La cabecera ya no es botón */
.cart-header{ cursor: default; }
/* Al minimizar, que desaparezca el panel (queda solo el círculo) */
.cart-widget.is-collapsed{ display:none !important; }


/* Mini form dentro del carrito */
.contact-form{ padding:10px 12px 6px; background:#f8fafc; border-top:1px solid #e2e8f0; }
.contact-form.hidden{ display:none; }
.cf-label{ display:block; font-size:12px; color:#475569; margin:6px 0 4px; }
.cf-input{
  width:100%; border:1px solid #dbe2ea; border-radius:10px; padding:10px 12px;
  background:#fff; outline:none;
}
.cf-input:focus{ border-color:#0ea5e9; box-shadow:0 0 0 3px rgba(14,165,233,.15); }
.cf-row-actions{ display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:10px; }
.cf-remember{ font-size:12px; color:#475569; display:flex; align-items:center; gap:6px; }
.cf-actions{ display:flex; gap:8px; }
.cf-btn{
  background:#0ea5e9; color:#fff; border:0; border-radius:10px; padding:8px 12px; font-weight:800; cursor:pointer;
}
.cf-btn.ghost{ background:#e2e8f0; color:#0f172a; }

/* Link para editar datos del contacto */
.cf-edit{
  display:block;
  text-align:right;
  margin:6px 2px 10px;
  font-size:12px;
  color:#0369a1;
  text-decoration:underline;
}
.cf-edit:hover{ color:#0ea5e9; }


/* FAB WhatsApp */
.wa-fab{
  position: fixed; right: 20px; bottom: 20px;
  width: 56px; height: 56px; border-radius: 999px;
  display: grid; place-items: center; border:0; cursor:pointer;
  background:#22c55e; box-shadow: 0 10px 24px rgba(0,0,0,.25); z-index:1600;
}
.wa-fab:hover{ filter: brightness(.95); }

/* Backdrop + Card */
.wa-backdrop{
  position:fixed; inset:0; background:rgba(2,6,23,.45);
  backdrop-filter: blur(2px);
  z-index:1700;
}
.wa-card{
  position: fixed; z-index:1710; width: min(480px, 92vw);
  background:#fff; border-radius: 16px; padding:16px 16px 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,.28);
  left:50%; transform: translateX(-50%);
  bottom: 90px; /* por encima del FAB */
}
.wa-card h3{ margin:0 0 8px; font-weight:800; color:#0f172a; }
.hidden{ display:none !important; }

/* Inputs */
.wa-lab{ display:block; font-size:12px; color:#475569; margin:8px 0 4px; }
.wa-input{
  width:100%; border:1px solid #dbe2ea; border-radius:10px; padding:10px 12px;
  background:#fff; outline:none;
}
.wa-input:focus{ border-color:#0ea5e9; box-shadow:0 0 0 3px rgba(14,165,233,.15); }
.wa-remember{ display:flex; align-items:center; gap:6px; font-size:12px; color:#475569; margin-top:8px; }
.wa-actions{ display:flex; justify-content:flex-end; gap:8px; margin-top:12px; }
.wa-btn{ background:#007bff; color:#fff; border:0; border-radius:10px; padding:9px 14px; font-weight:800; cursor:pointer; }
.wa-btn.ghost{ background:#e2e8f0; color:#0f172a; }

/* Responsive */
@media (max-width: 575.98px){
  .wa-card{ width: calc(100vw - 24px); bottom: 84px; }
}

/* ===== PDF button (mantiene look de .btn) ========================= */
.price-and-button .pdf-wrap {      /* separa del precio */
  margin-top: 12px;
}

.btn-pdf{                          /* evita la “pastillita” estrecha */
  display: inline-block;
  white-space: nowrap;             /* no partir “Descargar PDF” */
  min-width: 200px;                /* ancho mínimo agradable */
  width: 100%;                     /* ocupa todo el ancho en móvil */
  max-width: 280px;                /* límite para que no sea gigante */
}

/* Iconito opcional delante del texto (quítalo si no lo quieres) */
.btn-pdf span::before{
  content: "📄";
  margin-right: 8px;
  display: inline-block;
  transform: translateY(1px);
}

/* Un poco más ancho en tablets/escritorio */
@media (min-width: 768px){
  .btn-pdf{ max-width: 320px; }
}

/* Si el botón va dentro de un <a>, asegúrate de no subrayar */
a[href$=".pdf"]{ text-decoration: none; }


/* ==== PDF button responsive fix ===================================== */

/* Desktop: mantiene el layout actual */
.price-and-button{
  display: flex;
  align-items: center;
  gap: 12px;                 /* separa precio y botón */
  flex-wrap: wrap;           /* evita solapes si el contenedor es estrecho */
}
.price-and-button .pdf-wrap{
  margin-left: 8px;          /* pequeño respiro a la derecha del precio */
}
.btn-pdf{
  display: inline-block;
  white-space: nowrap;       /* no partir “Descargar PDF” */
  min-width: 200px;
  max-width: 320px;
}

/* Tablet & móvil: apilar y ocupar ancho completo */
@media (max-width: 991.98px){
  .price-and-button{
    display: block !important;   /* fuerza columna en páginas con flex heredado */
  }
  .price-and-button .product-price{
    display: block;
    margin-bottom: 10px;         /* el precio queda arriba con respiro */
  }
  .price-and-button .pdf-wrap{
    margin-left: 0;
    width: 100%;
  }
  .btn-pdf{
    display: block;
    width: 100%;
    min-width: 0;
    max-width: none;
    text-align: center;
  }
}

/* Móvil pequeño: tipografía y padding cómodos */
@media (max-width: 575.98px){
  .btn-pdf{
    font-size: 0.95rem;
    padding: 12px 14px;
  }
}

/* Por si el botón va dentro de un <a>, evitar subrayado */
.price-and-button a[href$=".pdf"]{
  text-decoration: none;
}





/* ==================== AHORRO — NUEVO LOOK ==================== */
.ah-alt{
  padding: clamp(36px,5vw,72px) 0;
  background: #ffffff ;
}

.ah-title{
  text-align:center;
  color:#0a2b57;
  font-weight:800;
  letter-spacing:.5px;
  margin:0 0 clamp(18px,3vw,28px);
}

.ah-compare{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(18px,3vw,28px);
  align-items: stretch;
}

.ah-vs{
  display:grid; place-items:center;
  font-weight:900;
  color:#0a2b57;
  font-size: clamp(28px,5vw,48px);
}

/* Tarjetas */
.ah-card{
  background:#fff;
  border-radius:18px;
  box-shadow:0 12px 28px rgba(2,6,23,.08);
  overflow:hidden;
  display:flex; flex-direction:column;
  border:1px solid #e6edf5;
}

.ah-card .ah-head{
  display:grid;
  grid-template-columns: 56px 1fr 120px;
  gap:14px; align-items:center;
  padding:16px clamp(14px,2.4vw,20px);
  border-bottom:1px dashed #e6edf5;
  background: linear-gradient(90deg, rgba(16,188,214,.08), transparent);
}

.ah-head-icon{
  width:56px;height:56px;border-radius:14px;
  display:grid;place-items:center;
  background:#e6f9fd;color:#10bcd6;font-size:22px;
}
.ah-head-icon.ok{ background:#e9fdf3; color:#10c26c; }

.ah-head-title{
  margin:0; font-weight:900; color:#0f172a; line-height:1.2;
}
.ah-head-sub{
  margin:0; color:#64748b; font-size:13px;
}
.ah-head-img{
  width:100%; height:72px; object-fit:contain; filter:drop-shadow(0 6px 12px rgba(2,6,23,.15));
}

/* Lista izquierda (embotellada) */
.ah-list{ list-style:none; margin:0; padding:8px clamp(14px,2.4vw,20px) 18px; display:grid; gap:12px; }
.ah-list li{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px; border:1px solid #eef2f7; border-radius:14px;
  background:#ffffff;
}
.ah-list-left{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.ah-bullet{ color:#0f172a; font-size:16px; width:22px; text-align:center; }
.ah-litros{ font-weight:800; color:#0f172a; }
.ah-note{ color:#7b8a9b; font-size:12px; }

.ah-price-pill{
  background:#0ea5e9; color:#fff; font-weight:900;
  padding:8px 12px; border-radius:999px; white-space:nowrap;
  box-shadow:0 6px 14px rgba(14,165,233,.25);
}

/* Derecha (ósmosis) */
.ah-hero-price{
  display:flex; align-items:baseline; gap:10px;
  padding:18px clamp(14px,2.4vw,20px) 8px;
}
.ah-price-big{
  background:#0a2b57; color:#fff; font-weight:900;
  padding:10px 14px; border-radius:12px; white-space:nowrap;
  box-shadow:0 8px 16px rgba(16,194,108,.25);
  font-size: clamp(18px,2.3vw,22px);
}
.ah-hero-note{ color:#64748b; font-size:13px; }

.ah-badges{
  display:flex; flex-wrap:wrap; gap:8px;
  padding:0 clamp(14px,2.4vw,20px) 18px;
  list-style:none; margin:0;
}
.ah-badges li{
  display:inline-flex; align-items:center; gap:8px;
  background:#f1f8ff; color:#0f172a; border:1px solid #e6edf5;
  padding:8px 12px; border-radius:999px; font-weight:700; font-size:13px;
}
.ah-badges i{ color:#10c26c; }

/* Nota */
.ah-footnote{
  text-align:center; color:#7b8a9b; margin-top:16px; font-size:13px;
}

/* Responsive */
@media (max-width: 991.98px){
  .ah-compare{ grid-template-columns: 1fr; }
  .ah-vs{ order:-1; height:40px; }
  .ah-head{ grid-template-columns: 48px 1fr 96px; }
  .ah-head-img{ height:60px; }
}

/* ==== Fix orden en móvil/tablet para la sección ahorro (VS entre tarjetas) ==== */
@media (max-width: 991.98px){
  .ah-compare{
    grid-template-columns: 1fr;   /* una sola columna */
  }
  /* Fuerza el orden correcto */
  .ah-card.is-left{ order: 1; }
  .ah-alt .ah-vs{ 
    order: 2 !important;          /* anula el -1 anterior */
    margin: 12px 0 8px;
    justify-self: center; 
  }
  .ah-card.is-right{ order: 3; }

  /* Ajustes pequeños de la cabecera en móvil */
  .ah-card .ah-head{
    grid-template-columns: 48px 1fr 96px;
  }
  .ah-head-img{ height: 60px; }
}


/* ===== AHORRO: layout más cuadrado/centrado + imagen más grande ===== */

/* 1) Limitar el ancho del bloque y centrarlo */
#ahorro.ah-alt .container{
  max-width: 1160px;            /* <— ajusta a 1080 / 1120 / 1200 si quieres */
  margin-inline: auto;
}

/* 2) En desktop: columnas más “boxy” (no estiran a toda la pantalla) */
@media (min-width: 992px){
  .ah-compare{
    justify-content: center;     /* centra el grid */
    grid-template-columns:
      minmax(460px, 540px)       /* tarjeta izquierda */
      90px                       /* VS */
      minmax(460px, 540px);      /* tarjeta derecha */
    gap: 28px;
  }
  .ah-vs{
    font-size: clamp(28px, 3.5vw, 56px);
  }
}

/* 3) Hacer la cabecera de cada tarjeta más potente y la imagen más grande */
.ah-card .ah-head{
  grid-template-columns: 72px 1fr 150px;  /* icono – texto – imagen */
  padding-block: 18px;
}
.ah-head-img{
  height: clamp(90px, 10vw, 120px);       /* <— imagen claramente más grande */
  object-fit: contain;
}

/* 4) Tarjeta más “compacta” (menos alargada) */
.ah-card{
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(2,6,23,.08);
}
.ah-list{ gap: 14px; }
.ah-list li{
  padding: 14px 16px;
}
.ah-price-pill{
  padding: 10px 16px;
  font-weight: 900;
}

/* 5) Título centrado y con ancho cómodo para que no ocupe toda la fila */
.ah-title{
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

/* 6) Responsive: mantener el orden en móvil (izq → VS → der) */
@media (max-width: 991.98px){
  .ah-compare{ grid-template-columns: 1fr; }
  .ah-card.is-left{ order: 1; }
  .ah-alt .ah-vs{ order: 2 !important; margin: 12px 0 8px; justify-self: center; }
  .ah-card.is-right{ order: 3; }

  /* cabecera compacta en móvil */
  .ah-card .ah-head{ grid-template-columns: 56px 1fr 110px; }
  .ah-head-img{ height: 82px; }
}


/* ===== Navegación entre páginas de producto (tipo carrusel) ===== */
.prod-nav{
  position: fixed;
  inset: 0;
  pointer-events: none;      /* el contenedor no bloquea clics */
  z-index: 1600;
}
.prod-nav-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border: 0; border-radius: 999px;
  display: grid; place-items: center;
  font-size: 30px; font-weight: 800; line-height: 1;
  color: #fff;
  background: linear-gradient(135deg,#0ea5e9,#007bff);
  box-shadow: 0 12px 24px rgba(2,6,23,.28);
  cursor: pointer;
  pointer-events: auto;      /* los botones sí reciben clics */
  transition: transform .12s ease, filter .12s ease;
}
.prod-nav-btn.prev { left: 18px; }
.prod-nav-btn.next { right: 18px; }
.prod-nav-btn:hover{ filter:brightness(.95); transform: translateY(-50%) scale(1.05); }
.prod-nav-btn:active{ transform: translateY(-50%) scale(0.98); }

@media (max-width: 991.98px){
  .prod-nav-btn{
    top: auto; bottom: 22px; transform: none;
    width: 56px; height: 56px; font-size: 28px;
  }
  .prod-nav-btn.prev{ left: 14px; }
  .prod-nav-btn.next{ right: 14px; }
}

@media print{ .prod-nav{ display:none; } }
