/*
 # ########*###########################
 Autor: José Luis Rodriguez
 Mail: jrodriguez@bincodex.com
 Web: https://bincodex.com
 Fecha: 2026-07-06 13:37:27
 Archivo: styles.css
 Codificación: UTF-8
 Editado en: Kate 25.04.3
 ####################################
 */



/* ============================================================ */
/*  RESET Y BASE  */
/* ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8fafc;
    color: #1a1a2e;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================================ */
/*  HEADER / NAVBAR  */
/* ============================================================ */
.navbar {
    background: linear-gradient(135deg, #0d7c3f 0%, #0a5c2e 100%);
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 26px;
    font-weight: 700;
}

.logo i {
    font-size: 34px;
}

.logo span {
    font-weight: 300;
    color: #a8e6c1;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center;
}

.nav-links li a {
    color: #ffffff;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 4px;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}

.nav-links li a:hover {
    border-bottom-color: #a8e6c1;
    color: #a8e6c1;
}

.nav-links li a i {
    margin-right: 6px;
}

.btn-carrito {
    background: #ffb300;
    color: #1a1a2e !important;
    padding: 8px 18px !important;
    border-radius: 30px;
    font-weight: 600 !important;
    border-bottom: none !important;
    transition: all 0.3s;
}

.btn-carrito:hover {
    background: #ffa000 !important;
    transform: scale(1.05);
    border-bottom: none !important;
    color: #1a1a2e !important;
}

.btn-carrito i {
    margin-right: 6px;
}

/* Menú hamburguesa (mobile) */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
}

/* ============================================================ */
/*  HERO  */
/* ============================================================ */
.hero {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 60px 40px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.hero-text {
    flex: 1;
    min-width: 280px;
}

.hero-text h1 {
    font-size: 40px;
    color: #0a5c2e;
    margin-bottom: 12px;
}

.hero-text h1 i {
    color: #0d7c3f;
}

.hero-text p {
    font-size: 18px;
    color: #2e4a3a;
    margin-bottom: 20px;
    max-width: 500px;
}

.hero-text .btn {
    display: inline-block;
    background: #0d7c3f;
    color: #fff;
    padding: 14px 36px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.hero-text .btn:hover {
    background: #0a5c2e;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 124, 63, 0.35);
}

.hero-image {
    flex: 1;
    min-width: 240px;
    text-align: center;
    font-size: 120px;
    color: #0d7c3f;
    opacity: 0.7;
}

/* ============================================================ */
/*  SECCIÓN: CATEGORÍAS  */
/* ============================================================ */
.section {
    padding: 50px 40px;
}

.section-title {
    font-size: 30px;
    font-weight: 700;
    color: #0a5c2e;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: #0d7c3f;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
}

.category-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    border-color: #0d7c3f;
}

.category-card i {
    font-size: 44px;
    color: #0d7c3f;
    margin-bottom: 10px;
}

.category-card h4 {
    font-size: 15px;
    color: #1a1a2e;
}

/* ============================================================ */
/*  SECCIÓN: PRODUCTOS DESTACADOS  */
/* ============================================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px;
}

.product-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 16px 24px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    border: 1px solid #eef2f5;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.product-card .badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.product-card .badge-oferta {
    background: #ffb300;
    color: #1a1a2e;
}

.product-card .product-icon {
    font-size: 56px;
    color: #0d7c3f;
    margin-bottom: 8px;
}

.product-card h4 {
    font-size: 16px;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.product-card .price {
    font-size: 22px;
    font-weight: 700;
    color: #0a5c2e;
    margin: 6px 0 12px;
}

.product-card .price .old {
    font-size: 14px;
    font-weight: 400;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
}

.product-card .btn-add {
    background: #0d7c3f;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.product-card .btn-add:hover {
    background: #0a5c2e;
    transform: scale(1.05);
}

/* ============================================================ */
/*  SECCIÓN: BANNER / PROMOCIÓN  */
/* ============================================================ */
.banner {
    background: linear-gradient(135deg, #0a5c2e 0%, #0d7c3f 100%);
    color: #fff;
    padding: 40px 50px;
    border-radius: 20px;
    margin: 0 40px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.banner h2 {
    font-size: 28px;
}

.banner p {
    font-size: 16px;
    opacity: 0.85;
}

.banner .btn-banner {
    background: #ffb300;
    color: #1a1a2e;
    padding: 12px 34px;
    border-radius: 30px;
    font-weight: 700;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.banner .btn-banner:hover {
    background: #ffa000;
    transform: scale(1.05);
}

/* ============================================================ */
/*  FOOTER  */
/* ============================================================ */
.footer {
    background: #0a1f14;
    color: #c8e6c9;
    padding: 40px 40px 20px;
    margin-top: 20px;
}

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

.footer h4 {
    color: #ffffff;
    margin-bottom: 12px;
    font-size: 18px;
}

.footer p,
.footer li {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.8;
}

.footer ul {
    list-style: none;
}

.footer ul li a:hover {
    color: #a8e6c1;
}

.footer-bottom {
    border-top: 1px solid #1a3a2a;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

/* ============================================================ */
/*  RESPONSIVE  */
/* ============================================================ */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 12px;
        padding: 16px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 40px 24px;
    }

    .hero-text h1 {
        font-size: 30px;
    }

    .section {
        padding: 30px 20px;
    }

    .banner {
        margin: 0 20px 30px;
        padding: 30px 24px;
    }

    .banner h2 {
        font-size: 22px;
    }

    .footer {
        padding: 30px 20px 16px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 12px 16px;
    }
    .logo {
        font-size: 20px;
    }
    .hero-text h1 {
        font-size: 26px;
    }
    .hero-image {
        font-size: 80px;
    }
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .categories-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
}

/* ============================================================ */
/*  TOAST NOTIFICACIÓN  */
/* ============================================================ */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0a5c2e;
    color: #fff;
    padding: 16px 28px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(120px);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 9999;
    font-weight: 500;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast i {
    margin-right: 10px;
    color: #a8e6c1;
}

iframe {
	width: 100%;
	height: 800px;
	border: 0px;
}

