/* =========================
   EHC St. Moritz · Webshop
   ========================= */

/* Hero / Featured-Strip ------------------------------------------------ */
.shop-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 30px;
  align-items: stretch;
  margin: 0 0 60px;
}
.shop-hero .hero-feature {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue, #2c4390) 0%, var(--blue-deep, #1a2960) 100%);
  color: #fff;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  box-shadow: 0 18px 50px rgba(2,10,38,0.18);
  isolation: isolate;
}
.shop-hero .hero-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(245,219,51,0.18), transparent 55%);
  pointer-events: none;
  z-index: -1;
}
.shop-hero .hero-feature .eyebrow {
  color: var(--yellow, #f5db33);
  font: 700 .78rem/1 var(--mono, "Space Grotesk", monospace);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.shop-hero .hero-feature h2 {
  font: 800 2.6rem/1.05 var(--display, "Anton", sans-serif);
  margin: 14px 0 18px;
  letter-spacing: .015em;
}
.shop-hero .hero-feature p {
  opacity: .9;
  max-width: 42ch;
  line-height: 1.6;
}
.shop-hero .hero-feature .btn-row { margin-top: 28px; }
.shop-hero .hero-feature .price-strip {
  display: flex;
  gap: 28px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.shop-hero .hero-feature .price-strip > div span {
  display: block;
  font: 700 .68rem/1 var(--mono, "Space Grotesk", monospace);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 6px;
}
.shop-hero .hero-feature .price-strip > div strong {
  font: 800 1.5rem/1 var(--display, "Anton", sans-serif);
  color: var(--yellow, #f5db33);
  letter-spacing: .015em;
}

.shop-hero .hero-cards {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}
.shop-hero .hero-card {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(44,67,144,0.08);
  box-shadow: 0 6px 18px rgba(2,10,38,0.05);
  transition: transform .25s cubic-bezier(.25,.85,.4,1), box-shadow .25s ease;
  text-decoration: none;
  color: inherit;
}
.shop-hero .hero-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(2,10,38,0.12);
}
.shop-hero .hero-card .h-img {
  background: #f5f6fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.shop-hero .hero-card .h-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform .35s ease;
}
.shop-hero .hero-card:hover .h-img img { transform: scale(1.06); }
.shop-hero .hero-card .h-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.shop-hero .hero-card .h-body span {
  font: 700 .68rem/1 var(--mono, "Space Grotesk", monospace);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue, #2c4390);
  opacity: .8;
}
.shop-hero .hero-card .h-body h3 {
  margin: 0;
  font: 800 1.18rem/1.2 var(--display, "Anton", sans-serif);
  letter-spacing: .015em;
  color: var(--blue-deep, #1a2960);
}
.shop-hero .hero-card .h-body strong {
  font: 800 1.35rem/1 var(--display, "Anton", sans-serif);
  color: var(--blue-deep, #1a2960);
  margin-top: 4px;
}

/* Section-Heading -------------------------------------------------------- */
.shop-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 22px;
}
.shop-section-head h2 {
  font: 800 2rem/1.05 var(--display, "Anton", sans-serif);
  color: var(--text, #f4f6fb);
  margin: 4px 0 0;
  letter-spacing: .015em;
}
.shop-section-head .eyebrow {
  font: 700 .72rem/1 var(--mono, "Space Grotesk", monospace);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--yellow, #f5db33);
}
.shop-section-head .count {
  font: 600 .9rem/1 var(--body, "Inter", sans-serif);
  color: var(--text-muted, #9aa6c2);
}

/* Filter / Cart Bar ---------------------------------------------------- */
.shop-bar {
  position: sticky;
  top: 84px;
  z-index: 30;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 14px 18px;
  margin: 0 0 32px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(44,67,144,0.08);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(2,10,38,0.06);
}
.shop-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.shop-filter .chip {
  font: 600 .88rem/1 var(--body, "Inter", sans-serif);
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(44,67,144,0.18);
  background: #fff;
  color: var(--blue-deep, #2c4390);
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
}
.shop-filter .chip:hover { border-color: var(--blue, #2c4390); transform: translateY(-1px); }
.shop-filter .chip.is-active {
  background: var(--blue, #2c4390);
  color: #fff;
  border-color: var(--blue, #2c4390);
  box-shadow: 0 6px 16px rgba(44,67,144,0.25);
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font: 700 .92rem/1 var(--body, "Inter", sans-serif);
  background: var(--yellow, #f5db33);
  color: var(--blue-deep, #1a2960);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(245,219,51,0.4);
  transition: transform .15s ease, box-shadow .15s ease;
  text-transform: none;
  letter-spacing: 0;
}
.cart-btn::after, .cart-btn::before { content: none !important; display: none !important; }
.btn-checkout::after, .pd-cta .btn::after, .opt-panel footer .btn::after,
.co-actions .btn::after { content: none !important; display: none !important; }
.cart-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(245,219,51,0.5); }
.cart-icon { font-size: 1.15rem; }
.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--blue-deep, #1a2960);
  color: #fff;
  font: 700 .72rem/1 var(--body, "Inter", sans-serif);
}

/* Product Grid --------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 24px;
}
.product {
  position: relative;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(44,67,144,0.07);
  display: flex;
  flex-direction: column;
  transition: transform .28s cubic-bezier(.25,.85,.4,1), box-shadow .28s ease, opacity .25s ease, border-color .25s ease;
}
.product::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  border: 1px solid transparent;
  transition: border-color .25s ease;
}
.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(2,10,38,0.12);
  border-color: rgba(44,67,144,0.2);
}
.product:hover::before { border-color: rgba(245,219,51,0.4); }
.product.is-hidden { display: none; }

.product-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #f8f9fc 0%, #eef0f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform .45s cubic-bezier(.25,.85,.4,1);
}
.product:hover .product-thumb img { transform: scale(1.06); }

.badge-sale, .badge-rare {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  font: 800 .68rem/1 var(--body, "Inter", sans-serif);
  letter-spacing: .08em;
  text-transform: uppercase;
  z-index: 2;
}
.badge-sale  { background: #e63946; color: #fff; }
.badge-rare  { background: var(--yellow, #f5db33); color: var(--blue-deep, #1a2960); }

.product-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-body .cat {
  font: 700 .68rem/1 var(--body, "Inter", sans-serif);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue, #2c4390);
  opacity: .7;
}
.product-body h3 {
  margin: 6px 0 10px;
  font: 800 1.1rem/1.25 var(--display, "Anton", sans-serif);
  color: var(--blue-deep, #1a2960);
  letter-spacing: .015em;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}
.price {
  font: 800 1.15rem/1 var(--display, "Anton", sans-serif);
  color: var(--blue-deep, #1a2960);
}
.price-old {
  font: 600 .9rem/1 var(--body, "Inter", sans-serif);
  color: #999;
  text-decoration: line-through;
}
.product .small { font-size: .82rem; }
.btn-buy {
  margin-top: auto;
  font-size: .92rem;
  text-align: center;
}

/* Cart Drawer ---------------------------------------------------------- */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}
.cart-drawer.is-open { pointer-events: auto; }
.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,10,38,0.5);
  opacity: 0;
  transition: opacity .25s ease;
}
.cart-drawer.is-open .cart-backdrop { opacity: 1; }
.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(440px, 100%);
  background: #fff;
  color: #1a2960;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.22,.94,.4,1);
  box-shadow: -20px 0 60px rgba(2,10,38,0.2);
}
.cart-panel h2, .cart-panel h3, .cart-panel h4, .cart-panel strong {
  color: #1a2960;
}
/* Beim Klick…-Hinweis im Cart-Footer */
.cart-footer p, .cart-footer p.muted {
  color: #5a6584 !important;
}
.cart-drawer.is-open .cart-panel { transform: translateX(0); }
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(44,67,144,0.1);
}
.cart-header h2 {
  margin: 0;
  font: 800 1.4rem/1 var(--display, "Anton", sans-serif);
  color: var(--blue-deep, #1a2960);
  letter-spacing: .02em;
}
.cart-close {
  background: transparent;
  border: none;
  font-size: 1.7rem;
  cursor: pointer;
  color: var(--blue-deep, #1a2960);
  line-height: 1;
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 18px 24px;
}
.cart-empty {
  text-align: center;
  color: #999;
  margin-top: 60px;
}
.cart-line {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(44,67,144,0.08);
  align-items: center;
}
.cart-line .ci-img {
  width: 70px; height: 70px;
  border-radius: 10px;
  background: #f5f6fa;
  display: grid; place-items: center;
  overflow: hidden;
}
.cart-line .ci-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.cart-line .ci-info h4 {
  margin: 0 0 4px;
  font: 700 .92rem/1.25 var(--body, "Inter", sans-serif);
  color: var(--blue-deep, #1a2960);
}
.cart-line .ci-info span { font-size: .78rem; color: #777; }
.cart-line .ci-qty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.cart-line .ci-qty button {
  width: 24px; height: 24px;
  border-radius: 6px;
  border: 1px solid rgba(44,67,144,0.2);
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  color: var(--blue-deep);
}
.cart-line .ci-qty span { min-width: 22px; text-align: center; font-weight: 700; }
.cart-line .ci-price {
  font: 800 .98rem/1 var(--display, "Anton", sans-serif);
  color: var(--blue-deep, #1a2960);
  text-align: right;
}
.cart-line .ci-remove {
  background: transparent;
  border: none;
  color: #c33;
  font-size: .78rem;
  cursor: pointer;
  margin-top: 4px;
  padding: 0;
}
.cart-footer {
  padding: 20px 24px 24px;
  border-top: 1px solid rgba(44,67,144,0.1);
  background: #fafbff;
}
.cart-totals { margin-bottom: 16px; }
.cart-totals > div {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: .92rem;
  color: #4a5470;
}
.cart-totals > div strong { color: #1a2960; }
.cart-totals .cart-total {
  border-top: 1px solid rgba(44,67,144,0.15);
  margin-top: 6px;
  padding-top: 12px;
  font-size: 1.05rem;
  color: #1a2960;
}
.cart-totals .cart-total strong {
  font: 800 1.2rem/1 var(--display, "Anton", sans-serif);
  color: var(--blue-deep, #1a2960);
}
.btn-checkout {
  width: 100%;
  padding: 14px;
  font: 700 1rem/1 var(--body, "Inter", sans-serif);
  background: var(--yellow, #f5db33);
  color: var(--blue-deep, #1a2960);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}
.btn-checkout:hover:not(:disabled) { transform: translateY(-2px); }
.btn-checkout:disabled { opacity: .4; cursor: not-allowed; }

/* Option Modal --------------------------------------------------------- */
.opt-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
}
.opt-modal.is-open { display: flex; }
.opt-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,10,38,0.65);
}
.opt-panel {
  position: relative;
  background: #fff;
  color: #1a2960;
  border-radius: 18px;
  width: min(460px, 92vw);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 60px rgba(2,10,38,0.4);
  overflow: hidden;
}
.opt-panel h2, .opt-panel h3, .opt-panel h4 { color: #1a2960; }
.opt-panel header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(44,67,144,0.1);
}
.opt-panel header h3 {
  margin: 0;
  font: 800 1.15rem/1 var(--display, "Anton", sans-serif);
  color: var(--blue-deep, #1a2960);
  letter-spacing: .02em;
}
.opt-panel header button {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}
.opt-body {
  padding: 22px 24px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 10px;
}
.opt-body.is-list {
  grid-template-columns: 1fr;
}
.opt-body button {
  padding: 12px 8px;
  border: 1.5px solid rgba(44,67,144,0.2);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  font: 600 .88rem/1.2 var(--body, "Inter", sans-serif);
  color: var(--blue-deep, #1a2960);
  transition: all .15s ease;
  text-align: center;
}
.opt-body.is-list button { text-align: left; padding: 14px 16px; }
.opt-body button:hover { border-color: var(--blue, #2c4390); transform: translateY(-1px); }
.opt-body button.is-selected {
  background: var(--blue, #2c4390);
  color: #fff;
  border-color: var(--blue, #2c4390);
}
.opt-panel footer {
  display: flex;
  gap: 10px;
  padding: 16px 24px 20px;
  border-top: 1px solid rgba(44,67,144,0.1);
}
.opt-panel footer .btn { flex: 1; padding: 12px; }
.opt-panel footer .btn.ghost {
  background: transparent;
  color: var(--blue-deep, #1a2960);
  border: 1.5px solid rgba(44,67,144,0.2);
}

/* Info-Block ----------------------------------------------------------- */
.shop-info .card { text-align: center; }
.shop-info .card h3 {
  font: 800 1.2rem/1.2 var(--display, "Anton", sans-serif);
  color: var(--blue-deep, #1a2960);
  margin: 8px 0;
}

/* Card-Actions (Listing) ----------------------------------------------- */
.product-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}
/* Globale .btn-Pfeile + Uppercase in Karten unterdrücken */
.product-actions .btn::after,
.product-actions .btn::before {
  content: none !important;
  display: none !important;
}
.product-actions .btn {
  padding: 8px 12px !important;
  font: 600 .82rem/1.1 var(--body, "Inter", sans-serif) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  border-radius: 10px !important;
  white-space: nowrap;
  gap: 4px !important;
  box-shadow: none !important;
  min-height: 0;
  height: auto;
}
.product-actions .btn-buy {
  flex: 1;
  margin-top: 0;
  background: var(--yellow, #f5db33) !important;
  color: var(--blue-deep, #1a2960) !important;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-actions .btn-buy:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245,219,51,0.45) !important;
}
.product-actions .btn-detail {
  border: 1.5px solid rgba(44,67,144,0.18) !important;
  background: #fff !important;
  color: var(--blue-deep, #1a2960) !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .15s ease;
  flex: 0 0 auto;
}
.product-actions .btn-detail:hover {
  border-color: var(--blue, #2c4390) !important;
  background: var(--blue, #2c4390) !important;
  color: #fff !important;
}
.product h3 a {
  color: inherit;
  text-decoration: none;
}
.product h3 a:hover { color: var(--blue, #2c4390); }

/* Floating Cart Button (Detail-Page) ----------------------------------- */
.cart-btn--floating {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(2,10,38,0.25);
}
.cart-btn--floating .cart-icon { font-size: 1.4rem; }
.cart-btn--floating > span:not(.cart-count):not(.cart-icon) { display: none; }
.cart-btn.is-flash {
  animation: cartFlash .32s ease;
}
@keyframes cartFlash {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.15); box-shadow: 0 16px 40px rgba(245,219,51,0.6); }
}

/* =====================================================================
   PRODUKT-DETAILSEITE
   ===================================================================== */
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 50px;
  align-items: start;
}

/* --- Galerie --- */
.pd-gallery { position: sticky; top: 100px; }
.pd-main {
  background: #f5f6fa;
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.pd-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  transition: opacity .25s ease;
}
.pd-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pd-thumbs .g-thumb {
  width: 80px; height: 80px;
  border-radius: 12px;
  background: #f5f6fa;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: border-color .15s ease, transform .15s ease;
}
.pd-thumbs .g-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.pd-thumbs .g-thumb:hover { transform: translateY(-2px); }
.pd-thumbs .g-thumb.is-active { border-color: var(--blue, #2c4390); }

/* --- Info-Spalte --- */
.pd-info { padding-top: 4px; }
.pd-info .cat {
  font: 700 .72rem/1 var(--body, "Inter", sans-serif);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--yellow, #f5db33);
  display: block;
  margin-bottom: 10px;
}
.pd-name {
  font: 800 2.2rem/1.1 var(--display, "Anton", sans-serif);
  color: var(--text, #f4f6fb);
  margin: 0 0 14px;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.pd-price .price {
  font-size: 2rem;
  color: var(--yellow, #f5db33);
}
.pd-price .price-old {
  font-size: 1.05rem;
  color: var(--text-faint, #5a6584);
}
.pd-price { margin-bottom: 16px; }

.stock-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font: 600 .78rem/1 var(--body, "Inter", sans-serif);
  margin-bottom: 22px;
}
.stock-tag.stock-ok      { background: rgba(60,200,120,0.18); color: #6fd9a0; }
.stock-tag.stock-limited { background: rgba(245,219,51,0.18); color: var(--yellow, #f5db33); }

.pd-desc {
  color: var(--text-muted, #9aa6c2);
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 1rem;
}
.pd-desc p { margin: 0 0 12px; }
.pd-desc strong { color: var(--text, #f4f6fb); }
.pd-desc ul { margin: 12px 0 18px; padding-left: 22px; }
.pd-desc li { margin-bottom: 4px; }

/* --- Variantenwahl --- */
.pd-variant-block { margin-bottom: 22px; }
.pd-variant-label {
  font: 700 .78rem/1 var(--body, "Inter", sans-serif);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-muted, #9aa6c2);
  margin: 0 0 12px;
}
.pd-variants {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pd-variants.pd-variants--list { flex-direction: column; }
.pd-variants button {
  padding: 11px 16px;
  border: 1.5px solid rgba(44,67,144,0.2);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  font: 600 .9rem/1.2 var(--body, "Inter", sans-serif);
  color: var(--blue-deep, #1a2960);
  min-width: 60px;
  transition: all .15s ease;
}
.pd-variants.pd-variants--list button {
  text-align: left;
  padding: 13px 18px;
}
.pd-variants button:hover { border-color: var(--blue, #2c4390); transform: translateY(-1px); }
.pd-variants button.is-selected {
  background: var(--blue, #2c4390);
  color: #fff;
  border-color: var(--blue, #2c4390);
}
.pd-variants button.is-shaking {
  animation: shake .4s ease;
  border-color: #e63946;
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%,60% { transform: translateX(-6px); }
  40%,80% { transform: translateX(6px); }
}

/* --- CTA: Quantity + Add --- */
.pd-cta {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-top: 8px;
}
.qty-input {
  display: flex;
  align-items: center;
  border: 1.5px solid rgba(44,67,144,0.2);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.qty-input button {
  width: 44px;
  height: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  font: 700 1.2rem/1 var(--body, "Inter", sans-serif);
  color: var(--blue-deep, #1a2960);
  transition: background .12s ease;
}
.qty-input button:hover { background: rgba(44,67,144,0.08); }
.qty-input input {
  width: 50px;
  text-align: center;
  border: none;
  font: 700 1rem/1 var(--body, "Inter", sans-serif);
  color: var(--blue-deep, #1a2960);
  background: transparent;
  -moz-appearance: textfield;
}
.qty-input input::-webkit-outer-spin-button,
.qty-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-cta .btn-buy {
  flex: 1;
  padding: 14px 24px;
  font: 700 1rem/1 var(--body, "Inter", sans-serif);
  background: var(--yellow, #f5db33);
  color: var(--blue-deep, #1a2960);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 18px rgba(245,219,51,0.35);
}
.pd-cta .btn-buy:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(245,219,51,0.5); }

/* Verwandte Produkte ---------------------------------------------------- */
.product-grid--related .product:hover { transform: translateY(-3px); }

/* Mobile --------------------------------------------------------------- */
/* =====================================================================
   CHECKOUT-MODAL (Adressformular + Erfolg)
   ===================================================================== */
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: stretch;
  justify-content: center;
}
.checkout-modal.is-open { display: flex; }
.checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,10,38,0.55);
  backdrop-filter: blur(4px);
}
.checkout-panel {
  position: relative;
  background: #fff;
  color: #1a2960;
  width: min(720px, 100%);
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  box-shadow: -30px 0 60px rgba(2,10,38,0.3);
  margin-left: auto;
  animation: slideInRight .35s cubic-bezier(.22,.94,.4,1);
}
.checkout-panel h2, .checkout-panel h3, .checkout-panel h4, .checkout-panel strong {
  color: #1a2960;
}
.checkout-panel .checkout-header h2 { color: #fff; }
.checkout-panel .muted { color: #5a6584 !important; }
@keyframes slideInRight {
  from { transform: translateX(40px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
.checkout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 36px 22px;
  background: linear-gradient(135deg, var(--blue, #2c4390), var(--blue-deep, #1a2960));
  color: #fff;
  position: relative;
}
.checkout-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--yellow, #f5db33);
}
.checkout-header h2 {
  margin: 0;
  font: 800 1.8rem/1 var(--display, "Anton", sans-serif);
  letter-spacing: .015em;
  color: #fff;
}
.checkout-header .cart-close { color: #fff; opacity: .85; }
.checkout-header .cart-close:hover { opacity: 1; }

.checkout-body {
  flex: 1;
  overflow-y: auto;
  padding: 28px 36px;
}

.co-section {
  font: 700 .78rem/1 var(--mono, "Space Grotesk", monospace);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue, #2c4390);
  margin: 22px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid rgba(44,67,144,0.08);
}
.co-section:first-child { margin-top: 0; }

/* Bestell-Übersicht */
.co-summary { margin-bottom: 14px; }
.co-line {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(44,67,144,0.08);
  align-items: center;
  font-size: .92rem;
}
.co-line:last-child { border-bottom: none; }
.co-img {
  width: 56px; height: 56px;
  border-radius: 10px;
  background: #f5f6fa;
  display: grid; place-items: center;
  overflow: hidden;
}
.co-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.co-text strong { color: var(--blue-deep, #1a2960); font-weight: 700; }
.co-text span { color: #777; font-size: .82rem; }
.co-line-tot {
  font: 800 1rem/1 var(--display, "Anton", sans-serif);
  color: var(--blue-deep, #1a2960);
}

/* Formular */
.co-form label {
  display: block;
  font: 600 .82rem/1 var(--body, "Inter", sans-serif);
  color: #555;
  margin-bottom: 14px;
}
.co-form input,
.co-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 14px;
  font: 500 .95rem/1.4 var(--body, "Inter", sans-serif);
  color: var(--blue-deep, #1a2960);
  background: #fff;
  border: 1.5px solid rgba(44,67,144,0.18);
  border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.co-form input:focus,
.co-form textarea:focus {
  outline: none;
  border-color: var(--blue, #2c4390);
  box-shadow: 0 0 0 3px rgba(44,67,144,0.12);
}
.co-form input:invalid:not(:placeholder-shown) {
  border-color: rgba(230,57,70,0.4);
}
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.co-row .co-1 { grid-column: span 1; }
.co-row .co-3 { grid-column: span 1; }
@media (min-width: 481px) {
  .co-row:has(.co-3) { grid-template-columns: 1fr 3fr; }
}

/* Radios */
.co-radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.co-radio {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid rgba(44,67,144,0.18);
  border-radius: 12px;
  cursor: pointer;
  transition: all .15s ease;
  background: #fff;
}
.co-radio:hover { border-color: var(--blue, #2c4390); }
.co-radio input { margin: 0; flex-shrink: 0; accent-color: var(--blue, #2c4390); }
.co-radio span {
  display: flex; flex-direction: column; gap: 2px;
  font: 500 .92rem/1.3 var(--body, "Inter", sans-serif);
  color: var(--blue-deep, #1a2960);
}
.co-radio span strong { font-weight: 700; }
.co-radio span em {
  font-style: normal;
  font-size: .78rem;
  color: #777;
}
.co-radio:has(input:checked) {
  border-color: var(--blue, #2c4390);
  background: rgba(44,67,144,0.04);
  box-shadow: 0 4px 12px rgba(44,67,144,0.08);
}

/* Footer */
.checkout-footer {
  padding: 22px 36px 26px;
  border-top: 1px solid rgba(44,67,144,0.1);
  background: #fafbff;
}
.co-totals { margin-bottom: 18px; }
.co-totals > div {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: .92rem;
  color: #4a5470;
}
.co-totals > div strong { color: #1a2960; }
.co-totals .co-total {
  border-top: 1.5px solid rgba(44,67,144,0.18);
  margin-top: 8px;
  padding-top: 12px;
  font-size: 1.05rem;
  color: #1a2960;
}
.co-totals .co-total strong {
  font: 800 1.4rem/1 var(--display, "Anton", sans-serif);
  color: var(--blue-deep, #1a2960);
}
.co-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
}
.co-actions .btn {
  padding: 14px 20px;
  font: 700 .98rem/1 var(--body, "Inter", sans-serif);
  border-radius: 12px;
  border: none;
  cursor: pointer;
}
.co-actions .btn.ghost {
  background: transparent;
  border: 1.5px solid rgba(44,67,144,0.2);
  color: var(--blue-deep, #1a2960);
}
.co-actions .btn-checkout {
  background: var(--yellow, #f5db33);
  color: var(--blue-deep, #1a2960);
  box-shadow: 0 6px 20px rgba(245,219,51,0.4);
  transition: transform .15s ease, box-shadow .15s ease;
}
.co-actions .btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(245,219,51,0.55);
}

/* Erfolgsschirm */
.co-success {
  text-align: center;
  padding: 40px 20px;
}
.co-success-icon {
  width: 76px; height: 76px;
  margin: 0 auto 20px;
  background: #28a75a;
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 2.4rem;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(40,167,90,0.4);
  animation: pop .4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes pop {
  0%   { transform: scale(0); }
  100% { transform: scale(1); }
}
.co-success h3 {
  font: 800 1.5rem/1.2 var(--display, "Anton", sans-serif);
  color: var(--blue-deep, #1a2960);
  margin: 0 0 14px;
  letter-spacing: .015em;
}
.co-success p {
  max-width: 52ch;
  margin: 0 auto 14px;
  line-height: 1.65;
  color: #444;
}
.co-success .co-attach-note {
  background: rgba(245,219,51,0.12);
  border: 1.5px solid rgba(245,219,51,0.4);
  border-radius: 14px;
  padding: 16px 20px;
  text-align: left;
  margin: 0 auto 18px;
  max-width: 480px;
}
.co-success .co-attach-note strong { color: var(--blue-deep, #1a2960); }

.co-pdf-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1.5px solid rgba(44,67,144,0.18);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 0 auto 18px;
  max-width: 480px;
  text-align: left;
}
.co-pdf-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--blue, #2c4390), var(--blue-deep, #1a2960));
  color: #fff;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 1.4rem;
}
.co-pdf-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.co-pdf-info strong {
  font: 700 .92rem/1.2 var(--body, "Inter", sans-serif);
  color: var(--blue-deep, #1a2960);
  word-break: break-all;
}
.co-pdf-info span {
  font-size: .76rem;
  color: #777;
}
.co-pdf-redownload {
  background: transparent;
  border: 1.5px solid rgba(44,67,144,0.2);
  color: var(--blue-deep, #1a2960);
  padding: 8px 14px;
  border-radius: 10px;
  font: 700 .82rem/1 var(--body, "Inter", sans-serif);
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
}
.co-pdf-redownload:hover {
  background: var(--blue, #2c4390);
  color: #fff;
  border-color: var(--blue, #2c4390);
}

@media (max-width: 720px) {
  .checkout-panel { width: 100%; }
  .checkout-header { padding: 20px 22px; }
  .checkout-header h2 { font-size: 1.4rem; }
  .checkout-body { padding: 20px 22px; }
  .checkout-footer { padding: 18px 22px 22px; }
  .co-row { grid-template-columns: 1fr; }
  .co-radio-group { grid-template-columns: 1fr; }
  .co-actions { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .product-detail { grid-template-columns: 1fr; gap: 30px; }
  .pd-gallery { position: static; }
  .pd-name { font-size: 1.7rem; }
  .pd-price .price { font-size: 1.6rem; }
  .shop-hero { grid-template-columns: 1fr; }
  .shop-hero .hero-feature { padding: 32px 28px; min-height: 280px; }
  .shop-hero .hero-feature h2 { font-size: 1.9rem; }
  .shop-hero .hero-cards { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
}
@media (max-width: 540px) {
  .shop-hero .hero-cards { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .shop-hero .hero-card { grid-template-columns: 100px 1fr; }
}

@media (max-width: 720px) {
  .shop-bar { top: 64px; padding: 10px 12px; }
  .shop-filter { flex: 1 1 100%; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .shop-filter::-webkit-scrollbar { display: none; }
  .cart-btn { padding: 8px 14px; font-size: .82rem; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .product-body { padding: 14px 16px 16px; }
  .product-body h3 { font-size: 1rem; }
  .product-actions { flex-direction: column; }
  .product-actions .btn-detail { text-align: center; }
  .cart-panel { width: 100%; }
  .pd-cta { flex-direction: column; }
  .pd-thumbs .g-thumb { width: 64px; height: 64px; }
}
