.custom-tooltip {
  --bs-tooltip-bg: var(--bs-primary);
}

/* Hidde Spinner (Number-input) in Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Hidde Spinner (Number-input) in Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.logo img { width: 330px; height: auto; }

@media (max-width: 1200px){
	.logo img { width: 220px; height: 50px; }
}

@media (max-width: 500px){
	.shop-buttons {
		padding-top: 1rem;
	}
}

@media (max-width: 760px){
	.shop-buttons {
		padding-top: 1rem;
	}
}

main p {
    margin-top: 2rem;
	margin-bottom: 0.5rem;
}

main h1 {
	font-size: 2rem;
}

main h2 {
	margin-top: 2rem;
	font-size: 1.5rem;
}

main h3 {
	margin-top: 2rem;
	font-size: 1.5rem;
}

main h4 {
	margin-top: 2rem;
	font-size: 1.5rem;
}

main h5 {
	margin-top: 2rem;
	font-size: 1.5rem;
}

.id-card-image {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: auto;
	height: auto;
	max-width: 419px;
	max-height: 210px;
}

.id-jumbotron-image {
	width: 100%;
	height: auto;
}

.feature {
	padding-right: 1em;
	align-items: center;
	justify-content: center;
}

.featurette-heading {
	letter-spacing: -.05rem;
}

.featurette-img {
	width: 100%; height: auto;
}

.tag-cloud {
display: flex;
flex-wrap: wrap;
gap: 10px;
}

.tag-clouds a {
text-decoration: none;
color: #007acc;
border: 1px solid #007acc;
padding: 5px;
border-radius: 5px;
transition: all 0.3s ease;
}

.tag-cloud a:hover {
color: #005f99;
border-color: #005f99;
}

.gradient-text {
background: linear-gradient(to right, black, lightgray);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
color: transparent;
}

.hugocms-list-item:hover {
	background-color: #e9ecef;;
	opacity: 0.95;
}

input:read-only {
	border: 2px solid #999999;
	background-color: #e8dcdc;
 }

#search {
  position: relative;
}

.search-autocomplete-items {
  border: 1px solid #d4d4d4;
  border-top: none;
  max-height: 360px;
  overflow-y: auto;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  z-index: 99;
}

.search-autocomplete-item {
  padding: 8px;
  cursor: pointer;
}

.search-autocomplete-item:hover, .search-autocomplete-active {
  background-color: #e9e9e9;
}

/* Focus-Ring auf die gesamte input-group statt nur aufs Eingabefeld */
.input-group .form-control:focus,
.input-group .form-control:focus-visible {
  box-shadow: none;
  border-color: var(--bs-border-color);
}

.input-group:focus-within {
  border-radius: .375rem;
  box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.input-group:focus-within > .form-control,
.input-group:focus-within > .input-group-text,
.input-group:focus-within > .btn {
  border-color: #86b7fe;
}

/* Lightbox / Bildvergrößerung */
.lightbox-trigger {
  cursor: zoom-in;
  display: inline-block;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  cursor: zoom-out;
  padding: 2rem;
}

.lightbox-overlay[hidden] {
  display: none;
}

.lightbox-image {
  max-width: 95vw;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 0;
  border-radius: 50%;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: #212529;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.lightbox-close:hover,
.lightbox-close:focus {
  background: #fff;
  outline: none;
}

.lightbox-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.55);
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  pointer-events: none;
  white-space: nowrap;
}

body.lightbox-open {
  overflow: hidden;
}

/* Kategorien-Seite: Multi-Column-Layout für gruppierte Kategorielisten */
#main_section .category-columns {
    column-count: 3;
    column-gap: 2rem;
}
#main_section .category-columns a {
    break-inside: avoid;
}
@media (max-width: 768px) {
    #main_section .category-columns { column-count: 2; }
}
@media (max-width: 576px) {
    #main_section .category-columns { column-count: 1; }
}
