/* Pater Burger - Archivo CSS Unificado */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alegreya:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap');

/* ===================
    VARIABLES GLOBALES 
====================== */

:root {
    /* Primary Colors */
    --pb-black: #111111;
    --pb-gold: #c9a143;
    --pb-burgundy: #891b1b;
    --pb-cream: #efe6d3;
    --pb-brown: #5c3b1e;
    
    /* Secondary Colors */
    --pb-gold-light: #e3b949;
    --pb-dark-gray: #2c2c2c;
    --pb-dark-red: #6e1313;
    --pb-gold-bright: #ffd700;
    --pb-white: #ffffff;
    
    /* UI Elements */
    --pb-primary: var(--pb-burgundy);
    --pb-secondary: var(--pb-gold);
    --pb-accent: var(--pb-brown);
    --pb-bg-light: var(--pb-cream);
    --pb-bg-dark: var(--pb-black);
    --pb-text-light: var(--pb-cream);
    --pb-text-dark: var(--pb-black);
    
    /* Shadows & Effects */
    --pb-shadow: 0 5px 15px rgba(17, 17, 17, 0.15);
    --pb-shadow-strong: 0 8px 30px rgba(17, 17, 17, 0.25);
    --pb-transition: all 0.3s ease;
}

/* ===================
    ESTILOS GENERALES 
====================== */

body {
    font-family: 'EB Garamond', serif;
    color: var(--pb-text-dark);
    background-color: var(--pb-bg-light);
    line-height: 1.4;
    overflow-x: hidden;
    padding-top: 80px; /* Espacio para el header fijo */
}

a {
    color: var(--pb-burgundy);
    text-decoration: none;
    transition: var(--pb-transition);
}

a:hover {
    color: var(--pb-dark-red);
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

section {
    padding: 60px 0;
    overflow: hidden;
}

.section-bg {
    background-color: var(--pb-cream);
}

.section-title {
    text-align: center;
    padding-bottom: 30px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    color: var(--pb-black);
    margin-bottom: 20px;
    padding-bottom: 20px;
    padding-top: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 80px;
    height: 3px;
    background: var(--pb-gold);
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.section-title p {
    margin-bottom: 0;
    font-size: 18px;
    color: var(--pb-dark-gray);
}

.section-padding {
    padding: 100px 0;
}

.section-padding-sm {
    padding: 80px 0;
}

/* ===================
    TIPOGRAFÍA 
====================== */

/* Títulos de productos */
.modern-product-info h4 {
    font-family: 'Alegreya', serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Precios */
.modern-product-info .price {
    font-family: 'Bodoni Moda', 'Playfair Display', serif;
    font-weight: 700;
}

/* Comentarios de clientes */
.testimonial-card h3 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
}

/* Texto destacado */
.text-primary-brand {
    font-family: 'Bodoni Moda', 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
}

/* Botones principales */
.btn {
    font-family: 'EB Garamond', serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Footer títulos */
.footer-links h4 {
    font-family: 'Lora', serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ===================
    FILTRADO DE PRODUCTOS 
====================== */

.products-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.products-filter-item {
    padding: 10px 25px;
    background-color: transparent;
    color: var(--pb-dark-gray);
    border: 2px solid var(--pb-gold);
    border-radius: 50px;
    font-family: 'EB Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--pb-transition);
    outline: none;
}

.products-filter-item:hover {
    background-color: rgba(201, 161, 67, 0.2);
}

.products-filter-item.active {
    background-color: var(--pb-gold);
    color: var(--pb-black);
    font-weight: 700;
}

/* Isotope necesita estos estilos */
.product-item {
    width: 25%; /* 4 productos por fila en escritorio */
    padding: 15px;
    display: inline-block; /* Mejor para centrado */
    float: none; /* Eliminar flotado que puede afectar el centrado */
    vertical-align: top; /* Alineación vertical superior */
}

@media (max-width: 767.98px) {
    .product-item {
        width: 100%; /* Una columna completa */
        margin: 0 auto 30px; /* Márgenes automáticos para centrar */
        padding: 15px;
        float: none; /* Evitar flotados */
        display: block; /* Cambio a display block para una columna */
    }
    
    .modern-product-card {
        height: auto; /* Altura automática para adaptarse al contenido */
        min-height: 380px; /* Altura mínima */
        margin-left: auto;
        margin-right: auto; /* Centrar la tarjeta dentro del item */
        max-width: 90%; /* Ancho máximo para la tarjeta */
    }
}

/* Ajuste para que los filtros sean más grandes en escritorio */
@media (min-width: 992px) {
    .products-filter-item {
        padding: 12px 30px;
        font-size: 1.2rem;
    }
}

/* ===================
    FOOTER 
====================== */

.modern-footer {
    background-color: var(--pb-black);
    color: var(--pb-cream);
    padding-top: 0;
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-bottom {
    background-color: var(--pb-dark-gray);
    padding: 25px 0;
    text-align: center;
    color: var(--pb-cream);
}

/* Logo y descripción */
.footer-info img {
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.footer-info img:hover {
    transform: scale(1.05);
}

.footer-info p {
    font-family: 'EB Garamond', serif;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Iconos sociales */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--pb-dark-gray);
    color: var(--pb-gold);
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--pb-gold);
    color: var(--pb-black);
    transform: translateY(-3px);
}

/* Enlaces del footer */
.footer-links h4 {
    font-family: 'Lora', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--pb-gold);
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.footer-links h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 50px;
    background-color: var(--pb-gold);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.footer-links ul li:first-child {
    padding-top: 0;
}

.footer-links ul a {
    color: var(--pb-cream);
    font-family: 'EB Garamond', serif;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
    line-height: 1;
}

.footer-links ul a:hover {
    color: var(--pb-gold);
    padding-left: 5px;
}

/* Información de contacto */
.footer-contact h4 {
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--pb-gold);
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.footer-contact h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 50px;
    background-color: var(--pb-gold);
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.footer-contact p i {
    margin-top: 4px;
    margin-right: 10px;
    color: var(--pb-gold);
    font-size: 16px;
    line-height: 1;
}

/* Copyright */
.copyright {
    background-color: var(--pb-dark-gray);
    padding: 25px 0;
    text-align: center;
    font-size: 16px;
}

.copyright p {
    margin: 0;
    color: var(--pb-cream);
}

.copyright span a {
    color: var(--pb-gold);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
    font-size: 14px;
}

.copyright a:hover {
    color: var(--pb-gold-bright);
    text-decoration: underline;
}

/* ===================
    BOTONES 
====================== */

.btn-primary {
    background-color: var(--pb-burgundy);
    color: var(--pb-white);
    border-color: var(--pb-burgundy);
}

.btn-primary:hover {
    background-color: var(--pb-dark-red);
    border-color: var(--pb-dark-red);
    color: var(--pb-white);
}

.btn-secondary {
    background-color: var(--pb-gold);
    color: var(--pb-black);
    border-color: var(--pb-gold);
}

.btn-secondary:hover {
    background-color: var(--pb-gold-light);
    border-color: var(--pb-gold-light);
    color: var(--pb-black);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--pb-burgundy);
    color: var(--pb-burgundy);
}

.btn-outline:hover {
    background-color: var(--pb-burgundy);
    color: var(--pb-white);
}

/* ===================
    ESTILOS MODERNOS ADICIONALES 
====================== */

/* Tarjetas */
.modern-card {
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--pb-white);
    box-shadow: var(--pb-shadow);
    transition: var(--pb-transition);
}

.modern-card:hover {
    box-shadow: var(--pb-shadow-strong);
    transform: translateY(-5px);
}

/* Imágenes */
.modern-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: var(--pb-transition);
}

.modern-img:hover {
    transform: scale(1.05);
}

/* Productos */
.modern-products {
    padding: 100px 0;
    background-color: var(--pb-cream);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.product-container {
    margin-top: 50px;
    width: 100%; /* Asegurar que ocupe todo el ancho disponible */
    text-align: center; /* Centrar todo */
    display: block; /* Cambiar a display block para mejor control */
    margin-left: auto;
    margin-right: auto;
}

.modern-product-card {
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--pb-white);
    box-shadow: var(--pb-shadow);
    transition: var(--pb-transition);
    margin: 0 auto 30px; /* Centrado con márgenes auto */
    height: 380px; /* Ajuste de altura para mejor visualización con 4 productos */
    display: flex;
    flex-direction: column;
    width: 100%; /* Asegurar que ocupe todo el ancho disponible */
}

.modern-product-card:hover {
    box-shadow: var(--pb-shadow-strong);
    transform: translateY(-5px);
}

.modern-product-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.modern-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--pb-transition);
}

.modern-product-card:hover .modern-product-img img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 0;
    background-color: var(--pb-burgundy);
    color: var(--pb-white);
    padding: 5px 15px;
    font-family: 'EB Garamond', serif;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 15px;
    background-color: rgba(0,0,0,0.7);
    transition: var(--pb-transition);
    z-index: 2;
}

.modern-product-card:hover .product-actions {
    bottom: 0;
}

.product-action-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--pb-white);
    color: var(--pb-burgundy);
    border-radius: 50%;
    margin: 0 5px;
    transition: var(--pb-transition);
}

.product-action-btn:hover {
    background-color: var(--pb-gold);
    color: var(--pb-black);
    transform: translateY(-3px);
}

.modern-product-info {
    padding: 15px; /* Reducido de 20px */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Para distribuir mejor el espacio */
}

.modern-product-info h4 {
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 1.2rem; /* Reducido de 1.4rem */
    color: var(--pb-black);
    font-family: 'Cinzel', serif;
}

.modern-product-info p {
    color: var(--pb-dark-gray);
    margin-bottom: 15px;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.price {
    font-size: 1.1rem; /* Reducido de 1.25rem */
    font-weight: 700;
    color: var(--pb-burgundy);
}

.product-buttons {
    display: flex;
    gap: 10px;
}

/* Transiciones adicionales */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===================
    HEADER Y NAVEGACIÓN
====================== */

.modern-header {
    background-color: var(--pb-black);
    padding: 20px 0; /* Aumentado de 15px */
    transition: all 0.5s ease-in-out; /* Transición más suave */
    z-index: 1000;
}

.modern-header.scrolled {
    padding: 15px 0; /* Aumentado de 10px */
    background-color: rgba(17, 17, 17, 0.85); /* Fondo semi-transparente al desplazar */
    backdrop-filter: blur(5px); /* Efecto de desenfoque para mejorar la legibilidad */
    -webkit-backdrop-filter: blur(5px); /* Para compatibilidad con Safari */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(201, 161, 67, 0.2); /* Borde sutil dorado para mejorar la separación visual */
}

.modern-navbar {
    padding: 0;
}

.site-logo {
    height: 95px; /* Aumentado de 80px */
    transition: all 0.3s ease;
}

.scrolled .site-logo {
    height: 75px; /* Aumentado de 65px */
}

.navbar-nav .nav-item {
    margin: 0 5px;
}

.navbar-nav .nav-link {
    color: var(--pb-cream);
    font-family: 'EB Garamond', serif;
    font-size: 17px;
    font-weight: 600;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--pb-gold);
}

.navbar-toggler {
    border: none;
    padding: 0;
    color: var(--pb-white);
    border: 1px solid var(--pb-gold);
    padding: 5px 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 25px;
    height: 25px;
}

/* Hero section */
.hero-section {
    height: 120vh;
    min-height: 600px;
    position: relative;
    background: url('../images/hero-bg.png') no-repeat center center;
    background-size: cover;
    color: var(--pb-white);
    display: flex;
    align-items: center;
    text-align: center;
    padding: 100px 0;
    margin-top: -80px; /* Para compensar el padding-top del body */
    width: 100%;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 4.5rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--pb-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    animation: titleGlow 2s ease-in-out infinite alternate;
    position: relative;
    display: inline-block;
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                    0 0 20px var(--pb-gold),
                    0 0 30px var(--pb-gold);
        transform: scale(1);
    }
    100% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 1),
                    0 0 30px var(--pb-gold-bright),
                    0 0 40px var(--pb-gold-bright);
        transform: scale(1.03);
    }
}

.hero-subtitle {
    font-size: 1.8rem;
    font-family: 'EB Garamond', serif;
    margin-bottom: 20px;
    color: var(--pb-gold);
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-text {
    font-size: 1.4rem;
    font-family: 'EB Garamond', serif;
    margin-bottom: 30px;
    color: var(--pb-cream);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.hero-buttons-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px; /* Espacio entre botones por defecto */
}

.btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--pb-burgundy);
    border-color: var(--pb-burgundy);
    color: var(--pb-white);
}

.btn-primary:hover {
    background-color: var(--pb-dark-red);
    border-color: var(--pb-dark-red);
    transform: translateY(-3px);
    color: var(--pb-white);
}

.btn-outline-secondary {
    background-color: transparent;
    border: 2px solid var(--pb-gold);
    color: var(--pb-gold);
}

.btn-outline-secondary:hover {
    background-color: var(--pb-gold);
    color: var(--pb-black);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--pb-gold);
    border-color: var(--pb-gold);
    color: var(--pb-black);
}

.btn-secondary:hover {
    background-color: var(--pb-gold-light);
    border-color: var(--pb-gold-light);
    color: var(--pb-black);
    transform: translateY(-3px);
}

.btn-register {
    background-color: var(--pb-gold);
    color: var(--pb-black);
    border-radius: 50px;
    padding: 8px 18px;
    font-weight: 600;
    margin-left: 5px;
    transition: var(--pb-transition);
}

.contact-submit-btn {
    background-color: var(--pb-burgundy);
    border-color: var(--pb-burgundy);
    color: var(--pb-white);
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(137, 27, 27, 0.3);
    transition: all 0.3s ease;
}

.contact-submit-btn:hover {
    background-color: var(--pb-dark-red);
    border-color: var(--pb-dark-red);
    color: var(--pb-white);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(137, 27, 27, 0.4);
}

.btn-register:hover {
    background-color: var(--pb-gold-light);
    color: var(--pb-black);
    transform: translateY(-3px);
}

/* ===================
   RESPONSIVE 
====================== */

@media (max-width: 1199.98px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .product-item {
        max-width: 25%; /* Mantener 4 productos por fila */
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 991.98px) {
    .section-title h2 {
        font-size: 28px;
    }
    
    .product-item {
        width: 33.333%; /* 3 productos por fila en tablets */
    }
    
    .section-padding {
        padding: 90px 0;
    }
    
    .footer-top {
        padding: 50px 0 30px;
    }
}

@media (max-width: 767.98px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .product-item {
        max-width: 100%; /* 1 producto por fila en dispositivos móviles */
        width: 100%;
        margin-left: auto;
        margin-right: auto; /* Centrar los contenedores de productos */
    }
    
    .product-container {
        justify-content: center; /* Centrar contenedor de productos */
    }
    
    .products-filter {
        gap: 8px;
    }
    
    .products-filter-item {
        padding: 6px 15px;
        font-size: 14px;
    }
    
    .section-padding {
        padding: 70px 0;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .modern-hero {
        height: auto;
        padding: 120px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .navbar-collapse {
        background-color: var(--pb-black);
        padding: 20px;
        border-radius: 10px;
        box-shadow: var(--pb-shadow);
        margin-top: 15px;
    }
    
    /* Ajustes para botones en móvil */
    .hero-buttons-container {
        flex-direction: column;
        align-items: center;
        gap: 25px; /* Mayor espacio entre botones en móvil */
    }
    
    .hero-btn {
        width: 80%;
        text-align: center;
        margin-right: 0 !important; /* Elimina margen derecho */
    }
    
    /* Ajustes para la sección Sobre nosotros en móvil */
    .modern-about-content {
        padding: 20px 15px;
        text-align: center;
    }
    
    .modern-about-content h3:after {
        left: 50%;
        transform: translateX(-50%); /* Centrar línea debajo del título */
    }
    
    .feature {
        justify-content: center; /* Centrar features */
    }
    
    /* Reducir tamaño de textos en estadísticas */
    .counter {
        font-size: 2rem; /* Reducido de 2.5rem */
    }
    
    .bg-primary h5 {
        font-size: 1rem; /* Ajustado para estadísticas */
    }
}

@media (max-width: 575.98px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
        gap: 20px;
    }
    
    .product-item {
        width: 100%; /* 1 producto por fila en móviles pequeños */
        margin: 0 auto 25px; /* Centrado con márgenes automáticos */
        display: block; /* Cambiar a bloque para mejor centrado */
        float: none;
        padding: 0 15px; /* Padding horizontal para no pegarse a los bordes */
    }
    
    .modern-product-card {
        max-width: 100%; /* Ancho máximo para la tarjeta */
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .footer-contact h4,
    .footer-links h4 {
        margin-top: 25px;
    }
    
    /* Ajustes adicionales para sección Sobre nosotros en pantallas muy pequeñas */
    .modern-about-content {
        padding: 20px 25px; /* Aún mayor padding lateral para pantallas muy pequeñas */
        text-align: center;
    }
    
    /* Ajustes para la sección de estadísticas en móviles pequeños */
    .bg-primary .counter {
        font-size: 1.7rem !important;
        margin-bottom: 5px;
    }
    
    .bg-primary .p-4 h5 {
        font-size: 0.8rem !important;
    }
    
    .bg-primary .p-4 i {
        font-size: 2.2rem !important; /* Reducir tamaño de iconos */
        margin-bottom: 8px;
    }
}

/* ===================
    CLASES UTILITARIAS 
====================== */

/* Backgrounds */
.bg-primary-brand { background-color: var(--pb-burgundy); }
.bg-secondary-brand { background-color: var(--pb-gold); }
.bg-accent-brand { background-color: var(--pb-brown); }
.bg-light-brand { background-color: var(--pb-cream); }
.bg-dark-brand { background-color: var(--pb-black); }

/* Text Colors */
.text-primary-brand { color: var(--pb-burgundy); }
.text-secondary-brand { color: var(--pb-gold); }
.text-accent-brand { color: var(--pb-brown); }
.text-light-brand { color: var(--pb-cream); }
.text-dark-brand { color: var(--pb-black); }

/* Borders */
.border-primary-brand { border-color: var(--pb-burgundy); }
.border-secondary-brand { border-color: var(--pb-gold); }
.border-accent-brand { border-color: var(--pb-brown); }

/* Shadows */
.shadow-brand { box-shadow: var(--pb-shadow); }
.shadow-brand-strong { box-shadow: var(--pb-shadow-strong); }

/* ===================
    SECCIÓN PRODUCTOS
====================== */

.products-section {
    background-color: var(--pb-cream);
    padding: 100px 0;
}

.products-container {
    position: relative;
    z-index: 1;
}

#productos, #sobre-nosotros, #testimonios, #contacto {
    scroll-margin-top: 80px; /* Para el correcto funcionamiento del desplazamiento suave con header fijo */
}

/* ===================
    SECCIÓN SOBRE NOSOTROS
====================== */

.modern-about {
    background-color: var(--pb-white);
    padding: 100px 0;
}

.about-img-container {
    position: relative;
    text-align: center;
    padding: 30px;
}

.about-img-main {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--pb-shadow);
    transition: var(--pb-transition);
}

.about-img-container:hover .about-img-main {
    transform: scale(1.03);
}

.modern-about-content {
    padding: 20px 0;
}

.modern-about-content h3 {
    color: var(--pb-black);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-size: 2.2rem;
}

@media (max-width: 767.98px) {
    .modern-about-content {
        padding: 20px 30px; /* Más padding lateral en móvil */
        text-align: center;
    }
}

.modern-about-content h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 3px;
    background-color: var(--pb-gold);
}

@media (max-width: 767.98px) {
    .modern-about-content h3:after {
        left: 50%;
        transform: translateX(-50%); /* Centrar la línea dorada en móvil */
    }
}

.modern-about-content p {
    color: var(--pb-dark-gray);
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1.1rem;
}

.features {
    margin-top: 30px;
}

.feature {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.feature i {
    color: var(--pb-gold);
    margin-right: 10px;
    font-size: 1.2rem;
}

@media (max-width: 767.98px) {
    .feature {
        justify-content: flex-start; /* Alinear correctamente en dispositivos móviles */
        margin-left: auto;
        margin-right: auto;
        width: fit-content; /* Para centrarlo mejor */
    }
}

/* ===================
   SECCIÓN TESTIMONIOS
====================== */

.testimonials-section {
    background-color: var(--pb-cream);
    padding: 100px 0;
}

.testimonial-card {
    background-color: var(--pb-white);
    border-radius: 10px;
    box-shadow: var(--pb-shadow);
    padding: 30px;
    margin: 15px;
    transition: var(--pb-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--pb-shadow-strong);
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-content p {
    font-style: italic;
    color: var(--pb-dark-gray);
    margin-bottom: 30px;
    line-height: 1.7;
    flex-grow: 1;
    font-size: 1.05rem;
    font-family: 'EB Garamond', serif;
}

.testimonial-user {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 20px;
    margin-top: auto;
}

.testimonial-user img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--pb-gold);
    margin-right: 15px;
}

.testimonial-user-info {
    text-align: left;
}

.testimonial-user-info h3 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    color: var(--pb-black);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.testimonial-user-info h4 {
    color: var(--pb-burgundy);
    font-family: 'EB Garamond', serif;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.stars {
    color: var(--pb-gold);
    font-size: 0.9rem;
}

/* ===================
   SECCIÓN CONTACTO
====================== */

.modern-contact {
    background-color: var(--pb-white);
    padding: 100px 0;
}

.contact-info-box {
    background-color: var(--pb-white);
    border-radius: 10px;
    box-shadow: var(--pb-shadow);
    padding: 30px;
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-info-item i {
    width: 40px;
    height: 40px;
    background-color: var(--pb-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pb-black);
    font-size: 18px;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-family: 'Cinzel', serif;
    color: var(--pb-black);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-info-item p {
    color: var(--pb-dark-gray);
    margin-bottom: 0;
}

.cocina-oculta-info {
    border-left: 4px solid var(--pb-gold);
}

.contact-form {
    background-color: var(--pb-white);
    border-radius: 10px;
    box-shadow: var(--pb-shadow);
    padding: 30px;
    height: 100%;
}

.contact-form label {
    font-weight: 600;
    color: var(--pb-dark-gray);
    margin-bottom: 8px;
}

.contact-form .form-control {
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--pb-transition);
}

.contact-form .form-control:focus {
    border-color: var(--pb-gold);
    box-shadow: 0 0 0 0.2rem rgba(201, 161, 67, 0.25);
}

.contact-form textarea {
    min-height: 150px;
}

/* ===================
   SECCIÓN DE ESTADÍSTICAS
====================== */

.bg-primary {
    background-color: var(--pb-burgundy) !important;
}

.bg-secondary {
    background-color: var(--pb-gold) !important;
}

.counter {
    font-size: 2.5rem;
    font-family: 'Bodoni Moda', serif;
    margin-bottom: 10px;
}

.counter-section i {
    color: var(--pb-gold);
}

/* Estilos para la sección de estadísticas */
.bg-primary .p-4 h5 {
    font-size: 1.1rem; /* Tamaño base para las estadísticas */
    margin-top: 5px;
}

.bg-primary .p-4 i {
    font-size: 3rem; /* Tamaño base para iconos */
}

/* Ajustes específicos para estadísticas en móvil */
@media (max-width: 767.98px) {
    .bg-primary .counter {
        font-size: 2rem; /* Tamaño reducido para números en móvil */
    }
    
    .bg-primary .p-4 h5 {
        font-size: 0.9rem; /* Tamaño reducido para textos en móvil */
    }
    
    .bg-primary .p-4 i {
        font-size: 2.5rem; /* Tamaño reducido para iconos en móvil */
        margin-bottom: 10px;
    }
}

/* ===================
   ANIMACIONES Y EFECTOS
====================== */

[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* ===================
   SWIPER SLIDER CUSTOM STYLES
====================== */

.testimonial-slider {
    padding-bottom: 60px;
    overflow: hidden;
}

.swiper-pagination {
    bottom: 0 !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--pb-gold);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--pb-gold);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--pb-gold) !important;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--pb-white);
}

.hover-scale {
    transition: var(--pb-transition);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-shadow {
    transition: var(--pb-transition);
}

.hover-shadow:hover {
    box-shadow: var(--pb-shadow-strong);
}

/* ===================
   MODAL PRODUCTO
====================== */

.modern-modal .modal-content {
    border-radius: 15px;
    border: none;
    overflow: hidden;
    background-color: var(--pb-white);
}

.modern-modal .modal-header {
    border-bottom: none;
    padding: 20px 20px 0;
}

.modern-modal .modal-title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--pb-black);
}

.modern-modal .modal-body {
    padding: 0;
}

.modern-modal .btn-close {
    z-index: 2;
    background-color: white;
    opacity: 0.9;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.producto-modal-img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
}

.producto-precio {
    font-family: 'Bodoni Moda', serif;
    font-weight: 700;
    color: var(--pb-burgundy);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.producto-descripcion {
    color: var(--pb-dark-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.producto-descripcion h5 {
    font-family: 'Cinzel', serif;
    margin-bottom: 10px;
}

.comentarios-container {
    margin-top: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.comentario {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.comentario-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.comentario-user {
    font-weight: 700;
}

.comentario-date {
    font-size: 0.9rem;
    color: var(--pb-dark-gray);
}

.comentario-stars {
    color: var(--pb-gold);
    margin-bottom: 8px;
}

.comentario-text {
    font-style: italic;
}

.comentario-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

/* Estilos adicionales que podrían ser necesarios */
