/* ============================================
   Amazon Productos CatalogoCoches.com v1.0
   ============================================ */

.amz-productos-wrapper {
    margin: 40px 0;
    font-family: 'Montserrat', 'Open Sans', sans-serif;
}

/* ── CABECERA ── */
.amz-productos-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.amz-productos-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1280DF;
}
.amz-productos-title h3 {
    font-size: 18px;
    font-weight: 700;
    color: #010101;
    margin: 0 0 2px;
    line-height: 1.2;
}
.amz-productos-title p {
    font-size: 12px;
    color: rgba(1,1,1,0.45);
    margin: 0;
}
.amz-ver-mas {
    font-size: 13px;
    font-weight: 600;
    color: #1280DF;
    text-decoration: none;
    border: 1.5px solid #1280DF;
    border-radius: 8px;
    padding: 7px 16px;
    transition: all 0.15s;
    white-space: nowrap;
}
.amz-ver-mas:hover {
    background: #1280DF;
    color: #fff;
}

/* ── GRID ── */
.amz-productos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* ── CARD ── */
.amz-card {
    background: #fff;
    border-radius: 12px;
    border: 1.5px solid rgba(1,1,1,0.08);
    overflow: hidden;
    text-decoration: none;
    color: #010101;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(1,1,1,0.05);
}
.amz-card:hover {
    border-color: #1280DF;
    box-shadow: 0 4px 16px rgba(18,128,223,0.15);
    transform: translateY(-2px);
}
.amz-card-imagen {
    position: relative;
    background: #F6F7F9;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    overflow: hidden;
}
.amz-card-imagen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.2s;
}
.amz-card:hover .amz-card-imagen img {
    transform: scale(1.05);
}

/* ── PRIME BADGE ── */
.amz-prime-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #00A8E0;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    font-style: italic;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* ── INFO ── */
.amz-card-info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.amz-card-titulo {
    font-size: 12px;
    color: #010101;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.amz-card-precios {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.amz-precio {
    font-size: 16px;
    font-weight: 700;
    color: #B12704;
}
.amz-precio-antes {
    font-size: 12px;
    color: rgba(1,1,1,0.4);
    text-decoration: line-through;
}
.amz-precio-nd {
    font-size: 13px;
    color: rgba(1,1,1,0.5);
}
.amz-btn {
    display: block;
    text-align: center;
    background: #FF9900;
    color: #010101;
    font-size: 12px;
    font-weight: 700;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.15s;
}
.amz-card:hover .amz-btn {
    background: #e68900;
}

/* ── DISCLAIMER ── */
.amz-disclaimer {
    font-size: 11px;
    color: rgba(1,1,1,0.35);
    margin: 12px 0 0;
    text-align: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .amz-productos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .amz-productos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .amz-productos-title h3 { font-size: 15px; }
    .amz-ver-mas { display: none; }
}
