/*
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;
}

/* css class */
.gwsm-gap-b {
  margin-bottom: 2rem !important;
}

/* breadcrumb */
.gwsm-breadcrumb {
  margin-bottom: 24px !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 */
.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;
  }

  .gw-mega-menu > a.nav-top-link {
    min-height: 38px !important;
    height: auto !important;
    padding: 7px 16px 7px 48px !important;

    display: inline-flex !important;
    align-items: center !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;
    white-space: nowrap;
    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;

    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;
  }

  .gw-mega-menu > a.nav-top-link::before {
    content: none !important;
    display: none !important;
  }

  .gw-mega-menu > a.nav-top-link .icon-angle-down {
    display: none !important;
  }

  .nav-dropdown-has-arrow .gw-mega-menu::before,
  .nav-dropdown-has-arrow .gw-mega-menu::after {
    content: none !important;
    display: none !important;
  }

  .gw-mega-menu > .nav-dropdown {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;

    display: block !important;
    width: 690px !important;
    min-width: 690px !important;
    max-width: 690px !important;
    max-height: none !important;

    margin: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    text-align: right !important;
    overflow: visible !important;
    z-index: 9999 !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 .sub-menu.nav-dropdown {
    background-color: #fff;
    border-radius: 22px !important;
    padding: 1rem;
    margin-top: 10px !important;
  }

  .gw-mega-menu .sub-menu.nav-dropdown .row .col {
    padding-bottom: 0;
  }

  .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 linear 0s !important;
  }

  .gw-mega-menu > .nav-dropdown > .row.has-block {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;

    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .gw-mega-menu > .nav-dropdown > .row.has-block > .col {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .gw-mega-menu .col-inner {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .gw-mega-menu .ux-menu {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .gw-mega-menu .ux-menu-link {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

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

  .gw-mega-menu .ux-menu > .ux-menu-link > .ux-menu-link__link {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 9px 11px !important;

    display: flex !important;
    align-items: center !important;
    gap: 2px !important;

    border: 0 !important;
    border-radius: 13px !important;
    color: #333848 !important;
    background: transparent !important;

    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.6 !important;
    text-align: right !important;
    text-decoration: none !important;

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

  .gw-mega-menu .ux-menu > .ux-menu-link > .ux-menu-link__link:hover {
    color: #000b99 !important;
    background: #eef0ff !important;
  }

  .gw-mega-menu .ux-menu-link__text {
    display: block !important;
    flex: 1;
    padding: 0 !important;
    color: inherit !important;
  }
}

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

.gw-mega-menu > a.nav-top-link,
.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 {
  box-sizing: border-box !important;
  min-width: 160px !important;

  padding-top: 7px !important;
  padding-right: 44px !important;
  padding-bottom: 7px !important;
  padding-left: 16px !important;

  justify-content: flex-start !important;
  text-align: right !important;
  direction: rtl !important;
  white-space: nowrap !important;

  background-position: right 16px center !important;
  background-size: 24px 24px !important;
}

/* trust icon */
.gwsm-trust-col .col-inner {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 10px;
}

.gwsm-trust-col .icon-box {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.gwsm-trust-col .icon-box .icon-box-img {
  margin-bottom: 0;
  background: var(--background);
  margin: 5px;
  border-radius: var(--border-radius);
}
.gwsm-trust-col .icon-box .icon-box-img .icon-inner {
  padding: 10px;
}
.gwsm-trust-col .icon-box .icon-box-img img {
  padding-top: 0;
}

.gwsm-trust-col .icon-box-text {
  font-size: 12px;
}
.gwsm-trust-col .icon-box-text p {
  color: var(--second-text-color);
}

.gwsm-trust-col .col-inner {
  height: 100%;
}

.gwsm-trust-col .icon-box {
  height: 100%;
}

@media (max-width: 915px) {
  .gwsm-trust-col {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}

/* section category */

.gwsm-category .col {
  display: flex;
  margin-bottom: 18px;
}

.gwsm-category .col-inner {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  padding: 12px 12px 17px;
  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 {
  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 {
  border-color: #cfd3ff;
  box-shadow: 0 18px 44px rgba(16, 20, 38, 0.1);
  transform: translateY(-6px);
}

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

.gwsm-category .plain {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.gwsm-category .icon-box {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: stretch;
  text-align: right;
}

.gwsm-category .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 {
  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 {
  width: 100%;
  height: 100%;
}

.gwsm-category .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 {
  transform: scale(1.055);
}

.gwsm-category .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 {
    height: auto;
    background: transparent;
  }

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

  .gwsm-category .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 */
/* Newsletter section */

.gwsm-newsletter-sec {
  --gw-news-blue: var(--primary-color, #000b99);
  --gw-news-blue-light: #1624b8;
  --gw-news-red: var(--secondary-color, #ec1c24);
  --gw-news-text: #101426;
  --gw-news-muted: #686d7d;
  --gw-news-border: #eceef6;
  background: #ffffff;
  padding: 0 !important;
}

.gwsm-newsletter-sec .section-content > .row {
  position: relative;
  min-height: 310px;
  margin-right: auto;
  margin-left: auto;
  padding: clamp(26px, 2vw, 52px);
  overflow: hidden;
  border: 1px solid var(--gw-news-border);
  border-radius: 30px;
  align-items: center;
  background:
    radial-gradient(circle at 14% 22%, rgba(0, 11, 153, 0.06), transparent 31%),
    linear-gradient(135deg, #ffffff 0%, #fbfbfe 54%, #f7f8fc 100%);
  box-shadow: 0 18px 55px rgba(16, 20, 38, 0.08);
  isolation: isolate;
}

.gwsm-newsletter-sec .section-content > .row::before {
  content: "";
  position: absolute;
  bottom: -110px;
  left: -90px;
  z-index: 0;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(236, 28, 36, 0.045);
  pointer-events: none;
}

.gwsm-newsletter-sec .section-content > .row > .col {
  position: relative;
  z-index: 1;
}

.gwsm-newsletter-sec .medium-7 > .col-inner {
  text-align: right;
}

.gwsm-newsletter-sec h2 {
  margin: 0 0 9px;
  color: var(--gw-news-text);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: -0.45px;
  text-transform: none;
}

.gwsm-newsletter-sec .medium-7 > .col-inner > p {
  max-width: 610px;
  margin: 0 0 20px;
  color: var(--gw-news-muted);
  font-size: 14px;
  line-height: 2;
}

.gwsm-newsletter-sec .button {
  display: flex !important;
  width: 100%;
  max-width: 560px;
  min-height: 54px;
  margin: 0 0 17px !important;
  padding: 10px 20px !important;
  border: 0 !important;
  border-radius: 15px !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--gw-news-blue),
    var(--gw-news-blue-light)
  ) !important;
  box-shadow: 0 12px 26px rgba(0, 11, 153, 0.2);
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.8 !important;
  text-transform: none !important;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease;
}

.gwsm-newsletter-sec .button:hover {
  background: linear-gradient(135deg, #111aab, #2937c8) !important;
  box-shadow: 0 16px 30px rgba(0, 11, 153, 0.26);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.gwsm-newsletter-sec .button:focus-visible {
  outline: 2px solid var(--gw-news-blue);
  outline-offset: 3px;
}

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

.gwsm-newsletter-sec li {
  display: inline-flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 8px;
  color: #777c8c;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.8;
}

.gwsm-newsletter-sec li::before {
  content: "✓";
  display: grid;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  flex: 0 0 18px;
  place-items: center;
  background: var(--gw-news-red);
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

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

/* ----------------------------- 
login and register
----------------------------- */
.page-id-18680 .gwsm-login-notice {
  --gwln-bg: #eef0ff; /* پس‌زمینه — همان soft آبی سایت (blue3) */
  --gwln-accent: #000b99; /* خط تأکید + کاشی آیکون — آبی برند */
  --gwln-strong: #000b99; /* نام برند داخل متن */
  --gwln-text: #33384a; /* متن اصلی — خاکستری-سرمه‌ای خوانا */
  --gwln-line: #d5daff; /* حاشیه کارت */

  position: relative;
  margin: 0 0 18px;
  padding: 15px 58px 15px 20px; /* راست: فضای آیکون (RTL) */
  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;
}
