:root {
    /* Color Palette matched to Index */
    --primary-color: #2F5233;
    --secondary-color: #94C973;
    --accent-color: #B1D8B7;
    --background-color: #F8F9FA;
    --surface-light: #FFFFFF;
    --text-main: #333333;
    --text-muted: #666666;
    --white: #ffffff;

    /* Typography */
    --font-heading: "Krona One", sans-serif;
    --font-body: "AR One Sans", sans-serif;

    /* Effects */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.12);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --radius-md: 12px;
    --radius-lg: 20px;
}

body {
    margin: 0;
    margin-top: 100px !important;
    background-color: var(--background-color) !important;
    font-family: var(--font-body);
    color: var(--text-main);
}



#box_principal {
    padding-top: 40px;
    padding-bottom: 40px;
    display: flex;
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

#Menu {
    background-color: var(--surface-light);
    padding: 30px;
    width: 25%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

#Menu h2,
#Menu h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-top: 0;
}

#resultado_productos {
    background-color: transparent;
    border-radius: var(--radius-lg);
    width: 70%;
    display: flex;
    justify-content: flex-start;
    padding: 0;
}

#contenedor_productos {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.producto {
    background: var(--surface-light);
    width: calc(33.333% - 25px);
    min-width: 220px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.producto:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.producto img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 15px;
}

.producto h3 {
    font-family: var(--font-body);
    font-size: 16px;
    text-align: center;
    color: var(--text-main);
    margin: 0 0 10px 0;
}

.producto p {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 15px;
    margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
    #box_principal {
        flex-direction: column;
        padding: 20px 5%;
    }

    #Menu {
        width: 100%;
    }

    #resultado_productos {
        width: 100%;
    }

    .producto {
        width: calc(50% - 15px);
    }
}

@media (max-width: 600px) {
    .producto {
        width: 100%;
    }
}

/* ================= PRICE & BRAND STYLES ================= */
.marca-producto {
    font-size: 11px;
    font-family: var(--font-body);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: bold;
    display: block;
    width: 100%;
    text-align: center;
}

.container_precio_des{
    width: 100%;
    display: flex;
    justify-content: space-between;
    
}


.container_precio_des .number_descuento{
    color: white;
    background-color: red;
    border-radius: 5px;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 15px;
}

.precios-producto {
    height: 60px;
    border: 2px solid green;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 15px;
    width: 100%;
}

.precio-original {
    font-size: 13px;
    color: rgba(102, 102, 102, 0.6);
    text-decoration: line-through;
    font-family: var(--font-body);
}

.precio-actual {
    border: 2px solid blue;
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 800;
    font-family: var(--font-body);
}


.btn-agregar-carrito {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: bold;
    font-size: 14px;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-agregar-carrito:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.producto-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}


#container_buttons{
    border: 2px solid red;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#container_buttons img{
    border: 5px solid blue;
    width: 40px;
    height: 40px;
}