.swiper.hero-slide-style-two {
    height: 345px;
    margin-right: -25px;
}

.tm_navigation_style_one.fl-header-gradient:not(.navbar-sticky) {
    background: #F5F5F5 !important;
    background-image: none !important;
}

.tm_navigation_style_one.fl-header-gradient .header-content__menu .nav-item .menu-link span {
    color:black;
}

.section-hero {
    padding-bottom: 60px !important;
}

.theme-carlink.page .section-hero .section-hero__bg .uk-container .section-hero__content {
    bottom:-26px;
}

.section-hero .section-hero__bg {
    padding: 0 !important;
}

.tm_footer_style_style_one.footer {
    padding-top: 0;
}

.footer__inner {
    margin-bottom: 20px;
}

.footer .widget.widget_templines_theme_helper_contact_phone_number {
    margin-top: 20px;
}

#text-2 div, #text-4, #text-4 a {
    color:white;
}

.theme-carlink .wpcf7 .btn {
    height:24px;
}

.section-hero {
    padding-bottom: 20px !important;
}

.section-hero .section-hero__bg .uk-container .section-hero__title .uk-h1 {
    font-size:30px;
}

.section-hero .section-hero__bg .uk-container .section-hero__content, 
div.section-hero__bg div.uk-container dic.section-hero__content, 
.theme-carlink.page .section-hero .section-hero__bg .uk-container .section-hero__content {
    bottom:-5px;
}

.section-hero .section-hero__bg .uk-container .section-hero__title span, .theme-carlink .post-inner_content.col-lg-12 .article__info, 
.catalog-view-grid .sorting, div.sorting, .theme-carlink .catalog-list__content .sorting,
div.rental-item__price-btn, #fl-places-ajax-container .tmreviews_pagination_default {
    display:none;
}

.theme-carlink div .wpcf7-form-control.wpcf7-submit {
    padding:30px;
    line-height: 4px;
}

.elementor-6877 .elementor-element.elementor-element-c5daa6f {
    margin-top: 30px;
    margin-bottom: 30px;
}

.fl-page-padding {
    height:20px;
}

.elementor-element-fe60cd6 {
    overflow: hidden !important;
}

.footer .widget.widget_templines_theme_helper_contact_phone_number, .footer .widget + .widget {
    margin-top:0;
}

 .footer .footer__text, .footer .widget .widget--title {
    margin-bottom: 0;
 }

 .footer .footer__working-text {
    color:gray !important;
 }

/* Mobile menu */

body .tm_navigation_style_one .header-content__purshace, body .tm_navigation_style_one .dl-menuwrapper button, body .tm_navigation_style_one .dl-menuwrapper button:hover, body .tm_navigation_style_one .dl-menuwrapper button.dl-active, body .dl-menuwrapper ul {
    background: #333;
}

ul#menu-main-menu-1 .nav-item:hover a span {
     color: white !important;
}

@media (min-width: 960px) {
    .uk-section-large {
        padding-top:40px;
    }

    #fl-places-ajax-container.catalog-view-grid {
        padding-top:5px;
    }

    div.page-product__title {
        padding-top:30px;
    }
}

@media (max-width: 900px) {
    #fl-places-ajax-container.catalog-view-grid {
        padding-top: 0;
    }
}

/* Tehauto brands: 2 columns on mobile */
@media (max-width: 767px) {
  /* Target the inner section that contains the 6 brand columns */
  #post-6877 .elementor-element.elementor-element-6f03842 > .elementor-container {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -8px;
    margin-right: -8px;
  }

  /* Force each brand column to half width */
  #post-6877 .elementor-element.elementor-element-6f03842 .elementor-inner-column {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 20px;
    box-sizing: border-box;
  }

  /* Keep logo + title centered */
  #post-6877 .elementor-element.elementor-element-6f03842 .elementor-widget-wrap {
    text-align: center;
  }

  /* Prevent image overflow */
  #post-6877 .elementor-element.elementor-element-6f03842 img {
    max-width: 100%;
    height: auto;
  }

  .footer div.footer-top__socials {
    padding-left:24px;
  }
}

/* Fix logo click on phone widths without breaking mobile menu accordion */
@media (max-width: 1100px) {
  .tm_navigation_style_one .header-content__inner a.header__logo.logo {
    position: relative !important;
    left: auto !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    width: fit-content !important;
    max-width: none !important;
    z-index: 100 !important;
  }

  html body #dl-menu.dl-menuwrapper {
    width: auto !important;
    max-width: none !important;
    overflow: visible !important;
    pointer-events: none !important;
  }

  html body #dl-menu.dl-menuwrapper .dl-trigger {
    pointer-events: auto !important;
  }

  /* Collapse the closed ghost panel — it was still 300px wide and blocking logo taps */
  html body #dl-menu.dl-menuwrapper > ul.dl-menu:not(.dl-menuopen) {
    width: 0 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }

  html body #dl-menu.dl-menuwrapper .dl-menu.dl-menuopen,
  html body #dl-menu.dl-menuwrapper .dl-menu ~ ul {
    width: 300px !important;
    min-width: 300px !important;
    max-width: calc(100vw - 30px) !important;
    pointer-events: auto !important;
  }
}

/* Swiper prev/next arrows — swiper-icons font URL is broken in theme libs.min.css */
.swiper-button-prev::after,
.swiper-button-next::after {
  content: '' !important;
  font-family: inherit !important;
  width: 9px;
  height: 9px;
  border: 2px solid currentColor;
  border-width: 2px 2px 0 0;
  display: block;
  box-sizing: border-box;
}

.swiper-button-prev::after {
  transform: rotate(-135deg);
}

.swiper-button-next::after {
  transform: rotate(45deg);
}

.swiper-button-prev:hover::after,
.swiper-button-next:hover::after {
  border-color: currentColor;
} 

@media (max-width: 1200px) {
  .tm_booking_car_info.booking_car_info_style_four .details-aside-content-top__rent {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 8px;
    column-gap: 16px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .tm_booking_car_info.booking_car_info_style_four .details-aside-content-top__rent-text {
    white-space: nowrap;
    flex: 0 0 auto;
    line-height: 1.2;
  }
}

@media (max-width: 480px) {
  .tm_booking_car_info.booking_car_info_style_four .details-aside-content-top__rent {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
}

/* Catalog single: fix inconsistent list icons (tm-reviews plugin styles .page-product ul) */
.page-product ul:not(.uk-slider-items, .uk-slideshow-items, .product-specifications),
.elementor-widget-tm-reviews-reviews-title ul:not(.uk-slider-items, .uk-slideshow-items, .product-specifications) {
  column-count: 1;
}

@media (min-width: 768px) {
  .page-product ul:not(.uk-slider-items, .uk-slideshow-items, .product-specifications),
  .elementor-widget-tm-reviews-reviews-title ul:not(.uk-slider-items, .uk-slideshow-items, .product-specifications) {
    column-count: 2;
  }

  .page-product ul:not(.uk-slider-items, .uk-slideshow-items, .product-specifications) li,
  .elementor-widget-tm-reviews-reviews-title ul:not(.uk-slider-items, .uk-slideshow-items, .product-specifications) li {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
  }
}

.page-product ul:not(.uk-slider-items, .uk-slideshow-items, .product-specifications) li::before,
.elementor-widget-tm-reviews-reviews-title ul:not(.uk-slider-items, .uk-slideshow-items, .product-specifications) li::before {
  flex: 0 0 22px;
  min-width: 22px;
  width: 22px;
  height: 16px;
  position: static;
  top: auto;
  right: auto;
  margin-top: 8px;
}

/* Main headings: 15% smaller on mobile/tablet (avoid cliff at ~600px) */
@media (max-width: 767px) {
  .uk-h1 {
    font-size: calc(2.23125rem * 0.85) !important;
  }

  h1.uk-h1 {
    font-size: calc(48px * 0.85) !important;
  }

  html .page-product__title .uk-h1 {
    font-size: calc(49px * 0.85) !important;
  }

  .section-hero .section-hero__bg .uk-container .section-hero__title .uk-h1 {
    font-size: calc(30px * 0.85) !important;
  }
}