/*
Theme Name: Woodmart Child
Theme URI: https://uniwoodmart.ir/woodmart/
Description: Woodmart Child Theme for Parandeh Bird Food Shop
Author: Antigravity
Author URI: https://uniwoodmart.ir
Template: woodmart
Version: 1.0.0
Text Domain: woodmart-child
*/

/* Import Persian Web Fonts from Parent Theme */
@import url("../woodmart/fonts/uniwoodmart-fonts/fonts.css");

/* ==========================================================================
   Global Typography Override
   ========================================================================== */
body, p, h1, h2, h3, h4, h5, h6, input, button, textarea, select, 
.wd-entities-title, .product-title, .price, .menu-item, .widget-title, .banner-title {
    font-family: 'Vazir-FD', 'Vazir', 'Tahoma', sans-serif !important;
}

/* Apply Persian font to general text and links without !important to prevent breaking icon fonts */
a, span {
    font-family: 'Vazir-FD', 'Vazir', 'Tahoma', sans-serif;
}

h1, h2, h3, h4, h5, h6, .wd-entities-title, .banner-title, .title-wrapper {
    font-family: 'Sahel-FD', 'Sahel', 'Vazir-Bold-FD', 'Tahoma', sans-serif !important;
    font-weight: 700 !important;
}

/* Make numbers inside prices look native Persian and clean */
.price, .amount, .count, .quantity, .woocommerce-Price-amount {
    font-family: 'Vazir-FD', 'Tahoma', sans-serif !important;
    font-weight: 600;
}

/* ==========================================================================
   RESTORE & SECURE ICON FONTS (حفاظت و لود صحیح فونت آیکون‌ها)
   ========================================================================== */
.wd-icon, [class^="wd-icon-"], [class*=" wd-icon-"],
.wd-tools-icon:before, .wd-burger-icon:before, .wd-burger-icon:after,
.wd-burger-icon span, .wd-burger:before, .wd-burger-icon,
.wd-shopping-cart:before, .wd-wishlist:before, .wd-account-login:before,
.wd-search-icon:before, i.wd-icon, span.wd-icon,
.wd-my-account-sidebar .wd-tools-icon:before,
.wd-header-search-form-mobile .wd-search-icon:before {
    font-family: "woodmart-font" !important;
}

.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands, [class^="fa-"], [class*=" fa-"] {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands", "Font Awesome 6 Free", "Font Awesome 6 Brands", "FontAwesome" !important;
}

.elementor-icon, .elementor-icon-list-icon {
    font-family: "elementor-icons" !important;
}

/* ==========================================================================
   Theme Variables & Branding Colors
   ========================================================================== */
:root {
    --wd-primary-color: #2596be !important;      /* Brand Cyan Logo Color */
    --wd-alternative-color: #da6941 !important;  /* Complementary Orange Color */
    --wd-link-color: #2596be;
    --wd-link-color-hover: #da6941;
    
    /* Accented buttons variables and Elementor accent overrides */
    --btn-accented-bgcolor: rgb(37, 150, 190) !important;
    --btn-accented-bgcolor-hover: rgb(29, 127, 161) !important;
    --e-global-color-accent: #2596be !important;
    
    /* Custom UI values - Premium Curved Styling */
    --wd-brd-radius: 12px !important;            /* Modern soft box curves (e.g. cards, banners, dropdowns) */
    --wd-cat-brd-radius: 12px !important;        /* Categories rounding */
    --wd-btn-radius: 8px !important;             /* Custom buttons (delicate modern curve, changed from 30px pill) */
    --btn-default-brd-radius: 8px !important;    /* Standard theme default buttons */
    --btn-accented-brd-radius: 8px !important;   /* Standard theme accented/shop buttons */
    --wd-form-brd-radius: 8px !important;        /* Form fields, inputs, selects, textareas */
    --wd-bg-warm: #FDFBF7;                       /* Warm linen background */
}

/* ==========================================================================
   Global Smooth Curved Corners (Fallback Rules)
   ========================================================================== */
/* Ensure all button elements and classes are curved */
a.btn,
a.button,
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.btn,
.button,
.wp-element-button,
.elementor-button,
.wd-btn,
.wd-button {
    border-radius: var(--wd-btn-radius) !important;
}

/* Ensure all form inputs, selects, and textareas are curved */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="date"],
select,
textarea,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple,
.wd-search-form input[type="search"] {
    border-radius: var(--wd-form-brd-radius) !important;
}

/* Ensure product containers, cards, and banners are curved with clean image fitting */
.product-grid-item,
.wd-product,
.post-grid-item,
.blog-post-loop,
.category-grid-item,
.wd-cat,
.promo-banner,
.wd-banner,
.info-box,
.wd-info-box,
.wd-tab-content,
.product-image-summary,
.woocommerce-product-gallery,
.wd-search-results,
.wd-dropdown,
.wd-popup {
    border-radius: var(--wd-brd-radius) !important;
    overflow: hidden; /* Prevent child elements/images from clipping or overflowing */
}

/* Ensure inner image blocks inherit rounding if needed */
.product-grid-item .product-wrapper,
.wd-product .product-wrapper,
.category-grid-item .category-content,
.wd-cat .wd-cat-image {
    border-radius: var(--wd-brd-radius) !important;
    overflow: hidden;
}

/* ==========================================================================
   Custom Badges for Suitability (e.g., "مناسب عروس هلندی")
   ========================================================================== */
.bird-suitability-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    border-radius: 20px;
    margin: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.badge-parrot { background-color: var(--wd-alternative-color); }
.badge-canary { background-color: #F1C40F; color: #333; }
.badge-finch { background-color: #3498DB; }
.badge-general { background-color: var(--wd-primary-color); }

/* ==========================================================================
   HOMEPAGE CUSTOM DESIGN & LAYOUT (صفحه اصلی اختصاصی)
   ========================================================================== */
/* Force full-width layout on all sections of the homepage wrapper */
.home .main-page-wrapper {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

.home .main-page-wrapper > .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.home .main-page-wrapper > .container > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

.home .site-content {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}

.parvarshop-homepage-wrapper {
    background-color: var(--wd-bg-warm);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 1. Hero Section Styles */
.parvarshop-homepage-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.parvarshop-hero-section {
    position: relative;
    padding: 30px 0 70px 0 !important; /* minimized top gap from 80px to 30px */
    background: linear-gradient(135deg, #F9F6F0 0%, #F3ECE1 100%);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

/* Reset any theme main wrapper margins for the homepage */
.home .main-page-wrapper,
.home .title-bar,
.home .page-title-default {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.hero-text-col {
    flex: 1 1 500px;
}

.hero-image-col {
    flex: 1 1 450px;
    display: flex;
    justify-content: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(37, 150, 190, 0.1);
    color: var(--wd-primary-color);
    padding: 6px 16px;
    font-weight: 700;
    font-size: 13px;
    border-radius: 30px;
    margin-bottom: 20px;
    border: 1px solid rgba(37, 150, 190, 0.15);
}

.hero-title {
    font-size: 42px;
    line-height: 1.3;
    color: #2C3E50;
    margin-bottom: 20px;
}

.hero-title .highlight-text {
    color: var(--wd-primary-color);
    position: relative;
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 35px;
}

.hero-ctas {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.btn-hero-primary {
    background-color: var(--wd-primary-color);
    color: #fff !important;
    padding: 14px 28px;
    font-weight: 700;
    border-radius: var(--wd-btn-radius);
    box-shadow: 0 8px 20px rgba(37, 150, 190, 0.25);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background-color: #1d7fa1;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(37, 150, 190, 0.35);
}

.btn-hero-secondary {
    background-color: transparent;
    color: var(--wd-primary-color) !important;
    padding: 14px 28px;
    font-weight: 700;
    border-radius: var(--wd-btn-radius);
    border: 2px solid var(--wd-primary-color);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background-color: var(--wd-primary-color) !important;
    color: #ffffff !important;
    border-color: var(--wd-primary-color) !important;
    transform: translateY(-3px);
}

.hero-trust-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    border-top: 1px dashed rgba(0,0,0,0.1);
    padding-top: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 150px;
}

.trust-icon {
    font-size: 24px;
    background: #fff;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.trust-text h4 {
    font-size: 13px;
    margin: 0;
    color: #2C3E50;
    font-weight: 700;
}

.trust-text p {
    font-size: 11px;
    margin: 0;
    color: #888;
}

/* Layered Image Box */
.layered-image-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.backdrop-circle {
    position: absolute;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(230,126,34,0.12) 0%, rgba(230,126,34,0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.main-hero-image-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border: 8px solid #ffffff;
    z-index: 2;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-leaves {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.3;
}

.custom-composition-banner {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 30px;
}

.composition-header {
    font-size: 26px;
    font-weight: 900;
    color: var(--wd-primary-color);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.composition-badge {
    display: inline-block;
    background: var(--wd-alternative-color);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.composition-body {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    font-weight: 500;
}

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    padding: 12px 18px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    z-index: 4;
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.3s ease;
}

.floating-badge:hover {
    transform: scale(1.05);
}

.badge-top-right {
    top: 30px;
    right: -20px;
}

.badge-bottom-left {
    bottom: 30px;
    left: -20px;
}

.badge-icon {
    font-size: 22px;
}

.badge-info h5 {
    font-size: 12px;
    margin: 0;
    color: #2C3E50;
    font-weight: 700;
}

.badge-info p {
    font-size: 10px;
    margin: 0;
    color: #888;
}

/* 2. Categories Section Styles */
.parvarshop-categories-section {
    padding: 60px 0 !important;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 28px;
    color: #2C3E50;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--wd-primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 14px;
    color: #888;
    margin-top: 15px;
}

.categories-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.category-card {
    flex: 1 1 170px;
    max-width: 220px;
    background: #ffffff;
    border-radius: var(--wd-brd-radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(46,125,50,0.08);
    border-color: rgba(46,125,50,0.15);
}

.category-icon-wrapper {
    width: 75px;
    height: 75px;
    background: #F4F8F4;
    border-radius: 50%;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon-wrapper {
    background: var(--wd-primary-color);
}

.cat-emoji {
    font-size: 32px;
    transition: transform 0.3s ease;
}

.category-card:hover .cat-emoji {
    transform: scale(1.15) rotate(-5deg);
}

.category-name {
    font-size: 15px;
    color: #2C3E50;
    margin-bottom: 5px;
    font-weight: 700;
}

.category-count {
    font-size: 11px;
    color: #aaa;
}

/* 3. Promotional Banner */
.parvarshop-promo-banner {
    padding: 0 15px 50px 15px !important;
}

.promo-container {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--wd-alternative-color) 0%, #D35400 100%);
    border-radius: var(--wd-brd-radius);
    padding: 40px 60px;
    box-shadow: 0 10px 30px rgba(230,126,34,0.15);
    color: #ffffff;
}

.promo-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.promo-text {
    flex: 1 1 600px;
}

.promo-tag {
    background: rgba(255,255,255,0.2);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 30px;
}

.promo-text h3 {
    font-size: 26px;
    color: #ffffff !important;
    margin: 15px 0 10px 0;
}

.promo-text p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

.btn-promo-action {
    background: #ffffff;
    color: var(--wd-alternative-color) !important;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.btn-promo-action:hover {
    background: #F3ECE1;
    transform: translateY(-2px);
}

/* 4. Products Section Styles */
.parvarshop-products-section {
    padding: 50px 0 !important;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 20px;
}

.btn-view-all {
    color: var(--wd-primary-color);
    font-weight: 700;
    font-size: 14px;
    transition: color 0.3s ease;
}

.btn-view-all:hover {
    color: var(--wd-alternative-color);
}

.products-grid-custom {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.parvarshop-product-card {
    background: #ffffff;
    border-radius: var(--wd-brd-radius);
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.parvarshop-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(46,125,50,0.08);
    border-color: rgba(46,125,50,0.15);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* square ratio */
    overflow: hidden;
    background: #FAFAFA;
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.parvarshop-product-card:hover .product-img {
    transform: scale(1.06);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.parvarshop-product-card:hover .card-overlay {
    opacity: 1;
}

.btn-quick-view {
    background: #ffffff;
    color: #333 !important;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.parvarshop-product-card:hover .btn-quick-view {
    transform: translateY(0);
}

.card-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-category {
    font-size: 11px;
    color: var(--wd-primary-color);
    font-weight: 700;
    margin-bottom: 8px;
}

.card-title {
    font-size: 15px;
    margin: 0 0 10px 0;
    line-height: 1.5;
    font-weight: 700;
    height: 44px; /* fixed height for 2 lines */
    overflow: hidden;
}

.card-title a {
    color: #2C3E50 !important;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: var(--wd-primary-color) !important;
}

.card-suitability-badges {
    margin-bottom: 15px;
    min-height: 25px;
}

.card-price-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid rgba(0,0,0,0.04);
    padding-top: 15px;
}

.card-price-box {
    display: flex;
    flex-direction: column;
}

.old-price {
    font-size: 11px;
    color: #bbb;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.sale-price {
    font-size: 15px;
    color: var(--wd-alternative-color);
    font-weight: 700;
}

.normal-price {
    font-size: 15px;
    color: #2C3E50;
    font-weight: 700;
}

.btn-card-add {
    background: var(--wd-primary-color);
    color: #ffffff !important;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(46,125,50,0.2);
    transition: all 0.3s ease;
}

.btn-card-add:hover {
    background: var(--wd-alternative-color);
    transform: scale(1.08);
}

/* 5. Blog Section Styles */
.parvarshop-blog-section {
    padding: 60px 0 !important;
    background-color: #F8F5F0;
    border-top: 1px solid rgba(0,0,0,0.02);
}

.blog-grid-custom {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.parvarshop-blog-card {
    background: #ffffff;
    border-radius: var(--wd-brd-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.parvarshop-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
}

.blog-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio */
    overflow: hidden;
}

.blog-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.parvarshop-blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-img-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.blog-info {
    padding: 25px;
}

.blog-date {
    font-size: 11px;
    color: #888;
}

.blog-title {
    font-size: 17px;
    margin: 12px 0;
    font-weight: 700;
    line-height: 1.5;
}

.blog-title a {
    color: #2C3E50 !important;
}

.blog-title a:hover {
    color: var(--wd-primary-color) !important;
}

.blog-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-readmore {
    color: var(--wd-primary-color);
    font-weight: 700;
    font-size: 12px;
    transition: color 0.3s ease;
}

.blog-readmore:hover {
    color: var(--wd-alternative-color);
}

/* 6. About Section Styles */
.parvarshop-about-section {
    padding: 60px 0 !important;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.about-content-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.about-text-col {
    flex: 1 1 500px;
}

.about-stats-col {
    flex: 1 1 450px;
}

.about-text-col h3 {
    font-size: 26px;
    color: #2C3E50;
    margin-bottom: 20px;
}

.about-text-col p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-features li {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: #ffffff;
    padding: 30px;
    border-radius: var(--wd-brd-radius);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 900;
    color: var(--wd-primary-color);
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 12px;
    color: #888;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .parvarshop-hero-section {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .layered-image-container {
        width: 320px;
        height: 320px;
    }
    
    .backdrop-circle {
        width: 280px;
        height: 280px;
    }
    
    .hero-main-illustration-wrapper {
        width: 300px;
    }
    
    .hero-main-illustration {
        max-height: 250px;
    }
    
    .floating-badge {
        padding: 8px 14px;
    }
    
    .promo-container {
        padding: 30px;
    }
}

/* Custom Hero main illustration */
.hero-main-illustration-wrapper {
    position: relative;
    width: 480px;
    height: auto;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-main-illustration {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.12));
    animation: floatIllustration 6s ease-in-out infinite;
}

@keyframes floatIllustration {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* ==========================================================================
   Simplify WooCommerce Checkout & Cart Flow (ساده‌سازی فرآیند خرید)
   ========================================================================== */
/* Premium UI/UX Checkout styling */
.woocommerce-checkout {
    background-color: #f8f9fa;
    padding-bottom: 60px;
}

.woocommerce-checkout .col2-set {
    margin-bottom: 30px;
}

.woocommerce-checkout form .form-row {
    margin-bottom: 20px;
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout #order_review {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 16px !important;
    padding: 35px !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.03) !important;
    margin-bottom: 30px !important;
}

.woocommerce-checkout #order_review_heading {
    margin-top: 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #2C3E50 !important;
    border-bottom: 2px solid #f1f3f5 !important;
    padding-bottom: 12px !important;
    margin-bottom: 25px !important;
}

.woocommerce-checkout .woocommerce-billing-fields h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #2C3E50 !important;
    border-bottom: 2px solid #f1f3f5 !important;
    padding-bottom: 12px !important;
    margin-bottom: 25px !important;
}

/* Rounded inputs and fields */
.woocommerce-checkout form .form-row input.input-text, 
.woocommerce-checkout form .form-row select, 
.woocommerce-checkout form .form-row textarea {
    border-radius: 10px !important;
    border: 1.5px solid #e9ecef !important;
    background-color: #fafbfc !important;
    font-size: 14px !important;
    padding: 12px 18px !important;
    height: 50px !important;
    color: #495057 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    width: 100% !important;
}

.woocommerce-checkout form .form-row input.input-text:focus, 
.woocommerce-checkout form .form-row select:focus, 
.woocommerce-checkout form .form-row textarea:focus {
    border-color: var(--wd-primary-color) !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(37, 150, 190, 0.12) !important;
    outline: none !important;
}

/* Coupon info block styling */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-info {
    border-radius: 12px !important;
    background-color: #eef7f9 !important;
    border: 1px solid rgba(37, 150, 190, 0.2) !important;
    color: #1f6b85 !important;
    font-size: 14px !important;
    padding: 18px 24px !important;
    box-shadow: 0 4px 12px rgba(37, 150, 190, 0.05) !important;
    margin-bottom: 25px !important;
}

/* Place order button design */
#place_order {
    background: linear-gradient(135deg, var(--wd-primary-color) 0%, #1d7fa1 100%) !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    height: 54px !important;
    padding: 0 35px !important;
    box-shadow: 0 8px 24px rgba(37, 150, 190, 0.28) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    width: 100% !important;
    cursor: pointer;
}

#place_order:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(37, 150, 190, 0.38) !important;
    background: linear-gradient(135deg, #1d7fa1 0%, #176682 100%) !important;
}

/* Payment gateway list styling */
.woocommerce-checkout #payment {
    background: #f8f9fa !important;
    border-radius: 12px !important;
    padding: 20px !important;
    border: 1px solid #f1f3f5 !important;
}

.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid #e9ecef !important;
    padding-bottom: 15px !important;
    margin-bottom: 15px !important;
}

.woocommerce-checkout #payment ul.payment_methods li {
    font-size: 14px !important;
    color: #495057 !important;
}

.woocommerce-checkout #payment div.payment_box {
    background: #ffffff !important;
    border: 1px solid #e9ecef !important;
    border-radius: 8px !important;
    padding: 15px !important;
    font-size: 13px !important;
    color: #6c757d !important;
    margin-top: 10px !important;
}

/* Simplify Cart Page Layout */
.woocommerce-cart-form {
    background: #fff;
    border-radius: var(--wd-brd-radius);
    padding: 20px;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    margin-bottom: 30px;
}

.cart-collaterals {
    background: #fff;
    border-radius: var(--wd-brd-radius);
    padding: 30px;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.cart-collaterals .checkout-button {
    background: linear-gradient(135deg, var(--wd-alternative-color) 0%, #D35400 100%) !important;
    border-radius: 10px !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    height: 50px !important;
    line-height: 50px !important;
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.25) !important;
    transition: all 0.3s ease !important;
    text-align: center;
    border: none !important;
}

.cart-collaterals .checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(230, 126, 34, 0.35) !important;
}

/* ==========================================================================
   PROFESSIONAL HEADER & NAVIGATION STYLING (طراحی حرفه‌ای هدر و منو)
   ========================================================================== */
/* Generic Header Adjustments */
.whb-header {
    background-color: #ffffff;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 0px !important; /* set to 0px (minimized) to completely eliminate bottom spacing gap */
    border-bottom-left-radius: 24px !important;
    border-bottom-right-radius: 24px !important;
}

.whb-row {
    border-bottom: none !important;
}

.whb-general-header {
    background-color: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03) !important;
}

/* Custom Styled Top Bar - Disabled by database config, but styles kept for safety */
.whb-top-bar {
    background-color: var(--wd-primary-color) !important;
    color: #ffffff !important;
    border-bottom: none !important;
}

.whb-top-bar a,
.whb-top-bar span,
.whb-top-bar p,
.whb-top-bar .wd-header-text,
.whb-top-bar .wd-tools-icon {
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.whb-top-bar a:hover {
    opacity: 0.85 !important;
}

.whb-top-bar .wd-social-icon a {
    color: #ffffff !important;
}

/* Solid Curved Bottom Row Design */
.whb-header-bottom {
    background-color: #ffffff !important;
    border-bottom: 2px solid rgba(37, 150, 190, 0.15) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
    padding: 2px 0 !important;
}

/* Categories Dropdown Button (Pill Design) */
.wd-header-cats {
    margin-left: 15px !important;
}

.wd-header-cats .menu-opener {
    background: linear-gradient(135deg, #2596be 0%, #1d7fa1 100%) !important;
    border-radius: 30px !important;
    padding: 0 24px !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(37, 150, 190, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    border: none !important;
}

.wd-header-cats .menu-opener:hover {
    background: linear-gradient(135deg, #da6941 0%, #bd532d 100%) !important;
    box-shadow: 0 6px 20px rgba(218, 105, 65, 0.35) !important;
    transform: translateY(-2px);
}

.wd-header-cats .menu-opener .menu-opener-icon {
    color: #ffffff !important;
}

.wd-header-cats .menu-opener .menu-open-label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    font-family: 'Sahel-FD', 'Vazir', sans-serif !important;
}

/* Curved Categories Dropdown Menu */
.wd-dropdown-cats {
    border-radius: 20px !important;
    overflow: hidden !important;
    border: 2px solid rgba(37, 150, 190, 0.15) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
    background-color: #ffffff !important;
    padding: 10px 0 !important;
    margin-top: 10px !important;
    transition: all 0.3s ease !important;
}

.wd-dropdown-cats ul.menu {
    padding: 0 !important;
    margin: 0 !important;
}

.wd-dropdown-cats ul.menu li a {
    display: flex !important;
    align-items: center !important;
    padding: 12px 24px !important;
    color: #2C3E50 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.02) !important;
}

.wd-dropdown-cats ul.menu li:last-child a {
    border-bottom: none !important;
}

.wd-dropdown-cats ul.menu li a:hover {
    background-color: rgba(37, 150, 190, 0.06) !important;
    color: var(--wd-primary-color) !important;
    padding-right: 28px !important; /* soft RTL slide */
}

/* Compact Main Navigation */
.wd-nav-main {
    height: 100%;
}

.wd-nav-main > li > a {
    color: #2C3E50 !important; /* Professional slate color */
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 6px 18px !important; /* capsule style padding */
    border-radius: 25px !important; /* rounded capsule */
    transition: all 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
}

.wd-nav-main > li:hover > a,
.wd-nav-main > li.current-menu-item > a {
    color: var(--wd-primary-color) !important;
    background-color: rgba(37, 150, 190, 0.08) !important; /* soft capsule hover */
}

.wd-nav-main > li > a .nav-link-text {
    position: relative;
}

.wd-nav-main > li > a .nav-link-text::after {
    display: none !important; /* hide standard underline */
}

/* Mega Menu Dropdowns */
.wd-dropdown-menu {
    border-radius: 16px !important; /* Curved dropdowns */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    padding: 20px !important;
}

.wd-dropdown-menu .wd-nav-sub_menu > li > a {
    font-size: 13.5px !important;
    color: #4A5568 !important;
    font-weight: 500;
}

.wd-dropdown-menu .wd-nav-sub_menu > li > a:hover {
    color: var(--wd-primary-color) !important;
}

/* Sleek AJAX Search Form */
.wd-search-form {
    max-width: 520px !important;
    width: 100%;
    margin: 0 auto;
}

.searchform {
    border: 2px solid rgba(37, 150, 190, 0.15) !important;
    border-radius: 35px !important;
    background-color: #F8FAFC !important;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 44px !important;
}

.searchform:focus-within {
    border-color: var(--wd-primary-color) !important;
    background-color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(37, 150, 190, 0.12) !important;
}

.searchform input[type="text"] {
    background-color: transparent !important;
    border: none !important;
    height: 100% !important;
    padding: 0 20px !important;
    font-size: 13px !important;
    color: #2C3E50 !important;
}

.searchform input[type="text"]::placeholder {
    color: #94A3B8 !important;
}

.searchform button[type="submit"] {
    background-color: var(--wd-primary-color) !important;
    color: #ffffff !important;
    height: 100% !important;
    width: 48px !important;
    border: none !important;
    transition: background-color 0.25s ease !important;
}

.searchform button[type="submit"]:hover {
    background-color: #1d7fa1 !important;
}

/* Header Action Tools (Cart, Account, Wishlist) */
.wd-tools-element > a {
    color: #2C3E50 !important;
    font-weight: 600 !important;
    transition: color 0.25s ease !important;
}

.wd-tools-element:hover > a {
    color: var(--wd-primary-color) !important;
}

.wd-tools-icon {
    font-size: 19px !important;
    color: #2C3E50 !important;
    transition: color 0.25s ease !important;
}

.wd-tools-element:hover .wd-tools-icon {
    color: var(--wd-primary-color) !important;
}

.wd-cart-number, .wd-wishlist-count {
    background-color: var(--wd-alternative-color) !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    height: 16px !important;
    min-width: 16px !important;
    line-height: 16px !important;
    top: -2px !important;
    right: -6px !important;
    font-family: 'Vazir-FD', sans-serif !important;
}

/* Mobile Header Custom Styling */
@media (max-width: 1024px) {
    .whb-row.whb-general-header {
        height: 55px !important;
    }
    
    .wd-logo img {
        max-height: 38px !important;
        width: auto !important;
        object-fit: contain;
        padding: 2px 0;
    }
    
    .wd-tools-element.wd-header-mobile-nav > a,
    .wd-header-cart.wd-tools-element > a {
        color: #2C3E50 !important;
    }
    
    .wd-burger-icon .wd-burger {
        background-color: #2C3E50 !important;
    }
    
    .wd-burger-icon .wd-burger::before,
    .wd-burger-icon .wd-burger::after {
        background-color: #2C3E50 !important;
    }
}

/* ==========================================================================
   PROFESSIONAL FOOTER STYLING (طراحی حرفه‌ای فوتر)
   ========================================================================== */
/* Force dark background for all footer areas */
.footer-container,
.footer-widget-html,
.footer-container .elementor-container,
.footer-container .elementor-row,
[data-elementor-type="wp-post"].footer-container {
    background-color: #0F172A !important; /* Premium Dark Slate-900 */
}

/* Force standard light color scheme on all headers/titles in footer */
.footer-container h1, .footer-container h2, .footer-container h3, .footer-container h4, .footer-container h5, .footer-container h6,
.footer-container .elementor-heading-title,
.footer-container .wd-text-block h1, .footer-container .wd-text-block h2, .footer-container .wd-text-block h3, .footer-container .wd-text-block h4,
.footer-container .widget-title,
.footer-container .title {
    color: #ffffff !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    font-family: 'Sahel-FD', sans-serif !important;
}

/* Force standard soft gray color scheme on all general text, paragraphs, lists in footer */
.footer-container p, 
.footer-container span, 
.footer-container li, 
.footer-container div,
.footer-container td,
.footer-container .wd-text-block, 
.footer-container .wd-text-block p,
.footer-container .elementor-text-editor,
.footer-container .list-content {
    color: #CBD5E1 !important; /* slate-300 for premium high-contrast readability */
    font-size: 13.5px !important;
    line-height: 1.8 !important;
}

/* Force standard color on all links and list items in footer */
.footer-container a,
.footer-container a span,
.footer-container .wd-list a,
.footer-container .list-link {
    color: #CBD5E1 !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

/* Force brand cyan color on link hover states */
.footer-container a:hover,
.footer-container a:hover span,
.footer-container .wd-list a:hover,
.footer-container .list-link:hover {
    color: var(--wd-primary-color) !important;
    padding-right: 4px; /* subtle slide-out animation on hover for RTL lists */
}

/* Custom list layout inside footer */
.footer-container ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-container ul li {
    margin-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Social Buttons styling in Footer */
.footer-container .wd-social-buttons {
    margin-top: 20px !important;
}

.footer-container .wd-social-buttons a {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    text-align: center !important;
    display: inline-block !important;
    transition: all 0.25s ease !important;
}

.footer-container .wd-social-buttons a:hover {
    background-color: var(--wd-primary-color) !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
}

/* Divider styling */
.footer-container hr {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Mobile Responsiveness for footer */
@media (max-width: 767px) {
    .footer-row {
        flex-direction: column !important;
        gap: 30px !important;
    }
    
    .footer-col {
        text-align: center !important;
    }
    
    .footer-col img {
        margin: 0 auto 15px auto !important;
    }
    
    .footer-container ul li {
        justify-content: center !important;
    }
}

/* ==========================================================================
   PREMIUM SINGLE PRODUCT PAGE REDESIGN (طراحی مدرن و حرفه‌ای صفحه محصول)
   ========================================================================== */

/* 1. Gallery and Thumbnail Rounded Styles */
.woocommerce-product-gallery {
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.02) !important;
    padding: 10px !important;
}

.woocommerce-product-gallery__image img {
    border-radius: 16px !important;
    transition: transform 0.5s ease;
}

.woocommerce-product-gallery__image:hover img {
    transform: scale(1.02);
}

.wd-carousel-container.wd-gallery-thumb .tns-item img {
    border-radius: 8px !important;
    border: 2px solid transparent !important;
    transition: all 0.2s ease !important;
}

.wd-carousel-container.wd-gallery-thumb .tns-item-active img {
    border-color: var(--wd-primary-color) !important;
}

/* 2. Product Summary Typography, Price & Badges */
.wd-single-title .entry-title {
    color: #0F172A !important; /* Premium slate dark */
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    font-family: 'Sahel-FD', 'Vazir', sans-serif !important;
    margin-bottom: 15px !important;
}

.wd-single-price .price {
    font-size: 24px !important;
    color: var(--wd-primary-color) !important;
    font-weight: 700 !important;
    font-family: 'Vazir-FD', sans-serif !important;
}

.wd-single-price .price del {
    font-size: 16px !important;
    color: #94A3B8 !important;
    margin-left: 10px !important;
}

.wd-single-price .price ins {
    text-decoration: none !important;
    color: var(--wd-alternative-color) !important; /* Complementary Orange for Sale Price */
}

/* 3. Add to Cart Capsule Button & Quantity Selector */
.wd-single-add-cart form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    margin-top: 25px !important;
    margin-bottom: 25px !important;
}

.wd-single-add-cart button.single_add_to_cart_button {
    background: linear-gradient(135deg, #2596be 0%, #1d7fa1 100%) !important;
    color: #ffffff !important;
    height: 48px !important;
    border-radius: 10px !important; /* Slightly curved */
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 0 36px !important;
    border: none !important;
    box-shadow: 0 8px 20px rgba(37, 150, 190, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    flex-grow: 1 !important;
    max-width: 280px !important;
}

.wd-single-add-cart button.single_add_to_cart_button:hover {
    background: linear-gradient(135deg, #da6941 0%, #bd532d 100%) !important; /* Complementary orange hover */
    box-shadow: 0 10px 25px rgba(218, 105, 65, 0.35) !important;
    transform: translateY(-2px) !important;
}

.wd-single-add-cart .quantity {
    height: 48px !important;
    border-radius: 10px !important; /* Slightly curved */
    border: 2px solid rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
    display: inline-flex !important;
    align-items: center !important;
    background-color: #F8FAFC !important;
}

.wd-single-add-cart .quantity input[type="button"] {
    background-color: transparent !important;
    color: #475569 !important;
    width: 35px !important;
    height: 100% !important;
    border: none !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

.wd-single-add-cart .quantity input[type="button"]:hover {
    background-color: rgba(0, 0, 0, 0.04) !important;
}

.wd-single-add-cart .quantity input[type="number"] {
    width: 45px !important;
    height: 100% !important;
    border: none !important;
    background-color: transparent !important;
    color: #0F172A !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    font-family: 'Vazir-FD', sans-serif !important;
}

/* 4. Specifications/Attributes Table Redesign */
table.shop_attributes {
    border-collapse: collapse !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    width: 100% !important;
    margin-top: 20px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01) !important;
}

table.shop_attributes tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    transition: background-color 0.2s ease !important;
}

table.shop_attributes tr:last-child {
    border-bottom: none !important;
}

table.shop_attributes tr:nth-child(even) {
    background-color: #F8FAFC !important;
}

table.shop_attributes tr:hover {
    background-color: rgba(37, 150, 190, 0.03) !important;
}

table.shop_attributes th {
    color: #475569 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    padding: 12px 18px !important;
    text-align: right !important;
    width: 150px !important;
    background-color: rgba(0, 0, 0, 0.01) !important;
    border-left: 1px solid rgba(0, 0, 0, 0.04) !important;
}

table.shop_attributes td {
    color: #0F172A !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    padding: 12px 18px !important;
    text-align: right !important;
    font-family: 'Vazir-FD', sans-serif !important;
}

/* 5. User Reviews Block Redesign (Bubble-Cards) */
#reviews {
    margin-top: 40px !important;
}

#reviews #comments h2.woocommerce-Reviews-title {
    font-size: 20px !important;
    color: #0F172A !important;
    font-weight: 700 !important;
    margin-bottom: 25px !important;
    font-family: 'Sahel-FD', sans-serif !important;
}

.commentlist {
    padding: 0 !important;
    margin: 0 0 30px 0 !important;
    list-style: none !important;
}

.commentlist li.review {
    background-color: #F8FAFC !important;
    border-radius: 16px !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(37, 150, 190, 0.06) !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 15px !important;
    align-items: flex-start !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.commentlist li.review:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(37, 150, 190, 0.05) !important;
}

.commentlist li.review img.avatar {
    border-radius: 50% !important;
    border: 3px solid #ffffff !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06) !important;
    width: 60px !important;
    height: 60px !important;
    background-color: #ffffff !important;
    object-fit: cover !important;
    margin: 0 !important;
}

.commentlist li.review .comment-text {
    flex-grow: 1 !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.commentlist li.review .comment-text .meta {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 8px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.commentlist li.review .comment-text .meta strong.woocommerce-review__author {
    font-size: 14.5px !important;
    color: #0F172A !important;
    font-weight: 700 !important;
}

.commentlist li.review .comment-text .meta time.woocommerce-review__published-date {
    font-size: 11.5px !important;
    color: #64748B !important;
    font-family: 'Vazir-FD', sans-serif !important;
}

.commentlist li.review .comment-text .description {
    color: #334155 !important;
    font-size: 13.5px !important;
    line-height: 1.8 !important;
}

.commentlist li.review .star-rating {
    float: none !important;
    margin: 0 0 5px 0 !important;
    color: #F1C40F !important; /* Gold stars */
    font-size: 12px !important;
}

/* Review Submit Form */
#review_form_wrapper {
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 16px !important;
    padding: 25px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.02) !important;
}

#review_form_wrapper #reply-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    margin-bottom: 20px !important;
    font-family: 'Sahel-FD', sans-serif !important;
}

#review_form_wrapper form.comment-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

#review_form_wrapper form.comment-form p.comment-form-comment textarea {
    border-radius: 8px !important;
    border: 1.5px solid #E2E8F0 !important;
    background-color: #F8FAFC !important;
    padding: 12px 15px !important;
    font-size: 13.5px !important;
    transition: all 0.25s ease !important;
    min-height: 120px !important;
}

#review_form_wrapper form.comment-form p.comment-form-comment textarea:focus {
    border-color: var(--wd-primary-color) !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(37, 150, 190, 0.1) !important;
    outline: none !important;
}

#review_form_wrapper form.comment-form p.comment-form-author input,
#review_form_wrapper form.comment-form p.comment-form-email input {
    border-radius: 8px !important;
    border: 1.5px solid #E2E8F0 !important;
    background-color: #F8FAFC !important;
    padding: 10px 15px !important;
    font-size: 13.5px !important;
    height: 42px !important;
    transition: all 0.25s ease !important;
}

#review_form_wrapper form.comment-form p.comment-form-author input:focus,
#review_form_wrapper form.comment-form p.comment-form-email input:focus {
    border-color: var(--wd-primary-color) !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(37, 150, 190, 0.1) !important;
    outline: none !important;
}

#review_form_wrapper form.comment-form input[type="submit"] {
    background: linear-gradient(135deg, #2596be 0%, #1d7fa1 100%) !important;
    color: #ffffff !important;
    border-radius: 30px !important;
    height: 44px !important;
    padding: 0 30px !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(37, 150, 190, 0.2) !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    align-self: flex-start !important;
}

#review_form_wrapper form.comment-form input[type="submit"]:hover {
    background: linear-gradient(135deg, #da6941 0%, #bd532d 100%) !important;
    box-shadow: 0 6px 20px rgba(218, 105, 65, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* 6. Related Products Cards */
.related-and-upsells .wd-products-element {
    margin-top: 30px !important;
}

.related-and-upsells .wd-title h2 {
    font-family: 'Sahel-FD', sans-serif !important;
    font-weight: 700 !important;
    color: #0F172A !important;
}

.product-grid-item {
    background-color: #ffffff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01) !important;
    transition: all 0.3s ease !important;
}

.product-grid-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 30px rgba(37, 150, 190, 0.08) !important;
    border-color: rgba(37, 150, 190, 0.15) !important;
}

.product-grid-item .wd-entities-title a {
    font-family: 'Sahel-FD', 'Vazir', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
    color: #1E293B !important;
}

.product-grid-item .price {
    font-family: 'Vazir-FD', sans-serif !important;
    font-size: 15px !important;
    color: var(--wd-primary-color) !important;
}

/* Restore woodmart-font and force correct unicode characters for WooCommerce/Woodmart star rating icons */
.star-rating,
.star-rating span,
.star-rating:before,
.star-rating span:before,
.stars a,
.stars a:before,
.comment-form-rating .stars a,
.comment-form-rating .stars a:before,
.wd-rating-summary .star-rating,
.wd-rating-summary .star-rating span {
    font-family: "woodmart-font" !important;
    font-style: normal !important;
    font-weight: normal !important;
    text-decoration: none !important;
    text-transform: none !important;
    speak: never;
}

/* Force correct content characters for empty and filled stars */
.star-rating:before {
    content: "\f149" "\f149" "\f149" "\f149" "\f149" !important;
    color: var(--color-gray-300) !important;
}

.star-rating span:before {
    content: "\f148" "\f148" "\f148" "\f148" "\f148" !important;
    color: #F1C40F !important; /* Premium Gold/Yellow color for filled stars */
}

/* Review form rating stars selector */
.stars a:before {
    font-family: "woodmart-font" !important;
}

.stars:hover a:before, 
.stars.selected a:before, 
.stars.selected:hover a:before {
    content: "\f148" !important;
    color: #F1C40F !important;
}

.stars a:before, 
.stars a:hover ~ a:before,
.stars a.active ~ a:before, 
.stars.selected:hover a:hover ~ a:before {
    content: "\f149" !important;
    color: var(--color-gray-300) !important;
}

/* WooCommerce Pages Spacing Fix under Overlay Sticky Header */
.woocommerce-cart .website-wrapper > .main-page-wrapper, 
.woocommerce-checkout .website-wrapper > .main-page-wrapper, 
.woocommerce-account .website-wrapper > .main-page-wrapper {
    margin-top: 0px !important;
}

/* Make all buttons on WooCommerce cart, checkout, and single product pages slightly curved (10px) */
.woocommerce-cart button.button,
.woocommerce-cart input.button,
.woocommerce-cart a.button,
.woocommerce-checkout button.button,
.woocommerce-checkout input.button,
.woocommerce-checkout a.button,
.woocommerce-checkout #place_order,
.woocommerce-cart .checkout-button,
.single-product button.single_add_to_cart_button {
    border-radius: 10px !important;
}

/* ==========================================================================
   BLOG & MAGAZINE POST SECTION REDESIGN
   ========================================================================== */

/* Reading Progress Bar */
.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.05);
    z-index: 99999;
}
#reading-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--wd-primary-color), var(--wd-alternative-color));
    transition: width 0.1s ease-out;
}

/* Page Layout Spacing */
.main-container-post {
    padding-top: 40px;
    padding-bottom: 60px;
}

/* Article Styling */
.parandeh-single-article {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    margin-bottom: 40px;
    border: 1px solid rgba(0,0,0,0.03);
}

/* Breadcrumbs */
.post-breadcrumbs {
    font-size: 13px;
    color: #888888;
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.post-breadcrumbs a {
    color: #666666;
    transition: color 0.2s ease;
}
.post-breadcrumbs a:hover {
    color: var(--wd-primary-color);
}
.post-breadcrumbs .breadcrumb-separator {
    color: #cccccc;
}
.post-breadcrumbs .active {
    color: #999999;
}

/* Header Section */
.post-header-section {
    margin-bottom: 30px;
}
.post-category-badges {
    margin-bottom: 15px;
}
.post-category-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff !important;
    border-radius: 30px;
    margin-left: 8px;
    margin-bottom: 8px;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.post-category-badge:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}
/* Category dynamic colors */
.post-category-badge.badge-parrots, 
.post-category-badge.badge-طوطی-سانان { background-color: var(--wd-alternative-color); }
.post-category-badge.badge-birds,
.post-category-badge.badge-پرندگان { background-color: var(--wd-primary-color); }

/* Main Post Title */
.post-main-title {
    font-size: 32px;
    line-height: 1.4;
    color: #1a202c;
    margin-top: 10px;
    margin-bottom: 20px;
    font-family: 'Sahel-FD', 'Sahel', sans-serif !important;
    font-weight: 800 !important;
}

/* Post Meta Info */
.post-meta-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 30px;
    gap: 15px;
}
.post-meta-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.author-avatar-img {
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.author-name {
    font-size: 14px;
    color: #4a5568;
}
.post-meta-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    font-size: 13.5px;
    color: #718096;
}
.post-meta-details span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.post-meta-details i {
    color: var(--wd-primary-color);
}
.post-meta-details a {
    color: #718096;
}
.post-meta-details a:hover {
    color: var(--wd-primary-color);
}

/* Featured Image */
.post-featured-image-wrapper {
    margin-bottom: 40px;
    border-radius: var(--wd-brd-radius);
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
}
.post-featured-image-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 500px;
    display: block;
    transition: transform 0.5s ease;
}
.post-featured-image-wrapper:hover .post-featured-image-img {
    transform: scale(1.02);
}

/* Layout for Article content & sticky sharing */
.post-article-layout {
    display: flex;
    position: relative;
    gap: 30px;
}

/* Sticky Sharing (Desktop) */
.post-sharing-desktop {
    width: 60px;
    flex-shrink: 0;
}
.sticky-sharing-wrapper {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: #f7fafc;
    padding: 15px 10px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #edf2f7;
}
.share-text-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 11px;
    color: #a0aec0;
    margin-bottom: 5px;
    font-weight: 600;
}
.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.share-btn svg {
    width: 18px;
    height: 18px;
    fill: #718096;
    transition: fill 0.2s ease;
}
.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.08);
}
.share-telegram:hover { background-color: #0088cc; border-color: #0088cc; }
.share-whatsapp:hover { background-color: #25d366; border-color: #25d366; }
.share-twitter:hover { background-color: #000000; border-color: #000000; }
.share-copy-link:hover { background-color: var(--wd-primary-color); border-color: var(--wd-primary-color); }

.share-btn:hover svg {
    fill: #ffffff;
}
.share-btn.copied {
    background-color: #48bb78 !important;
    border-color: #48bb78 !important;
}
.share-btn.copied svg {
    fill: #ffffff !important;
}

/* Post Content Container */
.post-content-container {
    flex-grow: 1;
    max-width: 800px;
    margin: 0 auto;
}

/* Table of Contents (TOC) */
.toc-container {
    background-color: #fcfbfa;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 35px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}
.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf2f7;
    margin-bottom: 15px;
}
.toc-title-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2d3748;
}
.toc-title-wrapper i {
    color: var(--wd-primary-color);
}
.toc-title {
    font-size: 16px;
    font-weight: 700;
}
.toc-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #718096;
    padding: 2px 8px;
    transition: color 0.2s ease;
}
.toc-toggle-btn:hover {
    color: var(--wd-primary-color);
}
.toc-list {
    list-style: none;
    padding-right: 0 !important;
    margin-bottom: 0;
}
.toc-item {
    margin-bottom: 10px;
}
.toc-item a {
    color: #4a5568;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease, padding-right 0.2s ease;
    display: inline-block;
}
.toc-item a:hover {
    color: var(--wd-primary-color);
    padding-right: 6px;
}
.toc-h2 {
    padding-right: 15px;
    position: relative;
}
.toc-h2::before {
    content: "•";
    position: absolute;
    right: 0;
    color: var(--wd-primary-color);
    font-weight: bold;
}
.toc-h3 {
    padding-right: 30px;
    position: relative;
}
.toc-h3::before {
    content: "◦";
    position: absolute;
    right: 15px;
    color: var(--wd-alternative-color);
}

/* Post Article Body styling */
.post-article-body {
    color: #2d3748;
    font-size: 17.5px;
    line-height: 1.85;
    font-family: 'Vazir-FD', 'Vazir', sans-serif !important;
}
.post-article-body p {
    margin-bottom: 1.6em;
    text-align: justify;
}
.post-article-body h2 {
    font-size: 24px;
    color: #1a202c;
    margin-top: 1.8em;
    margin-bottom: 0.8em;
    font-family: 'Sahel-FD', 'Sahel', sans-serif !important;
    font-weight: 700 !important;
    border-right: 4px solid var(--wd-primary-color);
    padding-right: 12px;
}
.post-article-body h3 {
    font-size: 20px;
    color: #2d3748;
    margin-top: 1.6em;
    margin-bottom: 0.8em;
    font-family: 'Sahel-FD', 'Sahel', sans-serif !important;
    font-weight: 700 !important;
    border-right: 3px solid var(--wd-alternative-color);
    padding-right: 10px;
}
.post-article-body ul, .post-article-body ol {
    margin-bottom: 1.6em;
    padding-right: 25px;
}
.post-article-body li {
    margin-bottom: 8px;
}

/* Blockquotes & Callouts */
.post-article-body blockquote {
    background-color: #f7fafc;
    border-right: 5px solid var(--wd-primary-color);
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #4a5568;
}

/* Post Tags */
.post-tags-wrapper {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.tags-label {
    font-size: 14px;
    color: #718096;
    font-weight: 600;
}
.post-tags-wrapper a {
    background: #f1f5f9;
    color: #475569;
    padding: 5px 12px;
    font-size: 13px;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.post-tags-wrapper a:hover {
    background: var(--wd-primary-color);
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Author Biography Card */
.post-author-bio-card {
    display: flex;
    background: #fdfbf7;
    border: 1px solid #f5efe6;
    border-radius: 16px;
    padding: 25px;
    margin-top: 45px;
    gap: 20px;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.author-bio-avatar-img {
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.author-bio-details {
    flex-grow: 1;
}
.author-bio-name {
    font-size: 18px;
    color: #1a202c;
    margin-bottom: 8px;
    font-weight: 700;
}
.author-bio-text {
    font-size: 14.5px;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 12px;
}
.author-bio-website {
    font-size: 13px;
    color: var(--wd-primary-color);
    font-weight: 600;
    text-decoration: underline;
}
.author-bio-website:hover {
    color: var(--wd-alternative-color);
}

/* Post Navigation (Prev/Next Cards) */
.post-navigation-container {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #edf2f7;
    gap: 20px;
}
.post-nav-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.post-nav-prev {
    align-items: flex-start;
}
.post-nav-next {
    align-items: flex-end;
}
.nav-direction {
    font-size: 12px;
    color: #a0aec0;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
}
.nav-post-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #2d3748;
    transition: color 0.2s ease;
}
.post-nav-next .nav-post-link {
    flex-direction: row-reverse;
}
.nav-thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.nav-post-title {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.4;
    max-width: 200px;
    transition: color 0.2s ease;
}
.nav-post-link:hover .nav-post-title {
    color: var(--wd-primary-color);
}

/* Related Posts Section */
.related-posts-section {
    margin-top: 50px;
    padding-top: 35px;
    border-top: 1px solid #edf2f7;
}
.related-posts-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a202c;
    position: relative;
    padding-bottom: 10px;
}
.related-posts-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: var(--wd-primary-color);
    border-radius: 3px;
}
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.related-post-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.related-post-thumbnail {
    height: 160px;
    overflow: hidden;
}
.related-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.related-post-card:hover .related-thumb-img {
    transform: scale(1.05);
}
.related-post-details {
    padding: 15px;
}
.related-post-card-title {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 10px;
    max-height: 44px;
    overflow: hidden;
}
.related-post-card-title a {
    color: #2d3748;
    transition: color 0.2s ease;
}
.related-post-card-title a:hover {
    color: var(--wd-primary-color);
}
.related-post-card-date {
    font-size: 12px;
    color: #a0aec0;
}

/* Sharing for Mobile */
.post-sharing-mobile {
    display: none;
    margin-top: 30px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 12px;
}
.share-text-label-mobile {
    font-size: 13px;
    color: #4a5568;
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}
.sharing-buttons-mobile {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.share-btn-m {
    flex-grow: 1;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #ffffff !important;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.share-btn-m:hover {
    opacity: 0.9;
}
.share-btn-m.share-telegram { background-color: #0088cc; }
.share-btn-m.share-whatsapp { background-color: #25d366; }
.share-btn-m.share-twitter { background-color: #000000; }
.share-btn-m.share-copy-link { background-color: var(--wd-primary-color); }

/* ==========================================================================
   REDESIGNED COMMENTS SECTION (بخش نظرات حرفه‌ای)
   ========================================================================== */
.comments-area {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #edf2f7;
}
.comments-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}
.comments-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: var(--wd-primary-color);
    border-radius: 3px;
}
.comments-title span {
    font-size: 15px;
    color: #718096;
    font-weight: 400;
}
.comment-list {
    list-style: none;
    padding-right: 0 !important;
    margin-bottom: 40px;
}

/* Individual Comment Styling */
.comment-list li.comment {
    margin-bottom: 30px;
}
.comment-body {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    padding: 22px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.comment-body:hover {
    border-color: #e2e8f0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}
.comment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}
.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.comment-author img.avatar {
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}
.comment-author b.fn {
    font-size: 15px;
    color: #2d3748;
    font-weight: 700;
}
.comment-metadata {
    font-size: 12px;
    color: #a0aec0;
}
.comment-metadata a {
    color: #a0aec0;
}
.comment-content {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 15px;
}
.comment-content p {
    margin-bottom: 0;
}
.reply {
    text-align: left;
}
.reply a.comment-reply-link {
    display: inline-block;
    padding: 6px 16px;
    background: #f7fafc;
    color: #4a5568;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.2s ease;
    border: 1px solid #edf2f7;
}
.reply a.comment-reply-link:hover {
    background: var(--wd-primary-color);
    color: #ffffff !important;
    border-color: var(--wd-primary-color);
    transform: translateY(-1px);
}

/* Thread Nesting / Children */
.comment-list .children {
    list-style: none;
    padding-right: 40px !important;
    margin-top: 20px;
    border-right: 2px solid #edf2f7;
    position: relative;
}

/* Comment Form styling */
.comment-respond {
    background: #fdfbf7;
    border: 1px solid #f5efe6;
    border-radius: 16px;
    padding: 30px;
    margin-top: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
#reply-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a202c;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#cancel-comment-reply-link {
    font-size: 13px;
    color: #e53e3e;
    font-weight: 600;
    text-decoration: underline;
}
.comment-form p {
    margin-bottom: 20px;
}
.comment-form label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14.5px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form textarea:focus {
    border-color: var(--wd-primary-color);
    box-shadow: 0 0 0 3px rgba(37, 150, 190, 0.15);
}
.comment-form textarea {
    resize: vertical;
    min-height: 150px;
}
.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px !important;
}
.comment-form-cookies-consent input {
    margin: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.comment-form-cookies-consent label {
    margin: 0;
    font-size: 13px;
    color: #718096;
    cursor: pointer;
    font-weight: 400;
}
.comment-form-submit {
    margin-bottom: 0 !important;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .post-sharing-desktop {
        display: none;
    }
    .post-sharing-mobile {
        display: block;
    }
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .parandeh-single-article {
        padding: 20px;
    }
    .post-main-title {
        font-size: 24px;
    }
    .post-meta-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    .post-meta-details {
        gap: 12px;
    }
    .post-navigation-container {
        flex-direction: column;
        gap: 25px;
    }
    .post-nav-next {
        align-items: flex-start;
    }
    .post-nav-next .nav-post-link {
        flex-direction: row;
    }
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    .comment-list .children {
        padding-right: 20px !important;
    }
}

/* ==========================================================================
   BIRD CARE LIBRARY PAGE STYLING (کتابخانه مراقبت از پرندگان)
   ========================================================================== */
.care-library-wrapper {
    direction: rtl;
    font-family: 'Vazir-FD', 'Vazir', sans-serif;
    color: #2d3748;
    margin-bottom: 50px;
}

/* Hero Section */
.care-library-hero {
    background: linear-gradient(135deg, rgba(37, 150, 190, 0.9), rgba(218, 105, 65, 0.85)), 
                url('../woodmart/images/background.jpg') center/cover;
    border-radius: var(--wd-brd-radius);
    padding: 60px 40px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}
.care-hero-title {
    font-family: 'Sahel-FD', 'Sahel', sans-serif !important;
    font-size: 36px;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.care-hero-subtitle {
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: 35px;
    font-weight: 400;
}

/* Search Box */
.care-search-container {
    max-width: 600px;
    margin: 0 auto;
}
.care-search-box {
    position: relative;
    background: #ffffff;
    border-radius: 30px;
    padding: 5px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
}
.care-search-box input {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 12px 25px;
    font-size: 15px;
    color: #2d3748;
    outline: none;
    width: 100%;
}
.search-icon-btn {
    width: 45px;
    height: 45px;
    background-color: var(--wd-primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    margin-left: 5px;
}

/* Filters */
.care-filter-container {
    text-align: center;
    margin-bottom: 40px;
}
.care-filter-tabs {
    display: inline-flex;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 30px;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    margin-bottom: 15px;
}
.filter-tab {
    border: none;
    background: transparent;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 700;
    color: #475569;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.filter-tab:hover {
    color: var(--wd-primary-color);
}
.filter-tab.active {
    background-color: #ffffff;
    color: var(--wd-primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.care-help-text {
    font-size: 13.5px;
    color: #718096;
}

/* Grid layout */
.bird-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Bird Card Accordion */
.bird-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: fit-content;
}
.bird-card:hover {
    border-color: #e2e8f0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}
.bird-card-header {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    transition: background-color 0.2s ease;
}
.bird-card-header:hover {
    background-color: #fcfbfa;
}
.bird-card-title-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.bird-name {
    font-family: 'Sahel-FD', 'Sahel', sans-serif !important;
    font-size: 18px;
    font-weight: 700 !important;
    color: #1a202c;
    margin: 0 !important;
}
.bird-scientific-name {
    font-size: 12.5px;
    font-family: 'Inter', sans-serif;
    font-style: italic;
    color: #718096;
}
.bird-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}
.bird-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    color: #ffffff;
}
.category-parrots {
    background-color: var(--wd-alternative-color);
}
.category-finches {
    background-color: var(--wd-primary-color);
}
.accordion-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f7fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    font-size: 11px;
    transition: all 0.25s ease;
}
.bird-card:hover .accordion-arrow {
    background: var(--wd-primary-color);
    color: #ffffff;
}

/* Expended content state styling */
.bird-card-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease;
    background-color: #ffffff;
    border-top: 0px solid transparent;
}
.bird-card.expanded {
    border-color: #e2e8f0;
}
.bird-card.expanded .bird-card-content {
    max-height: 1200px;
    opacity: 1;
    padding: 24px;
    border-top: 1px solid #edf2f7;
    background-color: #ffffff;
}
.bird-card.expanded .accordion-arrow {
    background-color: var(--wd-primary-color);
    color: #ffffff;
    transform: rotate(180deg);
}

/* Details grid inside card */
.care-details-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.care-detail-block {
    background-color: #fdfbf7;
    border: 1px solid #f7efe4;
    border-radius: 12px;
    padding: 18px;
    transition: transform 0.2s ease;
}
.care-detail-block:hover {
    transform: translateX(-2px);
}
.care-detail-block h4 {
    font-size: 15px;
    font-weight: 700;
    color: #2d3748;
    margin-top: 0;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.care-detail-block h4 i {
    font-size: 14px;
}
.nutrition h4 i { color: #48bb78; }
.housing h4 i { color: var(--wd-primary-color); }
.lifespan h4 i { color: #e53e3e; }
.behavior h4 i { color: var(--wd-alternative-color); }

.care-detail-block p {
    font-size: 13.5px;
    line-height: 1.65;
    color: #4a5568;
    margin: 0;
    text-align: justify;
}
.care-detail-block p strong {
    color: #e53e3e;
}

/* Responsive queries */
@media (max-width: 1199px) {
    .bird-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .care-library-hero {
        padding: 40px 20px;
    }
    .care-hero-title {
        font-size: 26px;
    }
    .bird-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .bird-card-header {
        padding: 18px;
    }
    .bird-card.expanded .bird-card-content {
        padding: 18px;
    }
    .care-filter-tabs {
        width: 100%;
        border-radius: 15px;
        flex-direction: column;
        padding: 5px;
    }
    .filter-tab {
        width: 100%;
        text-align: center;
        padding: 8px;
    }
}

/* Page Title Margin Fix */
.page-title {
    margin-block: -40px -77px !important;
}

/* ==========================================================================
   WOOCOMMERCE PRODUCT BOX ALIGNMENT & UNIFORM HEIGHTS
   ========================================================================== */

/* Force uniform flex height for product grid columns */
.products-grid .product-grid-item,
.products-grid .wd-product,
.wd-products-element .product-grid-item,
.wd-products-element .wd-product,
.product-grid-item,
.wd-product {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.product-grid-item .product-wrapper,
.wd-product .product-wrapper {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    flex-grow: 1 !important;
    justify-content: space-between !important;
    background-color: #ffffff !important;
}

/* Force perfect square aspect ratio on product images and fit them beautifully */
.product-grid-item .product-element-top,
.wd-product .product-element-top {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    background-color: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.product-grid-item .product-element-top a,
.wd-product .product-element-top a,
.product-grid-item .product-image-link,
.wd-product .product-image-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.product-grid-item .product-element-top img,
.wd-product .product-element-top img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

/* Ensure product information area stretches to fill space */
.product-grid-item .product-information,
.wd-product .product-information,
.product-grid-item .wd-product-info,
.wd-product .wd-product-info {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    padding: 15px !important;
    justify-content: space-between !important;
    background-color: #ffffff !important;
}

/* Enforce uniform height for titles to prevent vertical layout shifting */
.product-grid-item .wd-entities-title,
.wd-product .wd-entities-title {
    font-size: 14.5px !important;
    line-height: 1.5 !important;
    min-height: 44px !important; /* EXACT height for up to 2 lines of text */
    max-height: 44px !important;
    margin: 5px 0 10px 0 !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    text-overflow: ellipsis !important;
}

.product-grid-item .wd-entities-title a,
.wd-product .wd-entities-title a {
    display: inline-block !important;
    width: 100% !important;
}

/* Align suitability badges if they exist */
.product-grid-item .bird-badges-wrapper,
.wd-product .bird-badges-wrapper {
    min-height: 24px !important;
    margin-bottom: 8px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    margin-top: auto !important;
}

/* Keep ratings section neat and spaced */
.product-grid-item .wd-star-rating,
.wd-product .wd-star-rating,
.product-grid-item .star-rating,
.wd-product .star-rating {
    margin-bottom: 8px !important;
    min-height: 16px !important;
}

/* Align prices beautifully at the bottom of the content info area */
.product-grid-item .price,
.wd-product .price {
    margin-top: auto !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* Keep the quick actions / buttons aligned */
.product-grid-item .wd-add-btn,
.wd-product .wd-add-btn,
.product-grid-item .product-element-bottom,
.wd-product .product-element-bottom {
    margin-top: auto !important;
}


