/*

Theme Name: Safirmall Child

Description: Child theme of Flatsome for safirmall.com

Author: Safirmall Team

Template: flatsome

Version: 1.0

*/

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

/* sticky footer */

#wrapper {
  display: flex;

  flex-direction: column;

  min-height: 100vh;
}

#main {
  flex: 1 0 auto;
}

#footer {
  flex-shrink: 0;
}

/* variable */

:root {
  --primary-color: #000b99;

  --primary-hover: #111bac;

  --secondary-color: #ec1c24;

  --secondary-hover: #d9151d;

  --text-color: #101426;

  --second-text-color: #686d7d;

  --hover-btn-bg: #eef0ff;

  --border-radius: 10px;

  --border-radius-20: 20px;

  --border-radius-30: 30px;

  --border-color: #e7e9f2;

  --background: #eef0ff;

  --padding--1: 1rem;
  --gw-faq-muted: var(--muted, #686d7d);
  --gw-faq-border: #e7e9f2;

  --gw-faq-blue: var(--blue, #000b99);
  --gw-faq-blue-soft: var(--blue3, #eef0ff);
  --gw-faq-border: #e7e9f2;
  --gw-faq-text: #101426;
  --gw-faq-muted: var(--muted, #686d7d);
}

/* css class */

.gwsm-gap-b {
  margin-bottom: 2rem !important;
}

.btn-pink,
.btn-green,
.btn-red,
.btn-blue,
.btn-orange,
.btn-purple,
.btn-dark-green,
.btn-dark-blue,
.btn-dark-purple,
.btn-navy-blue,
.btn-dark-magenta,
.btn-teal,
.btn-grassgreen,
.btn-dark-burgundy {
  border: none;

  padding: 12px 30px;

  border-radius: 10px;

  box-shadow:
    1px 1px 7px #bebebe,
    -3px -3px 7px #ffffff;
}

.btn-pink {
  background: linear-gradient(145deg, #e52a86, #b7216b);
}

.btn-green {
  background: linear-gradient(145deg, #73b843, #66d934);
}

.btn-red {
  background: linear-gradient(145deg, #bf3939, #d93434);
}

.btn-blue {
  background: linear-gradient(145deg, #398fbf, #1fa2eb);
}

.btn-orange {
  background: linear-gradient(145deg, #ff8302, #eb451f);
}

.btn-purple {
  background: linear-gradient(145deg, #cc02ff, #931feb);
}

.btn-dark-green {
  background: linear-gradient(145deg, #1b633d, #aee2c3);
}

.btn-dark-blue {
  background: linear-gradient(145deg, #145da2, #71a5d6);
}

.btn-dark-purple {
  background-color: #231259;
}

.btn-navy-blue {
  background-color: #11017e;
}

.btn-dark-magenta {
  background-color: #811471;
}

.btn-teal {
  background-color: #017785;
}

.btn-grassgreen {
  background-color: #397f02;
}

.btn-dark-burgundy {
  background-color: #5b122d;
}

.video {
  padding-top: inherit !important;
}

iframe {
  border: none;
  border-radius: var(--border-radius-30);
}

.br-20 {
  border-radius: 20px;

  overflow: hidden;
}

/* breadcrumb */

.gwsm-breadcrumb {
  margin-bottom: 24px !important;
  padding-bottom: 0 !important;
}

.gwsm-breadcrumb span {
  margin: 0;

  color: #9296a4;

  font-size: 12px;
}

.gwsm-breadcrumb .breadcrumb_last {
  color: #101426;
}

/* title section */

.gwsm-title-section {
  align-items: center !important;
}

.gwsm-title-section > .col {
  padding-bottom: 10px;
}

.gwsm-title-section p {
  font-size: 14px;
}

/* secondary btn */

.gwsm-second-btn {
  min-height: 48px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 9px;

  padding: 10px 20px;

  border-radius: var(--border-radius) !important;

  border: 1px solid var(--hover-btn-bg) !important;

  background: #ffffff;

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

  font-weight: 800;

  font-size: 14px;

  transition: 0.22s ease;

  cursor: pointer;

  white-space: nowrap;

  text-decoration: none;
}

.gwsm-second-btn:hover,
.white.is-outline.gwsm-second-btn:hover {
  color: var(--primary-hover) !important;

  border-color: #cfd3ff !important;

  transform: translateY(-2px) !important;
}

body.rtl .slider-nav-outside .flickity-prev-next-button.next {
  right: 100%;
}

/* ============================================================
   Index
   ============================================================ */

/* header */

@media (max-width: 849px) {
  header .header-bottom {
    background-color: transparent;
  }
}

@media (max-width: 900px) {
  /* search form */

  .searchform .autocomplete-suggestion {
    flex-direction: column;

    align-items: flex-start;
  }
}

/* my account */

.nav-top-not-logged-in span {
  font-size: 0 !important;
}

.nav-top-not-logged-in span::after {
  content: "ورود | ثبت‌نام";

  font-size: 13px !important;

  white-space: nowrap;
}

/* mobile menu */
#main-menu .nav-slide {
  padding-top: 0;
}

#main-menu li:hover {
  background-color: transparent !important;
}

#main-menu .header-search-form-wrapper .flex-col {
  padding-left: 0;
}

#main-menu .header-search-form.search-form input[type="search"] {
  height: 48px;
  font-size: 10px;
  margin: 0 10px;
  width: 93%;
}

#main-menu .header-search-form {
  padding: 0 0 0 8px;
}

#main-menu .nav-sidebar.nav-vertical > li.menu-item:hover {
  background-color: transparent;
}

#main-menu .nav-vertical .gwsm-menu-child > button {
  left: 20px;
  margin-left: 0;
  line-height: 0;
  width: 0;
  min-width: 8px;
  min-height: 8px;
}

#main-menu .nav-vertical .menu-item.has-child {
  border-top: none !important;
}

#main-menu .nav-vertical .menu-item.has-child button i {
  font-size: 14px;
}

#main-menu .menu-item a,
#main-menu .gwsm-menu-child ul .menu-item a,
#main-menu .gwsm-menu-child > a {
  background: #fff;
  border: 1px solid #edf0f5;
  border-radius: 10px;
  margin-bottom: 8px;
  color: #38425d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

#main-menu .menu-item a {
  margin: 0 2px 0 8px !important;
  padding: 12px;
}

#main-menu .gwsm-all-book-menu > a {
  margin: 0 8px 0 8px;
  padding: 12px;

  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  border: 1px solid #dfe2ff !important;
  background: #f4f5ff !important;
  color: #101c91 !important;
}

#main-menu .gwsm-all-book-menu > a::after {
  content: "←";
}

#main-menu .nav-slide-header.pt-half.pb-half i {
  display: none;
}

#main-menu .gwsm-menu-child > a {
  margin: 0 8px 0 0 !important;
  padding: 14px;
}

#main-menu .children a {
  font-family: inherit;
}

#main-menu .off-canvas {
  padding: 8px;
}
#main-menu .gwsm-all-book-menu {
  border-top: none !important;
}

#main-menu .nav-slide-header {
  flex-wrap: nowrap !important;
}

#main-menu .nav-slide-header .toggle {
  opacity: 1;
}

#main-menu .nav-slide-header button::before {
  content: "بازگشت";
  height: 33px;
  border: 1px solid #e4e8f5;
  border-radius: 9px;
  padding: 0 11px;
  font-size: 11px;
  font-weight: 750;
  color: #101c91;
  background: #f5f6ff;
  display: inline-block;
  vertical-align: middle;
  line-height: 3.1;
  margin-left: 10px;
}

#main-menu .sub-menu.nav-sidebar-ul.is-current-slide,
#main-menu .sub-menu.nav-sidebar-ul.children.is-current-slide {
  padding-top: 0;
}

.nav-vertical > li + li {
  border-top: none !important;
}

/* .sidebar-menu {
  padding-top: 0 !important;
}

.mobile-sidebar ul li ul li {
  border-bottom: 1px solid #cccccc;
}

.mobile-sidebar ul li ul li:last-child {
  border-bottom: none;
}

.mobile-sidebar ul li ul {
  padding-bottom: 0 !important;
}

.mobile-sidebar ul li ul li a {
  padding-bottom: 15px !important;

  padding-top: 15px !important;
} */

/* mini cart */

.woocommerce-mini-cart__buttons .button {
  border-radius: 10px;

  line-height: 2.8em;
}

/* search field */

.header-search-form.search-form input[type="search"] {
  height: 54px;

  border-radius: 10px;

  font-size: 12px;
}

.header-search-form.search-form input[type="search"]:focus-within {
  background: #fff;

  border-color: #b8beff;

  box-shadow: 0 0 0 4px rgba(0, 11, 153, 0.06);
}

/* Mega menu */

@media (min-width: 850px) {
  /* .gw-mega-menu {
    position: relative !important;
  } */

  /* Main menu button */

  .gw-mega-menu > a.nav-top-link {
    box-sizing: border-box !important;

    display: inline-flex !important;

    min-width: 160px !important;

    min-height: 40px !important;

    height: auto !important;

    padding: 7px 44px 7px 16px !important;

    align-items: center !important;

    justify-content: flex-start !important;

    border: 0 !important;

    border-radius: 10px !important;

    color: #fff !important;

    background-color: #000b99 !important;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='6' height='6' rx='1'/%3E%3Crect x='14' y='4' width='6' height='6' rx='1'/%3E%3Crect x='4' y='14' width='6' height='6' rx='1'/%3E%3Crect x='14' y='14' width='6' height='6' rx='1'/%3E%3C/svg%3E") !important;

    background-position: right 16px center !important;

    background-repeat: no-repeat !important;

    background-size: 24px 24px !important;

    font-size: 13px !important;

    font-weight: 800 !important;

    line-height: 1.6 !important;

    text-align: right !important;

    direction: rtl !important;

    white-space: nowrap !important;

    opacity: 1 !important;

    transition:
      color 0.2s ease,
      background-color 0.2s ease !important;
  }

  .gw-mega-menu:hover > a.nav-top-link,
  .gw-mega-menu:focus-within > a.nav-top-link,
  .gw-mega-menu.current-dropdown > a.nav-top-link {
    color: #fff !important;

    background-color: #111ba8 !important;
  }

  .gw-mega-menu > a.nav-top-link:focus-visible {
    outline: 2px solid rgba(0, 11, 153, 0.3) !important;

    outline-offset: 3px;
  }

  /* Remove Flatsome arrows */

  .gw-mega-menu > a.nav-top-link::before,
  .gw-mega-menu > a.nav-top-link .icon-angle-down,
  .nav-dropdown-has-arrow .gw-mega-menu::before,
  .nav-dropdown-has-arrow .gw-mega-menu::after {
    content: none !important;

    display: none !important;
  }

  /* Dropdown container */

  .gw-mega-menu > .nav-dropdown {
    position: absolute !important;

    top: 100% !important;

    /* right: var(--gw-mm-dropdown-right, 0px) !important; */

    left: auto !important;

    z-index: 9999 !important;

    display: block !important;

    box-sizing: border-box !important;

    /* width: var(
      --gw-mm-dropdown-width,
      min(var(--flatsome--container-width, 1080px), calc(100vw - 30px))
    ) !important; */

    min-width: 0 !important;

    max-width: none !important;

    max-height: none !important;

    margin: 0 !important;

    padding: 0 !important;

    overflow: visible !important;

    border: 0 !important;

    border-radius: 0 !important;

    background: transparent !important;

    box-shadow: none !important;

    text-align: right !important;

    opacity: 0 !important;

    visibility: hidden !important;

    pointer-events: none !important;

    transform: translateY(8px) !important;

    transform-origin: top right;

    will-change: opacity, transform;

    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0s linear 0.2s !important;
  }

  .gw-mega-menu > .nav-dropdown::before {
    content: "" !important;

    position: absolute;

    top: -10px;

    right: 0;

    display: block !important;

    width: 100%;

    height: 10px;
  }

  .gw-mega-menu:hover > .nav-dropdown,
  .gw-mega-menu:focus-within > .nav-dropdown,
  .gw-mega-menu.current-dropdown > .nav-dropdown {
    opacity: 1 !important;

    visibility: visible !important;

    pointer-events: auto !important;

    transform: translateY(0) !important;

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

  /* UX Block mega-menu wrapper */

  .gw-mega-menu .gwsm-mega-menu {
    box-sizing: border-box !important;

    display: block !important;

    width: 100% !important;

    max-width: none !important;

    margin: 0 !important;

    padding: 0 !important;
  }

  /* .gw-mega-menu .gwsm-mega-menu > .col {
    display: block !important;

    width: 100% !important;

    max-width: none !important;

    margin: 0 !important;

    float: none !important;

    flex: none !important;
  } */
}

@media (prefers-reduced-motion: reduce) {
  .gw-mega-menu > a.nav-top-link,
  .gw-mega-menu > .nav-dropdown {
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   Icon Box Carousel
   ============================================================ */

/* ---------- کانتینر اسکرول ---------- */
.gwsm-icon-box-carousel > .col > .col-inner {
  display: flex;
  width: 100%;
  padding: 8px 4px 14px;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 16px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
}

.gwsm-icon-box-carousel > .col > .col-inner::-webkit-scrollbar {
  height: 5px;
}

.gwsm-icon-box-carousel > .col > .col-inner::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #cfd3df;
}

.gwsm-icon-box-carousel > .col > .col-inner::-webkit-scrollbar-track {
  background: transparent;
}

/* ---------- لینک = کارت ---------- */
.gwsm-icon-box-carousel a.plain {
  display: flex;
  flex: 0 0 180px;
  width: auto;
  height: auto;
  align-self: stretch;
  text-decoration: none;
}

/* ---------- باکس داخلی ---------- */
.gwsm-icon-box-carousel .icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  min-height: 150px;
  padding: 1rem;
  box-sizing: border-box;
  scroll-snap-align: start;
  border: 1px solid #e6e9f1;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 3px 13px rgba(16, 20, 38, 0.025);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.gwsm-icon-box-carousel .icon-box:hover {
  transform: translateY(-2px);
  border-color: #cfd4e7;
  box-shadow: 0 8px 18px rgba(16, 20, 38, 0.065);
}

/* ---------- ناحیه متن ---------- */
.gwsm-icon-box-carousel .icon-box-text {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  justify-content: flex-start;
}

.gwsm-icon-box-carousel .icon-box-text h4 {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}

.gwsm-icon-box-carousel .icon-box-text p {
  margin: 0;
  font-size: 10px;
  line-height: 1.4;
}

/* ---------- آیکون ---------- */
.gwsm-icon-box-carousel .icon-box-img {
  position: relative;
  width: 60px !important;
}

/* ---------- هاور تعویض آیکون ---------- */
.gw-hover-swap .icon-box-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.gw-hover-swap .icon-box-img img {
  transition: opacity 0.22s ease;
  padding-top: 0 !important;
}

.gw-hover-swap:hover .icon-box-img img,
.gw-hover-swap:focus-within .icon-box-img img {
  opacity: 0;
}

.gw-hover-swap:hover .icon-box-img::after,
.gw-hover-swap:focus-within .icon-box-img::after {
  opacity: 1;
}

/* ---------- نگاشت آیکون‌ها ---------- */
.gw-hover-swap:has(.icon-box-img img[src*="tour.svg"]) .icon-box-img::after {
  background-image: url("https://test.safirmall.com/wp-content/uploads/2026/10/tour-on.svg");
}

.gw-hover-swap:has(.icon-box-img img[src*="ielts.svg"]) .icon-box-img::after {
  background-image: url("https://test.safirmall.com/wp-content/uploads/2026/10/ielts-on.svg");
}

.gw-hover-swap:has(.icon-box-img img[src*="webinar.svg"]) .icon-box-img::after {
  background-image: url("https://test.safirmall.com/wp-content/uploads/2026/10/webinar-on.svg");
}

.gw-hover-swap:has(.icon-box-img img[src*="khodamooz.svg"])
  .icon-box-img::after {
  background-image: url("https://test.safirmall.com/wp-content/uploads/2026/10/khodamooz-on.svg");
}

.gw-hover-swap:has(.icon-box-img img[src*="book.svg"]) .icon-box-img::after {
  background-image: url("https://test.safirmall.com/wp-content/uploads/2026/10/book-on.svg");
}

.gw-hover-swap:has(.icon-box-img img[src*="class.svg"]) .icon-box-img::after {
  background-image: url("https://test.safirmall.com/wp-content/uploads/2026/10/class-on.svg");
}

/*  تبلت (≤ 1024px) */
@media (max-width: 1024px) {
  .gwsm-icon-box-carousel > .col > .col-inner {
    gap: 12px;
    justify-content: flex-start;
  }

  .gwsm-icon-box-carousel a.plain {
    flex: 0 0 160px;
  }

  .gwsm-icon-box-carousel .icon-box {
    min-height: 150px;
    padding: 1rem 1.25rem;
  }

  .gwsm-icon-box-carousel .icon-box-img {
    width: 54px !important;
  }
}

/*  موبایل بزرگ (≤ 768px) */
@media (max-width: 768px) {
  .gwsm-icon-box-carousel > .col > .col-inner {
    gap: 10px;
    padding: 6px 2px 12px;
    justify-content: flex-start;
  }

  .gwsm-icon-box-carousel a.plain {
    flex: 0 0 150px;
  }

  .gwsm-icon-box-carousel .icon-box {
    min-height: 140px;
    padding: 0.85rem 1rem;
    border-radius: 16px;
  }

  .gwsm-icon-box-carousel .icon-box-img {
    width: 48px !important;
  }

  .gwsm-icon-box-carousel .icon-box-text h4 {
    font-size: 12px;
  }

  .gwsm-icon-box-carousel .icon-box-text p {
    font-size: 10px;
  }
}

/*  موبایل کوچک (≤ 480px) */
@media (max-width: 480px) {
  .gwsm-icon-box-carousel > .col > .col-inner {
    gap: 8px;
    padding: 4px 2px 10px;
    justify-content: flex-start;
  }

  .gwsm-icon-box-carousel > .col > .col-inner::-webkit-scrollbar {
    height: 3px;
  }

  .gwsm-icon-box-carousel a.plain {
    flex: 0 0 135px;
  }

  .gwsm-icon-box-carousel .icon-box {
    min-height: 120px;
    padding: 0.75rem 0.75rem;
    border-radius: 14px;
  }

  .gwsm-icon-box-carousel .icon-box-img {
    width: 42px !important;
  }

  .gwsm-icon-box-carousel .icon-box-text h4 {
    font-size: 11px;
  }

  .gwsm-icon-box-carousel .icon-box-text p {
    font-size: 9px;
  }
}

/* ============================================================
   Category Section Box
   ============================================================ */
.gwsm-category .col,
.gwsm-category-box .col {
  display: flex;
  margin-bottom: 18px;
}

.gwsm-category .col-inner {
  padding: 12px 12px 17px;
}

.gwsm-category .col-inner,
.gwsm-category-box .col-inner {
  position: relative;

  display: flex;

  width: 100%;

  height: 100%;

  overflow: hidden;

  border: 1px solid #e8eaf3;

  border-radius: 24px;

  background: #ffffff;

  box-shadow: 0 10px 30px rgba(16, 20, 38, 0.055);

  isolation: isolate;

  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.gwsm-category .col-inner::before,
.gwsm-category-box .col-inner::before {
  content: "";

  position: absolute;

  right: -42px;

  bottom: -62px;

  z-index: 0;

  width: 155px;

  height: 155px;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(0, 11, 153, 0.09),
    rgba(0, 11, 153, 0) 68%
  );

  transition: transform 0.3s ease;
}

.gwsm-category .col-inner:hover,
.gwsm-category-box .col-inner:hover {
  border-color: #cfd3ff;

  box-shadow: 0 18px 44px rgba(16, 20, 38, 0.1);

  transform: translateY(-6px);
}

.gwsm-category .col-inner:hover::before,
.gwsm-category-box .col-inner:hover::before {
  transform: scale(1.12);
}

.gwsm-category .plain,
.gwsm-category-box .plain {
  position: relative;

  z-index: 1;

  display: flex;

  width: 100%;

  height: 100%;

  color: inherit;

  text-decoration: none;
}

.gwsm-category .icon-box,
.gwsm-category-box .icon-box {
  display: flex;

  width: 100%;

  height: 100%;

  flex-direction: column;

  align-items: stretch;

  text-align: right;
}

.gwsm-category .icon-box-img,
.gwsm-category-box .icon-box-img {
  position: relative;

  display: block;

  width: 100% !important;

  /* height: clamp(130px, 15vw, 184px); */

  margin: 0 0 14px;

  padding: 0;

  overflow: hidden;

  border-radius: 18px;

  background: linear-gradient(145deg, #f4f5fa, #eef0f7);
}

.gwsm-category .icon-box-img::after,
.gwsm-category-box .icon-box-img::after {
  content: "";

  position: absolute;

  inset: 0;

  z-index: 2;

  background: linear-gradient(180deg, transparent 64%, rgba(8, 12, 33, 0.035));

  pointer-events: none;
}

.gwsm-category .icon-box-img .icon,
.gwsm-category .icon-box-img .icon-inner,
.gwsm-category-box .icon-box-img .icon,
.gwsm-category-box .icon-box-img .icon-inner {
  width: 100%;

  height: 100%;
}

.gwsm-category .icon-box-img img,
.gwsm-category-box .icon-box-img img {
  display: block;

  width: 100% !important;

  max-width: none;

  height: 100% !important;

  margin: 0;

  object-fit: cover;

  object-position: center;

  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gwsm-category .col-inner:hover .icon-box-img img,
.gwsm-category-box .col-inner:hover .icon-box-img img {
  transform: scale(1.055);
}

.gwsm-category .icon-box-text,
.gwsm-category-box .icon-box-text {
  position: relative;

  z-index: 2;

  display: flex;

  min-width: 0;

  padding: 0 4px;

  flex: 1;

  flex-direction: column;

  align-items: flex-start;

  line-height: normal;

  text-align: right;
}

.gwsm-category .icon-box-text h3 {
  width: 100%;

  margin: 0;

  color: #202538;

  font-size: clamp(12px, 1.2vw, 15px);

  font-weight: 900;

  line-height: 1.65;

  text-align: right;

  text-transform: none;
}

.gwsm-category .icon-box-text p {
  display: inline-flex;

  width: max-content;

  margin: 5px 0 0;

  align-items: center;

  gap: 6px;

  color: #000b99;

  font-size: 11px;

  font-weight: 800;

  line-height: 1.8;

  transition: transform 0.2s ease;
}

.gwsm-category .icon-box-text p::after {
  content: "←";

  display: inline-block;

  font-family: Arial, sans-serif;

  font-size: 14px;

  font-weight: 700;

  line-height: 1;
}

.gwsm-category .col-inner:hover .icon-box-text p {
  transform: translateX(-3px);
}

@media (max-width: 549px) {
  .gwsm-category .icon-box-img,
  .gwsm-category-box .icon-box-img {
    height: auto;
    background: transparent;
  }

  .gwsm-category .icon-box-img .icon,
  .gwsm-category .icon-box-img .icon-inner,
  .gwsm-category-box .icon-box-img .icon,
  .gwsm-category-box .icon-box-img .icon-inner {
    display: block;

    height: auto;
  }

  .gwsm-category .icon-box-img img,
  .gwsm-category-box .icon-box-img img {
    width: 100% !important;

    height: auto !important;

    object-fit: initial;
  }
}

/* box promotion */

.gwsm-box-promo {
  border-radius: 30px;

  overflow: hidden;
}

/* ================================================================

 \* Product card component

 \*

 \* One shared definition for:

 \* - Home/product carousels: .gwsm-product-cart

 \* - Single-product related items: .related-products-wrapper

 \* - Shop archive: .shop-container

 \* - Product-category archive: .shop-container

 \* ================================================================ */

:is(.gwsm-product-cart, .related-products-wrapper, .shop-container)
  .product-small.col,
.gwsm-product-cart > .col,
.gwsm-product-cart .flickity-slider > .col {
  display: flex;

  margin-bottom: 16px;

  align-self: stretch;

  align-items: stretch;
}

:is(.gwsm-product-cart, .related-products-wrapper, .shop-container)
  .product-small.col
  > .col-inner,
.gwsm-product-cart > .col > .col-inner,
.gwsm-product-cart .flickity-slider > .col > .col-inner {
  position: relative;

  display: flex;

  width: 100%;

  height: 100%;

  padding: 14px;

  border: 1px solid #e7e9f2;

  border-radius: 21px;

  background: #ffffff;

  flex-direction: column;

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

:is(.gwsm-product-cart, .related-products-wrapper, .shop-container)
  .product-small.col
  > .col-inner:hover,
.gwsm-product-cart > .col > .col-inner:hover,
.gwsm-product-cart .flickity-slider > .col > .col-inner:hover {
  border-color: #d7dafe;

  box-shadow: 0 10px 34px rgba(16, 20, 38, 0.07);

  transform: translateY(-5px);
}

:is(.gwsm-product-cart, .related-products-wrapper, .shop-container)
  .col-inner
  > .product-small.box {
  display: flex;

  width: 100%;

  height: 100%;

  flex: 1 1 auto;

  flex-direction: column;
}

:is(.gwsm-product-cart, .related-products-wrapper, .shop-container) .box-image {
  position: relative;

  display: grid;

  width: 100%;

  overflow: inherit;

  aspect-ratio: 1;

  border-radius: 16px;

  place-items: center;
}

:is(.gwsm-product-cart, .related-products-wrapper, .shop-container)
  .box-image
  a {
  display: grid;

  width: 100%;

  height: 100%;

  place-items: center;

  text-align: center;
}

:is(.gwsm-product-cart, .related-products-wrapper, .shop-container)
  .box-image
  img {
  display: block;

  width: 100%;

  height: 100%;

  margin: 0;

  object-fit: contain;

  object-position: center;

  transition: transform 0.3s ease;
}

:is(.gwsm-product-cart, .related-products-wrapper, .shop-container)
  .product-small.col
  > .col-inner:hover
  .box-image
  img,
.gwsm-product-cart > .col > .col-inner:hover .box-image img,
.gwsm-product-cart .flickity-slider > .col > .col-inner:hover .box-image img {
  transform: scale(1.045);
}

:is(.gwsm-product-cart, .related-products-wrapper, .shop-container)
  .badge-container {
  position: absolute;

  top: 10px !important;

  right: auto !important;

  left: 0 !important;

  z-index: 2;

  margin: 0;
}

:is(.gwsm-product-cart, .related-products-wrapper, .shop-container)
  .badge-container
  .badge {
  width: auto;

  height: auto;

  margin: 0;
}

:is(.gwsm-product-cart, .related-products-wrapper, .shop-container)
  .badge-container
  .badge-inner {
  display: inline-flex;

  width: auto;

  min-width: 42px;

  height: 29px;

  min-height: 29px;

  padding: 4px 8px;

  border: 0;

  border-radius: 0 10px 10px 0;

  background: #ec1c24;

  align-items: center;

  justify-content: center;

  color: #ffffff;

  font-size: 11px;

  font-weight: 900;

  line-height: 1;
}

:is(.gwsm-product-cart, .related-products-wrapper, .shop-container)
  .badge-container
  .onsale {
  color: inherit;

  font-size: inherit;

  font-weight: inherit;

  line-height: inherit;
}

:is(.gwsm-product-cart, .related-products-wrapper, .shop-container)
  .box-text.box-text-products,
.gwsm-product-cart > .col .box-text,
.gwsm-product-cart .flickity-slider > .col .box-text {
  display: flex;

  width: 100%;

  min-height: 0;

  padding: 13px 2px 2px;

  flex: 1 1 auto;

  flex-direction: column;

  text-align: right;
}

:is(.gwsm-product-cart, .related-products-wrapper, .shop-container)
  .title-wrapper {
  margin: 0 0 12px;

  text-align: right;
}

:is(.gwsm-product-cart, .related-products-wrapper, .shop-container)
  .product-cat {
  min-height: 20px;

  margin: 0 0 4px;

  overflow: hidden;

  color: #16875b;

  font-size: 10px;

  font-weight: 900;

  line-height: 2;

  letter-spacing: 0;

  text-overflow: ellipsis;

  text-transform: none;

  white-space: nowrap;

  opacity: 1;
}

/* :is(.gwsm-product-cart, .related-products-wrapper, .shop-container) .product-title  */

:is(.gwsm-product-cart, .related-products-wrapper, .shop-container)
  .product-title:not(.gwsm-title-product .product-title) {
  display: -webkit-box;

  min-height: 48px;

  margin: 0;

  overflow: hidden;

  -webkit-box-orient: vertical;

  -webkit-line-clamp: 2;

  color: var(--text-color);

  font-size: 12px;

  font-weight: 700;

  line-height: 1.9;

  text-align: right;
}

/* :is(.gwsm-product-cart, .related-products-wrapper, .shop-container) .product-title a  */

:is(.gwsm-product-cart, .related-products-wrapper, .shop-container)
  .product-title
  a:not(.gwsm-title-product .product-title a) {
  color: inherit;

  font-size: 14px;

  font-weight: inherit;

  line-height: inherit;

  text-decoration: none;
}

:is(.gwsm-product-cart, .related-products-wrapper, .shop-container)
  .price-wrapper {
  display: flex;

  min-height: 0;

  margin-top: auto;

  flex-direction: column;
}

:is(.gwsm-product-cart, .related-products-wrapper, .shop-container) .price {
  display: flex;

  min-height: 40px;

  margin: 0;

  flex-wrap: wrap;

  align-items: baseline;

  justify-content: flex-start;

  gap: 4px 7px;

  color: #000b99;

  font-size: 14px;

  font-weight: 900;

  line-height: 1.8;
}

:is(.gwsm-product-cart, .related-products-wrapper, .shop-container)
  .price
  > .woocommerce-Price-amount,
:is(.gwsm-product-cart, .related-products-wrapper, .shop-container) .price ins,
:is(.gwsm-product-cart, .related-products-wrapper, .shop-container)
  .price
  ins
  .woocommerce-Price-amount {
  color: #000b99;

  font-size: 14px;

  font-weight: 900;

  text-decoration: none;
}

:is(.gwsm-product-cart, .related-products-wrapper, .shop-container) .price del,
:is(.gwsm-product-cart, .related-products-wrapper, .shop-container)
  .price
  del
  .woocommerce-Price-amount {
  color: #aaaeba;

  font-size: 11px;

  font-weight: 700;

  opacity: 1;
}

:is(.gwsm-product-cart, .related-products-wrapper, .shop-container)
  .custom-product-actions-wrapper {
  margin-top: auto;
}

/* Flickity must measure each cell from its content; percentage heights here

 \* create a zero-height cycle before the carousel viewport is calculated. */

.gwsm-product-cart.flickity-enabled .flickity-slider > .col > .col-inner,
.gwsm-product-cart.flickity-enabled
  .flickity-slider
  > .col
  > .col-inner
  > .product-small.box {
  height: auto;
}

/* Carousel-only alignment. */

.gwsm-product-cart .col.is-selected,
body.single-product .related-products-wrapper .col.is-selected {
  padding-top: var(--padding--1) !important;
}

/* Related-products slider arrows remain specific to the single-product page. */

body.single-product .related-products-wrapper .flickity-prev-next-button,
body.single-product .related-products-wrapper .flickity-prev-next-button:hover,
body.single-product .related-products-wrapper .flickity-prev-next-button:focus,
body.single-product
  .related-products-wrapper
  .flickity-prev-next-button:active {
  background: transparent !important;

  box-shadow: none !important;

  filter: none !important;

  outline: none !important;
}

body.single-product
  .related-products-wrapper
  .flickity-prev-next-button::before,
body.single-product
  .related-products-wrapper
  .flickity-prev-next-button::after {
  background: transparent !important;

  box-shadow: none !important;

  filter: none !important;
}

/* best choice */

.gw-good-choice .col-inner {
  border-radius: var(--border-radius-30);

  border: 1px solid var(--border-color);

  padding: 2rem;

  overflow: hidden;
}

.gw-good-choice .large-6:first-of-type .col-inner::after {
  content: "A";

  position: absolute;

  left: 26px;

  bottom: 0;

  font-size: 10rem;

  line-height: 0.55;

  font-weight: 700;

  color: rgb(0 11 153 / 8%);
}

.gw-good-choice .large-6:nth-of-type(2) .col-inner::after {
  content: "B";

  position: absolute;

  left: 26px;

  bottom: 0;

  font-size: 10rem;

  line-height: 0.55;

  font-weight: 700;

  color: rgb(236 28 36 / 9%);
}

/* why us */

.gwsm-why-us .col-inner {
  border: 1px solid var(--border-color);

  padding: var(--padding--1);

  border-radius: var(--border-radius-20);
}

.gwsm-why-us .icon-box {
  align-items: center;
}

.gwsm-why-us .icon-box-text {
  font-size: 12px;
}

.gwsm-why-us .icon-box-text h6 {
  font-weight: normal;
}

.gwsm-why-us .icon-box-img {
  background: var(--background);

  margin: 5px;

  border-radius: var(--border-radius);

  height: 50px;

  width: 50px !important;
}

.gwsm-why-us .icon-box-img .icon {
  text-align: center;
}

.gwsm-why-us .icon-box-img img {
  width: 30px;

  height: 50px;
}

/* Newsletter section */
.gwsm-newsletter-sec,
.gwsm-newsletter-sec * {
  box-sizing: border-box;
}

.gwsm-newsletter-sec {
  min-height: 212px;
  margin: 0 auto !important;
  padding: 29px 30px !important;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #e2e6f5;
  border-radius: 25px;
  background:
    radial-gradient(circle at 100% 0, rgba(45, 62, 166, 0.1), transparent 24%),
    radial-gradient(circle at 0 100%, rgba(218, 36, 59, 0.05), transparent 20%),
    linear-gradient(110deg, #f8f9ff, #fff 48%, #f5f7ff);
  box-shadow: 0 10px 30px rgba(29, 41, 106, 0.06);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.gwsm-newsletter-sec:hover {
  border-color: #c9d1f3;
  box-shadow: 0 16px 36px rgba(29, 41, 106, 0.11);
  transform: translateY(-3px);
}

.gwsm-newsletter-sec .row-divided > .col {
  padding-bottom: 0;
  border: 0 !important;
}

.gwsm-newsletter-sec .medium-9 > .col-inner {
  display: flex;
  height: 100%;
  padding: 0 7px;
  flex-direction: column;
  justify-content: center;
}

.gwsm-newsletter-sec h2 {
  margin: 0 0 10px;
  color: #1e286c;
  font-size: clamp(21px, 2.5vw, 29px);
  font-weight: 800;
  line-height: 1.65;
}

.gwsm-newsletter-sec p {
  max-width: 620px;
  margin: 0;
  color: #5a6582;
  font-size: 14px;
  line-height: 2.1;
}

.gwsm-newsletter-sec ul {
  display: flex;
  margin: 17px 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 8px 17px;
  list-style: none;
}

.gwsm-newsletter-sec li {
  display: inline-flex;
  margin: 0;
  align-items: center;
  gap: 6px;
  color: #536386;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
}

.gwsm-newsletter-sec li::before {
  content: "✓";
  display: grid;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  border: 1.5px solid #3145ac;
  border-radius: 50%;
  color: #3145ac;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  place-items: center;
}

.gwsm-newsletter-sec li::marker {
  content: "";
}

.gwsm-newsletter-sec .medium-3 > .col-inner {
  display: flex;
  height: 100%;
  padding-right: 30px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-right: 1px solid #e3e8f5;
}

.gwsm-newsletter-sec .medium-3 > .col-inner::before {
  content: "";
  width: 96px;
  height: 77px;
  flex: 0 0 77px;
  border-radius: 22px;
  background-color: #f0f2ff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80' fill='none'%3E%3Crect x='23' y='8' width='35' height='39' rx='5' fill='%23fff' stroke='%23CAD2F7' stroke-width='2'/%3E%3Cpath d='M31 20H50M31 27H47' stroke='%239DAAEA' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M16 35C16 31.6863 18.6863 29 22 29H58C61.3137 29 64 31.6863 64 35V61C64 64.3137 61.3137 67 58 67H22C18.6863 67 16 64.3137 16 61V35Z' fill='%23354AC1'/%3E%3Cpath d='M17.5 34L39.1 49.9C39.6368 50.2951 40.3632 50.2951 40.9 49.9L62.5 34' stroke='%23DBE2FF' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M18 63L33 50M62 63L47 50' stroke='%238FA2FE' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='60' cy='16' r='9' fill='%23DA243B'/%3E%3Cpath d='M56.5 16H63.5M60 12.5V19.5' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 68px 68px;
  box-shadow: inset 0 0 0 1px #e4e9ff;
  transition: transform 0.3s;
}

.gwsm-newsletter-sec > .section-content > .row:hover
  .medium-3 > .col-inner::before {
  transform: translateY(-3px) rotate(-3deg);
}

.gwsm-newsletter-sec .button.primary {
  display: inline-flex;
  width: 100%;
  max-width: 225px;
  min-height: 44px;
  margin: 0;
  padding: 11px 18px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 13px !important;
  background: linear-gradient(105deg, #2838af, #111b9c) !important;
  box-shadow: 0 7px 18px rgba(24, 34, 152, 0.18);
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.7;
  text-transform: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.gwsm-newsletter-sec .button.primary:hover {
  background: linear-gradient(105deg, #3148c1, #1726ac) !important;
  box-shadow: 0 9px 19px rgba(24, 34, 152, 0.26);
  transform: translateY(-2px);
}

@media (max-width: 740px) {
  .gwsm-newsletter-sec > .section-content > .row {
    min-height: 0;
    padding: 23px 21px !important;
    border-radius: 19px;
  }

  .gwsm-newsletter-sec > .section-content > .row > .col {
    width: 100%;
    max-width: 100%;
    flex-basis: 100%;
    padding-right: 0;
    padding-left: 0;
  }

  .gwsm-newsletter-sec .medium-9 > .col-inner {
    padding: 0;
  }

  .gwsm-newsletter-sec h2 {
    font-size: 22px;
  }

  .gwsm-newsletter-sec p {
    font-size: 13px;
    line-height: 2;
  }

  .gwsm-newsletter-sec ul {
    margin-top: 12px;
    gap: 9px 12px;
  }

  .gwsm-newsletter-sec li {
    font-size: 11px;
  }

  .gwsm-newsletter-sec .medium-3 > .col-inner {
    height: auto;
    margin-top: 18px;
    padding: 16px 0 0;
    flex-direction: row;
    justify-content: space-between;
    border-top: 1px solid #e3e8f5;
    border-right: 0;
  }

  .gwsm-newsletter-sec .medium-3 > .col-inner::before {
    width: 55px;
    height: 49px;
    flex: 0 0 55px;
    border-radius: 14px;
    background-size: 43px 43px;
  }

  .gwsm-newsletter-sec .button.primary {
    max-width: none;
    min-height: 46px;
    flex: 1;
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gwsm-newsletter-sec > .section-content > .row,
  .gwsm-newsletter-sec .medium-3 > .col-inner::before,
  .gwsm-newsletter-sec .button.primary {
    transition: none;
  }

  .gwsm-newsletter-sec > .section-content > .row:hover,
  .gwsm-newsletter-sec .button.primary:hover {
    transform: none;
  }
}

/* ============================================================
   Login & Register
   ============================================================ */

.page-id-18680 .gwsm-login-notice {
  --gwln-bg: #eef0ff; 

  --gwln-accent: #000b99; 

  --gwln-strong: #000b99; 

  --gwln-text: #33384a; 

  --gwln-line: #d5daff; 

  position: relative;

  margin: 0 0 18px;

  padding: 15px 58px 15px 20px; 

  border: 1px solid var(--gwln-line);

  border-right: 4px solid var(--gwln-accent); 

  border-radius: 14px;

  background: var(--gwln-bg); 

  list-style: none;

  margin-top: 2rem;
}

.page-id-18680 .gwsm-login-notice > li {
  margin: 0;

  padding: 0;

  color: var(--gwln-text);

  font-size: 12.5px;

  font-weight: 600;

  line-height: 2.1;

  list-style: none;
}

.page-id-18680 .gwsm-login-notice > li::before,
.page-id-18680 .gwsm-login-notice > li::after {
  display: none;
}


.page-id-18680 .gwsm-login-notice::before {
  content: "";

  position: absolute;

  top: 50%;

  right: 15px;

  transform: translateY(-50%);

  width: 30px;

  height: 30px;

  border-radius: 10px;

  background-color: var(--gwln-accent);

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm1 15h-2v-6h2v6Zm0-8h-2V7h2v2Z'/%3E%3C/svg%3E");

  background-repeat: no-repeat;

  background-position: center;

  background-size: 15px 15px;
}


.page-id-18680 .gwsm-login-notice strong {
  color: var(--gwln-strong);

  font-weight: 900;
}

/* 📱 موبایل */

@media (max-width: 549px) {
  .page-id-18680 .gwsm-login-notice {
    padding: 13px 48px 13px 14px;

    border-radius: 12px;
  }

  .page-id-18680 .gwsm-login-notice::before {
    right: 12px;

    width: 26px;

    height: 26px;

    border-radius: 8px;

    background-size: 13px 13px;
  }

  .page-id-18680 .gwsm-login-notice > li {
    font-size: 12.5px;
  }
}

/* ============================================================
   Footer
   ============================================================ */

.gw-footer {
  background-color: #0d1024;

  color: #aeb2c9;

  font-size: 12px;

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

.gw-footer .ux-menu-link__link {
  border-bottom-style: none !important;
}

.gw-footer .ux-menu-title {
  color: #fff;

  font-size: 14px;
}

.absolute-footer {
  display: none !important;
}

.gwsm-logo-footer .icon-box-img {
  margin-left: 10px;
}

.gw-footer .col.small-12.large-12 {
  padding-bottom: 0;
}

.gwsm-social-footer a {
  padding: 5px !important;

  margin-top: 1rem;
}

.gw-mini-footer {
  display: flex;

  justify-content: center;

  font-size: 12px;
}

.gw-mini-footer a {
  color: #ec1c24;
}

/* link menu */

.gw-footer .ux-menu {
  display: grid !important;

  gap: 8px !important;

  margin: 0 !important;

  padding: 0 !important;
}

.gw-footer .ux-menu > .ux-menu-title {
  min-height: auto !important;

  margin: 4px 0 7px !important;

  padding: 0 !important;

  border: 0 !important;

  color: #fff !important;

  background: transparent !important;

  font-size: 14px !important;

  font-weight: 700 !important;

  line-height: 1.6 !important;

  text-align: right !important;
}

.gw-footer .ux-menu > .ux-menu-link {
  min-height: auto !important;

  margin: 0 !important;

  padding: 0 !important;

  border: 0 !important;

  background: transparent !important;
}

.gw-footer
  .ux-menu.ux-menu--divider-solid
  > .ux-menu-link
  > .ux-menu-link__link {
  border: 0 !important;

  border-bottom: 0 !important;
}

.gw-footer .ux-menu > .ux-menu-link > .ux-menu-link__link {
  width: fit-content !important;

  min-height: auto !important;

  margin: 0 !important;

  padding: 0 !important;

  display: flex !important;

  align-items: center !important;

  border: 0 !important;

  color: #aeb2c9 !important;

  background: transparent !important;

  font-size: 12px !important;

  font-weight: 400 !important;

  line-height: 1.8 !important;

  text-align: right !important;

  text-decoration: none !important;

  transition:
    color 0.2s ease,
    transform 0.2s ease !important;
}

.gw-footer .ux-menu > .ux-menu-link > .ux-menu-link__link::before,
.gw-footer .ux-menu > .ux-menu-link > .ux-menu-link__link::after {
  content: none !important;

  display: none !important;
}

.gw-footer .ux-menu .ux-menu-link__text {
  padding: 0 !important;

  color: inherit !important;

  font-size: inherit !important;

  font-weight: inherit !important;
}

.gw-footer .ux-menu > .ux-menu-link > .ux-menu-link__link:hover {
  color: #fff !important;

  background: transparent !important;

  transform: translateX(-3px);
}

/* ================================================================

 \* Shared product card actions

 \* Buy button and YITH wishlist for every product-card context.

 \* ================================================================ */

/* مخفی کردن قلب پیش‌فرض Flatsome از روی تصویر محصول */

.image-tools .wishlist-icon {
  display: none !important;
}

/* کانتینر اصلی - قرارگیری دکمه و قلب کنار هم */

.custom-product-actions-wrapper {
  display: flex;

  gap: 8px;

  margin-top: 10px;

  width: 100%;

  align-items: center;
}

.gwsm-product-cart .text-center > div > div {
  margin-left: 0px !important;

  margin-right: 0px !important;
}

/* دکمه خرید سمت راست */

.custom-buy-btn-box {
  flex: 1;

  width: 100%;
}

@media (max-width: 950px) {
  .custom-buy-btn-box .add_to_cart_button {
    margin: 0;
  }
}

.custom-view-buy-btn {
  width: 100% !important;

  text-align: center;

  padding: 6px 15px !important;

  border-radius: var(--border-radius);

  font-weight: 600;

  background-color: var(--primary-color);

  color: #fff !important;

  height: 100% !important;

  display: flex !important;

  align-items: center;

  justify-content: center;

  transition: background-color 0.2s ease;
}

.custom-view-buy-btn:hover {
  background-color: var(--primary-hover);
}

/* باکس قلب سمت چپ */

.custom-wishlist-icon-box {
  flex: 0 0 45px;

  width: 45px;

  min-width: 45px;

  height: 42px;

  min-height: 42px;

  border: 1px solid #e0e0e0;

  border-radius: var(--border-radius);

  background-color: #f9f9f9;

  display: grid;

  place-items: center;

  transition: background-color 0.2s ease;
}

.custom-wishlist-icon-box .yith-wcwl-add-to-wishlist {
  display: grid;

  width: 100%;

  height: 100%;

  margin: 0;

  place-items: center;
}

.custom-wishlist-icon-box:hover {
  background-color: #fff;
}

/* استایل دادن به کانتینرهای YITH */

.custom-wishlist-icon-box .yith-wcwl-add-button,
.custom-wishlist-icon-box .yith-wcwl-wishlistaddedbrowse,
.custom-wishlist-icon-box .yith-wcwl-wishlistexistsbrowse {
  width: 100%;

  height: 100%;

  display: grid !important;

  place-items: center;
}

/* استایل لینک YITH و حذف متن */

.custom-wishlist-icon-box a {
  font-size: 0 !important;

  background: transparent !important;

  border: none !important;

  padding: 0 !important;

  width: 22px;

  height: 22px;

  display: flex !important;

  align-items: center;

  justify-content: center;

  color: #888;

  transition: color 0.2s ease;
}

/* آیکون قلب با Mask؛ رنگ بدون تکرار SVG تغییر می‌کند. */

.custom-wishlist-icon-box a::before {
  content: "";

  width: 22px;

  height: 22px;

  display: block;

  background: currentColor;

  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20.8 5.8a5.1 5.1 0 0 0-7.3 0L12 7.3l-1.5-1.5a5.1 5.1 0 1 0-7.3 7.2l8.1 8a1 1 0 0 0 1.4 0l8.1-8a5.1 5.1 0 0 0 0-7.2Zm-1.4 5.8L12 18.9l-7.4-7.3a3.1 3.1 0 1 1 4.5-4.4l2.2 2.2a1 1 0 0 0 1.4 0l2.2-2.2a3.1 3.1 0 1 1 4.5 4.4Z'/%3E%3C/svg%3E")
    center / contain no-repeat;

  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20.8 5.8a5.1 5.1 0 0 0-7.3 0L12 7.3l-1.5-1.5a5.1 5.1 0 1 0-7.3 7.2l8.1 8a1 1 0 0 0 1.4 0l8.1-8a5.1 5.1 0 0 0 0-7.2Zm-1.4 5.8L12 18.9l-7.4-7.3a3.1 3.1 0 1 1 4.5-4.4l2.2 2.2a1 1 0 0 0 1.4 0l2.2-2.2a3.1 3.1 0 1 1 4.5 4.4Z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.custom-wishlist-icon-box a:hover {
  color: #e74c3c;
}

/* قلب توپر بعد از اضافه‌شدن محصول. */

.custom-wishlist-icon-box a.delete_item::before,
.custom-wishlist-icon-box .yith-wcwl-wishlistaddedbrowse a::before,
.custom-wishlist-icon-box .yith-wcwl-wishlistexistsbrowse a::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 21a1 1 0 0 1-.7-.3L3.4 13C.1 9.8 2.4 4 7 4c2 0 3.8 1 5 2.5A6.4 6.4 0 0 1 17 4c4.6 0 6.9 5.8 3.6 9l-7.9 7.7a1 1 0 0 1-.7.3Z'/%3E%3C/svg%3E")
    center / contain no-repeat;

  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 21a1 1 0 0 1-.7-.3L3.4 13C.1 9.8 2.4 4 7 4c2 0 3.8 1 5 2.5A6.4 6.4 0 0 1 17 4c4.6 0 6.9 5.8 3.6 9l-7.9 7.7a1 1 0 0 1-.7.3Z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.custom-wishlist-icon-box a.delete_item,
.custom-wishlist-icon-box .yith-wcwl-wishlistaddedbrowse a,
.custom-wishlist-icon-box .yith-wcwl-wishlistexistsbrowse a {
  color: #e74c3c;
}

@media (max-width: 950px) {
  .custom-wishlist-icon-box {
    display: none;
  }
}

/* مخفی کردن باکس پیام و آیکون لودینگ YITH */

.yith-wcwl-add-button .ajax-loading,
.yith-wcwl-wishlistaddedbrowse .feedback,
.yith-wcwl-wishlistexistsbrowse .feedback {
  display: none !important;
}

/* ============================================================
   Forms
   ============================================================ */
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="url"],
textarea {
  width: 100%;
  height: 45px;
  font-size: 12px !important;
  background: #fff;
  padding: 10px 12px !important;
  border: 1px solid #dfe4f4;
  border-radius: 9px;
  box-shadow: inherit;
  margin-bottom: 8px;
}

input:focus,
input:focus-visible,
textarea:focus,
textarea:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 11, 153, 0.045) !important;
  outline: none;
}

.gfield--type-hidden {
  display: none;
}

/* confirmation massage */
.gform_confirmation_wrapper {
  display: block;
  width: 100%;
  margin: 16px 0 0;
  padding: 0;
  box-sizing: border-box;
  animation: gwConfirmFadeIn 0.35s ease both;
}

.gform_confirmation_message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px 24px;
  background: #eef7ee;
  border: 1px solid #c8e6c9;
  border-radius: 14px;
  color: #1b5e20;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
  box-shadow: 0 3px 13px rgba(16, 20, 38, 0.04);
}

.gform_confirmation_message::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 6px;
  background: #c8e6c9;
  color: #1b5e20;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
}

.gform_confirmation_message h4,
.gform_confirmation_message h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
}

.gform_confirmation_message p {
  margin: 2px 0;
  font-size: 13px;
}

.gform_confirmation_message a {
  color: #1b5e20;
  font-weight: 600;
  text-decoration: underline;
}

@keyframes gwConfirmFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .gform_confirmation_message {
    padding: 16px;
    font-size: 12px;
    border-radius: 12px;
  }
  .gform_confirmation_message::before {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}

/* gform submit */
.gform_button {
  height: 44px;
  padding: 0 24px;
  border: none;
  border-radius: 10px;
  background: var(--primary-color);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  margin-left: 0;
  margin-bottom: 0 !important;
}

.gform_button:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.gfield_validation_message {
  font-size: 10px;
  color: var(--secondary-color);
}

.gwgf-validation_error {
  text-align: center;
  color: var(--secondary-color);
  font-size: 14px;
}

.gform-field-label__text {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: #3d4560;
  margin: 0 0 6px;
}

.gfield_required_text {
  display: none !important;
}

/* form private class */
#gform_1 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}

#gform_1 .gform-body {
  flex: 1 1 auto;
  min-width: 0;
}

#gform_1 .gform_fields {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin: 0;
  padding: 0;
}

#gform_1 .gform_fields > .gfield {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
}

#gform_1 .gfield_label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
}

#gform_wrapper_1 {
  margin-top: 20px;
  padding: 14px 16px 11px;
  background: #f3f5ff;
  border: 1px solid #e5e9fd;
  border-radius: 15px;
}

#gform_1 .gform-footer {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  margin: 0;
  padding: 0;
  height: 45px;
  margin-bottom: 8px;
}

#gform_1 .gform-footer .gform_hidden {
  display: none;
}

#gform_1 {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  #gform_1 {
    flex-direction: column;
    align-items: stretch;
  }

  #gform_1 .gform_fields {
    flex-direction: column;
    align-items: normal;
  }

  #gform_1 .gform_fields > .gfield {
    flex: 1 1 100%;
  }

  #gform_1 .gform-footer {
    width: 100%;
  }

  #gform_1 .gform_button {
    width: 100%;
  }
}

/* ============================================================
   Form Page ID = 183622
   ============================================================ */
#gform_fields_2 {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

#gform_fields_2 > .gfield {
  flex: 1 1 calc(50% - 6px);
  min-width: 0;
  margin: 0;
}

#gform_fields_2 > .gfield--width-full {
  flex: 1 1 100%;
}

#gform_fields_2 > #field_2_1,
#gform_fields_2 > #field_2_3 {
  flex: 1 1 calc(50% - 6px);
}

#gform_fields_2 > #field_2_4 {
  flex: 1 1 100%;
}

/* ---------- ریسپانسیو ---------- */
@media (max-width: 640px) {
  #gform_fields_2 > .gfield,
  #gform_fields_2 > #field_2_1,
  #gform_fields_2 > #field_2_3,
  #gform_fields_2 > #field_2_4 {
    flex: 1 1 100%;
  }
}

/* ============================================================
   Accordion
   ============================================================ */
.gw-faq-accordion {
  display: grid;
  width: 100%;
  margin: 0;
  gap: 10px;
}

.gw-faq-accordion .accordion-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--gw-faq-border);
  border-radius: 17px;
  background: #ffffff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.gw-faq-accordion .accordion-item:hover {
  border-color: #d6dafe;
}

/**
 * Accordion question
 */

.gw-faq-accordion .accordion-title {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 62px;
  margin: 0;
  padding: 15px 18px;
  border: 0;
  background: transparent;
  box-shadow: none;
  align-items: center;
  gap: 14px;
  direction: rtl;
  color: var(--gw-faq-text);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.9;
  text-align: right;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.gw-faq-accordion .accordion-title:hover {
  color: var(--gw-faq-blue);
  background: #fbfbff;
}

.gw-faq-accordion .accordion-title:is(.active, [aria-expanded="true"]) {
  color: var(--gw-faq-blue);
  background: #fbfbff;
}

.gw-faq-accordion .accordion-title:focus-visible {
  outline: 2px solid var(--gw-faq-blue);
  outline-offset: -2px;
}

.gw-faq-accordion .accordion-title > span {
  order: 1;
  min-width: 0;
  flex: 1 1 auto;
}

/**
 * Accordion toggle
 */

.gw-faq-accordion .accordion-title > .toggle {
  position: static;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  order: 2;
  display: inline-flex;
  width: 30px;
  min-width: 30px;
  height: 30px;
  min-height: 30px;
  margin: 0 auto 0 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #f7f8fc;
  box-shadow: none;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  color: var(--gw-faq-blue);
  opacity: 1;
  transform: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.gw-faq-accordion .accordion-title > .toggle i {
  position: static;
  display: block;
  margin: 0;
  color: inherit;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.gw-faq-accordion
  .accordion-title:is(.active, [aria-expanded="true"])
  > .toggle {
  background: var(--gw-faq-blue);
  color: #ffffff;
  transform: none;
}

.gw-faq-accordion
  .accordion-title:is(.active, [aria-expanded="true"])
  > .toggle
  i {
  transform: rotate(180deg);
}

/**
 * Accordion answer
 */

.gw-faq-accordion .accordion-inner {
  margin: 0;
  padding: 0 18px 18px;
  border: 0;
  background: #ffffff;
  color: var(--gw-faq-muted);
  font-size: 13px;
  line-height: 2;
  text-align: right;
}

.gw-faq-accordion .accordion-inner p {
  margin: 0;
}

.gw-faq-accordion .accordion-inner p + p {
  margin-top: 10px;
}

.gw-faq-accordion .accordion-inner ul,
.gw-faq-accordion .accordion-inner ol {
  margin: 8px 0 0;
  padding-right: 20px;
}

.gw-faq-accordion .accordion-inner li {
  margin: 3px 0;
}

.gw-faq-accordion .accordion-inner a {
  color: var(--gw-faq-blue);
  font-weight: 800;
}

/* ============================================================
   SEO Box
   ============================================================ */
.gwsm-seo-box {
  display: flex;
  width: 100%;
  min-height: 235px;
  padding: 25px;
  margin-top: 1rem;
  border: 1px solid #e7e9f2;
  border-radius: 22px;
  background: #ffffff;
  flex-direction: column;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
  max-height: 420px;
  overflow-y: auto;
  scrollbar-width: thin;
}
