/*
Theme Name: OrgiFit
Theme URI: https://orgifit.ir/
Author: ALiMajd
Author URI: http://ebadimajd.ir/
Description: این پوسته اختصاصی می باشد
Version: 1.0
Tags: EM
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}
ul, ol {
    list-style: none;
}
@font-face {
    font-family: 'GramophoneFa';
    font-style: normal;
    font-weight: 300;
    src: url(fonts/GramophoneFa.woff2);
}


@font-face {
    font-family: 'ultrabold';
    font-style: normal;
    src: url(fonts/dana-ultrabold.ttf);
}
@font-face {
    font-family: 'thin';
    font-style: normal;
    src: url(fonts/dana-thin.ttf);
}
@font-face {
    font-family: 'regular';
    font-style: normal;
    src: url(fonts/dana-regular.ttf);
}
@font-face {
    font-family: 'medium';
    font-style: normal;
    src: url(fonts/dana-medium.ttf);
}
@font-face {
    font-family: 'light';
    font-style: normal;
    src: url(fonts/dana-light.ttf);
}
@font-face {
    font-family: 'extralight';
    font-style: normal;
    src: url(fonts/dana-extralight.ttf);
}
@font-face {
    font-family: 'extrabold';
    font-style: normal;
    src: url(fonts/dana-extrabold.ttf);
}
@font-face {
    font-family: 'demibold';
    font-style: normal;
    src: url(fonts/dana-demibold.ttf);
}
@font-face {
    font-family: 'bold';
    font-style: normal;
    src: url(fonts/dana-bold.ttf);
}
@font-face {
    font-family: 'black';
    font-style: normal;
    src: url(fonts/dana-black.ttf);
}
body {
    font-family: 'medium';
    background-color: #ffffff;
    color: #1e2a2f;
    scroll-behavior: smooth;
}
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}
button {
    font-family: regular;
}
/* ========== هدر جدید (آخرین نسخه) ========== */
.overlay-blur {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: background-color 5s ease, backdrop-filter 5s ease, opacity 5s ease, visibility 0s linear 5s;
}

.overlay-blur.active {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    opacity: 1;
    visibility: visible;
    transition: background-color 5s ease, backdrop-filter 5s ease, opacity 5s ease, visibility 0s linear 0s;
}

.site-header {
    background-color: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-navbar {
    padding: 12px 0;
    border-bottom: 1px solid #edf2f0;
}

.top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #2b7a4b;
    cursor: pointer;
    padding: 4px;
    transition: 0.2s;
}

.hamburger:hover {
    color: #1e5e3a;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-area i {
    font-size: 1.9rem;
    color: #2b7a4b;
}

.logo-area h2 {
    color: #1f3b2c;
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.logo-area span {
    color: #6c7a6e;
    font-weight: 400;
    font-size: 0.7rem;
    margin-right: 5px;
}

.cart-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.auth-link-desktop {
    background: #edf2ef;
    padding: 8px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    color: #1f3b2c;
    font-size: 0.9rem;
    transition: 0.2s;
    border: 1px solid #dde4e0;
    white-space: nowrap;
}

.auth-link-desktop:hover {
    background: #2b7a4b;
    color: white;
    border-color: #2b7a4b;
    transform: translateY(-1px);
}

.cart-icon {
    position: relative;
    text-decoration: none;
    color: #239752;
    font-size: 1.65rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.cart-icon:hover {
    color: #ff0000;
}

.cart-count {
    position: absolute;
    top: -18px;
    right: 4px !important;
    color: #000000;
    font-size: 1rem;
    padding: 2px 6px;
    border-radius: 30px;
    min-width: 20px;
    text-align: center;
}



.search-row {
    padding: 12px 0 10px 0;
    display: none;
    border-bottom: 1px solid #edf2f0;
}

.search-box-full {
    width: 100%;
}

.search-form {
    display: flex;
    width: 100%;
    background: #f8faf8;
    border-radius: 60px;
    border: 1px solid #e2e8e5;
    overflow: hidden;
    transition: all 0.25s;
}

.search-form:focus-within {
    border-color: #2b7a4b;
    box-shadow: 0 0 0 3px rgba(43, 122, 75, 0.2);
    background: #ffffff;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    text-align: right;
}

.search-btn {
    background: transparent;
    border: none;
    padding: 0 22px;
    color: #2b7a4b;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.2s;
}
.is-form-style {
    line-height: 1;
    position: relative;
    padding: 0!important;
    width: 100%;
}
.is-form-style input.is-search-input {
    background: #fff;
    background-image: none!important;
    color: #333;
    padding: 0 20px !important;
    margin: 0;
    outline: 0!important;
    font-size: 14px!important;
    height: 36px;
    min-height: 0;
    line-height: 1;
    border-radius: 0;
    border: 1px solid #e2e8e5 !important;
    font-family: 'medium';
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
}
.is-search-sections {
    position: relative;
    clear: both;
    overflow: hidden;
    text-align: right;
    display: flex;
    place-items: center;
    direction: rtl;
}
.is-search-sections .meta>div {
    margin-bottom: 5px;
    text-align: center;
}
.is-search-sections .thumbnail {
    margin-right: 10px;
    width: 70px;
    margin-left: 10px;
}
.is-ajax-search-details a, .is-ajax-search-result a {
    color: #2b7a4b !important;
    font-weight: 700;
}
.is-ajax-woocommerce-actions {
    display: flex !important;
}
.is-ajax-woocommerce-actions .add_to_cart_inline a.button {
    padding: 10px 7px !important;
    background: #2b7a4b !important;
    color: #fff !important;
}
.main-navbar {
    background: #ffffff;
    border-top: 1px solid #ecf3ef;
    display: block;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 8px 0;
}

.nav-menu-right {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu-right li a {
    color: #2c4237;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.25s;
    white-space: nowrap;
}

.nav-menu-right li a:hover {
    color: #2b7a4b;
}

.nav-counseling-left {
    display: flex;
}

.counseling-btn-nav {
    background-color: #2b7a4b;
    color: #fff;
    padding: 8px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.25s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.counseling-btn-nav:hover {
    background-color: #175e3a;
    transform: translateY(-2px);
}

.mobile-menu-side {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 370px;
    height: 100vh;
    background: #ffffff;
    z-index: 1002;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
    transition: right 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    direction: rtl;
}

.mobile-menu-side.open {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 20px;
    border-bottom: 1px solid #eef3ef;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.mobile-logo i {
    font-size: 1.9rem;
    color: #2b7a4b;
}

.mobile-logo h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1f3b2c;
}

.close-menu-btn {
    background: #f2f6f4;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: #2b4b3a;
    transition: 0.2s;
}

.close-menu-btn:hover {
    background: #2b7a4b;
    color: white;
}

.mobile-nav-list {
    list-style: none;
    padding: 30px 20px;
    flex: 1;
}

.mobile-nav-list li {
    margin-bottom: 24px;
}

.mobile-nav-list a {
    text-decoration: none;
    color: #23372e;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 0;
    transition: 0.2s;
    border-bottom: 1px solid #ecf3ef;
}

.mobile-nav-list a i {
    width: 28px;
    color: #2b7a4b;
}

.mobile-nav-list a:hover {
    color: #2b7a4b;
    padding-right: 8px;
}

.mobile-counseling-btn {
    margin: 10px 20px 10px 20px;
    background: #2b7a4b;
    color: white;
    text-align: center;
    padding: 14px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: 0.2s;
}

.mobile-counseling-btn:hover {
    background: #135f38;
}

.mobile-auth-btn {
    margin: 5px 20px 65px 20px;
    background: #ffffff;
    border: 2px solid #2b7a4b;
    color: #2b7a4b;
    text-align: center;
    padding: 13px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: 0.2s;
}

.mobile-auth-btn:hover {
    background: #eef9f2;
    border-color: #1e5e3a;
}

/* ========== هدر جدید - ریسپانسیو ========== */
@media (max-width: 1024px) {
    .main-navbar {
        display: none !important;
    }
    .hamburger {
        display: block;
    }
    .auth-link-desktop {
        display: none;
    }
    .search-row {
        display: block;
    }
    .top-navbar .search-box {
        display: none;
    }
    .top-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    .logo-area {
        margin-left: auto;
        margin-right: 0;
    }
    .cart-area {
        gap: 12px;
    }
    .hamburger {
        order: 0;
    }
    .logo-area {
        order: 1;
    }
    .cart-area {
        order: 2;
    }
}

@media (min-width: 1025px) {
    .hamburger {
        display: none !important;
    }
    .mobile-menu-side {
        display: none;
    }
    .overlay-blur {
        display: none;
    }
    .search-row {
        display: none !important;
    }
    .top-navbar .search-box {
        display: block;
        flex: 1;
        max-width: 480px;
        margin-left: auto;
    }
    .top-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    .logo-area {
        order: 0;
    }
    .search-box {
        order: 1;
    }
    .cart-area {
        order: 2;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    .logo-area h2 {
        font-size: 1.2rem;
    }
    .logo-area i {
        font-size: 1.6rem;
    }
    .search-input {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

/* ========== ادامه استایل‌های قبلی سایت ========== */
.slider-container {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    background-color: #f8f9fa;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}
.slide.active {
    opacity: 1;
    z-index: 2;
}
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}
.slide-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    padding: 2rem;
    color: white;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease-out;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    border-radius: 48px;
}
.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}
.slide-content h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}
.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}
.slider-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.slider-btn {
    background-color: #2b7a4b;
    color: #fff;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: bold;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}
.slider-btn-outline {
    background-color: transparent;
    border: 2px solid #2b7a4b;
    color: #2b7a4b;
}
.slider-btn-outline:hover {
    background-color: #2b7a4b;
    color: #fff;
}
.slider-btn:hover {
    background-color: #1e5e3a;
    transform: scale(1.02);
}
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 3px 19px 0 19px;
    cursor: pointer;
    font-size: 1.8rem;
    z-index: 10;
    border-radius: 50%;
    transition: 0.2s;
    display: flex;
    align-items: center;
}
.prev { left: 20px; transform: rotate(180deg); }
.next { right: 20px; transform: rotate(180deg); }
.prev:hover, .next:hover {
    background: #2b7a4b;
    color: #fff;
}
.dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}
.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    margin: 0 6px;
    cursor: pointer;
    transition: 0.2s;
}
.dot.active {
    background: #2b7a4b;
    transform: scale(1.2);
}
.quality-section {
    background: #fefcf7;
    border-radius: 40px;
    padding: 40px 30px;
    margin: 40px 0;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
}
.quality-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}
.quality-card {
    flex: 1 1 200px;
    background: white;
    padding: 20px;
    border-radius: 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.quality-card:hover {
    transform: translateY(-5px);
}
.quality-card i {
    font-size: 2.5rem;
    color: #2b7a4b;
}
.product-spotlight {
    margin: 30px 0 50px;
    border-radius: 48px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fbf9 100%);
    box-shadow: 0 20px 35px -10px rgba(0,0,0,0.1), 0 0 0 1px rgba(43,122,75,0.1);
    overflow: hidden;
}
.spotlight-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    padding: 35px 30px;
}
.spotlight-image {
    flex: 1 1 280px;
    text-align: center;
    position: relative;
}
.spotlight-image img {
    max-width: 100%;
    border-radius: 32px;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.2);
    background: white;
    padding: 12px;
}
.spotlight-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #f39c12;
    color: #fff;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: bold;
}
.spotlight-content {
    flex: 2 1 400px;
}
.spotlight-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e2a2f;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fef5e0;
    padding: 8px 20px;
    border-radius: 60px;
    margin-bottom: 12px;
}
.spotlight-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #4a5b66;
    border-right: 3px solid #2b7a4b;
    padding-right: 16px;
}
.price-comparison {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background: rgba(43,122,75,0.05);
    padding: 18px 20px;
    border-radius: 32px;
}
.compare-item {
    flex: 1;
    text-align: center;
    background: white;
    padding: 12px 8px;
    border-radius: 24px;
}
.compare-item i {
    font-size: 1.6rem;
    color: #2b7a4b;
    margin-bottom: 6px;
    display: block;
}
.compare-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #7f8c8d;
    margin-bottom: 6px;
}
.compare-value {
    font-size: 1.2rem;
    font-weight: 800;
}
.compare-value.old-price {
    color: #e74c3c;
    text-decoration: line-through;
    font-size: 1.2rem;
}
.compare-value.special-price {
    font-size: 1.5rem;
    color: #2b7a4b;
}
.compare-value.saving {
    color: #27ae60;
    font-size: 1.4rem;
}
.spotlight-btn {
    background: #2b7a4b;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    width: 100%;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 6px 14px rgba(43,122,75,0.3);
    font-family: regular;
    display: block;
    text-align: center;
}
.spotlight-btn:hover {
    background: #1e5e3a;
    transform: translateY(-3px);
}
.fullwidth-loss, .fullwidth-gain {
    border-radius: 48px;
    padding: 45px 35px;
    margin: 50px 0 30px 0;
}
.quform .quform-field-captcha, .quform .quform-field-date, .quform .quform-field-email, .quform .quform-field-file, .quform .quform-field-multiselect, .quform .quform-field-password, .quform .quform-field-select, .quform .quform-field-text, .quform .quform-field-textarea, .quform .quform-field-time, .quform .select2-container--quform .select2-selection {
    font-family: 'regular';
}
.fullwidth-loss { background: #c8f0d1; }
.fullwidth-gain { background: #ffddb5; margin: 30px 0 50px 0; }
.split-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.persuasive-text { font-size: 1rem; line-height: 1.8; margin-bottom: 28px; text-align: justify; color: #2c3e2f; }
.benefit-badges { display: flex; flex-wrap: wrap; gap: 15px; margin: 25px 0 20px; }
.benefit-badge { background: rgba(255,255,245,0.8); border-radius: 28px; padding: 12px 18px; flex: 1 1 130px; text-align: center; }
.benefit-badge i { font-size: 1.8rem; color: #2b7a4b; margin-bottom: 8px; display: block; }
.counseling-section {
    background: linear-gradient(135deg, #ffc68a, #a0d9ad);
    border-radius: 48px;
    padding: 40px 30px;
    margin: 50px 0;
    text-align: center;
}
.counselingation-features { display: flex; flex-wrap: wrap; justify-content: center; gap: 25px; margin: 35px 0 30px; }
.counselingation-feature { background: rgba(255,255,245,0.6); backdrop-filter: blur(4px); border-radius: 32px; padding: 22px 18px; flex: 1 1 180px; cursor: pointer; transition: 0.2s; }
.counselingation-feature i { font-size: 2.5rem; color: #2b7a4b; }
.counseling-flex { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: center; margin-top: 20px; }
.counseling-info a { color: #2c3e2f; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.7); padding: 10px 20px; border-radius: 50px; margin: 8px; }
.counseling-info a:hover { background: #2b7a4b; color: #fff; }
.counseling-form { flex: 1; background: rgba(255,255,245,0.5); border-radius: 32px; padding: 24px; }
.counseling-form input, .counseling-form textarea { width: 100%; padding: 12px; margin: 10px 0; border-radius: 28px; border: none; background: #fff; }
.counseling-form button { background: #2b7a4b; border: none; width: 100%; padding: 12px; border-radius: 50px; font-weight: bold; color: #fff; cursor: pointer; }
.gallery-section { margin: 50px 0; }
.gallery-header { text-align: center; margin-bottom: 35px; }
.filter-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 35px; }
.filter-btn {    border: none;
    padding: 8px 22px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    color: #2b7a4b;
    border: 2px solid #2b7a4b;}
.filter-btn.active, .filter-btn:hover { color: white;background:#2b7a4b;  }
.filter-btn[data-filter="all"] {  }
.filter-btn[data-filter="weight_gain"].active { background: #ff9800; border: 2px solid #ff9800;}
.filter-btn[data-filter="weight_loss"].active { background: #4caf50;border: 2px solid #4caf50; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; transition: opacity 0.3s ease; }
.gallery-item { border-radius: 24px; overflow: hidden; background: white; box-shadow: 0 8px 18px rgba(0,0,0,0.05); transition: all 0.3s; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; }
.gallery-item p { padding: 14px; text-align: center; font-weight: 500; }
.blog-section { margin: 70px 0; }
.blog-header { text-align: center; margin-bottom: 40px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.blog-card { background: white; border-radius: 32px; overflow: hidden; box-shadow: 0 15px 30px rgba(0,0,0,0.05); transition: 0.3s; }
.blog-card:hover { transform: translateY(-8px); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-content { padding: 24px; }
.blog-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.blog-excerpt { color: #5a6e7a; line-height: 1.6; margin-bottom: 20px; }
.blog-btn { background: #2b7a4b; color: white; padding: 8px 20px; border-radius: 30px; text-decoration: none; display: inline-block; transition: 0.2s; }
.blog-btn:hover { background: #1e5e3a; }
.products-slider-section { padding: 2rem 0; background: transparent; }
.slider-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.all-products-btn { background: #2b7a4b; color: #fff; padding: 6px 20px; border-radius: 40px; text-decoration: none; font-weight: bold; }
.product-carousel { position: relative; display: flex; align-items: center; gap: 0.8rem; }
.carousel-track-container { overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; flex: 1; border-radius: 28px; }
.carousel-track { display: flex; gap: 1.2rem; padding: 0.5rem 0.2rem; }
.product-slide { flex: 0 0 calc(25% - 1rem); min-width: 200px; background: white; border-radius: 24px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.08); text-decoration: none; color: inherit; }
.product-slide img { width: 100%; height: 200px; object-fit: cover; }
.product-slide h4 { text-align: center; padding:0 0.8rem; font-size: 1rem;    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-word; }
.carousel-btn { background: #2b7a4b; color: white; border: none; font-size: 1.5rem; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; flex-shrink: 0; }
.product-slide .price_product_slide {    text-align: center;
    display: flex;
    flex-direction: column;
    padding: 5px 0 10px 0; }
.product-slide .price_product_slide del {    text-align: center;
    text-decoration: line-through;
    color: #999;
    font-weight: 100;
}
.product-slide .price_product_slide ins {       
	font-size: 1.3rem;
}
.product-slide .price_product_slide ins .woocommerce-Price-currencySymbol {       
	    padding-right: 1px;
    position: relative;
    color: red;
    top: 1px;
    font-weight: 500;
    font-size: 1rem;
}

.footer {
    background: linear-gradient(135deg, #ff914d, #2e7d5e);
    color: #e0f0ea;
    padding: 60px 0 30px;
    margin-top: 60px;
    border-radius: 40px 40px 0 0;
    overflow-x: hidden;
}
.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}
@media (min-width: 993px) {
    .footer-container {
        flex-wrap: nowrap;
    }
    .footer-about { flex: 0 0 45%; }
    .footer-quick { flex: 0 0 25%; }
    .footer-inquiry { flex: 0 0 30%; }
}
.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff3e0;
    position: relative;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 50px;
    height: 2px;
    background: #fff3e0;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.footer-logo i { font-size: 2rem; color: #fff3e0; }
.footer-logo span { font-size: 1.4rem; font-weight: 700; }
.footer-about p { line-height: 1.7; margin-bottom: 12px; }
.address-phone { margin: 18px 0 15px; padding-top: 10px; border-top: 1px dashed rgba(255,255,255,0.2); }
.address-phone div { margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.address-phone i { width: 24px; color: #fff3e0; }
.footer-social { display: flex; gap: 15px; margin-top: 15px; }
.footer-social a { background: rgba(255,255,255,0.15); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; transition: 0.2s; text-decoration: none; }
.footer-social a:hover { background: #fff3e0; color: #1e5e3a; transform: translateY(-3px); }
.desktop-quick-list {
    list-style: none;
}
.address-phone div a {
    color: #e0f0ea;
}
.desktop-quick-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.desktop-quick-list li i {
    color: #fff3e0;
    font-size: 0.8rem;
}
.desktop-quick-list a {
    color: #e0f0ea;
    text-decoration: none;
    transition: 0.2s;
}
.desktop-quick-list a:hover {
    color: #fff3e0;
    padding-right: 5px;
}
.inquiry-form { 
	    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 90%;
    justify-content: center;
	 }
.inquiry-form input { padding: 12px 15px; border-radius: 50px; border: none; background: rgba(255,255,255,0.2); color: #fff; width: 100%; }
.inquiry-form input::placeholder { color: #e0f0ea; }
.inquiry-form button { background: #fff3e0; border: none; padding: 12px; border-radius: 50px; font-weight: bold; cursor: pointer; color: #1e5e3a; transition: 0.2s; width: 100%; }
.inquiry-form button:hover { background: #ffd966; transform: scale(1.02); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.15); }
.mobile-quick-header {
    display: none;
    cursor: pointer;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.1);
    padding: 12px 15px;
    border-radius: 40px;
    margin-bottom: 10px;
}
.mobile-quick-header h4 { margin: 0; font-size: 1.1rem; color: #fff3e0; }
.mobile-quick-header i { transition: 0.3s; }
.mobile-quick-list-wrapper {
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.33, 1, 0.68, 1);
    max-height: 0;
}
.mobile-quick-list {
    background: white;
    border-radius: 24px;
    padding: 15px;
    list-style: none;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.mobile-quick-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}
.mobile-quick-list li:last-child { border-bottom: none; }
.mobile-quick-list li i { color: #2b7a4b; font-size: 0.8rem; }
.mobile-quick-list a { color: #2c3e2f; text-decoration: none; font-weight: 500; }
@media (max-width: 992px) {
    .footer-about, .footer-quick, .footer-inquiry { flex: 0 0 100%; }
    .desktop-quick-list { display: none !important; }
    .mobile-quick-header { display: flex; }
	.footer-col h4
	{
		display:none;
	}
	.mobile-quick-header h4 {
    display: block;
}
	.footer-col h4::after {
		display:none;
}
	.inquiry-form {
    width: 100%;
}
	.address-phone div {
    flex-direction: row-reverse;
}

.address-phone div a {
    color: #e0f0ea;
    font-size: 130%;
}

.address-phone i {
    width: 15px;
    color: #fff3e0;
    position: relative;
    transform: rotate(
122deg);
    bottom: 2px;
}
}
@media (min-width: 993px) {
    .mobile-quick-header { display: none; }
    .mobile-quick-list-wrapper { display: none !important; }
}
@media (max-width: 1024px) {
    .product-slide { flex: 0 0 calc(33.333% - 1rem); }
}
@media (max-width: 768px) {
    #nextSlideBtn , #prevSlideBtn { display: none; }
    .product-slide { flex: 0 0 calc(50% - 0.8rem); }
    .carousel-btn { width: 35px; height: 35px; font-size: 1.2rem; }
    .fullwidth-loss, .fullwidth-gain { padding: 30px 20px; }
    .counseling-flex { flex-direction: column; }
}
body, .site-header, .container, .nav-menu-right, .cart-area, .logo-area, .mobile-menu-side, .search-input {
    direction: rtl;
}
.cart-count {
    right: -12px;
    left: auto;
}
.shake-animation i { animation: shakeIcon 0.3s ease-in-out; }
.blink-animation .compare-value { animation: blinkPrice 0.4s ease-in-out; }
@keyframes shakeIcon { 0% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } 100% { transform: translateX(0); } }
@keyframes blinkPrice { 0% { opacity: 1; } 50% { opacity: 0.5; filter: brightness(1.3); color: #e67e22; } 100% { opacity: 1; } }
.gallery-grid.fade-out .gallery-item { opacity: 0; transform: scale(0.95); transition: opacity 0.3s ease, transform 0.3s ease; }
.gallery-item { transition: opacity 0.3s ease, transform 0.3s ease; }


/*صفحه مقالات*/



/* چیدمان دو ستونه: مقاله اصلی 70% و سایدبار 30% */
.page-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 30px;
    align-items: start;
    padding: 0 30px;
    overflow-x: hidden;
    background-color: #fff0;
    background-image: linear-gradient(360deg,#FFFFFF 10%,#DBDBDB 100%);
}

/* ========== مقاله اصلی ========== */
.main-article {
    background: white;
    border-radius: 32px;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.06);
    padding: 32px 30px;
    overflow-x: hidden;
}
.article-category {
    display: inline-block;
    background: #c8f0d1;
    color: #1e5e3a;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 40px;
    margin-bottom: 15px;
}
.article-header h1 {
    font-size: 2rem;
    color: #1a3c2c;
    border-right: 5px solid #2b7a4b;
    padding-right: 18px;
    margin-bottom: 20px;
}
.featured-image {
    width: 100%;
    border-radius: 24px;
    margin: 20px 0 25px;
    max-height: 400px;
    object-fit: cover;
}
.article-body p {
    line-height: 1.85;
    color: #2c3e32;
    margin-bottom: 1.3rem;
    text-align: justify;
}
.article-body h2 {
    color: #2b7a4b;
    margin: 25px 0 12px;
}
.article-body h3 {
    color: #ff914d;
    margin-top: 20px;
}
.conclusion-box {
    background: #eef5f0;
    border-radius: 24px;
    padding: 20px 25px;
    margin: 30px 0 0;
    border-bottom: 3px solid #2b7a4b;
}
.conclusion-box h3 {
    color: #1e5e3a;
    margin-bottom: 10px;
}

/* ========== سایدبار ========== */
.smart-sidebar {
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: sticky;
    top: 20px;
}
.sidebar-inner {
    padding: 24px 18px 32px;
}

/* کارت تخفیف ویژه (محصول ویژه - لاغری با سبز) */
.discount-card {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8f0d1 100%);
    border-radius: 28px;
    border: 1px solid #b9dfc4;
    margin-bottom: 28px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
    text-decoration: none;
    color: inherit;
}
.discount-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(43, 122, 75, 0.15);
}
.discount-badge {
    background: linear-gradient(90deg, #2b7a4b, #3c9e64);
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: 800;
    font-size: 1rem;
    position: relative;
}
.discount-badge i {
    margin-left: 8px;
}
.discount-body {
    padding: 20px;
    text-align: center;
}
.discount-body img {
    width: 100%;
    max-width: 180px;
    border-radius: 24px;
    margin: 0 auto 15px;
    display: block;
    background: white;
    padding: 8px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.05);
}
.discount-body h3 {
    font-size: 1.3rem;
    color: #1e5e3a;
    margin-bottom: 8px;
}
.price-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: baseline;
    margin: 12px 0;
}
.old-price {
    text-decoration: line-through;
    color: #b0a090;
    font-size: 0.9rem;
}
.new-price {
    color: #e67e22;
    font-size: 1.6rem;
    font-weight: 800;
}
.discount-btn {
    background: #2b7a4b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}
.discount-btn:hover {
    background: #1e5e3a;
}

/* دسته بندی محصولات */
.category-section {
    margin: 28px 0;
}
.section-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #2b7a4b;
    display: inline-block;
    background: #fff;
    padding-left: 12px;
    margin-bottom: 18px;
}
.section-title i {
    margin-left: 8px;
    color: #ff914d;
}
.category-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.category-item {
    background: #ffffff;
    border-radius: 18px;
    padding: 12px 14px;
    display: flex;
    gap: 12px;
    align-items: center;
    transition: all 0.25s ease;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    text-decoration: none;
    color: inherit;
    align-items: anchor-center;
}
.category-item:hover {
    transform: translateX(-4px);
    border-color: #2b7a4b;
    box-shadow: 0 8px 18px rgba(43, 122, 75, 0.12);
    background: #fffefc;
}
.category-icon {
    font-size: 1.8rem;
    min-width: 45px;
    text-align: center;
    display: flex;
    align-items: center;
}
.category-icon.loss {
    color: #4caf50;
}
.category-icon.gain {
    color: #ff9800;
}
.category-info {
    flex: 1;
}
.category-info h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #2c3e2f;
    margin-bottom: 4px;
}
.category-info p {
    font-size: 0.8rem;
    color: #5a6e5f;
}

/* سه مقاله مرتبط (با استایل دوره‌ها) */
.related-articles {
    margin-top: 28px;
}
.related-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.related-item {
    display: flex;
    gap: 14px;
    align-items: center;
    background: #ffffff;
    border-radius: 20px;
    padding: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}
.related-item:hover {
    transform: translateX(-4px);
    border-color: #2b7a4b;
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}
.related-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 16px;
}
.related-info {
    flex: 1;
}
.related-info h4 {
    font-size: 1rem;
    font-weight: 800;
    color: #2c3e2f;
    margin-bottom: 5px;
}
.related-info p {
    font-size: 0.75rem;
    color: #5a6e5f;
    line-height: 1.4;
}

/* جداکننده */
.section-divider {
    margin: 20px 0 16px;
    border-bottom: 2px solid #e2e8f0;
}

@media (max-width: 900px) {
    .page-container {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 20px;
    }
    .page-container {
        background-color: #fff0;
        background-image: linear-gradient(
                180deg, #FFFFFF 10%, #DBDBDB 100%);
    }
    .smart-sidebar {
        position: static;
    }
}
@media (max-width: 480px) {
    .related-item {
        flex-direction: column;
        text-align: center;
    }
    .related-img {
        width: 100%;
        height: auto;
        max-width: 120px;
    }
}


/*صفحه مقالات*/

/*صفحه نمایش محصول*/

:root {
    --primary-green: #2b7a4b;
    --primary-light: #c8f0d1;
    --bg-light: #e8f5e9;
    --text-dark: #1e2a2f;
    --border-light: #d4d4d4;
}
.weight_gain h1 
{
    color: #e67e22;
    border-right: 5px solid #e67e22;
}
.weight_gain .spec-list li i
{
    color: #e67e22;
}
.weight_gain .spec-sidebar h3
{
    color: #e67e22;
	border-right: 4px solid #e67e22;
}
.weight_gain .price-box ins {
    font-size: 30px;
    color: #e67e22;
}

.weight_gain .spec-sidebar .cart  button
{
    width: 80%;
    background:#e67e22;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    font-family: 'medium';
}
.weight_gain  .product-category {
    display: inline-block;
    background: #ffddb5;
    color: #e67e22;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 40px;
    margin-bottom: 15px;
}
.weight_gain .product-category a {
    font-size: 110%;
    color: #000;
    font-family: 'regular';
}
.product-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 70% 28%;
    gap: 30px;
    align-items: start;
}
@media (max-width: 992px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.main-card {
    background: white;
    border-radius: 32px;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.06);
    padding: 32px 30px;
    border: 1px solid var(--border-light);
}
.sidebar-card {
    background: white;
    border-radius: 28px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-light);
    position: sticky;
    top: 20px;
    overflow: hidden;
}
.sidebar-inner {
    padding: 24px 20px;
}
.sidebar-inner .category-item img {
        width: 100px;
    border-radius: 0 10px 10px 0;
}
.sidebar-inner .related-articles img {
      width: 100px;
    border-radius: 0 10px 10px 0;
}

.product-category {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-green);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 40px;
    margin-bottom: 15px;
}
.product-category a {
    font-size: 110%;
    color: #000;
    font-family: 'regular';
}
h1 {
    font-size: 2rem;
    color: var(--primary-green);
    border-right: 5px solid var(--primary-green);
    padding-right: 18px;
    margin-bottom: 20px;
}
.featured-image {
    width: 100%;
    border-radius: 24px;
    margin: 20px 0;
    object-fit: cover;
    max-height: 360px;
}
/* چهار باکس: هر سطر دو تا */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 30px 0;
}
.benefit-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 20px 15px;
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}
.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(43, 122, 75, 0.1);
}
.benefit-card i {
    font-size: 42px;
    color: var(--primary-green);
    margin-bottom: 12px;
}
.benefit-card h3 {
    font-size: 1.2rem;
    color: var(--primary-green);
    margin-bottom: 8px;
}
.benefit-card p {
    color: #4a5a44;
    font-size: 0.9rem;
}
/* جدول ویژگی‌ها با border کامل روی همه سلول‌ها */
.product-spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}
.product-spec-table tr {
    border-bottom: 1px solid var(--border-light);
}
.product-spec-table tr:last-child {
    border-bottom: none;
}
.product-spec-table th,
.product-spec-table td {
    border: 1px solid var(--border-light);
    padding: 14px 20px;
    vertical-align: top;
}
.product-spec-table th {
    text-align: right;
    font-weight: 700;
    color: var(--primary-green);
    width: 30%;
    background-color: #fefcf7;
}
.product-spec-table td {
    background-color: #fff;
    color: var(--text-dark);
}
.section-title {
    font-size: 1.5rem;
    margin: 35px 0 20px;
    color: var(--primary-green);
    display: inline-block;
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 5px;
}
.faq-item {
    background: #f9faf7;
    margin-bottom: 15px;
    border-radius: 16px;
    padding: 18px;
    border-right: 4px solid var(--primary-green);
}
.faq-question {
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}
.faq-answer {
    display: none;
    margin-top: 12px;
    color: #4a5a44;
    border-top: 1px dashed var(--border-light);
    padding-top: 10px;
}
.objections-wrapper {
    background: var(--primary-light);
    border-radius: 24px;
    padding: 20px;
    margin: 30px 0;
}
.objection-item {
    background: transparent;
    padding: 12px 0;
    display: flex;
    gap: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.objection-item:last-child { border-bottom: none; }
.objection-item i {
    font-size: 22px;
    color: var(--primary-green);
    margin-top: 4px;
}
.receive-box {
    background: #ffffff;
    border-radius: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: center;
    margin: 30px 0;
    border: 1px solid var(--border-light);
    overflow: hidden;
}
.receive-image {
    flex: 1;
    min-width: 160px;
}
.receive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.receive-content {
    flex: 2;
    padding: 20px;
}
.receive-content h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 12px;
}
.ask-question-box {
    background: var(--primary-light);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    margin: 30px 0;
}
.ask-question-box input {
    width: 100%;
    padding: 12px;
    border-radius: 40px;
    border: 1px solid var(--border-light);
    margin-top: 12px;
    background: white;
}
.btn-submit {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 40px;
    margin-top: 12px;
    cursor: pointer;
    font-weight: bold;
}
.spec-sidebar {
    padding: 20px;
}
.spec-sidebar .cart
{
    display: flex;
}

.spec-sidebar .cart .quantity
{
    width: 20%;
    margin-left: 10px;
    height: 50px;
    text-align: center;
    border-radius: 10px;
}

.spec-sidebar .cart .quantity input
{
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 1.5rem;
    border-radius: 10px;
}

.spec-sidebar .cart  button
{
    width: 80%;
    background: var(--primary-green);
    color: white;
    padding: 10px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    font-family: 'medium';
}

.spec-sidebar h3 {
    color: var(--primary-green);
    border-right: 4px solid var(--primary-green);
    padding-right: 12px;
    margin-bottom: 20px;
}
.spec-list {
    list-style: none;
}
.spec-list li {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    align-items: center;
}
.spec-list li i {
    width: 20px;
    color: var(--primary-green);
    text-align: left;
}
.price-box {
    font-size: 25px;
    font-weight: bold;
    color: var(--primary-green);
    margin: 15px 0;
    display: flex;
    flex-direction: column-reverse;
}
.price-box ins {
    font-size: 30px;
}
.price-box del {
       text-decoration: line-through;
    color: #999;
    font-weight: 100;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 18px;
    margin-right: 8px;
}
.btn-add-to-cart {
    background: var(--primary-green);
    color: white;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 40px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 12px;
    font-family: 'medium';
}
.gift-box {
    background: var(--border-light);
    border-radius: 16px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 15px 0;
}
.gift-box i {
    font-size: 28px;
    color: var(--primary-green);
}
.testimonial-box {
    background: #f9faf5;
    border-radius: 20px;
    padding: 20px;
    margin-top: 20px;
}
hr { margin: 15px 0; border-color: var(--border-light); }
@media (max-width: 768px) {
    .receive-box { flex-direction: column; }
    .receive-content { padding: 0 20px 20px; }
    .benefits-grid {
        gap: 16px;
    }
    .benefit-card {
        padding: 15px 10px;
    }
}

/* منوی ثابت موبایل */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--border-light);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.mobile-bottom-bar.show {
    transform: translateY(0);
}
.mobile-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-green);
}
.mobile-oldprice {
    font-size: 0.85rem;
    text-decoration: line-through;
    color: #999;
    margin-right: 6px;
}
.mobile-cart-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.mobile-bottom-bar .cart
{
    width: 70%;
}

.mobile-bottom-bar .cart
{
    display: flex;
}

.mobile-bottom-bar .quantity
{
    display:none;
}
.mobile-bottom-bar del {
    text-decoration: line-through;
    color: #999;
    font-weight: 100;
}
.mobile-bottom-bar ins {
    font-size: 20px;
}
.mobile-bottom-bar .cart button
{
    width: 100%;
    background: var(--primary-green);
    color: white;
    padding: 10px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    font-family: ''regular'';
}
.mobile-bottom-bar .price_bottom_bar
{
    width: 40%;
    display: flex;
    flex-direction: column-reverse;
}
@media (min-width: 769px) {
    .mobile-bottom-bar {
        display: none;
    }
}

/*صفحه نمایش محصول*/



/* ===========================================
   استایل صفحات سبد خرید و حساب کاربری - RTL فارسی
   =========================================== */

/* تنظیمات پایه برای صفحات ووکامرس */
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-account {
    direction: rtl;
    text-align: right;
}

/* ===========================================
   صفحه سبد خرید (Cart)
   =========================================== */

/* جدول محصولات */
.woocommerce-cart .woocommerce-cart-form table.shop_table {
    border-collapse: collapse;
    width: 100%;
    text-align: right;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.woocommerce-cart .woocommerce-cart-form table.shop_table th,
.woocommerce-cart .woocommerce-cart-form table.shop_table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    text-align: right;
}

/* ستون حذف محصول */
.woocommerce-cart .product-remove {
    text-align: center;
}

.woocommerce-cart .product-remove a.remove {
    color: #f44336 !important;
    font-size: 20px;
}

/* عکس محصول */
.woocommerce-cart .product-thumbnail img {
    width: 60px;
    height: auto;
    border-radius: 8px;
}

/* نام محصول */
.woocommerce-cart .product-name a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

/* قیمت و تعداد */
.woocommerce-cart .product-price .amount,
.woocommerce-cart .product-subtotal .amount {
    color: #4caf50;
    font-weight: bold;
}

/* ورودی تعداد */
.woocommerce-cart .product-quantity .qty {
    width: 60px;
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* دکمه به‌روزرسانی سبد خرید */
.woocommerce-cart button[name="update_cart"] {
    background: #2196f3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

/* باکس جمع کل (Cart Totals) */
.woocommerce-cart .cart-collaterals .cart_totals {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.woocommerce-cart .cart_totals h2 {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4caf50;
}

.woocommerce-cart .cart_totals table.shop_table {
    width: 100%;
    text-align: right;
}

.woocommerce-cart .cart_totals th,
.woocommerce-cart .cart_totals td {
    padding: 10px 0;
}

/* دکمه پرداخت */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background: #4caf50;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: block;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: #45a049;
}

/* دکمه بازگشت به فروشگاه */
.woocommerce-cart .return-to-shop a.button {
    background: #666;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
}

/* ===========================================
   صفحه حساب کاربری (My Account)
   =========================================== */

/* ناوبری حساب کاربری */
.woocommerce-account .woocommerce-MyAccount-navigation {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 30px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: #4caf50;
    color: white;
}

/* محتوای اصلی حساب کاربری */
.woocommerce-account .woocommerce-MyAccount-content {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e0e0e0;
}

/* فرم‌ها */
.woocommerce-account form.woocommerce-EditAccountForm .form-row {
    margin-bottom: 15px;
}

.woocommerce-account form.woocommerce-EditAccountForm label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.woocommerce-account form.woocommerce-EditAccountForm input,
.woocommerce-account form.woocommerce-EditAccountForm select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
}

/* دکمه ذخیره تغییرات */
.woocommerce-account button.button {
    background: #4caf50;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

/* فرم ورود */
.woocommerce-account .woocommerce-form-login .form-row {
    margin-bottom: 15px;
}

.woocommerce-account .woocommerce-form-login input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.woocommerce-account .woocommerce-form-login button.button {
    width: 100%;
}

/* پیغام‌ها */
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-info {
    border-radius: 8px;
    padding: 12px 20px;
    margin-bottom: 20px;
}
            /* تبدیل فرم تسویه حساب به یک ستون */
            .woocommerce-checkout .col2-set {
                display: flex;
                flex-direction: column;
                width: 100%;
                max-width: 100%;
            }
            
            .woocommerce-checkout .col2-set .col-1,
            .woocommerce-checkout .col2-set .col-2 {
                width: 100% !important;
                max-width: 100% !important;
                float: none !important;
                margin: 0 !important;
                padding: 0 !important;
            }
            
            /* فاصله بین بخش‌ها */
            .woocommerce-checkout .col2-set .col-2 {
                margin-top: 30px !important;
            }
            
            /* فیلدها به صورت تمام عرض */
            .woocommerce-checkout .form-row {
                width: 100% !important;
                float: none !important;
                margin-bottom: 15px;
            }
            
            /* حذف float از کلاس‌های form-row */
            .woocommerce-checkout .form-row-first,
            .woocommerce-checkout .form-row-last,
            .woocommerce-checkout .form-row-wide {
                width: 100% !important;
                float: none !important;
            }
            .woocommerce-billing-fields h3, .woocommerce-shipping-fields h3 {
    color: #2b7a4b;
    display: none;
}

/*دسته بندی محصولات*/

/* ===== استایل‌های صفحه دسته‌بندی محصولات ===== */

:root {
    --primary-color: #2b7a4b;
    --primary-light: #c8f0d1;
    --accent-color: #e67e22;
    --text-dark: #1e2a2f;
    --border-light: #d4d4d4;
}

/* دسته بندی عنوان */
.category-header {
    text-align: center;
    margin-bottom: 30px;
}
.category-title {
    font-size: 2rem;
    color: var(--primary-color);
    border-right: 5px solid var(--primary-color);
    display: inline-block;
    padding-right: 18px;
    margin-bottom: 15px;
}

/* شبکه محصولات: سه ستون در دسکتاپ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin: 30px 0;
    width: 100%;
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}
@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* کارت محصول با border مشخص */
.product-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    border: 2px solid var(--border-light);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0; /* جلوگیری از سرریز شدن محتوا */
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}
.product-card .product-title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-word;
}
.woocommerce .woocommerce-result-count {
    display: none;
}
.product-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 18px;
    gap: 15px;
}
/* عکس در سمت راست (RTL) */
.product-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: #f9faf5;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* محتوای متنی در سمت چپ */
.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 6px;
}
.product-desc {
    font-size: 0.8rem;
    color: #5a6e5f;
    line-height: 1.5;
    margin-bottom: 8px;
}
.product-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.old-price {
    font-size: 0.85rem;
    text-decoration: line-through;
    color: #999;
    margin-right: 8px;
    font-weight: normal;
}
.add-to-cart-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    transition: 0.2s;
}
.add-to-cart-btn:hover {
    background: #1e5e3a;
}

@media (max-width: 576px) {
    .product-inner {
        padding: 12px;
        gap: 10px;
    }
    .product-image {
        width: 80px;
        height: 80px;
    }
    .product-title {
        font-size: 1rem;
    }
    .product-price {
        font-size: 1rem;
    }
}

/* ========== بخش توضیحات بلند با انیمیشن ========== */
.full-description-section {
    background: #ffffff;
    border-radius: 32px;
    padding: 30px;
    margin-top: 50px;
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
}
.full-description-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.7rem;
    border-right: 4px solid var(--primary-color);
    padding-right: 15px;
}
.description-content {
    line-height: 1.9;
    text-align: justify;
    color: #2c3e2f;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.33, 1, 0.68, 1);
    max-height: 370px;
}
.description-content.full {
    max-height: 2500px;
}
.btn-toggle {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}
.btn-toggle:hover {
    background: #1e5e3a;
}
.btn-close {
    background: #6c757d;
    margin-right: 10px;
}
.btn-close:hover {
    background: #5a6268;
}

/* صفحه‌بندی */
.woocommerce-pagination {
    text-align: center;
    margin-top: 30px;
    clear: both;
}
.woocommerce-pagination .page-numbers {
    display: inline-flex;
    gap: 5px;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}
.woocommerce-pagination .page-numbers li {
    display: inline;
}
.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}
.woocommerce-pagination .page-numbers .current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}
.woocommerce-pagination .page-numbers a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

/* مرتب‌سازی */
.woocommerce-result-count {
    float: right;
    margin-bottom: 20px;
    color: #666;
}
.woocommerce-ordering {
    float: left;
    margin-bottom: 20px;
}
.woocommerce-ordering select {
    padding: 8px 15px;
    border-radius: 30px;
    border: 1px solid var(--border-light);
    background: white;
    font-family: inherit;
}
@media (max-width: 768px) {
    .woocommerce-result-count,
    .woocommerce-ordering {
        float: none;
        text-align: center;
        margin-bottom: 15px;
    }
}

/*دسته بندی محصولات*/

/* ===========================================
   استایل‌های صفحه فروشگاه
   =========================================== */

/* کانتینر اصلی */
.shop_main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

/* بخش نان خوراکی */
.breadcrumb-wrapper {
    margin-bottom: 20px;
}

/* عنوان دسته */
.category-header {
    text-align: center;
    margin-bottom: 30px;
}

.category-title {
    font-size: 2rem;
    color: #2b7a4b;
    border-right: 5px solid #2b7a4b;
    display: inline-block;
    padding-right: 18px;
    margin-bottom: 15px;
}

/* شبکه محصولات */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 30px 0;
}

/* کارت محصول */
.product-card-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.product-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    border: 2px solid #d4d4d4;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card-link:hover .product-card {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(43, 122, 75, 0.1);
    border-color: #2b7a4b;
}

.product-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 18px;
    gap: 15px;
}

.product-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: #f9faf5;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.1rem;
    font-weight: 800;
    color: #2b7a4b;
    margin-bottom: 6px;
}

.product-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.8rem;
    color: #5a6e5f;
    line-height: 1.5;
    margin-bottom: 8px;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #2b7a4b;
    margin-bottom: 10px;
}

.product-price .amount {
    font-weight: 800;
}

.product-price del .amount {
    font-size: 0.85rem;
    text-decoration: line-through;
    color: #999;
    font-weight: normal;
}

.product-price ins {
    text-decoration: none;
}

.view-product-btn {
    background: #2b7a4b;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    transition: background 0.2s;
    cursor: pointer;
}

.product-card-link:hover .view-product-btn {
    background: #1e5e3a;
}

/* صفحه‌بندی */
.pagination-wrapper {
    margin-top: 30px;
    text-align: center;
}

.woocommerce-pagination .page-numbers {
    display: inline-flex;
    gap: 5px;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.woocommerce-pagination .page-numbers li {
    display: inline;
}

.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.woocommerce-pagination .page-numbers .current {
    background: #2b7a4b;
    border-color: #2b7a4b;
    color: white;
}

.woocommerce-pagination .page-numbers a:hover {
    background: #e67e22;
    border-color: #e67e22;
    color: white;
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-inner {
        padding: 12px;
        gap: 10px;
    }
    
    .product-image {
        width: 80px;
        height: 80px;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .product-price {
        font-size: 1rem;
    }
}

/*صفحه فروشگاه*/

/*صفحه جستجو*/


/* ===========================================
   استایل صفحه نتایج جستجو
   =========================================== */

.search-results-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* هدر جستجو */
.search-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f8fcf9 0%, #ffffff 100%);
    border-radius: 32px;
    border: 1px solid #e8f0ec;
}

.search-title {
    font-size: 1.8rem;
    color: #2b7a4b;
    margin-bottom: 15px;
}

.search-title i {
    margin-left: 10px;
    color: #e67e22;
}

.search-title span {
    font-weight: 800;
    background: #e8f5e9;
    padding: 5px 15px;
    border-radius: 50px;
    display: inline-block;
}

.search-count {
    font-size: 1rem;
    color: #666;
}

/* شبکه نتایج - دو ستونه */
.search-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

/* کارت نتیجه */
.search-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eef2f6;
    display: flex;
    flex-direction: column;
}

.search-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(43, 122, 75, 0.1);
    border-color: #2b7a4b;
}

.search-card-link {
    text-decoration: none;
    display: block;
    color: inherit;
    flex: 1;
}

/* تصویر نتیجه */
.search-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.search-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.search-card:hover .search-image img {
    transform: scale(1.05);
}

/* برچسب نوع محتوا */
.post-type-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #2b7a4b;
    color: white;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.7rem;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.post-type-badge i {
    margin-left: 5px;
    font-size: 0.7rem;
}

/* محتوای نتیجه */
.search-content {
    padding: 20px;
}

.search-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e2a2f;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* متادیتا */
.search-meta {
    margin-bottom: 12px;
    font-size: 0.75rem;
    color: #888;
}

.search-meta i {
    margin-left: 5px;
    font-size: 0.7rem;
}

/* خلاصه مطلب */
.search-excerpt {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* فوتر کارت - دکمه‌ها */
.search-card-footer {
    padding: 15px 20px 20px 20px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

/* دکمه محصول */
.product-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #2b7a4b;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.product-btn i {
    font-size: 0.9rem;
}

.product-btn:hover {
    background: #1e5e3a;
    transform: translateY(-2px);
}

/* دکمه مقاله */
.blog-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: #2b7a4b;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #2b7a4b;
}

.blog-btn i {
    transition: transform 0.3s;
}

.blog-btn:hover {
    background: #2b7a4b;
    color: white;
    transform: translateY(-2px);
}

.blog-btn:hover i {
    transform: translateX(-5px);
}

/* صفحه‌بندی */
.pagination-wrapper {
    text-align: center;
    margin-top: 40px;
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-wrapper .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.pagination-wrapper .current {
    background: #2b7a4b;
    border-color: #2b7a4b;
    color: white;
}

.pagination-wrapper a:hover {
    background: #2b7a4b;
    border-color: #2b7a4b;
    color: white;
}

/* بدون نتیجه */
.no-results {
    text-align: center;
    padding: 80px 40px;
    background: #f9f9f9;
    border-radius: 32px;
    color: #666;
    grid-column: 1 / -1;
}

.no-results i {
    font-size: 4rem;
    color: #2b7a4b;
    opacity: 0.5;
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.no-results p {
    margin-bottom: 20px;
}

.no-results .search-form {
    max-width: 400px;
    margin: 0 auto;
}

.no-results .search-form input[type="search"] {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
}

.no-results .search-form button {
    margin-top: 15px;
    background: #2b7a4b;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .search-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .search-title {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .search-results-page {
        padding: 20px 15px;
    }
    
    .search-header {
        padding: 20px;
    }
    
    .search-title {
        font-size: 1.2rem;
    }
    
    .search-image {
        height: 180px;
    }
    
    .search-content {
        padding: 15px;
    }
    
    .search-card-footer {
        padding: 12px 15px 15px 15px;
    }
    
    .product-btn, .blog-btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .no-results {
        padding: 40px 20px;
    }
    
    .no-results i {
        font-size: 3rem;
    }
    
    .no-results h3 {
        font-size: 1.2rem;
    }
}

/*صفحه جستجو*/

/*صفحه دسته‌بندی مقالات*/

/* ===========================================
   استایل صفحه دسته‌بندی مقالات
   =========================================== */

.blog-category-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* نان خوراکی */
.breadcrumb-wrapper {
    margin-bottom: 30px;
}

/* هدر دسته‌بندی */
.category-header {
    text-align: center;
    margin-bottom: 40px;
}

.category-title {
    font-size: 2rem;
    color: #2b7a4b;
    border-right: 5px solid #2b7a4b;
    display: inline-block;
    padding-right: 18px;
    margin-bottom: 20px;
}

.category-description {
    max-width: 800px;
    margin: 0 auto;
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* شبکه مقالات - دو ستونه */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

/* کارت مقاله */
.post-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eef2f6;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(43, 122, 75, 0.1);
    border-color: #2b7a4b;
}

.post-card-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

/* تصویر مقاله */
.post-image {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

/* برچسب تاریخ */
.post-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #2b7a4b;
    color: white;
    border-radius: 12px;
    text-align: center;
    padding: 8px 12px;
    min-width: 55px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.date-day {
    display: block;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.7rem;
    margin-top: 4px;
}

/* محتوای مقاله */
.post-content {
    padding: 20px;
}

.post-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1e2a2f;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* خلاصه مطلب */
.post-excerpt {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* دکمه مطالعه بیشتر */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #2b7a4b;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 0;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}

.read-more-btn i {
    transition: transform 0.3s;
}

.post-card:hover .read-more-btn {
    gap: 12px;
    border-bottom-color: #2b7a4b;
}

.post-card:hover .read-more-btn i {
    transform: translateX(-5px);
}

/* صفحه‌بندی */
.pagination-wrapper {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 60px;
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-wrapper .page-numbers .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.pagination-wrapper .page-numbers .current {
    background: #2b7a4b;
    border-color: #2b7a4b;
    color: white;
}

.pagination-wrapper .page-numbers a:hover {
    background: #2b7a4b;
    border-color: #2b7a4b;
    color: white;
}

/* ========== بخش توضیحات بلند در انتها ========== */
.full-description-section {
    background: #ffffff;
    border-radius: 32px;
    padding: 30px;
    margin-top: 50px;
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
}

.full-description-section h2 {
    color: #2b7a4b;
    margin-bottom: 20px;
    font-size: 1.7rem;
    border-right: 4px solid #2b7a4b;
    padding-right: 15px;
}

.description-content {
    line-height: 1.9;
    text-align: justify;
    color: #2c3e2f;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.33, 1, 0.68, 1);
    max-height: 370px;
}

.description-content.full {
    max-height: 2500px;
}

.description-content p {
    margin-bottom: 15px;
}

.description-content ul {
    margin: 15px 0 15px 20px;
    padding-right: 20px;
}

.description-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.btn-toggle {
    background: #2b7a4b;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
    font-size: 0.9rem;
}

.btn-toggle:hover {
    background: #1e5e3a;
}

.btn-close {
    background: #6c757d;
    margin-right: 10px;
}

.btn-close:hover {
    background: #5a6268;
}

/* بدون نوشته */
.no-posts {
    text-align: center;
    padding: 60px;
    background: #f9f9f9;
    border-radius: 24px;
    color: #666;
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .post-title {
        font-size: 1.2rem;
    }
    
    .full-description-section {
        padding: 25px;
    }
    
    .full-description-section h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .blog-category-main {
        padding: 20px 15px;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .post-image {
        height: 200px;
    }
    
    .post-content {
        padding: 15px;
    }
    
    .post-title {
        font-size: 1.1rem;
    }
    
    .full-description-section {
        padding: 20px;
    }
    
    .full-description-section h2 {
        font-size: 1.2rem;
    }
    
    .description-content {
        font-size: 0.9rem;
    }
}
/*صفحه دسته‌بندی مقالات*/