/* ================================
   Go Glow Glam – Hantesis Profi-Shop
   FINAL CLEAN shop.css (ONE FILE)
   - Ohne doppelte Warenkorb-Styles
   - Ohne Inline-CSS in cart/index.blade.php
   - Chromatique Block bleibt am Ende (LOCKED)
   ================================ */

/* ================================
   Variables
   ================================ */
:root{
  --shop-bg: #fff8f3;
  --shop-bg-soft: #fdf0e4;
  --shop-bg-strip: #f4d5b6;
  --shop-ink: #352625;
  --shop-ink-soft: #6c524d;
  --shop-accent: #d7aa63;
  --shop-rose: #e8a9bd;
  --shop-border: rgba(204, 170, 144, 0.65);
  --shop-shadow-soft: 0 18px 40px rgba(110, 75, 61, 0.25);
  --shop-radius-lg: 18px;
  --shop-radius-md: 12px;
  --shop-radius-pill: 999px;
  --topbar-h: 46px;
  --nav-h: 56px;

}
@media (max-width: 800px){
  :root{
    --topbar-h: 39px !important;
  }

  .shop-body::before,
  .shop-body::after{ opacity: 0.45 !important; }
}

/* ================================
   Base
   ================================ */
*{ box-sizing: border-box; }

html, body{
  width: 100%;
  max-width: 100%;
}

.shop-body{
  margin: 0;
  padding-top: calc(var(--topbar-h) + var(--nav-h));
  min-height: 100vh;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--shop-ink);
  background: #f8e8de;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* ✅ Seite sperren, wenn Modal offen ist (kein Jump, kein Hintergrundscroll) */
html.modal-open,
body.modal-open{
  overflow: hidden !important;
}

/* optional: verhindert “layout shift”, wenn scrollbar verschwindet */
html.modal-open{
  scrollbar-gutter: stable;
}


/* optional: verhindert “Gummi-Scroll” (iOS/Trackpad) */
.product-modal-backdrop,
#chromatiquePaletteModal{
  overscroll-behavior: contain;
}


/* ===== Animated Glow Background ===== */
.shop-body::before,
.shop-body::after{
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.9;
}
.shop-body::before{
  background:
    radial-gradient(circle at 0% 0%,  #fbe3d7 0,  #f7ddcc 35%, transparent 70%),
    radial-gradient(circle at 100% 100%, #f8c5a3 0, #f2af7a 35%, transparent 70%);
  animation: shopGlowMove1 26s ease-in-out infinite alternate;
}
.shop-body::after{
  background:
    radial-gradient(circle at 100% 0%, #f7c0d9 0, #f2a5c9 32%, transparent 70%),
    radial-gradient(circle at 0% 100%,  #f7dfc5 0, #f3caa4 30%, transparent 70%);
  mix-blend-mode: screen;
  animation: shopGlowMove2 32s ease-in-out infinite alternate;
}
@keyframes shopGlowMove1{
  0%   { transform: translate3d(-4%, 0, 0) scale(1); }
  50%  { transform: translate3d( 2%, 3%, 0) scale(1.03); }
  100% { transform: translate3d(-3%, 2%, 0) scale(1.06); }
}
@keyframes shopGlowMove2{
  0%   { transform: translate3d(3%, -2%, 0) scale(1.02); }
  50%  { transform: translate3d(-2%,  1%, 0) scale(1.06); }
  100% { transform: translate3d(4%,  3%, 0) scale(1.02); }
}

/* Shell */
.shop-shell{
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.6rem 1.6rem 0.2rem;
  flex: 1;
}
/* ✅ Nur Warenkorb darf breiter sein */
.shop-body.is-cart .shop-shell{
  max-width: 1400px;
}


/* ================================
   Header (unter Topbar)
   ================================ */
.shop-header{
  background: linear-gradient(90deg, #fff7ee, #f6dec5);
  border-bottom: 1px solid var(--shop-border);
  box-shadow: 0 10px 26px rgba(154, 119, 94, 0.35);
  overflow: visible;
}
.shop-header-inner{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.6rem;
  align-items: center;
}

/* Brand (falls genutzt) */
.shop-brand{
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  line-height: 1;
  padding: 0;
  margin: 0;
  white-space: nowrap;
}
.shop-brand .brand-text{
  display: inline-flex;
  align-items: center;
  gap: 0.16em;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.32em;
  line-height: 1;
}
.brand-part.brand-go,
.brand-part.brand-glam{ color: #2a1913; }
.brand-part.brand-glow{ color: var(--shop-accent); }

.brand-amp{
  display: inline-flex;
  align-items: center;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--shop-accent);
  line-height: 1;
  margin-right: 0.45em;
  margin-left: 0.15em;
}
.brand-shop-suffix{
  margin-left: 12px;
  font-size: 11.5px;
  letter-spacing: 0.28em;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  position: relative;
  top: 1px;
}

.shop-header-user{
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
  min-width: 0;
}
.meta-label{ color: var(--shop-ink-soft); }
.meta-name{  color: #1f130f; font-weight: 600; }
.meta-mail{  color: var(--shop-ink-soft); }

/* Logout Button (wenn genutzt) */
.btn-shop-logout{
  border-radius: var(--shop-radius-pill);
  border: 1px solid rgba(204, 170, 144, 0.95);
  padding: 0.3rem 0.9rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: linear-gradient(135deg, var(--shop-accent), #fbe5c3);
  color: #3a2419;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(154, 119, 94, 0.4);
}
.btn-shop-logout:hover{
  box-shadow: 0 14px 32px rgba(154, 119, 94, 0.55);
}

/* Header cart button (wenn genutzt) */
.btn-shop-cart{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  font-size: 13px;
  text-decoration: none;
  color: #5b4335;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  white-space: nowrap;
}
.btn-shop-cart:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  background: #fff7ed;
}
.btn-shop-cart-empty{ opacity: 0.7; box-shadow: none; }
.btn-shop-cart-count{
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #e6b26b;
  color: #fff;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

/* ================================
   Main nav (Tabs) – FIXED (wie vorher / Bild 1)
   ================================ */

/* Nav FIXED aber Look wie vorher */
.shop-main-nav{
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1200;
  overflow: visible;

  /* ✅ wie Bild 1: NICHT glasig, keine Blur-Spielerei */
  background: linear-gradient(
  1.0deg,
  rgba(253,240,228,0.93),
  rgba(247,221,204,0.93)
);

  border-top: 1px solid rgba(204,170,144,0.40);
  border-bottom: 1px solid rgba(204,170,144,0.40);

  /* ✅ Shadow wie vorher (dein altes Bild 1 wirkt stärker/sauber) */
  box-shadow: 0 10px 26px rgba(154,119,94,0.35);
}

/* Innen exakt wie Topbar-Feeling aus Bild 1 */
.shop-main-nav-inner{
  max-width: 1250px;      /* wie dein altes Blade-Beispiel */
  margin: 0 auto;
  padding: 8px 24px;      /* wie Bild 1 */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;              /* wie Bild 1 */
  flex-wrap: wrap;
  overflow: visible;
}



.shop-main-nav-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.34rem 0.92rem;          /* ≈ gleich hoch, minimal cleaner */
  border-radius: var(--shop-radius-pill);

  font-size: 0.76rem;               /* minimal feiner */
  font-weight: 600;                 /* professioneller */
  text-transform: uppercase;
  letter-spacing: 0.12em;

  text-decoration: none;
  white-space: nowrap;

  color: rgba(108,82,77,0.92);
  background: rgba(255,255,255,0.52);

  border: 1px solid rgba(204,170,144,0.38);   /* feiner Rahmen */
  box-shadow: 0 3px 8px rgba(110,75,61,0.14); /* ruhiger Schatten */

  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.shop-main-nav-link:hover{
  background: rgba(255,255,255,0.78);
  border-color: rgba(204,170,144,0.55);
  box-shadow: 0 6px 14px rgba(110,75,61,0.16);
  transform: translateY(-1px);
}

.shop-main-nav-link.is-active{
  background: linear-gradient(135deg, rgba(215,170,99,0.92), rgba(251,229,195,0.92));
  color: #3a2419;
  border-color: rgba(204,170,144,0.78);
  box-shadow: 0 8px 18px rgba(154,119,94,0.22);  /* weniger “dick” */
}


/* ================================
   Hero / Slider
   ================================ */
.shop-hero{ margin-top: 1.2rem; margin-bottom: 2.4rem; }

.shop-hero-slider{
  position: relative;
  border-radius: var(--shop-radius-lg);
  background: linear-gradient(135deg, #231411, #4a2d23);
  padding: 0.35rem;
  box-shadow: var(--shop-shadow-soft);
}
.shop-hero-slide{
  position: relative;
  display: none;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.5fr);
  gap: 0;
}
.shop-hero-slide.is-active{ display: grid; }

.shop-hero-image{
  position: relative;
  overflow: hidden;
  border-radius: var(--shop-radius-md);
  min-height: 260px;
  background-size: cover;
  background-position: center;
  background-color: #262626;
}
.shop-hero-overlay{
  border-radius: var(--shop-radius-md);
  background: linear-gradient(135deg, #fff8f3, #f4dbc1);
  padding: 1.6rem 1.7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
}
.shop-hero-eyebrow{
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--shop-ink-soft);
}
.shop-hero-title{
  margin: 0;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.shop-hero-text{
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--shop-ink-soft);
}
.shop-hero-badge{
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  color: var(--shop-ink-soft);
}

/* Dots */
.shop-hero-dots{
  position: absolute;
  left: 50%;
  bottom: 0.7rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.35rem;
}
.shop-hero-dot{
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}
.shop-hero-dot.is-active{
  width: 11px;
  background: #f4dbc1;
}

/* ================================
   Info Strip
   ================================ */
.shop-info-strip{ margin-bottom: 2.8rem; }

.shop-info-strip-inner{
  border-radius: var(--shop-radius-lg);
  padding: 0.8rem 1.3rem;
  background: linear-gradient(90deg, #f6dfcf, #f1cadd);
  box-shadow: var(--shop-shadow-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.82rem;
  color: #3a2419;
}
.shop-info-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.shop-info-tags span{
  border-radius: var(--shop-radius-pill);
  border: 1px solid rgba(204, 170, 144, 0.8);
  padding: 0.2rem 0.7rem;
  background: rgba(255, 252, 247, 0.9);
  font-size: 0.78rem;
}

/* ================================
   Sections
   ================================ */
.shop-section{ margin-bottom: 1.6rem; }
.shop-section-header{
  margin-bottom: 1.7rem;
  text-align: left;
}
.shop-section-header h2{
  margin: 0 0 0.4rem;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.shop-section-header p{
  margin: 0;
  font-size: 0.88rem;
  color: var(--shop-ink-soft);
}

/* ================================
   Product Grid & Cards
   ================================ */
.shop-product-grid{
  display: grid;
  gap: 1.6rem;

  /* verhindert "Riesenkarte" bei 1 Treffer */
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));

  /* wenn wenig Treffer: Grid mittig, sieht wie normal aus */
  justify-content: center;
}


.shop-product-card{
  border-radius: var(--shop-radius-lg);
  background: linear-gradient(135deg, rgba(255, 252, 247, 0.97), rgba(250, 236, 224, 0.92));
  border: 1px solid var(--shop-border);
  box-shadow: var(--shop-shadow-soft);
  padding: 1.2rem 1.3rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.shop-product-image{
  width: 100%;
  max-width: 190px;
  height: 190px;
  margin: 0 auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.shop-product-image img{
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

/* KACHEL-ANSICHT: €/Tierpreise ausblenden */
.shop-product-card .tier-prices,
.shop-product-card .tier-row{ display: none !important; }

/* Header – Linie + Trenner + Size/Set stabil */
.shop-product-header{
  display: grid;
  grid-template-rows: 3.50em 1.2em 1px;
  row-gap: 12px;
  padding-bottom: 0;
  margin-bottom: 0.7rem;
  border-bottom: none;
}
.shop-product-title{
  margin: 0;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.50em;
}
.shop-product-line{
  line-height: 1.2em;
  height: 1.2em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
  min-height: 1.2em;
}
.shop-product-line:empty::before{ content: "\00a0"; }
.shop-product-header::after{
  content: "";
  display: block;
  height: 1px;
  background: rgba(204, 170, 144, 0.65);
}

/* Badges */
.shop-product-badges{
  margin-top: 0.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.badge-product{
  border-radius: var(--shop-radius-pill);
  padding: 0.15rem 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.badge-new{
  background: rgba(110, 184, 95, 0.09);
  color: #2e7d32;
  border: 1px solid rgba(76, 175, 80, 0.4);
}
.badge-top{
  background: rgba(215, 170, 99, 0.08);
  color: #b58432;
  border: 1px solid rgba(215, 170, 99, 0.45);
}
.badge-sale{
  background: rgba(211, 47, 47, 0.06);
  color: #b71c1c;
  border: 1px solid rgba(211, 47, 47, 0.45);
}

/* Meta */
.shop-product-size{
  margin: 0;
  font-size: 0.82rem;
  color: var(--shop-ink-soft);
  line-height: 22px;
  min-height: 22px;
}
.shop-product-description{
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--shop-ink-soft);
  margin-top: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Price */
.shop-product-price{ font-size: 0.8rem; }
.price-main{
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
}
.price-sub{
  display: block;
  color: var(--shop-ink-soft);
  font-size: 0.78rem;
}
.price-locked{
  font-size: 0.8rem;
  color: var(--shop-ink-soft);
}

/* Kachel-Footer: Preis links, Rabatt rechts, Buttons unten */
.shop-product-footer{
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px 12px;
  align-items: end;
}
/* Preis links */
.shop-product-footer .shop-product-price{ position: relative; top: -16px; }
/* Staffelrabatte rechts */
.shop-product-footer .product-tier-hint{ text-align: right; margin: 0; }
/* "Staffelrabatte:" fett */
.shop-product-footer .product-tier-hint .tier-title{
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 6px 0;
  color: rgba(53,38,37,0.85);
  line-height: 1.1;
}
/* Prozent-Stufen untereinander */
.shop-product-footer .product-tier-hint .tier-badges{
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}
/* Badge-Style */
.shop-product-footer .product-tier-hint .tier-badge{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid rgba(0,0,0,0.08);
}
.shop-product-footer .product-tier-hint .tier-qty{ font-weight: 700; opacity: 0.95; }
.shop-product-footer .product-tier-hint .tier-off{ font-weight: 800; }

/* Buttons unten volle Breite */
.shop-product-footer .shop-product-actions{
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  gap: 8px;
}
.shop-product-footer .shop-product-actions form{ width: 100%; }
.shop-product-footer .shop-product-actions .btn-shop-secondary,
.shop-product-footer .shop-product-actions .btn-shop-primary{
  width: 100%;
  max-width: none;
}

/* Farben pro Stufe */
.tier-20{ background: rgba(34,197,94,0.10);  color:#166534; border-color: rgba(34,197,94,0.25); }
.tier-30{ background: rgba(234,179,8,0.14);  color:#7a5a00; border-color: rgba(234,179,8,0.30); }
.tier-40{ background: rgba(249,115,22,0.12); color:#9a3412; border-color: rgba(249,115,22,0.28); }
.tier-50{ background: rgba(239,68,68,0.10);  color:#991b1b; border-color: rgba(239,68,68,0.26); }

/* Buttons */
.shop-product-actions{
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.btn-shop-primary,
.btn-shop-secondary,
.btn-cart-checkout{
  border-radius: var(--shop-radius-pill);
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-shop-primary{
  background: linear-gradient(135deg, var(--shop-accent), #fbe5c3);
  color: #3a2419;
  box-shadow: 0 10px 24px rgba(154, 119, 94, 0.4);
}
.btn-shop-secondary{
  background: rgba(253, 245, 238, 0.9);
  border-color: rgba(204, 170, 144, 0.9);
  color: var(--shop-ink);
}

/* DETAILS Button (Gast) mittig */
.footer-details-btn{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: fit-content !important;
  text-align: center !important;
}

/* Gast-Footer: alles zentriert */
.shop-product-footer-guest{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.shop-product-footer-guest .footer-login-btn.btn-b2b{
  width: 100% !important;
  max-width: 150px !important;
  margin: 0.45rem auto 0.15rem !important;
  min-width: 130px;
  padding: 0.5rem 1.0rem !important;
  border-radius: 999px !important;

  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;

  text-align: center !important;
  white-space: normal !important;

  font-size: 0.74rem !important;
  line-height: 1.12 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
}
.shop-product-footer-guest .footer-login-btn.btn-b2b .btn-b2b-line1{ font-weight: 600; }
.shop-product-footer-guest .footer-login-btn.btn-b2b .btn-b2b-line2{ font-size: 0.68rem; }

/* ================================
   Footer (Single Source of Truth)
   ================================ */
.shop-footer{
  border-top: 1px solid var(--shop-border);
  background: #fff7ee;
  padding: 1.3rem 0 1.7rem;
  position: relative;
  z-index: 3;
}

.shop-footer-inner{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.6rem;
  text-align: center;
}

.shop-footer-brand{
  margin: 0;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.shop-footer-text{
  margin: 0.4rem 0 0.2rem;
  font-size: 0.8rem;
  color: var(--shop-ink-soft);
}

.shop-footer-meta{
  margin: 0;
  font-size: 0.78rem;
  color: var(--shop-ink-soft);
}

.shop-footer-meta a{
  color: var(--shop-ink-soft);
  text-decoration: none;
}

.shop-footer-meta a:hover{
  text-decoration: underline;
}

/* Legal Links */
.shop-footer-legal{
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
}

.shop-footer-legal a{
  color: #c39a62;
  text-decoration: none;
  transition: color .15s ease;
}

.shop-footer-legal a:hover{
  color: #a98145;
  text-decoration: underline;
}

.shop-footer-legal .sep{
  margin: 0 8px;
  opacity: .55;
}

/* Mobile: bessere Lesbarkeit */
@media (max-width: 800px){
  .shop-footer-legal{
    font-size: 12.5px;
  }
  .shop-footer-legal .sep{
    margin: 0 6px;
  }
}


/* ================================
   Checkout
   ================================ */
.checkout-wrapper{
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.4rem 1.6rem 3.2rem;
}
.checkout-card{
  border-radius: 22px;
  background: linear-gradient(135deg, #fffaf5, #f7e4d5);
  box-shadow: 0 18px 40px rgba(110, 75, 61, 0.28);
  border: 1px solid rgba(204, 170, 144, 0.7);
  padding: 2.4rem 2.6rem 2.6rem;
}
.checkout-brand-top{
  text-align: center;
  margin-bottom: 1.2rem;
}
.checkout-brand-top .brand-top-line{
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.3rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.checkout-brand-top .brand-top-line .gold{ color: #e6b26b; }
.checkout-brand-top .brand-top-sub{
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  opacity: 0.85;
  margin-top: 0.2rem;
  text-transform: uppercase;
}
.checkout-brand{
  text-align: center;
  margin-bottom: 0.6rem;
  font-family: "Playfair Display", "Times New Roman", serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.checkout-brand .brand-go,
.checkout-brand .brand-glam{ color: #2a1913; }
.checkout-brand .brand-glow{ color: var(--shop-accent); }
.checkout-brand-sub{
  text-align: center;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.1rem;
  margin-bottom: 1.3rem;
  color: var(--shop-ink-soft);
}
.checkout-title{
  margin: 0 0 0.7rem;
  font-family: "Playfair Display", "Times New Roman", serif;
  letter-spacing: 0.18em;
  font-size: 1.05rem;
  text-transform: uppercase;
  text-align: center;
}
.checkout-intro{
  margin: 0 auto 1.8rem;
  max-width: 880px;
  font-size: 0.9rem;
  color: var(--shop-ink-soft);
  text-align: center;
}
.checkout-form{ margin-top: 0.4rem; 
}

.checkout-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  margin-bottom: 1.4rem;
  align-items: start; /* ✅ Spalten oben exakt bündig */
}

/* ✅ falls irgendein erstes Feld irgendwo einen mini margin hat */
.checkout-col > .checkout-field:first-child{
  margin-top: 0 !important;
}

.checkout-col{
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Checkout: linke Spalte minimal strecken für optische Gleichheit */
@media (min-width: 901px){
  .checkout-grid > .checkout-col:first-child > .checkout-field{
    margin-bottom: 1.13rem; /* ← STARTWERT */
  }

  .checkout-grid > .checkout-col:first-child > .checkout-field:last-child{
    margin-bottom: 0;
  }
}


.checkout-field{
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.85rem; /* ✅ JEDES Feld gleiche Luft */
}

.checkout-grid .checkout-col .checkout-field:last-child{
  margin-bottom: 0;       /* ✅ am Ende keine Extra-Luft */
}

.checkout-field label{
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6c524d;
}
.checkout-field input,
.checkout-field textarea{
  border-radius: 12px;
  border: 1px solid rgba(204, 170, 144, 0.7);
  padding: 0.55rem 0.8rem;
  font-size: 0.86rem;
  font-family: "Poppins", system-ui, sans-serif;
  background: rgba(255, 252, 247, 0.96);
  width: 100%;
}
.checkout-field textarea{
  resize: vertical;
  min-height: 90px;
}
.checkout-row-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.checkout-help{
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: #8a6c5e;
  line-height: 1.2;       /* ✅ kompakter */
  margin-top: 0.2rem;     /* ✅ minimal weniger */
}

.checkout-error{
  font-size: 0.75rem;
  color: #b91c1c;
}
.checkout-hint{
  margin: 0.3rem 0 1.4rem;
  font-size: 0.82rem;
  color: #6c524d;
}
.checkout-flash-success{
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.86rem;
}
.checkout-actions{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 1.4rem;
}
.checkout-actions .checkout-hint-b2b{ margin: 0; }

/* Zusätzliche Blöcke */
.checkout-extra{ margin-top: 2rem; }
.checkout-checkbox{
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  line-height: 1.4;
}
.checkout-checkbox input[type="checkbox"]{ margin-top: 2px; }
.checkout-shipping-box{
  margin-top: 1rem;
  padding: 1.5rem 1.8rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  display: none;
}
.checkout-shipping-box.is-visible{ display: block; }
.checkout-subtitle{
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.checkout-newsletter{ margin-top: 1.4rem; }
.checkout-notes{ margin-top: 1.8rem; }
.checkout-pickup-box{
  margin-top: 1rem;
  padding: 14px 18px;
  border: 1px solid rgba(230, 178, 107, 0.45);
  border-radius: 14px;
  background: rgba(230, 178, 107, 0.10);
  font-size: 0.9rem;
  color: #7a5a37;
  line-height: 1.45;
}

/* Checkout: rechte Spalte minimal enger (Desktop) */
@media (min-width: 901px){
  .checkout-grid > .checkout-col:last-child{
    gap: 0.2rem !important; /* war 0.85rem -> minimal enger */
  }
}

/* ================================
   Checkout – Thank You Page (Premium)
   ================================ */
.checkout-thanks{
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 10px 20px 10px;
}

.checkout-thanks-eyebrow{
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: 0.75;
  margin: 0 0 10px;
}

.checkout-thanks-title{
  font-size: 32px;
  margin: 10px 0 14px;
  font-family: "Playfair Display", "Times New Roman", serif;
  letter-spacing: 0.06em;
}

.checkout-thanks-meta{
  margin: 0 auto 22px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(108,82,77,0.85);
}

.checkout-thanks-intro{
  font-size: 17px;
  line-height: 1.7;
  margin: 0 auto 36px;
  max-width: 700px;
  color: rgba(53,38,37,0.88);
}

.checkout-thanks-steps{
  max-width: 620px;
  margin: 0 auto 42px;
  text-align: left;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(204,170,144,0.45);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.checkout-thanks-subtitle{
  font-size: 18px;
  margin: 2px 0 10px;
  text-align: center;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.checkout-thanks-list{
  font-size: 15.5px;
  line-height: 1.8;
  list-style: disc;
  padding-left: 22px;
  margin: 0;
}

.checkout-thanks-note{
  margin: 14px 0 0;
  font-size: 13px;
  color: rgba(108,82,77,0.82);
  text-align: center;
}

.checkout-thanks-actions{
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.checkout-thanks-actions .btn-shop-primary,
.checkout-thanks-actions .btn-shop-secondary{
  min-width: 240px;
  text-align: center;
}

/* Mobile */
@media (max-width: 640px){
  .checkout-thanks{ padding: 56px 14px 90px; }
  .checkout-thanks-title{ font-size: 26px; }
  .checkout-thanks-actions .btn-shop-primary,
  .checkout-thanks-actions .btn-shop-secondary{
    width: 100%;
    min-width: 0;
    max-width: 340px;
  }
}


/* ================================
   Product Detail (Page)
   ================================ */
.product-detail-page{
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.6rem;
}
.product-detail-card{
  position: relative;
  max-width: 960px;
  width: 100%;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 252, 247, 0.97), rgba(250, 236, 224, 0.94));
  box-shadow: 0 18px 40px rgba(110, 75, 61, 0.32);
  border: 1px solid rgba(204, 170, 144, 0.7);
  padding: 32px 40px;
}
.product-detail-close{
  position: absolute;
  top: 1.1rem;
  right: 1.3rem;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(204, 170, 144, 0.8);
  background: #fffaf4;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.product-detail-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
  column-gap: 40px;
  row-gap: 24px;
  align-items: stretch;
}

/* Left column */
.product-detail-main{
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}
.product-detail-main-compact{
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  gap: 0.7rem;
}
.product-detail-line{
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(108, 82, 77, 0.9);
}
.product-detail-line-over-image{
  margin: 0 0 0.75rem;
  text-align: center;
  width: 100%;
}
.product-detail-image{
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;             /* ✅ wichtig für Zoom */
  border-radius: 14px;          /* ✅ passt zu deinem Style */
}

.product-detail-image img,
.product-detail-main-image{
  max-width: 240px;
  width: 100%;
  height: auto;
  object-fit: contain;

  /* ✅ Zoom Verhalten */
  transition: transform .18s ease;
  transform-origin: center center;
  cursor: zoom-in;
}

/* ✅ Zoom aktiv */
.product-detail-image.is-zoomed img,
.product-detail-image.is-zoomed .product-detail-main-image{
  transform: scale(2);
  cursor: zoom-out;
}


/* Thumbnails */
.product-detail-thumbs{
  display: flex;
  gap: 10px;          /* kleinerer Abstand */
  margin-top: 0.35rem;
  justify-content: center;
}
.product-detail-thumb{
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;

  width: 58px;        /* ✅ kleiner */
  height: 58px;       /* ✅ kleiner */
  border-radius: 14px;/* ✅ passt besser */
  overflow: hidden;

  opacity: 0.7;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.product-detail-thumb img{
  width: 100%;
  height: 100%;
  object-fit: contain;      /* ✅ ganze Flasche sichtbar */
  background: #fff;         /* ✅ sieht clean aus bei transparenten PNGs */
}

.product-detail-thumb.is-active{
  opacity: 1;
  box-shadow: 0 0 0 2px #d7aa63, 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* Price */
.product-detail-price{
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.product-detail-price span{
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(108, 82, 77, 0.9);
}
.product-detail-price-under-image{
  margin-top: 24px;
  margin-bottom: 8px;
  text-align: center;
}

/* Detail tiers */
.product-detail-tiers{
  width: 100%;
  max-width: 340px;
  margin-top: 10px;
  text-align: center;
}
.product-detail-tier-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 12px;
}
.product-detail-tier-badges .tier-badge{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}
.product-detail-tier-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  justify-content: center;
}
.product-detail-tier-item{
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(0,0,0,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}
.product-detail-tier-item .tier-qty{ font-weight: 800; }
.product-detail-tier-item .tier-eq{ opacity: 0.65; font-weight: 700; }
.product-detail-tier-item .tier-price{ font-weight: 800; }
.product-detail-tier-item.tier-base{
  background: rgba(255,255,255,0.75);
  color: rgba(53,38,37,0.90);
  border-color: rgba(0,0,0,0.08);
}
@media (max-width: 420px){
  .product-detail-tier-grid{ grid-template-columns: 1fr; }
}

/* Buttons */
.product-detail-actions{
  margin-top: 0.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: nowrap;
}
.product-detail-actions-vertical{
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  max-width: 260px;
}
.product-detail-actions-vertical .btn-shop-secondary,
.product-detail-actions-vertical .btn-shop-primary{
  width: 100%;
  min-width: 0;
}

/* Right column */
.product-detail-info{
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.product-detail-info-scroll{
  flex: 1 1 auto;
  min-height: 0;
}
.product-detail-title{
  margin: 0 0 0.4rem;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.4rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.product-detail-size{
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  color: rgba(108, 82, 77, 0.95);
}
.product-detail-text{
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(77, 55, 48, 0.96);
}
.product-detail-text > *:first-child{ margin-top: 0 !important; }
.product-detail-text > *:last-child{ margin-bottom: 0 !important; }
.product-detail-text p{ margin: 0 0 0.85rem; }
.product-detail-text ul,
.product-detail-text ol{ margin: 0 0 0.85rem; padding-left: 1.1rem; }
.product-detail-text h1,
.product-detail-text h2,
.product-detail-text h3,
.product-detail-text h4{ margin: 1.0rem 0 0.6rem; }
.product-detail-text br{
  display: block;
  margin-bottom: 0.25rem;
  content: "";
}

/* ================================
   Modal Overlay (Product)
   ================================ */
.product-modal-backdrop{
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(3px);
  overflow-y: auto;
}
.product-modal-backdrop.is-open{
  opacity: 1;
  pointer-events: auto;
}
.product-modal-dialog{
  position: relative;
  max-width: 1100px;
  width: 100%;
  padding: 0 16px;
  background: transparent;
  box-shadow: none;
}

/* Close Button (Modal) */
.product-modal-close-main,
.product-modal-dialog .product-detail-close{
  position: absolute;
  top: 18px;
  right: 22px;
  border: none;
  background: #fff;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

/* MODAL – DESKTOP FINAL */
@media (min-width: 901px){
  .product-modal-dialog .product-detail-card{
    height: 90vh;
    max-height: 90vh;
    overflow: hidden;
    margin: 0 auto;
  }
  .product-modal-dialog .product-detail-grid{
    height: 100%;
    align-items: stretch;
  }
  .product-modal-dialog .product-detail-main{
    height: 100%;
    min-height: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 8px;
  }
  .product-modal-dialog .product-detail-main.is-single .product-detail-main-image{ max-width: 300px; }
.product-modal-dialog .product-detail-main.is-gallery .product-detail-main-image{ max-width: 220px; }

  .product-modal-dialog .product-detail-actions-vertical{
    margin-top: auto;
    padding-top: 8px;
    width: 100%;
    max-width: 260px;
  }
  .product-modal-dialog .product-detail-info{
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .product-modal-dialog .product-detail-info-scroll{
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 56px 16px 18px 0 !important;
    scrollbar-gutter: stable both-edges;
  }
  .product-modal-dialog .product-detail-info-scroll::-webkit-scrollbar{ width: 10px; }
  .product-modal-dialog .product-detail-info-scroll::-webkit-scrollbar-track{
    margin-top: 56px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(0,0,0,0.04);
  }
  .product-modal-dialog .product-detail-info-scroll::-webkit-scrollbar-thumb{
    border-radius: 999px;
    background: rgba(53,38,37,0.22);
    border: 2px solid rgba(255,255,255,0.65);
  }
  .product-modal-dialog .product-detail-info-scroll::-webkit-scrollbar-thumb:hover{
    background: rgba(53,38,37,0.32);
  }
}

/* ================================
   Shop SEO Text – Premium
   ================================ */
.shop-section.shop-section-text{
  padding: 2.2rem 0 0.6rem;
  margin-bottom: 2.4rem !important;
}
.shop-section-text-inner{
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.1rem 2.3rem;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 252, 247, 0.92),
    rgba(247, 226, 198, 0.90),
    rgba(251, 239, 244, 0.92)
  );
  border: 1px solid rgba(204, 170, 144, 0.70);
  box-shadow: 0 18px 46px rgba(110, 75, 61, 0.22);
  backdrop-filter: blur(14px);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.shop-section-text-inner::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 15% 0%, rgba(255,255,255,0.65), transparent 55%),
    radial-gradient(circle at 90% 30%, rgba(215,170,99,0.35), transparent 60%),
    radial-gradient(circle at 20% 90%, rgba(232,169,189,0.25), transparent 60%);
  pointer-events:none;
}
.shop-section-text-inner h2{
  margin: 0 auto 0.4rem;
  width: fit-content;
  text-align: center;
  display: block;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 1.3vw + 1rem, 1.7rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #2a1913;
  position: relative;
  z-index: 1;
}
.shop-section-text-inner h2::after{
  content:"";
  display:block;
  width: 100%;
  height: 2px;
  margin: 0.55rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(232,169,189,0.7), rgba(215,170,99,0.95));
  opacity: 0.9;
}
.shop-section-text-inner .shop-section-subtitle{
  margin: 0 auto 1.2rem;
  width: fit-content;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(108, 82, 77, 0.82);
  position: relative;
  z-index: 1;
}
.shop-section-text-inner p{
  margin: 0.75rem 0;
  line-height: 1.75;
  color: rgba(53, 38, 37, 0.84);
  font-size: 0.96rem;
  position: relative;
  z-index: 1;
}
.shop-section-text-inner p strong{ color: #2a1913; font-weight: 700; }
.shop-section-text-inner .shop-section-note{
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(204, 170, 144, 0.55);
  color: rgba(53, 38, 37, 0.72);
}
@media (max-width: 640px){
  .shop-section-text-inner{
    padding: 1.55rem 1.25rem;
    border-radius: 18px;
  }
  .shop-section-text-inner p{ font-size: 0.92rem; }
  .shop-section-text-inner h2{ letter-spacing: 0.18em; }
  .shop-section-text-inner .shop-section-subtitle{ letter-spacing: 0.16em; }
}

/* FIX: keine Luft nach SEO-Box */
.shop-shell .shop-section.shop-section-text{
  padding-bottom: 0 !important;
  margin-bottom: 3.4rem !important;
}

/* ================================
   BRAND MARQUEE (General + Hero)
   ================================ */
.brand-marquee{
  background: #000;
  padding: 18px 0;
  margin: 20px auto 40px;
  overflow: hidden;
  border-radius: 999px;
  max-width: 800px;
}
.brand-marquee-track{
  display: flex;
  align-items: center;
  gap: 40px;
  padding-left: 40px;
  will-change: transform;
  animation: brand-scroll var(--marquee-duration, 30s) linear infinite;
}
.brand-marquee-item img{
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.4));
}
@keyframes brand-scroll{
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--marquee-distance, 50%))); }
}

/* Hero Logo-Marquee */
.hero-logo-marquee{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}
.shop-hero-slide:not(.is-active) .hero-logo-track{ animation-play-state: paused; }
.hero-logo-track{
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  width: max-content;
  gap: 80px;
  will-change: transform;
  animation: hero-logo-scroll var(--marquee-duration, 30s) linear infinite;
}
.hero-logo-set{
  display: flex;
  align-items: center;
  gap: inherit;
  flex-wrap: nowrap;
}
.hero-logo-item{
  flex: 0 0 auto;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-item img{
  height: 70%;
  max-height: 220px;
  max-width: 420px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.6));
}
@keyframes hero-logo-scroll{
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--marquee-distance, 0px))); }
}

/* ============================
   TOPBAR – Brand vertikal zentrieren (nur falls genutzt)
   ============================ */
.shop-topbar-header-row{ display: flex; align-items: center; height: 100%; }
.shop-topbar-left{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: translateY(-7px);
}
.shop-topbar-logo,
.topbar-brand-amp{
  line-height: 1;
  display: flex;
  align-items: center;
}
.topbar-hantesis-logo{
  height: 25px;
  width: auto;
  object-fit: contain;
  transform: translateY(7px);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.12));
  display: block;
}

/* ============================
   HERO – Gelbes HANTESIS Logo (Strip)
   ============================ */
.hantesis-brand-strip{
  min-height: clamp(240px, 32vh, 220px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hantesis-brand-box{
  width: min(74vw, 640px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translateY(-28px);
}
.hantesis-brand-logo{
  width: 100%;
  height: auto;
  display: block;
}
.hantesis-brand-slogan{
  width: 100%;
  margin-top: -35px;
  font-size: 17px;
  letter-spacing: 0.37em;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
  color: rgba(53,38,37,0.75);
  transform: translateX(-6px);
}

/* ============================
   HANTESIS – MOBILE FINAL TUNE (ONLY)
   ============================ */
@media (max-width: 800px){

  .hantesis-brand-box{
    width: min(82vw, 500px) !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;   /* 🔑 unten weniger Luft */
  }

  .hantesis-brand-logo{
    max-width: 100% !important;
    transform: scale(0.88);
    transform-origin: center;
  }

  .hantesis-brand-slogan{
    font-size: 12.2px !important;
    letter-spacing: 0.06em !important;

    margin-top: 0px !important;       /* sauber unter Logo */
    transform: translate(-4px, -21px);      /* rechts + näher an Logo */
    line-height: 1.15 !important;
  }
}
/* ============================
   HANTESIS – weniger Luft unten (MOBILE ONLY)
   ============================ */
@media (max-width: 800px){

  /* DIE Quelle der großen Luft: min-height im Strip */
  .hantesis-brand-strip{
    min-height: auto !important;      /* 🔑 entfernt künstliche Höhe */
    padding: 55px 0 10px !important;   /* fein kontrollierte Luft */
  }

  /* Box nicht künstlich nach oben ziehen (sonst bleibt unten Platz “übrig”) */
  .hantesis-brand-box{
    transform: none !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
  }
}






/* ==========================================================
   WARENKORB – FINAL (GLOBAL, nicht inline!)
   Layout: Bild | Produkt | Linie | Größe | Preis | Du sparst | Menge | Summe | Entfernen
   ========================================================== */

.cart-wrapper{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.cart-stack{
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Table Card */
.cart-card{
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  overflow: hidden;
}

.cart-table-wrap{
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 1100px){
  .cart-table-wrap{ overflow-x: visible; }
}

/* Table */
.cart-table{
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: transparent;
  min-width: 980px; /* ✅ verhindert “Quetschen” am Desktop */
}

.cart-table thead{ background: #f8efe6; }

.cart-table th,
.cart-table td{
  padding: 16px 16px;
  font-size: 14px;
  vertical-align: middle;
  box-sizing: border-box;
}

.cart-table thead th{
  white-space: nowrap;
  text-align: center;          /* ✅ Header sauber zentriert */
  font-weight: 700;
}

.cart-table tbody td{
  text-align: center;          /* ✅ Body standard zentriert */
}

.cart-table tbody tr + tr{
  border-top: 1px solid rgba(0,0,0,0.04);
}

/* NUR Produkt links (Profi-Lesbarkeit) */
.cart-product-cell,
.cart-table thead th.th-product{
  text-align: left !important;
}

/* Col widths (passen zu deinem neuen colgroup!) */
.col-img    { width: 90px; }
.col-product{ width: 24%; }
.col-line   { width: 11%; }
.col-size   { width: 8%; }
.col-price  { width: 12%; }
.col-save   { width: 16%; }
.col-qty    { width: 16%; }
.col-sum    { width: 9%;  }
.col-remove { width: 110px; }

/* Image */
.cart-image-cell{ width: 90px; }
.cart-image-wrapper{
  width: 70px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  background: #f7f4f1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.cart-image-thumb{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Remove Button */
.btn-cart-danger{
  padding: 7px 14px;
  border-radius: 999px;
  border: none;
  font-size: 12px;
  font-weight: 700;
  background: #f56565;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(245,101,101,0.25);
}
.btn-cart-danger:hover{ filter: brightness(0.97); }





/* ============================
   Preis (netto) – Tierliste (TIGHTER + kurze Linie + größere Zahlen)
   ============================ */

.cart-tier-list{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 4px;               /* ✅ noch enger */
  margin: 0 auto 0 8px;
  padding: 0;
}

.cart-tier-row{
  position: relative;
  display: inline-block;
  width: fit-content;     /* ✅ nur so breit wie Inhalt */
  padding: 0;
  line-height: 1.05;      /* ✅ enger oben/unten */
}

/* Spalten enger + Zahlen größer */
.cart-tier-inline{
  display:inline-grid;
  grid-template-columns: 52px 14px 80px; /* ✅ kompakt */
  column-gap: 6px;
  align-items:baseline;
  white-space:nowrap;
  width: fit-content;
}

.cart-tier-label{
  text-align:right;
  font-size: 13.5px;      /* ✅ größer */
  color: rgba(53,38,37,.70);
  opacity: .52;
  font-weight: 500;
}

.cart-tier-eq{
  text-align:center;
  font-size: 13.5px;      /* ✅ größer */
  color: rgba(53,38,37,.70);
  opacity: .52;
  font-weight: 650;
}

.cart-tier-price{
  text-align:left;
  font-size: 13.5px;        /* ✅ größer */
  color: rgba(53,38,37,.70);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

/* ✅ Inaktiv: kurze, saubere Linie (nicht full width) */
.cart-tier-row:not(.is-active)::after{
  content:"";
  position:absolute;

  /* ✅ kürzer: links/rechts stärker einrücken */
  left: 20px;
  right: 28px;

  top: 56%;
  transform: translateY(-50%);
  height: 2px;
  background: rgba(185,28,28,.60);
  border-radius: 0;
  pointer-events: none;
  z-index: 1;
}

/* Text über der Linie */
.cart-tier-inline,
.cart-tier-inline > *{
  position: relative;
  z-index: 2;
}

/* Aktiv: kein Strich + fett */
.cart-tier-row.is-active::after{ display:none; }

.cart-tier-row.is-active .cart-tier-label,
.cart-tier-row.is-active .cart-tier-eq,
.cart-tier-row.is-active .cart-tier-price{
  opacity: 1;
  color: #2a1913;
  font-weight: 900;
}







/* =========================
   SAVE-Spalte (Du sparst)
   ========================= */
.cart-save-cell{
  padding-right: 20px;       /* mehr Luft zur Menge */
  text-align: center;
}

.cart-save-pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 900;
  color: #166534;
  background: rgba(34,197,94,.10);
  border: 1px solid rgba(34,197,94,.25);
  border-radius: 999px;
  padding: 8px 12px;
  white-space: nowrap;
  margin: 0 auto;
}

.cart-save-check{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(34,197,94,.18);
  border: 1px solid rgba(34,197,94,.35);
  font-size: 12px;
}

/* Wenn kein Rabatt: dezenter Strich */
.cart-save-empty{
  opacity: .35;
  font-weight: 700;
}

/* =========================
   Menge-Spalte (Buttons + OK)
   ========================= */
.cart-qty-cell{ 
  padding-left: 20px;        /* mehr Luft vom Rabatt weg */
  text-align: center; 
}

.cart-qty-form{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.cart-qty-wrap{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border-radius: 999px;
  background: #fffdf9;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 4px 10px rgba(0,0,0,.04);
}

.qty-btn{
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.cart-qty-input-mobile{
  width: 44px;
  text-align: center;
  border: none;
  background: transparent;
}
.cart-qty-input-mobile:focus{ outline: none; }

.btn-cart-secondary{
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.92);
  cursor: pointer;
}

.cart-qty-ok{
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 999px;
}

/* Summe/Remove */
.cart-sum-cell{ white-space: nowrap; }

/* =========================
   Summary (rechts)
   ========================= */
.cart-summary-wrap{
  display: flex;
  justify-content: flex-end;
}

.cart-summary{
  width: 460px;
  max-width: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  font-size: 14px;
}

.cart-summary-row{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.cart-summary-total{
  font-weight: 900;
  font-size: 16px;
}

.cart-summary-sub{
  font-size: 12px;
  opacity: .8;
}

.cart-summary-coupon{
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-summary-coupon label{
  font-size: 12px;
  opacity: .85;
}

.cart-summary-coupon-row{
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.cart-coupon-input{
  flex: 1;
  height: 40px;
  border-radius: 999px;
  padding: 0 14px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
}

.cart-coupon-btn{
  height: 40px;
  border-radius: 999px !important;
  padding: 0 14px;
  font-weight: 600;
}

.cart-coupon-btn:disabled{
  opacity: .55;
  cursor: not-allowed;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
}

.cart-summary-note{
  font-size: 12px;
  margin-top: 10px;
  opacity: .75;
}

.cart-summary-actions{
  margin-top: 15px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.cart-summary-checkout{ text-align: right; }
.btn-cart-checkout{ padding: 0.45rem 1.4rem; }

/* =========================
   Mobile cart (nur Summary)
   ========================= */
@media (max-width: 900px){
  .cart-wrapper{ max-width: 1120px; }
  .cart-summary-wrap{ justify-content: center; }
  .cart-summary{ width: min(420px, 100%); }
}

/* ================================
   WARENKORB – Mobile Card Layout (9 Spalten, robust mit Klassen)
   ================================ */
@media (max-width: 800px){

  /* Header weg */
  .cart-table thead{ display: none; }

  /* Tabelle darf auf Mobile nicht "min-width: 980px" erzwingen */
  .cart-table{ min-width: 0 !important; }

  /* Jede Zeile wird eine Card */
  .cart-table tbody tr{
    display: grid;
    grid-template-columns: 74px 1fr;          /* Bild | Inhalt */
    grid-template-areas:
      "img  product"
      "img  line"
      "img  size"
      "img  price"
      "img  save"
      "img  qty"
      "img  sum"
      "img  remove";

    gap: 6px 12px;

    padding: 14px 14px;
    margin-bottom: 12px;

    border-radius: 18px;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 10px 26px rgba(0,0,0,0.06);
  }

  .cart-table tbody td{
    border: none !important;
    padding: 0 !important;
    font-size: 13px;
    line-height: 1.35;
  }

  /* Bild links */
  .cart-image-cell{
    grid-area: img;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2px !important;
  }

  .cart-image-wrapper{
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  /* Produkt */
  .cart-product-cell{
    grid-area: product;
    font-weight: 700;
    font-size: 13.5px;
    color: #2a1913;
  }

  /* Linie + Größe sauber UNTEREINANDER (kein Overlap) */
  .cart-line-cell,
  .cart-size-cell{
    display: block;
    color: rgba(108,82,77,0.85);
    font-size: 12px;
    margin: 0;
    padding: 0;
    text-align: left;
  }

  .cart-line-cell{
    grid-area: line;
    font-weight: 600;
  }

  .cart-size-cell{
    grid-area: size;
  }

  /* Bullet entfernen, weil jetzt nicht mehr in einer Zeile */
  .cart-size-cell::before{
    content: none;
  }


  /* Preis (Tierliste) */
  .cart-price-cell{
    grid-area: price;
    text-align: left !important;
  }
  .cart-tier-list{
    align-items: flex-start;
    margin: 0;
  }
  .cart-tier-row{
    grid-template-columns: 46px auto;
  }

  /* Du sparst */
  .cart-save-cell{
    grid-area: save;
    text-align: left !important;
  }
  .cart-save-pill{
    margin: 0;
  }

  /* Menge */
  .cart-qty-cell{
    grid-area: qty;
    text-align: left !important;
  }
  .cart-qty-form{
    justify-content: flex-start;
  }

  /* Summe */
  .cart-sum-cell{
    grid-area: sum;
    text-align: left !important;
    font-weight: 800;
    font-size: 13.5px;
    color: rgba(53,38,37,0.92);
  }
  .cart-sum-cell::before{
    content: "Summe: ";
    font-weight: 700;
    opacity: .55;
  }

  /* Entfernen Button */
  .cart-remove-cell{
    grid-area: remove;
    text-align: left !important;
  }
  .cart-remove-cell form{ display: inline-block; }
  .btn-cart-danger{
    padding: 8px 14px;
  }
}



/* ============================
   GLOBAL TOAST (Flash Message)
   ============================ */

.ggg-toast{
  position: fixed;
  top: 66px;                 /* unter Topbar (Desktop) */
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 10px;

  max-width: min(820px, calc(100vw - 24px));
  padding: 12px 14px;

  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(204,170,144,0.55);
  box-shadow: 0 18px 40px rgba(110,75,61,0.22);
  backdrop-filter: blur(10px);

  font-size: 13px;
  color: #2a1913;
}

@media (max-width: 800px){
  .ggg-toast{ top: 96px; }  /* unter zweizeiliger Topbar */
}

.ggg-toast__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.ggg-toast.success .ggg-toast__dot{
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22,163,74,0.12);
}

.ggg-toast.info .ggg-toast__dot{
  background: #e6b26b;
  box-shadow: 0 0 0 4px rgba(230,178,107,0.18);
}

.ggg-toast.error{
  border-color: rgba(185,28,28,0.35);
}
.ggg-toast.error .ggg-toast__dot{
  background: rgba(185,28,28,0.95);
  box-shadow: 0 0 0 4px rgba(185,28,28,0.12);
}

.ggg-toast__text{
  line-height: 1.25;
  font-weight: 600;
}

.ggg-toast__close{
  margin-left: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: rgba(42,25,19,0.55);
  padding: 2px 8px;
  border-radius: 999px;
}
.ggg-toast__close:hover{
  color: rgba(42,25,19,0.85);
  background: rgba(215,170,99,0.12);
}

/* ================================
   Gutschen
   ================================ */

.cart-coupon-msg{
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.35;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.55);
}
.cart-coupon-msg--error{
  border-color: rgba(185,28,28,0.25);
  background: rgba(239,68,68,0.10);
  color: #991b1b;
}
.cart-coupon-msg--success{
  border-color: rgba(22,163,74,0.20);
  background: rgba(34,197,94,0.10);
  color: #166534;
}
.cart-coupon-msg--info{
  border-color: rgba(2,132,199,0.18);
  background: rgba(56,189,248,0.10);
  color: #075985;
}


/* ============================
   CART – Stock Warnfarben
   ============================ */
.cart-stock-hint{
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

.cart-stock-ok{ color: #2f6b2f; }
.cart-stock-low{ color: #b38100; }
.cart-stock-out{ color: #b91c1c; }

.btn-cart-checkout.is-disabled{
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
}

.cart-stock-block-msg{
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #b91c1c;
  text-align: right;
}

/* ============================
   SHOP – AUSVERKAUFT Overlay
   ============================ */

.shop-product-image--stock{
  position: relative;
  overflow: hidden;
  border-radius: 14px; /* wenn deine Cards 18px haben, sag Bescheid */
}

.shop-product-image--stock img{
  display: block;
  width: 100%;
  height: auto;
}

.shop-stock-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  pointer-events: none;

  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 13px;

  color: #b91c1c;
  background: rgba(255,245,245,0.55);  /* weniger "Milchglas" -> Bild sichtbar */
  border: 1px solid rgba(185,28,28,0.28);
  backdrop-filter: blur(0.6px);


  border-radius: inherit;
}


/* ================================
   Responsive (global)
   ================================ */
@media (max-width: 900px){
  .shop-hero-slide{ grid-template-columns: minmax(0, 1fr); }
  .shop-hero-image{ min-height: 180px; }
  .shop-hero-overlay{ margin-top: 0.4rem; }
  .shop-shell{ padding-inline: 1.2rem; }

  .checkout-card{ padding: 1.6rem 1.4rem 1.9rem; }
  .checkout-grid{ grid-template-columns: 1fr; }
  .checkout-row-2{ grid-template-columns: 1fr 1fr; }

  .product-detail-page{
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 2.6rem;
    align-items: flex-start;
  }
  .product-detail-page .product-detail-card{ padding: 1.6rem 1.4rem 1.8rem; }
  .product-detail-page .product-detail-grid{ grid-template-columns: 1fr; gap: 1.4rem; }
  .product-detail-page .product-detail-image img{ max-width: 210px; }

  .brand-marquee{ padding: 12px 0; margin: 10px auto 30px; }
  .brand-marquee-item img{ height: 44px; }
  .hero-logo-item img{ height: 120px; }
}

/* Tablet / phone */
@media (max-width: 768px){
  .shop-shell{ padding: 1.4rem 1rem 0.0rem; }
  .shop-hero{ margin-top: 0.6rem; margin-bottom: 1.4rem; }
  .shop-info-strip{ margin-bottom: 1.8rem; }
  .shop-product-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }
  .shop-product-card{ padding: 1rem 1.1rem 1.1rem; }
  .shop-product-image{ max-width: 160px; height: 160px; }
  .checkout-wrapper{ padding-inline: 1rem; }
  .checkout-card{ padding-inline: 1.4rem; }
}

/* Small phones */
@media (max-width: 480px){
  .shop-brand .brand-text{
    font-size: 0.8rem;
    letter-spacing: 0.22em;
  }
  .brand-shop-suffix{ display: none; }
  .shop-info-strip-inner{
    padding: 0.6rem 0.9rem;
    font-size: 0.78rem;
  }
  .shop-section-header h2{
    font-size: 0.9rem;
    letter-spacing: 0.14em;
  }
  .btn-shop-primary,
  .btn-shop-secondary{
    padding: 0.45rem 0.9rem;
    font-size: 0.75rem;
  }
}

/* Product footer on small screens */
@media (max-width: 640px){
  .shop-product-footer{
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
    align-items: stretch;
  }
  .shop-product-footer .shop-product-price{ top: 0; text-align: center; }
  .shop-product-footer .product-tier-hint{ text-align: center; }
  .shop-product-footer .product-tier-hint .tier-badges{ align-items: center; }
  .shop-product-footer .shop-product-actions{ width: 100%; }
  .shop-product-footer .shop-product-actions .btn-shop-primary,
  .shop-product-footer .shop-product-actions .btn-shop-secondary{
    width: 100%;
    max-width: none;
    margin: 0 auto;
  }

  .shop-product-footer-guest{ align-items: center; text-align: center; }
  .shop-product-footer-guest .footer-login-btn.btn-b2b{
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.35rem 0.75rem;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0.35rem auto 0.15rem !important;
  }
  .shop-product-footer-guest .footer-login-btn.btn-b2b .btn-b2b-line1{
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }
  .shop-product-footer-guest .footer-login-btn.btn-b2b .btn-b2b-line2{
    font-size: 0.60rem;
    letter-spacing: 0.15em;
    margin-top: 2px;
  }

  /* Checkout mobile */
  .checkout-wrapper{ padding: 1.6rem 0.8rem 2.4rem; }
  .checkout-card{
    max-width: 380px;
    margin: 0 auto;
    border-radius: 18px;
    padding: 1.5rem 1.4rem 2.1rem;
  }
  .checkout-grid{ grid-template-columns: 1fr; gap: 1.1rem; }
  .checkout-row-2{ grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .checkout-actions{
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
  }
  .checkout-actions .btn-shop-primary,
  .checkout-actions .btn-shop-secondary{
    width: 100%;
    max-width: 340px;
    justify-content: center;
    margin: 0 auto;
  }
  .checkout-actions .checkout-hint-b2b{
    order: 2;
    text-align: center;
  }
}

/* Modal – Mobile / Tablet */
@media (max-width: 900px){
  .product-modal-backdrop{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.6rem;
    overflow-y: auto;
  }
  .product-modal-dialog{
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: center;
  }
  .product-modal-dialog .product-detail-card{
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    border-radius: 18px;
    padding: 1rem 1.1rem 1.3rem;
    background: linear-gradient(135deg, rgba(255, 252, 247, 0.97), rgba(250, 236, 224, 0.94));
    max-height: 86vh;
    overflow-y: auto;
  }
  .product-modal-dialog .product-detail-image img{
    max-width: 54%;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0.4rem auto 0.7rem;
    display: block;
  }
  .product-modal-dialog .product-detail-grid{
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
  .product-modal-dialog .product-detail-title{
    font-size: 1.08rem;
    letter-spacing: 0.14em;
  }
  .product-modal-dialog .product-detail-text{
    font-size: 0.84rem;
    line-height: 1.45;
  }
  .product-modal-dialog .product-detail-actions{
    margin-top: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }
  .product-modal-dialog .product-detail-actions .btn-shop-secondary,
  .product-modal-dialog .product-detail-actions .btn-shop-primary{
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
}

/* Handy: seitliches Scrollen aus (FIX: Dropdown nicht abschneiden) */
@media (max-width: 900px){
  html, body{ overflow-x: hidden; }

  /* nur die Seiten-Container dürfen X verstecken */
  .shop-body,
  .shop-shell{
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Header + Nav müssen Dropdown nach außen erlauben */
  .shop-header,
  .shop-main-nav{
    max-width: 100%;
    overflow: visible !important;
    overflow-x: visible !important;
  }
}
/* ✅ Mobile FIX: Such-Dropdown komplett sichtbar (nicht rechts abgeschnitten) */
@media (max-width: 800px){
  .shop-search-suggest{
    left: 8px !important;
    right: 8px !important;
    transform: none !important;
    width: auto !important;

  }

  /* Text darf umbrechen statt abgeschnitten zu wirken */
  .shop-search-suggest .s-title,
  .shop-search-suggest .s-desc{
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }
}


/* ==========================================================
   CHROMATIQUE – Modal + Shade Grid + Selected Chips (CLEAN FINAL LOCKED)
   Paste THIS once at the VERY END of shop.css
   ========================================================== */

#chromatiquePaletteModal{ position: fixed; inset: 0; z-index: 9999; display: none; }
#chromatiquePaletteModal.is-open{ display: block; }

#chromatiquePaletteModal .chromatique-modal__backdrop{
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(3px);
}

#chromatiquePaletteModal .chromatique-modal__box{
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: min(980px, 92vw);
  max-height: 86vh;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,252,247,0.98), rgba(250,236,224,0.95));
  border: 1px solid rgba(204,170,144,0.70);
  box-shadow: 0 20px 48px rgba(110,75,61,0.38);

  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

/* Close */
#chromatiquePaletteModal .chromatique-modal__close,
#chromatiquePaletteModal [data-close="1"]{
  position: absolute; top: 12px; right: 14px;
  width: 30px; height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(204,170,144,0.8);
  background: #fffaf4;
  color: rgba(53,38,37,0.9);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  z-index: 10;
}

/* Header */
#chromatiquePaletteModal .chromatique-modal__head{
  padding: 18px 18px 10px;
  flex: 0 0 auto;
}
#chromatiquePaletteModal .chromatique-modal__title{
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 13px;
}
#chromatiquePaletteModal .chromatique-modal__hint{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(108,82,77,0.85);
}

/* Body 2-col */
#chromatiquePaletteModal .chromatique-modal__body{
  flex: 1 1 auto;
  min-height: 0;
  display: grid !important;
  grid-template-columns: 1.18fr 1.12fr;
  gap: 18px;
  padding: 0 18px 12px;
  overflow: hidden;
  align-items: stretch;
}

/* LEFT: scroll + grid */
#chromatiquePaletteModal .chromatique-modal__grid-scroll{
  min-height: 0;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px 10px 10px 4px;
  scrollbar-gutter: stable;
}

/* scroll track */
#chromatiquePaletteModal .chromatique-modal__grid-scroll::-webkit-scrollbar{ width: 10px; }
#chromatiquePaletteModal .chromatique-modal__grid-scroll::-webkit-scrollbar-track{
  margin-top: 14px; margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(0,0,0,0.04);
}
#chromatiquePaletteModal .chromatique-modal__grid-scroll::-webkit-scrollbar-thumb{
  border-radius: 999px;
  background: rgba(53,38,37,0.22);
  border: 2px solid rgba(255,255,255,0.65);
}
#chromatiquePaletteModal .chromatique-modal__grid-scroll::-webkit-scrollbar-thumb:hover{
  background: rgba(53,38,37,0.32);
}

#chromatiquePaletteModal .chromatique-modal__grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 10px;
  padding: 0;
}

/* ===== GROUP HEADERS (21 Farbgruppen) ===== */
#chromatiquePaletteModal .chromatique-group{
  grid-column: 1 / -1;
  margin: 12px 0 4px;
  padding: 6px 10px;

  border-radius: 999px;
  border: 1px solid rgba(204,170,144,0.55);
  background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(250,236,224,0.85));

  text-align: center;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(53,38,37,0.85);
}

/* Swatch */
#chromatiquePaletteModal .chromatique-swatch{
  border: 1px solid rgba(204,170,144,0.70);
  border-radius: 12px;
  padding: 7px;
  background: rgba(255,252,247,0.92);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
#chromatiquePaletteModal .chromatique-swatch:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(110,75,61,0.14);
}
#chromatiquePaletteModal .chromatique-swatch.is-active{
  outline: 2px solid rgba(215,170,99,0.95);
  box-shadow: 0 12px 24px rgba(110,75,61,0.15);
}




#chromatiquePaletteModal .chromatique-swatch__thumb{
  width: 100%;
  height: 48px;              /* bleibt klein */
  border-radius: 10px;
  overflow: hidden;          /* ✅ sperrt PNG sicher ein */
  background: #fff;          /* ✅ damit transparente PNGs “sauber” wirken */
  display: flex;
  align-items: center;
  justify-content: center;
}

#chromatiquePaletteModal .chromatique-swatch__thumb img{
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;         /* ✅ füllt das Feld, kein riesiges Überstehen */
  object-position: 50% 20%;  /* ✅ Kopf oben, Haare sichtbar */
}
/* ✅ NOTFALL-FIX: wenn im Swatch irgendwo ein anderes <img> ist -> zwingen */
#chromatiquePaletteModal .chromatique-swatch img{
  width: 100% !important;
  height: 48px !important;
  max-height: 48px !important;
  object-fit: cover !important;
  display: block !important;
}






#chromatiquePaletteModal .chromatique-swatch__code{
  display: block;
  margin-top: 5px;
  text-align: center;
  font-weight: 800;
  letter-spacing: .08em;
  font-size: 10px;
  text-transform: uppercase;
  color: rgba(53,38,37,0.88);
}

/* RIGHT: preview */
#chromatiquePaletteModal .chromatique-modal__preview{
  min-height: 0;
  border: 1px solid rgba(204,170,144,0.60);
  border-radius: 18px;
  background: rgba(255,255,255,0.55);
  padding: 12px;

  display: flex !important;
  flex-direction: column !important;
  gap: 10px;

  overflow: hidden !important;

  height: 100%;
  max-height: 100%;
}

/* Preview-Box */
#chromatiquePaletteModal .chromatique-preview__img{
  height: 260px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  position: relative;
}

/* Preview-Bild: STANDARD = passt komplett rein */
#chromatiquePaletteModal .chromatique-preview__img img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;          /* Bild komplett sichtbar */
  object-position: center;
  transition: transform 0.18s ease;
  transform-origin: center center;
  cursor: zoom-in;
}

/* ZOOM Zustand – stärker & kontrolliert */
#chromatiquePaletteModal .chromatique-preview__img.is-zoomed img{
  transform: none;          /* <<< HIER: starker Zoom (vorher 2) */
  cursor: zoom-out;
}

.chromatique-preview__img { overflow: hidden; }
.chromatique-preview__img img { cursor: grab; user-select: none; -webkit-user-drag: none; }
.chromatique-preview__img img:active { cursor: grabbing; }




#chromatiquePaletteModal .chromatique-preview__code{
  text-align: center;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(53,38,37,0.92);
}
#chromatiquePaletteModal .chromatique-preview__name{
  margin-top: 4px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(108,82,77,0.9);
}

/* ===== GOLD BUTTONS: SAME WIDTH + REAL CENTER (LOCKED) ===== */
#chromatiquePaletteModal .chromatique-preview__confirm{
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

#chromatiquePaletteModal #chromatiqueConfirmBtn,
#chromatiquePaletteModal #chromatiqueAddBtn{
  all: unset;
  cursor: pointer;

  display: block !important;
  margin: 0 auto !important;
  text-align: center !important;

  width: 300px !important;
  max-width: 100% !important;

  padding: 10px 18px !important;
  border-radius: 999px !important;

  background: linear-gradient(135deg, var(--shop-accent), #fbe5c3) !important;
  color: #3a2419 !important;
  border: 1px solid rgba(204,170,144,0.90) !important;
  box-shadow: 0 10px 24px rgba(154, 119, 94, 0.28) !important;

  font-size: 12px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
}

#chromatiquePaletteModal #chromatiqueConfirmBtn:disabled,
#chromatiquePaletteModal #chromatiqueAddBtn:disabled{
  opacity: .45 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

/* Title centered */
#chromatiquePaletteModal .chromatique-selected__title,
#chromatiquePaletteModal .chromatique-selected-title,
#chromatiquePaletteModal h3{
  margin: 2px 0 6px !important;
  text-align: center !important;
  width: 100% !important;
}

/* Selected container grows */
#chromatiquePaletteModal .chromatique-selected,
#chromatiquePaletteModal .chromatique-selected__wrap{
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
}

/* ===== RIGHT SCROLLBAR: FORCE IT (LOCKED) ===== */
#chromatiquePaletteModal #chromatiqueSelectedList{
  flex: 1 1 auto !important;
  min-height: 0 !important;
  max-height: 260px !important;

  overflow-y: scroll !important;
  overflow-x: hidden !important;

  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;

  padding: 6px 4px 2px !important;
  scrollbar-gutter: stable !important;
}

#chromatiquePaletteModal #chromatiqueSelectedList::-webkit-scrollbar{ width: 10px; }
#chromatiquePaletteModal #chromatiqueSelectedList::-webkit-scrollbar-track{
  margin-top: 10px; margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.04);
}
#chromatiquePaletteModal #chromatiqueSelectedList::-webkit-scrollbar-thumb{
  border-radius: 999px;
  background: rgba(53,38,37,0.22);
  border: 2px solid rgba(255,255,255,0.65);
}

/* Chips */
#chromatiquePaletteModal #chromatiqueSelectedList .chromatique-chip{
  box-sizing: border-box !important;
  min-width: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;

  gap: 10px !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;

  border: 1px solid rgba(204,170,144,0.70) !important;
  background: rgba(255,255,255,0.92) !important;
  box-shadow: 0 10px 18px rgba(110,75,61,0.07) !important;
}

#chromatiquePaletteModal #chromatiqueSelectedList .chromatique-chip__code{
  flex: 1 1 auto !important;
  min-width: 0 !important;

  font-weight: 900 !important;
  letter-spacing: .05em !important;
  text-transform: uppercase !important;
  color: rgba(53,38,37,0.92) !important;

  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;

  text-align: center !important;
}

#chromatiquePaletteModal #chromatiqueSelectedList .chromatique-chip__controls{
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

#chromatiquePaletteModal #chromatiqueSelectedList .chromatique-chip__qty,
#chromatiquePaletteModal #chromatiqueSelectedList .chromatique-chip__btn{
  all: unset !important;
  box-sizing: border-box !important;
}

#chromatiquePaletteModal #chromatiqueSelectedList .chromatique-chip__qty{
  width: 22px !important;
  height: 22px !important;
  border-radius: 999px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  text-align: center !important;
  line-height: 1 !important;

  background: linear-gradient(135deg, rgba(215,170,99,0.95), rgba(251,229,195,0.95)) !important;
  border: 1px solid rgba(204,170,144,0.90) !important;
  color: #3a2419 !important;

  font-weight: 900 !important;
  font-size: 11px !important;
}

#chromatiquePaletteModal #chromatiqueSelectedList .chromatique-chip__btn{
  width: 22px !important;
  height: 22px !important;
  border-radius: 999px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  text-align: center !important;
  line-height: 1 !important;

  font-size: 14px !important;
  cursor: pointer !important;

  box-shadow: 0 6px 12px rgba(110,75,61,0.08) !important;
  border: 1px solid rgba(0,0,0,0.12) !important;
  background: rgba(255,255,255,0.95) !important;
}

#chromatiquePaletteModal #chromatiqueSelectedList .chromatique-chip__btn[data-action="minus"],
#chromatiquePaletteModal #chromatiqueSelectedList .chromatique-chip__btn.is-minus{
  background: rgba(239,68,68,0.14) !important;
  border-color: rgba(239,68,68,0.28) !important;
  color: #991b1b !important;
}
#chromatiquePaletteModal #chromatiqueSelectedList .chromatique-chip__btn[data-action="plus"],
#chromatiquePaletteModal #chromatiqueSelectedList .chromatique-chip__btn.is-plus{
  background: rgba(34,197,94,0.14) !important;
  border-color: rgba(34,197,94,0.28) !important;
  color: #166534 !important;
}

#chromatiquePaletteModal #chromatiqueSelectedList .chromatique-chip__btn:hover{
  transform: translateY(-1px) !important;
  filter: brightness(0.98) !important;
}

/* Clear */
#chromatiquePaletteModal .chromatique-clear{
  display: flex !important;
  justify-content: center !important;

  padding: 8px 0 10px !important;   /* ✅ oben+unten Luft */
  flex: 0 0 auto !important;        /* ✅ darf NICHT zusammengedrückt werden */
}

#chromatiquePaletteModal #chromatiqueClearBtn,
#chromatiquePaletteModal .chromatique-clear button{
  all: unset !important;
  cursor: pointer !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;

  border: 1px solid rgba(0,0,0,0.10) !important;
  background: rgba(255,255,255,0.72) !important;
  border-radius: 999px !important;
  padding: 7px 12px !important;
  font-size: 12px !important;
  color: rgba(53,38,37,0.85) !important;
}

/* Footer (LOCKED) */
#chromatiquePaletteModal .chromatique-modal__footer{
  flex: 0 0 auto;
  position: sticky;
  bottom: 0;
  z-index: 5;

  display: grid !important;
  grid-template-columns: 1.18fr 1.12fr !important;
  align-items: center !important;

  padding: 10px 18px 16px;
  background: linear-gradient(
    to bottom,
    rgba(253,240,228,0),
    rgba(253,240,228,0.92) 35%,
    rgba(253,240,228,0.98)
  );
}

#chromatiquePaletteModal #chromatiqueAddBtn{
  grid-column: 2 !important;
  justify-self: center !important;
}

/* ==========================================================
   CHROMATIQUE – DESKTOP: Actionbar NUR rechts (wie Mobile)
   ========================================================== */
@media (min-width: 901px){

  /* Footer bleibt 2-spaltig (links Farbtöne / rechts Preview) */
  #chromatiquePaletteModal .chromatique-modal__footer{
    display: grid !important;
    grid-template-columns: 1.18fr 1.12fr !important;
    gap: 18px !important;
    align-items: center !important;
  }

  /* Linke Footer-Spalte leer lassen */
  #chromatiquePaletteModal .chromatique-modal__footer-left{
    grid-column: 1 !important;
  }

  /* Form + Actionbar NUR rechts */
  #chromatiquePaletteModal .chromatique-cart-form{
    grid-column: 2 !important;
    width: 100% !important;
    margin: 0 !important;
    display: block !important;
  }

  /* Actionbar: links klein, rechts Rest (wie Mobile) */
  #chromatiquePaletteModal .chromatique-actionbar{
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(110px, 150px) minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;
    justify-items: stretch !important;
  }

  /* Buttons: gleiche Optik wie Mobile */
  #chromatiquePaletteModal #chromatiqueClearBtn,
  #chromatiquePaletteModal #chromatiqueAddBtn{
    height: 42px !important;
    line-height: 42px !important;
    border-radius: 14px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Clear bleibt kompakt */
  #chromatiquePaletteModal #chromatiqueClearBtn{
    width: auto !important;
  }

  /* Warenkorb nimmt die Restbreite innerhalb der rechten Spalte */
  #chromatiquePaletteModal #chromatiqueAddBtn{
    width: 100% !important;
    min-width: 0 !important;
    justify-self: stretch !important;

    /* LOCKED Desktop-Placement killen */
    grid-column: auto !important;
  }
}



/* ==========================================================
   CHROMATIQUE – MOBILE FINAL (ONE BLOCK, PRO, DONE)
   passt zu deinem Blade:
   .chromatique-modal__grid-scroll + .chromatique-modal__right
   Footer: .chromatique-actionbar mit Clear + Add
   ========================================================== */
@media (max-width: 900px){

  /* Modal Box: stabil */
  #chromatiquePaletteModal.is-open .chromatique-modal__box{
    left: 50% !important;
    top: 10px !important;
    bottom: 10px !important;
    transform: translateX(-50%) !important;

    width: min(980px, 96vw) !important;
    max-height: none !important;

    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  /* BODY: oben Grid, unten Right */
  #chromatiquePaletteModal.is-open .chromatique-modal__body{
    flex: 1 1 auto !important;
    min-height: 0 !important;

    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: 250px 1fr !important; /* ✅ mehr Platz unten */
    gap: 10px !important;

    overflow: hidden !important;
    padding: 0 12px 10px !important;
  }

  /* Farbtöne: etwas kompakter, damit unten Luft entsteht */
  #chromatiquePaletteModal.is-open .chromatique-modal__grid-scroll{
    height: 250px !important;
    min-height: 250px !important;
    max-height: 250px !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    padding-right: 6px !important;
  }

  /* Right Panel: edel, aber nicht “zu fett” */
  #chromatiquePaletteModal.is-open .chromatique-modal__right{
    min-height: 0 !important;
    height: 100% !important;
    overflow: hidden !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;

    border: 1px solid rgba(204,170,144,0.42) !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,0.60) !important;
    box-shadow: 0 16px 36px rgba(110,75,61,0.09) !important;
    padding: 10px !important;
  }

  /* Preview: groß genug, aber spart Platz */
  #chromatiquePaletteModal.is-open .chromatique-preview__img{
    flex: 0 0 170px !important;
    height: 170px !important;
    min-height: 170px !important;
    max-height: 170px !important;

    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 12px 28px rgba(110,75,61,0.10) !important;
    overflow: hidden !important;
  }

  /* Text kleiner -> mehr Platz */
  #chromatiquePaletteModal.is-open .chromatique-preview__code{
    font-size: 11px !important;
    letter-spacing: 0.10em !important;
  }
  #chromatiquePaletteModal.is-open .chromatique-preview__name{
    font-size: 12px !important;
  }

  /* Auswählen Button kompakt */
  #chromatiquePaletteModal.is-open #chromatiqueConfirmBtn{
    height: 36px !important;
    padding: 0 14px !important;
    font-size: 11px !important;
    letter-spacing: 0.10em !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 20px rgba(154,119,94,0.14) !important;
  }

  /* Selected Block */
  #chromatiquePaletteModal.is-open .chromatique-selected{
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }
  #chromatiquePaletteModal.is-open .chromatique-selected__title{
    font-size: 11px !important;
    letter-spacing: 0.10em !important;
    margin: 2px 0 4px !important;
  }

  /* ✅ SelectedList: garantiert Scroll + nie Ballon */
  #chromatiquePaletteModal.is-open #chromatiqueSelectedList{
    flex: 1 1 auto !important;
    min-height: 0 !important;

    max-height: 240px !important;       /* ✅ scrollt sicher */
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;

    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;

    align-content: start !important;
    grid-auto-rows: 36px !important;    /* ✅ “doppelt kleiner” */
    padding-right: 6px !important;
    padding-bottom: 6px !important;
  }

  /* Chips: klein + edel */
  #chromatiquePaletteModal.is-open #chromatiqueSelectedList .chromatique-chip{
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;

    border-radius: 999px !important;
    border: 1px solid rgba(204,170,144,0.52) !important;
    background: rgba(255,255,255,0.94) !important;
    box-shadow: 0 8px 18px rgba(110,75,61,0.06) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 10px !important;
  }
  #chromatiquePaletteModal.is-open #chromatiqueSelectedList .chromatique-chip__code{
    font-size: 11px !important;
    letter-spacing: 0.05em !important;
    font-weight: 800 !important;
  }
   /* ===== Footer / Actionbar (FIX: footer darf NICHT 2-spaltig sein) ===== */
  #chromatiquePaletteModal.is-open .chromatique-modal__footer{
    position: sticky !important;
    bottom: 0 !important;
    z-index: 50 !important;

    padding: 10px 16px 12px !important;
    border-top: 1px solid rgba(204,170,144,0.30) !important;
    background: rgba(253,240,228,0.92) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 -14px 28px rgba(110,75,61,0.10) !important;

    /* ✅ WICHTIG: LOCKED Desktop-Grid ausschalten */
    display: block !important;
    grid-template-columns: none !important;
  }

  /* ===== BUTTON HEIGHT FIX (PIXEL PERFECT) ===== */
#chromatiquePaletteModal.is-open #chromatiqueClearBtn,
#chromatiquePaletteModal.is-open #chromatiqueAddBtn{
  height: 42px !important;          /* +2px für optische Gleichheit */
  line-height: 42px !important;     /* Text exakt zentriert */
  padding: 0 16px !important;

  box-sizing: border-box !important;
}

  /* Form muss volle Breite haben */
  #chromatiquePaletteModal.is-open .chromatique-cart-form{
    width: 100% !important;
    display: block !important;
  }
  
  /* Actionbar: links klein, rechts nimmt REST */
  #chromatiquePaletteModal.is-open .chromatique-actionbar{
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(110px, 150px) minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;
    justify-items: stretch !important;
  }

  /* Buttons: Basis */
  #chromatiquePaletteModal.is-open #chromatiqueClearBtn,
  #chromatiquePaletteModal.is-open #chromatiqueAddBtn{
    height: 40px !important;
    border-radius: 14px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    line-height: 1 !important;

    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  /* Clear: kompakt links */
  #chromatiquePaletteModal.is-open #chromatiqueClearBtn{
    width: auto !important;
    padding: 0 14px !important;
    max-width: 150px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    background: rgba(255,255,255,0.88) !important;
    border: 1px solid rgba(204,170,144,0.70) !important;
    color: rgba(53,38,37,0.88) !important;
    box-shadow: 0 10px 22px rgba(110,75,61,0.10) !important;
  }

  /* ✅ Add: füllt die komplette Restbreite */
  #chromatiquePaletteModal.is-open #chromatiqueAddBtn{
    width: 100% !important;              /* nimmt 1fr */
    padding: 0 16px !important;
    min-width: 0 !important;
    background: linear-gradient(135deg, #d7aa63, #f6d6a6) !important;
    border: 1px solid rgba(140, 98, 48, 0.35) !important;
    color: rgba(58, 36, 25, 0.95) !important;

    box-shadow:
      0 12px 26px rgba(154,119,94,0.18),
      inset 0 1px 0 rgba(255,255,255,0.55) !important;
  }

  /* Disabled */
  #chromatiquePaletteModal.is-open #chromatiqueAddBtn:disabled{
    opacity: .55 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
  }

  /* Hint (wenn nicht eingeloggt) */
  #chromatiquePaletteModal.is-open .chromatique-actionbar__hint{
    grid-column: 2 !important;
    text-align: center !important;
    font-size: 12px !important;
    color: rgba(108,82,77,0.85) !important;
  }
}




  



/* ================================
   CHROMATIQUE – Out of Stock (LUXURY)
   ================================ */

.chromatique-swatch.is-out {
  position: relative;
  opacity: 0.45;
  pointer-events: none;
  filter: grayscale(0.2);
}

/* dezenter diagonaler Slash */
.chromatique-swatch.is-out::after {
  content: "";
  position: absolute;
  inset: 14%;
  background: linear-gradient(
    135deg,
    transparent 46%,
    rgba(140, 40, 40, 0.45) 47%,
    rgba(140, 40, 40, 0.45) 53%,
    transparent 54%
  );
  border-radius: 8px;
  pointer-events: none;
}



/* =========================
   NAV – Suche + Autocomplete (FINAL SINGLE)
   - ohne doppelte .shop-search-suggest Regeln
   - Scrollbar sitzt sauber in der Box (kürzer + mit Innenabstand)
   ========================= */



/* Container */
.shop-nav-search{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  overflow: visible; 
  z-index: 3000;       /* ✅ Suchblock + Dropdown kommt sicher nach vorne */


  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 3px 7px rgba(0,0,0,0.035);
}

/* Input */
.shop-nav-search input{
  width: 150px;
  border: none;
  outline: none;
  background: transparent;
  font-size: 12px;
  line-height: 1.1;
  padding: 2px 0;
  color: #5e4a3b;
}

/* Button */
.shop-nav-search button{
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--shop-accent), #fbe5c3);
  border: 1px solid rgba(204, 170, 144, 0.9);
  color: #3a2419;
  font-weight: 600;
  border-radius: 999px;
  padding: 4px 8px;
  box-shadow: 0 6px 14px rgba(154, 119, 94, 0.18);
  line-height: 1;
}

/* =========================
   Dropdown (Premium + Scrollbar sauber IN der Box)
   ========================= */
.shop-search-suggest{
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: auto;

  width: min(460px, calc(100vw - 24px));
  z-index: 9999;
  

  /* ✅ dein JS benutzt hidden=true/false (gut so) */
  display: block;               /* hidden Attribut steuert Sichtbarkeit */
  box-sizing: border-box;

  border-radius: 18px;
  border: 1px solid rgba(204,170,144,0.70);
  background: rgba(255,252,247,0.98);
  box-shadow: 0 22px 60px rgba(35,20,17,0.18);

  /* ✅ runde Ecken bleiben sauber */
  overflow: hidden;

  /* ✅ Innenabstand, damit Scrollbar nicht am Rand klebt */
  padding: 8px;

  overscroll-behavior: contain;   /* ✅ verhindert, dass der Scroll an die Seite “weitergegeben” wird */
  touch-action: pan-y;            /* ✅ mobile/trackpad sauber */
}

/* ✅ wenn hidden, wirklich weg */
.shop-search-suggest[hidden]{
  display: none !important;
}

/* ✅ Scroll-Container (wir scrollen die Box selbst) */
.shop-search-suggest{
  max-height: 360px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;

  /* verhindert “springen” wenn scrollbar kommt/weg */
  scrollbar-gutter: stable;
}

/* Scrollbar schön + “kürzer” durch Track-Margin */
.shop-search-suggest::-webkit-scrollbar{ width: 10px; }
.shop-search-suggest::-webkit-scrollbar-track{
  border-radius: 999px;
  background: rgba(0,0,0,0.04);

  /* ✅ DAS macht sie optisch kürzer (oben/unten Luft) */
  margin: 10px 0;
}
.shop-search-suggest::-webkit-scrollbar-thumb{
  border-radius: 999px;
  background: rgba(53,38,37,0.22);
  border: 2px solid rgba(255,255,255,0.65);
}

/* Treffer-Zeilen (Card-Feeling) */
.shop-search-suggest a{
  display: grid;
  gap: 2px;

  padding: 12px 14px;
  text-decoration: none;
  color: #2a1913;

  /* ✅ keine harten Linien (wir nehmen “weiche” Abstände) */
  border-top: 0;
  border-radius: 12px;
  margin: 2px 0;
}
.shop-search-suggest a:hover{
  background: rgba(215,170,99,0.10);
}

.shop-search-suggest .s-title{
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
.shop-search-suggest .s-desc{
  margin-top: 2px;
  font-size: 12px;
  color: rgba(108,82,77,0.85);
  line-height: 1.25;
  opacity: 0.9;
}

/* Highlight vom Suchwort */
.shop-search-suggest mark{
  background: rgba(215,170,99,0.22);
  color: inherit;
  padding: 0 2px;
  border-radius: 6px;
}

@media (max-width: 800px){
  .shop-nav-search input{ width: 210px; }
  .shop-search-suggest{ width: min(520px, calc(100vw - 24px)); }
}



.shop-product-image--stock{ position: relative; }

/* =========================
   ⭐ Rating Badge (ONE SYSTEM: ★)
   - Listing + Modal (einheitlich)
   ========================= */

/* Badge über Produktbild (Listing) */
.product-rating-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 6px;

  background: none;
  border: 0;
  box-shadow: none;

  white-space: nowrap;
}

/* Sterne im Listing */
.shop-rating-stars{
  display: inline-flex;
  align-items: center;
  gap: 3px;
  line-height: 1;
}

.shop-rating-stars .shop-star{
  display: inline-block;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0;
}

.shop-rating-stars .shop-star.is-on{
  color: #d7aa63; /* Go Glow Glam Gold */
}

.shop-rating-stars .shop-star.is-off{
  color: rgba(0,0,0,0.25); /* edles Grau */
}

/* Text rechts: "X Bewertungen" */
.product-rating-meta{
  font-size: 11px;
  color: rgba(0,0,0,0.55);
  white-space: nowrap;
}

/* =========================
   Modal Rating (klickbar + Gast gleiches Layout)
   ========================= */

.modal-rating-stars{
  display: inline-flex;
  gap: 6px;
  align-items: center;
  position: relative;
  z-index: 5;
}

/* gilt für <button> UND <span> */
.modal-rating-stars .star-btn{
  width: 30px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.55);

  font-size: 25px;
  line-height: 1;
  color: rgba(0,0,0,0.28);

  user-select: none;
}

/* nur echte Buttons sind klickbar */
.modal-rating-stars button.star-btn{
  cursor: pointer;
  padding: 0;
  pointer-events: auto;
}

/* Aktiv (nach Klick / gesetzt via JS) */
.modal-rating-stars .star-btn.is-active{
  background: rgba(215,170,99,0.18);
  border-color: rgba(215,170,99,0.45);
  color: #d7aa63;
}

/* Gast: gleiches Design, nur disabled */
.modal-rating-stars .star-btn.is-disabled{
  opacity: .75;
  pointer-events: auto;     /* ✅ wichtig: Klick kommt durch */
  cursor: pointer;          /* ✅ darf “klickbar” wirken, aber JS blockt Bewertung */
}

/* optional: Hover nur für Buttons */
.modal-rating-stars button.star-btn:hover{
  border-color: rgba(215,170,99,0.35);
  filter: brightness(0.98);
}


.modal-rating-loginhint{
  opacity: .75;
}

@media (max-width: 800px){

  .product-rating-badge{
    align-items: center;
    gap: 4px;              /* weniger Breite */
  }

  .shop-rating-stars{
    align-items: center;
    gap: 0px;              /* weniger Breite */
  }

  .shop-rating-stars .shop-star{
    font-size: 12px;       /* Sterne größer, aber nicht zu breit */
    line-height: 1;
  }

  .product-rating-meta{
    font-size: 10px;       /* etwas kleiner → mehr Platz */
    line-height: 1;

    max-width: 78px;       /* ✅ verhindert rauslaufen */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}


/* =========================================
   MOBILE: Nav (Tabs+Suche) hide-on-scroll
   ========================================= */
@media (max-width: 800px){
  .shop-main-nav{
    transition: transform 220ms ease, opacity 220ms ease;
    will-change: transform, opacity;
  }

  /* Wenn versteckt */
  body.shop-nav-hidden .shop-main-nav{
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
  }
}


/* =========================================
   B2B REGISTRIERUNG – MOBILE BUTTON ORDER
   ========================================= */
@media (max-width: 768px){

  .checkout-actions{
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.8rem !important;
  }

  .checkout-actions .btn-shop-primary{
  order: 1 !important;

  height: 44px !important;
  line-height: 44px !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}


  /* 2️⃣ Hinweistext danach */
  .checkout-actions .checkout-hint-b2b{
    order: 2 !important;
    text-align: center !important;
    margin: 0.2rem 0 !important;
  }

  .checkout-actions .btn-shop-secondary{
  order: 3 !important;

  height: 44px !important;
  line-height: 44px !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

}


/* ================================
   SEO Accordion (Premium)
   ================================ */
.shop-section-text{
  padding-top: 0;
}

.shop-section-text .shop-section-text-inner{
  max-width: 1120px;   /* gleiche Breite wie shop-shell */
  width: 100%;
  margin: 0 auto;
}


.shop-section-text .seo-accordion-toggle{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 16px 18px;
  border-radius: 16px;

  border: 1px solid rgba(42, 31, 29, 0.14);
  background: rgba(255, 255, 255, 0.42);

  box-shadow:
    0 10px 26px rgba(42, 31, 29, 0.10);
  cursor: pointer;

  text-align: left;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.shop-section-text .seo-accordion-toggle:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(42, 31, 29, 0.12);
  border-color: rgba(42, 31, 29, 0.18);
}

.shop-section-text .seo-accordion-preview{
  min-width: 0;
}

.shop-section-text .seo-accordion-preview-title{
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(42, 31, 29, 0.82);
  margin-bottom: 6px;
}

.shop-section-text .seo-accordion-preview-text{
  font-size: 12px;
  line-height: 1.35;
  color: rgba(42, 31, 29, 0.68);
  max-width: 62ch;
}

.shop-section-text .seo-accordion-cta{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 999px;

  border: 1px solid rgba(42, 31, 29, 0.14);
  background: rgba(255, 255, 255, 0.55);
}

.shop-section-text .seo-accordion-cta-text{
  font-size: 12px;
  font-weight: 600;
  color: rgba(42, 31, 29, 0.86);
  white-space: nowrap;
}

.shop-section-text .seo-accordion-icon{
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  border: 1px solid rgba(42, 31, 29, 0.14);
  background: rgba(255, 255, 255, 0.65);

  font-weight: 800;
  line-height: 1;
  color: rgba(42, 31, 29, 0.85);
}

.shop-section-text .seo-accordion-content{
  margin-top: 14px;
  padding: 18px 18px;

  border-radius: 18px;
  border: 1px solid rgba(42, 31, 29, 0.10);
  background: rgba(255, 255, 255, 0.35);
}

/* Mobile stacking */
@media (max-width: 640px){
  .shop-section-text .seo-accordion-toggle{
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .shop-section-text .seo-accordion-cta{
    width: 100%;
    justify-content: space-between;
  }
}

/* Schnellzugriff – Premium Pills */
.shop-section-text .seo-accordion-content ul{
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-section-text .seo-accordion-content ul li{
  margin: 0;
}

.shop-section-text .seo-accordion-content ul li::after{
  content: "";
  margin: 0;
}

/* Link als "Pill" */
.shop-section-text .seo-accordion-content ul a{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1;
  color: #5c3520;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(122,75,42,0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.shop-section-text .seo-accordion-content ul a:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.72);
  border-color: rgba(122,75,42,0.28);
  text-decoration: none;
}
.shop-section-text .seo-accordion-content ul a[href*="b2b"]{
  background: rgba(215,170,99,0.22);
  border-color: rgba(215,170,99,0.35);
}


.notranslate { unicode-bidi: isolate; }


@media (max-width: 800px){
  /* ✅ Nur Warenkorb (Handy): Trennlinie über Inhalt entfernen */
  body.is-cart .shop-header{
    border-bottom: none !important;
    box-shadow: none !important;
  }
  
}
@media (max-width: 800px){
  /* ✅ Warenkorb (Handy): weniger Luft oben */
  body.is-cart{
    padding-top: calc(var(--topbar-h) + 18px) !important;
  }
}
