/* ============================
   DIGGIANDI – Shop CSS (shop.css)
   ============================ */

/* 1. Topbar mit Kategorien-Dropdown & Deals */
.shop-topbar {
    background: #fff;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .shop-cats-dropdown {
    position: relative;
  }
  #catToggle {
    background: none;
    border: none;
    font-size: inherit;
    cursor: pointer;
  }
  #catList {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    z-index: 10;
  }
  #catList li {
    padding: 0.3rem 1rem;
  }
  #catList li:hover {
    background: #f4f4f4;
  }
  .shop-cats-dropdown:hover #catList {
    display: block;
  }
  
  .shop-deals-nav a {
    margin: 0 0.75rem;
    color: #333;
    text-decoration: none;
  }
  .shop-deals-nav a:hover {
    color: #7900b6;
  }
  
  /* 2. Hero-Slider (Swiper.js) */
  .shop-hero-slider {
    width: 100%;
    margin-bottom: 2rem;
  }
  .shop-hero-slider img {
    width: 100%;
    display: block;
    object-fit: cover;
  }
  
  /* 3. Bestseller-Sektion */
  .shop-featured-products,
  .shop-all-products {
    padding: 2rem 1rem;
    background: #f9f9f9;
  }
  .shop-featured-products h2,
  .shop-all-products h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: #320b66;
  }
  
  /* 4. Hero-Bereich (falls parallel genutzt) */
  .shop-hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1rem;
    text-align: center;
    background-color: #320b66;
    color: white;
  }
  .shop-hero-container h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }
  
  /* 5. Kategorienbereich (alternative Ansicht) */
  .shop-categories {
    background-color: #1d1b3a;
    padding: 3rem 1rem;
    text-align: center;
  }
  .shop-category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
  }
  .shop-category-card {
    background: #2e2c5f;
    border-radius: 10px;
    padding: 1rem;
    width: 280px;
    color: white;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
  }
  .shop-category-card img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 1rem;
  }
  .experience-btn {
    display: inline-block;
    background-color: #7900b6;
    color: white;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
  }
  
  /* 6. Produktbereich */
  .shop-products {
    padding: 3rem 1rem;
    background-color: #251e45;
    color: white;
  }
  .product-loop-wrapper {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* 7. Layout-Struktur für Shopseite */
  .shop-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
  }
  .shop-sidebar {
    flex: 1 1 250px;
    min-width: 250px;
    background-color: #1d1b3a;
    padding: 1.5rem;
    color: white;
    border-radius: 8px;
  }
  .shop-sidebar h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  .product-category-menu {
    list-style: none;
    padding: 0;
  }
  .product-category-menu li {
    margin-bottom: 0.5rem;
  }
  .product-category-menu a {
    color: #eee;
    text-decoration: none;
  }
  .shop-content {
    flex: 3 1 600px;
    min-width: 300px;
  }
  .shop-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
  }
  
  /* 8. WooCommerce Produkt-Grid */
  ul.products {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  ul.products li.product {
    background-color: #2e2c5f;
    padding: 1rem;
    border-radius: 8px;
    color: white;
    text-align: center;
  }
  ul.products li.product img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
  }
  ul.products li.product h2 {
    font-size: 1.1rem;
    margin: 0.5rem 0;
  }
  ul.products li.product .price {
    font-weight: bold;
    color: #b79cff;
    margin-top: 0.5rem;
  }
  .woocommerce a.button {
    background-color: #7900b6;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 0.5rem;
    display: inline-block;
    text-decoration: none;
  }
  