/*
Theme Name: Schnüffelnase Child
Theme URI:    https://schnueffelnase.net
Description:  Child-Theme für die Hundeschule Schnüffelnase, basierend auf GeneratePress
Author:       Hundeschule Schnüffelnase
Author URI:   https://schnueffelnase.net
Template:     generatepress
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  schnueffelnase-child
*/

/* =============================================================
   SCHNÜFFELNASE – TYPOGRAFIE
   Adobe Fonts: Clavo Black (Überschriften), Acumin Pro (Fließtext)
   Challops (Kinder-Seite)
   ============================================================= */

/* Globale Schrift: Source Sans 3 für Fließtext und UI */
body,
p,
li,
td,
th,
label,
input,
textarea,
select,
button {
    font-family: "acumin-pro", "Helvetica Neue", Arial, sans-serif;
}

/* Alegreya Black 900 für alle Überschriften */
h1,
h2,
h3,
h4,
h5,
h6,
.sn-home h1,
.sn-home h2,
.sn-home h3,
.entry-title,
.page-title {
    font-family: "Alegreya", Georgia, "Times New Roman", serif;
    font-weight: 900; /* Black */
    font-style: normal;
}

/* Einheitliche Headlines auch auf der Kinder-Seite */
.sn-kinder h1,
.sn-kinder h2,
.sn-kinder h3,
.page-kinder .sn-section h1,
.page-kinder .sn-section h2,
.page-kinder .sn-section h3,
body.page-template-kinder h1,
body.page-template-kinder h2,
body.page-template-kinder h3 {
    font-family: "Alegreya", Georgia, "Times New Roman", serif;
    font-weight: 400;
}

/* Navigation: Source Sans 3 */
.main-navigation,
.nav-menu,
.main-nav ul li a,
header nav a {
    font-family: "acumin-pro", "Helvetica Neue", Arial, sans-serif;
}

/* Buttons: Source Sans 3, leicht fett */
.sn-button,
.sn-button--primary,
.sn-button--secondary,
button,
.wp-block-button__link {
    font-family: "acumin-pro", "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
}

/* Eyebrow-Texte (kleine Kapitel-Labels) */
.sn-eyebrow {
    font-family: "acumin-pro", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Schnüffelnase Produktseiten */

.single-product .product {
  max-width: 1180px;
  margin: 0 auto;
}

.single-product .summary {
  color: #3b2b22;
}

.single-product .product_title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  color: #3b2b22;
  margin-bottom: 16px;
}

.single-product .price {
  color: #e8792e !important;
  font-weight: 800;
  font-size: 1.6rem !important;
}

.single-product .woocommerce-product-details__short-description {
  font-size: 1.08rem;
  line-height: 1.65;
  color: #6f5c50;
  margin: 18px 0 24px;
}

.single-product .cart {
  margin-top: 24px;
}

.single-product button.single_add_to_cart_button,
.single-product .single_add_to_cart_button {
  background: #e8792e !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  padding: 14px 26px !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: 0 10px 24px rgba(232, 121, 46, 0.26);
}

.single-product button.single_add_to_cart_button:hover,
.single-product .single_add_to_cart_button:hover {
  background: #c85f1f !important;
  color: #ffffff !important;
}

.single-product .woocommerce-product-gallery {
  background: #fffaf4;
  border-radius: 28px;
  padding: 22px;
  border: 1px solid #e4d6ca;
  box-shadow: 0 12px 30px rgba(59, 43, 34, 0.08);
}

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

.sn-product-info {
  max-width: 980px;
  margin: 40px auto 0;
  color: #3b2b22;
}

.sn-product-section {
  background: #ffffff;
  border: 1px solid #e4d6ca;
  border-radius: 22px;
  padding: 30px;
  margin-bottom: 22px;
  box-shadow: 0 12px 30px rgba(59, 43, 34, 0.06);
}

.sn-product-section h2 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.2;
  margin: 0 0 14px;
  color: #3b2b22;
}

.sn-product-section p {
  color: #6f5c50;
  line-height: 1.65;
  margin: 0 0 14px;
}

.sn-product-section ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.sn-product-section li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  color: #3b2b22;
  font-weight: 600;
}

.sn-product-section li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #fde3cf;
  color: #c85f1f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
}

.sn-product-highlight {
  background:
    radial-gradient(circle at top right, rgba(253, 227, 207, 0.85), transparent 34%),
    #fffaf4;
  border-left: 6px solid #e8792e;
}

/* Produktkopf: klarer Zweispalter mit viel Luft */
@media (min-width: 769px) {
  .single-product div.product {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(380px, 1.1fr);
    column-gap: clamp(36px, 6vw, 80px);
    align-items: start;
  }

  .single-product div.product::before,
  .single-product div.product::after {
    content: none;
  }

  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary {
    float: none;
    width: auto;
    margin: 0;
  }

  .single-product div.product .woocommerce-tabs {
    grid-column: 1 / -1;
  }
}

.single-product .inside-article {
  background: #fffaf4;
}

.single-product .woocommerce-breadcrumb {
  color: #8b776a;
  margin-bottom: 34px;
}

.single-product .woocommerce-breadcrumb a {
  color: #6f5c50;
}

/* Breadcrumbs als ruhiger Übergang zwischen Titelwelle und Produktinhalt */
.single-product .entry-content > .woocommerce-breadcrumb {
  display: none !important;
}

.single-product div.product .sn-product-breadcrumb {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  align-self: start;
  position: relative;
  z-index: 5;
  width: 100%;
  margin: 0 !important;
}

.single-product div.product .sn-product-breadcrumb .woocommerce-breadcrumb {
  width: 100%;
  margin: 0 !important;
  padding: 11px 18px;
  border-radius: 10px;
  background: #f7f3ef;
  color: #8b776a;
  font-size: 0.92rem;
  line-height: 1.4;
}

.single-product div.product .sn-product-breadcrumb .woocommerce-breadcrumb a {
  color: #5c3d2e;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (min-width: 769px) {
  .single-product div.product > .woocommerce-product-gallery {
    margin-top: 58px !important;
  }
}

@media (max-width: 768px) {
  .single-product div.product .sn-product-breadcrumb {
    order: 2 !important;
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    padding: 0 18px;
  }

  .single-product div.product .sn-product-breadcrumb .woocommerce-breadcrumb {
    padding: 10px 14px;
    font-size: 0.84rem;
  }

  .single-product div.product > .woocommerce-product-gallery {
    order: 3 !important;
    margin-top: 54px !important;
  }
}

.single-product .woocommerce-product-gallery {
  overflow: hidden;
}

.single-product .woocommerce-product-gallery .wp-post-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.single-product .sn-product-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 !important;
}

.single-product .sn-product-facts strong,
.single-product .sn-product-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fde3cf;
  color: #3b2b22;
  font-size: 0.95rem;
  font-weight: 700;
}

.single-product .sn-booking-hint {
  background: #ffffff;
  border-left: 5px solid #e8792e;
  border-radius: 14px;
  padding: 15px 18px;
  color: #3b2b22;
  box-shadow: 0 8px 22px rgba(59, 43, 34, 0.06);
}

.single-product .product.virtual .woocommerce_de_versandkosten {
  display: none;
}

.single-product .booking-wraper {
  border: 1px solid #e4d6ca;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(59, 43, 34, 0.07);
}

.single-product .ph-calendar-month,
.single-product .booking-info-wraper {
  background: #3b2b22 !important;
}

.single-product .ph-calendar-weekdays {
  background: #6f5c50 !important;
}

.single-product .ph-calendar-days {
  background: #fffaf4 !important;
}

.single-product .timepicker-selected-date,
.single-product .selected-date,
.single-product li.ph-calendar-date.mouse_hover,
.single-product li.ph-calendar-date:hover,
.single-product li.ph-calendar-date.de-active.can-be-checkout-date:hover,
.single-product li.ph-calendar-date.de-active.mouse_hover:hover {
  background: #e8792e !important;
  border-color: #e8792e !important;
  color: #ffffff !important;
}

.single-product .ph-calendar-date.today:not(.selected-date) {
  box-shadow: inset 0 0 0 2px #e8792e;
}

.single-product .booking-info-wraper {
  margin: 0;
  padding: 12px 18px;
}

.single-product .woocommerce-tabs ul.tabs {
  display: none;
}

.single-product .woocommerce-tabs .panel {
  display: block !important;
  margin: 0;
}

.single-product #tab-description > h2:first-child {
  display: none;
}

.single-product .sn-eyebrow {
  color: #c85f1f !important;
  font-size: 0.78rem;
  line-height: 1.2 !important;
  margin-bottom: 10px !important;
}

.single-product .product_meta {
  color: #8b776a;
  font-size: 0.9rem;
  margin-top: 22px;
}

/* CI-Schwerpunkt: kräftiges Schnüffelnase-Braun als tragende Fläche */
.single-product {
  --sn-braun: #5c3d2e;
  --sn-beige: #faf6f2;
  --sn-beige-print: #f2ebe5;
  --sn-orange: #e8792e;
}

.single-product .inside-article {
  background: var(--sn-beige);
}

.single-product div.product .summary {
  background: var(--sn-braun) !important;
  color: var(--sn-beige) !important;
  border-radius: 28px;
  padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 18px 44px rgba(92, 61, 46, 0.22);
}

.single-product div.product .summary .product_title,
.single-product div.product .summary .woocommerce-product-details__short-description,
.single-product div.product .summary .woocommerce-product-details__short-description p {
  color: var(--sn-beige) !important;
}

.single-product div.product .summary .price {
  color: #ffffff !important;
}

.single-product div.product .summary .sn-eyebrow {
  color: #f4ad79 !important;
}

.single-product div.product .summary .sn-product-facts strong,
.single-product div.product .summary .sn-product-facts span {
  background: var(--sn-beige-print);
  color: var(--sn-braun);
}

.single-product div.product .summary .sn-booking-hint {
  background: var(--sn-beige);
  color: var(--sn-braun);
  border-left-color: var(--sn-orange);
  box-shadow: none;
}

.single-product div.product .summary .booking-wraper {
  color: var(--sn-braun);
  border: 0;
  box-shadow: 0 12px 28px rgba(39, 23, 16, 0.24);
}

.single-product div.product .summary .product_meta,
.single-product div.product .summary .product_meta a {
  color: var(--sn-beige-print);
}

.single-product .ph-calendar-month,
.single-product .booking-info-wraper {
  background: var(--sn-braun) !important;
}

.single-product .ph-calendar-weekdays {
  background: #765342 !important;
}

.single-product .sn-product-highlight {
  background: var(--sn-braun);
  border: 0;
  box-shadow: 0 14px 34px rgba(92, 61, 46, 0.18);
}

.single-product .sn-product-highlight h2,
.single-product .sn-product-highlight p,
.single-product .sn-product-highlight li {
  color: var(--sn-beige);
}

.single-product .sn-product-highlight .sn-eyebrow {
  color: #f4ad79 !important;
}

.single-product .sn-product-highlight li::before {
  background: var(--sn-beige-print);
  color: var(--sn-braun);
}

@media (max-width: 768px) {
  .single-product .product {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .single-product .product > *,
  .single-product .summary,
  .single-product .woocommerce-product-gallery,
  .single-product .woocommerce-tabs,
  .single-product .sn-product-info,
  .single-product .sn-product-section {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
  }

  .single-product .product_title {
    font-size: 2.1rem;
  }

  .single-product .woocommerce-product-gallery {
    padding: 14px;
    border-radius: 22px;
    margin-bottom: 28px;
  }

  .single-product .sn-product-facts {
    gap: 8px;
  }

  .single-product .sn-product-facts strong,
  .single-product .sn-product-facts span {
    font-size: 0.88rem;
    padding: 6px 11px;
  }

  .single-product .booking-wraper {
    border-radius: 18px;
  }

  .sn-product-section {
    padding: 22px;
    border-radius: 18px;
  }
}

/* WunschTraining (Produkt 112): Produktkopf mobil kompakter. */
@media (max-width: 768px) {
  body.postid-112.single-product div.product {
    gap: 10px;
  }

  body.postid-112.single-product div.product .product_title {
    min-height: 235px !important;
    padding: 18px 14px 74px !important;
    background-size: 100% 100px !important;
    align-items: flex-start !important;
    margin-bottom: -10px !important;
  }

  body.postid-112.single-product div.product .sn-product-breadcrumb {
    padding-left: 0;
    padding-right: 0;
  }

  body.postid-112.single-product div.product .sn-product-breadcrumb .woocommerce-breadcrumb {
    padding: 7px 12px;
  }

  body.postid-112.single-product div.product > .woocommerce-product-gallery {
    margin-top: 0 !important;
  }
}