/*
 Theme Name:	Astra Child
 Theme URI:		https://www.zhaket.com/store/web/nagatheme/
 Description:	Astra Child Theme Developed By NagaTheme
 Author:		NagaTheme
 Author URI:	https://NagaTheme.com
 License:		GNU General Public License v2 or later
 License URI:	http://www.gnu.org/licenses/gpl-2.0.html
 text-domain:	astra-child
 Template:		astra
 Version:		4.11.7
*/

/* = Theme customization starts below here = is blocked by functions.php
------------------------------------------------------------------------ */
.free-shipping-notice {
    padding: 10px;
    background: #f2f6fc;
    border: 1px solid #cce5ff;
    margin-bottom: 20px;
    text-align: center;
    font-size: 16px;
    color: #004085;

}

.free-shipping-notice bold {
    font-weight: bold;
}

.free-shipping-notice span {
    color: #d9534f;
}
.free-shipping-notice {
    display: block;
    text-align: center;
    line-height: 1.8;
    font-size: 16px;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #ccc;
    margin: 20px 0;
    position: relative;
    white-space: normal; /* جلوگیری از کشیده شدن متن */
    word-break: break-word; /* شکستن کلمات بلند در موبایل */
}
.sigmaweb-gift{
    background-image: linear-gradient(74deg, #ece3fe 0%, #d3c0ff 14%, #d8d5ff 32%, #b8c4ff 49%, #ddcbfb 66%, #dabaff 82%, #a5aefb 90%, #d6d0fe 100%);
}

/*دکمه بستن*/
.sigmaweb-close-gift-container .elementor-icon-wrapper{
    display: flex;
}
.sigmaweb-close-gift-container{
    cursor: pointer;
}

/*فرم*/
.sigmaweb-form, #sigmaweb-coupon-message .copy-coupon-button{
    font-family: "Vazirmatn", Sans-serif;
}

.sigmaweb-form .sigmaweb-button, #sigmaweb-coupon-message .copy-coupon-button{
    width: 100%;
    background-image: linear-gradient(270deg, #6834fb 0%, #8db8fd 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    margin-top: 6px;
}

.sigmaweb-form .sigmaweb-input{
        border-radius: 10px;
    border: 2px solid #dbdbdb !important;
    color: #212121;
    outline: none;
}


/*کد تخفیف*/
#sigmaweb-coupon-message .copy-coupon-text{
    background: #e8e8e8;
    width: 100%;
    display: inline-block;
    padding: 6px;
    text-align: center;
    border-radius: 10px;
}

@media (min-width: 768px) {
    input.cwgstock_phone {
        display: none !important;
    }
}

/* استایل قیمت ها */

.custom-price-style del {
  display: block;
  font-size: 13px;
  color: #8290A5;
  font-weight: 400 !important;
  text-decoration: none;
}

.custom-price-style del .amount {
  position: relative;
}

.custom-price-style del .amount::after {
  width: 100%;
  height: 0.8px;
  background: #8290a58f;
  content: '';
  position: absolute;
  right: 0px;
  top: 40%;
  transform: rotate(-10deg);
}

.custom-price-style del .woocommerce-Price-currencySymbol {
  display: none;
}

.custom-price-style ins {
  display: block;
  text-decoration: none;
  position: relative;
}

.custom-price-style .woocommerce-Price-currencySymbol {
  font-size: 0;
  width: 20px;
  height: 0px;
  display: inline-block;
  position: relative;
}

.custom-price-style .woocommerce-Price-currencySymbol::before {
  content: '';
  position: absolute;
  left: 5px;
  top: -3px;
  background: url(https://khodrokala.com/wp-content/uploads/2025/06/toman.svg);
  background-size: 18px;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  opacity: 0.4;
}
/* استایل باکس درصد تخفیف */

.custom-discount-box {
  text-align: center;
}

.custom-discount-box .beban-product-discount {
  background: #EF394F;
  color: #fff;
  font-size: 12px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  width: 65px;
  display: inline-block;
  padding: 5px 0px;
}

.custom-discount-box .beban-product-discount span {
  display: block;
  font-size: 15px;
}
/* Shine Effect */
.FzShine-mask img,
.FzShine-mask {
    -webkit-mask: linear-gradient(-60deg, #000 30%, #0005, #000 50%) right / 300% 100%;
    mask: linear-gradient(-60deg, #000 30%, #0005, #000 50%) right / 300% 100%;
    animation: FzShineAnim 3s infinite;
}

@keyframes FzShineAnim {
    0% {
        -webkit-mask-position: 140% 140%;
        mask-position: 140% 140%;
    }

    100% {
        -webkit-mask-position: -20% -20%;
        mask-position: -20% -20%;
    }
}
/*استایل محصولات مشابه سبد*/
@media (max-width: 768px) {
  .woocommerce-cart .cross-sells {
    order: 10;
    margin-top: 30px;
  }

  .woocommerce-cart .cart-collaterals {
    display: flex;
    flex-direction: column;
  }
}

.woocommerce-cart .cross-sells ul.products {
  display: block !important; /* به‌صورت ستونی نمایش داده بشه */
  padding: 0;
  margin: 0;
  list-style: none;
}

.woocommerce-cart .cross-sells ul.products li.product {
  display: flex;
  align-items: center;
  margin-bottom: 10px; /* فاصله بین محصولات */
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.woocommerce-cart .cross-sells ul.products li.product a img {
  width: 80px !important;
  height: 80px !important;
  object-fit: contain;
  margin-right: 15px;
  border-radius: 6px;
}

.woocommerce-cart .cross-sells ul.products li.product .price {
  margin-top: 5px;
  color: #333;
}

.woocommerce-cart .cross-sells ul.products li.product .button {
  margin-left: auto;
  color: white;
  padding: 6px 12px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
}

/* ✅ IranSansX Fonts */
@font-face {
    font-family: 'IRANSansX';
    src: url('https://khodrokala.com/wp-content/plugins/elementor-pro/megatheme/includes/fonts/iransansx/IRANSansX-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IRANSansX';
    src: url('https://khodrokala.com/wp-content/plugins/elementor-pro/megatheme/includes/fonts/iransansx/IRANSansX-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IRANSansX';
    src: url('https://khodrokala.com/wp-content/plugins/elementor-pro/megatheme/includes/fonts/iransansx/IRANSansX-DemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IRANSansX';
    src: url('https://khodrokala.com/wp-content/plugins/elementor-pro/megatheme/includes/fonts/iransansx/IRANSansX-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IRANSansX';
    src: url('https://khodrokala.com/wp-content/plugins/elementor-pro/megatheme/includes/fonts/iransansx/IRANSansX-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* ✅ FontAwesome */
@font-face {
    font-family: 'Font Awesome 5 Brands';
    src: url('https://khodrokala.com/wp-content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-brands-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Font Awesome 5 Free';
    src: url('https://khodrokala.com/wp-content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-regular-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Font Awesome 5 Free';
    src: url('https://khodrokala.com/wp-content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-solid-900.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
