.site-footer,
.footer-main-section {
    /* background: #05052f; */
    /* color: var(--footer-text-color, var(--white-color)); */
}

.footer-main-section {
    padding: 46px 0 34px;
    direction: rtl;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr repeat(4, minmax(145px, .72fr)) 1fr;
    gap: 34px;
    align-items: start;
}

.footer-title {
    margin: 0 0 14px;
    padding-bottom: 8px;
    /* color: var(--white-color); */
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.footer-about-logo {
    display: block;
    max-width: 125px;
    max-height: 82px;
    object-fit: contain;
    margin-bottom: 14px;
}

.footer-about-text,
.footer-link,
.footer-location-link,
.footer-copyrights,
.vat-crn-sections,
.vat-crn-sections a {
    /* color: rgba(255,255,255,.74); */
}

.footer-about-text {
    max-width: 420px;
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-link,
.footer-link-bullet {
    display: inline-flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 0;
    width: fit-content;
    color: rgba(255,255,255,.74);
    font-size: 13px;
    line-height: 1.6;
    opacity: .9;
    text-decoration: none;
    transition: transform .2s ease, color .2s ease, opacity .2s ease;
}

.footer-link.footer-link-bullet::before {
    content: none;
}

.footer-link.footer-link-bullet::after {
    content: "<<";
    color: inherit;
    font-size: 13px;
    line-height: 1;
    margin-inline-start: 6px;
    transition: .3s ease;
    direction: ltr;
}

.ltr  .footer-link.footer-link-bullet::after {
    direction: rtl;

}

.footer-link:hover {
    color: var(--theme-primary-color);
}

.footer-link.footer-link-bullet:hover::after {
    transform: translateX(-3px);
}

.footer-extra-col,
.footer-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-location-link {
    display: flex;
    gap: 8px;
    line-height: 1.8;
    font-size: 13px;
}

.footer-location-link:hover {
    color: var(--theme-primary-color);
    text-decoration: none;
}

.footer-social-icons {
    gap: 10px;
}

.footer-social-icons a {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.footer-social-icons a:hover {
    color: var(--theme-primary-color);
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.55);
    transform: translateY(-2px);
}

.footer-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 58px);
    gap: 8px;
}

.footer-gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    aspect-ratio: 1 / 1;
}

.footer-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.footer-gallery-item:hover img {
    transform: scale(1.06);
}

.footer-bottom-section {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 18px 0;
    direction: rtl;
}

.footer-bottom-section,
.footer-icons-area,
.footer-copyrights-vat-certificate {
  background-color: var(--primary-color) !important;
}

.footer-bottom-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
}

.footer-copyrights-vat-certificate,
.footer-icons-area {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-copyrights a p,
.footer-copyrights p {
    margin-bottom: 0;
    color: var(--white-color);
}

.vat-crn-sections,
.footer-apps-icons,
.logistics-pay-icons {
    gap: 10px;
}

.footer-apps-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.logistics-pay-icons img,
.footer-apps-icons img,
.vat-crn-sections img {
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 18px;
    }

    .footer-about-col,
    .footer-extra-col {
        grid-column: 1 / -1;
    }

    .footer-bottom-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .vat-crn-sections,
    .footer-apps-icons,
    .logistics-pay-icons {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .footer-main-section {
        padding: 34px 0 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-title::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-col,
    .footer-about-text {
        text-align: center;
        margin-inline: auto;
    }

    .footer-about-logo,
    .footer-link,
    .footer-link-bullet,
    .footer-location-link {
        margin-inline: auto;
    }

    .footer-links-list,
    .footer-social-icons {
        align-items: center;
        justify-content: center;
    }

    .footer-gallery-grid {
        justify-content: center;
        margin-inline: auto;
    }
}


.footer-icons .logistics-pay-icons a {
    width: 50px !important;
}