/* MAKIN CONTROL â€” 10-final-responsive-overrides.css
 * Final typography, mobile product cards and full-width shop
 * Extracted from original style.css lines 4018-4313; load order must remain unchanged.
 */
/* ========================================================================== 
   MAKIN CONTROL v53 â€” FINAL FONT OVERRIDE
   Body = Yekan | Titles/Headings = IRANSans Bold
   ========================================================================== */
@font-face{
  font-family:'MakinYekanFinal';
  src:url('/wp-content/themes/generatepress-child/fonts/Yekan.woff') format('woff');
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'MakinSansFinal';
  src:url('/wp-content/themes/generatepress-child/fonts/irsans.woff2') format('woff2'),
      url('/wp-content/themes/generatepress-child/fonts/irsans.woff') format('woff');
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'MakinSansFinal';
  src:url('/wp-content/themes/generatepress-child/fonts/IRANSans-Bold-web.woff') format('woff');
  font-weight:700 900;
  font-style:normal;
  font-display:swap;
}

/* ظ…طھظ†â€Œظ‡ط§غŒ ط¹ط§ط¯غŒ */
html body,
html body p,
html body li,
html body label,
html body input,
html body textarea,
html body select,
html body option,
html body td,
html body .entry-content,
html body .woocommerce{
  font-family:'MakinYekanFinal',Tahoma,sans-serif!important;
  font-weight:400;
}

/* طھظ…ط§ظ… ط¹ظ†ظˆط§ظ†â€Œظ‡ط§ ظˆ ظ†ظˆط´طھظ‡â€Œظ‡ط§غŒ ط¹ظ†ظˆط§ظ†غŒ â€” ط³ظ†ط³ ط¨ظˆظ„ط¯ ظˆط§ظ‚ط¹غŒ */
html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6,
html body .entry-title,
html body .page-title,
html body .wp-block-heading,
html body .product_title,
html body .woocommerce-loop-product__title,
html body .woocommerce-products-header__title,
html body .mc-hero-title,
html body .mc-section-title,
html body .mc-about-title,
html body .mc-about-hero h1,
html body .mc-about-why-card h3,
html body .mc-about-industry-copy h3,
html body .mc-about-cta-box h2,
html body .mc-contact-page h1,
html body .mc-contact-page h2,
html body .mc-contact-page h3,
html body .mc-contact-title,
html body .mc-contact-card strong,
html body .mc-contact-info strong,
html body .mc-global-footer h3,
html body section.related.products > h2,
html body section.upsells.products > h2{
  font-family:'MakinSansFinal',Tahoma,sans-serif!important;
  font-weight:700!important;
  font-style:normal!important;
  font-synthesis:none!important;
}

/* ظ…ظ†ظˆظ‡ط§طŒ ط¯ع©ظ…ظ‡â€Œظ‡ط§ ظˆ ط¹ظ†ط§طµط± ظ…ظ‡ظ… */
html body .mc-global-nav a,
html body .mc-btn,
html body button,
html body .button,
html body .woocommerce a.button,
html body .woocommerce button.button,
html body .woocommerce input.button,
html body .mc-global-search button,
html body .mc-global-consult{
  font-family:'MakinSansFinal','MakinYekanFinal',Tahoma,sans-serif!important;
  font-weight:700!important;
  font-synthesis:none!important;
}

/* ==========================================================================
 * MAKIN CONTROL v55 â€” Mobile product cards compact fix
 * ظپظ‚ط· ط§طµظ„ط§ط­ ع©ط´غŒط¯ع¯غŒ ع©ط§ط±طھ ظ…ط­طµظˆظ„ط§طھ ط¯ط± ظ…ظˆط¨ط§غŒظ„
 * ========================================================================== */
@media (max-width: 767px){

  body.woocommerce ul.products,
  body.woocommerce-page ul.products,
  body .woocommerce ul.products{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    margin:0!important;
  }

  body.woocommerce ul.products li.product,
  body.woocommerce-page ul.products li.product,
  body .woocommerce ul.products li.product{
    width:auto!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:9px!important;
    display:flex!important;
    flex-direction:column!important;
    border-radius:14px!important;
  }

  body .woocommerce ul.products li.product .woocommerce-LoopProduct-link{
    flex:0 0 auto!important;
    display:block!important;
    min-height:0!important;
  }

  body .woocommerce ul.products li.product a img,
  body .woocommerce ul.products li.product img{
    width:100%!important;
    height:132px!important;
    min-height:0!important;
    max-height:132px!important;
    margin:0 0 8px!important;
    object-fit:contain!important;
  }

  body .woocommerce ul.products li.product .woocommerce-loop-product__title{
    min-height:42px!important;
    max-height:42px!important;
    margin:5px 0 4px!important;
    padding:0!important;
    overflow:hidden!important;
    line-height:1.55!important;
    font-size:12px!important;
  }

  body .woocommerce ul.products li.product .price{
    min-height:25px!important;
    margin:2px 0 8px!important;
    line-height:1.45!important;
  }

  body .woocommerce ul.products li.product .button{
    width:100%!important;
    min-height:38px!important;
    height:38px!important;
    margin:4px 0 0!important;
    padding:7px 5px!important;
    line-height:1.2!important;
    font-size:11px!important;
    border-radius:9px!important;
  }

  body .woocommerce ul.products li.product .onsale,
  body .woocommerce ul.products li.product .mc-special-sale{
    min-height:0!important;
  }
}

@media (max-width: 380px){
  body.woocommerce ul.products,
  body.woocommerce-page ul.products,
  body .woocommerce ul.products{
    gap:7px!important;
  }

  body .woocommerce ul.products li.product{
    padding:7px!important;
  }

  body .woocommerce ul.products li.product a img,
  body .woocommerce ul.products li.product img{
    height:115px!important;
    max-height:115px!important;
  }

  body .woocommerce ul.products li.product .button{
    font-size:10px!important;
  }
}

/* ==========================================================================
 * MAKIN CONTROL v56 â€” Mobile Shop Full Width
 * ط¯ط± ظ…ظˆط¨ط§غŒظ„ ط¨ط§ع©ط³ ط¨ط²ط±ع¯ ظپط±ظˆط´ع¯ط§ظ‡ ط­ط°ظپ ظ…غŒâ€Œط´ظˆط¯ ظˆ ظ…ط­طھظˆط§غŒ ظپط±ظˆط´ع¯ط§ظ‡ طھظ…ط§ظ… ط¹ط±ط¶ ط§ط³طھ.
 * ع©ط§ط±طھâ€Œظ‡ط§غŒ ظ…ط­طµظˆظ„ ظ‡ظ…ع†ظ†ط§ظ† ع©ط§ط±طھ ط¨ط§ظ‚غŒ ظ…غŒâ€Œظ…ط§ظ†ظ†ط¯.
 * ========================================================================== */
@media (max-width: 767px){

  body.post-type-archive-product #page,
  body.tax-product_cat #page{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
  }

  body.post-type-archive-product .site-content,
  body.tax-product_cat .site-content{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:14px 0 42px!important;
  }

  body.post-type-archive-product #primary,
  body.tax-product_cat #primary{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
  }

  body.post-type-archive-product .site-main,
  body.tax-product_cat .site-main{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:12px 10px 34px!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:#fff!important;
  }

  /* ع¯ط±غŒط¯ ط¯ظˆ ط³طھظˆظ†ظ‡طŒ ظˆظ„غŒ ظ¾ظ‡ظ†â€Œطھط± ط§ط² ظ†ط³ط®ظ‡ ط¨ط§ع©ط³ ظ‚ط¨ظ„غŒ */
  body.post-type-archive-product .woocommerce ul.products,
  body.tax-product_cat .woocommerce ul.products{
    width:100%!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    margin:0!important;
    padding:0!important;
  }

  body.post-type-archive-product .woocommerce ul.products li.product,
  body.tax-product_cat .woocommerce ul.products li.product{
    min-width:0!important;
    padding:9px!important;
  }

  /* ط¨ط§ ظ¾ظ‡ظ†â€Œطھط± ط´ط¯ظ† ع©ط§ط±طھطŒ طھطµظˆغŒط± ع©ظ…غŒ ظ…طھط¹ط§ط¯ظ„â€Œطھط± ظ…غŒâ€Œط´ظˆط¯ */
  body.post-type-archive-product .woocommerce ul.products li.product a img,
  body.tax-product_cat .woocommerce ul.products li.product a img{
    height:128px!important;
    min-height:128px!important;
    max-height:128px!important;
  }

  /* ع©ظ†طھط±ظ„â€Œظ‡ط§غŒ ط¨ط§ظ„ط§غŒ ظپط±ظˆط´ع¯ط§ظ‡ ظ†غŒط² ط§ط² ط¹ط±ط¶ ظ…ظˆط¨ط§غŒظ„ ط¨ظ‡طھط± ط§ط³طھظپط§ط¯ظ‡ ع©ظ†ظ†ط¯ */
  body.post-type-archive-product .woocommerce-ordering,
  body.tax-product_cat .woocommerce-ordering{
    width:100%!important;
    margin:0 0 16px!important;
  }

  body.post-type-archive-product .woocommerce-ordering select,
  body.tax-product_cat .woocommerce-ordering select{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
  }
}

@media (max-width: 380px){
  body.post-type-archive-product .site-main,
  body.tax-product_cat .site-main{
    padding-left:7px!important;
    padding-right:7px!important;
  }

  body.post-type-archive-product .woocommerce ul.products,
  body.tax-product_cat .woocommerce ul.products{
    gap:7px!important;
  }

  body.post-type-archive-product .woocommerce ul.products li.product a img,
  body.tax-product_cat .woocommerce ul.products li.product a img{
    height:115px!important;
    min-height:115px!important;
    max-height:115px!important;
  }
}


