/*
Theme Name: لوفال انرژی
Theme URI: https://themedesert.com
Author: MidasMoradi
Author URI: https://themedesert.com
Description: قالب اختصاصی شرکت لوفال انرژی - طراحی شده توسط MidasMoradi
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lophal
Tags: custom, energy, company, business, rtl-ready
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    direction: rtl;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    direction: rtl;
}

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

/* Header Styles */
.site-header {
    background-color: #fff;
    color: #333;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.site-header * {
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    direction: rtl;
    flex-direction: row;
}

/* Persian: لوگو راست، منو و آیتم‌ها چپ */
body.lang-fa .header-content {
    direction: rtl;
    flex-direction: row;
}

/* Logo Styles */
.site-branding {
    display: flex;
    align-items: center;
}

.site-branding-footer{
    display: flex;
    flex-direction: row-reverse;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-icon {
    display: flex;
    align-items: center;
    width: 155px;
    justify-content: flex-end;
}

.logo-image {
    object-fit: cover;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-part-1 {
    font-size: 24px;
    font-weight: bold;
    color: #20B2AA;
    display: block;
}

.logo-part-2 {
    font-size: 24px;
    font-weight: bold;
    color: #020047;
    display: block;
}

/* Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Desktop: hide header phone / contact block */
@media (min-width: 769px) {
    .site-header .contact-info {
        display: none !important;
    }
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin: 0;
    position: relative;
}

.main-navigation a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
    display: block;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.main-navigation a:hover {
    color: #20B2AA;
}

/* Desktop Submenu Styles */
.main-navigation .menu-item-has-children {
    position: relative;
}

.main-navigation .menu-item-has-children > a {
    padding-left: 20px;
    position: relative;
    cursor: pointer;
}

.main-navigation .menu-item-has-children > a::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.6;
}

.main-navigation .menu-item-has-children > a:hover::after {
    opacity: 1;
}

/* Desktop submenu open state - using desktop-submenu-open class */
.main-navigation .menu-item-has-children.desktop-submenu-open > a::after {
    transform: translateY(-50%) rotate(180deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2320B2AA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    opacity: 1;
}

.main-navigation .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 6px 0;
    margin-top: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 1000;
    direction: rtl;
    display: block;
    pointer-events: none;
    border: 1px solid #f0f0f0;
}

.main-navigation .menu-item-has-children.desktop-submenu-open .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.main-navigation .sub-menu li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

.main-navigation .sub-menu li:last-child {
    border-bottom: none;
}

.main-navigation .sub-menu a {
    padding: 10px 20px;
    color: #4A5568;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: block;
    position: relative;
}

.main-navigation .sub-menu a:hover {
    color: #20B2AA;
    background-color: #f0f9fa;
    padding-right: 25px;
}

.main-navigation .sub-menu a::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background-color: #20B2AA;
    transition: height 0.2s ease;
    border-radius: 0 3px 3px 0;
}

.main-navigation .sub-menu a:hover::before {
    height: 60%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.action-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Header: only hamburger menu (cart + profile hidden on all viewports) */
.action-icons .cart-btn,
.action-icons .profile-btn {
    display: none !important;
}

.mobile-menu-toggle,
.mobile-menu-drawer,
.mobile-menu-overlay {
    display: none;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-left: 10px;
}

.contact-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.contact-link:hover {
    opacity: 0.8;
}

.contact-icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: #E8F4F8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: #20B2AA;
    stroke: #20B2AA;
}

.contact-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-text {
    font-size: 12px;
    color: #333;
    line-height: 1.4;
    font-weight: 400;
    text-align: left;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.contact-phone {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    direction: ltr;
    text-align: right;
    line-height: 1.4;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

/* Hide contact text (online/phone) in Arabic header - same as English */
.lang-ar .header-actions .contact-info .contact-text-wrapper {
    display: none;
}

.contact-btn {
    background-color: #20B2AA;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
    margin-top: 5px;
    display: inline-block;
}

.contact-btn:hover {
    background-color: #1a9a94;
    color: #fff;
}

/* Header Language Switcher - white rounded button, globe + label + chevron */
.header-lang-switcher.header-lang-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-lang-dropdown .lang-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    color: #020047;
    background: #fff;
    border: unset;
    border-radius: 10px;
    padding: 8px 14px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
    height: 48px;
}

.header-lang-dropdown .lang-dropdown-toggle:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.header-lang-dropdown .lang-globe-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #020047;
}

.header-lang-dropdown .lang-globe-icon svg {
    display: block;
}

.header-lang-dropdown .lang-toggle-label {
    min-width: 1.8em;
}

.header-lang-dropdown .lang-toggle-flag {
    display: none;
}

.header-lang-dropdown .lang-dropdown-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    transition: transform 0.2s;
}

.header-lang-dropdown.is-open .lang-dropdown-arrow {
    transform: rotate(180deg);
}

.header-lang-dropdown .lang-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    margin: 6px 0 0;
    padding: 6px 0;
    min-width: 145px;
    list-style: none;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s, visibility 0.2s;
}

.header-lang-dropdown.is-open .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.header-lang-dropdown .lang-dropdown-menu li {
    margin: 0;
}

.header-lang-dropdown .lang-dropdown-link {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 13px;
    font-weight: 500;
    color: #64748B;
    text-decoration: none;
    padding: 10px 14px;
    transition: color 0.2s, background 0.2s;
}

.header-lang-dropdown .lang-dropdown-link .lang-link-code {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.header-lang-dropdown .lang-dropdown-link .lang-link-name {
    font-size: 13px;
    font-weight: 500;
    color: inherit;
    flex-shrink: 0;
    white-space: nowrap;
}

/* RTL default site: lang switcher sits on the left; menu must open into the viewport (not leftward off-screen) */
body.lang-fa .header-lang-dropdown .lang-dropdown-menu,
body.lang-ar .header-lang-dropdown .lang-dropdown-menu {
    left: 0;
    right: auto;
}

.header-lang-dropdown .lang-dropdown-link:hover {
    color: #20B2AA;
    background: #F0F9FA;
}

.header-lang-dropdown .lang-dropdown-link.current {
    color: #020047;
    font-weight: 600;
    background: #E8F4F8;
}

/* Mobile language modal (opened from header on ≤768px) */
.lang-modal {
    position: fixed;
    inset: 0;
    z-index: 3500;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0.25s;
}
.lang-modal.is-open {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
}
.lang-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 0, 71, 0.45);
    cursor: pointer;
}
.lang-modal-panel {
    position: relative;
    width: 100%;
    max-width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}
.lang-modal.is-open .lang-modal-panel {
    transform: translateY(0);
}
.lang-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px 12px;
    border-bottom: 1px solid #E2E8F0;
}
.lang-modal-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #020047;
}
.lang-modal-close {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    background: #E8F4F8;
    color: #020047;
    cursor: pointer;
    padding: 0;
}
.lang-modal-close:hover {
    background: #d1eef7;
}
.lang-modal-list {
    list-style: none;
    margin: 0;
    padding: 8px 16px 85px;
}
.lang-modal-list li {
    margin: 0;
}
.lang-modal-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 6px;
    border-radius: 10px;
    text-decoration: none;
    color: #64748B;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid #E2E8F0;
    background: #fff;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.lang-modal-link:hover {
    color: #20B2AA;
    background: #F0F9FA;
    border-color: #20B2AA;
}
.lang-modal-link.current {
    color: #020047;
    font-weight: 600;
    background: #E8F4F8;
    border-color: #20B2AA;
}
.lang-modal-code {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #020047;
}
.lang-modal-link.current .lang-modal-code {
    color: #020047;
}
.lang-modal-name {
    flex: 1;
    text-align: right;
}
body.lang-en .lang-modal-name,
.lang-en .lang-modal-name {
    text-align: left;
}
body.lang-fa .lang-modal-link,
body.lang-ar .lang-modal-link {
    flex-direction: row-reverse;
}
body.lang-fa .lang-modal-name,
body.lang-ar .lang-modal-name {
    text-align: right;
}

/* Action Icons */
.action-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Hide mobile phone button on desktop */
.mobile-phone-btn {
    display: none;
}

.icon-btn-wrapper {
    width: 48px;
    height: 48px;
    background-color: #E8F4F8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.icon-btn-wrapper:hover {
    background-color: #D0E8F0;
}

.icon-btn-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-icon {
    width: 24px;
    height: 24px;
    color: #20B2AA;
    stroke: #20B2AA;
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: #FF6B35;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
    z-index: 10;
}

/* Hero Section */
.hero-section {
    background: #F2FAFF;
    padding: 80px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.hero-section * {
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-images-grid {
        min-height: 400px;
    }
}

/* Hero Images - Left Side */
.hero-image {
    position: relative;
    height: 100%;
    width: 100%;
}

.hero-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 235px);
    grid-template-rows: repeat(3, 145px);
    grid-column-gap: 17px;
    grid-row-gap: 17px;
    width: 100%;
    height: 100%;
    direction: ltr;
}

/* Grid item positions - Layout from grid generator */
.hero-grid-item-1 {
    grid-area: 1 / 1 / 3 / 2;
    border-radius: 12px 0 0 0;
}

.hero-grid-item-2 {
    grid-area: 2 / 2 / 4 / 3;
    border-radius: 0 0 12px 0;
}

.hero-grid-item-3 {
    grid-area: 1 / 2 / 2 / 3;
    border-radius: 0 12px 0 0;
}

.hero-grid-item-4 {
    grid-area: 3 / 1 / 4 / 2;
    border-radius: 0 0 0 12px;
}

.hero-grid-item {
    position: relative;
    overflow: hidden;

    background-color: #f0f0f0;
}

.hero-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.hero-grid-item:hover img {
    transform: scale(1.05);
}

/* Chart Overlay - Absolute Position */
.hero-chart-overlay {
    position: absolute;
    bottom: 20px;
    right: 0px;
    width: 200px;
    height: 150px;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.hero-chart-overlay canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}



/* Hero Text - Right Side */
.hero-text {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #020047;
    margin: 0;
    line-height: 1.2;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.hero-subtitle {
    font-size: 20px;
    color: #020047;
    font-weight: 500;
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.hero-description {
    font-size: 16px;
    line-height: 1.8;
    color: #4A5568;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.hero-description p {
    margin: 0;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.hero-btn-catalog {
    display: none !important;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    border: 2px solid transparent;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.btn-primary {
    background-color: #0DB69F;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0DB69F;
    color: #fff;
    transform: none;
    box-shadow: 0 2px 4px rgba(13, 182, 159, 0.2);
}

.btn-secondary {
    background-color: #fff;
    color: #20B2AA;
    border: 2px solid #20B2AA;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #20B2AA;
    transform: none;
    box-shadow: 0 2px 4px rgba(32, 178, 170, 0.2);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #F2FAFF 0%, #FFFFFF 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    border-radius: 5px;
    padding: 30px 5px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-icon-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    justify-content: flex-start;
}

.service-card:hover {
    background-color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    
}
.service-text-wrapper{
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: flex-start;
}

.service-icon {
    width: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    color: #FFB931;
    stroke: #FFB931;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: #020047;
    margin: 0;
    line-height: 1.3;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.service-description {
    font-size: 14px;
    line-height: 1.8;
    color: #4A5568;
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}
.service-content-wrapper{
    display: flex;
}

/* Desktop/tablet: single hero CTA — same alignment as before (not centered) */
@media (min-width: 769px) {
    .hero-buttons--single {
        justify-content: inherit;
        width: auto;
        padding-left: 0;
        padding-right: 0;
    }

    .hero-buttons--single .btn {
        display: inline-block;
        width: auto;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .services-section .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        gap: 12px;
    }

    .service-card {
        padding: 18px 16px;
    }

    .service-title {
        font-size: 16px;
    }
}

/* Energy Storage Section */
.energy-storage-section {
    padding: 80px 0;
    background-color: #fff;
}
.energy-storage-section .container{
    position: relative;
    z-index: 1;
    padding: unset;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #020047;
    text-align: center;
    margin: 0 0 80px 0;
    line-height: 1.3;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.storage-types-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-direction: row-reverse;
    gap: 52px;
    flex-wrap: wrap;
}

.storage-type-card {
    position: relative;
    border-radius: 12px;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
}

/* کارت‌های فرد (1, 3) - ::before در بالا */
.storage-type-card:nth-child(odd) .storage-image-wrapper::before {
    position: absolute;
    content: '';
    top: -40px;
    left: -52px;
    right: -52px;
    height: 57%;
    background-color: #F2FAFF;
    z-index: 2;
    border-radius: 9px 9px 0 0;
    pointer-events: none;
}

/* کارت‌های زوج (2, 4) - ::after در پایین */
.storage-type-card:nth-child(even) .storage-image-wrapper::after {
    position: absolute;
    content: '';
    bottom: 0;
    left: -52px;
    right: -52px;
    background-color: #F2FAFF;
    z-index: 2;
    border-radius: 0 0 9px 9px;
    pointer-events: none;
    height: 57%;
}




.storage-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    z-index: 1;
}

.storage-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
    display: block;
    z-index: 10;
}

.storage-label {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 65px;
    color: #ffffff;
    border-radius: 6px;
    font-size: 20px;
    font-weight: 500;   
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    text-align: center;
    white-space: nowrap;
    z-index: 20; /* بالاتر از تصویر */
    pointer-events: none; /* برای جلوگیری از تداخل با کلیک */
    /* تکست شدوی قوی‌تر، با چند لایه */
    text-shadow:
      0 3px 8px rgba(0,0,0,0.7),
      0 2px 4px rgba(0,0,0,0.4),
      0 0px 2px rgba(0,0,0,0.30);
}

/* Lithium Batteries Section */
.lithium-batteries-section {
    padding: 80px 0;
    background-color: #fff;
}
.lithium-batteries-section .container{
    position: relative;
    z-index: 1;
    padding: unset;
}
.lithium-batteries-section .container::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(25deg, #F2FAFF 0%, #FFFFFF 45%, #FFFFFF 100%);
    z-index: -1;
    border-radius: 0 0 0 25px ;
}

.batteries-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    direction: ltr;
    position: relative;
    width: 940px;
    margin: 0 0 0 auto;
    margin-right: 130px;
}

/* در RTL: تصویر سمت راست، متن سمت چپ */
.batteries-content .batteries-image {
    order: 2;
}

.batteries-content .batteries-text {
    order: 1;
}

/* Left Side: Text and Products */
.batteries-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: right;
    padding : 0 0 60px 0;
    border-radius: 100px;
}

.batteries-title {
    font-size: 34px;
    font-weight: 700;
    color: #020047;
    margin: 0;
    line-height: 1.3;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.batteries-description {
    font-size: 16px;
    line-height: 1.8;
    color: #4A5568;
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    direction: rtl;
}

/* Product Cards Grid */
.product-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    padding-bottom: 10px;
    position: absolute;
    bottom: -25px;
    width: 650px;
    left: 0px;
    z-index: 1;
}

.product-card {
    background-color: #fff;
    border: 1px solid #F8F8F8;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 170px;
    height: 100%;
}

.lophal-home-product-card {
    background-color: #fff;
    border: 1px solid #F8F8F8;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 130px;
    height: 100%;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lophal-home-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lophal-home-product-link {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    justify-content: space-between;
}

.lophal-home-product-image {
    width: 100%;
    padding-bottom: 70%;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

.lophal-home-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.lophal-home-product-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: center;
}

.lophal-home-product-name {
    font-size: 12px;
    font-weight: 600;
    color: #020047;
    margin: 0;
    line-height: 1.3;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.lophal-home-product-model-card {
    font-size: 10px;
    font-weight: 600;
    color: #808080;
    margin: 4px 0;
    text-align: right;
    direction: rtl;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    line-height: 1.4;
    text-align: center;
}

.lophal-home-product-model {
    font-size: 10px;
    color: #718096;
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.lophal-home-product-price {
    font-size: 14px;
    font-weight: 700;
    color: #020047;
    margin: 0;
    direction: ltr;
    text-align: right;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    text-align: center;
}

.product-link {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.product-image {
    width: 100%;
    padding-bottom: 70%;
    position: relative;
    background-color: #F7FAFC;
    border-radius: 6px;
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-name {
    font-size: 12px;
    font-weight: 600;
    color: #020047;
    margin: 0;
    line-height: 1.3;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.product-model-card {
    font-size: 10px;
    font-weight: 600;
    color: #808080;
    margin: 4px 0;
    text-align: right;
    direction: rtl;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    line-height: 1.4;
}

.product-model {
    font-size: 10px;
    color: #718096;
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.product-price {
    font-size: 14px;
    font-weight: 700;
    color: #020047;
    margin: 0;
    direction: ltr;
    text-align: right;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);

}

/* Right Side: Main Image */
.batteries-image {
    position: relative;
}

.batteries-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 0 65px 0 65px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.batteries-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* UPS Systems Section */
.ups-systems-section {
    padding: 80px 0;
    background-color: #fff;
}

/* UPS Hero Section */
.ups-hero {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
    width: 1100px;
    /* margin: 0 0 60px auto; */
    position: relative;
    /* padding: 0 120px 60px 0; */
    border-radius: 100px 100px 0 0;
    z-index: 1;
    margin: auto;
    justify-content: center;

}
.ups-systems-section .container{
    position: relative;
    z-index: 1;
}
.ups-systems-section .container::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(220deg, #F2FAFF 0%, #FFFFFF 45%, #FFFFFF 100%);
    z-index: -1;
    border-radius: 0 25px 0 0 ;
}

.ups-hero-image {
    border-radius: 65px 0 65px 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ups-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.ups-hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 50%;
}

.ups-main-title {
    font-size: 32px;
    font-weight: 700;
    color: #020047;
    margin: 0;
    line-height: 1.3;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.ups-main-description {
    font-size: 16px;
    line-height: 1.8;
    color: #4A5568;
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

/* UPS Types Grid */
.ups-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 950px;
    margin: 0 auto;
    margin-top: 60px;
}

.ups-type-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.3s ease;
}

.ups-type-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    cursor: pointer;
}

.ups-type-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.ups-type-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.ups-type-title {
    font-size: 18px;
    font-weight: 700;
    color: #020047;
    margin: 0;
    line-height: 1.3;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.ups-type-description {
    font-size: 14px;
    line-height: 1.8;
    color: #4A5568;
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

/* Solar Package Section */
.solar-package-section {
    padding: 80px 0;
    background-color: #fff;
}

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

.solar-main-title {
    font-size: 36px;
    font-weight: 700;
    color: #020047;
    margin: 0 0 15px 0;
    line-height: 1.3;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.solar-subtitle {
    font-size: 18px;
    color: #333;
    margin: 0;
    line-height: 1.6;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.solar-image-container {
    margin-bottom: 23px;
}

.solar-main-image {
    position: relative;
    width: 100%;
   
}

.solar-main-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 5px;
}

.solar-overlay-box {
    position: absolute;
    display: flex;
    bottom: -120px;
    right: 105px;
    background-color: #021414;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 32px 15px 0 15px;
    max-width: 270px;
    height: 350px;
    color: #fff;
    z-index: 100;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: space-between;
}

.overlay-text {
    font-size: 14px;
    line-height: 1.8;
    color: #fff;
    margin: 0 0 20px 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.overlay-chart {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    padding-bottom: 10px;
}

/* Solar Equalizer Animation */
.solar-equalizer {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4px;
    padding: 0 5px;
}

.solar-equalizer .equalizer-bar {
    flex: 1;
    min-width: 8px;
    position: relative;
    width: 100%;
    height: 20px;
    background: #0DB69F; /* رنگ پایه */
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.solar-equalizer .equalizer-bar:nth-child(1) { 
    animation-name: equalizer1;
    animation-delay: 0s;
}

.solar-equalizer .equalizer-bar:nth-child(2) { 
    animation-name: equalizer2;
    animation-delay: 0.15s;
}

.solar-equalizer .equalizer-bar:nth-child(3) { 
    animation-name: equalizer3;
    animation-delay: 0.3s;
}

.solar-equalizer .equalizer-bar:nth-child(4) { 
    animation-name: equalizer4;
    animation-delay: 0.45s;
}

.solar-equalizer .equalizer-bar:nth-child(5) { 
    animation-name: equalizer5;
    animation-delay: 0.6s;
}

.solar-equalizer .equalizer-bar:nth-child(6) { 
    animation-name: equalizer6;
    animation-delay: 0.75s;
}

.solar-equalizer .equalizer-bar:nth-child(7) { 
    animation-name: equalizer7;
    animation-delay: 0.9s;
}

.solar-equalizer .equalizer-bar:nth-child(8) { 
    animation-name: equalizer8;
    animation-delay: 1.05s;
}

@keyframes equalizer1 {
    0%, 19.9% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF, 
            0 -60px 0 #5EEAD4, 
            0 -80px 0 #A7F3D0, 
            0 -100px 0 #D1FAE5, 
            0 -120px 0 #ECFDF5, 
            0 -140px 0 #FFFFFF;
    }
    20%, 39.9% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF, 
            0 -60px 0 #5EEAD4, 
            0 -80px 0 #A7F3D0, 
            0 -100px 0 #D1FAE5;
    }
    40%, 59.9% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF;
    }
    60%, 79.9% {
        box-shadow: 
            0 -20px 0 #0DB69F;
    }
    80%, 100% {
        box-shadow: none;
    }
}

@keyframes equalizer2 {
    0%, 19.9% {
        box-shadow: none;
    }
    20%, 39.9% {
        box-shadow: 
            0 -20px 0 #0DB69F;
    }
    40%, 59.9% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF, 
            0 -60px 0 #5EEAD4;
    }
    60%, 79.9% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF, 
            0 -60px 0 #5EEAD4, 
            0 -80px 0 #A7F3D0, 
            0 -100px 0 #D1FAE5, 
            0 -120px 0 #ECFDF5, 
            0 -140px 0 #FFFFFF;
    }
    80%, 100% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF, 
            0 -60px 0 #5EEAD4;
    }
}

@keyframes equalizer3 {
    0%, 19.9% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF;
    }
    20%, 39.9% {
        box-shadow: 
            0 -20px 0 #0DB69F;
    }
    40%, 59.9% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF, 
            0 -60px 0 #5EEAD4;
    }
    60%, 79.9% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF, 
            0 -60px 0 #5EEAD4, 
            0 -80px 0 #A7F3D0, 
            0 -100px 0 #D1FAE5, 
            0 -120px 0 #ECFDF5, 
            0 -140px 0 #FFFFFF;
    }
    80%, 100% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF, 
            0 -60px 0 #5EEAD4, 
            0 -80px 0 #A7F3D0, 
            0 -100px 0 #D1FAE5, 
            0 -120px 0 #ECFDF5, 
            0 -140px 0 #FFFFFF;
    }
}

@keyframes equalizer4 {
    0%, 19.9% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF, 
            0 -60px 0 #5EEAD4, 
            0 -80px 0 #A7F3D0, 
            0 -100px 0 #D1FAE5;
    }
    20%, 39.9% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF, 
            0 -60px 0 #5EEAD4;
    }
    40%, 59.9% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF;
    }
    60%, 79.9% {
        box-shadow: 
            0 -20px 0 #0DB69F;
    }
    80%, 100% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF;
    }
}

@keyframes equalizer5 {
    0%, 19.9% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF, 
            0 -60px 0 #5EEAD4;
    }
    20%, 39.9% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF, 
            0 -60px 0 #5EEAD4, 
            0 -80px 0 #A7F3D0, 
            0 -100px 0 #D1FAE5, 
            0 -120px 0 #ECFDF5, 
            0 -140px 0 #FFFFFF;
    }
    40%, 59.9% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF, 
            0 -60px 0 #5EEAD4;
    }
    60%, 79.9% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF;
    }
    80%, 100% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF, 
            0 -60px 0 #5EEAD4, 
            0 -80px 0 #A7F3D0;
    }
}

@keyframes equalizer6 {
    0%, 19.9% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF;
    }
    20%, 39.9% {
        box-shadow: 
            0 -20px 0 #0DB69F;
    }
    40%, 59.9% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF, 
            0 -60px 0 #5EEAD4;
    }
    60%, 79.9% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF, 
            0 -60px 0 #5EEAD4, 
            0 -80px 0 #A7F3D0, 
            0 -100px 0 #D1FAE5, 
            0 -120px 0 #ECFDF5, 
            0 -140px 0 #FFFFFF;
    }
    80%, 100% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF, 
            0 -60px 0 #5EEAD4;
    }
}

@keyframes equalizer7 {
    0%, 19.9% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF, 
            0 -60px 0 #5EEAD4;
    }
    20%, 39.9% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF, 
            0 -60px 0 #5EEAD4, 
            0 -80px 0 #A7F3D0, 
            0 -100px 0 #D1FAE5;
    }
    40%, 59.9% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF;
    }
    60%, 79.9% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF, 
            0 -60px 0 #5EEAD4;
    }
    80%, 100% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF, 
            0 -60px 0 #5EEAD4, 
            0 -80px 0 #A7F3D0, 
            0 -100px 0 #D1FAE5, 
            0 -120px 0 #ECFDF5, 
            0 -140px 0 #FFFFFF;
    }
}

@keyframes equalizer8 {
    0%, 19.9% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF;
    }
    20%, 39.9% {
        box-shadow: 
            0 -20px 0 #0DB69F;
    }
    40%, 59.9% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF, 
            0 -60px 0 #5EEAD4;
    }
    60%, 79.9% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF;
    }
    80%, 100% {
        box-shadow: 
            0 -20px 0 #0DB69F, 
            0 -40px 0 #2DD4BF, 
            0 -60px 0 #5EEAD4, 
            0 -80px 0 #A7F3D0, 
            0 -100px 0 #D1FAE5, 
            0 -120px 0 #ECFDF5, 
            0 -140px 0 #FFFFFF;
    }
}

.solar-description {
    text-align: justify;
    width: 940px;
    direction: rtl;
    margin: auto;
    padding-right: 300px;
}

.solar-description p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

/* Electric Vehicle Charging Section */
.ev-charging-section {
    padding: 80px 0 0 0;
    background-color: #fff;
    position: relative;
}



.ev-header {
    text-align: center;
    margin-bottom: 60px;
}

.ev-main-title {
    font-size: 36px;
    font-weight: 700;
    color: #020047;
    margin: 0 0 15px 0;
    line-height: 1.3;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.ev-subtitle {
    font-size: 18px;
    color: #666;
    margin: 0;
    line-height: 1.6;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.ev-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.ev-features-left,
.ev-features-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ev-feature-box {
    background-color: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 25px;
    position: relative;
}



.ev-feature-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #FFB931;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.ev-feature-icon svg {
    width: 20px;
    height: 20px;
}

.ev-feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #020047;
    margin: 0 0 12px 0;
    padding-right: 50px;
    line-height: 1.3;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.ev-feature-description {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin: 0;
    padding-top: 16px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.ev-center-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 10;
}

.ev-center-image img {
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

/* EV Charging Mobile Combined Section - Hidden on Desktop */
.ev-charging-mobile-section {
    display: none;
}

/* Energy Storage Mobile Combined Section - Hidden on Desktop */
.energy-storage-mobile-section {
    display: none;
    padding: 40px 0;
    background-color: #fff;
}

/* Storage Mobile Header */
.storage-mobile-header {
    text-align: center;
    margin-bottom: 30px;
    direction: rtl;
}

.storage-mobile-main-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 8px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.storage-mobile-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 8px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

/* Storage Mobile Cards List */
.storage-mobile-cards-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.storage-mobile-card {
    position: relative;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.storage-mobile-card:hover {
    transform: scale(1.02);
}

.storage-mobile-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7);
    transition: filter 0.3s ease;
}

.storage-mobile-card:hover .storage-mobile-card-bg {
    filter: brightness(0.8);
}

.storage-mobile-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.storage-mobile-card-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* EV Charger Model X Section */
.ev-charger-model-section {
    padding: 0 0 80px 0;
    background-color: #fff;
    margin-top: -120px;
}

.charger-model-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    
}

.charger-model-image {
    width: 100%;
    overflow: hidden;
   
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.charger-model-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(242, 250, 255, 1) 15px, transparent 2px);
    background-size: 40px 40px, 35px 35px, 30px 30px;
    background-position: 0 0, 0 0, 0 0;
    background-repeat: repeat;
    pointer-events: none;
    z-index: 1;
    width: 100%;
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.95) 15%, rgba(0, 0, 0, 0.85) 30%, rgba(0, 0, 0, 0.7) 45%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.1) 90%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.95) 15%, rgba(0, 0, 0, 0.85) 30%, rgba(0, 0, 0, 0.7) 45%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.1) 90%, rgba(0, 0, 0, 0) 100%);
    /* Fallback animation - will be replaced by JavaScript dots */
    animation: randomDotsFade 3s ease-in-out infinite;
    opacity: 0.3;
}

.charger-model-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(242, 250, 255, 0.3) 12px, transparent 2px);
    background-size: 45px 45px, 38px 38px, 32px 32px;
    background-position: 20px 20px, 15px 15px, 10px 10px;
    background-repeat: repeat;
    pointer-events: none;
    z-index: 1;
    width: 100%;
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.95) 15%, rgba(0, 0, 0, 0.85) 30%, rgba(0, 0, 0, 0.7) 45%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.1) 90%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.95) 15%, rgba(0, 0, 0, 0.85) 30%, rgba(0, 0, 0, 0.7) 45%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.1) 90%, rgba(0, 0, 0, 0) 100%);
    animation: randomDotsFade 2.5s ease-in-out infinite reverse;
    opacity: 0.2;
}

/* Hide ::before and ::after when JavaScript dots are active */
.charger-model-image.has-random-dots::before,
.charger-model-image.has-random-dots::after {
    display: none;
}

@keyframes randomDotsFade {
    0% {
        opacity: 1;
        filter: brightness(1);
    }
    15% {
        opacity: 0.2;
        filter: brightness(0.3);
    }
    25% {
        opacity: 0.9;
        filter: brightness(1.1);
    }
    35% {
        opacity: 0.1;
        filter: brightness(0.2);
    }
    45% {
        opacity: 0.8;
        filter: brightness(0.9);
    }
    55% {
        opacity: 0.3;
        filter: brightness(0.5);
    }
    65% {
        opacity: 0.95;
        filter: brightness(1.05);
    }
    75% {
        opacity: 0.15;
        filter: brightness(0.25);
    }
    85% {
        opacity: 0.7;
        filter: brightness(0.8);
    }
    95% {
        opacity: 0.4;
        filter: brightness(0.6);
    }
    100% {
        opacity: 1;
        filter: brightness(1);
    }
}

/* Random dots container for JavaScript-generated dots */
.charger-model-image .random-dots-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.95) 15%, rgba(0, 0, 0, 0.85) 30%, rgba(0, 0, 0, 0.7) 45%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.1) 90%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.95) 15%, rgba(0, 0, 0, 0.85) 30%, rgba(0, 0, 0, 0.7) 45%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.1) 90%, rgba(0, 0, 0, 0) 100%);
}

@keyframes dotBlink {
    0%, 100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    20% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.85);
    }
    40% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.05);
    }
    60% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.9);
    }
    80% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.02);
    }
}

.charger-model-details img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    object-fit: contain;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    top: -150px;
    margin: auto;
}

.charger-model-overlay {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-bottom: 60px;
    justify-content: space-between;
    padding: 0 30px;
}

.charger-model-text {
    text-align: right;
}

.charger-model-title {
    font-size: 30px;
    font-weight: 700;
    color: #020047;
    margin: 0 0 10px 0;
    line-height: 1.3;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.charger-model-subtitle {
    font-size: 30px;
    color: #828282;
    margin: 0;
    line-height: 1.6;
    font-weight: 700;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    
}

.btn-view {
    background-color: #000;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.btn-view:hover {
    background-color: #333;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.charger-model-details {
    display: flex;
    flex-direction: column;
    background-color: #F2FAFF;
    position: relative;
    padding: 150px 30px 0;
}

.charger-model-divider {
    width: 95%;
    height: 1px;
    background-color: #A4A4A4;
    margin: auto;
}

.charger-model-bottom-content {
    display: grid;
    grid-template-columns: 1fr auto 2fr;
    gap: 0;
    align-items: stretch;
    direction: ltr;
}

/* Vertical Divider */
.charger-model-vertical-divider {
    width: 1px;
    background-color: #A4A4A4;
    margin: 0 20px;
}

/* Statistics Section (Left in RTL) */
.charger-stats-wrapper {

    padding: 40px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.charger-stats {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    justify-content: space-between;
}

.stat-box {
    background-color: #fff;
    border: none;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    flex: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 150px;
}

.stat-box:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #010029;
    margin: 0 0 10px 0;
    line-height: 1;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.stat-label {
    font-size: 14px;
    color: #666;
    margin: 0;
    font-weight: 400;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

/* Description Section (Right in RTL) */
.charger-model-description {
    padding: 40px 30px;
    text-align: right;
    display: flex;
    align-items: center;
    direction: rtl;
}

.charger-model-description p {
    font-size: 14px;
    line-height: 3;
    color: #010029;
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background-color: #fff;
}

/* Mobile Blog Button (hidden on desktop) */
.blog-mobile-button {
    display: none;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.blog-section-title {
    font-size: 36px;
    font-weight: 700;
    color: #020047;
    margin: 0;
    line-height: 1.3;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.blog-header-divider {
    flex: 1;
    height: 1px;
    background-color: #EDEDED;
    margin: 0 20px;
}

.blog-view-more {
    color: #020047;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.blog-view-more:hover {
    color: #20B2AA;
    gap: 12px;
}

.blog-view-more svg {
    width: 16px;
    height: 16px;
}

.blog-posts-grid-home-page {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 54px;
    padding-bottom: 60px;
}

.blog-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.blog-card-image {
    width: 100%;
    padding-bottom: 62.5%; /* 16:10 Aspect Ratio */
    position: relative;
    overflow: hidden;
    background-color: #F7FAFC;
}

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

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

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.blog-category {
    display: inline-block;
    background-color: #FFD700;
    color: #333;
    padding: 4px 7px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    align-self: flex-start;
    margin-bottom: 5px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.blog-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #020047;
    margin: 0;
    line-height: 1.4;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.blog-card-title a {
    color: #020047;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card-title a:hover {
    color: #20B2AA;
}

.blog-card-excerpt {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin: 0;
    flex: 1;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.blog-read-more {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    transition: all 0.3s ease;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.blog-read-more:hover {
    color: #20B2AA;
    gap: 10px;
}

.blog-read-more svg {
    width: 14px;
    height: 14px;
}

/* Main Content
.site-main {
    padding: 40px 0;
    min-height: 60vh;
} */

/* Footer */
.site-footer {
    margin-top: 60px;
    position: relative;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.site-footer * {
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

/* Footer Top Bar */
.footer-top-bar {
    background-color: #20B2AA;
    color: #fff;
    padding: 20px 0;
    max-width: 1200px;
    margin: auto;
    position: absolute;
    top: -50px;
    right: 0;
    left: 0;
    border-radius: 20px;
}

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

.top-bar-mobile {
    display: none;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-direction: row-reverse;
}

.consultation-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.consultation-title {
    font-size: 18px;
    font-weight: 600;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.consultation-subtitle {
    font-size: 14px;
    opacity: 0.9;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.consultation-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}

.top-bar-left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.top-bar-phone {
    font-size: 18px;
    font-weight: 600;
    direction: ltr;
    text-align: right;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.top-bar-hours {
    font-size: 12px;
    opacity: 0.9;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

/* Footer Main */
.footer-main {
    background-color: #E8F4F8;
    padding: 70px 0;
}
.footer-main .container{
    padding: unset;
}

.footer-mobile {
    display: none;
}

.footer-columns {
    display: grid;
    grid-template-columns: minmax(0, 2.7fr) minmax(0, 1.6fr);
    gap: 40px;
    direction: ltr;
    text-align: right;
    margin-top: 30px;
}

/* Reverse menu column order (RTL site: contact stays right; nav blocks flip). */
.footer-nav-columns-group {
    direction: ltr;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    gap: 40px;
    align-items: flex-start;
    min-width: 0;
}

.footer-nav-columns-group .footer-column--nav {
    flex: 1 1 0;
    min-width: 0;
}

.footer-nav-columns-group .footer-column--nav:nth-child(1) {
    flex: 1.8 1 0;
}

.footer-nav-columns-group .footer-column--nav:nth-child(2) {
    flex: 0.9 1 0;
}

.footer-nav-columns-group .footer-column--nav:nth-child(3) {
    flex: 0.9 1 0;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: #020047;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.footer-column--nav .footer-title {
    font-weight: 700;
}

.footer-links-rows {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
    max-height: 120px;
    flex-wrap: wrap;
}

.footer-links-rows .footer-links {
    height: auto;
    flex-wrap: nowrap;
    gap: 18px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 25px;
    height: 130px;
    align-content: stretch;
    direction: rtl;
    align-items: flex-start;
    font-size: 14px;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: #4A5568;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    display: block;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.footer-links a:hover {
    color: #20B2AA;
}

/* Footer Contact Column */
.footer-contact .contact-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.contact-address {
    font-size: 14px;
    color: #4A5568;
    line-height: 1.6;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    direction: rtl;
}

.contact-address strong {
    color: #020047;
    display: inline;
    margin-left: 5px;
}

.contact-email {
    direction: rtl;
}

.contact-email a {
    color: #4A5568;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.contact-email a:hover {
    color: #20B2AA;
}

.contact-email svg {
    width: 16px;
    height: 16px;
    color: #20B2AA;
}

.social-icons {
    display: flex;
    gap: 10px;
    flex-direction: row-reverse;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    color: #4A5568;
}

.social-icon:hover {
    background-color: #20B2AA;
    color: #fff;
    transform: translateY(-2px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Footer Copyright */
.footer-copyright {
    background-color: #E8F4F8;
    padding: 20px 0;
}

.copyright-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    text-align: center;
}

/* Enamad removed site-wide */
.footer-mobile-bottom-logo,
.copyright-logo,
.enamad-logo-image {
    display: none !important;
}

.copyright-text {
    font-size: 14px;
    color: #4A5568;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    width: 100%;
    text-align: center;
}

/* Posts */
.post {
    margin-bottom: 40px;
    padding-bottom: 40px;
}

.post-title {
    font-size: 32px;
    margin-bottom: 15px;
}

.post-title a {
    color: #333;
    text-decoration: none;
}

.post-title a:hover {
    color: #4CAF50;
}

.post-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.post-content {
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 1024px) {
    /* .site-main{
        padding: 10px 0;
    } */
    .header-content {
        flex-wrap: wrap;
    }
    
    .main-navigation {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }
    
    .main-navigation ul {
        justify-content: center;
        gap: 25px;
    }
    
    .contact-info {
        margin-left: 0;
        gap: 10px;
    }
    
    .contact-icon-wrapper {
        width: 44px;
        height: 44px;
    }
    
    /* Hero Responsive */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-images {
        order: 2;
    }
    
    .hero-text {
        order: 1;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Services Responsive */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Energy Storage Responsive */
    .storage-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    /* Lithium Batteries Responsive */
    .batteries-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .batteries-image {
        order: 1;
    }
    
    .batteries-text {
        order: 2;
    }
    
    .batteries-title {
        font-size: 28px;
        text-align: center;
    }
    
    .batteries-description {
        text-align: center;
    }
    
    .product-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    /* UPS Systems Responsive */
    .ups-hero {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .ups-hero-image {
        order: 1;
        height: 200px;
        width: 100%;
        border-radius: unset;
    }
    
    .ups-hero-content {
        order: 2;
        text-align: center;
    }
    
    .ups-main-title {
        font-size: 28px;
    }
    
    .ups-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Solar Package Responsive */
    .solar-main-title {
        font-size: 28px;
    }
    
    .solar-subtitle {
        font-size: 16px;
    }
    
    .solar-overlay-box {
        position: relative;
        top: auto;
        right: auto;
        max-width: 100%;
        margin: 20px;
    }
    
    /* EV Charging Responsive */
    .ev-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .ev-center-image {
        order: 1;
        width: 70%;
        margin: auto;
    }
    
    .ev-features-left {
        order: 2;
    }
    
    .ev-features-right {
        order: 3;
    }
    
    .ev-main-title {
        font-size: 28px;
    }
    
    .ev-subtitle {
        font-size: 16px;
    }
    
    /* EV Charger Model Responsive */
    .charger-model-overlay {
        position: relative;
        top: auto;
        right: auto;
        align-items: center;
        text-align: center;
        margin-bottom: 20px;
        flex-direction: column;
    }
    
    .charger-model-text {
        text-align: center;
    }
    
    .charger-model-bottom-content {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .charger-model-vertical-divider {
        display: none;
    }
    
    .charger-stats-wrapper {
        padding: 30px 20px;
    }
    
    .charger-stats {
        flex-direction: row;
        gap: 15px;
    }
    
    .stat-box {
        flex: 1;
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .charger-model-description {
        padding: 30px 20px;
    }
    
    /* Blog Responsive */
    .blog-posts-grid-home-page {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .blog-section-title {
        font-size: 28px;
    }
    
    /* Footer Responsive */
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Header - Remove sticky position */
    .site-header {
        position: relative;
    }
    
    .site-header .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        flex-wrap: nowrap;
        min-width: 0;
    }
    
    /* Persian mobile: لوگو راست، آیکون‌ها چپ */
    body.lang-fa .header-content {
        direction: rtl;
        flex-direction: row;
    }
    
    /* Logo - right in RTL (Persian), left in LTR (English) */
    .site-branding {
        display: flex;
        order: 2;
        flex-shrink: 0;
    }
    
    body.lang-fa .site-branding {
        order: 1;
    }
    
    .site-branding .logo-image {
        height: 35px;
        width: auto;
    }
    
    /* Hide navigation in mobile */
    .main-navigation {
        display: none !important;
    }
    
    /* Hide contact info in mobile */
    .contact-info {
        display: none;
    }
    
    /* Header actions - left in RTL (Persian), right in LTR (English) */
    .header-actions {
        order: 1;
        flex-direction: row;
        flex-shrink: 0;
        min-width: 0;
    }
    
    body.lang-fa .header-actions {
        order: 2;
    }
    
    /* Action icons - hamburger, cart, profile, lang - single row, no wrap */
    .action-icons {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
        flex-shrink: 0;
    }
    
    /* Persian (RTL) mobile: visual left→right = hamburger, profile, cart, language */
    body.lang-fa .action-icons .header-lang-switcher {
        order: 1;
    }
    body.lang-fa .action-icons .cart-btn {
        order: 2;
    }
    body.lang-fa .action-icons .profile-btn {
        order: 3;
    }
    body.lang-fa .action-icons .mobile-menu-toggle {
        order: 4;
    }

    /* English (LTR) mobile: language left, hamburger right (swap vs default DOM order) */
    body.lang-en .action-icons .header-lang-switcher {
        order: 1;
    }
    body.lang-en .action-icons .cart-btn {
        order: 2;
    }
    body.lang-en .action-icons .profile-btn {
        order: 3;
    }
    body.lang-en .action-icons .mobile-menu-toggle {
        order: 4;
    }
    
    /* Mobile: header lang uses modal — hide inline dropdown */
    .header-lang-dropdown .lang-dropdown-menu {
        display: none !important;
    }
    
    /* Mobile icon buttons - compact 40px */
    .icon-btn-wrapper {
        width: 40px;
        height: 40px;
        min-width: 40px;
        background-color: #E8F4F8;
        border-radius: 8px;
    }
    
    .action-icon {
        width: 20px;
        height: 20px;
    }
    
    /* Lang switcher mobile: FA / EN / AR text + chevron (no flag emoji → avoids IR/GB/SA) */
    .header-lang-dropdown .lang-dropdown-toggle {
        width: auto;
        min-width: 56px;
        height: 40px;
        padding: 0 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        background-color: #E8F4F8;
        border-radius: 8px;
        border: none;
        box-shadow: none;
    }
    .header-lang-dropdown .lang-globe-icon {
        display: none !important;
    }
    .header-lang-dropdown .lang-toggle-label {
        display: inline !important;
        font-size: 13px;
        font-weight: 600;
        min-width: 0;
    }
    .header-lang-dropdown .lang-dropdown-arrow {
        display: flex !important;
    }
    .header-lang-dropdown .lang-dropdown-arrow svg {
        width: 10px;
        height: 10px;
    }
    
    /* Phone icon button - hidden as requested */
    .mobile-phone-btn {
        display: none !important;
    }
    
    .mobile-phone-btn:hover {
        background-color: #D0E8F0;
    }
    
    .mobile-phone-btn svg {
        width: 22px;
        height: 22px;
        color: #20B2AA;
        stroke: #20B2AA;
    }
    
    .post-title {
        font-size: 24px;
    }
    

    /* Hero Responsive */
    .hero-section {
        padding: 40px 0;
        min-height: auto;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    /* جدا کردن المان‌ها برای ترتیب صحیح در موبایل */
    .hero-text {
        display: contents; /* المان‌های داخل را به سطح parent می‌برد */
    }
    
    /* ترتیب المان‌ها در موبایل */
    .hero-title {
        order: 1;
        font-size: 28px;
        margin: 0;
        text-align: center;
        width: 100%;
    }
    
    .hero-subtitle {
        order: 2;
        font-size: 18px;
        margin: 0;
        text-align: center;
        width: 100%;
    }
    
    /* Grid تصاویر */
    .hero-image {
        order: 3;
    }
    
    /* توضیحات */
    .hero-description {
        order: 4;
        font-size: 14px;
        margin: 0;
    }
    
    /* دکمه‌ها */
    .hero-buttons {
        order: 5;
        width: 100%;
        margin-top: 0;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-buttons.hero-buttons--single {
        justify-content: center;
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 14px;
        flex: 0 1 auto;
        white-space: nowrap;
    }

    .hero-buttons--single .btn {
        display: block;
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
    
    /* تصویر نمودار مخفی می‌شود */
    .hero-chart-overlay {
        display: none;
    }
    
    /* تنظیمات grid برای موبایل - بدون تغییر */
    .hero-images-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        min-height: 400px;
        max-width: 100%;
        width: 100%;
    }
    
   
    
    /* Services — mobile */
    .services-section {
        padding: 48px 0;
    }

    .services-section .container {
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        width: 100%;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
        justify-items: stretch;
    }

    .service-card {
        padding: 16px 12px;
        background-color: #fff;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        gap: 10px;
        align-items: center;
        text-align: center;
        box-sizing: border-box;
    }

    .service-content-wrapper {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        width: 100%;
    }

    .service-icon-wrapper {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
    }

    .service-text-wrapper {
        align-items: center;
        text-align: center;
        width: 100%;
        gap: 8px;
    }

    .service-icon {
        width: 32px;
        height: 32px;
    }

    .service-title {
        font-size: 15px;
        line-height: 1.35;
        text-align: center;
    }

    .service-description {
        font-size: 13px;
        line-height: 1.55;
        text-align: center;
    }

    /* Lithium Batteries Responsive */
    .lithium-batteries-section {
        padding: 40px 0;
    }
    
    .batteries-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .batteries-title {
        font-size: 24px;
        text-align: center;
    }
    
    .batteries-description {
        font-size: 14px;
        text-align: center;
    }
    
    .batteries-content {
        position: relative;
    }
    
    .batteries-content .batteries-text {
        order: 2;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .batteries-text{
        padding: 0;
    }
    .ups-hero{
        padding: 0;
    }
    
    .batteries-content .batteries-image {
        order: 1;
        position: relative;
        width: 100%;
    }
    
    .batteries-image-wrapper img {
        width: 100%;
        height: auto;
        border-radius: 12px;
    }
    
    /* Fix Product Cards Scrolling */
    .product-cards-grid {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
        display: flex;
        flex-direction: row;
        gap: 15px;
        padding: 10px 5px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        z-index: 1;
    }
    
    .product-cards-grid::-webkit-scrollbar {
        display: none;
    }
    
    .product-card {
        width: 110px;
        height: 150px;
        min-width: 110px;
        max-width: 110px;
        padding: 5px;
        gap: 6px;
        flex-shrink: 0;
    }
    
    .lophal-home-product-card {
        width: 110px;
        height: 150px;
        min-width: 110px;
        max-width: 110px;
        padding: 5px;
        gap: 6px;
        flex-shrink: 0;
    }
    
    .product-image {
        padding-bottom: 0;
        height: 70px;
        flex-shrink: 0;
    }
    
    .product-image img {
        padding: 5px;
    }
    
    .product-info {
        gap: 2px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .product-name {
        font-size: 10px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
    }
    
    .product-model {
        font-size: 9px;
        text-align: center;
    }
    
    .product-price {
        font-size: 11px;
        text-align: center;
    }
    
    .lophal-home-product-image {
        padding-bottom: 0;
        height: 70px;
        flex-shrink: 0;
    }
    
    .lophal-home-product-image img {
        padding: 5px;
    }
    
    .lophal-home-product-info {
        gap: 2px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .lophal-home-product-name {
        font-size: 10px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
    }
    
    .lophal-home-product-model {
        font-size: 9px;
        text-align: center;
    }
    
    .lophal-home-product-price {
        font-size: 11px;
        text-align: center;
    }
    
    /* UPS Systems Responsive */
    .ups-systems-section {
        padding: 40px 0;
        width: 100%;
        overflow: hidden;
    }
    
    .ups-systems-section .container {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
    
    .ups-hero {
        display: flex;
        margin-bottom: 40px;
        flex-direction: column-reverse;
        gap: 20px;
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        box-sizing: border-box;
        background: none;
    }
    
    .ups-hero-content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .ups-hero-image {
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .ups-hero-image img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        max-height: 250px;
        object-fit: cover;
        display: block;
    }
    
    .ups-main-title {
        font-size: 24px;
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
    }
    
    .ups-main-description {
        font-size: 14px;
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
    }
    
    .ups-types-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box;
        
    }
    
    .ups-type-card {
        padding: 15px;
        text-align: center;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.1);
        gap: 20px;
        border-radius: 5px;
    }
    
    .ups-type-card * {
        max-width: 100%;
        box-sizing: border-box;
    }

    .ups-type-icon {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }

    .ups-type-icon img {
        width: 50px;
        height: 50px;
    }

    .ups-type-title {
        font-size: 15px;
        margin-bottom: 5px;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: right;
    }

    .ups-type-description {
        font-size: 12px;
        line-height: 1.5;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: right;
    }
    .ups-type-content{
        display: flex;
        flex-direction: column;
        gap: 10px;
        text-align: right;
    }
    /* Lithium Batteries Responsive */
    .lithium-batteries-section {
        padding: 30px 0;
        width: 100%;
        margin-bottom: 100px;
    }
    
    .lithium-batteries-section .container {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }
    .ups-systems-section .container::before{
        content: none;
        display: none;
    }

    .batteries-content {
        display: flex;
        flex-direction: column-reverse;
        gap: 30px;
        width: 100% !important;
        max-width: 100%;
        margin: 0 !important;
        direction: rtl;
    }
    
    .batteries-title {
        font-size: 24px;
        text-align: center;
        width: 100%;
    }
    
    .batteries-description {
        font-size: 14px;
        text-align: center;
        margin-bottom: 20px;
        width: 100%;
    }
    
    .batteries-content .batteries-text {
        order: 2;
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .batteries-content .batteries-image {
        order: 1;
        position: relative;
        width: 100%;
        max-width: 100%;
    }
    
    .batteries-image-wrapper {
        width: 100%;
        max-width: 100%;
    }
    
    .batteries-image-wrapper img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        max-height: 250px;
        object-fit: cover;
    }
    
    /* Fix Product Cards Scrolling - Edge to Edge */
    .product-cards-grid {
        position: absolute;
        bottom: auto;
        left: auto;
        right: auto;
        width: calc(100% + 40px);
        margin-right: -20px;
        margin-left: -20px;
        margin-top: 20px;
        display: flex;
        flex-direction: row;
        gap: 15px;
        padding: 10px 20px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        z-index: 1;
        box-sizing: border-box;
        bottom: -100px;
    }
    
    .product-card {
        width: 110px !important;
        min-width: 110px;
        max-width: 110px;
        box-sizing: border-box;
    }
    
    .lophal-home-product-card {
        width: 110px !important;
        min-width: 110px;
        max-width: 110px;
        box-sizing: border-box;
    }
    
    /* Solar Package Responsive */
    .solar-package-section {
        padding: 40px 0;
        width: 100%;
        overflow: hidden;
    }
    
    .solar-package-section .container {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
        display: flex;
        flex-direction: column;
    }
    
    .solar-header {
        margin-bottom: 20px;
        order: 1;
        width: 100%;
    }
    
    .solar-main-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .solar-subtitle {
        font-size: 14px;
        margin-bottom: 0;
    }
    
    .solar-image-container {
        order: 2;
        margin-bottom: 20px;
        width: 100%;
    }
    
    .solar-main-image {
        width: 100%;
    }
    
    .solar-main-image img {
        width: 100%;
        height: auto;
    }
    
    .solar-overlay-box {
        display: none !important;
    }
    
    .overlay-chart {
        display: none !important;
    }
    
    .solar-description {
        order: 3;
        padding-right: 0;
        padding-left: 0;
        margin-top: 20px;
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .solar-description p {
        font-size: 14px;
        text-align: center;
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* EV Charging Responsive */
    /* Hide desktop EV sections on mobile */
    .ev-charging-section,
    .ev-charger-model-section {
        display: none;
    }
    .ev-charging-mobile-section .container{
        padding: 0;
    }
    /* Show mobile combined section */
    .ev-charging-mobile-section {
        display: block;
        padding: 60px 0 0 0;
        margin-bottom: -35px;
    }
    
    .ev-mobile-header {
        text-align: center;
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
    .ev-mobile-main-title {
        font-size: 28px;
        font-weight: 700;
        color: #020047;
        margin: 0 0 15px 0;
        line-height: 1.3;
        font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    }
    
    .ev-mobile-subtitle {
        font-size: 16px;
        color: #666;
        margin: 0;
        line-height: 1.6;
        font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    }
    
    .ev-mobile-car-image-wrapper {
        position: relative;
        width: 100%;
        min-height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .ev-mobile-car-image-wrapper::before {
        content: '';
        position: absolute;
        top: -85px;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: radial-gradient(circle, rgba(242, 250, 255, 1) 15px, transparent 2px);
        background-size: 40px 40px;
        background-position: 0 0;
        background-repeat: repeat;
        pointer-events: none;
        z-index: 1;
        width: 100%;
        mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.95) 15%, rgba(0, 0, 0, 0.85) 30%, rgba(0, 0, 0, 0.7) 45%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.1) 90%, rgba(0, 0, 0, 0) 100%);
        -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.95) 15%, rgba(0, 0, 0, 0.85) 30%, rgba(0, 0, 0, 0.7) 45%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.1) 90%, rgba(0, 0, 0, 0) 100%);
    }
    
    .ev-mobile-car-image {
        position: absolute;
        z-index: 2;
        width: 100%;
        max-width: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
        bottom: 0;
    }
    
    .ev-mobile-car-image img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
    }
    
    .ev-mobile-features-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 50px 15px;
        background-color: #F2FAFE;
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
        overflow: hidden;
    }
    
    .ev-mobile-feature-box {
        background-color: #fff;
        border: 1px solid #E2E8F0;
        border-radius: 12px;
        padding: 12px 8px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        width: 100%;
        min-height: 180px;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .ev-mobile-feature-icon {
        width: 45px;
        height: 45px;
        background-color: #FFB931;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        margin-bottom: 5px;
        flex-shrink: 0;
    }
    
    .ev-mobile-feature-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .ev-mobile-feature-title {
        font-size: 14px;
        font-weight: 600;
        color: #020047;
        margin: 0 0 5px 0;
        line-height: 1.3;
        font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .ev-mobile-feature-description {
        font-size: 11px;
        color: #666;
        margin: 0;
        text-align: center;
        font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
        flex: 1;
    }
    
    .ev-charging-section {
        padding: 40px 0;
    }
    
    .ev-header {
        margin-bottom: 40px;
    }
    
    .ev-main-title {
        font-size: 24px;
    }
    
    .ev-subtitle {
        font-size: 14px;
    }
    
    .ev-content {
        gap: 30px;
    }
    
    .ev-features-left,
    .ev-features-right {
        gap: 20px;
    }
    
    .ev-feature-box {
        padding: 20px;
    }
    
    .ev-feature-title {
        font-size: 16px;
        padding-right: 45px;
    }
    
    .ev-feature-description {
        font-size: 13px;
        padding-top:10px;
    }
    
    /* EV Charger Model Responsive */
    .ev-charger-model-section {
        padding: 40px 0;
    }
    
    .charger-model-title {
        font-size: 28px;
    }
    
    .charger-model-subtitle {
        font-size: 16px;
    }
    
    .charger-model-description p {
        font-size: 14px;
    }
    
    .charger-stats-wrapper {
        padding: 20px 15px;
    }
    
    .charger-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-box {
        width: 100%;
        padding: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 13px;
    }
    
    .charger-model-description {
        padding: 20px 15px;
    }
    
    /* Blog Responsive */
    .blog-section {
        padding: 40px 0;
    }
    
    /* Hide desktop content on mobile */
    .blog-header {
        display: none  !important;
    }
    
    .blog-posts-grid-home-page {
        display: none !important;
    }
    
    /* Show mobile button */
    .blog-mobile-button {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background-color: #fff;
        border-radius: 12px;
        padding: 15px 20px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin: 0 auto;
        max-width: 100%;
        flex-direction: row-reverse;
    }
    
    .blog-mobile-all-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        background-color: #20B2AA;
        color: #fff;
        padding: 10px 16px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
        transition: all 0.3s ease;
        flex-direction: row-reverse;
    }
    
    .blog-mobile-all-btn:hover {
        background-color: #1a9a94;
        transform: translateY(-2px);
    }
    
    .blog-mobile-all-btn svg {
        width: 16px;
        height: 16px;
        stroke: currentColor;
    }
    
    .blog-mobile-label {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #020047;
        font-size: 14px;
        font-weight: 600;
        font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
        flex-direction: row-reverse;
    }
    
    .blog-mobile-label svg {
        width: 24px;
        height: 24px;
        stroke: #fff;
    }
    
    /* Home front page: hide blog grid on mobile (strip is in footer) */
    body.home .blog-section {
        display: none !important;
    }
    
    .footer-mobile-blog-strip {
        width: 100%;
        max-width: 100%;
        margin: -35px 0 16px;
    }
    
    /* Footer Responsive */
    .footer-top-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        max-width: 100%;
        border-radius: 0;
        padding: 15px 0;
        z-index: 9999;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .top-bar-desktop {
        display: none;
    }
    
    .footer-top-bar-mobile-link {
        display: block;
        text-decoration: none;
        color: inherit;
        width: 100%;
        -webkit-tap-highlight-color: transparent;
    }
    
    .footer-top-bar-mobile-link:active {
        opacity: 0.8;
    }
    
    .top-bar-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .site-footer{
        margin-top: 20px;
    }
    
    .footer-top-bar-mobile-link .mobile-consultation-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 24px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        color: #fff;
        font-size: 14px;
        font-weight: 500;
        font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
        transition: background-color 0.3s;
        flex-direction: row-reverse;
        margin: 0 auto;
    }
    
    .footer-top-bar-mobile-link .mobile-consultation-btn svg {
        width: 16px;
        height: 16px;
        stroke: #fff;
    }
    
    .mobile-phone-number {
        font-size: 16px;
        font-weight: 600;
        direction: ltr;
        text-align: right;
        font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    }
    
    /* mobile-consultation-btn styles moved to footer-top-bar-mobile-link .mobile-consultation-btn */
    
    /* Add padding to body to prevent content from being hidden behind fixed footer */
    body {
        padding-bottom: 70px !important;
    }
    
    /* Hide regular footer sticky bar on archive/shop pages in mobile
    body.woocommerce-page .footer-top-bar {
        display: none !important;
    } */
    
    /* Footer Main Mobile */
    .footer-main {
        background-color: #fff;
        padding: 0;
    }
    
    /* Hide desktop footer columns on mobile */
    .footer-columns {
        display: none;
    }
    
    /* Show mobile footer */
    .footer-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        padding: 0 20px;
        margin-top: 35px;
    }
    
    .footer-mobile-logo {
        margin-bottom: 10px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .footer-mobile-logo .logo-link,
    .footer-mobile-logo .logo-icon {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .footer-mobile-logo .logo-image {
        width: auto;
        max-width: 100%;
        height: auto;
    }
    
    .footer-mobile-contact {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .footer-mobile-contact .contact-address {
        font-size: 14px;
        color: #020047;
        line-height: 1.6;
        text-align: center;
    }
    
    .footer-mobile-contact .contact-address strong {
        color: #020047;
        display: inline;
        margin-left: 5px;
        font-weight: 600;
    }
    
    .footer-mobile-contact .contact-email {
        margin-top: 10px;
        direction: rtl;
        text-align: center;
    }
    
    .footer-mobile-contact .contact-email a {
        color: #020047;
        text-decoration: none;
        font-size: 14px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        justify-content: center;
    }
    
    .footer-mobile-contact .social-icons {
        justify-content: center;
        margin-top: 20px;
    }
    
    .footer-mobile-contact .social-icon {
        width: 40px;
        height: 40px;
        background-color: #E8F4F8;
        border-radius: 8px;
        color: #020047;
    }
    
    .footer-mobile-quick-access {
        width: 100%;
        background-color: #E8F4F8;
        border-radius: 8px;
        padding: 15px 20px;
        margin-bottom: 20px;
    }
    
    .quick-access-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        user-select: none;
    }
    
    .quick-access-title {
        color: #020047;
        font-size: 16px;
        font-weight: 600;
        font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    }
    
    .quick-access-arrow {
        width: 16px;
        height: 16px;
        color: #020047;
        stroke: currentColor;
        transition: transform 0.3s ease;
    }
    
    .quick-access-arrow.rotated {
        transform: rotate(180deg);
    }
    
    .quick-access-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin-top: 0;
    }
    
    .quick-access-menu.active {
        max-height: 1000px;
        margin-top: 20px;
    }
    
    .quick-access-section {
        margin-bottom: 20px;
    }
    
    .quick-access-section:last-child {
        margin-bottom: 0;
    }
    
    .quick-access-section-title {
        color: #020047;
        font-size: 14px;
        font-weight: 600;
        margin: 0 0 12px 0;
        font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    }
    
    .quick-access-links {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .quick-access-links li {
        margin: 0;
    }
    
    .quick-access-links a {
        color: #4A5568;
        text-decoration: none;
        font-size: 14px;
        display: block;
        padding: 8px 0;
        transition: color 0.3s ease;
        font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    }
    
    .quick-access-links a:hover {
        color: #20B2AA;
    }
    
    .footer-copyright {
        background-color: #E8F4F8;
        padding: 20px 0;
        border-radius: 20px 20px 0 0;
    }
    
    .copyright-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 15px;
    }

    .copyright-text {
        width: 100%;
        max-width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* Mobile Hamburger Menu */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background-color: #E8F4F8;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        color: #20B2AA;
        padding: 0;
        margin-left: 0;
    }
    
    .mobile-menu-toggle svg {
        stroke: #20B2AA;
    }

    /* Mobile Drawer */
    .mobile-menu-drawer {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;
        background-color: #fff;
        z-index: 2000;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .mobile-menu-drawer.active {
        right: 0;
    }

    .drawer-header {
        padding: 20px 25px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #f0f0f0;
        background-color: #fff;
    }

    .drawer-logo-image {
        height: 40px;
        width: auto;
    }

    .drawer-close {
        background: #E8F4F8;
        border: none;
        cursor: pointer;
        color: #020047;
        padding: 8px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s;
    }

    .drawer-close:hover {
        background-color: #d1eef7;
    }
    
    .drawer-close svg {
        width: 20px;
        height: 20px;
    }

    .drawer-content {
        flex: 1;
        overflow-y: auto;
        padding: 10px 0;
    }

    .mobile-nav-menu,
    .drawer-content ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .mobile-nav-menu li,
    .drawer-content ul li {
        border-bottom: 1px solid #f9f9f9;
        margin: 0;
        padding: 0;
    }
    
    .mobile-nav-menu li:last-child,
    .drawer-content ul li:last-child {
        border-bottom: none;
    }

    .mobile-nav-menu li a,
    .drawer-content ul li a {
        display: flex;
        align-items: center;
        padding: 16px 25px;
        text-decoration: none;
        color: #4A5568;
        font-size: 15px;
        font-weight: 500;
        font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
        transition: all 0.2s ease;
    }
    
    .mobile-nav-menu li a:hover,
    .mobile-nav-menu li.current-menu-item > a,
    .drawer-content ul li a:hover {
        color: #20B2AA;
        background-color: #fcfcfc;
        padding-right: 30px;
    }

    /* Submenu styles if any */
    .mobile-nav-menu .sub-menu,
    .drawer-content ul .sub-menu {
        background-color: #f8f9fa;
        display: none; /* Hidden by default, will be toggled by JS */
        padding: 0;
        list-style: none;
        margin: 0;
    }
    
    .mobile-nav-menu .sub-menu li {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-nav-menu .sub-menu li:last-child {
        border-bottom: none;
    }
    
    .mobile-nav-menu .sub-menu li a {
        padding: 12px 25px 12px 40px;
        font-size: 14px;
        color: #6B7280;
        font-weight: 400;
    }
    
    .mobile-nav-menu .sub-menu li a:hover {
        color: #20B2AA;
        background-color: #f0f9fa;
        padding-right: 30px;
    }
    
    .mobile-nav-menu li.menu-item-has-children > a::after,
    .drawer-content ul li.menu-item-has-children > a::after {
        content: '+';
        margin-right: auto;
        font-size: 20px;
        color: #cbd5e0;
        font-weight: 300;
        transition: transform 0.3s ease;
    }
    
    /* Mobile submenu open state - using mobile-submenu-open class */
    .mobile-nav-menu li.menu-item-has-children.mobile-submenu-open > a::after,
    .drawer-content li.menu-item-has-children.mobile-submenu-open > a::after {
        content: '−';
        transform: rotate(0deg);
    }

    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 1999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        pointer-events: none;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

/* ========================================
   Single Product Page Styles
   ======================================== */

.single-product-wrapper {
    padding: 40px 0;
}

.single-product-content {
    margin-bottom: 60px;
}

.single-product-grid {
    display: grid;
    grid-template-columns: 25% 47% 25%;
    gap: 16px;
    margin-top: 30px;
    direction: ltr;

}

/* Breadcrumbs and Search Wrapper */
.breadcrumbs-search-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-top: 20px;
    flex-wrap: wrap;
}

/* Breadcrumbs */
.shop-breadcrumbs {
    margin: 0;
    padding: 0;
    font-size: 12px;
    color: #000000;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    direction: rtl;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    flex: 1;
}

.shop-breadcrumbs li {
    display: inline-flex;
    align-items: center;
}

.shop-breadcrumbs li::after {
    content: '>';
    margin: 0 8px;
    color: #000000;
}

.shop-breadcrumbs li:last-child::after {
    display: none;
}

.shop-breadcrumbs a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s;
}

.shop-breadcrumbs a:hover {
    color: #20B2AA;
}

/* ========================================
   Single Product Page Styles
   ======================================== */

/* Left Column Styles */
.single-product-wrapper .product-left-column {
    display: flex;
    flex-direction: column;
    background-color: #F8F8F8;
    padding: 20px 7px 7px 7px;
    border-radius: 5px;
    min-height: 73%;
}

/* Search Box */
.breadcrumbs-search-wrapper .product-search-box {
    flex: 0 0 auto;
    min-width: 290px;
}

.single-product-wrapper .product-search-box {
    margin-bottom: 10px;
}

.single-product-wrapper .product-search-box form {
    position: relative;
    display: flex;
}

.single-product-wrapper .product-search-box .search-field {
    width: 100%;
    padding: 12px 10px 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    outline: none;
    transition: border-color 0.3s;
}

.single-product-wrapper .product-search-box .search-field:focus {
    border-color: #20B2AA;
}

.single-product-wrapper .product-search-box .search-submit {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-product-wrapper .product-search-box .search-submit:hover {
    color: #20B2AA;
}

/* Price Section */
.single-product-wrapper .product-price-section {
    display: flex;
    flex-direction: column;
    position: relative;
}

.single-product-wrapper .product-price-original {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.single-product-wrapper .product-price-current {
    display: flex;
    align-items: baseline;
    gap: 6px;
    direction: rtl;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    flex-direction: row;
    justify-content: flex-end;
}

.single-product-wrapper .product-price-current .price-amount {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    line-height: 1;
}

.single-product-wrapper .product-price-current .price-currency {
    font-size: 14px;
    color: #999;
    font-weight: normal;
}

.single-product-wrapper .product-price-current .woocommerce-Price-amount {
    font-size: 32px;
    font-weight: bold;
}

.single-product-wrapper .product-discount-badge {
    position: absolute;
    background: #FFBF00;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    line-height: 1;
    right: 10px;
}



.single-product-wrapper .product-add-to-cart form {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.single-product-wrapper .product-add-to-cart .quantity {
    display: none; /* Hide quantity selector as per design */
}

.single-product-wrapper .product-add-to-cart .single_add_to_cart_button,
.single-product-wrapper .product-add-to-cart button[type="submit"],
.single-product-wrapper .product-add-to-cart .button {
    width: 100%;
    padding: 15px 20px;
    background: #20B2AA !important;
    color: white !important;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    transition: background-color 0.3s;
    text-decoration: none;
    direction: rtl;
}

.single-product-wrapper .product-add-to-cart .single_add_to_cart_button:hover,
.single-product-wrapper .product-add-to-cart button[type="submit"]:hover,
.single-product-wrapper .product-add-to-cart .button:hover {
    background: #1a9b94 !important;
    color: white !important;
}

/* Keep blue color when button is disabled/loading */
.single-product-wrapper .product-add-to-cart .single_add_to_cart_button:disabled,
.single-product-wrapper .product-add-to-cart button[type="submit"]:disabled,
.single-product-wrapper .product-add-to-cart .button:disabled,
.single-product-wrapper .product-add-to-cart .single_add_to_cart_button.disabled,
.single-product-wrapper .product-add-to-cart button[type="submit"].disabled,
.single-product-wrapper .product-add-to-cart .button.disabled {
    background: #20B2AA !important;
    background-color: #20B2AA !important;
    color: white !important;
    opacity: 0.8;
    cursor: not-allowed;
    border-color: #20B2AA !important;
}

.single-product-wrapper .product-add-to-cart .single_add_to_cart_button:disabled:hover,
.single-product-wrapper .product-add-to-cart button[type="submit"]:disabled:hover,
.single-product-wrapper .product-add-to-cart .button:disabled:hover,
.single-product-wrapper .product-add-to-cart .single_add_to_cart_button.disabled:hover,
.single-product-wrapper .product-add-to-cart button[type="submit"].disabled:hover,
.single-product-wrapper .product-add-to-cart .button.disabled:hover {
    background: #20B2AA !important;
    background-color: #20B2AA !important;
    color: white !important;
    border-color: #20B2AA !important;
}

.single-product-wrapper .product-add-to-cart .single_add_to_cart_button::after,
.single-product-wrapper .product-add-to-cart button[type="submit"]::after {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'%3E%3C/path%3E%3Cline x1='3' y1='6' x2='21' y2='6'%3E%3C/line%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

/* Warranty */
.single-product-wrapper .product-warranty {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 10px;
    padding: 10px 0;
    direction: rtl;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.single-product-wrapper .product-warranty svg {
    color: #FFBF00;
    fill: #FFBF00;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* Features List */
.single-product-wrapper .product-features-list {
    margin-top: 10px;
    background: #F1F1F1;
    border-radius: 8px;
    padding: 20px;
}

.single-product-wrapper .product-features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.single-product-wrapper .product-features-list ul li {
    color: #333;
    font-size: 10px;
    line-height: 1.6;
    padding-right: 20px;
    position: relative;
    direction: rtl;
    text-align: right;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.single-product-wrapper .product-features-list ul li::before {
    content: '•';
    position: absolute;
    right: 0;
    color: #20B2AA;
    font-size: 18px;
    font-weight: bold;
}

/* Support Section */
.single-product-wrapper .product-support-section {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.single-product-wrapper .support-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #20B2AA 0%, #1a9b94 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.single-product-wrapper .support-image svg {
    width: 30px;
    height: 30px;
}

.single-product-wrapper .support-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.single-product-wrapper .support-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #20B2AA;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
    width: fit-content;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.single-product-wrapper .support-phone-btn:hover {
    background: #1a9b94;
    color: white;
}

.single-product-wrapper .support-phone-btn svg {
    width: 16px;
    height: 16px;
}

.single-product-wrapper .support-label {
    font-size: 12px;
    color: #666;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

/* Middle Column Styles */
.single-product-wrapper .product-middle-column {
    display: flex;
    flex-direction: column;
    direction: rtl;
}

/* Product Title Row */
.single-product-wrapper .product-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-direction: column;
    gap:20px;
}

.single-product-wrapper .product-title-wrapper {
    flex: 1;
}

.single-product-wrapper .product-title {
    font-size: 25px;
    font-weight: 600;
    color: #020047;
    margin: 0 0 8px 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.single-product-wrapper .product-model {
    font-size: 16px;
    color: #4A5568;
    margin-top: 8px;
    margin-bottom: 8px;
    text-align: right;
    direction: rtl;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.single-product-wrapper .product-model .model-label {
    font-weight: 500;
    margin-left: 5px;
}

.single-product-wrapper .product-model .model-value {
    font-weight: 600;
    color: #020047;
}

.single-product-wrapper .product-sku {
    font-size: 14px;
    color: #999;
    margin-top: 0;
    margin-right: 10px;
    text-align: right;
}

.single-product-wrapper .product-sku .sku {
    font-weight: normal;
}

/* Specifications */
.single-product-wrapper .product-specifications {
    margin-top: 0;
}

.single-product-wrapper .specifications-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    align-self: flex-start;
    margin-top: 0;
}

.single-product-wrapper .specifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.logged-in-as{
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}
.single-product-wrapper .spec-item {
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    background: #F8F8F8;
    border: none;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    text-align: center;
    min-height: 47px;
    justify-content: center;
    align-items: flex-start;
}
.woocommerce div.product form.cart{
    margin: unset;
}
.single-product-wrapper .spec-label {
    font-size: 8px;
    color: #5E5E5E;
    text-align: center;
    font-weight: light;
    margin-bottom: 4px;
}

.single-product-wrapper .spec-value {
    font-size: 10px;
    color: #5E5E5E;
    font-weight: semibold;
    text-align: center;
}

.single-product-wrapper .specs-separator {
    height: 1px;
    background: #e0e0e0;
    margin: 25px 0;
    width: 100%;
}

.single-product-wrapper .view-all-specs-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
    width: 100%;
}

.single-product-wrapper .specs-divider {
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.single-product-wrapper .view-all-specs {
    display: inline-block;
    white-space: nowrap;
    text-align: center;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    flex-shrink: 0;
}

.single-product-wrapper .view-all-specs:hover {
    border-color: #20B2AA;
    color: #20B2AA;
    background: #f8f8f8;
}

/* Right Column - Product Images */
.single-product-wrapper .product-right-column {
    position: relative;
}

/* Mobile Product Title - Hide on desktop */
.single-product-wrapper .product-mobile-title {
    display: none;
}

/* Product Image Gallery */
.single-product-wrapper .product-image-gallery {
    position: relative;
    height: 76%;
}

.single-product-wrapper .product-main-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #F2FAFF;
    height: 100%;
    align-items: center;
    display: flex;
}

.single-product-wrapper .product-main-image a {
    display: block;
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
}

.single-product-wrapper .product-main-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.single-product-wrapper .product-main-image:hover img {
    transform: translate(-50%, -50%) scale(1.05);
}

.single-product-wrapper .zoom-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 5;
    color: #333;
}

.single-product-wrapper .product-main-image:hover .zoom-icon {
    opacity: 1;
}

.single-product-wrapper .zoom-icon svg {
    width: 20px;
    height: 20px;
}

/* Thumbnail Gallery */
.single-product-wrapper .product-thumbnails {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.single-product-wrapper .thumbnails-slider-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.single-product-wrapper .thumbnails-slider {
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease;
    will-change: transform;
    padding: 5px 0;
    direction: rtl;
}

.single-product-wrapper .thumbnails-nav {
    width: 32px;
    height: 32px;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    color: #666;
}

.single-product-wrapper .thumbnails-nav:hover {
    background: #20B2AA;
    color: white;
    border-color: #20B2AA;
}

.single-product-wrapper .thumbnails-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.single-product-wrapper .thumbnails-nav svg {
    width: 16px;
    height: 16px;
}

.single-product-wrapper .thumbnail-item {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    background: #f8f9fa;
}

.single-product-wrapper .thumbnail-item:hover {
    border-color: #20B2AA;
    transform: translateY(-2px);
}

.single-product-wrapper .thumbnail-item.active {
    border-color: #20B2AA;
    box-shadow: 0 2px 8px rgba(32, 178, 170, 0.3);
}

.single-product-wrapper .thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Lightbox Styles */
.single-product-wrapper .product-image-zoom {
    position: relative;
    display: block;
}

/* Lightbox Styles - Global (outside wrapper for full-screen overlay) */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 10000;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 10000;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    right: 20px;
}

.lightbox-next {
    left: 20px;
}

.woocommerce-product-gallery {
    position: relative;
}

.woocommerce-product-gallery__wrapper {
    margin: 0;
    list-style: none;
    padding: 0;
}

.woocommerce-product-gallery__image {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    margin-bottom: 15px;
    position: relative;
}

.woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.woocommerce-product-gallery__image--placeholder {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    border-radius: 8px;
}

.woocommerce-product-gallery__image--placeholder::before {
    content: 'تصویر محصول';
    color: #999;
    font-size: 16px;
}

/* Product Gallery Thumbnails */
.woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    list-style: none;
    padding: 0;
}

.woocommerce-product-gallery .flex-control-thumbs li {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s;
}

.woocommerce-product-gallery .flex-control-thumbs li:hover,
.woocommerce-product-gallery .flex-control-thumbs li.flex-active {
    border-color: #20B2AA;
}

.woocommerce-product-gallery .flex-control-thumbs li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery Navigation */
.woocommerce-product-gallery .flex-direction-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-product-gallery .flex-direction-nav a {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    color: #333;
    z-index: 10;
    transition: background 0.3s;
}

.woocommerce-product-gallery .flex-direction-nav .flex-prev {
    right: 10px;
}

.woocommerce-product-gallery .flex-direction-nav .flex-next {
    left: 10px;
}

.woocommerce-product-gallery .flex-direction-nav a:hover {
    background: #20B2AA;
    color: white;
}

/* Product Bottom Wrapper */
.single-product-wrapper .product-bottom-wrapper {
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    margin-top: 60px;
}

.single-product-wrapper .product-bottom-grid {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 18px;
    direction: rtl;
}

.single-product-wrapper .product-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.single-product-wrapper .product-bottom-right {
    display: flex;
    flex-direction: column;
}

/* Product Description Section */
.single-product-wrapper .product-description-section {
    padding: 0;
    background: transparent;
    border-top: none;
    margin-top: 0;
    margin-bottom: 60px;
}

.single-product-wrapper .product-description-content {
    max-width: 100%;
    line-height: 1.8;
    color: #666;
    font-size: 15px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px;
    min-height: 200px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.single-product-wrapper .product-description-content:empty::before {
    content: 'Body\A paragraph, table,...';
    white-space: pre;
    color: #ccc;
    font-size: 18px;
    display: block;
    text-align: center;
    padding: 40px 0;
}

.single-product-wrapper .product-description-content p {
    margin-bottom: 20px;
}

.single-product-wrapper .product-description-content h2,
.single-product-wrapper .product-description-content h3 {
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.single-product-wrapper .product-description-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.single-product-wrapper .product-description-content table td,
.single-product-wrapper .product-description-content table th {
    padding: 12px;
    border: 1px solid #e0e0e0;
    text-align: right;
}

/* Sticky Price and Add to Cart Section */
.single-product-wrapper .product-sticky-section-wrapper {
    position: sticky;
    top: 100px;
    z-index: 2;
}

.single-product-wrapper .product-sticky-section {
    background: #F8F8F8;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
}

.single-product-wrapper .product-sticky-section .product-price-section {
    position: relative;
    direction: ltr;
}

.single-product-wrapper .product-sticky-section .product-price-original {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 8px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.single-product-wrapper .product-sticky-section .product-price-current {
    display: flex;
        align-items: baseline;
        gap: 6px;
        direction: rtl;
        font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
        flex-direction: row-reverse;
        justify-content: flex-start;
}
.single-product-wrapper .product-sticky-section .product-price-current .price-currency {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

.single-product-wrapper .product-sticky-section .product-price-current .price-amount {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.single-product-wrapper .product-sticky-section .product-discount-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #FFBF00;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    line-height: 1;
}



.single-product-wrapper .product-sticky-section .product-warranty {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 12px;
    padding: 0;
    direction: rtl;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    padding-top: 15px;
}

.single-product-wrapper .product-sticky-section .product-warranty svg {
    flex-shrink: 0;
}

/* Product Features Section */
.product-features-section {
    padding: 40px 0;
    background: #fff;
    border-top: 1px solid #F0F0F0;
    border-bottom: 1px solid #F0F0F0;
}

/* Hide border-bottom on main shop page */
body.woocommerce-shop .product-features-section,
body.main-shop-page .product-features-section {
    border-bottom: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    background: #F8F8F8;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    transition: all 0.3s;
    min-height: 120px;
}

.feature-item:hover {
    background: #F0F0F0;
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    direction: rtl;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.5em;
    width: 100%;
}

/* Related Products Section */
.related-products-wrapper {
    padding: 60px 0;
    background: #fff;
}

.related-products-title {
    font-size: 32px;
    font-weight: bold;
    color: #1a237e;
    text-align: right;
    margin-bottom: 30px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    direction: rtl;
}

.related-products-slider-wrapper {
    position: relative;
    overflow: visible;
    padding-bottom: 0;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

.related-products-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.related-products-list .related-product-item {
    margin: 0;
    width: 100%;
}

/* Related Product Card Styles */
.related-product-card {
    background: #fff;
    border: 1px solid #F8F8F8;
    border-radius: 5px;
    padding: 0;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: visible;
    position: relative;
    width: 100%;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}



.related-product-image-wrapper {
    position: relative;
    margin-bottom: 0;
    background: #F2FAFF;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    flex: 0 0 60%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    max-height: 125px;
    margin: 15px;
}

.related-product-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.related-product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.related-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 0 15px 10px 15px;
    position: relative;
    direction: rtl;
    text-align: right;
    justify-content: space-between;
}

.related-product-title {
    font-size: 12px;
    font-weight: 600;
    color: #020047;
    margin: 0 0 6px 0;
    line-height: 1.5;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    text-align: right;
    direction: rtl;
}

.related-product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.related-product-title a:hover {
    color: #20B2AA;
}

.related-product-model {
    font-size: 10px;
    font-weight: 600;
    color: #808080;
    margin: 4px 0;
    text-align: right;
    direction: rtl;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    line-height: 1.4;
}

.related-product-sku {
    font-size: 12px;
    color: #999;
    margin-bottom: 0;
    margin-top: -2px;
    text-align: right;
    direction: rtl;
}

.related-product-price {
    margin-top: auto;
    padding-top: 12px;
    text-align: right;
    direction: rtl;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    justify-content: space-between;
}

.related-price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
    flex: 1;
}

.related-price-regular {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    line-height: 1.2;
}

.related-price-current {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    line-height: 1.3;
    display: flex;
    align-items: baseline;
    gap: 4px;
    direction: rtl;
}

.related-price-amount {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.related-price-currency {
    font-size: 12px;
    color: #999;
    font-weight: normal;
}

.related-product-discount-badge {
    position: relative;
    background: #FFBF00;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    direction: rtl;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: flex-end;
}

/* Related Products Section */
.single-product-wrapper .related-products-section {
    padding: 0;
    background: transparent;
}

.single-product-wrapper .related-products-section h2 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}
.woocommerce .products ul::after, .woocommerce .products ul::before, .woocommerce ul.products::after, .woocommerce ul.products::before{
    display: none;
}
.single-product-wrapper .related-products-section .woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.single-product-wrapper .related-products-section .woocommerce ul.products li.product {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    transition: box-shadow 0.3s;
}

.single-product-wrapper .related-products-section .woocommerce ul.products li.product:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.single-product-wrapper .related-products-section .woocommerce ul.products li.product img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}

.single-product-wrapper .related-products-section .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.single-product-wrapper .related-products-section .woocommerce ul.products li.product .price {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.single-product-wrapper .related-products-section .woocommerce ul.products li.product .price del {
    color: #999;
    font-size: 14px;
    margin-left: 10px;
}

/* Reviews Section */
.single-product-wrapper .product-reviews-section {
    padding: 0;
    background: transparent;
    border-top: none;
}

.single-product-wrapper .reviews-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.single-product-wrapper .reviews-right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    position: sticky;
    top: 100px;
    align-self: flex-start;
    height: fit-content;
}

.single-product-wrapper .reviews-title {
    font-size: 32px;
    font-weight: bold;
    color: #1a237e;
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.single-product-wrapper .reviews-cta {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.single-product-wrapper .add-review-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #4FC3F7;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
    width: fit-content;
}

.single-product-wrapper .add-review-btn:hover {
    background: #29B6F6;
}

.single-product-wrapper .reviews-count {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.single-product-wrapper .reviews-count svg {
    color: #FFB931;
}

.single-product-wrapper .reviews-left-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.single-product-wrapper .review-item {
    background: #E3F2FD;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    position: relative;
}

.single-product-wrapper .review-item.review-reply {
    background: #F5F5F5;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-right: 30px;
    border-right: 3px solid #64B5F6;
    padding-right: 15px;
}

.single-product-wrapper .reply-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 6px 12px;
    background: #E3F2FD;
    border-radius: 6px;
    font-size: 12px;
    color: #1a237e;
    font-weight: 500;
}

.single-product-wrapper .reply-indicator svg {
    color: #64B5F6;
    flex-shrink: 0;
}

.single-product-wrapper .reply-indicator .reply-text {
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.single-product-wrapper .review-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
}

.single-product-wrapper .review-author {
    font-size: 16px;
    font-weight: bold;
    color: #1a237e;
    margin: 0 0 5px 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.single-product-wrapper .review-date {
    font-size: 14px;
    color: #64B5F6;
    margin: 0;
}

.single-product-wrapper .review-content {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-top: 10px;
}

/* Comment Form */
.single-product-wrapper .comment-form {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

/* Hide comment notes and cookies consent */
.single-product-wrapper .comment-notes,
.single-product-wrapper .comment-form-cookies-consent {
    display: none !important;
}

.single-product-wrapper .comment-form-comment {
    margin-bottom: 20px;
    width: 100%;
}

.single-product-wrapper .comment-form-comment textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    min-height: 120px;
    resize: vertical;
    background: #fff;
    box-sizing: border-box;
}

.single-product-wrapper .comment-form-comment textarea::placeholder {
    color: #999;
}

/* Wrapper for author and email fields - flex row */
.single-product-wrapper .comment-form-fields-wrapper {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-bottom: 10px;
}

/* Author and email fields inside flex wrapper */
.single-product-wrapper .comment-form-fields-wrapper .comment-form-author,
.single-product-wrapper .comment-form-fields-wrapper .comment-form-email {
    flex: 1;
    margin: 0 !important;
    width: auto !important;
    display: block !important;
}

/* Ensure inputs inside take full width */
.single-product-wrapper .comment-form .comment-form-author input,
.single-product-wrapper .comment-form .comment-form-email input {
    width: 100%;
    box-sizing: border-box;
}

.single-product-wrapper .comment-form-author input,
.single-product-wrapper .comment-form-email input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    background: #fff;
}

.single-product-wrapper .comment-form-author input::placeholder,
.single-product-wrapper .comment-form-email input::placeholder {
    color: #999;
}

.single-product-wrapper .form-submit {
    margin: 0;
    text-align: left;
    padding: 0;
}

.single-product-wrapper .submit-review-btn {
    padding: 12px 30px;
    background: #4FC3F7;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.single-product-wrapper .submit-review-btn:hover {
    background: #29B6F6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .single-product-wrapper .single-product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .single-product-wrapper .product-bottom-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .single-product-wrapper .reviews-wrapper {
        grid-template-columns: 1fr;
    }
    
    .single-product-wrapper .specifications-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .single-product-wrapper {
        padding: 20px 0;
    }
    
    .single-product-wrapper .product-title {
        font-size: 24px;
    }
    
    .single-product-wrapper .product-price-current {
        font-size: 24px;
    }
    
    .single-product-wrapper .reviews-title {
        font-size: 24px;
    }
    
    .woocommerce ul.products {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }
}

/* ========================================
   Shop & Category Page Styles
   ======================================== */

.shop-page-wrapper {
    padding: 40px 0 60px;
    background: #fff;
    direction: rtl;
}

.shop-breadcrumbs {
    margin-bottom: 20px;
}

.shop-page-title {
    margin: 0;
    flex-shrink: 0;
}

.shop-page-title h1 {
    font-size: 26px;
    font-weight: bold;
    max-width: 360px;
    color: #333;
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.shop-page-title-mobile {
    display: none;
    text-align: center;
    margin-bottom: 20px;
    direction: rtl;
}

.shop-page-title-mobile h1 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.shop-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 315px;
    gap: 70px;
    direction: ltr;
}

/* Shop Toolbar */
.shop-toolbar {
    display: flex;
    flex-direction: row;
    direction: rtl;
    gap: 15px;
    margin-bottom: 30px;
    align-items: center;
    justify-content: space-between;
}

.shop-search-form {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.shop-search-field {
    width: 230px;
    padding: 12px 10px 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    outline: none;
    transition: border-color 0.3s;
    direction: rtl;
    text-align: right;
}

.shop-search-field:focus {
    border-color: #20B2AA;
}

.shop-search-field::placeholder {
    text-align: right;
    direction: rtl;
}

.shop-search-submit {
    position: absolute;
    left: 10px;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.shop-search-submit:hover {
    color: #20B2AA;
}

.shop-sort-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #20B2AA;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    transition: background-color 0.3s;
    flex-shrink: 0;
    direction: rtl;
}

.shop-sort-btn:hover {
    background: #1a9b94;
}

.shop-sort-wrapper {
    position: relative;
    flex-shrink: 0;
}

.shop-sort-btn .sort-arrow {
    transition: transform 0.3s;
    margin-right: 4px;
}

.shop-sort-btn .sort-arrow.rotated {
    transform: rotate(180deg);
}

.shop-sort-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 1000;
    direction: rtl;
    overflow: hidden;
}

.shop-sort-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.shop-sort-dropdown .sort-option {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    transition: background-color 0.2s;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

.shop-sort-dropdown .sort-option:last-child {
    border-bottom: none;
}

.shop-sort-dropdown .sort-option:hover {
    background-color: #f8f8f8;
}

.shop-sort-dropdown .sort-option.selected {
    background-color: #e8f5f4;
    color: #20B2AA;
    font-weight: 500;
}

/* Products Grid */
.shop-main-content {
    min-height: 400px;
}

.woocommerce ul.products {
    display: grid;
    direction: rtl;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

/* Product Card */
.product-item {
    list-style: none;
    margin: 0;
}

.product-card {
    background: #fff;
    border: 1px solid #F8F8F8;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: visible;
    position: relative;
    width:100%;
}


.product-image-wrapper {
    position: relative;
    margin-bottom: 0;
    background: #F2FAFF;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    flex: 0 0 60%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    max-height: 125px;
    margin: 15px;
}

.product-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-discount-badge {
    position: relative;
    background: #FFBF00;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    direction: rtl;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: flex-end;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 0 15px 10px 15px;
    position: relative;
    direction: rtl;
    text-align: right;
    justify-content: space-between;
}

.product-title {
    font-size: 12px;
    font-weight: 600;
    color: #020047;
    margin: 0 0 6px 0;
    line-height: 1.5;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    text-align: right;
    direction: rtl;
}

.product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.product-title a:hover {
    color: #20B2AA;
}

.product-model-card {
    font-size: 10px;
    font-weight: 600;
    color: #808080;
    margin: 4px 0;
    text-align: right;
    direction: rtl;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    line-height: 1.4;
}

.product-sku {
    font-size: 12px;
    color: #999;
    margin-bottom: 0;
    margin-top: -2px;
    text-align: right;
    direction: rtl;
}

.product-price-wrapper {
    margin-top: auto;
    padding-top: 12px;
    text-align: right;
    direction: rtl;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.product-price-wrapper .price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
    flex: 1;
}

.product-price-wrapper .price-regular {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    line-height: 1.2;
}

.product-price-wrapper .price-current {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    line-height: 1.3;
    display: flex;
    align-items: baseline;
    gap: 4px;
    direction: rtl;
}

.product-price-wrapper .price-current .price-amount {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.product-price-wrapper .price-current .price-currency {
    font-size: 12px;
    color: #999;
    font-weight: normal;
}

.product-price-wrapper .price-current .woocommerce-Price-amount {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

/* کارت محصول: دکمه استعلام (آرشیو، مرتبط، …) — پس‌زمینه خاکستری کم‌رنگ، کوچک، چسبیده به چپ در RTL */
.product-price-wrapper .price-wrapper:has(.price-current--zero-inquiry) {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: flex-end;
    align-items: center;
}

.product-price-wrapper .price-current--zero-inquiry {
    width: auto;
    max-width: 100%;
    margin-top: 2px;
    display: flex;
    justify-content: flex-end;
}

.related-price-wrapper:has(.related-price-current--zero-inquiry) {
    align-items: flex-end;
    width: 100%;
}

.related-price-current--zero-inquiry {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 0;
}

.lophal-inquiry-cta.lophal-loop-zero-inquiry-btn,
.lophal-loop-zero-inquiry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: auto;
    max-width: 100%;
    padding: 9px 12px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    color: #2d3748;
    background: #f8f8f8;
    /* border: 1px solid #d4d9e2; */
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    box-shadow: none;
}

.lophal-inquiry-cta.lophal-loop-zero-inquiry-btn:hover,
.lophal-loop-zero-inquiry-btn:hover {
    color: #1a202c;
    background: #dde1ea;
    border-color: #c5ccd8;
    opacity: 1;
    transform: none;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.lophal-loop-zero-inquiry-btn--disabled,
.lophal-loop-zero-inquiry-btn--disabled:hover {
    cursor: default;
    opacity: 0.75;
    transform: none;
    box-shadow: none;
}

.lophal-home-product-price--zero-inquiry {
    margin: 0;
    padding: 0 4px 4px;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    box-sizing: border-box;
}

.lophal-home-product-price--zero-inquiry .lophal-loop-zero-inquiry-btn {
    font-size: 10px;
    padding: 4px 8px;
}

.suggestion-price-current--zero-inquiry {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.suggestion-price-current--zero-inquiry .lophal-loop-zero-inquiry-btn {
    width: auto;
    font-size: 10px;
    padding: 4px 9px;
}

/* Pagination */
.woocommerce-pagination {
    text-align: center;
    margin: 40px 0;
}

.woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-pagination li {
    margin: 0;
}

.woocommerce-pagination a,
.woocommerce-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    color: #666;
    background: #f0f0f0;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.woocommerce-pagination .current {
    background: #E3F2FD;
    color: #1976D2;
    font-weight: 600;
}

.woocommerce-pagination a:hover {
    background: #E3F2FD;
    color: #1976D2;
}

/* Hide regular footer sticky bar on archive/shop pages
body.woocommerce-page .footer-top-bar {
    display: none !important;
} */

/* Mobile Sticky Footer - Hide on Desktop */
.shop-mobile-sticky-footer {
    display: none;
}

.mobile-filter-overlay,
.mobile-filter-drawer {
    display: none;
}

/* Sidebar */
.shop-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

/* Filters */
.shop-filters {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    direction: rtl;
}

.filters-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0 0 20px 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.filter-group {
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px 0;
    user-select: none;
}

.filter-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.filter-arrow {
    transition: transform 0.3s ease;
    color: #666;
    flex-shrink: 0;
    margin-right: 10px;
}

.filter-group.active .filter-arrow {
    transform: rotate(180deg);
}

.filter-content {
    display: block;
    padding-top: 15px;
    opacity: 1;
    max-height: 2000px;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease, padding-top 0.3s ease;
}

.filter-group:not(.active) .filter-content {
    display: none;
    opacity: 0;
    max-height: 0;
    padding-top: 0;
}

.price-filter {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.price-inputs input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.price-inputs span {
    color: #666;
    font-size: 14px;
}

.apply-filter-btn {
    padding: 10px 15px;
    background: #20B2AA;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    transition: background-color 0.3s;
}

.apply-filter-btn:hover {
    background: #1a9b94;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.filter-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.filter-checkbox span {
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.no-filters {
    color: #999;
    font-size: 14px;
    text-align: center;
    padding: 20px 0;
}

/* Support Section */
.shop-support-section {
    display: none;
    background: linear-gradient(135deg, #20B2AA 0%, #1a9b94 100%);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    color: white;
}

/* Remove sticky from shop-support-section inside product-sticky-section-wrapper */
.single-product-wrapper .product-sticky-section-wrapper .shop-support-section {
    position: static;
}

.support-image-wrapper {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.support-image-wrapper svg {
    width: 80px;
    height: 80px;
    color: white;
}

.support-phone {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.support-btn {
    display: inline-block;
    padding: 12px 30px;
    background: white;
    color: #20B2AA;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.support-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Category Custom Content Sections */
.category-images-section {
    margin: 60px 0;
}

.category-images-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.category-image-item {
    aspect-ratio: 1;
    border-radius: 0;
    overflow: hidden;
    background: #f0f0f0;
}

.category-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-video-section {
    margin: 60px 0;
}

.category-video-wrapper {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-direction: row-reverse;
}

.category-video-player {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16/9;
    width: 100%;
}

.category-video-player iframe,
.category-video-player video {
    width: 100%;
    height: 100%;
    border: none;
}

.category-video-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    direction: rtl;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.category-video-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.category-video-description {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.category-text-section {
    margin: 60px 0;
    padding: 20px;
    background: #F8F8F8;
    border-radius: 8px;
    direction: rtl;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.category-section-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin: 0 0 20px 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.category-section-description-wrapper {
    position: relative;
}

.category-section-description {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Clamp height when collapsed (JS toggles .is-collapsed / .is-expanded) */
.category-section-description.is-collapsed {
    max-height: 22rem;
    overflow-y: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.category-section-description.is-collapsed::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3rem;
    background: linear-gradient(to bottom, rgba(248, 248, 248, 0), #f8f8f8);
    pointer-events: none;
}

.category-section-description.is-expanded {
    max-height: none;
    overflow: visible;
}

.category-section-description.is-expanded::after {
    display: none;
}

/* Rich text from wp_editor: lists, media, tables */
.category-section-description-prose > *:first-child {
    margin-top: 0;
}

.category-section-description-prose p {
    margin: 0 0 1em;
}

.category-section-description-prose p:last-child {
    margin-bottom: 0;
}

.category-section-description-prose ul,
.category-section-description-prose ol {
    margin: 0.5em 0 1em;
    padding-inline-start: 1.35em;
    padding-inline-end: 0;
}

.category-section-description-prose ul {
    list-style-type: disc;
}

.category-section-description-prose ol {
    list-style-type: decimal;
}

.category-section-description-prose li {
    margin-bottom: 0.4em;
    padding-inline-start: 0.15em;
}

.category-section-description-prose li::marker {
    color: #20B2AA;
}

.category-section-description-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0.75em 0;
}

.category-section-description-prose figure {
    margin: 1em 0;
    max-width: 100%;
}

.category-section-description-prose figcaption {
    font-size: 13px;
    color: #888;
    margin-top: 0.35em;
}

.category-section-description-prose table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    font-size: 14px;
    line-height: 1.5;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    display: table;
}

.category-section-description-prose th,
.category-section-description-prose td {
    border: 1px solid #e2e8f0;
    padding: 10px 12px;
    text-align: start;
    vertical-align: top;
}

.category-section-description-prose th {
    background: #f1f5f9;
    font-weight: 600;
    color: #334155;
}

.category-section-description-prose blockquote {
    margin: 1em 0;
    padding: 0.75em 1em;
    border-inline-start: 4px solid #20B2AA;
    background: rgba(32, 178, 170, 0.08);
    border-radius: 0 8px 8px 0;
}

.category-section-description-prose h2,
.category-section-description-prose h3,
.category-section-description-prose h4 {
    margin: 1.15em 0 0.5em;
    font-size: 1.15em;
    font-weight: 700;
    color: #333;
}

.category-section-description-prose h2:first-child,
.category-section-description-prose h3:first-child {
    margin-top: 0;
}

.read-more-btn {
    color: #20B2AA;
    border: none;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.read-more-btn:hover {
    background: rgba(32, 178, 170, 0.12);
    color: #1a9b95;
}

.read-more-btn:focus-visible {
    outline: 2px solid #20B2AA;
    outline-offset: 2px;
}



.read-more-btn:active {
    transform: translateY(0);
}



/* FAQ Section */
.category-faq-section {
    margin: 60px 0;
}

.faq-section-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin: 0 0 40px 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    text-align: right;
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #F2FAFF;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    flex-direction: row;
    direction: rtl;
}

.faq-question-text {
    flex: 1;
}

.faq-arrow {
    transition: transform 0.3s;
    color: #20B2AA;
    flex-shrink: 0;
    margin-right: 15px;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 20px 20px;
    color: #666;
    line-height: 1.8;
    font-size: 14px;
    direction: rtl;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.faq-item.active .faq-answer {
    display: block;
}

/* Admin Styles for Category Fields */
.lophal-image-uploader {
    margin-bottom: 10px;
}

.lophal-image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.lophal-image-item {
    position: relative;
    width: 100px;
    height: 100px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

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

.lophal-remove-image {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(255,0,0,0.8);
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lophal-faq-item {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.lophal-faq-item input[type="text"] {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.lophal-faq-item textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .shop-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .shop-sidebar {
        position: static;
        order: -1;
    }
    
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Features Grid - Responsive */
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .feature-item {
        padding: 15px;
        min-height: 100px;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .feature-text {
        font-size: 12px;
    }
    
    /* Related Products - Slider on tablet and below */
    .related-products-slider-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        padding-bottom: 10px;
        margin: 0 -15px;
        padding-left: 15px;
        padding-right: 15px;
        direction: rtl;
    }
    
    .related-products-slider-wrapper::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .related-products-list {
        display: flex;
        flex-direction: row;
        gap: 15px;
        grid-template-columns: none;
        width: max-content;
        direction: rtl;
    }
    
    .related-products-list .related-product-item {
        flex: 0 0 calc((100% - 60px) / 5);
        min-width: calc((100% - 60px) / 5);
        max-width: calc((100% - 60px) / 5);
        scroll-snap-align: end;
        width: auto;
    }
    
    .category-images-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-video-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    /* Breadcrumbs - Center aligned */
    .shop-breadcrumbs {
        text-align: center;
        justify-content: center;
        display: flex;
        margin-bottom: 0;
    }
    .single-product-wrapper .product-specifications{
        margin-top: 30px;
    }
    .product-mobile-fixed-bar{
        display: flex !important;
    }
    .product-mobile-fixed-bar .quantity{
        display: none !important;
    }
    .single_add_to_cart_button{
        background: #20B2AA !important;
        color: white !important;
        border: none !important;
        border-radius: 8px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
    }
    
    /* Page Title - Show mobile version */
    .shop-page-title {
        display: none;
    }
    
    .shop-page-title-mobile {
        display: block;
    }
    
    /* Hide toolbar (search, sort) */
    .shop-toolbar {
        display: none;
    }
    
    /* Hide sidebar (filters, support) */
    .shop-sidebar {
        display: none;
    }
    
    /* Products Grid - 2 columns */
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 30px;
    }
    
    /* Mobile Sticky Footer with Filter Button */
    .shop-mobile-sticky-footer {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #20B2AA;
        color: #fff;
        padding: 12px 15px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        direction: rtl;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }
    
    .mobile-sticky-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 15px;
        flex-direction: row-reverse;
    }
    
    .mobile-phone-section {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1;
    }
    
    .mobile-phone-section svg {
        width: 24px;
        height: 24px;
        stroke: #fff;
        flex-shrink: 0;
    }
    
    .mobile-phone-number {
        font-size: 16px;
        font-weight: 600;
        direction: ltr;
        text-align: right;
        font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
        color: #fff;
    }
    
    .mobile-filter-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        background: #FFB931;
        border: none;
        border-radius: 8px;
        color: #fff;
        font-size: 14px;
        font-weight: 600;
        font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
        cursor: pointer;
        transition: background-color 0.3s;
        flex-direction: row;
    }
    
    .mobile-filter-btn:active {
        background: #e6a628;
    }
    
    .mobile-filter-btn svg {
        width: 16px;
        height: 16px;
        stroke: #fff;
        stroke-width: 2.5;
    }
    
    /* Mobile Filter Drawer */
    .mobile-filter-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .mobile-filter-overlay.active {
        display: block;
        opacity: 1;
    }
    
    .mobile-filter-drawer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-radius: 20px 20px 0 0;
        z-index: 1001;
        max-height: 85vh;
        display: flex;
        flex-direction: column;
        transform: translateY(100%);
        transition: transform 0.3s ease;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    }
    
    .mobile-filter-drawer.active {
        transform: translateY(0);
    }
    
    .mobile-filter-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px;
        border-bottom: 1px solid #e0e0e0;
        direction: rtl;
    }
    
    .mobile-filter-header h3 {
        font-size: 18px;
        font-weight: 600;
        color: #333;
        margin: 0;
        font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    }
    
    .mobile-filter-close {
        background: none;
        border: none;
        padding: 5px;
        cursor: pointer;
        color: #666;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-filter-close svg {
        width: 24px;
        height: 24px;
    }
    
    .mobile-filter-content {
        overflow-y: auto;
        padding: 20px;
        flex: 1;
        direction: rtl;
    }
    
    .mobile-filter-content .filter-group {
        margin-bottom: 20px;
    }
    
    body.drawer-open,
    body.menu-drawer-open {
        overflow: hidden;
    }
    
    /* Add padding to body to prevent content from being hidden behind sticky footer */
    body.woocommerce-page {
        padding-bottom: 70px;
    }
    
    /* Features Grid - Mobile */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .feature-item {
        padding: 15px 10px;
        min-height: 90px;
    }
    
    /* Make the last item (5th item) full width when it's alone in a row */
    .features-grid .feature-item:nth-child(5) {
        grid-column: 1 / -1;
    }
    
    .feature-icon {
        width: 36px;
        height: 36px;
    }
    
    .feature-text {
        font-size: 11px;
    }
    
    /* Mobile Fixed Bar - Hide on desktop */
.product-mobile-fixed-bar {
    display: none;
}

/* Single Product Page - Mobile Layout */
@media (max-width: 768px) {
    .energy-storage-mobile-section{
        display: block;
    }
    .energy-storage-mobile-section .container{
        padding: 0 10px;
    }
    .energy-storage-section{
        display: none;
    }
    .single-product-wrapper .breadcrumbs-search-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        margin: 0;
    }
    .related-products-wrapper{
        padding: 15px 0;
    }
    .single-product-wrapper .product-main-image img{
        object-fit: object-fit;
    }
    .single-product-wrapper .product-image-gallery{
        height: 100%;
    }
    .single-product-wrapper .shop-breadcrumbs {
        text-align: center;
        justify-content: center;
        display: flex;
        width: 100%;
    }
    
    .single-product-wrapper .product-search-box {
        display: none;
    }
    
    .single-product-wrapper .single-product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Hide left column (price, add to cart) - will be fixed at bottom */
    .single-product-wrapper .product-left-column {
        display: none;
    }
    
    /* Hide SKU in mobile */
    .single-product-wrapper .product-sku {
        display: none;
    }
    
    /* Hide view all specs link */
    .single-product-wrapper .view-all-specs-wrapper {
        display: none;
    }
    
   
    
    /* Hide right column in grid - will show separately */
    .single-product-wrapper .product-right-column {
        order: -1;
        width: 100%;
    }
    
    /* Mobile Product Title - above images */
    .single-product-wrapper .product-mobile-title {
        display: block;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .single-product-wrapper .product-title-mobile {
        font-size: 20px;
        font-weight: bold;
        color: #333;
        margin: 0;
        text-align: center;
        font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
        direction: rtl;
    }
    
    /* Hide desktop title in mobile */
    .single-product-wrapper .product-middle-column .product-title-row {
        display: none;
    }
    
    /* Center product images */
    .single-product-wrapper .product-image-gallery {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .single-product-wrapper .product-main-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .single-product-wrapper .product-thumbnails {
        justify-content: center;
    }
    
    /* Center product title */
    .single-product-wrapper .product-middle-column {
        width: 100%;
        margin-top: 10px;
    }
    
    .single-product-wrapper .product-title-row {
        text-align: center;
    }
    
    .single-product-wrapper .product-title {
        text-align: center;
    }
    
    /* Specifications - 2 columns */
    .single-product-wrapper .specifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Hide product bottom right column (sticky section) but show support */
    .single-product-wrapper .product-bottom-right {
        display: none;
    }
    
    .single-product-wrapper .product-bottom-right .shop-support-section {
        display: block;
        margin: 30px 0;
    }
    
    /* Show support section in product bottom left for mobile */
    .single-product-wrapper .product-bottom-left .shop-support-section {
        display: block;
        margin: 30px 0;
    }
    
    /* Center reviews section */
    .single-product-wrapper .reviews-wrapper {
        grid-template-columns: 1fr;
    }
    
    .single-product-wrapper .reviews-right-column {
        text-align: center;
        align-items: center;
        position: static;
    }
    
    .single-product-wrapper .reviews-title {
        text-align: center;
    }
    
    .single-product-wrapper .reviews-cta {
        text-align: center;
    }
    
    .single-product-wrapper .add-review-btn {
        margin: 0 auto;
    }
    
    .single-product-wrapper .reviews-count {
        justify-content: center;
    }
    
    /* Fixed bottom bar for price and add to cart */
    .product-mobile-fixed-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #e0e0e0;
        padding: 15px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        direction: rtl;
    }
    
    .product-mobile-fixed-bar .product-price-section {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex: 1;
        position: relative;
    }
    
    .product-mobile-fixed-bar .product-price-original {
        font-size: 14px;
        color: #999;
        text-decoration: line-through;
        order: 1;
        font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    }
    
    .product-mobile-fixed-bar .product-price-current {
        font-size: 24px;
        font-weight: bold;
        color: #333;
        display: flex;
        align-items: baseline;
        gap: 4px;
        order: 2;
        font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    }
    
    .product-mobile-fixed-bar .product-price-current .price-amount {
        font-size: 24px;
        font-weight: bold;
        color: #333;
    }
    
    .product-mobile-fixed-bar .product-price-current .price-currency {
        font-size: 14px;
        color: #666;
        font-weight: normal;
    }
    
    .product-mobile-fixed-bar .product-discount-badge {
        position: absolute;
        background: #FFBF00;
        color: white;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: bold;
        font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
        line-height: 1.2;
        white-space: nowrap;
    }
    
    .product-mobile-fixed-bar .product-add-to-cart {
        flex: 0 0 auto;
        min-width: 160px;
    }
    
    .product-mobile-fixed-bar .product-add-to-cart form {
        margin: 0;
    }
    
    .product-mobile-fixed-bar .single_add_to_cart_button,
    .product-mobile-fixed-bar button[type="submit"],
    .product-mobile-fixed-bar .button {
        width: 100%;
        padding: 15px 20px;
        background: #20B2AA;
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
        transition: background-color 0.3s;
        text-decoration: none;
        direction: rtl;
        white-space: nowrap;
    }
    
    .product-mobile-fixed-bar .single_add_to_cart_button:hover,
    .product-mobile-fixed-bar button[type="submit"]:hover,
    .product-mobile-fixed-bar .button:hover {
        background: #1a9b94;
        color: white;
    }
    
    /* Keep blue color when button is disabled/loading in mobile */
    .product-mobile-fixed-bar .single_add_to_cart_button:disabled,
    .product-mobile-fixed-bar button[type="submit"]:disabled,
    .product-mobile-fixed-bar .button:disabled,
    .product-mobile-fixed-bar .single_add_to_cart_button.disabled,
    .product-mobile-fixed-bar button[type="submit"].disabled,
    .product-mobile-fixed-bar .button.disabled {
        background: #20B2AA !important;
        background-color: #20B2AA !important;
        color: white !important;
        opacity: 0.8;
        cursor: not-allowed;
        border-color: #20B2AA !important;
    }
    
    .product-mobile-fixed-bar .single_add_to_cart_button:disabled:hover,
    .product-mobile-fixed-bar button[type="submit"]:disabled:hover,
    .product-mobile-fixed-bar .button:disabled:hover,
    .product-mobile-fixed-bar .single_add_to_cart_button.disabled:hover,
    .product-mobile-fixed-bar button[type="submit"].disabled:hover,
    .product-mobile-fixed-bar .button.disabled:hover {
        background: #20B2AA !important;
        background-color: #20B2AA !important;
        color: white !important;
        border-color: #20B2AA !important;
    }
    
    .product-mobile-fixed-bar .single_add_to_cart_button::after,
    .product-mobile-fixed-bar button[type="submit"]::after {
        content: '';
        width: 20px;
        height: 20px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'%3E%3C/path%3E%3Cline x1='3' y1='6' x2='21' y2='6'%3E%3C/line%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'%3E%3C/path%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        flex-shrink: 0;
    }
    
    /* Add padding to bottom for fixed bar */
    .single-product-wrapper {
        padding-bottom: 80px;
    }
    
    /* Ensure support section is visible */
    .single-product-wrapper .product-bottom-left .shop-support-section {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
        border-radius: 8px;
        margin: 30px 0;
    }
}
    
    /* Related Products - Slider on mobile with 1.5 products visible */
    .related-products-slider-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        padding-bottom: 10px;
        margin: 0 -15px;
        padding-left: 15px;
        padding-right: 15px;
        direction: rtl;
    }
    
    .related-products-slider-wrapper::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .related-products-list {
        display: flex;
        flex-direction: row;
        gap: 12px;
        grid-template-columns: none;
        width: max-content;
        direction: rtl;
    }
    
    .related-products-list .related-product-item {
        flex: 0 0 calc((100vw - 30px - 12px) / 1.5);
        min-width: calc((100vw - 30px - 12px) / 1.5);
        max-width: calc((100vw - 30px - 12px) / 1.5);
        scroll-snap-align: end;
        width: auto;
    }
    
    .related-products-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    /* Product Cards - Mobile size */
    .product-item {
        width: 100%;
        height: 100%;
    }
    
    .product-card {
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
        height: 100%;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        width: 100% !important;
        max-width: 100%;
    }
    
    .product-image-wrapper {
        padding: 12px;
        min-height: 160px;
        max-height: 180px;
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .product-image-wrapper img {
        max-height: 100%;
        object-fit: contain;
    }
    
    .product-info {
        padding: 10px 12px 12px 12px;
        min-height: auto;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .product-title {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .product-sku {
        font-size: 10px;
        margin-top: 2px;
        margin-bottom: 8px;
    }
    
    .product-price-wrapper {
        margin-top: auto;
        padding-top: 8px;
        gap: 6px;
    }
    
    .product-price-wrapper .price-current {
        font-size: 15px;
    }
    
    .product-price-wrapper .price-current .price-amount {
        font-size: 15px;
    }
    
    .product-price-wrapper .price-current .price-currency {
        font-size: 11px;
    }
    
    .product-price-wrapper .price-current--zero-inquiry .lophal-loop-zero-inquiry-btn {
        font-size: 9px;
        padding: 3px 8px;
    }
    
    .product-price-wrapper .price-regular {
        font-size: 11px;
    }
    
    .product-discount-badge {
        font-size: 10px;
        padding: 3px 6px;
        line-height: 1.1;
    }
    
    /* Category Images - 2x2 grid */
    .category-images-section {
        margin: 30px 0;
    }
    
    .category-images-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Video Section - No title and description */
    .category-video-section {
        margin: 30px 0;
    }
    
    .category-video-content {
        display: none;
    }
    
    .category-video-player {
        width: 100%;
    }
    
    /* Text Section */
    .category-text-section {
        margin: 30px 0;
        padding: 15px;
    }
    
    .category-section-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .category-section-description {
        font-size: 14px;
        line-height: 1.65;
    }
    
    .category-section-description.is-collapsed {
        max-height: 16rem;
    }
    
    .category-section-description-prose table {
        font-size: 13px;
    }
    
    .category-section-description-prose th,
    .category-section-description-prose td {
        padding: 8px 10px;
    }
    
    /* FAQ Section */
    .category-faq-section {
        margin: 30px 0;
    }
    
    .faq-section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .faq-item {
        margin-bottom: 15px;
    }
    
    .faq-question {
        padding: 15px;
        font-size: 14px;
    }
    
    .faq-answer {
        padding: 0 15px 15px;
        font-size: 13px;
    }
    .faq-items{
        gap: unset;
    }
}

/* Add to Cart Modal */
.add-to-cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-to-cart-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.add-to-cart-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.add-to-cart-modal-header {
    margin-bottom: 20px;
    text-align: center;
}

.add-to-cart-modal-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.add-to-cart-modal-body {
    margin-bottom: 25px;
}

.add-to-cart-product-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #F8F8F8;
    border-radius: 8px;
}

.add-to-cart-product-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-to-cart-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.add-to-cart-product-details {
    flex: 1;
}

.add-to-cart-product-label {
    font-size: 14px;
    color: #999;
    margin: 0 0 5px 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.add-to-cart-product-name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.add-to-cart-modal-footer {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.add-to-cart-modal-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    display: inline-block;
}

.add-to-cart-btn-shop {
    background: #4CAF50;
    color: #fff;
}

.add-to-cart-btn-shop:hover {
    background: #45a049;
    color: #fff;
}

.add-to-cart-btn-cart {
    background: #4FC3F7;
    color: #fff;
}

.add-to-cart-btn-cart:hover {
    background: #29B6F6;
    color: #fff;
}

@media (max-width: 768px) {
    .add-to-cart-modal-content {
        padding: 20px;
        max-width: 95%;
    }
    
    .add-to-cart-modal-title {
        font-size: 18px;
    }
    
    .add-to-cart-product-info {
        flex-direction: column;
        text-align: center;
    }
    
    .add-to-cart-product-image {
        width: 100px;
        height: 100px;
    }
    
    .add-to-cart-modal-footer {
        flex-direction: column;
    }
    
    .add-to-cart-modal-btn {
        width: 100%;
    }
}

/* WooCommerce Notices Wrapper */
.woocommerce-notices-wrapper {
    margin: 20px 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error {
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.woocommerce-notices-wrapper .woocommerce-message {
    background: #E8F5E9;
    border: 1px solid #4CAF50;
    color: #2E7D32;
    border-right: 4px solid #4CAF50;
}

.woocommerce-notices-wrapper .woocommerce-info {
    background: #E3F2FD;
    border: 1px solid #2196F3;
    color: #1565C0;
    border-right: 4px solid #2196F3;
}

.woocommerce-notices-wrapper .woocommerce-error {
    background: #FFEBEE;
    border: 1px solid #F44336;
    color: #C62828;
    border-right: 4px solid #F44336;
}

.woocommerce-notices-wrapper .woocommerce-message::before,
.woocommerce-notices-wrapper .woocommerce-info::before,
.woocommerce-notices-wrapper .woocommerce-error::before {
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
}

.woocommerce-notices-wrapper .woocommerce-message::before {
    content: '✓';
    color: #4CAF50;
}

.woocommerce-notices-wrapper .woocommerce-info::before {
    content: 'ℹ';
    color: #2196F3;
}

.woocommerce-notices-wrapper .woocommerce-error::before {
    content: '✕';
    color: #F44336;
}

.woocommerce-notices-wrapper a {
    color: inherit;
    text-decoration: underline;
    font-weight: 500;
}

.woocommerce-notices-wrapper a:hover {
    opacity: 0.8;
}

/* Remove default WooCommerce notice styles */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error {
    list-style: none;
    padding-right: 45px;
}

.woocommerce-notices-wrapper .woocommerce-message .button,
.woocommerce-notices-wrapper .woocommerce-info .button,
.woocommerce-notices-wrapper .woocommerce-error .button {
    margin-right: 10px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.woocommerce-notices-wrapper .woocommerce-message .button {
    background: #4CAF50;
    color: #fff;
    border: none;
}

.woocommerce-notices-wrapper .woocommerce-message .button:hover {
    background: #45a049;
    color: #fff;
}

.woocommerce-notices-wrapper .woocommerce-info .button {
    background: #2196F3;
    color: #fff;
    border: none;
}

.woocommerce-notices-wrapper .woocommerce-info .button:hover {
    background: #1976D2;
    color: #fff;
}

.woocommerce-notices-wrapper .woocommerce-error .button {
    background: #F44336;
    color: #fff;
    border: none;
}

.woocommerce-notices-wrapper .woocommerce-error .button:hover {
    background: #D32F2F;
    color: #fff;
}

@media (max-width: 768px) {
    .woocommerce-notices-wrapper .woocommerce-message,
    .woocommerce-notices-wrapper .woocommerce-info,
    .woocommerce-notices-wrapper .woocommerce-error {
        padding: 12px 15px;
        font-size: 13px;
        padding-right: 40px;
    }
    
    .woocommerce-notices-wrapper .woocommerce-message .button,
    .woocommerce-notices-wrapper .woocommerce-info .button,
    .woocommerce-notices-wrapper .woocommerce-error .button {
        display: block;
        margin: 10px 0 0 0;
        text-align: center;
    }
}

/* ============================================
   Single Blog Post Styles
   ============================================ */

/* Background - Light Blue */
.single-blog-page {
    background: #ffffff;
    min-height: 100vh;
    position: relative;
    --gradient-start: calc(60px + 30vw);
    --gradient-end: calc(60px + 30vw + 70vh);
}

.single-blog-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent 0%,
        transparent var(--gradient-start, calc(60px + 30vw)),
        #f0f8ff var(--gradient-start, calc(60px + 30vw)),
        #f0f8ff var(--gradient-end, calc(60px + 30vw + 70vh)),
        transparent var(--gradient-end, calc(60px + 30vw + 70vh)),
        transparent 100%
    );
    pointer-events: none;
    z-index: 0;
}

.single-blog-wrapper {
    position: relative;
    z-index: 1;
}

.single-blog-wrapper {
    padding: 40px 0;
}

/* Breadcrumbs */
.single-blog-breadcrumbs {
    background: transparent;
    text-align: center;
}

.breadcrumbs-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.breadcrumbs-content a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs-content a:hover {
    color: #20B2AA;
}

.breadcrumb-separator {
    color: #999;
}

.breadcrumb-current {
    color: #333;
    font-weight: 500;
}

/* Container Width */
.single-post-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}
.toc-title-icon{
    display: flex;
    gap: 10px;
}
/* Hero Image */
.single-post-hero {
    margin-bottom: 30px;
}

.post-featured-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
}

.post-featured-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* Meta Info Row */
.single-post-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.meta-item {
    font-size: 14px;
}

.meta-category .meta-label {
    color: #666;
}

.meta-date {
    color: #999;
}

/* Post Title */
.single-post-title {
    font-size: 32px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 30px;
    line-height: 1.4;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    text-align: right;
}

/* Like/Dislike Actions (Floating Left) */
.single-post-actions {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    min-width: 70px;
    min-height: 70px;
}

.action-btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.action-btn:hover {
    border-color: #20B2AA;
    background: #f0f8ff;
}

.action-btn svg {
    color: #666;
    transition: color 0.3s;
}

.action-btn:hover svg {
    color: #20B2AA;
}

.action-btn.active svg {
    color: #20B2AA;
    fill: #20B2AA;
}

.action-count {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.action-btn.active .action-count {
    color: #20B2AA;
    font-weight: bold;
}

/* Table of Contents */
.single-post-toc-wrapper {
    margin-bottom: 30px;
    margin-top: 30px;
}

.toc-box {
    background: white;
    border-radius: 10px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s;
}



.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toc-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.toc-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #F2FAFF;
    border-radius: 50%;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toc-list-icon,
.toc-chevron {
    color: #666;
    transition: transform 0.3s;
}

.toc-box.active .toc-chevron {
    transform: rotate(180deg);
}

.toc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.toc-box.active .toc-content {
    max-height: 1000px;
}

.toc-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-content li {
    margin-bottom: 8px;
}

.toc-content a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.toc-content a:hover {
    color: #20B2AA;
}

/* Post Content */
.single-post-content {
    margin-bottom: 40px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.single-post-content p {
    text-align: justify;
    line-height: 2;
    color: #444;
    font-size: 16px;
    margin-bottom: 20px;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
    color: #1a1a1a;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

/* Mid-Article CTA */
.single-post-mid-cta {
    margin: 40px 0;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
}

.toc-content{
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}
.mid-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.mid-cta-text {
    font-weight: bold;
    color: #333;
    font-size: 16px;
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.mid-cta-btn {
    background: #4FC3F7;
    color: #fff;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.mid-cta-btn:hover {
    background: #4FC3F7;
}

/* Social Share Cards */
.single-post-social-share {
    margin: 40px 0;
}

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

.social-card {
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 120px;
    text-decoration: none;
    direction: rtl;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}



.social-telegram {
    background: linear-gradient(to right, #B3E5FC 0%, #0288D1 100%);
}

.social-instagram {
    background: linear-gradient(to right, #FCE4EC 0%, #E91E63 100%);
}

.social-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.telegram-icon {
    color: #fff;
}

.telegram-icon svg {
    width: 32px;
    height: 32px;
}

.instagram-icon {
    color: #fff;
}

.instagram-icon svg {
    width: 32px;
    height: 32px;
}

.social-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.social-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.social-telegram .social-title {
    color: #fff;
    font-weight: 700;
}

.social-instagram .social-title {
    color: #fff;
    font-weight: 700;
}

.social-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    font-weight: 500;
}

.social-telegram .social-desc {
    color: rgba(255, 255, 255, 0.9);
}

.social-instagram .social-desc {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Styles for Social Cards */
@media (max-width: 768px) {
    .social-share-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .social-card {
        padding: 20px;
        min-height: 100px;
    }
    
    .social-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .telegram-icon svg,
    .instagram-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .social-title {
        font-size: 16px;
    }
    
    .social-desc {
        font-size: 13px;
    }
    
    .social-icon-wrapper {
        width: 45px;
        height: 45px;
    }
    
    .telegram-icon svg,
    .instagram-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* Related Posts */
.single-post-related {
    margin: 50px 0;
}

.related-posts-title {
    font-size: 24px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: right;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

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

.related-post-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border: 2px solid #e8e8e8;
}

.related-post-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.related-post-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content {
    flex: 1;
}

.related-post-title {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

.related-post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.related-post-title a:hover {
    color: #20B2AA;
}

/* Comments Section */
.single-post-comments {
    margin-top: 50px;
    padding-top: 40px;
    /* border-top: 1px solid #e0e0e0; */
}
.comment-reply-title{
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}
.logged-in-as , #email-notes , .required-field-message{
    display: none;
}

.comments-area {
    max-width: 900px;
    margin: 0 auto;
}

.comments-title {
    font-size: 24px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: right;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.comment-body {
    background: #f0f8ff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.comment-author-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.comment-author-name {
    font-weight: bold;
    color: #1a5f7a;
    font-size: 16px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.comment-date {
    color: #999;
    font-size: 14px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.comment-content {
    color: #444;
    line-height: 1.8;
    font-size: 15px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.comment-awaiting-moderation {
    color: #ff9800;
    font-style: italic;
    font-size: 14px;
}

/* Comment Form */
.comment-form {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
}

.comment-form-comment {
    margin-bottom: 20px;
}


.comment-form-comment textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    resize: vertical;
    min-height: 150px;
    transition: border-color 0.3s;
}

.comment-form-comment textarea:focus {
    outline: none;
    border-color: #20B2AA;
}

.comment-form-fields {
    display: contents;
}

.comment-form-fields-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 15px;
    align-items: end;
    margin-bottom: 20px;
}

.comment-form-author input,
.comment-form-email input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    transition: border-color 0.3s;
}

.comment-form-author input:focus,
.comment-form-email input:focus {
    outline: none;
    border-color: #20B2AA;
}

.comment-form-submit-wrapper {
    display: flex;
    align-items: flex-end;
    height: 100%;
}

.comment-form-fields .comment-form-submit-wrapper {
    grid-column: 3;
}

/* Move form-submit inside comment-form-fields-wrapper */
.comment-form .form-submit {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: flex-end;
    grid-column: 3;
}

.comment-form .form-submit .comment-form-submit-wrapper {
    width: 100%;
}

.comment-form-fields-wrapper .form-submit {
    margin: 0;
    padding: 0;
}

.submit-comment-btn {
    background: linear-gradient(135deg, #20B2AA 0%, #1a9b95 100%);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    white-space: nowrap;
    height: 48px;
}

.submit-comment-btn:hover {
    background: linear-gradient(135deg, #1a9b95 0%, #158a84 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(32, 178, 170, 0.3);
}

.no-comments {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 20px;
}

/* Responsive Styles for Single Blog */
@media (max-width: 1024px) {
    .single-post-actions {
        display: none;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .social-share-grid {
        grid-template-columns: 1fr;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .comment-form-fields-wrapper {
        grid-template-columns: 1fr;
    }
    
    .comment-form-fields {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .comment-form-submit-wrapper {
        width: 100%;
    }
    
    .submit-comment-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .single-post-title {
        font-size: 24px;
    }
    
    .post-featured-image-wrapper {
        border-radius: 15px;
    }
    
    .mid-cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .meta-item {
        font-size: 12px;
    }
}

/* ============================================
   Blog Archive Page Styles
   ============================================ */

.blog-archive-page {
    padding: 40px 0;
    background: #fff;
}

/* Header: Breadcrumbs + Search */
.blog-archive-header {
    display: grid;
    grid-template-columns: 57% 40%;
    gap: 30px;
    align-items: center;
    direction: rtl;
}

.blog-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    width: 100%;
}

.blog-breadcrumbs a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-breadcrumbs a:hover {
    color: #20B2AA;
}

.breadcrumb-separator {
    color: #999;
}

.blog-search-box {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.blog-search-form {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 100%;
}

.blog-search-field {
    width: 100%;
    padding: 12px 10px 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    outline: none;
    transition: border-color 0.3s;
    direction: rtl;
    text-align: right;
}

.blog-search-field:focus {
    border-color: #20B2AA;
}

.blog-search-submit {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.blog-search-submit:hover {
    color: #20B2AA;
}

/* Blog Page Title */
.blog-page-title-wrapper {
    margin-bottom: 10px;
    text-align: right;
}

.blog-page-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

/* Main Section: 60% Featured + 40% Categories */
.blog-main-section {
    display: grid;
    grid-template-columns: 57% 40%;
    gap: 30px;
    margin-bottom: 50px;
    direction: rtl;
    align-items: start;
}

/* Featured Post (60%) */
.blog-featured-post {
    position: relative;
    width: 100%;
    min-width: 0;
}

.featured-post-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16/9;
}

.featured-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-post-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: #fff;
}

.featured-post-category {
    display: inline-block;
    padding: 6px 14px;
    background: #FFD700;
    color: #333;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.featured-post-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.featured-post-title a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.featured-post-title a:hover {
    opacity: 0.8;
}

/* Categories Sidebar (40%) */
.blog-categories-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    min-width: 0;
    position: relative;
   
}
.blog-categories-sidebar-content{
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
}

.categories-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    text-align: right;
    width: 100%;
}

.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.category-item {
    margin: 0;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #FFFFFF;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    justify-content: space-between;
}

.category-link:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.category-icon-box {
    width: 40px;
    height: 40px;
    background: #20B2AA;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-icon {
    width: 20px;
    height: 20px;
    color: #FFFFFF;
    flex-shrink: 0;
}

.category-name {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: right;
}

.category-count-badge {
    font-size: 14px;
    color: #777;
    background: #F0F2F5;
    padding: 6px;
    border-radius: 7px;
    font-weight: 500;
    flex-shrink: 0;
    min-width: 40px;
    text-align: center;
}

/* Instagram CTA */
.blog-instagram-cta {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.blog-instagram-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.instagram-cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.instagram-cta-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-instagram-cta:hover .instagram-cta-bg-image {
    transform: scale(1.05);
}

.instagram-cta-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.instagram-cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 15px;
    direction: rtl;
}

.instagram-cta-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    text-align: right;
    order: 2;
}

.instagram-cta-title {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    line-height: 1.4;
}

.instagram-cta-url {
    font-size: 16px;
    color: #FFFFFF;
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    font-weight: 400;
    opacity: 0.95;
}

.instagram-cta-icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    order: 1;
}

.instagram-cta-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
}

.instagram-cta-arrow {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    flex-shrink: 0;
    opacity: 0.9;
    order: 3;
    transform: rotate(180deg);
}

/* Blog Posts Grid */
.blog-posts-grid-wrapper {
    margin-top: 50px;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
    direction: rtl;
}

.blog-post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border: 2px solid #e8e8e8;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.blog-post-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.blog-post-card:hover .post-thumbnail {
    transform: scale(1.05);
}

.blog-post-content {
    padding: 20px;
}

.blog-post-category {
    display: inline-block;
    padding: 6px 14px;
    background: #FFD700;
    color: #333;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.blog-post-title {
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.4;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.blog-post-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-post-title a:hover {
    color: #20B2AA;
}

.blog-post-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 15px 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.blog-post-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #20B2AA;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: gap 0.3s;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.blog-post-read-more:hover {
    gap: 10px;
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    direction: rtl;
}

.blog-pagination .page-numbers {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    align-items: center;
}

.blog-pagination .page-numbers li {
    margin: 0;
}

.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    transition: all 0.3s;
}

.blog-pagination .page-numbers a:hover {
    background: #20B2AA;
    color: #fff;
    border-color: #20B2AA;
}

.blog-pagination .page-numbers .current {
    background: #20B2AA;
    color: #fff;
    border-color: #20B2AA;
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-main-section {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .blog-categories-sidebar {
        width: 100%;
        max-width: 100%;
        padding: 15px;
    }
    
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-link {
        padding: 12px 15px;
        gap: 12px;
    }
    
    .category-icon-box {
        width: 35px;
        height: 35px;
    }
    
    .category-icon {
        width: 18px;
        height: 18px;
    }
    
    .category-name {
        font-size: 15px;
    }
    
    .category-count-badge {
        font-size: 13px;
        padding: 5px 10px;
    }
    
    .blog-instagram-cta {
        min-height: 120px;
        padding: 15px 20px;
    }
    
    .instagram-cta-title {
        font-size: 16px;
    }
    
    .instagram-cta-url {
        font-size: 14px;
    }
    
    .instagram-cta-icon-wrapper {
        width: 45px;
        height: 45px;
    }
    
    .instagram-cta-icon {
        width: 20px;
        height: 20px;
    }
    
    .instagram-cta-arrow {
        width: 20px;
        height: 20px;
    }
}


@media (max-width: 768px) {
    .blog-archive-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .blog-page-title-wrapper{
        margin-top: 20px;
    }
    
    .blog-search-form {
        width: 100%;
    }
    
    .blog-page-title {
        font-size: 24px;
    }
    
    .blog-categories-sidebar {
        padding: 15px;
    }
    
    .category-link {
        padding: 12px 15px;
        gap: 10px;
    }
    
    .category-icon-box {
        width: 35px;
        height: 35px;
    }
    
    .category-icon {
        width: 16px;
        height: 16px;
    }
    
    .category-name {
        font-size: 14px;
    }
    
    .category-count-badge {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-post-title {
        font-size: 20px;
    }
    
    .blog-page-title {
        font-size: 20px;
    }
    
    .blog-instagram-cta {
        min-height: 110px;
        padding: 12px 15px;
        border-radius: 15px;
    }
    
    .instagram-cta-content {
        gap: 10px;
    }
    
    .instagram-cta-title {
        font-size: 15px;
    }
    
    .instagram-cta-url {
        font-size: 13px;
    }
    
    .instagram-cta-icon-wrapper {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    
    .instagram-cta-icon {
        width: 18px;
        height: 18px;
    }
    
    .instagram-cta-arrow {
        width: 18px;
        height: 18px;
    }
}

/* ============================================
   Blog Category Page Styles
   ============================================ */

.blog-category-page {
    padding: 40px 0;
    background: #fff;
    min-height: 60vh;
}

.blog-category-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.blog-category-breadcrumbs a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-category-breadcrumbs a:hover {
    color: #20B2AA;
}

.blog-category-breadcrumbs .breadcrumb-separator {
    color: #999;
}

.blog-category-breadcrumbs .breadcrumb-current {
    color: #333;
    font-weight: 500;
}

.blog-category-header {
    margin-bottom: 40px;
    text-align: right;
}

.blog-category-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.blog-category-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

/* Grid 9 columns for category pages */
.blog-posts-grid-9 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
    direction: rtl;
}

@media (max-width: 1024px) {
    .blog-posts-grid-9 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .blog-category-page {
        padding: 30px 0;
    }

    .blog-category-title {
        font-size: 24px;
    }

    .blog-category-description {
        font-size: 14px;
    }

    .blog-posts-grid-9 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .blog-category-page {
        padding: 20px 0;
    }

    .blog-category-title {
        font-size: 20px;
    }

    .blog-category-breadcrumbs {
        font-size: 12px;
    }
}

/* ============================================
   Cart Page Styles
   ============================================ */

.cart-page-wrapper {
    padding: 40px 0;
    background: #fff;
    min-height: 60vh;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

/* Breadcrumbs */
.cart-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.cart-breadcrumbs a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.cart-breadcrumbs a:hover {
    color: #20B2AA;
}

.cart-breadcrumbs .breadcrumb-separator {
    color: #999;
}

.cart-breadcrumbs .breadcrumb-current {
    color: #333;
    font-weight: 500;
}

/* Page Header */
.cart-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e8e8e8;
}

.cart-page-title {
    font-size: 28px;
    font-weight: bold;
    color: #1a1a1a;
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.cart-items-count {
    font-size: 16px;
    color: #666;
    background: #f0f8ff;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

/* Content Wrapper */
.cart-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    direction: rtl;
}

/* Cart Items Section */
.cart-items-section {
    background: #fff;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Cart Item */
.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    transition: all 0.3s;
    align-items: start;
}

.cart-item:hover {
    border-color: #20B2AA;
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.1);
}

/* Product Image */
.cart-item-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-item-image a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Product Details */
.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.cart-item-name {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.cart-item-name a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
}

.cart-item-name a:hover {
    color: #20B2AA;
}

.cart-item-meta {
    font-size: 14px;
    color: #666;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.cart-item-price {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

/* Cart Item Actions */
.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    min-width: 150px;
}

/* Quantity Input */
.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-quantity .quantity {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.cart-item-quantity input.qty {
    width: 60px;
    padding: 10px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    outline: none;
    background: transparent;
}

.cart-item-quantity .quantity input[type="number"] {
    -moz-appearance: textfield;
}

.cart-item-quantity .quantity input[type="number"]::-webkit-inner-spin-button,
.cart-item-quantity .quantity input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-item-quantity button.minus,
.cart-item-quantity button.plus,
.cart-item-quantity .minus,
.cart-item-quantity .plus {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 18px;
    color: #333;
    padding: 0;
    line-height: 1;
}

.cart-item-quantity button.minus:hover,
.cart-item-quantity button.plus:hover,
.cart-item-quantity .minus:hover,
.cart-item-quantity .plus:hover {
    background: #20B2AA;
    color: #fff;
}

/* Subtotal */
.cart-item-subtotal {
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

/* Remove Button */
.cart-item-remove {
    margin-top: auto;
}

.cart-item-remove .remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ffebee;
    border-radius: 8px;
    color: #f44336;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cart-item-remove .remove:hover {
    background: #f44336;
    color: #fff;
    transform: rotate(90deg);
}

.cart-item-remove .remove svg {
    width: 20px;
    height: 20px;
}

/* Cart Actions Row */
.cart-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Coupon */
.coupon {
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 1;
    min-width: 300px;
}

.coupon .input-text {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    outline: none;
    transition: border-color 0.3s;
    direction: rtl;
}

.coupon .input-text:focus {
    border-color: #20B2AA;
}

.coupon .button {
    padding: 12px 24px;
    background: #20B2AA;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    white-space: nowrap;
}

.cart-actions-row .button[name="update_cart"] {
    padding: 12px 24px;
    background: #4FC3F7;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.cart-actions-row .button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Cart Totals Section */
.cart-totals-section {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.cart-collaterals {
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Cart Totals Table */
.cart_totals {
    width: 100% !important;
}

.cart_totals h2 {
    font-size: 20px;
    font-weight: bold;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8e8e8;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.shop_table tr {
    border-bottom: 1px solid #e8e8e8;
}

.shop_table tr:last-child {
    border-bottom: none;
}

.shop_table th,
.shop_table td {
    padding: 12px 0;
    text-align: right;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.shop_table th {
    font-weight: 500;
    color: #666;
    font-size: 14px;
}

.shop_table td {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 16px;
}

.shop_table .order-total th,
.shop_table .order-total td {
    font-size: 20px;
    font-weight: bold;
    color: #20B2AA;
    padding-top: 20px;
}

/* Checkout Button */
.wc-proceed-to-checkout {
    margin-top: 20px;
}
.entry-header{
    display: none !important;
}
.wc-proceed-to-checkout .checkout-button {
    width: 100% !important;
    padding: 16px;
    background: linear-gradient(135deg, #20B2AA 0%, #4FC3F7 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer !important;
    transition: all 0.3s !important;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    text-decoration: none !important;
    display: block;
    text-align: center;
}

.wc-proceed-to-checkout .checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.3);
}

/* Empty Cart */
.woocommerce-cart-form .cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.woocommerce-cart-form .cart-empty h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.woocommerce-cart-form .cart-empty .return-to-shop {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #20B2AA;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.3s;
}

.woocommerce-cart-form .cart-empty .return-to-shop:hover {
    background: #4FC3F7;
}

/* Empty Cart Wrapper */
.cart-empty-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
    direction: rtl;
}

/* Empty Cart Card */
.cart-empty-card {
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.cart-empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    color: #20B2AA;
    opacity: 0.6;
}

.cart-empty-icon svg {
    width: 100%;
    height: 100%;
}

.cart-empty-title {
    font-size: 28px;
    font-weight: bold;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.cart-empty-message {
    font-size: 16px;
    color: #666;
    margin: 0 0 30px 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.cart-empty-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #20B2AA 0%, #4FC3F7 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.cart-empty-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.3);
}

.cart-empty-button svg {
    width: 20px;
    height: 20px;
}

/* Suggested Products Section */
.cart-empty-suggestions {
    margin-top: 20px;
}

.suggestions-title {
    font-size: 24px;
    font-weight: bold;
    color: #1a1a1a;
    margin: 0 0 30px 0;
    text-align: right;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    direction: rtl;
}

/* Suggestion Product Card */
.suggestion-product-card {
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.suggestion-product-card:hover {
    border-color: #20B2AA;
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.15);
    transform: translateY(-3px);
}

.suggestion-product-image-wrapper {
    position: relative;
    background: #F2FAFF;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    border-radius: 12px 12px 0 0;
}

.suggestion-product-image-link {
    display: block;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.suggestion-product-image-wrapper img {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    display: block;
}

.suggestion-product-discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #FFBF00;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.suggestion-product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    direction: rtl;
    text-align: right;
}

.suggestion-product-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.4;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.suggestion-product-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
}

.suggestion-product-title a:hover {
    color: #20B2AA;
}

.suggestion-product-model {
    font-size: 13px;
    color: #666;
    background: #f8f8f8;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
    width: fit-content;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.suggestion-product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.suggestion-price-old {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.suggestion-price-current {
    font-size: 18px;
    font-weight: bold;
    color: #20B2AA;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.suggestion-product-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: #20B2AA;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    margin-top: 10px;
}

.suggestion-product-button:hover {
    background: #4FC3F7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(32, 178, 170, 0.3);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .cart-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .cart-totals-section {
        position: static;
    }
}

@media (max-width: 768px) {
    .cart-page-wrapper {
        padding: 20px 0;
    }
    
    .cart-page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .cart-page-title {
        font-size: 24px;
    }
    
    .cart-item {
        grid-template-columns: 100px 1fr;
        gap: 15px;
    }
    
    .cart-item-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding-top: 15px;
        border-top: 1px solid #e8e8e8;
    }
    
    .cart-item-image {
        width: 100px;
        height: 100px;
    }
    
    .cart-actions-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .coupon {
        flex-direction: column;
        min-width: 100%;
    }
    
    .coupon .input-text,
    .coupon .button {
        width: 100%;
    }
    
    .cart-actions-row .button {
        width: 100%;
    }
    
    .cart-item-name {
        font-size: 16px;
    }
    
    .cart-item-subtotal {
        font-size: 16px;
    }
    
    /* Empty Cart Responsive */
    .cart-empty-card {
        padding: 40px 20px;
    }
    
    .cart-empty-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .cart-empty-title {
        font-size: 22px;
    }
    
    .cart-empty-message {
        font-size: 14px;
    }
    
    .cart-empty-button {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .suggestions-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .suggestions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .suggestion-product-image-wrapper {
        min-height: 150px;
        padding: 15px;
    }
    
    .suggestion-product-image-wrapper img {
        max-height: 130px;
    }
    
    .suggestion-product-info {
        padding: 15px;
    }
    
    .suggestion-product-title {
        font-size: 14px;
    }
    
    .suggestion-price-current {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .suggestions-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-empty-card {
        padding: 30px 15px;
    }
    
    .cart-empty-icon {
        width: 60px;
        height: 60px;
    }
    
    .cart-empty-title {
        font-size: 20px;
    }
    
    .suggestions-title {
        font-size: 18px;
    }
}

/* ============================================
   Checkout Page Styles
   ============================================ */

.woocommerce-checkout {
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    direction: rtl;
}

.checkout-page-wrapper {
    padding: 40px 0;
    background: #fff;
    min-height: 60vh;
}

/* Checkout Breadcrumbs */
.checkout-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.checkout-breadcrumbs a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.checkout-breadcrumbs a:hover {
    color: #20B2AA;
}

.checkout-breadcrumbs .breadcrumb-separator {
    color: #999;
}

.checkout-breadcrumbs .breadcrumb-current {
    color: #333;
    font-weight: 500;
}

/* Checkout Page Header */
.checkout-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e8e8e8;
}

.checkout-page-title {
    font-size: 28px;
    font-weight: bold;
    color: #1a1a1a;
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

/* Thank You (Order Received) Page */
.thankyou-page-wrapper {
    padding: 40px 0;
    background: #fff;
    min-height: 60vh;
}

.thankyou-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.thankyou-breadcrumbs a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.thankyou-breadcrumbs a:hover {
    color: #20B2AA;
}

.thankyou-breadcrumbs .breadcrumb-separator {
    color: #999;
}

.thankyou-breadcrumbs .breadcrumb-current {
    color: #333;
    font-weight: 500;
}

.thankyou-page-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e8e8e8;
}

.thankyou-page-title {
    font-size: 28px;
    font-weight: bold;
    color: #1a1a1a;
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.thankyou-content-wrapper {
    margin-top: 20px;
}

/* Checkout Content Wrapper */
.checkout-content-wrapper {
    gap: 30px;
    direction: ltr;
}

/* Checkout Form Section */
.checkout-form-section {
    background: #fff;
}

.woocommerce-checkout .col2-set {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
    width: 100%;
    float: none;
}

/* Form Fields */
.woocommerce-checkout .form-row {
    margin-bottom: 20px;
}

.woocommerce-checkout .form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.woocommerce-checkout .form-row label .required {
    color: #f44336;
    margin-right: 3px;
}

.woocommerce-checkout .form-row input[type="text"],
.woocommerce-checkout .form-row input[type="email"],
.woocommerce-checkout .form-row input[type="tel"],
.woocommerce-checkout .form-row input[type="number"],
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    outline: none;
    transition: border-color 0.3s;
    direction: rtl;
    text-align: right;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    border-color: #20B2AA;
}

.woocommerce-checkout .form-row textarea {
    min-height: 100px;
    resize: vertical;
}

/* Checkbox and Radio */
.woocommerce-checkout .form-row .input-checkbox,
.woocommerce-checkout .form-row .input-radio {
    width: 18px;
    height: 18px;
    margin-left: 8px;
    cursor: pointer;
}

.woocommerce-checkout .form-row label.checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}

/* Section Titles */
.woocommerce-checkout h3 {
    font-size: 20px;
    font-weight: bold;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8e8e8;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

/* Order Review Section */
.checkout-order-review-section {
    position: sticky;
    top: 100px;
    height: fit-content;
}

#order_review {
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

#order_review_heading {
    font-size: 20px;
    font-weight: bold;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8e8e8;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

/* Order Review Table */
.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.woocommerce-checkout-review-order-table thead {
    display: none;
}

.woocommerce-checkout-review-order-table tbody tr {
    border-bottom: 1px solid #e8e8e8;
    padding: 15px 0;
}

.woocommerce-checkout-review-order-table tbody tr:last-child {
    border-bottom: none;
}

.woocommerce-checkout-review-order-table td {
    padding: 12px 0;
    text-align: right;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.woocommerce-checkout-review-order-table .product-name {
    font-weight: 500;
    color: #1a1a1a;
    font-size: 14px;
}

.woocommerce-checkout-review-order-table .product-total {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 16px;
    text-align: left;
}

.woocommerce-checkout-review-order-table .product-quantity {
    color: #666;
    font-size: 13px;
    margin-top: 5px;
}

/* Order Totals */
.woocommerce-checkout-review-order-table tfoot tr {
    border-top: 2px solid #e8e8e8;
    padding-top: 15px;
}

.woocommerce-checkout-review-order-table tfoot th {
    text-align: right;
    font-weight: 500;
    color: #666;
    font-size: 14px;
    padding: 10px 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.woocommerce-checkout-review-order-table tfoot td {
    text-align: left;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 16px;
    padding: 10px 0;
}

.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
    font-size: 20px;
    font-weight: bold;
    color: #20B2AA;
    padding-top: 20px;
}

/* Payment Methods */
#payment {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e8e8e8;
}

#payment .payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

#payment .payment_methods li {
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

#payment .payment_methods li:hover {
    border-color: #20B2AA;
    background: #f0f8ff;
}

#payment .payment_methods li input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-left: 10px;
    cursor: pointer;
}

#payment .payment_methods li label {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #1a1a1a;
    cursor: pointer;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

#payment .payment_box {
    margin-top: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    color: #666;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

#payment .payment_box p {
    margin: 0;
}

/* Place Order Button */
#place_order {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #20B2AA 0%, #4FC3F7 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    margin-top: 20px;
}

#place_order:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.3);
}

#place_order:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Terms and Conditions */
.woocommerce-terms-and-conditions-wrapper {
    margin: 20px 0;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.woocommerce-terms-and-conditions-wrapper label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

/* Checkout Notices */
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-message {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.woocommerce-checkout .woocommerce-info {
    background: #E3F2FD;
    border: 1px solid #2196F3;
    color: #1565C0;
    border-right: 4px solid #2196F3;
}

.woocommerce-checkout .woocommerce-error {
    background: #FFEBEE;
    border: 1px solid #F44336;
    color: #C62828;
    border-right: 4px solid #F44336;
}

.woocommerce-checkout .woocommerce-message {
    background: #E8F5E9;
    border: 1px solid #4CAF50;
    color: #2E7D32;
    border-right: 4px solid #4CAF50;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .checkout-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .checkout-order-review-section {
        position: static;
    }
}

@media (max-width: 768px) {
    .checkout-page-wrapper {
        padding: 20px 0;
    }
    
    .checkout-page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .checkout-page-title {
        font-size: 24px;
    }
    
    .woocommerce-checkout .col2-set {
        grid-template-columns: 1fr;
    }
    
    .woocommerce-checkout-review-order-table .product-total {
        text-align: right;
        margin-top: 5px;
    }
    
    #payment .payment_methods li {
        padding: 12px;
    }
    
    .woocommerce-checkout .form-row input,
    .woocommerce-checkout .form-row select,
    .woocommerce-checkout .form-row textarea {
        font-size: 14px;
    }
    
    #place_order {
        font-size: 14px;
        padding: 14px;
    }
}

/* Additional Checkout Improvements */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3 {
    margin-top: 30px;
}

.woocommerce-checkout .woocommerce-billing-fields h3:first-child,
.woocommerce-checkout .woocommerce-shipping-fields h3:first-child {
    margin-top: 0;
}

/* Form Row Widths */
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    width: 48%;
    float: right;
}

.woocommerce-checkout .form-row-first {
    margin-left: 4%;
}

.woocommerce-checkout .form-row-wide {
    width: 100%;
    clear: both;
}

@media (max-width: 768px) {
    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last {
        width: 100%;
        float: none;
        margin-left: 0;
    }
}

/* Shipping Methods */
.woocommerce-shipping-methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-shipping-methods li {
    margin-bottom: 10px;
    padding: 10px;
    background: #f8f8f8;
    border-radius: 6px;
}

.woocommerce-shipping-methods li input[type="radio"] {
    margin-left: 8px;
}

.woocommerce-shipping-methods li label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

/* Loading State */
.woocommerce-checkout-processing #place_order {
    opacity: 0.6;
    cursor: wait;
    pointer-events: none;
}

/* Error States */
.woocommerce-checkout .form-row.woocommerce-invalid input,
.woocommerce-checkout .form-row.woocommerce-invalid select,
.woocommerce-checkout .form-row.woocommerce-invalid textarea {
    border-color: #f44336;
}

.woocommerce-checkout .form-row.woocommerce-invalid label {
    color: #f44336;
}

/* Success States */
.woocommerce-checkout .form-row.woocommerce-validated input:valid,
.woocommerce-checkout .form-row.woocommerce-validated select:valid,
.woocommerce-checkout .form-row.woocommerce-validated textarea:valid {
    border-color: #4CAF50;
}

/* ============================================
   About Us Page Styles
   ============================================ */

.about-page {
    padding: 60px 0;
    background: #fff;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.about-section {
    margin-bottom: 60px;
}

/* About Content Wrapper - 50/50 Layout */
.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: end;
    direction: rtl;
}

/* Right Side: Image Section */
.about-image-section {
    width: 100%;
}

.about-image {
    width: 100%;
    max-width: 555px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.about-vision-image {
    aspect-ratio: 555 / 550;
}

.about-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Left Side: Text Section */
.about-text-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    direction: rtl;
}

/* About Intro Text (متن درباره ما از Redux) */
.about-intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.about-intro-text p {
    margin-bottom: 15px;
}

.about-intro-text p:last-child {
    margin-bottom: 0;
}

/* About Text */
.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.about-text p {
    margin-bottom: 20px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Vision Title */
.vision-title {
    font-size: 28px;
    font-weight: bold;
    color: #1a1a1a;
    margin: 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #20B2AA;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    display: inline-block;
    width: fit-content;
}

/* Vision Description */
.vision-description {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    text-align: justify;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

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

.vision-description p:last-child {
    margin-bottom: 0;
}

/* CTA Buttons (دکمه‌های تماس و فروشگاه) */
.about-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.about-cta-buttons .btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    text-decoration: none;
}

/* Action Buttons */
.about-action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    border: 2px solid transparent;
}

.about-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.about-btn-contact {
    background: linear-gradient(135deg, #20B2AA 0%, #4FC3F7 100%);
    color: #fff;
    border: none;
}

.about-btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.3);
    color: #fff;
}

.about-btn-shop {
    background: #fff;
    color: #20B2AA;
    border: 2px solid #20B2AA;
}

.about-btn-shop:hover {
    background: #20B2AA;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.3);
}

/* Statistics Section */
.about-statistics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
    padding-top: 30px;
    border-top: 2px solid #e8e8e8;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 12px;
    transition: all 0.3s;
}

.stat-item:hover {
    background: #f0f8ff;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.1);
}

.stat-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 10px;
}

.stat-item .stat-value {
    font-size: 26px;
    font-weight: bold;
    color: #20B2AA;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-symbol {
    font-size: 24px;
    font-weight: 600;
    color: #20B2AA;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        max-width: 100%;
    }
    
    .about-statistics {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .about-page {
        padding: 40px 0;
    }
    
    .about-content-wrapper {
        gap: 30px;
    }
    
    .about-image {
        max-width: 100%;
    }
    
    .about-text {
        font-size: 15px;
    }
    
    .vision-title {
        margin: auto;
        font-size: 21px;
        text-align: center;
    }
    
    .vision-description {
        font-size: 14px;
    }
    
    .about-action-buttons {
        flex-direction: column;
    }
    
    .about-btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-statistics {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-item .stat-value {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .about-page {
        padding: 30px 0;
    }
    
    .stat-item .stat-value {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 13px;
    }
}

/* ============================================
   Mission Section Styles
   ============================================ */

.mission-section {
    margin-top: 80px;
    margin-bottom: 60px;
}

/* Mission Content Wrapper - 50/50 Layout (Image Left, Content Right) */
.mission-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: end;
    direction: rtl;
}

/* Left Side: Image Section */
.mission-image-section {
    width: 100%;
    order: 2; /* In RTL, this will be on the left */
}

.mission-image {
    width: 100%;
    max-width: 555px;
    aspect-ratio: 555 / 706;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.mission-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right Side: Text Section */
.mission-text-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    direction: rtl;
    order: 1; /* In RTL, this will be on the right */
}

/* Mission Title */
.mission-title {
    font-size: 28px;
    font-weight: bold;
    color: #1a1a1a;
    margin: 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #20B2AA;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    display: inline-block;
    width: fit-content;
}

/* Mission Description */
.mission-description {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    text-align: justify;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

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

.mission-description p:last-child {
    margin-bottom: 0;
}

/* Mission Features */
.mission-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 10px;
}

.mission-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 20px;
    background: #f8f8f8;
    border-radius: 12px;
    transition: all 0.3s;
    border: 2px solid transparent;
    list-style: none;
    position: relative;
}


.mission-feature-item:hover {
    background: #f0f8ff;
    border-color: #20B2AA;
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.1);
}

.mission-feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #20B2AA 0%, #4FC3F7 100%);
    border-radius: 12px;
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.mission-feature-item:hover .mission-feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.mission-feature-icon svg {
    width: 24px;
    height: 24px;
}

.mission-feature-text {
    flex: 1;
    direction: rtl;
}

.mission-feature-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.mission-feature-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

/* Responsive Styles for Mission Section */
@media (max-width: 1024px) {
    .mission-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mission-image-section {
        order: 1;
    }
    
    .mission-text-section {
        order: 2;
    }
    
    .mission-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .mission-section {
        margin-top: 60px;
    }
    
    .mission-content-wrapper {
        gap: 30px;
    }
    
    .mission-image {
        max-width: 100%;
    }
    
    .mission-title {
        margin: auto;
        font-size: 21px;
        text-align: center;
    }
    
    .mission-description {
        font-size: 14px;
    }
    
    .mission-features {
        gap: 20px;
    }
    
    .mission-feature-item {
        padding: 12px 15px;
        gap: 12px;
    }
    
    .mission-feature-icon {
        width: 45px;
        height: 45px;
    }
    
    .mission-feature-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .mission-feature-title {
        font-size: 16px;
    }
    
    .mission-feature-desc {
        font-size: 13px;
    }
}

/* ============================================
   About Services Section Styles
   ============================================ */

.about-services-section {
    margin-top: 80px;
    margin-bottom: 60px;
    padding: 60px 0;
    background: #f8f9fa;
    border-radius: 20px;
}

.about-services-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-services-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.about-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    direction: rtl;
}

.about-service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8e8e8;
}

.about-services-wrapper {
    padding: 0 20px;
}

.about-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(32, 178, 170, 0.15);
    border-color: #20B2AA;
}

.about-service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #20B2AA 0%, #1a9b95 100%);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.about-service-card:hover .about-service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(32, 178, 170, 0.3);
}

.about-service-icon svg {
    width: 40px;
    height: 40px;
    stroke: currentColor;
}

.about-service-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    line-height: 1.4;
}

.about-service-description {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    margin: 0;
}

/* Responsive Styles for About Services */
@media (max-width: 1024px) {
    .about-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .about-service-card {
        padding: 35px 25px;
    }
}

@media (max-width: 768px) {
    .about-services-section {
        margin-top: 60px;
        margin-bottom: 40px;
        padding: 40px 0;
        border-radius: 15px;
    }
    
    .about-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-service-card {
        padding: 30px 20px;
    }
    
    .about-service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .about-service-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .about-service-title {
        font-size: 18px;
    }
    
    .about-service-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .about-services-section {
        padding: 30px 0;
    }
    
    .about-service-card {
        padding: 25px 15px;
    }
    
    .about-service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .about-service-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .about-service-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .about-service-description {
        font-size: 13px;
    }
}

/* ============================================
   About Team Section Styles
   ============================================ */

.about-team-section {
    margin-top: 80px;
    margin-bottom: 20px;
    padding: 60px 0;
}

.about-team-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    direction: rtl;
}

.about-team-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.about-team-subtitle {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    line-height: 1.6;
}

.about-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.about-team-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
    text-align: center;
}

.about-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(32, 178, 170, 0.15);
    border-color: #20B2AA;
}

.about-team-image-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f8f9fa;
    position: relative;
}

.about-team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-team-card:hover .about-team-image {
    transform: scale(1.05);
}

.about-team-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #999;
}

.about-team-info {
    padding: 20px 15px;
}

.about-team-position {
    font-size: 14px;
    font-weight: 600;
    color: #20B2AA;
    margin-bottom: 8px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.about-team-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

/* Responsive Styles for About Team */
@media (max-width: 1024px) {
    .about-team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .about-team-image-wrapper {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .about-team-section {
        margin-top: 60px;
        margin-bottom: 40px;
        padding: 40px 0;
    }
    
    .about-team-title {
        font-size: 28px;
    }
    
    .about-team-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .about-team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .about-team-image-wrapper {
        height: 220px;
    }
    
    .about-team-info {
        padding: 15px 12px;
    }
    
    .about-team-position {
        font-size: 13px;
    }
    
    .about-team-name {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .about-team-section {
        padding: 30px 0;
    }
    
    .about-team-title {
        font-size: 24px;
    }
    
    .about-team-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .about-team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-team-image-wrapper {
        height: 300px;
    }
}

/* ============================================
   Contact Us Page Styles
   ============================================ */

.contact-page {
    padding: 40px 0 60px;
    background: #fff;
    min-height: 70vh;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.contact-breadcrumbs {
    margin-bottom: 30px;
    direction: rtl;
    font-size: 14px;
    color: #666;
}

.contact-breadcrumbs a {
    color: #20B2AA;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-breadcrumbs a:hover {
    color: #1a9b95;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #999;
}

.contact-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    direction: rtl;
    align-items: end;
}

/* Left Side: Contact Info & Map */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.contact-info-box {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 30px;
}

.contact-info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.email-icon {
    background: #E3F2FD;
    color: #1976D2;
}

.phone-icon {
    background: #E8F5E9;
    color: #388E3C;
}

.contact-info-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-info-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.contact-info-value {
    font-size: 15px;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    max-width: 100%;
}

.contact-info-value-email {
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.55;
    display: inline-block;
    width: 100%;
}

.contact-info-value-phone {
    letter-spacing: 0.02em;
    line-height: 1.45;
    display: inline-block;
    width: 100%;
}

.contact-info-value:hover {
    color: #20B2AA;
}

.contact-map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 400px;
}

#contact-map {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    z-index: 1;
}

#contact-map .leaflet-container {
    border-radius: 16px;
}

.contact-address-bar {
    background: linear-gradient(135deg, #20B2AA 0%, #1a9b95 100%);
    color: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
}

.address-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.address-text {
    flex: 1;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Right Side: Contact Form */
.contact-form-section {
    background: #fff;
}

.contact-form-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.contact-form-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #fff;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #20B2AA;
    box-shadow: 0 0 0 3px rgba(32, 178, 170, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    background: linear-gradient(135deg, #20B2AA 0%, #1a9b95 100%);
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    margin-top: 10px;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.3);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

.contact-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.contact-message-success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #4CAF50;
}

.contact-message-error {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #F44336;
}

/* Responsive Styles for Contact Page */
@media (max-width: 1024px) {
    .contact-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-map-wrapper {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .contact-page {
        padding: 30px 0 40px;
    }
    
    .contact-breadcrumbs {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .contact-info-row {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    
    .contact-info-box {
        padding: 18px 16px;
        border-radius: 14px;
    }
    
    .contact-info-item {
        gap: 12px;
    }
    
    .contact-info-icon {
        width: 44px;
        height: 44px;
    }
    
    .contact-info-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .contact-info-label {
        font-size: 13px;
    }
    
    .contact-info-value {
        font-size: 15px;
    }
    
    .contact-info-value-email {
        line-height: 1.6;
    }
    
    .contact-form-title {
        font-size: 26px;
    }
    
    .contact-form-subtitle {
        font-size: 14px;
    }
    
    .form-row-two-col {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-map-wrapper {
        height: 280px;
    }
    
    .contact-address-bar {
        padding: 14px 16px;
        font-size: 14px;
        line-height: 1.65;
        border-radius: 12px;
    }
    
    .address-icon svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .contact-page {
        padding: 20px 0 30px;
    }
    
    .contact-info-box {
        padding: 16px 14px;
    }
    
    .contact-info-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
    }
    
    .contact-info-icon {
        width: 42px;
        height: 42px;
    }
    
    .contact-info-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .contact-info-value {
        font-size: 14px;
    }
    
    .contact-info-value-email {
        font-size: 14px;
        line-height: 1.65;
    }
    
    .contact-address-bar {
        padding: 14px 14px;
        font-size: 13px;
        gap: 10px;
    }
    
    .contact-form-title {
        font-size: 22px;
    }
    
    .contact-submit-btn {
        width: 100%;
        padding: 12px 20px;
    }
}

/* ============================================
   WooCommerce My Account Styles
   ============================================ */

/* My Account Page Wrapper */
.myaccount-page-wrapper {
    padding: 20px 0;
    background: #f9f9f9;
    min-height: 60vh;
}
.myaccount-page-wrapper .container{
    padding: 10px;
}

.myaccount-breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.myaccount-breadcrumbs a {
    color: #20B2AA;
    text-decoration: none;
    transition: color 0.3s ease;
}

.myaccount-breadcrumbs a:hover {
    color: #1a9b95;
    text-decoration: underline;
}

.myaccount-breadcrumbs .breadcrumb-separator {
    margin: 0 8px;
    color: #999;
}

.myaccount-breadcrumbs .breadcrumb-current {
    color: #333;
    font-weight: 500;
}

.myaccount-page-header {
    margin-bottom: 30px;
}

.myaccount-page-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}



.myaccount-login-wrapper {
    padding: 40px 0;
    background: #f9f9f9;
    min-height: 60vh;
}

.woocommerce-account .woocommerce {
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

/* My Account Layout (Logged In) */
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 100%;
    margin-bottom: 30px;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

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

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: linear-gradient(135deg, #20B2AA 0%, #1a9b95 100%);
    color: #fff;
    border-color: #20B2AA;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: linear-gradient(135deg, #20B2AA 0%, #1a9b95 100%);
    color: #fff;
    border-color: #20B2AA;
}

/* My Account Content (Logged In) */
.woocommerce-account .woocommerce-MyAccount-content {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    float: unset !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.woocommerce-account .woocommerce-MyAccount-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.woocommerce-account .woocommerce-MyAccount-content a {
    color: #20B2AA;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.woocommerce-account .woocommerce-MyAccount-content a:hover {
    color: #1a9b95;
    text-decoration: underline;
}

/* Dashboard Welcome */
.woocommerce-dashboard-welcome {
    margin-bottom: 30px;
}

.woocommerce-dashboard-greeting {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
}

.woocommerce-dashboard-greeting strong {
    color: #20B2AA;
    font-weight: 600;
}

.woocommerce-dashboard-description {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

/* Login/Register Form (Logged Out) */
.woocommerce-myaccount-login-register {
    max-width: 900px;
    margin: 0 auto;
}

.woocommerce-login-register-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.woocommerce-login-form-wrapper,
.woocommerce-register-form-wrapper {

    padding: 20px;
}

.woocommerce-login-title,
.woocommerce-register-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    text-align: right;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.woocommerce-form-login,
.woocommerce-form-register {
    margin: 0;
}

.woocommerce-form-login .form-row,
.woocommerce-form-register .form-row {
    margin-bottom: 20px;
}

.woocommerce-form-login label,
.woocommerce-form-register label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.woocommerce-form-login .required,
.woocommerce-form-register .required {
    color: #F44336;
}

.woocommerce-form-login input[type="text"],
.woocommerce-form-login input[type="email"],
.woocommerce-form-login input[type="password"],
.woocommerce-form-register input[type="text"],
.woocommerce-form-register input[type="email"],
.woocommerce-form-register input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    transition: all 0.3s ease;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.woocommerce-form-login input:focus,
.woocommerce-form-register input:focus {
    outline: none;
    border-color: #20B2AA;
    box-shadow: 0 0 0 3px rgba(32, 178, 170, 0.1);
}

.woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.woocommerce-form-login__rememberme input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.woocommerce-form-login__submit,
.woocommerce-form-register__submit {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #20B2AA 0%, #1a9b95 100%);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.woocommerce-form-login__submit:hover,
.woocommerce-form-register__submit:hover {
    background: linear-gradient(135deg, #1a9b95 0%, #158a84 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(32, 178, 170, 0.3);
}

.woocommerce-LostPassword {
    margin-top: 15px;
    text-align: center;
}

.woocommerce-LostPassword a {
    font-size: 14px;
    color: #20B2AA;
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce-LostPassword a:hover {
    color: #1a9b95;
    text-decoration: underline;
}

/* Forms in My Account */
.woocommerce-account .woocommerce form .form-row input.input-text,
.woocommerce-account .woocommerce form .form-row textarea,
.woocommerce-account .woocommerce form .form-row select {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.woocommerce-account .woocommerce form .form-row input.input-text:focus,
.woocommerce-account .woocommerce form .form-row textarea:focus,
.woocommerce-account .woocommerce form .form-row select:focus {
    outline: none;
    border-color: #20B2AA;
    box-shadow: 0 0 0 3px rgba(32, 178, 170, 0.1);
}

.woocommerce-account .woocommerce form .form-row label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    display: block;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.woocommerce-account .woocommerce form .button {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #20B2AA 0%, #1a9b95 100%);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}



/* Tables in My Account */
.woocommerce-account .woocommerce table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
}

.woocommerce-account .woocommerce table thead {
    background: #f5f5f5;
}

.woocommerce-account .woocommerce table th {
    padding: 12px 15px;
    text-align: right;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #ddd;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.woocommerce-account .woocommerce table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    color: #666;
}

.woocommerce-account .woocommerce table tbody tr:hover {
    background: #f9f9f9;
}

/* Responsive Styles for My Account */
@media (max-width: 768px) {
    .myaccount-page-wrapper,
    .myaccount-login-wrapper {
        padding: 30px 0;
    }

    .myaccount-page-title {
        font-size: 24px;
    }


    .woocommerce-account .woocommerce {
        padding: 0;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        padding: 15px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        flex-direction: column;
        gap: 8px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul li a {
        padding: 10px 15px;
        font-size: 14px;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 20px;
    }

    .woocommerce-account .woocommerce-MyAccount-content h2,
    .woocommerce-account .woocommerce-MyAccount-content h3 {
        font-size: 20px;
    }

    .woocommerce-login-register-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }

    .woocommerce-login-form-wrapper,
    .woocommerce-register-form-wrapper {
        padding: 0;
    }

    .woocommerce-login-title,
    .woocommerce-register-title {
        font-size: 20px;
    }

    .woocommerce-account .woocommerce table {
        font-size: 12px;
    }

    .woocommerce-account .woocommerce table th,
    .woocommerce-account .woocommerce table td {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .myaccount-page-wrapper,
    .myaccount-login-wrapper {
        padding: 20px 0;
    }

    .myaccount-page-title {
        font-size: 20px;
    }

    .myaccount-breadcrumbs {
        font-size: 12px;
    }

    .woocommerce-account .woocommerce {
        padding: 0;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 15px;
    }

    .woocommerce-login-register-wrapper {
        padding: 20px 15px;
    }

    .woocommerce-form-login__submit,
    .woocommerce-form-register__submit {
        padding: 12px 18px;
        font-size: 15px;
    }
}

/* ============================================
   Error 404 Page Styles
   ============================================ */

.error-404-page {
    padding: 60px 0;
    background: #f9f9f9;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.error-404-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.error-404-breadcrumbs a {
    color: #20B2AA;
    text-decoration: none;
    transition: color 0.3s ease;
}

.error-404-breadcrumbs a:hover {
    color: #1a9b95;
    text-decoration: underline;
}

.error-404-breadcrumbs .breadcrumb-separator {
    color: #999;
}

.error-404-breadcrumbs .breadcrumb-current {
    color: #333;
    font-weight: 500;
}

.error-404-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.error-404-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    color: #20B2AA;
    opacity: 0.8;
}

.error-404-title {
    font-size: 120px;
    font-weight: 700;
    color: #20B2AA;
    margin: 0 0 20px;
    line-height: 1;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    text-shadow: 0 4px 10px rgba(32, 178, 170, 0.2);
}

.error-404-subtitle {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.error-404-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin: 0 0 40px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.error-404-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.error-404-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    border: 2px solid transparent;
}

.error-404-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.error-404-btn-primary {
    background: linear-gradient(135deg, #20B2AA 0%, #1a9b95 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(32, 178, 170, 0.3);
}

.error-404-btn-primary:hover {
    background: linear-gradient(135deg, #1a9b95 0%, #158a84 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(32, 178, 170, 0.4);
    color: #fff;
}

.error-404-btn-secondary {
    background: #fff;
    color: #20B2AA;
    border-color: #20B2AA;
}

.error-404-btn-secondary:hover {
    background: #20B2AA;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(32, 178, 170, 0.3);
}

.error-404-search {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.error-404-search-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

.error-404-search-form {
    position: relative;
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.error-404-search-field {
    flex: 1;
    padding: 14px 50px 14px 20px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    color: #333;
    transition: all 0.3s ease;
    font-family: var(--yekanbakh-font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    direction: rtl;
    text-align: right;
}

.error-404-search-field:focus {
    outline: none;
    border-color: #20B2AA;
    box-shadow: 0 0 0 3px rgba(32, 178, 170, 0.1);
}

.error-404-search-submit {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #20B2AA;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.error-404-search-submit:hover {
    color: #1a9b95;
}

/* Responsive Styles for 404 Page */
@media (max-width: 768px) {
    .error-404-page {
        padding: 40px 0;
    }

    .error-404-content {
        padding: 40px 25px;
        border-radius: 12px;
    }

    .error-404-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 25px;
    }

    .error-404-title {
        font-size: 80px;
    }

    .error-404-subtitle {
        font-size: 22px;
    }

    .error-404-description {
        font-size: 15px;
    }

    .error-404-actions {
        flex-direction: column;
        gap: 12px;
    }

    .error-404-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }

    .error-404-search-form {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .error-404-page {
        padding: 30px 0;
    }

    .error-404-content {
        padding: 30px 20px;
    }

    .error-404-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }

    .error-404-title {
        font-size: 60px;
    }

    .error-404-subtitle {
        font-size: 20px;
    }

    .error-404-description {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .error-404-search {
        margin-top: 30px;
        padding-top: 30px;
    }

    .error-404-search-title {
        font-size: 16px;
    }
}
