/* =========================================================================
   Dreamz TCG — Mobile & Tablet Styles (v1.5.47)
   ---------------------------------------------------------------------------
   Alle Regeln in Media Queries eingepackt — Desktop bleibt komplett unberührt.
   Breakpoints:
     ≤ 1199px  Tablet Landscape / kleiner Desktop
     ≤  991px  Tablet Portrait — Mobile-Nav kickt hier ein (Hamburger)
     ≤  767px  Handy Landscape
     ≤  575px  Handy Portrait
     ≤  400px  Kleine Handys
   ========================================================================= */


/* =========================================================================
   MOBILE NAV DRAWER — komplettes CSS für das JS-gebaute Drawer
   Ohne dieses CSS wird die Nav auf Mobile einfach nicht angezeigt.
   ========================================================================= */
.dreamz-mobile-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: 320px !important;
  height: 100vh !important;
  height: 100dvh !important;             /* Modern: dynamic viewport height */
  max-height: 100vh !important;
  max-height: 100dvh !important;
  background: var(--ink-900, #0b0d10) !important;
  border-right: 1px solid var(--border-hairline, rgba(255,255,255,0.08)) !important;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 200;
  /* SCROLL-FIX v1.5.48 — Drawer scrollt eigenständig, ohne dass Body mitgeht */
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;   /* iOS momentum */
  overscroll-behavior: contain !important;         /* Body nicht bouncen lassen */
  touch-action: pan-y !important;                  /* Explizit vertical panning */
  padding: 64px 20px 48px !important;              /* Extra bottom padding für letzten Menüpunkt */
  box-shadow: 4px 0 24px rgba(0,0,0,0.4);
  visibility: hidden;
  pointer-events: none;
  /* iOS safe-area (Notch) */
  padding-top: max(64px, env(safe-area-inset-top, 64px)) !important;
  padding-bottom: max(48px, env(safe-area-inset-bottom, 48px)) !important;
}
.dreamz-mobile-nav.is-open {
  transform: translateX(0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.dreamz-mobile-nav__close {
  position: sticky !important;       /* v1.5.48: bleibt beim Scrollen oben */
  top: 0 !important;
  right: 0 !important;
  margin-left: auto !important;       /* rechts platzieren */
  margin-bottom: 8px !important;
  width: 40px !important;
  height: 40px !important;
  background: var(--ink-900, #0b0d10) !important;
  border: 1px solid var(--border-hairline, rgba(255,255,255,0.1)) !important;
  border-radius: 50% !important;
  color: var(--fg-1, #fff) !important;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 5;                          /* über Menüpunkten wenn gescrollt */
  flex-shrink: 0;
}
.dreamz-mobile-nav__close:hover {
  border-color: var(--brand-turquoise, #00a89c) !important;
  color: var(--brand-turquoise, #00a89c) !important;
}
/* Drawer-Menü: vertikal, große Touch-Targets */
.dreamz-mobile-nav .dreamz-nav,
.dreamz-mobile-nav ul {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  flex-wrap: nowrap !important;
}
.dreamz-mobile-nav .dreamz-nav > li,
.dreamz-mobile-nav .dreamz-nav__item {
  width: 100% !important;
  white-space: normal !important;
  border-bottom: 1px solid var(--border-hairline, rgba(255,255,255,0.06));
}
.dreamz-mobile-nav .dreamz-nav > li:last-child {
  border-bottom: 0 !important;
}
.dreamz-mobile-nav .dreamz-nav a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 14px 8px !important;
  color: var(--fg-1, #fff) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  min-height: 48px !important;  /* iOS-Touch-Target */
  white-space: nowrap !important;
}
.dreamz-mobile-nav .dreamz-nav a:hover,
.dreamz-mobile-nav .dreamz-nav a:active {
  color: var(--brand-turquoise, #00a89c) !important;
  background: rgba(255,255,255,0.03) !important;
}
/* Kein Underline-Effekt im Drawer */
.dreamz-mobile-nav .dreamz-nav__item > a::after,
.dreamz-mobile-nav .dreamz-nav__item > a::before {
  display: none !important;
}
/* Chevron rotiert wenn Submenü offen (falls Toggle-Interaktion) */
.dreamz-mobile-nav .dreamz-nav__chev {
  transition: transform 0.2s;
}
/* Submenüs innen — auf Mobile immer offen anzeigen (kein Hover-Trigger) */
.dreamz-mobile-nav .sub-menu,
.dreamz-mobile-nav .dreamz-nav__submenu {
  position: static !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 0 8px 16px !important;
  margin: 0 !important;
  min-width: 0 !important;
  pointer-events: auto !important;
}
.dreamz-mobile-nav .sub-menu li,
.dreamz-mobile-nav .dreamz-nav__submenu li {
  border-bottom: 0 !important;
}
.dreamz-mobile-nav .sub-menu a,
.dreamz-mobile-nav .dreamz-nav__submenu a {
  padding: 10px 8px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  color: var(--fg-2, rgba(255,255,255,0.7)) !important;
  min-height: 40px !important;
}

/* Drawer-Overlay (dunkler Hintergrund hinter dem Drawer)
   v1.5.52: !important überall damit KEIN gecachter Blur mehr durchkommt */
html body.dreamz-theme .dreamz-cart-overlay,
.dreamz-cart-overlay {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important;
  background: rgba(0,0,0,0.65) !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 199;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
}
/* Body soll NIEMALS blurry werden wenn Drawer offen ist */
html body.dreamz-theme,
html body {
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.dreamz-cart-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* SALE-Button im Mobile-Nav — v1.5.49: ganz OBEN als roter Prominent-Button.
   Nutzt flex order:-1 damit er unabhängig vom Menü-Sortier-Reihenfolge oben steht. */
.dreamz-mobile-nav .dreamz-nav__item--sale,
.dreamz-mobile-nav .menu-sale {
  order: -1 !important;                /* Ganz oben */
  border-bottom: 0 !important;
  margin-bottom: 12px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid var(--border-hairline, rgba(255,255,255,0.08)) !important;
}
.dreamz-mobile-nav .dreamz-nav__item--sale > a,
.dreamz-mobile-nav .menu-sale > a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #FF5A5F 0%, #E63946 100%) !important;
  color: #ffffff !important;
  padding: 12px 20px !important;
  border-radius: 10px !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  box-shadow: 0 3px 12px rgba(230, 57, 70, 0.4) !important;
  text-shadow: 0 1px 0 rgba(0,0,0,0.15) !important;
  min-height: 48px !important;
}
.dreamz-mobile-nav .dreamz-nav__item--sale > a:active,
.dreamz-mobile-nav .menu-sale > a:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.5) !important;
}
/* Kleines 🔥-Feeling: pulse-ähnlicher Glow — subtle */
.dreamz-mobile-nav .dreamz-nav__item--sale > a::before {
  content: '' !important;
  display: inline-block !important;
  width: 8px !important;
  height: 8px !important;
  background: #FFD700 !important;
  border-radius: 50% !important;
  box-shadow: 0 0 8px #FFD700 !important;
  flex-shrink: 0 !important;
}


/* =========================================================================
   ≤ 1199px — Kleinerer Desktop / Tablet-Landscape
   ========================================================================= */
@media (max-width: 1199px) {
  /* Container etwas mehr Innenabstand */
  html body.dreamz-theme .dreamz-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  /* Kategorie-Grid: 4 statt 5 Spalten */
  html body.dreamz-theme.woocommerce-shop ul.products,
  html body.dreamz-theme.tax-product_cat ul.products,
  html body.dreamz-theme.archive.woocommerce ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}


/* =========================================================================
   ≤ 991px — Tablet Portrait — Mobile Layout beginnt
   ========================================================================= */
@media (max-width: 991px) {
  /* HEADER: kompakter, Padding runter */
  html body.dreamz-theme .dreamz-header__inner {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    gap: 8px !important;
  }
  html body.dreamz-theme .dreamz-header__logo img,
  html body.dreamz-theme .dreamz-header__logo .custom-logo {
    max-height: 32px !important;
  }
  html body.dreamz-theme .dreamz-header__wordmark {
    font-size: 18px !important;
  }

  /* Language-Switcher auf Mobile ausblenden (im Drawer verfügbar) */
  html body.dreamz-theme .dreamz-header__actions .dreamz-lang {
    display: none !important;
  }

  /* Header-Icons: gleicher Look, aber weniger Padding-Waste */
  html body.dreamz-theme .dreamz-header__actions {
    gap: 4px !important;
  }
  html body.dreamz-theme .dreamz-icon-btn {
    width: 40px !important;
    height: 40px !important;
  }
  /* Counter-Bubble kleiner damit sie nicht überlappt */
  html body.dreamz-theme .dreamz-cart-count,
  html body.dreamz-theme .dreamz-wishlist-count {
    top: 2px !important;
    right: 2px !important;
    min-width: 16px !important;
    height: 16px !important;
    font-size: 9px !important;
    padding: 0 4px !important;
  }

  /* Kategorie-Grid: 3 Spalten */
  html body.dreamz-theme.woocommerce-shop ul.products,
  html body.dreamz-theme.tax-product_cat ul.products,
  html body.dreamz-theme.archive.woocommerce ul.products,
  html body.dreamz-theme ul.products,
  html body.dreamz-theme .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  /* Sortier-Toolbar: volle Breite */
  html body.dreamz-theme .storefront-sorting {
    margin-bottom: 24px !important;
  }
  html body.dreamz-theme .woocommerce-ordering select,
  html body.dreamz-theme .orderby {
    width: 100% !important;
    max-width: 280px !important;
  }

  /* Kategorie-Header: Titel + Toolbar stacken */
  html body.dreamz-theme .woocommerce-products-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 24px 0 16px !important;
  }
  html body.dreamz-theme .woocommerce-products-header__title {
    font-size: clamp(24px, 5vw, 32px) !important;
  }

  /* Produktseite (Single) */
  html body.dreamz-theme div.product .woocommerce-product-gallery {
    width: 100% !important;
    float: none !important;
    margin-bottom: 24px !important;
  }
  html body.dreamz-theme div.product .summary {
    width: 100% !important;
    float: none !important;
  }
  html body.dreamz-theme div.product .product_title,
  html body.dreamz-theme .woocommerce div.product .product_title {
    font-size: clamp(22px, 4vw, 32px) !important;
  }

  /* Warenkorb + Checkout: Tabellen als Cards */
  html body.dreamz-theme .woocommerce-cart table.shop_table,
  html body.dreamz-theme .woocommerce table.shop_table_responsive {
    display: block !important;
    width: 100% !important;
  }
  html body.dreamz-theme .woocommerce-cart table.shop_table thead {
    display: none !important;
  }
  html body.dreamz-theme .woocommerce-cart table.shop_table tbody,
  html body.dreamz-theme .woocommerce-cart table.shop_table tr {
    display: block !important;
    width: 100% !important;
  }
  html body.dreamz-theme .woocommerce-cart table.shop_table tr {
    background: var(--bg-card, #14181d) !important;
    border: 1px solid var(--border-default, rgba(255,255,255,0.1)) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    margin-bottom: 12px !important;
  }
  html body.dreamz-theme .woocommerce-cart table.shop_table td {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border: 0 !important;
    padding: 8px 0 !important;
    width: 100% !important;
    text-align: right !important;
  }
  html body.dreamz-theme .woocommerce-cart table.shop_table td::before {
    content: attr(data-title) !important;
    font-weight: 600;
    color: var(--fg-3, rgba(255,255,255,0.5));
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: left !important;
  }
  html body.dreamz-theme .woocommerce-cart table.shop_table td.product-thumbnail {
    justify-content: center !important;
  }
  html body.dreamz-theme .woocommerce-cart table.shop_table td.product-thumbnail::before {
    display: none !important;
  }

  /* Checkout-Form: Zwei-Spalten-Layout stacken */
  html body.dreamz-theme .woocommerce-checkout .col2-set,
  html body.dreamz-theme .woocommerce .col2-set {
    display: block !important;
  }
  html body.dreamz-theme .woocommerce-checkout .col2-set .col-1,
  html body.dreamz-theme .woocommerce-checkout .col2-set .col-2,
  html body.dreamz-theme .woocommerce .col2-set .col-1,
  html body.dreamz-theme .woocommerce .col2-set .col-2 {
    width: 100% !important;
    float: none !important;
    max-width: 100% !important;
    margin-bottom: 20px !important;
  }
  html body.dreamz-theme .woocommerce form .form-row-first,
  html body.dreamz-theme .woocommerce form .form-row-last {
    width: 100% !important;
    float: none !important;
  }
  html body.dreamz-theme #order_review,
  html body.dreamz-theme #order_review_heading {
    width: 100% !important;
  }

  /* Mein-Konto: Sidebar oben, Content darunter */
  html body.dreamz-theme .woocommerce-account .woocommerce-MyAccount-navigation,
  html body.dreamz-theme .woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
    float: none !important;
  }
  html body.dreamz-theme .woocommerce-MyAccount-navigation {
    margin-bottom: 24px !important;
  }
  html body.dreamz-theme .woocommerce-MyAccount-navigation ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  html body.dreamz-theme .woocommerce-MyAccount-navigation li {
    margin: 0 !important;
    width: auto !important;
  }
  html body.dreamz-theme .woocommerce-MyAccount-navigation li a {
    padding: 10px 14px !important;
    background: var(--bg-card, #14181d) !important;
    border-radius: 8px !important;
    border: 1px solid var(--border-hairline, rgba(255,255,255,0.06)) !important;
    font-size: 12px !important;
  }
  /* Adress-Kacheln: untereinander */
  html body.dreamz-theme .u-columns.col2-set.addresses {
    display: block !important;
  }
  html body.dreamz-theme .u-columns.col2-set.addresses .u-column1,
  html body.dreamz-theme .u-columns.col2-set.addresses .u-column2 {
    width: 100% !important;
    float: none !important;
    margin-bottom: 20px !important;
  }
}


/* =========================================================================
   ≤ 767px — Handy Landscape / Tablet Portrait klein
   ========================================================================= */
@media (max-width: 767px) {
  /* Sprachwechsler + Suche auf schmalen Screens ausblenden — im Drawer verfügbar */
  html body.dreamz-theme .dreamz-header__actions .dreamz-search-btn {
    display: none !important;
  }

  /* Kategorie-Grid: 2 Spalten */
  html body.dreamz-theme.woocommerce-shop ul.products,
  html body.dreamz-theme.tax-product_cat ul.products,
  html body.dreamz-theme.archive.woocommerce ul.products,
  html body.dreamz-theme ul.products,
  html body.dreamz-theme .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  html body.dreamz-theme .dreamz-card__title { font-size: 13px !important; }
  html body.dreamz-theme .dreamz-card__body { padding: 10px !important; }

  /* Hero: kleinere Text-Skalen */
  html body.dreamz-theme .dreamz-hero h1,
  html body.dreamz-theme .dreamz-hero__title {
    font-size: clamp(28px, 8vw, 44px) !important;
  }
  html body.dreamz-theme .dreamz-hero p {
    font-size: 15px !important;
  }

  /* Trust-Bar / Feature-Icons: 2 Spalten Grid statt Flex */
  html body.dreamz-theme .dreamz-trust,
  html body.dreamz-theme .dreamz-features {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  /* Section-Padding runter */
  html body.dreamz-theme section.dreamz-section,
  html body.dreamz-theme .dreamz-section {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }

  /* FOOTER: alles einspaltig */
  html body.dreamz-theme .dreamz-footer__top {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  html body.dreamz-theme .dreamz-footer__brand,
  html body.dreamz-theme .dreamz-footer__newsletter {
    grid-column: 1 !important;
  }
  html body.dreamz-theme .dreamz-footer__bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    text-align: left !important;
  }
  html body.dreamz-theme .dreamz-footer__payments {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  /* Buttons: bequemer Touch-Target */
  html body.dreamz-theme .dreamz-btn,
  html body.dreamz-theme button.button,
  html body.dreamz-theme .woocommerce a.button,
  html body.dreamz-theme .woocommerce button.button {
    min-height: 44px !important;
  }
}


/* =========================================================================
   ≤ 575px — Handy Portrait
   ========================================================================= */
@media (max-width: 575px) {
  html body.dreamz-theme .dreamz-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Kategorie-Grid: bleibt 2 Spalten, aber noch enger */
  html body.dreamz-theme.woocommerce-shop ul.products,
  html body.dreamz-theme.tax-product_cat ul.products,
  html body.dreamz-theme.archive.woocommerce ul.products,
  html body.dreamz-theme ul.products,
  html body.dreamz-theme .woocommerce ul.products {
    gap: 8px !important;
  }

  /* Header noch kompakter */
  html body.dreamz-theme .dreamz-header__logo img,
  html body.dreamz-theme .dreamz-header__logo .custom-logo {
    max-height: 28px !important;
  }
  html body.dreamz-theme .dreamz-header__wordmark {
    font-size: 16px !important;
  }
  html body.dreamz-theme .dreamz-icon-btn {
    width: 36px !important;
    height: 36px !important;
  }

  /* Adress-Button auf Mobile — Text ausblenden, nur Icon */
  html body.dreamz-theme .woocommerce-Address-title {
    flex-wrap: nowrap !important;
  }

  /* Trust-Bar: einspaltig */
  html body.dreamz-theme .dreamz-trust,
  html body.dreamz-theme .dreamz-features {
    grid-template-columns: 1fr !important;
  }

  /* Titel etwas kleiner */
  html body.dreamz-theme h1 { font-size: clamp(24px, 7vw, 36px) !important; }
  html body.dreamz-theme h2 { font-size: clamp(20px, 6vw, 28px) !important; }
  html body.dreamz-theme h3 { font-size: clamp(17px, 5vw, 22px) !important; }
}


/* =========================================================================
   ≤ 400px — Kleine Handys (iPhone SE etc.)
   ========================================================================= */
@media (max-width: 400px) {
  /* Kategorie-Grid: 1 Spalte auf ganz kleinen Screens? — behalten wir 2,
     ist immernoch nutzbar. Nur Card-Inhalte weiter reduzieren */
  html body.dreamz-theme .dreamz-card__body { padding: 8px !important; }
  html body.dreamz-theme .dreamz-card__title { font-size: 12px !important; }
  html body.dreamz-theme .dreamz-card__price,
  html body.dreamz-theme .dreamz-card .price { font-size: 13px !important; }

  html body.dreamz-theme .dreamz-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Konto-Nav auf schmalen Screens noch kompakter */
  html body.dreamz-theme .woocommerce-MyAccount-navigation li a {
    padding: 8px 10px !important;
    font-size: 11px !important;
  }
}


/* =========================================================================
   IMAGES + MEDIA — Overflow verhindern
   ========================================================================= */
@media (max-width: 991px) {
  html body.dreamz-theme img,
  html body.dreamz-theme video,
  html body.dreamz-theme iframe {
    max-width: 100% !important;
    height: auto;
  }
  /* Body/Html soll niemals horizontal scrollen */
  html, body {
    overflow-x: hidden !important;
  }
}


/* =========================================================================
   SUCH-PANEL auf Mobile — full-screen overlay
   ========================================================================= */
@media (max-width: 767px) {
  html body.dreamz-theme .dreamz-search-panel {
    padding: 16px !important;
  }
  html body.dreamz-theme .dreamz-search-form__input {
    font-size: 16px !important; /* iOS zoom disabler */
    height: 44px !important;
  }
  html body.dreamz-theme .dreamz-search-form__submit {
    padding: 0 16px !important;
    font-size: 12px !important;
  }
}


/* =========================================================================
   FORM INPUTS auf Mobile — 16px verhindert iOS-Zoom
   ========================================================================= */
@media (max-width: 767px) {
  html body.dreamz-theme input[type="text"],
  html body.dreamz-theme input[type="email"],
  html body.dreamz-theme input[type="password"],
  html body.dreamz-theme input[type="tel"],
  html body.dreamz-theme input[type="number"],
  html body.dreamz-theme input[type="search"],
  html body.dreamz-theme select,
  html body.dreamz-theme textarea {
    font-size: 16px !important;
  }
}


/* =========================================================================
   v1.5.54 — MOBILE FIXES für Cart-Seite, Konto-Seite, Cart-Drawer
   Diese Regeln kommen als LETZTES → gewinnen alle Kaskaden-Kämpfe.
   ========================================================================= */

@media (max-width: 991px) {
  /* ─── CART-SEITE ─────────────────────────────────────────
     Zwei-Spalten-Grid stacken. Beide Boxen 100% breit. */
  html body.dreamz-theme.woocommerce-cart .woocommerce,
  html body.dreamz-theme.woocommerce-checkout .woocommerce,
  html body.dreamz-theme .woocommerce-cart .woocommerce,
  html body.dreamz-theme .woocommerce-checkout .woocommerce {
    display: block !important;
    grid-template-columns: none !important;
    padding: 24px 16px 40px !important;
  }
  html body.dreamz-theme.woocommerce-cart .cart-page__grid,
  html body.dreamz-theme.woocommerce-cart form.woocommerce-cart-form .cart-page__grid,
  html body.dreamz-theme.woocommerce-cart form.dreamz-cart-form .cart-page__grid {
    display: block !important;
    grid-template-columns: none !important;
    width: 100% !important;
  }
  html body.dreamz-theme.woocommerce-cart .cart-page__grid > .cart-items,
  html body.dreamz-theme.woocommerce-cart .cart-page__grid > .cart-summary,
  html body.dreamz-theme.woocommerce-cart .cart-page__grid > aside.cart-summary {
    display: block !important;
    grid-column: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 24px !important;
  }
  /* Cart-Zeile / Item nicht mehr pro Buchstabe umbrechen */
  html body.dreamz-theme.woocommerce-cart .cart-row,
  html body.dreamz-theme.woocommerce-cart .cart-row *,
  html body.dreamz-theme.woocommerce-cart .cart-items *,
  html body.dreamz-theme.woocommerce-cart .product-name,
  html body.dreamz-theme.woocommerce-cart .product-name a {
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    min-width: 0 !important;
  }
  html body.dreamz-theme.woocommerce-cart .product-name a {
    display: inline-block !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;   /* nur bei sehr langen Wörtern */
    overflow-wrap: break-word !important;
  }

  /* Cart-Zeilen als Card-Liste (nicht Tabelle) */
  html body.dreamz-theme.woocommerce-cart table.shop_table.cart,
  html body.dreamz-theme.woocommerce-cart table.shop_table_responsive {
    display: block !important;
    width: 100% !important;
    background: transparent !important;
    border: 0 !important;
  }
  html body.dreamz-theme.woocommerce-cart table.shop_table.cart thead {
    display: none !important;
  }
  html body.dreamz-theme.woocommerce-cart table.shop_table.cart tbody,
  html body.dreamz-theme.woocommerce-cart table.shop_table.cart tr.cart_item,
  html body.dreamz-theme.woocommerce-cart table.shop_table.cart tr {
    display: block !important;
    width: 100% !important;
  }
  html body.dreamz-theme.woocommerce-cart table.shop_table.cart tr.cart_item {
    background: var(--bg-card, #14181d) !important;
    border: 1px solid var(--border-default, rgba(255,255,255,0.1)) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    margin-bottom: 12px !important;
    display: grid !important;
    grid-template-columns: 72px 1fr !important;
    gap: 12px !important;
    align-items: start !important;
  }
  html body.dreamz-theme.woocommerce-cart table.shop_table.cart tr.cart_item td {
    display: block !important;
    padding: 4px 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: left !important;
  }
  /* Bild in erste Grid-Zelle spanned zwei Zeilen */
  html body.dreamz-theme.woocommerce-cart table.shop_table.cart tr.cart_item td.product-thumbnail,
  html body.dreamz-theme.woocommerce-cart table.shop_table.cart tr.cart_item td.product-image {
    grid-column: 1 !important;
    grid-row: 1 / span 6 !important;
    padding: 0 !important;
  }
  html body.dreamz-theme.woocommerce-cart table.shop_table.cart tr.cart_item td.product-thumbnail img {
    width: 72px !important;
    height: 72px !important;
    max-width: 72px !important;
    max-height: 72px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
  }
  /* Name + Preis + Menge + Zwischensumme in rechte Grid-Spalte, gestacked */
  html body.dreamz-theme.woocommerce-cart table.shop_table.cart tr.cart_item td.product-name {
    grid-column: 2 !important;
    grid-row: 1 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
  }
  html body.dreamz-theme.woocommerce-cart table.shop_table.cart tr.cart_item td.product-price {
    grid-column: 2 !important;
    grid-row: 2 !important;
    font-size: 13px !important;
    color: var(--fg-3, rgba(255,255,255,0.6)) !important;
  }
  html body.dreamz-theme.woocommerce-cart table.shop_table.cart tr.cart_item td.product-quantity {
    grid-column: 2 !important;
    grid-row: 3 !important;
    padding-top: 8px !important;
  }
  html body.dreamz-theme.woocommerce-cart table.shop_table.cart tr.cart_item td.product-subtotal {
    grid-column: 2 !important;
    grid-row: 4 !important;
    padding-top: 8px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--brand-turquoise, #00a89c) !important;
  }
  html body.dreamz-theme.woocommerce-cart table.shop_table.cart tr.cart_item td.product-subtotal::before {
    content: 'Zwischensumme: ' !important;
    color: var(--fg-3, rgba(255,255,255,0.5)) !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    font-weight: 600 !important;
    margin-right: 6px !important;
  }
  html body.dreamz-theme.woocommerce-cart table.shop_table.cart tr.cart_item td.product-remove {
    grid-column: 2 !important;
    grid-row: 5 !important;
    padding-top: 8px !important;
    text-align: left !important;
  }
  /* Cart-Actions (Update + Coupon) unter der Card-Liste */
  html body.dreamz-theme.woocommerce-cart table.shop_table.cart tr.actions {
    display: block !important;
    background: var(--bg-card, #14181d) !important;
    border: 1px solid var(--border-default, rgba(255,255,255,0.1)) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    margin-bottom: 12px !important;
  }
  html body.dreamz-theme.woocommerce-cart .coupon {
    flex-wrap: wrap !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 8px !important;
  }
  html body.dreamz-theme.woocommerce-cart .coupon input[type="text"] {
    flex: 1 1 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    height: 42px !important;
  }
  html body.dreamz-theme.woocommerce-cart .coupon button {
    width: 100% !important;
  }


  /* ─── MEIN-KONTO-SEITE ─────────────────────────────────────
     Sidebar oben, Content darunter, keine engen Spalten mehr */
  html body.dreamz-theme.woocommerce-account .woocommerce {
    display: block !important;
  }
  html body.dreamz-theme.woocommerce-account .woocommerce-MyAccount-navigation,
  html body.dreamz-theme.woocommerce-account nav.woocommerce-MyAccount-navigation {
    width: 100% !important;
    float: none !important;
    max-width: 100% !important;
    margin: 0 0 20px !important;
  }
  html body.dreamz-theme.woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
    float: none !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
  /* Sidebar-Nav als horizontale Pill-Reihe */
  html body.dreamz-theme.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    background: transparent !important;
    border: 0 !important;
  }
  html body.dreamz-theme.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    border: 0 !important;
    background: transparent !important;
    flex: 0 0 auto !important;
  }
  html body.dreamz-theme.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: inline-block !important;
    padding: 8px 12px !important;
    background: var(--bg-card, #14181d) !important;
    border: 1px solid var(--border-hairline, rgba(255,255,255,0.08)) !important;
    border-radius: 8px !important;
    color: var(--fg-2, rgba(255,255,255,0.7)) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }
  html body.dreamz-theme.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
  html body.dreamz-theme.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--dashboard.is-active a,
  html body.dreamz-theme.woocommerce-account .woocommerce-MyAccount-navigation .is-active > a {
    background: var(--brand-turquoise, #00a89c) !important;
    border-color: var(--brand-turquoise, #00a89c) !important;
    color: var(--ink-void, #000) !important;
  }
  /* Content-Bereich: Text darf nicht pro Buchstabe umbrechen */
  html body.dreamz-theme.woocommerce-account .woocommerce-MyAccount-content,
  html body.dreamz-theme.woocommerce-account .woocommerce-MyAccount-content * {
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    min-width: 0 !important;
  }
  html body.dreamz-theme.woocommerce-account .woocommerce-MyAccount-content p {
    max-width: 100% !important;
    line-height: 1.6 !important;
  }
}


/* =========================================================================
   v1.5.54 — CART-DRAWER Fixes (alle Screens)
   Weglot-Button-Position beachten, Bottom-Padding erhöhen,
   Item-Layout stabiler.
   ========================================================================= */

/* Drawer bottom-padding erhöhen damit Weglot-Button nicht die Kasse-Buttons verdeckt.
   Weglot rendert unten rechts einen Flag-Button ~50px hoch, wir müssen darüber bleiben. */
.dreamz-cart-drawer .widget_shopping_cart_content .woocommerce-mini-cart__buttons,
.dreamz-cart-drawer .widget_shopping_cart_content p.buttons {
  padding-bottom: 76px !important; /* Platz für Weglot-Button unten rechts */
}

/* Item-Zeile im Drawer nochmal fixen: Bild darf NIE unter dem Text liegen.
   Grid mit min-width:0 damit lange Namen nicht überlaufen. */
.dreamz-cart-drawer .widget_shopping_cart_content li.mini_cart_item,
.dreamz-cart-drawer .widget_shopping_cart_content li.woocommerce-mini-cart-item {
  min-width: 0 !important;
  grid-template-columns: 72px minmax(0, 1fr) !important;
  gap: 14px !important;
  padding: 18px 0 !important;
}
.dreamz-cart-drawer .widget_shopping_cart_content li img {
  width: 72px !important;
  height: 72px !important;
  max-width: 72px !important;
  max-height: 72px !important;
  flex-shrink: 0 !important;
}
/* Rechte Spalte flexen + korrekt stacken */
.dreamz-cart-drawer .widget_shopping_cart_content li > a:not(.remove) {
  min-width: 0 !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  font-size: 13.5px !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  padding-right: 40px !important;
}
/* Menge-Zeile: kein margin-top mehr — nutz stattdessen normalen block-Fluss */
.dreamz-cart-drawer .widget_shopping_cart_content li .quantity {
  grid-column: 2 !important;
  grid-row: auto !important;
  margin-top: 6px !important;
  align-self: auto !important;
  font-size: 12.5px !important;
  min-width: 0 !important;
}


/* =========================================================================
   v1.5.56 — CART-DRAWER FINAL LAYOUT FIX
   Nuklear-spezifische Selektoren am body.dreamz-theme verankert.
   Diese Regeln laden zuletzt und gewinnen alle Kaskaden-Kämpfe.
   ========================================================================= */

/* ─── LI-Container: Grid mit fixer Bild-Spalte + flex-1 Text ─── */
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content ul,
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content ul.cart_list,
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content ul.woocommerce-mini-cart,
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content ul.product_list_widget {
  list-style: none !important;
  padding: 0 24px !important;
  margin: 0 !important;
}

html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content ul li,
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content ul.cart_list li,
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content ul.woocommerce-mini-cart li,
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content ul.product_list_widget li,
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li.mini_cart_item,
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li.woocommerce-mini-cart-item {
  display: grid !important;
  grid-template-columns: 72px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  column-gap: 14px !important;
  row-gap: 8px !important;
  padding: 18px 0 !important;
  margin: 0 !important;
  list-style: none !important;
  list-style-type: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  background: transparent !important;
  position: relative !important;
  align-items: start !important;
}
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li:last-child {
  border-bottom: 0 !important;
}
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li::before,
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li::marker {
  display: none !important;
  content: '' !important;
}

/* Bild links (Grid col 1, span 2 rows) */
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li img {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  width: 72px !important;
  height: 72px !important;
  max-width: 72px !important;
  min-width: 72px !important;
  max-height: 72px !important;
  min-height: 72px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  display: block !important;
}

/* Produkt-Link (Name) — grid col 2 row 1, füllt Breite */
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li > a:not(.remove):not(.remove_from_cart_button) {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding: 0 44px 0 0 !important;  /* rechts Platz fürs X */
  margin: 0 !important;
  color: var(--fg-1, #ffffff) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  display: block !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
}
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li > a:not(.remove):hover {
  color: var(--brand-turquoise, #00a89c) !important;
}

/* Menge + Preise — grid col 2 row 2, ganze Breite mit space-between */
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li .quantity {
  grid-column: 2 !important;
  grid-row: 2 !important;
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  height: auto !important;
  overflow: visible !important;
  font-size: 13px !important;
  color: var(--fg-3, rgba(255,255,255,0.6)) !important;
  font-weight: 500 !important;
  flex-wrap: nowrap !important;
}
/* Menge-Text "3 ×" links */
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li .quantity {
  /* Der Textnode "3 ×" ist der erste Content im .quantity — bleibt links durch space-between */
}

/* Alter Preis (del) — mittig, klein, durchgestrichen */
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li .quantity del {
  display: inline-block !important;
  margin-left: auto !important;
  margin-right: 8px !important;
  color: rgba(255,255,255,0.35) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
  background: transparent !important;
  padding: 0 !important;
  order: 2 !important;
}
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li .quantity del .amount,
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li .quantity del .woocommerce-Price-amount {
  color: rgba(255,255,255,0.35) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
  background: transparent !important;
}

/* Neuer Preis (ins) — rechts, Türkis, groß */
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li .quantity ins {
  display: inline-block !important;
  margin-left: 0 !important;
  background: transparent !important;
  text-decoration: none !important;
  order: 3 !important;
}
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li .quantity ins .amount,
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li .quantity ins .woocommerce-Price-amount {
  color: var(--brand-turquoise, #00a89c) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  background: transparent !important;
  text-decoration: none !important;
}

/* Einzelner Preis (kein Sale) — rechts, Türkis */
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li .quantity > .amount,
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li .quantity > .woocommerce-Price-amount {
  margin-left: auto !important;
  color: var(--brand-turquoise, #00a89c) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  background: transparent !important;
}

/* Menge-Buttons (falls WC-Mini-Cart die anzeigt) unterdrücken — nur Text */
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li .quantity .qty-minus,
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li .quantity .qty-plus,
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li .quantity input.qty {
  display: none !important;
}


/* ─── X-Remove-Button: absolut oben rechts ─── */
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li a.remove,
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li a.remove_from_cart_button {
  position: absolute !important;
  top: 18px !important;
  right: 0 !important;
  grid-column: unset !important;
  grid-row: unset !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 50% !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
  text-align: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 5 !important;
  box-shadow: none !important;
  transition: all 0.2s !important;
  align-self: unset !important;
  justify-self: unset !important;
  aspect-ratio: 1 !important;
  overflow: hidden !important;
}
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li a.remove::before,
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li a.remove_from_cart_button::before {
  content: '' !important;
  display: block !important;
  width: 12px !important;
  height: 12px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  opacity: 0.7 !important;
  position: static !important;
  transition: opacity 0.2s !important;
}
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li a.remove:hover,
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li a.remove_from_cart_button:hover {
  background: #FF5A5F !important;
  border-color: #FF5A5F !important;
}
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li a.remove:hover::before,
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li a.remove_from_cart_button:hover::before {
  opacity: 1 !important;
}
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li a.remove svg,
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li a.remove_from_cart_button svg,
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li a.remove i {
  display: none !important;
}


/* ─── "zzgl. Versand"-Hinweis unter Zwischensumme ─── */
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content p.total {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 20px 24px 4px !important;
  margin: 0 !important;
  background: transparent !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  border-bottom: 0 !important;
  font-size: 13px !important;
  color: rgba(255,255,255,0.7) !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content p.total::after {
  /* Kein hard-content-after — Versand-Hinweis wird als separates ::after des total-Blocks eingebracht */
  content: '' !important;
  display: none !important;
}
/* Versand-Hinweis als kleines Sub-Element nach Total */
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content .dreamz-shipping-note {
  padding: 0 24px 16px !important;
  margin: 0 !important;
  font-size: 11px !important;
  color: rgba(255,255,255,0.45) !important;
  letter-spacing: 0.04em !important;
  text-align: right !important;
  font-style: normal !important;
}
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content .dreamz-shipping-note a {
  color: var(--brand-turquoise, #00a89c) !important;
  text-decoration: none !important;
}
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content p.total .amount,
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content p.total .woocommerce-Price-amount {
  color: var(--brand-turquoise, #00a89c) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}


/* ─── Buttons unten — nahtlos, kein extra Kasten ─── */
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content p.buttons,
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content .woocommerce-mini-cart__buttons {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 8px 24px 76px !important;  /* 76px bottom für Weglot */
  padding-bottom: max(76px, calc(76px + env(safe-area-inset-bottom, 0px))) !important;
  background: transparent !important;
}
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content p.buttons a,
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content .woocommerce-mini-cart__buttons a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 50px !important;
  padding: 0 20px !important;
  margin: 0 !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: all 0.2s !important;
  box-shadow: none !important;
  float: none !important;
}
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content p.buttons a:first-child {
  background: transparent !important;
  border: 1.5px solid rgba(255,255,255,0.15) !important;
  color: var(--fg-1, #fff) !important;
}
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content p.buttons a:first-child:hover {
  border-color: var(--brand-turquoise, #00a89c) !important;
  color: var(--brand-turquoise, #00a89c) !important;
}
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content p.buttons a.checkout,
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content p.buttons a:last-child:not(:first-child) {
  background: linear-gradient(135deg, #00a89c 0%, #007a72 100%) !important;
  border: 0 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 168, 156, 0.25) !important;
  text-shadow: 0 1px 0 rgba(0,0,0,0.15) !important;
}


/* =========================================================================
   v1.5.59 — Bestellungs-Seite Mobile (My Account → Bestellungen)
   Tabelle → Card-Layout: jede Bestellung als eigenes Card mit klaren Labels.
   Auch für Bestell-Detail-Seite (view-order): Item-Tabelle stackt.
   ========================================================================= */

@media (max-width: 767px) {

  /* ─── Bestellungs-Übersicht (my-account/orders) ─── */
  html body.dreamz-theme.woocommerce-account table.woocommerce-orders-table,
  html body.dreamz-theme.woocommerce-account table.my_account_orders,
  html body.dreamz-theme.woocommerce-account .woocommerce-MyAccount-orders {
    display: block !important;
    width: 100% !important;
    border: 0 !important;
    background: transparent !important;
  }
  /* Header verstecken — Labels kommen als data-title pro Zelle */
  html body.dreamz-theme.woocommerce-account table.woocommerce-orders-table thead,
  html body.dreamz-theme.woocommerce-account table.my_account_orders thead {
    display: none !important;
  }
  html body.dreamz-theme.woocommerce-account table.woocommerce-orders-table tbody,
  html body.dreamz-theme.woocommerce-account table.my_account_orders tbody {
    display: block !important;
    width: 100% !important;
  }
  /* Jede Zeile = 1 Card */
  html body.dreamz-theme.woocommerce-account table.woocommerce-orders-table tbody tr,
  html body.dreamz-theme.woocommerce-account table.my_account_orders tbody tr {
    display: block !important;
    width: 100% !important;
    background: var(--bg-card, #14181d) !important;
    border: 1px solid var(--border-hairline, rgba(255,255,255,0.08)) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    margin-bottom: 12px !important;
  }
  /* Zellen als Label-Wert-Zeilen */
  html body.dreamz-theme.woocommerce-account table.woocommerce-orders-table tbody td,
  html body.dreamz-theme.woocommerce-account table.my_account_orders tbody td {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 8px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    text-align: right !important;
    color: var(--fg-1, #fff) !important;
    font-size: 14px !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  html body.dreamz-theme.woocommerce-account table.woocommerce-orders-table tbody td:last-child,
  html body.dreamz-theme.woocommerce-account table.my_account_orders tbody td:last-child {
    border-bottom: 0 !important;
    padding-top: 12px !important;
  }
  /* Label vor jeder Zelle via data-title */
  html body.dreamz-theme.woocommerce-account table.woocommerce-orders-table tbody td::before,
  html body.dreamz-theme.woocommerce-account table.my_account_orders tbody td::before {
    content: attr(data-title) ": " !important;
    display: inline-block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: var(--fg-3, rgba(255,255,255,0.5)) !important;
    text-align: left !important;
    flex: 0 0 auto !important;
    margin-right: 8px !important;
  }
  /* Bestell-Nummer prominent */
  html body.dreamz-theme.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number,
  html body.dreamz-theme.woocommerce-account table.woocommerce-orders-table td.order-number,
  html body.dreamz-theme.woocommerce-account table.my_account_orders td.order-number {
    font-size: 16px !important;
    font-weight: 700 !important;
  }
  html body.dreamz-theme.woocommerce-account table.woocommerce-orders-table td.order-number a,
  html body.dreamz-theme.woocommerce-account table.my_account_orders td.order-number a {
    color: var(--brand-turquoise, #00a89c) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
  }
  /* Datum ohne Umbruch */
  html body.dreamz-theme.woocommerce-account table.woocommerce-orders-table td.order-date,
  html body.dreamz-theme.woocommerce-account table.my_account_orders td.order-date {
    white-space: nowrap !important;
  }
  /* Status als Pill */
  html body.dreamz-theme.woocommerce-account table.woocommerce-orders-table td.order-status,
  html body.dreamz-theme.woocommerce-account table.my_account_orders td.order-status {
    white-space: normal !important;
  }
  html body.dreamz-theme.woocommerce-account table.woocommerce-orders-table td.order-status::after,
  html body.dreamz-theme.woocommerce-account table.my_account_orders td.order-status::after {
    content: '' !important;
    display: none !important;
  }
  /* Aktionen (Anzeigen etc) — als Button-Reihe unter der Zeile, volle Breite */
  html body.dreamz-theme.woocommerce-account table.woocommerce-orders-table td.order-actions,
  html body.dreamz-theme.woocommerce-account table.my_account_orders td.order-actions,
  html body.dreamz-theme.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: stretch !important;
    gap: 8px !important;
    padding-top: 12px !important;
    text-align: center !important;
  }
  html body.dreamz-theme.woocommerce-account table.woocommerce-orders-table td.order-actions::before,
  html body.dreamz-theme.woocommerce-account table.my_account_orders td.order-actions::before {
    display: none !important;
  }
  html body.dreamz-theme.woocommerce-account table.woocommerce-orders-table td.order-actions .button,
  html body.dreamz-theme.woocommerce-account table.my_account_orders td.order-actions .button,
  html body.dreamz-theme.woocommerce-account table.woocommerce-orders-table td.order-actions a,
  html body.dreamz-theme.woocommerce-account table.my_account_orders td.order-actions a {
    flex: 1 1 auto !important;
    min-width: 100px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 40px !important;
    padding: 0 14px !important;
    background: var(--brand-turquoise, #00a89c) !important;
    color: var(--ink-void, #000) !important;
    border: 0 !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    margin: 0 !important;
  }
  html body.dreamz-theme.woocommerce-account table.woocommerce-orders-table td.order-actions a:hover,
  html body.dreamz-theme.woocommerce-account table.my_account_orders td.order-actions a:hover {
    background: var(--brand-turquoise-hover, #00c2b4) !important;
    transform: translateY(-1px);
  }
  /* "Cancel"-Button in sekundär */
  html body.dreamz-theme.woocommerce-account table.woocommerce-orders-table td.order-actions a.cancel,
  html body.dreamz-theme.woocommerce-account table.my_account_orders td.order-actions a.cancel {
    background: transparent !important;
    color: var(--fg-2, rgba(255,255,255,0.7)) !important;
    border: 1px solid var(--border-hairline, rgba(255,255,255,0.12)) !important;
  }


  /* ─── Bestell-DETAIL-Seite (view-order/N) ─── */
  html body.dreamz-theme.woocommerce-view-order table.woocommerce-table--order-details,
  html body.dreamz-theme.woocommerce-view-order table.shop_table.order_details,
  html body.dreamz-theme.woocommerce-order-received table.woocommerce-table--order-details,
  html body.dreamz-theme.woocommerce-order-received table.shop_table.order_details {
    display: block !important;
    width: 100% !important;
    background: transparent !important;
    border: 0 !important;
  }
  html body.dreamz-theme.woocommerce-view-order table.woocommerce-table--order-details thead,
  html body.dreamz-theme.woocommerce-order-received table.woocommerce-table--order-details thead {
    display: none !important;
  }
  html body.dreamz-theme.woocommerce-view-order table.woocommerce-table--order-details tbody,
  html body.dreamz-theme.woocommerce-view-order table.woocommerce-table--order-details tfoot,
  html body.dreamz-theme.woocommerce-order-received table.woocommerce-table--order-details tbody,
  html body.dreamz-theme.woocommerce-order-received table.woocommerce-table--order-details tfoot {
    display: block !important;
    width: 100% !important;
  }
  /* Produkt-Zeile im Order-Detail */
  html body.dreamz-theme.woocommerce-view-order table.woocommerce-table--order-details tbody tr,
  html body.dreamz-theme.woocommerce-order-received table.woocommerce-table--order-details tbody tr {
    display: block !important;
    padding: 16px !important;
    margin-bottom: 10px !important;
    background: var(--bg-card, #14181d) !important;
    border: 1px solid var(--border-hairline, rgba(255,255,255,0.08)) !important;
    border-radius: 10px !important;
  }
  html body.dreamz-theme.woocommerce-view-order table.woocommerce-table--order-details tbody td,
  html body.dreamz-theme.woocommerce-order-received table.woocommerce-table--order-details tbody td {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 6px 0 !important;
    border: 0 !important;
    text-align: right !important;
    font-size: 14px !important;
    color: var(--fg-1, #fff) !important;
  }
  html body.dreamz-theme.woocommerce-view-order table.woocommerce-table--order-details tbody td::before,
  html body.dreamz-theme.woocommerce-order-received table.woocommerce-table--order-details tbody td::before {
    content: attr(data-title) ": " !important;
    display: inline-block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: var(--fg-3, rgba(255,255,255,0.5)) !important;
    text-align: left !important;
    margin-right: 8px !important;
  }
  /* Produktname prominent */
  html body.dreamz-theme.woocommerce-view-order td.product-name,
  html body.dreamz-theme.woocommerce-order-received td.product-name {
    font-size: 15px !important;
    font-weight: 600 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  html body.dreamz-theme.woocommerce-view-order td.product-name::before,
  html body.dreamz-theme.woocommerce-order-received td.product-name::before {
    display: none !important;
  }
  /* Footer (Zwischensumme, Versand, Steuer, Gesamt) — als Summary-Card */
  html body.dreamz-theme.woocommerce-view-order table.woocommerce-table--order-details tfoot tr,
  html body.dreamz-theme.woocommerce-order-received table.woocommerce-table--order-details tfoot tr {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    padding: 10px 16px !important;
    background: var(--bg-card, #14181d) !important;
    border: 0 !important;
    border-top: 1px solid rgba(255,255,255,0.05) !important;
    margin: 0 !important;
  }
  html body.dreamz-theme.woocommerce-view-order table.woocommerce-table--order-details tfoot tr:first-child,
  html body.dreamz-theme.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:first-child {
    border-top: 1px solid var(--border-hairline, rgba(255,255,255,0.1)) !important;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
    margin-top: 8px !important;
  }
  html body.dreamz-theme.woocommerce-view-order table.woocommerce-table--order-details tfoot tr:last-child,
  html body.dreamz-theme.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:last-child {
    border-bottom-left-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    padding: 14px 16px !important;
  }
  html body.dreamz-theme.woocommerce-view-order table.woocommerce-table--order-details tfoot th,
  html body.dreamz-theme.woocommerce-view-order table.woocommerce-table--order-details tfoot td,
  html body.dreamz-theme.woocommerce-order-received table.woocommerce-table--order-details tfoot th,
  html body.dreamz-theme.woocommerce-order-received table.woocommerce-table--order-details tfoot td {
    display: block !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: right !important;
    color: var(--fg-1, #fff) !important;
    font-size: 14px !important;
  }
  html body.dreamz-theme.woocommerce-view-order table.woocommerce-table--order-details tfoot th {
    color: var(--fg-2, rgba(255,255,255,0.7)) !important;
    font-weight: 500 !important;
    text-align: left !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
    letter-spacing: 0.06em !important;
  }
  html body.dreamz-theme.woocommerce-view-order table.woocommerce-table--order-details tfoot tr:last-child th {
    font-size: 13px !important;
  }
  html body.dreamz-theme.woocommerce-view-order table.woocommerce-table--order-details tfoot tr:last-child td {
    color: var(--brand-turquoise, #00a89c) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
  }

  /* Kunden-Details (Rechnungs-/Lieferadresse) auf Detail-Seite → einspaltig */
  html body.dreamz-theme.woocommerce-view-order .woocommerce-customer-details .col2-set,
  html body.dreamz-theme.woocommerce-order-received .woocommerce-customer-details .col2-set {
    display: block !important;
  }
  html body.dreamz-theme.woocommerce-view-order .woocommerce-customer-details .col-1,
  html body.dreamz-theme.woocommerce-view-order .woocommerce-customer-details .col-2,
  html body.dreamz-theme.woocommerce-order-received .woocommerce-customer-details .col-1,
  html body.dreamz-theme.woocommerce-order-received .woocommerce-customer-details .col-2 {
    width: 100% !important;
    float: none !important;
    margin-bottom: 20px !important;
  }
}


/* =========================================================================
   v1.5.60 — Cart-Drawer Menge-Pill (+/− Buttons neben Preis)
   Wird per JS in jede Item-Zeile eingefügt.
   ========================================================================= */
html body.dreamz-theme .dreamz-cart-drawer .dreamz-mini-qty {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  height: 28px !important;
  min-width: 84px !important;
  margin-right: auto !important;
  order: 1 !important;
  flex-shrink: 0 !important;
  transition: opacity 0.15s !important;
}
html body.dreamz-theme .dreamz-cart-drawer .dreamz-mini-qty.is-loading {
  opacity: 0.5 !important;
  pointer-events: none !important;
}
html body.dreamz-theme .dreamz-cart-drawer .dreamz-mini-qty__btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  background: transparent !important;
  border: 0 !important;
  color: var(--fg-2, rgba(255,255,255,0.85)) !important;
  cursor: pointer !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: color 0.15s, background 0.15s !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
  flex-shrink: 0 !important;
}
html body.dreamz-theme .dreamz-cart-drawer .dreamz-mini-qty__btn:hover,
html body.dreamz-theme .dreamz-cart-drawer .dreamz-mini-qty__btn:focus {
  color: var(--brand-turquoise, #00a89c) !important;
  background: rgba(0, 168, 156, 0.1) !important;
  outline: none !important;
}
html body.dreamz-theme .dreamz-cart-drawer .dreamz-mini-qty__btn:active {
  background: rgba(0, 168, 156, 0.2) !important;
}
html body.dreamz-theme .dreamz-cart-drawer .dreamz-mini-qty__val {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 28px !important;
  height: 28px !important;
  padding: 0 4px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--fg-1, #fff) !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

/* Beim Einbau der Pill: die Original-Menge-Text-Node "3 × " verstecken.
   Wir zeigen NUR die Pill und den Preis. */
html body.dreamz-theme .dreamz-cart-drawer .widget_shopping_cart_content li .quantity {
  gap: 12px !important;
  align-items: center !important;
}
/* Der Text "3 × " ist ein Textknoten — den können wir nicht mit CSS verstecken.
   Der JS-Handler entfernt ihn stattdessen (siehe dreamz-app.js). */


/* =========================================================================
   v1.5.61 — Bewertungssterne Fix
   Wenn der User Stern 5 klickt, sollen ALLE 5 Sterne türkis werden.
   Das WC-JS setzt .active auf dem geklickten Stern, aber nicht auf
   den davorliegenden. Wir nutzen moderne CSS-Techniken.
   ========================================================================= */

/* Ansatz A: :has() — moderne Browser (Safari 15.4+, Chrome 105+, Firefox 121+).
   Wenn ein Stern nach dem aktuellen .active kommt (~ Kombinator prüft
   nachfolgende), aber KEIN aktiver-Stern davor ist → grau.
   Einfacher: alle a's die vor dem letzten .active liegen sind auch aktiv. */

/* Modern (:has() Support): der Container hat :has(.active) → alle a bis .active türkis */
html body.dreamz-theme p.stars:has(a.active) a {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2314C4B6' stroke='%2314C4B6' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26'/%3E%3C/svg%3E") !important;
}
/* Sterne NACH dem aktiven → grau */
html body.dreamz-theme p.stars a.active ~ a {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a6a72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26'/%3E%3C/svg%3E") !important;
}

/* Fallback: WC setzt beim <p>-Container zusätzlich Klasse .selected + eine .star-N Klasse
   (leider inkonsistent zwischen WC-Versionen). Wir decken alle üblichen Fälle ab. */

/* Wenn Container-Klasse "selected" gesetzt ist und WC direkt selected-N verwendet: */
html body.dreamz-theme p.stars.selected a {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2314C4B6' stroke='%2314C4B6' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26'/%3E%3C/svg%3E") !important;
}
html body.dreamz-theme p.stars.selected a.active ~ a {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a6a72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26'/%3E%3C/svg%3E") !important;
}
