/*
 * Schnüffelnase Kids – Produktvariante
 * Gilt ausschließlich für Produkte der Kategorie schnueffelnase-kids.
 */

body.sn-kids-product {
  --kids-orange: #e87124;
  --kids-orange-dark: #c85614;
  --kids-yellow: #f7c84b;
  --kids-rose: #f3c8c5;
  --kids-tuerkis: #a9d8d3;
  --kids-creme: #fff8ed;
  --kids-creme-dark: #f8ead7;
  --kids-braun: #674537;
  --kids-text: #4d372d;
  background: #fffaf3;
}

body.sn-kids-product .inside-article {
  background: #fffaf3;
}

body.sn-kids-product div.product {
  max-width: 1460px;
}

/* Titelbereich: Kinderwelt statt klassischer brauner Welle. */
body.sn-kids-product.single-product div.product .summary .product_title {
  min-height: 330px;
  padding-bottom: 112px !important;
  background-color: var(--kids-orange);
  background-image:
    radial-gradient(circle at 9% 25%, rgba(255,255,255,.28) 0 7px, transparent 8px),
    radial-gradient(circle at 88% 23%, rgba(255,255,255,.22) 0 11px, transparent 12px),
    radial-gradient(circle at 78% 70%, rgba(255,255,255,.18) 0 6px, transparent 7px),
    url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI4MCIgaGVpZ2h0PSIxNjAiIHZpZXdCb3g9IjAgMCAxMjgwIDE2MCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMCA2NGM5NiAyNiAxOTIgMjYgMjg4IDAgMTI4LTM0IDI1Ni0zNCAzODQgMCAxMTIgMzAgMjI0IDMwIDMzNiAwIDk2LTI2IDE5Mi0yNiAyODgtMXY5N0gweiIgZmlsbD0iI2ZmZmFmMyIvPjwvc3ZnPg==");
  background-position: center, center, center, center bottom;
  background-size: auto, auto, auto, 100% 170px;
  color: #fffdf8 !important;
  font-family: "chaloops", "Trebuchet MS", sans-serif;
  font-weight: 700;
  letter-spacing: .01em;
  text-shadow: 0 3px 0 rgba(126, 61, 20, .18);
}

body.sn-kids-product .product_title::before {
  content: "SCHNÜFFELNASE KIDS";
  position: absolute;
  top: 34px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "chaloops", "Trebuchet MS", sans-serif;
  font-size: clamp(.9rem, 1.5vw, 1.15rem);
  letter-spacing: .14em;
  color: #fff7d4;
  white-space: nowrap;
}

/* Breadcrumb und obere Produktkarten. */
body.sn-kids-product .sn-product-breadcrumb .woocommerce-breadcrumb {
  background: #fff1dc;
  color: #8a6653;
  border: 2px dashed rgba(232,113,36,.3);
  border-radius: 16px;
}

body.sn-kids-product .sn-product-breadcrumb .woocommerce-breadcrumb a {
  color: var(--kids-orange-dark);
}

body.sn-kids-product .woocommerce-product-gallery {
  padding: 14px;
  background: #fff1dc;
  border: 3px solid #f5b376;
  border-radius: 30px;
  box-shadow: 0 12px 28px rgba(111,70,45,.12);
}

body.sn-kids-product .woocommerce-product-gallery img {
  border-radius: 22px;
}

body.sn-kids-product div.product .summary .legacy-itemprop-offers,
body.sn-kids-product div.product .summary .woocommerce-product-details__short-description,
body.sn-kids-product div.product .summary form.cart {
  background: rgba(255,255,255,.96);
  border: 2px solid #f4c89e;
  border-radius: 24px;
  box-shadow: 0 10px 26px rgba(108,69,45,.09);
}

body.sn-kids-product div.product .summary .legacy-itemprop-offers {
  background: linear-gradient(135deg, #fff4d9, #fffaf1);
}

body.sn-kids-product div.product .summary .price {
  color: var(--kids-orange-dark) !important;
}

body.sn-kids-product div.product .summary .woocommerce-product-details__short-description {
  color: var(--kids-text);
  font-size: 1.08rem;
}

/* Kalender farblich in die Kinderwelt holen. */
body.sn-kids-product .ph-calendar-month,
body.sn-kids-product .booking-info-wraper {
  background: var(--kids-orange) !important;
}

body.sn-kids-product .ph-calendar-weekdays {
  background: var(--kids-tuerkis) !important;
}

body.sn-kids-product .timepicker-selected-date,
body.sn-kids-product .selected-date,
body.sn-kids-product li.ph-calendar-date.mouse_hover,
body.sn-kids-product li.ph-calendar-date:hover {
  background: var(--kids-yellow) !important;
  border-color: var(--kids-yellow) !important;
  color: var(--kids-braun) !important;
}

body.sn-kids-product .single_add_to_cart_button,
body.sn-kids-product .button.alt,
body.sn-kids-product a.button {
  background: var(--kids-orange) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 7px 0 var(--kids-orange-dark);
  font-family: "chaloops", "Trebuchet MS", sans-serif;
  font-weight: 700;
}

body.sn-kids-product .single_add_to_cart_button:hover,
body.sn-kids-product .button.alt:hover,
body.sn-kids-product a.button:hover {
  transform: translateY(2px);
  box-shadow: 0 5px 0 var(--kids-orange-dark);
}

/* Beschreibung als freundliche Kinderwelt-Karten. */
body.sn-kids-product .woocommerce-tabs,
body.sn-kids-product .woocommerce-Tabs-panel,
body.sn-kids-product .sn-content-card,
body.sn-kids-product .sn-highlight-card,
body.sn-kids-product .sn-info-card {
  border-radius: 26px;
}

body.sn-kids-product .woocommerce-Tabs-panel,
body.sn-kids-product .woocommerce-tabs .panel {
  background: #fff;
  border: 2px solid #f5d2ae;
  box-shadow: 0 12px 30px rgba(105,68,46,.08);
}

body.sn-kids-product .woocommerce-Tabs-panel h2,
body.sn-kids-product .woocommerce-Tabs-panel h3,
body.sn-kids-product .entry-content h2,
body.sn-kids-product .entry-content h3 {
  color: var(--kids-orange-dark);
  font-family: "chaloops", "Trebuchet MS", sans-serif;
}

body.sn-kids-product .woocommerce-Tabs-panel ul li::marker,
body.sn-kids-product .entry-content ul li::marker {
  color: var(--kids-orange);
}

body.sn-kids-product .related.products {
  background: #fff2dd;
  border-radius: 30px;
  padding: clamp(20px, 3vw, 38px);
}

body.sn-kids-product .related.products > h2 {
  color: var(--kids-orange-dark);
  font-family: "chaloops", "Trebuchet MS", sans-serif;
}

body.sn-kids-product .related.products li.product {
  background: #fff;
  border: 2px solid #f4c89e;
  border-radius: 22px;
  overflow: hidden;
}

/* Hero nach dem Vorbild der bestehenden Kinderwelt. */
body.sn-kids-product .sn-kids-hero {
  position: relative;
  min-height: clamp(430px, 55vw, 700px);
  margin: 0 calc(50% - 50vw) 44px;
  overflow: hidden;
  background-image: linear-gradient(90deg, rgba(255,250,243,.96) 0%, rgba(255,250,243,.78) 42%, rgba(255,250,243,.08) 72%), url('https://dev.schnueffelnase.net/wp-content/uploads/2026/07/Schnueffelnase-Kids-–-Hero-Kind-und-Hund.png');
  background-position: center, center;
  background-size: cover;
}

body.sn-kids-product .sn-kids-hero::after {
  content: "";
  position: absolute;
  right: -4%;
  bottom: -76px;
  left: -4%;
  height: 150px;
  background: #fffaf3;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

body.sn-kids-product .sn-kids-hero__overlay {
  position: relative;
  z-index: 2;
  width: min(720px, 55%);
  padding: clamp(70px, 9vw, 132px) 4vw 120px max(4vw, calc((100vw - 1460px) / 2));
}

body.sn-kids-product .sn-kids-hero__eyebrow {
  margin: 0 0 14px;
  color: #4e5263;
  font-family: "chaloops", "Trebuchet MS", sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: .06em;
}

body.sn-kids-product .sn-kids-hero__title {
  margin: 0;
  color: #4e5263;
  font-family: "chaloops", "Trebuchet MS", sans-serif;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  font-weight: 700;
  line-height: 1.02;
  text-shadow: 0 3px 0 rgba(255,255,255,.9);
}

body.sn-kids-product .sn-kids-hero__location {
  max-width: 580px;
  margin: 20px 0 0;
  color: var(--kids-orange-dark);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 700;
}

body.sn-kids-product .sn-kids-hero__logo {
  position: absolute;
  z-index: 3;
  right: clamp(24px, 5vw, 90px);
  bottom: 68px;
  width: clamp(130px, 17vw, 250px);
  height: auto;
  filter: drop-shadow(0 12px 20px rgba(83,55,38,.18));
}

/* Der Hero übernimmt den Seitentitel. */
body.sn-kids-product.single-product div.product .summary .product_title {
  display: none;
}

body.sn-kids-product .sn-kids-photo-story {
  clear: both;
  margin: 58px 0 28px;
  padding: clamp(26px, 4vw, 56px);
  background: #fff1dc;
  border-radius: 34px;
}

body.sn-kids-product .sn-kids-photo-story__intro {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

body.sn-kids-product .sn-kids-photo-story__intro span {
  color: var(--kids-orange-dark);
  font-family: "chaloops", "Trebuchet MS", sans-serif;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.sn-kids-product .sn-kids-photo-story__intro h2 {
  margin: 8px 0 10px;
  color: #4e5263;
  font-family: "chaloops", "Trebuchet MS", sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

body.sn-kids-product .sn-kids-photo-story__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  max-width: 980px;
  margin: 0 auto;
}

body.sn-kids-product .sn-kids-photo-story figure {
  margin: 0;
  padding: 10px;
  background: #fff;
  border: 3px solid #f5b376;
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(111,70,45,.12);
  aspect-ratio: 1;
  overflow: hidden;
}

body.sn-kids-product .sn-kids-photo-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Kindergeburtstag: lange Inhalte als ruhige Kinderwelt-Kacheln. */
body.postid-180 .sn-birthday-live,
body.postid-180 .sn-birthday-live p,
body.postid-180 .sn-birthday-live li,
body.postid-180 .sn-birthday-live summary,
body.postid-180 .sn-birthday-live a {
  font-family: "chaloops", "Trebuchet MS", sans-serif;
}

body.postid-180 .sn-birthday-live {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 30px);
  color: var(--kids-text);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.62;
}

body.postid-180 .sn-birthday-live > section,
body.postid-180 .sn-birthday-live .sn-birthday-program-cards,
body.postid-180 .sn-birthday-live .sn-birthday-faq-full,
body.postid-180 .sn-birthday-live .sn-birthday-booking-info {
  min-width: 0;
  margin: 0;
  padding: clamp(22px, 3vw, 36px);
  background: #fff;
  border: 2px solid #f4c89e;
  border-radius: 28px;
  box-shadow: 0 12px 28px rgba(105,68,46,.08);
}

body.postid-180 .sn-birthday-live > hr {
  display: none;
}

body.postid-180 .sn-birthday-live h2,
body.postid-180 .sn-birthday-live h3 {
  overflow-wrap: anywhere;
  hyphens: auto;
  line-height: 1.15;
}

body.postid-180 .sn-birthday-live h2 {
  margin: 0 0 18px;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

body.postid-180 .sn-birthday-live h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
}

body.postid-180 .sn-birthday-live p,
body.postid-180 .sn-birthday-live ul {
  margin-top: 0;
  margin-bottom: 1rem;
}

body.postid-180 .sn-birthday-live ul {
  padding-left: 1.25rem;
}

body.postid-180 .sn-birthday-live li {
  margin-bottom: .55rem;
}

body.postid-180 .sn-birthday-intro,
body.postid-180 .sn-birthday-gallery,
body.postid-180 .sn-birthday-program-cards,
body.postid-180 .sn-birthday-faq-full,
body.postid-180 .sn-birthday-booking-info,
body.postid-180 .sn-birthday-live > section:last-child {
  grid-column: 1 / -1;
}

body.postid-180 .sn-birthday-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  background: #fff1dc !important;
}

body.postid-180 .sn-birthday-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 8px solid #fff;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(105,68,46,.12);
}

body.postid-180 .sn-birthday-price-grid,
body.postid-180 .sn-birthday-program-grid,
body.postid-180 .sn-birthday-booking-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

body.postid-180 .sn-birthday-price-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.postid-180 .sn-birthday-price-grid article,
body.postid-180 .sn-birthday-program-grid article {
  min-width: 0;
  padding: 22px;
  background: var(--kids-creme);
  border: 2px dashed #f0ad70;
  border-radius: 22px;
}

body.postid-180 .sn-birthday-price {
  color: var(--kids-orange-dark);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.05;
}

body.postid-180 .sn-birthday-faq-full details {
  margin: 0 0 12px;
  padding: 16px 18px;
  background: #fff8ed;
  border: 1px solid #f1c69e;
  border-radius: 16px;
}

body.postid-180 .sn-birthday-faq-full summary {
  cursor: pointer;
  color: var(--kids-orange-dark);
  font-weight: 700;
  line-height: 1.35;
}

body.postid-180 .sn-birthday-booking-info {
  color: #fff;
  background: linear-gradient(135deg, var(--kids-orange), #fb8500) !important;
  border: 0 !important;
}

body.postid-180 .sn-birthday-booking-info h2,
body.postid-180 .sn-birthday-booking-info h3,
body.postid-180 .sn-birthday-booking-info p,
body.postid-180 .sn-birthday-booking-info li {
  color: #fff;
}

body.postid-180 .sn-birthday-booking-info img {
  width: 100%;
  height: auto;
  border: 8px solid #fff;
  border-radius: 22px;
}

@media (max-width: 900px) {
  body.postid-180 .sn-birthday-live,
  body.postid-180 .sn-birthday-price-grid,
  body.postid-180 .sn-birthday-program-grid,
  body.postid-180 .sn-birthday-booking-info {
    grid-template-columns: 1fr;
  }

  body.postid-180 .sn-birthday-live > section,
  body.postid-180 .sn-birthday-gallery,
  body.postid-180 .sn-birthday-program-cards,
  body.postid-180 .sn-birthday-faq-full,
  body.postid-180 .sn-birthday-booking-info,
  body.postid-180 .sn-birthday-live > section:last-child {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  body.sn-kids-product .sn-kids-hero {
    min-height: 620px;
    background-image: linear-gradient(180deg, rgba(255,250,243,.96) 0%, rgba(255,250,243,.74) 48%, rgba(255,250,243,.04) 75%), url('https://dev.schnueffelnase.net/wp-content/uploads/2026/07/Schnueffelnase-Kids-–-Hero-Kind-und-Hund.png');
    background-position: center, 68% center;
  }

  body.sn-kids-product .sn-kids-hero__overlay {
    width: auto;
    padding: 48px 18px 250px;
    text-align: center;
  }

  body.sn-kids-product .sn-kids-hero__title {
    font-size: clamp(2.1rem, 11vw, 3.35rem);
    line-height: 1.03;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  body.sn-kids-product .sn-kids-hero__location {
    font-size: 1rem;
    line-height: 1.35;
  }

  body.sn-kids-product .sn-kids-hero__logo {
    right: 18px;
    bottom: 66px;
    width: 138px;
  }

  body.sn-kids-product .sn-kids-photo-story__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  body.postid-180 .sn-birthday-live {
    gap: 11px;
    font-size: .98rem;
    line-height: 1.42;
  }

  body.postid-180 .sn-birthday-live > section,
  body.postid-180 .sn-birthday-live .sn-birthday-program-cards,
  body.postid-180 .sn-birthday-live .sn-birthday-faq-full,
  body.postid-180 .sn-birthday-live .sn-birthday-booking-info {
    padding: 15px 13px;
    border-radius: 19px;
  }

  body.postid-180 .sn-birthday-live h2 {
    margin-bottom: 11px;
    font-size: 1.55rem;
  }

  body.postid-180 .sn-birthday-live h3 {
    margin: 0 0 8px;
    font-size: 1.35rem;
  }

  body.postid-180 .sn-birthday-live p,
  body.postid-180 .sn-birthday-live ul {
    margin-bottom: .65rem;
  }

  body.postid-180 .sn-birthday-live ul {
    padding-left: 1.05rem;
  }

  body.postid-180 .sn-birthday-live li {
    margin-bottom: .3rem;
    line-height: 1.38;
  }

  body.postid-180 .sn-birthday-gallery {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  body.postid-180 .sn-birthday-gallery img {
    max-width: 300px;
    margin: 0 auto;
  }

  body.postid-180 .sn-birthday-price-grid,
  body.postid-180 .sn-birthday-program-grid {
    gap: 11px;
  }

  body.postid-180 .sn-birthday-price-grid article,
  body.postid-180 .sn-birthday-program-grid article {
    padding: 14px 12px;
    border-radius: 17px;
  }

  body.postid-180 .sn-birthday-price {
    margin: 5px 0 10px;
    font-size: 1.85rem;
  }
}
