/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
    height: 70px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
}

.header-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}


.logo-top {
    font-size: 1.2rem;
    letter-spacing: 3px;
}

.logo-bottom {
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: var(--text-main);
}

.main-nav ul {
    display: flex;
    gap: 32px;
}

.main-nav a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-blue);
}

/* Dropdown de categorías en el nav */
.main-nav li.dropdown {
    position: relative;
}

.main-nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: #fff;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
    margin-top: 8px;
    z-index: 500;
}

.main-nav .dropdown:hover .dropdown-menu,
.main-nav .dropdown:focus-within .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: 9px 22px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    white-space: nowrap;
}

.dropdown-menu li a::after { display: none; }

.dropdown-menu li a:hover {
    background: var(--bg-offset);
    color: var(--primary-blue);
}

.dropdown-menu-thumb {
    display: none;
}

/* Mega menu con miniaturas — solo en escritorio */
@media (min-width: 769px) {
    .main-nav .dropdown-menu {
        width: 960px;
        max-width: calc(100vw - 40px);
        left: 50%;
        transform: translateX(-50%);
        padding: 1.5rem 1.75rem;
    }
    .main-nav .dropdown:hover .dropdown-menu,
    .main-nav .dropdown:focus-within .dropdown-menu {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: .35rem 1.5rem;
    }
    .dropdown-menu li a {
        padding: .6rem .6rem;
        border-radius: 10px;
        white-space: normal;
    }
    .dropdown-menu-thumb {
        display: block;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
        background: var(--bg-offset);
    }

    /* Puente invisible: sin esto, al bajar el mouse por el margin-top
       se pierde el :hover del trigger antes de llegar al panel y el
       menú se cierra solo. */
    .main-nav .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -8px;
        left: 0;
        right: 0;
        height: 8px;
    }
}

@media (max-width: 768px) {
    .main-nav .dropdown-menu {
        display: none;
    }
    .main-nav li.dropdown .fa-chevron-down {
        display: none;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-main);
    cursor: pointer;
    transition: color 0.3s;
}

.search-btn:hover {
    color: var(--primary-blue);
}

.search-wrap {
    position: relative;
}

.search-panel {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 14px;
    background: #fff;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    gap: 8px;
    width: 300px;
    max-width: calc(100vw - 40px);
    z-index: 600;
}
.search-panel::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}
.search-panel.abierto {
    display: flex;
}
.search-panel input {
    flex: 1;
    border: 1.5px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    padding: 10px 14px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text-main);
    outline: none;
    transition: border-color 0.2s;
}
.search-panel input:focus {
    border-color: var(--primary-blue);
}
.search-panel button[type="submit"] {
    background: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: var(--border-radius-sm);
    width: 42px;
    flex-shrink: 0;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}
.search-panel button[type="submit"]:hover {
    background: var(--primary-blue-hover);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Slider (portadas múltiples) — proporción 750×1000 en mobile,
   1920×600 en escritorio; se ajusta proporcionalmente con el ancho. */
.hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 750 / 1000;
    overflow: hidden;
    margin-top: var(--header-height);
}
@media (min-width: 768px) {
    .hero-slider { aspect-ratio: 1920 / 600; }
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background-image: var(--bg-mob, none);
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    transition: opacity 1s ease;
}
.hero-slide.activo {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}
@media (min-width: 768px) {
    .hero-slide { background-image: var(--bg-esc, none); }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text-container {
    max-width: 650px;
    color: white;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.text-highlight {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #e2e8f0;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Navegación del slider */
.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 10px;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, transform 0.25s;
}
.hero-dot.activo {
    background: var(--accent-color);
    transform: scale(1.25);
}
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: rgba(255,255,255,0.3); }
.hero-arrow-prev { left: 20px; }
.hero-arrow-next { right: 20px; }
@media (max-width: 768px) {
    .hero-arrow { display: none; }
}

/* Hero de página de categoría */
.categoria-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    margin-top: var(--header-height);
    background-image: var(--bg-cat, none);
    background-size: cover;
    background-position: center;
}
.categoria-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,31,63,0.92) 0%, rgba(0,31,63,0.55) 100%);
}
.categoria-hero .container {
    position: relative;
    z-index: 2;
    padding-bottom: 40px;
    color: #fff;
}
.categoria-hero h1 {
    color: #fff;
    font-size: 2.6rem;
    margin: 10px 0 8px;
}
.categoria-desc {
    color: #e2e8f0;
    max-width: 640px;
    font-weight: 300;
}

/* Filtro de categorías (página "Todos los productos") */
.productos-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    align-items: start;
}

.filtro-productos {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--border-radius-md);
    padding: 20px;
}

.filtro-productos h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.filtro-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 360px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.filtro-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-main);
    cursor: pointer;
}

.filtro-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-blue);
    cursor: pointer;
    flex-shrink: 0;
}

.btn-filtro {
    width: 100%;
    padding: 10px;
    font-size: 0.9rem;
}

.limpiar-filtro {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
    text-decoration: underline;
}

.limpiar-filtro:hover {
    color: var(--primary-blue);
}
.breadcrumb {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
}
.breadcrumb a { color: rgba(255,255,255,0.85); font-weight: 500; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 6px; opacity: 0.6; }

/* Estado vacío (categoría sin productos todavía) */
.categoria-vacio {
    text-align: center;
    padding: 60px 20px;
    max-width: 480px;
    margin: 0 auto;
}
.categoria-vacio i {
    font-size: 3rem;
    color: var(--border-light);
    margin-bottom: 20px;
}
.categoria-vacio h2 {
    margin-bottom: 10px;
}
.categoria-vacio p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Trust Bar */
.trust-bar {
    background-color: var(--primary-blue);
    padding: 30px 0;
    color: white;
}

.trust-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-icon {
    font-size: 2rem;
    color: white;
}

.trust-text h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 2px;
}

.trust-text p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
    border-color: var(--primary-blue);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
}

.product-image {
    height: 220px;
    padding: 20px;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

/* Paginación pública (categorías, búsqueda) */
.paginacion {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}
.pagina-btn, .pagina-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-light);
    background: #fff;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.pagina-num { padding: 0; }
.pagina-btn:hover, .pagina-num:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}
.pagina-num.activa {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff;
}
.pagina-btn.deshabilitado {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.product-info {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.45;
    margin-bottom: 12px;
    color: var(--text-main);
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price-container {
    margin-bottom: 16px;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    font-family: var(--font-heading);
}

.product-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 20px;
    border-radius: var(--border-radius-sm);
    background: var(--bg-offset);
    color: var(--primary-blue);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.25s ease, color 0.25s ease;
}

.product-card:hover .product-cta {
    background: var(--primary-blue);
    color: #fff;
}

/* Página de producto */
.producto-detalle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.producto-imagen-principal {
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    overflow: hidden;
}

.producto-imagen-principal img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.producto-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.producto-thumb {
    width: 64px;
    height: 64px;
    padding: 6px;
    border-radius: var(--border-radius-sm);
    border: 1.5px solid var(--border-light);
    background: #ffffff;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s;
}

.producto-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.producto-thumb:hover,
.producto-thumb.activo {
    border-color: var(--primary-blue);
}

.producto-cat-tag {
    display: inline-block;
    background: var(--bg-offset);
    color: var(--primary-blue);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.producto-cat-tag:hover {
    background: var(--primary-blue);
    color: #fff;
}

.producto-info-detalle h1 {
    font-size: 1.9rem;
    margin-bottom: 8px;
    line-height: 1.25;
}

.producto-sku {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 16px;
}

.producto-precio {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    font-family: var(--font-heading);
    margin-bottom: 28px;
}

.producto-descripcion {
    margin-bottom: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.producto-descripcion h2 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.producto-descripcion p {
    color: var(--text-muted);
    line-height: 1.7;
}

.producto-acciones {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 380px;
}

.producto-acciones .btn-primary {
    background-color: #25d366;
}

.producto-acciones .btn-primary:hover {
    background-color: #1ebd59;
}

@media (max-width: 768px) {
    .producto-detalle {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .producto-imagen-principal {
        height: 280px;
    }
    .producto-info-detalle h1 {
        font-size: 1.5rem;
    }
    .producto-precio {
        font-size: 1.7rem;
        margin-bottom: 20px;
    }
    .producto-acciones {
        max-width: none;
    }
}

/* Categories Section */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
}

.category-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    padding: 24px 15px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.category-card:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.category-icon-wrapper {
    width: 84px;
    height: 84px;
    background-color: var(--bg-offset);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.category-card:hover .category-icon-wrapper {
    transform: scale(1.05);
}

.category-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card span {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

/* Info Section (Map & Contact) */
.info-section {
    padding-bottom: 80px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.info-left, .info-right {
    min-width: 0;
}

.schedule-card {
    background-color: var(--primary-blue);
    color: white;
    padding: 30px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.schedule-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.schedule-text h3 {
    color: white;
    margin-bottom: 5px;
    font-size: 1.25rem;
}

.map-wrapper {
    height: 400px;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.contact-form-container {
    padding: 40px;
}

.contact-form-container h2 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.subtitle {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.modern-form .form-group {
    position: relative;
    margin-bottom: 25px;
}

.modern-form input,
.modern-form textarea {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
    color: var(--text-main);
    border: none;
    border-bottom: 2px solid var(--border-light);
    outline: none;
    background: transparent;
    transition: border-color 0.3s ease;
    font-family: var(--font-body);
}

.modern-form input:focus,
.modern-form textarea:focus {
    border-bottom-color: var(--primary-blue);
}

.modern-form label {
    position: absolute;
    top: 12px;
    left: 0;
    color: var(--text-muted);
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
}

.modern-form input:focus ~ label,
.modern-form input:not(:placeholder-shown) ~ label,
.modern-form textarea:focus ~ label,
.modern-form textarea:not(:placeholder-shown) ~ label {
    top: -12px;
    font-size: 0.8rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.form-footer {
    margin-top: 30px;
}

.success-message {
    margin-top: 20px;
    background-color: #dcfce7;
    border: 1px solid #bbf7d0;
    padding: 15px 20px;
    border-radius: var(--border-radius-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.success-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #166534;
    font-weight: 600;
}

.success-content i {
    font-size: 1.25rem;
}

.error-message {
    margin-top: 20px;
    background-color: #fee2e2;
    border: 1px solid #fecaca;
    padding: 15px 20px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
}

.error-message .success-content {
    color: #991b1b;
}

/* Footer */
.site-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.footer-top {
    padding: 80px 0 40px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}


.footer-desc {
    color: #94a3b8;
    margin-bottom: 20px;
    max-width: 300px;
}

.company-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.company-info i {
    color: var(--accent-color);
}

.footer-links-group h4,
.footer-contact h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-group h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links-group ul li,
.footer-contact ul li {
    margin-bottom: 12px;
}

.footer-links-group a {
    color: #94a3b8;
}

.footer-links-group a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    gap: 15px;
    color: #94a3b8;
    line-height: 1.4;
}

.footer-contact i {
    color: var(--accent-color);
    margin-top: 4px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 24px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #0b1120;
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
}

.developer-link {
    color: var(--accent-color);
    font-weight: 600;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-green);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: white;
    color: var(--text-main);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent white;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-5px);
}

/* Responsive */
@media (max-width: 992px) {
    .trust-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }

    .hero-text-container {
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* Grillas: siempre 2 columnas en mobile */
    .products-grid, .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .productos-layout {
        grid-template-columns: 1fr;
    }
    .filtro-productos {
        position: static;
    }
    .filtro-checkboxes {
        max-height: 220px;
    }
    .product-image {
        height: 140px;
        padding: 12px;
    }
    .product-info {
        padding: 14px;
    }
    .product-title {
        font-size: 0.88rem;
        margin-bottom: 8px;
    }
    .product-price {
        font-size: 1.15rem;
    }
    .price-container {
        margin-bottom: 12px;
    }
    .product-cta {
        padding: 9px 12px;
        font-size: 0.8rem;
    }
    .category-card {
        padding: 16px 10px;
        gap: 10px;
    }
}
