﻿/* TG Store Footer RTL Fix */
.site__footer,
.site-footer {
    direction: rtl;
}

.site-footer__widgets .row {
    direction: ltr;
}

.site-footer__widget {
    direction: rtl;
    text-align: right;
}

.footer-contacts__contacts {
    text-align: right;
}

    .footer-contacts__contacts dl {
        direction: rtl;
    }

    .footer-contacts__contacts dt,
    .footer-contacts__contacts dd {
        text-align: right;
    }

.footer-links__list {
    text-align: right;
}

.footer-newsletter {
    text-align: right;
}

.footer-newsletter__form {
    direction: rtl;
}

.footer-newsletter__form-input {
    text-align: right;
}

.social-links__list {
    justify-content: flex-start;
}

.site-footer__bottom-row {
    direction: rtl;
}

/* קומפקטי יותר לפוטר */

.site-footer__widgets {
    padding: 35px 0;
}

.site-footer__widget {
    margin-bottom: 15px;
}

.footer-contacts__text,
.footer-newsletter__text {
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-contacts__contacts dl {
    margin-bottom: 10px;
}

.footer-contacts__contacts dt {
    margin-bottom: 2px;
}

.footer-links__list li {
    margin-bottom: 6px;
}

.footer-newsletter__social-links {
    margin-top: 15px;
}

.site-footer__bottom {
    padding: 12px 0;
}

/* צמצום אזור יצירת קשר */

.footer-contacts__contacts dl {
    margin: 0 0 12px !important;
    padding: 0 !important;
}

.footer-contacts__contacts dt {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2;
}

.footer-contacts__contacts dd {
    margin: 2px 0 0 !important;
    padding: 0 !important;
    line-height: 1.2;
}

/* Footer contact layout compact */
.footer-contacts__contacts {
    display: block !important;
}

    .footer-contacts__contacts dl {
        display: block !important;
        margin: 0 0 8px !important;
        padding: 0 !important;
    }

    .footer-contacts__contacts dt,
    .footer-contacts__contacts dd {
        display: inline !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.35 !important;
    }

        .footer-contacts__contacts dt::after {
            content: ": ";
        }

    .footer-contacts__contacts dl::after {
        content: "";
        display: block;
    }


/* TG Brands Strip */
.tg-brands-block {
    padding: 15px 0 35px;
    background: #f5f5f5;
}

.tg-brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.tg-brand-card {
    height: 180px;
    background: #fff;
    border: 1px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all .25s ease;
}

    .tg-brand-card img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 5px;
        transition: transform .25s ease;
    }

    .tg-brand-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 28px rgba(0,0,0,.10);
        border-color: #0d6efd;
    }

        .tg-brand-card:hover img {
            transform: scale(1.05);
        }

@media (max-width: 991px) {
    .tg-brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .tg-brands-grid {
        grid-template-columns: 1fr;
    }
}



/* Banner Slider */

.tg-banner-slider {
    padding: 20px 0 35px;
}

.tg-banner-carousel img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

/* TG Banner Slider */
.tg-banner-slider {
    padding: 20px 0 35px;
    background: #f5f5f5;
}

.tg-banner-carousel,
.tg-banner-carousel .owl-stage-outer,
.tg-banner-carousel .owl-stage,
.tg-banner-carousel .owl-item,
.tg-banner-slide {
    min-height: 320px;
}

    .tg-banner-slide img {
        width: 100%;
        height: 320px;
        object-fit: contain;
        display: block;
    }


/* TG RedParts Home Slider */
.tg-home-slider {
    padding: 20px 0 35px;
    background: #f5f5f5;
}

.tg-redparts-slider {
    position: relative;
}

.tg-redparts-slide {
    height: 420px;
    overflow: hidden;
    border-radius: 8px;
    background: #111;
}

    .tg-redparts-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* חיצים */
.tg-redparts-slider .owl-nav button.owl-prev,
.tg-redparts-slider .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50% !important;
    background: rgba(0,0,0,.55) !important;
    color: #fff !important;
    font-size: 34px !important;
    line-height: 40px !important;
}

.tg-redparts-slider .owl-nav button.owl-prev {
    right: 18px;
}

.tg-redparts-slider .owl-nav button.owl-next {
    left: 18px;
}

.tg-redparts-slider .owl-nav button:hover {
    background: rgba(0,0,0,.8) !important;
}

/* נקודות */
.tg-redparts-slider .owl-dots {
    text-align: center;
    margin-top: 14px;
}

.tg-redparts-slider .owl-dot span {
    width: 11px;
    height: 11px;
    margin: 4px;
    display: block;
    border-radius: 50%;
    background: #c8c8c8;
}

.tg-redparts-slider .owl-dot.active span {
    background: #0d6efd;
}

@media (max-width: 991px) {
    .tg-redparts-slide {
        height: 300px;
    }
}

@media (max-width: 575px) {
    .tg-redparts-slide {
        height: 220px;
    }
}


.tg-home-slider {
    padding: 20px 0 35px;
    background: #f5f5f5;
}


/* ==========================
   TG About Page
========================== */

.tg-about-page {
    direction: rtl;
}

    .tg-about-page .about__card {
        text-align: right;
    }

    .tg-about-page .about__card-title {
        text-align: right;
    }

    .tg-about-page .about__card-text {
        text-align: right;
        line-height: 2;
    }

    .tg-about-page .about__indicators {
        direction: rtl;
    }

.tg-about-content {
    direction: rtl;
}

    .tg-about-content h2 {
        margin-bottom: 20px;
        font-weight: 700;
    }

    .tg-about-content p {
        line-height: 2;
        color: #666;
    }

.tg-about-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

    .tg-about-list li {
        position: relative;
        padding-right: 30px;
        margin-bottom: 18px;
        line-height: 1.9;
    }

        .tg-about-list li::before {
            content: "✔";
            position: absolute;
            right: 0;
            color: #28a745;
            font-weight: bold;
        }


/* TG About Modern */

.tg-about-modern {
    direction: rtl;
    text-align: right;
    background: #fff;
}

.tg-about-hero {
    position: relative;
    min-height: 430px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.tg-about-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
}

.tg-about-hero__content {
    position: relative;
    color: #fff;
    max-width: 720px;
    padding: 80px 0;
}

    .tg-about-hero__content h1 {
        font-size: 48px;
        font-weight: 800;
        margin-bottom: 18px;
    }

    .tg-about-hero__content p {
        font-size: 22px;
        line-height: 1.8;
        margin-bottom: 30px;
    }

.tg-about-hero__buttons .btn {
    margin-left: 12px;
    min-width: 150px;
}

.tg-about-section {
    padding: 70px 0;
}

.tg-about-light {
    background: #f5f7fa;
}

.tg-about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,.15);
}

.tg-about-text h2,
.tg-about-light h2,
.tg-about-brands h2,
.tg-about-cta h2 {
    font-weight: 800;
    margin-bottom: 22px;
}

.tg-about-text p {
    font-size: 17px;
    line-height: 2;
    color: #555;
}

.tg-about-stats {
    padding: 40px 0;
    background: #1f2937;
    color: #fff;
}

.tg-stat-card {
    padding: 25px 10px;
}

.tg-stat-card__number {
    font-size: 42px;
    font-weight: 800;
    color: #2f80ed;
}

.tg-stat-card__text {
    font-size: 16px;
    color: #d1d5db;
}

.tg-feature-card {
    height: 100%;
    background: #fff;
    padding: 32px 26px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.07);
    transition: all .25s ease;
}

    .tg-feature-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 34px rgba(0,0,0,.12);
    }

.tg-feature-card__icon {
    font-size: 42px;
    margin-bottom: 16px;
}

.tg-feature-card h4 {
    font-weight: 700;
    margin-bottom: 12px;
}

.tg-feature-card p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.tg-about-brands {
    padding: 60px 0;
}

.tg-about-brands__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

    .tg-about-brands__grid img {
        width: 100%;
        height: 145px;
        object-fit: contain;
        background: #fff;
        border: 1px solid #e5e5e5;
        padding: 18px;
        border-radius: 8px;
    }

.tg-about-cta {
    padding: 0 0 70px;
}

.tg-about-cta__box {
    background: linear-gradient(135deg, #0d6efd, #0056c7);
    color: #fff;
    text-align: center;
    padding: 55px 25px;
    border-radius: 14px;
}

    .tg-about-cta__box p {
        font-size: 18px;
        margin-bottom: 25px;
    }

@media (max-width: 991px) {
    .tg-about-hero__content h1 {
        font-size: 36px;
    }

    .tg-about-brands__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================
   TG About Fonts
========================== */

.tg-about-modern,
.tg-about-modern h1,
.tg-about-modern h2,
.tg-about-modern h3,
.tg-about-modern h4,
.tg-about-modern p,
.tg-about-modern li,
.tg-about-modern a,
.tg-about-modern .btn {
    font-family: Tahoma, Arial, sans-serif !important;
}

    .tg-about-modern h1 {
        font-weight: bold;
    }

    .tg-about-modern h2 {
        font-weight: bold;
    }

    .tg-about-modern p,
    .tg-about-modern li {
        font-size: 16px;
        line-height: 2;
    }

.tg-mobile-menu__links a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tg-mobile-menu__links i {
    width: 22px;
    text-align: center;
    color: #0d6efd;
    font-size: 18px;
}

.tg-mobile-menu__links span {
    flex: 1;
}

.search__input::placeholder {
    color: #000 !important;
    opacity: 1;
}

.search__input {
    text-align: center !important;
    padding-left: 50px !important;
    padding-right: 50px !important;
}

    .search__input::placeholder {
        text-align: center;
        color: #000 !important;
        opacity: 1;
    }

.header__search .search__input {
    text-align: center !important;
    padding-left: 0px !important;
    padding-right: 70px !important;
}

    .header__search .search__input::placeholder {
        color: #000 !important;
        opacity: 1;
    }





.tg-motors-block .container {
    max-width: 1400px;
}

.tg-motors-card {
    width: 100%;
}

.tg-motors-hero {
    display: block;
    width: 100%;
}

    .tg-motors-hero img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
    }