/* Scoped to the restored theme shell; the custom homepage keeps its own layout. */
.mto-restored-shell{color:#17233d;direction:rtl}
.mto-restored-shell .container{max-width:1240px;width:calc(100% - 40px);margin-inline:auto}
.mto-restored-shell .main-page-wrapper{padding-top:32px;padding-bottom:48px;background:#fff}
.mto-restored-shell .wd-content-layout{gap:28px;align-items:start}
.mto-restored-shell .site-content,.mto-restored-shell .sidebar-container{min-width:0;grid-column:auto!important;width:auto;max-width:100%}
.mto-restored-shell .sidebar-container{direction:rtl;text-align:right}
.mto-restored-shell .widget{padding:22px;border:1px solid #e4eaf2;border-radius:16px;background:#fff;margin-bottom:24px;box-shadow:0 8px 28px #17233d06}
.mto-restored-shell .widget-title{font-size:16px;line-height:1.7;color:#17233d;margin:0 0 18px}
.mto-restored-shell .product_list_widget li{display:flex;align-items:center;gap:12px;flex-wrap:wrap;text-align:right;padding:14px 0}
.mto-restored-shell .product_list_widget img{width:72px;height:54px;object-fit:contain;border-radius:8px;float:none;margin:0}
.mto-restored-shell .product_list_widget .amount{white-space:nowrap}
.mto-restored-shell .wd-post{height:100%;margin-bottom:0}
.mto-restored-shell .wd-post .article-inner{display:flex;flex-direction:column;height:100%;overflow:hidden;border:1px solid #e4eaf2;border-radius:18px;background:#fff;box-shadow:0 8px 28px #17233d08}
.mto-restored-shell .wd-post .article-body-container{display:flex;flex-direction:column;flex:1;padding:22px;text-align:right}
.mto-restored-shell .wd-post .entry-title{font-size:19px;line-height:1.85;min-height:3.7em;margin:12px 0}
.mto-restored-shell .wd-post .entry-content{font-size:14px;line-height:1.95;color:#626d80}
.mto-restored-shell .wd-post .read-more-section{margin-top:auto;padding-top:20px;text-align:right}
.mto-restored-shell .wd-post .post-title{word-break:normal}
.mto-restored-shell .wd-post .post-img-wrapp{aspect-ratio:16/9;overflow:hidden;background:#eef2f7}
.mto-restored-shell .wd-post .post-img-wrapp img{display:block;width:100%;height:100%;object-fit:cover}
.mto-restored-shell .wd-post .post-img-wrapp>a{display:block;height:100%}
.mto-restored-shell .wd-post .wd-post-cat{max-width:100%;white-space:normal;line-height:1.7}
.mto-restored-shell .wd-post .wd-meta-author{font-size:12px}
.mto-restored-shell .searchform{display:flex;align-items:center;gap:8px}
.mto-restored-shell .searchform input{min-width:0;width:100%;height:46px;box-sizing:border-box}
.mto-restored-shell .searchform button{flex:0 0 46px;height:46px}
.mto-restored-shell .wd-blog-holder{row-gap:26px}
.mto-restored-shell .wd-blog-holder{grid-template-columns:repeat(2,minmax(0,1fr));--wd-col-lg:2;--wd-col-md:2}
.mto-restored-shell .wd-blog-holder>.wd-post{grid-column:auto!important;min-width:0}
.mto-restored-shell .wd-load-more{margin:32px auto 0}
.mto-restored-shell .entry-content img{max-width:100%;height:auto}
.mto-restored-shell .entry-content{line-height:2}
.mto-restored-shell :focus-visible{outline:3px solid #245bc2;outline-offset:4px}
.mto-restored-shell .mto-blog-heading{margin:0 0 26px;font-size:clamp(26px,4vw,38px);line-height:1.6;color:#17233d}
@media(min-width:1025px){.mto-restored-shell .wd-content-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px}.mto-restored-shell .wd-content-layout:has(>.site-content:only-child){grid-template-columns:1fr}}
@media(max-width:1024px){.mto-restored-shell .wd-content-layout{display:block}.mto-restored-shell .site-content,.mto-restored-shell .sidebar-container{width:100%;max-width:none;flex-basis:100%}.mto-restored-shell .sidebar-container{margin-top:32px}.mto-restored-shell .sidebar-container:not(.wd-opened){position:static;transform:none;visibility:visible;opacity:1;display:block;max-height:none;overflow:visible}.mto-restored-shell .sidebar-container .widget{max-width:none}}
@media(max-width:600px){.mto-restored-shell .container{width:calc(100% - 28px)}.mto-restored-shell .main-page-wrapper{padding-top:22px}.mto-restored-shell .wd-post .entry-title{min-height:0;font-size:18px}.mto-restored-shell .wd-post .article-body-container{padding:18px}.mto-restored-shell .widget{padding:18px}.mto-restored-shell .wd-post .post-img-wrapp img{object-fit:cover}.mto-restored-shell .wd-blog-holder{grid-template-columns:1fr;--wd-col-sm:1}}

/* MTO shared alignment repair — 2026-10-17 */
/* Keep stretched Elementor sections inside their existing RTL content wrapper. */
body .main-page-wrapper main [class*="wd-section-stretch"] {
  left: auto !important; right: auto !important;
  inset-inline: auto !important;
  width: 100% !important; min-width: 0 !important; max-width: 100% !important;
  margin-inline: 0 !important;
}
body .main-page-wrapper main .e-con > .e-con-inner { min-width: 0; max-width: 100%; }
body.single-product .elementor-70 .product_title { line-height: 1.4 !important; }
body.single-product .elementor-70 .elementor-element-28b69f73 .single_add_to_cart_button { line-height: 1.5 !important; }
body.single-product .elementor-70 .price,
body.single-product .elementor-70 .price :is(del,ins,.amount,bdi,.woocommerce-Price-currencySymbol) {
  line-height: 1.6 !important;
}
body.single-product .elementor-70 .price {
  display: flex !important; flex-wrap: wrap; align-items: baseline; justify-content: center;
  gap: 4px 12px; margin: 0 !important;
}
body.single-product .elementor-70 .price :is(del,ins) { display: inline-block; margin: 0 !important; }
body.single-product .elementor-70 .price bdi { display: inline-flex; gap: 5px; white-space: nowrap; align-items: baseline; }
body.single-product .elementor-70 .price .woocommerce-Price-currencySymbol { font-size: .65em; }
body.single-product .elementor-70 .e-con { min-width: 0; }
body.single-product .elementor-70 .elementor-element-466ad1a { margin-top: 0 !important; }
body.single-product .elementor-70 .elementor-element-78ec124 { align-items: start !important; }
body.single-product .elementor-70 .elementor-element-45f93ee4 { border: 0; padding: 0; }
body.single-product .elementor-70 .elementor-element-45f93ee4 img { width: 100%; height: auto; object-fit: contain; }
@media (min-width: 1025px) {
  body.single-product .elementor-70 .elementor-element-78ec124 { display: grid !important; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; }
  body.single-product .elementor-70 .elementor-element-78ec124 > .e-con { width: 100% !important; }
}
@media (max-width: 1024px) {
  body.single-product .elementor-70 .elementor-element-78ec124 { display: flex !important; flex-direction: column !important; gap: 24px; padding: 20px !important; }
  body.single-product .elementor-70 .elementor-element-78ec124 > .e-con { width: 100% !important; }
  body.single-product .elementor-70 .elementor-element-4253850b { flex-wrap: wrap !important; gap: 16px; padding: 16px !important; }
}
@media (max-width: 600px) {
  body.single-product .elementor-70 .product_title { font-size: 25px !important; }
  body.single-product .elementor-70 .elementor-element-4253850b { flex-direction: column !important; }
  body.single-product .elementor-70 .elementor-element-4253850b > .e-con { width: 100% !important; }
}
/* Restore archive grid: legacy sidebar widths must not consume the results column. */
@media (min-width: 1025px) {
  body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag) main.wd-content-layout {
    display: grid !important; grid-template-columns: 280px minmax(0,1fr) !important; gap: 30px;
  }
  body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag) main.wd-content-layout > :is(.wd-sidebar,.wd-content-area) { width: 100% !important; min-width: 0 !important; max-width: 100%; grid-column: auto !important; }
}
/* End MTO shared alignment repair */
@media(max-width:1024px){
 body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag) main.wd-content-layout{display:flex!important;flex-direction:column;}
 body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag) main.wd-content-layout>.site-content{order:0;width:100%;}
 body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag) main.wd-content-layout>.sidebar-container{order:1;width:100%;}
}

@media(min-width:1025px){
 body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag) main.wd-content-layout>.site-content{grid-column:2!important;grid-row:1;order:0;}
 body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag) main.wd-content-layout>.sidebar-container{grid-column:1!important;grid-row:1;order:0;position:relative!important;inset:auto!important;transform:none!important;visibility:visible!important;opacity:1!important;display:block!important;max-height:none!important;overflow:visible!important;width:100%!important;}
}
