@charset "UTF-8";
/* تعریف متغیرهای رنگی برای جلوگیری از تکرار */
:root {
  /* رنگ اصلی (سبز کله‌غازی) */
  --main-color: #016a68;
  --main-color-rgb: 1, 106, 104; /* برای استفاده در rgba */
  /* رنگ دوم (سرمه‌ای تیره - استفاده شده در پرده و اینستاگرام) */
  --secondary-color: #1a3460;
  --secondary-accent: #1b335f;
  --secondary-accent-rgb: 27, 51, 95;
  /* سایر رنگ‌ها */
  --color-success: #24b02a;
  --color-text-hover: #5f5c6b;
  --color-white: #ffffff;
}

/* Write your code here */
.c-price {
  font-weight: bold !important;
  font-size: 21px !important;
}

a {
  text-decoration: none;
  font-weight: bold;
  color: var(--main-color);
}

.c-f-color {
  color: var(--main-color);
}

.c-b-color {
  background-color: var(--main-color);
}

.all-filters-box {
  display: none;
}

.filter-labels {
  width: fit-content;
}

.fixed-height {
  min-height: 45px;
}

.f-bolder {
  font-weight: bolder;
}

.thumb-img {
  width: 20px;
}

/*.remodal-is-opened {*/
/* z-index: 999999;*/
/*}*/
.copy-code-btn::before {
  content: "\ecd4";
  font-family: remixicon;
  margin-left: 5px;
}

/* fixed header */
.page-header--middle.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-header-r-top {
  padding-top: 10px;
  padding-bottom: 10px;
}

.page-header-r-top.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-white);
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/*start circles-----------------*/
.outer-circle {
  width: 84px;
  height: 84px;
  border: 3px var(--main-color) solid;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px; /* فاصله 1 پیکسلی */
}

.inner-circle {
  background: var(--color-white);
  width: 100%;
  height: 100%;
  /* استفاده از متغیر RGB */
  border: 1px solid rgba(var(--main-color-rgb), 1);
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/*end of circles---------------------*/
/* Preloader */
/* Hide scrollbar when preloader is active */
/* --- Preloader Styles --- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* The spinning circle */
.spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255, 255, 255, 0.83);
  border-top-color: var(--main-color); /* Color of the spinning part */
  border-radius: 50%;
  animation: spin 1s ease-in-out infinite;
  z-index: 100;
  transition: opacity 0.5s ease;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* Curtain halves */
.curtain {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  /* Gradient from top (Secondary) to bottom (Main) */
  background: linear-gradient(to bottom, var(--secondary-color), var(--main-color));
  transition: transform 1.2s cubic-bezier(0.86, 0, 0.07, 1);
}

#left-curtain {
  left: 0;
}

#right-curtain {
  right: 0;
}

/* --- Hide/Reveal Animations --- */
/* This class will be added by JS when the page is loaded */
#preloader.loaded .spinner,
#preloader.loaded .loading-text {
  opacity: 0;
}

@keyframes pulse {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.5;
  }
}
.loading-text {
  color: rgba(252, 253, 253, 0.93);
  margin-top: 150px;
  position: absolute;
  direction: rtl;
  font-size: 18px;
  letter-spacing: 1px;
  transition: opacity 0.5s ease;
  animation: pulse 2s infinite ease-in-out;
}

#preloader.loaded #left-curtain {
  transform: translateX(-100%);
}

#preloader.loaded #right-curtain {
  transform: translateX(100%);
}

/* Hide preloader completely after animations */
#preloader.hidden {
  display: none;
}

/*end of preloader*/
/*credi ipgs*/
.card-input-element:checked + .card-input {
  box-shadow: 0 0 1px 1px var(--main-color);
}

@media (max-width: 768px) {
  .z-index-max {
    z-index: 99999;
  }
}
.remodal-wrapper.remodal-is-opened {
  background-color: rgba(0, 0, 0, 0.29) !important;
}

a.nav-link.custom-link-active {
  border-bottom: 5px var(--main-color) solid;
}

.custom-mobile-slide {
  height: 30vh !important;
}

.text-primary {
  color: var(--color-success) !important;
}

a:hover {
  color: var(--color-text-hover) !important;
}

a.btn-primary {
  color: var(--color-white) !important;
}

.badge {
  background-color: var(--main-color) !important;
}

.main-swiper-slider .main-swiper-slide a {
  background-size: cover !important;
}

.swiper main-swiper-slider {
  max-width: 1920px !important;
}

.c-param-title {
  background-color: rgba(108, 117, 125, 0.0509803922);
  padding-right: 20px;
  border-radius: 8px;
}

@media (max-width: 992px) {
  .c-search-box-responsive {
    width: 100% !important;
  }
}
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Common styles for floating icons */
.floating-icon {
  position: fixed;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.floating-icon i {
  color: var(--color-white);
  font-size: 32px;
}

.floating-icon:hover {
  transform: scale(1.1);
  animation-play-state: paused;
}

/* Instagram Icon Specific Styles */
.floating-instagram-icon {
  /* ترکیب رنگ پایه و رنگ دوم */
  background: linear-gradient(45deg, var(--main-color) 0%, var(--secondary-accent) 100%);
  animation: instagram-pulse 2s infinite;
}

/* WhatsApp Icon Specific Styles */
.floating-whatsapp-icon {
  background-color: var(--main-color); /* استفاده از رنگ پایه */
  animation: whatsapp-pulse 2s infinite;
  animation-delay: 0.5s;
}

/* Instagram Animation Keyframes */
@keyframes instagram-pulse {
  0% {
    transform: scale(0.95);
    /* سایه بر اساس رنگ دوم (سرمه‌ای) - RGB */
    box-shadow: 0 0 0 0 rgba(var(--secondary-accent-rgb), 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(var(--secondary-accent-rgb), 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(var(--secondary-accent-rgb), 0);
  }
}
/* WhatsApp Animation Keyframes */
@keyframes whatsapp-pulse {
  0% {
    transform: scale(0.95);
    /* سایه بر اساس رنگ پایه (سبز کله‌غازی) - RGB */
    box-shadow: 0 0 0 0 rgba(var(--main-color-rgb), 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(var(--main-color-rgb), 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(var(--main-color-rgb), 0);
  }
}
/* Desktop styles (screens wider than 767px) */
@media (min-width: 768px) {
  .floating-icon {
    left: 30px;
    right: auto;
  }
  .floating-instagram-icon {
    bottom: 110px;
  }
  .floating-whatsapp-icon {
    bottom: 180px;
  }
}
/* Mobile styles (screens 767px and narrower) */
@media (max-width: 767px) {
  .floating-icon {
    left: 12px;
    right: auto;
  }
  .floating-instagram-icon {
    bottom: 140px;
  }
  .floating-whatsapp-icon {
    bottom: 210px;
  }
}
div.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 100;
  display: none;
  padding: 20px 30px;
  border-top: 1px solid var(--gray-light);
}

li.mega-menu-category:hover div.mega-menu {
  display: block;
  animation: fadeIn 0.3s;
}

.mega-menu-scroll {
  max-height: 550px;
  overflow-y: auto;
  overflow-x: hidden;
}

.masonry-container {
  column-count: 5;
  column-gap: 30px;
  width: 100%;
  direction: rtl;
}

.masonry-item {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: 30px;
  vertical-align: top;
}

a.parent-title-link {
  font-weight: bold;
  color: var(--text-dark);
  font-size: 15px;
  display: block;
  margin-bottom: 15px;
  padding-bottom: 8px;
  width: 100%;
  text-decoration: none;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 80px);
  gap: 15px 10px;
  justify-content: start;
}

.visual-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  width: 100%;
}

.visual-item .img-box {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  margin-bottom: 8px;
}

.visual-item .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 2px;
}

.visual-item:hover .img-box {
  border-color: var(--main-color);
  /* استفاده از متغیر RGB برای سایه */
  box-shadow: 0 4px 10px rgba(var(--main-color-rgb), 0.15);
}

.visual-item .shine-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 100%);
  transform: skewX(-25deg);
  z-index: 2;
  pointer-events: none;
  transition: none;
}

.visual-item:hover .shine-effect {
  animation: shine 0.7s;
}

@keyframes shine {
  100% {
    left: 200%;
  }
}
.visual-item .item-name {
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-medium);
  text-align: center;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
  transition: color 0.3s;
}

.visual-item:hover .item-name {
  color: var(--main-color);
}

@media (max-width: 1400px) {
  .masonry-container {
    column-count: 4;
  }
}
@media (max-width: 1200px) {
  .masonry-container {
    column-count: 3;
  }
}
/* Scrollbar styles using variables */
.mega-menu-scroll::-webkit-scrollbar {
  width: 5px;
  background-color: transparent;
}

.mega-menu-scroll::-webkit-scrollbar-track {
  background-color: var(--gray-light);
  border-radius: 10px;
  margin: 5px 0;
}

.mega-menu-scroll::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb);
  border-radius: 10px;
  transition: background-color 0.3s;
}

.mega-menu-scroll::-webkit-scrollbar-thumb:hover {
  background-color: var(--main-color);
}

.mega-menu-scroll {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--gray-light);
}

/*# sourceMappingURL=custom.css.map */
