/* One product heading and one row: photographs at left, purchase at right. */
body.single-product.maghsoodi-site .maghsoodi-product-detail{
  grid-template-areas:"story purchase";gap:0 24px!important;
}
body.single-product.maghsoodi-site .maghsoodi-product-purchase .product_title{
  color:#292521!important;line-height:1.75!important;text-wrap:balance;
}
body.single-product.maghsoodi-site .maghsoodi-product-purchase .price{
  color:#48423c!important;font-size:18px!important;
}
body.single-product.maghsoodi-site .maghsoodi-product-purchase .mgs-gold-spec{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;
  font-size:13px;line-height:1.9;
}
body.single-product.maghsoodi-site .maghsoodi-product-purchase :is(.mgs-gold-spec-label,.mgs-gold-spec-value){
  margin:0;padding:0;text-align:center;min-width:0;overflow-wrap:anywhere;
}
body.single-product.maghsoodi-site .maghsoodi-product-purchase .mgs-gold-spec-value{color:#48423c}
body.single-product.maghsoodi-site .maghsoodi-product-purchase .mgs-gold-spec-label{color:#6c665f}
body.single-product.maghsoodi-site .maghsoodi-product-attributes :is(th,td){
  width:50%;padding:12px 6px;text-align:center;font-size:13px;
}
body.single-product.maghsoodi-site .maghsoodi-product-purchase form.cart .single_add_to_cart_button{
  min-height:58px;line-height:1.8;font-weight:400!important;
}
@media(max-width:767px){
  body.single-product.maghsoodi-site .maghsoodi-product-intro-prose{order:4;margin:0 22px 20px}
}

/* Reuse the existing Elementor form outside its hidden header ancestor. */
body.maghsoodi-site.mgs-search-is-open{overflow:hidden}
body.maghsoodi-site .tcm-search-backdrop{display:none!important}
body.maghsoodi-site .mgs-header-search-backdrop{
  position:fixed;inset:0;z-index:999998;background:rgba(41,37,33,.18);backdrop-filter:blur(5px);
}
body.maghsoodi-site :is(.mgs-header-search,.mgs-header-search-backdrop)[hidden]{display:none!important}
body.maghsoodi-site .mgs-header-search:not([hidden]){
  position:fixed!important;z-index:999999!important;display:block!important;
  left:50%!important;right:auto!important;top:clamp(80px,18vh,180px)!important;
  width:min(640px,calc(100vw - 40px))!important;max-height:calc(100dvh - 120px);
  margin:0!important;padding:32px!important;background:#fff!important;color:#292521;
  border:1px solid #e4dfd7;border-radius:0;box-shadow:0 20px 70px rgba(41,37,33,.12);
  transform:translateX(-50%)!important;opacity:1!important;visibility:visible!important;
  pointer-events:auto!important;direction:rtl;overflow:auto;font-family:IRANYekanX,Tahoma,Arial,sans-serif;
}
body.maghsoodi-site .mgs-header-search .mgs-search-title{margin:0 0 24px;padding:0 0 0 32px;font-size:22px;line-height:1.8;font-weight:400;color:#292521;text-align:right}
body.maghsoodi-site .mgs-header-search .e-search{display:block;opacity:1!important;visibility:visible!important}
body.maghsoodi-site .mgs-header-search :is(.e-search-form,.maghsoodi-search-form){display:flex;align-items:stretch;gap:10px;direction:rtl;margin:0}
body.maghsoodi-site .mgs-header-search :is(.e-search-input-wrapper,.maghsoodi-search-form>label){flex:1;min-width:0;width:auto;margin:0}
body.maghsoodi-site .mgs-header-search input[type=search]{display:block;width:100%;min-width:0;height:52px;padding:12px 16px;border:1px solid #d9d2c7;border-radius:0;background:#fff;color:#292521;font:inherit;font-size:14px;line-height:1.8;box-shadow:none}
body.maghsoodi-site .mgs-header-search input[type=search]:focus{border-color:#8f764f;outline:1px solid #8f764f;outline-offset:1px}
body.maghsoodi-site .mgs-header-search :is(.e-search-submit,.search-submit){flex:none;min-height:52px;padding:12px 22px;border:0;border-radius:0;background:#000;color:#fff;font:inherit;font-size:14px;line-height:1.8}
body.maghsoodi-site .mgs-header-search :is(.e-search-submit,.search-submit):hover{background:#292521}
body.maghsoodi-site .mgs-header-search .mgs-search-close{position:absolute;left:18px;right:auto;top:18px;width:36px;height:36px;margin:0;padding:0;border:0;background:transparent;color:#292521;font-size:28px;line-height:1;cursor:pointer;box-shadow:none}
body.maghsoodi-site .mgs-header-search button:focus-visible{outline:2px solid #b39864;outline-offset:3px}
@media(max-width:767px){
  body.maghsoodi-site .mgs-header-search:not([hidden]){width:calc(100vw - 32px)!important;top:80px!important;padding:24px!important}
  body.maghsoodi-site .mgs-header-search .mgs-search-title{font-size:20px}
  body.maghsoodi-site .mgs-header-search :is(.e-search-submit,.search-submit){padding:12px 14px}
}

/* Cart/account/contact at left, discovery/search at right, logo unchanged. */
@media(min-width:1025px){
  body.maghsoodi-site .maqsoudi-header{flex-direction:row-reverse!important}
  body.maghsoodi-site .maqsoudi-header>.maqsoudi-icons-right{direction:ltr;flex-direction:row!important;justify-content:flex-start!important;padding:20px 0 0 30px!important}
  body.maghsoodi-site .maqsoudi-header>.maqsoudi-icons-left{direction:ltr;flex-direction:row!important;justify-content:flex-end!important;padding:20px 30px 0 0!important}
  body.maghsoodi-site .maghsoodi-desktop-header{direction:ltr}
  body.maghsoodi-site .maghsoodi-desktop-tools-primary{direction:ltr;justify-content:flex-start}
  body.maghsoodi-site .maghsoodi-desktop-tools-secondary{direction:rtl;justify-content:flex-start}
}
body.maghsoodi-site .elementor-location-header .mgs-icon-hover .elementor-icon,
body.maghsoodi-site .elementor-location-header .mgs-icon-hover .elementor-icon:is(:hover,:focus-visible){color:#000!important;background:transparent!important}
body.maghsoodi-site .elementor-location-header .mgs-icon-hover svg,
body.maghsoodi-site .elementor-location-header .mgs-icon-hover svg:is(:hover,:focus-visible){color:#000!important}
body.maghsoodi-site .elementor-location-header .mgs-icon-hover svg [stroke]:not([stroke="none"]){stroke:currentColor!important}
body.maghsoodi-site .elementor-location-header .mgs-icon-hover svg [fill]:not([fill="none"]){fill:currentColor!important}
body.maghsoodi-site .elementor-location-header .mgs-icon-hover svg[fill="none"],
body.maghsoodi-site .elementor-location-header .mgs-icon-hover svg[fill="none"] path:not([fill]){fill:none!important}
body.maghsoodi-site .maghsoodi-tool:is(:hover,:focus-visible){color:#000!important;background:transparent!important}
