/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** 📱 Mobile Optimierung ***************/
@media only screen and (max-width: 768px) {
  body, p, li {
    font-size: 15px;
    line-height: 1.5;
  }

  h1, h2, h3 {
    font-size: 18px;
    line-height: 1.3;
  }

  .button, .btn, a.button {
    padding: 10px 16px !important;
    font-size: 14px !important;
    border-radius: 6px;
  }

  .mobile-nav {
    padding: 10px;
    font-size: 14px;
  }

  .product-small {
    min-height: 300px;
  }

  ul.products li.product img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    content: url('https://www.safetech.shop/wp-content/uploads/2025/06/produktbild-300.jpg');
  }

  .hero-section {
    background-image: url('/wp-content/uploads/2025/06/header-mobile.jpg');
    background-size: cover;
    background-position: center;
  }
}

/*************** 📱 Tablets and Down ***************/
@media only screen and (max-width: 1024px) {
  .home .ux-banner,
  .home .slider {
    max-height: 240px !important;
    overflow: hidden;
  }

  h1, h2, h3 {
    font-size: 22px;
    line-height: 1.3;
  }

  .section {
    padding: 20px 15px;
  }
}

/*************** 🛒 Produktslider / Bestseller ***************/
.best-selling-products .product-small img {
  max-width: 100%;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  display: block;
}
