/* ============================================
   RECENTLY VIEWED PRODUCTS STRIP
   ============================================ */

.rv-section {
    padding: 64px 0;
    border-top: 1px solid var(--color-border, #E5E7EB);
    background: var(--color-bg-muted, #F8FAFC);
    font-family: var(--font-body, 'Inter', sans-serif);
}

.rv-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.rv-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
    flex-wrap: wrap;
}

.rv-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent, #0067FF);
    margin-bottom: 8px;
}

.rv-title {
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-heading, #0F172A);
    margin: 0;
    letter-spacing: -0.01em;
}

.rv-clear {
    background: none;
    border: 1px solid var(--color-border, #E5E7EB);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-body, #364151);
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.rv-clear:hover {
    background: #fff;
    color: var(--color-heading);
    border-color: #cbd5e1;
}

.rv-track-wrap {
    position: relative;
}

.rv-track {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

@media (max-width: 768px) {
    .rv-section { padding: 40px 0; }
    .rv-container { padding: 0 20px; }
    /* Horizontal scroll on mobile */
    .rv-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding-bottom: 12px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
        scrollbar-width: thin;
    }
    .rv-card {
        flex: 0 0 calc(72% - 6px);
        scroll-snap-align: start;
    }
}

/* Card */
.rv-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--color-border, #E5E7EB);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.rv-card:hover {
    border-color: var(--color-accent, #0067FF);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    transform: translateY(-3px);
}

.rv-card-img {
    aspect-ratio: 1 / 1;
    background: var(--color-bg-muted, #F8FAFC);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.rv-card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.rv-card-body {
    padding: 12px 16px 16px;
}
.rv-card-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-heading, #0F172A);
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rv-card-short {
    font-size: 12px;
    color: var(--color-accent, #0067FF);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
