/* Homepage product carousel only; keep catalog and Flash Sale cards independent. */
.home-products .clv_heading { margin-bottom: 24px; }
.home-products .shop_slider { padding-bottom: 62px; }
.home-products .shop_slider .swiper-container { padding: 18px 12px 26px; }
.home-products .shop_slider .swiper-wrapper { align-items: stretch; }
.home-products .shop_slider .swiper-slide { height: auto; padding: 0; box-sizing: border-box; }
.home-products .shop_slider .shop_slide {
    height: 100%; box-sizing: border-box; display: flex; flex-direction: column;
    padding: 14px; text-align: left; border: 1px solid #fff; border-radius: 26px;
    background: linear-gradient(145deg,#f7faf8,#eaf2ec);
    box-shadow: 6px 7px 16px #203e2b1c, inset 1px 1px 1px #fff;
    transition: transform .3s ease, box-shadow .3s ease;
}
.home-products .shop_slider .shop_slide:hover { transform: translateY(-4px); border-color: #fff; box-shadow: 7px 12px 22px #203e2b26,inset 1px 1px 1px #fff; }
.home-products .shop_slider .shop_slide>.item_image { margin: 0 0 18px; aspect-ratio: 1.15; border: 1px solid #fff; border-radius: 19px; overflow: hidden; background: #e5eee8; box-shadow: inset 3px 3px 8px #cddbd2; }
.home-products .shop_slider .shop_slide:hover>.item_image { transform: none; }
.home-products .shop_slider .item_image>img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border-radius: 0; transition: transform .6s ease; }
.home-products .shop_slider .shop_slide:hover .item_image>img { transform: scale(1.035); }
.home-products .shop_slider .shop_slide .item_details { padding: 0 4px; text-align: left; flex: 1; }
.home-products .shop_slider .shop_slide .item_name { display: block; }
.home-products .shop_slider .shop_slide .item_name h5 { display: block; font-size: 18px; font-weight: 700; line-height: 1.45; color: #204d34; text-transform: none; margin: 0 0 14px; min-height: 2.9em; overflow-wrap: anywhere; }
.home-products .shop_slider .item_details h6 { margin: 0; line-height: 1.5; }
.home-products .shop_slider .price_normal,.home-products .shop_slider .price_discount { font-size: 21px; font-weight: 800; color: #19864a; letter-spacing: -.4px; }
.home-products .shop_slider .price_original { color: #8c9d91; font-size: 13px; text-decoration: line-through; }
.home-products .shop_slider .shop_slide .item_overlay { position: static; opacity: 1; visibility: visible; background: transparent; margin-top: 18px; display: block; border-radius: 0; }
.home-products .home-product-link { display: flex; align-items: center; justify-content: center; padding: 11px 15px; min-height: 44px; box-sizing: border-box; border: 1px solid #8aca9e; border-radius: 999px; background: linear-gradient(135deg,#26a653,#137d40); box-shadow: 3px 4px 8px #b9d1c1,inset 0 1px 2px #c1ebcb; font-size: 14px; font-weight: 700; color: #fff; text-decoration: none; }
.home-products .home-product-link:hover { color: #fff; background: #147e42; }
.home-products .shop_slider .slider_arrow { display: block; position: absolute; top: auto; bottom: 0; left: calc(50% - 51px); right: auto; transform: none; width: 44px; height: 44px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: #eaf2ed; box-shadow: 4px 4px 9px #d3dfd7,-4px -4px 9px #fff; }
.home-products .shop_slider .slider_arrow.right_arrow { left: calc(50% + 7px); right: auto; }
.home-products .shop_slider .slider_arrow>svg>path { fill: #327d4d; }
.home-products .shop_slider .slider_arrow:hover { background: #dcece1; border-color: #fff; }
.home-products a:focus-visible,.home-products button:focus-visible { outline: 3px solid #4d9b68; outline-offset: 4px; }
@media(max-width: 991px) { .home-products .shop_slider .price_normal,.home-products .shop_slider .price_discount { font-size: 19px; } }
@media(max-width: 480px) {
    .home-products .shop_slider .shop_slide { padding: 12px; border-radius: 23px; }
    .home-products .shop_slider .item_name h5 { font-size: 17px; }
    .home-products .shop_slider .shop_slide>.item_image { aspect-ratio: 1.3; margin-bottom: 14px; }
    .home-products .clv_heading p { font-size: 15px; line-height: 1.7; }
}
@media(prefers-reduced-motion: reduce) { .home-products .shop_slider .shop_slide,.home-products .shop_slider .item_image>img { transition: none; } }
.home-products .shop_slider .shop_slide { align-items: stretch; gap: 0; }
.home-products .shop_slider .item_image>img { max-width: none; margin: 0; }
.home-products .shop_slider .shop_slide .item_details { height: auto; overflow: visible; justify-content: flex-start; }

/* The legacy carousel hid details on hover to reveal its full-card overlay. */
.index_v2 .home-products .shop_slider .shop_slide:hover .item_details,
.index_v2 .home-products .shop_slider .shop_slide:hover .item_details h6 {
    opacity: 1;
    visibility: visible;
}
.home-products .shop_slider .shop_slide .item_details h6.price_normal,
.home-products .shop_slider .shop_slide .item_details .price_discount {
    color: #19864a;
}

/* Two products remain readable side by side on narrow screens. */
@media(max-width: 480px) {
    .home-products .shop_slider .swiper-container { padding: 12px 7px 22px; }
    .home-products .shop_slider .shop_slide { padding: 9px; border-radius: 20px; }
    .home-products .shop_slider .shop_slide>.item_image { aspect-ratio: 1; border-radius: 14px; margin-bottom: 12px; }
    .home-products .shop_slider .shop_slide .item_details { padding: 0 1px; }
    .home-products .shop_slider .shop_slide .item_name h5 { font-size: 14px; min-height: 4.35em; line-height: 1.45; margin-bottom: 9px; letter-spacing: 0; }
    .home-products .shop_slider .price_normal,
    .home-products .shop_slider .price_discount { font-size: 15px; letter-spacing: -.5px; overflow-wrap: anywhere; }
    .home-products .shop_slider .price_original { font-size: 11px; }
    .home-products .shop_slider .shop_slide .item_overlay { margin-top: 13px; }
    .home-products .home-product-link { padding: 9px 5px; font-size: 12px; min-height: 42px; }
}
