/* Recently Viewed Products Grid - Card Design */
.recently-viewed-wrapper-6fda46d6 {
    width: 100%;
    margin: 0 auto;
    padding: 2rem 0;
}

.recently-viewed-grid-6fda46d6 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 0;
}

/* Responsive columns */
@media (max-width: 767px) {
    .recently-viewed-grid-6fda46d6 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .recently-viewed-grid-6fda46d6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Product Item - Card Style */
.recently-viewed-item-6fda46d6 {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #EAEAEA;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Hover with slight elevation */
.recently-viewed-item-6fda46d6:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: #DDDDDD;
}

.product-link-6fda46d6 {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Product Image - Prominent */
.product-image-wrapper-6fda46d6 {
    position: relative;
    overflow: hidden;
    background: #F9F9F9;
    aspect-ratio: 1 / 1;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-wrapper-6fda46d6 img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.recently-viewed-item-6fda46d6:hover .product-image-wrapper-6fda46d6 img {
    transform: scale(1.03);
}

/* Sale Badge */
.sale-badge-6fda46d6 {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #FF4F8B;
    color: #FFFFFF;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

/* Product Info Container */
.product-info-wrapper-6fda46d6 {
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
    justify-content: space-between;
}

/* Product Title - Small & Clean */
.product-title-6fda46d6 {
    font-family: 'Inter', 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #444444;
    margin: 0 0 0.75rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Product Price - Visible */
.product-price-6fda46d6 {
    font-family: 'Inter', 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #111111;
    margin: 0;
}

.product-price-6fda46d6 del {
    color: #A0A0A0;
    font-weight: 400;
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

.product-price-6fda46d6 ins {
    text-decoration: none;
    color: #000000;
}

/* Empty state */
.recently-viewed-wrapper-6fda46d6:empty {
    display: none;
}
