body {
    margin: 0;
    font-family: Arial, sans-serif;
}
/* ===== BUSCADOR ===== */
/* ===== BUSCADOR INLINE ===== */
.search-form {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
    background: #f9f9f9;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-form:focus-within {
    border-color: #1a7a6e;
    box-shadow: 0 0 0 3px rgba(26,122,110,0.1);
    background: #fff;
}

.search-form input {
    border: none;
    background: transparent;
    padding: 8px 14px;
    font-size: 13px;
    width: 200px;
    outline: none;
    color: #333;
}

.search-form input::placeholder {
    color: #aaa;
}

.search-form button {
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.search-form button:hover {
    color: #1a7a6e;
}
.search-wrapper {
    position: relative;
}

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #111;
    font-size: 14px;
    padding: 0;
    transition: color 0.2s;
}

.search-toggle:hover {
    color: #c0392b;
}

.search-box {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 280px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    display: none;
    z-index: 100;
}

.search-box.active {
    display: block;
}

.search-box form {
    display: flex;
    gap: 6px;
}

.search-box input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
}

.search-box input:focus {
    border-color: #1a7a6e;
}

.search-box button[type="submit"] {
    padding: 8px 12px;
    background: #1a2e35;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.search-box button[type="submit"]:hover {
    background: #1a7a6e;
}
/* HEADER */
.header {
    background: #0f5c6e;
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
}

.menu a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
}
.header-top {
    padding: 12px 60px; /* aumenta este valor, antes probablemente era menos */
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* TITULO */
.titulo {
    text-align: center;
    margin: 40px 0;
}

/* LAYOUT */
.contenedor {
    display: flex;
    padding: 20px;
}

/* SIDEBAR */
.sidebar {
    width: 250px;
}

.sidebar li {
    list-style: none;
    padding: 12px;
    background: #0f5c6e;
    color: white;
    margin-bottom: 5px;
}

.sidebar .activo {
    background: #083f4c;
}


/* CONTACTO */
.contacto {
    margin-top: 100px;
    padding: 40px;
    background: #f4f4f4;
}

.contacto-contenedor {
    display: flex;
    justify-content: space-between;
    max-width: 900px;
    margin: auto;
}

.formulario {
    display: flex;
    flex-direction: column;
    width: 400px;
}

.formulario input,
.formulario textarea {
    margin-bottom: 10px;
    padding: 10px;
}

button {
    background: #0f5c6e;
    color: white;
    border: none;
    padding: 10px;
}

/* FOOTER */
.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-icons .icon {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.header-icons .icon:hover {
    color: #c0392b;
}

.header-icons .icon svg {
    display: block;
}

/* Carrito con contador */
.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #c0392b;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ===== FOOTER ===== */
.footer {
    background-color: #0f5c6e;
    border-top: 1px solid #e5e5e5;
    padding: 50px 40px 20px;
    font-family: inherit;
    color: #ffffff;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 0.8fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e5e5e5;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #ffffff;
}

.footer-col p {
    font-size: 14px;
    color: #ffffff;
    line-height: 1.7;
    margin-bottom: 10px;
}

/* Newsletter */
.footer-newsletter-text {
    font-weight: 500;
    color: #ffffff !important;
    margin-bottom: 16px !important;
}

.footer-newsletter {
    display: flex;
    gap: 0;
}

.footer-newsletter input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-right: none;
    font-size: 13px;
    outline: none;
}

.footer-newsletter button {
    padding: 10px 16px;
    background-color: #e8e0d5;
    border: 1px solid #ccc;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}

.footer-newsletter button:hover {
    background-color: #d4c8b8;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover,
.footer-links a.active {
    color: #000000;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-left .footer-logo-text {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    display: block;
    margin-bottom: 4px;
}

.footer-bottom-left p {
    font-size: 12px;
    color: #ffffff;
    margin: 0;
}

.footer-bottom-center {
    text-align: center;
}

.footer-bottom-center p,
.footer-bottom-center a {
    font-size: 13px;
    color: #ffffff;
    display: block;
    text-decoration: none;
}

.footer-bottom-center a:hover {
    color: #c0392b;
}

/* Redes sociales */
.footer-social {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-social a {
    color: #ffffff;
    transition: color 0.2s;
    
}

.footer-social a:hover {
    color: #111;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* HERO */
.hero {
    text-align: center;
    padding: 40px 20px;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.hero p {
    color: #ffffff;
    margin: 5px 0;
}

/* ===== BANNER CTA ===== */
.banner-cta {
    position: relative;
    width: 100%;
    height: 520px;
   
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-cta-overlay {
    position: absolute;
    inset: 0;
   
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    gap: 16px;
}



/* Título */
.banner-cta-titulo {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
    margin: 0;
    line-height: 1.1;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* Subtítulo */
.banner-cta-subtitulo {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: rgba(0, 0, 0, 0.9);
    line-height: 1.6;
    margin: 0;
       text-shadow: 0 2px 12px rgba(255, 255, 255, 0.4);
}

/* Botones */
.banner-cta-botones {
    display: flex;
    gap: 16px;
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.banner-btn-tienda,
.banner-btn-contacto {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
}

.banner-btn-tienda {
    background: #FCF4D7;
    color: #000000;
}

.banner-btn-contacto {
    background: #187a90;
    color: #fff;
}

.banner-btn-tienda:hover,
.banner-btn-contacto:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}


/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    left: 70px;
    background: #1a2e35;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.whatsapp-flotante:hover .whatsapp-tooltip {
    opacity: 1;
}

/* Responsive */
@media (max-width: 540px) {
    .banner-cta { height: 480px; }
    .banner-btn-tienda,
    .banner-btn-contacto { padding: 13px 22px; font-size: 12px; }
}
/* ===== BARRA DE BENEFICIOS ===== */
.beneficios-bar {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-radius: 12px;
    margin: -28px auto 0;
    max-width: 800px;
    position: relative;
    z-index: 10;
    padding: 22px 40px;
}

.beneficios-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.beneficio-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
}

.beneficio-item span {
    font-size: 13px;
    font-weight: 700;
    color: #1a2e35;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

.beneficio-sep {
    width: 1px;
    height: 28px;
    background: #e5e5e5;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 640px) {
    .beneficios-bar {
        margin: -20px 16px 0;
        padding: 18px 20px;
    }

    .beneficios-inner {
        flex-direction: column;
        gap: 14px;
    }

    .beneficio-sep {
        width: 40px;
        height: 1px;
    }
}

/* GENERAL */
.site-header {
    font-family: Arial, sans-serif;
}

/* TOP BAR */
.top-bar {
    background: #0a424f;
    color: #fff;
    text-align: center;
    font-size: 10px;
    padding: 3px 7px;
}

/* HEADER TOP */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.top-menu a {
    margin-right: 20px;
    text-decoration: none;
    color: #444;
    font-size: 15px;
}

.top-menu a:last-child {
    margin-right: 5px;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-icons .icon {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    position: relative;
}

.cart-count {
    background: #000;
    color: #fff;
    font-size: 11px;
    border-radius: 50%;
    padding: 2px 6px;
    position: absolute;
    top: -8px;
    right: -10px;
}

/* LOGO */
.header-logo {
    text-align: center;
 
 
}

.custom-logo {
    max-height: 100px;
    width: auto;
}

/* MENÚ PRINCIPAL */
.main-menu {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 15px 0;
    border-top: 1px solid #ddd;
}

.main-menu a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.main-menu a:hover {
    color: #e02b2b;
}
.ubicacion {
    background: #f7f7f7;
    padding: 60px 0;
    margin-top: 60px;
}

.ubicacion h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
}

.ubicacion p {
    text-align: center;
    margin-bottom: 30px;
    color: #555;
    line-height: 1.8;
}

.mapa iframe {
    border-radius: 8px;
}
/* ===== PÁGINA NOSOTROS ===== */

/* Hero */
.nosotros-hero {
    position: relative;
    height: 480px;
    overflow: hidden;
}

.nosotros-hero-img {
    width: 100%;
    height: 100%;
}

.nosotros-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.nosotros-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 90%;
    max-width: 700px;
}

.nosotros-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c8a882;
    margin-bottom: 16px;
}

.nosotros-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.nosotros-hero-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
}

/* Label de sección */
.seccion-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c0392b;
    margin-bottom: 12px;
}

/* Historia */
.nosotros-historia {
    padding: 90px 40px;
    background: #fff;
}

.nosotros-historia-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.nosotros-historia-texto h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
    line-height: 1.3;
}

.nosotros-historia-texto p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 16px;
}

.nosotros-historia-img {
    position: relative;
}

.nosotros-historia-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 4px;
}

.nosotros-anos {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: #111;
    color: #fff;
    padding: 24px 28px;
    text-align: center;
}

.anos-num {
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
    color: #c8a882;
    line-height: 1;
}

.anos-text {
    display: block;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 6px;
    color: rgba(255,255,255,0.7);
}

/* Valores */
.nosotros-valores {
    padding: 90px 40px;
    background: #f9f7f4;
    text-align: center;
}

.nosotros-valores-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.nosotros-valores h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 50px;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: left;
}

.valor-card {
    background: #fff;
    padding: 32px 24px;
    border-bottom: 3px solid transparent;
    transition: border-color 0.3s, transform 0.3s;
}

.valor-card:hover {
    border-color: #c0392b;
    transform: translateY(-4px);
}

.valor-icono {
    width: 52px;
    height: 52px;
    background: #f9f7f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: #c0392b;
}

.valor-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    margin-bottom: 10px;
}

.valor-card p {
    font-size: 13px;
    color: #777;
    line-height: 1.7;
}

/* Números */
.nosotros-numeros {
    background: #0f5c6e;
    padding: 60px 40px;
}

.numeros-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.numero-item {
    padding: 20px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.numero-item:last-child {
    border-right: none;
}

.numero {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    color: #c8a882;
    line-height: 1;
    margin-bottom: 10px;
}

.numero-label {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Equipo */
.nosotros-equipo {
    padding: 90px 40px;
    background: #fff;
    text-align: center;
}

.nosotros-equipo-inner {
    max-width: 900px;
    margin: 0 auto;
}

.nosotros-equipo h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 50px;
}

.equipo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.equipo-card {
    text-align: center;
}

.equipo-foto {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 18px;
    border: 3px solid #f0ece6;
}

.equipo-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipo-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
}

.equipo-card span {
    font-size: 13px;
    color: #999;
}

/* CTA Final */
.nosotros-cta {
    background: #f9f7f4;
    padding: 90px 40px;
    text-align: center;
}

.nosotros-cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.nosotros-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 16px;
}

.nosotros-cta p {
    font-size: 15px;
    color: #666;
    margin-bottom: 36px;
    line-height: 1.7;
}

.cta-botones {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-primary {
    padding: 14px 32px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.2s;
}

.cta-btn-primary:hover {
    background: #c0392b;
}

.cta-btn-secondary {
    padding: 14px 32px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.cta-btn-secondary:hover {
    background: #1da851;
}

/* Responsive */
@media (max-width: 900px) {
    .nosotros-historia-inner { grid-template-columns: 1fr; }
    .nosotros-anos { position: static; margin-top: 16px; display: inline-block; }
    .valores-grid { grid-template-columns: repeat(2, 1fr); }
    .numeros-grid { grid-template-columns: repeat(2, 1fr); }
    .equipo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .nosotros-hero { height: 340px; }
    .valores-grid { grid-template-columns: 1fr; }
    .numeros-grid { grid-template-columns: repeat(2, 1fr); }
    .equipo-grid { grid-template-columns: 1fr; }
    .nosotros-historia,
    .nosotros-valores,
    .nosotros-equipo,
    .nosotros-cta { padding: 60px 20px; }
}
/* ===== PRODUCTOS DESTACADOS ===== */
.productos-section {
    padding: 60px 20px;
    background: #fff;
}

.productos-titulo {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.productos-titulo h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a2e35;
    letter-spacing: 2px;
    display: inline-block;
    position: relative;
}

.productos-titulo h2::before,
.productos-titulo h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 2px;
    background: #1a7a6e;
}

.productos-titulo h2::before { right: calc(100% + 16px); }
.productos-titulo h2::after  { left:  calc(100% + 16px); }

/* Wrapper con flechas */
.productos-carrusel-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

/* Carrusel */
.productos-carrusel {
    overflow: hidden;
    flex: 1;
}

.productos-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

/* Card */
.producto-card {
    min-width: calc(25% - 15px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.producto-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.13);
}

.producto-img {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.producto-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.producto-card:hover .producto-img img {
    transform: scale(1.05);
}

.producto-info {
    padding: 16px 18px 20px;
    text-align: center;
}

.producto-categoria {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.producto-info h3 {
    font-size: 15px;
    font-weight: 800;
    color: #1a2e35;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.producto-precio {
    font-size: 14px;
    font-weight: 600;
    color: #1a7a6e;
}

/* Flechas */
.prod-prev,
.prod-next {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
    color: #333;
    line-height: 1;
}

.prod-prev:hover,
.prod-next:hover {
    background: #1a2e35;
    color: #fff;
    border-color: #1a2e35;
}

/* Responsive */
@media (max-width: 900px) {
    .producto-card { min-width: calc(50% - 10px); }
}

@media (max-width: 560px) {
    .producto-card { min-width: calc(100%); }
    .productos-titulo h2::before,
    .productos-titulo h2::after { display: none; }
} 
/*fin de productos destacados*/

/* ===== CATEGORÍAS ===== */
.categorias-section {
    padding: 50px 40px;
    background: #fff;
    max-width: 1100px;
    margin: 0 auto;
}

.categorias-titulo {
    text-align: center;
    margin-bottom: 48px;
     display: flex;
    flex-direction: column;  /* ← esto apila el label arriba y el h2 abajo */
    align-items: center;
}

.categorias-titulo h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a2e35;
    letter-spacing: 3px;
    margin-top: 8px;
    position: relative;
    display: inline-block;
}

.categorias-titulo h2::before,
.categorias-titulo h2::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 2px;
    background: #1a7a6e;
}

.categorias-titulo h2::before { right: calc(100% + 14px); }
.categorias-titulo h2::after  { left:  calc(100% + 14px); }

/* Grid principal */
.categorias-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

/* Card base */
.categoria-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    background: #f0ece6;
}

.categoria-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    min-height: 180px;
}

.categoria-card:hover img {
    transform: scale(1.04);
}

/* Card grande ocupa 2 filas */
.categoria-grande {
    grid-row: span 2;
}

.categoria-grande img {
    min-height: 380px;
}

/* Contenido sobre la imagen */
.categoria-content {
      position: absolute;
    top: 20px;
    left: 20px;
    max-width: 280px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(4px);
    padding: 16px 20px;
    border-radius: 8px;
}

.categoria-content h3 {
     font-size: 1.1rem;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 6px;
    font-style: italic;
}

.categoria-content p {
    font-size: 12px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 14px;
}

.categoria-link {
    display: inline-block;
    padding: 8px 18px;
    background: #1a2e35;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    letter-spacing: 0.5px;
    transition: background 0.2s, transform 0.2s;
}

.categoria-link:hover {
    background: #1a7a6e;
    color: #fff;
    letter-spacing: 0.5px;
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 900px) {
    .categorias-grid {
        grid-template-columns: 1fr 1fr;
    }

    .categoria-grande {
        grid-column: span 2;
        grid-row: span 1;
    }

    .categoria-grande img {
        min-height: 320px;
    }
}

@media (max-width: 560px) {
    .categorias-section {
        padding: 60px 16px;
    }

    .categorias-grid {
        grid-template-columns: 1fr;
    }

    .categoria-grande {
        grid-column: span 1;
    }

    .categorias-titulo h2::before,
    .categorias-titulo h2::after {
        display: none;
    }
}
/* ===== ¿POR QUÉ ELEGIRNOS? ===== */
.porque-section {
    padding: 80px 40px;
    background: #f9f7f4;
}

.porque-titulo {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;  /* ← esto apila el label arriba y el h2 abajo */
    align-items: center;
}

.porque-titulo h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a2e35;
    letter-spacing: 3px;
    margin-top: 8px;
    display: inline-block;
    position: relative;
}

.porque-titulo h2::before,
.porque-titulo h2::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 2px;
    background: #1a7a6e;
}

.porque-titulo h2::before { right: calc(100% + 14px); }
.porque-titulo h2::after  { left:  calc(100% + 14px); }

/* Grid */
.porque-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card */
.porque-card {
    background: #fff;
    border-radius: 12px;
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 3px solid transparent;
}

.porque-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.09);
    border-bottom-color: #1a7a6e;
}

/* Ícono */
.porque-icono {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #f0f7f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    color: #1a7a6e;
    transition: background 0.3s;
}

.porque-card:hover .porque-icono {
    background: #1a7a6e;
    color: #fff;
}

.porque-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1a2e35;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.porque-card p {
    font-size: 13px;
    color: #777;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 900px) {
    .porque-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .porque-section {
        padding: 60px 20px;
    }
    .porque-grid {
        grid-template-columns: 1fr;
    }
    .porque-titulo h2::before,
    .porque-titulo h2::after {
        display: none;
    }
}
/* ===== TESTIMONIOS ===== */
.testimonios-section {
    padding: 80px 40px;
    background: #fff;
}

.testimonios-titulo {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonios-titulo h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a2e35;
    letter-spacing: 3px;
    margin-top: 8px;
    display: inline-block;
    position: relative;
}

.testimonios-titulo h2::before,
.testimonios-titulo h2::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 2px;
    background: #1a7a6e;
}

.testimonios-titulo h2::before { right: calc(100% + 14px); }
.testimonios-titulo h2::after  { left:  calc(100% + 14px); }

/* Grid */
.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card */
.testimonio-card {
    background: #f9f7f4;
    border-radius: 12px;
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 3px solid transparent;
}

.testimonio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    border-top-color: #1a7a6e;
}

/* Estrellas */
.testimonio-estrellas {
    font-size: 18px;
    color: #f0a500;
    letter-spacing: 2px;
}

/* Texto */
.testimonio-texto {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    font-style: italic;
    flex: 1;
    margin: 0;
}

/* Autor */
.testimonio-autor {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.testimonio-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #1a2e35;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonio-autor strong {
    display: block;
    font-size: 14px;
    color: #1a2e35;
    font-weight: 700;
}

.testimonio-autor span {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

/* Responsive */
@media (max-width: 900px) {
    .testimonios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .testimonios-section {
        padding: 60px 20px;
    }
    .testimonios-grid {
        grid-template-columns: 1fr;
    }
    .testimonios-titulo h2::before,
    .testimonios-titulo h2::after {
        display: none;
    }
}
/* ===== ARCHIVO CATEGORÍAS ===== */
.archivo-section {
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.archivo-titulo {
    font-size: 2rem;
    font-weight: 700;
    color: #1a2e35;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 2px;
}

.productos-grid-woo {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.producto-card-woo {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.producto-card-woo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.13);
}

.producto-card-woo a {
    text-decoration: none;
    color: inherit;
}

.producto-img-woo img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.producto-info-woo {
    padding: 16px;
    text-align: center;
}

.producto-info-woo h3 {
    font-size: 14px;
    font-weight: 700;
    color: #1a2e35;
    margin-bottom: 8px;
}

/* ===== PRODUCTO INDIVIDUAL ===== */
.producto-single {
    padding: 60px 40px;
}

.producto-single-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.producto-single-img img {
    width: 100%;
    border-radius: 8px;
}

.producto-single-info h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a2e35;
    margin-bottom: 20px;
}

.btn-cotizar-woo {
    display: inline-block;
    margin-top: 24px;
    padding: 14px 32px;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s;
}

.btn-cotizar-woo:hover {
    background: #1da851;
}

@media (max-width: 768px) {
    .productos-grid-woo { grid-template-columns: repeat(2, 1fr); }
    .producto-single-inner { grid-template-columns: 1fr; }
}
/* ===== WOOCOMMERCE OVERRIDE ===== */
.archivo-section {
    padding: 60px 40px;
    background: #fff;
}

.archivo-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.archivo-inner .page-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a2e35;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
    text-align: center;
}

.woo-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 13px;
    color: #777;
}

.woo-toolbar select {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    outline: none;
}

/* Grid */
.woo-productos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Card */
.woo-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.woo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}

.woo-card > a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Imagen */
.woo-card-img {
    position: relative;
    overflow: hidden;
    height: 260px;
    background: #f9f7f4;
}

.woo-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.woo-card:hover .woo-card-img img {
    transform: scale(1.04);
}

/* Badge oferta */
.woo-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #c0392b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 2px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Info */
.woo-card-info {
    padding: 16px 20px 12px;
    background: #faf8f5;
}

.woo-card-categoria {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.woo-card-info h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1a2e35;
    margin-bottom: 6px;
}

.woo-card-precio {
    font-size: 15px;
    font-weight: 600;
    color: #1a7a6e;
}

.woo-card-precio del {
    color: #aaa;
    font-size: 13px;
    margin-right: 6px;
}

/* Botón cotizar */
.woo-btn-cotizar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: #c0392b;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s;
}

.woo-btn-cotizar:hover {
    background: #96281b;
}

/* Responsive */
@media (max-width: 900px) {
    .woo-productos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .archivo-section { padding: 40px 16px; }
    .woo-productos-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== PRODUCTO INDIVIDUAL WOOCOMMERCE ===== */
.woocommerce div.product {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Imagen principal más pequeña */
.woocommerce div.product div.images {
    width: 100% !important;
}

.woocommerce div.product div.images img {
    width: 100% !important;
    height: 420px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
}

/* Galería de miniaturas */
.woocommerce div.product div.images .flex-viewport {
    max-height: 420px !important;
}

.woocommerce div.product div.images .flex-control-thumbs {
    display: flex !important;
    gap: 8px !important;
    margin-top: 12px !important;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    width: 80px !important;
    height: 80px !important;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    width: 100% !important;
    height: 80px !important;
    object-fit: cover !important;
    border-radius: 4px !important;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.woocommerce div.product div.images .flex-control-thumbs li img:hover,
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active {
    opacity: 1;
}

/* Info del producto */
.woocommerce div.product div.summary {
    width: 100% !important;
    padding: 0 !important;
    float: none !important;
}

/* Título */
.woocommerce div.product h1.product_title {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: #1a2e35 !important;
    margin-bottom: 12px !important;
}

/* Precio */
.woocommerce div.product p.price {
    font-size: 1.4rem !important;
    color: #1a7a6e !important;
    margin-bottom: 20px !important;
}

.woocommerce div.product p.price del {
    color: #aaa !important;
    font-size: 1rem !important;
    margin-right: 8px !important;
}

/* Badge sale */
.woocommerce span.onsale {
    background: #c0392b !important;
    border-radius: 4px !important;
    width: auto !important;
    height: auto !important;
    padding: 4px 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.5 !important;
}

/* Cantidad */
.woocommerce div.product form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
}

.woocommerce div.product form.cart div.quantity input {
    width: 60px !important;
    padding: 10px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    text-align: center !important;
    font-size: 15px !important;
}

/* Botón añadir al carrito */
.woocommerce div.product form.cart .single_add_to_cart_button {
    background: #1a2e35 !important;
    color: #fff !important;
    padding: 12px 28px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    border-radius: 6px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
    background: #1a7a6e !important;
}

/* Botón wishlist YITH */
.yith-wcwl-add-to-wishlist {
    margin-top: 12px !important;
}

/* Breadcrumb */
.woocommerce .woocommerce-breadcrumb {
    max-width: 1100px !important;
    margin: 20px auto 0 !important;
    padding: 0 40px !important;
    font-size: 13px !important;
    color: #999 !important;
}

.woocommerce .woocommerce-breadcrumb a {
    color: #1a7a6e !important;
    text-decoration: none !important;
}

/* Tabs descripción */
.woocommerce div.product .woocommerce-tabs {
    max-width: 1100px !important;
    margin: 40px auto !important;
    padding: 0 40px !important;
    grid-column: 1 / -1 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-size: 14px !important;
    color: #1a2e35 !important;
    font-weight: 600 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce div.product {
        grid-template-columns: 1fr !important;
        padding: 0 20px !important;
        gap: 30px !important;
    }

    .woocommerce div.product div.images img {
        height: 300px !important;
    }
}
/* ===== PRODUCTO INDIVIDUAL WOOCOMMERCE ===== */
.single-producto-wrapper {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 40px;
}

/* Layout principal */
.woocommerce div.product {
    max-width: 1200px !important;
    margin: 30px auto !important;
    padding: 0 40px !important;
    display: flex !important;
    gap: 60px !important;
    align-items: start !important;
}

/* Galería izquierda */
.woocommerce div.product div.images {
    width: 48% !important;
    flex-shrink: 0 !important;
    float: none !important;
}

/* Imagen principal */
.woocommerce div.product div.images .woocommerce-product-gallery__image img,
.woocommerce-product-gallery__image a img {
    width: 100% !important;
    height: 480px !important;
    object-fit: contain !important;
    background: #f9f7f4 !important;
    display: block !important;
    border-radius: 4px !important;
}

/* Miniaturas horizontales abajo */
.woocommerce div.product div.images .flex-control-thumbs {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    margin-top: 12px !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    width: 80px !important;
    height: 80px !important;
    list-style: none !important;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    border: 2px solid #e5e5e5 !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: border-color 0.2s !important;
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover {
    border-color: #c0392b !important;
}

/* Columna derecha info */
.woocommerce div.product div.summary {
    flex: 1 !important;
    width: auto !important;
    float: none !important;
    padding: 0 !important;
}

/* Título */
.woocommerce div.product h1.product_title {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: #1a2e35 !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
}

/* Descripción corta / marca */
.woocommerce div.product .woocommerce-product-details__short-description p {
    font-size: 13px !important;
    color: #999 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    margin-bottom: 16px !important;
}

/* Precio */
.woocommerce div.product p.price {
    font-size: 1.4rem !important;
    color: #1a7a6e !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
}

.woocommerce div.product p.price del {
    color: #aaa !important;
    font-size: 1rem !important;
    margin-right: 8px !important;
}

/* Stock */
.woocommerce div.product .stock {
    font-size: 13px !important;
    color: #1a7a6e !important;
    font-weight: 600 !important;
    margin-bottom: 16px !important;
}

/* Atributos */
.woocommerce div.product .woocommerce-product-attributes {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 20px !important;
}

.woocommerce div.product .woocommerce-product-attributes tr {
    border-bottom: 1px solid #f0f0f0 !important;
}

.woocommerce div.product .woocommerce-product-attributes th,
.woocommerce div.product .woocommerce-product-attributes td {
    padding: 8px 0 !important;
    font-size: 13px !important;
    color: #555 !important;
}

.woocommerce div.product .woocommerce-product-attributes th {
    font-weight: 600 !important;
    color: #1a2e35 !important;
    width: 40% !important;
}

/* Botones */
.woocommerce div.product form.cart {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
}

.woocommerce div.product form.cart div.quantity {
    display: none !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
    width: 100% !important;
    background: #f5ede0 !important;
    color: #1a2e35 !important;
    padding: 16px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
    border: none !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
    background: #e8d9c5 !important;
}

/* Botón cotizar */
.woo-cotizar-single {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 16px !important;
    background: #c0392b !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: background 0.2s !important;
    margin-bottom: 16px !important;
    box-sizing: border-box !important;
}

.woo-cotizar-single:hover {
    background: #96281b !important;
    color: #fff !important;
}

/* Wishlist */
.yith-wcwl-add-to-wishlist {
    margin-top: 8px !important;
}

.yith-wcwl-add-to-wishlist a {
    color: #c0392b !important;
    font-size: 13px !important;
}

/* Meta SKU categoría */
.woocommerce div.product .product_meta {
    font-size: 12px !important;
    color: #aaa !important;
    margin-top: 16px !important;
    border-top: 1px solid #f0f0f0 !important;
    padding-top: 12px !important;
}

/* Badge Sale */
.woocommerce span.onsale {
    background: #c0392b !important;
    border-radius: 4px !important;
    width: auto !important;
    height: auto !important;
    min-height: auto !important;
    min-width: auto !important;
    padding: 4px 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
}

/* Breadcrumb */
.woocommerce .woocommerce-breadcrumb {
    max-width: 1200px !important;
    margin: 16px auto !important;
    padding: 0 40px !important;
    font-size: 12px !important;
    color: #999 !important;
}

.woocommerce .woocommerce-breadcrumb a {
    color: #555 !important;
    text-decoration: none !important;
}

/* Tabs descripción */
.woocommerce div.product .woocommerce-tabs {
    margin-top: 40px !important;
    clear: both !important;
}

/* Limpiar floats */
.woocommerce div.product::after {
    content: '' !important;
    display: table !important;
    clear: both !important;
}

/* Responsive */
@media (max-width: 900px) {
    .woocommerce div.product {
        flex-direction: column !important;
        padding: 0 20px !important;
        gap: 30px !important;
    }

    .woocommerce div.product div.images {
        width: 100% !important;
    }

    .woocommerce div.product div.images .woocommerce-product-gallery__image img {
        height: 320px !important;
    }
}

/* ===== GALERÍA MINIATURAS CARRUSEL ===== */
.galeria-miniaturas-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 40px;
    overflow: hidden;
}

.galeria-track {
    display: flex;
    gap: 12px;
    transition: transform 0.4s ease;
}

.galeria-item {
    min-width: 180px;
    height: 180px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
}

.galeria-item:hover {
    border-color: #c0392b;
    transform: translateY(-3px);
}

.galeria-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Flechas */
.galeria-prev,
.galeria-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
    padding: 0;
    line-height: 1;
}

.galeria-prev { left: 4px; }
.galeria-next { right: 4px; }

.galeria-prev:hover,
.galeria-next:hover {
    background: #1a2e35;
    color: #fff;
    border-color: #1a2e35;
}

/* Ocultar miniaturas originales de WooCommerce */
.woocommerce div.product div.images .flex-control-thumbs {
    display: none !important;
}
/* Separación galería del producto */
.galeria-miniaturas-wrapper {
    border-top: 1px solid #f0f0f0 !important;
    padding-top: 30px !important;
    margin-top: 10px !important;
}