:root {
  --mc-ink: #102a32;
  --mc-deep: #073b4c;
  --mc-deep-2: #052d3a;
  --mc-teal: #047a73;
  --mc-teal-light: #19b7aa;
  --mc-accent: #f2a900;
  --mc-accent-hover: #ffc13a;
  --mc-surface: #f3f8f7;
  --mc-line: #dce8e6;
  --mc-muted: #61777c;
  --mc-white: #fff;
  --mc-shadow: 0 14px 40px rgba(7, 59, 76, .1);
  --mc-shadow-hover: 0 20px 52px rgba(7, 59, 76, .14);
  --mc-focus: 0 0 0 4px rgba(4, 122, 115, .2);
  --mc-ease: cubic-bezier(.2, .7, .2, 1);
  --mc-radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--mc-ink);
  background: #fff;
  font-family: Vazirmatn, IRANSans, Tahoma, Arial, sans-serif;
  line-height: 1.8;
  text-align: right;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, [type="button"], [type="submit"], a { touch-action: manipulation; }
.site-header a,
.site-header button,
.site-main a,
.site-main button,
.site-footer a,
.site-footer button,
.mirzaei-form input,
.mirzaei-form textarea,
.woocommerce input,
.woocommerce select,
.woocommerce textarea {
  -webkit-tap-highlight-color: transparent;
}
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--mc-accent);
  outline-offset: 3px;
}
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus { width: auto; height: auto; clip: auto; margin: 10px; padding: 10px 15px; z-index: 100000; background: #fff; }

/* Header */
.topbar { background: var(--mc-deep-2); color: #d9eeee; font-size: 13px; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar p { margin: 0; }
.topbar-links { display: flex; align-items: center; gap: 12px; direction: ltr; }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s ease; }
.topbar-links svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.topbar a:hover { color: #fff; }
.main-header { background: #fff; border-bottom: 1px solid var(--mc-line); }
.main-header-inner { min-height: 105px; display: grid; grid-template-columns: 270px 1fr auto; align-items: center; gap: 34px; }
.brand-logo, .custom-logo-link { display: inline-flex; align-items: center; width: fit-content; max-width: 260px; border-radius: 10px; }
.brand-logo img, .custom-logo-link img { display: block; max-height: 76px; width: auto; }
.header-search { min-width: 0; }
.chemical-search { display: flex; width: 100%; border: 1px solid #cfe0de; background: #f7fbfa; border-radius: 15px; padding: 5px; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.chemical-search:focus-within { border-color: var(--mc-teal); box-shadow: var(--mc-focus); background: #fff; }
.chemical-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--mc-ink); padding: 10px 16px; }
.chemical-search button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 48px; min-height: 44px; border: 0; border-radius: 11px; padding: 10px 18px; color: #fff; background: var(--mc-teal); cursor: pointer; transition: background .2s ease, transform .2s var(--mc-ease); }
.chemical-search button:hover { background: var(--mc-deep); }
.chemical-search svg { width: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 2; }
.header-actions { display: flex; gap: 18px; align-items: center; }
.header-action { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 64px; min-height: 62px; padding: 6px; border-radius: 14px; color: var(--mc-deep); font-size: 12px; transition: color .2s ease, background .2s ease, transform .2s var(--mc-ease); }
.header-action svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.header-action:hover { color: var(--mc-teal); background: var(--mc-surface); }
.cart-count { position: absolute; top: -7px; right: 4px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 20px; color: #fff; background: var(--mc-accent); font-size: 10px; }
.quote-mini { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; color: #fff; background: var(--mc-teal); padding: 10px 14px; border-radius: 10px; transition: background .2s ease, transform .2s var(--mc-ease); }
.site-navigation { position: relative; z-index: 20; color: #fff; background: var(--mc-deep); box-shadow: 0 8px 20px rgba(7,59,76,.13); }
.nav-inner { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.menu-wrap { flex: 1; }
.primary-menu, .primary-menu ul { list-style: none; margin: 0; padding: 0; }
.primary-menu { display: flex; align-items: center; gap: 4px; }
.primary-menu li { position: relative; }
.primary-menu a { display: flex; align-items: center; min-height: 48px; padding: 11px 16px; border-radius: 9px; font-size: 14px; font-weight: 700; transition: color .2s ease, background .2s ease; }
.primary-menu a:hover, .primary-menu .current-menu-item > a, .primary-menu .current_page_item > a { color: #fff; background: rgba(255,255,255,.1); }
.primary-menu .sub-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; min-width: 210px; padding: 8px; border: 1px solid var(--mc-line); border-radius: 14px; color: var(--mc-deep); background: #fff; box-shadow: var(--mc-shadow-hover); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s var(--mc-ease), visibility .2s; }
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-menu .sub-menu a:hover, .primary-menu .sub-menu .current-menu-item > a { color: var(--mc-teal); background: var(--mc-surface); }
.nav-quote { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; color: var(--mc-deep-2); background: var(--mc-accent); border-radius: 10px; padding: 8px 18px; font-weight: 800; transition: background .2s ease, transform .2s var(--mc-ease), box-shadow .2s ease; }
.nav-quote:hover { background: var(--mc-accent-hover); box-shadow: 0 8px 22px rgba(242,169,0,.22); }
.menu-toggle { display: none; align-items: center; gap: 5px; color: #fff; background: transparent; border: 0; padding: 12px 0; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; border-radius: 4px; background: currentColor; transition: transform .22s var(--mc-ease), opacity .18s ease; }
.menu-toggle b { margin-right: 7px; }
.mobile-menu-header, .menu-backdrop { display: none; }

/* Hero */
.hero-section { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 20% 35%, #147d80 0, var(--mc-deep) 35%, var(--mc-deep-2) 100%); }
.hero-section::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to left, transparent, #000); }
.hero-grid { position: relative; z-index: 2; min-height: 570px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 50px; padding-block: 64px; }
.hero-copy { max-width: 650px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #81e5dc; font-size: 14px; font-weight: 800; letter-spacing: -.1px; }
.eyebrow::before { content: ""; width: 30px; height: 3px; border-radius: 5px; background: var(--mc-accent); }
.hero-copy h1 { max-width: 650px; margin: 13px 0 20px; font-size: clamp(38px, 5vw, 67px); line-height: 1.25; letter-spacing: -2px; }
.hero-copy > p { max-width: 580px; margin: 0; color: #cce1e1; font-size: 17px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 0; border-radius: 12px; padding: 11px 22px; font-weight: 800; cursor: pointer; transition: transform .22s var(--mc-ease), background .2s ease, color .2s ease, box-shadow .22s ease;
}
.button-primary { color: var(--mc-deep-2); background: var(--mc-accent); box-shadow: 0 9px 24px rgba(242,169,0,.25); }
.button-primary:hover { background: var(--mc-accent-hover); }
.button-secondary { color: #fff; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
.button-secondary:hover { background: rgba(255,255,255,.16); }
.button-light { color: var(--mc-deep); background: #fff; }
.hero-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 45px; padding-top: 27px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-metrics div { display: flex; flex-direction: column; }
.hero-metrics strong { color: #fff; font-size: 19px; }
.hero-metrics span { color: #a9c8c9; font-size: 12px; }
.hero-visual { position: relative; min-height: 450px; display: grid; place-items: center; }
.flask-card { position: relative; z-index: 2; width: min(100%, 520px); }
.flask-card > img { display: block; width: 100%; filter: drop-shadow(0 30px 45px rgba(0,0,0,.25)); }
.floating-label { position: absolute; display: flex; align-items: center; gap: 10px; min-width: 160px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.32); border-radius: 15px; background: rgba(255,255,255,.12); backdrop-filter: blur(12px); box-shadow: 0 12px 35px rgba(0,0,0,.16); }
.floating-label b { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: var(--mc-deep); background: var(--mc-accent); }
.floating-label span { font-size: 12px; }
.label-one { top: 16%; right: -5%; }
.label-two { bottom: 12%; left: -2%; }
.hero-orbit { position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.hero-orbit-one { width: 450px; height: 450px; left: -120px; top: 20px; }
.hero-orbit-two { width: 270px; height: 270px; right: 35%; bottom: -170px; }

/* Search strip */
.search-strip { position: relative; z-index: 5; margin-top: -2px; padding: 20px 0; background: #fff; box-shadow: var(--mc-shadow); }
.search-strip-inner { display: grid; grid-template-columns: 290px 1fr; gap: 34px; align-items: center; }
.search-strip-inner > div { display: flex; flex-direction: column; }
.search-strip-inner span { color: var(--mc-muted); font-size: 12px; }
.search-strip-inner strong { color: var(--mc-deep); font-size: 16px; }

/* Shared sections */
.section { padding: 88px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-heading span { color: var(--mc-teal); font-size: 13px; font-weight: 800; }
.section-heading h2 { margin: 3px 0 0; color: var(--mc-deep-2); font-size: clamp(26px,3.2vw,38px); line-height: 1.4; }
.section-heading > a { color: var(--mc-teal); font-size: 14px; font-weight: 800; }
.section-heading > a:hover { color: var(--mc-deep); }

/* Categories */
.categories-section { background: var(--mc-surface); }
.category-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 15px; }
.category-card { min-height: 205px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 27px 14px 18px; border: 1px solid var(--mc-line); border-radius: var(--mc-radius); background: #fff; box-shadow: 0 5px 20px rgba(7,59,76,.04); transition: transform .25s var(--mc-ease), border-color .2s ease, box-shadow .25s ease; }
.category-card:hover { border-color: #9fd8d3; box-shadow: var(--mc-shadow-hover); }
.category-card strong { margin: 16px 0 4px; color: var(--mc-deep); font-size: 15px; }
.category-card small { color: var(--mc-muted); font-size: 11px; line-height: 1.7; }
.category-icon { position: relative; display: grid; place-items: center; width: 70px; height: 70px; border-radius: 22px; color: var(--mc-teal); background: #eaf8f6; }
.category-icon::before, .category-icon::after, .category-icon i::before, .category-icon i::after { content: ""; position: absolute; }
.icon-drop::before { width: 25px; height: 34px; border-radius: 55% 55% 60% 60%; background: currentColor; transform: rotate(45deg); }
.icon-drop::after { width: 8px; height: 13px; border-radius: 50%; background: rgba(255,255,255,.55); transform: translate(-5px,-7px) rotate(20deg); }
.icon-flask::before, .icon-lab::before { width: 23px; height: 31px; bottom: 15px; border: 4px solid currentColor; border-top: 0; border-radius: 5px 5px 12px 12px; transform: skew(-7deg); }
.icon-flask::after, .icon-lab::after { width: 10px; height: 20px; top: 11px; border: 4px solid currentColor; border-bottom: 0; }
.icon-leaf::before { width: 36px; height: 25px; border-radius: 100% 0 100% 0; background: currentColor; transform: rotate(-25deg); }
.icon-leaf::after { width: 34px; height: 3px; background: #fff; transform: rotate(-25deg); }
.icon-water::before { width: 28px; height: 39px; border-radius: 50% 50% 55% 55%; background: currentColor; transform: rotate(45deg); }
.icon-water::after { width: 12px; height: 12px; border: 3px solid rgba(255,255,255,.65); border-radius: 50%; transform: translate(-5px,7px); }
.icon-lab i::before { width: 33px; height: 4px; bottom: 26px; background: var(--mc-accent); transform: rotate(-7deg); }
.icon-bubbles::before { width: 28px; height: 28px; border: 4px solid currentColor; border-radius: 50%; right: 15px; bottom: 14px; }
.icon-bubbles::after { width: 17px; height: 17px; border: 4px solid var(--mc-accent); border-radius: 50%; left: 13px; top: 15px; }
.icon-bubbles i::before { width: 10px; height: 10px; border: 3px solid currentColor; border-radius: 50%; right: 13px; top: 11px; }

/* Products */
.quality-badge { display: flex; align-items: center; gap: 8px; color: var(--mc-muted); font-size: 12px; }
.quality-badge b { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: #fff; background: var(--mc-teal); }
.demo-products { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.demo-product-card, .woocommerce ul.products li.product { position: relative; overflow: hidden; border: 1px solid var(--mc-line); border-radius: var(--mc-radius); background: #fff; box-shadow: 0 7px 25px rgba(7,59,76,.055); transition: transform .25s var(--mc-ease), border-color .2s ease, box-shadow .25s ease; }
.demo-product-card:hover, .woocommerce ul.products li.product:hover { border-color: #b9dcd8; box-shadow: var(--mc-shadow-hover); }
.demo-product-card > img { display: block; width: 100%; aspect-ratio: 1.15; object-fit: cover; background: var(--mc-surface); transition: transform .4s var(--mc-ease); }
.demo-product-card > div { padding: 18px; }
.demo-product-card span { color: var(--mc-teal); font-size: 11px; direction: ltr; }
.demo-product-card h3 { margin: 3px 0 2px; color: var(--mc-deep); font-size: 17px; }
.demo-product-card b { display: block; color: var(--mc-muted); direction: ltr; font-size: 13px; }
.demo-product-card a { display: inline-flex; margin-top: 14px; color: var(--mc-teal); font-size: 13px; font-weight: 800; }
.woocommerce .products ul, .woocommerce ul.products { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { width: auto; margin: 0; float: none; padding-bottom: 18px; }
.woocommerce ul.products li.product a img { margin: 0; aspect-ratio: 1.15; object-fit: cover; background: var(--mc-surface); transition: transform .4s var(--mc-ease); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 15px 18px 0; color: var(--mc-deep); font-size: 16px; }
.woocommerce ul.products li.product .price { margin: 5px 18px 12px; color: var(--mc-teal); font-size: 14px; font-weight: 900; }
.woocommerce ul.products li.product .button { margin: 0 18px; color: #fff; background: var(--mc-teal); font-size: 12px; }
.woocommerce span.onsale { min-width: 0; min-height: 0; padding: 3px 10px; line-height: 2; top: 12px; right: 12px; left: auto; border-radius: 8px; background: var(--mc-accent); }

/* Procurement */
.procurement-section { position: relative; overflow: hidden; color: #fff; background: var(--mc-teal); }
.procurement-section::after { content: ""; position: absolute; width: 450px; height: 450px; left: -150px; bottom: -260px; border: 80px solid rgba(255,255,255,.07); border-radius: 50%; }
.procurement-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; }
.procurement-copy h2 { margin: 9px 0 16px; font-size: clamp(30px,4vw,48px); line-height: 1.35; }
.procurement-copy > p { color: #d7f3ef; }
.procurement-copy ul { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px 22px; list-style: none; padding: 0; margin: 24px 0 30px; }
.procurement-copy li::before { content: "✓"; margin-left: 8px; color: var(--mc-accent); font-weight: 900; }
.process-card { overflow: hidden; border: 1px solid rgba(255,255,255,.25); border-radius: 26px; background: rgba(4,53,65,.32); backdrop-filter: blur(8px); }
.process-card > div { display: flex; align-items: center; gap: 20px; padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,.13); transition: background .2s ease, transform .22s var(--mc-ease); }
.process-card > div:last-child { border-bottom: 0; }
.process-card b { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; color: var(--mc-deep); background: var(--mc-accent); font-size: 15px; direction: ltr; }
.process-card span { display: flex; flex-direction: column; }
.process-card strong { font-size: 16px; }
.process-card small { color: #b9d8d7; }

/* Trust */
.trust-section { padding: 38px 0; background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--mc-line); border-radius: var(--mc-radius); }
.trust-grid div { display: flex; flex-direction: column; padding: 22px 25px; border-left: 1px solid var(--mc-line); }
.trust-grid div:last-child { border-left: 0; }
.trust-grid b { color: var(--mc-deep); }
.trust-grid span { color: var(--mc-muted); font-size: 12px; }

/* Footer */
.site-footer { color: #c4d7d9; background: var(--mc-deep-2); }
.footer-accent { height: 5px; background: linear-gradient(90deg,var(--mc-accent) 0 27%,var(--mc-teal-light) 27% 100%); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1fr .85fr; gap: 48px; padding-block: 62px; }
.site-footer .brand-logo { filter: brightness(0) invert(1); opacity: .96; }
.footer-brand p { max-width: 350px; color: #afc6c8; font-size: 13px; }
.site-footer h3 { margin: 8px 0 17px; color: #fff; font-size: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li, .site-footer p { font-size: 13px; overflow-wrap: anywhere; }
.site-footer li { margin-bottom: 7px; }
.site-footer a:hover { color: #fff; }
.footer-menu .primary-menu { display: block; }
.footer-menu .primary-menu a, .footer-menu a { padding: 3px 0; }
.cert-row { display: flex; gap: 7px; margin-top: 17px; }
.cert-row span { padding: 3px 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; color: #fff; font-size: 10px; }
.footer-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; margin-top: 10px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; color: #fff; transition: color .2s ease, background .2s ease, transform .2s var(--mc-ease); }
.footer-bottom { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom p { margin: 0; color: #79999e; }

/* Content and WooCommerce */
.content-main, .shop-main { min-height: 500px; padding: 65px 0; background: #f8fbfb; }
.content-layout { display: block; }
.archive-header h1, .narrow-content h1, .woocommerce-products-header__title { margin: 0 0 28px; color: var(--mc-deep); font-size: 36px; }
.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.post-card { overflow: hidden; border: 1px solid var(--mc-line); border-radius: var(--mc-radius); background: #fff; }
.post-card img { display: block; width: 100%; aspect-ratio: 1.7; object-fit: cover; }
.post-card-body { padding: 20px; }
.post-card-body small { color: var(--mc-teal); }
.post-card-body h2 { margin: 5px 0; font-size: 19px; }
.post-card-body p { color: var(--mc-muted); font-size: 13px; }
.narrow-content { max-width: 880px; padding: 38px; border: 1px solid var(--mc-line); border-radius: var(--mc-radius); background: #fff; }
.narrow-content table { width: 100%; border-collapse: collapse; }
.narrow-content td, .narrow-content th { padding: 10px; border: 1px solid var(--mc-line); }
.empty-state { padding: 50px; text-align: center; border: 1px solid var(--mc-line); border-radius: var(--mc-radius); background: #fff; }
.woocommerce .woocommerce-breadcrumb { margin-bottom: 25px; color: var(--mc-muted); }
.woocommerce .woocommerce-result-count { color: var(--mc-muted); }
.woocommerce .woocommerce-ordering select { padding: 9px 12px; border: 1px solid var(--mc-line); border-radius: 9px; background: #fff; }
.woocommerce div.product { padding: 30px; border: 1px solid var(--mc-line); border-radius: 24px; background: #fff; }
.woocommerce div.product div.images img { border-radius: 16px; background: var(--mc-surface); }
.woocommerce div.product .product_title { color: var(--mc-deep); font-size: 31px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--mc-teal); font-weight: 900; }
.woocommerce div.product form.cart .button, .woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { color: #fff; background: var(--mc-teal); }
.woocommerce div.product form.cart .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { color: #fff; background: var(--mc-deep); }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding-right: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-color: var(--mc-line); background: var(--mc-surface); }
.woocommerce div.product .woocommerce-tabs .panel { padding: 24px; border: 1px solid var(--mc-line); border-radius: 14px; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { padding: 10px 15px; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--mc-teal); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--mc-teal); }
.woocommerce-cart table.cart img { width: 76px; border-radius: 9px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { padding: 11px; border: 1px solid var(--mc-line); border-radius: 9px; }

/* Editable page-builder layouts (Gutenberg and Elementor friendly) */
.builder-page, .builder-entry, .builder-entry .entry-content { margin: 0; padding: 0; }
.builder-entry .wp-block-column { min-width: 0; }
.builder-entry .entry-content > :not(.alignfull):not(.alignwide) { width: min(820px, calc(100% - 40px)); margin-inline: auto; }
.builder-entry .entry-content > .alignwide { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.builder-entry .entry-content > .alignfull { width: 100%; margin-inline: 0; }
.builder-entry .entry-content::after { content: ""; display: table; clear: both; }
.mc-editor-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 20% 35%, #147d80 0, var(--mc-deep) 35%, var(--mc-deep-2) 100%); }
.mc-editor-hero::before { content: ""; position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.1) 1px,transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to left,transparent,#000); }
.mc-editor-hero-columns { position: relative; z-index: 2; min-height: 570px; margin-bottom: 0; padding-block: 60px; }
.mc-editor-hero .mc-hero-title { margin: 12px 0 18px; color: #fff; font-size: clamp(38px,5vw,67px); line-height: 1.25; letter-spacing: -2px; }
.mc-hero-lead { max-width: 660px; color: #cde2e2; font-size: 17px; }
.mc-editor-hero .wp-block-button__link, .mc-quote-block .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 12px; padding: 12px 24px; color: var(--mc-deep-2); background: var(--mc-accent); font-weight: 800; transition: transform .22s var(--mc-ease), background .2s ease, box-shadow .22s ease; }
.mc-editor-hero .wp-block-button__link::after, .mc-quote-block .wp-block-button__link::after { content: "←"; font-size: 18px; line-height: 1; transition: transform .22s var(--mc-ease); }
.mc-editor-hero .is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
.mc-hero-buttons { margin-top: 26px; }
.mc-hero-metrics { margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); }
.mc-hero-metrics h4 { margin: 0; color: #fff; font-size: 19px; }
.mc-hero-metrics p { margin: 2px 0 0; color: #a9c8c9; font-size: 12px; }
.mc-hero-image img { width: 100%; max-height: 490px; object-fit: contain; filter: drop-shadow(0 28px 42px rgba(0,0,0,.25)); }
.mc-editor-search { position: relative; z-index: 3; padding: 20px 0; background: #fff; box-shadow: var(--mc-shadow); }
.mc-editor-search .wp-block-columns { margin-bottom: 0; }
.mc-editor-search p { margin: 0; color: var(--mc-deep); }
.mc-editor-search small { color: var(--mc-muted); }
.mc-editor-section { padding: 85px 0; }
.mc-editor-heading { margin-bottom: 30px; }
.mc-editor-heading h2 { margin: 2px 0 0; color: var(--mc-deep); font-size: clamp(27px,3vw,38px); }
.mc-editor-heading p { margin: 0; }
.mc-editor-heading a { display: inline-flex; align-items: center; min-height: 44px; color: var(--mc-teal); font-weight: 800; transition: color .2s ease, transform .2s var(--mc-ease); }
.mc-kicker { margin: 0; color: var(--mc-teal); font-size: 13px; font-weight: 800; }
.mc-categories-block, .mc-values-block { background: var(--mc-surface); }
.mc-category-columns { gap: 16px; margin-bottom: 16px; }
.mc-editable-card { height: 100%; min-height: 150px; padding: 25px; border: 1px solid var(--mc-line); border-radius: var(--mc-radius); background: #fff; box-shadow: 0 7px 24px rgba(7,59,76,.05); transition: transform .25s var(--mc-ease), border-color .2s ease, box-shadow .25s ease; }
.mc-editable-card:hover { border-color: #b9dcd8; box-shadow: var(--mc-shadow-hover); }
.mc-editable-card h3 { margin-top: 0; color: var(--mc-deep); font-size: 18px; }
.mc-editable-card p { margin-bottom: 0; color: var(--mc-muted); font-size: 13px; }
.mc-categories-block .mc-editable-card { display: flex; flex-direction: column; align-items: flex-start; }
.mc-categories-block .mc-editable-card::before { content: ""; display: block; flex: 0 0 auto; width: 58px; height: 58px; margin-bottom: 16px; border-radius: 18px; background: #eaf8f6 url("../images/icon-acid.svg") center/44px no-repeat; transition: transform .3s var(--mc-ease), background-color .2s ease; }
.mc-categories-block > .mc-category-columns:nth-child(2) > .wp-block-column:nth-child(1) .mc-editable-card::before { background-image: url("../images/icon-solvent.svg"); }
.mc-categories-block > .mc-category-columns:nth-child(2) > .wp-block-column:nth-child(2) .mc-editable-card::before { background-image: url("../images/icon-acid.svg"); }
.mc-categories-block > .mc-category-columns:nth-child(2) > .wp-block-column:nth-child(3) .mc-editable-card::before { background-image: url("../images/icon-food.svg"); }
.mc-categories-block > .mc-category-columns:nth-child(3) > .wp-block-column:nth-child(1) .mc-editable-card::before { background-image: url("../images/icon-water.svg"); }
.mc-categories-block > .mc-category-columns:nth-child(3) > .wp-block-column:nth-child(2) .mc-editable-card::before { background-image: url("../images/icon-lab.svg"); }
.mc-categories-block > .mc-category-columns:nth-child(3) > .wp-block-column:nth-child(3) .mc-editable-card::before { background-image: url("../images/icon-detergent.svg"); }
.mc-categories-block .mc-category-solvents::before { background-image: url("../images/icon-solvent.svg"); }
.mc-categories-block .mc-category-acids::before { background-image: url("../images/icon-acid.svg"); }
.mc-categories-block .mc-category-food::before { background-image: url("../images/icon-food.svg"); }
.mc-categories-block .mc-category-water::before { background-image: url("../images/icon-water.svg"); }
.mc-categories-block .mc-category-lab::before { background-image: url("../images/icon-lab.svg"); }
.mc-categories-block .mc-category-detergent::before { background-image: url("../images/icon-detergent.svg"); }
.mc-products-block { background: #fff; }
.mc-products-block > .woocommerce, .mc-products-block > .wc-block-grid, .mc-products-block > [class*="wp-block-woocommerce"] { width: min(1180px,calc(100% - 40px)); margin-inline: auto; }
.mc-quote-block { color: #fff; background: var(--mc-teal); }
.mc-quote-block h2 { color: #fff; font-size: clamp(30px,4vw,48px); line-height: 1.35; }
.mc-quote-block p, .mc-quote-block li { color: #d7f3ef; }
.mc-quote-block li { margin-bottom: 7px; }
.mc-process-box { padding: 27px; border: 1px solid rgba(255,255,255,.22); border-radius: 24px; background: rgba(5,45,58,.32); }
.mc-process-box h4 { margin: 10px 0 0; color: #fff; }
.mc-process-box p { margin: 2px 0 12px; color: #b9d8d7; font-size: 13px; }
.mc-editable-trust { width: min(1180px,calc(100% - 40px)); margin: 38px auto; gap: 0; border: 1px solid var(--mc-line); border-radius: var(--mc-radius); overflow: hidden; }
.mc-editable-trust > .wp-block-column { margin: 0; padding: 20px 24px; border-left: 1px solid var(--mc-line); }
.mc-editable-trust > .wp-block-column:last-child { border-left: 0; }
.mc-editable-trust h4 { margin: 0; color: var(--mc-deep); }
.mc-editable-trust p { margin: 2px 0 0; color: var(--mc-muted); font-size: 12px; }
.mc-inner-hero { padding: 75px max(20px,calc((100% - 1180px)/2)); color: #fff; background: linear-gradient(135deg,var(--mc-deep),var(--mc-deep-2)); }
.mc-inner-hero h1 { margin: 8px 0 10px; color: #fff; font-size: clamp(36px,5vw,58px); }
.mc-about-image img { max-height: 430px; object-fit: contain; border-radius: 24px; background: linear-gradient(140deg,#eaf8f6,#f9fbfb); }
.mc-contact-card { padding: 28px; border: 1px solid var(--mc-line); border-radius: var(--mc-radius); background: var(--mc-surface); }
.mc-contact-card h3 { margin-top: 0; color: var(--mc-deep); }
.mirzaei-form { padding: 28px; border: 1px solid var(--mc-line); border-radius: var(--mc-radius); background: #fff; box-shadow: 0 9px 30px rgba(7,59,76,.06); }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 17px; margin-bottom: 20px; }
.mirzaei-form label { display: flex; flex-direction: column; gap: 6px; color: var(--mc-deep); font-size: 13px; font-weight: 700; }
.mirzaei-form .form-full { grid-column: 1/-1; }
.mirzaei-form input, .mirzaei-form textarea { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #cfdedc; border-radius: 10px; outline: 0; background: #fbfdfd; font-weight: 400; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.mirzaei-form input:focus, .mirzaei-form textarea:focus { border-color: var(--mc-teal); box-shadow: var(--mc-focus); background: #fff; }
.mirzaei-form button { color: var(--mc-deep); }
.mirzaei-form-notice { margin-bottom: 18px; padding: 12px 15px; border-radius: 10px; }
.mirzaei-form-notice.is-success { color: #075c46; background: #dff8ef; }
.mirzaei-form-notice.is-error { color: #8a2f2f; background: #fee8e8; }
.elementor-page .builder-entry .entry-content > * { max-width: none; width: auto; }

/* Responsive */
@media (max-width: 1080px) {
  .main-header-inner { grid-template-columns: 215px minmax(260px,1fr) auto; gap: 18px; }
  .brand-logo img, .custom-logo-link img { max-height: 65px; }
  .header-actions { gap: 8px; }
  .primary-menu a { padding-inline: 11px; }
  .hero-grid { gap: 20px; }
  .category-grid { grid-template-columns: repeat(3,1fr); }
  .category-card { min-height: 185px; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 920px) {
  .container { width: min(calc(100% - 28px), 820px); }
  .main-header-inner { min-height: auto; grid-template-columns: minmax(170px,1fr) auto; gap: 12px 18px; padding-block: 13px; }
  .header-search { display: block; grid-column: 1/-1; grid-row: 2; }
  .header-actions { grid-column: 2; grid-row: 1; justify-self: end; }
  .brand-logo, .custom-logo-link { grid-column: 1; grid-row: 1; }
  .site-navigation .nav-inner { min-height: 54px; }
  .menu-toggle { position: relative; display: flex; flex-direction: column; justify-content: center; width: 78px; min-height: 48px; padding: 8px 0 8px 46px; }
  .menu-toggle b { position: absolute; right: 31px; white-space: nowrap; }
  .menu-wrap { position: fixed; z-index: 120; top: 0; right: 0; width: min(340px,88vw); height: 100vh; height: 100dvh; padding: 0 18px 24px; overflow-y: auto; overscroll-behavior: contain; color: var(--mc-deep); background: #fff; box-shadow: -20px 0 50px rgba(0,0,0,.2); visibility: hidden; transform: translateX(105%); transition: transform .28s var(--mc-ease), visibility .28s; }
  .menu-open .menu-wrap { visibility: visible; transform: translateX(0); }
  .mobile-menu-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; min-height: 68px; margin: 0 -4px 8px; border-bottom: 1px solid var(--mc-line); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }
  .mobile-menu-header strong { color: var(--mc-deep); }
  .menu-close { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--mc-line); border-radius: 12px; color: var(--mc-deep); background: var(--mc-surface); cursor: pointer; }
  .menu-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .menu-backdrop { position: fixed; z-index: 110; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(5,45,58,.58); opacity: 0; visibility: hidden; cursor: pointer; backdrop-filter: blur(2px); transition: opacity .25s ease, visibility .25s; }
  .menu-open .menu-backdrop { opacity: 1; visibility: visible; }
  .primary-menu { display: block; }
  .primary-menu a { min-height: 48px; padding: 10px 11px; border-bottom: 1px solid var(--mc-line); border-radius: 8px; }
  .primary-menu a:hover, .primary-menu .current-menu-item > a, .primary-menu .current_page_item > a { color: var(--mc-teal); background: var(--mc-surface); }
  .primary-menu .sub-menu { position: static; min-width: 0; margin: 2px 14px 7px 0; padding: 0; border: 0; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .primary-menu .sub-menu a { min-height: 42px; font-size: 13px; }
  .nav-quote { min-height: 40px; font-size: 12px; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-block: 55px 30px; }
  .hero-copy { text-align: center; margin-inline: auto; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-copy h1 { font-size: clamp(36px,8vw,54px); }
  .hero-buttons { justify-content: center; }
  .hero-visual { min-height: 350px; }
  .flask-card { max-width: 430px; }
  .search-strip-inner { grid-template-columns: 1fr; gap: 12px; }
  .search-strip-inner > div { text-align: center; }
  .demo-products, .woocommerce .products ul, .woocommerce ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .procurement-grid { grid-template-columns: 1fr; gap: 40px; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-grid div:nth-child(2) { border-left: 0; }
  .trust-grid div { border-bottom: 1px solid var(--mc-line); }
  .trust-grid div:nth-last-child(-n+2) { border-bottom: 0; }
  .post-grid { grid-template-columns: repeat(2,1fr); }
  .mc-editor-hero-columns { min-height: auto; padding-block: 50px 28px; }
  .mc-editor-hero-columns, .mc-editor-search .wp-block-columns, .mc-quote-block > .wp-block-columns { flex-direction: column; }
  .mc-hero-image-column { max-width: 500px; margin-inline: auto; }
  .mc-editable-trust { flex-wrap: wrap !important; }
  .mc-editable-trust > .wp-block-column { flex-basis: 50% !important; border-bottom: 1px solid var(--mc-line); }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 22px), 560px); }
  .topbar-inner { min-height: 34px; justify-content: center; text-align: center; }
  .topbar p { font-size: 11px; }
  .topbar-links { display: none; }
  .main-header-inner { grid-template-columns: minmax(140px,1fr) auto; gap: 10px; padding-block: 10px; }
  .brand-logo, .custom-logo-link { max-width: 180px; }
  .brand-logo img, .custom-logo-link img { max-height: 57px; }
  .header-action span:not(.cart-count) { display: none; }
  .header-action { min-width: 42px; min-height: 44px; padding: 5px; }
  .header-action svg { width: 23px; height: 23px; }
  .header-actions { gap: 4px; }
  .cart-count { top: -3px; right: -1px; }
  .chemical-search { padding: 4px; border-radius: 13px; }
  .chemical-search input { padding-inline: 11px; font-size: 13px; }
  .chemical-search button { min-width: 44px; min-height: 42px; padding: 9px 12px; }
  .chemical-search button span { display: none; }
  .nav-quote { padding: 7px 10px; }
  .hero-grid { padding-top: 42px; }
  .hero-copy h1 { letter-spacing: -1px; }
  .hero-copy > p { font-size: 15px; }
  .hero-buttons .button { width: 100%; }
  .hero-metrics { gap: 8px; }
  .hero-metrics strong { font-size: 15px; }
  .hero-metrics span { font-size: 10px; }
  .hero-visual { min-height: 270px; }
  .floating-label { min-width: 120px; padding: 7px; }
  .floating-label b { width: 36px; height: 36px; font-size: 12px; }
  .floating-label span { font-size: 9px; }
  .label-one { right: 0; }
  .label-two { left: 0; }
  .section { padding: 62px 0; }
  .section-heading, .mc-editor-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .category-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .category-card { min-height: 170px; padding: 20px 8px 13px; }
  .demo-products, .woocommerce .products ul, .woocommerce ul.products { grid-template-columns: 1fr; }
  .procurement-copy ul { grid-template-columns: 1fr; }
  .process-card > div { padding: 15px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid div, .trust-grid div:nth-child(2), .trust-grid div:nth-last-child(-n+2) { border-left: 0; border-bottom: 1px solid var(--mc-line); }
  .trust-grid div:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 46px; }
  .post-grid { grid-template-columns: 1fr; }
  .narrow-content { padding: 20px; overflow-x: auto; }
  .archive-header h1, .narrow-content h1, .woocommerce-products-header__title { font-size: 29px; }
  .woocommerce div.product { padding: 15px; }
  .woocommerce div.product .product_title { font-size: 27px; }
  .woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { float: none; width: 100%; }
  .woocommerce .woocommerce-ordering select { width: 100%; }
  .woocommerce table.shop_table_responsive { font-size: 13px; }
  .builder-entry .entry-content > :not(.alignfull):not(.alignwide), .builder-entry .entry-content > .alignwide { width: min(calc(100% - 22px),560px); }
  .mc-editor-hero .mc-hero-title { font-size: clamp(34px,11vw,42px); letter-spacing: -1px; }
  .mc-editor-hero, .mc-inner-hero { text-align: center; }
  .mc-inner-hero { padding: 58px 16px; }
  .mc-editor-hero .eyebrow, .mc-inner-hero .eyebrow { justify-content: center; }
  .mc-editor-hero .wp-block-buttons { justify-content: center; }
  .mc-hero-metrics { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
  .mc-hero-metrics > .wp-block-column { min-width: 0; margin: 0; }
  .mc-editor-search { padding: 16px 0; }
  .mc-editor-search .wp-block-column { width: 100%; }
  .mc-editor-section { padding: 58px 0; }
  .mc-category-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .mc-category-columns > .wp-block-column { min-width: 0; margin: 0; }
  .mc-categories-block .mc-editable-card { min-height: 178px; padding: 17px 12px; align-items: center; text-align: center; }
  .mc-categories-block .mc-editable-card::before { width: 52px; height: 52px; margin-bottom: 12px; background-size: 40px; }
  .mc-editable-trust { display: block; }
  .mc-editable-trust > .wp-block-column { border-left: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .mirzaei-form { padding: 18px; }
  .mirzaei-form .button { width: 100%; }
}

@media (max-width: 390px) {
  .brand-logo, .custom-logo-link { max-width: 150px; }
  .nav-quote { font-size: 11px; }
  .menu-wrap { width: 92vw; }
  .mc-category-columns { grid-template-columns: 1fr; }
  .mc-categories-block .mc-editable-card { min-height: 0; }
  .mc-hero-metrics h4 { font-size: 14px; }
  .mc-hero-metrics p { font-size: 9px; }
}

@media (hover: hover) and (pointer: fine) {
  .chemical-search button:hover, .quote-mini:hover, .nav-quote:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { transform: translateY(-2px); }
  .header-action:hover { transform: translateY(-2px); }
  .category-card:hover { transform: translateY(-6px); }
  .demo-product-card:hover, .woocommerce ul.products li.product:hover { transform: translateY(-5px); }
  .demo-product-card:hover > img, .woocommerce ul.products li.product:hover a img { transform: scale(1.035); }
  .mc-editable-card:hover { transform: translateY(-5px); }
  .mc-categories-block .mc-editable-card:hover::before { transform: translateY(-2px) rotate(-3deg) scale(1.05); background-color: #fff7dc; }
  .process-card > div:hover { background: rgba(255,255,255,.07); transform: translateX(-4px); }
  .mc-editor-hero .wp-block-button__link:hover, .mc-quote-block .wp-block-button__link:hover { transform: translateY(-2px); background: var(--mc-accent-hover); box-shadow: 0 10px 25px rgba(242,169,0,.22); }
  .mc-editor-hero .wp-block-button__link:hover::after, .mc-quote-block .wp-block-button__link:hover::after { transform: translateX(-4px); }
  .mc-editor-hero .is-style-outline .wp-block-button__link:hover { background: rgba(255,255,255,.12); }
  .mc-editor-heading a:hover { color: var(--mc-deep); transform: translateX(-3px); }
  .footer-cta:hover { color: var(--mc-deep-2); background: #fff; transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
