/* CSS Custom Properties for Font Sizes */
:root {
    --font-size-xxs: 9.5px;
    --font-size-xs: 12px;
    --font-size-s: 14px;
    --font-size-m: 16px;
    --font-size-xl: 22px;
    --font-size-xxl: 24px;
}











/* In deiner CSS-Datei */
.page-section {
    padding: 4rem 0rem;
    margin-bottom: 2rem;
}

.hero-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0rem 3rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.text-image-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.custom-section {
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    
    .text-image-section {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}


































/* ========== INFO BOX STYLES ========== */
.box {
  background-color: var(--background-light);
  border-radius: 2px;
  padding: 10px 15px;
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.info-item {
  flex: 1 1 100px;
  display: flex;
  align-items: center;
  margin: 10px 0;
  padding: 0 10px;
}

.info-icon {
  margin-right: 15px;
  color: #6c757d;
}

.info-text h4 {
  margin: 0 0 5px 0;
  font-size: var(--font-size-m);
}

.info-text p {
  margin: 0;
  font-size: var(--font-size-s);
  color: #6c757d;
}
@media (max-width: 768px) {
  .box {
    padding: 8px 6px;
    margin-bottom: 5px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .info-item {
    margin: 0;
    padding: 5px 3px;
    border-bottom: none;
    border-right: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 40px;
  }

  .info-icon {
    margin: 0 0 3px 0;
    font-size: var(--font-size-s);
    min-width: auto;
  }

  .info-text h4 {
    font-size: var(--font-size-s);
    margin: 0 0 1px 0;
  }

  .info-text p {
    font-size: var(--font-size-s);
    line-height: 1.2;
  }
}

/* Für sehr kleine Bildschirme */
@media (max-width: 480px) {
  .box {
    padding: 6px 4px;
    gap: 4px;
    grid-template-columns: 1fr 1fr;
  }

  .info-item {
    padding: 4px 2px;
    min-height: 35px;
  }

  .info-icon {
    font-size: var(--font-size-s);
    margin-bottom: 2px;
  }

  .info-text h4 {
    font-size: var(--font-size-s);
  }

  .info-text p {
    font-size: var(--font-size-s);
  }
}

/* Für 4 Elemente - 2x2 Grid */
@media (max-width: 768px) and (min-width: 481px) {
  .box {
    grid-template-columns: 1fr 1fr;
  }
}

/* Für einzelne Elemente falls nötig */
@media (max-width: 768px) {
  .box.single-row {
    grid-template-columns: 1fr;
  }
  
  .box.four-columns {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

/* ========== FEATURED PRODUCTS STYLES ========== */
.featured-products {
  background-color: #fff;
  border-radius: 2px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  position: relative;
}

/* Featured Product Slider */
.featured-slider-container {
  background-color: var(--background-light);
  border-radius: 2px;
  padding: 30px;
  margin-bottom: 10px;
  position: relative;
}


.featured-slider {
  display: flex;
  align-items: center;
  position: relative;
}

.featured-slide {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease;
}

.featured-slide.hidden {
  display: none;
}

.featured-image-container {
  background-color: var(--background-light);
  flex: 1;
  padding-right: 30px;
}

.featured-image {
  width: 50%;
  height: auto;
  border-radius: 2px;
  object-fit: cover;
}

.featured-info {
  flex: 1;
  padding-left: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-info h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2d3748;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4a5568;
  margin-bottom: 1.5rem;
}

.product-description {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 500px;
}
.btn-view-details {
  align-self: flex-start;
  background: linear-gradient(135deg, var(--primary-color) 1%, var(--primary-dark) 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 2px;
  font-size: var(--font-size-1);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.5s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}



/* ========== MOBILE STYLES ========== */
@media (max-width: 768px) {
.featured-products {
padding: 15px;
margin-bottom: 2px;
border-radius: 2px;
}

.featured-slider-container {
padding: 20px 15px;
margin-bottom: 2px;
border-radius: 2px;
}

.featured-slider {
flex-direction: column;
}

.featured-slide {
flex-direction: column;
}

.featured-image-container {
padding-right: 0;
margin-bottom: 2px;
}

.featured-info {
padding-left: 0;
text-align: center;
}

.featured-info h3 {
font-size: 1.4rem;
margin-bottom: 0.8rem;
}

.product-price {
font-size: 1.3rem;
margin-bottom: 1.2rem;
}

.product-description {
font-size: 0.9rem;
margin-bottom: 1.5rem;
line-height: 1.5;
}

.btn-view-details {
align-self: center;
padding: 10px 20px;
font-size: var(--font-size-s);
}
}

/* Für sehr kleine Bildschirme (z.B. Smartphones im Hochformat) */
@media (max-width: 480px) {
.featured-info h3 {
font-size: 1.2rem;
}

.product-price {
font-size: 1.1rem;
}

.product-description {
font-size: var(--font-size-s);
}

.btn-view-details {
width: 100%;
padding: 12px;
}
}


/* Hover-Effekt: Button verändert sich leicht */
.btn-view-details:hover {
  background-color: var(--shop-second-btn-hover);
  padding: 12px 50px 12px 24px; /* mehr Platz rechts für den Fuchs */
}

/* Fox erscheint rechts */

.btn-view-details::after {
  content: "🛍️";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  font-size: var(--font-size-s);
  opacity: 0;
  transition: all 0.5s ease;
}

/* beim Hover sichtbar */
.btn-view-details:hover::after {
  transform: translateY(-50%) scale(1);
  opacity: 1;
}

/* Fox erscheint rechts */
.btn-view-details::after {
  content: "🛍️";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  font-size: 1.5rem;
  opacity: 0;
  transition: all 0.5s ease;
}

/* beim Hover sichtbar */
.btn-view-details:hover::after {
  transform: translateY(-50%) scale(1);
  opacity: 1;
}


.btn-view-details:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Slider Navigation */
.slider-nav {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  border: none;
  border-radius: 2px;
  width: 40px;
  height: 40px;
  font-size: var(--font-size-20);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.slider-arrow.prev {
  left: 10px;
}

.slider-arrow.next {
  right: 10px;
}

.slider-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #ddd;
  border-radius: 2px;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-dot.active {
  background: #333;
}

/* ========== NAVBAR STYLES ========== */
.navbar {
  flex-grow: 1;
  max-width: 0 auto;
  margin: 0 auto;
  background-color: var(--background-light);
  padding: 0rem 0rem;
  border-radius: 2px;
}

.navbar-nav {
  display: flex;
  list-style: none;
  margin: -2rem 0rem;
  
  padding: 0rem 0rem;
  position: fixed;
  z-index: 1000;

}

.nav-item {
  position: relative;
  padding: 5px 8px;
  padding-left: 0;
}

.drop-nav-link {
  color: rgb(18, 137, 197);
  text-decoration: none;
  padding: 5px 0px;
  display: grid;
  align-items: start;
  transition: all 0.2s ease;
  position: relative;
}

/* Navigation: Text bleibt sichtbar, Bild erscheint bei Hover unten */
.drop-nav-link.has-icon .category-icon {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 6px;
  padding: 5px;
  max-width: 200px;
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: 2000;
}

.drop-nav-link.has-icon:hover .category-icon {
  display: block;
}

.drop-nav-link:hover {
  background-color: rgb(255, 255, 255);
  padding-left: 2px;
  border-radius: 2px;
}

.dropdown-icon {
  margin-left: 8px;
  font-size: 0.6em;
  transition: transform 0.2s ease;
}

/* Dropdown Menu */
.dropdown-menu {

  position: absolute;
  left: 100%;
  top: 5rem;
  background-color: #ffffff;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  border-radius: 2px;

  /* NEU: Horizontal statt Grid */
  display: flex;
  flex-direction: row; /* horizontale Anordnung */
  gap: 10px;
  padding: 15px;
  width: max-content; /* passt sich an Inhalte an */

}

.dropdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 5px;
  text-decoration: none;
  color: rgb(107, 107, 107);
  transition: all 0.2s ease;
  border-radius: 2px;
}


.dropdown-item:hover {
  background-color: rgb(255, 255, 255);
  padding-left: 5px;
}

.dropdown-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  left: 100%;
  top: 0;
  background-color: #3d566e;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  border-radius: 2px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  padding: 15px;
  width: 100%;
}

.submenu-item {
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  transition: all 0.2s ease;
}

.submenu-item:hover {
  background-color: #46627d;
  padding-left: 20px;
}

.category-icon, .collection-icon {
  max-width: 250px;
  max-height: 250px;
  width: auto;
  height: auto;
  object-fit: contain;
    margin-right: 2px;
    vertical-align: middle;
}

/* Dropdown: Bilder größer anzeigen (proportional), aber erst bei Hover */
.dropdown-menu .category-icon,
.dropdown-menu .collection-icon {
  padding: 5px;
  max-width: 220px;
  max-height: 220px;
}

.dropdown-item.has-icon .menu-item-content img,
.submenu-item.has-icon .menu-item-content img {
  display: none;
}

.dropdown-item.has-icon .menu-item-text,
.submenu-item.has-icon .menu-item-text {
  display: block;
}

.dropdown-item.has-icon:hover .menu-item-content img,
.submenu-item.has-icon:hover .menu-item-content img {
  display: block;
}

.menu-item-text {
  display: block;
  font-size: var(--font-size-1);
  line-height: 1.2;
  margin-top: 6px;
}

.menu-item-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Bild unterhalb des Textes anzeigen */
.menu-item-content .menu-item-text {
  order: 1;
}

.menu-item-content img {
  order: 2;
}
/* Hover Effects */
.nav-item:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.nav-item:hover > .drop-nav-link > .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-submenu:hover > .dropdown-item > .dropdown-icon {
  transform: rotate(90deg);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: rgb(160, 150, 155);
  font-size: var(--font-size-xxl);
  padding: 15px;
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 5rem;
  z-index: 1000; /* Höher als die Navigation */
  -webkit-appearance: none; /* Wichtig für iOS/Safari */
  -moz-appearance: none;
  appearance: none;
  position: fixed;
}

/* ========== SHOP STYLES ========== */
.shop-container {
  display: flex;
  background: var(--background);
  gap: 2rem;
  padding: 2rem;
  margin: 0 auto;
  position: relative;
}

/* Sidebar */
.sidebar {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 20px;
  align-self: flex-start;
  height: calc(100vh - 40px);
  overflow-y: auto;
  padding-right: 10px;
  background: var(--background);
  border-radius: 2px;
}

.sidebar-inner {
  padding-bottom: 2rem;
}

.collection-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.collection-list li {
  margin-bottom: 0.5rem;
}

.collection-link {
  display: block;
  padding: 0.75rem 1rem;
  color: #333;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.collection-link:hover {
  background-color: #f5f5f5;
}

.collection-list li.selected .collection-link {
  background-color: var(--primary-color);
  color: white;
}


/* Products Section */
.products {
  flex-grow: 1;
  max-width: 0 auto;
  margin: 0 auto;
  padding: 0rem 0rem;
}

.collection-title {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-size: var(--font-size-l);
}

.product-grid {
    padding: 4rem 2rem;
    display: grid;
    /* Flexible grid with a minimum card width of 200px */
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-md);
}
.product-card {
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--background-light)
}

.product-card:hover {
  transform: translateY(-5px);

}

.product-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-image-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background-color: #f9f9f9;
  position: relative;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Fox Hover Container: komplettes Bild anzeigen (nicht zugeschnitten) */
.product-image-container.fox-hover-container .product-image {
  object-fit: contain;
}

.product-card:hover .product-image-container.fox-hover-container .product-image {
  transform: none;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-info {
  padding: 3px;
}

.product-name {
  margin: 0 0 0.5rem 0;
  font-size: var(--font-size-xs);
  color: #333;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--secondary-color);
}

/* Stock Badges */
.out-of-stock-badge,
.low-stock-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  font-size: var(--font-size-xxs);
  font-weight: italic;
  color: white;
}

.out-of-stock-badge {
  background-color: #ff4343;
}

.low-stock-badge {
  background-color: #999999;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 30px;
  border-radius: 2px;
  width: 80%;
  max-width: 900px;
  position: relative;
  animation: modalopen 0.3s;
}

@keyframes modalopen {
  from {opacity: 0; transform: translateY(-50px)}
  to {opacity: 1; transform: translateY(0)}
}

.close-modal {
  position: absolute;
  right: 20px;
  top: 10px;
  color: #aaa;
  font-size: var(--font-size-xl);
  font-weight: bold;
  cursor: pointer;
}

.close-modal:hover {
  color: black;
}

.loading-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px 40px;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1001;
  pointer-events: auto;
}

/* Custom Scrollbar */
.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 2px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 2px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Sidebar Toggle */
#sidebarToggleBtn {
  display: none;
  position: fixed;
  top: 10px;
  right: 2px;
  background: var(--primary-color);
  color: var(--text-color);
  border: none;
  padding: 5px 5px;
  border-radius: 2px;
  z-index: 1100;
  cursor: pointer;
}

#sidebarOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 999;
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 768px) {
  /* Info Box */
  .info-box {
    flex-direction: column;
  }
  .info-item {
    flex: 1 1 auto;
  }
  
  /* Featured Slider */
  .featured-slide {
    flex-direction: column;
    width: 250px;
  }
  
  .featured-image-container,
  .featured-info {
    padding: 0;
    flex: none;
    width: 100%;
  }
  
  .featured-info {
    margin-top: 20px;
    padding-left: 0;
  }
  
  .featured-info h3 {
    font-size: 1.5rem;
  }
  
  .product-price {
    font-size: var(--font-size-s);
  }
  
  .btn-view-details {
    width: 100%;
    text-align: center;
  }
  
  /* Navbar */
  .navbar {
    padding: 0;
    position: relative;
    min-height: 0px;
  }
  
  .navbar-nav {
    display: none;
    position: fixed;
    top: 57px;
    left: 0;
    width: 100%;
    background-color: rgb(255, 255, 255);
    flex-direction: column;
    z-index: 1001;
  }
  
  .navbar-nav.active {
    display: flex;
  }
  
  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);

  }
  
  .drop-nav-link {
    color: rgb(102, 102, 102);
    text-decoration: none;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    position: relative;
  }
  
  .dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    width: 100%;
    background-color: rgba(0,0,0,0.1);
    border-radius: 0;
    padding-left: 20px;
  }
  
  .dropdown-item {
    padding: 12px 20px;
    color: white;
  }
  
  .submenu {
    position: static;
    display: none;
    padding-left: 20px;
    background-color: rgba(0,0,0,0.1);
    box-shadow: none;
  }
  
  .nav-item.active > .dropdown-menu {
    display: block;
  }
  
  .dropdown-submenu.active > .submenu {
    display: block;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  /* Shop Layout */
  .shop-container {
    flex-direction: column;
    padding: 1rem;
    padding-top: 70px;
  }
  
  #sidebarToggleBtn {
    display: block;
  }
  
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    transform: translateX(-100%);
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
  }
  
  .sidebar.active {
    transform: translateX(0);
  }
  
  #sidebarOverlay.active {
    display: block;
  }
  
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  
  .product-image-container {
    height: 180px;
  }
  
  .modal-content {
    width: 80%;
    padding: 15px;
  }

  .navbar-nav {

  margin: -3rem 0rem;

}
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .product-name {
    font-size: var(--font-size-xs);
  }
  
  .product-price {
    font-size: var(--font-size-xs);
  }
}


/* Produkt-Thumbnails */
.product-thumbnails {
  display: none; /* Thumbnails ausgeblendet für mehr Platz */
}

.featured-info {
  text-align: left;
  padding: 0;
}

.featured-info h3 {
  font-size: var(--font-size-xs);
  font-weight: 600;
  margin-bottom: 0.1rem;
  color: #2d3748;
  line-height: 1.2;
}

.product-price {
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: #4a5568;
  margin-bottom: 0.1rem;
}

.product-description {
  display: none; /* Beschreibung ausgeblendet für mehr Platz */
}


/* Duplizierte Slides für nahtlosen Übergang */
.featured-slides-wrapper::after {
  content: '';
  display: flex;
  flex-shrink: 0;
  width: 100%;
}

/* Load More Button Styles */
.load-more-container {
  text-align: center;
  margin: 40px 0;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.load-more-btn {
  background: linear-gradient(135deg, var(--primary-color) 1%, var(--primary-dark) 100%);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 2px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.load-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  background: linear-gradient(15deg, var(--primary-dark) 10%, var(--primary-color) 50%, var(--primary-color1) 100%);

}

.load-more-btn:disabled {
  background: #cccccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.loading-indicator {
  color: #666;
  font-size: 16px;
  font-weight: 600;
  margin-top: 10px;
}

/* Fade-in animation for new products */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card.new-product {
  animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .featured-slider-container {
    padding: 3px;
  }
  
  .featured-slide {
    padding: 0 1px;
  }
  
  .featured-image-container {
    height: 70px;
  }
  
  .featured-content {
    padding-left: 3px;
  }
  
  .featured-info h3 {
    font-size: var(--font-size-xs);
  }
  
  .product-price {
    font-size: var(--font-size-xs);
  }
}

@media (max-width: 480px) {
  .featured-slider-container {
    padding: 2px;
  }
  
  .featured-slide {
    padding: 0;
  }
  
  .featured-image-container {
    height: 60px;
  }
  
  .featured-content {
    padding-left: 2px;
  }
  
  .featured-info h3 {
    font-size: var(--font-size-xs);
    line-height: 1.1;
  }
  
  .product-price {
    font-size: var(--font-size-xxs);
  }
}




/* Slider Navigation Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--secondary-color);
  border-radius: 2px;
  font-size: 20px;
  font-weight: bold;
  color: var(--secondary-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  user-select: none;
}

.slider-arrow:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.slider-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.slider-arrow-left {
  left: 15px;
}

.slider-arrow-right {
  right: 15px;
}

/* Mobile: Kleinere Pfeile */
@media (max-width: 768px) {
  .slider-arrow {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
  
  .slider-arrow-left {
    left: 8px;
  }
  
  .slider-arrow-right {
    right: 8px;
  }
}

@media (max-width: 480px) {
  .slider-arrow {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  
  .slider-arrow-left {
    left: 5px;
  }
  
  .slider-arrow-right {
    right: 5px;
  }
}
/* Featured Products Slider - Kompakte nebeneinander Version */
.featured-slider-container {
  background-color: var(--background-light);
  border-radius: 2px;
  padding: 0px;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
}

.featured-slider-title {
  font-size: var(--font-size-s);
  margin-bottom: 5px;
  margin-top: 0;
  text-align: center;
}

.featured-slider {
  position: relative;
  overflow: hidden;
  cursor: grab;
  width: 100%;
}

.featured-slider:active {
  cursor: grabbing;
}

.featured-slides-wrapper {
  display: flex;
  transition: transform 0.8s ease-in-out;
  width: 100%;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  will-change: transform;
}

.featured-slide {
  flex: 0 0 100%;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 0 2px;
  box-sizing: border-box;
  gap: 0;
  touch-action: pan-y;
  min-width: 100%;
}

.featured-image-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease;
  flex: 0 0 20%;
}

.featured-image-link:hover {
  transform: scale(1.02);
}

.featured-image-container {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.featured-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.featured-image-link:hover .featured-image {
  transform: scale(1.05);
}

.featured-info {
  text-align: left;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 10px;
}

.featured-info h3 {
  font-size: var(--font-size-xs);
  font-weight: 600;
  margin-bottom: 0.1rem;
  color: #2d3748;
  line-height: 1.2;
}

.product-price {
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: #4a5568;
  margin-bottom: 0.1rem;
}

.product-description {
  display: none;
}

/* Produkt-Thumbnails */
.product-thumbnails {
  display: none;
}

/* Slider Navigation Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--secondary-color);
  border-radius: 2px;
  font-size: 20px;
  font-weight: bold;
  color: var(--secondary-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  user-select: none;
}

.slider-arrow:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.slider-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.slider-arrow-left {
  left: 15px;
}

.slider-arrow-right {
  right: 15px;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .featured-slider-container {
    padding: 3px;
  }
  
  .featured-slide {
    padding: 0 1px;
  }
  
  .featured-image-container {
    height: 120px;
  }
  
  .featured-info {
    padding-left: 8px;
  }
  
  .featured-info h3 {
    font-size: var(--font-size-xs);
  }
  
  .product-price {
    font-size: var(--font-size-xs);
  }
  
  .slider-arrow {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
  
  .slider-arrow-left {
    left: 8px;
  }
  
  .slider-arrow-right {
    right: 8px;
  }
}

@media (max-width: 480px) {
  .featured-slider-container {
    padding: 2px;
  }
  
  .featured-slide {
    padding: 0;
  }
  
  .featured-image-container {
    height: 100px;
  }
  
  .featured-info {
    padding-left: 5px;
  }
  
  .featured-info h3 {
    font-size: var(--font-size-xs);
    line-height: 1.1;
  }
  
  .product-price {
    font-size: var(--font-size-xxs);
  }
  
  .slider-arrow {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  
  .slider-arrow-left {
    left: 5px;
  }
  
  .slider-arrow-right {
    right: 5px;
  }
}