/*
Theme Name: Iran Baft Mandegar
Theme URI: https://iranbaftmandegar.com
Author: Iran Baft Mandegar
Description: قالب اختصاصی صفحه اصلی سایت ایران بافت ماندگار (تولید گونی پلی‌پروپیلن)
Version: 1.0
Requires at least: 5.9
Requires PHP: 7.4
Text Domain: iran-baft-mandegar
*/

#ibm-site * { box-sizing: border-box; }
#ibm-site { margin: 0; font-family: 'Vazirmatn', Tahoma, sans-serif; background: #171310; color: #f4ede2; direction: rtl; -webkit-font-smoothing: antialiased; }
#ibm-site a { color: inherit; text-decoration: none; }
#ibm-site h1, #ibm-site h2, #ibm-site h3, #ibm-site p, #ibm-site ul { margin: 0; padding: 0; list-style: none; }
#ibm-site img, #ibm-site svg { display: block; }
#ibm-site button { font-family: inherit; cursor: pointer; }

#ibm-site .container { max-width: 1200px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
#ibm-site .eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .06em; color: #c17a45; }
#ibm-site .hero-title { font-size: clamp(36px, 6vw, 64px); font-weight: 900; line-height: 1.06; color: #f8f3ea; }
#ibm-site .section-title { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; line-height: 1.18; color: #f8f3ea; }

#ibm-site .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1.5px solid transparent; transition: transform .15s ease, border-color .15s ease, color .15s ease; }
#ibm-site .btn:hover { transform: translateY(-2px); }
#ibm-site .btn-solid { background: #c17a45; color: #171310; }
#ibm-site .btn-ghost { border-color: rgba(244,237,226,.25); color: #f4ede2; }
#ibm-site .btn-ghost:hover { border-color: #c17a45; color: #c17a45; }

#ibm-site .nav-link { font-size: 15px; font-weight: 500; color: #e7ddcd; padding: 8px 2px; }
#ibm-site .nav-link:hover { color: #c17a45; }
#ibm-site .nav-toggle { display: none; background: none; border: 1px solid rgba(244,237,226,.25); border-radius: 10px; width: 42px; height: 42px; align-items: center; justify-content: center; color: #f4ede2; }

#ibm-site .stat-item { padding: 36px 18px; text-align: center; }
#ibm-site .stats-grid > .stat-item:not(:first-child) { border-inline-start: 1px solid rgba(244,237,226,.1); }
#ibm-site .stat-value { font-size: clamp(26px,3.2vw,38px); font-weight: 900; color: #c17a45; }
#ibm-site .stat-label { margin-top: 6px; font-size: 13.5px; color: #c9bfae; }

#ibm-site .product-card { transition: transform .18s ease, border-color .18s ease; background: #1d1712; border: 1px solid rgba(244,237,226,.1); border-radius: 16px; padding: 26px; }
#ibm-site .product-card:hover { transform: translateY(-4px); border-color: #c17a45; }
#ibm-site .icon-box { width: 44px; height: 44px; border-radius: 12px; background: rgba(193,122,69,.16); display: flex; align-items: center; justify-content: center; color: #c17a45; }

#ibm-site .products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 44px; }
#ibm-site .stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
#ibm-site .benefits-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 52px; }
#ibm-site .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }

@media (max-width: 900px) {
  #ibm-site .nav-desktop { display: none !important; }
  #ibm-site .nav-toggle { display: flex !important; }
  #ibm-site .products-grid { grid-template-columns: repeat(2, 1fr) !important; }
  #ibm-site .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
  #ibm-site .footer-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 32px !important; }
}
@media (max-width: 560px) {
  #ibm-site .products-grid { grid-template-columns: 1fr !important; }
  #ibm-site .stats-grid { grid-template-columns: 1fr 1fr !important; }
  #ibm-site .footer-grid { grid-template-columns: 1fr !important; }
}
