
table {
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: .9em;
    margin-block-end: 15px;
    width: 100%;
}

table tfoot th, table thead th {
    font-size: 1em;
}

table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {
    background-color: hsla(0, 0%, 50%, .071);
}

table td, table th {
    border: 1px solid hsla(0, 0%, 50%, .502);
    line-height: 1.5;
    padding: 15px;
    vertical-align: top;
}
.modal-header .btn-close {
    background-color: transparent !important;
}

.my-search-container {
    position: relative;
}
.rtl .dgwt-wcas-style-solaris .dgwt-wcas-preloader, .rtl .dgwt-wcas-style-solaris .dgwt-wcas-voice-search {
    margin-left: 48px !important;
}
.search-by-image{
    position: absolute;
    left: 20px;
    top: 4px;
    z-index: 2;
}
@media(max-width: 600px) {
    .search-by-image{
        left: 10px;
        top: 0;
    }
}
#search_modal .search-by-image {
    display: none;
}


.rank-math-breadcrumb {
    display: inline-block;
}
.rank-math-breadcrumb p {
    margin: 1em;
    font-size: 13px;
}
.rank-math-breadcrumb a {
    color: #898d92;
    font-weight: 400;
}
.rank-math-breadcrumb a:hover {
    color: var(--accent_color2) !important;
}
.rank-math-breadcrumb .separator {
    color: #878787;
    padding: 0 9px;
}
.rank-math-breadcrumb .last {
    font-weight: bold;
    color: #555;
    font-size: 12px;
}



.product-base-stats{
	height: 20px;
	overflow: hidden;
}
.product-base-stats .slide-up {
	transform: translateY(0px);
	transition-duration: 300ms;
}
.product-base-stats .stat-item{
	display: flex;
	flex-wrap: nowrap;
	height: 20px;
	align-items: center;
	overflow: hidden;
}
.product-base-stats .real-stats{
	display: none !important;
}
.product-base-stats:hover .round-stats{
	display: none !important;
}
.product-base-stats:hover .real-stats{
	display: inline !important;
}
.product-base-stats .slide-up span {
    margin: 0 6px;
}

.description-product-options-btn {
    background-color: #E8EEFF;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
    color: #263B72;
    margin: 10px 0;
}

.woocommerce div.product .product-info-box .other-options-btn, .woocommerce div.product form.cart .add-to-cart-holder .button.other-options-btn {
    background-image: linear-gradient(135deg, #263B72, #3B5998, #FFB703) !important;
    background-size: 200% 200%;
    color: #fff !important;
    overflow: hidden !important;
    will-change: transform, filter, background-position;
    transition: transform .2s ease;
    animation: df-gradient-move 6s ease infinite, df-heartbeat 7s ease-in-out infinite;
}
.woocommerce div.product form.cart .add-to-cart-holder .button.other-options-btn {
    margin: 5px 15px;
    min-width: fit-content !important;
}

.woocommerce div.product .product-info-box .other-options-btn::before, .woocommerce div.product form.cart .add-to-cart-holder .button.other-options-btn::before {
    content: "";
    position: absolute;
    top: -120%;
    left: -40%;
    width: 220%;
    height: 320%;
    background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.60) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(25deg);
    animation: df-surface-shine 10s linear infinite;
    pointer-events: none;
}

@keyframes df-gradient-move {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@keyframes df-heartbeat {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }

    5% {
        transform: scale(1.08);
        filter: brightness(1.35);
    }

    10% {
        transform: scale(0.96);
        filter: brightness(1.08);
    }

    15% {
        transform: scale(1.04);
        filter: brightness(1.25);
    }

    20% {
        transform: scale(0.98);
        filter: brightness(1.10);
    }

    25% {
        transform: scale(1.02);
        filter: brightness(1.18);
    }
}

@keyframes df-surface-shine {
    0% {
        transform: translateY(-110%) rotate(25deg);
        opacity: .0;
    }

    6% {
        transform: translateY( 0%) rotate(25deg);
        opacity: 1;
    }

    12% {
        transform: translateY(110%) rotate(25deg);
        opacity: .0;
    }

    100% {
        transform: translateY(110%) rotate(25deg);
        opacity: .0;
    }
}

.woocommerce div.product .optional-product form.cart .add_to_cart_button:not(.other-options-add2cart-btn), .optional-product form.cart div.quantity {
    display: none !important;
}

.other-options-error {
    background-color: #ffdada;
    padding: 10px;
    border-radius: 8px;
}

ul#tm-extra-product-options-fields, ul.tmcp-ul-wrap {
    list-style: none;
    padding: 0;
    margin: 0 !important;
}

ul#tm-extra-product-options-fields .tc-container-disabled, .tm-hidden, .tc-hidden {
    display: none;
}

.tc-images-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
}

li.tc-mode-images {
    text-align: center;
    border-radius: 10px;
    border: 1px solid #263B72;
    padding: 10px !important;
    cursor: pointer;
    margin: 0 4px;
    min-width: 40%;
    width: 200px;
    max-width: 100%;
}

#other_options_modal .modal-content {
    max-height: 100%;
}
@media(max-width: 600px) {
    li.tc-mode-images {
        min-width: 100%;
        width: 100%;
    }
    
    #other_options_modal .modal-body {
        overflow: scroll;
        height: 70vh !important;
    }
    #other_options_modal .modal-footer {
        border-radius: 0 0 20px 20px;
    }
}

li.tc-mode-images.tc-active, li.tc-mode-images:hover {
    border-radius: 8px;
    background-color: #e9e9e9;
    border: 1px solid #FCB82F;
}

.tm-description {
    line-height: 2;
    margin-bottom: 10px;
}

label.tm-show-picker-value {
    padding-top: 85px;
    font-weight: 600;
    text-align: center;
}

label.tc-col.tm-epo-field-label {
    display: block;
}

label.tc-col.tm-epo-field-label.tc-hidden {
    visibility: hidden;
}

li.tc-mode-images label.tc-col.tm-epo-field-label {
    cursor: pointer;
}

li.tc-mode-images label.tc-col.tm-epo-field-label > span {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    min-width: 110px;
    justify-content: space-between;
}

.radio-image-label .tc-label-inner {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    line-height: 1.5;
}

/*.tm-extra-product-options {
    margin: 0 30px;
}*/

.tc-extra-product-options p {
    margin: 0;
}

/*.tm-extra-product-options ul.tmcp-ul-wrap li.tmcp-field-wrap{
    margin-bottom: 40px;
}*/
.tm-range-picker .noui-handle .noui-touch-area::before {
    right: calc(-0.4* var(--handle-size));
    bottom: calc(-0.45* var(--handle-size));
    top: unset;
    left: unset;
}

.tm-epo-required {
    color: red;
    margin-left: 5px;
}

.tcwidth-50 {
    width: 45%;
    float: right;
    margin: 5px;
}

.tcwidth-100 {
    clear: both;
}

.tc-tooltip {
    text-align: center;
    margin-top: 10px;
    color: #2980b9;
    cursor: help;
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

.tm-tooltip:not(.tm-hidden) {
    display: block !important;
}

.tm-hidden {
    display: none !important;
}

.tcfa-question-circle::before {
    content: "?";
}

.tm-animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.fadein {
    -webkit-animation-name: fadein;
    animation-name: fadein;
}

.tm-animated {
    -webkit-animation-duration: .3s;
    animation-duration: .3s;
}

#tm-tooltip {
    font-size: .875em;
    text-align: center;
    text-shadow: 0 1px rgba(0, 0, 0, 0.5);
    line-height: 1.5;
    color: var(--tooltip-color);
    background: var(--tooltip-background-color);
    border-radius: 5px;
    position: absolute;
    z-index: 1454000;
    padding: 15px;
    pointer-events: none;
    bottom: auto !important;
    top: auto;
    left: auto;
    right: auto;
    border: 1px solid var(--tooltip-border-color);
    --tooltip-background-color: rgba(0, 0, 0, 0.8);
    --tooltip-border-color: rgba(255, 255, 255, 0.5);
    --tooltip-color: #fff;
}

#tm-tooltip::before {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--tooltip-border-color);
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    margin-left: -10px;
}

#tm-tooltip::after {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--tooltip-background-color);
    content: "";
    position: absolute;
    left: 50%;
    bottom: -9px;
    margin-left: -10px;
}

img.tc-image.radio-image, img.tc-image.checkbox-image {
    width: 40px;
    height: auto;
    margin: 0;
    border-radius: 0;
}

.tc-mode-images .tc-input-wrap {
    display: none;
}

.sp-replacer.epo {
    width: 100%;
    margin: 15px 4px 15px;
    height: 50px;
    padding: 8px 16px 8px 8px;
    border-radius: 8px;
    border: 1px solid #FCB82F;
}

.sp-replacer.epo:hover {
    background-color: #e9e9e9;
}

:root {
    --tcgap: 0;
}

.tm-range-picker {
    --handle-size: 26px;
    --slider-height: 17px;
    --handle-background: #FCB82F;
    --slider-active-background: #FCB82F;
}



span.price.tc-price {
    font-size: smaller !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#other_options_modal textarea {
    background-color: #eeeeee;
    border: 1px solid #263b72;
}

#other_options_modal .woocommerce{
    display: flex;
    align-items: center;
    border-top: 1px solid #e6e6e6;
    margin-top: 10px;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
}
#other_options_modal .cart{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    width: 70%;
}
#other_options_modal .add-to-cart-holder{
    max-width: 30%;
}
#other_options_modal .single_add_to_cart_button:after{
    display:none;
}

#other_options_modal .modal-body {
    overflow: scroll;
    height: 70vh !important;
}
 
#other_options_modal .modal-footer {
    border-radius: 0 0 20px 20px;
}










.product-section .leadTime-info, .product-section .vendor-warranty {
    position: relative;
    display: flex;
    align-items: center;
    /* color: #000; */
    /* font-weight: 400; */
    padding: 7px 15px;
    font-size: 13px;
    line-height: 25px;
    color: #000;
    font-weight: 700;
    -moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02";
    margin: 0 !important;
}

.product-section .leadTime-info i.icon::before {
    content: "\E0d5";
    position: relative;
    right: -7px;
    /* top: 6px !important; */
    font-size: 22px;
    font-family: bakala;
    font-style: normal;
    color: #fff !important;
    margin-left: 5px;
    font-weight: 300;
    box-shadow: 3px 4px 9px 0 rgba(38, 59, 114, .2) !important;
    background: var(--m_accent_color2);
    width: 35px !important;
    height: 35px !important;
    padding: 4px 0 0 0;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    display: flex;
}
.product-section .vendor-warranty::before{
    position: relative;
    right: -7px;
    margin-left: 5px;
    margin-right: 0;
    width: 35px !important;
    height: 35px !important;
    padding: 4px 0 0 0;
}

.avans_show_product_score {
    display: flex;
    gap: 15px;
    padding: 7px 15px;
    font-weight: bold;
    -moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02";
}

.woocommerce ul.products li.product .box-footer {
    display: flex;
    align-items: center;
    width: 100%;
    margin-right: 0;
}
.woocommerce ul.products li.product .box-footer .loop-add-to-cart {
    padding: 0;
    background-color: #fff0;
    position: inherit;
    display: flex;
}

.sample-product-container {
  display: flex;
  flex-direction: row;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid #eef2f9;
  margin-bottom: 28px;
  gap: 8px;
}
.sample-product-container img{
  width: 100%;
  height: auto;
}
.info-product {
    position: relative;
}



/* DigiFabric – Product FAQ */
  .df-faq{
    --brand:#263B72;
    --accent:#FFB703;
    --bg:#F1F8FF;
    --border:#E2E8F0;
    --text:#111827;
    --muted:#6B7280;
    max-width:780px;
    margin:2rem auto;
    font-family:inherit;
    direction:rtl;
    text-align:right;
  }

  .df-faq-title{
    font-size:1.1rem;
    font-weight:700;
    color:var(--brand);
    margin-bottom:.5rem;
    display:flex;
    align-items:center;
    gap:.5rem;
  }

  .df-faq-title span.icon{
    display:inline-flex;
    width:22px;
    height:22px;
    border-radius:999px;
    background:var(--accent);
    color:#111;
    align-items:center;
    justify-content:center;
    font-size:.9rem;
  }

  .df-faq-sub{
    font-size:.85rem;
    color:var(--muted);
    margin-bottom:1.25rem;
  }

  .df-faq-list{
    border-radius:14px;
    background:var(--bg);
    border:1px solid var(--border);
    overflow:hidden;
  }

  .df-faq-item{
    border-bottom:1px solid var(--border);
  }

  .df-faq-item:last-child{
    border-bottom:none;
  }

  .df-faq-question{
    width:100%;
    padding:.9rem 1rem;
    background:#ffffffcc;
    border:none;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:.75rem;
    cursor:pointer;
    font-size:.9rem;
    color:var(--text);
    text-align:right;
  }

  .df-faq-question:hover{
    background:#fff;
  }

  .df-faq-q-text{
    flex:1;
  }

  .df-faq-icon{
    transition:transform .2s ease;
    font-size:.9rem;
    flex-shrink:0;
    margin-left:.25rem;
  }

  .df-faq-item.active .df-faq-icon{
    transform:rotate(90deg);
  }

  .df-faq-answer{
    max-height:0;
    overflow:hidden;
    padding:0 1rem;
    font-size:.85rem;
    color:var(--muted);
    line-height:1.7;
    background:#fff;
    transition:max-height .25s ease, padding .25s ease, background .25s ease;
  }

  .df-faq-item.active .df-faq-answer{
    padding:.5rem 1rem 1rem;
    max-height:400px; /* برای جواب‌های بلند در صورت نیاز این عدد رو زیاد کن */
  }

  @media (max-width:600px){
    .df-faq{
      margin:1.5rem 1rem;
    }
    .df-faq-question{
      padding:.8rem .8rem;
      font-size:.85rem;
    }
    .df-faq-answer{
      font-size:.8rem;
    }
  }
  
  
/* CART PAGE */
.woocommerce-cart .variation{
    display: block !important;
}

/* BLOG */
ul.wp-block-latest-posts {
    padding: 0;
}

ul.wp-block-latest-posts li {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: 10px;
}

a.wp-block-latest-posts__post-title {
    font-size: 12px;
    width: 70%;
    display: inline-block;
}

time.wp-block-latest-posts__post-date {
    text-align: left;
    background-color: #263b72;
    color: white;
    padding: 0 10px;
    border-radius: 8px;
    margin: 0 0 8px;
    font-size: 12px;
}


/* SHOP */
.products-box .products__item-fatitle {
    margin: 0;
}
.woocommerce ul.products li.product .box-footer {
    padding: 0 15px;
    height: 21px;
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    height: auto;
}
.woocommerce ul.products li.product a img {
    height: auto;
    width: 100%;
    margin: 20px !important;
    /*max-width: 100% !important;*/
    aspect-ratio: 1 / 1;
}
.products__item-image-wrapper {
    margin-top: 20px;
}

.product-tags-container {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    align-items: flex-start;
    font-size: 10px;
    flex-direction: column
}

.free-shipping-tag,.bestseller-tag,.new-product-tag,.stock-tag,.installment-tag {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #4caf50ba;
    color: #fff;
    padding: 0 5px;
    border-radius: 5px
}

.free-shipping-tag {
    background-color: hsl(224deg 43% 93% / 70%);
    color: #263b72
}

.bestseller-tag {
    background-color: #9ac43c;
    color: #fff
}

.new-product-tag {
    background: linear-gradient(135deg,#ffd700cc 0%,#ffa500bf 50%,#ff6347c7 100%);
    color: #fff
}

.stock-instock {
    background-color: hsl(210deg 100% 50% / 70%)
}

.stock-backorder {
    background-color: hsl(315deg 81% 35% / 55%)
}

.product-tags-container svg {
    width: 16px;
    height: 16px
}
/* home page */
.section-products-carousel .slick-initialized .slick-slide.sale .price{
    position: relative !important;
    margin: 0 !important;
    bottom: auto;
    left: auto;
}
.section-products-carousel .detail{
  display: inline-block;
}

/* DigiFabric Performance Test - Disable Mobile Animations
@media (max-width: 767px) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .animated,
  .elementor-invisible,
  .elementor-animation-grow,
  .elementor-animation-shrink,
  .elementor-animation-pulse,
  .elementor-animation-bob,
  .elementor-animation-float,
  .elementor-animation-fade,
  [data-settings*="animation"],
  [class*="fade"],
  [class*="pulse"] {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }
} */