/* copyright 2025 arabonco.ir */
body.light {
  /*========== Colors ==========*/
  --bg-abi: #0023e9;
  --bg-banafsh: #5c2e91;
  --bg-sabz: #009b67;
  --bg-zard: #e9c600;
  --bg-sefid: #fff;
  --bg-khak: #f0f8ff;
  --bg-khak2: #dcebf9;
  --bg-qermez: #ac1616;
  --bg-abi: #0064d4;
  --bg-header: #ffffff;

  --white: rgba(255, 255, 255, 0.9);
  --white-hover: rgba(255, 255, 255, 0.7);
  --black: #000000;
  --black-hover: rgba(0, 0, 0, 0.7);
  --white-s: #ffffff;
  --white-hover-s: #ffffffa8;
  --black-s: #000000;
  --black-hover-s: #00000080;
  --siah: #000000;
  --qermez: rgb(255, 0, 0);
  --shadow-op: rgba(0, 0, 0, 0.1);
}

body.dark {
  /*========== Colors ==========*/
  --bg-abi: #001695;
  --bg-banafsh: #24034b;
  --bg-sabz: #0b7d57;
  --bg-zard: #f59e0b;
  --bg-sefid: #000000;
  --bg-khak: #0a1628;
  --bg-khak2: #112240;

  --bg-qermez: #700f0f;
  --bg-abi: #004ba2;
  --bg-header: #007aaa;

  --white: rgba(0, 0, 0, 0.9);
  --white-hover: rgba(0, 0, 0, 0.5);
  --black: rgb(255, 255, 255, 0.9);
  --black-hover: rgba(255, 255, 255, 0.7);
  --white-s: #ffffff;
  --white-hover-s: #ffffffa8;
  --black-s: #000000;
  --black-hover-s: #00000080;
  --siah: #ffffff;
  --qermez: rgb(255, 0, 0);
  --shadow-op: rgba(255, 255, 255, 0.1);
}

:root {
  /*========== Font and typography ==========*/
  --fs-base: 1rem;
  --fs-1: 1.7rem;
  --fs-2: 1.5rem;
  --fs-3: 1.3rem;
  --fs-4: 1.2rem;
  --fs-5: 1.1rem;

  /*========== spacing ==========*/
  --py: 5rem;
  --shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  --transition: 0.3s ease-in-out;
  --accent: #00aef0;
  --accent1: #006891;
  --hover-accent: rgba(0, 172, 240, 0.3);
  --sabz: #00b679;
  --zard: #edd100;
  --ff-iranian: font-family: "iranian";
  --ff-Maylo: font-family: "maylo";
}

/*=============== Reset ===============*/

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

@font-face {
  font-family: "iranyekan";
  src:
    url("/fonts/iranyekan/regular.woff2") format("woff2"),
    url("/fonts/iranyekan/regular.woff") format("woff"),
    url("/fonts/iranyekan/regular.eot") format("embedded-opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ali";
  src:
    url("/cchel/fonts/Alibaba-Bold.woff2") format("woff2"),
    url("/cchel/fonts/Alibaba-Bold.woff") format("woff"),
    url("/cchel/fonts/Alibaba-Bold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "maylo";
  src:
    url("/cchel/fonts/Maylo.woff2") format("woff2"),
    url("/cchel/fonts/Maylo.woff") format("woff"),
    url("/cchel/fonts/Maylo.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "iranian-b";
  src: url("/cchel/fonts/IRANSansWeb(FaNum)_Bold.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "iranian-l";
  src: url("/cchel/fonts/IRANSansWeb(FaNum)_Light.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "iranian-m";
  src: url("/cchel/fonts/IRANSansWeb(FaNum)_Medium.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  font-family:
    "iranian-l", "iranian-b", "iranian-m", "ali", "maylo", "Tahoma", sans-serif;
  font-size: var(--fs-base);
  background-color: var(--white);
  color: var(--black-hover);
  direction: rtl;
  line-height: 1.8;
  text-align: right;
  overflow-x: hidden;
  width: 100vw;
  min-height: 100vh;
  margin: 0;
  padding: 195px 0 0 0;
  transition: var(--transition);
}

html {
  font-family:
    "iranyekan", "iranian-l", "iranian-b", "iranian-m", "ali", "maylo",
    "Tahoma", sans-serif;
}

/* حالت تاریک/روشن */
.toggle-container {
  position: relative;
  top: -21px;
  left: 0px;
  z-index: 999;
}

.toggle-switch {
  cursor: pointer;
}

.toggle-switch .icon {
  position: absolute;
  font-size: 1.3rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(221, 143, 0);
  transition: opacity 0.3s ease;
}

@media (max-width: 1026px) {
  /* حالت تاریک/روشن */
  .toggle-container {
    top: -17px;
    margin-left: 50px;
  }
  .toggle-switch .icon {
    border-radius: 6px;
    width: 32px;
    height: 32px;
  }
}
.toggle-switch .moon {
  opacity: 0;
  color: var(--white-hover-s);
}

body.dark .toggle-switch .sun {
  opacity: 0;
}

body.dark .toggle-switch .moon {
  opacity: 1;
}

.toggle-switch-desk {
  width: 44px;
  height: 36px;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  margin-top: -2px;
}

.toggle-switch-desk .icon {
  border-radius: 5px;
  font-size: 1.5rem;
  position: absolute;
  color: var(--bg-zard);
  transition: all 0.3s ease;
  padding: 5px 8px;
  margin: -8px 0 0 0;
}

.site-header.hidden .toggle-switch-desk .icon {
  font-size: 1.2rem;
  margin-top: -3px;
}

.toggle-switch-desk .moon {
  color: var(--white-hover-s);
  opacity: 0;
}

.toggle-switch-desk .moon:hover {
  background-color: var(--bg-khak2);
}

body.dark .toggle-switch-desk .sun {
  opacity: 0;
}

body.dark .toggle-switch-desk .moon {
  opacity: 1;
}

a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 400;
}

p {
  font-family: "iranyekan", "iranian-l", "ali", sans-serif;
  text-decoration: none;
  color: var(--black-hover);
  font-weight: 500;
  padding: 0.5rem 0;
  text-align: justify;
}

p > strong {
  font-weight: 400;
}

li {
  list-style: none;
  font-weight: 400;
}

img {
  max-width: 100%;
  aspect-ratio: auto 640px / 360px;
}

img,
button {
  display: block;
}

a,
span {
  font-family: "iranian-l", "ali", sans-serif;
  display: inline-block;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

:focus {
  outline-offset: 4px;
}

/*=============== scrollbar style ===============*/
::-webkit-scrollbar {
  width: 16px;
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 20px;
  border: 5px double var(--white);
}

::-webkit-scrollbar-track {
  background: var(--bg-khak2);
}

/*=============== BASE ===============*/
p,
b,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
li,
a,
span {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "ali", "iranian-b", sans-serif;
  display: block;
  color: var(--black);
}

h1,
.h1 {
  text-align: center;
  justify-content: center;
  font-size: var(--fs-1);
  font-weight: 900;
}

h2,
.h2 {
  font-size: var(--fs-2);
  font-weight: 700;
}

h3,
.h3 {
  font-size: var(--fs-3);
  font-weight: 700;
}

h4,
.h4 {
  font-size: var(--fs-4);
  font-weight: 700;
}

h5,
.h5 {
  font-size: var(--fs-5);
  font-weight: 700;
}

.accent {
  color: var(--accent);
}

.accent {
  color: var(--accent);
}

.bg-accent {
  background-color: var(--accent);
}

.mobile-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  height: 50px;
  background-color: var(--bg-khak);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  direction: rtl;
  z-index: 99999999;
  box-shadow: 0 -2px 3px rgba(0, 0, 0, 0.2);

  @supports (corner-shape: squircle) {
    border-radius: 25px/15px 25px 0 0;
    corner-shape: squircle;
  }
}

.mobile-menu > ul {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.mobile-menu > ul > li {
  display: block;
  width: calc(100% / 5 - 1px);
  height: 100%;
  transition: all 0.2s ease-in;
  z-index: 999;
}

.mobile-menu > ul > li > a {
  display: block;
  position: absolute;
  margin: 0 -0.5px 0 0;
  padding: 25px 0 25px 0;
  color: var(--black-hover);
  width: 20%;
  height: 100%;
  text-align: center;
  font-weight: 400;
  font-size: 0.85rem;
  z-index: 9999;
  transition: all 0.3s ease;
}

.mobile-menu > ul > li > a :is(ion-icon, i) {
  font-size: 17px;
  position: absolute;
  bottom: calc(100% - 25px);
  right: calc(50% - 8.5px);
}

.mobile-menu > ul > li > a:active,
.mobile-menu > ul > li > a:hover {
  color: var(--black);
}

/*=============== body ===============*/
.color-pass,
.color-pass-back {
  transition: all 0.5s ease-in-out;
  transform: scale(1);
  overflow: hidden;
}

.color-pass .span-pass,
.color-pass-back .span-pass {
  position: absolute;
  display: flex;
}

.color-pass .span-pass:nth-child(1),
.color-pass-back .span-pass:nth-child(1) {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.color-pass .span-pass:nth-child(1) {
  left: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, var(--accent));
  animation: color-pass 10s linear infinite;
}

.color-pass-back .span-pass:nth-child(1) {
  right: 0;
  bottom: 0;
  background: linear-gradient(-90deg, transparent, var(--accent));
  animation: color-pass-back 10s linear infinite;
}

.breadcrumb,
.back-link {
  padding: 15px 10px;
  box-shadow: 0 0px 1px var(--black-hover);
}

.breadcrumb ul,
.breadcrumb ol,
.back-link ul {
  display: inline-block;
  width: 90vw;
  margin-right: 5vw;
}

.breadcrumb ul li,
.breadcrumb ol li,
.back-link ul li {
  display: inline-block;
  font-size: 14px;
  color: var(--black);
}

.breadcrumb ul li i,
.breadcrumb ol li i,
.back-link ul li i {
  font-size: 8px;
}

.breadcrumb ul li a,
.breadcrumb ol li a,
.back-link ul li a {
  font-size: 12px;
  color: var(--accent);
  padding: 3px 4px 3px 2px;
  transition: all 0.2s ease-in-out;
}

.breadcrumb ul li a:hover,
.breadcrumb ol li a:hover,
.back-link ul li a:hover {
  font-weight: 900;
}

.breadcrumb ul li .page,
.breadcrumb ol li .page,
.breadcrumb ul li .page:hover,
.breadcrumb ol li .page:hover,
.back-link ul li .page,
.back-link ul li .page:hover {
  margin-right: 4px;
  color: var(--black-hover);
  cursor: auto;
}

.link-afew-pages {
  display: flex;
  padding: 10px;
  justify-content: center;
}

.link-afew-pages li {
  padding: 0px 10px;
}

.link-afew-pages a {
  padding: 5px 0;
  transition: all 0.2s ease-in-out;
}

.link-afew-pages a:hover {
  border-bottom: 1px solid black;
}

.link-afew-pages .border-bottom {
  border-bottom: 1px solid black;
}

.english-font {
  font-family: "Times New Roman", Times, serif;
}

.floating-whatsapp {
  position: fixed;
  bottom: 60px;
  left: 10px;
  background: #25d366;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  animation: whatsapp-shadow 2s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

@keyframes whatsapp-shadow {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* استایل اصلی هدر */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
}

.site-header.hidden {
  transform: translateY(-60px);
}

/* نوار بالایی */
.top-bar {
  background: #24034b;
  color: white;
  height: 60px;
  font-size: var(--fs-4);
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.star {
  position: absolute;
  background: var(--accent);
  border-radius: 50%;
  animation: twinkle 4s ease-in-out infinite;
}

/* ستاره‌های با انیمیشن معکوس */
.star.reverse {
  animation: twinkleReverse 4s ease-in-out infinite;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(1.5);
  }

  50% {
    opacity: 1;
    transform: scale(2);
  }
}

@keyframes twinkleReverse {
  0%,
  100% {
    opacity: 1;
    transform: scale(2);
  }

  50% {
    opacity: 0.2;
    transform: scale(1.5);
  }
}

/* تاخیرهای مختلف برای انیمیشن‌ها */
.star.delay-1 {
  animation-delay: 0s;
}

.star.delay-2 {
  animation-delay: 0.5s;
}

.star.delay-3 {
  animation-delay: 1s;
}

.star.delay-4 {
  animation-delay: 1.5s;
}

.star.delay-5 {
  animation-delay: 2s;
}

.star.delay-6 {
  animation-delay: 2.5s;
}

.star.delay-7 {
  animation-delay: 3s;
}

.star.delay-8 {
  animation-delay: 3.5s;
}

/* کانتینر تایپینگ */
.typing-marquee-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  margin: auto;
}

.typing-display {
  display: flex;
  background: linear-gradient(
    to left,
    transparent,
    #24034b,
    #24034b,
    #24034b,
    #24034b,
    #24034b,
    #24034b,
    transparent
  );
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100%;
  position: relative;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  padding: 0 20px;
}

.typing-text {
  font-family: "maylo", "ali", sans-serif;
  font-weight: 600;
  font-size: var(--fs-base);
  text-align: right;
  align-items: center;
  justify-content: center;
  justify-items: center;
  width: 100%;
  color: var(--white-hover-s);
  margin: -10px auto 0 auto;
  padding: 0 20px 0 0;
}

.typing-cursor {
  margin-right: 2px;
  font-weight: bold;
}

/* نوار ناوبری اصلی */
.main-nav {
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 135px;
  overflow-y: visible;
  background: var(--bg-header);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 0px 5px rgba(0, 0, 0, 0.3);
}

.site-header.hidden .main-nav {
  height: 110px;
}

.site-header.hidden .main-nav-container {
  height: 65px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0px auto 0 auto;
  padding: 0px 20px 0px 20px;
  transition: padding 0.3s ease;
}

.main-nav-container {
  height: 90px;
  transition: var(--transtion);
  min-width: 100vw;
  padding: 0 5vw;
  transition: all 0.3s ease;
}

.site-header.hidden .nav-container {
  padding: 0px 20px 5px 20px;
}

.site-header.hidden .main-nav-container {
  padding: 0 10vw;
}

/* لوگو */
.nav-brand {
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 70px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease-in-out;
}

.site-header.hidden .logo-image {
  height: 45px;
}

.brand-text {
  font-size: 1.4rem;
  font-weight: bold;
  transition: font-size 0.3s ease;
}

.site-header.hidden .brand-text {
  font-size: 1.2rem;
}

/* جستجو */
.search-box {
  position: relative;
  flex: 0 1 500px;
  margin: 0 30px;
  transition: all 0.3s ease;
}

.site-header.hidden .search-box {
  flex: 0 1 400px;
  margin: 0 20px;
}

.search-box .search-input {
  font-family: "iranian-m";
  width: 100%;
  padding: 12px 30px 12px 20px;
  border: 1px solid var(--black-hover);
  border-radius: 10px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background: var(--bg-khak);
  color: var(--black);
}

.site-header.hidden .search-box .search-input {
  padding: 8px 25px 8px 15px;
  font-size: 0.85rem;
}

.search-box .search-input:focus {
  outline: none;
  background: var(--white);
  transform: scaleY(1.05);
  border-radius: 10px 10px 0 0;
  border: 1px solid var(--black);
  border-bottom: none;
}

.search-box .search-btn {
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  border: none;
  width: 45px;
  height: 45px;
  margin: auto;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* نمایش باکس هنگام فوکوس */
.search-box .search-input:focus + .search-results,
.search-box .search-input:focus ~ .search-results {
  display: block;
}

/* استایل باکس نتایج */
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--black);
  border-radius: 0 0 10px 10px;
  max-height: 400px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /* اسکرول عمودی */
  z-index: 999999;
  display: none;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
}

/* استایل اسکرول (اختیاری) */
.search-results::-webkit-scrollbar {
  width: 10px;
}

.search-results::-webkit-scrollbar-track {
  background: var(--bg-khak2);
  border-radius: 4px;
}

.search-results::-webkit-scrollbar-thumb {
  background: var(--black);
  border-radius: 4px;
}

/* استایل آیتم‌های نتایج */
.search-result-item {
  height: 90px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  color: var(--black);
  box-shadow: 0 0 1px var(--black);
}

.search-result-item:first-child {
  box-shadow: 0 -2px 2px var(--black);
}

.search-result-item:hover {
  background: var(--bg-khak2);
}

.search-result-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.search-result-info {
  flex: 1;
}

.search-result-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.search-result-code {
  font-size: 12px;
  color: var(--black-hover);
}

.search-result-price {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

.search-hint {
  text-align: center;
  padding: 10px;
}

.no-result {
  padding: 20px;
  text-align: center;
  color: var(--bg-qermez);
}

/* اقدامات ناوبری */
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--black-hover);
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  margin-left: 5px;
}

.site-header.hidden .nav-action-item {
  padding: 6px 10px;
}

.nav-action-item:hover {
  background: var(--bg-khak2);
  transform: translateY(-2px);
}

.nav-action-item i {
  font-size: 1.2rem;
  transition: font-size 0.3s ease;
}

.site-header.hidden .nav-action-item i {
  font-size: 1rem;
}

#userLink {
  flex-direction: row;
  align-items: right;
}

#userLink span {
  font-size: 0.8rem;
  margin: 0px 0 0 3px;
  font-family: "maylo", "iranian-m", sans-serif;
  color: var(--black-hover);
}

.site-header.hidden #userLink span {
  font-size: 0.7rem;
}

.action-text {
  font-size: 0.75rem;
  white-space: nowrap;
  transition: font-size 0.3s ease;
}

.site-header.hidden .action-text {
  font-size: 0.7rem;
}/* منوی دسته‌بندی */
.category-nav {
  background: var(--accent);
  transition: all 0.3s ease;
  height: 45px;
}

.categories-menu {
  display: flex;
  list-style: none;
  justify-content: space-around;
  padding: 0px 0;
  width: 100%;
  height: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: visible;
}

.category-link {
  color: var(--black-s);
  /* color: var(--white-s); */
  text-decoration: none;
  padding: 11px 16px;
  transition: all 0.3s ease;
  font-size: 0.8rem;
  height: 100%;
  position: relative;
  font-family: "iranian-m";
  /* text-shadow: 0 2px 5px rgb(0, 0, 0); */
}

.category-link:hover {
  transform: translateY(-2px);
}

.category-link i {
  margin: 5px 2px 0 0;
  font-size: 0.5rem;
}

.categories-menu li ul {
  font-family: "iranian-m";
  position: absolute;
  opacity: 0;
  visibility: hidden;
  width: 200px;
  margin-top: -1px;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.categories-menu > li:hover > ul,
.categories-menu > li > ul > li:hover > ul {
  opacity: 1;
  visibility: visible;
}

.categories-menu li ul li {
  position: relative;
  opacity: 0;
  transform: translateY(-30px);
  transition: all 0.3s ease;
}

.categories-menu li:hover > ul li {
  opacity: 1;
  transform: translateY(0);
  background-color: var(--accent);
}

.categories-menu li > ul li:nth-child(1) {
  transform: translateY(0);
}

.categories-menu li:hover > ul li:nth-child(1) {
  transition-delay: 0.1s;
}

.categories-menu li:hover > ul li:nth-child(2) {
  transition-delay: 0.15s;
}

.categories-menu li:hover > ul li:nth-child(3) {
  transition-delay: 0.2s;
}

.categories-menu li:hover > ul li:nth-child(4) {
  transition-delay: 0.25s;
}

.categories-menu li:hover > ul li:nth-child(5) {
  transition-delay: 0.3s;
}

.categories-menu li:hover > ul li:nth-child(6) {
  transition-delay: 0.35s;
}

.categories-menu li:hover > ul li:nth-child(7) {
  transition-delay: 0.4s;
}

.categories-menu li:hover > ul li:nth-child(8) {
  transition-delay: 0.45s;
}

.categories-menu li:hover > ul li:nth-child(9) {
  transition-delay: 0.5s;
}

.categories-menu li:hover > ul li:nth-child(10) {
  transition-delay: 0.55s;
}

.categories-menu > li > ul > li > ul {
  margin-right: 200px;
  margin-top: -43px;
}

.categories-menu li ul a {
  position: relative;
  padding: 10px 15px;
  color: #000000;
  box-shadow: 0 0 1px rgba(255, 255, 255);
  width: 100%;
  transition: all 0.3s ease;
}

.categories-menu li ul a:hover {
  background-color: var(--accent1);
  color: var(--white-s);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.categories-menu li ul a i {
  position: absolute;
  left: 5px;
  top: 13px;
  font-size: 0.5rem;
}

.container {
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  padding: 10px;
}

.divider {
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--accent),
    transparent
  );
}

.divider-right {
  height: 2px;
  background: linear-gradient(
    to left,
    var(--accent),
    var(--accent),
    transparent
  );
}

footer {
  position: relative;
  background-color: var(--bg-khak);
  width: 100vw;
  padding-bottom: 50px;
  direction: rtl;
  text-align: right;
  z-index: 10;
  box-shadow: 0 0px 1px var(--black);
}

footer .content {
  max-width: 1250px;
  margin: auto;
  padding: 20px 30px 30px 30px;
}

footer .content .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--black);
}

.content .top .logo-details {
  position: absolute;
  opacity: 0.2;
  top: 65px;
  z-index: -1;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 35px;
  height: 35px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 1rem;
  transition: all 0.3s;
}

.social-link:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
}

footer .content .link-boxes {
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.content .link-boxes .box .link_name {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
  position: relative;
}

.link-boxes .box .link_name::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  height: 1px;
  width: 100%;
  background-color: var(--black);
}

.content .link-boxes .box li {
  margin: 6px 0;
  list-style: none;
  color: var(--black);
}

.content .link-boxes .box > li > a {
  color: var(--black);
  font-size: 14px;
  font-weight: 500;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.content .link-boxes .box > li > a:hover {
  text-decoration: underline;
  opacity: 1;
  color: var(--accent);
}

footer .contact li a {
  direction: ltr;
}

.content .link-boxes .input-box {
  z-index: 1;
}

footer .bottom-footer p{
  text-align: center;
  padding: 20px 55px 0;
  border-top: 1px solid var(--black-hover);
  font-size: 0.85rem;
  color: var(--black);
  margin: 50px auto 0 auto;
}

/* رسپانسیو */
@media (max-width: 992px) {
  body {
    padding-top: 180px;
  }

  .main-content {
    padding: 0rem;
  }

  .typing-text {
    font-size: 0.9rem;
    margin-top: 0;
    direction: rtl;
  }

  .site-header .main-nav {
    padding: 0;
    height: 120px;
  }

  .site-header.hidden .main-nav {
    height: 60px;
  }

  .main-nav-container,
  .site-header.hidden .main-nav-container {
    padding: 0px 10px;
    height: 60px;
  }

  .logo-image,
  .site-header.hidden .logo-image {
    height: 35px;
  }

  .search-box {
    transition: all 0.3s ease-in-out;
    position: absolute;
    left: 10px;
    top: 67.5px;
    height: 50px;
    width: calc(100% - 20px);
    margin: 0;
  }

  .site-header.hidden .search-box {
    opacity: 0;
    visibility: hidden;
  }

  .search-box .search-input {
    height: 45px;
  }

  .search-results {
    top: 90%;
    max-height: 300px;
  }

  .category-nav {
    display: none;
  }#modeToggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-wrap: wrap;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .nav-action-item {
    padding: 8px;
  }

  .site-header.hidden .nav-action-item {
    padding: 6px;
  }

  .categories-menu {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 10px 0;
  }

  .category-link {
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}

@media (min-width: 50px) {
  footer .content .top {
    flex-direction: column;
    padding-bottom: 10px;
  }

  footer .content .link-boxes {
    flex-wrap: wrap;
  }

  footer .content .link-boxes .box {
    width: calc(100% / 2 - 10px);
  }

  footer .content .link-boxes .input-box {
    width: 100%;
    padding: 0 5vw;
  }

  footer .content .link-boxes .input-box iframe {
    height: 250px;
  }
}

@media (min-width: 550px) {
  footer .content .top {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  :root {
    /*========== Font and typography ==========*/
    --fs-base: 1.05rem;
    --fs-1: 2rem;
    --fs-2: 1.7rem;
    --fs-3: 1.5rem;
    --fs-4: 1.3rem;
    --fs-5: 1.2rem;
  }

  footer {
    position: relative;
  }

  .content .top .media-icons a {
    height: 35px;
    width: 35px;
    font-size: 14px;
    line-height: 35px;
  }

  footer .content .link-boxes .box {
    width: calc(100% / 3 - 10px);
  }

  footer .content .link-boxes .input-box {
    padding: 0;
    width: calc(70% - 20px);
  }

  footer .content .link-boxes .input-box iframe {
    height: 203px;
    width: 100%;
  }
}

@media (min-width: 992px) {
  :root {
    /*========== Font and typography ==========*/
    --fs-base: 1.05rem;
    --fs-1: 2.1rem;
    --fs-2: 1.8rem;
    --fs-3: 1.6rem;
    --fs-4: 1.4rem;
    --fs-5: 1.3rem;
  }

  .mobile-menu {
    display: none;
  }

  footer {
    padding-bottom: 0px;
  }

  .content .top .media-icons {
    margin-top: 16px;
  }

  footer .content .link-boxes .box {
    width: calc(100% / 5 - 10px);
  }

  footer .content .link-boxes .input-box {
    margin: 0;
  }
}

@media (min-width: 1200) {
  :root {
    /*========== Font and typography ==========*/
    --fs-base: 1.1rem;
    --fs-1: 2.3rem;
    --fs-2: 1.9rem;
    --fs-3: 1.7rem;
    --fs-4: 1.5rem;
    --fs-5: 1.35rem;
  }
}

/*======= C-animated =======*/
@keyframes color-pass {
  0%,
  50% {
    left: -100%;
  }

  60%,
  100% {
    left: 100%;
  }
}

@keyframes color-pass-off {
  0%,
  50%,
  60%,
  100% {
    left: -100%;
  }
}

@keyframes color-pass-back {
  0%,
  50% {
    right: -100%;
  }

  60%,
  100% {
    right: 100%;
  }
}

/* Semantic breadcrumb list reset */
.breadcrumb ol { list-style: none; padding: 0; }
