.whb-top-bar{display:none!important}
.elementor-widget-wd_products .owl-stage,.elementor-widget-wd_products_tabs .owl-stage{display:flex!important;align-items:stretch}.elementor-widget-wd_products .owl-item,.elementor-widget-wd_products_tabs .owl-item{display:flex;float:none;align-items:stretch}.elementor-widget-wd_products .product-grid-item,.elementor-widget-wd_products_tabs .product-grid-item{display:flex;height:100%;width:100%;flex-direction:column}:is(.elementor-widget-wd_products,.elementor-widget-wd_products_tabs,.slc-products) .product-grid-item .product-wrapper{display:flex;flex:1;flex-direction:column;height:100%}:is(.elementor-widget-wd_products,.elementor-widget-wd_products_tabs,.slc-products) .product-grid-item .product-element-bottom{display:flex;flex:1;flex-direction:column}:is(.elementor-widget-wd_products,.elementor-widget-wd_products_tabs,.slc-products) .product-grid-item .product-element-top{aspect-ratio:1;display:flex;align-items:center;justify-content:center}:is(.elementor-widget-wd_products,.elementor-widget-wd_products_tabs,.slc-products) .product-grid-item .product-element-top img{height:100%;max-height:220px;object-fit:contain}:is(.elementor-widget-wd_products,.elementor-widget-wd_products_tabs,.slc-products) .product-grid-item .wd-entities-title{min-height:44px;line-height:22px}:is(.elementor-widget-wd_products,.elementor-widget-wd_products_tabs,.slc-products) .product-grid-item .price{margin-top:auto;min-height:32px;display:block}:is(.elementor-widget-wd_products,.elementor-widget-wd_products_tabs,.slc-products) .product-grid-item .wd-stock-progress-bar{margin-top:8px;min-height:35px}:is(.elementor-widget-wd_products,.elementor-widget-wd_products_tabs,.slc-products) .product-grid-item:not(:has(.wd-stock-progress-bar)) .product-element-bottom::after{content:'';display:block;height:43px;flex-shrink:0}.post-img-wrapp img,.slc-blog-image img{display:block;width:100%;height:180px;object-fit:cover}
.elementor-widget-wd_blog .owl-stage{display:flex!important;align-items:stretch}.elementor-widget-wd_blog .owl-item{display:flex;float:none;align-items:stretch}.elementor-widget-wd_blog article,.elementor-widget-wd_blog .article-inner{display:flex;flex:1;flex-direction:column;height:100%}.elementor-widget-wd_blog .article-body-container{display:flex;flex:1;flex-direction:column}.elementor-widget-wd_blog .read-more-section{margin-top:auto}
/* Owl owns each slide width. Flex must not resize it according to the title. */
:is(.elementor-widget-wd_products,.elementor-widget-wd_products_tabs,.elementor-widget-wd_blog) .owl-item{flex:0 0 auto;min-width:0}
:is(.elementor-widget-wd_products,.elementor-widget-wd_products_tabs) .owl-item>.slide-product{width:100%;min-width:0}
:is(.elementor-widget-wd_products,.elementor-widget-wd_products_tabs,.slc-products) .product-grid-item .product-element-top{aspect-ratio:auto;height:180px;flex:0 0 180px}
:is(.elementor-widget-wd_products,.elementor-widget-wd_products_tabs,.slc-products) .product-grid-item .product-image-link{width:100%;height:100%}
:is(.elementor-widget-wd_products,.elementor-widget-wd_products_tabs,.slc-products) .product-grid-item .product-element-top img{height:100%;max-height:180px;width:100%;object-fit:contain}
:is(.elementor-widget-wd_products,.elementor-widget-wd_products_tabs,.slc-products) .product-grid-item .product-element-bottom{gap:6px;padding:12px}
:is(.elementor-widget-wd_products,.elementor-widget-wd_products_tabs,.slc-products) .product-grid-item .wd-entities-title{min-height:40px;line-height:20px;margin:0}
:is(.elementor-widget-wd_products,.elementor-widget-wd_products_tabs,.slc-products) .product-grid-item .price{min-height:28px;margin-bottom:0}
:is(.elementor-widget-wd_products,.elementor-widget-wd_products_tabs,.slc-products) .product-grid-item .wd-stock-progress-bar{margin-top:0;min-height:28px}
:is(.elementor-widget-wd_products,.elementor-widget-wd_products_tabs,.slc-products) .product-grid-item:not(:has(.wd-stock-progress-bar)) .product-element-bottom::after{height:28px}
@media(max-width:767px){:is(.elementor-widget-wd_products,.elementor-widget-wd_products_tabs,.slc-products) .product-grid-item .product-element-top{height:145px;flex-basis:145px}:is(.elementor-widget-wd_products,.elementor-widget-wd_products_tabs,.slc-products) .product-grid-item .product-element-top img{max-height:145px}}

/* One bottom CTA per native card; distribute the body through the full slide. */
body.digikala1-source :is(.elementor-widget-wd_products,.elementor-widget-wd_products_tabs,.slc-products) .product-grid-item .product-element-bottom{justify-content:space-between;gap:10px}
body.digikala1-source :is(.elementor-widget-wd_products,.elementor-widget-wd_products_tabs,.slc-products) .product-grid-item .product-element-bottom::after{display:none!important}
body.digikala1-source .product-grid-item .gtna-purchase-slot{margin-top:auto;padding-top:4px;flex-shrink:0;width:100%}
body.digikala1-source .product-grid-item .gtna-product-purchase{margin:0!important;width:100%}
body.digikala1-source .elementor-widget-wd_blog .article-body-container{gap:12px;padding:16px;min-height:0}
body.digikala1-source .elementor-widget-wd_blog .read-more-section{display:block!important;margin:0!important;padding-top:4px}
body.digikala1-source .elementor-widget-wd_blog .read-more-section a{display:inline-flex;align-items:center;min-height:36px;color:var(--wd-primary-color);font-weight:600}
body.digikala1-source .elementor-widget-wd_blog .entry-meta{margin:0!important}
body.digikala1-source .elementor-widget-wd_blog .entry-meta ul{display:flex;align-items:center;justify-content:center;gap:12px}
body.digikala1-source .elementor-widget-wd_blog .d12-post-share{display:inline-flex!important}
body.digikala1-source .elementor-widget-wd_blog [data-d12-share]{display:inline-flex;align-items:center;justify-content:center;padding:4px!important;margin:0;min-height:28px;min-width:28px;width:28px;height:28px;border:0;background:transparent!important;color:var(--wd-primary-color)!important;border-radius:50%}
body.digikala1-source .elementor-widget-wd_blog [data-d12-share]::before,body.digikala1-source .elementor-widget-wd_blog .d12-post-share::before{display:none!important}
body.digikala1-source .elementor-widget-wd_blog [data-d12-share] svg{width:18px;height:18px;fill:none;stroke:currentColor}

/* The source skin also resets logical margins and percentage heights. */
body.digikala1-source.home .digikala1-native-home .product-grid-item{display:flex!important;flex-direction:column!important;height:100%!important;padding:0!important}
body.digikala1-source.home .digikala1-native-home .product-grid-item .product-wrapper{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;height:100%!important;padding:0!important}
body.digikala1-source.home .digikala1-native-home .product-element-bottom{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;height:auto!important;padding:12px!important}
body.digikala1-source.home .digikala1-native-home .gtna-purchase-slot{margin-block-start:auto!important;margin-block-end:0!important}
body.digikala1-source.home .digikala1-native-home .product-element-bottom::after{display:none!important}

/* Shared row equalization can append rating/swatch placeholders after the CTA. */
body.digikala1-source.home .digikala1-native-home .gtna-purchase-slot{order:100!important}

/* D12 compact cards: natural content height, complete titles, one bottom CTA. */
body.digikala1-source.home .digikala1-native-home .product-grid-item.gtna-product-card{height:auto!important;min-height:0!important}
body.digikala1-source.home .digikala1-native-home .product-grid-item>.product-wrapper{height:auto!important;min-height:0!important}
body.digikala1-source.home .digikala1-native-home .product-element-bottom{justify-content:flex-start!important;gap:6px!important;min-height:0!important}
body.digikala1-source.home .digikala1-native-home .gtna-card-placeholder{display:none!important;min-height:0!important}
body.digikala1-source.home .digikala1-native-home .product-grid-item .gtna-card-title{display:block!important;-webkit-line-clamp:unset!important;line-clamp:unset;max-height:none!important;min-height:0!important;overflow:visible!important;line-height:1.5!important;white-space:normal!important;overflow-wrap:anywhere}
body.digikala1-source.home .digikala1-native-home .product-grid-item :is(.gtna-card-price,.gtna-card-swatches,.gtna-card-rating){min-height:0!important;height:auto!important}
body.digikala1-source.home .digikala1-native-home .product-grid-item .price{margin-block:0!important;white-space:normal!important;line-height:1.7!important}
body.digikala1-source.home .digikala1-native-home .product-grid-item .price bdi{display:inline-block;max-width:100%;white-space:normal}
body.digikala1-source.home .digikala1-native-home .product-grid-item .gtna-purchase-slot{padding-top:6px!important}
body.digikala1-source.home .digikala1-native-home .product-grid-item .gtna-product-purchase{min-height:42px!important;height:auto!important;padding:9px 8px!important;gap:6px!important;line-height:1.4!important;white-space:normal!important}
body.digikala1-source.home .digikala1-native-home .product-grid-item .gtna-purchase-label{white-space:normal!important}
body.digikala1-source.home .digikala1-native-home .product-grid-item .product-element-top{height:160px!important;flex-basis:160px!important}
body.digikala1-source.home .digikala1-native-home .product-grid-item .product-element-top img{max-height:160px!important}
.d12-promo-title{display:none}
body.digikala1-source .product-grid-item .wd-buttons .wd-compare-btn{display:flex!important;visibility:visible!important}
body.digikala1-source .product-grid-item .wd-buttons .d12-compare-control{display:inline-flex!important;align-items:center;justify-content:center;width:32px!important;height:32px!important;padding:6px!important;color:var(--wd-text-color,#333)}
body.digikala1-source .product-grid-item .wd-buttons .d12-compare-control::before{content:none!important;display:none!important}
body.digikala1-source .product-grid-item .wd-buttons .d12-compare-svg{display:block!important;width:18px;height:18px;flex:none;stroke:currentColor}
body.digikala1-source .product-grid-item .d12-compare-control[aria-pressed=true]{color:var(--wd-primary-color)!important}
body.digikala1-source .elementor-element-9d0d479.gtna-loop-library{margin-inline:auto!important;max-width:100%;overflow:hidden!important}
body.digikala1-source .elementor-element-9d0d479>.d12-gift-track{max-width:none!important;margin:0!important;flex-wrap:nowrap!important;gap:var(--gtna-loop-gap,12px)!important;padding:0!important}
body.digikala1-source .d12-gift-track>.d12-gift-item{padding:0!important;min-width:0;flex:0 0 calc((100% - (var(--gtna-loop-cols) - 1)*var(--gtna-loop-gap))/var(--gtna-loop-cols))!important;width:calc((100% - (var(--gtna-loop-cols) - 1)*var(--gtna-loop-gap))/var(--gtna-loop-cols))!important}
body.digikala1-source .d12-gift-item>.elementor-widget-wrap{width:100%;padding:12px 4px!important;justify-content:center!important}
@media(max-width:767px){
 body.digikala1-source.home .digikala1-native-home .product-grid-item .product-element-top{height:125px!important;flex-basis:125px!important}
 body.digikala1-source.home .digikala1-native-home .product-grid-item .product-element-top img{max-height:125px!important}
 body.digikala1-source.home .digikala1-native-home .product-element-bottom{padding:10px!important}
 body.digikala1-source.home .elementor-element-f837fda>.elementor-widget-wrap::before{content:none!important}
 body.digikala1-source.home .elementor-element-f837fda>.elementor-widget-wrap{padding:8px 14px!important;gap:10px;justify-content:center!important}
 body.digikala1-source .d12-promo-title{display:block;color:#fff;font:700 16px/1.7 var(--wd-title-font,SLCYekan,sans-serif);text-align:center;white-space:normal}
 body.digikala1-source .d12-gift-track .wd-info-box .btn{font-size:11px!important;padding:8px!important;white-space:normal!important;min-height:32px}
}
