/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* general */

.woocommerce-notices-wrapper {
    position: fixed;
    bottom: 0;
    width: -webkit-fill-available;
    z-index: 10;
}

.woocommerce-notices-wrapper .woocommerce-message{
    margin: 0;
}

body, html{
    max-width: 100%;
    overflow-x: hidden;
}

/* general */

/* main header */

body.home , body.page-id-2 .main-header {
    background-color: var(--e-global-color-7c3e575);
}

.main-header-contact-btn {
    overflow: hidden;
    border-radius: 6px;
}

.main-header-contact-btn .elementor-button-content-wrapper * {
 z-index: 1;
}

.main-header-contact-btn a::after {
    position: absolute;
    left: -5%;
    content: "";
    height: 150px;
    width: 115%;
    z-index: 0;
    background-color: var(--e-global-color-edf3490);
    transition: all 0.25s ease-in-out;
    transform: translateY(-45%) skew(25deg) scale(0);
}

.main-header-contact-btn:hover a::after {
    transform: translateY(-45%) skew(25deg) scale(1.2);
}

/* main header */

/* home hero */

.hero-section::after {
    content: '';
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    height: 600px;
    width: 600px;
    background: red;
    z-index: 0;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
}

.hero-shop-btn .elementor-button * {
    z-index: 1;
}

.hero-shop-btn::after {
    position: absolute;
    top: 0;
    right: inherit;
    bottom: inherit;
    left: 0;
    content: "";
    height: 100%;
    width: 100%;
    z-index: 0;
    background-image: linear-gradient(to right, #246BFD , #a200be, #246BFD );
    transition: all 0.25s ease-in-out;
    background-size: 220%;
    border-radius: 12px;
}

.hero-shop-btn:hover::after {
    background-position: -70% 0;
}

.hero-img-container::before {
    position: absolute;
    left: 50%;
    top: 50%;
    content: "";
    height: 500px;
    width: 500px;
    transform: translate(-50%, -50%);
    border: 1px solid var(--e-global-color-primary);
    z-index: 1 !important;
    margin-left: -20px;
    margin-top: -20px;
    border-radius: 50%;
    opacity: 0.3;
}

.hero-img-container::after {
    position: absolute;
    left: 50%;
    top: 50%;
    content: "";
    height: 500px;
    width: 500px;
    transform: translate(-50%, -50%);
    border: 100px solid var(--e-global-color-primary);
    z-index: 1 !important;
    border-radius: 50%;
    opacity: 0.04;
}
@media (max-width: 768px){
    .hero-img-container::before, .hero-img-container::after{
        width: 300px; height: 300px;
    }
}

.hero-img-icon-box .elementor-icon-box-icon {
    background: var(--e-global-color-primary);
    padding: 15px;
    border-radius: 6px;
}

/* home hero */

/* home */

.side-curve-square-1::before {
    content: "";
    width: 24px;
    height: 24px;
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(0,-100%) rotate(-90deg);
    background-image: url('assets/img/curve-white.svg');
    background-repeat: no-repeat;
    background-size: cover;
}

.side-curve-square-1::after {
    content: "";
    width: 24px;
    height: 24px;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(100%,0) rotate(-90deg);
    background-image: url('assets/img/curve-white.svg');
    background-repeat: no-repeat;
    background-size: cover;
}

.side-curve-square-2 {
    min-height: var(--spacer-size);
}

.side-curve-square-2::before {
    content: "";
    width: 24px;
    height: 24px;
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-100%,0) rotate(90deg);
    background-image: url('assets/img/curve-grey.svg');
    background-repeat: no-repeat;
    background-size: cover;
}

.side-curve-square-2::after {
    content: "";
    width: 24px;
    height: 24px;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(0,100%) rotate(90deg);
    background-image: url('assets/img/curve-grey.svg');
    background-repeat: no-repeat;
    background-size: cover;
}

.home-services-box-arrow .elementor-icon-wrapper {
    display: flex;
}

.home-services-box::after {
    content: attr(data-label);
    position: absolute;
    left: 36px;
    bottom: 36px;
    font-size: 45px;
    font-weight: 800;
    color: var(--e-global-color-primary);
    opacity: 0.1;
}

.home-steps-box-container::after {
    position: absolute;
    left: 5px;
    right: 5px;
    content: "";
    height: 3px;
    border-top: 2px dashed #cccccc;
    top: 25px;
    z-index: 0;
}

.home-steps-box .elementor-icon {
    position: relative;
}

.home-steps-box .elementor-icon::before {
    font-size: 20px;
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%,-50%);
    color: var(--e-global-color-49f9d3b);
    z-index: 1;
}

#home-steps-box-1 .elementor-icon::before {
    content: "1";   
}

#home-steps-box-2 .elementor-icon::before {
    content: "2";   
}

#home-steps-box-3 .elementor-icon::before {
    content: "3";   
}
.home-steps-box-1 .elementor-icon::before {
    content: "1";   
}

.home-steps-box-2 .elementor-icon::before {
    content: "2";   
}

.home-steps-box-3 .elementor-icon::before {
    content: "3";   
}

.home-options-arrow-link-container::before {
    content: "";
    width: 24px;
    height: 24px;
    position: absolute;
    left: 0;
    top: 1px;
    transform: translate(0,-100%) rotate(-90deg);
    background-image: url('assets/img/curve-grey.svg');
    background-repeat: no-repeat;
    background-size: cover;
}

.home-options-arrow-link-container::after {
    content: "";
    width: 24px;
    height: 24px;
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translate(100%,0) rotate(-90deg);
    background-image: url(
    'assets/img/curve-grey.svg');
    background-repeat: no-repeat;
    background-size: cover;
}

.home-options-arrow-link .elementor-icon-wrapper {
    display: flex;
}

.home-options-accordion .e-n-accordion-item .e-n-accordion-item-title::before {
    min-width: 100px;
    margin-left: 30px;
    font-size: 16px;
    font-weight: 500;
}

.home-options-accordion .e-n-accordion-item#option-1 .e-n-accordion-item-title::before {
    content: "استراتژی";
}

.home-options-accordion .e-n-accordion-item#option-2 .e-n-accordion-item-title::before {
    content: "همکاری";
}

.home-options-accordion .e-n-accordion-item#option-3 .e-n-accordion-item-title::before {
    content: "برندینگ";
}

.home-options-accordion .e-n-accordion-item .home-options-link-icon {
    opacity: 0;
}

.home-options-accordion .e-n-accordion-item:hover .home-options-link-icon {
    opacity: 1;
}

.home-options-accordion .e-n-accordion-item:hover .home-options-img {
    filter: brightness( 51% ) contrast( 100% ) saturate( 100% ) blur( 0px ) hue-rotate( 0deg );
}

.home-options-link-icon {
    transform: translate(calc(-50% - 50px), -50%);
}

.home-options-link-icon .elementor-icon-wrapper {
    display: flex;
}

/* home */

/* item main team members */

.item-main-team-social-icon {
    opacity: 0;
    transform: translateY(40px);
    transition:
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.2s ease;
    will-change: transform, opacity;
}

.item-main-team-action-container:hover .item-main-team-social-icon {
    opacity: 1;
    transform: translateY(0);
    transition:
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.3s ease 0.15s;
}

.item-main-team-plus-icon {
    position: relative;
    cursor: pointer;
}

.item-main-team-plus-icon::before {
    position: absolute;
    left: -18px;
    bottom: 30px;
    content: "";
    height: 40px;
    width: 22px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 20px 0 0 white;
}

.item-main-team-plus-icon::after {
    position: absolute;
    right: -7px;
    bottom: 32px;
    content: "";
    height: 27px;
    width: 8px;
    border-bottom-left-radius: 10px;
    box-shadow: 0 20px 0 0 white;
}

.item-main-team-plus-icon .elementor-icon-wrapper {
    display: flex;
    padding: 12px;
    border-radius: 100%;
    background-color: var(--e-global-color-edf3490);
}

/* item main team members */

/* item main comments */

.item-main-comment-qoute-icon {
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.item-main-comment-text-container::after {
    content: "";
    position: absolute;
    top: 0;
    right: 72px;
    width: 1px;
    background-color: #BFC7D6;
    height: 100%;
}

/* item main comments */

/* item main product */

.item-main-product-view-btn .elementor-icon-wrapper {
    display: flex;
}

.item-main-product-view-btn::before {
    content: attr(data-label);
    white-space: nowrap;
    position: absolute;
    left: 50%;
    top: -9px;
    transform: translate(-50%, -90%);
    background-color: var(--e-global-color-edf3490);
    color: #fff;
    padding: 4px 12px;
    font-size: 14px;
    border-radius: 3px;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.item-main-product-view-btn::after {
    content: "";
    width: 12px;
    height: 6px;
    position: absolute;
    left: 50%;
    top: -9px;
    transform: translate(-50%, -6px);
    background-color: var(--e-global-color-edf3490);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.item-main-product-view-btn:hover::before {
    opacity: 1;
    transform: translate(-50%, -100%);
}

.item-main-product-view-btn:hover::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

.item-main-product-add-btn {
    min-width: auto !important;
}

.item-main-product-add-btn .elementor-icon-wrapper {
    display: flex;
}

/* item main product */

/* item main post */

.item-main-post-meta-container::before {
    content: url('assets/img/curve-white.svg');
    position: absolute;
    right: 0;
    top: 0;
    transform: translate(0 , -100%) rotate(180deg);
    width: 24px;
    height: 24px;
}

.item-main-post-meta-container::after {
    content: url('assets/img/curve-white.svg');
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translate(-100% , 0) rotate(180deg);
    width: 24px;
    height: 24px;
}

/* item main post */

/* item color team */

.item-color-team-thumbnail img {
    aspect-ratio: 1;
}

.item-color-team-email-icon .elementor-icon-wrapper {
    display: flex
}

/*item color team */

/* item color customer comments */

.item-color-customer-comments .item-color-customer-box::after {
    position: absolute;
    right: -1px;
    top: 1px;
    content: "";
    height: 30px;
    width: 30px;
    background: var(--e-global-color-primary);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    transform: translate(0,-100%);
}

.item-color-content-box::after {
    position: absolute;
    left: 36px;
    bottom: 12px;
    content: "\e973";
    font-family: "icomoon";
    color: var(--e-global-color-text);
    font-size: 50px;
    z-index: 0;
    opacity: 0.10;
}

.item-color-content-elem p{
    margin: 0 !important;
}

/*item color customer comments */

/* archive post */

.archive-post-recent-title::after {
    content: '';
    display: inline-block;
    width: 50px;
    height: 2px;
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: var(--e-global-color-primary);
}

.item-recent-archive-count {
    font-size: 16px;
    font-weight: 600;
    color: var( --e-global-color-b1af754 );
}

.post-archive-tagcloud .elementor-shortcode {
        display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 5px;
}

.post-archive-tagcloud .elementor-shortcode a {
    color: #454545;
    font-weight: 600;
    font-size: 16px;
    background: #dde4ed;
    padding: 8px 20px;
    border-radius: 5px;
}

.post-archive-tagcloud .elementor-shortcode a:hover {
    color: white;
    background: var(--e-global-color-primary);
}

/* archive post */

/* single archive */

.single-post-nav .post-navigation__arrow-wrapper {
    padding: 15px;
    border: 1px solid var(--e-global-color-0980cb8);
}

.single-post-tags {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
}

.single-post-tags::before {
    content: 'برچسب ها:';
    font-size: 22px;
    font-weight: 600;
    color: var(--e-global-color-49f9d3b);
    white-space: nowrap;
}

.single-post-tags .elementor-post-info__terms-list {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 0px;
}

.single-post-tags .elementor-post-info__terms-list a {
    background-color: var(--e-global-color-0980cb8);
    color: var(--e-global-color-49f9d3b) !important;
    padding: 7px 23px;
    border-radius: 4px;
    margin-left: 4px;
    font-weight: 500;
}

.single-post-tags .elementor-post-info__terms-list a:hover {
    background-color: var(--e-global-color-primary);
    color: white !important;
}

/* single archive */

/* archive product */

.archive-product-breadcrumb nav {
    margin: 0;
}

/* archive product */

/* single product */

.single-product-breadcrumb nav{
    margin: 0 !important;
}

.single-product-brand .elementor-post-info__item-prefix {
    color: var(--e-global-color-text);
    font-size: 16px;
}

.single-product-brand .elementor-post-info__terms-list:hover .elementor-post-info__terms-list-item {
    color: var(--e-global-color-primary) !important;
}

.single-product-sku .elementor-icon-list-items .elementor-icon-list-item::before {
    content: "شناسه محصول:";
    color: var(--e-global-color-text);
    font-size: 16px;
}

.single-product-short-description .woocommerce-product-details__short-description{
    margin: 0;
}

.single-product-add-to-cart button[type="submit"] {
    width: -webkit-fill-available;
    display: flex;
    justify-content: center;
    align-items: center;
}

.single-product-add-to-cart button[type="submit"]::before {
    content: "\e989";
    font-family: 'icomoon' !important;
    font-size: 30px;
    font-weight: normal;
    margin-left: 6px;
}

.single-product-add-to-cart input[type="number"]:focus-visible {
    outline: none;
}

.single-product-meta .elementor-post-info__item-prefix {
    color: var(--e-global-color-text);
}

.single-product-share::before {
    content: "اشتراک گذاری:";
    color: var(--e-global-color-text);
    font-size: 16px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0,-50%);
}

.single-product-tabs .e-n-tabs-heading button::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background-color: var(--e-global-color-primary);
    z-index: 1; 
    transform: scaleX(0) translate(-50%,18px);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

.single-product-tabs .e-n-tabs-heading button[aria-selected="true"]::after {
    transform: scaleX(1) translate(-50%,18px);
}

.single-product-table table {
    border: none !important;
}

.single-product-table table tr:nth-child(1) {
    border-top: 1px solid var(--e-global-color-0980cb8) !important;
}

.single-product-table table tr {
    border-bottom: 1px solid var(--e-global-color-0980cb8) !important;
    border-right: none !important;
    border-left: none !important;
}

.single-product-table table tr th {
    border-bottom: none !important;
    border-top: none !important;
    border-right: 1px solid var(--e-global-color-0980cb8) !important;
    border-left: 0.5px solid var(--e-global-color-0980cb8) !important;
    background-color: transparent !important;
}

.single-product-table table tr td {
    border-bottom: none !important;
    border-top: none !important;
    border-right: 0.5px solid var(--e-global-color-0980cb8) !important;
    border-left: 1px solid var(--e-global-color-0980cb8) !important;
    background-color: transparent !important;
    font-style: normal !important;
    padding-right: 24px !important;
}

/* single product */

/* contact us page */

.contact-us-icon-box-phone .elementor-icon-box-icon {
    background-color: var(--e-global-color-primary);
    padding: 18px;
    border-radius: 100%;
}

.contact-us-icon-box-email .elementor-icon-box-icon {
    background-color: var(--e-global-color-secondary);
    padding: 18px;
    border-radius: 100%;
}

.contact-us-icon-box-address .elementor-icon-box-icon {
    background-color: var(--e-global-color-edf3490);
    padding: 18px;
    border-radius: 100%;
}

/* contact us page */

/* faq page */

.faq-page-accordion .e-n-accordion-item-title[aria-expanded="true"] {
    border-radius: 6px 6px 0 0;
}

.faq-page-accordion .e-n-accordion-item-title-icon .e-opened {
    background-color: white;
    border-radius: 100%;
    padding: 18px 12px;
    justify-content: center;
    align-items: center;
}

.faq-page-accordion .e-n-accordion-item-title-icon .e-closed {
    background-color: var( --e-global-color-edf3490 );
    border-radius: 100%;
    padding: 18px 12px;
    justify-content: center;
    align-items: center;
}

.faq-page-accordion .e-n-accordion-item-title:hover .e-n-accordion-item-title-icon .e-closed {
    background-color: white;
    border-radius: 100%;
    padding: 18px 12px;
    justify-content: center;
    align-items: center;
}

/* faq page */

/* cart page */

.cart-element .woocommerce * {
    font-family: var(--e-global-typography-primary-font-family);
}

/* cart page */

/* checkout page */

.checkout-element .woocommerce * {
    font-family: var(--e-global-typography-primary-font-family) !important;
}

.checkout-element .woocommerce-billing-fields__field-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.checkout-element .woocommerce-billing-fields__field-wrapper>p {
    width: 49%;
}

.checkout-element .woocommerce-billing-fields__field-wrapper>p input:focus,
.coupon-container-grid input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.checkout-element .woocommerce-billing-fields__field-wrapper>p:nth-child(2) .select2-selection .select2-selection__arrow {
    display: none !important;
}

.checkout-element .woocommerce-input-wrapper .select2-selection--single {
    height: 55px;
}

.checkout-element a {
    color: #000 !important;
}

/* checkout page */