/* MiaTrust Shop — Stage 6.0 */
body.miatrust-woocommerce,
.miatrust-woocommerce button,.miatrust-woocommerce input,.miatrust-woocommerce select,.miatrust-woocommerce textarea{font-family:"Vazirmatn",Tahoma,Arial,sans-serif!important}
body.miatrust-woocommerce{margin:0;color:var(--mt-text);background:linear-gradient(180deg,#fffafb 0,#fff 44%,#fff9fb 100%)}
.miatrust-woocommerce a{text-decoration:none;color:inherit}
.miatrust-woocommerce img{max-width:100%;height:auto}
.mt-woo-site{overflow:visible}
.mt-woo-site .mt-header{position:sticky}
.mt-woo-site .mt-header-icon{width:23px;height:23px;color:#6c4380}

.mt-shop-hero{padding:34px 0 18px;background:radial-gradient(circle at 12% 20%,rgba(230,124,177,.12),transparent 26rem),radial-gradient(circle at 90% 0,rgba(182,110,208,.10),transparent 25rem)}
.mt-shop-hero-inner{min-height:190px;border:1px solid rgba(182,110,208,.11);border-radius:28px;padding:34px 42px;display:flex;align-items:center;justify-content:space-between;gap:30px;background:linear-gradient(125deg,rgba(255,255,255,.96),rgba(255,245,249,.92));box-shadow:0 18px 45px rgba(151,92,157,.08)}
.mt-shop-hero-copy{max-width:720px}
.mt-shop-hero h1{margin:7px 0 10px;font-size:clamp(32px,3vw,48px);line-height:1.25;color:#742d75}
.mt-shop-hero p{margin:0;color:#746779;font-size:14px;line-height:2;max-width:720px}
.mt-shop-hero-note{min-width:280px;max-width:350px;padding:20px 22px;border-radius:20px;background:rgba(255,255,255,.82);border:1px solid rgba(182,110,208,.13);box-shadow:var(--mt-shadow-soft)}
.mt-shop-hero-note strong,.mt-shop-hero-note span{display:block}
.mt-shop-hero-note strong{font-size:15px;color:#753c86;margin-bottom:7px}
.mt-shop-hero-note span{font-size:12px;color:#85788b;line-height:1.9}
.mt-shop-cats{padding:0 0 18px}
.mt-shop-cats-inner{display:flex;gap:9px;overflow:auto hidden;padding:4px 1px 8px;scrollbar-width:none}
.mt-shop-cats-inner::-webkit-scrollbar{display:none}
.mt-shop-cats a{white-space:nowrap;padding:10px 17px;border-radius:999px;background:#fff;border:1px solid rgba(182,110,208,.14);color:#6c5874;font-size:12px;font-weight:800;box-shadow:0 6px 18px rgba(154,99,166,.06);transition:.2s}
.mt-shop-cats a:hover,.mt-shop-cats a.active{color:#fff;border-color:transparent;background:linear-gradient(135deg,var(--mt-pink),var(--mt-purple-deep))}

.mt-woo-main{padding:18px 0 56px;min-height:500px}
.mt-woo-content{direction:rtl}
.mt-woo-content .woocommerce-breadcrumb{margin:0 0 18px!important;color:#94879a!important;font-size:11px!important}
.mt-woo-content .woocommerce-breadcrumb a{color:#765a81!important}
.mt-woo-content .woocommerce-products-header{display:none}
.mt-woo-content .woocommerce-notices-wrapper{margin-bottom:12px}
.mt-woo-content .woocommerce-result-count{margin:8px 0 24px!important;color:#7e7084;font-size:12px}
.mt-woo-content .woocommerce-ordering{margin:0 0 24px!important}
.mt-woo-content .woocommerce-ordering select{min-width:210px;height:43px;border:1px solid rgba(182,110,208,.17);border-radius:999px;padding:0 16px;background:#fff;color:#5d4b65;outline:none;box-shadow:0 6px 18px rgba(154,99,166,.05)}

.mt-woo-content ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;margin:0!important;clear:both}
.mt-woo-content ul.products::before,.mt-woo-content ul.products::after{display:none!important}
.mt-woo-content ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:0 0 16px!important;border-radius:22px!important;border:1px solid rgba(182,110,208,.11)!important;background:#fff!important;overflow:hidden!important;box-shadow:0 10px 30px rgba(151,92,157,.07)!important;display:flex!important;flex-direction:column!important;position:relative!important;transition:transform .22s ease,box-shadow .22s ease!important}
.mt-woo-content ul.products li.product:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(151,92,157,.13)!important}
.mt-woo-content ul.products li.product a.woocommerce-LoopProduct-link{display:flex!important;flex-direction:column!important;flex:1!important;color:inherit!important}
.mt-woo-content ul.products li.product a img{width:100%!important;height:250px!important;object-fit:contain!important;margin:0!important;padding:22px 18px 10px!important;background:radial-gradient(circle at 50% 88%,rgba(251,227,238,.55),transparent 58%),#fff!important}
.mt-woo-content ul.products li.product .woocommerce-loop-product__title{font-size:13px!important;line-height:1.9!important;font-weight:800!important;color:#4f3c57!important;padding:13px 16px 5px!important;margin:0!important;min-height:68px!important;text-align:right!important}
.mt-woo-content ul.products li.product .price{display:block!important;padding:0 16px!important;margin:4px 0 13px!important;color:var(--mt-pink-deep)!important;font-size:14px!important;font-weight:900!important;min-height:30px!important;text-align:right!important}
.mt-woo-content ul.products li.product .price del{opacity:.42;font-weight:500;margin-left:5px}
.mt-woo-content ul.products li.product .price ins{text-decoration:none}
.mt-woo-content ul.products li.product .button{margin:auto 16px 0!important;min-height:41px!important;border-radius:999px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:8px 15px!important;background:linear-gradient(135deg,#e57db2,#ad67cb)!important;color:#fff!important;font-size:11.5px!important;font-weight:800!important;line-height:1.4!important;text-align:center!important;box-shadow:none!important;transition:.2s!important}
.mt-woo-content ul.products li.product .button:hover{filter:saturate(1.08);transform:translateY(-1px)}
.mt-woo-content ul.products li.product .added_to_cart{margin:8px 16px 0!important;text-align:center;font-size:11px;font-weight:800;color:#783c8c}
.mt-woo-content ul.products li.product .onsale{top:12px!important;right:auto!important;left:12px!important;min-width:0!important;min-height:0!important;line-height:1!important;padding:8px 10px!important;margin:0!important;border-radius:999px!important;background:linear-gradient(135deg,var(--mt-pink-deep),var(--mt-purple-deep))!important;color:#fff!important;font-size:10px!important}

.mt-woo-content nav.woocommerce-pagination{margin:34px 0 0}
.mt-woo-content nav.woocommerce-pagination ul{border:0!important;display:flex!important;justify-content:center;gap:7px;margin:0!important}
.mt-woo-content nav.woocommerce-pagination ul li{border:0!important;float:none!important}
.mt-woo-content nav.woocommerce-pagination ul li a,.mt-woo-content nav.woocommerce-pagination ul li span{width:39px;height:39px;border-radius:50%;display:grid!important;place-items:center;padding:0!important;background:#fff!important;border:1px solid rgba(182,110,208,.15)!important;color:#705b78!important;font-size:12px!important;font-weight:800!important}
.mt-woo-content nav.woocommerce-pagination ul li span.current,.mt-woo-content nav.woocommerce-pagination ul li a:hover{color:#fff!important;background:linear-gradient(135deg,var(--mt-pink),var(--mt-purple-deep))!important;border-color:transparent!important}

/* Product page receives the same shell now; detailed redesign is the next stage. */
.mt-woo-content div.product{background:#fff;border:1px solid rgba(182,110,208,.10);border-radius:24px;padding:26px;box-shadow:0 12px 34px rgba(151,92,157,.06)}

@media(max-width:1180px){.mt-woo-content ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}.mt-shop-hero-inner{padding:28px 30px}}
@media(max-width:920px){
  .mt-woo-site .mt-header{position:relative}
  .mt-shop-hero{padding-top:18px}.mt-shop-hero-inner{min-height:0;flex-direction:column;align-items:stretch}.mt-shop-hero-note{max-width:none;min-width:0}
  .mt-woo-content ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
  .mt-woo-content ul.products li.product a img{height:220px!important}
}
@media(max-width:640px){
  .mt-shop-hero-inner{padding:23px 20px;border-radius:20px}.mt-shop-hero h1{font-size:30px}.mt-shop-hero-note{display:none}
  .mt-woo-main{padding-top:8px}.mt-woo-content .woocommerce-result-count,.mt-woo-content .woocommerce-ordering{float:none!important;width:100%;text-align:right}.mt-woo-content .woocommerce-ordering select{width:100%}
  .mt-woo-content ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .mt-woo-content ul.products li.product{border-radius:17px!important;padding-bottom:12px!important}.mt-woo-content ul.products li.product a img{height:165px!important;padding:14px 8px 7px!important}.mt-woo-content ul.products li.product .woocommerce-loop-product__title{font-size:11px!important;line-height:1.75!important;padding:10px 10px 4px!important;min-height:62px!important}.mt-woo-content ul.products li.product .price{padding:0 10px!important;font-size:11.5px!important}.mt-woo-content ul.products li.product .button{margin:4px 10px 0!important;font-size:10px!important;padding:7px 8px!important;min-height:38px!important}
}
@media(max-width:380px){.mt-woo-content ul.products{grid-template-columns:1fr!important}.mt-woo-content ul.products li.product a img{height:220px!important}}

/* MiaTrust Shop — Stage 6.1 refinement */
.mt-shop-hero{padding:24px 0 10px}
.mt-shop-hero-inner{min-height:158px;padding:26px 36px}
.mt-shop-hero h1{margin:5px 0 7px}
.mt-shop-cats{padding:0 0 8px}
.mt-shop-cats-inner{padding-bottom:4px}
.mt-woo-main{padding:8px 0 48px}
.mt-woo-content .woocommerce-result-count{margin:5px 0 15px!important}
.mt-woo-content .woocommerce-ordering{margin:0 0 15px!important}
.mt-woo-content ul.products{gap:18px!important}
.mt-woo-content ul.products li.product{min-height:470px}
.mt-woo-content ul.products li.product .woocommerce-loop-product__title{
  min-height:68px!important;
  max-height:68px!important;
  overflow:hidden!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  line-clamp:2!important;
}
.mt-woo-content ul.products li.product .price{margin-top:auto!important}
@media(max-width:920px){.mt-shop-hero{padding-top:14px}.mt-shop-hero-inner{padding:24px 26px}.mt-woo-content ul.products li.product{min-height:430px}}
@media(max-width:640px){.mt-shop-hero{padding-top:10px}.mt-shop-hero-inner{padding:20px 18px}.mt-shop-cats{padding-bottom:4px}.mt-woo-main{padding-top:4px}.mt-woo-content ul.products li.product{min-height:360px}.mt-woo-content ul.products li.product .woocommerce-loop-product__title{min-height:58px!important;max-height:58px!important}}


/* MiaTrust Stage 10A — Shop conversion polish */
.mt-utility-inner a{
    color:inherit;
    text-decoration:none;
}
.mt-utility-inner a:hover{
    color:#7d4387;
}
.mt-shop-consult-link{
    display:inline-flex;
    margin-top:12px;
    color:#8b4f91 !important;
    font-size:11px;
    font-weight:900;
    line-height:1.8;
}
.mt-shop-consult-link:hover{
    color:#c34d8c !important;
}


/* MiaTrust Stage 10B — Product cards + mobile UX */
.mt-woo-content ul.products li.product{isolation:isolate}
.mt-woo-content ul.products li.product a img{transition:transform .28s ease}
@media (hover:hover){.mt-woo-content ul.products li.product:hover a img{transform:scale(1.025)}}
.mt-woo-content ul.products li.product .button{width:calc(100% - 32px)!important}
.mt-woo-content ul.products li.product .stock{margin:0 16px 10px!important;font-size:10px!important;color:#78677c!important}
.mt-woo-content ul.products li.product .stock.out-of-stock{color:#a76f7f!important}
.mt-woo-content ul.products li.product .price{line-height:1.8!important}
.mt-woo-content ul.products li.product .price ins,.mt-woo-content ul.products li.product .price del{display:inline-block}
@media(max-width:920px){
  .mt-woo-content ul.products{gap:12px!important}
  .mt-woo-content ul.products li.product{min-height:405px!important}
  .mt-woo-content ul.products li.product a img{height:205px!important}
}
@media(max-width:640px){
  .mt-woo-content ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .mt-woo-content ul.products li.product{min-height:338px!important;border-radius:16px!important;padding-bottom:10px!important}
  .mt-woo-content ul.products li.product a img{height:150px!important;padding:10px 6px 5px!important}
  .mt-woo-content ul.products li.product .woocommerce-loop-product__title{min-height:54px!important;max-height:54px!important;padding:9px 9px 3px!important;font-size:11.3px!important;line-height:1.75!important}
  .mt-woo-content ul.products li.product .price{min-height:27px!important;padding:0 9px!important;margin:2px 0 8px!important;font-size:12px!important}
  .mt-woo-content ul.products li.product .button{width:calc(100% - 18px)!important;margin:0 9px!important;min-height:37px!important;padding:7px 6px!important;font-size:9.8px!important}
  .mt-woo-content ul.products li.product .onsale{top:8px!important;left:8px!important;padding:6px 7px!important;font-size:9px!important}
  .mt-woo-content .woocommerce-result-count{margin-bottom:9px!important}
  .mt-woo-content .woocommerce-ordering{margin-bottom:12px!important}
}
@media(max-width:380px){
  .mt-woo-content ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  .mt-woo-content ul.products li.product{min-height:322px!important}
  .mt-woo-content ul.products li.product a img{height:138px!important}
  .mt-woo-content ul.products li.product .woocommerce-loop-product__title{font-size:10.7px!important}
}
