:root {
    --primary-blue: #008cd6;
    --dark-blue: #005a9c;
    --border-color: #e5e7eb;
    --text-color: #333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: var(--text-color);
}

body {
    overflow-x: hidden;
    position: relative;
    background-color: #f8f9fa;
    min-height: 100vh;
}

/* Header Dividido */
.main-header {
    background: #008cd6; /* Fondo celeste general */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px 0 0; /* Padding ajustado a la derecha para pegar el icono al borde */
}

/* Área del Logo en Blanco con la Línea Divisoria */
.logo-container {
    background-color: #ffffff;
    padding: 10px 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-right: 2px solid #e5e7eb; /* Línea recta vertical separadora */
}

.site-logo {
    height: 42px;
    width: auto;
}

/* Texto celeste debajo del logo */
.company-subtext {
    color: #008cd6;
    font-size: 9px;
    font-weight: bold;
    margin-top: 3px;
    letter-spacing: 0.5px;
}

.main-nav {
    margin-left: auto;
    margin-right: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
}

.nav-btn {
    text-decoration: none;
    color: #ffffff; /* Texto claro sobre fondo celeste */
    font-size: 13px;
    font-weight: bold;
    padding: 8px 18px;
    border-radius: 20px;
    transition: all 0.3s;
}

.nav-btn.active {
    background: #ffffff;
    color: var(--primary-blue);
}

.nav-btn.highlight {
    background: #ffa500;
    color: white;
}

.social-icons {
    display: flex;
    gap: 8px;
    margin-right: 15px;
}

.social-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 13px;
}

.facebook { background: #3b5998; }
.whatsapp { background: #25d366; }
.tiktok { background: #000; }
.instagram { background: #e1306c; }

/* Configuración del Icono de Perfil y Menú Desplegable Flotante */
.user-auth {
    position: relative;
    display: flex;
    align-items: center;
}

.profile-dropdown {
    position: relative;
}

.profile-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 8px;
    display: flex;
    align-items: center;
    outline: none;
}

.user-icon {
    font-size: 36px; /* Icono grande */
    color: #ffffff;
    transition: transform 0.2s ease, color 0.2s ease;
}

.profile-btn:hover .user-icon {
    transform: scale(1.1);
    color: #e0f2fe;
}

/* Caja Flotante (Aparece únicamente al hacer clic en el icono) */
.dropdown-menu {
    position: absolute;
    right: 0;
    top: 48px;
    background-color: #ffffff;
    min-width: 180px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
    border-radius: 8px;
    padding: 10px 0;
    display: none;
    flex-direction: column;
    z-index: 2000;
    border: 1px solid #e5e7eb;
}

.dropdown-menu.show {
    display: flex;
}

.welcome-text {
    font-size: 10px;
    font-weight: 800;
    color: #008cd6;
    padding: 4px 15px;
    letter-spacing: 0.5px;
}

.dropdown-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 4px 0;
}

.dropdown-item {
    padding: 10px 15px;
    font-size: 11px;
    font-weight: bold;
    color: #333333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s;
}

.dropdown-item i {
    color: #008cd6;
    font-size: 13px;
}

.dropdown-item:hover {
    background-color: #f0f8ff;
    color: #008cd6;
}

/* Carrusel Estilo D'Todo */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 620px; /* <--- Cambiado de 450px a 620px */
    overflow: hidden;
    background: #222;
}

.carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-content h1 {
    color: white;
    font-size: 42px;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    margin-bottom: 10px;
}

.slide-content p {
    color: #f1f1f1;
    font-size: 18px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.8);
    color: #000;
}

.carousel-arrow.prev { left: 20px; }
.carousel-arrow.next { right: 20px; }

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.indicator {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.indicator.active {
    background: var(--primary-blue);
    width: 30px;
    border-radius: 6px;
}

/* Banner de la Empresa */
.about-store-section {
    background: white;
    margin: 30px auto;
    max-width: 1200px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    text-align: center;
}

.about-container h2 {
    font-size: 20px;
    margin-bottom: 12px;
}

.about-container p {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto 30px auto;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat-item i {
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.stat-item h4 {
    font-size: 16px;
}

.stat-item span {
    font-size: 11px;
    color: #888;
}

/* Footer */
.main-footer {
    background: #fff;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 30px;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px 40px 20px;
}

.footer-logo {
    height: 35px;
    margin-bottom: 15px;
}

.location-title {
    color: var(--primary-blue);
    font-size: 16px;
    margin-bottom: 10px;
}

.location-list {
    list-style: none;
    font-size: 11px;
    line-height: 1.8;
    color: #444;
}

.footer-socials {
    display: flex;
    gap: 8px;
    margin: 15px 0;
}

.footer-socials a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eee;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    text-decoration: none;
}

.footer-selectors {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-selectors select {
    padding: 4px 8px;
    font-size: 11px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.company-tax {
    font-size: 11px;
    line-height: 1.4;
}

.footer-col h4 {
    font-size: 13px;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li a {
    text-decoration: none;
    color: #666;
    font-size: 11px;
    line-height: 2;
}

/* Libro de Reclamaciones */
.reclamaciones-col {
    text-align: center;
}

.book-banner {
    border: 2px solid #80cbf3;
    border-radius: 10px;
    padding: 15px;
    background: #f4faff;
}

.book-sub {
    font-size: 11px;
    color: #80cbf3;
    font-weight: bold;
}

.book-title {
    color: #008cd6;
    font-size: 16px;
    margin-bottom: 10px;
}

.book-icon i {
    font-size: 40px;
    color: #80cbf3;
    margin-bottom: 10px;
}

.book-important {
    color: #008cd6;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.book-notice {
    font-size: 9px;
    color: #008cd6;
    font-weight: bold;
    line-height: 1.3;
}

.newsletter-box {
    display: flex;
    margin-top: 15px;
    border-bottom: 1px solid #ccc;
}

.newsletter-box input {
    border: none;
    outline: none;
    padding: 5px;
    font-size: 10px;
    flex: 1;
}

.newsletter-box button {
    border: none;
    background: none;
    color: #008cd6;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
}

.policy-note {
    font-size: 9px;
    color: #888;
    display: block;
    margin-top: 5px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
}

.bottom-logo img {
    height: 25px;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: bold;
}

.payment-icons {
    display: flex;
    gap: 10px;
    font-size: 20px;
    align-items: center;
}

.yape-badge {
    background: #712485;
    color: white;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    text-decoration: none;
    z-index: 1000;
}

/* ==========================================================================
   FOOTER - DISEÑO ADAPTADO A CELESTE CON TÍTULOS SUBRAYADOS Y ICONOS
   ========================================================================== */
.main-footer,
footer {
    background-color: #0088cc !important;
    color: #ffffff !important;
    padding: 50px 0 20px 0;
    margin-top: 50px;
    width: 100%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

/* Logo en blanco sobre fondo celeste */
.footer-col .site-logo,
.footer-col img,
.footer-logo-img {
    filter: brightness(0) invert(1) !important;
    max-height: 45px;
    width: auto;
    margin-bottom: 15px;
    display: block;
}

.company-tax {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #ffffff;
    font-weight: 500;
}

/* Títulos con barra inferior cyan (Estilo imagen 2) */
.footer-title,
.footer-col h3,
.footer-col h4 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 20px !important;
    position: relative !important;
    padding-bottom: 10px !important;
}

.footer-title::after,
.footer-col h3::after,
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 220px;
    height: 3px;
    background-color: #00d2ff; /* Línea de acento cyan brillante */
    border-radius: 2px;
}

/* Enlaces y Menús */
.footer-menu,
.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-menu li,
.footer-col ul li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-menu li a,
.footer-col ul li a {
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    opacity: 0.95;
}

.footer-menu li a:hover,
.footer-col ul li a:hover {
    opacity: 1;
    text-decoration: underline;
    transform: translateX(3px);
}

/* Listas de Contacto / Horarios */
.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 12px;
}

.contact-list i,
.footer-col i {
    font-size: 1.1rem;
    margin-top: 2px;
    color: #ffffff;
}

/* Clases específicas para íconos coloreados si existen en el HTML */
.icon-pink { color: #ff6b81 !important; }
.icon-purple { color: #d6a2e8 !important; }

/* Lista vertical de redes sociales en el footer */
.footer-social-vertical {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-social-vertical li {
    display: flex;
    align-items: center;
}

.footer-social-vertical li a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-social-vertical li a i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #ffffff !important;
    margin-top: 0 !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-social-vertical li a:hover {
    opacity: 1;
    text-decoration: none !important;
    transform: translateX(4px);
}

.footer-social-vertical li a:hover i {
    background-color: #00d2ff;
    color: #0088cc !important;
}

/* Subpie de página: Copyright y Pagos */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    margin-top: 40px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 25px;
    padding-right: 25px;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    color: #ffffff;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}

.yape-badge {
    background-color: #7d2ae8;
    color: #ffffff;
    font-weight: bold;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
}

body {
    position: relative;
    background-color: #f8f9fa;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/fotos/fn.png'); 
    background-repeat: repeat;
    background-size: 400px;
    background-position: center;
    filter: none;       
    opacity: 0.25;      
    z-index: -1;
    pointer-events: none;
}