 .wrapper {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    border: 2px solid rgba(26, 35, 126, 0.15) !important;
}

.wrapper .input-box input {
    color: #1a237e !important;
}

.wrapper .input-box label {
    color: #1a237e !important;
}

.wrapper .input-box input:focus ~ label,
.wrapper .input-box input:valid ~ label {
    color: #1a237e !important;
}

.catalogo {
    padding: 140px 30px 60px;
    max-width: 1800px;
    margin: 0 auto;
}

.catalogo-header {
    text-align: center;
    margin-bottom: 40px;
}

.catalogo-logo {
    width: 398px;
    height: 122px;
    object-fit: contain;
}

.section-container {
    margin-bottom: 60px;
}

.section-title {
    color: #1a237e;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 3px solid #1a237e;
}

.grid-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}

.producto-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.08);
    transition: transform .15s ease, box-shadow .15s ease;
    overflow: hidden;
    cursor: pointer;
}

.producto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.producto-img {
    width: 100%;
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
}

.producto-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
    flex: 1;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 6px;
}

.product-name {
    font-weight: 600;
    color: #0F1111;
    font-size: 0.82rem;
    line-height: 1.2;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.badge {
    display: inline-block;
    padding: 3px 6px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.65rem;
    color: white;
    white-space: nowrap;
}

.badge.available { background: #067D62; }
.badge.limited { background: #FF9900; }
.badge.none { background: #C7511F; }

.description {
    font-size: 0.75rem;
    color: #565959;
    line-height: 1.3;
    max-height: 2.6em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.pickup-info {
    font-size: 0.7rem;
    color: #565959;
    padding-top: 4px;
}

.pickup-info b { color: #1a237e; }

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 25px;
}

.pagination button {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid #D5D9D9;
    background: white;
    color: #0F1111;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all .15s ease;
}

.pagination button:hover:not(:disabled):not(.active) {
    background: #F7F8F8;
    border-color: #888C8C;
}

.pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination button.active {
    background: #F0C14B;
    border-color: #F0C14B;
    color: #0F1111;
    font-weight: 700;
}

.no-productos {
    text-align: center;
    padding: 60px 20px;
    color: #5a6370;
    font-size: 1.1rem;
}

@media (max-width: 1600px) {
    .productos-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 1400px) {
    .productos-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1200px) {
    .productos-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .productos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .catalogo { padding: 120px 15px 40px; }
    .section-title { font-size: 1.4rem; }
    .productos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .producto-img { height: 100px; }
}

@media (max-width: 480px) {
    .productos-grid { 
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .catalogo-logo { width: 280px; height: 86px; }
    .section-title { font-size: 1.2rem; }
    .producto-card {
        padding: 8px;
    }
}


.producto-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.producto-card:nth-child(1) { animation-delay: 0.05s; }
.producto-card:nth-child(2) { animation-delay: 0.1s; }
.producto-card:nth-child(3) { animation-delay: 0.15s; }

.producto-card-link {
    display: block;
    transition: transform 0.3s ease;
}

.producto-card-link:hover {
    transform: translateY(-8px);
}

.producto-card {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.producto-card:hover {
    box-shadow: 0 12px 30px rgba(26, 35, 126, 0.25);
}

.producto-img {
    position: relative;
    overflow: hidden;
}

.hover-overlay-catalogo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.95), rgba(48, 63, 159, 0.95));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.hover-overlay-catalogo i {
    font-size: 2.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.producto-card:hover .hover-overlay-catalogo {
    opacity: 1;
}

.producto-card:hover .producto-img img {
    transform: scale(1.1);
}

.producto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid #1a237e;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.producto-card:hover::before {
    opacity: 1;
}

.producto-card:hover .badge {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.badge {
    transition: all 0.3s ease;
}

.product-name {
    transition: color 0.3s ease;
}

.producto-card:hover .product-name {
    color: #1a237e;
}