/*
Theme Name: darkMode
Author: Robin von Nordheim
Version: 1.0
Description: Modernes Dark OnePage Event Theme mit WooCommerce
*/

/* ================= ROOT ================= */

:root {
  --bg: #0b0b0b;
  --gold: #d7b859;
  --text: #ffffff;
  --text-soft: #aaaaaa;
  --text-checkout: #3b3b3b;
}

/* ================= RESET ================= */

* {
  box-sizing: border-box;
}

html,
body {
  height: auto;
  overflow-y: auto;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
}

body.home {
  overflow: hidden;
}

body.page {
  overflow-y: auto;
}


/* ================= BACKGROUND ================= */

body {
  background: url('/wp-content/themes/dark-event-onepage/assets/bg.jpg')
    center center / cover no-repeat fixed;
}

/*
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 0;
  pointer-events: none; 
}
*/

.site-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(0,0,0,0.45);
  pointer-events: none;
}

header, main, footer {
  position: relative;
  z-index: 2;
}

/* ================= HEADER ================= */

.site-header {
  position: relative;
  z-index: 10;
  height: 90px;
  padding: 0 2rem;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.9),
    rgba(0,0,0,0.6)
  );

  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Logo mittig */
.header-logo {
  position: absolute;
 /* left: 50%;
  transform: translateX(-50%); */
}

.custom-logo {
  max-height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* ================= ACTIONS ================= */

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

/* Einheitlicher Icon-Style */
.header-icon {
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  cursor: pointer;
  position: relative;

  transition: color .25s ease, transform .25s ease;
}

.header-icon svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
}

.header-icon:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.header-icon:hover svg {
  filter:
    drop-shadow(0 0 6px rgba(212,175,55,.8))
    drop-shadow(0 0 12px rgba(212,175,55,.4));
}

.header-icon:hover .icon {
  text-shadow:
    0 0 8px rgba(212,175,55,0.8),
    0 0 16px rgba(212,175,55,0.4);
}

/* ================= CART COUNT ================= */

.cart-count {
  position: absolute;
  top: -6px;
  right: -10px;

  min-width: 18px;
  height: 18px;
  padding: 0 4px;

  border-radius: 999px;
  background: var(--gold);
  color: #000;

  font-size: 0.7rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;

  pointer-events: none;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  .site-header {
    padding: 0 1.2rem;
  }

  .header-icon {
    font-size: 1.4rem;
  }
}

@media (max-width: 800px) {
  .header-logo .custom-logo {
    max-height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
  }

  .site-header {
    padding: 0 1.2rem;
  }

  .header-icon {
    font-size: 1.4rem;
  }
}


/* ================= CAROUSEL STAGE ================= */

.carousel-stage {
  height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1800px;
  overflow: hidden;
}


/* ================= CAROUSEL ================= */

.carousel {
  position: relative;
  width: 100%;
  height: 560px;
  transform-style: preserve-3d;
}

/* ================= FALLBACk NO JS ============= */

.no-js .carousel {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  overflow-x: auto;
  width: 100%;
  height: 80%;
}

.no-js .event-card {
  position: relative;
  transform: none !important;
  opacity: 1;
  min-width: 320px;
}



/* ===============================
   EVENT CARD – CLUB DESIGN
================================ */

.event-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
  pointer-events: auto; /* WICHTIG */
}

/* =================================
   MEDIA (Produktbild)
================================= */

.event-media {
  height: 240px;
  overflow: hidden;
}

.event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* leichter Dark Fade unten */
.event-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.1),
    rgba(0,0,0,0.85)
  );
}

/* =================================
   CONTENT
================================= */

.event-content {
  padding: 1.6rem 1.8rem 2rem;
  text-align: center;
}

.event-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.event-meta {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.event-excerpt {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: #cfcfcf;
  opacity: 0.9;
}

/* =================================
   STATUS STATES
================================= */


  .event-card-inner {
  width: 100%;
  background: rgba(10,10,10,0.98);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0,0,0,.8);
  pointer-events: auto;
  position: relative;
}

/* =================================
   CURRENT (FOCUS / GLOW)
================================= */

.event-card.current {
  z-index: 10;
}

.event-card.current .event-card-inner {
  transform: scale(1.06);
  box-shadow:
    0 0 40px rgba(212,175,55,.45),
    0 0 120px rgba(212,175,55,.25);
}

.event-card.past,
.event-card.future {
  z-index: 1;
}

.event-card.past .event-card-inner,
.event-card.future .event-card-inner {
  transform: scale(0.9);
}

/* goldene Akzentlinie */
.event-card.current::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(212,175,55,0.6);
}

/* =================================
   TICKET UI
================================= */

.ticket-quantity {
  margin: 1.4rem auto 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
}

.ticket-qty {
  width: 48px;
  text-align: center;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1rem;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.qty-btn:hover {
  background: var(--gold);
  color: #000;
}

.event-stock {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* =================================
   BUY BUTTON
================================= */

.ticket-btn {
  margin-top: 1.4rem;
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--gold),
    #f2d16b
  );
  color: #000;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(212,175,55,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ticket-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(212,175,55,0.55);
}

/* =================================
   LABELS
================================= */

.event-label {
  margin-top: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.event-label.soldout {
  color: #888;
}

.event-label.coming {
  color: var(--gold);
}

/* =================================
   RESPONSIVE
================================= */

@media (min-width: 900px) {
  .event-card {
    width: 460px;
  }

  .event-media {
    height: 260px;
  }
}


/* ================= CAROUSEL BUTTONS (MOBILE) ================= */

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.6);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 2rem;
  padding: .3rem .8rem;
  cursor: pointer;
  z-index: 5;
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* Desktop: Buttons aus */
@media (min-width: 900px) {
  .carousel-btn {
    display: none;
  }
}

/* ================= DOT NAV ================= */

.carousel-dots {
  position: absolute;
  /*bottom: 40px;*/
  top: 66vh;
  display: flex;
  gap: 12px;
  width: 100%;
  text-align: center;
  justify-content: center;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  transition: all .3s ease;
}

.dot.active {
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  scale: 1.4;
}


/* ================= FOOTER ================= */
/*
.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: .85rem;
  color: var(--text-soft);
}
*/

.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

/* Links */
.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal a {
  color: var(--text-soft) !important;
  font-size: 0.85rem;
  text-decoration: none !important;

  transition: color .25s ease, text-shadow .25s ease;
}

.footer-legal a:hover {
  color: var(--gold) !important;
  text-shadow:
    0 0 6px rgba(212,175,55,.6),
    0 0 12px rgba(212,175,55,.3);
}

/* Copyright */
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
}

/* ================= MOBILE ================= */

@media (max-width: 600px) {
  .footer-legal {
    gap: 1rem;
  }
}


/* ==================================================
   FINAL SINGLE EVENT OVERRIDE (NO CAROUSEL)
   Club Glass – Klickbar – Stabil
================================================== */

/* Carousel & 3D komplett ausschalten */
.single-event .carousel,
.single-event .carousel-stage {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Event Card = echtes Standalone Element */
.single-event .event-card {
  position: relative !important;
  transform: none !important;
  top: auto !important;
  left: auto !important;

  width: min(92vw, 420px);
  margin: 0 auto;

  pointer-events: auto !important;
  opacity: 1 !important;
  filter: none !important;
  z-index: 10;
}

/* Inner Card */
.single-event .event-card-inner {
  position: relative;
  pointer-events: auto !important;
  z-index: 5;

  background: linear-gradient(
    180deg,
    rgba(15,15,15,0.75),
    rgba(5,5,5,0.9)
  );

  border-radius: 26px;
  overflow: hidden;

  backdrop-filter: blur(22px) saturate(1.15);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);

  box-shadow:
    0 25px 70px rgba(0,0,0,0.85),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}

/* GOLD GLOW */
.single-event .event-card.current .event-card-inner {
  box-shadow:
    0 0 0 1px rgba(212,175,55,.45),
    0 0 40px rgba(212,175,55,.35),
    0 0 120px rgba(212,175,55,.25),
    0 30px 80px rgba(0,0,0,.9);
}

/* ================= MEDIA ================= */

.single-event .event-media {
  position: relative;
  height: clamp(220px, 30vh, 280px);
  overflow: hidden;
}

.single-event .event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 4%;
  display: block;

  filter: contrast(1.05) brightness(.9) saturate(1.1);
}

/* Dark Fade */
.single-event .event-media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.05),
    rgba(0,0,0,.85)
  );
}

/* ================= CONTENT ================= */

.single-event .event-content {
  padding: 1.8rem 2rem 2.2rem;
  text-align: center;
}

.single-event .event-title {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: .03em;
}

.single-event .event-meta {
  margin-top: .4rem;
  font-size: .9rem;
  color: rgba(255,255,255,.7);
}

.single-event .event-excerpt {
  margin-top: .9rem;
  font-size: .95rem;
  color: rgba(255,255,255,.85);
}

/* ================= TICKET UI ================= */

.single-event .ticket-quantity {
  margin-top: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;

  background: rgba(255,255,255,.06);
  border-radius: 999px;
  padding: .5rem .9rem;

  pointer-events: auto !important;
  z-index: 20;
}

.single-event .ticket-qty {
  width: 52px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  text-align: center;
}

.single-event .qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;

  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;

  pointer-events: auto !important;
}

.single-event .qty-btn:hover {
  background: var(--gold);
  color: #000;
}

.single-event .event-stock {
  margin-top: .7rem;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}

/* ================= BUY BUTTON ================= */

.single-event .ticket-btn {
  margin-top: 1.6rem;
  width: 100%;
  padding: 1rem;

  border-radius: 999px;
  border: none;

  background: linear-gradient(
    135deg,
    #d4af37,
    #f6dd7b
  );

  color: #000;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .04em;

  cursor: pointer;
  pointer-events: auto !important;
  z-index: 30;

  box-shadow:
    0 12px 30px rgba(212,175,55,.35);
}

.single-event .ticket-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 45px rgba(212,175,55,.55);
}

/* Sicherheits-Fix: Body Overlay blockiert nichts */
.single-event body::before {
  pointer-events: none !important;
}


/* ===============================
   STATIC PAGES (IMPRESSUM / DSGVO / AGB)
================================ */

main,
#site-content {
  overflow: visible;
}

body.page main#site-content {
  padding: 1.5rem 3rem;
  margin-bottom: 3vh;
}

body.page #site-content {
  max-width: 900px;
  margin: 0 auto;

  background: rgba(10,10,10,0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-radius: 24px;
  padding: 2.5rem 2.8rem;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.8),
    inset 0 0 0 1px rgba(255,255,255,0.04);
    margin-top: 3vh;
}

/* TYPO */
body.page h1,
body.page h2,
body.page h3 {
  color: var(--gold);
  margin-top: 2.2rem;
}

body.page p,
body.page li {
  color: #e0e0e0;
  line-height: 1.7;
  font-size: 0.95rem;
}

body.page ul {
  padding-left: 1.2rem;
}

body.page #site-content p {
  color: #e0e0e0;
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}

body.page #site-content strong {
  color: var(--gold);
}

body.page #site-content h1,
body.page #site-content h2,
body.page #site-content h3 {
  color: var(--gold);
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
}


/* Links */
body.page a {
  color: currentColor;
  text-decoration: none;
}

body.page a:hover {
  text-decoration: underline;
}


/* ===============================
   WC BLOCK CART – CHECKOUT BUTTON
================================ */

.wc-block-cart__submit-container .fc-place-order{
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.wc-block-cart__submit-button {
  width: 100%;
  max-width: 420px;

  padding: 1.1rem 1.4rem;
  border-radius: 999px;

  background: linear-gradient(
    135deg,
    #d4af37,
    #f6dd7b
  ) !important;

  color: #000 !important;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;

  box-shadow: 0 12px 30px rgba(212,175,55,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}

.wc-block-cart__submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(212,175,55,.55);
  text-decoration: none !important;
}

.wc-block-components-button__text {
  font-size: .95rem;
}

  /* ===============================
   WC BLOCK – REMOVE ITEM
================================ */

.wc-block-cart-item__remove-link{
  color: rgba(255,255,255,.4);
  font-size: .8rem;
  text-decoration: none;
  background-color: red;
  transition: color .2s ease;
}

.wc-block-cart-item__remove-link:hover {
  color: var(--gold);
}

.wc-block-components-product-price__value {
  color: var(--gold);
  font-weight: 600;
}

/* Produktname */
.wc-block-components-product-name {
  color: #fff;
  font-weight: 500;
}


/* ===============================
   WC BLOCK CHECKOUT – BASE
================================ */

.wc-block-checkout {
  max-width: 900px;
  margin: 0 auto;
}

/* Jede Section als Glass Card */
.wc-block-components-panel {
  background: rgba(10,10,10,.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  border-radius: 22px;
  padding: 1.8rem 2rem;
  margin-bottom: 1.6rem;

  box-shadow:
    0 20px 60px rgba(0,0,0,.8),
    inset 0 0 0 1px rgba(255,255,255,.05);
}


/* ==================================================
   WC BLOCKS – TEXT FARBE ZWINGEND DUNKEL-THEMA
   FINAL OVERRIDE
================================================== */

/* GLOBAL: Alles im Checkout 
body.woocommerce-checkout,
body.woocommerce-checkout * {
  color: #000 !important; 
} */

/* Sekundärer Text */
body.woocommerce-checkout .wc-block-components-formatted-text,
body.woocommerce-checkout .wc-block-components-totals-item__description,
body.woocommerce-checkout .wc-block-components-order-summary-item__description,
body.woocommerce-checkout .wc-block-components-shipping-address,
body.woocommerce-checkout .wc-block-components-address-card {
  color: #000 !important;
}

/* Überschriften */
body.woocommerce-checkout h1,
body.woocommerce-checkout h2,
body.woocommerce-checkout h3,
body.woocommerce-checkout h4,
body.woocommerce-checkout h5 {
  color: var(--gold) !important;
}

/* Labels */
body.woocommerce-checkout label {
  color: #000 !important;
}

/* Preise */
body.woocommerce-checkout .wc-block-components-formatted-money-amount,
body.woocommerce-checkout .wc-block-components-totals-item__value {
  color: var(--gold) !important;
  font-weight: 600;
}

/* Entfernen / Links */
body.woocommerce-checkout a {
 /* color: var(--gold) !important;*/
 text-decoration: none !important;
}

body.woocommerce-checkout a:hover {
  opacity: .85;
  color: var(--gold) !important;
  text-decoration: none !important;
}

/* Platzhalter */
body.woocommerce-checkout input::placeholder,
body.woocommerce-checkout textarea::placeholder {
  color: rgba(255,255,255,0.5) !important;
}

/* Disabled / Hint Texte */
body.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce-checkout .wc-block-components-validation-error {
  color: #ffb3b3 !important;
}


/* ==================================================
   WC BLOCKS – GLASS INPUTS
================================================== */

body.woocommerce-checkout input,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select,
body.woocommerce-cart input,
body.woocommerce-cart textarea,
body.woocommerce-cart select {
  background: rgba(255,255,255,0.06) !important;
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);

  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,0.18) !important;

  /*color: #ffffff !important; */
  padding: 0.9rem 1rem !important;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.04),
    0 8px 24px rgba(0,0,0,0.45);

  transition: all .25s ease;
}

div.woocommerce .fc-wrapper #order_review table.woocommerce-checkout-review-order-table .product-quantity{
  background-color: var(--gold) !important;
}


div.woocommerce .fc-place-order-button {
  width: 100%;
  max-width: 420px;

  padding: 1.1rem 1.4rem;
  border-radius: 999px;

  background: linear-gradient(
    135deg,
    #d4af37,
    #f6dd7b
  ) !important;

  color: #000 !important;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;

  box-shadow: 0 12px 30px rgba(212,175,55,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}

div.woocommerce .fc-place-order{
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

div.woocommerce .fc-place-order-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(212,175,55,.55);
  text-decoration: none !important;
}

div.woocommerce .fc-place-order-button__text {
  font-size: .95rem;
}

body.woocommerce-checkout .fc-checkout__branding{
filter: invert(100%) !important;
}

body.woocommerce-checkout .fc-checkout__cart-link-wrapper{
color: black !important;}

div.woocommerce .woocommerce-checkout {
color: black !important;
}

div.woocommerce .collapsible-content__inner span {
color:black !important;
}

div.woocommerce .fc-wrapper .fc-step__substep-fields-inner p {
color:black !important;
}

div.woocommerce .woocommerce-privacy-policy-text p {
color:black !important;
}

/* ========== Einzel Produktseite ============ */

.single-product main {
  padding: 4rem 2rem;
}

.single-product .woocommerce-product-gallery {
  background: rgba(15,15,15,0.65);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);

  border-radius: 26px;
  padding: 1.5rem;

  box-shadow:
    0 25px 70px rgba(0,0,0,0.85),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}

.single-product .woocommerce-product-gallery img {
  border-radius: 18px;
}

.single-product .summary.entry-summary {
 /* background: rgba(10,10,10,0.7);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2); */

  border-radius: 26px;
  padding: 2.2rem 2.4rem;

  box-shadow:
    0 30px 80px rgba(0,0,0,0.9),
    inset 0 0 0 1px rgba(255,255,255,0.05);

    background: rgba(10,10,10,0.45);
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
}

.single-product .summary h1 {
  color: #fff;
  font-size: 1.8rem;
  letter-spacing: .03em;
}

.single-product .price {
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.single-product .summary p {
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

.single-product form.cart {
  margin-top: 1.4rem;
}

/* Quantity */
.single-product .quantity input {
  background: rgba(255,255,255,0.08);
  border: none;
  color: #fff;
  border-radius: 999px;
  padding: .5rem .8rem;
}

/* Button */
.single-product .single_add_to_cart_button {
  margin-top: 1.2rem;
  width: 100%;

  background: linear-gradient(135deg, var(--gold), #f6dd7b);
  color: #000;

  border-radius: 999px;
  border: none;
  padding: 1rem;

  font-weight: 600;
  letter-spacing: .05em;

  box-shadow: 0 14px 40px rgba(212,175,55,.45);
  transition: transform .2s ease, box-shadow .2s ease;
}

.single-product .single_add_to_cart_button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 60px rgba(212,175,55,.6);
}

@media (max-width: 900px) {
  .single-product .woocommerce-product-gallery,
  .single-product .summary.entry-summary {
    margin-bottom: 1.5rem;
    padding: 1.6rem;
  }
}

/* Ähnliche Produkte ausblenden */
.single-product .related {
display: none;
}

.single-product #sidebar{
display: none;
}

.single-product .woocommerce-breadcrumb, .posted_in{
display: none !important;
}

.single-product .single_add_to_cart_button {
 margin-top: 1.4rem !important;
width: 100% !important;
padding: 0.9rem 1rem !important;
border-radius: 999px !important;
background: linear-gradient(
135deg,
var(--gold),
#f1d16b
);
color: #000 !important;
background-color: var(--gold) !important;
font-weight: 600 !important;
font-size: 0.95rem !important;
border: none !important;
cursor: pointer !important;
box-shadow: 0 10px 30px rgba(212,175,55,0.35) !important;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Zusätzliche Informationen */

.single-product .woocommerce-tabs {
  color: var(--gold);
}


/* === EVENT CARD INFO ICON === */

.event-media {
  position: relative;
}

/* Icon Container */
.event-info-icon {
  position: absolute;
  bottom: 14px;
  right: 14px;

  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: rgba(0,0,0,0.45);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    0 6px 20px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.15);

  z-index: 10;
  transition: all .25s ease;
}

/* SVG */
.event-info-icon svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2;
}

/* Hover / Touch */
.event-info-icon:hover {
  transform: scale(1.08);
  background: var(--gold);
  box-shadow:
    0 0 20px rgba(212,175,55,0.6),
    0 0 60px rgba(212,175,55,0.35);
}

.event-info-icon:hover svg {
  stroke: #000;
}

.wp-block-heading:has(+ .wp-block-woocommerce-product-new),
.wp-block-woocommerce-product-new {
  display: none !important; 
}



/* ============== Countdown Verkausstart =============== */

.event-countdown {
  margin: 1.6rem auto 1rem;
  padding: 1rem 1.4rem;
  border-radius: 16px;

  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    0 10px 30px rgba(0,0,0,.6);

  text-align: center;
}

.countdown-label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: .6rem;
}

.countdown-timer {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .06em;
}

.countdown-timer span {
  min-width: 1.8ch;
  display: inline-block;
  text-align: center;
}