body {
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Titillium Web ExtraLight Italic'), local('TitilliumWeb-ExtraLightItalic'), url(https://flight-case.ch/kaufen/fonts/Titillium_1.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; 
}
/* latin-ext */
@font-face {
  font-family: 'Titillium Web';
  font-style: italic;
  font-weight: 200;
  font-display: swap;
  src: local('Titillium Web ExtraLight Italic'), local('TitilliumWeb-ExtraLightItalic'), url(https://flight-case.ch/kaufen/fonts/Titillium_2.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
/*
@font-face {
  font-family: 'Titillium Web';
  font-style: italic;
  font-weight: 200;
  font-display: swap;
  src: local('Titillium Web ExtraLight Italic'), local('TitilliumWeb-ExtraLightItalic'), url(https://flight-case.ch/kaufen/fonts/Titillium_3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
*/
/* latin-ext */
@font-face {
  font-family: 'Titillium Web';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: local('Titillium Web Italic'), local('TitilliumWeb-Italic'), url(https://flight-case.ch/kaufen/fonts/Titillium_4.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin-ext */
@font-face {
  font-family: 'Titillium Web';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: local('Titillium Web Bold Italic'), local('TitilliumWeb-BoldItalic'), url(https://flight-case.ch/kaufen/fonts/Titillium_6.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
/*
@font-face {
  font-family: 'Titillium Web';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: local('Titillium Web Bold Italic'), local('TitilliumWeb-BoldItalic'), url(https://flight-case.ch/kaufen/fonts/Titillium_7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
*/
/* latin-ext */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: local('Titillium Web ExtraLight'), local('TitilliumWeb-ExtraLight'), url(https://flight-case.ch/kaufen/fonts/Titillium_8.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */

/* latin-ext */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Titillium Web Regular'), local('TitilliumWeb-Regular'), url(https://flight-case.ch/kaufen/fonts/Titillium_10.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin-ext */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Titillium Web Bold'), local('TitilliumWeb-Bold'), url(https://flight-case.ch/kaufen/fonts/Titillium_12.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Titillium_9 */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: local('Titillium Web ExtraLight'), local('TitilliumWeb-ExtraLight'), url(https://flight-case.ch/kaufen/fonts/Titillium_9.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Titillium_11 */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Titillium Web Regular'), local('TitilliumWeb-Regular'), url(https://flight-case.ch/kaufen/fonts/Titillium_11.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Titillium_13 */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Titillium Web Bold'), local('TitilliumWeb-Bold'), url(https://flight-case.ch/kaufen/fonts/Titillium_13.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.gruen-kreis {
	display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    background-color: #28a745;
    border-radius: 50%;
    margin-right: -10px;
    margin-top: -10px;
    } 
    
.gelb-kreis {
	display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    background-color: #fab805;
    border-radius: 50%;
    margin-right: 30px;
    margin-top: -10px;
    } 
/* MENUE */

.menu-button {
  width: 40px;
  height: 30px;
  position: absolute;
  right: 28px;
  top: 26px;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  color: white:
}

.bar {
  height: 4px;
  width: 100%;
  background-color: white;
  border: 1px solid #3b4fab; /* Blaue Border */
  border-radius: 3px;
  transition: all 0.4s ease;
}
.menu-button.active .bar {
  border-color: red; /* Beispiel: rote Border im aktiven Zustand */
}


.menu-button.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-button.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-button.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-container {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  background: rgba(51, 51, 51, 0.9);
  display: flex;
  flex-direction: column;
  padding-top: 60px;
  transition: right 0.3s ease-in-out;
  z-index: 1000;
  box-shadow: 0px 0 10px rgba(0, 0, 0, 0.2);
        }
.nav-container.active {
  right: 0;
        }
.nav-links {
  display: flex;
  flex-direction: column;
        }
.nav-links a {
  color: white;
  text-decoration: none;
  padding: 10px;
  padding-left: 30px;
  display: block;
  text-align: left;
  font-size: 18px;
        }
.nav-links a:hover {background: #555;
 }
.category-menu {
    margin-top: 1em;
    text-align: left;
}

.category-menu ul {
    list-style: none;
    padding-left: 1em;
    margin: 0.3em 0;
}

.category-menu li {
    margin: 0.2em 0;
}

.menu-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-line a {
    text-decoration: none;
    color: #ffffff;
    flex-grow: 1;
    padding: 10px 14px;
}

.menu-line a:hover {
    text-decoration: none;
}

.toggle-submenu {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    padding: .4em 1.2em;
    font-size: 1.5em;
}
.toggle-submenu:hover {
    color: #c9302c;
    background: #555;
}



/* Standardmäßig versteckt */
.submenu.hidden {
    display: none;
}

.icon {
    color: white; /* Die Textfarbe wird auf das Emoji angewendet */
    font-size: 10px;
  }
/* MENUE OFF
  
  BILDSCHIRM BREITE ON */ 
.bild_breit {
 font-size: 14px;
 position: absolute;
 right: 90px;
 top: 29px;
 z-index: 10;
 color: white;
 text-shadow:-1px -1px 0 #3b4fab, 1px -1px 0 #3b4fab, -1px  1px 0 #3b4fab, 1px  1px 0 #3b4fab;
        }
          /* BILDSCHIRM BREITE OFF */
        
header {
  /* display: flex; */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  font-family: 'Titillium Web';
  background-color: #3b4fab;
  z-index: 999;
  transition: top 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  color: #fff;
  padding: 0.25em 0;
  text-align: center;
  height: 80px;
  justify-content: space-between;
  flex-wrap: wrap;
        }
        
/*
BREADCRUMB
*/        
.breadcrumb {
    font-size: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 1em;
    color: #555;
}

/*
.breadcrumb span[itemprop="itemListElement"] {
    display: flex;
    align-items: center;
}
*/

.breadcrumb a {
    text-decoration: none;
    color: #0073e6;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #005bb5;
}

.breadcrumb .separator {
    margin: 0 0.3em;
    color: #aaa;
}
.breadcrumb .trenner {
    margin: 0.3em 0 0 0.3em;
    color: #aaa;
    font-weight: 900;
  /*   font-size: 10.95rem; */
}
.brosme {
    margin-left: 4px;
    position: relative;
    top: -2px;
}
.breadcrumb i.fa-home {
    margin-right: 0.3em;
    color: #0073e6;
}
/* BREADCRUMB OFF */

header img {
    transition: all 0.8s ease;
}
.container {
 width: 80%;
 max-width: 1200px;
 margin: 0 auto;
 background-color: #fff;
 padding: 20px;
 border-radius: 8px;
 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
 margin-top: 100px;
        }

        .product-list {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 10px;
        }

        .product-item {
            background-color: #fff;
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            width: 30%;
            box-sizing: border-box;
            text-align: center;
        }

        .product-item img {
            max-width: 100%;
            height: auto;/*

            border-radius: 5px;
*/
        }

        .product-item h2 {
            font-size: 1.2em;
            margin: 10px 0;
        }

        .product-item p {
            color: #555;
        }

        .product-item .price {
            color: #d9534f;
            font-size: 1.5em;
            margin: 15px 0;
        }

        .product-item .btn, .product-detail button {
        	font-family: 'Titillium Web';
            background-color: #28a745;
            color: #fff;
            border: none;
            padding: 10px;
            cursor: pointer;
            font-size: 1em;
            border-radius: 5px;
            text-decoration: none;
        }

        .product-item .btn:hover {
            background-color: #218838;
        }
/*
        .product-detail button:hover {
            background-color: #877020;
        }
*/
        .mengenfeld {
			display: flex;            /* Flexbox-Layout aktivieren */
			align-items: center;
			align-items: baseline;
			gap: 10px;      /* Elemente vertikal zentrieren */
			}
		input[type="number"] {
			margin-right: 10px;              /* Etwas Padding im Input */
			width: 60px;              /* Festlegen der Breite des Input-Feldes */
}
/* CARD.PHP */
		 .card-container {
			background-color: #fff;
			padding: 20px;
			border-radius: 5px;
			box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
			width: 77%;
			margin: 0 auto;
			margin-top: 20px;
}

        .cart-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 10px;
            background-color: #fff;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            border-radius: 5px;
        }

        .cart-table th, .cart-table td {
            padding: 10px;
            text-align: center;
            border: 1px solid #ddd;
        }

        .cart-table th {
            background-color: #3b4fab;
            color: #fff;
        }

        .cart-table td a {
            color: #d9534f;
            text-decoration: none;
            font-weight: bold;
        }

        .cart-table td a:hover {
            color: #c9302c;
        }

        .cart-summary {
            margin-top: 20px;
            font-size: 1.2em;
            text-align: right;
        }

        .cart-summary a {
            background-color: #28a745;
            color: #fff;
            padding: 10px 20px;
            text-decoration: none;
            border-radius: 5px;
            font-size: 1.1em;
        }

        .cart-summary a:hover {
            background-color: #218838;
            color: #fff;
        }
        .rot {
	        color: red;
        }
        .rot_gross {
	        color: red;
	        font-size: 24px;
	        font-weight: bold;
        }
/* PRODUKTSEITE ON */
        .product-detail {
            display: flex;
            flex-wrap: wrap;
            background-color: #fff;
            /* padding: 20px; */        }

        .product-detail img {
            max-width: 500px;
            height: 500px;
            border-radius: 5px;
            margin-right: 20px; /* Abstand zwischen Bild und Text */
        }

        .product-detail .text {
            flex: 1; /* Nimmt den verbleibenden Platz ein */
        }

.product-detail h1, .product-detail h1 a {
  font-size: 1.6em;
/*   margin-top: 20px; */
  color:#3b4fab;
  font-weight: 600 !important;
  text-decoration: none;
  }
h1, h1 a {
  font-size: 2.56em;
/*   margin-top: 20px; */
  color:#3b4fab;
  font-weight: 600 !important;
  text-decoration: none;
  }
  .ein-linie {
  margin-top: -20px;
  }
  .cat-linie {
   margin-top: -15px;
  }  
  }
.product-item h2 a {
  color:#3b4fab;
  text-decoration: none;
  }
h2, h3, h4 { 
  color: #e3514c;
  font-weight: 500; 
  font-size: 1.2em;  
  text-decoration: none !important;
  }
a, a:hover,
.h2, h2 a, h2 a:hover, 
.h3, h3 a, h3 a:hover, 
.h4, h4 a, h4 a:hover {
color: #e3514c;
text-decoration: none !important;
  }

/* INDEX KARUSELL ON */

.intro {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: -30px;
}

.intro > div {
  flex: 1 1 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .intro > div {
    flex: 1 1 0;
    max-width: 50%;
  }
}
.intro > div.carousel-container {
  flex: 1 1 100%;
  display: flex;
  justify-content: center;
}


.carousel-wrapper {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 0.5rem;
  text-align: center;
}

.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid #ccc;
  border-radius: 8px;
}


.carousel-buttons {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 0.5rem;
  box-sizing: border-box;
  z-index: 10;
  pointer-events: none; /* ← optional: macht Buttons nicht klick-blockierend für das Bild */
}

.carousel-btn {
  pointer-events: auto; /* ← wieder aktivierbar */
  background: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  color: #007bff;
}
/* INDEX KARUSSELL OFF */

p, .product-detail p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555;
        }

.product-detail .price {
	/* color: #d9534f; ORIGINOL*/
	color: #e3514c;
	font-size: 1.8em;
	margin: 5px 0;
	line-height: 18px;
        }

.product-detail form {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin-top: 20px;
        }

.product-detail label {
    font-size: 1.1em;
	margin-bottom: 10px;
        }

.product-detail input[type="number"] {
    padding: 10px;
    font-size: 1em;
    margin-bottom: 15px;
    width: 60px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
        }

.card-button {
	background-color: #28a745;
    color: #fff;
    border: none;
    padding: 7px 17px;
    font-size: 1.2em;
    border-radius: 5px;
    cursor: pointer;
        }
.card-button:hover {
	background-color: #218838; 
         }
       /*  Gallery ON */

/* Flex-Container für Thumbnails */
.thumbnail-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 400px;
    white-space: nowrap;
    scroll-behavior: smooth; /* Weiches Scrollen */ 
    -webkit-overflow-scrolling: touch;
}

.gallery-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.thumbnail-scroll {
    overflow: hidden;
    max-width: 600px;
    flex: 1;
}

.thumbnail-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth; /* Weiches Scrollen */
    -webkit-overflow-scrolling: touch;
}


.scroll-button {
   /*  background-color: rgba(0, 0, 0, 0.5); */
    /* color: red; */
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    z-index: 10;
    transition: transform 0.4s ease;
}

.scroll-button.left {
    margin-right: 5px;
    color: rgba(0,0,0,0.5);
    background-color: white;
}

.scroll-button.right {
    margin-left: 5px;
    color: rgba(0,0,0,0.5);
    background-color: white;
}

.scroll-button:hover {
    background-color: white !important);
   /*  transform: scale(1.5); */
}

.thumbnail-wrapper {
    flex: 0 0 auto; /* Verhindert, dass sich die Thumbnails in der Größe ändern */
    width: 90px;
    height: 90px;
    margin-right: 5px; /* Abstand zwischen den Thumbnails */
}
/* Thumbnails kleiner machen */
.thumbnail {
    height: 90px !important;
    max-height: 90px !important;
    object-fit: contain; /* Zeigt das gesamte Bild an */
    cursor: pointer;
	border-radius: 5px;
    transition: transform 0.4s ease;
}

/* Hover-Effekt */
.thumbnail:hover {
    border: none;
    transform: scale(1.2);
}

.thumbnail-container::-webkit-scrollbar {
    display: none !important; /* Scrollbar ausblenden */
}
.thumbnail-container {
    scrollbar-width: none; /* Für Firefox */
    -ms-overflow-style: none; /* Für Internet Explorer und Edge */
}
.lightbox-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
  animation: fadeIn 0.3s ease;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  background: none;
  color: #ffffff;
  border: none;
  cursor: pointer;
  padding: 1rem;
  z-index: 10000;
  text-shadow: 0 0 16px rgba(206,206,206,0.8); /* Weiche Kontur */
}

.lightbox-arrow.left {
  left: 20px;
}
.lightbox-arrow.right {
  right: 20px;
}

.lightbox-arrow:hover {
  text-shadow: 0 0 10px rgba(255, 255, 255, 1);
}

@keyframes fadeIn {
  from { opacity: 0 }
  to { opacity: 1 }
}
#lightboxImage {
    transition: transform 0.3s ease;
}
/* GALLERY OFF */
/* WARENKORB ON */
.cart-header, .cart-row {
    display: grid;
    grid-template-columns: 110px auto 1fr auto auto auto;
    gap: 7px;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #ccc;
}

.cart-header {
    font-weight: bold;
    background-color: #3b4fab;
    color: white;
}

.cart-cell img {
    max-width: 100%;
    height: auto;
}

.cart-cell[data-label="Preis"],
.cart-cell[data-label="Gesamt"] {
   /*  white-space: nowrap; */
    text-align: right;
}

/* PRODUKTESEITE ON */
.section {
      margin-top: 25px;
    }

    .section h2 {
      font-size: 20px;
      margin-bottom: 10px;
      padding-left: 0;
    }

    .features-list, .specs-table {
      padding-left: 0;
      padding-left: 16px;
    }

    .features-list li {
      margin-bottom: 8px;
    }

    .specs-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 10px;
    }

    .specs-table td {
      padding: 8px 12px;
      border-bottom: none !important;
    }

    .description {
      line-height: 1.6;
      padding: 8px 2px;
      color: #444;
    }
    .specs-table .even {
    background-color: #ffffff;
}
.specs-table .odd {
    background-color: #e0f0ff;
}
/* PRODUKTESEITE OFF */     

@media (max-width: 600px) {
    .cart-header {
        display: none;
    }

    .cart-row {
        display: flex;
        flex-direction: column;
        border: 1px solid #ddd;
        margin-bottom: 10px;
        padding: 10px;
    }

    .cart-cell {
        display: flex;
        justify-content: space-between;
        padding: 6px 0;
    }

    .cart-cell::before {
        content: attr(data-label) ": ";
        font-weight: bold;
        color: #555;
        margin-right: 10px;
    }

    .cart-cell img {
        max-width: 60px;
    }
}
.cart-cell input[type="number"] {
    vertical-align: middle;
}
.cart-cell img {
    vertical-align: middle;
}
/* WARENKORB OFF */
/* LOGIN - PASSWORT VERGESSEN _ ETC. ON */
        .form-container {
            background-color: #fff;
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            width: 80%;
            max-width: 400px;
            margin: 100px auto;
            text-align: center;
        }

        .form-container h1 {
            font-size: 2em;
            margin-bottom: 20px;
        }

        .form-container form {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .form-container label {
            font-size: 1em;
            margin: 10px 0;
        }

        .form-container input {
            padding: 10px;
            margin: 10px 0;
            width: 100%;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 1em;
        }

        .form-container button {
            background-color: #28a745;
            color: #fff;
            border: none;
            padding: 10px;
            cursor: pointer;
            font-size: 1em;
            border-radius: 5px;
        }

        .form-container button:hover {
            background-color: #218838;
        }

        .error-message {
            color: red;
            margin-bottom: 10px;
        }

        .form-container p {
            margin-top: 15px;
        }
/* LOGIN - PASSWORT VERGESSEN _ ETC. OFF */
/* PRODUKTSEITE OFF */
/* CHECKOUT ON */
.checkout-container {
    width: 100%;
}

        .check-table td a:hover {
            color: #c9302c;
        }
        .check-table td a {
            color: #d9534f;
            text-decoration: none;
            font-weight: bold;
        }

/*
        .checkout-container h1 {
            font-size: 2em;
            margin-bottom: 20px;
        }
*/

        .checkout-container h2 {
            font-size: 1.5em;
            margin-top: 20px;
            margin-bottom: 15px;
        }

        .checkout-container table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 10px;
            background-color: #fff;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            border-radius: 5px;
        }

        .checkout-container table th, .checkout-container table td {
            padding: 10px;
            border: 1px solid #ccc;
            text-align: center;
        }

        .checkout-container table th {
            background-color: #3b4fab;
            color: #fff;
        }

        .checkout-container table td {
            background-color: #fff;
        }

        .form-checktainer {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .form-checktainer label {
            font-size: 1em;
            margin-bottom: 5px;
        }

        .form-checktainer input,
        .form-checktainer select,
        .form-checktainer textarea {
            padding: 10px;
            font-size: 1em;
            width: 97%;
            border: 1px solid #ccc;
            border-radius: 5px;
        }

        .form-checktainer button {
            background-color: #28a745;
            color: #fff;
            border: none;
            padding: 10px;
            cursor: pointer;
            font-size: 1.2em;
            border-radius: 5px;
        }

        .form-checktainer button:hover {
            background-color: #218838;
        }

        .error-message {
            color: red;
            margin-bottom: 10px;
        }
/* <!-- Accordion-Funktionalität mit etwas JS --> */

    .check-table {
        width: 100%;
        border-collapse: collapse;
    }

    .check-table th, .check-table td {
        padding: 10px;
        text-align: left;
        border-bottom: 1px solid #ddd;
    }

    @media (max-width: 768px) {
        .check-table thead {
            display: none;
        }

        .check-table tr {
            display: block;
            margin-bottom: 15px;
        }

        .check-table td {
            display: flex;
            justify-content: space-between;
            padding: 8px;
            border: none;
            border-bottom: 1px solid #eee;
        }

        .check-table td::before {
            content: attr(data-label);
            font-weight: bold;
        }
    }

    .accordion-toggle {
        cursor: pointer;
        color: #007BFF;
        text-decoration: underline;
        margin-bottom: 10px;
        display: inline-block;
    }

    .accordion-content {
        display: none;
        margin-top: 10px;
    }

    .accordion-content.active {
        display: block;
    }

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  overflow: hidden; /* falls nötig, zur Sicherheit */
}

.form-group {
  display: flex;
  flex-direction: column;
  min-width: 0; /* wichtig für flex-shrink */
  min-height: 66px;
  padding-left: 2px;
}
.form-group.first {
  flex: 0 1 47.7%; 
}

.form-group.last {
  flex: 0 1 49%;
}

.form-group.first-zwei {
  flex: 0 1 75.75%; 
}

.form-group.last-zwei {
  flex: 0 1 20%;
}
.form-group.first-drei {
  flex: 0 1 77.5%; 
}

input {
  width: 100%; /* damit die Inputs sich an ihre Box anpassen */
  box-sizing: border-box;
}

label {
  font-weight: bold;
  margin-bottom: 0.25rem;
}
@media (max-width: 600px) {
    .cart-header {
        display: none;
    }

    .cart-row {
        display: flex;
        flex-direction: column;
        border: 1px solid #ddd;
        margin-bottom: 10px;
        padding: 10px;
    }

    .cart-cell {
        display: flex;
        justify-content: space-between;
        padding: 6px 0;
    }

    .cart-cell::before {
        content: attr(data-label) ": ";
        font-weight: bold;
        color: #555;
    }

    .cart-cell img {
        max-width: 60px;
        height: auto;
    }
}
/* CHECKOUT OFF */
/* RESPONSIVE */  

.product-layout {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 30px;
  width: 100%;
  overflow: hidden;
}

.product-gallery {
  flex: 2 1 60%;
  min-width: 250px;
  max-width: 600px;
}

.main-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    padding: 5px;
    background: white;
    z-index: 12;
}

/* Thumbnails */
.gallery-wrapper {
  position: relative;
  margin-top: 10px;
  display: flex;
  align-items: center;
  overflow: hidden;
  max-width: 600px;
}

.thumbnail-scroll {
  overflow-x: auto;
  scroll-behavior: smooth;
  flex: 1;
  margin: 0 40px;
}

.thumbnail-container {
  display: flex;
  gap: 10px;
  min-width: fit-content;
}

.thumbnail-container img {
  height: 80px;
  flex-shrink: 0;
  cursor: pointer;
}
.thumbnail-scroll {
  overflow-x: auto;
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* Internet Explorer 10+ */
}

.thumbnail-scroll::-webkit-scrollbar {
  display: none;               /* Safari & Chrome */
}

/* Text daneben */
.text {
  flex: 1 1 35%;
  max-width: 800px;
}

/* Scroll Buttons */
.scroll-button {
  background: rgba(0,0,0,0.4);
  color: white;
  font-size: 2rem;
  padding: 0 10px;
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  border: none;
}

.scroll-button.left { left: 0; }
.scroll-button.right { right: 0; }

@media (max-width: 1140px) {
  .product-detail .price {
	font-size: 1.3em;
        }
}

@media (min-width: 1057px) {
.main-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
 }
 .product-gallery {
    max-width: 500px;
  }
}

/* Unter 900px: Galerie & Text stapeln */
@media (max-width: 850px) {
  .product-layout {
    flex-direction: column;
  }

  .product-gallery,
  .text {
    width: 100%;
  }

  .scroll-button {
    display: block;
  }
    .product-detail .price {
    position: relative;
    top: -10px;
	}
}
@media screen and (max-width: 600px) {
    header {
      flex-direction: row;
      justify-content: space-between;
      text-align: left;
    }

    header a img {
        width: 180px; /* kleineres Logo */
        height: auto;
        padding-left: 15px;
      padding-top: 15px;
    }
}
@media (max-width: 565px) {
  .product-detail .price {
	font-size: 1.2em;
	}
}
/* Optional: ab 500px Buttons zeigen */
@media (max-width: 500px) {
  .scroll-button {
    display: block;
    font-size: 0.1rem;
    padding: 0 1px;
    visibility: hidden;
  }
  .product-detail input[type="number"] {  
  width: 40px;
}
  .product-item {
   width: 48%;
   padding: 5px;
   }
.product-item h2 {
   font-size: 1.0em;
   margin: 5px 0;
        }
h1 a, .product-detail h1 a {
  font-size: 1.1em;
        }
.product-list {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
  .container {
  width: 95%;
  padding: 10px;
  }
.thumbnail, .thumbnail-wrapper {
  height: 50px !important;
  max-height: 50px !important;
  width: 50px;
}
  .product-detail .price {
	font-size: 1.0em;
	color: #fab805
        }
}

@media (max-width: 365px) {
    header a img {
        width: 140px; /* kleineres Logo */
        height: auto;
      padding-top: 20px;
    }
}