/*
Theme Name: Radfan
Theme URI: https:/www.radfan.net/
Author: Radfan Corporation
Author URI: https:/www.radfan.net/
Description: Caroneh exclusive WordPress theme
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: radfan
*/

/* Start Radfan Corporation */

p,body,span,div {
    font-family: "IRANSansXVF";
}
#company-profile-menus-box {
    z-index: 1000 !important;
}
.company-profile-button .btn-profile {
  background-color: #0046d9 !important;
  border: 2px solid #0046d9 !important;
}
.woocommerce-Price-amount {
    font-family: "YekanBakh-FaNum",serif !important;
}
.company-readmore-wrapper {
  font-family: "IRANSansXVF", serif !important;
}
.company-products-carousel .company-product-item .price, .company-compare-table .company-product-item .price {
  color: #0046d9 !important;
}
.elementor-kit-6 {
  --e-global-color-primary: #0046d9 !important;
  --e-global-color-secondary: #43454D;
  --e-global-color-text: #43454D;
  --e-global-color-accent: #0046d9 !important;
  --e-global-color-8b1a9b1: #0046d9 !important;
  --e-global-color-703f0a1: #232323;
  --e-global-color-ed116b7: #0046d9 !important;
  --e-global-color-92b998f: #3D3D3D;
  --e-global-typography-primary-font-family: "IRANSansXVF" !important;
  --e-global-typography-primary-font-size: 18px;
  --e-global-typography-primary-font-weight: 600;
  --e-global-typography-secondary-font-family: "YekanBakh";
  --e-global-typography-secondary-font-weight: 400;
  --e-global-typography-text-font-family: "IRANSansXVF" !important;
  --e-global-typography-text-font-size: 16px;
  --e-global-typography-text-font-weight: 400;
  --e-global-typography-accent-font-family: "IRANSansXVF" !important;
  --e-global-typography-accent-font-size: 16px;
  --e-global-typography-accent-font-weight: 700;
  color: var( --e-global-color-text );
  font-family: var( --e-global-typography-primary-font-family ), serif;
  font-size: var( --e-global-typography-primary-font-size );
  font-weight: var( --e-global-typography-primary-font-weight );
}
.company-products-carousel .swiper-slide .company-product-item {
  box-shadow: 0 15px 16px -12px rgba(172, 172, 172, .74) !important;
  border: 1px solid #f5f5f5 !important;
}
.company-products-carousel .swiper-slide .company-product-item:hover {
  -webkit-box-shadow: 0 3px 2px rgb(2 25 89 / .02) !important;
  box-shadow: 0 3px 8px rgb(2 25 89 / .07) !important;
}
.company-products-carousel .company-product-item .company-product-cta-buttons .cta-buttons .add-to-cart, .company-compare-table .company-product-item .company-product-cta-buttons .cta-buttons .add-to-cart {
  background: #0046d9 !important;
  border: 1px solid #ecf0f4;
}
.link-with-arrow {
    color: #0046d9 !important;
}
.company-main-menu .btn-megamenu {
  color: #000 !important;
  border-radius: 15px;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}
.swiper-slide-bg {
  border-radius: 25px !important;
  border: 1px solid;
}
.elementor-button-icon {
  display: none !important;
}.elementor-button-icon {
  display: none !important;
}



/* End Radfan Corporation */



/* Global styles */
.center-absolute-horizontal {
    position: absolute;
    left: 50% !important;
    right: inherit !important;
    transform: translateX(-50%) !important;
}

@media screen and (max-width: 1024px) {
    .center-absolute-horizontal-tablet {
        position: absolute;
        left: 50% !important;
        right: inherit !important;
        transform: translateX(-50%) !important;
    }
}

@media screen and (max-width: 767px) {
    .center-absolute-horizontal-mobile {
        position: absolute;
        left: 50% !important;
        right: inherit !important;
        transform: translateX(-50%) !important;
    }
}

selector iframe,
selector video {
    object-fit: contain;
    background-color: black;
}

.back-to-top {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.back-to-top.show {
    display: block;
    opacity: 0.5;
}

.back-to-top:hover {
    opacity: 1;
}

/* Hide only before header is ready */
html:not(.header-ready) body:not(.elementor-editor-active):not(.elementor-editor-preview) .top-nav,
html:not(.header-ready) body:not(.elementor-editor-active):not(.elementor-editor-preview) .header-container {
    visibility: hidden;
    opacity: 0;
    min-height: 80px;
}

/* Show when header is ready */
html.header-ready .top-nav,
html.header-ready .header-container {
    visibility: visible;
    opacity: 1;
    transition: .3s;
}
/* /Global styles */

