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

:root {
    --social-blue: #0a2f5c;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    /* En la home de clientes el fondo es completamente blanco */
    background: #ffffff;
    color: rgb(31, 31, 31);
    font-size: 15px;
}

.page-wrapper { min-height: 100vh; display: flex; flex-direction: column; }

/* Header estilo Magento: logo centrado, buscador y iconos */
.page-header {
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Cintillo / bottom-header como en la home de clientes */
.bottom-header {
    height: 32px;
    background: linear-gradient(to right, #26aae1 0%, #ed028c 100%);
}

.menu-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
}

.top-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-logo a {
    font-size: 24px;
    gap: 10px;
    color: #14050f;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.02em;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00518d;
    font-size: 16px;
    text-decoration: none;
    background: transparent;
    border: none;
    align-items: center;
    flex-direction: row-reverse;
    gap: 15px;
    width: 18px;
    height: 18px;
    border: none;
    padding: 0 10px;

.footer-col a {
    color: #1f1f1f;
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.footer-contact-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    color: #00518d;
    flex: 0 0 18px;
}

.footer-contact-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    flex: 0 0 18px;
}
    max-width: 410px;
    box-shadow: 0px 2px 8px 0px rgba(40, 40, 40, 0.15);
}

.header-search .search-icon {
    margin: 0;
    font-size: 16px;
    color: #00518d;
}

.header-search input[type="search"] {
    flex: 1;
    border: none;
    background: #ffffff;
    padding: 8px 8px;
    font-size: 14px;
}

.header-search input[type="search"]:focus {
    outline: none;
}

.header-search button {
    display: none;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-top-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.header-top-links .actions {
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-button,
.account-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
    /* Color base como en la cabecera Magento */
    color: #00518d;
    font-size: 30px;
}

.header-icon {
    width: 30px;
    height: 30px;
}

.icon-button:hover,
.account-trigger:hover {
    color: #e6007e;
}

.header-top-links .subtitle {
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6b6b6b;
}

.account-label {
    display: none;
    margin-left: 6px;
    font-size: 13px;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #00518d;
    border: none;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 24px;
    margin-top: 8px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 24px;
    min-width: 320px;
    z-index: 1000;
    border: 1px solid #e8e8e8;
}

.login-dropdown.active { display: block; }

.login-dropdown h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.login-dropdown .form-group {
    margin-bottom: 14px;
}

.login-dropdown .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    margin-bottom: 6px;
}

.login-dropdown .form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.login-dropdown .form-group input:focus {
    outline: none;
    border-color: #6a1b9a;
    box-shadow: 0 0 0 2px rgba(106,27,154,0.2);
}

.login-dropdown .btn-entrar {
    width: 100%;
    padding: 12px;
    background: #FFCA30;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
}

.login-dropdown .btn-entrar:hover { background: #e6b528; }

.login-dropdown .login-error {
    background: #ffebee;
    color: #c62828;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 12px;
    display: none;
}

.login-dropdown .login-error.show { display: block; }

.header-welcome {
    display: none;
    align-items: center;
    gap: 12px;
}

.header-welcome.visible { display: flex; }

.header-welcome span {
    font-size: 14px;
    color: #333;
}

.header-welcome .logout-link {
    padding: 8px 14px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #666;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.header-welcome .logout-link:hover {
    background: #ffebee;
    color: #c62828;
    border-color: #ffcdd2;
}

.btn-conciliacion-header {
    padding: 8px 14px;
    background: #FFCA30;
    color: #000;
    border: 1px solid #FFCA30;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-conciliacion-header:hover { background: #e6b528; }

.account-container { position: relative; }

/* Contenedor del slider principal */
.page-banner {
    background: transparent;
    padding: 0;
}

.hero-left {
    color: #ffffff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 22px;
    background: #e6007e;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-badge-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e6007e;
    font-size: 18px;
    font-weight: 700;
}

.hero-eyebrow {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.85;
    margin-bottom: 8px;
}

.hero-title {
    font-size: 44px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 24px;
}

.hero-copy {
    font-size: 16px;
    opacity: 0.92;
    max-width: 420px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.hero-cta {
    padding: 12px 28px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(90deg, #00b5e2 0%, #e6007e 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

.hero-cta:hover {
    opacity: 0.95;
}

.hero-note {
    font-size: 14px;
    opacity: 0.85;
}

.hero-right {
    justify-self: center;
}

.hero-product-box {
    width: 320px;
    max-width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    padding: 24px 22px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
    color: rgb(27, 29, 39);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-product-logo {
    font-size: 12px;
    font-weight: 600;
    color: rgb(16, 71, 119);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-product-name {
    font-size: 28px;
    font-weight: 700;
    color: rgb(27, 29, 39);
    margin-bottom: 4px;
}

.hero-product-sub {
    font-size: 14px;
    color: rgb(31, 31, 31);
    opacity: 0.8;
    margin-bottom: 16px;
}

.hero-product-logo img {
    height: 20px;
    width: auto;
    display: block;
}

.hero-product-image {
    margin-top: 12px;
    border-radius: 18px;
    overflow: hidden;
}

.hero-product-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-product-strip {
    margin-top: 12px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, #00b5e2 0%, #e6007e 100%);
}

/* Slider principal tipo Magento (full width) */
.hero-slider {
    position: relative;
    width: 100%;
    /* Altura responsive basada en relación de aspecto del banner */
    aspect-ratio: 1920 / 750;
    height: auto;
    margin: 0;
    overflow: hidden;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slide-overlay { display: none; }

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    color: #333;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.hero-slider:hover .hero-arrow {
    opacity: 1;
    pointer-events: auto;
}

.hero-arrow-prev { left: 16px; }
.hero-arrow-next { right: 16px; }

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
}

.hero-dot.is-active {
    background: #e6007e;
}

/* Sección productos destacados (estilo Magento) */
.section-builder {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

.section-title {
    font-size: 32px; /* títulos principales como en la referencia */
    font-weight: 700;
    color: rgb(16, 71, 119);
    margin: 24px 0 12px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    position: relative;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Líneas laterales con degradado, separadas del texto */
.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    height: 3px;
    width: calc(50% - 260px); /* espacio similar a la cabecera Magento */
    background: linear-gradient(90deg, #00b5e2 0%, #e6007e 100%);
}

.section-title::before {
    left: 0;
}

.section-title::after {
    right: 0;
    transform: scaleX(-1); /* invierte el degradado para que salga del texto hacia afuera */
}

.section-subtitle-main {
    font-size: 32px; /* "Productos Clave" como en la referencia */
    font-weight: 700;
    color: rgb(16, 71, 119);
    text-align: center;
    margin-bottom: 24px;
    font-family: 'Poppins', sans-serif;
}

.section-subtitle {
    font-size: 15px;
    color: rgb(31, 31, 31);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.product-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.product-item .product-image {
    aspect-ratio: 1;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-item .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-item .product-details {
    padding: 16px;
}

.product-item .product-name {
    font-size: 16px; /* título de producto */
    font-weight: 600;
    color: rgb(27, 29, 39);
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-item .product-name a {
    color: inherit;
    text-decoration: none;
}

.product-item .product-name a:hover {
    color: #6a1b9a;
}

.product-item .product-desc {
    font-size: 15px; /* texto normal */
    color: rgb(31, 31, 31);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-item .product-price {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.product-item .btn-add-cart {
    width: 100%;
    padding: 10px 14px;
    background: #FFCA30;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.product-item .btn-add-cart:hover {
    background: #e6b528;
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
}

.page-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 24px;
}

.orders-table-wrap {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

.table-header {
    display: grid;
    grid-template-columns: 120px 140px 1fr 100px 120px 140px;
    gap: 16px;
    padding: 16px 20px;
    background: #f3e5f5;
    font-weight: 600;
    color: #4a148c;
    font-size: 13px;
    border-bottom: 2px solid #ce93d8;
}

.table-row {
    display: grid;
    grid-template-columns: 120px 140px 1fr 100px 120px 140px;
    gap: 16px;
    padding: 16px 20px;
    align-items: center;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.table-row:hover { background: #fafafa; }
.table-row:last-child { border-bottom: none; }

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-pendiente { background: #fff3e0; color: #e65100; }
.badge-conciliado { background: #e8f5e9; color: #2e7d32; }

.btn-conciliar {
    background: #fff8e1;
    color: #e65100;
    border: 1px solid #FFCA30;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-conciliar:hover {
    background: #FFCA30;
    color: #000;
}

.btn-conciliar:disabled,
.btn-conciliar.conciliado {
    background: #e8e8e8;
    color: #999;
    cursor: default;
    border-color: #ddd;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active { display: flex; }

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 28px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #ce93d8;
}

.modal-header h2 { font-size: 20px; color: #333; }
.modal-header .order-ref { font-size: 13px; color: #666; margin-top: 4px; }

.btn-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.btn-close:hover { background: #f5f5f5; color: #333; }

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #ce93d8;
    border-radius: 8px;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #6a1b9a;
    box-shadow: 0 0 0 2px rgba(106,27,154,0.15);
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 2px solid #ce93d8;
}

.btn-primary {
    background: #6a1b9a;
    color: #fff;
    border: 1px solid #4a148c;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary:hover {
    background: #4a148c;
}

.btn-secondary {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ce93d8;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

.btn-secondary:hover { background: #e8e8e8; }

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 2000;
    animation: notifIn 0.3s ease;
}

@keyframes notifIn {
    from { transform: translateX(400px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.notification.success { background: #2e7d32; color: white; }
.notification.error { background: #c62828; color: white; }

.payment-info {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.magento-content { display: none; }
.magento-content.authenticated { display: block; }

.main-guest-msg {
    max-width: 1200px;
    margin: 0 auto 32px;
    padding: 20px 24px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
}

.main-guest-msg p {
    font-size: 15px;
    color: #555;
    margin: 0;
}

/* Footer inspirado en la tienda */
.site-footer {
    background: #ffffff;
    color: #1f1f1f;
    margin-top: auto;
    border-top: 1px solid #e0e0e0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 42px 24px 36px;
}

/* Fila newsletter (como top-footer) */
.footer-newsletter {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
    gap: 16px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 28px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.footer-newsletter-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: #00518d;
    margin-bottom: 4px;
}

.footer-newsletter-text p {
    font-size: 14px;
    color: #666;
}

.footer-newsletter-form {
    display: flex;
    align-items: center;
    gap: 0;
    width: auto;
    max-width: none;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0px 2px 8px 0px rgba(40, 40, 40, 0.15);
    background: #ffffff;
}

.footer-newsletter-form input[type="email"] {
    flex: 0 0 280px;
    padding: 12px 16px;
    border: none;
    font-size: 14px;
}

.footer-newsletter-form input[type="email"]:focus {
    outline: none;
}

.footer-newsletter-form button {
    padding: 12px 22px;
    border: none;
    background: #00518d;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    border-radius: 0 4px 4px 0;
}

/* Bloque principal: logo + columnas (middle-footer) */
.footer-main-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
}

.footer-brand {
    flex: 0 0 260px;
    text-align: left;
}

.footer-brand-logo img {
    max-width: 210px;
    height: auto;
    display: block;
    margin-bottom: 14px;
}

.footer-social {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-social a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--social-blue);
    font-size: 16px;
    text-decoration: none;
    background: transparent;
    border: none;
}

.footer-social a svg {
    width: 40px;
    height: 40px;
    display: block;
}

.footer-social a svg path {
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-social a svg rect,
.footer-social a svg line,
.footer-social a svg polygon {
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.footer-contact-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    color: #111111;
    flex: 0 0 18px;
}

.footer-contact-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    flex: 0 0 18px;
}

.footer-columns {
    flex: 1 1 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: #444;
    display: grid;
    gap: 6px;
}

.footer-col h3 {
    font-size: 16px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #00518d;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #00518d;
}

.footer-col a {
    color: #1f1f1f;
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
}

/* Barra inferior degradada */
.footer-bottom-bar {
    background: linear-gradient(90deg, #02b3e4 0%, #ff0080 100%);
    color: #ffffff;
    font-size: 13px;
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-created-by {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.footer-created-by img {
    height: 20px;
    width: auto;
    display: block;
}

@media (max-width: 900px) {
    .top-header {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .header-logo {
        flex: 0 0 auto;
    }

    .header-search {
        order: 3;
        width: 100%;
        max-width: none;
    }

    .header-right {
        order: 2;
        margin-left: auto;
    }

    .hero-slide-tagline {
        font-size: 20px;
    }

    .footer-main-row {
        flex-direction: column;
        gap: 24px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        flex: 1 1 100%;
    }

    .table-header, .table-row {
        grid-template-columns: 100px 1fr 80px 100px;
    }

    .table-header .hide-mobile, .table-row .hide-mobile { display: none; }

    .hero-product-box {
        width: 260px;
        margin: 0 auto;
    }

    /* Productos grid: tarjetas más separadas en móvil */
    .section-builder {
        padding: 32px 16px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 16px;
    }
}

/* En desktop dejamos que el slider mantenga su relación de aspecto
   sin forzar una altura fija */
@media (min-width: 1024px) {
    .page-banner {
        padding: 0;
    }
}
