.ex-product-grid{align-items:stretch}.ex-product-grid>.col{display:flex}.ex-product-card{display:grid;grid-template-columns:minmax(100px,30%) minmax(0,1fr);gap:20px;width:100%;height:100%;padding:22px;background:#fff;border:1px solid #e9eaf0;border-radius:14px;color:#222;text-align:right;box-shadow:0 3px 14px #1c1c5603;font-family:IRANSans,sans-serif}.ex-product-card__media{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;text-decoration:none;padding:12px 0}.ex-product-card__media img{width:100%;height:220px;object-fit:contain}.ex-product-card__discount{position:absolute;top:0;right:0;border-radius:20px;background:#fff0f2;color:#ed1829;padding:5px 10px;font-size:.75rem;font-weight:600;white-space:nowrap}.ex-product-card__content{display:flex;flex-direction:column;min-width:0;gap:16px}.ex-product-card__heading h3{font-size:1rem;font-weight:600;line-height:1.9;margin:0}.ex-product-card__heading h3 a{color:#1c1c56;text-decoration:none}.ex-product-card__heading h3 a:hover{color:#2a2b6b}.ex-product-card__model{font-size:.78rem;color:#636465;margin:5px 0 0;overflow-wrap:anywhere}.ex-product-card__tag{display:inline-block;background:#f2f3f8;border-radius:5px;color:#1c1c56;font-size:.7rem;padding:3px 7px;margin-top:6px}.ex-product-card__specs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}.ex-product-card__specs>div{text-align:center;min-width:0}.ex-product-card__specs>div+div{border-right:1px solid #eee}.ex-product-card__specs dt{color:#636465;font-size:.68rem;font-weight:400;line-height:1.8;overflow-wrap:anywhere}.ex-product-card__specs dd{font-size:.85rem;color:#222;margin:4px 0 0;line-height:1.6}.ex-product-card__footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #eee;padding-top:14px;margin-top:auto}.ex-product-card__price{min-width:0;color:#1c1c56}.ex-product-card__price strong{font-size:1.25rem;font-weight:700;display:block}.ex-product-card__price strong small{font-size:.7rem;font-weight:400;color:#636465}.ex-product-card__old-price{display:block;font-size:.75rem;line-height:1.6;color:#8b8e99;min-height:20px}.ex-product-card__old-price--empty{visibility:hidden}.ex-product-card__unit{display:block;font-size:.68rem;color:#636465;margin-top:3px}.ex-product-card__status{color:#636465;font-size:.85rem}.ex-product-card__action{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:#1c1c56;color:#fff;border-radius:9px;padding:11px 14px;min-height:44px;font-size:.78rem;text-decoration:none;white-space:nowrap}.ex-product-card__action:hover{background:#2a2b6b;color:#fff}.ex-product-card a:focus-visible{outline:3px solid #1c1c5650;outline-offset:3px}.ex-product-card__price form{margin:0}.ex-product-card__price form>.d-flex{display:block!important}.ex-product-card__price form>.d-flex>.d-flex{display:flex!important;flex-direction:column-reverse;align-items:flex-start}.ex-product-card__price .price-when-has-discount{position:static!important;padding:0!important;color:#8b8e99!important;font-size:.75rem;text-decoration:line-through}.ex-product-card__price .ms-auto{margin:0!important;font-size:1.2rem;font-weight:700}.ex-product-card__price .currency-product{font-size:.7rem;font-weight:400;color:#636465}.carousel-products .ex-product-carousel-item,#featureProductSection .ex-product-carousel-item{width:540px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;border-radius:0!important;overflow:visible!important}.ex-product-carousel-item::before,.ex-product-carousel-item::after{display:none!important}.ex-product-carousel-item .ex-product-card{min-height:280px}.ex-product-card__specs:empty{display:none}
@media(min-width:768px) and (max-width:1199.98px){.ex-product-grid .ex-product-card{grid-template-columns:100px minmax(0,1fr);gap:12px;padding:16px}.ex-product-grid .ex-product-card__media img{height:170px}.ex-product-card__specs{grid-template-columns:repeat(2,minmax(0,1fr))}.ex-product-card__footer{gap:10px}}
@media(max-width:767.98px){.ex-product-card{grid-template-columns:110px minmax(0,1fr);gap:14px;padding:16px;font-family:Vazirmatn,IRANSans,sans-serif}.ex-product-card__media img{height:180px}.ex-product-card__heading h3{font-size:.9rem}.ex-product-card__specs{grid-template-columns:repeat(2,minmax(0,1fr))}.ex-product-card__content{gap:12px}.ex-product-card__price strong{font-size:1.15rem}.ex-product-card__action{width:100%;font-size:.8rem}.carousel-products .ex-product-carousel-item,#featureProductSection .ex-product-carousel-item{width:100%!important}.ex-product-carousel-item .ex-product-card{min-height:0}.ex-product-card__discount{font-size:.65rem;padding:4px 7px}}
@media(max-width:359.98px){.ex-product-card{grid-template-columns:85px minmax(0,1fr);padding:12px;gap:10px}.ex-product-card__media img{height:150px}}

.ex-product-card__size{display:inline-block;background:#f0f2fa;color:#1c1c56;font-size:.85rem;font-weight:600;padding:5px 12px;border-radius:8px;margin-top:8px}.ex-product-carousel-item{margin-inline-end:16px!important} .carousel-products .ex-product-carousel-item,#featureProductSection .ex-product-carousel-item{padding-inline-end:14px!important}

/* Match the approved horizontal card proportions and type hierarchy. */
.ex-product-page{max-width:1600px}
.ex-product-card{font-family:Vazirmatn,IRANSans,sans-serif;grid-template-columns:32% minmax(0,1fr);gap:24px;padding:24px;min-height:310px}
.ex-product-card__media{padding:16px 0;border-left:1px solid #eee;padding-left:16px}
.ex-product-card__media img{height:260px;max-height:100%;object-fit:contain}
.ex-product-card__content{gap:20px}
.ex-product-card__heading{position:relative;padding-top:4px}
.ex-product-card__heading h3{font-size:1.25rem;line-height:1.65;font-weight:700;text-align:right}
.ex-product-card__model{font-size:.9rem;line-height:1.6;text-align:right;margin-top:8px}
.ex-product-card__size{font-size:1rem;padding:6px 14px;margin-top:10px}
.ex-product-card__specs dt{font-size:.77rem}
.ex-product-card__specs dd{font-size:1rem}
.ex-product-card__footer{padding-top:18px;gap:16px}
.ex-product-card__price strong,.ex-product-card__price .ms-auto{font-size:1.6rem!important;line-height:1.6}
.ex-product-card__price strong small,.ex-product-card__price .currency-product{font-size:.78rem}
.ex-product-card__unit{font-size:.76rem}
.ex-product-card__action{font-size:.88rem;padding:12px 16px}
.ex-product-card__discount{font-size:.82rem}
@media(min-width:1200px){.ex-product-page>.row>.col-md-3{width:20%}.ex-product-page>.row>.col-md-9{width:80%}.ex-product-card__specs{grid-template-columns:repeat(4,minmax(0,1fr))}.carousel-products .ex-product-carousel-item,#featureProductSection .ex-product-carousel-item{width:640px!important}}
@media(min-width:768px) and (max-width:1199.98px){.ex-product-grid .ex-product-card{grid-template-columns:110px minmax(0,1fr);gap:14px;padding:16px;min-height:280px}.ex-product-card__heading h3{font-size:1rem}.ex-product-card__price strong,.ex-product-card__price .ms-auto{font-size:1.25rem!important}.ex-product-card__media{padding-left:10px}.ex-product-card__specs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767.98px){.ex-product-card{grid-template-columns:110px minmax(0,1fr);gap:14px;padding:16px;min-height:0}.ex-product-card__media{padding-left:8px}.ex-product-card__media img{height:190px}.ex-product-card__heading h3{font-size:1rem}.ex-product-card__model{font-size:.75rem}.ex-product-card__size{font-size:.85rem}.ex-product-card__content{gap:14px}.ex-product-card__price strong,.ex-product-card__price .ms-auto{font-size:1.25rem!important}.ex-product-card__specs dt{font-size:.7rem}}

@media(max-width:359.98px){.ex-product-card{grid-template-columns:85px minmax(0,1fr);padding:12px;gap:10px}.ex-product-card__media img{height:150px}}

/* Legacy vertical cards cap width at 260px; horizontal cards need their full Owl width. */
.carousel-products .ex-product-carousel-item,
#featureProductSection .ex-product-carousel-item,
#owlCarouselFeatureProduct .ex-product-carousel-item {
    max-width: none !important;
    box-sizing: border-box;
}
@media (min-width: 768px) {
    .carousel-products .ex-product-carousel-item,
    #featureProductSection .ex-product-carousel-item,
    #owlCarouselFeatureProduct .ex-product-carousel-item {
        width: 540px !important;
    }
}
@media (min-width: 1200px) {
    .carousel-products .ex-product-carousel-item,
    #featureProductSection .ex-product-carousel-item,
    #owlCarouselFeatureProduct .ex-product-carousel-item {
        width: 640px !important;
    }
}

/* Loading cards use the same shell and carousel widths as loaded products. */
.product-carousel-skeleton{padding-bottom:28px}
.product-skeleton-row.carousel-products{gap:5px;align-items:stretch}
.product-skeleton-row>.ex-product-carousel-item{flex:none;margin-inline-end:0!important}
.ex-product-card--skeleton{height:100%}
.ex-product-skeleton-image{width:100%;height:260px;border-radius:12px}
.ex-product-skeleton-title{height:24px;width:90%;margin-top:5px}
.ex-product-skeleton-model{height:15px;width:65%;margin-top:13px}
.ex-product-skeleton-size{height:36px;width:100px;margin-top:12px}
.ex-product-skeleton-label{height:12px;width:85%;margin:5px auto}
.ex-product-skeleton-value{height:17px;width:50%;margin:10px auto 0}
.ex-product-skeleton-price-group{width:140px;max-width:100%;padding-top:20px}
.ex-product-skeleton-price{height:25px;width:100%}
.ex-product-skeleton-unit{height:12px;width:60%;margin-top:8px}
.ex-product-skeleton-action{width:145px;max-width:100%;height:46px;border-radius:9px}
@media(min-width:768px) and (max-width:1199.98px){.ex-product-skeleton-image{height:260px}}
@media(max-width:767.98px){.product-skeleton-row.carousel-products{gap:12px}.ex-product-skeleton-image{height:190px}.ex-product-skeleton-title{height:20px}.ex-product-skeleton-action{width:100%}.ex-product-skeleton-price{height:22px}}
@media(max-width:359.98px){.ex-product-skeleton-image{height:150px}}

@media(min-width:768px) and (max-width:1199.98px){.ex-product-grid .ex-product-skeleton-image{height:170px}}
#loadingFeatureProduct .product-carousel-skeleton{padding-inline:0;padding-top:16px}

/* Keep a single row of up to four facts on every product-card surface. */
.ex-product-card__specs{grid-template-columns:repeat(4,minmax(0,1fr))}
.ex-product-card__description{color:#636465;font-size:.9rem;line-height:1.9;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
@media(max-width:1199.98px){.ex-product-card__specs{gap:5px}.ex-product-card__specs dt{font-size:.64rem}.ex-product-card__specs dd{font-size:.85rem}.ex-product-card__description{font-size:.8rem}}

/* Compact shared cards: names share a row, size sits beneath the product image. */
.ex-product-card,.ex-product-grid .ex-product-card,.ex-product-carousel-item .ex-product-card{min-height:240px;padding:20px;gap:20px}
.ex-product-card__media{flex-direction:column;gap:10px;padding-block:0}
.ex-product-card__media img,.ex-product-skeleton-image,.ex-product-grid .ex-product-skeleton-image{height:170px;flex-shrink:0}
.ex-product-card__media .ex-product-card__size{margin:0;padding:4px 10px;font-size:.85rem;white-space:nowrap}
.ex-product-card__content{gap:16px;justify-content:space-between}
.ex-product-card__heading{padding-top:0}
.ex-product-card__names{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.ex-product-card__names h3{font-size:1.05rem;line-height:1.6;flex:1;min-width:0}
.ex-product-card__names .ex-product-card__model{font-size:.8rem;line-height:1.6;margin:0;flex:1;min-width:0;text-align:left;direction:ltr}
.ex-product-card__footer{padding-top:12px;gap:12px}
.ex-product-card__price strong,.ex-product-card__price .ms-auto{font-size:1.4rem!important}
.ex-product-card__action{padding:10px 12px;font-size:.8rem}
.ex-product-skeleton-title{width:50%;height:20px;margin:0}
.ex-product-skeleton-model{width:40%;height:14px;margin:0}
.ex-product-skeleton-size{height:30px;width:100px;margin:0}
.ex-product-skeleton-price-group{padding-top:12px}
@media(max-width:767.98px){.ex-product-card,.ex-product-grid .ex-product-card,.ex-product-carousel-item .ex-product-card{padding:16px;gap:14px;min-height:0}.ex-product-card__media img,.ex-product-skeleton-image{height:145px}.ex-product-card__names{flex-wrap:wrap;gap:4px 10px}.ex-product-card__names h3{font-size:.9rem;flex-basis:100%}.ex-product-card__names .ex-product-card__model{font-size:.75rem;text-align:right;flex-basis:100%}.ex-product-card__content{gap:12px}.ex-product-card__price strong,.ex-product-card__price .ms-auto{font-size:1.2rem!important}}
@media(max-width:359.98px){.ex-product-card__media img,.ex-product-skeleton-image{height:125px}.ex-product-card__media .ex-product-card__size{font-size:.72rem;padding:4px 6px}}

@media(max-width:767.98px){.ex-product-grid .ex-product-skeleton-image{height:145px}}
@media(max-width:359.98px){.ex-product-grid .ex-product-skeleton-image{height:125px}}

/* Mobile cards stack the image above the product information. */
@media(max-width:767.98px){
    .ex-product-card,.ex-product-grid .ex-product-card,.ex-product-carousel-item .ex-product-card{
        grid-template-columns:minmax(0,1fr);gap:14px;padding:16px;min-height:0;
    }
    .ex-product-card__media{
        border-left:0;border-bottom:1px solid #eee;padding:0 0 14px;gap:8px;
    }
    .ex-product-card__media img,.ex-product-skeleton-image,.ex-product-grid .ex-product-skeleton-image{
        width:100%;height:180px;max-height:none;
    }
    .ex-product-skeleton-image{max-width:180px}
    .ex-product-card__names{flex-wrap:nowrap;align-items:baseline;gap:12px}
    .ex-product-card__names h3{flex:1;min-width:0;font-size:1rem}
    .ex-product-card__names .ex-product-card__model{flex:1;min-width:0;text-align:left;font-size:.8rem}
    .ex-product-card__content{gap:16px}
    .ex-product-card__specs dt{font-size:.72rem}
    .ex-product-card__specs dd{font-size:.9rem}
    .ex-product-card__footer{gap:12px}
    .ex-product-card__action,.ex-product-skeleton-action{width:auto;min-width:130px}
    .ex-product-card__price strong,.ex-product-card__price .ms-auto{font-size:1.35rem!important}
}
@media(max-width:359.98px){
    .ex-product-card__media img,.ex-product-skeleton-image,.ex-product-grid .ex-product-skeleton-image{height:160px}
    .ex-product-card__action,.ex-product-skeleton-action{width:100%}
    .ex-product-card__names{flex-wrap:wrap}
    .ex-product-card__names h3,.ex-product-card__names .ex-product-card__model{flex-basis:100%;text-align:right}
}
