/* --- ESTILOS GLOBALES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
}

/* --- HEADER Y NAVEGACIÓN --- */
header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    clear: both;
}

.logo {
    float: left;
    margin-top: 5px;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #111;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-menu {
    float: left;
    list-style: none;
    margin-left: 40px;
    margin-top: 10px;
}

.nav-menu li {
    display: inline-block;
    margin-right: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #000;
    font-weight: bold;
}

.search-box {
    float: right;
    margin-top: 5px;
}

.search-box input {
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* --- HERO BANNER (INICIO) --- */
.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1517838277536-f5f99be501cd?q=80&w=1600') no-repeat center center/cover;
    height: 450px;
    text-align: center;
    padding-top: 140px;
    color: #fff;
}

.hero h1 {
    font-size: 38px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero p {
    font-size: 18px;
    margin-bottom: 25px;
}

.btn-main {
    background-color: #fff;
    color: #000;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #fff;
    transition: 0.3s;
    text-transform: uppercase;
}

.btn-main:hover {
    background-color: transparent;
    color: #fff;
}

/* --- SECCIONES GENERALES --- */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* --- GRILLAS Y PRODUCTOS (A LOS COSTADOS / HORIZONTAL) --- */
.products-grid {
    text-align: center;
    font-size: 0; /* Remueve espacios de inline-block */
}

.product-card {
    display: inline-block;
    vertical-align: top;
    width: 23%;
    margin: 1%;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 15px;
    font-size: 14px; /* Restaura tamaño fuente */
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card h3 {
    font-size: 14px;
    margin: 15px 0 5px;
    color: #222;
}

.product-card .price {
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
}

.btn-view {
    display: inline-block;
    padding: 6px 15px;
    border: 1px solid #333;
    color: #333;
    text-decoration: none;
    font-size: 11px;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-view:hover {
    background-color: #333;
    color: #fff;
}

/* --- DISEÑO DE TIENDA Y PRODUCTOS CON BARRA LATERAL --- */
.sidebar {
    width: 20%;
    float: left;
}

.sidebar h4 {
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar ul li a {
    text-decoration: none;
    color: #666;
}

.shop-content {
    width: 80%;
    float: left;
    padding-left: 30px;
}

.shop-content .product-card {
    width: 31%; /* Ajustado para caber al costado de la barra lateral */
}

/* --- NOSOTROS --- */
.about-header {
    margin-bottom: 50px;
}

.about-header img {
    width: 48%;
    height: 350px;
    object-fit: cover;
    float: left;
    margin-right: 4%;
}

.about-text {
    width: 48%;
    float: left;
}

.about-text h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.features-grid {
    text-align: center;
}

.feature-box {
    display: inline-block;
    vertical-align: top;
    width: 23%;
    margin: 1%;
    background: #fff;
    padding: 30px 20px;
    border: 1px solid #eee;
}

.feature-box strong {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

/* --- TIENDA / UBICACIONES --- */
.locations-list {
    width: 38%;
    float: left;
    margin-right: 2%;
}

.location-item {
    background: #fff;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.location-item strong {
    display: block;
    margin-bottom: 5px;
}

.map-container {
    width: 60%;
    height: 400px;
    background: #e0e0e0;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
}
/* --- OFERTAS --- */
.offers-promo {
    text-align: center;
    margin-bottom: 40px;
}

.promo-box {
    display: inline-block;
    vertical-align: top;
    width: 31%;
    margin: 1%;
    background: #222;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    text-transform: uppercase;
}

.promo-box h3 {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 5px;
}

.promo-box h2 {
    font-size: 32px;
    margin-bottom: 5px;
}

/* --- CONTACTO --- */
.contact-form-container {
    width: 58%;
    float: left;
    background: #fff;
    padding: 30px;
    border: 1px solid #e0e0e0;
    margin-right: 4%;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    outline: none;
}

.btn-submit {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
}

.contact-info {
    width: 38%;
    float: left;
    background: #f0f0f0;
    padding: 30px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

/* --- FOOTER --- */
footer {
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    padding: 40px 20px 20px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-col h5 {
    font-size: 14px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #666;
    font-size: 13px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #373636;
}

/* --- RESPONSIVO PARA PANTALLAS MÓVILES --- */
@media (max-width: 768px) {
    .logo, .nav-menu, .search-box, .product-card, .sidebar, .shop-content, .shop-content .product-card, .about-header img, .about-text, .feature-box, .locations-list, .map-container, .promo-box, .contact-form-container, .contact-info, .footer-col {
        width: 100% !important;
        float: none !important;
        margin: 10px 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .hero {
        padding-top: 100px;
    }
}