/*
 Theme Name:   Astra Child V2 – Alsaed Decoration
 Template:     astra
 Version:      2.0.0
 Description:  Child Theme V2 – Helles, modernes Design
 Text Domain:  astra-child-v2
*/

:root {
  --champagne:    #F5F0E8;
  --anthracite:   #2C2C2C;
  --gold:         #C8A96E;
  --gold-light:   #d4ba85;
  --gold-dark:    #b8954e;
  --sand:         #E8DCC8;
}

body {
  font-family: 'Jost', system-ui, sans-serif;
  color: var(--anthracite);
  background: var(--champagne);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
}

/* WooCommerce: Katalog-Modus – Kein Warenkorb */
.woocommerce .add_to_cart_button,
.woocommerce .single_add_to_cart_button {
  display: none !important;
}

.woocommerce .anfragen-btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: var(--gold);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
}

.woocommerce .anfragen-btn:hover {
  background: var(--gold-dark);
}

/* Sales update 08.11.: deliberate calculator adoption and early stock context. */
.single-product .alsaed-product-status {
  margin: 12px 0 0;
  color: #75283f;
  font-size: .95rem;
  line-height: 1.5;
}
.single-product .alsaed-calc__apply {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid #75283f;
  border-radius: 8px;
  background: #75283f;
  color: #fff;
  font: inherit;
  font-weight: 600;
  line-height: 1.45;
  white-space: normal;
  cursor: pointer;
}
.single-product .alsaed-calc__apply[hidden] { display: none; }
.single-product .alsaed-calc__apply:hover { background: #5d1e32; }
.single-product .alsaed-calc__wa {
  min-height: 48px;
  background: #75283f;
  color: #fff;
  white-space: normal;
}
.single-product .alsaed-calc__wa:hover { background: #5d1e32; color: #fff; }
.single-product .alsaed-calc__apply:focus-visible,
.single-product .alsaed-calc__wa:focus-visible {
  outline: 3px solid #30272a;
  outline-offset: 3px;
}
.single-product .alsaed-calc__selection {
  margin: 10px 0;
  color: #30272a;
  font-size: .9rem;
  line-height: 1.5;
}
.single-product .alsaed-calc__selection:empty { display: none; }
.single-product #alsaed-produktanfrage .anfragen-btn {
  white-space: normal;
  overflow-wrap: anywhere;
}
