/* Homepage opt-in only. Do not restyle catalog, comparison or product-page cards. */
@font-face {
    font-family:"Yekan Bakh FaNum"; font-style:normal; font-weight:800; font-display:swap;
    src:url('../fonts/yekanbakh/woff2/YekanBakhFaNum-ExtraBold.woff2') format('woff2');
}
.wh-home-products-carousel .owl-stage { display:flex; align-items:stretch; }
.wh-home-products-carousel .owl-item { display:flex; flex:0 0 auto; }
.wh-home-products-carousel .wh-home-card {
    box-sizing:border-box; display:flex; flex-direction:column; width:100%; min-width:0;
    margin:10px 0; padding:10px 12px 12px; overflow:hidden; direction:rtl;
    border:1px solid #e8edf0; border-radius:14px; background:#fff; color:#17212b;
    font-family:"Yekan Bakh FaNum",sans-serif; text-decoration:none;
    box-shadow:0 2px 5px rgba(20,40,50,.025);
    transition:border-color .18s,box-shadow .18s,transform .18s;
}
.wh-home-card *, .wh-home-card bdi { font-family:inherit; }
.wh-home-card__header {
    display:flex; align-items:center; justify-content:space-between; gap:6px;
    height:26px; min-height:26px; overflow:hidden; margin-bottom:4px;
    font-size:11px; line-height:20px;
}
.wh-home-card__header--offer { border-bottom:2px solid #df224a; color:#c91840; font-weight:700; }
.wh-home-card__offer-label { white-space:nowrap; }
.wh-home-card__timer { display:inline-flex; align-items:center; gap:1px; direction:ltr; white-space:nowrap; font-variant-numeric:tabular-nums; }
.wh-home-card__category { color:#6b7280; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.wh-home-card__media { position:relative; display:flex; align-items:center; justify-content:center; height:168px; margin:2px 0 8px; }
.wh-home-products-carousel .wh-home-card__image { display:block; width:100%; max-width:200px; height:168px; object-fit:contain; padding:4px 12px; }
.wh-home-card__colors { position:absolute; top:5px; left:0; display:flex; flex-direction:column; align-items:center; gap:5px; }
.wh-home-card__swatch { display:block; width:9px; height:9px; border:1px solid rgba(0,0,0,.15); border-radius:50%; box-shadow:0 0 0 2px #fff; }
.wh-home-card__more-colors { font-size:9px; line-height:12px; color:#6b7280; direction:ltr; }
.wh-home-card__title {
    display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden;
    height:48px; min-height:48px; margin:0; text-align:right; text-align-last:auto;
    direction:rtl; font-size:14px; line-height:24px; font-weight:600; color:#202b36;
    overflow-wrap:anywhere;
}
.wh-home-card__meta { display:flex; align-items:center; min-height:25px; margin:5px 0 7px; }
.wh-home-card__delivery { display:inline-flex; align-items:center; gap:4px; padding:2px 7px; border-radius:6px; background:#eaf7f6; color:#006f75; font-size:10px; line-height:18px; font-weight:600; white-space:nowrap; }
.wh-home-products-carousel .wh-home-card__delivery img { width:14px; height:14px; object-fit:contain; }
.wh-home-card__footer { margin-top:auto; min-height:52px; }
.wh-home-card__price-line { display:flex; align-items:center; justify-content:space-between; gap:6px; min-height:28px; }
.wh-home-card__discount { flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; min-width:32px; padding:1px 5px; border-radius:5px; background:#dd2348; color:#fff; font-size:13px; font-weight:800; line-height:22px; }
.wh-home-card__amount { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:flex-end; gap:4px; min-width:0; margin-right:auto; }
.wh-home-card__price { color:#17212b; font-size:21px; font-weight:800; line-height:30px; letter-spacing:0; white-space:nowrap; }
.wh-home-card__currency { color:#39454e; font-size:11px; font-weight:600; white-space:nowrap; }
.wh-home-card__previous { min-height:21px; color:#6b7280; text-align:left; font-size:12px; line-height:21px; padding-left:29px; }
.wh-home-card__previous del { text-decoration-thickness:1px; }
.wh-home-card__availability { display:flex; align-items:center; justify-content:center; min-height:49px; border-radius:8px; background:#f3f4f6; color:#6b7280; font-size:13px; font-weight:600; }
.wh-home-card__availability--call { background:#eef8f9; color:#00777e; }
.wh-home-card:focus-visible { outline:3px solid #008f97; outline-offset:2px; }
@media (hover:hover) and (pointer:fine) {
    .wh-home-products-carousel .wh-home-card:hover { border-color:#add7d9; box-shadow:0 6px 18px rgba(0,80,88,.10); transform:translateY(-2px); }
}
@media (max-width:767px) {
    .wh-home-products-carousel .wh-home-card { margin:8px 0; padding:8px 9px 9px; border-radius:11px; }
    .wh-home-card__header { height:23px; min-height:23px; font-size:10px; margin-bottom:2px; }
    .wh-home-card__media { height:126px; margin:2px 0 6px; }
    .wh-home-products-carousel .wh-home-card__image { height:126px; max-width:180px; padding:3px 9px; }
    .wh-home-card__colors { gap:4px; top:4px; }
    .wh-home-card__swatch { width:7px; height:7px; }
    .wh-home-card__title { -webkit-line-clamp:3; height:60px; min-height:60px; font-size:12px; line-height:20px; }
    .wh-home-card__meta { min-height:23px; margin:4px 0 5px; }
    .wh-home-card__delivery { font-size:9px; line-height:16px; padding:2px 5px; }
    .wh-home-card__footer { min-height:47px; }
    .wh-home-card__price-line { gap:4px; min-height:26px; }
    .wh-home-card__price { font-size:17px; line-height:26px; }
    .wh-home-card__discount { min-width:26px; padding:0 4px; font-size:11px; line-height:21px; }
    .wh-home-card__currency { font-size:10px; }
    .wh-home-card__amount { gap:3px; }
    .wh-home-card__previous { font-size:11px; line-height:19px; min-height:19px; padding-left:24px; }
    .wh-home-card__availability { font-size:11px; min-height:45px; }
}
@media (max-width:399px) {
    .wh-home-products-carousel .wh-home-card { padding-right:7px; padding-left:7px; }
    .wh-home-card__price { font-size:15px; }
    .wh-home-card__currency { font-size:9px; }
    .wh-home-card__discount { min-width:24px; padding:0 3px; font-size:10px; }
}
@media (max-width:359px) {
    .wh-home-card__price { font-size:14px; }
    .wh-home-card__discount { min-width:22px; padding:0 2px; }
    .wh-home-card__price-line, .wh-home-card__amount { gap:2px; }
    .wh-home-card__delivery { gap:3px; padding:2px 4px; font-size:8.5px; }
    .wh-home-products-carousel .wh-home-card__delivery img { width:12px; height:12px; }
}
@media (prefers-reduced-motion:reduce) {
    .wh-home-products-carousel .wh-home-card { transition:none; transform:none!important; }
}
