.productos-main {
    padding: 60px 0;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.producto-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.producto-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.producto-imagen {
    height: 200px;
    overflow: hidden;
}

.producto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.producto-card:hover .producto-imagen img {
    transform: scale(1.05);
}

.producto-info {
    padding: 20px;
}

.producto-titulo {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--color-primary);
    font-weight: 600;
}

.producto-precio {
    font-size: 1.3rem;
    font-weight: 700;
    color: green;
    margin-bottom: 15px;
}

.producto-acciones {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
}

.producto-cantidad {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.producto-cantidad label {
    margin-right: 10px;
    font-size: 0.9rem;
    color: var(--color-gray);
}

.producto-cantidad input {
    width: 70px;
    padding: 8px;
    text-align: center;
    border: 1px solid var(--color-light-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.acciones-btn {
    flex: 1;
    padding: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Detalles del producto */
.detalles-container {
    display: flex;
}

.detalles-imagen {
    flex: 1;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

.detalles-texto {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detalles-titulo {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.detalles-precio {
    font-size: 1.8rem;
    color: var(--color-accent);
    margin-bottom: 20px;
    font-weight: 700;
}

.detalles-descripcion {
    margin-bottom: 30px;
    line-height: 1.7;
    color: var(--color-gray);
}

.detalles-acciones {
    display: flex;
    gap: 15px;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--color-gray);
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--color-secondary);
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 1400px) {
    .productos-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .productos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .detalles-container {
        flex-direction: column;
    }
    
    .detalles-imagen {
        min-height: 300px;
    }
}

@media (max-width: 992px) {
    .productos-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .detalles-texto {
        padding: 20px;
    }
    
    .detalles-titulo {
        font-size: 1.5rem;
    }
    
    .detalles-precio {
        font-size: 1.5rem;
    }
    
    .detalles-acciones {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .productos-grid {
        grid-template-columns: 1fr;
    }
    
    .producto-acciones {
        flex-direction: column;
    }
    
    .acciones-btn {
        width: 100%;
    }
}
.productos-main {
    padding: 40px 0;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}
.producto-imagen {
    height: 180px;
    overflow: hidden;
}
.producto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.producto-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.producto-titulo {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.producto-precio {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.producto-cantidad {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.producto-cantidad label {
    margin-right: 10px;
    font-size: 0.9rem;
}

.producto-cantidad input {
    width: 70px;
    padding: 8px;
    text-align: center;
    font-size: 1rem;
}

.producto-acciones {
    display: flex;
    gap: 8px;
    margin-top: auto;
    flex-wrap: wrap;
}


/* Fondo difuminado para los productos */
.productos-main {
    position: relative;
    padding: 60px 0;
}

.productos-main::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/home.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(2px);
    opacity: 0.31;
    z-index: -1;
    pointer-events: none;
}

/* Cinta de agotado */
.agotado-ribbon {
    position: absolute;
    top: 15px;
    right: -30px;
    background-color: #e74c3c;
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Galería de imágenes */
.galeria-container {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.galeria-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.galeria-item.active {
    opacity: 1;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.galeria-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.galeria-prev, .galeria-next {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.galeria-prev:hover, .galeria-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.galeria-indicadores {
    gap: 8px;
}

.galeria-indicador {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.galeria-indicador.active {
    background-color: var(--color-primary);
}

/* Estado agotado */
.detalles-agotado {
    color: #e74c3c;
    font-weight: 500;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Selects de provincia y municipio */
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background-color: white;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
}

/* Modifica el CSS de la galería para móviles */
.galeria-container {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.galeria-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 3; /* Asegura que esté por encima de la imagen */
}

/* Ajustes específicos para móviles */
@media (max-width: 768px) {
    .detalles-container {
        flex-direction: column;
    }
    
    .detalles-imagen {
        order: -1; /* Mueve la imagen arriba en móviles */
        margin-bottom: 20px;
    }
    
    .galeria-container {
        height: 250px;
    }
    
    .galeria-controls {
        bottom: 10px;
        padding: 0 10px;
    }
    
    .galeria-prev, .galeria-next {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .detalles-acciones {
        position: relative;
        z-index: 4; /* Asegura que los botones estén por encima de los controles */
        margin-top: 20px;
        display: flex;
        gap: 10px;
    }
    
    .detalles-acciones .btn {
        flex: 1;
        padding: 10px;
    }
}
/* Galería de imágenes - Versión mejorada */
.galeria-container {
    position: relative;
    height: 350px;
    overflow: hidden;
    margin-bottom: 20px;
}

.galeria-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.galeria-item.active {
    opacity: 1;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.galeria-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 10px;
    z-index: 2;
}

.galeria-prev, .galeria-next {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 3;
}

.galeria-indicadores {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}

/* Modal de pedido con imagen */
.pedido-modal-content {
    display: flex;
    flex-direction: column;
}

.pedido-producto-info {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.pedido-producto-imagen {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.pedido-producto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pedido-producto-texto h4 {
    margin-bottom: 5px;
    color: var(--color-primary);
}

.pedido-producto-texto .precio {
    color: var(--color-accent);
    font-weight: bold;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .galeria-container {
        height: 250px;
    }
    
    .galeria-controls {
        top: 40%;
    }
    
    .pedido-producto-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pedido-producto-imagen {
        width: 100%;
        height: 150px;
        margin-bottom: 15px;
    }
}
/* Asegurar que las cards tengan el mismo tamaño */
.producto-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.producto-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.producto-acciones {
    margin-top: auto;
}

/* Mejorar el responsive de las imágenes */
.producto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
/* Grid de productos - Versión mejorada */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Ajustes para diferentes tamaños de pantalla */
@media (max-width: 1200px) {
    .productos-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 992px) {
    .productos-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .productos-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en móviles */
        gap: 15px;
    }
    
    .producto-card {
        margin-bottom: 0; /* Eliminamos el margen inferior */
    }
    
    .producto-imagen {
        height: 150px; /* Altura reducida para móviles */
    }
    
    .producto-acciones {
        flex-direction: column; /* Botones en columna para ahorrar espacio */
    }
    
    .acciones-btn {
        width: 100%;
        margin: 3px 0;
        padding: 8px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .productos-grid {
        gap: 10px;
    }
    
    .producto-info {
        padding: 10px;
    }
    
    .producto-titulo {
        font-size: 1rem;
    }
    
    .producto-precio {
        font-size: 1.1rem;
    }
}
/* Grid de productos */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .productos-grid {
        grid-template-columns: repeat(2, 1fr); /* Fuerza 2 columnas */
        gap: 10px;
    }
    
    .producto-card {
        margin: 0; /* Elimina márgenes */
    }
    
    .producto-imagen {
        height: 120px; /* Altura más compacta */
    }
    
    .producto-titulo {
        font-size: 0.9rem; /* Texto más pequeño */
    }
    
    .producto-acciones {
        flex-wrap: wrap;
    }
    
    .acciones-btn {
        min-width: 100%; /* Botones en columna */
        margin: 3px 0;
        padding: 6px;
        font-size: 0.8rem;
    }
}

/* Ajustes para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .productos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Ajustes para desktop */
@media (min-width: 1025px) {
    .productos-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}
/* Estilos para el filtro de categorías */
.categorias-filtro {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    margin-top: 10px;
}

.categoria-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 70px;
}

.categoria-btn:hover, .categoria-btn.active {
    background-color: #f0f0f0;
}

.categoria-icono {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

.categoria-nombre {
    font-size: 0.8rem;
    white-space: nowrap;
    color: #333;
}

@media (max-width: 768px) {
    .categorias-filtro {
        gap: 10px;
        padding: 8px 5px;
    }
    
    .categoria-btn {
        min-width: 60px;
        padding: 5px;
    }
    
    .categoria-icono {
        font-size: 1rem;
    }
    
    .categoria-nombre {
        font-size: 0.7rem;
    }
}
/* Grid de productos */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.producto-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.producto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.producto-imagen {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.producto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.producto-card:hover .producto-imagen img {
    transform: scale(1.05);
}/* Responsive */
@media (max-width: 1200px) {
    .productos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .productos-grid {
        gap: 20px;
    }
    
    .producto-imagen {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .detalles-container {
        flex-direction: column;
    }
    
    .detalles-imagen {
        height: 300px;
    }
    
    .detalles-texto {
        padding: 20px;
    }
    
    .detalles-titulo {
        font-size: 1.5rem;
    }
    
    .detalles-precio {
        font-size: 1.5rem;
    }
    
    .detalles-acciones {
        flex-direction: column;
    }
    
    .pedido-producto-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pedido-producto-imagen {
        width: 100%;
        height: 150px;
        margin-bottom: 15px;
    }
    
    .categoria-btn {
        min-width: 70px;
        padding: 8px 10px;
    }
    
    .categoria-icono {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .productos-grid {
        gap: 15px;
    }
    
    .producto-imagen {
        height: 180px;
    }
    
    .producto-info {
        padding: 15px;
    }
    
    .producto-titulo {
        font-size: 1rem;
    }
    
    .producto-precio {
        font-size: 1.1rem;
    }
    
    .acciones-btn {
        min-width: 100%;
    }
    
    .categorias-filtro {
        gap: 10px;
        padding: 10px 0;
    }
    
    .categoria-btn {
        min-width: 65px;
        padding: 6px 8px;
    }
    
    .categoria-icono {
        font-size: 1rem;
    }
    
    .categoria-nombre {
        font-size: 0.75rem;
    }
}
/* Header Styles */
.main-header {
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.search-and-categories {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
    max-width: 900px;
}

/* Search Bar */
.search-container {
    display: flex;
    flex: 1;
    min-width: 250px;
    max-width: 500px;
}

#search-input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px 0 0 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    height: 46px;
}

#search-input:focus {
    border-color: #8d99ae;
    outline: none;
    box-shadow: 0 0 0 3px rgba(141, 153, 174, 0.2);
}

#search-btn {
    padding: 0 20px;
    background-color: #2b2d42;
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#search-btn:hover {
    background-color: #1a1a1a;
}

/* Categories */
.categorias-filtro {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 5px 0;
}

.categorias-filtro::-webkit-scrollbar {
    display: none;
}


.categoria-btn:hover {
    background-color: #e0e0e0;
}

.categoria-btn.active {
    background-color: #2b2d42;
    color: white;
}

.categoria-btn i {
    font-size: 0.9rem;
}

.categoria-btn.active i {
    color: white;
}

/* Responsive */
@media (max-width: 1100px) {
    .search-and-categories {
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }
    
    .search-container {
        max-width: 80%;
    }
    
    .categorias-filtro {
        width: 120%;
        justify-content: flex-start;
        margin-left: 70px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .categoria-btn {
        padding: 6px 8px;
        font-size: 0.85rem;
    }
    
    .categoria-btn i {
        font-size: 0.8rem;
    }
}


/* Estilos para el sistema de categorías */
.category-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.category-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    color: #555;
    transition: all 0.3s ease;
    position: relative;
    height: 30px;
}

.category-tab:hover {
    background-color: #f5f5f5;
}

.category-tab.active {
    background-color: var(--color-primary);
    color: white;
}

.category-tab.active::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 3px;
}

.subcategories-container {
    margin-top: 5px;
}

.subcategory-group {
    display: none;
    gap: 5px;
    flex-wrap: wrap;
    animation: fadeIn 0.3s ease;
}

.subcategory-group.active {
    display: flex;
}

.subcategory-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 6px;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #555;
    transition: all 0.3s ease;
}

.subcategory-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.subcategory-btn.active {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .categorias-filtro {
        gap: 6px;
        width: 100%;
        margin-right: 80px;

    }

    .categoria-btn {
        font-size: 0.75rem;
        min-width: max-content;
        border-radius: 12px;
        display: flex;
        white-space: nowrap;
    }

    .categoria-btn i {
        font-size: 0.75rem;
    }

    .category-tabs {
        flex-wrap: wrap;
        padding-bottom: 6px;
        margin-bottom: 6px;
        justify-content: center;
    }

    .category-tab {
        font-size: 0.75rem;
        height: auto;
        border-radius: 10px;
        white-space: nowrap;
    }

    .subcategory-btn {
        font-size: 0.75rem;
    }
    
}
/* Estilos para el modal de métodos de pago */
.pago-modal-content {
    max-width: 500px;
    width: 90%;
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    position: relative;
}

.metodos-pago {
    margin: 20px 0;
}

.metodo-pago {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.metodo-pago:hover {
    border-color: var(--color-primary);
    background-color: #f9f9f9;
}

.metodo-pago.selected {
    border-color: var(--color-primary);
    background-color: rgba(43, 45, 66, 0.05);
}

.metodo-icono {
    margin-right: 15px;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.metodo-info {
    flex: 1;
}

.metodo-info h4 {
    margin: 0 0 5px 0;
    color: var(--color-primary);
}

.metodo-info p {
    margin: 0;
    color: var(--color-gray);
    font-size: 0.9rem;
}

.metodo-seleccion {
    margin-left: 10px;
}

.pago-acciones {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.producto-rin {
    margin-bottom: 15px;
}

.producto-rin label {
    margin-right: 10px;
    font-size: 0.9rem;
}

.producto-rin select {
    padding: 5px;
    border: 1px solid var(--color-light-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
background-color: white;
border:solid 1px #ff6c6c;
width: 140px;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .metodo-pago {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .metodo-icono {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .pago-acciones {
        flex-direction: column;
    }
    
    .pago-acciones .btn {
        width: 100%;
    }
}
.search-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

#search-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}

#search-input:focus {
    border-color: #4a6cf7;
    box-shadow: 0 0 5px rgba(74, 108, 247, 0.3);
}

.no-results {
    text-align: center;
    padding: 40px;
    color: #666;
}

.no-results i {
    font-size: 40px;
    margin-bottom: 15px;
    color: #ccc;
}
/* Añade esto a tu archivo productos.css */
.detalles-precio {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2b8a3e;
    margin: 10px 0;
}

#rin-detalles {
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-left: 10px;
}

.producto-rin {
    margin: 15px 0;
}
.modal-llantas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 20px;
    color: white;
}

.modal-llantas .modal-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.modal-llantas .close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.llantas-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    overflow-y: auto;
    max-height: 80vh;
}

.llanta-card {
    background: white;
    color: #333;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.llanta-card img {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
}

.llanta-card h4 {
    margin: 10px 0;
}

.llanta-card .precio {
    font-weight: bold;
    margin: 10px 0;
}

.llanta-card .seleccionar-llanta {
    margin-top: auto;
}


#pagoModal .modal-content {
    background: white;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin: 20px 0;
}
#pagoModal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: flex-start;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
    
}
/* Resumen de compra */
.resumen-compra {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.resumen-titulo {
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
    font-size: 1.1rem;
    color: #333;
}

.resumen-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.resumen-item.total {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #ddd;
    font-weight: bold;
    font-size: 1rem;
}

.resumen-label {
    color: #555;
    font-weight: 500;
}

.resumen-valor {
    font-weight: 500;
    color: #333;
}

/* Métodos de pago */
.metodos-pago-container {
    margin-top: 20px;
}

.metodos-titulo {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #333;
}

.metodo-pago {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.metodo-pago.selected {
    border-color: #4CAF50;
    background-color: #f0fff4;
}

.metodo-icono {
    margin-right: 12px;
    font-size: 1.5rem;
    color: #555;
    min-width: 30px;
    text-align: center;
}

.metodo-info {
    flex-grow: 1;
}

.metodo-nombre {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

.metodo-detalle {
    margin: 5px 0 0;
    font-size: 0.9rem;
    color: #666;
}

.metodo-seleccion input {
    margin-left: 10px;
}

/* Botones del modal */
.modal-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.modal-footer .btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}




/* Estilos para el modal de llantas */
.modal-llantas {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    z-index: 1001;
    padding: 20px;
    color: white;
}

.modal-llantas .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-llantas .modal-header h3 {
    margin: 0;
    color: white;
}

.modal-llantas .close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.llantas-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    overflow-y: auto;
    padding: 10px;
}

.llanta-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.llanta-card img {
    width: 100%;
    max-height: 150px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 5px;
}

.llanta-card h4 {
    margin: 0 0 5px;
    font-size: 1rem;
}

.llanta-card .precio {
    font-weight: bold;
    margin: 5px 0;
    color: #2b8a3e;
}

.llanta-card .seleccionar-llanta {
    margin-top: 10px;
    padding: 8px 15px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .llantas-container {
        grid-template-columns: 1fr;
    }
    
    .modal-llantas {
        padding: 10px;
    }
}

/* Notificaciones */
.notificacion {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 20px;
    border-radius: 5px;
    color: white;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1002;
}

.notificacion.mostrar {
    opacity: 1;
}

.notificacion.exito {
    background: #2b8a3e;
}

.notificacion.error {
    background: #c92a2a;
}
.notificacion.info {
    background-color: #1971c2;
    border-left: 5px solid #1864ab;
    font-size: 1.1em;
}

.notificacion.info::before {
    content: "";
    margin-right: 10px;
    font-size: 1.3em;
}
