/* CARROUSEL PRINCIPAL */
.hero-carousel {
    /* height: 75vh;
    margin-top: 76px; */
    height: 74vh;
    margin-top: 76px;

}

/* CONTENEDOR DE IMÁGENES */
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: 100%;
}

/* IMÁGENES - Más grandes y sin bordes blancos */
/* .hero-carousel .carousel-item img {
    object-fit: cover; 
    height: 100%;
    width: 100%;
} */

.hero-carousel .carousel-item img {
    /* object-fit: contain;
    height: 112%;
    width: 100%;
    margin-top: -6%; */

    object-fit: contain;
    height: 110%;
    width: 100%;
    margin-top: -5%;    
}

/* CAPTIONS - Más abajo y dentro de la imagen */
/* .hero-carousel .carousel-caption {
    bottom: 10%;
    background: rgba(0,0,0,0.7);
    border-radius: 5px;
    padding: 10px 20px;
    left: 10%;
    right: 10%;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
} */


.hero-carousel .carousel-caption {
    bottom: 5%;
    background: rgba(0,0,0,0.6);
    border-radius: 15px;
    padding: 8px 20px;
    display: inline-block;
    width: auto;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
}

/* INDICADORES */
.hero-carousel .carousel-indicators {
    bottom: 15px;
}

/* CONTROLES */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
}

/* FOOTER COMPACTO */
.footer {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.footer .mb-1 {
    margin-bottom: 0.25rem !important;
}

.footer h6 {
    margin-bottom: 0.5rem !important;
}

/* desde */
/* .container-after-carousel {
    margin-top: 0;
    padding-top: 0;
}

main, .content {
    padding-bottom: 0;
}  */





.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}        

/* O si preferís otro color */
.carousel-indicators button {
    background-color: #B8860B !important; /* Dorado yerba */
    opacity: 0.6;
}

.carousel-indicators .active {
    background-color: #FFD700 !important; /* Dorado más brillante */
    opacity: 1;
}

.product-card {
    background: #1a1a1a !important; /* Más oscuro */
    border: 1px solid #333 !important;
    transition: transform 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.search-box {
    position: relative;
}

.search-box .bi-search {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    color: #6c757d;
}

.search-box .form-control {
    padding-left: 40px; /* Espacio para el ícono */
}

.nav-link.active {
    background: rgba(13, 110, 253, 0.2);
    border-radius: 5px;
}

.modal-dialog-pergamino {
    /* max-height: 600px !important;  */
    max-width: 800px;
}

.modal-content-pergamino {
    background: transparent;
    border: none;
}

.modal-body-pergamino {
    padding: 0;
    text-align: center;
}

.modal-body-pergamino img {
    /* width: 100%;
    height: auto; */

    width: auto;
    height: 50%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* ===== COLORES YERBA CLÁSICA ===== */
.card-text {
    color: rgba(160, 160, 160, 0.9) !important;
    font-size: 0.9rem;
    line-height: 1.4;
}

.btn-primary {
    background: linear-gradient(135deg, #556B2F 0%, #6B8E23 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    font-weight: 500;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #6B8E23 0%, #7C9F2F 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(85, 107, 47, 0.4) !important;
}

.text-warning {
    color: #B8860B !important;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn-success {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%) !important;
    border: none !important;
}

/* OCULTAR SECCIÓN PRODUCTOS INICIALMENTE */
#seccion-productos {
    display: none;
}

.filter-btn {
    background: #2d3748 !important;
    border: 1px solid #4a5568 !important;
    color: #e2e8f0 !important;
}

.filter-btn.active {
    background: #2b6cb0 !important;
    border-color: #2b6cb0 !important;
    color: white !important;
}

.filters-section .row.g-3 {
    align-items: end; /* Alinea por la parte de abajo */
}

.search-box input, #regionFilter {
    height: 45px;
    box-sizing: border-box;
}