/*
  ══════════════════════════════════════════════════════
  DATEI 2 von 4
  WOHIN: Customizer > Zusätzliches CSS
  (alles in dieses eine Feld – komplett ersetzen)

  CUSTOMIZER-EINSTELLUNGEN (von Hand setzen):
  ─────────────────────────────────────────────
  Header > Background Color:     #f7f3ee
  Header > Text Color:           #1f1b18
  Header > Add Shadow:           aus
  Header > Add Divider:          an

  Navigation > Nav Size:         S
  Navigation > Nav Spacing:      M oder L
  Navigation > Uppercase:        an
  Navigation > Overlay on hover: aus
  Navigation > Nav Color:        #1f1b18
  Navigation > Nav Color :hover: #6a5c50

  Icons > Icons Color:           #1f1b18
  Icons > Icons Color :hover:    #6a5c50

  Transparent Header:            aus

  WooCommerce > Product Page:    Layout = Default
  (keinen Custom Block zuweisen!)

  Typography > Headline Font:    Playfair Display
  ══════════════════════════════════════════════════════
*/


/* ── Variablen ── */
:root {
  --wl-bg: #f7f3ee;
  --wl-text: #1f1b18;
  --wl-text-soft: rgba(31, 27, 24, 0.55);
  --wl-border: rgba(31, 27, 24, 0.08);
  --wl-warm: #ebe2d8;
}


/* ═══════════════════════════════════
   TOP BAR (hell, warm)
   ═══════════════════════════════════ */

.top-bar {
  background: var(--wl-bg) !important;
  border-bottom: 1px solid var(--wl-border) !important;
  padding: 0 !important;
  min-height: auto !important;
}

.top-bar,
.top-bar-nav,
.top-bar-nav .nav > li > a,
.top-bar-nav .header-contact-wrapper,
.top-bar .header-social-icons a,
#top-bar .flex-col {
  color: var(--wl-text) !important;
  font-size: 11px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}

.top-bar-nav .nav > li > a:hover,
.top-bar .header-social-icons a:hover {
  color: #6a5c50 !important;
}

#top-bar {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}


/* ═══════════════════════════════════
   HEADER
   ═══════════════════════════════════ */

.header-wrapper.stuck .header-main,
.header-wrapper .stuck .header-main {
  background: var(--wl-bg) !important;
  box-shadow: 0 2px 20px rgba(31, 27, 24, 0.06) !important;
}

/* Logo */
.logo a,
.header-logo a,
#logo a {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  letter-spacing: 0.18em !important;
  color: var(--wl-text) !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

.logo-tagline,
#logo .logo-tagline {
  font-size: 10px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.45em !important;
  color: var(--wl-text-soft) !important;
  font-weight: 400 !important;
  margin-top: 2px !important;
}


/* ═══════════════════════════════════
   DROPDOWN-MENÜS
   ═══════════════════════════════════ */

.nav-dropdown {
  background: var(--wl-bg) !important;
  border: 1px solid var(--wl-border) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(31, 27, 24, 0.08) !important;
  padding: 8px 0 !important;
}

.nav-dropdown li a {
  font-size: 12px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--wl-text) !important;
  padding: 8px 20px !important;
}

.nav-dropdown li a:hover {
  background: var(--wl-warm) !important;
  color: var(--wl-text) !important;
}

.header-nav .nav > li.has-dropdown > a .nav-dropdown-icon,
.header-nav .nav > li > a .icon-angle-down {
  font-size: 9px !important;
  opacity: 0.4;
  margin-left: 4px !important;
}


/* ═══════════════════════════════════
   WARENKORB-BADGE
   ═══════════════════════════════════ */

.header-cart .cart-icon strong,
.cart-icon .cart-count {
  background: var(--wl-text) !important;
  color: var(--wl-bg) !important;
  font-size: 10px !important;
}


/* ═══════════════════════════════════
   MOBILE
   ═══════════════════════════════════ */

.mfp-content .sidebar-menu,
#main-menu.sidebar-menu {
  background: var(--wl-bg) !important;
}

.sidebar-menu .nav-sidebar > li > a {
  font-size: 13px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: var(--wl-text) !important;
  border-bottom: 1px solid var(--wl-border) !important;
}


/* ═══════════════════════════════════
   FOOTER (Container für Custom Block)
   ═══════════════════════════════════ */

.footer-wrapper,
#footer {
  background: #1f1b18 !important;
  padding: 0 !important;
  border-top: none !important;
}

.absolute-footer {
  display: none !important;
}


/* ═══════════════════════════════════
   SEITEN-HINTERGRUND
   ═══════════════════════════════════ */

body,
#wrapper,
.page-wrapper {
  background: var(--wl-bg) !important;
}


/* ═══════════════════════════════════
   SHOP-BUTTONS (global)
   ═══════════════════════════════════ */

.button.primary,
button.primary,
.checkout-button,
input[type="submit"].button {
  background: var(--wl-text) !important;
  color: var(--wl-bg) !important;
  border: none !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  font-weight: 400 !important;
  padding: 14px 28px !important;
  transition: opacity 0.2s ease !important;
}

.button.primary:hover,
button.primary:hover,
.checkout-button:hover {
  background: var(--wl-text) !important;
  opacity: 0.85 !important;
}

.button.secondary,
button.secondary {
  background: transparent !important;
  color: var(--wl-text) !important;
  border: 1px solid var(--wl-border) !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
}


/* ═══════════════════════════════════════════════════
   PRODUKTSEITE (Standard-Layout)
   ═══════════════════════════════════════════════════ */


/* ── 1. KAUFBEREICH ALS BOX (biggest impact) ── */

.product-info .summary,
.summary.entry-summary {
  background: #efe7dd !important;
  padding: 32px !important;
  border-radius: 20px !important;
}


/* ── 2. PRODUKTBILD – mehr Tiefe ── */

.product-gallery-slider .flickity-viewport {
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

/* Bild-Container etwas größer – nur Desktop (live galt es auch auf dem Handy: zwei schmale Spalten) */
@media (min-width: 850px) {
  .product-container .product-gallery {
    flex-basis: 55% !important;
    max-width: 55% !important;
  }

  .product-container .product-info {
    flex-basis: 45% !important;
    max-width: 45% !important;
  }
}

/* Thumbnails – aktiv hervorheben */
.product-thumbnails img {
  border-radius: 8px !important;
  border: 2px solid transparent !important;
  opacity: 0.55 !important;
  transition: all 0.2s ease !important;
}

.product-thumbnails .is-nav-selected img {
  border-color: var(--wl-text) !important;
  opacity: 1 !important;
}

.product-thumbnails img:hover {
  opacity: 0.85 !important;
}


/* ── 3. PRODUKTTITEL ── */

.product_title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 26px !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
  color: var(--wl-text) !important;
}


/* ── 4. PREIS – stärker hervorheben ── */

.summary .price,
.summary p.price {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 28px !important;
  font-weight: 500 !important;
  color: var(--wl-text) !important;
  margin-top: 8px !important;
  margin-bottom: 4px !important;
}

.summary .price .woocommerce-Price-amount {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 500 !important;
}

/* MwSt / Versandkosten */
.summary .wc-gzd-additional-info,
.summary .shipping-costs-info,
.summary .tax-info {
  font-size: 12px !important;
  color: rgba(31, 27, 24, 0.45) !important;
}

.summary .tax-info a,
.summary .shipping-costs-info a {
  color: rgba(31, 27, 24, 0.55) !important;
}


/* ── 5. KURZBESCHREIBUNG – softer, kleiner ── */

.summary .product-short-description {
  font-size: 13px !important;
  line-height: 1.75 !important;
  color: rgba(31, 27, 24, 0.55) !important;
  margin-top: 12px !important;
}


/* ── 6. WARENKORB-BUTTON – größer, stärker ── */

.summary .single_add_to_cart_button,
.summary .single_add_to_cart_button.button,
.summary .single_add_to_cart_button.button.alt {
  background: var(--wl-text) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  font-weight: 400 !important;
  padding: 16px 40px !important;
  min-width: 220px !important;
  box-shadow: none !important;
  transition: opacity 0.2s ease !important;
}

.summary .single_add_to_cart_button:hover {
  background: var(--wl-text) !important;
  opacity: 0.85 !important;
}

/* Menge */
.summary .quantity input.qty {
  border: 1px solid rgba(31, 27, 24, 0.2) !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  color: var(--wl-text) !important;
  background: rgba(255, 255, 255, 0.5) !important;
}

.summary .quantity .plus,
.summary .quantity .minus {
  background: transparent !important;
  color: var(--wl-text) !important;
}


/* ── 7. VARIANTEN ── */

.summary .variations select {
  border: 1px solid rgba(31, 27, 24, 0.2) !important;
  border-radius: 999px !important;
  padding: 10px 20px !important;
  font-size: 13px !important;
  color: var(--wl-text) !important;
  background: rgba(255, 255, 255, 0.5) !important;
}

.summary .variations label {
  font-size: 11px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: rgba(31, 27, 24, 0.5) !important;
  font-weight: 500 !important;
}


/* ── 8. TRUST-BADGES – stärker ── */

.summary .bullet-checkmark,
.summary ul li.bullet-checkmark {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: rgba(31, 27, 24, 0.65) !important;
  padding: 6px 0 !important;
}


/* ── BREADCRUMB ── */

.breadcrumbs,
.woocommerce-breadcrumb {
  font-size: 11px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: rgba(31, 27, 24, 0.35) !important;
}

.breadcrumbs a,
.woocommerce-breadcrumb a {
  color: rgba(31, 27, 24, 0.45) !important;
  text-decoration: none !important;
}

.breadcrumbs a:hover,
.woocommerce-breadcrumb a:hover {
  color: var(--wl-text) !important;
}


/* ── Tabs ── */

.woocommerce-tabs .tabs {
  border-bottom: 1px solid rgba(31, 27, 24, 0.1) !important;
}

.woocommerce-tabs .tabs li a {
  font-size: 11px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: rgba(31, 27, 24, 0.4) !important;
  font-weight: 400 !important;
  padding: 12px 20px !important;
  border: none !important;
  background: transparent !important;
}

.woocommerce-tabs .tabs li a:hover {
  color: var(--wl-text) !important;
}

.woocommerce-tabs .tabs li.active a {
  color: var(--wl-text) !important;
  font-weight: 500 !important;
  border-bottom: 2px solid var(--wl-text) !important;
}

.woocommerce-tabs .panel {
  font-size: 14px !important;
  line-height: 1.85 !important;
  color: rgba(31, 27, 24, 0.65) !important;
  padding: 28px 0 !important;
  max-width: 720px !important;
}

.woocommerce-tabs .panel h2,
.woocommerce-tabs .panel h3,
.woocommerce-tabs .panel h4 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 400 !important;
  color: var(--wl-text) !important;
}


/* ── Ähnliche Produkte ── */

.related.products > h2,
.up-sells > h2 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 400 !important;
  color: var(--wl-text) !important;
}

.product-small .box-image {
  border-radius: 12px !important;
  overflow: hidden !important;
}

.product-small .product-title {
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.product-small .price {
  font-size: 14px !important;
  color: var(--wl-text) !important;
}


/* ── Responsive ── */

@media (max-width: 768px) {
  .product_title {
    font-size: 24px !important;
  }
  .summary .price {
    font-size: 22px !important;
  }
}


/* ═══════════════════════════════════
   STARTSEITE: Korrekturen
   Flatsome färbt alle Überschriften dunkel, und ".wl a { color: inherit }"
   (im HTML-Block der Startseite) schlägt ".wl-btn--fill". Dadurch waren
   Kachel-Titel, CTA-Überschrift und der gefüllte Button dunkel auf dunkel.
   ═══════════════════════════════════ */
.wl .wl-btn--fill { color: #fff; }
.wl .wl-cta__box .wl-btn--fill { color: #1f1b18; }
.wl .wl-cats__info h3,
.wl .wl-cta__box h2 { color: #fff; }
