/* ============================================================
   Ariya Rakhshan Dena — Helectron Visual Design System
   Applied cleanly over IranKala Child + Elementor Pro + WooCommerce
   ============================================================ */

@import url('../fonts/vazirmatn/vazirmatn.css');

:root {
  --he-navy: #0A487C;
  --he-navy-dark: #0A2742;
  --he-navy-mid: #103650;
  --he-yellow: #FFB823;
  --he-gold: #F5B52B;
  --he-ink: #171717;
  --he-ink-soft: #333333;
  --he-muted: #747474;
  --he-border: #E5E5E5;
  --he-border-light: #EFF0F2;
  --he-bg-light: #F7F7F7;
  --he-card-bg: #FCFCFC;
  --he-badge-bg: #E7EDF2;
  --he-green: #1E8E3E;
  --he-green-soft: #E9F8ED;
  --he-red: #D93025;
  --he-font: 'Peyda', 'Vazirmatn', 'Estedad-FD', 'IRANSans', sans-serif;
}

/* Force clean typography & override IranKala red #ff5a5f tokens everywhere */
html, body,
body.rtl,
.elementor-kit-93,
.elementor-widget-heading .elementor-heading-title,
.elementor-widget-text-editor,
.elementor-widget-button .elementor-button,
.woocommerce, .woocommerce-page,
input, button, select, textarea {
  font-family: var(--he-font) !important;
}

body {
  background: #FFFFFF;
  color: var(--he-ink);
  overflow-x: hidden;
}

/* Override IranKala hardcoded accent CSS variables if present */
:root {
  --irk-color1: var(--he-navy);
  --irk-color2: var(--he-yellow);
}

/* Hide legacy IranKala bottom mobile bar / demo strips when custom Elementor header/footer active */
.bottom-nav, .irk-app-bar, .app-bar, .irk-partners {
  display: none !important;
}

/* ---------- HELECTRON-STYLE HEADER & ASAMKALA SPLIT MEGA-MENU ---------- */
.aria-he-header {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: #FFFFFF;
  border-bottom: 1px solid var(--he-border);
  box-shadow: 0 2px 10px rgba(10, 72, 124, 0.04);
  direction: rtl;
}
body.admin-bar .aria-he-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .aria-he-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .aria-he-header { top: 0; } }

.aria-he-header-inner {
  width: min(1360px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
}

.aria-he-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  flex-shrink: 0;
}
.aria-he-brand img {
  width: 48px;
  height: 40px;
  object-fit: contain;
}
.aria-he-brand-title {
  color: var(--he-navy);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}
.aria-he-brand-sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--he-muted);
}

.aria-he-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.aria-he-mega-wrap {
  position: relative;
}

.aria-he-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--he-yellow);
  border-radius: 8px;
  background: var(--he-yellow);
  color: #111111 !important;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.15s ease;
}
.aria-he-cat-btn:hover {
  background: #f0a810;
}

.aria-he-brands-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--he-border);
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--he-ink) !important;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none !important;
}
.aria-he-brands-btn:hover {
  border-color: var(--he-navy);
  color: var(--he-navy) !important;
}

.aria-he-nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0 6px;
  padding: 0;
}
.aria-he-nav-links a {
  color: #222222;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 2px;
  transition: color 0.18s ease;
}
.aria-he-nav-links a:hover,
.aria-he-nav-links .current-menu-item > a {
  color: var(--he-navy);
}

/* Split-Panel Asamkala Mega-Menu on Desktop */
.aria-mega-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(1120px, calc(100vw - 48px));
  min-height: 460px;
  max-height: 75vh;
  background: #FFFFFF;
  border: 1px solid var(--he-border);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(10, 72, 124, 0.14);
  overflow: hidden;
  z-index: 1005;
}
.aria-he-mega-wrap:hover .aria-mega-panel,
.aria-he-mega-wrap.open .aria-mega-panel {
  display: flex;
}
.aria-mega-sidebar {
  width: 240px;
  flex: 0 0 240px;
  background: #F7F9FB;
  border-left: 1px solid var(--he-border);
  overflow-y: auto;
  padding: 10px 8px;
}
.aria-mega-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #222222;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.aria-mega-tab:hover,
.aria-mega-tab.active {
  background: #FFFFFF;
  color: var(--he-navy);
  box-shadow: 0 2px 8px rgba(10, 72, 124, 0.08);
}
.aria-mega-tab svg { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.6; }

.aria-mega-content {
  flex: 1;
  padding: 18px 22px;
  overflow-y: auto;
  background: #FFFFFF;
}
.aria-mega-pane { display: none; }
.aria-mega-pane.active { display: block; }
.aria-mega-pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--he-border-light);
}
.aria-mega-pane-head a {
  color: var(--he-navy);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}
.aria-mega-cols {
  column-count: 3;
  column-gap: 22px;
}
@media (max-width: 1100px) { .aria-mega-cols { column-count: 2; } }

.aria-mega-col-block {
  break-inside: avoid;
  margin-bottom: 16px;
}
.aria-mega-l1 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--he-navy);
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  margin-bottom: 6px;
  padding-right: 8px;
  border-right: 3px solid var(--he-yellow);
}
.aria-mega-l1:hover { color: #052e52; }
.aria-mega-l2-group {
  margin: 6px 0 4px;
  font-size: 12px;
  font-weight: 700;
  color: #444;
}
.aria-mega-list {
  list-style: none;
  margin: 0;
  padding: 0 10px 0 0;
}
.aria-mega-list li {
  margin: 3px 0;
}
.aria-mega-list a {
  color: #555555;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.7;
  display: inline-block;
}
.aria-mega-list a:hover {
  color: var(--he-navy);
  transform: translateX(-2px);
}

/* Brands Dropdown */
.aria-brands-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 480px;
  max-height: 360px;
  overflow-y: auto;
  background: #FFFFFF;
  border: 1px solid var(--he-border);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
  z-index: 1004;
}
.aria-he-mega-wrap:hover .aria-brands-panel { display: block; }
.aria-brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.aria-brands-grid a {
  padding: 7px 10px;
  border-radius: 7px;
  background: #F7F9FB;
  color: #222;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
}
.aria-brands-grid a:hover {
  border-color: var(--he-yellow);
  color: var(--he-navy);
  background: #FFF;
}

/* Right Actions: Search, Account, Cart, Phone */
.aria-he-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}
.aria-he-search {
  display: flex;
  align-items: center;
  flex: 1 1 180px;
  max-width: 240px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid var(--he-border);
  border-radius: 8px;
  background: #FFFFFF;
}
.aria-he-search:focus-within { border-color: var(--he-navy); }
.aria-he-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: var(--he-ink);
}
.aria-he-search button {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 4px;
  color: var(--he-navy);
  display: flex;
  align-items: center;
}
.aria-he-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #F5F5F5;
  color: var(--he-navy);
  text-decoration: none !important;
  flex-shrink: 0;
}
.aria-he-icon-btn:hover { background: #E7EDF2; }
.aria-he-cart-badge {
  position: absolute;
  top: -4px;
  left: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--he-yellow);
  color: #111;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aria-he-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--he-green-soft);
  text-decoration: none !important;
  font-size: 13.5px;
  font-weight: 700;
  direction: ltr;
  white-space: nowrap;
  flex-shrink: 0;
}
.aria-he-phone-btn .prefix { color: #111; }
.aria-he-phone-btn .num { color: #23B142; }

/* Mobile Header & Navy Accordion Menu */
.aria-he-mob-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--he-border);
  border-radius: 8px;
  background: #FFF;
  color: var(--he-navy);
  cursor: pointer;
}
.aria-he-mob-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(4, 15, 25, 0.68);
}
.aria-he-mob-overlay.active { display: block; }
.aria-he-mob-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10001;
  width: 90%;
  max-width: 400px;
  height: 100vh;
  height: 100dvh;
  background: var(--he-navy-dark);
  color: #F5F8FC;
  padding: 20px 16px 32px;
  overflow-y: auto;
  transform: translateX(101%);
  transition: transform 0.28s ease;
  direction: rtl;
  text-align: right;
}
.aria-he-mob-drawer.active { transform: translateX(0); }
.aria-mob-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #244963;
}
.aria-mob-close {
  width: 40px;
  height: 40px;
  border: 1px solid #244963;
  border-radius: 8px;
  background: var(--he-navy-mid);
  color: #FFF;
  font-size: 24px;
  cursor: pointer;
}
.aria-mob-list, .aria-mob-sub {
  list-style: none;
  margin: 0;
  padding: 0;
}
.aria-mob-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #244963;
}
.aria-mob-row a {
  flex: 1;
  padding: 12px 8px;
  color: #F5F8FC;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.aria-mob-toggle-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #244963;
  border-radius: 7px;
  background: var(--he-navy-mid);
  color: #FFF;
  font-size: 16px;
  cursor: pointer;
}
.aria-mob-item.open > .aria-mob-row { background: var(--he-navy); }
.aria-mob-item.open > .aria-mob-row > .aria-mob-toggle-btn {
  background: var(--he-yellow);
  border-color: var(--he-yellow);
  color: #111;
}
.aria-mob-sub {
  display: none;
  background: var(--he-navy-mid);
  padding: 4px 10px 6px 4px;
}
.aria-mob-item.open > .aria-mob-sub { display: block; }
.aria-mob-sub a { color: #BED2E3; font-size: 13px; font-weight: 500; }

@media (max-width: 1080px) {
  .aria-he-nav-links { display: none; }
}
@media (max-width: 768px) {
  .aria-he-header-inner { flex-wrap: wrap; row-gap: 10px; }
  .aria-he-nav-actions, .aria-he-phone-btn { display: none; }
  .aria-he-mob-toggle { display: inline-flex; }
  .aria-he-tools { flex: 1 1 100%; order: 3; }
  .aria-he-search { max-width: none; }
}

/* ---------- HELECTRON SECTIONS, BANNERS & CARDS ---------- */
.he-container {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
}

.he-home-hero {
  display: grid;
  grid-template-columns: minmax(290px, 1fr) minmax(0, 2.05fr);
  gap: 20px;
  margin-bottom: 48px;
}
.he-home-main-banner, .he-home-side-banner {
  border-radius: 14px;
  overflow: hidden;
  min-width: 0;
}
.he-home-side-banner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 34px;
  border: 1px solid var(--he-border-light);
  background: radial-gradient(circle at 12% 100%, rgba(245, 181, 43, 0.15), transparent 38%), #F7F7F7;
}
.he-home-side-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 7px;
  color: var(--he-navy);
  background: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 3px 12px rgba(10, 72, 124, 0.06);
}
.he-home-side-title {
  margin: 0 0 16px;
  color: #101010;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.75;
}
.he-home-side-highlight {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 8px;
  background: var(--he-navy);
  color: #FFFFFF;
}
.he-home-side-desc {
  color: #444;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 18px;
}
.he-btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.he-btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: 8px;
  background: var(--he-gold); color: #171717 !important;
  font-size: 13.5px; font-weight: 700; text-decoration: none !important;
  transition: all 0.2s ease;
}
.he-btn-primary:hover { background: var(--he-navy); color: #FFFFFF !important; }
.he-btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: 8px; border: 1px solid var(--he-navy);
  background: #FFFFFF; color: var(--he-navy) !important;
  font-size: 13.5px; font-weight: 700; text-decoration: none !important;
  transition: all 0.2s ease;
}
.he-btn-outline:hover { background: var(--he-navy); color: #FFFFFF !important; }

/* Section Heading */
.he-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.he-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.he-section-icon {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 9px;
  background: #EDF5FC; color: var(--he-navy);
}
.he-section-title-wrap h2 {
  margin: 0; font-size: 20px; font-weight: 800; color: var(--he-ink);
}
.he-view-all {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border: 1px solid var(--he-border); border-radius: 7px;
  background: #FFFFFF; color: #313131 !important;
  font-size: 13px; font-weight: 600; text-decoration: none !important;
}
.he-view-all:hover { border-color: var(--he-navy); color: var(--he-navy) !important; background: #F7FBFF; }

/* Category Icon Cards Grid */
.he-cat-icons-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 52px;
}
.he-cat-icon-card {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: 10px; padding: 16px 12px;
  border: 1px solid #EBEBEB; border-radius: 14px;
  background: #F8F9FB; color: #222222 !important;
  text-decoration: none !important; text-align: center;
  transition: all 0.2s ease;
}
.he-cat-icon-card:hover {
  border-color: var(--he-gold);
  background: #FFFFFF;
  box-shadow: 0 10px 30px rgba(10, 72, 124, 0.10);
  transform: translateY(-4px);
}
.he-cat-icon-img {
  width: 78px; height: 78px; display: flex; align-items: center; justify-content: center;
}
.he-cat-icon-img img { width: 100%; height: 100%; object-fit: contain; }
.he-cat-icon-card strong { font-size: 13.5px; font-weight: 700; line-height: 1.6; }
.he-cat-icon-card:hover strong { color: var(--he-navy); }
@media (max-width: 1024px) { .he-cat-icons-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .he-cat-icons-grid { grid-template-columns: repeat(2, 1fr); } }

/* Helectron Product Card Grid */
.he-products-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1180px) { .he-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .he-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .he-products-grid { grid-template-columns: 1fr; } }

.he-product-card {
  border: 1px solid var(--he-border);
  border-radius: 10px;
  background: var(--he-card-bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}
.he-product-card:hover {
  box-shadow: 0 8px 22px rgba(10, 72, 124, 0.08);
  transform: translateY(-2px);
}
.he-product-card a.he-pc-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.he-pc-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 170px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-bottom: 1px solid #F2F2F2;
}
.he-pc-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.he-pc-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  flex: 1;
}
.he-pc-title {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: #333333;
  line-height: 1.65;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}
.he-pc-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
}
.he-pc-cat {
  color: var(--he-navy);
  font-weight: 600;
  background: var(--he-badge-bg);
  border-radius: 5px;
  padding: 4px 8px;
  max-width: 58%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.he-pc-stock.in-stock { color: var(--he-green); font-weight: 600; }
.he-pc-stock.contact { color: #B45309; font-weight: 600; }
.he-pc-divider { height: 1px; background: var(--he-border); margin-top: auto; }
.he-pc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 4px;
}
.he-pc-price {
  font-size: 14.5px;
  font-weight: 700;
  color: #030303;
}
.he-pc-price.call { color: var(--he-navy); font-size: 13px; }
.he-pc-arrow { color: var(--he-navy); font-weight: 700; }

/* Corporate & Project Cards */
.he-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 900px) { .he-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .he-services-grid { grid-template-columns: 1fr; } }

.he-service-card {
  padding: 22px 20px;
  border: 1px solid var(--he-border);
  border-radius: 14px;
  background: #FFFFFF;
  transition: all 0.2s ease;
}
.he-service-card:hover {
  border-color: var(--he-gold);
  box-shadow: 0 10px 26px rgba(10, 72, 124, 0.08);
  transform: translateY(-3px);
}
.he-service-badge {
  width: 44px; height: 44px; border-radius: 10px;
  background: #EDF5FC; color: var(--he-navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  font-size: 20px;
}
.he-service-card h3 {
  margin: 0 0 8px; font-size: 16px; font-weight: 800; color: var(--he-navy);
}
.he-service-card p {
  margin: 0; font-size: 13.5px; color: #555; line-height: 1.8; text-align: justify;
}

/* Contact Banner */
.he-contact-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 20px 26px; border-radius: 14px;
  background: linear-gradient(135deg, #0A487C 0%, #0D5999 100%);
  color: #FFFFFF;
}
.he-contact-banner-title { font-size: 17px; font-weight: 700; color: #FFF; margin: 0; }
.he-contact-banner-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.he-cb-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 8px; font-size: 13.5px; font-weight: 700;
  text-decoration: none !important;
}
.he-cb-btn.white { background: #FFFFFF; color: #111 !important; }
.he-cb-btn.yellow { background: var(--he-gold); color: #111 !important; }
.he-cb-phone { color: #FFF !important; font-size: 16px; font-weight: 800; direction: ltr; text-decoration: none !important; }
.he-cb-phone span { color: var(--he-gold); }
@media (max-width: 768px) {
  .he-contact-banner { flex-direction: column; text-align: center; }
  .he-home-hero { grid-template-columns: 1fr; }
}

/* ---------- WOOCOMMERCE ARCHIVE / FILTER / SINGLE OVERRIDES ON IRANKALA ---------- */
.archive-products-wrap {
  width: min(1320px, calc(100% - 32px));
  margin: 24px auto 48px;
  direction: rtl;
}
.he-archive-header {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  background: #F5F5F5; padding: 22px 26px; border-radius: 12px; margin-bottom: 22px;
}
.he-archive-title { margin: 0; font-size: 22px; font-weight: 800; color: #030303; }
.he-archive-breadcrumb { font-size: 13px; color: #666; }
.he-archive-breadcrumb a { color: #747474; text-decoration: none; }
.he-archive-layout { display: flex; align-items: flex-start; gap: 26px; }
.he-archive-sidebar {
  flex: 0 0 270px; position: sticky; top: 90px;
  background: #FFFFFF; border: 1px solid var(--he-border); border-radius: 12px; padding: 16px;
}
.he-archive-main { flex: 1; min-width: 0; }
@media (max-width: 900px) {
  .he-archive-layout { flex-direction: column; }
  .he-archive-sidebar { width: 100%; position: static; }
}

/* Override IranKala native WooCommerce cards & buttons to match Helectron */
.woocommerce ul.products li.product,
.irk-product-box {
  border: 1px solid var(--he-border) !important;
  border-radius: 10px !important;
  background: var(--he-card-bg) !important;
  box-shadow: none !important;
  transition: box-shadow 0.25s ease !important;
}
.woocommerce ul.products li.product:hover,
.irk-product-box:hover {
  box-shadow: 0 8px 20px rgba(10, 72, 124, 0.08) !important;
}
.woocommerce a.button,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background-color: var(--he-navy) !important;
  color: #FFFFFF !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
}
.woocommerce a.button:hover,
.woocommerce button.button.alt:hover {
  background-color: var(--he-gold) !important;
  color: #111111 !important;
}

/* Single Product Spec Boxes & Description Tables */
.aria-spec-box {
  background: #F7F9FB;
  border: 1px solid var(--he-border);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.aria-spec-box h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
  color: var(--he-navy);
}
.aria-spec-box ul {
  margin: 0;
  padding: 0 18px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 20px;
}
.aria-spec-box li {
  font-size: 13.5px;
  color: #333;
  line-height: 1.7;
}
.aria-prod-desc {
  line-height: 1.9;
  font-size: 14px;
  color: #333;
}
.aria-prod-desc table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 13.5px;
}
.aria-prod-desc th,
.aria-prod-desc td {
  padding: 10px 12px;
  border: 1px solid var(--he-border);
  text-align: right;
}
.aria-prod-desc th {
  background: #EDF5FC;
  color: var(--he-navy);
  font-weight: 700;
}
.aria-prod-desc tr:nth-child(even) td {
  background: #FAFAFA;
}
.aria-short-specs {
  margin: 12px 0;
  padding: 12px 24px 12px 12px;
  background: #F7F9FB;
  border-radius: 10px;
  border: 1px solid var(--he-border-light);
  font-size: 13px;
  line-height: 1.85;
  color: #333;
}
.woocommerce-Price-amount {
  color: var(--he-navy) !important;
  font-weight: 800 !important;
}
/* Pagination Helectron styling */
.woocommerce nav.woocommerce-pagination ul {
  border: 0 !important;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.woocommerce nav.woocommerce-pagination ul li {
  border: 0 !important;
  float: none !important;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  padding: 8px 14px !important;
  border: 1px solid var(--he-border) !important;
  border-radius: 7px !important;
  color: #333 !important;
  font-weight: 600 !important;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--he-navy) !important;
  border-color: var(--he-navy) !important;
  color: #FFFFFF !important;
}

/* ---------- HELECTRON-STYLE FOOTER ---------- */
.aria-he-footer {
  background: #F5F5F5;
  color: var(--he-muted);
  font-family: var(--he-font);
  padding: 26px 0 20px;
  margin-top: 40px;
  direction: rtl;
}
.aria-ft-top {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 960px) { .aria-ft-top { grid-template-columns: repeat(2, 1fr); } }
.aria-ft-top-item {
  display: flex; flex-direction: column; gap: 6px; padding: 10px;
}
.aria-ft-top-head {
  display: flex; align-items: center; gap: 8px;
  color: #111; font-size: 13.5px; font-weight: 700;
}
.aria-ft-divider-bar {
  width: 4px; height: 16px; border-radius: 6px; background: var(--he-yellow); display: inline-block;
}
.aria-ft-top-desc { font-size: 12.5px; color: #666; padding-right: 12px; }

.aria-ft-box {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--he-border);
  border-radius: 12px;
  overflow: hidden;
}
.aria-ft-middle {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding: 36px 32px 26px;
}
@media (max-width: 900px) { .aria-ft-middle { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .aria-ft-middle { grid-template-columns: 1fr; } }

.aria-ft-col-title {
  display: flex; align-items: center; gap: 8px;
  color: #111; font-size: 15px; font-weight: 800; margin-bottom: 14px;
}
.aria-ft-links { display: flex; flex-direction: column; gap: 10px; }
.aria-ft-links a {
  color: #555555; font-size: 13.5px; font-weight: 500; text-decoration: none;
}
.aria-ft-links a:hover { color: var(--he-navy); text-decoration: underline; }
.aria-ft-info-row { font-size: 13px; color: #555; line-height: 1.8; margin-bottom: 6px; }
.aria-ft-info-row strong { color: #111; }

.aria-ft-social-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 32px 20px;
}
@media (max-width: 768px) { .aria-ft-social-strip { flex-direction: column; } }
.aria-ft-brand-box {
  display: flex; align-items: center; gap: 10px;
}
.aria-ft-brand-box img { width: 46px; height: 38px; object-fit: contain; }
.aria-ft-brand-name { color: var(--he-navy); font-size: 19px; font-weight: 800; }
.aria-ft-follow {
  flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 22px; border-radius: 10px;
  background: linear-gradient(135deg, #0A487C 0%, #0D5999 100%);
  color: #FFFFFF; font-size: 14px; font-weight: 600;
}
@media (max-width: 640px) { .aria-ft-follow { flex-direction: column; width: 100%; } }
.aria-ft-social-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.aria-ft-social-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 8px;
  background: #FFFFFF; color: #111 !important;
  font-size: 13px; font-weight: 700; text-decoration: none !important;
}
.aria-ft-social-btn:hover { background: var(--he-yellow); }
.aria-ft-bottom {
  text-align: center; padding: 14px 20px;
  border-top: 1px solid var(--he-border-light);
  font-size: 13px; color: #666;
}
