
/* Custom CSS theme */
/* ================================================================ */
/* MINERVASTORE - ECWID CUSTOM CSS                                    */
/* Stand: 18.05.2026                                                  */
/* ================================================================ */
/* ============== 1. SPALTEN-LAYOUT ============== */
/* Desktop: 5 Spalten fuer Kategorien */
.ec-size .ec-store .grid__categories .grid-category {
  width: 20% !important;
  box-sizing: border-box !important;
  float: left !important;
}

/* Tablets: 3 Spalten (max 1024px) */
@media (max-width: 1024px) {
  .ec-size .ec-store .grid__categories .grid-category {
    width: 33.33% !important;
  }
}

/* Smartphones: 1 Spalte (max 768px) */
@media (max-width: 768px) {
  .ec-store .ec-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
  }
  .ec-store .grid-product {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    margin-bottom: 20px !important;
    display: block !important;
    float: none !important;
  }
  .grid-product__shadow {
    width: 100% !important;
  }
  .ec-size .ec-store .grid__categories .grid-category {
    width: 100% !important;
    float: none !important;
    display: block !important;
    margin-bottom: 15px !important;
  }
  .ec-size .ec-store .grid-category__image {
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }
}

/* ============== 2. VERKAUF DEAKTIVIEREN FUER MIGRIERTE PRODUKTE ============== */
body:has(.ec-store__product-page .product-details__product-description a[href*="good4pets.store"]) .details-product-purchase,
body:has(.ec-store__product-page .product-details__product-description a[href*="good4pets.store"]) .product-details__action-panel,
body:has(.ec-store__product-page .product-details__product-description a[href*="good4pets.store"]) .details-product-purchase__bag-controls,
body:has(.ec-store__product-page .product-details__product-description a[href*="good4pets.store"]) .details-product-purchase__buynow-controls,
body:has(.ec-store__product-page .product-details__product-description a[href*="good4pets.store"]) .details-product-purchase__checkout-controls,
body:has(.ec-store__product-page .product-details__product-description a[href*="good4pets.store"]) .details-product-purchase__add-buttons,
body:has(.ec-store__product-page .product-details__product-description a[href*="good4pets.store"]) .details-product-purchase__qty,
body:has(.ec-store__product-page .product-details__product-description a[href*="good4pets.store"]) .ec-store [class*="action-panel--sticky"],
body:has(.ec-store__product-page .product-details__product-description a[href*="good4pets.store"]) .ec-store [class*="sticky-add-to-bag"],
body:has(.ec-store__product-page .product-details__product-description a[href*="good4pets.store"]) .ec-store [class*="sticky-buy-now"],
body:has(.ec-store__product-page .product-details__product-description a[href*="good4pets.store"]) .ec-store [class*="mobile-action-panel"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  height: 0 !important;
}
