* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #F8F8F8;
}

.container {
    max-width: 1200px; /* Ancho máximo del contenido */
    margin: 0 auto; /* Centrar el contenido */
    padding: 0 20px; /* Espaciado lateral */
}

/* --- Header --- */
header {
    background-color: #FFFFFF;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px; /* Tamaño del logo */
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: #FFD700; /* Color de la miel */
}

.cart-icon {
    position: relative;
}

.cart-icon img {
    height: 25px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #A0522D; /* Marrón para contraste */
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.7em;
    font-weight: bold;
}

/* --- Botones Genéricos --- */
.btn-primary, .btn-secondary, .btn-add-to-cart, .btn-filter {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #FFD700; /* Dorado */
    color: #333;
    border: 1px solid #FFD700;
}

.btn-primary:hover {
    background-color: #e0b000;
}

.btn-secondary {
    background-color: transparent;
    color: #A0522D; /* Marrón */
    border: 1px solid #A0522D;
}

.btn-secondary:hover {
    background-color: #A0522D;
    color: #FFFFFF;
}

.btn-add-to-cart {
    background-color: #556B2F; /* Verde */
    color: #FFFFFF;
    margin-top: 10px;
    width: 100%;
}

.btn-add-to-cart:hover {
    background-color: #405423;
}

/* --- Hero Section --- */
.hero-section {
    background: url('../img/hero-background.jpg') no-repeat center center/cover; /* Asegúrate de tener esta imagen */
    color: white;
    text-align: center;
    padding: 150px 20px;
    position: relative;
    z-index: 1; /* Para controlar superposición */
}

.hero-section::before { /* Capa oscura para mejor legibilidad del texto */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.4);
    z-index: -1;
}

.hero-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section p {
    font-size: 1.3em;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* --- Secciones Generales --- */
section {
    padding: 60px 0;
    text-align: center;
}

section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #A0522D; /* Marrón cálido */
}

/* --- Product Grid --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsivo */
    gap: 30px;
    margin-top: 30px;
    text-align: left;
}

.product-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

.product-card img {
    max-width: 100%;
    height: 200px; /* Altura fija para consistencia */
    object-fit: cover; /* Recortar imagen para cubrir el espacio */
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #333;
}

.product-card .description {
    font-size: 0.9em;
    color: #666;
    min-height: 40px; /* Para mantener consistencia en la altura de las tarjetas */
    margin-bottom: 15px;
}

.product-card .price {
    font-size: 1.2em;
    color: #A0522D;
    font-weight: 700;
    margin-bottom: 15px;
}

/* --- About Us Preview --- */
.about-us-preview .container {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
    flex-wrap: wrap; /* Para responsive */
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content h2 {
    text-align: left;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 25px;
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- Testimonials --- */
.testimonials {
    background-color: #FFF8E1; /* Un color crema muy suave */
    padding: 80px 0;
}

.testimonial-slider {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.testimonial-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    max-width: 450px;
    text-align: center;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
    color: #666;
}

.testimonial-card h4 {
    color: #A0522D;
    font-weight: 700;
}

/* --- Shop Page Specifics --- */
.shop-header {
    background-color: #FFFAE6;
    padding: 60px 20px;
    text-align: center;
}

.shop-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3em;
    color: #A0522D;
    margin-bottom: 10px;
}

.shop-header p {
    font-size: 1.1em;
    color: #666;
}

.shop-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start; /* Alinear el sidebar arriba */
}

.sidebar {
    flex: 0 0 250px; /* Ancho fijo para el sidebar */
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: left;
}

.sidebar h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    color: #A0522D;
    margin-bottom: 25px;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 10px;
}

.filter-group ul {
    list-style: none;
}

.filter-group ul li {
    margin-bottom: 8px;
}

.filter-group label {
    margin-left: 8px;
    cursor: pointer;
}

.slider {
    width: 100%;
    margin-top: 10px;
}

/* Ajustes para el grid de productos en la página de tienda */
.product-listing .product-grid {
    flex: 1; /* Ocupa el espacio restante */
    /* El estilo de grid ya está definido arriba */
}


/* --- Footer --- */
footer {
    background-color: #222;
    color: #bbb;
    padding: 50px 0;
    font-size: 0.9em;
    border-top: 5px solid #FFD700; /* Línea dorada en la parte superior */
}

footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 250px; /* Para asegurar el espaciado en pantallas pequeñas */
}

.footer-col h3 {
    color: #FFFFFF;
    font-size: 1.2em;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #FFD700;
}

.social-links img {
    height: 25px;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.social-links img:hover {
    transform: translateY(-3px);
}

footer p {
    margin-top: 15px;
}

/* --- Responsive Design (Media Queries) --- */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0 15px 10px;
    }

    .hero-section h1 {
        font-size: 2.5em;
    }

    .hero-section p {
        font-size: 1em;
    }

    .about-us-preview .container {
        flex-direction: column;
    }

    .about-content, .about-image {
        min-width: unset; /* Remover el min-width para mobile */
        width: 100%;
    }

    .testimonial-card {
        max-width: 100%;
    }

    .shop-layout {
        flex-direction: column;
    }

    .sidebar {
        flex: 1; /* Ocupa todo el ancho */
        width: 100%;
        margin-bottom: 30px;
    }

    .footer-col {
        min-width: 100%;
        text-align: center;
    }

    .social-links {
        display: flex;
        justify-content: center;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 100px 15px;
    }

    .hero-section h1 {
        font-size: 2em;
    }

    section h2 {
        font-size: 2em;
    }

    .product-grid {
        grid-template-columns: 1fr; /* Una columna en pantallas muy pequeñas */
    }
}
.fa-square-x-twitter{
    background-color: #ffffff;
    color: #000000;
    border-radius: 10px;
    font-size: 22px;
}
.fa-instagram{
    background-image: linear-gradient(#FED372, #F86F2F, #D43089);
    color: white;
    border-radius: 8px;
    font-size: 22px;
}
.fa-square-facebook{
    color: rgb(24, 119, 242);
    font-size: 22px;
}

.mt-2{
    margin-top: 20px;
}
.mt-5{
    margin-top: 50px;
}
.fa-cart-shopping{
    font-size: 26px;
    color: #000000;
    margin-right: 2px;
}
.fa-cart-shopping:hover{
    font-size: 26px;
    color: #e0b000;
    margin-right: 2px;
}