
/* ==================================================
   PRODUCTS CONTROL PAGE
   گروه صنعتی آپادانا
================================================== */

:root {
  --primary: #22d3ee;
  --primary-dark: #0891b2;
  --blue: #2563eb;
  --purple: #8b5cf6;

  --dark: #061426;
  --dark-2: #081d33;
  --dark-3: #0b2940;

  --text: #142f46;
  --muted: #647b8e;
  --page-bg: #edf4f7;
  --white: #ffffff;

  --border: rgba(15, 42, 65, 0.1);
  --shadow: 0 25px 65px rgba(15, 42, 65, 0.11);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body.control-page {
  font-family: "Estedad", sans-serif;
  color: var(--text);
  background: var(--page-bg);
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
}

/* ==================================================
   HEADER
================================================== */

header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9999;

  background: rgba(7, 18, 38, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);

  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

header.scrolled {
  background: rgba(5, 14, 31, 0.985);
  border-bottom-color: rgba(34, 211, 238, 0.16);

  box-shadow:
    0 12px 38px rgba(0, 0, 0, 0.34),
    0 1px 0 rgba(34, 211, 238, 0.08);
}

.nav-wrapper {
  width: 100%;
  max-width: 1380px;
  height: 84px;

  margin: 0 auto;
  padding: 0 28px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 34px;
}

/* برند */

.brand-box {
  display: flex;
  align-items: center;
  gap: 13px;

  flex-shrink: 0;
}

.brand-box > a {
  display: block;
  line-height: 0;
  text-decoration: none;
}

.brand-box img {
  width: auto;
  height: 58px;

  object-fit: contain;
  border-radius: 13px;

  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.28),
    0 0 16px rgba(34, 211, 238, 0.15);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.brand-box:hover img {
  transform: scale(1.04);

  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.32),
    0 0 20px rgba(34, 211, 238, 0.22);
}

.brand-box .title {
  color: #f6fbff;

  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1.35;

  white-space: nowrap;
}

.brand-box small {
  display: block;

  color: #86a7b8;

  font-size: 0.76rem;
  font-weight: 500;

  white-space: nowrap;
}

/* ==================================================
   منوی دسکتاپ
================================================== */

.menu {
  margin: 0;
  padding: 6px 8px;

  display: flex;
  align-items: center;
  gap: 7px;

  list-style: none;

  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 18px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 12px 28px rgba(0, 0, 0, 0.15);
}

.menu > .menu-item {
  position: relative;
  list-style: none;
}

.menu > .menu-item > a {
  position: relative;

  min-height: 42px;
  padding: 10px 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #d6e3ec;

  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;

  text-decoration: none;

  background: transparent;
  border: 1px solid transparent;
  border-radius: 11px;

  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.menu > .menu-item > a::after {
  content: "";

  position: absolute;
  right: 18px;
  bottom: 4px;
  left: 18px;

  height: 2px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--primary),
      transparent
    );

  border-radius: 20px;

  opacity: 0;
  transform: scaleX(0);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.menu > .menu-item:hover > a {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.055);

  transform: translateY(-1px);
}

.menu > .menu-item:hover > a::after,
.menu > .menu-item.active > a::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu > .menu-item.active > a {
  color: var(--primary);

  background: rgba(34, 211, 238, 0.09);
  border-color: rgba(34, 211, 238, 0.12);
}

/* ==================================================
   زیرمنوی شیشه‌ای
================================================== */

.menu .submenu {
  position: absolute;
  top: calc(100% + 17px);
  right: 0;
  z-index: 10000;

  min-width: 255px;
  padding: 11px;

  background:
    linear-gradient(
      145deg,
      rgba(12, 29, 51, 0.98),
      rgba(5, 15, 31, 0.98)
    );

  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 20px;

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.52),
    0 0 35px rgba(34, 211, 238, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(12px) scale(0.97);
  transform-origin: top right;

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
}

.menu .submenu::before {
  content: "";

  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;

  height: 19px;
}

.menu .submenu::after {
  content: "";

  position: absolute;
  top: 0;
  right: 22px;

  width: 86px;
  height: 3px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--primary),
      #60a5fa,
      transparent
    );

  border-radius: 30px;

  box-shadow:
    0 0 17px rgba(34, 211, 238, 0.6);
}

.menu > .menu-item:hover > .submenu,
.menu > .menu-item:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: translateY(0) scale(1);
}

.menu .submenu a {
  position: relative;

  min-height: 46px;
  margin: 2px 0;
  padding: 11px 15px;

  display: flex;
  align-items: center;

  color: #c8d9e5;

  font-size: 0.91rem;
  font-weight: 500;
  line-height: 1.7;

  text-decoration: none;

  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;

  overflow: hidden;

  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    padding 0.25s ease;
}

.menu .submenu a::before {
  content: "";

  width: 7px;
  height: 7px;

  margin-left: 10px;
  flex-shrink: 0;

  background:
    linear-gradient(
      135deg,
      #67e8f9,
      var(--blue)
    );

  border-radius: 50%;

  box-shadow:
    0 0 10px rgba(34, 211, 238, 0.7);
}

.menu .submenu a::after {
  content: "";

  position: absolute;
  top: 0;
  right: -100%;

  width: 70%;
  height: 100%;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.08),
      transparent
    );

  transform: skewX(-18deg);

  transition: right 0.45s ease;
}

.menu .submenu a:hover,
.menu .submenu a.current-sub {
  color: #ffffff;
  padding-right: 20px;

  background:
    linear-gradient(
      135deg,
      rgba(34, 211, 238, 0.15),
      rgba(59, 130, 246, 0.07)
    );

  border-color: rgba(34, 211, 238, 0.16);
}

.menu .submenu a:hover::after {
  right: 130%;
}

.menu > .menu-item:last-child .submenu {
  right: auto;
  left: 0;

  transform-origin: top left;
}

/* ==================================================
   دکمه منوی موبایل
================================================== */

#mobMenuBtn {
  width: 46px;
  height: 46px;
  padding: 0;

  display: none;
  align-items: center;
  justify-content: center;

  color: #d9e8ef;

  font-size: 21px;

  cursor: pointer;

  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;

  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

#mobMenuBtn:hover,
#mobMenuBtn.active {
  color: #ffffff;

  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.25);
}

#mobMenuBtn i {
  transition: transform 0.3s ease;
}

#mobMenuBtn.active i {
  transform: rotate(90deg);
}

/* ==================================================
   منوی موبایل
================================================== */

#mobileMenu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 99998;

  width: min(88%, 360px);
  height: 100dvh;

  padding: 88px 22px 30px;

  background: rgba(6, 16, 34, 0.99);
  border-left: 1px solid rgba(34, 211, 238, 0.16);

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  box-shadow: -18px 0 55px rgba(0, 0, 0, 0.48);

  overflow-y: auto;

  transform: translateX(105%);

  transition: transform 0.38s ease;
}

#mobileMenu.open {
  transform: translateX(0);
}

.mob-close-btn {
  position: absolute;
  top: 20px;
  left: 20px;

  width: 42px;
  height: 42px;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #dceaf1;

  font-size: 20px;

  cursor: pointer;

  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
}

#mobileMenu ul {
  list-style: none;
}

#mobileMenu .menu-item {
  margin-bottom: 6px;
}

#mobileMenu .menu-item > a {
  min-height: 48px;
  padding: 11px 13px;

  display: flex;
  align-items: center;

  color: #e0ebf2;

  font-size: 1rem;
  font-weight: 600;

  text-decoration: none;
  border-radius: 10px;
}

#mobileMenu .menu-item:hover > a,
#mobileMenu .menu-item.active > a {
  color: #ffffff;

  background: rgba(34, 211, 238, 0.08);
}

#mobileMenu .submenu {
  position: static;

  width: 100%;
  min-width: 0;

  margin-top: 6px;
  padding: 7px;

  display: block;

  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;

  box-shadow: none;

  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: none;
}

#mobileMenu .submenu::before,
#mobileMenu .submenu::after,
#mobileMenu .submenu a::before,
#mobileMenu .submenu a::after {
  display: none;
}

#mobileMenu .submenu a {
  min-height: 40px;
  padding: 9px 12px;

  display: flex;
  align-items: center;

  color: #a7bfcd;

  font-size: 0.88rem;
  text-decoration: none;

  border-radius: 9px;
}

#mobileMenu .submenu a:hover,
#mobileMenu .submenu a.current-sub {
  color: #ffffff;

  background: rgba(34, 211, 238, 0.08);
}

/* ==================================================
   HERO
================================================== */

.control-hero {
  position: relative;

  min-height: 680px;
  padding: 175px 22px 125px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  background:
    radial-gradient(
      circle at 12% 24%,
      rgba(34, 211, 238, 0.25),
      transparent 29%
    ),
    radial-gradient(
      circle at 87% 72%,
      rgba(139, 92, 246, 0.23),
      transparent 31%
    ),
    linear-gradient(
      135deg,
      #041426 0%,
      #082a42 52%,
      #171d43 100%
    );

  overflow: hidden;
  isolation: isolate;
}

.control-hero::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -2;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    );

  background-size: 46px 46px;

  opacity: 0.8;
}

.control-hero::after {
  content: "";

  position: absolute;
  right: -6%;
  bottom: -88px;
  left: -6%;

  height: 165px;

  background: var(--page-bg);

  border-radius:
    50% 50% 0 0 /
    100% 100% 0 0;
}

.control-hero-decoration {
  position: absolute;

  border: 1px solid rgba(103, 232, 249, 0.16);
  border-radius: 50%;

  pointer-events: none;
}

.decoration-one {
  top: 150px;
  right: 8%;

  width: 210px;
  height: 210px;

  box-shadow:
    inset 0 0 45px rgba(34, 211, 238, 0.05),
    0 0 55px rgba(34, 211, 238, 0.05);

  animation: controlRotate 18s linear infinite;
}

.decoration-two {
  bottom: 90px;
  left: 7%;

  width: 145px;
  height: 145px;

  border-style: dashed;

  animation: controlRotateReverse 14s linear infinite;
}

.control-hero-content {
  position: relative;
  z-index: 2;

  width: min(100%, 960px);

  display: flex;
  flex-direction: column;
  align-items: center;
}

.control-eyebrow {
  margin-bottom: 20px;
  padding: 8px 17px;

  display: inline-flex;
  align-items: center;

  gap: 8px;

  color: #c6f8ff;

  font-size: 0.77rem;
  font-weight: 700;

  background:
    linear-gradient(
      135deg,
      rgba(34, 211, 238, 0.13),
      rgba(255, 255, 255, 0.05)
    );

  border: 1px solid rgba(103, 232, 249, 0.26);
  border-radius: 30px;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.23);

  animation: controlFadeUp 0.7s ease both;
}

.control-hero h1 {
  margin: 0;

  color: #ffffff;

  font-size: clamp(2.9rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.32;

  animation: controlFadeUp 0.85s ease both 0.12s;
}

.control-hero h1 span {
  display: block;

  color: transparent;

  background:
    linear-gradient(
      90deg,
      #67e8f9,
      #60a5fa,
      #c084fc,
      #67e8f9
    );

  background-size: 250% auto;

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: controlGradient 7s linear infinite;
}

.control-hero h1::after {
  content: "";

  display: block;

  width: 145px;
  height: 4px;

  margin: 22px auto 0;

  background:
    linear-gradient(
      90deg,
      transparent,
      #67e8f9,
      #60a5fa,
      #c084fc,
      transparent
    );

  border-radius: 20px;

  box-shadow:
    0 0 20px rgba(103, 232, 249, 0.5);
}

.control-hero p {
  max-width: 820px;

  margin: 25px auto 0;

  color: rgba(230, 243, 251, 0.9);

  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 2.15;

  animation: controlFadeUp 0.85s ease both 0.24s;
}

.control-hero-actions {
  margin-top: 31px;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  gap: 12px;

  animation: controlFadeUp 0.85s ease both 0.36s;
}

.primary-button,
.secondary-button {
  min-height: 50px;
  padding: 12px 22px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  font-size: 0.88rem;
  font-weight: 800;

  text-decoration: none;
  border-radius: 13px;

  transition:
    color 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.primary-button {
  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #0891b2,
      #2563eb
    );

  border: 1px solid rgba(255, 255, 255, 0.18);

  box-shadow:
    0 15px 35px rgba(37, 99, 235, 0.25);
}

.secondary-button {
  color: #dffaff;

  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.primary-button:hover,
.secondary-button:hover {
  color: #ffffff;
  transform: translateY(-4px);
}

.primary-button:hover {
  box-shadow:
    0 22px 45px rgba(37, 99, 235, 0.36);
}

.secondary-button:hover {
  background: rgba(34, 211, 238, 0.1);
}

.control-features {
  margin-top: 39px;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  gap: 10px;

  animation: controlFadeUp 0.85s ease both 0.48s;
}

.control-features span {
  padding: 9px 14px;

  display: inline-flex;
  align-items: center;

  gap: 8px;

  color: #c7dce7;

  font-size: 0.73rem;
  font-weight: 650;

  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.control-features i {
  color: var(--primary);
}

/* ==================================================
   عمومی
================================================== */

.container {
  position: relative;
  z-index: 2;

  width: min(100%, 1240px);

  margin: 0 auto;
  padding: 0 20px;
}

.section-heading {
  max-width: 790px;

  margin: 0 auto 52px;

  text-align: center;

  opacity: 0;
  transform: translateY(30px);

  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.section-heading.show {
  opacity: 1;
  transform: translateY(0);
}

.section-label {
  display: inline-block;

  margin-bottom: 12px;
  padding: 7px 14px;

  color: #087d8e;

  font-size: 0.76rem;
  font-weight: 750;

  background: rgba(34, 211, 238, 0.09);
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 30px;
}

.section-heading h2 {
  margin-bottom: 14px;

  color: #102a43;

  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 900;
  line-height: 1.55;
}

.section-heading p {
  color: var(--muted);

  font-size: 0.96rem;
  line-height: 2;
}

/* ==================================================
   محصولات
================================================== */

.products-section {
  position: relative;

  padding: 105px 0 120px;

  overflow: hidden;
}

.products-section::before {
  content: "";

  position: absolute;
  top: 30px;
  right: -190px;

  width: 450px;
  height: 450px;

  background:
    radial-gradient(
      circle,
      rgba(34, 211, 238, 0.11),
      transparent 68%
    );

  border-radius: 50%;
}

.products-section::after {
  content: "";

  position: absolute;
  bottom: 0;
  left: -190px;

  width: 430px;
  height: 430px;

  background:
    radial-gradient(
      circle,
      rgba(139, 92, 246, 0.09),
      transparent 68%
    );

  border-radius: 50%;
}

.products-grid {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));

  gap: 27px;
}

.product-card {
  position: relative;

  grid-column: span 2;

  min-width: 0;

  display: flex;
  flex-direction: column;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.99),
      rgba(241, 248, 251, 0.97)
    );

  border: 1px solid rgba(15, 42, 65, 0.09);

  border-radius:
    18px 38px 18px 38px;

  box-shadow:
    0 25px 65px rgba(15, 42, 65, 0.11);

  overflow: hidden;

  opacity: 0;
  transform: translateY(40px);

  transition:
    opacity 0.75s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.4s ease;
}

.product-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.product-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.product-card.show {
  opacity: 1;
  transform: translateY(0);
}

.product-card::before {
  content: "";

  position: absolute;
  top: 0;
  right: 32px;
  left: 32px;
  z-index: 7;

  height: 4px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--primary),
      var(--blue),
      var(--purple),
      transparent
    );

  border-radius:
    0 0 20px 20px;

  box-shadow:
    0 0 14px rgba(34, 211, 238, 0.32);
}

.product-card:hover {
  border-color: rgba(34, 211, 238, 0.35);

  box-shadow:
    0 42px 95px rgba(15, 42, 65, 0.18),
    0 0 32px rgba(34, 211, 238, 0.09);

  transform: translateY(-12px);
}

/* تصویر محصول */

.product-image {
  position: relative;

  height: 260px;

  background: #dce7ed;

  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  filter:
    saturate(0.95)
    contrast(1.02);

  transition:
    transform 0.65s ease,
    filter 0.65s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.085);

  filter:
    saturate(1.08)
    contrast(1.05);
}

.product-image::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(5, 18, 35, 0.65),
      transparent 52%
    );

  pointer-events: none;
}

.product-number {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;

  width: 45px;
  height: 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;

  font-size: 0.75rem;
  font-weight: 900;
  direction: ltr;

  background: rgba(5, 20, 38, 0.77);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;

  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);

  box-shadow:
    0 12px 25px rgba(0, 0, 0, 0.24);
}

/* لایه روی تصویر */

.product-image-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 10px;

  color: #ffffff;

  font-size: 0.77rem;
  font-weight: 800;

  background:
    linear-gradient(
      135deg,
      rgba(5, 18, 35, 0.82),
      rgba(8, 44, 67, 0.73)
    );

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  opacity: 0;

  transition: opacity 0.35s ease;
}

.product-image-overlay span {
  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #061426;

  font-size: 1.3rem;

  background:
    linear-gradient(
      135deg,
      #67e8f9,
      #60a5fa,
      #c084fc
    );

  border-radius: 18px;

  box-shadow:
    0 18px 42px rgba(37, 99, 235, 0.3);

  transform:
    translateY(14px)
    scale(0.9);

  transition: transform 0.35s ease;
}

.product-card:hover .product-image-overlay {
  opacity: 1;
}

.product-card:hover .product-image-overlay span {
  transform:
    translateY(0)
    scale(1);
}

/* محتوای محصول */

.product-content {
  position: relative;

  flex: 1;

  padding: 28px 25px 27px;

  display: flex;
  flex-direction: column;
}

.product-content::before {
  content: "";

  position: absolute;
  top: 27px;
  right: 0;

  width: 3px;
  height: 90px;

  background:
    linear-gradient(
      to bottom,
      var(--primary),
      var(--blue),
      transparent
    );

  border-radius: 10px;

  box-shadow:
    0 0 13px rgba(34, 211, 238, 0.4);
}

.product-title-row {
  margin-bottom: 17px;

  display: flex;
  align-items: center;

  gap: 14px;
}

.product-icon {
  width: 55px;
  height: 55px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;

  font-size: 1.2rem;

  background:
    linear-gradient(
      135deg,
      var(--primary-dark),
      var(--blue)
    );

  border-radius: 16px;

  box-shadow:
    0 14px 29px rgba(37, 99, 235, 0.21);

  flex-shrink: 0;
}

.product-type {
  display: block;

  margin-bottom: 4px;

  color: #8194a3;

  font-size: 0.63rem;
  font-weight: 650;
  direction: ltr;
  text-align: right;
}

.product-content h3 {
  margin: 0;

  color: #102a43;

  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.55;
}

.product-content > p {
  margin-bottom: 21px;

  color: #607689;

  font-size: 0.85rem;
  line-height: 2.05;

  text-align: justify;
}

.product-tags {
  margin-top: auto;

  display: flex;
  flex-wrap: wrap;

  gap: 8px;
}

.product-tags span {
  padding: 7px 10px;

  display: inline-flex;
  align-items: center;

  gap: 6px;

  color: #526b7c;

  font-size: 0.67rem;
  font-weight: 700;

  background: rgba(15, 42, 65, 0.045);
  border: 1px solid rgba(15, 42, 65, 0.07);
  border-radius: 10px;
}

.product-tags i {
  color: var(--primary-dark);
  font-size: 0.63rem;
}

/* ==================================================
   CTA
================================================== */

.control-cta {
  padding: 10px 0 120px;
}

.control-cta-box {
  position: relative;

  padding: 48px 50px;

  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;

  gap: 30px;

  color: #e9f6fc;

  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(34, 211, 238, 0.19),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #07182d,
      #0a2d45,
      #151d3e
    );

  border: 1px solid rgba(34, 211, 238, 0.15);

  border-radius:
    20px 52px 20px 52px;

  box-shadow:
    0 35px 90px rgba(15, 42, 65, 0.22);

  overflow: hidden;

  opacity: 0;
  transform: translateY(35px);

  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.control-cta-box.show {
  opacity: 1;
  transform: translateY(0);
}

.control-cta-box::after {
  content: "";

  position: absolute;
  top: 0;
  right: 60px;

  width: 230px;
  height: 4px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--primary),
      var(--blue),
      transparent
    );

  border-radius:
    0 0 20px 20px;
}

.cta-icon {
  width: 94px;
  height: 94px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #061426;

  font-size: 2.2rem;

  background:
    linear-gradient(
      135deg,
      #67e8f9,
      #60a5fa,
      #c084fc
    );

  border-radius: 28px;

  box-shadow:
    0 20px 45px rgba(37, 99, 235, 0.24);
}

.cta-content > span {
  display: inline-block;

  margin-bottom: 8px;

  color: #67e8f9;

  font-size: 0.73rem;
  font-weight: 750;
}

.cta-content h2 {
  margin-bottom: 9px;

  color: #ffffff;

  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.55;
}

.cta-content p {
  color: rgba(224, 239, 248, 0.82);

  font-size: 0.87rem;
  line-height: 2;
}

.cta-button {
  min-width: 165px;
  min-height: 51px;
  padding: 12px 20px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  color: #ffffff;

  font-size: 0.82rem;
  font-weight: 800;

  text-decoration: none;

  background:
    linear-gradient(
      135deg,
      #0891b2,
      #2563eb
    );

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;

  box-shadow:
    0 15px 35px rgba(37, 99, 235, 0.25);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.cta-button:hover {
  color: #ffffff;

  transform: translateY(-4px);

  box-shadow:
    0 22px 45px rgba(37, 99, 235, 0.37);
}

/* ==================================================
   FOOTER
================================================== */

.footer {
  position: relative;

  padding: 105px 30px 35px;

  color: #e8f4ff;

  background: #060b15;
  border-top: 1px solid rgba(34, 211, 238, 0.18);

  overflow: hidden;

  opacity: 0;
  transform: translateY(35px);

  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.footer.show {
  opacity: 1;
  transform: translateY(0);
}

.footer::before {
  content: "";

  position: absolute;
  top: 0;
  left: 50%;

  width: 520px;
  max-width: 80%;
  height: 4px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--primary),
      transparent
    );

  border-radius: 20px;

  transform: translateX(-50%);

  box-shadow:
    0 0 45px rgba(34, 211, 238, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 70px;

  text-align: right;
}

.footer-col h4 {
  position: relative;

  width: fit-content;

  margin-bottom: 30px;
  padding-bottom: 13px;

  color: var(--primary);

  font-size: 1.45rem;
  font-weight: 800;
}

.footer-col h4::after {
  content: "";

  position: absolute;
  right: 0;
  bottom: 0;

  width: 70px;
  height: 3px;

  background:
    linear-gradient(
      90deg,
      var(--primary),
      transparent
    );

  border-radius: 10px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;

  color: #b9cbd7;

  font-size: 0.94rem;
  line-height: 1.9;
}

.footer-col a {
  color: #c8e6ff;
  text-decoration: none;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-col a:hover {
  color: var(--primary);
  transform: translateX(-4px);
}

.footer-map {
  margin-top: 18px;

  overflow: hidden;

  border: 1px solid rgba(34, 211, 238, 0.13);
  border-radius: 14px;

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.3);
}

.footer-map iframe {
  display: block;

  width: 100%;
  height: 190px;

  border: 0;
}

.footer-bottom {
  width: min(100%, 1200px);

  margin: 55px auto 0;
  padding-top: 25px;

  color: #7f9bac;

  font-size: 0.85rem;

  text-align: center;

  border-top:
    1px solid rgba(255, 255, 255, 0.08);
}

/* ==================================================
   WHATSAPP
================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 26px;
  left: 26px;
  z-index: 99999;

  width: 64px;
  height: 64px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;

  font-size: 34px;
  text-decoration: none;

  background: #25d366;
  border-radius: 50%;

  box-shadow:
    0 10px 30px rgba(37, 211, 102, 0.42);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  color: #ffffff;

  transform:
    translateY(-7px)
    scale(1.07);

  box-shadow:
    0 16px 42px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
  position: absolute;
  left: 78px;

  padding: 9px 13px;

  color: #ffffff;

  font-size: 0.78rem;
  white-space: nowrap;

  background: #07111f;
  border-radius: 10px;

  opacity: 0;
  visibility: hidden;

  transform: translateX(-8px);

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;

  transform: translateX(0);
}

.whatsapp-pulse {
  position: absolute;
  inset: 0;
  z-index: -1;

  background: rgba(37, 211, 102, 0.38);
  border-radius: 50%;

  animation: whatsappPulse 2.4s infinite;
}

/* ==================================================
   ANIMATIONS
================================================== */

@keyframes controlGradient {
  from {
    background-position: 0 center;
  }

  to {
    background-position: 250% center;
  }
}

@keyframes controlFadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes controlRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes controlRotateReverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.65;
  }

  75% {
    transform: scale(1.55);
    opacity: 0;
  }

  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 1200px) {
  .nav-wrapper {
    padding: 0 22px;
    gap: 20px;
  }

  .menu {
    gap: 4px;
  }

  .menu > .menu-item > a {
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .brand-box .title {
    font-size: 1.2rem;
  }

  .products-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .product-card,
  .product-card:nth-child(4),
  .product-card:nth-child(5) {
    grid-column: auto;
  }

  .product-card:last-child {
    grid-column: 1 / -1;

    width: min(100%, 590px);
    justify-self: center;
  }
}

@media (max-width: 992px) {
  .menu {
    display: none;
  }

  #mobMenuBtn {
    display: flex;
  }

  .control-hero {
    min-height: 640px;
  }

  .control-cta-box {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .cta-button {
    grid-column: 1 / -1;

    width: 100%;
  }
}

@media (max-width: 800px) {
  .control-hero {
    padding: 155px 20px 105px;
  }

  .products-section {
    padding: 78px 0 95px;
  }

  .control-cta {
    padding-bottom: 95px;
  }

  .control-cta-box {
    padding: 43px 34px;

    grid-template-columns: 1fr;

    text-align: center;
  }

  .cta-icon {
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 650px) {
  .nav-wrapper {
    height: 78px;
    padding: 0 14px;
  }

  .brand-box {
    gap: 9px;
  }

  .brand-box img {
    height: 50px;
    border-radius: 11px;
  }

  .brand-box .title {
    font-size: 1rem;
  }

  .brand-box small {
    display: none;
  }

  #mobMenuBtn {
    width: 42px;
    height: 42px;

    font-size: 19px;
  }

  #mobileMenu {
    width: min(90%, 340px);

    padding: 82px 18px 25px;
  }

  .control-hero {
    min-height: 620px;

    padding: 135px 17px 90px;
  }

  .control-hero::after {
    bottom: -57px;
    height: 110px;
  }

  .control-eyebrow {
    margin-bottom: 15px;
    padding: 6px 11px;

    font-size: 0.64rem;
  }

  .control-hero h1 {
    font-size: 2.4rem;
  }

  .control-hero p {
    font-size: 0.87rem;
    line-height: 2;
  }

  .control-hero-actions {
    width: 100%;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .control-features {
    gap: 7px;
  }

  .control-features span {
    padding: 7px 10px;

    font-size: 0.66rem;
  }

  .decoration-one,
  .decoration-two {
    display: none;
  }

  .container {
    padding: 0 14px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2 {
    font-size: 1.75rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 21px;
  }

  .product-card,
  .product-card:last-child {
    grid-column: auto;

    width: 100%;
  }

  .product-image {
    height: 235px;
  }

  .product-content {
    padding: 25px 21px 23px;
  }

  .product-title-row {
    align-items: flex-start;
  }

  .product-icon {
    width: 50px;
    height: 50px;

    font-size: 1.05rem;
  }

  .product-content h3 {
    font-size: 1.12rem;
  }

  .product-content > p {
    font-size: 0.81rem;
  }

  .product-image-overlay {
    display: none;
  }

  .control-cta-box {
    padding: 38px 23px;

    border-radius:
      15px 34px 15px 34px;
  }

  .cta-icon {
    width: 82px;
    height: 82px;

    font-size: 1.85rem;
    border-radius: 23px;
  }

  .cta-content h2 {
    font-size: 1.55rem;
  }

  .footer {
    padding: 80px 18px 30px;
  }

  .footer-grid {
    text-align: center;
  }

  .footer-col h4 {
    margin-right: auto;
    margin-left: auto;
  }

  .footer-col h4::after {
    right: 50%;

    transform: translateX(50%);
  }

  .whatsapp-float {
    width: 57px;
    height: 57px;

    bottom: 18px;
    left: 18px;

    font-size: 30px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

/* ==================================================
   کاهش حرکت
================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;
  }

  .section-heading,
  .product-card,
  .control-cta-box,
  .footer {
    opacity: 1 !important;
    transform: none !important;
  }
}
/* =========================================================
هدر یکپارچه صفحات محصولات — مشابه صفحه درباره ما
این کد را در انتهای CSS هر چهار صفحه محصول قرار بده
========================================================= */

:root {
--header-primary: #22d3ee;
--header-bg: rgba(5, 15, 31, 0.94);
--header-text: #d7e3eb;
}

/* =========================================================
بدنه اصلی هدر
========================================================= */

header,
.header {
position: fixed !important;
top: 0 !important;
right: 0 !important;
left: 0 !important;
z-index: 9999 !important;

width: 100% !important;
min-height: 92px !important;

margin: 0 !important;
padding: 0 !important;

font-family: "Estedad", sans-serif !important;

background: var(--header-bg) !important;

border-bottom:
1px solid rgba(34, 211, 238, 0.14) !important;

box-shadow:
0 10px 35px rgba(0, 0, 0, 0.22) !important;

backdrop-filter:
blur(22px) saturate(150%) !important;

-webkit-backdrop-filter:
blur(22px) saturate(150%) !important;

transition:
background 0.3s ease,
box-shadow 0.3s ease,
border-color 0.3s ease !important;
}

header.scrolled,
.header.scrolled {
background:
rgba(5, 13, 27, 0.98) !important;

border-bottom-color:
rgba(34, 211, 238, 0.2) !important;

box-shadow:
0 15px 42px rgba(0, 0, 0, 0.34) !important;
}

/* =========================================================
محفظه داخلی هدر
========================================================= */

header .nav-wrapper,
.header .nav-wrapper {
width: 100% !important;
max-width: 1240px !important;

height: 92px !important;
min-height: 92px !important;

margin: 0 auto !important;
padding: 0 34px !important;

display: flex !important;
align-items: center !important;
justify-content: space-between !important;

gap: 55px !important;
}

/* =========================================================
لوگو و عنوان برند
========================================================= */

header .brand-box,
.header .brand-box {
display: flex !important;
align-items: center !important;

gap: 15px !important;

flex: 0 0 auto !important;

min-width: max-content !important;

margin: 0 !important;
padding: 0 !important;
}

header .brand-box > a,
.header .brand-box > a {
display: block !important;

width: 62px !important;
height: 62px !important;

flex: 0 0 62px !important;

margin: 0 !important;
padding: 0 !important;

text-decoration: none !important;
}

header .brand-box img,
.header .brand-box img {
display: block !important;

width: 62px !important;
height: 62px !important;

max-width: 62px !important;
max-height: 62px !important;

padding: 5px !important;

object-fit: contain !important;

background:
rgba(255, 255, 255, 0.06) !important;

border:
1px solid rgba(34, 211, 238, 0.2) !important;

border-radius: 16px !important;

box-shadow:
0 10px 28px rgba(0, 0, 0, 0.32),
0 0 18px rgba(34, 211, 238, 0.12) !important;

animation: none !important;
transform: none !important;

transition:
transform 0.3s ease,
box-shadow 0.3s ease !important;
}

header .brand-box:hover img,
.header .brand-box:hover img {
transform:
translateY(-2px)
scale(1.03) !important;

box-shadow:
0 14px 32px rgba(0, 0, 0, 0.38),
0 0 24px rgba(34, 211, 238, 0.2) !important;
}

header .brand-box > div,
.header .brand-box > div {
display: flex !important;
flex-direction: column !important;
justify-content: center !important;
}

header .brand-box .title,
.header .brand-box .title {
margin: 0 !important;
padding: 0 !important;

color: #ffffff !important;

font-size: 1.35rem !important;
font-weight: 800 !important;
line-height: 1.4 !important;

white-space: nowrap !important;

text-shadow: none !important;
}

header .brand-box small,
.header .brand-box small {
display: block !important;

margin-top: 2px !important;

color: #8caabb !important;

font-size: 0.72rem !important;
font-weight: 500 !important;
line-height: 1.5 !important;

letter-spacing: 0.4px !important;

white-space: nowrap !important;
}

/* =========================================================
کادر شیشه‌ای منوی دسکتاپ
========================================================= */

header .menu,
.header .menu {
width: auto !important;
height: auto !important;

margin: 0 !important;
padding: 7px 9px !important;

display: flex !important;
align-items: center !important;

gap: 10px !important;

list-style: none !important;

background:
rgba(255, 255, 255, 0.035) !important;

border:
1px solid rgba(255, 255, 255, 0.07) !important;

border-radius: 18px !important;

box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.03),
0 12px 28px rgba(0, 0, 0, 0.15) !important;
}

header .menu-item,
.header .menu-item {
position: relative !important;

height: auto !important;

margin: 0 !important;
padding: 0 !important;

display: block !important;

list-style: none !important;

transform: none !important;
transition: none !important;
}

header .menu-item:hover,
.header .menu-item:hover {
transform: none !important;
}

/* لینک‌های اصلی منو */

header .menu-item > a,
.header .menu-item > a {
position: relative !important;

min-width: 92px !important;
min-height: 46px !important;

height: auto !important;

padding: 11px 18px !important;

display: flex !important;
align-items: center !important;
justify-content: center !important;

color: var(--header-text) !important;

font-size: 0.94rem !important;
font-weight: 600 !important;
line-height: 1 !important;

white-space: nowrap !important;

text-decoration: none !important;

background: transparent !important;

border:
1px solid transparent !important;

border-radius: 13px !important;

text-shadow: none !important;

transform: none !important;

transition:
color 0.25s ease,
background 0.25s ease,
box-shadow 0.25s ease,
border-color 0.25s ease !important;
}

header .menu-item > a::before,
.header .menu-item > a::before {
display: none !important;
content: none !important;
}

header .menu-item > a::after,
.header .menu-item > a::after {
content: "" !important;

position: absolute !important;

right: 24px !important;
bottom: 5px !important;
left: 24px !important;

width: auto !important;
height: 2px !important;

margin: 0 !important;

background:
linear-gradient(
90deg,
transparent,
var(--header-primary),
transparent
) !important;

border-radius: 20px !important;

box-shadow:
0 0 11px rgba(34, 211, 238, 0.65) !important;

opacity: 0 !important;

transform:
scaleX(0.35) !important;

transition:
opacity 0.25s ease,
transform 0.25s ease !important;
}

/* هاور و گزینه فعال */

header .menu-item:hover > a,
header .menu-item.active > a,
.header .menu-item:hover > a,
.header .menu-item.active > a {
color: #69e9ff !important;

background:
rgba(34, 211, 238, 0.1) !important;

border-color:
rgba(34, 211, 238, 0.22) !important;

box-shadow:
inset 0 0 22px rgba(34, 211, 238, 0.055),
0 8px 22px rgba(0, 0, 0, 0.12) !important;
}

header .menu-item:hover > a::after,
header .menu-item.active > a::after,
.header .menu-item:hover > a::after,
.header .menu-item.active > a::after {
opacity: 1 !important;

transform:
scaleX(1) !important;
}

/* =========================================================
زیرمنوی دسکتاپ
========================================================= */

header .submenu,
.header .submenu {
position: absolute !important;

top: calc(100% + 16px) !important;
right: 0 !important;
z-index: 10000 !important;

min-width: 250px !important;
max-width: calc(100vw - 24px) !important;

margin: 0 !important;
padding: 10px !important;

background:
linear-gradient(
145deg,
rgba(10, 26, 46, 0.99),
rgba(5, 14, 28, 0.99)
) !important;

border:
1px solid rgba(34, 211, 238, 0.14) !important;

border-radius: 20px !important;

backdrop-filter:
blur(20px) !important;

-webkit-backdrop-filter:
blur(20px) !important;

box-shadow:
0 28px 70px rgba(0, 0, 0, 0.5),
inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;

opacity: 0 !important;
visibility: hidden !important;
pointer-events: none !important;

transform:
translateY(10px)
scale(0.98) !important;

transform-origin:
top right !important;

transition:
opacity 0.22s ease,
visibility 0.22s ease,
transform 0.22s ease !important;
}

/* فضای نامرئی میان منو و زیرمنو */

header .submenu::before,
.header .submenu::before {
content: "" !important;

position: absolute !important;

right: 0 !important;
bottom: 100% !important;
left: 0 !important;

height: 17px !important;

display: block !important;
}

/* خط نورانی بالای زیرمنو */

header .submenu::after,
.header .submenu::after {
content: "" !important;

position: absolute !important;

top: 0 !important;
right: 22px !important;

width: 68px !important;
height: 3px !important;

display: block !important;

background:
linear-gradient(
90deg,
transparent,
var(--header-primary),
transparent
) !important;

border-radius: 20px !important;
}

header .menu-item:hover > .submenu,
header .menu-item:focus-within > .submenu,
.header .menu-item:hover > .submenu,
.header .menu-item:focus-within > .submenu {
opacity: 1 !important;
visibility: visible !important;
pointer-events: auto !important;

transform:
translateY(0)
scale(1) !important;
}

header .submenu a,
.header .submenu a {
min-height: 46px !important;

padding: 11px 15px !important;

display: flex !important;
align-items: center !important;

color: #bcd0dc !important;

font-size: 0.9rem !important;
font-weight: 500 !important;
line-height: 1.7 !important;

white-space: nowrap !important;

text-decoration: none !important;

background: transparent !important;

border:
1px solid transparent !important;

border-radius: 11px !important;

transform: none !important;

transition:
color 0.22s ease,
background 0.22s ease,
border-color 0.22s ease,
padding-right 0.22s ease !important;
}

header .submenu a:hover,
header .submenu a.current-sub,
.header .submenu a:hover,
.header .submenu a.current-sub {
color: #72ecff !important;

background:
rgba(34, 211, 238, 0.1) !important;

border-color:
rgba(34, 211, 238, 0.13) !important;

padding-right: 20px !important;

text-shadow: none !important;

transform: none !important;
}

/* =========================================================
دکمه منوی موبایل
========================================================= */

#mobMenuBtn {
position: static !important;

display: none !important;
align-items: center !important;
justify-content: center !important;

width: 45px !important;
height: 45px !important;

padding: 0 !important;

color: #dce8ef !important;

font-size: 20px !important;

cursor: pointer !important;

background:
rgba(255, 255, 255, 0.055) !important;

border:
1px solid rgba(255, 255, 255, 0.12) !important;

border-radius: 12px !important;

box-shadow: none !important;

animation: none !important;
transform: none !important;
}

/* =========================================================
منوی موبایل
========================================================= */

#mobileMenu {
position: fixed !important;

top: 0 !important;
right: 0 !important;
z-index: 99998 !important;

width: min(88%, 360px) !important;
max-width: 360px !important;

height: 100vh !important;
height: 100dvh !important;

padding:
84px
21px
30px !important;

background:
rgba(6, 16, 32, 0.99) !important;

border: none !important;

border-left:
1px solid rgba(34, 211, 238, 0.17) !important;

backdrop-filter:
blur(22px) !important;

-webkit-backdrop-filter:
blur(22px) !important;

box-shadow:
-18px 0 55px rgba(0, 0, 0, 0.5) !important;

overflow-y: auto !important;

opacity: 1 !important;
visibility: visible !important;

transform:
translateX(105%) !important;

transition:
transform 0.36s ease !important;
}

#mobileMenu.open {
transform:
translateX(0) !important;
}

#mobileMenu ul {
margin: 0 !important;
padding: 0 !important;

list-style: none !important;
}

.mob-close-btn {
position: absolute !important;

top: 19px !important;
left: 19px !important;

width: 42px !important;
height: 42px !important;

padding: 0 !important;

display: flex !important;
align-items: center !important;
justify-content: center !important;

color: #dce8ef !important;

font-size: 19px !important;

cursor: pointer !important;

background:
rgba(255, 255, 255, 0.055) !important;

border:
1px solid rgba(255, 255, 255, 0.12) !important;

border-radius: 11px !important;

box-shadow: none !important;

transform: none !important;
}

#mobileMenu .menu-item {
height: auto !important;

margin: 0 0 6px !important;
padding: 0 !important;

display: block !important;

opacity: 1 !important;

transform: none !important;
transition: none !important;
}

#mobileMenu .menu-item > a {
min-height: 48px !important;
height: auto !important;

padding: 12px 13px !important;

display: flex !important;
align-items: center !important;
justify-content: flex-start !important;

color: #d7e3eb !important;

font-size: 0.96rem !important;
font-weight: 600 !important;

text-decoration: none !important;

background: transparent !important;

border:
1px solid transparent !important;

border-radius: 10px !important;
}

#mobileMenu .menu-item > a::before,
#mobileMenu .menu-item > a::after {
display: none !important;
content: none !important;
}

#mobileMenu .menu-item.active > a,
#mobileMenu .menu-item > a:hover {
color: #72ecff !important;

background:
rgba(34, 211, 238, 0.09) !important;

border-color:
rgba(34, 211, 238, 0.13) !important;
}

#mobileMenu .submenu {
position: static !important;

width: 100% !important;
min-width: 0 !important;
max-width: none !important;

margin: 3px 0 0 !important;
padding: 4px 13px 8px 0 !important;

background: transparent !important;

border: 0 !important;
border-radius: 0 !important;

box-shadow: none !important;

opacity: 1 !important;
visibility: visible !important;
pointer-events: auto !important;

transform: none !important;
}

#mobileMenu .submenu::before,
#mobileMenu .submenu::after {
display: none !important;
content: none !important;
}

#mobileMenu .submenu a {
min-height: 39px !important;

padding: 8px 12px !important;

color: #9fb8c8 !important;

font-size: 0.85rem !important;

border-radius: 8px !important;
}

#mobileMenu .submenu a:hover,
#mobileMenu .submenu a.current-sub {
color: #72ecff !important;

background:
rgba(34, 211, 238, 0.075) !important;

padding-right: 12px !important;
}

/* =========================================================
پس‌زمینه تاریک منوی موبایل
========================================================= */

.menu-backdrop,
.mobile-backdrop {
position: fixed !important;

inset: 0 !important;
z-index: 99997 !important;

background:
rgba(0, 0, 0, 0.56) !important;

opacity: 0 !important;
visibility: hidden !important;

pointer-events: none !important;

transition:
opacity 0.25s ease,
visibility 0.25s ease !important;
}

.menu-backdrop.show,
.menu-backdrop.open,
.mobile-backdrop.show,
.mobile-backdrop.open {
opacity: 1 !important;
visibility: visible !important;

pointer-events: auto !important;
}

/* =========================================================
تبلت و موبایل
========================================================= */

@media (max-width: 992px) {
header,
.header {
min-height: 78px !important;
}

header .nav-wrapper,
.header .nav-wrapper {
height: 78px !important;
min-height: 78px !important;


padding: 0 18px !important;

gap: 16px !important;


}

header .menu,
.header .menu {
display: none !important;
}

#mobMenuBtn {
display: flex !important;
}

header .brand-box img,
.header .brand-box img,
header .brand-box > a,
.header .brand-box > a {
width: 54px !important;
height: 54px !important;

}

header .brand-box .title,
.header .brand-box .title {
font-size: 1.08rem !important;
}

header .brand-box small,
.header .brand-box small {
font-size: 0.64rem !important;
}
}

@media (max-width: 600px) {
header .nav-wrapper,
.header .nav-wrapper {
padding: 0 12px !important;
}

header .brand-box,
.header .brand-box {
gap: 9px !important;
}

header .brand-box .title,
.header .brand-box .title {
font-size: 0.94rem !important;
}

header .brand-box small,
.header .brand-box small {
display: none !important;
}
}
