@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//rivaan.ir/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.3.9") format("woff2");
	font-display:swap;
}

:root {
	--wd-text-font: "iransans", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "iransans", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "iransans", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "iransans", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "iransans", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "iransans", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(130,36,227);
	--wd-alternative-color: #fbbc34;
	--btn-default-bgcolor: rgb(129,215,66);
	--btn-default-bgcolor-hover: rgb(129,215,66);
	--btn-accented-bgcolor: #83b735;
	--btn-accented-bgcolor-hover: #74a32f;
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 5px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: #0a0a0a;
}

@font-face {
	font-family: "iransans";
	src: url("//rivaan.ir/wp-content/uploads/2026/05/IRANSansWeb.woff2") format("woff2"), 
url("//rivaan.ir/wp-content/uploads/2026/05/IRANSansWeb.woff") format("woff");
	font-weight: 400;
	font-display:swap;
	font-style: normal;
}

/*contact us*/
    .contact-container {
      max-width: 1100px;
      margin: 40px auto;
      padding: 20px;
    }

    .contact-hero {
      background: linear-gradient(180deg, rgba(107,45,138,0.05), rgba(255,215,0,0.03));
      border: 1px solid rgba(107,45,138,0.1);
      border-radius: 12px;
      padding: 24px;
      text-align: center;
    }

    .contact-hero h2 {
      margin: 0 0 10px;
      color: #6b2d8a;
      font-size: 22px;
    }

    .contact-hero p {
      margin: 0;
      color: #555;
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-top: 24px;
    }

    .contact-card {
      background: #fdfdfd;
      border: 1px solid rgba(0,0,0,0.06);
      border-radius: 10px;
      padding: 16px;
      display: flex;
      gap: 12px;
      align-items: flex-start;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }

    .contact-card .icon {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      background: linear-gradient(135deg, rgba(107,45,138,0.15), rgba(255,215,0,0.08));
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      color: #6b2d8a;
      flex-shrink: 0;
    }

    .contact-card strong {
      display: block;
      margin-bottom: 4px;
      color: #222;
      font-size: 15px;
    }

    .contact-card span {
      font-size: 14px;
      color: #555;
    }


/*about me*/
.about-author {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: "Vazirmatn", sans-serif;
  line-height: 1.9;
  color: #333;
}

.author-container {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.author-image {
  flex: 1 1 280px;
  text-align: center;
}

.author-image img {
  max-width: 100%;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.author-content {
  flex: 2 1 500px;
}

.author-content h1 {
  font-size: 2rem;
  color: #6b2d8a;
  margin-bottom: 20px;
  border-bottom: 2px solid #eee;
  display: inline-block;
  padding-bottom: 6px;
}

.author-content p {
  margin-bottom: 18px;
  font-size: 1.05rem;
  color: #444;
}

.author-books {
  list-style: none;
  padding: 0;
  margin: 15px 0 25px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px 20px;
}

.author-books li {
  background: #f9f5ff;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #6b2d8a;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 2px 6px rgba(107, 45, 138, 0.08);
  transition: transform 0.2s ease;
}

.author-books li:hover {
  transform: translateY(-3px);
  background: #6b2d8a;
  color: #fff;
}

.whb-general-header a{
	color:white !important;
}
.wd-header-mobile-nav a{
	color:white !important;
}
.wd-tools-element .wd-tools-text{
	 font-family: 'body-font' !important;
}


        .floating-call-container {
            position: fixed;
            bottom: 20px; /* فاصله از پایین */
            right: 20px; /* فاصله از راست */
            z-index: 9999;
            direction: rtl; /* جهت راست به چپ */
        }

        #floating-call-btn {
            /* رنگ تم: سبز آبی */
            background-color: #00BCD4; 
            color: white;
            border: none;
            border-radius: 50px;
            padding: 16px;
            cursor: pointer;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            transition: background-color 0.3s, transform 0.3s;
            display: flex;
            align-items: center;
            font-size: 16px;
            font-weight: bold;
            line-height: 1;
        }

        #floating-call-btn:hover {
            background-color: #0097A7; /* سبز آبی تیره‌تر */
            transform: scale(1.05);
        }

        /* استایل آیکون SVG داخل دکمه اصلی */
        #floating-call-btn svg {
            width: 20px;
            height: 20px;
            fill: white; /* آیکون اصلی سفید باشد */
        }

        /* استایل باکس بازشو */
        #call-box {
            position: absolute;
            bottom: calc(100% + 15px); /* قرارگیری بالای دکمه */
            right: 0;
            width: 250px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            padding: 15px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
        }

        /* نمایش باکس بازشو */
        #call-box:not(.call-box-hidden) {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        #call-box h4 {
            margin: 0 0 15px 0;
            color: black;
            border-bottom: 2px solid #00BCD4; /* رنگ تم: سبز آبی */
            padding-bottom: 5px;
            font-size: 18px;
        }

        .call-item {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: #333;
            padding: 8px 0;
            border-bottom: 1px dashed #eee;
            transition: background-color 0.2s;
            line-height: 1.5;
        }

        .call-item:last-child {
            border-bottom: none;
        }

        .call-item:hover {
            background-color: #f7f7f7;
            border-radius: 4px;
            padding: 8px;
            margin: 0 -8px;
        }

        .call-item .icon {
            /* کانتینر آیکون برای مدیریت فاصله */
            margin-left: 10px;
            display: flex;
            align-items: center;
        }

        /* استایل SVGهای داخل باکس بازشو */
        .call-item .icon svg {
            width: 22px; /* کمی بزرگتر برای وضوح */
            height: 22px;
            stroke-width: 2;
            fill: none; /* بیشتر آیکون‌های موبایل stroke هستند */
        }

        /* رنگ آیکون مدیریت: سبز آبی */
        .manager-call .icon svg {
            stroke: #00BCD4; 
        }

        /* رنگ آیکون پشتیبانی: زرد */
        .support-call .icon svg {
            stroke: #FFEB3B; 
        }

        /* تغییر رنگ آیکون در حالت هاور */
        .manager-call:hover .icon svg {
            stroke: #0097A7; 
        }

        .support-call:hover .icon svg {
            stroke: #FBC02D; 
        }



/*بسکت*/
form.woocommerce-checkout>:is(.customer-details,.woocommerce-NoticeGroup)>*:last-child {
	display: none !important;
	
}@media (max-width: 576px) {
	 .contact-grid {
        grid-template-columns: 1fr;
      }

 .author-container {
    flex-direction: column;
    text-align: center;
  }
  .author-content h1 {
    font-size: 1.6rem;
  }
  .author-content p {
    font-size: 0.95rem;
  }



/*حساب کاربری*/
  /* منو را چسبان و در بالا فیکس می‌کند */
    nav.woocommerce-MyAccount-navigation {
        position: sticky !important;
        top: 0 !important;
        background-color: #ffffff !important;
        z-index: 999 !important;
        padding: 12px 0 !important;
        margin-bottom: 20px !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
        border-bottom: 1px solid #eee !important;
    }
    
    /* لیست منو را افقی و اسکرول‌دار می‌کند */
    nav.woocommerce-MyAccount-navigation ul {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
        list-style: none !important;
        padding: 0 16px !important;
        margin: 0 !important;
        gap: 8px !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    /* مخفی کردن اسکرول بار در مرورگرهای Webkit (اختیاری - برای زیبایی) */
    nav.woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
        height: 3px;
    }
    nav.woocommerce-MyAccount-navigation ul::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
    nav.woocommerce-MyAccount-navigation ul::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 10px;
    }
    
    /* هر آیتم منو */
    nav.woocommerce-MyAccount-navigation ul li {
        display: inline-flex !important;
        float: none !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }
    
    /* استایل لینک‌ها */
    nav.woocommerce-MyAccount-navigation ul li a {
        display: block !important;
        padding: 8px 16px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        color: #333 !important;
        background-color: #f8f8f8 !important;
        border-radius: 30px !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        transition: all 0.2s ease !important;
        border: 1px solid #e0e0e0 !important;
    }
    
    /* آیتم فعال (همان صفحه‌ای که کاربر در آن است) */
    nav.woocommerce-MyAccount-navigation ul li.is-active a {
        background-color: #000000 !important;
        color: #ffffff !important;
        border-color: #000000 !important;
    }
    
    /* افکت هاور برای لینک‌ها */
    nav.woocommerce-MyAccount-navigation ul li a:hover {
        background-color: #e0e0e0 !important;
        color: #000 !important;
    }
}

