/*
Theme Name: Leo Kinderbuch Store
Theme URI: https://example.com/
Author: Kiki
Author URI: https://example.com/
Description: Pastelliges Onepage Theme für Kinderbuch- und Lied-Seite.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: leo-kinderbuch-store
*/

/* =====================================================
   BASIS
===================================================== */

body{
  margin:0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #ffeef5 0, #fdf9ff 35%, #e8f6ff 100%);
  color:#333333;
}

.site-wrapper{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.site-main{
  flex:1;
}

/* =====================================================
   HEADER (Basis – Details steuerst du im Customizer CSS)
===================================================== */

.site-header{
  padding:1.2rem 1.5rem;
  background:rgba(255,255,255,0.9);
  border-bottom:1px solid rgba(255,255,255,0.8);
}

.site-header-inner{
  max-width:1100px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}

.site-title{
  font-family:"Baloo 2", cursive !important;
  font-weight:700 !important;
  font-size:1.2rem;
}

/* =====================================================
   FOOTER (Basis – wird im Customizer fixiert)
===================================================== */

.site-footer{
  padding:1rem 1.5rem;
  background:rgba(255,255,255,0.9);
  border-top:1px solid rgba(255,255,255,0.8);
  font-size:0.8rem;
  color:#666666;
}

.site-footer-inner{
  max-width:1100px;
  margin:0 auto;
}

/* =====================================================
   STARTSEITEN LAYOUT
===================================================== */

.kid-main{
  padding:2rem 1.5rem 3rem;
}

.kid-content{
  max-width:1100px;
  margin:0 auto;
}

/* HERO */

.kid-hero{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);
  gap:2rem;
  align-items:center;
  margin-bottom:3rem;
}

.kid-hero-text h1{
  font-size:clamp(2.1rem,4vw,2.6rem);
  margin:0 0 0.7rem;
}

.kid-hero-text p{
  margin:0 0 1.2rem;
  font-size:1rem;
  color:#666666;
  max-width:33rem;
}

.kid-hero-badges{
  display:flex;
  flex-wrap:wrap;
  gap:0.5rem;
  margin-bottom:1.3rem;
}

.kid-badge{
  padding:0.3rem 0.9rem;
  border-radius:999px;
  font-size:0.8rem;
  background:rgba(255,255,255,0.9);
  box-shadow:0 8px 20px rgba(0,0,0,0.06);
}

/* PRODUCTS */

.kid-product-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1.5rem;
}

.kid-product-card{
  background:#ffffff;
  border-radius:18px;
  padding:1.3rem;
  box-shadow:0 8px 20px rgba(0,0,0,0.06);
}

@media (max-width:900px){
  .kid-hero{
    grid-template-columns:minmax(0,1fr);
  }
  .kid-product-grid{
    grid-template-columns:minmax(0,1fr);
  }
}
/* =====================================================
   FOOTER MOBILE FIX
===================================================== */

@media (max-width:768px){

  .site-footer{
    padding:6px 10px !important;
    overflow-x:hidden !important;
  }

  .site-footer-inner{
    max-width:100% !important;
    display:flex !important;
    flex-wrap:wrap !important;
    justify-content:center !important;
    align-items:center !important;
    gap:2px 6px !important;
    text-align:center !important;
    box-sizing:border-box !important;
    white-space:normal !important;
    line-height:1.2 !important;
  }

  .site-footer-inner span,
  .site-footer-inner a{
    font-size:0.62rem !important;
    white-space:nowrap !important;
  }

  html,
  body{
    overflow-x:hidden !important;
  }
}