.cc-reacondicionados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.cc-reac-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s ease;
}

.cc-reac-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.cc-reac-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #fafafa;
    min-height: 180px;
}

.cc-reac-image-wrap img {
    max-width: 100%;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.cc-reac-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px 16px;
    flex: 1;
}

.cc-reac-brand {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.cc-reac-title {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    font-weight: 500;
}

.cc-reac-title a {
    color: #222;
    text-decoration: none;
}

.cc-reac-title a:hover {
    color: #e47911;
    text-decoration: underline;
}

.cc-reac-condition {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #067D62;
    background: #E8F5E9;
    border-radius: 4px;
    padding: 2px 8px;
    align-self: flex-start;
}

.cc-reac-pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.cc-reac-price {
    font-size: 24px;
    font-weight: 800;
    color: #0a7c2e;
    line-height: 1;
}

.cc-reac-discount {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #e8000d, #b5000a);
    border-radius: 20px;
    padding: 3px 10px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(204,12,57,0.35);
    white-space: nowrap;
}

.cc-reac-price-new {
    font-size: 12px;
    color: #aaa;
    text-decoration: line-through;
    font-weight: 400;
    white-space: nowrap;
}

.cc-reac-stock {
    font-size: 11px;
    font-weight: 700;
    color: #c0392b;
    background: #fdf0f0;
    border: 1px solid #f5c6c6;
    border-radius: 4px;
    padding: 3px 8px;
    align-self: flex-start;
    letter-spacing: 0.2px;
}

.cc-reac-btn {
    display: block;
    margin-top: auto;
    padding: 9px 14px;
    background: #FF9900;
    color: #111;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s ease;
}

.cc-reac-btn:hover {
    background: #e88a00;
    color: #111;
    text-decoration: none;
}

@media (max-width: 480px) {
    .cc-reacondicionados-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

@media (max-width: 360px) {
    .cc-reacondicionados-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Estado agotado ─────────────────────────────────────────── */
.cc-reac-card--agotado {
    opacity: 0.6;
    filter: grayscale(60%);
}

.cc-reac-card--agotado .cc-reac-image-wrap {
    pointer-events: none;
    position: relative;
}

.cc-reac-agotado-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
}

.cc-reac-image-wrap {
    position: relative;
}

.cc-reac-btn--agotado {
    display: block;
    margin-top: auto;
    padding: 9px 14px;
    background: #ccc;
    color: #666;
    text-align: center;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: not-allowed;
    user-select: none;
}
