:root {
    --primary: #2f6f8f;
    --primary-dark: #245a72;
    --bg: #f4f7f9;
    --card: #ffffff;
    --text: #1f2937;
    --price: #16a34a;
}

* {
    box-sizing: border-box;
}

.py-1 {
    padding: 20px 0
}

body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
}

/* HERO */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 70px 20px;
    text-align: center;
}

#category-title {
    margin: 10px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    opacity: 0.95;
}

.btn {
    background: #25D366;
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    border-radius: 4px
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 50px 20px;
}

.section-title {
    font-size: 26px;
    margin-bottom: 25px;
    color: var(--primary-dark);
}

/* PRODUCTS */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .products {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

.product {
    background: var(--card);
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.25s ease;
}

.product:hover {
    transform: translateY(-6px);
}

.product img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: #e5e7eb;
}

.product-info {
    padding: 18px;
}

.product h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.product p {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 10px;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: var(--price);
    margin-bottom: 12px;
}

.btn {
    display: block;
    text-align: center;
    padding: 12px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn:hover {
    background: var(--primary-dark);
}

/* MAPS */
.map-section {
    width: 100%;
    height: 360px;
    position: relative;
    margin-top: 40px;
    min-height: 360px;
}

.map-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
    /* para que el click vaya al enlace */
}

/* Mobile */
@media (max-width: 600px) {
    .map-section {
        height: 260px;
    }

    .product img {
        height: unset;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* Mobile */
@media (max-width: 600px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 16px;
        right: 16px;
    }
}

.map-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    /* reserva espacio */
    background: #e5e7eb;
}

.map-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.brand {
    width: 140px;
    height: 140px;

    border-radius: 50%;

    color: #0a3d62;
    font-weight: 700;
    font-size: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 12px;

    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;

    flex-shrink: 0;
}

.brand:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .15);
}

.brand img {
    width: 100%;
    object-fit: contain;
}

main {
    min-height: 300px;
}