.ych-products-slider-widget {
    display: flex;
    align-items: stretch;
    gap: 32px;
    width: 100%;
    padding: 32px 28px;
    background: linear-gradient(135deg, #f7f8fa 0%, #f0f4f8 100%);
    border: 1px solid #edf1f5;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(12, 27, 45, 0.05);
    margin: 30px 0;
    box-sizing: border-box;
    overflow: hidden;
}

.ych-left-panel {
    flex: 0 0 28%;
    max-width: 300px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    box-sizing: border-box;
    background: linear-gradient(180deg, #0f172a 0%, #1d2a39 100%);
    border-radius: 16px;
    padding: 28px 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.ych-left-panel::before {
    content: "";
    position: absolute;
    inset: -30% auto auto -30%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.ych-left-panel-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.ych-left-title {
    margin: 0 0 10px;
    font-size: clamp(2rem, 2.3vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.06em;
    color: #fff;
    font-weight: 800;
}

.ych-left-subtitle {
    margin: 0 0 20px;
    color: rgba(255,255,255,0.78);
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}

.ych-left-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 22px;
    background: #f5c842;
    color: #1d2736 !important;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 12px 20px rgba(245, 200, 66, 0.25);
}

.ych-left-btn:hover {
    background: #f0ba14;
    transform: translateY(-2px);
    color: #1d2736 !important;
}

.ych-products-slider-container {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    align-self: center;
    min-width: 0;
}

.ych-products-slider-viewport {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 8px 0;
}

.ych-products-slider-track {
    display: flex;
    gap: 18px;
    align-items: stretch;
    width: max-content;
    transition: transform 0.45s ease;
    will-change: transform;
}

.ych-prod-slide-card {
    width: 210px;
    box-sizing: border-box;
    flex-shrink: 0;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #edf1f5;
    overflow: hidden;
    box-shadow: 0 10px 18px rgba(12, 27, 45, 0.04);
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ych-prod-slide-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 26px rgba(12, 27, 45, 0.08);
}

.ych-prod-slide-card .product {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

.ych-prod-slide-card .product-inner {
    padding: 16px !important;
    background: transparent !important;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.ych-prod-slide-card .ych-compact-product {
    height: 100%;
}

.ych-prod-slide-card .woocommerce-LoopProduct-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.ych-prod-slide-card .attachment-woocommerce_thumbnail,
.ych-prod-slide-card img {
    border-radius: 12px;
    width: 100% !important;
    height: 150px !important;
    max-height: 150px;
    object-fit: contain;
    margin: 0 auto 12px;
    display: block;
}

.ych-prod-slide-card .woocommerce-loop-product__title {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    min-height: 42px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    color: #1f2d3d !important;
    margin: 0 0 10px !important;
}

.ych-prod-slide-card .price {
    font-size: 1rem !important;
    color: #0b1723 !important;
    font-weight: 800 !important;
}

.ych-prod-slide-card .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #1d2736 !important;
    color: #fff !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    border-radius: 999px !important;
    padding: 10px 16px !important;
    margin-top: auto !important;
    align-self: flex-start;
    border: none !important;
}

.ych-prod-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #1d2736;
    box-shadow: 0 8px 18px rgba(12, 27, 45, 0.08);
    font-size: 26px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ych-prod-arrow:hover {
    background: #f5c842;
    color: #1d2736;
}

.ych-prod-arrow-left {
    left: -14px;
}

.ych-prod-arrow-right {
    right: -14px;
}

@media (max-width: 991px) {
    .ych-products-slider-widget {
        flex-direction: column;
        padding: 20px 18px;
        gap: 20px;
    }

    .ych-left-panel {
        flex: 1 1 auto;
        max-width: none;
        width: 100%;
        text-align: left;
    }

    .ych-left-subtitle {
        letter-spacing: 0.05em;
    }

    .ych-products-slider-container {
        width: 100%;
        align-self: stretch;
    }
}

@media (max-width: 560px) {
    .ych-prod-slide-card {
        width: 180px;
    }

    .ych-prod-arrow {
        display: none;
    }
}

.ych-products-slider-track .product .onsale,
.ych-products-slider-track .product .star-rating,
.ych-products-slider-track .product .added_to_cart {
    display: none !important;
}
