/* MEK7 Astra Mobile UX – Styles */
@media (max-width: 782px) {
  .mek7-amu-sticky-atc { position: fixed; left: 0; right: 0; bottom: var(--mek7-amu-offset,0); z-index: 9999; background: #111; color: #fff; box-shadow: 0 -6px 18px rgba(0,0,0,.25); }
  .mek7-amu-sticky-atc__inner { display:flex; flex-direction:column; gap:6px; padding:10px 14px; }
  .mek7-amu-sticky-atc__title { font-size:14px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .mek7-amu-sticky-atc__row { display:flex; align-items:center; justify-content:space-between; gap:12px; }
  .mek7-amu-sticky-atc__price { font-weight:700; font-size:15px; color:#fff; }
  .mek7-amu-sticky-atc__btn { background:#38b000; color:#fff; border:0; border-radius:6px; padding:10px 14px; font-weight:700; font-size:14px; }

  body { padding-bottom: calc(64px + var(--mek7-amu-offset,0)); }

  .mek7-amu-filter-toggle { display:inline-block; margin:8px 0 12px; padding:10px 14px; background:#111; color:#fff; border-radius:10px; border:0; }
  .mek7-amu-offcanvas { position: fixed; inset: 0; z-index: 9998; background: rgba(0,0,0,.35); display: block; opacity: 0; transition: opacity .2s ease-in-out; }
  .mek7-amu-offcanvas.is-open { opacity: 1; }
  .mek7-amu-offcanvas__panel { position: absolute; top: 0; bottom: 0; right: 0; width: 86%; max-width: 420px; background: #fff; transform: translateX(100%); transition: transform .2s ease-in-out; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 14px; }
  .mek7-amu-offcanvas.is-open .mek7-amu-offcanvas__panel { transform: translateX(0); }
  .mek7-amu-offcanvas__close { position: absolute; top: 8px; right: 10px; font-size: 28px; background: transparent; border: 0; }
  .mek7-amu-no-scroll { overflow: hidden; touch-action: none; }

  .mek7-amu-toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(72px + var(--mek7-amu-offset,0)); z-index: 9999; background: #111; color: #fff; border-radius: 999px; padding: 10px 14px; opacity: 0; transition: opacity .2s; }
  .mek7-amu-toast.is-show { opacity: 1; }

  .mek7-amu-sticky-checkout { position: fixed; left: 0; right: 0; bottom: var(--mek7-amu-offset,0); z-index: 9999; background: #fff; border-top: 1px solid #e5e7eb; padding: 10px 14px; }
  .mek7-amu-sticky-checkout__btn { width: 100%; padding: 12px 16px; border-radius: 6px; border: 0; background: #111; color: #fff; font-weight: 700; font-size: 16px; }
  body.woocommerce-checkout { padding-bottom: calc(66px + var(--mek7-amu-offset,0)); }
}

/* ===== Moderne Karten (Shop/Kategorien) ===== */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background:#fff; border-radius:14px; overflow:hidden; box-shadow:0 6px 20px rgba(0,0,0,.06);
  transition:transform .15s ease, box-shadow .15s ease;
}
.woocommerce ul.products li.product:hover { transform:translateY(-2px); box-shadow:0 10px 28px rgba(0,0,0,.10); }

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { position:relative; display:block; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link img {
  aspect-ratio:1/1; object-fit:contain; background:#fafafa;
}
.mek7-card__img--hover {
  position:absolute; inset:0; opacity:0; transition:opacity .2s ease; object-fit:contain;
}
.woocommerce ul.products li.product:hover .mek7-card__img--hover { opacity:1; }

.mek7-badge--sale {
  position:absolute; top:10px; left:10px; z-index:2;
  background:#111; color:#fff; font-weight:700; font-size:12px; padding:6px 8px; border-radius:999px;
  box-shadow:0 6px 16px rgba(0,0,0,.18);
}

.woocommerce ul.products li.product .mek7-card__footer {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:12px; margin-top:10px; border-top:1px solid #f1f1f1;
}
.woocommerce ul.products li.product .price { margin:0; font-weight:700; font-size:15px; }
.button.mek7-card__quickadd { margin:0; padding:10px 12px; border-radius:10px; font-weight:700; }

.mek7-toolbar { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:12px; }
.mek7-toolbar__filter { padding:10px 14px; border-radius:10px; background:#111; color:#fff; border:0; }
.mek7-toolbar.sticky { position:sticky; top:0; z-index:8; background:#fff; padding:8px 0; }
