/* public/assets/css/style.css */

/* Basis-Stile */
body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    padding-bottom: 60px; /* Damit der fixierte Footer den Inhalt nicht überlappt */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

html, body {
  height: 100%;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

footer {
  margin-top: auto;
}


/* Allgemeine Inhalte */
.main-content {
    margin: 0 auto;
}

/* Warenkorb-Seite */
.cart-page {
    margin-top: 20px;
}

.cart-page h2 {
    text-align: center;
    margin-bottom: 20px;
}

.cart-page .card {
    margin-bottom: 20px;
}

.cart-page .card-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.cart-page .card-text {
    margin-bottom: 10px;
}

.cart-page .btn-danger {
    margin-top: 10px;
}

/* Footer fixiert am unteren Rand */
.footer {
    background-color: #f8f9fa;
    border-top: 1px solid #ddd;
    padding: 10px 0;
    text-align: center;
}


/* Responsive Anpassungen */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    .cart-page .card {
        margin-bottom: 15px;
    }
}

.sticky-cart-bar {
    position: fixed;                  /* bleibt immer am Viewport unten kleben */
    bottom: 0;
    left: 0;
    width: 100%;                      /* nimmt gesamte Breite ein */
    background-color: #ffffff;       /* weißer Hintergrund */
    border-top: 1px solid #ddd;      /* dezente Trennlinie */
    padding: 0.75rem 1rem;           /* gutes Innenabstand für mobile */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);  /* leichter Schatten nach oben */
    z-index: 1050;                   /* über Footer etc., aber unter Modal */
}
.category-chip {
  padding: 6px 12px;
  background-color: #f8f9fa;
  color: #495057;
  border-radius: 20px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  user-select: none;
}

.category-chip.active {
  background-color: #dc3545;
  color: #ffffff;
}

.category-chip:hover {
  background-color: #f8d7da;
  color: black;
}

.scrolling-wrapper {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scrolling-wrapper::-webkit-scrollbar {
  display: none;
}

  
  .menu-carousel {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .menu-carousel::-webkit-scrollbar {
    display: none;
  }

  .menu-carousel .card {
    scroll-snap-align: start;
    border-radius: 10px;
  }

  @media (min-width: 768px) {
    .menu-carousel .card {
      min-width: 32%;
      max-width: 32%;
    }
  }
  .hero-wrapper {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-section {
    height: 30vh;
    border-radius: 0.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out, opacity 1s ease-in-out;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
  }
  
  /* DEINE bleibt unverändert */
  @media (max-width: 768px) {
    .hero-section {
      padding: 1rem;
    }
  }
  
  .hero-bg,
.hero-bg-next {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* passt sich jetzt an die gepaddete Section an */
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0.5rem;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.hero-bg {
  opacity: 1;
}

.hero-bg-next {
  opacity: 0;
}
.size-price {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.1;
  display: inline-block;
  white-space: nowrap; /* verhindert Umbruch */
}
.form-check-input:checked {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
}

.extra-price {
  font-size: 0.9rem;
  font-weight: 500;
  color: #000000;
  margin-left: auto;
  text-align: right;
  min-width: 60px;
}
  
body { font-family: 'Poppins', sans-serif; }
.toggle-container {
  display: flex; gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}
.toggle-container input[type="radio"] { display: none; }
.toggle-container label {
  border-radius: 50px;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  cursor: pointer;
  border: 2px solid #dc3545;
  color: #dc3545;
  transition: all 0.3s ease;
}
.toggle-container input[type="radio"]:checked + label {
  background-color: #dc3545;
  color: #fff;
}
.btn-lg.custom-pay-button {
  font-size: 0.875rem !important;
  padding: 0.5rem 1rem;
}
.input-group .form-control {
  max-width: 60px;
  min-width: 40px;
  padding: 0.25rem;
}
.main-container {
  padding-bottom: 180px;
}

.extra-hidden {
  transition: all 0.3s ease;
}
