:root {
  --gold: #e39c27;
  --gold-dark: #c9820e;
  --ink: #20233a;
  --muted: #6d7082;
  --soft: #f6f6f6;
  --soft-2: #f1f1ef;
  --line: #dedede;
  --white: #fff;
  --container: 1120px;
  --radius: 8px;
  --shadow: 0 7px 22px rgba(18, 20, 31, .08);
}


@font-face {
  font-family: "IRANYekanX";
  src: url("../fonts/IRANSansXV.woff2") format("woff2"),
       url("../fonts/IRANSansXV.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANYekan";
  src: url("../fonts/WebYekan.woff") format("woff"),
       url("../fonts/WebYekan.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "IRANYekanX", "IRANYekan", Tahoma, Arial, sans-serif;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 10000; right: 20px; top: -80px; background: var(--gold); color: #111; padding: 10px 16px; border-radius: 0 0 8px 8px; transition: top .2s; }
.skip-link:focus { top: 0; }

/* Hero and navigation */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(71.111vw, 1024px);
  background-image: linear-gradient(90deg, rgba(5, 8, 12, .57), rgba(6, 7, 10, .12) 54%, rgba(5, 7, 10, .28)), url("../images/sections/hero-desktop.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: #fff;
  overflow: visible;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .22), transparent 32%, rgba(6, 9, 15, .22));
  pointer-events: none;
  border-radius: inherit;
}
.site-header { padding-top: 22px; position: relative; z-index: 30; overflow: visible; }
.top-nav { min-height: 66px; display: grid; grid-template-columns: 150px 1fr 205px; gap: 30px; align-items: center; direction: rtl; }
.brand { justify-self: start; display: block; width: 128px; }
.brand img { width: 100%; max-height: 60px; object-fit: contain; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 42px; font-size: 15px; font-weight: 500; }
.main-nav .nav-item { position: relative; display: flex; align-items: center; flex-wrap: wrap; }
.main-nav .nav-link,
.main-nav > a { position: relative; opacity: .92; transition: color .2s, opacity .2s; }
.main-nav .nav-link:hover,
.main-nav .nav-link.is-active,
.main-nav > a:hover,
.main-nav > a.is-active,
.main-nav .nav-item.is-current > .nav-link { color: var(--gold); opacity: 1; }
.main-nav .nav-link.is-active::after,
.main-nav > a.is-active::after { content: ""; position: absolute; right: 50%; transform: translateX(50%); bottom: -16px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.chevron { margin-right: 4px; font-size: 14px; }
.submenu-toggle {
  display: none;
  margin-right: 4px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  background: rgba(255,255,255,.08);
  color: inherit;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.submenu-toggle span { display: block; line-height: 1; transition: transform .2s; }
.nav-item.is-open > .submenu-toggle span { transform: rotate(180deg); }

/* Dropdown submenu */
.main-nav .submenu {
  position: absolute;
  top: calc(100% + 14px);
  right: 50%;
  transform: translateX(50%) translateY(6px);
  min-width: 220px;
  padding: 10px 0;
  border-radius: 10px;
  background: rgba(18, 18, 20, .97);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 40;
}
.main-nav .nav-item.has-submenu:hover > .submenu,
.main-nav .nav-item.has-submenu:focus-within > .submenu,
.main-nav .nav-item.is-open > .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(50%) translateY(0);
}
.main-nav .submenu .nav-item { display: block; width: 100%; }
.main-nav .submenu .nav-link {
  display: block;
  padding: 10px 16px;
  white-space: nowrap;
  font-size: 13px;
  opacity: .9;
}
.main-nav .submenu .nav-link:hover,
.main-nav .submenu .nav-link.is-active { color: var(--gold); background: rgba(255,255,255,.04); }
.main-nav .submenu .nav-link.is-active::after { display: none; }
.main-nav .submenu .submenu-toggle { display: none; }
.main-nav .submenu--nested {
  top: 0;
  right: calc(100% + 4px);
  transform: translateY(6px);
}
.main-nav .submenu .nav-item.has-submenu:hover > .submenu--nested,
.main-nav .submenu .nav-item.has-submenu:focus-within > .submenu--nested,
.main-nav .submenu .nav-item.is-open > .submenu--nested {
  transform: translateY(0);
}

/* Mega menu — کلاس CSS آیتم: mega-menu */
.main-nav .nav-item.is-mega > .submenu {
  right: 50%;
  left: auto;
  width: min(720px, 82vw);
  min-width: 420px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 12px;
  transform: translateX(50%) translateY(6px);
}
.main-nav .nav-item.is-mega:hover > .submenu,
.main-nav .nav-item.is-mega:focus-within > .submenu,
.main-nav .nav-item.is-mega.is-open > .submenu {
  transform: translateX(50%) translateY(0);
}
.main-nav .nav-item.is-mega > .submenu > .nav-item > .nav-link {
  font-weight: 700;
  color: #fff;
  padding: 8px 10px;
  white-space: normal;
}
.main-nav .nav-item.is-mega > .submenu .submenu {
  position: static;
  transform: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  box-shadow: none;
  background: transparent;
  padding: 0 0 8px;
  min-width: 0;
  display: grid;
  gap: 2px;
}
.main-nav .nav-item.is-mega > .submenu .submenu .nav-link {
  font-weight: 500;
  font-size: 12px;
  opacity: .82;
  padding: 6px 10px;
}

/* Category nav with optional submenu */
.category-nav .nav-item { position: relative; display: flex; align-items: center; }
.category-nav .submenu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  padding: 8px 0;
  border-radius: 8px;
  background: rgba(20,20,22,.97);
  box-shadow: 0 14px 32px rgba(0,0,0,.28);
  opacity: 0;
  visibility: hidden;
  z-index: 35;
  transition: .18s ease;
}
.category-nav .nav-item.has-submenu:hover > .submenu,
.category-nav .nav-item.is-open > .submenu {
  opacity: 1;
  visibility: visible;
}
.category-nav .submenu .nav-link {
  display: block;
  padding: 9px 14px;
  white-space: nowrap;
}
.category-nav .submenu-toggle { display: none; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 12px; direction: ltr; }
.icon-btn { width: 34px; height: 34px; border: 0; padding: 6px; display: grid; place-items: center; background: transparent; color: #fff; cursor: pointer; }
.icon-btn svg, .phone-link svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.header-divider { width: 1px; height: 26px; background: rgba(255,255,255,.42); }
.phone-link { direction: ltr; display: flex; align-items: center; gap: 9px; font-size: 15px; white-space: nowrap; }
.phone-link svg { width: 19px; height: 19px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.35); border-radius: 7px; background: rgba(0,0,0,.2); padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 5px; }
.category-nav {
  margin-top: 18px;
  min-height: 60px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(94,96,97,.64), rgba(47,49,51,.64));
  box-shadow: inset 0 1px rgba(255,255,255,.18), 0 5px 22px rgba(0,0,0,.22);
  backdrop-filter: blur(5px);
  font-size: 13px;
  white-space: nowrap;
}
.category-nav a { color: rgba(255,255,255,.9); transition: color .2s; }
.category-nav a:hover, .category-nav a.is-active { color: var(--gold); }
.hero-content { position: absolute; z-index: 2; inset-inline: 0; top: 48%; transform: translateY(-25%); text-align: center; }
.hero-kicker { display: none; }
.hero-content h1 { margin: 0 0 8px; font-size: clamp(38px, 3.05vw, 50px); line-height: 1.4; font-weight: 800; letter-spacing: -.6px; text-shadow: 0 3px 14px rgba(0,0,0,.35); }
.hero-content p { margin: 0; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.9; color: rgba(255,255,255,.95); text-shadow: 0 2px 9px rgba(0,0,0,.45); }
.hero-cta { display: none; }

/* Shared sections */
.section { padding: 62px 0; }
.section-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 34px; }
.section-heading.centered { align-items: center; text-align: center; }
.section-heading.compact { margin-bottom: 0; }
.section-heading h2 { margin: 0; font-size: 21px; line-height: 1.5; font-weight: 800; }
.section-heading > span { display: block; width: 66px; height: 4px; border-radius: 8px; background: var(--gold); }
.section-heading.light { color: #fff; }
.btn { min-height: 40px; padding: 9px 19px; border: 0; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #161616; }
.btn-gold:hover { background: #eda936; }
.section-action { margin-top: 30px; text-align: center; }

/* Category cards */
.category-section { padding-top: 54px; padding-bottom: 40px; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.category-card {
  min-height: 285px;
  padding: 22px 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  background: #f5f5f5;
  box-shadow: 0 1px 0 rgba(20,20,20,.03);
  transition: transform .2s, box-shadow .2s;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.category-card img { width: 100%; height: 205px; object-fit: contain; }
.category-card h3 { position: relative; margin: 8px 0 0; padding-bottom: 13px; font-size: 15px; font-weight: 700; text-align: center; }
.category-card h3::after { content: ""; position: absolute; right: 50%; bottom: 0; width: 56px; height: 4px; border-radius: 6px; transform: translateX(50%); background: var(--gold); }

/* About band */
.about-band {
  position: relative;
  min-height: 420px;
  padding: 46px 0;
  color: #fff;
  background: #16110a url("../images/sections/about-bg.webp") center/cover no-repeat;
  overflow: hidden;
}
.about-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,8,.32), rgba(9,8,6,.1)); }
.about-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.02fr; gap: 52px; align-items: center; }
.about-copy { padding-right: 20px; }
.about-copy .eyebrow { color: var(--gold); font-size: 14px; }
.about-copy h2 { margin: 4px 0 10px; font-size: 27px; }
.about-copy p { margin: 0; max-width: 570px; color: rgba(255,255,255,.92); font-size: 16px; line-height: 2; }
.about-machine { margin: 0; order: 2; }
.about-machine img { width: 100%; max-height: 330px; object-fit: contain; filter: drop-shadow(0 12px 30px rgba(0,0,0,.32)); }
.service-icons { margin-top: 26px; display: flex; gap: 30px; align-items: flex-start; }
.service-icons div { min-width: 72px; display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--gold); font-size: 13px; }
.service-icons img { width: 54px; height: 54px; object-fit: contain; filter: sepia(1) saturate(4) hue-rotate(350deg) brightness(1.04); }

/* Product rows */
.product-showcase { padding-top: 58px; padding-bottom: 58px; }
.row-heading { margin-bottom: 34px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; }
.row-heading > a { justify-self: end; font-size: 13px; }
.row-heading > a span { font-size: 21px; vertical-align: -2px; }
.heading-spacer { display: block; }
.product-slider { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.product-card {
  position: relative;
  min-width: 0;
  padding: 14px 16px 15px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card__favorite { position: absolute; top: 13px; left: 12px; width: 28px; height: 28px; display: grid; place-items: center; border: 0; background: transparent; color: #687089; cursor: pointer; z-index: 2; }
.product-card__favorite svg { width: 22px; height: 22px; fill: transparent; stroke: currentColor; stroke-width: 1.6; transition: fill .2s, color .2s; }
.product-card__favorite.is-favorite { color: #d86161; }
.product-card__favorite.is-favorite svg { fill: currentColor; }
.product-card__image { height: 185px; display: grid; place-items: center; overflow: hidden; }
.product-card__image img { width: 100%; height: 100%; object-fit: contain; }
.product-card h3 { min-height: 47px; margin: 9px 0 2px; font-size: 14px; line-height: 1.7; }
.product-card p { margin: 0 0 11px; font-size: 13px; }
.product-card .btn { min-height: 34px; padding: 6px 15px; font-size: 12px; }
.slider-arrow { display: none; }

/* Catalog blocks */
.catalog-block { padding: 20px 0 36px; }
.catalog-banner { position: relative; display: block; height: 310px; overflow: hidden; border-radius: 10px; background: #222; }
.catalog-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.74), rgba(0,0,0,0) 55%); }
.catalog-banner img { width: 100%; height: 100%; object-fit: cover; }
.catalog-banner > span { position: absolute; z-index: 2; right: 32px; bottom: 24px; color: #fff; font-size: 27px; line-height: 1.25; font-weight: 800; text-shadow: 0 2px 8px rgba(0,0,0,.55); }
.catalog-banner > span strong { font-size: 31px; }
.catalog-row { padding-top: 28px; }
.catalog-row__title { margin-bottom: 25px; display: flex; align-items: center; justify-content: space-between; }
.catalog-row__title h2 { position: relative; margin: 0; padding-right: 14px; font-size: 24px; }
.catalog-row__title h2::before { content: ""; position: absolute; right: 0; top: 3px; width: 5px; height: 30px; border-radius: 8px; background: var(--gold); }
.catalog-row__title a { font-size: 13px; }

/* Projects */
.projects { margin-top: 30px; padding: 32px 0 40px; color: #fff; background: #2d2f30 url("../images/sections/projects-bg.webp") center/cover no-repeat; }
.projects .section-heading { margin-bottom: 25px; }
.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px 34px; align-items: center; }
.logo-grid img { width: 100%; height: 75px; object-fit: contain; filter: grayscale(1) brightness(4); opacity: .96; }

/* Editorial */
.editorial { padding-top: 72px; padding-bottom: 54px; }
.editorial-grid { display: grid; gap: 44px; }
.editorial-row { display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center; }
.editorial-row.reverse { grid-template-columns: 1.08fr 1fr; }
.editorial-row.reverse .editorial-copy { order: 2; }
.editorial-row.reverse figure { order: 1; }
.editorial-row figure { margin: 0; border-radius: 8px; overflow: hidden; }
.editorial-row figure img { width: 100%; height: 355px; object-fit: cover; }
.editorial-copy h2 { margin: 0 0 10px; color: var(--gold-dark); font-size: 21px; }
.editorial-copy p { margin: 0 0 8px; color: #313131; text-align: justify; font-size: 14px; line-height: 2.15; }

/* List section */
.equipment-list { padding: 44px 0 54px; background: #f4f4f1; }
.equipment-list .section-heading { margin-bottom: 14px; }
.equipment-list__intro { max-width: 970px; margin: 0 auto 26px; text-align: center; font-size: 14px; }
.equipment-columns { max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 88px; }
.equipment-columns ul { margin: 0; padding: 0; list-style: none; }
.equipment-columns li { position: relative; padding-right: 17px; line-height: 2.1; font-size: 14px; }
.equipment-columns li::before { content: ""; position: absolute; right: 0; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.equipment-list__button { margin-top: 22px; }

/* Maintenance */
.maintenance { padding-top: 48px; padding-bottom: 44px; }
.maintenance-grid { display: grid; grid-template-columns: 1fr 1.06fr; gap: 50px; align-items: center; }
.maintenance figure { margin: 0; border-radius: 8px; overflow: hidden; }
.maintenance figure img { width: 100%; height: 310px; object-fit: cover; }
.maintenance h2 { margin: 0 0 10px; color: var(--gold-dark); font-size: 21px; }
.maintenance p { margin: 0 0 10px; font-size: 14px; text-align: justify; line-height: 2.15; }
.read-more { display: inline-block; margin-top: 10px; color: var(--gold-dark); font-weight: 700; }

/* Journal */
.journal { padding-top: 42px; padding-bottom: 64px; }
.journal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.journal article { min-width: 0; }
.journal article a { display: block; }
.journal img { width: 100%; height: 160px; border-radius: 7px; object-fit: cover; }
.journal h3 { margin: 10px 0 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; }
.journal time { color: var(--gold); font-size: 13px; direction: ltr; display: inline-block; }

/* Footer */
.site-footer { position: relative; padding: 42px 0 15px; color: #fff; background: #18130d url("../images/sections/footer-bg.webp") center/cover no-repeat; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.15), rgba(0,0,0,.34)); }
.footer-grid, .footer-address, .copyright { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 230px 1.7fr .8fr .9fr .85fr; gap: 34px; align-items: start; }
.footer-contact-cards { display: grid; gap: 12px; }
.contact-card { min-height: 84px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.27); border-radius: 7px; background: rgba(255,255,255,.12); backdrop-filter: blur(2px); text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.contact-card span { font-size: 12px; }
.contact-card strong { margin-top: 3px; font-size: 19px; letter-spacing: .5px; }
.contact-card a { font-size: 13px; direction: ltr; }
.phone-card { position: relative; padding-bottom: 55px; }
.phone-illustration { position: absolute; bottom: 6px; font-size: 42px !important; line-height: 1; color: var(--gold); transform: rotate(-14deg); }
.social-links { display: flex; align-items: center; gap: 10px; margin-top: 14px; direction: ltr; flex-wrap: wrap; }
.social-links a,
.social-links__item {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  transition: background .2s, transform .2s, border-color .2s, color .2s;
}
.social-links a:hover,
.social-links__item:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #18120a;
  transform: translateY(-2px);
}
.social-links img,
.social-links svg {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}
.social-links img {
  filter: brightness(0) invert(1);
}
.footer-social {
  margin-top: 18px;
}
.footer-social__label {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}
.footer-social .social-links {
  margin-top: 0;
}
.footer-about > img,
.footer-about .custom-logo-link img { width: 145px; margin-bottom: 12px; }
.footer-about p { margin: 0; text-align: justify; font-size: 13px; line-height: 2; color: rgba(255,255,255,.9); }
.footer-links h2 { margin: 3px 0 11px; font-size: 15px; color: #fff; }
.footer-links a { display: block; margin: 5px 0; font-size: 13px; color: rgba(255,255,255,.88); }
.footer-links a:hover { color: var(--gold); }
.footer-features { display: grid; gap: 18px; }
.footer-features > div { display: flex; align-items: center; gap: 10px; }
.footer-features img { width: 43px; height: 43px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-features span { display: flex; flex-direction: column; font-size: 10px; color: rgba(255,255,255,.78); line-height: 1.7; }
.footer-features strong { color: var(--gold); font-size: 14px; }
.footer-address { margin-top: 16px; padding: 10px 0 14px; border-bottom: 1px solid rgba(255,255,255,.3); text-align: center; font-size: 12px; }
.footer-address::after { content: "⌖"; margin-right: 7px; color: var(--gold); font-size: 22px; vertical-align: -2px; }
.copyright { padding-top: 10px; text-align: center; color: rgba(255,255,255,.65); font-size: 11px; }

/* Search */
.search-dialog { width: min(92vw, 640px); border: 0; border-radius: 14px; padding: 0; box-shadow: 0 25px 70px rgba(0,0,0,.32); }
.search-dialog::backdrop { background: rgba(0,0,0,.58); backdrop-filter: blur(3px); }
.search-dialog__box { position: relative; display: grid; gap: 16px; padding: 32px; }
.search-dialog__box h2 { margin: 0; font-size: 21px; }
.search-dialog__box input { width: 100%; height: 52px; padding: 0 16px; border: 1px solid #ccc; border-radius: 7px; outline: none; }
.search-dialog__box input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(227,156,39,.16); }
.search-close { position: absolute; left: 12px; top: 10px; border: 0; background: transparent; font-size: 31px; cursor: pointer; }

/* Tablet */
@media (max-width: 1100px) {
  :root { --container: 930px; }
  .top-nav { grid-template-columns: 130px 1fr 175px; gap: 16px; }
  .main-nav { gap: 25px; font-size: 14px; }
  .category-nav { overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .category-nav::-webkit-scrollbar { display: none; }
  .hero-content { top: 51%; }
  .category-grid { gap: 20px; }
  .category-card { min-height: 250px; }
  .category-card img { height: 180px; }
  .product-slider { gap: 18px; }
  .catalog-banner { height: 280px; }
  .footer-grid { grid-template-columns: 210px 1.6fr .8fr .9fr; }
  .footer-features { grid-column: 2 / -1; grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .container { width: min(calc(100% - 32px), 720px); }
  .hero { min-height: 720px; background-position: center top; }
  .top-nav { display: flex; justify-content: space-between; }
  .brand { width: 116px; }
  .menu-toggle { display: block; order: 3; }
  .header-actions { margin-right: auto; }
  .phone-link { display: none; }
  .header-divider { display: none; }
  .main-nav { position: absolute; top: 76px; left: 16px; right: 16px; padding: 18px; display: none; flex-direction: column; align-items: stretch; gap: 0; border-radius: 10px; background: rgba(15,15,15,.96); box-shadow: 0 15px 45px rgba(0,0,0,.28); z-index: 50; }
  .main-nav.is-open { display: flex; }
  .main-nav .nav-item { display: flex; flex-wrap: wrap; align-items: center; width: 100%; border-bottom: 1px solid rgba(255,255,255,.09); }
  .main-nav .nav-item:last-child { border-bottom: 0; }
  .main-nav .nav-link,
  .main-nav > a { flex: 1; padding: 11px 8px; border-bottom: 0; }
  .main-nav .nav-link.is-active::after,
  .main-nav > a.is-active::after { display: none; }
  .main-nav .submenu-toggle { display: inline-flex; }
  .main-nav .submenu,
  .main-nav .nav-item.is-mega > .submenu {
    position: static;
    width: 100%;
    min-width: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    grid-template-columns: 1fr;
    padding: 0 0 8px 8px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }
  .main-nav .nav-item.is-open > .submenu { display: grid; }
  .main-nav .nav-item.is-mega > .submenu .submenu {
    display: grid;
    padding: 0 0 4px 8px;
  }
  .main-nav .submenu .nav-link { padding: 9px 10px; white-space: normal; }
  .main-nav .submenu--nested { right: auto; }
  .category-nav { margin-top: 12px; min-height: 50px; padding: 0 15px; gap: 20px; }
  .hero-content { top: 51%; transform: translateY(-18%); }
  .hero-content h1 { font-size: 34px; }
  .hero-content p { font-size: 15px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .about-band__inner { grid-template-columns: 1fr; gap: 25px; }
  .about-machine { order: 1; }
  .about-copy { order: 2; padding: 0; text-align: center; }
  .about-copy p { margin-inline: auto; }
  .service-icons { justify-content: center; }
  .product-slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
  .product-card { flex: 0 0 calc(50% - 10px); scroll-snap-align: start; }
  .catalog-banner { height: 245px; }
  .catalog-banner > span { font-size: 23px; }
  .catalog-banner > span strong { font-size: 27px; }
  .editorial-row, .editorial-row.reverse { grid-template-columns: 1fr; gap: 22px; }
  .editorial-row.reverse .editorial-copy, .editorial-row.reverse figure { order: initial; }
  .editorial-row figure img { height: 330px; }
  .maintenance-grid { grid-template-columns: 1fr; }
  .journal-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-contact-cards { grid-row: span 2; }
  .footer-features { grid-column: 1 / -1; }
}

/* Mobile */
@media (max-width: 600px) {
  .container { width: min(calc(100% - 24px), 430px); }
  .section { padding: 42px 0; }
  .site-header { padding-top: 10px; }
  .hero {
    min-height: 650px;
    background-image: linear-gradient(180deg, rgba(0,0,0,.28), rgba(6,8,12,.2)), url("../images/sections/hero-mobile.webp");
    background-size: cover;
    background-position: center top;
  }
  .top-nav { min-height: 58px; }
  .brand { width: 103px; }
  .menu-toggle { width: 40px; height: 40px; padding: 8px; }
  .icon-btn { width: 38px; height: 38px; }
  .category-nav { border-radius: 6px; margin-inline: 12px; width: calc(100% - 24px); font-size: 11px; }
  .hero-content { top: 47%; padding-inline: 8px; transform: translateY(-10%); }
  .hero-kicker { display: block; margin: 0 0 7px !important; color: var(--gold) !important; font-size: 12px !important; font-weight: 700; }
  .hero-content h1 { font-size: clamp(27px, 8vw, 36px); line-height: 1.45; }
  .hero-content p { font-size: 13px; line-height: 2; }
  .hero-content p br { display: none; }
  .hero-cta { margin-top: 20px; display: inline-flex; min-height: 42px; padding: 8px 18px; align-items: center; justify-content: center; border-radius: 5px; background: var(--gold); color: #151515; font-size: 13px; font-weight: 700; }
  .section-heading { margin-bottom: 24px; }
  .section-heading h2 { font-size: 18px; }
  .category-section { padding-top: 38px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-card { min-height: 205px; padding: 12px 10px; }
  .category-card img { height: 145px; }
  .category-card h3 { font-size: 12px; padding-bottom: 10px; }
  .category-card h3::after { width: 42px; height: 3px; }
  .section-action { margin-top: 22px; }
  .btn { font-size: 12px; }
  .about-band { min-height: 710px; padding: 32px 0; background-image: url("../images/sections/about-bg-mobile.webp"); background-position: center; }
  .about-machine img { max-height: 240px; }
  .about-copy h2 { font-size: 23px; }
  .about-copy p { font-size: 13px; text-align: justify; }
  .service-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
  .service-icons div { min-width: 0; font-size: 11px; }
  .service-icons img { width: 44px; height: 44px; }
  .row-heading { margin-bottom: 24px; grid-template-columns: 1fr auto 1fr; }
  .row-heading > a { font-size: 11px; }
  .product-slider { margin-inline: -12px; padding-inline: 12px; gap: 12px; }
  .product-card { flex-basis: 76%; padding: 12px 14px 14px; }
  .product-card__image { height: 180px; }
  .catalog-block { padding: 14px 0 26px; }
  .catalog-banner { height: 150px; border-radius: 8px; }
  .catalog-banner > span { right: 18px; bottom: 15px; font-size: 17px; }
  .catalog-banner > span strong { font-size: 20px; }
  .catalog-row { padding-top: 20px; }
  .catalog-row__title { margin-bottom: 17px; }
  .catalog-row__title h2 { font-size: 17px; padding-right: 11px; }
  .catalog-row__title h2::before { top: 1px; height: 25px; width: 4px; }
  .catalog-row__title a { font-size: 11px; }
  .projects { margin-top: 16px; padding: 28px 0; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); gap: 20px 16px; }
  .logo-grid img { height: 54px; }
  .editorial { padding-top: 44px; }
  .editorial-grid { gap: 36px; }
  .editorial-row figure img { height: 255px; }
  .editorial-copy h2 { font-size: 18px; }
  .editorial-copy p { font-size: 13px; }
  .equipment-list { padding: 38px 0 44px; }
  .equipment-list__intro { text-align: justify; font-size: 13px; }
  .equipment-columns { grid-template-columns: 1fr; gap: 0; }
  .equipment-columns li { font-size: 13px; }
  .equipment-list__button { width: 100%; }
  .maintenance figure img { height: 245px; }
  .maintenance h2 { font-size: 18px; }
  .maintenance p { font-size: 13px; }
  .journal { padding-top: 34px; padding-bottom: 44px; }
  .journal-grid { grid-template-columns: 1fr; gap: 22px; }
  .journal img { height: 180px; }
  .journal h3 {
    font-size: 14px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .journal time { font-size: 12px; }
  .site-footer { padding-top: 34px; background-position: 30% center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .footer-contact-cards { grid-column: 1 / -1; grid-row: auto; grid-template-columns: 1fr; }
  .phone-card { padding-bottom: 52px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-about img { margin-inline: auto; }
  .footer-features { grid-template-columns: 1fr; gap: 13px; }
  .footer-address { font-size: 10px; }
  .search-dialog__box { padding: 28px 18px 20px; }
}

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

/* Fidelity refinements */
.row-heading { direction: ltr; grid-template-areas: "view title spacer"; }
.row-heading > a { grid-area: view; justify-self: start; direction: rtl; }
.row-heading .section-heading { grid-area: title; direction: rtl; }
.row-heading .heading-spacer { grid-area: spacer; }
.product-card__image {
  height: 164px;
  margin: 6px 0 8px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.product-card h3 { margin-top: 2px; }
.product-card__image img {
  width: 100%;
  height: 164px;
  max-width: 100%;
  max-height: 164px;
  object-fit: contain;
}
.footer-grid { direction: ltr; }
.footer-grid > * { direction: rtl; }

/* ============================================================
   Internal pages — Tajhiz Gostar complete site
   ============================================================ */
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
.site-header--inner { position: relative; padding: 10px 0 0; color: #fff; background: #151515; border-bottom: 1px solid rgba(227,156,39,.25); }
.site-header--inner .top-nav { min-height: 72px; }
.site-header--inner .category-nav { margin-bottom: 10px; }
.site-header--inner .cart-link { position: relative; }
.site-header--inner .cart-link span { position: absolute; top: 0; right: 0; min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; border-radius: 10px; background: var(--gold); color: #111; font-size: 10px; font-weight: 800; }
.page-hero { position: relative; min-height: 290px; display: flex; align-items: center; color: #fff; background: #292929 var(--page-hero-image) center/cover no-repeat; overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(0,0,0,.35),rgba(0,0,0,.76)); }
.page-hero .container { position: relative; z-index:1; }
.page-hero h1,
.page-hero__title { max-width: 800px; margin: 16px 0 8px; font-size: clamp(28px,3.2vw,46px); line-height:1.45; font-weight: 800; }
.page-hero p:not(.page-hero__title) { max-width:720px; margin:0; color:rgba(255,255,255,.85); font-size:15px; }
.breadcrumbs { display:flex; align-items:center; flex-wrap:wrap; gap:8px; color:rgba(255,255,255,.72); font-size:12px; }
.breadcrumbs a:hover { color:var(--gold); }
.eyebrow { display:inline-block; margin-bottom:8px; color:var(--gold-dark); font-size:13px; font-weight:800; }
.soft-section { background:#f5f5f2; }
.section-heading > p { max-width:650px; margin:10px auto 0; color:#666; font-size:13px; }
.text-link { color:var(--gold-dark); font-weight:800; }
.btn-block { width:100%; }

/* Universal internal footer */
.benefits { padding:22px 0; background:#f3f3f0; border-top:1px solid #e5e5df; }
.benefits-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.benefits-grid > div { display:grid; grid-template-columns:48px 1fr; column-gap:12px; align-items:center; }
.benefits-grid img { grid-row:1/3; width:45px; height:45px; object-fit:contain; }
.benefits-grid strong { font-size:14px; }
.benefits-grid span { color:#777; font-size:11px; }
.site-footer > .footer-grid { grid-template-columns:1.5fr repeat(3,.72fr) 1.25fr; direction:rtl; }
.site-footer > .footer-grid > * { direction:rtl; }
.site-footer .footer-grid h3 { margin:4px 0 14px; color:var(--gold); font-size:14px; }
.site-footer .footer-grid > div:not(.footer-about) > a { display:block; margin:7px 0; color:rgba(255,255,255,.85); font-size:12px; }
.site-footer .footer-grid > div:not(.footer-about) > a:hover { color:var(--gold); }
.footer-phone { display:inline-block; margin-top:12px; color:var(--gold); font-size:20px; font-weight:800; }
.newsletter { margin:12px 0; display:flex; direction:rtl; }
.newsletter input { width:100%; min-width:0; height:40px; padding:0 10px; border:1px solid rgba(255,255,255,.25); border-left:0; border-radius:0 5px 5px 0; color:#fff; background:rgba(255,255,255,.08); outline:0; }
.newsletter button { height:40px; padding:0 13px; border:0; border-radius:5px 0 0 5px; background:var(--gold); color:#18120a; font-weight:800; }
.site-footer small { color:rgba(255,255,255,.65); line-height:1.8; }
.footer-bottom { position:relative; z-index:1; margin-top:25px; padding-top:14px; display:flex; align-items:center; justify-content:space-between; border-top:1px solid rgba(255,255,255,.2); color:rgba(255,255,255,.65); font-size:11px; }

/* Search modal */
.search-box { position:relative; padding:30px; display:grid; gap:14px; }
.search-box > span { font-size:18px; font-weight:800; }
.search-box > div { display:flex; }
.search-box input { width:100%; height:50px; padding:0 14px; border:1px solid #ccc; border-left:0; border-radius:0 7px 7px 0; outline:0; }
.search-box > div button { padding:0 24px; border:0; border-radius:7px 0 0 7px; background:var(--gold); font-weight:800; }
.search-box p { margin:0; color:#777; font-size:12px; }
.search-box p a { display:inline-block; margin:3px; padding:4px 9px; border-radius:20px; background:#f1f1ed; }

/* Archive products */
.archive-section { padding:55px 0 75px; }
.archive-layout { display:grid; grid-template-columns:260px 1fr; gap:34px; align-items:start; }
.filter-panel { position:sticky; top:20px; padding:22px; border:1px solid #ddd; border-radius:10px; background:#fff; }
.filter-head { display:flex; align-items:center; justify-content:space-between; padding-bottom:14px; border-bottom:1px solid #e5e5e5; }
.filter-head h2 { margin:0; font-size:17px; }
.filter-close { display:none; border:0; background:transparent; font-size:28px; }
.filter-search { display:block; margin:19px 0; }
.filter-search span { display:block; margin-bottom:8px; font-size:12px; font-weight:800; }
.filter-search input { width:100%; height:42px; padding:0 11px; border:1px solid #d6d6d6; border-radius:6px; outline:0; }
.filter-panel fieldset { margin:0; padding:16px 0; border:0; border-top:1px solid #ececec; }
.filter-panel legend { margin-bottom:10px; padding:0; font-size:13px; font-weight:800; }
.filter-panel fieldset label { margin:7px 0; display:flex; align-items:center; gap:8px; color:#555; font-size:12px; cursor:pointer; }
.filter-panel input[type="checkbox"] { width:16px; height:16px; accent-color:var(--gold); }
.price-range input { width:100%; accent-color:var(--gold); }
.price-range > div { margin-top:7px; display:flex; justify-content:space-between; color:#777; font-size:11px; }
.price-range strong { color:#333; font-size:11px; }
.filter-reset { width:100%; }
.archive-toolbar { min-height:54px; margin-bottom:16px; padding:10px 14px; display:flex; align-items:center; justify-content:space-between; border:1px solid #e2e2e2; border-radius:8px; background:#fafafa; }
.archive-toolbar > div { display:flex; align-items:center; gap:12px; }
.archive-toolbar strong { font-size:12px; }
.archive-toolbar label { display:flex; align-items:center; gap:8px; color:#777; font-size:12px; }
.archive-toolbar select { height:34px; padding:0 10px 0 30px; border:1px solid #d5d5d5; border-radius:5px; background:#fff; }
.filter-open { display:none; min-height:35px; padding:0 12px; border:1px solid var(--gold); border-radius:5px; color:#6b450e; background:#fff6e5; font-weight:700; }
.active-filters { display:flex; gap:7px; flex-wrap:wrap; margin-bottom:14px; }
.active-filters:empty { display:none; }
.active-filters span { padding:6px 10px; border-radius:20px; color:#65420a; background:#fff1d7; font-size:11px; }
.archive-products { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.archive-products.four-cols { grid-template-columns:repeat(4,1fr); }
.product-card--archive { display:flex; flex-direction:column; padding:16px; text-align:right; }
.product-card--archive .product-card__image { height:190px; margin:0 0 8px; overflow:hidden; }
.product-card--archive .product-card__image img { height:190px; max-height:190px; }
.product-card--archive > small { color:var(--gold-dark); font-size:10px; }
.product-card--archive h3 { min-height:auto; margin:5px 0; font-size:14px; }
.product-summary { min-height:48px; margin:0 0 12px !important; color:#777; font-size:11px !important; line-height:1.9; }
.product-card__bottom { margin-top:auto; padding-top:12px; display:flex; align-items:center; justify-content:space-between; gap:8px; border-top:1px solid #eee; }
.product-card__bottom p { margin:0; white-space:nowrap; }
.product-card__bottom .btn { padding-inline:11px; }
.product-badge { position:absolute; top:12px; right:12px; z-index:2; padding:4px 9px; border-radius:4px; color:#1c160c; background:var(--gold); font-size:10px; font-weight:800; }
.empty-state { grid-column:1/-1; padding:70px 20px; text-align:center; border:1px dashed #ccc; border-radius:10px; background:#fafafa; }
.empty-state h3 { margin:0 0 5px; }
.empty-state p { margin:0; color:#777; font-size:13px; }
.pagination { margin-top:35px; display:flex; align-items:center; justify-content:center; gap:7px; }
.pagination a { min-width:36px; height:36px; padding:0 10px; display:grid; place-items:center; border:1px solid #ddd; border-radius:5px; font-size:12px; }
.pagination a.is-active,.pagination a:hover { border-color:var(--gold); color:#1a140b; background:var(--gold); }

/* Category */
.split-intro { display:grid; grid-template-columns:1fr 1fr; gap:55px; align-items:center; }
.split-intro img { width:100%; height:380px; border-radius:10px; object-fit:cover; }
.split-intro h2 { margin:0 0 12px; font-size:27px; line-height:1.6; }
.split-intro p { color:#555; text-align:justify; line-height:2.1; }
.subcat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.subcat-grid a { position:relative; min-height:240px; padding:18px; display:flex; flex-direction:column; justify-content:flex-end; border:1px solid #dedede; border-radius:9px; background:#fff; overflow:hidden; }
.subcat-grid img { position:absolute; inset:10px 10px 55px; width:calc(100% - 20px); height:calc(100% - 65px); object-fit:contain; transition:transform .25s; }
.subcat-grid a:hover img { transform:scale(1.04); }
.subcat-grid strong { position:relative; z-index:1; font-size:14px; }
.subcat-grid span { position:relative; z-index:1; color:var(--gold-dark); font-size:11px; }
.row-heading.simple { direction:rtl; display:flex; grid-template:none; justify-content:space-between; align-items:end; }
.row-heading.simple .section-heading { margin:0; }
.consult-strip { padding:38px 0; color:#fff; background:linear-gradient(110deg,#252525,#6a4513); }
.consult-strip .container { display:flex; align-items:center; justify-content:space-between; gap:25px; }
.consult-strip span { color:var(--gold); font-size:12px; }
.consult-strip h2 { margin:4px 0 0; font-size:23px; }
.btn-light { color:#20160a; background:#fff; border-color:#fff; }

/* Product detail */
.product-detail { padding:55px 0; }
.product-detail__grid {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: 55px;
  align-items: start;
  width: 100%;
}
.product-detail__grid > * { min-width: 0; }
.product-info { color: var(--ink, #20233a); }
.product-gallery { min-width: 0; }
.gallery-main {
  position: relative;
  height: 500px;
  padding: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.gallery-main > img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
.gallery-thumbs { margin-top:12px; display:grid; grid-template-columns:repeat(3,95px); gap:10px; }
.gallery-thumbs button {
  height: 80px;
  padding: 7px;
  border: 1px solid #ddd;
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.gallery-thumbs button.is-active { border-color:var(--gold); box-shadow:0 0 0 2px rgba(227,156,39,.15); }
.gallery-thumbs img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.product-code { color:#888; font-size:11px; }
.product-info > h1 { margin:8px 0; font-size:28px; }
.rating { display:flex; align-items:center; gap:10px; }
.rating span { color:var(--gold); letter-spacing:2px; }
.rating a { color:#777; font-size:11px; }
.product-info .lead { margin:18px 0; color:#555; font-size:13px; line-height:2; }
.feature-list,.check-list { margin:0 0 20px; padding:0; list-style:none; }
.feature-list li,.check-list li { position:relative; margin:7px 0; padding-right:22px; font-size:12px; }
.feature-list li::before,.check-list li::before { content:'✓'; position:absolute; right:0; color:var(--gold-dark); font-weight:900; }
.product-options { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.product-options label { display:grid; gap:6px; font-size:11px; font-weight:700; }
.product-options select { height:43px; padding:0 10px; border:1px solid #ddd; border-radius:6px; background:#fff; }
.price-box { margin:18px 0; padding:17px 19px; border-right:4px solid var(--gold); border-radius:7px; background:#f7f7f4; }
.price-box small { display:block; color:#777; }
.price-box > strong { display:block; margin:4px 0; font-size:24px; }
.price-box > strong span { font-size:12px; }
.price-box p { margin:0; color:#888; font-size:10px; }
.buy-row { display:grid; grid-template-columns:120px 1fr 46px; gap:10px; }
.quantity { height:46px; display:grid; grid-template-columns:35px 1fr 35px; border:1px solid #ddd; border-radius:6px; overflow:hidden; }
.quantity button { border:0; background:#f4f4f2; font-size:19px; }
.quantity input { width:100%; border:0; text-align:center; appearance:textfield; }
.add-cart { min-height:46px; }
.wish-button { position:static; width:46px; height:46px; border:1px solid #ddd; border-radius:6px; }
.product-assurances { margin-top:15px; padding-top:15px; display:grid; gap:6px; border-top:1px solid #eee; color:#666; font-size:11px; }
.product-tabs { padding-top:0; }
.tab-buttons { display:flex; gap:5px; overflow-x:auto; border-bottom:1px solid #ddd; }
.tab-buttons button { min-width:max-content; padding:14px 22px; border:0; border-bottom:3px solid transparent; background:transparent; font-weight:800; }
.tab-buttons button.is-active { color:var(--gold-dark); border-color:var(--gold); }
.tab-panel { display:none; padding:35px 0; }
.tab-panel.is-active { display:block; }
.content-prose {
  max-width: none;
  width: 100%;
  min-width: 0;
  color: var(--ink, #20233a);
  font-size: 15px;
  line-height: 2.15;
  box-sizing: border-box;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.content-prose > *:first-child { margin-top: 0; }
.content-prose > *:last-child { margin-bottom: 0; }
.content-prose h1 { margin: 28px 0 12px; font-size: 28px; line-height: 1.45; font-weight: 800; }
.content-prose h2 { margin: 30px 0 10px; font-size: 23px; line-height: 1.5; font-weight: 800; }
.content-prose h3 { margin: 24px 0 8px; font-size: 18px; line-height: 1.55; font-weight: 800; }
.content-prose h4 { margin: 20px 0 8px; font-size: 16px; font-weight: 800; }
.content-prose h5,
.content-prose h6 { margin: 16px 0 6px; font-size: 14px; font-weight: 800; }
.content-prose p,
.content-prose li { color: #444; line-height: 2.2; text-align: justify; }
.content-prose p { margin: 0 0 16px; }
.content-prose ul,
.content-prose ol { margin: 0 0 18px; padding-right: 22px; }
.content-prose li { margin: 6px 0; }
.content-prose a { color: var(--gold-dark, #c9820e); text-decoration: underline; text-underline-offset: 3px; }
.content-prose a:hover { color: var(--ink, #20233a); }
.content-prose img,
.content-prose figure,
.content-prose .wp-block-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 24px auto;
  border-radius: 9px;
  float: none;
  clear: both;
  text-align: center;
}
.content-prose figure img,
.content-prose .wp-block-image img {
  margin: 0 auto;
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
}
.content-prose figcaption {
  margin-top: 8px;
  color: #777;
  font-size: 12px;
  text-align: center;
}
.content-prose blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-right: 4px solid var(--gold, #e39c27);
  background: #f7f4ed;
  line-height: 2;
  font-weight: 700;
}
.content-prose table,
.content-prose .spec-table,
.content-prose .table-responsive table,
.content-prose .table-responsive-wrap table {
  width: 100%;
  max-width: 100%;
  margin: 22px 0;
  border-collapse: collapse;
  font-size: 13px;
  background: #fff;
}
.content-prose th,
.content-prose td {
  padding: 13px 16px;
  border: 1px solid #e2e2e2;
  text-align: right;
  vertical-align: top;
}
.content-prose th {
  width: auto;
  background: #f5f5f2;
  font-weight: 800;
  color: #2a2a2a;
}
.content-prose .table-responsive,
.content-prose .table-responsive-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  float: none;
  clear: both;
  overflow-x: auto;
  margin: 22px 0;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}
.content-prose .table-responsive table,
.content-prose .table-responsive-wrap table {
  margin: 0;
  max-width: none;
}
@media (max-width: 767px) {
  .content-prose .table-responsive table,
  .content-prose .table-responsive-wrap table {
    min-width: 480px;
  }
}
.content-prose hr {
  margin: 28px 0;
  border: 0;
  border-top: 1px solid #e5e5e5;
}
.content-prose pre,
.content-prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}
.content-prose pre {
  padding: 14px 16px;
  overflow: auto;
  border-radius: 8px;
  background: #f6f6f6;
}
.content-prose iframe,
.content-prose video {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 22px 0;
  border: 0;
  border-radius: 9px;
}
.spec-table { width:100%; max-width:100%; border-collapse:collapse; font-size:13px; }
.spec-table th,.spec-table td { padding:13px 16px; border:1px solid #e2e2e2; text-align:right; }
.spec-table th { width:30%; background:#f5f5f2; }
.review-list { display:grid; grid-template-columns:1fr 1fr; gap:30px; }
.review-list article,.review-form { padding:22px; border:1px solid #ddd; border-radius:9px; }
.review-list article span { float:left; color:var(--gold); }
.review-list p { color:#555; line-height:2; }
.review-list small { color:#888; }
.review-form { display:grid; gap:12px; }
.review-form h3 { margin:0; }
.review-form input,.review-form textarea { width:100%; padding:10px; border:1px solid #ddd; border-radius:6px; resize:vertical; }
.mobile-buy-bar { display:none; }

/* Blog */
.blog-layout { display:grid; grid-template-columns:250px 1fr; gap:34px; align-items:start; }
.blog-sidebar { position:sticky; top:20px; display:grid; gap:18px; }
.sidebar-search { display:flex; }
.sidebar-search input { width:100%; min-width:0; height:43px; padding:0 10px; border:1px solid #ddd; border-left:0; border-radius:0 6px 6px 0; }
.sidebar-search a { width:45px; display:grid; place-items:center; border-radius:6px 0 0 6px; color:#151515; background:var(--gold); }
.sidebar-search svg { width:19px; fill:none; stroke:currentColor; stroke-width:1.7; }
.sidebar-box { padding:20px; border:1px solid #ddd; border-radius:8px; background:#fff; }
.sidebar-box h3 { margin:0 0 12px; font-size:15px; }
.sidebar-box > a { padding:8px 0; display:flex; justify-content:space-between; border-bottom:1px solid #eee; color:#555; font-size:12px; }
.sidebar-box > a:last-child { border:0; }
.sidebar-box > a span { color:#999; }
.sidebar-cta { padding:25px 20px; border-radius:9px; color:#fff; background:linear-gradient(135deg,#242424,#8d5b16); }
.sidebar-cta span { color:var(--gold); font-size:11px; }
.sidebar-cta h3 { margin:7px 0 18px; font-size:18px; line-height:1.8; }
.featured-post { min-height:340px; margin-bottom:30px; display:grid; grid-template-columns:1.2fr 1fr; border-radius:10px; color:#fff; background:#222; overflow:hidden; }
.featured-post > img { width:100%; height:100%; object-fit:cover; }
.featured-post > div { padding:35px 28px; display:flex; flex-direction:column; justify-content:center; }
.featured-post > div > span { color:var(--gold); font-size:11px; }
.featured-post h2 { margin:7px 0; font-size:24px; line-height:1.7; }
.featured-post p { color:rgba(255,255,255,.75); font-size:12px; line-height:2; }
.featured-post .btn { align-self:flex-start; }
.post-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px 20px; }
.post-grid.three-cols { grid-template-columns:repeat(3,1fr); }
.post-card { border:1px solid #dedede; border-radius:9px; background:#fff; overflow:hidden; transition:.2s; }
.post-card:hover { transform:translateY(-3px); box-shadow:var(--shadow); }
.post-card__image { position:relative; height:210px; display:block; }
.post-card__image img { width:100%; height:100%; object-fit:cover; }
.post-card__image span { position:absolute; right:12px; bottom:12px; padding:5px 9px; border-radius:4px; color:#1d160b; background:var(--gold); font-size:10px; font-weight:800; }
.post-card > div { padding:17px; }
.post-card time { color:#999; font-size:10px; }
.post-card h2 { margin:5px 0; font-size:16px; line-height:1.8; }
.post-card p { margin:0 0 10px; color:#666; font-size:11px; line-height:1.9; }
.post-card .text-link { font-size:11px; }

/* Article */
.article-page.section { padding-top: 48px; padding-bottom: 64px; }
.article-layout { display:grid; grid-template-columns:minmax(0,1fr) 260px; gap:45px; align-items:start; }
.article-content { min-width: 0; }
.article-meta { margin-bottom:16px; display:flex; gap:10px 18px; flex-wrap:wrap; align-items:center; color:#888; font-size:11px; }
.article-meta span:first-child { color:var(--gold-dark); font-weight:800; }
.article-cover { width:100%; height:auto; border-radius:10px; object-fit:unset; display:block; margin-bottom:24px; background:#f3f3f0; }
.article-lead { font-size:16px !important; font-weight:700; }
.toc { margin:25px 0; padding:22px; display:grid; gap:7px; border:1px solid #e1d4bd; border-radius:8px; background:#fffaf0; }
.toc strong { margin-bottom:5px; }
.toc a { color:#6a4a1d; font-size:12px; }
.article-cta { margin:30px 0; padding:27px; border-radius:9px; color:#fff; background:linear-gradient(125deg,#222,#69450f); }
.article-cta h3 { margin:0 0 5px; color:#fff; }
.article-cta p { color:rgba(255,255,255,.75); }
.article-share { padding-top:16px; display:flex; align-items:center; gap:8px; border-top:1px solid #ddd; }
.article-share span { font-size:12px; font-weight:800; }
.article-share button { padding:6px 10px; border:1px solid #ddd; border-radius:4px; background:#fff; font-size:11px; }
.article-aside { position:sticky; top:20px; display:grid; gap:18px; }
.author-box { padding:22px; border-radius:9px; text-align:center; background:#f4f4f1; }
.author-box img { width:120px; height:55px; object-fit:contain; }
.author-box strong { display:block; margin:10px 0 5px; }
.author-box p { margin:0; color:#666; font-size:11px; line-height:1.9; }
.mini-product { display:grid !important; grid-template-columns:60px 1fr; gap:10px; align-items:center; }
.mini-product img { width:60px; height:55px; object-fit:contain; }
.mini-product span { font-size:11px; }
.mini-product small { display:block; color:var(--gold-dark); }

/* About / Services / Projects */
.about-story p { font-size:13px; }
.stats-band { padding:30px 0; color:#fff; background:#292929; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.stats-grid > div { padding:10px 30px; text-align:center; border-left:1px solid rgba(255,255,255,.15); }
.stats-grid > div:last-child { border:0; }
.stats-grid strong { display:block; color:var(--gold); font-size:32px; }
.stats-grid span { color:rgba(255,255,255,.75); font-size:11px; }
.value-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.value-grid article { min-height:230px; padding:25px 20px; border:1px solid #ddd; border-radius:9px; background:#fff; }
.value-grid article > span { color:var(--gold); font-size:25px; font-weight:900; }
.value-grid h3 { margin:20px 0 8px; font-size:17px; }
.value-grid p { margin:0; color:#666; font-size:12px; line-height:2; }
.process-line { position:relative; display:grid; grid-template-columns:repeat(5,1fr); gap:12px; }
.process-line::before { content:""; position:absolute; right:8%; left:8%; top:27px; height:1px; background:#d5b06d; }
.process-line article { position:relative; text-align:center; }
.process-line b { position:relative; z-index:1; width:55px; height:55px; margin:auto; display:grid; place-items:center; border:1px solid var(--gold); border-radius:50%; color:#241a0c; background:#fff; }
.process-line h3 { margin:12px 0 4px; font-size:14px; }
.process-line p { margin:0; color:#777; font-size:11px; line-height:1.8; }
.service-card-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.service-card-grid article { position:relative; min-height:300px; padding:30px 25px; border:1px solid #ddd; border-radius:10px; background:#fff; overflow:hidden; }
.service-card-grid img { width:58px; height:58px; object-fit:contain; }
.service-card-grid article > span { position:absolute; top:20px; left:20px; color:#eee5d5; font-size:42px; font-weight:900; }
.service-card-grid h2 { margin:24px 0 8px; font-size:18px; }
.service-card-grid p { color:#666; font-size:12px; line-height:2; }
.service-card-grid a { position:absolute; right:25px; bottom:24px; color:var(--gold-dark); font-size:11px; font-weight:800; }
.service-feature { padding:65px 0; background:#f5f5f2; }
.timeline { max-width:850px; margin:auto; display:grid; gap:14px; }
.timeline article { display:grid; grid-template-columns:55px 1fr; gap:18px; align-items:center; padding:18px; border:1px solid #ddd; border-radius:8px; }
.timeline b { width:48px; height:48px; display:grid; place-items:center; border-radius:50%; color:#20170c; background:var(--gold); }
.timeline h3 { margin:0; font-size:15px; }
.timeline p { margin:4px 0 0; color:#777; font-size:11px; }
.project-filter { margin-bottom:28px; display:flex; justify-content:center; flex-wrap:wrap; gap:8px; }
.project-filter button { padding:9px 17px; border:1px solid #ddd; border-radius:30px; background:#fff; }
.project-filter button.is-active { border-color:var(--gold); background:var(--gold); }
.projects-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.projects-grid article { display:grid; grid-template-columns:1.1fr 1fr; min-height:290px; border:1px solid #ddd; border-radius:10px; overflow:hidden; }
.projects-grid img { width:100%; height:100%; object-fit:cover; }
.projects-grid article > div { padding:25px 22px; display:flex; flex-direction:column; justify-content:center; }
.projects-grid span { color:var(--gold-dark); font-size:10px; font-weight:800; }
.projects-grid h2 { margin:7px 0; font-size:18px; line-height:1.7; }
.projects-grid p { color:#666; font-size:11px; line-height:2; }
.projects-grid a { color:var(--gold-dark); font-size:11px; font-weight:800; }
.clients-showcase { padding:45px 0; color:#fff; background:#292929 url('../images/sections/projects-bg.webp') center/cover; }

/* Contact */
.contact-grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:45px; align-items:start; }
.contact-info h2 { margin:0 0 8px; font-size:24px; line-height:1.5; }
.contact-info > p { color:#666; font-size:13px; line-height:2; }
.contact-cards { margin-top:25px; display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.contact-cards > * { min-height:130px; padding:17px; display:flex; flex-direction:column; justify-content:center; border:1px solid #ddd; border-radius:8px; background:#fff; }
.contact-cards b { color:var(--gold-dark); font-size:11px; }
.contact-cards strong { margin:4px 0; font-size:15px; }
.contact-cards span { color:#777; font-size:10px; line-height:1.7; }
.contact-form { padding:30px; border:1px solid #ddd; border-radius:10px; box-shadow:0 12px 35px rgba(0,0,0,.06); }
.form-head span { color:var(--gold-dark); font-size:11px; font-weight:800; }
.form-head h2 { margin:4px 0 20px; font-size:22px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:15px; }
.form-grid label { display:grid; gap:7px; font-size:11px; font-weight:700; }
.form-grid label.full { grid-column:1/-1; }
.form-grid input,.form-grid select,.form-grid textarea { width:100%; padding:10px 12px; border:1px solid #d8d8d8; border-radius:6px; outline:0; resize:vertical; background:#fff; }
.form-grid input,.form-grid select { height:44px; }
.file-label input { display:none; }
.file-label > span { height:60px; display:grid; place-items:center; border:1px dashed #bbb; border-radius:6px; color:#777; cursor:pointer; }
.contact-form > .btn { margin-top:18px; }
.map-section { padding:0 0 65px; }
.map-placeholder { height:330px; padding:30px; display:flex; align-items:flex-end; border-radius:10px; background:linear-gradient(rgba(25,25,25,.18),rgba(25,25,25,.5)),url('../images/sections/projects-bg.webp') center/cover; }
.map-placeholder > div { padding:18px 22px; display:grid; color:#fff; border-radius:7px; background:rgba(20,20,20,.85); }
.map-placeholder span { color:var(--gold); font-size:10px; }
.map-placeholder a { margin-top:5px; font-size:11px; }
.department-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.department-grid article { padding:25px; border-top:4px solid var(--gold); border-radius:7px; background:#fff; box-shadow:var(--shadow); }
.department-grid h3 { margin:0; }
.department-grid p { min-height:48px; color:#777; font-size:11px; line-height:1.9; }
.department-grid a { color:var(--gold-dark); font-weight:800; }

/* FAQ / Guide */
.faq-layout { display:grid; grid-template-columns:260px 1fr; gap:35px; align-items:start; }
.faq-layout > aside { position:sticky; top:20px; display:grid; gap:18px; }
.faq-search { padding:20px; border:1px solid #ddd; border-radius:8px; }
.faq-search label { display:block; margin-bottom:8px; font-size:12px; font-weight:800; }
.faq-search input { width:100%; height:42px; padding:0 10px; border:1px solid #ddd; border-radius:6px; }
.faq-list { display:grid; gap:10px; }
.faq-list details { border:1px solid #ddd; border-radius:8px; background:#fff; overflow:hidden; }
.faq-list summary { padding:17px 20px; display:flex; align-items:center; justify-content:space-between; font-weight:800; cursor:pointer; list-style:none; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary span { font-size:20px; transition:.2s; }
.faq-list details[open] summary { color:#6c470e; background:#fff8eb; }
.faq-list details[open] summary span { transform:rotate(45deg); }
.faq-list details > div { padding:0 20px 18px; }
.faq-list p { margin:0; color:#666; font-size:12px; line-height:2; }
.guide-layout { display:grid; grid-template-columns:230px minmax(0,1fr); gap:50px; align-items:start; }
.guide-nav { position:sticky; top:20px; padding:22px; display:grid; gap:10px; border:1px solid #ddd; border-radius:8px; }
.guide-nav strong { margin-bottom:5px; }
.guide-nav a:not(.btn) { padding:8px 0; border-bottom:1px solid #eee; color:#555; font-size:12px; }
.guide-content { max-width:none; }
.guide-content > section { padding-bottom:30px; border-bottom:1px solid #ddd; }
.guide-content > section > span { display:inline-block; margin-top:20px; color:var(--gold-dark); font-size:11px; font-weight:800; }
.guide-check { padding:18px; display:grid; gap:8px; border-radius:8px; background:#f4f4f1; }
.guide-check label { font-size:12px; }
.guide-check input { accent-color:var(--gold); }

/* Search */
.search-page { max-width:950px; }
.big-search { display:flex; margin-bottom:25px; }
.big-search input { width:100%; height:55px; padding:0 18px; border:1px solid #ccc; border-left:0; border-radius:0 7px 7px 0; font-size:15px; outline:0; }
.big-search .btn { border-radius:7px 0 0 7px; }
.search-tabs { display:flex; gap:7px; padding-bottom:15px; border-bottom:1px solid #ddd; overflow-x:auto; }
.search-tabs button { min-width:max-content; padding:8px 14px; border:1px solid #ddd; border-radius:25px; background:#fff; }
.search-tabs button.is-active { border-color:var(--gold); background:#fff5df; }
.search-tabs span { color:#999; font-size:10px; }
.result-summary { margin:25px 0; color:#777; font-size:12px; }
.search-result { padding:18px 0; display:grid; grid-template-columns:150px 1fr; gap:20px; border-bottom:1px solid #e4e4e4; }
.search-result > img { width:150px; height:120px; object-fit:contain; border:1px solid #eee; border-radius:7px; }
.search-result > div > span { color:var(--gold-dark); font-size:10px; font-weight:800; }
.search-result h2 { margin:4px 0; font-size:17px; }
.search-result p { margin:0 0 7px; color:#666; font-size:11px; line-height:1.9; }
.search-result strong { font-size:13px; }
.search-result--page { grid-template-columns:1fr; }

/* Account / cart */
.account-shell { display:grid; grid-template-columns:220px 1fr; gap:30px; align-items:start; }
.account-nav { padding:18px; display:grid; border:1px solid #ddd; border-radius:8px; }
.account-nav > div { padding-bottom:16px; display:flex; align-items:center; gap:10px; border-bottom:1px solid #eee; }
.avatar { width:42px; height:42px; display:grid; place-items:center; border-radius:50%; color:#21170b; background:var(--gold); font-weight:900; }
.account-nav > div strong { font-size:12px; }
.account-nav > a { padding:11px 8px; border-bottom:1px solid #eee; color:#555; font-size:12px; }
.account-nav > a.is-active { color:var(--gold-dark); font-weight:800; }
.account-content { min-width:0; }
.account-head { margin-bottom:20px; display:flex; align-items:center; justify-content:space-between; }
.account-head h2 { margin:0; }
.account-head p { margin:4px 0 0; color:#777; font-size:11px; }
.account-head > span { padding:6px 11px; border-radius:20px; background:#f0f0ec; font-size:11px; }
.cart-layout,.checkout-layout { display:grid; grid-template-columns:1fr 330px; gap:35px; align-items:start; }
.cart-heading { display:flex; align-items:center; justify-content:space-between; padding-bottom:14px; border-bottom:1px solid #ddd; }
.cart-heading h2 { margin:0; }
.cart-heading span { color:#777; font-size:11px; }
.cart-item { min-height:150px; padding:20px 0; display:grid; grid-template-columns:140px 1fr 115px 140px; gap:18px; align-items:center; border-bottom:1px solid #e3e3e3; }
.cart-item img { width:140px; height:110px; object-fit:contain; }
.cart-item__info small { color:var(--gold-dark); }
.cart-item__info h3 { margin:5px 0; font-size:15px; }
.cart-item__info span { display:block; color:#777; font-size:10px; }
.remove-item { margin-top:10px; padding:0; border:0; color:#b45a52; background:transparent; font-size:10px; }
.cart-item__price { font-size:13px; text-align:left; }
.continue-shopping { display:inline-block; margin-top:18px; color:var(--gold-dark); font-weight:800; }
.order-summary { position:sticky; top:20px; padding:24px; border:1px solid #ddd; border-radius:9px; background:#fafafa; }
.order-summary h2 { margin:0 0 18px; font-size:18px; }
.order-summary > div:not(.checkout-mini) { margin:11px 0; display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:11px; }
.order-summary > div strong { font-size:12px; }
.discount-form { display:flex; margin:18px 0; }
.discount-form input { width:100%; min-width:0; height:39px; padding:0 9px; border:1px solid #ddd; border-left:0; border-radius:0 5px 5px 0; }
.discount-form button { border:0; border-radius:5px 0 0 5px; background:#333; color:#fff; }
.summary-total { padding:16px 0; border-top:1px solid #ddd; border-bottom:1px solid #ddd; }
.summary-total strong { color:#8a5a13; font-size:15px !important; }
.order-summary > p { color:#888; font-size:10px; line-height:1.8; text-align:center; }
.checkout-form { display:grid; gap:18px; }
.checkout-form > section { padding:25px; border:1px solid #ddd; border-radius:9px; }
.checkout-title { margin-bottom:20px; display:flex; align-items:center; gap:10px; }
.checkout-title span { width:32px; height:32px; display:grid; place-items:center; border-radius:50%; background:var(--gold); font-weight:900; }
.checkout-title h2 { margin:0; font-size:18px; }
.payment-options { display:grid; gap:10px; }
.payment-options label { padding:15px; display:flex; align-items:center; gap:12px; border:1px solid #ddd; border-radius:7px; cursor:pointer; }
.payment-options input { accent-color:var(--gold); }
.payment-options span { display:grid; }
.payment-options small { color:#777; }
.agreement { font-size:11px; }
.agreement input { accent-color:var(--gold); }
.checkout-mini { padding:12px 0; display:grid !important; grid-template-columns:60px 1fr auto; gap:10px; align-items:center; border-bottom:1px solid #e1e1e1; }
.checkout-mini img { width:60px; height:55px; object-fit:contain; }
.checkout-mini span { font-size:11px; }
.checkout-mini small { display:block; }
.checkout-mini strong { font-size:10px !important; }
.secure-note { padding:10px !important; border-radius:5px; color:#3c6e4f; background:#eaf7ee; }
.auth-layout { display:grid; grid-template-columns:1fr 440px; gap:70px; align-items:center; }
.auth-benefits h2 { margin:0 0 10px; font-size:27px; }
.auth-benefits img { width:100%; height:230px; margin-top:20px; object-fit:contain; }
.auth-card { padding:28px; border:1px solid #ddd; border-radius:10px; box-shadow:0 12px 40px rgba(0,0,0,.07); }
.auth-tabs { margin-bottom:22px; display:grid; grid-template-columns:1fr 1fr; border-bottom:1px solid #ddd; }
.auth-tabs button { padding:12px; border:0; border-bottom:3px solid transparent; background:transparent; }
.auth-tabs button.is-active { border-color:var(--gold); color:var(--gold-dark); font-weight:800; }
.auth-form { display:none; gap:12px; }
.auth-form.is-active { display:grid; }
.auth-form h2 { margin:0; }
.auth-form p { margin:0 0 8px; color:#777; font-size:11px; }
.auth-form > label { display:grid; gap:6px; font-size:11px; font-weight:700; }
.auth-form > label input { height:43px; padding:0 10px; border:1px solid #ddd; border-radius:6px; }
.form-inline { display:flex; justify-content:space-between; font-size:10px; }
.form-inline label { display:flex; gap:5px; }

/* 404 */
.notfound { min-height:620px; padding:90px 0; display:grid; place-items:center; text-align:center; background:radial-gradient(circle at center,#fff 0,#f4f4f0 70%); }
.notfound span { display:block; color:var(--gold); font-size:110px; line-height:1; font-weight:900; text-shadow:0 8px 0 #eee1c7; }
.notfound h1 { margin:15px 0 5px; font-size:30px; }
.notfound p { color:#777; }
.notfound > .container > div { margin:25px 0; display:flex; justify-content:center; gap:10px; }
.notfound form { max-width:500px; margin:auto; display:flex; }
.notfound input { width:100%; height:45px; padding:0 12px; border:1px solid #ddd; border-left:0; border-radius:0 6px 6px 0; }
.notfound form button { padding:0 20px; border:0; border-radius:6px 0 0 6px; background:#333; color:#fff; }
.toast { position:fixed; z-index:1000; left:20px; bottom:20px; max-width:320px; padding:12px 16px; border-radius:7px; color:#fff; background:#222; box-shadow:0 12px 35px rgba(0,0,0,.25); transform:translateY(100px); opacity:0; transition:.25s; font-size:12px; pointer-events:none; }
.toast.is-visible { transform:translateY(0); opacity:1; }

@media (max-width:1100px) {
  .site-footer > .footer-grid { grid-template-columns:1.3fr repeat(2,.8fr) 1.2fr; }
  .site-footer > .footer-grid > div:nth-child(4) { display:none; }
  .archive-products.four-cols { grid-template-columns:repeat(3,1fr); }
  .value-grid { grid-template-columns:repeat(2,1fr); }
  .projects-grid article { grid-template-columns:1fr; }
  .projects-grid img { height:230px; }
  .cart-item { grid-template-columns:115px 1fr 100px; }
  .cart-item__price { grid-column:2; text-align:right; }
}
@media (max-width:860px) {
  .site-header--inner .main-nav { top:70px; }
  .page-hero { min-height:auto; padding:28px 0 32px; }
  .page-hero .container { width: min(calc(100% - 32px), 720px); }
  .page-hero h1,
  .page-hero__title { font-size: clamp(22px, 6vw, 28px); line-height: 1.55; max-width: none; }
  .breadcrumbs { gap: 6px; line-height: 1.8; }
  .crumb-current { display: none; }
  .breadcrumbs > span[aria-hidden="true"]:nth-last-child(2) { display: none; }
  .article-page.section { padding-top: 28px; padding-bottom: 48px; }
  .article-meta { gap: 8px 12px; font-size: 12px; }
  .article-cover { width:100%; height:auto; margin-bottom:18px; border-radius:8px; }
  .article-aside { gap: 14px; }
  .author-box { padding: 18px; }
  .benefits-grid { grid-template-columns:repeat(2,1fr); }
  .site-footer > .footer-grid { grid-template-columns:1fr 1fr; }
  .site-footer > .footer-grid > div:nth-child(4) { display:block; }
  .archive-layout,.blog-layout,.faq-layout,.guide-layout,.article-layout { grid-template-columns:1fr; }
  .filter-panel { position:fixed; z-index:100; top:0; right:0; bottom:0; width:min(85vw,330px); overflow:auto; border-radius:0; transform:translateX(110%); transition:.25s; }
  .filter-panel.is-open { transform:translateX(0); box-shadow:-20px 0 50px rgba(0,0,0,.3); }
  .filter-close,.filter-open { display:block; }
  .archive-products { grid-template-columns:repeat(2,1fr); }
  .archive-products.four-cols { grid-template-columns:repeat(2,1fr); }
  .blog-sidebar,.faq-layout > aside,.guide-nav,.article-aside { position:static; }
  .blog-sidebar { grid-template-columns:1fr 1fr; }
  .sidebar-search { grid-column:1/-1; }
  .featured-post { grid-template-columns:1fr; }
  .featured-post > img { height:280px; }
  .article-aside { grid-template-columns:1fr; }
  .product-detail__grid,.split-intro,.contact-grid,.auth-layout { grid-template-columns:1fr; }
  .product-detail__grid { gap:30px; }
  .gallery-main { height:420px; }
  .split-intro img { height:330px; }
  .subcat-grid,.service-card-grid { grid-template-columns:repeat(2,1fr); }
  .process-line { grid-template-columns:repeat(3,1fr); gap:25px; }
  .process-line::before { display:none; }
  .projects-grid { grid-template-columns:1fr 1fr; }
  .contact-grid { gap:30px; }
  .cart-layout,.checkout-layout { grid-template-columns:1fr; }
  .order-summary { position:static; }
  .account-shell { grid-template-columns:1fr; }
  .account-nav { display:flex; overflow-x:auto; }
  .account-nav > div { display:none; }
  .account-nav > a { min-width:max-content; border-bottom:0; }
}
@media (max-width:600px) {
  body { padding-bottom:0; }
  .site-header--inner { padding-top:6px; }
  .site-header--inner .top-nav { min-height:58px; }
  .site-header--inner .header-actions .icon-btn:nth-of-type(2),.site-header--inner .header-actions .icon-btn:nth-of-type(4) { display:none; }
  .site-header--inner .category-nav { margin-bottom:8px; }
  .page-hero { min-height:auto; padding:22px 0 26px; background-position:center; }
  .page-hero h1,
  .page-hero__title { margin:10px 0 0; font-size:22px; line-height:1.55; }
  .page-hero p:not(.page-hero__title) { font-size:12px; line-height:1.9; }
  .breadcrumbs { font-size:11px; }
  .benefits { padding:16px 0; }
  .benefits-grid { grid-template-columns:1fr 1fr; gap:14px 8px; }
  .benefits-grid > div { grid-template-columns:35px 1fr; gap:7px; }
  .benefits-grid img { width:33px; height:33px; }
  .benefits-grid strong { font-size:11px; }
  .benefits-grid span { font-size:9px; }
  .site-footer > .footer-grid { grid-template-columns:1fr 1fr; gap:25px 16px; }
  .site-footer > .footer-grid .footer-about,.site-footer > .footer-grid > div:last-child { grid-column:1/-1; }
  .footer-bottom { flex-direction:column; gap:6px; }
  .search-box { padding:25px 16px 18px; }
  .search-box > div button { padding:0 14px; }
  .archive-section { padding:35px 0 50px; }
  .archive-toolbar { align-items:flex-start; gap:10px; }
  .archive-toolbar label { flex-direction:column; align-items:flex-start; }
  .archive-products,.archive-products.four-cols { grid-template-columns:1fr 1fr; gap:12px; }
  .product-card--archive { padding:11px; }
  .product-card--archive .product-card__image { height:135px; }
  .product-card--archive .product-card__image img { height:135px; max-height:135px; }
  .product-card--archive h3 { font-size:12px; }
  .product-summary { display:none; }
  .product-card__bottom { align-items:flex-start; flex-direction:column; }
  .product-card__bottom p { font-size:10px; }
  .product-card__bottom .btn { width:100%; }
  .product-badge { top:7px; right:7px; }
  .split-intro { gap:22px; }
  .split-intro h2 { font-size:21px; }
  .split-intro p { font-size:12px; }
  .split-intro img { height:260px; }
  .subcat-grid { grid-template-columns:1fr 1fr; gap:11px; }
  .subcat-grid a { min-height:185px; padding:12px; }
  .subcat-grid strong { font-size:12px; }
  .consult-strip .container { align-items:flex-start; flex-direction:column; }
  .consult-strip h2 { font-size:18px; }
  .gallery-main { height:330px; padding:15px; }
  .gallery-thumbs { grid-template-columns:repeat(3,1fr); }
  .product-info > h1 { font-size:22px; }
  .product-options { grid-template-columns:1fr; }
  .buy-row { grid-template-columns:100px 1fr 42px; }
  .product-tabs { padding-bottom:80px; }
  .tab-buttons button { padding:12px 15px; font-size:11px; }
  .content-prose { font-size:14px; overflow-x:hidden; }
  .content-prose h2 { font-size:18px; margin:22px 0 10px; }
  .content-prose h3 { font-size:16px; margin:18px 0 8px; }
  .content-prose p,.content-prose li { font-size:14px; line-height:2; text-align:right; }
  .content-prose ul,.content-prose ol { padding-right:18px; }
  .content-prose img,
  .content-prose figure,
  .content-prose .wp-block-image { margin:18px 0; border-radius:8px; }
  .content-prose th,.content-prose td { padding:10px 12px; font-size:12px; }
  .review-list { grid-template-columns:1fr; }
  .mobile-buy-bar { position:fixed; z-index:50; right:0; left:0; bottom:0; padding:10px 12px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-top:1px solid #ddd; background:#fff; box-shadow:0 -8px 25px rgba(0,0,0,.12); }
  .mobile-buy-bar > div { display:grid; }
  .mobile-buy-bar small { color:#777; font-size:9px; }
  .mobile-buy-bar strong { font-size:11px; }
  .mobile-buy-bar .btn { min-height:42px; }
  .blog-sidebar { grid-template-columns:1fr; }
  .sidebar-search { grid-column:auto; }
  .featured-post { min-height:0; }
  .featured-post > img { height:210px; }
  .featured-post > div { padding:24px 18px; }
  .featured-post h2 { font-size:19px; }
  .post-grid,.post-grid.three-cols { grid-template-columns:1fr; gap:16px; }
  .post-card__image { height:200px; }
  .article-page.section { padding-top:22px; padding-bottom:40px; }
  .article-cover { width:100%; height:auto; margin-bottom:14px; }
  .article-meta { gap:8px; margin-bottom:12px; }
  .article-aside { grid-template-columns:1fr; gap:12px; margin-top:8px; }
  .article-share { flex-wrap:wrap; }
  .stats-grid { grid-template-columns:1fr 1fr; gap:15px 0; }
  .stats-grid > div:nth-child(2) { border:0; }
  .stats-grid strong { font-size:26px; }
  .value-grid { grid-template-columns:1fr; }
  .process-line { grid-template-columns:1fr 1fr; }
  .service-card-grid { grid-template-columns:1fr; }
  .projects-grid { grid-template-columns:1fr; }
  .projects-grid article { min-height:0; }
  .projects-grid img { height:210px; }
  .contact-cards { grid-template-columns:1fr; }
  .contact-form { padding:20px 15px; }
  .form-grid { grid-template-columns:1fr; }
  .form-grid label.full { grid-column:auto; }
  .department-grid { grid-template-columns:1fr; }
  .map-placeholder { height:260px; padding:15px; }
  .search-result { grid-template-columns:90px 1fr; gap:12px; }
  .search-result > img { width:90px; height:90px; }
  .search-result h2 { font-size:14px; }
  .search-result p { display:none; }
  .account-head { align-items:flex-start; }
  .cart-item { grid-template-columns:85px 1fr; gap:10px; }
  .cart-item img { width:85px; height:85px; }
  .cart-item .quantity { grid-column:2; width:105px; }
  .cart-item__price { grid-column:2; }
  .checkout-form > section { padding:18px 14px; }
  .checkout-mini { grid-template-columns:45px 1fr; }
  .checkout-mini img { width:45px; }
  .checkout-mini strong { grid-column:2; }
  .auth-card { padding:22px 16px; }
  .notfound span { font-size:80px; }
  .notfound h1 { font-size:24px; }
  .notfound > .container > div { flex-direction:column; }
}
.site-header--inner .top-nav { grid-template-columns:154px minmax(360px,1fr) auto; }
.site-header--inner .main-nav { gap:30px; }
@media (max-width:1100px) { .site-header--inner .top-nav { grid-template-columns:130px 1fr auto; } .site-header--inner .main-nav { gap:18px; } }
@media (max-width:860px) { .site-header--inner .top-nav { display:flex; } }
