.rotating-sale-products-wrapper-6ddc0fe9 {
    width: 100%;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
}

.rsp-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    transition: opacity 0.3s ease-in-out;
}

.rsp-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    text-align: center;
    transition: box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 15px;
}

.rsp-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.rsp-link {
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: auto;
}

.rsp-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f9f9f9;
}

.rsp-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rsp-badges-container {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.rsp-badge {
    background-color: #FF8C00;
    color: #fff;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    text-align: center;
}

.rsp-badge-discount {
    background-color: #e53935; /* Red color for discount */
}

.rsp-title {
    font-size: 14px;
    margin: 10px 10px 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
}

.rsp-price {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.rsp-price del {
    color: #999;
    font-size: 13px;
    margin-right: 5px;
    font-weight: normal;
}

.rsp-checkout-button {
    display: inline-block;
    background-color: #4CAF50; /* Green for checkout */
    color: #fff !important;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    margin: 0 15px;
    transition: background-color 0.2s;
    text-align: center;
    margin-top: auto;
}

.rsp-checkout-button:hover {
    background-color: #45a049;
}

/* Responsive */
@media (max-width: 1024px) {
    .rsp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .rsp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
