/* ==========================================================================
   INDICE DE CONTENIDO
   1.  GLOBALES Y UTILIDADES (Body, Fuentes, Loaders, Alerts) --> aprox. a partir de linea 16
   2.  COMPONENTES (Botones, Badges, Chat, Cookies, Sticky Bar) --> aprox. a partir de linea 52
   3.  HEADER Y NAVEGACIÓN (Desktop) --> aprox. a partir de linea 156
   4.  FOOTER --> aprox. a partir de linea 227
   5.  PÁGINA INICIO (Index: Hero Video, Secciones) --> aprox. a partir de linea 246
   6.  PÁGINAS INTERNAS (Nosotros, Contacto, Mayoreo, Reclutamiento, Legal) --> aprox. a partir de linea 366
   7.  E-COMMERCE: TIENDA Y FICHAS DE PRODUCTO --> aprox. a partir de linea 482
   8.  E-COMMERCE: CARRITO Y CHECKOUT --> aprox. a partir de linea 612
   9.  USUARIO (Login, Registro, Perfil) --> aprox. a partir de linea 672
   10. RESPONSIVE (Media Queries para Móvil y Tablet) --> aprox. a partir de linea 724
   11. STICKY BAR MÓVIL --> aprox. a partir de linea 937
   ========================================================================== */

/* ==========================================================================
   1. GLOBALES Y UTILIDADES
   ========================================================================== */
*, *::before, *::after {box-sizing: border-box;}
body {margin: 0;font-family: 'Montserrat', sans-serif;-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;overflow-x: hidden;background-color: #313131;width: 100%;}
body.no-scroll {overflow: hidden;height: 100vh;}
main {padding-top: 12.5rem;width: 100%;}
code {font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;}

/* Selección de texto */
::-moz-selection { color: white; background: #e1530f; }
::selection { color: white; background: #e1530f; }

/* Utilidades de Validación */
.text-danger {font-family: 'Montserrat', sans-serif;font-size: 0.75rem;font-weight: 400;color: #F33757;margin-left: 15px;transition: all 0.5s ease;}
.is-invalid { border: 1px solid #F33757; box-shadow: 0px 0px 4px #F33757; }

/* Loader */
.loader {border: 16px solid #313131;border-top: 16px solid #e1530f;border-radius: 50%;width: 120px; height: 120px;animation: spin 2s linear infinite;}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Cursores de espera */
body.cursor-wait, body.cursor-wait * { cursor: progress !important; }
html.cursor-wait, html.cursor-wait * { cursor: wait !important; }

/* Páginas de Error y Pendiente */
.error-page-wrapper, .pending-page-wrapper { display: flex; justify-content: center; align-items: center; min-height: 80vh; text-align: center; color: black; }
.error-container, .pending-container { max-width: 600px; padding: 2rem; background-color: #fff; border-radius: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.error-logo, .pending-logo { width: 250px; margin-bottom: 2rem; }
.error-container h1, .pending-container h1 { font-size: 6rem; font-weight: bold; color: #e1530f; margin: 0; }
.error-container h2, .pending-container h2 { font-size: 2rem; margin: 1rem 0; color: #333; }
.error-container p, .pending-container p { font-size: 1.2rem; color: #555; margin-bottom: 2rem; }
.btn-home { display: inline-block; background-color: #e1530f; color: white; padding: 0.8rem 2rem; text-decoration: none; border-radius: 8px; font-size: 1rem; font-weight: bold; transition: background-color 0.3s ease; }
.btn-home:hover { background-color: #c14b0e; }


/* ==========================================================================
   2. COMPONENTES (Botones, Badges, Chat, Cookies)
   ========================================================================== */
   .Hero { display: flex; justify-content: center; align-items: center; margin: 0; padding: 0; line-height: 0; width: 100%; }
/* Botones General */
button[disabled], .btn[disabled], .btn-submit[disabled], .btn-checkout[disabled] {
    opacity: 0.7; cursor: not-allowed;
}
.is-loading { position: relative; pointer-events: none; }
.is-loading > .btn-label { visibility: hidden; }
.is-loading::after {
    content: attr(data-loading-text); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 600;
}
.is-loading::before {
    content: ""; position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    width: 16px; height: 16px; border: 2px solid currentColor; border-top-color: transparent;
    border-radius: 50%; animation: spin .8s linear infinite; opacity: .8;
}
.is-loading.show-label > .btn-label { visibility: visible; }
.is-loading.show-label::after, .is-loading.show-label::before { display: none; }

/* Botones Flotantes (WhatsApp, etc) */
.floating-buttons {
    position: fixed; bottom: 20px; right: 20px;
    display: flex; flex-direction: column; gap: 12px; z-index: 1000;
}
.fab {
    width: 55px; height: 55px; border-radius: 50%; background-color: #fff;
    display: flex; justify-content: center; align-items: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fab img { width: 3rem; height: 3rem; object-fit: contain; }
.fab:hover { transform: scale(1.1); box-shadow: 0 6px 10px rgba(0,0,0,0.3); }

/* Chat de Ayuda */
.help-chat {
    position: fixed; bottom: 20px; right: 20px; width: 260px; background: white;
    border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); display: none;
    flex-direction: column; font-family: Arial, sans-serif; z-index: 9999;
}
.help-header { background: #0c0c0c; color: white; padding: 8px; font-weight: bold; border-radius: 12px 12px 0 0; }
.help-header .brand-logo { height: 2rem; width: auto; margin-left: 0.8rem; vertical-align: middle; }
.help-body { padding: 12px; font-size: 14px; }
.help-buttons a img { width: 40px; margin: 5px; transition: transform 0.2s; }
.help-buttons a img:hover { transform: scale(1.1); }
#close-help { position: absolute; top: 6px; right: 10px; border: none; background: transparent; font-size: 20px; cursor: pointer;color: white; }

/* Banner Cookies */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; width: 100%; background-color: black; color: white;
    padding: 1rem 2rem; display: none; justify-content: space-between; align-items: center;
    z-index: 2000; box-sizing: border-box; border-top: 1px solid #444;
}
.cookie-banner p { margin: 0; flex-grow: 1; }
.cookie-banner a { color: #e1530f; font-weight: bold; }
#cookie-accept-btn {
    background-color: #e1530f; color: white; border: none; padding: 0.8rem 1.5rem;
    border-radius: 8px; font-weight: bold; cursor: pointer; margin-left: 2rem;
}

/* Alerts */
.alert {
    padding: 1rem; margin: 1rem auto; max-width: 800px; border-radius: 8px;
    color: white; font-weight: bold; text-align: center; border: 1px solid transparent;
}
.alert-success { background-color: #28a745; border-color: #1e7e34; }
.alert-danger { background-color: #dc3545; border-color: #b21f2d; }

/* Badges de Producto (Etiquetas) */
.discount-tag {
    position: absolute; top: 12px; left: 12px; background: #eee; color: #333; font-weight: 700; padding: 6px 10px; border-radius: 9999px; font-size: .9rem; z-index: 2;
}
.discount-tag::after { content: " OFF"; }

.envio-gratis-badge {
    position: absolute; top: 12px; right: 12px; background: #00a650; color: #fff; font-weight: 700; padding: 6px 10px; border-radius: 9999px; font-size: .9rem; z-index: 2;
}

.contra-entrega-badge {
    position: absolute; bottom: 10px; left: 10px; background-color: rgba(0, 0, 0, 0.85);
    color: #fff; font-size: 0.75rem; font-weight: bold; padding: 4px 8px; border-radius: 6px;
    display: flex; align-items: center; gap: 4px; z-index: 2; box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    pointer-events: none;
}

/* Sticky Bar Móvil (Base) */
.mobile-sticky-bar {
    position: fixed; bottom: 0; left: 0; width: 100%; background: white;
    padding: 12px 20px; box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
    display: flex; justify-content: space-between; align-items: center;
    z-index: 9999; transform: translateY(0); box-sizing: border-box; border-top: 1px solid #eee;
}
.mobile-sticky-bar.visible { transform: translateY(0); }
.sticky-price-info { display: flex; flex-direction: column; max-width: 50%; }
.sticky-title { font-size: 0.8rem; color: #333; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-price { font-size: 1.1rem; font-weight: 800; color: #e1530f; }
.btn-sticky-add {
    background-color: #e1530f; color: white; border: none; padding: 10px 20px;
    border-radius: 8px; font-weight: bold; font-size: 1rem; cursor: pointer;
    box-shadow: 0 4px 6px rgba(225, 83, 15, 0.3); flex-shrink: 0;
}
/* Ocultar Sticky Bar en Desktop */
@media (min-width: 769px) { .mobile-sticky-bar { display: none !important; } }


/* ==========================================================================
   3. HEADER Y NAVEGACIÓN (Desktop)
   ========================================================================== */
.main-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; }

.hero-banner { background-color: #313131; display: flex; justify-content: center; padding: 0; }
.main-logo-desktop img { height: 100%; width: auto; display: block; margin: 0 auto; }
.main-logo-mobile { display: none; } /* Oculto en PC */

.main-nav { background-color: black; padding: 1.1rem 0; display: flex; justify-content: center; width: 100%; }
.main-nav-container {
    max-width: 1200px; width: 100%; display: flex; justify-content: center;
    align-items: center; position: relative;
}

.nav-links { display: flex; list-style: none; margin: 0; padding: 0; gap: 4rem; align-items: center; }
.nav-links li:nth-child(3) { margin-left: 1rem; }

.nav-link {
    color: white; text-decoration: none; text-transform: uppercase; font-weight: bold;
    font-size: 1rem; padding-bottom: 0; border-bottom: 0 solid transparent;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: #e1530f; border-bottom-color: #e1530f; }

/* Dropdown Desktop */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: 100%; left: 0; background-color: black;
    border: 1px solid #333; border-radius: 8px; padding: 0.5rem 0;
    list-style: none; min-width: 200px; z-index: 1001; opacity: 0;
    visibility: hidden; transform: translateY(10px); transition: all 0.3s ease;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 0.8rem 1.5rem; color: white; text-decoration: none; }
.dropdown-menu a:hover { background-color: #313131; }

/* Sesión y Carrito Desktop */
.login-link-item, .user-session { margin-left: 3rem; }
.login-link-item a { color: #ccc !important; }
.user-session > .nav-link { display: flex; align-items: center; color: #e1530f !important; }
.user-icon { height: 25px; width: auto; margin-right: 8px; }
.user-dropdown { right: 0; left: auto; }
.user-dropdown a { font-size: 0.9rem; text-transform: none; }

.nav-cart { margin-left: auto; padding-left: 0.1rem; }
.cart-link { position: relative; display: flex; align-items: center; }
.cart-icon-img { height: 35px; width: auto; }
.cart-counter {
    position: absolute; top: -5px; right: -10px; background-color: #e1530f;
    color: white; border-radius: 50%; width: 22px; height: 22px; font-size: 0.8rem;
    font-weight: bold; display: flex; justify-content: center; align-items: center;
}
.nav-cart-standalone { display: none; } /* Oculto en PC */

/* Menú Hamburguesa (Oculto PC) */
.menu-toggle { display: none; }
.mobile-label { display: none !important; }

/* Buscador Global */
.search-bar-global {
    background: #e1530f; padding: 10px 1rem; border-bottom: 1px solid black;
    margin-top: 1rem; z-index: 5; position: relative;
}
.search-bar-content { display: flex; align-items: center; justify-content: center; margin: 0 auto; width: 60%; }
.logo-global img { height: 32px; width: auto; object-fit: contain; margin-right: 8px; position: relative; top: 2px; }
.search-form { flex: 1; display: flex; }
.search-form input { flex: 1; padding: 8px 12px; border: 1px solid #ccc; border-radius: 4px 0 0 4px; font-size: 1rem; }
.search-form button { padding: 8px 16px; background: #e1530f; color: #fff; border: none; border-radius: 0 4px 4px 0; cursor: pointer; }


/* ==========================================================================
   4. FOOTER
   ========================================================================== */
footer.footer { background-color: #313131; color: white; padding: 3rem 2rem; }
.footer-content { max-width: 1200px; margin: auto; display: flex; justify-content: space-between; gap: 2rem; }
.footer-col { flex: 1; }
.footer-col.branding img { max-width: 250px; margin-bottom: 0.5rem; }
.footer-col h3 { color: #e1530f; text-transform: uppercase; margin-top: 0; font-size: 1.4rem; }
.footer-col p { margin: 0.5rem 0; font-size: 1rem; color: #ccc; }
.footer-col ul li { margin-bottom: 0.7rem; font-size: 1.4rem; }
.terms-link { font-size: 1rem; }
.footer-link { color: white; text-decoration: none; transition: color 0.3s ease; }
.footer-link:hover { text-decoration: underline; color: #e1530f; }
.footer-bottom { text-align: center; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #555; font-size: 0.8rem; color: #888; }
.social-icons { display: flex; align-items: center; gap: 1rem; }
.social-icons img { width: 35px; height: auto; transition: opacity 0.3s ease; }
.social-icons img:hover { opacity: 0.8; }


/* ==========================================================================
   5. PÁGINA INICIO (INDEX)
   ========================================================================== */
/* Video Hero (Estilo Desktop por defecto) */
.index-hero-video { height: calc(100dvh - 12.5rem) !important; height: calc(100svh - 12.5rem) !important; height: calc(100vh - 12.5rem) !important; display: block; overflow: hidden; background-color: #313131; }
.index-hero-video video { width: 100% !important; height: 100% !important; object-fit: contain; object-position: center; display: block; }

.index-page-wrapper { background-color: black; position: relative; padding: 2rem; }
.index-title-box {
    background-color: white; color: black; text-align: center; border-radius: 15px;
    padding: 1rem 2rem; max-width: 380px; margin: auto; position: relative; top: 2rem; z-index: 1;
}
.index-title-box h2 { margin: 0; text-transform: uppercase; font-size: 1.5rem; }

/* Sección History (Somos tu mejor opción) */
.index-page-wrapper .History {
    display: flex; align-items: center; max-width: 1400px; margin: 0 auto 5rem auto;
    background-color: #313131; border-radius: 15px; overflow: hidden; padding: 0; flex-wrap: wrap;
}
.index-page-wrapper .History .Text { order: 1; flex: 1; width: 50%; padding: 3rem; box-sizing: border-box; text-align: left; color: white; font-family: 'Montserrat', sans-serif; }
.index-page-wrapper .History .ImageDesktop { order: 2; flex: 1; width: 50%; padding: 0; margin: 0; display: flex; }
.index-page-wrapper .ImageDesktop img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.index-page-wrapper .Text h3 { font-size: 30px; color: white; }
.index-page-wrapper .Text p { font-size: 20px; margin-bottom: 0rem; }
.index-page-wrapper .cta-text { font-weight: bold; text-transform: uppercase; color: #e1530f; }
.cta-highlight { display: inline-block; background-color: #e1530f; color: white; padding: .1rem .5rem; border-radius: 8px; margin: 1.5rem 0; }
.cta-highlight p { font-weight: bold; color: white; margin: 0; }

/* Sección Fábrica (Video Vertical) */
.factory-section { background: #f4f4f4; padding: 60px 20px; margin-top: 40px; }
.factory-container { max-width: 1000px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px; }
.factory-video-wrapper {
    flex: 0 0 280px; max-width: 100%; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2); border: 4px solid white; background: black; position: relative; cursor: pointer;
}
.factory-video-wrapper video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sound-badge {
    position: absolute; bottom: 15px; right: 15px; background-color: rgba(0, 0, 0, 0.6); color: white;
    padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: bold;
    display: flex; align-items: center; gap: 6px; transition: background-color 0.3s ease; pointer-events: none; z-index: 2;
}
.factory-video-wrapper:hover .sound-badge { background-color: rgba(225, 83, 15, 0.9); }
.factory-text { flex: 1; min-width: 300px; color: #333; }
.factory-text h2 { color: #e1530f; font-weight: 800; font-size: 2rem; margin-bottom: 10px; text-transform: uppercase; }
.factory-text h3 { font-size: 1.4rem; margin-bottom: 20px; color: #111; }
.factory-text p { font-size: 1.1rem; line-height: 1.6; margin-bottom: 20px; }
.factory-benefits { list-style: none; padding: 0; margin-bottom: 25px; font-size: 1.1rem; }
.factory-benefits li { margin-bottom: 8px; }
.btn-factory {
    display: inline-block; background-color: #333; color: white; padding: 12px 30px; text-decoration: none; font-weight: bold; border-radius: 8px; transition: background 0.3s;
}
.btn-factory:hover { background-color: #e1530f; }

/* Secciones Varias Index */
.who-title {
    background-color: #e1530f; color: white; text-align: justify; border-radius: 15px;
    padding: 1rem 3rem; max-width: 38rem; margin: 0rem 0rem -10rem auto; position: relative; z-index: 2;
}
.who-title h2 { margin: 0; text-transform: uppercase; font-size: 1.5rem; }
.who-section { background-color: black; padding: 0; border-radius: 15px; max-width: 1400px; margin: 0 auto; }
.who-image-container img { width: 100%; height: auto; display: block; border-radius: 1rem; border: 5px solid white; }
.who-section-background { background-color: #313131; border-radius: 1rem; padding: 2rem; }

.why-us-title {
    background-color: #e1530f; color: white; text-align: center; border-radius: 1rem;
    padding: 1rem 2rem; max-width: 500px; margin: -3.5rem auto 0px auto; position: relative; z-index: 2;
}
.why-us-title h2 { margin: 0; text-transform: uppercase; font-size: 2rem; }
.why-us-section {
    background-color: black; padding: 80px 2rem 2rem 2rem; border-radius: 15px; max-width: 1400px; margin: 0 auto;
}
.why-us-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-item img { width: 100%; height: auto; display: block; border-radius: 10px; }

.choose-option-section { background-color: #313131; padding: 4rem 2rem; text-align: center; color: white; }
.section-main-title {
    font-size: 2rem; text-transform: uppercase; margin-bottom: 3rem; border-bottom: 3px solid #e1530f;
    display: inline-block; padding-bottom: 0.5rem; color: white;
}
.options-container { display: flex; justify-content: space-around; gap: 2rem; max-width: 1200px; margin: 0 auto; }
.option-card { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
.option-card img { height: 80px; width: auto; margin-bottom: 1rem; }
.option-title { font-size: 1.5rem; text-transform: uppercase; position: relative; display: inline-block; padding-bottom: 0.5rem; margin-bottom: 1rem; }
.option-title::after { content: ''; position: absolute; bottom: 0; left: 10%; right: 10%; height: 3px; background-color: #e1530f; }
.option-card p { font-size: 1rem; color: white; height: 50px; }
.btn-option {
    display: inline-block; background-color: #e1530f; color: white; padding: 0.8rem 1.5rem; text-decoration: none;
    text-transform: uppercase; font-weight: bold; border-radius: 8px; margin-top: 1rem; transition: background-color 0.3s ease;
}
.btn-option:hover { background-color: #c14b0e; }
.brands-section { padding: 4rem 2rem; background-color: black; text-align: center; }
.brands-section img { max-width: 100%; height: auto; }

/* Video Cotización */
.quote-section-wrapper { background-color: #313131; padding: 1rem 0.5rem; margin-top: 5rem; }
.quote-content-container { display: flex; align-items: center; gap: 3rem; max-width: 75rem; margin: 0 auto; border-radius: 1rem; padding: 1rem; }
.quote-video-column { flex: 2; max-width: 100%; border-radius: 0.6rem; overflow: hidden; }
.quote-video-column video { width: 100%; height: auto; display: block; }
.quote-text-column { flex: 1; color: white; text-align: center; }
.quote-text-column h2 { font-size: 1.5rem; text-transform: uppercase; margin-bottom: 2rem; color: white; }
.btn-quote {
    display: inline-block; background-color: #e1530f; color: white; padding: 0.5rem 2rem; text-decoration: none;
    text-transform: uppercase; font-weight: bold; border-radius: 8px; font-size: 2.4rem; transition: background-color 0.3s ease;
}
.btn-quote:hover { background-color: #c14b0e; }

/* Reviews Google */
.google-reviews-section { padding: 80px 2rem; background-color: #313131; position: relative; margin-top: 5rem; }
.google-widget-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: center; }
.testimonial-section-simple { padding: 80px 2rem; background-color: black; position: relative; }
.testimonials-grid { display: flex; justify-content: center; gap: 2rem; max-width: 1400px; margin: 3rem auto; flex-wrap: wrap; }
.testimonial-card-simple { background-color: #313131; color: white; padding: 2rem; border-radius: 15px; text-align: center; width: 15rem; box-sizing: border-box; }
.testimonial-card-simple .stars { color: #ffd700; font-size: 1.5rem; margin-bottom: 1rem; }
.testimonial-card-simple .comment { font-style: italic; margin-bottom: 1rem; }
.testimonial-card-simple .author { font-weight: bold; color: #e1530f; }
.google-attribution { text-align: center; margin-top: 2rem; margin-bottom: 0.2rem; opacity: 0.8; transition: opacity 0.3s ease; }
.google-attribution:hover { opacity: 1; }
.google-attribution img { height: 6rem; width: auto; display: inline-block; }


/* ==========================================================================
   6. PÁGINAS INTERNAS
   ========================================================================== */
/* Page Header & Content */
.page-header h1 { font-size: 2.5rem; color: #fff; }
.page-content { padding: 2rem 1rem; max-width: 800px; margin: 0 auto; color: white; line-height: 1.7; }
.page-content p { font-size: 1.2rem; }
.page-content h2 { color: #e1530f; font-size: 1.8rem; }
.page-content h3 { color: #f0f0f0; font-size: 1.6rem; }

/* Nosotros */
.AboutUs { background-color: black; position: relative; }
.AboutUsTitle {
    background-color: #e1530f; width: 350px; height: 85px; text-transform: uppercase; color: white;
    display: flex; justify-content: center; align-items: center; border-radius: 15px;
    margin: auto; position: absolute; left: 0; right: 0; top: calc(-85px/2);
}
.AboutUsTitle h2 { margin: 0; font-size: 1.5rem; }
.AboutUsContent { padding: 10%; }
.History {
    display: flex; gap: 4rem; align-items: center; max-width: 1400px; background-color: #313131;
    margin: auto; border-radius: 15px; margin-bottom: 5%; padding: 4rem;
}
.History.reverse { flex-direction: row-reverse; }
.ImageDesktop { width: 25%; padding: 0; }
.Text { width: 80%; padding: 0; color: white; font-family: 'Montserrat', sans-serif; }
.Text p { font-size: 25px; margin-bottom: 3em; }
.Text h2 { color: #e1530f; text-transform: uppercase; font-family: 'Montserrat', sans-serif; font-size: 35px; }
.nosotros-content-wrapper .Hero img { width: 60%; height: auto; display: block; margin: 0 auto; }

/* Mayoreo */
.mayoreo-hero img { width: 70%; height: auto; display: block; margin: 0 auto; }
.mayoreo-content-wrapper .History {
    display: flex; gap: 4rem; align-items: center; max-width: 1400px; background-color: #313131;
    margin: auto; border-radius: 15px; margin-bottom: 5%; padding: 4rem;
}
.mayoreo-content-wrapper .History.reverse { flex-direction: row-reverse; }
.mayoreo-content-wrapper .ImageDesktop { width: 25%; padding: 0; }
.mayoreo-content-wrapper .ImageDesktop img { width: 100%; height: 100%; border-radius: 30px; border: 3px solid white; object-fit: cover; }
.mayoreo-content-wrapper .Text { width: 70%; padding: 0; color: white; font-family: 'Montserrat', sans-serif; }
.mayoreo-content-wrapper .Text p { font-size: 20px; margin-bottom: 3em; }
.mayoreo-content-wrapper .Text h2 { color: #e1530f; text-transform: uppercase; font-family: 'Montserrat', sans-serif; font-size: 30px; }

/* Reclutamiento */
.recruitment-background { background-color: #313131; }
.recruitment-content-wrapper { position: relative; margin-top: 5rem; margin-bottom: 5rem; padding-left: 2rem; padding-right: 2rem; }
.recruitment-title {
    background-color: #e1530f; color: white; text-transform: uppercase; text-align: center; padding: 1rem .2rem;
    border-radius: 15px; max-width: 20rem; margin: 0 auto -2rem auto; position: relative; z-index: 1;
}
.recruitment-content-wrapper .AboutUsContent { padding: 0; }
.recruitment-title h2 { margin: 0; font-size: 1.8rem; }
.recruitment-content-wrapper .History { background-color: black; }
.recruitment-content-wrapper .Text p { font-size: 18px; margin-bottom: 1.5em; }
.recruitment-content-wrapper .Text h2 { font-size: 30px; }
.benefits-list { list-style: disc; padding-left: 25px; margin-top: 0; font-size: 18px; }
.benefits-list li { margin-bottom: 1em; }
.contact-info { margin-top: 2rem; padding: 1.5rem; border: 2px solid #555; border-radius: 10px; background-color: #222; }

/* Contacto */
.contact-page-wrapper { padding-top: 5rem; margin-bottom: 5rem; padding-left: 2rem; padding-right: 2rem; }
.contact-title {
    background-color: #e1530f; color: white; text-transform: uppercase; text-align: center; padding: 1rem 0.2rem;
    border-radius: 15px; max-width: 400px; margin: 0 auto -2rem auto; position: relative; z-index: 1;
}
.contact-title h2 { margin: 0; font-size: 1.8rem; }
.contact-page-wrapper .History {
    display: flex; gap: 3rem; background-color: black; max-width: 1000px; margin: 0 auto; align-items: flex-start;
}
.contact-details { width: 40%; color: white; display: flex; flex-direction: column; gap: 1rem; font-size: 1.2rem; }
.contact-logo img { max-width: 250px; margin-bottom: .1rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; }
.contact-item img { width: 30px; height: auto; }
.contact-form-side { width: 60%; }
.contact-form-side .form-group { margin-bottom: 1rem; }
.contact-form-side .form-group label { display: block; margin-bottom: 0.5rem; font-weight: bold; color: #ccc; }
.contact-form-side .form-group input, .contact-form-side .form-group textarea {
    width: 100%; padding: 12px; background-color: #313131; border: 1px solid #777; border-radius: 8px; color: white; font-size: 1rem; box-sizing: border-box;
}
.contact-form-side .btn-submit {
    display: block; width: 20%; padding: 1rem; background-color: #e1530f; color: white; border: none; border-radius: 8px; font-size: 1.2rem; font-weight: bold; text-transform: uppercase; cursor: pointer; transition: background-color 0.3s ease;
}
.contact-form-side .btn-submit:hover { background-color: #c14b0e; }
.contact-map { margin-top: 2rem; width: 100%; }
.contact-map iframe { border-radius: 15px; width: 100%; }

/* FAQ */
.faq-section-wrapper { background-color: #313131; position: relative; padding-bottom: 2rem; }
.faq-container { max-width: 1200px; margin: auto; }
.faq-item { background-color: transparent; border-radius: 15px; margin-bottom: 1rem; color: white; overflow: hidden; border: 2px solid white; }
.faq-question {
    background-color: black; padding: 1.5rem; font-size: 1.2rem; font-weight: bold; cursor: pointer; list-style: none; position: relative; padding-right: 2rem;
}
.faq-question::after {
    content: ' '; width: 15px; height: 15px; border-right: 3px solid white; border-bottom: 3px solid white; position: absolute; right: 1.5rem; top: 50%; transform: translateY(-75%) rotate(45deg); transition: transform 0.3s ease;
}
.faq-item[open] > .faq-question::after { transform: translateY(-50%) rotate(-135deg); }
.faq-answer { background-color: #313131; padding: 1.5rem; line-height: 1.6; font-size: 1.1rem; }
.faq-answer h4 { color: #e1530f; margin-top: 1rem; margin-bottom: 0.5rem; }
.faq-answer ul { margin-top: 0.5rem; padding-left: 25px; }

/* Landing Colchonetas */
.landing-colchonetas .container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.landing-colchonetas .section { padding: 24px 0; }
.landing-colchonetas .section-title { text-align: center; margin: 8px 0 16px; font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700; }
.landing-colchonetas .text-center { text-align: center; }
.landing-colchonetas .hero-logo { background: #313131; display: flex; justify-content: center; align-items: center; padding: 0; position: sticky; top: 0; z-index: 20; }
.landing-colchonetas .hero-logo img { max-width: 900px; width: 100%; height: auto; display: block; }
.landing-colchonetas .shop-hero, .landing-colchonetas .shop-hero img { width: 100%; display: block; height: auto; }
.landing-colchonetas .media-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.landing-colchonetas .media-grid-3 img { width: 100%; height: auto; display: block; border-radius: 8px; }
.landing-colchonetas .video-wrap { max-width: 1000px; margin: 0 auto; }
.landing-colchonetas .video-wrap video { width: 100%; height: auto; display: block; border-radius: 8px; }
.landing-colchonetas .product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }


/* ==========================================================================
   7. E-COMMERCE: TIENDA Y FICHAS DE PRODUCTO
   ========================================================================== */
.shop-hero { text-align: center; padding: 0; }
.shop-hero img { max-width: 100%; height: auto; border-radius: 15px; }
.product-carousel-section { background-color: #313131; padding: 4rem 2rem; }
.product-carousel { max-width: 1400px; margin: 0 auto; padding: 0 40px; position: relative; overflow: hidden; }
.product-carousel .swiper-slide { padding: 0; }


    /* --- MATERIAL INTELIGENTE (HEREDA COLOR DEL BORDE) --- */
.product-material-wrapper { display: flex; align-items: center; gap: 4px; margin: 8px 0; font-size: 0.95rem; }
.material-label { font-weight: bold; color: #333; margin-right: 2px; }
.mat-name { font-weight: 800; text-transform: capitalize; }
/* Colores por tipo */
.product-card.mat-transpirable .mat-name { color: #E25310; }
.product-card.mat-impermeable .mat-name { color: #59caea; }
.product-card.mat-afelpada .mat-name, .product-card.mat-afelpado .mat-name { color: #bf18ba; }

/* Tarjeta Producto */
.product-card { background-color: white; color: #333; border: 0.3rem solid #e6e6e6; border-radius: 1rem; overflow: hidden; width: 100%; height: 100%; min-height: 3rem; box-shadow: 0 4px 12px rgba(0,0,0,0.08); transition: box-shadow .2s ease, transform .2s ease; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: 0 6px 16px rgba(0,0,0,.08); }
.product-card-inner { display: flex; flex-direction: column; height: 100%; }
.product-image-container { position: relative; margin-top: 10px; aspect-ratio: 1 / 0.8; overflow: hidden; background: #fff; }
.product-image-container img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; display: block; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #f8f9fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Crect width='100%25' height='100%25' fill='%23f8f9fa'/%3E%3Ccircle cx='100' cy='100' r='15' fill='none' stroke='%23e0e0e0' stroke-width='3'/%3E%3Ccircle cx='100' cy='100' r='15' fill='none' stroke='%23e1530f' stroke-width='3' stroke-dasharray='20 60'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 100 100' to='360 100 100' dur='1s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E") no-repeat center center; background-size: 50px; }
.product-info { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; text-align: left; }
.product-title { font-size: 1.3rem; font-weight: 600; color: #333; margin: 8px 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.2rem; }
.product-short-text { font-size: 0.9rem; margin: 0.3rem 0; color: #555; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.6rem; }
.product-material, .product-category { font-size: 0.9rem; color: #444; margin: 0.3rem 0; }
.product-category { text-transform: uppercase; }
.product-brand { display: inline-flex; align-items: center; gap: .4rem; justify-content: flex-start; font-size: 0.9rem; font-weight: bold; margin: 0.5rem 0; }
.product-brand img { height: 1.2rem; width: auto; position: relative; top: 1px; }

/* --- BORDES DE COLORES POR MATERIAL --- */
.product-card.mat-transpirable { border-color: #E25310; box-shadow: 0 4px 12px rgba(135, 206, 235, 0.2); }
.product-card.mat-impermeable { border-color: #59caea; box-shadow: 0 4px 12px rgba(65, 105, 225, 0.2); }
.product-card.mat-afelpada, .product-card.mat-afelpado { border-color: #bf18ba; box-shadow: 0 4px 12px rgba(225, 83, 15, 0.2); }

.price-container { margin-bottom: 1rem; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: auto; }
.original-price { font-size: 1rem; color: red; text-decoration: line-through; }
.final-price { font-size: 1.6rem; font-weight: 800; color: #111; }

.btn-product {
    display: block; width: 100%; text-align: center; background: #e1530f; color: #fff; border: none;
    border-radius: 10px; padding: 12px 14px; font-weight: 700; font-size: 1rem; text-transform: none;
    box-sizing: border-box; margin-top: auto; margin-bottom: 0;
}
.btn-product:hover { background: #c14b0e; }

/* Categorías */
.category-page-container { display: flex; gap: 2rem; max-width: 1600px; margin: 2rem auto; padding: 0 2rem; }
.category-sidebar { flex: 0 0 250px; background-color: #1a1a1a; padding: 1rem; border-radius: 15px; color: white; align-self: flex-start; }
.category-sidebar h3 { color: #e1530f; text-transform: uppercase; border-bottom: 2px solid #555; padding-bottom: 0.5rem; margin-top: 0; }
.category-sidebar ul { list-style: none; padding: 0; }
.category-sidebar ul li a { display: block; padding: 0.8rem; color: white; text-decoration: none; border-radius: 8px; transition: background-color 0.2s ease; }
.category-sidebar ul li a:hover { background-color: #313131; }
.category-sidebar ul li.active a { background-color: #e1530f; font-weight: bold; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; width: 100%; }




/* --- TIPOS DE FUNDAS (GRID 1 IZQ / 2 DER) --- */
.full-width-container { width: 100vw; background-color: #313131; margin-left: calc(-50vw + 50%); }
.types-section { padding: 4rem 2rem; max-width: 87rem; margin: 0 auto; }
.types-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 18rem 18rem; gap: 1.5rem; height: 38rem; }
.large-card { grid-column: 1; grid-row: 1 / 3; }
.small-card-top { grid-column: 2; grid-row: 1; }
.small-card-bottom { grid-column: 2; grid-row: 2; }
.type-card { position: relative; overflow: hidden; border-radius: 15px; display: block; width: 100%; height: 100%; }
.type-card img { width: 100%; height: 100%; display: block; object-fit: cover; }
.image-overlay-text { position: absolute; bottom: 0; left: 0; width: 100%; background-color: rgba(49, 49, 49, 0.7); color: white; padding: 3rem; text-align: center; font-weight: bold; font-size: 1.1rem; box-sizing: border-box; }




/* Buscador */
.page-header { margin-bottom: 2rem; background-color: #e1530f; padding: 1rem; text-align: center; }
.search-page .page-header h1 { color: #fff; }
.product-grid-main { margin-top: 2rem; flex-grow: 1; padding: 0; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 4rem; margin-top: 6rem; }
.pagination a, .pagination span { background-color: #e1530f; color: #fff; padding: 0.5rem 1rem; border-radius: 2rem; text-decoration: none; font-weight: bold; transition: background-color 0.3s ease; }
.pagination span { cursor: default; }

/* Ficha Detalle */
.product-page-wrapper { max-width: 1200px; margin: 0 auto; padding: 2rem; }
.product-detail-container { display: flex; gap: 3rem; color: black; }
.product-images-column { flex: 1; min-width: 0; }
.main-image img { width: 100%; border-radius: 15px; border: 3px solid #555; }
.thumbnail-images { display: flex; gap: 1rem; margin-top: 1rem; }
.thumbnail-images img { width: 100px; height: 100px; object-fit: cover; border-radius: 10px; border: 2px solid #777; cursor: pointer; }
.product-details-column { flex: 1; display: grid; grid-template-rows: auto auto auto auto 1fr auto; row-gap: 1rem; align-content: start; }
.product-main-title { font-size: 2.5rem; text-transform: uppercase; color: white; margin-top: 0; }
.price-container-detail { display: flex; align-items: baseline; gap: 1rem; margin: 1rem 0; }
.price-container-detail .original-price { font-size: 1.5rem; color: #888; text-decoration: line-through; }
.price-container-detail .final-price { font-size: 2rem; font-weight: bold; color: #e1530f; }
.discount-badge { background-color: #28a745; color: white; font-weight: bold; padding: 0.3rem 0.7rem; border-radius: 6px; margin-left: 0.5rem; font-size: 0.9rem; display: inline-block; }
.product-long-description { line-height: 1.7; font-size: 1.1rem; }
.product-long-text #longText { white-space: pre-wrap; }
.btn-buy { display: inline-block; background-color: #e1530f; color: white; padding: 1rem 2.5rem; text-decoration: none; text-transform: uppercase; font-weight: bold; border-radius: 8px; margin-top: 2rem; transition: background-color 0.3s ease; font-size: 1.2rem; width: 100%; text-align: center; }
.btn-buy:hover { background-color: #c14b0e; }
.white-background { background-color: white; }
.white-background .product-page-wrapper, .white-background .product-main-title, .white-background .product-long-description { color: black; }

.product-gallery-main { width: 100%; border-radius: 16px; margin-bottom: 1rem; border: 2px solid #111; background: #fff; overflow: hidden; padding: 1rem; }
.product-gallery-main .swiper-slide { background: #fff !important; }
.product-gallery-main .swiper-slide img { width: auto; max-width: 100%; height: auto; max-height: 550px; object-fit: contain; display: block; margin: 0 auto; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Crect width='100%25' height='100%25' fill='%23ffffff'/%3E%3Ccircle cx='100' cy='100' r='15' fill='none' stroke='%23e0e0e0' stroke-width='3'/%3E%3Ccircle cx='100' cy='100' r='15' fill='none' stroke='%23e1530f' stroke-width='3' stroke-dasharray='20 60'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 100 100' to='360 100 100' dur='1s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E") no-repeat center center; background-size: 50px; }
.product-gallery-main .swiper-slide img, .product-gallery-main .swiper-slide video { width: 100%; height: 520px; object-fit: contain; background: #fff; border: 0; }
.product-gallery-main .swiper-button-next, .product-gallery-main .swiper-button-prev { color: #e1530f !important; }
.product-gallery-thumbs { height: 100px; }
.product-gallery-thumbs .swiper-slide { opacity: 0.4; cursor: pointer; border-radius: 10px; overflow: hidden; }
.product-gallery-thumbs .swiper-slide-thumb-active { opacity: 1; border: 2px solid #e1530f; }
.product-gallery-thumbs .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb { background-color: #333; display: flex; justify-content: center; align-items: center; font-size: 2rem; color: #e1530f; }

.reviews-summary { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.reviews-summary span { color: #e1530f; font-size: 1.2rem; }
.reviews-summary a { color: #555; text-decoration: none; }

/* SECCION VIDEOS FICHA PRODUCTO */
.product-video-section { max-width: 1300px; margin: 4rem auto; padding: 2.5rem 1.5rem; background-color: #f8f9fa; border-radius: 20px; border: 1px solid #e9ecef; }
.video-section-title { color: #333; text-align: center; margin-bottom: 2.5rem; font-size: 1.8rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.videos-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.video-card { width: 100%; max-width: 20rem; aspect-ratio: 9/16; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.08); border: 1px solid #eee; background: #000; flex: 0 0 auto; transition: transform 0.3s ease; }
.video-card:hover { transform: translateY(-5px); box-shadow: 0 8px 16px rgba(0,0,0,0.12); }
.video-card iframe { width: 100%; height: 100%; border: 0; }
/* Logica especial para 4 videos (2x2) */
.videos-grid.layout-4 { display: grid; grid-template-columns: repeat(2, minmax(0, 20rem)); gap: 2rem; max-width: 44rem; margin: 0 auto; }


.product-options { margin-top: 2rem; display: flex; gap: 2rem; }
.option-group { display: flex; flex-direction: column; }
.option-group label { font-weight: bold; margin-bottom: 0.5rem; color: #333; }
.color-selector { display: flex; gap: 0.5rem; }
.color-swatch { width: 30px; height: 30px; border-radius: 50%; cursor: pointer; border: 2px solid #ccc; }
.color-selector input[type="radio"] { display: none; }
.color-selector input[type="radio"]:checked + .color-swatch { border: 3px solid #e1530f; }
.material-text { font-size: 1rem; font-weight: bold; padding: 0.8rem; border: 1px solid #ccc; border-radius: 8px; text-align: center; color: black; }
.quantity-selector { display: flex; border: 1px solid #ccc; border-radius: 8px; width: fit-content; }
.quantity-selector input[type="number"] { width: 60px; text-align: center; border: none; font-size: 1.2rem; font-weight: bold; color: black; -moz-appearance: textfield; }
.quantity-selector input[type="number"]::-webkit-outer-spin-button, .quantity-selector input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quantity-btn { background-color: #f4f4f4; border: none; cursor: pointer; font-size: 1.5rem; padding: 0 1rem; font-weight: bold; }
.quantity-btn.minus { border-right: 1px solid #ccc; }
.quantity-btn.plus { border-left: 1px solid #ccc; }

.reviews-section { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid #444; }
.reviews-section .section-main-title { color: black; }
.reviews-container { display: grid; grid-template-columns: 320px 1fr; gap: 2rem; align-items: start; color: black; }
.reviews-summary-box { grid-column: 1; flex: 1; text-align: center; }
.reviews-list { grid-column: 2; flex: 2; }
.reviews-container > .review-form, .reviews-container > .already-reviewed-note, .reviews-container > .login-to-review-note { grid-column: 1 / -1; margin-top: 1.5rem; width: 100%; max-width: 40rem; margin-left: auto; margin-right: auto; }
.summary-total-stars { font-size: 4rem; font-weight: bold; margin: 1rem 0; }
.summary-stars { color: #e1530f; font-size: 1.5rem; }
.review-item { background-color: white; padding: 1.5rem; border-radius: 10px; margin-bottom: 1rem; border: 1px solid #ddd; }
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.review-author { font-weight: bold; }
.review-item .stars { color: #e1530f; }
.review-form { margin-top: 3rem; padding: 1.5rem; background-color: white; border: 1px solid #ddd; border-radius: 1rem; max-width: 40rem; margin-left: auto; margin-right: auto; }
.review-form h3 { margin-bottom: 1rem; font-size: 1.3rem; font-weight: bold; color: #333; }
.review-form .brand-logo { height: 2rem; width: auto; margin-left: 0.8rem; vertical-align: middle; }
.review-form label { display: block; font-weight: bold; margin-top: 1rem; margin-bottom: 0.5rem; color: #444; }
.review-form textarea { width: 100%; min-height: 150px; padding: 1rem; margin: 0; display: block; box-sizing: border-box; }
.review-form textarea:focus { border-color: #e1530f; }
.star-rating { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 0.3rem; }
.star-rating input { display: none; }
.star-rating label { font-size: 2rem; color: #ccc; cursor: pointer; transition: color 0.2s; }
.star-rating input:checked ~ label, .star-rating label:hover, .star-rating label:hover ~ label { color: #e1530f; }
.rating-group { display: flex; align-items: center; gap: 0.5rem; }
.rating-group label { margin: 0; }
.btn-submit-review { display: inline-block; margin-top: 1rem; background-color: #e1530f; color: white; padding: 0.8rem 1.5rem; border: none; border-radius: 8px; font-size: 1rem; font-weight: bold; cursor: pointer; transition: background-color 0.3s ease; }
.btn-submit-review:hover { background-color: #c14b0e; }




/* ==========================================================================
   8. E-COMMERCE: CARRITO Y CHECKOUT
   ========================================================================== */
.cart-page-wrapper { max-width: 1400px; margin: 2rem auto; padding: 0 2rem; }
.cart-container { display: flex; gap: 2rem; align-items: flex-start; }
.cart-items { flex: 2; }
.cart-items table { width: 100%; border-collapse: collapse; color: white; }
.cart-items th, .cart-items td { padding: 1rem; text-align: left; border-bottom: 1px solid #444; }
.cart-items th { text-transform: uppercase; color: #ccc; }
.cart-item-image { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; }
.cart-items a { color: white; text-decoration: none; }
.cart-items a:hover { color: #e1530f; }
.cart-summary { flex: 1; background-color: black; color: white; padding: 2rem; border-radius: 15px; border: 1px solid #444; margin-right: clamp(12px, 2vw, 28px); }
.cart-summary h3 { margin-top: 0; text-transform: uppercase; border-bottom: 1px solid #555; padding-bottom: 1rem; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 1rem; }
.total-row { font-weight: bold; font-size: 1.2rem; }
.btn-checkout { display: block; width: 100%; text-align: center; background-color: #e1530f; color: white; padding: 1rem; text-decoration: none; text-transform: uppercase; font-weight: bold; border-radius: 8px; margin-top: 2rem; transition: background-color 0.3s ease; margin-right: .3rem; }
.btn-checkout:hover { background-color: #c14b0e; }
.empty-cart { text-align: center; padding: 4rem; color: white; font-size: 1.2rem; }
.btn-remove { color: #dc3545; text-decoration: none; font-weight: bold; }
.btn-remove:hover { text-decoration: underline; }
.quantity-form { display: flex; align-items: center; }
.quantity-form input { width: 50px; text-align: center; border: 1px solid #555; background-color: #313131; color: white; border-radius: 5px; margin-right: 10px; }
.quantity-form button { background-color: #555; color: white; border: none; padding: 5px 10px; border-radius: 5px; cursor: pointer; }
.quantity-form button:hover { background-color: #e1530f; }

.checkout-wrapper { max-width: 1200px; margin: 2rem auto; padding: 0 2rem; }
.checkout-container { display: flex; gap: 3rem; align-items: flex-start; }
.customer-info-col { flex: 2; color: white; }
.order-summary-col { flex: 1; background-color: black; color: white; padding: 2rem; border-radius: 15px; }
.order-summary-col h3 { margin-top: 0; }
.order-summary-col .coupon-block .form-label { display: block; margin-bottom: 1rem; }
.summary-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.summary-item-image { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.summary-item-details { flex-grow: 1; }
.step-icon { margin-left: 1rem; font-size: 1.5rem; transition: opacity 0.3s ease; }
.step-complete { color: #28a745; display: none; }
.step-incomplete { color: #dc3545; display: block; }
.checkout-step.completed .step-complete { display: block; }
.checkout-step.completed .step-incomplete { display: none; }
.shipping-summary h4 { margin-top: 0; color: #e1530f; }
.shipping-summary p { line-height: 1.6; color: #ccc; }
.payment-methods { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.payment-methods label { display: flex; align-items: center; gap: 0.8rem; cursor: pointer; background-color: white; padding: 0.8rem 1rem; border: 1px solid #444; border-radius: 8px; transition: all 0.2s ease; color: black; font-size: 0.6rem; }
.payment-methods label:hover { background-color: #e1530f; }
.payment-methods input[type="radio"] { accent-color: #e1530f; transform: scale(1.2); }
.payment-methods img { height: 3.5rem; width: auto; object-fit: contain; align-items: center; }

#stripe-payment-element-container { display: none; margin-bottom: 1rem; padding: 1rem; background-color: #1a1a1a; border: 1px solid #444; border-radius: 8px; }
#stripe-error-message { margin-top: 0.5rem; font-size: 0.9rem; }

.order-summary-col #summary_payment_method img { height: 30px; max-width: 140px; object-fit: contain; vertical-align: middle; }

.thankyou-container { max-width: 700px; margin: 40px auto; text-align: center; padding: 20px; }
.thankyou-container h1 { font-size: 2.2rem; color: #28a745; margin-bottom: 10px; }
.thankyou-container .subtitle { font-size: 1.1rem; margin-bottom: 30px; color: white; }
.orders-wrapper { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.order-box { background: #f8f9fa; border: 1px solid #ddd; border-radius: 12px; padding: 20px; text-align: left; box-shadow: 0 2px 6px rgba(0,0,0,0.08); }
.order-box h3 { margin-top: 0; font-size: 1.3rem; color: #333; margin-bottom: 10px; }
.order-id { color: #e1530f; font-weight: bold; }
.btn-volver { display: inline-block; padding: 12px 25px; font-size: 1rem; color: #fff; background-color: #e1530f; border-radius: 8px; text-decoration: none; transition: background 0.2s; }
.btn-volver:hover { background-color: #dc3545; }


/* ==========================================================================
   9. USUARIO (AUTH Y PERFIL)
   ========================================================================== */
.auth-page-wrapper { display: flex; justify-content: center; align-items: center; min-height: calc(100vh - 100px); padding: 2rem; color: white; }
.auth-form-container { background-color: #1a1a1a; padding: 2.5rem 3.5rem; border-radius: 15px; width: 100%; max-width: 480px; box-shadow: 0 8px 30px rgba(0,0,0,0.8); border: 1px solid #333; }
.auth-logo { display: block; margin: 0 auto 1.5rem auto; width: 150px; height: auto; }
.auth-form-container h2 { text-align: center; color: #e1530f; text-transform: uppercase; margin-bottom: 2rem; font-size: 2rem; letter-spacing: 1px; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.6rem; font-size: 1.1rem; color: #ccc; font-weight: bold; }
.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="tel"], .form-group input[type="password"] { width: 100%; padding: 0.9rem 1.2rem; background-color: #333; border: 1px solid #555; border-radius: 8px; color: white; font-size: 1rem; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.form-group input:focus { border-color: #e1530f; box-shadow: 0 0 0 3px rgba(225, 83, 15, 0.3); outline: none; }
.btn-submit { display: block; width: 100%; padding: 1rem 1.5rem; background-color: #e1530f; color: white; border: none; border-radius: 8px; font-size: 1.2rem; font-weight: bold; cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; margin-top: 2rem; }
.btn-submit:hover { background-color: #c14b0e; transform: translateY(-2px); }
.auth-switch-link { text-align: center; margin-top: 2rem; font-size: 1rem; }
.auth-switch-link p { color: #aaa; }
.auth-switch-link a { color: #e1530f; font-weight: bold; text-decoration: none; transition: color 0.3s ease; }
.auth-switch-link a:hover { color: #f06a2a; text-decoration: underline; }

.profile-page-wrapper { max-width: 45rem; margin: 4rem auto; }
.page-main-title { background-color: #e1530f; color: white; text-transform: uppercase; text-align: center; padding: 1rem 0.2rem; border-radius: 15px; max-width: 400px; margin: 0 auto 2rem auto; position: relative; z-index: 1; }
.page-main-title h1 { margin: 0; font-size: 1.8rem; }
.profile-card { background-color: black; border-radius: 15px; border: 1px solid #444; overflow: hidden; margin-bottom: 2rem; }
.profile-card-title { background-color: #313131; color: white; font-size: 1.5rem; text-transform: uppercase; padding: 1rem 1.5rem; display: flex; justify-content: center; align-items: center; gap: 1rem; }
.profile-card-title h2 { margin: 0; }
.profile-title-icon { height: 1.5em; width: auto; }
.profile-card-content { padding: 1rem 1.5rem; }
.data-row { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid #333; font-size: 1.1rem; color: white; }
.data-row:last-child { border-bottom: none; }
.data-label { font-weight: bold; color: #ccc; }
.profile-card-footer { padding: 1.5rem; text-align: center; background-color: #1a1a1a; }
.btn-edit { display: inline-block; background-color: #e1530f; color: white; padding: 0.8rem 2rem; text-decoration: none; font-weight: bold; border-radius: 8px; }
.form-buttons { display: flex; justify-content: center; gap: 1rem; }
.btn-edit-cancel { display: inline-block; background-color: #555; color: white; padding: 0.8rem 2rem; font-weight: bold; border: none; border-radius: 8px; cursor: pointer; }
.profile-card .form-group { margin-bottom: 1.5rem; }
.profile-card .form-group label { display: block; margin-bottom: 0.6rem; font-size: 1.1rem; color: #ccc; font-weight: bold; }
.profile-card .form-group input { width: 100%; padding: 0.9rem 1.2rem; background-color: #333; border: 1px solid #555; border-radius: 8px; color: white; font-size: 1rem; box-sizing: border-box; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.static-field span { color: white; }
.order-history { width: 100%; border-collapse: collapse; margin-top: 1rem; color: white; font-size: 0.95rem; }
.order-history th, .order-history td { padding: 0.9rem; text-align: center; border-bottom: 1px solid #444; }
.order-history th { text-transform: uppercase; color: #e1530f; font-size: 0.85rem; letter-spacing: 0.5px; }
.order-history tr:hover { background-color: #1f1f1f; }
.download-icon { width: 24px; height: 24px; transition: transform 0.2s ease; }
.download-icon:hover { transform: scale(1.2); }
.download-all-wrapper { margin-top: 20px; text-align: right; }
.download-all-link { display: inline-flex; align-items: center; gap: 0.5rem; color: #e1530f; font-weight: bold; text-decoration: none; transition: color 0.2s ease; }
.download-all-link:hover { color: #ff6f3c; }
.download-all-icon { width: 36px; height: 36px; transition: transform 0.2s ease; }
.download-all-link:hover .download-all-icon { transform: scale(1.2); }
.form-divider { border-color: #444; margin: 2rem 0; }
.form-subtitle { text-align: center; color: white; margin-bottom: 1rem; }


/* ==========================================================================
   10. RESPONSIVE (Media Queries)
   ========================================================================== */

/* --- Breakpoints Grandes --- */
@media (max-width: 1200px) {
    .landing-colchonetas .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
    .white-background .related-products-section .product-carousel .swiper-wrapper { margin: 0 -24px; }
    .white-background .related-products-section .product-carousel .swiper-slide { padding: 0 24px; }
    .white-background .related-products-section .product-carousel .swiper-slide { padding: 0 !important; } .white-background .related-products-section .product-carousel .swiper-wrapper { margin: 0 !important; } 
}
@media (max-width: 900px) {
    .landing-colchonetas .media-grid-3 { grid-template-columns: 1fr; }
    .landing-colchonetas .product-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr; }
}

/* --- Breakpoint Principal Móvil (960px) --- */
@media screen and (max-width: 960px) {
    /* Navbar Móvil */
    .main-logo-mobile { display: block; z-index: 2001; position: relative; }
    .main-logo-mobile img { height: 45px; width: auto; }
    .mobile-label { display: none !important; }
    .menu-toggle { display: block; cursor: pointer; position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%); width: 30px; height: 22px; z-index: 2005; }
    .bar { display: block; width: 100%; height: 2px; background-color: white; border-radius: 2px; position: absolute; transition: all 0.3s ease-in-out; }
    .bar:nth-child(1) { top: 0; } .bar:nth-child(2) { top: 10px; } .bar:nth-child(3) { top: 20px; }
    .menu-toggle.is-active .bar:nth-child(1) { top: 10px; transform: rotate(45deg); background-color: #e1530f; }
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(3) { top: 10px; transform: rotate(-45deg); background-color: #e1530f; }
    .nav-links { display: flex; flex-direction: column; position: fixed; top: 0; right: -100%; width: 85%; max-width: 320px; height: 100vh; background-color: #0f0f0f; padding: 8rem 2rem 2rem 2rem; transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0); box-shadow: -10px 0 20px rgba(0,0,0,0.7); z-index: 2000; overflow-y: auto; }
    .nav-links.active { right: 0; }
    .nav-links li { padding: 0; width: 100%; margin: 0; }
    .nav-link { font-size: 1.1rem; padding: 1rem 0; border-bottom: 1px solid #222; width: 100%; display: block; color: #eee; font-weight: 500; letter-spacing: 1px; }
    .dropdown-menu { position: static; background-color: #1a1a1a; border: none; border-left: 2px solid #ff5722; opacity: 1; visibility: visible; transform: none; display: block; margin-top: 0; padding: 0; border-radius: 0; }
    .dropdown-menu li a { padding: 0.8rem 1.5rem; font-size: 0.95rem; color: #aaa; border-bottom: 1px solid #222; text-transform: none; }
    .nav-cart { display: none; }
    .nav-cart-standalone { position: absolute; right: 4.5rem; top: 50%; transform: translateY(-50%); display: flex; z-index: 1900; left: auto; margin-right: 5rem; }
    .nav-cart-standalone .cart-icon-img { height: 26px; }
    .nav-cart-standalone .cart-counter { top: -8px; right: -8px; width: 18px; height: 18px; font-size: 0.7rem; }
    .nav-links .auth-entry { order: -1; margin-bottom: 1rem; border-bottom: 1px solid #333; padding-bottom: 1rem; }
    .main-nav-container { position: relative; height: auto; min-height: 1.2rem; padding: 5px 0; } .search-bar-global { margin-top: 0 !important; z-index: 4; }

    /* Footer & Contenido */
    .footer-content { flex-direction: column; align-items: center; text-align: center; }
    .footer-col { margin-bottom: 2rem; }
    .footer-col:last-child { margin-bottom: 0; }
    .History { flex-direction: column !important; align-items: center !important; padding: 2rem 1.5rem !important; gap: 2rem; width: auto; }
    .History .ImageDesktop { width: 100% !important; max-width: 100% !important; margin: 0 0 1.5rem 0 !important; order: 1; display: flex !important; justify-content: center !important; align-items: center !important; }
    .History .ImageDesktop img { max-width: 100%; height: auto; display: block; }
    .History .Text { width: 100% !important; padding: 0 !important; order: 2; color: white; }
    .History .Text h2 { text-align: center; font-size: 1.5rem; margin-bottom: 1rem; color: #e1530f; }
    .History .Text p { text-align: justify; font-size: 1rem; line-height: 1.6; margin-bottom: 1.2rem; }
    .benefits-list, .History .Text ul { text-align: left; padding-left: 1.5rem; margin-bottom: 1.5rem; }
    .benefits-list li { margin-bottom: 0.8rem; font-size: 1rem; line-height: 1.5; }
    .nosotros-content-wrapper, .mayoreo-content-wrapper, .recruitment-content-wrapper { padding-left: 1rem; padding-right: 1rem; overflow-x: hidden; }
    .recruitment-content-wrapper .Text { max-width: 100%; box-sizing: border-box; }
    .contact-info { text-align: left; padding: 1.2rem; background-color: #222; border: 1px solid #444; font-size: 0.95rem; }
    .contact-page-wrapper { padding-left: 1rem !important; padding-right: 1rem !important; }
    .contact-page-wrapper .History { padding: 2rem 1rem !important; gap: 2rem; width: 100% !important; }
    .contact-details, .contact-form-side { width: 100% !important; max-width: 100% !important; padding: 0 !important; }
    .contact-form-side .btn-submit { width: 100%; }
    .nosotros-page-wrapper .Hero img { width: 100%; }
    .nosotros-content-wrapper .Text h2 { font-size: 1rem; }
    .nosotros-content-wrapper .Text p { font-size: 18px; margin-bottom: 1.5em; }
    
    /* Index Home */
    .index-hero-video { height: auto !important; aspect-ratio: 16 / 9; width: 100%; }
    .index-hero-video video { width: 100% !important; height: 100% !important; object-fit: contain; display: block; background: #000; }
    .index-page-wrapper { padding: 1rem; }
    .index-title-box, .who-title, .why-us-title { padding: 1rem 1.5rem; font-size: 1.2rem; top: -30px; margin-bottom: -30px; }
    .index-title-box h2, .who-title h2, .why-us-title h2 { font-size: 1.2rem; }
    .index-title-box.why-us-title { position: static !important; top: 0 !important; margin: 1.25rem auto 0 !important; }
    .why-us-section { padding-top: 2rem; }
    .who-section-background { display: grid; grid-template-areas: "img" "text"; grid-template-columns: 1fr; gap: 0; }
    .who-section { grid-area: img; }
    .who-title { grid-area: text; top: 0 !important; margin: 0.75rem auto 0 !important; width: min(90%, 38rem); }
    .options-container { flex-direction: column; }
    .why-us-grid { grid-template-columns: 1fr; }
    .quote-content-container { flex-direction: column; }
    .quote-video-column, .quote-text-column { width: 100%; max-width: 100%; }
    .testimonials-grid { flex-direction: column; align-items: center; }
    .testimonial-card-simple { width: 90%; }
    .index-page-wrapper .History { flex-direction: column; padding: 0; }
    .index-page-wrapper .History .ImageDesktop { width: 100%; order: 1; height: 250px; }
    .index-page-wrapper .History .Text { width: 100%; order: 2; padding: 2rem; text-align: center; }
    .factory-section { padding: 40px 20px; }
    .factory-container { flex-direction: column; text-align: center; }
    .factory-video-wrapper { width: 240px; }
    .factory-benefits { display: inline-block; text-align: left; }
    
    /* Tienda y Fichas */
    .category-page-container { flex-direction: column; gap: 1rem; padding: 0 1rem; margin: 1rem auto; }
    .category-sidebar { flex: 0 0 auto; width: 100%; align-self: stretch; padding: 1rem; }
    .category-sidebar ul { display: flex; flex-wrap: wrap; gap: .5rem; }
    .category-sidebar ul li a { display: inline-block; padding: .6rem .9rem; border: 1px solid #2a2a2a; border-radius: 9999px; background: transparent; }
    .category-sidebar ul li a:hover { background: #313131; }
    .category-sidebar ul li.active a { background-color: #e1530f; border-color: #e1530f; color: #fff; }
    .product-grid-main { padding: 0; }
    .product-grid { grid-template-columns: 1fr !important; gap: 1.25rem !important; }
    .product-grid .product-card { width: 100%; max-width: 100%; }
    .pagination { gap: 1rem; margin-top: 2rem; }
    .types-grid { display: grid; grid-template-columns: 1fr 1fr !important; grid-template-rows: auto auto !important; height: auto !important; gap: 1rem !important; }
    .types-grid .large-card { grid-column: 1 / -1 !important; grid-row: 1 !important; height: 250px; width: 100%; }
    .types-grid .small-card-top { grid-column: 1 !important; grid-row: 2 !important; height: 180px; width: 100%; }
    .types-grid .small-card-bottom { grid-column: 2 !important; grid-row: 2 !important; height: 180px; width: 100%; }
    .type-card { position: relative; overflow: hidden; border-radius: 15px; }
    .type-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .image-overlay-text { padding: 1rem; }
    .shop-hero picture { display: block; }
    .shop-hero picture img { display: block; width: 100%; height: auto; }
    .product-page-wrapper { padding: 1rem; }
    .product-detail-container { flex-direction: column; gap: 1.5rem; }
    .product-images-column, .product-details-column { flex: none; width: 100%; min-width: 0; }
    .product-details-column { display: grid; grid-template-rows: auto auto auto auto 1fr auto; row-gap: 1rem; align-content: start; max-width: 760px; }
    .product-main-title { margin: 0; line-height: 1.15; font-size: 1.6rem; }
    .price-container-detail { margin: .25rem 0 .5rem; gap: .75rem; flex-wrap: wrap; }
    .product-options { grid-template-columns: 1fr; flex-direction: column; gap: 1rem; }
    .btn-buy { margin-top: .75rem; align-self: start; padding: 1rem 2rem; border-radius: 10px; width: 100%; text-align: center; }
    .product-gallery-main .swiper-slide img, .product-gallery-main .swiper-slide video { height: 360px; }
    .product-gallery-main { border-width: 2px; margin-bottom: .5rem; }
    .product-gallery-main .swiper-slide img { width: 100%; height: min(65vw, 420px); object-fit: contain; }
    .product-gallery-thumbs { height: 70px; margin-top: .25rem; }
    .price-container-detail .original-price { font-size: 1.1rem; }
    .price-container-detail .final-price { font-size: 1.6rem; }
    .discount-badge { font-size: .8rem; margin: .25rem 0 0 0; }
    .product-long-description { font-size: 1rem; line-height: 1.6; }
    .product-options { flex-direction: column; gap: 1rem; }
    .option-group label { margin-bottom: .35rem; }
    .color-selector { gap: .6rem; }
    .color-swatch { width: 28px; height: 28px; }
    .material-text { font-size: .95rem; padding: .6rem .8rem; }
    .quantity-selector { border-radius: 8px; }
    .quantity-btn { padding: 0 .9rem; font-size: 1.4rem; }
    .quantity-selector input[type="number"] { width: 56px; font-size: 1.1rem; }
    .reviews-section { padding-top: 1.5rem; }
    .reviews-container { display: grid !important; grid-template-columns: 1fr; gap: 1rem; }
    .reviews-summary-box, .reviews-list, .reviews-container > .review-form, .reviews-container > .already-reviewed-note, .reviews-container > .login-to-review-note { grid-column: 1; }
    .reviews-summary-box { text-align: center; }
    .review-item { padding: 1rem; }
    .review-form { max-width: 100%; margin: 1.5rem 0 0; padding: 1rem; }
    .star-rating label { font-size: 1.8rem; }

    /* Historial Perfil */
    .order-history thead { display: none; }
    .order-history, .order-history tbody, .order-history tbody tr, .order-history td { display: block; width: 100%; }
    .order-history tbody tr { background: #1a1a1a; border: 1px solid #333; border-radius: 12px; padding: 1rem; margin-bottom: 1rem; }
    .order-history td { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .45rem 0; border: none; color: white; word-break: break-word; }
    .order-history td::before { color: #e1530f; font-weight: bold; text-transform: uppercase; font-size: .85rem; letter-spacing: .02em; }
    .order-history td:nth-child(1)::before { content: "Orden"; }
    .order-history td:nth-child(2)::before { content: "Fecha"; }
    .order-history td:nth-child(3)::before { content: "Producto"; }
    .order-history td:nth-child(4)::before { content: "Color"; }
    .order-history td:nth-child(5)::before { content: "Monto"; }
    .order-history td:nth-child(6)::before { content: "Acciones"; }
    .order-history td:nth-child(6) { justify-content: flex-start; }
    .download-all-wrapper { text-align: center; }

    /* Checkout y Carrito */
    .cart-container { flex-direction: column; gap: 1.25rem; padding-inline: 1rem; }
    .cart-items .cart-table thead { display: none; }
    .cart-items .cart-table, .cart-items .cart-table tbody, .cart-items .cart-table tr, .cart-items .cart-table td { display: block; width: 100%; }
    .cart-items .cart-table tr { background: #1a1a1a; border: 1px solid #333; border-radius: 12px; padding: 1rem; margin-bottom: 1rem; }
    .cart-items .cart-table td { display: grid; grid-template-columns: 8rem 1fr; align-items: center; gap: .75rem; padding: .45rem 0; border: none; color: #fff; word-break: break-word; }
    .cart-items .cart-table td:nth-child(1)::before { content: "Imagen"; }
    .cart-items .cart-table td:nth-child(2)::before { content: "Producto"; }
    .cart-items .cart-table td:nth-child(3)::before { content: "Material"; }
    .cart-items .cart-table td:nth-child(4)::before { content: "Color"; }
    .cart-items .cart-table td:nth-child(5)::before { content: "Precio"; }
    .cart-items .cart-table td:nth-child(6)::before { content: "Cantidad"; }
    .cart-items .cart-table td:nth-child(7)::before { content: "Subtotal"; }
    .cart-items .cart-table td:nth-child(8)::before { content: "Acciones"; }
    .cart-items .cart-table td::before { color: #e1530f; font-weight: 700; text-transform: uppercase; font-size: .85rem; letter-spacing: .02em; }
    .cart-item-image { width: 96px; height: 96px; border-radius: 10px; }
    .quantity-form { gap: .5rem; }
    .quantity-form .quantity-input { width: 64px; }
    .cart-summary { width: 100%; margin-top: .5rem; padding: 1.25rem; }
    .checkout-wrapper { margin: 1rem auto; padding: 0; }
    .checkout-container { flex-direction: column; gap: 1rem; padding: 0 1rem; }
    .customer-info-col, .order-summary-col { flex: none; width: 100%; min-width: 0; }
    .order-summary-col { margin-right: 0; padding: 1.25rem; border-radius: 12px; }
    .payment-methods label { padding: .75rem 1rem; }
    .payment-methods img { height: 2.25rem; }
    .faq-item { border-radius: 12px; overflow: hidden; }
    .faq-question { padding: 1rem; font-size: 1.05rem; }
    .faq-answer { padding: 1rem; }
    .faq-answer .form-group input, .faq-answer .form-group textarea { font-size: 1rem; padding: .9rem .9rem; }
    
    /* Sticky Bar Padding */
    body { padding-bottom: 80px; }
}

/* --- Tablet (701-959) --- */
@media (min-width: 701px) and (max-width: 959px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 1.5rem !important; }
    .checkout-container { gap: 1.5rem; }
    .order-summary-col { padding: 1.5rem; }
    .payment-methods img { height: 2.6rem; }
}

@media (max-width: 768px) { .product-video-section { padding: 1.5rem 1rem; margin: 2rem auto; border-radius: 15px; } .video-section-title { font-size: 1.4rem; margin-bottom: 1.5rem; } .videos-grid.layout-4 { grid-template-columns: 1fr; } }

/* --- Móvil Pequeño (600px) --- */
@media (max-width: 600px) {
    .landing-colchonetas .product-grid { grid-template-columns: 1fr; }
}

/* --- Móvil Extra Pequeño (400px) --- */
@media (max-width: 400px) {
    .page-header + .product-grid-main .product-grid { grid-template-columns: 1fr !important; gap: 1.25rem !important; }
    .pending-container { padding: 1rem; }
    .pending-container h1 { font-size: 1.6rem; }
    .pending-container h2 { font-size: 1.05rem; }
    .pending-container p { font-size: .95rem; }
    .pending-container .btn-home { padding: .8rem 1rem; font-size: .95rem; }
}


/* ==========================================================================
   11. STICKY BAR MÓVIL
   ========================================================================== */
    .mobile-sticky-bar { position: fixed; bottom: 0; left: 0; width: 100%; background: white; padding: 10px 15px; box-shadow: 0 -4px 15px rgba(0,0,0,0.15); display: flex; justify-content: space-between; align-items: center; gap: 10px; z-index: 9999; transform: translateY(0); box-sizing: border-box; border-top: 1px solid #eee; }
    .mobile-sticky-bar.visible { transform: translateY(0); }
    .sticky-price-info { display: flex; flex-direction: column; align-items: flex-end; flex: 1; min-width: 0; }
    .sticky-title { font-size: 0.85rem; color: #333; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; text-align: right; }
    .sticky-price { font-size: 1.1rem; font-weight: 800; color: #e1530f; white-space: nowrap; }
    .btn-sticky-add { background-color: #e1530f; color: white; border: none; padding: 10px 15px; border-radius: 8px; font-weight: bold; font-size: 0.95rem; cursor: pointer; box-shadow: 0 4px 6px rgba(225, 83, 15, 0.3); flex-shrink: 0; }
    @media (min-width: 769px) { .mobile-sticky-bar { display: none !important; } }













