/* Variables CSS de Yachana */
:root {
    --yachana-red: #b22234;
    --yachana-blue: #004c97;
    --yachana-white: #ffffff;
    --light-gray: #f4f4f9;
    --medium-gray: #e0e0e0;
    --dark-gray: #555;
    --text-color: #333;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --header-bg: #b22234;
    --footer-bg: #2c3e50;
    --footer-text: #ecf0f1;
}

/* === ESTILOS DEL HEADER DE YACHANA === */
.yachana-header {
    background: var(--yachana-red);
    color: white;
    position: relative;
    z-index: 1000;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header-top {
    background: #b22234;
    padding: 8px 0;
    height: 150px;
    box-sizing: border-box;
}

.header-top .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
    box-sizing: border-box;
}

.header-contact {
    display: flex;
    gap: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 103;
}

.contact-link {
    color: white !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s;
}

.contact-link:hover {
    opacity: 0.8;
}

.header-social {
    display: flex;
    gap: 15px;
    margin-left: 30px;
    position: absolute;
    top: 15px;
    right: 370px;
    z-index: 104;
}

.social-link {
    color: white;
    text-decoration: none;
    padding: 8px;
    font-size: 1.2rem;
    transition: opacity 0.3s;
}

.social-link:hover {
    opacity: 0.8;
}

.header-main .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 20px 20px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--yachana-red);
}

.logo {
    position: absolute;
    left: 120px;
    top: -95%;
    transform: translateY(-50%);
    z-index: 102;
}

.logo img {
    height: 150px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.header-account {
    position: absolute;
    top: -55px;
    right: 5rem;
    display: flex;
    gap: 30px;
    align-items: center;
}

.account-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.3s;
}

.account-link:hover {
    opacity: 0.8;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
    position: absolute;
    left: 50%;
    top: -15px;
    transform: translateX(-50%);
    align-items: center;
    z-index: 101;
}

.main-nav li:last-child {
    position: relative;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #ffcccc;
}

/* Estado activo para la navegación */
.main-nav a.active {
    color: #ffcccc;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 5px;
    border-bottom: 2px solid #ffcccc;
}

.cart-icon {
    margin-left: 0;
}

.cart-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.2rem;
    position: relative;
}

.cart-count {
    background: var(--yachana-blue);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Estilos para el carrito en la navegación */
.cart-nav-item {
    margin-left: 1rem;
}

.cart-nav-item .cart-link {
    font-size: 1.4rem;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cart-nav-item .cart-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: 15px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* === ESTILOS DEL FOOTER DE YACHANA === */
.yachana-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    margin-top: 50px;
    width: 100%;
    margin: 50px 0 0 0;
    padding: 0;
    box-sizing: border-box;
}

.footer-content {
    padding: 40px 0 20px;
}

.footer-content .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    margin-bottom: 30px;
    padding: 0 6rem;
    box-sizing: border-box;
    justify-content: center;
}

.footer-column:first-child {
    padding-left: 4rem;
}

.footer-column:nth-child(2) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-column:last-child {
    padding-right: 4rem;
}

.footer-column h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-column p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-column a {
    color: var(--footer-text);
    text-decoration: none;
}

.footer-column a:hover {
    color: var(--yachana-red);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-menu a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: var(--yachana-red);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.payment-methods {
    display: flex;
    gap: 10px;
    align-items: center;
}

.payment-methods img {
    height: 25px;
    width: auto;
}

.footer-badge {
    height: 28px;
}

.footer-logo {
    height: 25px;
    margin-left: 5px;
}

/* Contenedor principal para el simulador con header Yachana */
.main-content-with-yachana {
    margin-top: 140px;
    margin-bottom: 0;
    min-height: calc(100vh - 400px);
    padding: 2rem;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .header-top .container,
    .header-main .container,
    .footer-content .container,
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .header-account {
        position: static;
        order: 3;
        margin-top: 10px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--yachana-red);
        padding: 20px;
        display: none;
    }

    .main-nav ul.active {
        display: flex;
    }

    .cart-icon {
        order: 2;
        margin-left: 0;
        margin-right: 15px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 2rem;
    }

    .footer-column {
        text-align: left !important;
    }

    .footer-column:first-child {
        padding-left: 0;
    }

    .footer-column:last-child {
        padding-right: 0;
    }

    .footer-column:nth-child(2) {
        text-align: left !important;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: left;
    }

    .payment-methods {
        justify-content: center;
    }

    .main-content-with-yachana {
        margin-top: 70px;
        padding: 1rem;
    }

    .logo {
        left: 20px;
        top: 30%;
    }

    .logo img {
        height: 60px;
        max-width: 60px;
    }

    .header-contact {
        gap: 15px;
        font-size: 0.9rem;
    }

    .header-social {
        gap: 10px;
        margin-left: 15px;
    }

    .main-nav ul {
        gap: 20px;
    }

    .main-nav a {
        font-size: 0.85rem;
    }
}