/* Estilos del header */
header.fijo {
    background: #1e3799; /* Color azul de Frutilandia */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    width: 100%;
}

.inner-width {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
}

.logo {
    max-width: 180px;
    display: block;
}

.logo img {
    width: 100%;
    height: auto;
}

/* Menú hamburguesa para móvil */
.menu-toggle-btn {
    display: none;
    color: white;
    font-size: 1.75rem;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    line-height: 1;
}

.menu-toggle-btn:focus {
    outline: none;
}

.menu-toggle-btn i {
    display: block;
    line-height: 1;
}

.navigation-menu {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navigation-menu .primi {
    margin: 0 1rem;
    padding: 0;
}

.navigation-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navigation-menu a i {
    font-size: 1.25rem;
}

.navigation-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.navigation-menu a:hover::after {
    width: 100%;
}

/* Estilos para los enlaces sociales */
.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e3799;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: 25px;
}

.social-link i {
    font-size: 1.5rem;
}

.social-link:hover {
    background: rgba(30, 55, 153, 0.1);
    color: #1e3799;
    text-decoration: none;
}

/* Estilos del menú de categorías */
.menu-categories {
    background: white;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.menu-categories .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.menu-categories .nav-list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 5px;
}

.menu-categories .nav-list::-webkit-scrollbar {
    display: none;
}

.menu-categories .menu-item {
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    background: white;
    color: #1e3799;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    white-space: nowrap;
    display: inline-block;
}

.menu-categories .menu-item:hover,
.menu-categories .menu-item.active {
    background: #1e3799;
    color: white;
    border-color: #1e3799;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(30, 55, 153, 0.2);
}

/* Grid de productos */
.menu-container {
    padding: 2rem 1rem;
    background: white;
}

.menu-container .row {
    margin: 0 -0.5rem;
    display: flex;
    flex-wrap: wrap;
}

.menu-container [class*="col-"] {
    padding: 0 0.5rem;
    margin-bottom: 1rem;
    display: flex;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.product-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
}

.product-title {
    font-size: 1.25rem;
    color: #1a237e;
    margin-bottom: 0.75rem;
    font-weight: 600;
    width: 100%;
}

.product-description {
    color: #616161;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
    width: 100%;
}

.product-note {
    font-size: 0.8rem;
    color: #9e9e9e;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Estilos para los precios */
.pricing-container {
    margin-top: auto;
    width: 100%;
}

.pricing-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.price-item, .single-price {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.price-item:hover, .single-price:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-color: #2962ff20;
}

.price-info {
    display: flex;
    flex-direction: column;
}

.price-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
    line-height: 1.2;
}

.price-description {
    color: #6c757d;
    font-size: 0.8rem;
    font-weight: normal;
    margin-top: 0.25rem;
}

.price-value {
    font-weight: 700;
    color: #2962ff;
    font-size: 1.1rem;
    white-space: nowrap;
    margin-left: 1rem;
}

/* Ajustes responsivos */
@media (max-width: 991px) {
    .product-image {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .product-image {
        height: 200px;
    }

    .product-content {
        padding: 1.25rem;
    }
    
    .price-item, .single-price {
        padding: 0.625rem 0.875rem;
    }
}

@media (max-width: 576px) {
    .product-image {
        height: 180px;
    }
    
    .product-content {
        padding: 1rem;
    }
    
    .product-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .product-description {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .product-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .inner-width {
        padding: 0 1rem;
    }

    .menu-toggle-btn {
        display: block;
    }

    .logo {
        max-width: 140px;
    }

    .navigation-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1e3799;
        padding: 1rem;
        flex-direction: column;
        align-items: stretch;
        display: none;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .navigation-menu.active {
        display: flex;
    }

    .navigation-menu .primi {
        margin: 0.5rem 0;
        text-align: center;
    }

    .navigation-menu a {
        display: flex;
        justify-content: center;
        padding: 0.75rem;
        font-size: 1.1rem;
    }

    .navigation-menu a i {
        font-size: 1.4rem;
    }

    .navigation-menu a::after {
        display: none;
    }

    .social-link {
        justify-content: center;
        margin: 0.5rem 0;
    }

    .social-link i {
        font-size: 1.3rem;
    }

    .menu-categories {
        padding: 0.5rem 0;
    }

    .menu-categories .nav-list {
        padding: 0.5rem;
    }

    .menu-categories .menu-item {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }

    .category-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }


    .product-title {
        font-size: 1.1rem;
    }

    .product-description {
        font-size: 0.85rem;
    }

    .price-item {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .menu-container {
        padding: 1rem;
    }

    .product-card {
        margin-bottom: 1rem;
    }

    .product-content {
        padding: 0.75rem;
    }

    .pricing-container {
        padding: 0.75rem;
    }
}

/* Animaciones */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: slideIn 0.3s ease-out;
} 

/* Estilos para el modal */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-modal.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 600px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
    z-index: 2001;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
    background: white;
}

.modal-close i {
    font-size: 1.5rem;
    color: #1e3799;
}

.modal-content {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
}

.modal-image {
    width: 45%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.modal-image img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: contain;
}

.modal-info {
    width: 55%;
    padding: 2.5rem;
    background: white;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.modal-title {
    color: #1e3799;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 600;
    text-align: left;
    width: 100%;
}

.modal-description {
    color: #616161;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: left;
    width: 100%;
}

.modal-pricing {
    padding-top: 2rem;
    border-top: 1px solid #eee;
    margin-top: auto;
    width: 100%;
}

.modal-pricing .price-item,
.modal-pricing .single-price {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.modal-pricing .price-item:last-child,
.modal-pricing .single-price:last-child {
    margin-bottom: 0;
}

.modal-pricing .price-item:hover,
.modal-pricing .single-price:hover {
    background: white;
    border-color: #1e3799;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(30, 55, 153, 0.1);
}

.modal-pricing .price-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.modal-pricing .price-name {
    font-size: 1.1rem;
    color: #1e3799;
    font-weight: 600;
}

.modal-pricing .price-description {
    font-size: 0.9rem;
    color: #666;
}

.modal-pricing .price-value {
    font-size: 1.25rem;
    color: #1e3799;
    font-weight: 700;
    margin-left: 1rem;
}

/* Animación del modal */
@keyframes modalSlideIn {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Ajustes responsivos para el modal */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        height: 90vh;
        margin: 1rem;
    }

    .modal-content {
        flex-direction: column;
    }

    .modal-image {
        width: 100%;
        height: 40%;
        padding: 1.5rem;
    }

    .modal-info {
        width: 100%;
        height: 60%;
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .modal-container {
        width: 100%;
        height: 100vh;
        margin: 0;
        border-radius: 0;
    }

    .modal-image {
        height: 35%;
        padding: 1rem;
    }

    .modal-info {
        height: 65%;
        padding: 1.25rem;
    }

    .modal-pricing .price-item,
    .modal-pricing .single-price {
        padding: 0.875rem 1rem;
    }

    .modal-pricing .price-name {
        font-size: 1rem;
    }

    .modal-pricing .price-value {
        font-size: 1.15rem;
    }
}