/**
 * LTR (Left-to-Right) overrides for English and other LTR languages.
 * Loaded only when !is_rtl() (e.g. locale is en_US).
 * Full left-align: header, hero reversed, images flipped, footer.
 * English font: Inter.
 *
 * @package Lophal_Energy
 * @since 1.0.0
 */

/* === English font: Inter (loaded in functions.php when LTR) === */
:root {
    --yekanbakh-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* === Base direction === */
html,
body {
    direction: ltr;
    text-align: left;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* English logo: appropriate width & height */
.lang-en .site-branding .logo-image,
.lang-en .logo-icon .logo-image {
    max-width: 160px;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lang-en .drawer-logo .drawer-logo-image {
    max-width: 140px;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lang-en .footer-mobile-logo .logo-image,
.lang-en .site-branding-footer .logo-image {
    max-width: 160px;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* === About Us page: swap two-column sections for LTR (image left, text right / text left, image right) === */
.lang-en .about-content-wrapper {
    direction: ltr;
}
.lang-en .about-text-section {
    direction: ltr;
    text-align: left;
}
.lang-en .vision-title,
.lang-en .vision-description,
.lang-en .vision-description p {
    text-align: left;
}

.lang-en .mission-content-wrapper {
    direction: ltr;
}
.lang-en .mission-text-section {
    direction: ltr;
    text-align: left;
}
.lang-en .mission-title,
.lang-en .mission-description,
.lang-en .mission-description p {
    text-align: left;
}
.lang-en .mission-feature-text {
    direction: ltr;
    text-align: left;
}
/* Mission section column order: text left (1), image right (2) in LTR */
.lang-en .mission-image-section {
    order: 2;
}
.lang-en .mission-text-section {
    order: 1;
}

/* === About Us — services section (LTR + compact titles for German) === */
.lang-en .about-services-section,
.lang-en .about-services-wrapper,
.lang-en .about-services-grid,
.lang-en .about-service-card,
.lang-en .about-service-title,
.lang-en .about-service-description {
    direction: ltr;
    unicode-bidi: embed;
}

.lang-en .about-services-title {
    direction: ltr;
    text-align: center;
}

.lang-en .about-service-card {
    text-align: center;
}

.lang-en .about-service-title {
    font-size: 17px;
    line-height: 1.35;
    white-space: nowrap;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 480px) {
    .lang-en .about-service-title {
        font-size: 14px;
    }
}

.lang-en .about-service-description {
    text-align: center;
    direction: ltr;
    unicode-bidi: plaintext;
}

/* === Contact Us page: swap sections for LTR (form left, info + map + address right) === */
.lang-en .contact-content-wrapper {
    direction: ltr;
}
.lang-en .contact-info-section {
    order: 2;
}
.lang-en .contact-form-section {
    order: 1;
}
.lang-en .contact-info-box,
.lang-en .contact-info-content {
    direction: ltr;
    text-align: left;
}
.lang-en .contact-address-bar {
    direction: ltr;
    text-align: left;
}

/* === Shop / Product Archive page: full LTR layout === */
.product-archive-page.lang-en .shop-page-wrapper,
.product-archive-page.lang-en .shop-content-wrapper {

    text-align: left;
}
.product-archive-page.lang-en .category-section-description {
    direction: ltr;
    text-align: left;
}
/* Swap: sidebar (filters) left, main content (products) right for English */
.product-archive-page.lang-en .shop-content-wrapper {
    grid-template-columns: 315px 1fr;
}

.product-archive-page.lang-en .shop-main-content {
    order: 2;
}

.product-archive-page.lang-en .shop-sidebar {
    order: 1;
}

.product-archive-page.lang-en .shop-breadcrumbs {
    direction: ltr;
    text-align: left;
    justify-content: flex-start;
}

.product-archive-page.lang-en .shop-page-title,
.product-archive-page.lang-en .shop-page-title h1 {
    text-align: left;
}

.product-archive-page.lang-en .shop-page-title-mobile,
.product-archive-page.lang-en .shop-page-title-mobile h1 {
    direction: ltr;
    text-align: left;
}

.product-archive-page.lang-en .shop-toolbar {
    direction: ltr;
    flex-direction: row;
}



.product-archive-page.lang-en .shop-search-field {
    direction: ltr;
    text-align: left;
    padding: 12px 15px 12px 40px;
}

.product-archive-page.lang-en .shop-search-field::placeholder {
    text-align: left;
    direction: ltr;
}

.product-archive-page.lang-en .shop-search-submit {
    left: auto;
    right: 10px;
}

.product-archive-page.lang-en .shop-sort-btn {
    direction: ltr;
}

.product-archive-page.lang-en .shop-sort-btn .sort-arrow {
    margin-right: 0;
    margin-left: 4px;
}

.product-archive-page.lang-en .shop-sort-dropdown {
    left: 0;
    right: auto;
    direction: ltr;
    text-align: left;
}

.product-archive-page.lang-en .shop-sort-dropdown .sort-option {
    text-align: left;
}

.product-archive-page.lang-en .shop-sidebar {
    direction: ltr;
    text-align: left;
}

.product-archive-page.lang-en .shop-filters {
    direction: ltr;
    text-align: left;
}

.product-archive-page.lang-en .filters-title {
    text-align: left;
}

.product-archive-page.lang-en .filter-header {
    direction: ltr;
}

.product-archive-page.lang-en .filter-label {
    text-align: left;
}

.product-archive-page.lang-en .filter-arrow {
    margin-right: 0;
    margin-left: 10px;
}

.product-archive-page.lang-en .price-filter,
.product-archive-page.lang-en .price-inputs {
    direction: ltr;
}

.product-archive-page.lang-en .price-inputs input {
    text-align: left;
}

.product-archive-page.lang-en .filter-checkbox {
    direction: ltr;
    text-align: left;
}



/* Product cards in archive - LTR */
.product-archive-page.lang-en .product-item,
.product-archive-page.lang-en .product-title,
.product-archive-page.lang-en .product-title a,
.product-archive-page.lang-en .product-price-wrapper,
.product-archive-page.lang-en .product-info {
    text-align: left;
    direction: ltr;
}

.product-archive-page.lang-en .product-discount-badge {
    direction: ltr;
}



/* === Single Product page: full LTR + swap columns (image left, info middle, price right) === */
.single-product-page.lang-en .single-product-wrapper,
.single-product-page.lang-en .single-product-content,
.single-product-page.lang-en .breadcrumbs-search-wrapper {
    direction: ltr;
    text-align: left;
}

.single-product-page.lang-en .shop-breadcrumbs {
    direction: ltr;
    text-align: left;
    justify-content: flex-start;
}

.single-product-page.lang-en .product-search-box .search-field {
    direction: ltr;
    text-align: left;
}

.single-product-page.lang-en .product-search-box .search-submit {
    left: auto;
    right: 10px;
}

/* Swap columns: image left (1), middle (2), price/cart right (3) */
.single-product-page.lang-en .single-product-grid {
    direction: ltr;
    grid-template-columns: 25% 47% 25%;
}

.single-product-page.lang-en .product-left-column {
    order: 3;
    direction: ltr;
    text-align: left;
}

.single-product-page.lang-en .product-middle-column {
    order: 2;
    direction: ltr;
    text-align: left;
}

.single-product-page.lang-en .product-right-column {
    order: 1;
    direction: ltr;
}

.single-product-page.lang-en .product-title,
.single-product-page.lang-en .product-specifications,
.single-product-page.lang-en .specifications-title,
.single-product-page.lang-en .spec-item,
.single-product-page.lang-en .view-all-specs {
    text-align: left;
}

.single-product-page.lang-en .product-price-section,
.single-product-page.lang-en .product-add-to-cart,
.single-product-page.lang-en .product-warranty,
.single-product-page.lang-en .product-features-list {
    direction: ltr;
    text-align: left;
}

.single-product-page.lang-en .product-features-list ul,
.single-product-page.lang-en .product-features-list ul li {
    direction: ltr;
    text-align: left;
}

.single-product-page.lang-en .product-features-list ul li {
    padding-right: 0;
    padding-left: 20px;
}

.single-product-page.lang-en .product-features-list ul li::before {
    right: auto;
    left: 0;
}


.single-product-page.lang-en .related-products-title {
    text-align: left;
}

.single-product-page.lang-en .product-bottom-grid {
    direction: ltr;
}

.single-product-page.lang-en .product-bottom-left,
.single-product-page.lang-en .product-bottom-right {
    direction: ltr;
    text-align: left;
}

.single-product-page.lang-en .product-description-content,
.single-product-page.lang-en .product-description-content p,
.single-product-page.lang-en .product-description-content h2,
.single-product-page.lang-en .product-description-content h3 {
    text-align: left;
}



.single-product-page.lang-en .reviews-title,
.single-product-page.lang-en .reviews-cta,
.single-product-page.lang-en .reviews-wrapper {
    direction: ltr;
    text-align: left;
}

.single-product-page.lang-en .product-sticky-section {
    direction: ltr;
    text-align: left;
}

/* Mobile filter drawer & sticky footer - LTR */
.product-archive-page.lang-en .shop-mobile-sticky-footer,
.product-archive-page.lang-en .mobile-sticky-content {
    direction: ltr;
}

.product-archive-page.lang-en .mobile-filter-drawer,
.product-archive-page.lang-en .mobile-filter-header,
.product-archive-page.lang-en .mobile-filter-content {
    direction: ltr;
    text-align: left;
}

.product-archive-page.lang-en .mobile-filter-header h3 {
    text-align: left;
}

.product-archive-page.lang-en .mobile-filter-btn {
    direction: ltr;
}

/* === Header: full LTR (logo left, nav center, actions right) === */
.site-header,
.site-header .container {
    direction: ltr;
    text-align: left;
}

.header-content {
    flex-direction: row;
    direction: ltr;
}

.site-branding {
    order: 1;
    direction: ltr;
}

.site-branding .logo-icon {
    justify-content: flex-start;
}

.site-branding-footer {
    flex-direction: row;
}

/* Main navigation: left to right, aligned to far right on desktop */
.main-navigation {
    order: 2;
    direction: ltr;
    text-align: left;
}

@media (min-width: 769px) {
    .header-content {
        justify-content: flex-start;
        gap: 24px;
    }

    .main-navigation {
        flex: 1 1 auto;
        justify-content: flex-end;
        margin-left: auto;
        margin-right: 0;
        max-width: none;
    }

    .main-navigation .nav-menu,
    .main-navigation ul {
        justify-content: flex-end;
        margin-left: auto;
    }

    /* No contact block or empty actions column — nav sits at the right edge */
    .header-actions {
        display: none !important;
    }
}

.main-navigation .nav-menu,
.main-navigation ul {
    direction: ltr;
    flex-direction: row;
    text-align: left;
}

.main-navigation a {
    text-align: left;
}

.main-navigation .menu-item-has-children > a {
    padding-left: 0;
    padding-right: 20px;
}

.main-navigation .menu-item-has-children > a::after {
    left: auto;
    right: 0;
}

.main-navigation .sub-menu {
    right: auto;
    left: 0;
    direction: ltr;
    text-align: left;
}

.main-navigation .sub-menu a {
    padding: 10px 20px;
    text-align: left;
}

.main-navigation .sub-menu a:hover {
    padding-right: 20px;
    padding-left: 25px;
}

.main-navigation .sub-menu a::before {
    right: auto;
    left: 0;
    border-radius: 3px 0 0 3px;
}

.main-navigation .sub-menu a:hover::before {
    border-radius: 3px 0 0 3px;
}

/* Header actions: row order (contact, lang, icons) - lang has order -1 so leftmost */
.header-actions {
    order: 3;
    flex-direction: row;
    direction: ltr;
}

.contact-info {
    margin-left: 10px;
    margin-right: 10px;
    direction: ltr;
    text-align: left;
}

.contact-link {
    flex-direction: row;
    direction: ltr;
    text-align: left;
}

.contact-text-wrapper {
    direction: ltr;
    text-align: left;
}

.contact-text {
    text-align: left;
}

.contact-phone {
    text-align: left;
}

/* Language switcher: far right (after profile), dropdown menu from right */
.header-lang-switcher.header-lang-dropdown {
    margin-right: 0;
    margin-left: 12px;
    order: 1;
}

.header-lang-dropdown .lang-dropdown-menu {
    right: 0;
    left: auto;
}

/* Action icons: left to right */
.action-icons {
    flex-direction: row;
    direction: ltr;
}

/* === Footer: full LTR === */
.site-footer {
    direction: ltr;
    text-align: left;
}

/* Footer top bar (consultation) */
.footer-top-bar,
.footer-top-bar .container {
    direction: ltr;
    text-align: left;
}

.top-bar-content.top-bar-desktop {
    flex-direction: row;
}

.top-bar-right {
    flex-direction: row-reverse;
    text-align: left;
}

.top-bar-left {
    align-items: flex-end;
    text-align: right;
}

.top-bar-phone {
    text-align: right;
}

.top-bar-hours {
    text-align: right;
}



.footer-top-bar-mobile-link .mobile-consultation-btn svg {
    transform: rotate(180deg);
}

/* Footer main */
.footer-main,
.footer-main .container {
    direction: ltr;
    text-align: left;
}

/* Footer grid: flip columns so Head Office (Contact) comes to left */
.footer-columns {
    direction: rtl;
}

/* Keep nav block LTR so row-reverse matches Persian; contact column unaffected. */
.footer-nav-columns-group {
    direction: ltr;
    flex-direction: row;
}

.footer-column {
    direction: ltr;
    align-items: flex-start;
    text-align: left;
}

.footer-title,
.quick-access-section-title {
    text-align: left;
    direction: ltr;
}

.footer-links {
    direction: ltr;
    text-align: left;
    align-items: flex-start;
    height: 150px;
    font-size: 14px;
}

.footer-links-rows .footer-links {
    height: auto;
}

.footer-links a {
    text-align: left;
}

/* Footer contact column */
.footer-contact .contact-details {
    direction: ltr;
    text-align: left;
    align-items: flex-start;
}

.site-footer .contact-address,
.footer-contact .contact-address {
    direction: ltr;
    text-align: left;
}

.site-footer .contact-address strong,
.footer-contact .contact-address strong {
    margin-left: 0;
    margin-right: 5px;
}

.site-footer .contact-email,
.footer-contact .contact-email {
    direction: ltr;
    text-align: left;
}

.site-footer .contact-email a,
.footer-contact .contact-email a {
    direction: ltr;
    text-align: left;
}

.site-footer .social-icons,
.footer-contact .social-icons {
    flex-direction: row;
    direction: ltr;
}

/* Footer mobile — LTR: centered blocks (logo through email) */
.footer-mobile {
    direction: ltr;
    text-align: center;
    align-items: center;
}

.footer-mobile-contact .contact-address {
    text-align: center;
}

.footer-mobile-contact .contact-email {
    direction: ltr;
    text-align: center;
}

.footer-mobile-contact .contact-email a {
    justify-content: center;
}

.footer-mobile-quick-access {
    direction: ltr;
    text-align: left;
}

.quick-access-header {
    direction: ltr;
    text-align: left;
}

.quick-access-menu {
    direction: ltr;
    text-align: left;
}

.quick-access-links {
    text-align: left;
    direction: ltr;
}

.quick-access-section {
    text-align: left;
    direction: ltr;
}

/* Copyright bar */
.footer-copyright,
.footer-copyright .container {
    direction: ltr;
    text-align: center;
}

.footer-copyright .copyright-content {
    justify-content: center;
    direction: ltr;
    text-align: center;
}

.copyright-text {
    text-align: center;
    width: 100%;
}

/* === Hero section: swap two items in English (image left, text right) === */
.hero-section .hero-content {
    direction: ltr;
}

.hero-content .hero-text {
    order: 1;
    grid-column: 1;
    text-align: left;
}

.hero-content .hero-image {
    display: grid;
    justify-content: end;
    order: 2;
    grid-column: 2;
}

.hero-title,
.hero-subtitle,
.hero-description {
    text-align: left;
}



.hero-buttons {
    justify-content: flex-start;
}
.hero-buttons--single{
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .hero-buttons.hero-buttons--single {
        justify-content: center;
    }
}

@media (min-width: 769px) {
    .hero-buttons--single {
        justify-content: flex-start;
    }
}

/* Flip hero images in LTR so layout looks correct */
.hero-section .hero-image img,
.hero-section .hero-images-grid img,
.hero-section .hero-grid-item img {
    transform: scaleX(-1);
}

.hero-images-grid .hero-grid-item img {
    transform: scaleX(-1);
}

/* Keep flip on hover (override default hover that would replace transform) */
.hero-section .hero-grid-item:hover img,
.hero-images-grid .hero-grid-item:hover img {
    transform: scaleX(-1) scale(1.05);
}

.hero-section .hero-chart-overlay,
.hero-section canvas {
    transform: scaleX(-1);
}
.hero-chart-overlay{
    left: -50px;
}

.hero-section .hero-chart-overlay canvas#hero-energy-chart {
    direction: ltr; /* Ensure LTR dom context */
    transform: scaleX(-1) !important;
}

/* UPS / section heroes: reverse layout + flip images */
.ups-hero {
    flex-direction: row;
}

.ups-hero-content {
    order: 2;
    text-align: left;
}

.ups-hero-image {
    order: 1;
}

.ups-hero-image img,
.section-content img,
.content-block img {
    transform: scaleX(-1);
}

/* === Solar package section: full LTR, overlay left-to-right === */
.solar-package-section,
.solar-package-section .container {
    direction: ltr;
    text-align: left;
}

.charger-model-text{
    text-align: left;
    direction: ltr;
}

/* EV Charger Model X: View button arrow points outward (right) in LTR */
.charger-model-overlay .btn-view .btn-view-arrow {
    display: inline-block;
    transform: scaleX(-1);
}
.solar-main-title,
.solar-subtitle {
    direction: ltr;
}

.solar-image-container,
.solar-main-image {
    direction: ltr;
}

.solar-main-image img {
    transform: scaleX(-1);
}

.charger-model-details img {
    transform: scaleX(-1);
}

/* charger-model-bottom-content: reverse items (description left, stats right) */
.charger-model-bottom-content {
    direction: rtl;
}

.charger-model-bottom-content .charger-model-description {
    direction: ltr;
    text-align: left;
}

.charger-model-bottom-content .charger-model-description p {
    text-align: left;
    direction: ltr;
}

.charger-model-bottom-content .charger-stats-wrapper,
.charger-model-bottom-content .charger-stats,
.charger-model-bottom-content .stat-box,
.charger-model-bottom-content .stat-label {
    direction: ltr;
    text-align: center;
}

/* === EV charging section: icon before text in LTR === */
.ev-charging-section .ev-feature-icon {
    right: auto;
    left: 20px;
}

.ev-charging-section .ev-feature-title {
    padding-right: 0;
    padding-left: 50px;
}

.ev-charging-mobile-section .ev-mobile-feature-box {
    flex-direction: column;
}

.ev-charging-mobile-section .ev-mobile-feature-icon {
    order: 1;
}

.ev-charging-mobile-section .ev-mobile-feature-title {
    order: 2;
}

.ev-charging-mobile-section .ev-mobile-feature-description {
    order: 3;
}

/* Overlay box: in LTR put on the left instead of right */
.solar-overlay-box {
    right: auto;
    left: 105px;
    text-align: left;
    direction: ltr;
    height: 410px;
    bottom: -165px;
}

.overlay-text {
    text-align: left;
    direction: ltr;
}

.solar-equalizer {
    direction: ltr;
}

.solar-description {
    text-align: left;
    direction: ltr;
    padding-left: 300px;
    padding-right: 0;
}

.solar-description p {
    text-align: left;
    direction: ltr;
}

/* === Lithium batteries section: swap left/right === */
.lithium-batteries-section,
.lithium-batteries-section .container {
    direction: ltr;
    text-align: left;
}

.lithium-batteries-section .container::before {
    left: auto;
    right: 0;
    border-radius: 0 0 0 25px;
    transform: scaleX(-1);
}

.lithium-batteries-section .batteries-content {
    margin: 0 auto 0 0;
    margin-left: 130px;
    direction: ltr;
}

.lithium-batteries-section .batteries-content .batteries-image {
    order: 1;
}

.lithium-batteries-section .batteries-content .batteries-text {
    order: 2;
}

.lithium-batteries-section .batteries-text {
    text-align: left;
}

.lithium-batteries-section .batteries-title,
.lithium-batteries-section .batteries-description {
    text-align: left;
}

.lithium-batteries-section .product-cards-grid {
    left: auto;
    right: 0;
}

/* === UPS systems section: swap left/right === */
.ups-systems-section,
.ups-systems-section .container {
    text-align: center;
}

.ups-systems-section .container::before {
    right: auto;
    left: 0;
    border-radius: 0 25px 0 0;
    transform: scaleX(-1);
}

.ups-systems-section .ups-hero {
    flex-direction: row-reverse;
}

.ups-systems-section .ups-hero-content {
    order: 2;
    text-align: left;
}

.ups-systems-section .ups-hero-image {
    order: 1;
    border-radius: 0 65px 0 65px;
}

.ups-systems-section .ups-hero-image img {
    transform: scaleX(-1);
}

.ups-systems-section .ups-main-title,
.ups-systems-section .ups-main-description {
    text-align: left;
    direction: ltr;
}

.ups-systems-section .ups-types-grid {
    direction: ltr;
    text-align: left;
}

.ups-systems-section .ups-type-card,
.ups-systems-section .ups-type-title,
.ups-systems-section .ups-type-description {
    text-align: left;
    direction: ltr;
}

/* === Services section === */
.services-section {
    direction: ltr;
}

.service-card .service-content-wrapper {
    direction: ltr;
    text-align: left;
}

.service-title,
.service-description {
    text-align: left;
    direction: ltr;
}

@media (max-width: 768px) {
    .services-section .services-grid {
        margin-left: auto;
        margin-right: auto;
    }

    .services-section .service-card .service-content-wrapper,
    .services-section .service-icon-wrapper,
    .services-section .service-text-wrapper,
    .services-section .service-title,
    .services-section .service-description {
        direction: ltr;
        text-align: center;
        align-items: center;
        unicode-bidi: plaintext;
    }
}

/* === General content sections (ESS, UPS, Solar, etc.) === */
.hero-images-grid,
.section-content,
.section-text,
.content-block h2,
.content-block h3,
.content-block p {
    direction: ltr;
    text-align: left;
}

/* === WooCommerce / Shop === */
.woocommerce ul.products,
.woocommerce-page ul.products,
.main-shop-page .products,
.product-archive-page .products {
    direction: ltr;
}

.woocommerce .product .woocommerce-loop-product__title,
.woocommerce .product .price {
    text-align: left;
}

/* === Cart & Checkout === */
.woocommerce-cart table.cart,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-additional-fields {
    direction: ltr;
    text-align: left;
}

/* === Blog & Archive === */
.blog-entry,
.entry-header,
.entry-content,
.post-content {
    direction: ltr;
    text-align: left;
}

.entry-title {
    text-align: left;
}

/* Blog section: rotate View More & Read More icons for LTR (point right) */
.blog-view-more svg,
.blog-read-more svg,
.blog-mobile-all-btn svg {
    transform: scaleX(-1);
}

/* Blog archive page (/blog) — full LTR layout */
.blog-archive-page,
.blog-archive-page .container {
    direction: ltr;
    text-align: left;
}

.blog-archive-header {
    direction: ltr;
    grid-template-columns: 1fr auto;
    gap: 24px;
}

.blog-breadcrumbs {
    justify-content: flex-start;
    text-align: left;
}

.blog-search-box {
    justify-content: flex-end;
}

.blog-search-field {
    direction: ltr;
    text-align: left;
    padding: 12px 44px 12px 15px;
}

.blog-search-submit {
    left: auto;
    right: 10px;
}

.blog-page-title-wrapper {
    text-align: left;
}

.blog-main-section {
    direction: ltr;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

.blog-featured-post {
    order: 1;
}

.featured-post-overlay,
.featured-post-title {
    text-align: left;
}

.blog-categories-sidebar {
    order: 2;
}

.categories-title {
    text-align: left;
}

.category-link {
    flex-direction: row;
    text-align: left;
}

.category-name {
    text-align: left;
}

.category-icon-box {
    order: 0;
}

.category-count-badge {
    order: 2;
}

.instagram-cta-content {
    direction: ltr;
    flex-direction: row;
}

.instagram-cta-text {
    text-align: left;
    order: 1;
}

.instagram-cta-icon-wrapper {
    order: 0;
}

.instagram-cta-arrow {
    order: 2;
    transform: none;
}

.blog-posts-grid-wrapper,
.blog-posts-grid,
.blog-post-card,
.blog-post-image,
.blog-post-content,
.blog-post-category,
.blog-post-title,
.blog-post-title a,
.blog-post-excerpt,
.blog-post-read-more {
    direction: ltr;
    text-align: left;
    unicode-bidi: embed;
}

.blog-posts-grid {
    direction: ltr;
}

.blog-post-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.blog-post-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.blog-post-category {
    align-self: flex-start;
}

.blog-post-title,
.blog-post-excerpt {
    width: 100%;
    text-align: left;
}

.blog-post-read-more {
    display: inline-flex;
    flex-direction: row;
    justify-content: flex-start;
    align-self: flex-start;
}

.blog-pagination {
    direction: ltr;
}

.blog-pagination .page-numbers {
    direction: ltr;
    flex-direction: row;
}

/* Single blog post */
.single-blog-page,
.single-blog-page .container,
.single-blog-wrapper {
    direction: ltr;
    text-align: left;
}

.single-blog-breadcrumbs .breadcrumbs-content {
    direction: ltr;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
}

.single-post-meta-row {
    direction: ltr;
    flex-direction: row;
    text-align: left;
}

.meta-category {
    direction: ltr;
    text-align: left;
}

.meta-category .meta-label,
.meta-category .meta-category-name {
    display: inline;
}

.single-post-title,
.single-post-content,
.toc-box,
.toc-title,
.mid-cta-text,
.related-posts-title,
.related-post-content,
.single-post-comments,
.comments-area {
    direction: ltr;
    text-align: left;
}

.single-post-mid-cta .mid-cta-content {
    direction: ltr;
    text-align: left;
}

.single-post-social-share .social-share-grid,
.social-card,
.social-content {
    direction: ltr;
    text-align: left;
}

.single-post-social-share .social-card {
    direction: ltr;
    flex-direction: row;
}

.comments-title,
.comment-reply-title {
    text-align: left;
}

.related-posts-grid {
    direction: ltr;
}

.comment-form-fields-wrapper,
.comment-form-fields,
.comment-form-comment,
.comment-form-author,
.comment-form-email {
    direction: ltr;
    text-align: left;
}

.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input {
    direction: ltr;
    text-align: left;
}

/* === Contact page & general contact blocks === */
.contact-us .contact-details,
.contact-us .contact-form {
    direction: ltr;
    text-align: left;
}

.contact-address,
.contact-details .contact-address {
    direction: ltr;
    text-align: left;
}

/* === Mobile menu drawer === */
.mobile-menu-drawer .drawer-content,
.mobile-nav-menu {
    direction: ltr;
    text-align: left;
}

.mobile-nav-menu a {
    text-align: left;
}

/* Header LTR on mobile (override row-reverse from style.css) */
@media (max-width: 768px) {
    .product-archive-page.lang-en .shop-content-wrapper{
        grid-template-columns: unset;
    }
    .single-product-page.lang-en .single-product-grid{
        grid-template-columns: unset;
    }
    .site-header .header-content {
        direction: ltr;
        flex-direction: row;
    }
    .hero-buttons {
        justify-content: center;
    }

    .hero-buttons.hero-buttons--single .btn {
        width: 100%;
        max-width: 100%;
    }

    .header-actions {
        flex-direction: row;
        direction: ltr;
    }

    /* === Hero section - mobile LTR fixes === */
    .hero-section .hero-content {
        direction: ltr;
        text-align: center;
    }

    .hero-title,
    .hero-subtitle {
        text-align: center;
        width: 100%;
    }
  
    .hero-title,
    .hero-subtitle,
    .hero-description {
        text-align: center;
    }
    .lithium-batteries-section .batteries-title,
    .lithium-batteries-section .batteries-description {
        text-align: center;
    }
   
    .single-product-page.lang-en .product-price-section, .single-product-page.lang-en .product-add-to-cart, .single-product-page.lang-en .product-warranty, .single-product-page.lang-en .product-features-list{
        text-align: left;
        direction: rtl;
    }
    .hero-content .hero-images-grid {
        direction: ltr;
    }

    /* === UPS systems section - mobile LTR fixes === */
    .ups-systems-section,
    .ups-systems-section .container {
        direction: ltr;
        text-align: left;
    }
    .ups-systems-section .ups-hero-image{
        border-radius: 12px;
    }
    .solar-description{
        padding-left: 0;
        padding-right: 0;
    }
    .ups-systems-section .ups-hero {
        flex-direction: column-reverse;
        direction: ltr;
    }
    .ups-systems-section .ups-hero-content {
        text-align: center;
    }
    .ups-systems-section .ups-main-title,
    .ups-systems-section .ups-main-description {
        text-align: center;
        direction: ltr;
    }
    .ups-systems-section .ups-types-grid {
        direction: ltr;
        text-align: left;
    }
    .ups-systems-section .ups-type-card {
        flex-direction: row;
        text-align: left;
        direction: ltr;
    }
    .ups-systems-section .ups-type-title,
    .ups-systems-section .ups-type-description {
        text-align: left;
        direction: ltr;
    }

    /* === Solar package section - mobile LTR fixes === */
    .solar-package-section,
    .solar-package-section .container {
        direction: ltr;
        text-align: left;
    }
    .solar-package-section .solar-header {
        text-align: left;
    }
    .solar-package-section .solar-main-title,
    .solar-package-section .solar-subtitle {
        text-align: center;
    }

    
    .solar-package-section .solar-description,
    .solar-package-section .solar-description p {
        text-align: center;
        direction: ltr;
    }
    .solar-package-section .solar-image-container {
        direction: ltr;
    }

    /* === About page - about-section & mission-section mobile LTR fixes === */
    .about-section {
        overflow-x: hidden;
    }
    .about-section .about-content-wrapper,
    .about-section .about-text-section,
    .about-section .about-image-section {
        direction: ltr;
        text-align: left;
    }
    .about-section .about-text,
    .about-section .about-intro-text,
    .about-section .about-intro-text p,
    .about-section .vision-title,
    .about-section .vision-description,
    .about-section .vision-description p {
        text-align: left;
        direction: ltr;
    }
    .about-section .about-cta-buttons,
    .about-section .about-action-buttons {
        justify-content: flex-start;
    }
    .about-section .about-statistics {
        direction: ltr;
    }

    .mission-section {
        overflow-x: hidden;
    }
    .mission-section .mission-content-wrapper,
    .mission-section .mission-text-section,
    .mission-section .mission-image-section {
        direction: ltr;
        text-align: left;
    }
    .mission-section .mission-title,
    .mission-section .mission-description,
    .mission-section .mission-description p {
        text-align: left;
        direction: ltr;
    }
    .mission-section .mission-feature-item {
        flex-direction: row;
        direction: ltr;
        text-align: left;
    }
    .mission-section .mission-feature-item:hover {
        transform: translateX(5px);
    }
    .mission-section .mission-feature-text {
        text-align: left;
    }

    .lang-en .about-services-section .about-services-grid {
        direction: ltr;
    }

    .lang-en .about-services-section .about-service-title {
        font-size: 15px;
    }

    .lang-en .about-services-section .about-service-description {
        direction: ltr;
        unicode-bidi: plaintext;
        text-align: center;
    }

    /* Footer mobile LTR */
    .footer-mobile {
        align-items: center;
        text-align: center;
    }

    .footer-mobile-contact .contact-address,
    .footer-mobile-contact .contact-email,
    .footer-mobile-contact .contact-email a {
        text-align: center;
    }

    .footer-mobile-contact .social-icons {
        justify-content: center;
    }

    .footer-copyright .copyright-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .copyright-text {
        width: 100%;
        text-align: center;
    }

    .top-bar-mobile {
        justify-content: center;
        direction: ltr;
    }

    .footer-top-bar-mobile-link .mobile-consultation-btn {
        flex-direction: row;
        margin-left: auto;
        margin-right: auto;
    }
}
