/*
Theme Name:         Shoptimizer Child
Theme URI:          https://bomisaz.ir
Author:             Bomisaz
Author URI:          https://bomisaz.ir
Description:        فروشگاهی فوق پیشرفته جهت تجارت الکترونیک به صورت حرفه ای
Version:            1.0.0
Text Domain:        shoptimizer-child
Template:           shoptimizer
*/
/*@font-face {
    font-family: "IRANYekanX";
    src: url("./fonts/IRANYekanXVF.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}*/
@font-face {
    font-family: iranyekanx;
    font-weight: 100;
    src: url(./fonts/iranyekanx-light.woff2) format("woff2"), url(./fonts/iranyekanx-light.woff) format("woff");
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: iranyekanx;
    font-weight: 400;
    src: url(./fonts/iranyekanx-regular.woff2) format("woff2"), url(./fonts/iranyekanx-regular.woff) format("woff");
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: iranyekanx;
    font-weight: 500;
    src: url(./fonts/iranyekanx-medium.woff2) format("woff2"), url(./fonts/iranyekanx-medium.woff) format("woff");
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: iranyekanx;
    font-weight: 700;
    src: url(./fonts/iranyekanx-bold.woff2) format("woff2"), url(./fonts/iranyekanx-bold.woff) format("woff");
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: iranyekanx;
    font-weight: 900;
    src: url(./fonts/iranyekanx-extrabold.woff2) format("woff2"), url(./fonts/iranyekanx-extrabold.woff) format("woff");
    font-display: swap;
}
@font-face {
    font-family: bakala;
    src: url(./fonts/bakala.eot);
    src: url(./fonts/bakala.eot?#iefix) format("eot"), url(./fonts/bakala.woff) format("woff"), url(./fonts/bakala.ttf) format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
/* === --- تنظیمات کلی و متغیرها --- === */
:root {
    --kiwiai-primary-color: var(--shoptimizer-primary-color, #8ED557);
    --kiwiai-text-dark: #2d2d2d;
    --kiwiai-text-light: #555;
    --kiwiai-border-color: #e9e9e9;
    --kiwiai-bg-light: #f9f9f9;
}
body {
    overflow-x: hidden ;
}
.kiwiai-bestseller-rank,.widget_price_filter .price_slider_amount ,.product-label,.count , .top-bar p , body.rtl ul.checkout-bar,.kiwiai-phone,
.woocommerce-result-count , .woocommerce-pagination .page-numbers,.product-countdown ,.footer-icon a , .footer-detail__contact-inner , .call-box,
.product .cart .quantity .input-text ,.woocommerce-tabs ul.tabs li a span,.kiwiai-digital-timer,.kiwiai-single-discount-badge,.kiwiai-meta-date,.kiwiai-meta-comments,.discount-badge{
    -moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02";
}
/* === Start Header === */
.main-navigation ul li.menu-item > a {
    font-size: 13px;
    display: flex;
    align-items: center;
}
.kiwiai-icon.original a.main-menu-link:before ,
.kiwiai-icon.best-price a.main-menu-link:before ,
.kiwiai-icon.return a.main-menu-link:before ,
.kiwiai-icon.faq a.main-menu-link:before ,
.kiwiai-icon.digital a.main-menu-link:before ,
.kiwiai-icon.wonder a.main-menu-link:before  {
    font-family: 'bakala';
    color: #8BC34A;
    font-size: 16px;
    margin-left: 7px;
}
.kiwiai-icon.digital a.main-menu-link:before {content: "\E09A";color: #2d4f8d;}
.kiwiai-icon.wonder a.main-menu-link:before  {   content: "\E0AF";color: #cf6266;	}
.kiwiai-icon.faq a.main-menu-link:before { content: "\E024"; color: #ffc107;}
.kiwiai-icon.return a.main-menu-link:before {   content: "\E01C";color: #2196f3;	}
.kiwiai-icon.best-price a.main-menu-link:before {   content: "\E1ED";color: #e62525;	}
.kiwiai-icon.original a.main-menu-link:before {   content: "\E0E3";color: #00d084;	}
#menu-menu-login-signup li a {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    padding: 10px 15px;
/* === border: 1px solid #8BC34A; === */
    border-radius: 6px;
    max-height: 48px;
    background-color: #8BC34A;
}
.secondary-navigation .icon-wrapper {
    position: relative !important;
    right: 5px;
    left: auto;
    transform: translate(50%, 0);
    top: 3px;
}
/* === آیتم والد === */
.custom-account-item {
  position: relative;
}
/* === لینک اصلی === */
.custom-account-item > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 15px;
  font-weight: bold;
  color: #333;
  transition: all 0.3s ease;
}
.custom-account-item > a:hover {
  color: #1abc9c;
}
/* === زیرمنو با افکت نرم === */
.custom-account-item .sub-menu {
    position: absolute;
    top: 100%;
    right: 4px;
    background: white;
    border: 1px solid #eee;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    min-width: 180px;
    z-index: 999;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
/* === آیتم‌های زیرمنو === */
.custom-account-item .sub-menu li {
  list-style: none;
}
.custom-account-item .sub-menu li a {
  display: flex ;
  padding: 10px 15px ;
  color: #555 !important;
  text-decoration: none;
  font-size: 12px;
  transition: background 0.3s, color 0.3s;
  background: transparent !important;
}
.custom-account-item .sub-menu li a:hover {
  background: #f7f7f7;
  color: #000;
}
/* === نمایش زیرمنو با افکت نرم در حالت هاور === */
.custom-account-item:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* === آیکن قبل از حساب کاربری === */
.custom-account-item > a::before {
  content: "\E17A";
  font-size: 12px;
  margin-right: 4px;
  color: #fff;
  font-family: bakala;
}
/* === End Header === */
.image-feature .wp-caption , .elementor-widget-image.image-feature a {
    border-radius: 15px !important;
}
.secondary-navigation .icon-wrapper svg {
    stroke: #fff !important;
}
.secondary-navigation .menu a, .ri.menu-item:before, .fa.menu-item:before {
    color: #fff !important;
}
.term-description video {
    display: block ; 
    border-radius: 10px;
    margin: 0 auto;
}
.term-description p,
.term-description a,
.term-description li,
.post-content.single p {
    font-size: 1rem;
    color: #444;
	text-decoration: unset !important;
    text-align: justify;
}
.term-description h1 {
    font-size: 1.5rem;
    font-weight: 800;
}
.term-description img {
    max-width: inherit;
    border-radius: 8px;
}
.wp-caption {
    margin-bottom: 15px;
    text-align: center;
}
.kiwiai-category-footer {
    background: #fff;
    padding: 20px;
    font-size: 16px;
    line-height: 1.8;
    border-top: 1px solid #ddd;
    border-radius:15px;
    box-shadow: 0 0 10px hsla(0, 0%, 74.9%, .35);
    -webkit-box-shadow: hsla(0, 0%, 74.9%, .35) 0 0 10px;
}
.term-description ul {
  margin-right: 2rem; 
/* === فاصله کلی از راست === */
}
.term-description li::marker {
  padding-left: 0.5rem; 
/* === فاصله بین مارکر و متن === */
  font-size: 1.1rem;
  color: #555;
}
.entry-content h2,
.term-description.readmore_desc h2,
.term-description h2,
.post-content.single h2 {
    color: #222;
    font-weight: 600;
    font-size: 1.4rem ;
    margin-top: 1rem;
}
.entry-content h3,
.term-description.readmore_desc h3,
.term-description h3,
.post-content.single h3 {
    font-size: 1.125rem;
    color: #333;
    margin-top: 1rem;
}
.category-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 80px;
}
.category-links li a {
    display: block;
    text-decoration: none;
    background-color: #f8f9fa;
    color: #333;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
    transition: all 0.3s ease;
    font-size: 15px;
    text-align: center;
    list-style-type: none;
    list-style: none;
}
.category-links li::before {
    display: none;
    content: none;
}
.category-links li a:hover {
    background-color: #8bc34a;
    color: #fff !important;
    transform: translateY(-3px);
}
.category-links a::before {
    content: "👉 ";
    margin-left: 5px;
}
.woocommerce-products-header .term-description.readmore_desc {
    max-height: 100% ;
}
.desc_more {
    display: none ;
}
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgb(0 0 0 / 0.1);
    direction: rtl;
    text-align: right;
}
.contact-form-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #333;
}
.form-group {
    margin-bottom: 20px;
}
.contact-form-container .form-control {
    display: block;
    width: 100%;
    padding: 10px 15px;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    box-sizing: border-box;
}
.contact-form-container .form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}
.contact-form-container .form-control:focus {
    border-color: #007bff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 0.25);
}
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}
.form-submit {
    margin-top: 30px;
    text-align: center;
}
.contact-form-container .btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: #fff0;
    border: 1px solid #fff0;
    padding: 10px 20px;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 4px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
}
.contact-form-container .btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}
.contact-form-container .btn-primary:hover {
    color: #fff;
    background-color: #0056b3;
    border-color: #0056b3;
}
.wpcf7-response-output {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}
.wpcf7-response-output.wpcf7-mail-sent-ok {
    border-color: #28a745;
    background-color: #d4edda;
    color: #155724;
}
.wpcf7-response-output.wpcf7-mail-sent-ng,
.wpcf7-response-output.wpcf7-validation-errors {
    border-color: #dc3545;
    background-color: #f8d7da;
    color: #721c24;
}
p.review-title {
    font-size: 28px;
    letter-spacing: -0.6px;
    color: #333;
    font-weight: 400;
}
.shop-page {
    padding: 15px;
}
.swatch-control.radio-select ul {
    flex-direction: column;
}
#tab-desc a,
#tab-desc a span,
.post-content a {
    color: #8bc34a !important;
    font-weight: 700;
}
.mejs-container,
.mejs-container * {
    border-radius: 10px;
}
.modern-table,
#tab-description table,
.term-description table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2em;
    color: #333;
    box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
    border-radius: 8px;
    overflow: hidden;
}
.modern-table thead,
.term-description thead,
#tab-description table thead {
    background-color: #f2f2f2;
}
.modern-table th,
.term-description th,
#tab-description table th {
    background-color: #8bc34a;
    color: #fff;
    padding: 12px 15px;
    text-align: right;
    border-bottom: 2px solid #ddd;
    font-weight: 700;
    font-size: 1.1em;
}
.modern-table tbody tr,
.term-description tbody tr,
#tab-description table tbody tr {
    border-bottom: 1px solid #eee;
}
.modern-table tbody tr:nth-child(even),
.term-description tbody tr:nth-child(even),
#tab-description table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}
.modern-table tbody tr:hover,
.term-description tbody tr:hover,
#tab-description table tbody tr:hover {
    background-color: #e0e0e0;
    cursor: pointer;
}
.modern-table td,
.term-description td,
#tab-description table td {
    padding: 10px 15px;
    text-align: right;
    font-size: 0.95em;
    vertical-align: top;
}
@media screen and (max-width: 768px) {
    .modern-table,
    .modern-table thead,
    .modern-table tbody,
    .modern-table th,
    .modern-table td,
    .modern-table tr {
        display: block;
    }
    .modern-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .modern-table tr {
        border: 1px solid #ccc;
        margin-bottom: 15px;
        border-radius: 8px;
    }
    .modern-table td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        text-align: right;
    }
    .modern-table td:before {
        position: absolute;
        top: 6px;
        right: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: 700;
        text-align: left;
        color: #555;
    }
    .related-videos-items-slider {
        padding-right: 20px;
    }
}
.sticky-header {
    z-index: 99 !important;
}
/* === Related video === */
.scroller.partial {
    position: relative;
    margin: 5px auto 10px;
}
.related-videos-section h2 {
    margin-bottom: 20px;
    font-size: 1.7em;
    font-weight: 600;
    text-align: right;
}
.related-videos-container {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 20px;
    padding: 5px 5px 20px 5px;
    white-space: nowrap;
}
.related-videos-container::-webkit-scrollbar {
    height: 8px;
}
.related-videos-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.related-videos-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.related-videos-container::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}
.related-videos-section header {
    margin: 15px 0 15px 0 ;
}
.related-video-item-slide {
    transform: none !important;
    box-shadow: 0 8px 24px hsl(210 8% 62% / 0.2);
}
.related-video-item {
    position: relative;
    cursor: pointer;
    flex: 0 0 auto;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}
.related-video-item:hover {
    transform: translateY(-5px);
}
.related-video-item .related-video-thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background-color: #111;
    display: block;
    overflow: hidden;
    border-radius: 6px;
    height: 100%;
}
.related-video-item .related-video-thumbnail-wrapper img.related-video-actual-thumbnail,
.related-video-item .related-video-thumbnail-wrapper video.related-video-preview-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related-video-item .play-overlay-slider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background-color: rgb(0 0 0 / 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}
.related-video-item .play-overlay-slider svg {
    fill: #fff;
    width: 28px;
    height: 28px;
}
.related-video-item:hover .play-overlay-slider {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}
#video-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    padding: 20px;
    box-sizing: border-box;
}
#video-popup-player-container {
    position: relative;
    background-color: #000;
    max-width: 900px;
    width: 90%;
    aspect-ratio: 16 / 9;
    box-shadow: 0 8px 25px rgb(0 0 0 / 0.5);
    border-radius: 4px;
    overflow: hidden;
}
#video-popup-player {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    background-color: #000;
}
#video-popup-player::-webkit-media-controls-panel {
    border-radius: 0 0 4px 4px;
}
#video-popup-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgb(0 0 0 / 0.6);
    border: 2px solid rgb(255 255 255 / 0.8);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
    z-index: 5;
}
#video-popup-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}
#video-popup-play-button svg {
    fill: #fff;
    width: 40px;
    height: 40px;
}
#video-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #333;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    line-height: 32px;
    text-align: center;
    box-shadow: 0 2px 5px rgb(0 0 0 / 0.3);
    z-index: 10;
    transition: background-color 0.2s, transform 0.2s;
}
#video-popup-close:hover {
    background: #555;
    transform: scale(1.1) rotate(90deg);
}
.mejs-button.mejs-fullscreen-button {
    border-radius: 0 !important;
}
.related-video-title {
    display: inline-block;
    color: #000;
    height: 45px;
    margin: 0;
    padding: 7px 0;
    min-height: 45px;
    font-size: 14px;
    line-height: 31px;
    white-space: nowrap;
    position: relative;
    text-align: right;
    font-weight: 700;
}
.video-item-title h3 {
    font-size: 13px;
    line-height: 1.8;
    color: #3d3d3d;
    font-weight: 400;
    margin: 0;
}
.related-video-title:before {
    background: linear-gradient(90deg, var(--accent_gradient_from) #494b51, var(--accent_gradient_to));
    border: none;
}
@media screen and (min-width: 800px) {
    .related-video-item-slide {
        height: 300px ;
    }
    .bakala_custom_label_product {
        right: 30px;
        left: auto ;
    }
}
.video-popup-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgb(30 30 30 / 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
    padding: 0;
}
.video-popup-nav svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}
.video-popup-nav:hover:not(:disabled) {
    background-color: rgb(0 0 0 / 0.7);
    transform: translateY(-50%) scale(1.1);
}
.video-popup-nav:disabled {
    opacity: 0.3;
    cursor: default;
    background-color: rgb(30 30 30 / 0.3);
}
#video-popup-prev {
    left: 15px;
}
#video-popup-next {
    right: 15px;
}
/* ===  === */
.section-products-carousel.related-videos-section {
    padding: 40px 0;
    border-top: 1px solid #eee;
    max-width: 1170px;
    margin: 0 auto;
}
.section-products-carousel .related-title {
    font-size: 18px;
    font-weight: bold;
    color: #263238;
    text-align: right;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    display: inline-block;
    padding-bottom: 8px;
}
.section-products-carousel .scroller.partial {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.related-videos-items-slider {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    scroll-behavior: smooth;
    padding: 10px 0;
}
.productItem.related-video-item-slide {
    flex: 0 0 230px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
}
.productItem.related-video-item-slide:hover {
    transform: translateY(-4px);
}
.related-video-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.related-video-thumbnail-wrapper {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 56.25%;
    background-color: #cfd8dc;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}
.related-video-thumbnail-wrapper video,
.related-video-thumbnail-wrapper img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.play-overlay-slider {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.6);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.play-overlay-slider svg {
    fill: #fff;
    width: 28px;
    height: 28px;
}
.video-item-title {
    background: #fff;
    padding: 10px;
    text-align: center;
    overflow: hidden;
    display: flex;
    min-height: 80px;
    border-top: 1px solid #f0f2f5;
}
@media (max-width: 767px) {
    .modern-header-img img {
        width: 120px ;
        height: 43px ;
        aspect-ratio: 120 / 43;
    }
}
.header-logo img {
    height: 50px;
    width: 175px;
    aspect-ratio: 175 / 50;
}
.products-box .bakala_custom_label_product {
    top: 15px ;
}
.bakala_custom_label_product {
    right: 5px;
    left: auto ;
}
.archive nav.woocommerce-breadcrumb {
    display: inline-flex ;
}
.type_view.type_view_listing::before {
    color: #8bc34a !important;
}
.woocommerce-breadcrumb {
    width: auto ;
}
.woocommerce .woocommerce-breadcrumb a {
    margin-top: 0 ;
}
/* === رفع قطعی مشکل Layout Shift هدر - نسخه دسکتاپ === */
.category-links li a {
    margin: 0 ;
}
.category-links li {
    max-width: 300px;
}
.category-links li.cat-item-none {
    display: none;
}
.contextual-category-nav {
    margin-top: 30px;
}
.contextual-category-nav h3 {
    font-weight: bold;
}
/* === 1. پوشش اصلی ویدیو (Wrapper) === */
.term-description .video-wrapper {
    position: relative;
    max-width: 800px;
    margin: 20px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}
/* === 2. استایل خود ویدیو در داخل پوشش === */
.term-description .video-wrapper video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
    background-color: #000;
}
/* === 3. پوشش قابل کلیک که آیکن را در بر می‌گیرد === */
.term-description .play-icon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}
/* === با افزودن کلاس is-playing، این پوشش به طور کامل مخفی می‌شود === */
.term-description .video-wrapper.is-playing .play-icon-overlay {
    display: none;
}
.term-description .play-icon-overlay:hover {
    background-color: rgba(0, 0, 0, 0.4);
}
/* === 4. ظاهر آیکن (دایره سفید) === */
.term-description .play-icon-visual {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    position: relative; 
/* === برای جای‌گیری مثلث === */
    transition: transform 0.3s ease;
}
/* === مثلث داخل دایره === */
.term-description .play-icon-visual::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
/* === مرکز کردن دقیق مثلث === */
    transform: translate(-50%, -50%);
    margin-left: 4px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 16px 0 16px 26px;
    border-color: transparent transparent transparent #2c3e50;
}
/* === افکت هاور روی پوشش، آیکن را بزرگ می‌کند === */
.term-description .play-icon-overlay:hover .play-icon-visual {
    transform: scale(1.1);
}
/* === 5. استایل‌های واکنش‌گرا برای موبایل === */
@media (max-width: 767px) {
    .term-description .video-wrapper {
        margin: 15px 10px;
        border-radius: 12px;
    }
/* === کوچک کردن آیکن در موبایل === */
    .term-description .play-icon-visual {
        width: 60px;
        height: 60px;
    }
    .term-description .play-icon-visual::after {
        border-width: 12px 0 12px 20px;
        margin-left: 3px;
    }
}
@media (min-width: 768px) {
    .bakala-wonder {
        min-height: 500px ;
    }
}
@media (max-width: 767px) {
    .bakala-wonder {
        min-height: 571px ;
    }
}
.related-videos-section .related-title{
    font-weight: 700;
    color: #222;
    font-size: 16px;
    line-height: 2.5;
    border-bottom: 2px solid #81d742;
    margin-bottom: 10px;
}
.wp-video {
    margin: 0 auto;
}
/* === =========================================== === */
/* === ===    استایل‌های دسکتاپ (اسلایدر)    === === */
/* === =========================================== === */
.related-videos-section .items.related-videos-items-slider {
/* === استایل‌های مربوط به Flickity برای دسکتاپ در اینجا قرار می‌گیرد === */
/* === اگر از قبل استایلی برای این بخش دارید، اینجا حفظ می‌شود === */
}
.related-videos-section .productItem.related-video-item-slide {
/* === استایل‌های هر آیتم در دسکتاپ === */
}
@media (min-width: 993px) {
    #secondary {
        width: 22% ;
    }
    .columns-3 ul.products li.product, .cross-sells .columns-3 li.product, .related .columns-3 li.product, .upsells .columns-3 li.product, ul.products.columns-3 li.product {
        width: 31.3053%;
    }
}
li.product.outofstock {
    filter: grayscale(1);
}
ul.products li.product.outofstock .price {
    filter: blur(5px);
}
.widget.woocommerce li .count {
    display: none;
}
.short-description {
    display: none;
}
.rememberpassword .userbox .noback div.content {
    margin-top: 0 ;
}
.woocommerce-breadcrumb {
    color: #000 !important;
}
.content-box-shop del span {
    color: #b30000 !important;
}
/*
 * Styles for KiwiAI Best Sellers Grid
 * Author: Gemini
 */
/* === Main container for the best sellers section === */
.kiwiai-bestsellers-grid {
    background-color: #fff;
    border-radius: 16px;
    padding: 25px;
    margin: 30px auto;
    font-family: 'iranyekanx', tahoma, sans-serif; 
/* === Ensure you have this font loaded === */
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}
/* === Header section (Title and "Show More" button) === */
.kiwiai-bestsellers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f0f1;
}
.kiwiai-bestsellers-title {
    display: flex;
    align-items: center;
    font-size: 1rem ;
    font-weight: 700;
    color: #333;
    margin: 0;
}
/* === Fire Icon before the title === */
.kiwiai-icon-fire {
    display: inline-block;
    width: 28px;
    height: 28px;
    margin-left: 12px;
    background-color: #fce6e8;
    border-radius: 50%;
    position: relative;
}
.kiwiai-icon-fire::before {
    content: '🔥'; 
/* === Using an emoji as a fallback, can be replaced with an SVG icon === */
    font-size: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* === "Show More" Link/Button === */
.kiwiai-bestsellers-show-more {
    border: 1px solid #70c008;
    color: #70c008;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background-color 0.3s, color 0.3s;
}
.kiwiai-bestsellers-show-more:hover {
    background-color: #70c008;
    color: #fff;
}
/* === Grid container for products === */
.kiwiai-bestsellers-content {
    display: grid;
/* === Create 4 columns for desktop view === */
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
/* === Individual Product Item === */
.kiwiai-bestseller-item {
    position: relative;
}
.kiwiai-bestseller-item a {
    text-decoration: none !important;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    background-color: #fff;
    border: 1px solid #f0f0f1;
    border-radius: 12px;
    padding: 15px;
    transition: box-shadow 0.3s, transform 0.3s;
}
.kiwiai-bestseller-item a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
/* === Rank number badge === */
.kiwiai-bestseller-rank {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #70c008;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    z-index: 2;
}
/* === Product Image container === */
.kiwiai-bestseller-image {
    width: 100%;
    height: 120px; 
/* === Fixed height for consistent alignment === */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.kiwiai-bestseller-image img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
}
/* === Product Title === */
.kiwiai-bestseller-title {
    font-size: 13px ;
    line-height: 1.6;
    text-align: right;
    font-weight: 500 !important;
    color: #444 !important;
    margin: 0;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 42px;
}
ul.products li.product .woocommerce-loop-product__title, ul.products li.product h2 {
    padding-bottom: 0;
}
.product-label.type-bubble, li.product .onsale {
    display: none !important;
}
.discount-badge {
    background-color: hsl(0, 67%, 53%) !important;
    border-radius: 8px;
    min-height: 22px;
	display: flex;
}
.kiwiai-single-discount-badge {
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    flex-direction: row-reverse;
}
.amount-saved-text {
    color: #444;
}
.kiwiai-single-discount-badge .discount-badge {
    padding: 3px 5px;
    border-radius: 8px 8px 0;
    font-size: 18px;
    box-shadow: 0 10px 20px 0 rgb(0, 0, 0, 0.1);
}
.outofstock .kiwiai-single-discount-badge {
	display: none;
}
.price del {
    color: #ef394e;
    font-weight: bold;
    font-size: 13px;
    display: block;
}
.price ins {
    color: #000 !important;
}
.reset_variations {
    background-color: #ef394e;
    padding: 5px 13px;
    border-radius: 5px;
    color: #fff;
}
ul.products li.product .price ins {
    font-weight: bold;
    font-size: 16px;
    line-height: 2;
    color: #000;
}
ul.products li.product .price {
    font-size: clamp(1rem, 0.753rem + 0.675vw, 0.875rem);
    font-weight: bold;
}
ul.products li.product .woocommerce-LoopProduct-link {
    font-weight: 700;
    font-size: 12px;
}
span.woocommerce-Price-currencySymbol {
    font-size: 0 ;
    margin-right: 5px;
}
.woocommerce-Price-currencySymbol:before {
    font-size: 18px ;
    line-height: 1;
    font-family: bakala;
    content: '\E004';
    position: relative;
    top: 3px;
    font-weight: normal !important;
}
.price del .woocommerce-Price-currencySymbol:before{
	display: none;
}
ul.products li.product .added_to_cart, ul.products li.product .button {
    opacity: 1 !important;
    width: auto ;
    padding: 0px 7px;
    border-radius: 8px;
    font-size: 0.7rem;
    bottom: 15px;
    left: 15px;
    height: 35px;
    display: flex;
    align-items: center;
    box-shadow: 3px 4px 9px 0 rgb(76 175 80 / 33%);
    background-color: #000 !important;
}
ins {
    font-weight: bold;
}
.product-brand-title-inline img {
    height: 100%;
    width: 100%;
    min-width: 60px;
    border-radius: 5px;
}
.product_meta {
    width: auto;
    max-width: 100%;
    position: relative;
    left: unset ;
    right: unset ;
    margin-left: unset ;
    margin-right: unset ;
    text-align: right;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
}
.related-wrapper .product_meta {
	display: none;
}
.addresses header.title a, .woocommerce-account .woocommerce-MyAccount-content p a,.below-woocommerce-category a, .comment-respond p a, .comment-text a, .entry-content article a:not(.elementor-button), .post-meta a, .product-widget a, .product_meta a, .woocommerce-tabs table.woocommerce-product-attributes a, a.reset_variations, body:not(.elementor-page):not(.woocommerce-account):not(.woocommerce-order-received) .entry-content p:not(.product__categories) a:not(.button) {
    text-decoration: none !important;
}
.widget_product_categories {
    padding-left: 0;
    padding-right: 0 ;
}
/*
=====================================================
 FINAL CSS for Babkala-style Layout
=====================================================
*/
/* 1. ساختار اصلی دو ستونه
------------------------------------------------- */
.single-product .kiwiai-split-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    flex-direction: column;
    align-items: center;
}
h1.product_title.entry-title {
    font-size: 18px;
}
.kiwiai-split-layout .kiwiai-content-column {
    min-width: 300px;
    display: flex;
    flex-wrap: nowrap;
    max-width: 1170px;
}
.kiwiai-split-layout .kiwiai-action-column {
    flex: 0 0 320px; 
/* === عرض ثابت برای ستون کناری === */
    max-width: 100%;
}
.woocommerce-product-gallery {
    flex: 0 0 50%;
}
.product .woocommerce-product-gallery__wrapper img {
    border-radius: 12px;
	box-shadow: 0 0 10px hsla(0, 0%, 74.9%, .35);
    -webkit-box-shadow: hsla(0, 0%, 74.9%, .35) 0 0 10px;}
.product-details-wrapper {
    padding-right: 0;
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding-left: 10px;
}
.kiwiai-summry {
    display: flex;
    flex-direction: column;
    flex: 0 0 50%;
}
/* 2. استایل ستون چسبان (Sticky)
------------------------------------------------- */
.kiwiai-action-column .kiwiai-action-box-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 30px;
    background-color: #fff;
    color: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 0 10px hsla(0, 0%, 74.9%, .35);
    -webkit-box-shadow: hsla(0, 0%, 74.9%, .35) 0 0 10px;
}
/* 3. استایل‌های داخلی باکس کناری
------------------------------------------------- */
.kiwiai-action-box-sticky .seller-info-container, .kiwiai-action-box-sticky .price-and-cart-container {
    //border-bottom: 1px dashed #607D8B;
}
.kiwiai-action-box-sticky .price-and-cart-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.kiwiai-action-box-sticky .seller-info-row, .kiwiai-action-box-sticky .warranty-info-row, .kiwiai-action-box-sticky .shipping-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.8rem;
    color: #444;
    border-bottom: 1px dashed #607D8B;
}
.kiwiai-action-box-sticky .shipping-info-row {
    flex-direction: column;
    align-items: flex-start;
}
.kiwiai-action-box-sticky .warranty-info-row .vendor-warranty:before,
.kiwiai-action-box-sticky .shipping-info-row i.icon.ready:before ,
.kiwiai-action-box-sticky .icon-stock-notice:before,
.kiwiai-action-box-sticky .icon-outstock-notice:before {
    display: block;
    margin: 0 7px 0 14px ;
    font-size: 25px ;
    color: #444 !important;
    font-family: bakala !important;
    line-height: 28px ;
    text-align: center;
    font-weight: 400;
	font-style: normal;
}
.kiwiai-action-box-sticky .shipping-info-row .text,
.kiwiai-action-box-sticky .warranty-info-row .text {
  white-space: normal !important;
  overflow-wrap: break-word;
  word-break: break-word;
  width: 100%;
  font-size: 13px;
}
.shipping-info-row .text,.warranty-info-row .text , .product-remain.text{
	font-size: 12px;
    color: #444 !important;
}
 .vendor-warranty:before {
    content: "\E0DC" !important;
}
.shipping-info-row .header-section i.icon.ready:before {
    content: "\E019";
}
.icon-stock-notice:before {
    content: "\E025";
}
.kiwiai-action-box-sticky .icon-outstock-notice:before {
    content: "\E15B";
    color: #ef394e !important;
}
.kiwiai-action-box-sticky i.icon {
    display: inline-block;
    width: auto;
    height: auto;
}
.kiwiai-action-box-sticky .product-remain.in-stock ,
.kiwiai-action-box-sticky .product-remain.out-of-stock{
    font-size: 12px;
    display: flex;
    align-items: center;
    border-bottom: 1px dashed #607D8B;
    width: 100%;
    padding: 7px 0px;
}
.woocommerce-variation.single_variation .woocommerce-variation-availability {
    display: none;
}
.kiwiai-action-box-sticky .product-remain.out-of-stock {
    color: #ef394e !important;
    font-weight: bold;
}
.kiwiai-action-box-sticky .price {
    font-size: 2em;
    font-weight: 700;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}
.woocommerce-variation-add-to-cart {
    display: flex;
    justify-content: flex-end;
    flex-direction: row-reverse;
}
.kiwiai-action-box-sticky form.cart {
    margin: 0 ;
}
.kiwiai-action-box-sticky .single_add_to_cart_button {
    background-color: #ef394e !important;
    font-size: 0.8rem ;
    width: 100%;
    max-height: 48px;
    padding: 0 5px;
    border-radius: 8px;
}
.kiwiai-action-box-sticky .last-update-row {
    font-size: 0.8rem;
    color: #90949b;
    text-align: center;
    padding: 10px 0;
}
.last-update-row:before {
    border-radius: 50%;
    animation: 2s infinite dot;
    content: " ";
    width: 15px;
    display: inline-block;
    height: 15px;
    margin-left: 5px;
    top: 2px;
    position: relative;
    background-image: url(images/loader.gif);
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #8BC34A !important;
    border: none;
}
.kiwiai-action-box-sticky .kiwiai-whatsapp-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background-color: #00a84c;
    color: white !important;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none !important;
    width: 100%;
    margin-top: 10px;
	animation: 3.5s infinite whatsapp;
}
.kiwiai-action-box-sticky .kiwiai-whatsapp-button span {
    font-weight: 600;
}
.kiwiai-action-box-sticky .kiwiai-whatsapp-button small {
    font-size: 0.8em;
}
/* 4. استایل بخش تب‌ها (تمام عرض)
------------------------------------------------- */
.kiwiai-full-width-tabs {
    clear: both;
    width: 100%;
}
.woocommerce-tabs.wc-tabs-wrapper, .woocommerce-product-attributes {
    max-width: 1170px;
    border-radius: 15px;
    margin-bottom: 30px;
}
.woocommerce-tabs ul.tabs {
    display: flex;
}
.woocommerce-tabs ul.tabs li {
    display: flex;
    align-items: center;
}
/* استایل کلی سکشن مشخصات */
.kiwiai-product-attributes-section {
    padding: 24px;
    background-color: #fdfdfd;
    border: 1px solid #8BC34A;
    border-radius: 10px;
    max-width: 1170px;
    margin: 0 auto 40px !important;
	box-shadow: 0 0 10px hsla(0, 0%, 74.9%, .35);
    -webkit-box-shadow: hsla(0, 0%, 74.9%, .35) 0 0 10px;
}
.kiwiai-attributes-heading {
    font-size: 20px;
    margin-bottom: 20px;
    color: #222;
}
/* ریسپانسیو کردن جدول مشخصات محصول */
.kiwiai-attributes-wrapper {
    overflow-x: auto;
}
.kiwiai-attributes-wrapper table.woocommerce-product-attributes {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* اجباری برای scroll در موبایل */
}
.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: right;
    font-size: 14px;
    vertical-align: top;
}
/* موبایل - کوچک کردن فونت */
@media (max-width: 768px) {
    .woocommerce-product-attributes th,
    .woocommerce-product-attributes td {
        font-size: 13px;
        padding: 8px;
    }
}
#tab-title-description a:before {
    content: "\E1E3";
    font-size: 24px;
    font-family: bakala;
}
.additional_information_tab a:before{
    content: "\E0a3";
    font-size: 24px;
    font-family: bakala;
}
.reviews_tab a:before {
    content: "\E119";
    font-size: 24px;
    font-family: bakala;
}
tr.woocommerce-product-attributes-item {
    display: flex;
}
th.woocommerce-product-attributes-item__label {
    font-size: 12px;
    border-radius: 0 12px 12px 0;
    background: #fafafa;
    padding: 0 12px ;
    margin-bottom: 3px ;
    display: flex;
    flex: 0 0 25%;
    align-items: center;
    border: none !important;
}
td.woocommerce-product-attributes-item__value {
    padding: 12px ;
    margin-bottom: 3px;
    border: none !important;
    background: #fafafa;
    color: #4d4d4d;
    border-radius: 12px 0 0 12px;
	margin-right: 10px;
	display: flex;
    flex: 0 0 75%;
}
a.flex-next:after, a.flex-prev:before {
	opacity: 1;
	transform: rotate(180deg);
}
/*
=====================================================
 Custom Quantity Input Field Styles
=====================================================
*/
/* === کانتینر اصلی فیلد تعداد === */
.quantity.kiwiai-quantity {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: inherit;
    width: auto;
    height: 48px;
    flex-direction: row;
    margin-right: 5px;
}
/* === استایل دکمه‌های مثبت و منفی === */
.kiwiai-quantity .kiwiai-qty-btn {
    background-color: #8BC34A;
    border: none;
    cursor: pointer;
    padding: 0 10px;
    font-size: 1.1em;
    font-weight: 300;
    color: #ffffff;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    transition: background-color 0.2s;
    border-radius: 0 8px 8px 0;
}
.kiwiai-plus.kiwiai-qty-btn {
    border-radius: 8px 0 0 8px;
}
.kiwiai-quantity .kiwiai-qty-btn:hover {
    background-color: #29cf61;
}
/* === آیکون‌های داخل دکمه‌ها (شما باید فونت آیکون bakala را داشته باشید) === */
.kiwiai-quantity .icon-kiwiai-minus::before {
    content: '\E175';
    font-family: 'bakala';
    top: 4px;
    position: relative;
}
.kiwiai-quantity .icon-kiwiai-plus::before {
    content: '\E16B';
    font-family: 'bakala';
    top: 4px;
    position: relative;
}
/* === استایل فیلد ورودی عدد === */
.kiwiai-quantity input.qty {
    width: 45px ;
    height: 48px ;
    font-weight: 600;
    color: #333;
    -moz-appearance: textfield;
    border-radius: 0 !important;
}
/* === مخفی کردن فلش‌های پیش‌فرض مرورگر در کروم/سافاری === */
.kiwiai-quantity input.qty::-webkit-outer-spin-button,
.kiwiai-quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* === * استایل‌های مربوط به باکس مزایای محصول === */
.product-benefits-container {
    justify-content: space-around;
    align-items: center;
    text-align: center;
    border-radius: 12px;
    flex-wrap: wrap;
    display: flex;
    clear: both;
    background: #fff;
    box-shadow: 0 8px 24px hsl(210 8% 62% / .2);
    max-width: 1170px;
    margin: 25px auto 50px;
    padding: 15px 0;
}
.benefit-item {
    flex: 1;
    min-width: 120px; 
/* === حداقل عرض برای هر آیتم === */
    padding: 10px;
}
.benefit-item a {
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px; 
/* === فاصله بین آیکون و متن === */
    transition: transform 0.2s ease-in-out;
}
.benefit-item a:hover {
    transform: translateY(-5px); 
/* === افکت هاور === */
}
.benefit-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}
.benefit-item span {
    font-size: 14px;
    font-weight: 500;
}
/* === Responsive adjustments for different screen sizes === */
@media (max-width: 992px) {
    .kiwiai-bestsellers-content {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .kiwiai-bestsellers-content {
        grid-template-columns: repeat(2, 1fr);
    }
    .kiwiai-bestsellers-header {
        gap: 15px;
    }
    .kiwiai-bestsellers-show-more {
        max-width: 110px;
        font-size: 12px;
    }
}
@media (max-width: 480px) {
    .kiwiai-bestsellers-content {
        grid-template-columns: repeat(1, 1fr);
    }
}
/* === Start Sorting Woocommerce === */
.shoptimizer-sorting {
    justify-content: space-between;
}
.kiwiai-sorting-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  font-family: inherit;
}
.kiwiai-sorting-label {
  font-weight: bold;
  font-size: 15px;
  white-space: nowrap;
}
.kiwiai-sorting-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.kiwiai-sorting-list li a {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  text-decoration: none;
  color: #444;
  background-color: #f9f9f9;
  transition: all 0.3s ease;
  font-size: 14px;
  white-space: nowrap;
}
.kiwiai-sorting-list li a:hover, .kiwiai-sorting-list li a.active {
    background-color: #8bd256;
    color: #fff;
    border-color: #8dd456;
}
@media (max-width: 480px) {
  .kiwiai-sorting-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
}
.shoptimizer-sorting .woocommerce-pagination ,.woocommerce-pagination {
    display: none;
}
.shoptimizer-sorting.sorting-end .kiwiai-sorting-wrapper, .shoptimizer-sorting.sorting-end .woocommerce-result-count {
    display: none;
}
.shoptimizer-sorting.sorting-end .woocommerce-pagination {
    display: flex;
    margin: 0 auto;
}
.woocommerce-pagination .page-numbers li {
    display: inline-block;
    height: 38px;
    line-height: 38px;
    min-width: 38px;
    text-align: center;
    background: #f6f8fa;
    color: #6a6a6a;
    border-radius: 4px;
    transition: .3s;
    -webkit-transition: .3s;
    font-size: 16px;
    font-weight: 700;
}
.page-numbers.current {
    color: rgba(142, 213, 87, .75);
    cursor: context-menu;
}
.woocommerce-result-count {
    position: relative;
    left: 0;
    top: 0;
    font-weight: bold;
}
/* === End Sorting Woocommerce === */
/* === product-countdown === */
.product-countdown{
	    display: inline-block;
	    background: #EF4055;
	    color: #fff;
	    padding: 6px 8px;
	    position: relative;
	    font-family: 'iranyekanx';
	    min-width: 95px;
	    text-align: center;
	    z-index: 100;
	    border-radius: 8px;
}
/* === By Hamid === */
@media (min-width: 993px) {
    .term-description {
        min-width: 100%;
    }
}
ul.products li.product {
    background-color: #fff;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 14px;
    transition: .3s;
    box-shadow: 0 0 40px 0 rgba(119, 132, 157, .2);
    min-height: 400px;
}
ul.products li.product:hover {
    box-shadow: 0 10px 40px 0 rgba(119, 132, 157, .30196078431372547);
    transition: .3s;
}
ul.products li.product img {
    border-radius: 10px;
    min-height: 200px;
    max-height: 200px;
    object-fit: contain;
}
.woocommerce-card__header {
    min-height: 110px;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
}
.product__categories {
    display: none;
}
ul.products li.product .woocommerce-loop-product__title, ul.products li.product:not(.product-category) h2, ul.products li.product .woocommerce-loop-product__title, ul.products li.product .woocommerce-loop-product__title, .main-navigation ul.menu ul li.product .woocommerce-loop-product__title a, .wc-block-grid__product .wc-block-grid__product-title {
    font-size: 13px;
}
@media (min-width: 993px) {
    ul.products li.product:not(.product-category):before {
        visibility: visible;
        opacity: 1 !important;
        background-color: #fff;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        margin-top: 0 ;
        border-radius: 15px;
    }
}
@media (min-width: 993px) {
    .columns-4 ul.products li.product, .cross-sells .columns-4 li.product, .related .columns-4 li.product, .upsells .columns-4 li.product {
        width: 23%;
    }
}
ul.products li.product.product-category h2 {
    margin: 0 ;
    font-size: 14px ;
    padding: 0 ;
    text-align: center;
}
ul.products li.product.product-category .cat-image-wrapper {
    max-height: 100px;
}
ul.products li.product.product-category img {
    max-height: 80px ;
    min-height: 80px ;
}
.site .elementor-products-grid ul.products.elementor-grid li.product {
    padding-bottom: 15px ;
    min-height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.elementor-slides .swiper-slide-bg {
    border-radius: 15px !important;
}
.specials .elementor-image-box-wrapper {
    border-radius: 25px;
    box-shadow: 0px -19px 50px -31px rgba(0, 0, 0, 0.3);
}
.specials-revers .elementor-image-box-wrapper{
    border-radius: 25px 25px 25px 25px;
    box-shadow: 0px 19px 50px -31px rgba(0, 0, 0, 0.3);
    padding-top: 1%;
    padding-bottom: 2%;
    padding-left: 0%;
    padding-right: 0%;
}
.grecaptcha-badge {
    bottom: 80px ;
}
/* === Swatch Color Product === */
.swatch-control {
    margin: 0;
    list-style: none;
    padding: 0;
    display: flex;
    max-width: calc(100% - 100px);
    position: relative;
    width: 100%;
    overflow: visible;
    align-items: center;
}
.swatch-wrapper, .swatch-wrapper a, .swatch-wrapper img {
    border-radius: 6px
}
div.swatch-label {
    font-size: 12px
}
.swatch-wrapper:hover {
    border-color: transparent
}
.swatch-wrapper {
    background: transparent;
    border-radius: 100%;
    height: 42px;
    width: 41px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.swatch-anchor {
    width: 33px ;
    height: 33px ;
    border-radius: 100% !important;
    border: 1px solid #a1a1af !important;
    content: "";
}
.swatch-wrapper a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 33px;
    height: 33px;
    min-width: 33px;
    min-height: 33px;
    max-width: 33px;
    max-height: 33px;
}
.swatch-wrapper .color-title {
    cursor: pointer;
    border: 2px solid #f3f3f3;
    border-radius: 14px;
    color: #4d4d4d;
    padding: 2px 12px;
    font-size: 13px;
    line-height: 1.692;
    display: block;
    padding-left: 30px
}
.swatch-wrapper .img-title {
    cursor: pointer;
    border: 2px solid #f3f3f3;
    border-radius: 14px;
    color: #ef394e;
    padding: 0 16px;
    padding-left: 16px;
    font-size: 15px;
    line-height: 1.692;
    display: block;
    padding-left: 37px
}
div.swatch-wrapper.selected .img-title {
    border-color: var(--m_accent_color1);
}
.bakala-swatch-img.swatch-anchor {
    width: 25px ;
    height: 25px ;
    border-radius: 5px !important;
    border: 1px solid #ccc !important;
    content: "";
    position: absolute;
    top: 10px;
    margin-left: 8px
}
div.swatch-wrapper.selected .swatch-anchor[data-value="white"]:before, div.swatch-wrapper.selected .bakala-swatch-color.swatch-anchor::before, div.swatch-wrapper.selected .bakala-swatch-img.swatch-anchor::before {
    left: -17px;
    display: block;
    width: 5px;
    height: 5px;
    top: 4px;
    font-size: 7px;
    font-family: bakala;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-variant: normal;
    line-height: 16px;
    margin-top: 3px
}
div.swatch-wrapper.selected .swatch-anchor.white::before, div.swatch-wrapper.selected .bakala-swatch-color.swatch-anchor::before, div.swatch-wrapper.selected .bakala-swatch-img.swatch-anchor::before {
    display: flex;
    width: 5px;
    height: 5px;
    font-size: 10px;
    font-family: bakala;
    line-height: 16px;
    margin-top: 2px;
    -webkit-box-sizing: border-box;
    content: "\E14E";
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    justify-content: center;
    align-items: center;
}
div.swatch-wrapper.selected .swatch-anchor.white:before {
    color: #777
}
div.swatch-wrapper.selected[data-value="white"] .swatch-anchor:before {
    color: #777
}
div.swatch-wrapper[data-value="white"] .swatch-anchor {
    border: 1px solid #eee
}
.swatch-anchor.white {
    border: 1px solid #ccc
}
.swatchtitlelabel, .variations label {
    font-size: 13px;
    color: #444444;
    font-weight: normal;
}
div.swatch-wrapper .color-title {
    display: none;
}
div.swatch-wrapper.selected .color-title {
    border-color: #0071e3;
    position: absolute;
    top: -30px;
    right: 80px;
    display: inline-block;
    border: none;
    font-weight: bold;
}
.next.page-numbers::after {
    transform: rotate(180deg);
    top: 11px;
    right: 0;
    left: auto ;
}
/* === footer === */
.footer-title{
    font-size:1rem;
    color:#fff;
}
footer.copyright a:hover, footer.site-footer a:hover {
    text-decoration: none;
}
ul.products li.product.product-category a:hover img {
    transform: unset;
}
.main-navigation ul.menu > li:not(.full-width) ul.sub-menu {
    font-size: 13px;
}
footer.site-footer a {
  color: #ccc;
  background: linear-gradient(to left, #ccc, #3bb54a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 0.4s ease;
  background-size: 200% auto;
  background-position: right center;
}
footer.site-footer a:hover {
  background-position: left center;
}
footer .textwidget ul{
    margin-right:15px;
}
footer .widget .widget-title {
    font-size: 16px;
}
footer.site-footer {
    padding: 4rem 0 0 0 ;
}
/* === سبک نهایی برای کیوی آی - فوتر === */
.kiwiai-footer-support {
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(24, 32, 53, 0.5019607843);
    padding: 30px 22px 12px 22px;
    border-radius: 15px;
}
.site-footer .widget .widget-title:after {
    width: 4px;
    height: 25px;
    top: -1px;
    right: -4px;
    border-radius: 3px;
    background-color: #8ED557;
    position: absolute;
    content: "";
}
footer .widget li {
  position: relative;
}
footer .widget li:after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    top: 8px;
    right: -18px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1019607843);
    transition: all 0.3s;
}
footer .widget li:hover:after {
    background-color: #8ED557;
    transition: all 0.3s;
} 
footer .widget li:hover a{
    color: #FFF;
    transition: all 0.3s;
}
.kiwiai-footer-logo img {
    max-width: 150px;
    height: auto;
    display: block;
}
.kiwiai-footer-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    flex-wrap: wrap;
}
.kiwiai-footer-label svg {
    flex-shrink: 0;
    margin-top: 0.2rem;
}
.kiwiai-footer-text {
    color: #f0f0f0;
    display: inline-block;
    line-height: 1.6;
    max-width: 100%;
    word-break: break-word;
}
.kiwiai-footer-text a {
    color: #ffd369;
    text-decoration: none;
    transition: color 0.3s ease;
}
.kiwiai-footer-text a:hover {
    color: #ffffff;
}
.kiwiai-desc {
    font-size: 0.85rem;
    color: #bbbbbb;
    margin-top: 0.25rem;
    display: block;
}
.kiwiai-footer-text.phone ,.kiwiai-footer-text.mail , .kiwiai-footer-text.address  {
    display: flex;
    align-items: center;
}
.kiwiai-footer-text svg {
    min-width: 18px;
    stroke: #3bb54a;
}
footer.site-footer, footer.copyright {
    background: linear-gradient(105.82deg, #363D4D 21.42%, #1D2436 86.34%); 
}
footer.copyright .widget p {
    text-align: justify;
}
@media (max-width: 768px) {
    .kiwiai-footer-support {
        padding: 1.5rem;
    }
    .kiwiai-footer-row {
        flex-direction: column;
        align-items: flex-start;
        font-size: 0.9rem;
    }
    .kiwiai-footer-logo img {
        max-width: 140px;
    }
}
.menu-toggle .bar-text {
    display: none ;
}
/* === Footer Call Box === */
.footer-detail__contact {
    display: flex;
    align-items: center;
    direction: rtl;
    color: #cfd8dc;
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.footer-detail__contact-text {
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
  white-space: nowrap;
}
.footer-detail__contact-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: bold;
  font-size: 16px;
  color: #a8ffb8;
}
.footer-detail__contact-pre {
  color: #b0bec5;
  font-weight: bold;
}
.footer-detail__contact-num {
  color: #a8ffb8;
}
.footer-detail__contact-img img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  display: block;
}
.footer-detail__contact-img img:hover {
  transform: scale(1.1);
}
.footer-call-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-family: inherit;
  font-size: 15px;
  direction: rtl;
  justify-content: center;
  color: #e0f7fa;
}
.call-box {
    transition: transform 0.3s ease;
    text-align: right;
}
.call-box ul {
    margin: 0 ;
}
.call-box ul li {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.call-box ul li a {
    font-size: 16px ;
    font-weight: bold;
}
.icon-phone::before {
    font-family: 'bakala';
    content: "\E0F4";
    font-size: 16px;
    color: #8dd457;
    margin-left: 6px;
    vertical-align: middle;
}
.call-box li:after {
    display: none;
}
.call-box:hover {
  transform: translateY(-4px);
}
.call-box a {
  color: #b2ebf2;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s ease;
}
.call-box a:hover {
  color: #00e676;
}
@media (max-width: 600px) {
  .primary-call-box {
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
  }
  .primary-call-box__inner {
    font-size: 18px;
    margin-top: 10px;
  }
  .footer-call-boxes {
    flex-direction: column;
    align-items: center;
  }
}
.footer-trust-social-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 20px;
  gap: 20px;
}
.footer-trust-seals {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-start;
    margin: 20px 0;
}
.footer-trust-seals a {
    display: flex;
    height: auto;
    transition: transform 0.3s ease;
    gap: 5px;
}
.footer-trust-seals a:hover {
  transform: scale(1.05);
}
.footer-trust-seals img {
    max-width: 100%;
    height: 80px !important ;
}
.footer-social-icons {
  display: flex;
  gap: 14px;
}
.social-icon {
    font-family: 'bakala' !important;
    font-size: 20px;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #2a3b52;
    color: #8dd457 !important;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 1px #444;
}
.social-icon:hover {
  color: #ffffff !important;
  background-color: #8dd457 !important;
}
.icon-aparat, .icon-facebook, .icon-googleplus, .icon-instagram, .icon-telegram, .icon-twitter {
    width: 50px ;
    height: 50px ;
    margin: 2px;
    text-align: center;
    opacity: .7;
    font-weight: 400 !important;
}
.icon-instagram::before {
  content: "\E0FB";
}
.icon-telegram::before {
  content:"\E108";
}
.icon-youtube::before {
  content: "\E111";
}
.icon-aparat::before {
  content: "\E109";
}
/* === Search Results === */
.search-results .content-area {
    float: left;
} 
/* === Timer Cart Product === */
.kiwiai-single-countdown-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
	margin-top: 10px;
}
.kiwiai-countdown-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    direction: rtl;
    padding: 10px;
}
.kiwiai-timer-top {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 8px;
    font-weight: bold;
    font-size: 14px;
    color: #da1e28;
    z-index: 9;
}
.kiwiai-timer-label {
    white-space: nowrap;
}
.kiwiai-digital-timer {
    white-space: nowrap;
}
.kiwiai-timer-line {
    width: 90%;
    height: 3px;
    background-color: #da1e28;
    margin-top: 2px;
    border-radius: 1px;
    z-index: 99;
}
.cg-main-swiper .swiper-slide img, .cg-thumb-swiper .swiper-slide img {
    height: auto !important;
}
/* 5. واکنش‌گرایی
------------------------------------------------- */
/* === =========================================== === */
/* === === استایل‌های تبلت و موبایل (اسکرول) === === */
/* === =========================================== === */
@media (max-width: 992px) {
/* === کانتینر اصلی اسکرول در موبایل === */
    .related-videos-section .carousel__list.trading-items {
        display: flex;
        gap: 15px;
        overflow-x: auto;
        padding-bottom: 20px;
    }
	.related-videos-section header {
        margin: 0 0 15px 0 ;
    }
/* === آیتم‌های داخل اسکرول === */
    .related-videos-section a.carousel__item.product {
        flex: 0 0 220px; 
/* === عرض هر آیتم ویدیو === */
        scroll-snap-align: start;
        display: flex;
        flex-direction: column;
        text-decoration: none;
        color: inherit;
        background-color: #fff;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        min-height: 300px ;
    }
/* === تصویر بندانگشتی و آیکن پلی === */
    .related-videos-section .related-video-thumbnail-wrapper {
        position: relative;
        width: 100%;
        padding-top: 56.25%; 
/* === نسبت 16:9 === */
        background-color: #f0f0f1;
        min-height: 200px;
    }
    .related-videos-section .related-video-thumbnail-wrapper img,
    .related-videos-section .related-video-thumbnail-wrapper video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .related-videos-section .play-overlay-slider {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 48px;
        height: 48px;
        background-color: rgba(0, 0, 0, 0.6);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
        opacity: 0.8;
        transition: opacity 0.2s ease;
    }
    .related-videos-section .play-overlay-slider svg {
        fill: #fff;
        width: 28px;
        height: 28px;
    }
/* === عنوان ویدیو در موبایل === */
    .related-videos-section .video-item-title {
        font-size: 13px;
        line-height: 1.5;
        padding: 10px;
        margin: 0;
        text-align: right;
        min-height: 50px;
        color: #333;
        flex-grow: 1; 
/* === باعث می‌شود فضای خالی را پر کند و هم‌قد شود === */
    }
/* === استایل‌های مربوط به پاپ‌آپ در همه اندازه‌ها === */
/* === (این استایل‌ها از قبل وجود داشتند و برای اطمینان اینجا تکرار شده‌اند) === */
    #video-popup-player-container {
        width: 100%;
        max-width: 100%;
        border-radius: 0;
    }
    #video-popup-play-button {
        width: 60px;
        height: 60px;
    }
    #video-popup-play-button svg {
        width: 30px;
        height: 30px;
    }
    #video-popup-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 18px;
        line-height: 28px;
    }
    .video-popup-nav {
        width: 38px;
        height: 38px;
    }
    #video-popup-prev {
        left: 8px;
    }
    #video-popup-next {
        right: 8px;
    }
    ul.products li.product .woocommerce-LoopProduct-link {
        font-size: 11px;
    }
    .woocommerce-card__header {
        padding: 0.6rem ;
    }
   .bakala-wonder ul.products li.product {
        min-width: 240px;
    }
    .bakala-wonder ul.products {
        display: flex;
        justify-content: flex-start;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        padding-right: 10px ;
        margin: 0 ;
    }
	.kiwiai-full-width-tabs {
		width: 100vw;
	}
	.woocommerce-tabs ul.tabs li {
        padding: 0.7rem 5px;
    }
	td.woocommerce-product-attributes-item__value {
		flex: 0 0 60%;
	}
	 ul.products li.product .button {
		max-width: 105px;
		align-items: center;
		position: absolute;
	}
	.cross-sells ul.products li.product, 
	.mobile-scroll ul.products li.product, 
	.related.products ul.products li.product, 
	.upsells.products ul.products li.product {
        min-width: 240px;
        min-height: 345px;
    }
	.cross-sells ul.products, 
	.m-grid-2 .cross-sells ul.products,
	.mobile-scroll ul.products, 
	.related.products ul.products,
	.upsells.products ul.products {
        justify-content: flex-start;
    }
	.woocommerce-tabs ul.tabs li, .woocommerce-tabs ul.tabs li a {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        white-space: nowrap;
        align-items: center;
        gap: 8px;
    }
	.woocommerce-breadcrumb {
		white-space: normal;
	}
    .single-product .kiwiai-split-layout {
        flex-direction: column; 
/* === ستون‌ها زیر هم قرار می‌گیرند === */
    }
    .kiwiai-split-layout .kiwiai-action-column {
        flex: 1 1 100%; 
/* === عرض کامل === */
    }
    .kiwiai-action-column .kiwiai-action-box-sticky {
        position: relative;
        max-width: 382px;
    }
	.product-details-wrapper {
		flex-direction: column;
	}
    .product_meta .posted_in, .product_meta .sku_wrapper, .product_meta .tagged_as {
        margin: 0;
        text-align: right;
    }
    .kiwiai-split-layout .kiwiai-content-column {
        flex-direction: column;
        max-width: 382px ;
    }
	.woocommerce-product-gallery__image {
    	max-width: 382px;
	}
    .cg-m-thumbs-4.cg-thumb-swiper .swiper-slide {
        width: 25%;
        max-width: 100px;
    }
    .product_meta {
       width: 100%;
    }
	.benefit-item {
		min-width: 140px;
	}
	footer .widget .widget-title {
		padding-right: 10px;
	}
}
/* === حالت پیش‌فرض تا 992px === */
@media (max-width: 992px) {
  .kiwiai-action-column .kiwiai-action-box-sticky {
    position: relative;
    max-width: 320px;
  }
}
/* === اصلاح برای دستگاه‌های کوچک‌تر (عرض بین 320px تا 375px) === */
@media (max-width: 375px) {
  .kiwiai-action-column .kiwiai-action-box-sticky {
    max-width: 100% ;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }
}
/* === اطمینان از سازگاری با کوچک‌ترین موبایل‌ها (مثل iPhone SE یا Galaxy Mini) === */
@media (max-width: 340px) {
  .kiwiai-action-column .kiwiai-action-box-sticky {
    font-size: 13px;
    padding: 10px;
  }
}
@keyframes kiwiai-pulse {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
        opacity: 1
    }
    50% {
        opacity: .9
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: .8
    }
}
@keyframes Ab {
    to {
        opacity: 1
    }
}
@keyframes Bb {
    to {
        transform: translateX(-14px);
        opacity: 1
    }
}
@keyframes Cb {
    to {
        transform: translateX(-14px)
    }
}
@keyframes Db {
    to {
        transform: translateX(-28px);
        opacity: 0
    }
}
@keyframes fadeIn {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}
@-moz-keyframes fadeIn {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}
@-webkit-keyframes fadeIn {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}
@-o-keyframes fadeIn {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}
@keyframes mmfadeIn {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}
@keyframes mmfadeOut {
    from {
        opacity: 1
    }
    to {
        opacity: 0
    }
}
@keyframes mmslideIn {
    from {
        transform: translateY(15%)
    }
    to {
        transform: translateY(0)
    }
}
@keyframes mmslideOut {
    from {
        transform: translateY(0)
    }
    to {
        transform: translateY(-10%)
    }
}
@keyframes movebottom {
    from {
        top: -20px
    }
    to {
        top: 0
    }
}
@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 var(--accent_color2) a1
    }
    70% {
        -webkit-box-shadow: 0 0 0 10px rgba(255, 0, 0, 0)
    }
    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(255, 0, 0, 0)
    }
}
@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 var(--accent_color2) a1;
        box-shadow: 0 0 0 0 var(--accent_color2) a1
    }
    70% {
        -moz-box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0)
    }
    100% {
        -moz-box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0)
    }
}
@-webkit-keyframes pulse-light {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(255, 255, 255, .6)
    }
    70% {
        -webkit-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0)
    }
    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0)
    }
}
@keyframes pulse-light {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(255, 255, 255, .6);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, .6)
    }
    70% {
        -moz-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);
        box-shadow: 0 0 0 10px rgba(204, 169, 44, 0)
    }
    100% {
        -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);
        box-shadow: 0 0 0 0 rgba(204, 169, 44, 0)
    }
}
@keyframes opacity1 {
    50% {
        opacity: 0 .2
    }
    80% {
        opacity: .5
    }
    100% {
        opacity: 1
    }
}
@keyframes dot{
	0%,to{
		transform:scale(1)
		}
	50%
	{transform:scale(.7)
	}
}
@keyframes whatsapp{
	0% {
		-moz-box-shadow: 0 0 0 0#00D264;
		box-shadow: 0 0 0 0 #00D264;
	}
	70% {
		-moz-box-shadow: 0 0 0 10px transparent;
		box-shadow: 0 0 0 10px transparent;
	}
	100% {
		-moz-box-shadow: 0 0 0 0 transparent;
		box-shadow: 0 0 0 0 transparent;
	}
}
/**
 * =================================================================
 * فایل استایل سفارشی Kiwiai Blog - نسخه نهایی و کامل
 * =================================================================
 */
 .kiwiai-reading-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
}

.kiwiai-blog-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
}
/* === --- تب‌های دسته‌بندی --- === */
.kiwiai-categories-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--kiwiai-border-color);
}
.kiwiai-cat-btn {
    background: transparent;
    color: #515151;
    border: none;
    padding: 0.5rem 1rem;
    border-bottom: 2px solid transparent;
    border-radius: .475rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.kiwiai-cat-btn:hover {
    color: #fff;
    background-color: var(--kiwiai-primary-color);
}
.kiwiai-cat-btn.is-active {
    color: var(--kiwiai-text-dark);
    background-color: var(--kiwiai-primary-color);
}
/* === --- گرید اصلی مطالب (طرح‌بندی زومیت) --- === */
.kiwiai-posts-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 1.75rem;
    min-height: 400px;
}
/* === --- کارت مطلب ویژه --- === */
.kiwiai-post-card--featured {
    grid-column: 1 / span 7;
    grid-row: 1 / span 4;
}
.kiwiai-post-card--featured .kiwiai-post-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.kiwiai-post-card--featured .kiwiai-post-img-wrapper {
    padding-top: 58%;
    flex-grow: 1;
}
.kiwiai-post-card--featured .kiwiai-post-title--featured {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-top: 1rem;
    color: var(--kiwiai-text-dark);
}
.kiwiai-post-excerpt {
    font-size: 0.95rem;
    color: var(--kiwiai-text-light);
    line-height: 1.6;
    margin-top: 1rem;
}
/* === --- کارت‌های مطالب استاندارد (کناری) --- === */
.kiwiai-post-card {
    background: #fff;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.kiwiai-posts-grid > .kiwiai-post-card:not(.kiwiai-post-card--featured) {
    grid-column: 8 / span 5;
}
.kiwiai-post-card:not(.kiwiai-post-card--featured) .kiwiai-post-link {
    display: flex;
    align-items: center;
}
.kiwiai-post-card:not(.kiwiai-post-card--featured) .kiwiai-post-img-wrapper {
    width: 120px;
    height: 90px;
    flex-shrink: 0;
    padding-top: 0;
    border-radius: 8px;
    overflow: hidden;
}
.kiwiai-post-card:not(.kiwiai-post-card--featured) .kiwiai-post-content {
    padding: 0 1rem;
}
.kiwiai-post-card:not(.kiwiai-post-card--featured) .kiwiai-post-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 0.5rem 0;
    color: var(--kiwiai-text-dark);
}
.kiwiai-post-card:not(.kiwiai-post-card--featured) .kiwiai-post-meta {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    gap: 1rem;
}
/* === --- استایل‌های عمومی کارت‌ها --- === */
a.kiwiai-post-link {
    text-decoration: none;
    color: inherit;
}
.kiwiai-post-img-wrapper {
    width: 100%;
    position: relative;
    background-color: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}
.kiwiai-post-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.kiwiai-post-card:hover .kiwiai-post-img {
    transform: scale(1.05);
}
.kiwiai-post-content {
    padding: 1rem 0 0 0;
}
.kiwiai-post-meta {
    font-size: 0.8rem;
    color: #777;
    margin-top: auto;
    display: flex;
    align-items: center;
}
.kiwiai-post-category {
    background-color: #f0f0f0;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}
/* === --- بخش‌های اضافی (پیشنهاد سردبیر و آخرین مطالب) --- === */
.kiwiai-additional-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem 3rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--kiwiai-border-color);
}
.kiwiai-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-right: 4px solid var(--kiwiai-primary-color);
    padding-right: 1rem;
}
.kiwiai-section-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
/* === --- استایل کارت ویژه در بخش‌های اضافی --- === */
.kiwiai-section-post--featured .kiwiai-section-post-img-wrapper--featured {
    width: 100%;
    padding-top: 56.25%; 
/* === نسبت 16:9 === */
    position: relative;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}
.kiwiai-section-post--featured .kiwiai-section-post-img-wrapper--featured img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.kiwiai-section-post--featured .kiwiai-section-post-title--featured {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--kiwiai-text-dark);
    line-height: 1.4;
}
.kiwiai-section-post--featured .kiwiai-section-post-excerpt {
    font-size: 0.9rem;
    color: var(--kiwiai-text-light);
    margin-top: 0.5rem;
    line-height: 1.6;
}
.kiwiai-section-post--featured .kiwiai-section-post-meta , .kiwiai-section-post-meta-list {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #777;
}
.kiwiai-meta-date {
    font-size: 0.85rem;
    color: #777;
}
/* === --- استایل کارت‌های لیستی در بخش‌های اضافی --- === */
.kiwiai-section-post {
    border-top: 1px solid var(--kiwiai-border-color);
    padding-top: 1.5rem;
}
.kiwiai-section-post:first-of-type {
    border-top: none;
    padding-top: 0;
}
.kiwiai-section-post .kiwiai-section-post-link {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.kiwiai-section-post .kiwiai-section-post-img-wrapper {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f0f0f0;
}
.kiwiai-section-post .kiwiai-section-post-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.kiwiai-section-post .kiwiai-section-post-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--kiwiai-text-dark);
    transition: color 0.2s ease;
}
.kiwiai-section-post-link:hover .kiwiai-section-post-title {
    color: var(--kiwiai-primary-color);
}
.kiwiai-section-post-content {
    padding: 0;
}
/* === --- آیکون‌های متا --- === */
.kiwiai-meta-comments,
.kiwiai-post-date ,
.kiwiai-meta-date{
    display: flex;
}
.kiwiai-meta-item::before,
.kiwiai-post-date::before,
.kiwiai-section-post-date::before {
    font-family: 'bakala'; 
/* === نام فونت آیکون اختصاصی شما === */
    margin-left: 0.5em;
    font-size: 1.1em;
    vertical-align: middle;
    font-weight: normal;
}
.kiwiai-meta-date::before,
.kiwiai-post-date::before,
.kiwiai-section-post-date::before {
    content: '\E13E'; 
/* === کد آیکون تقویم - این کد را با کد صحیح جایگزین کنید === */
}
.kiwiai-meta-comments::before {
    content: '\E121'; 
/* === کد آیکون دیدگاه - این کد را با کد صحیح جایگزین کنید === */
}
/* === --- لودر و پیام‌ها --- === */
.kiwiai-load-more-wrapper { text-align: center; margin-top: 3rem; grid-column: 1 / -1; }
#kiwiai-load-more { background-color: #2c2d33; color: #fff; padding: 0.8rem 2.5rem; border-radius: 5px; font-size: 1rem; border: none; cursor: pointer; transition: background-color 0.2s; position: relative; }
#kiwiai-load-more:hover { background-color: #444; }
.kiwiai-error, .kiwiai-no-posts { text-align: center; padding: 3rem 1rem; background-color: var(--kiwiai-bg-light); border-radius: 8px; color: var(--kiwiai-text-light); grid-column: 1 / -1; }
/* === --- طراحی ریسپانسیو --- === */
@media (max-width: 992px) {
    .kiwiai-posts-grid { 
        grid-template-columns: 1fr;
    }
    .kiwiai-post-card, .kiwiai-post-card--featured,
    .kiwiai-posts-grid > .kiwiai-post-card:not(.kiwiai-post-card--featured) {
        grid-column: 1 / -1; 
        grid-row: auto;
    }
    .kiwiai-post-card--featured .kiwiai-post-title--featured { font-size: 1.5rem; }
}
@media (max-width: 767px) {
    .kiwiai-post-card:not(.kiwiai-post-card--featured) .kiwiai-post-link {
        flex-direction: column;
        align-items: stretch;
    }
    .kiwiai-post-card:not(.kiwiai-post-card--featured) .kiwiai-post-img-wrapper {
        width: 100%;
        height: auto;
        padding-top: 56.25%;
    }
    .kiwiai-post-card:not(.kiwiai-post-card--featured) .kiwiai-post-content {
        padding: 1rem;
    }
    .kiwiai-section-title {
        font-size: 1.3rem;
    }
}
@media (max-width: 768px) {
    .kiwiai-summary {
        max-width: 400px;
    }
    #commercegurus-pdp-gallery-wrapper {
        max-width: 405px;
    }
    .kiwiai-action-column .kiwiai-action-box-sticky {
        max-width: 400px;
    }
  .product-brand-title-inline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .product-brand-title-inline img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  .product-brand-title-inline h1.product_title,
  .product-brand-title-inline .product-english-name {
    font-size: 16px;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    line-height: 1.6;
  }
  .product_meta {
    width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    font-size: 14px;
    margin-top: 10px;
  }
}
@media (max-width: 375px) {
    .kiwiai-action-column .kiwiai-action-box-sticky {
        max-width: 320px;
    }
}