/*
Theme Name: Kleines Glück
Theme URI: https://kleines-glueck-mia.de
Author: Natascha Gimenez y Lopez / NOVA Medienwerk
Description: Individuelles Theme für den Onlineshop Kleines Glück - made by Mia.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: kleines-glueck
*/

  :root {
    --rose: #e8b4c0;
    --rose-soft: #f4d6dc;
    --rose-pale: #fbeaee;
    --rose-deep: #c97e8c;
    --rose-dark: #a85f6e;
    --cream: #faf3ec;
    --cream-soft: #fdf8f3;
    --beige: #f0e4d3;
    --brown: #5d4538;
    --brown-soft: #8a6f5f;
    --brown-light: #b89a85;
    --text: #4a3528;
    --shadow-soft: 0 4px 20px rgba(168, 95, 110, 0.12);
    --shadow-hover: 0 10px 36px rgba(168, 95, 110, 0.18);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

  body {
    font-family: 'Quicksand', sans-serif;
    background: var(--cream-soft);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    font-size: 15px;
  }

  h1, h2, h3, h4 { color: var(--brown); font-family: 'Quicksand', sans-serif; font-weight: 600; }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }
  button { font-family: inherit; }

  /* ============ ANNOUNCEMENT ============ */
  .announcement {
    background: var(--rose-deep);
    color: var(--cream);
    text-align: center;
    padding: 9px 16px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
  }
  .announcement svg {
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px;
  }

  /* ============ HEADER ============ */
  header {
    background: rgba(253, 248, 243, 0.97);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--rose-soft);
  }

  .logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .logo-circle {
    width: 44px;
    height: 44px;
    background: radial-gradient(circle at 30% 30%, var(--rose-soft), var(--rose) 60%, transparent 75%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .logo-circle svg { width: 30px; height: 30px; }

  .logo-text { display: flex; flex-direction: column; line-height: 1; }

  .logo-main {
    font-family: 'Sacramento', cursive;
    font-size: 22px;
    color: var(--brown);
  }

  .logo-sub {
    font-family: 'Caveat', cursive;
    font-size: 12px;
    color: var(--brown-soft);
    margin-top: 2px;
    text-align: center;
  }

  /* Desktop Nav */
  nav.desktop-nav { display: none; }

  /* Burger Button */
  .burger {
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--brown);
  }
  .burger span {
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: all 0.3s;
  }
  .burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.active span:nth-child(2) { opacity: 0; }
  .burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .header-icons { display: flex; gap: 6px; align-items: center; }

  .icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--brown);
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border-radius: 50%;
  }
  .icon-btn:hover, .icon-btn:active { background: var(--rose-soft); color: var(--rose-deep); }
  .icon-btn svg { width: 22px; height: 22px; }

  .cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--rose-deep);
    color: var(--cream);
    font-size: 10px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
  }

  /* Mobile Menu Overlay */
  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: var(--cream-soft);
    z-index: 200;
    transition: right 0.4s ease;
    padding: 80px 32px 40px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    overflow-y: auto;
  }
  .mobile-menu.open { right: 0; }

  .mobile-menu-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--rose-soft);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--brown);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu ul {
    list-style: none;
  }
  .mobile-menu li {
    border-bottom: 1px dashed var(--rose-soft);
  }
  .mobile-menu a {
    display: block;
    padding: 18px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--brown);
  }
  .mobile-menu a::before {
    content: '♡';
    margin-right: 12px;
    color: var(--rose-deep);
  }

  .menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .menu-backdrop.show { opacity: 1; pointer-events: auto; }

  /* ============ HERO ============ */
  .hero {
    background: var(--cream-soft);
    padding: 0 0 30px;
  }

  .hero-image-wrap {
    width: 100%;
    background: var(--cream-soft);
  }

  .hero-image {
    width: 100%;
    height: auto;
    display: block;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px 20px 0;
    max-width: 420px;
    margin: 0 auto;
  }

  /* ============ BUTTONS ============ */
  .btn {
    font-family: 'Quicksand', sans-serif;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 100px;
    width: 100%;
    min-height: 52px;
  }

  .btn-primary {
    background: var(--rose-deep);
    color: var(--cream);
    box-shadow: var(--shadow-soft);
  }
  .btn-primary:hover, .btn-primary:active { background: var(--rose-dark); }

  .btn-secondary {
    background: var(--cream-soft);
    color: var(--brown);
    border: 1.5px solid var(--rose-deep);
  }
  .btn-secondary:hover, .btn-secondary:active { background: var(--rose-pale); }

  /* ============ SECTION HEADER ============ */
  .section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 36px;
    padding: 0 8px;
  }

  .section-tag {
    font-family: 'Caveat', cursive;
    font-size: 22px;
    color: var(--rose-deep);
    margin-bottom: 4px;
    display: block;
  }

  .section-header h2 {
    font-family: 'Sacramento', cursive;
    font-size: 44px;
    line-height: 1.05;
    color: var(--brown);
    font-weight: 400;
    margin-bottom: 12px;
  }

  .section-header p {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 16px;
    color: var(--brown-soft);
    line-height: 1.5;
  }

  /* ============ CATEGORIES ============ */
  .categories {
    padding: 60px 20px 50px;
    background: var(--cream-soft);
  }

  .category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    max-width: 640px;
    margin: 0 auto;
  }

  .category-card {
    position: relative;
    flex: 1 1 138px;
    max-width: 200px;
    min-height: 158px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px 16px;
    overflow: hidden;
    border-radius: 18px;
    cursor: pointer;
    text-align: center;
    background: linear-gradient(160deg, var(--rose-pale) 0%, var(--rose-soft) 100%);
    border: 1px solid var(--rose-soft);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  }

  .category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--rose);
  }
  .category-card:active { transform: scale(0.97); }

  /* Deko-Motiv (solange kein Foto hinterlegt ist) */
  .category-card .cat-motif {
    width: 40px;
    height: 40px;
  }
  .category-card .cat-motif svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--rose-deep);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.4s ease;
  }
  .category-card:hover .cat-motif svg { transform: scale(1.12) rotate(-4deg); }

  .category-card .cat-info { position: relative; z-index: 2; }

  .category-card h3 {
    color: var(--brown);
    font-family: 'Sacramento', cursive;
    font-size: 27px;
    line-height: 1.05;
    margin-bottom: 1px;
    font-weight: 400;
  }

  .category-card .cat-count {
    font-family: 'Caveat', cursive;
    font-size: 14px;
    color: var(--rose-dark);
    opacity: 0.95;
  }

  /* Bild-Variante: wenn später ein Foto hinterlegt wird (.cat-img per JS) */
  .category-card.has-img {
    background: var(--rose-soft);
    justify-content: flex-end;
    padding: 0;
    min-height: 240px;
    border-color: transparent;
  }
  .category-card.has-img .cat-motif { display: none; }
  .category-card.has-img .cat-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s ease;
  }
  .category-card.has-img:hover .cat-img { transform: scale(1.08); }
  .category-card.has-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(93, 69, 56, 0.78) 0%, transparent 55%);
  }
  .category-card.has-img .cat-info { padding: 18px 14px 20px; }
  .category-card.has-img h3 { color: var(--cream); }
  .category-card.has-img .cat-count { color: var(--cream); }

  /* ============ PRODUCTS ============ */
  .products {
    padding: 60px 20px;
    background: linear-gradient(180deg, var(--cream-soft) 0%, var(--rose-pale) 100%);
  }

  .product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 600px;
    margin: 0 auto;
  }

  .product-card {
    background: var(--cream-soft);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s;
  }
  .product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
  }
  .product-card:active { transform: scale(0.98); }

  .product-img {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    background-color: var(--beige);
    position: relative;
  }

  .product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--rose-deep);
    color: var(--cream);
    padding: 4px 10px;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 100px;
    z-index: 2;
  }
  .product-badge.unique { background: var(--brown); }
  .product-badge.new { background: var(--rose); color: var(--brown); }

  .heart-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(253, 248, 243, 0.95);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s;
    color: var(--brown);
  }
  .heart-btn:active { background: var(--rose-deep); color: var(--cream); }
  .heart-btn svg { width: 16px; height: 16px; }

  .product-info { padding: 14px 14px 16px; }

  .product-cat {
    font-family: 'Caveat', cursive;
    font-size: 14px;
    color: var(--rose-deep);
    margin-bottom: 2px;
  }

  .product-info h4 {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--brown);
    margin-bottom: 10px;
    line-height: 1.3;
    min-height: 36px;
  }

  .product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }

  .product-price {
    font-size: 16px;
    color: var(--rose-deep);
    font-weight: 700;
  }

  .add-cart {
    background: var(--brown);
    color: var(--cream);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
  }
  .add-cart:active { background: var(--rose-deep); transform: scale(0.95); }
  .add-cart svg { width: 18px; height: 18px; }

  /* ============ STORY ============ */
  .story {
    padding: 70px 20px;
    background: var(--cream);
  }

  .story-img-wrap {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
  }

  .story-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
  }

  .story-deco {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--rose) 0%, var(--rose-soft) 70%);
    border-radius: 50%;
    opacity: 0.6;
    z-index: -1;
  }

  .story-content {
    max-width: 540px;
    margin: 0 auto;
    text-align: center;
  }

  .story-tag {
    font-family: 'Caveat', cursive;
    font-size: 22px;
    color: var(--rose-deep);
    margin-bottom: 4px;
  }

  .story h2 {
    font-family: 'Sacramento', cursive;
    font-size: 44px;
    line-height: 1;
    color: var(--brown);
    font-weight: 400;
    margin-bottom: 22px;
  }

  .story p {
    color: var(--text);
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 1.75;
  }

  .story-quote {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 18px;
    color: var(--rose-deep);
    padding: 18px 0;
    border-top: 1px dashed var(--rose);
    border-bottom: 1px dashed var(--rose);
    margin: 24px 0;
    line-height: 1.45;
  }

  .signature {
    font-family: 'Sacramento', cursive;
    font-size: 32px;
    color: var(--rose-deep);
    line-height: 1;
  }
  .signature small {
    display: block;
    font-family: 'Caveat', cursive;
    font-size: 16px;
    color: var(--brown-soft);
    margin-top: 4px;
  }

  /* ============ VALUES ============ */
  .values {
    padding: 60px 20px;
    background: var(--rose-soft);
  }

  .values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 600px;
    margin: 0 auto;
  }

  .value-item {
    background: var(--cream-soft);
    padding: 22px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
  }

  .value-icon {
    width: 52px;
    height: 52px;
    background: var(--rose);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    flex-shrink: 0;
  }
  .value-icon svg { width: 24px; height: 24px; }

  .value-item h4 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brown);
    margin-bottom: 4px;
  }

  .value-item p {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 14px;
    color: var(--brown-soft);
    line-height: 1.4;
  }

  /* ============ NEWSLETTER ============ */
  .newsletter {
    padding: 70px 20px;
    background: linear-gradient(135deg, var(--rose-pale) 0%, var(--rose-soft) 100%);
    color: var(--brown);
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .newsletter::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(201, 126, 140, 0.18) 0%, transparent 70%);
    border-radius: 50%;
  }
  .newsletter::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(201, 126, 140, 0.18) 0%, transparent 70%);
    border-radius: 50%;
  }

  .newsletter-content { position: relative; z-index: 2; max-width: 480px; margin: 0 auto; }

  .newsletter .section-tag { color: var(--rose-deep); }

  .newsletter h2 {
    font-family: 'Sacramento', cursive;
    font-size: 42px;
    color: var(--brown);
    font-weight: 400;
    margin-bottom: 12px;
    line-height: 1;
  }

  .newsletter p {
    color: var(--brown-soft);
    margin-bottom: 26px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 16px;
  }

  .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 420px;
    margin: 0 auto;
  }

  .newsletter-form input {
    padding: 16px 22px;
    background: var(--cream-soft);
    border: 1px solid var(--rose);
    color: var(--brown);
    font-family: 'Quicksand', sans-serif;
    font-size: 15px;
    border-radius: 100px;
    text-align: center;
    min-height: 52px;
  }
  .newsletter-form input::placeholder { color: var(--brown-light); }
  .newsletter-form input:focus { outline: none; border-color: var(--rose-deep); background: #fff; }

  .newsletter-form button {
    background: var(--rose-deep);
    color: var(--cream);
    border: none;
    padding: 16px 30px;
    border-radius: 100px;
    font-family: 'Quicksand', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 52px;
  }
  .newsletter-form button:active, .newsletter-form button:hover { background: var(--rose-dark); }

  /* ============ FOOTER ============ */
  footer {
    background: var(--cream);
    color: var(--text);
    padding: 50px 20px 24px;
    border-top: 1px dashed var(--rose);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px 14px;
    max-width: 1400px;
    margin: 0 auto 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    font-size: 13px;
    line-height: 1.65;
    max-width: 320px;
    margin-top: 10px;
    color: var(--brown-soft);
  }

  .footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 18px;
  }

  .social-icon {
    width: 44px;
    height: 44px;
    background: var(--rose-soft);
    color: var(--rose-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
  }
  .social-icon:active { background: var(--rose-deep); color: var(--cream); }

  .footer-col h5 {
    font-family: 'Sacramento', cursive;
    font-weight: 400;
    font-size: 22px;
    color: var(--rose-deep);
    margin-bottom: 8px;
  }

  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 6px; }
  .footer-col a { font-size: 13px; color: var(--text); }
  .footer-col a:active { color: var(--rose-deep); }

  .footer-bottom {
    border-top: 1px dashed var(--rose);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
    font-size: 12px;
    color: var(--brown-soft);
    max-width: 1400px;
    margin: 0 auto;
  }

  .footer-bottom .handwritten {
    font-family: 'Caveat', cursive;
    font-size: 16px;
    color: var(--rose-deep);
  }

  /* ============ TABLET (640px+) ============ */
  @media (min-width: 640px) {
    body { font-size: 16px; }

    header { padding: 14px 28px; }
    .logo-circle { width: 52px; height: 52px; }
    .logo-circle svg { width: 36px; height: 36px; }
    .logo-main { font-size: 26px; }
    .logo-sub { font-size: 13px; }

    .hero-actions { flex-direction: row; max-width: 560px; }
    .btn { flex: 1; }

    .section-header h2 { font-size: 54px; }
    .section-header p { font-size: 17px; }

    .category-grid { gap: 18px; max-width: 760px; }
    .category-card { max-width: 220px; min-height: 172px; }
    .category-card h3 { font-size: 30px; }
    .category-card .cat-count { font-size: 16px; }

    .product-grid { gap: 18px; max-width: 720px; }
    .product-info { padding: 18px; }
    .product-info h4 { font-size: 16px; }
    .product-price { font-size: 18px; }

    .story-img-wrap { max-width: 640px; }

    .values-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 720px; }

    .newsletter h2 { font-size: 54px; }
    .newsletter-form { flex-direction: row; }
    .newsletter-form input { text-align: left; }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }
    .footer-brand { grid-column: auto; }
    .footer-col h5 { font-size: 24px; margin-bottom: 12px; }
    .footer-col a { font-size: 14px; }
    .footer-col li { margin-bottom: 8px; }

    .footer-bottom { flex-direction: row; justify-content: space-between; }
  }

  /* ============ DESKTOP (1024px+) ============ */
  @media (min-width: 1024px) {
    header { padding: 18px 60px; }

    .burger { display: none; }

    nav.desktop-nav {
      display: block;
    }
    nav.desktop-nav ul {
      display: flex;
      gap: 36px;
      list-style: none;
    }
    nav.desktop-nav a {
      font-family: 'Quicksand', sans-serif;
      font-size: 15px;
      font-weight: 500;
      letter-spacing: 0.05em;
      color: var(--text);
      transition: color 0.3s;
      position: relative;
      padding: 6px 0;
    }
    nav.desktop-nav a:hover { color: var(--rose-deep); }
    nav.desktop-nav a::after {
      content: '♥';
      position: absolute;
      bottom: -14px;
      left: 50%;
      transform: translateX(-50%);
      color: var(--rose-deep);
      font-size: 10px;
      opacity: 0;
      transition: all 0.3s;
    }
    nav.desktop-nav a:hover::after { opacity: 1; bottom: -10px; }

    .header-icons { gap: 14px; }

    /* Hero auf Desktop: scharfes Bild zentriert, unscharfer Hintergrund-Fill */
    .hero {
      padding: 0;
      background: var(--cream-soft);
    }
    .hero-image-wrap {
      position: relative;
      width: 100%;
      max-width: none;
      margin: 0;
      overflow: hidden;
      background: var(--cream-soft);
    }
    .hero-image {
      width: 100%;
      height: auto;
      display: block;
    }
    .hero-actions {
      flex-direction: row;
      gap: 14px;
      max-width: 500px;
      padding: 28px 20px 50px;
      justify-content: center;
    }
    .hero-actions {
      position: absolute;
      bottom: 50px;
      left: 50%;
      transform: translateX(-50%);
      padding: 0;
      flex-direction: row;
      gap: 16px;
      max-width: none;
    }
    .btn { width: auto; padding: 16px 38px; }

    /* Sections kompakter */
    .categories, .products { padding: 70px 40px; }
    .story { padding: 80px 40px; max-width: 1000px; margin: 0 auto; }
    .story-img-wrap { max-width: 860px; margin: 0 auto; }
    .story-img { border-radius: 20px; }

    .values { padding: 70px 40px; }
    .values-grid {
      grid-template-columns: repeat(5, 1fr);
      gap: 20px;
      max-width: 1280px;
    }
    .value-item {
      flex-direction: column;
      text-align: center;
      padding: 26px 18px;
      border-radius: 80px 80px 14px 14px;
    }
    .value-icon { width: 56px; height: 56px; }
    .value-icon svg { width: 24px; height: 24px; }
    .value-item h4 { font-size: 13px; }
    .value-item p { font-size: 14px; }

    .newsletter { padding: 80px 40px; }
    .newsletter h2 { font-size: 48px; }

    .section-header h2 { font-size: 46px; }
    .section-header p { font-size: 16px; }
    .section-header { margin-bottom: 44px; }

    .category-grid {
      gap: 20px;
      max-width: 1010px;
    }
    .category-card { flex: 1 1 220px; max-width: 250px; min-height: 188px; padding: 26px 18px; }
    .category-card .cat-motif { width: 44px; height: 44px; }
    .category-card h3 { font-size: 31px; }
    .category-card .cat-count { font-size: 15px; }
    .category-card.has-img { min-height: 270px; }

    .product-grid {
      grid-template-columns: repeat(4, 1fr);
      gap: 22px;
      max-width: 1280px;
    }
    .product-info h4 { font-size: 16px; min-height: 42px; }
    .product-price { font-size: 17px; }

    footer { padding: 60px 40px 24px; }
    .footer-grid {
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 50px;
      margin-bottom: 36px;
      max-width: 1280px;
    }
  }

  /* ============ LARGE DESKTOP (1280px+) ============ */
  @media (min-width: 1280px) {
    .story { gap: 0; }
  }  /* ============ CART DRAWER ============ */
  ul.products { list-style: none; }

  .cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(93, 69, 56, 0.45);
    z-index: 250;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .cart-backdrop.show { opacity: 1; pointer-events: auto; }

  .cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 90%;
    max-width: 400px;
    height: 100vh;
    height: 100dvh;
    background: var(--cream-soft);
    z-index: 300;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(168, 95, 110, 0.2);
  }
  .cart-drawer.open { right: 0; }

  .cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px dashed var(--rose-soft);
    flex-shrink: 0;
  }
  .cart-head h3 {
    font-family: 'Sacramento', cursive;
    font-weight: 400;
    font-size: 28px;
    color: var(--brown);
  }
  .cart-close {
    background: var(--rose-soft);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--brown);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
  }
  .cart-close:hover, .cart-close:active { background: var(--rose-deep); color: var(--cream); }

  .cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 22px;
  }

  .cart-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px dashed var(--rose-soft);
    align-items: center;
  }
  .cart-item-img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-color: var(--beige);
    flex-shrink: 0;
  }
  .cart-item-info { flex: 1; min-width: 0; }
  .cart-item-info h5 {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 2px;
    line-height: 1.25;
  }
  .cart-item-price {
    font-size: 13px;
    color: var(--rose-deep);
    font-weight: 700;
  }
  .cart-qty {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    background: var(--rose-pale);
    border-radius: 100px;
    padding: 4px 6px;
  }
  .cart-qty button {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: var(--cream-soft);
    color: var(--brown);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .cart-qty button:active { background: var(--rose-deep); color: var(--cream); }
  .cart-qty span {
    min-width: 18px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--brown);
  }
  .cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--brown-light);
    padding: 4px;
    align-self: flex-start;
    transition: color 0.2s;
  }
  .cart-item-remove:hover { color: var(--rose-deep); }

  .cart-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    color: var(--brown-soft);
    padding: 20px;
  }
  .cart-empty svg { color: var(--rose); margin-bottom: 8px; }
  .cart-empty p { font-size: 16px; color: var(--brown); font-weight: 500; }
  .cart-empty span { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 15px; }

  .cart-foot {
    flex-shrink: 0;
    padding: 18px 22px 24px;
    border-top: 1px dashed var(--rose-soft);
    background: var(--cream);
  }
  .cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-weight: 600;
    color: var(--brown);
    font-size: 16px;
    margin-bottom: 4px;
  }
  .cart-subtotal span:last-child { font-size: 20px; color: var(--rose-deep); font-weight: 700; }
  .cart-note {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 13px;
    color: var(--brown-soft);
    margin-bottom: 14px;
  }
  .cart-checkout { margin-bottom: 10px; }
  .cart-continue {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Caveat', cursive;
    font-size: 17px;
    color: var(--rose-deep);
    padding: 4px;
  }

  .add-cart.added svg { animation: cartPop 0.4s ease; }
  @keyframes cartPop { 0%,100% { transform: scale(1); } 50% { transform: scale(1.4); } }

  /* ===== Platzhalter-Bilder (Foto folgt) ===== */
  .product-card.no-img .product-img {
    background: linear-gradient(135deg, var(--rose-pale) 0%, var(--rose-soft) 100%);
  }
  .img-ph {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: 'Caveat', cursive;
    font-size: 18px;
    color: var(--rose-deep);
    opacity: 0.8;
    pointer-events: none;
  }
  .product-card.no-img .img-ph { display: flex; }

  /* ===== Kategorie-Blöcke ===== */
  .cat-block { max-width: 1280px; margin: 0 auto 48px; }
  .cat-block:last-child { margin-bottom: 0; }
  .cat-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 26px;
  }
  .cat-motif svg {
    width: 48px;
    height: 48px;
    fill: none;
    stroke: var(--rose-deep);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .cat-block-title {
    font-family: 'Sacramento', cursive;
    font-weight: 400;
    font-size: 34px;
    color: var(--brown);
    text-align: center;
  }

  /* Banner mit hochgeladenem Bild */
  .cat-banner.has-image {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    aspect-ratio: 1400 / 180;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
  }
  .cat-banner.has-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(93,69,56,0.03), rgba(93,69,56,0.22));
  }
  .cat-banner.has-image .cat-motif { display: none; }
  .cat-banner.has-image .cat-block-title {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 46px;
    text-shadow: 0 2px 14px rgba(93,69,56,0.5);
  }
  /* Bild bringt Titel schon mit -> Schrift-Titel & Overlay aus */
  .cat-banner.has-image.no-title .cat-block-title { display: none; }
  .cat-banner.has-image.no-title::before { display: none; }

  /* ===== Farbauswahl ===== */
  .color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 2px 0 12px;
  }
  .color-swatches.shake { animation: swShake 0.4s; }
  @keyframes swShake {
    0%,100%{transform:translateX(0)} 25%{transform:translateX(-4px)} 75%{transform:translateX(4px)}
  }
  .swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--rose-soft);
    cursor: pointer;
    padding: 0;
    transition: transform 0.15s, box-shadow 0.15s;
  }
  .swatch:hover { transform: scale(1.12); }
  .swatch.active {
    box-shadow: 0 0 0 2px var(--rose-deep);
    transform: scale(1.12);
  }

  /* ===== Größen / Varianten ===== */
  .size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 2px 0 12px;
  }
  .size-options.shake { animation: swShake 0.4s; }
  .size-opt {
    border: 1.5px solid var(--rose-soft);
    background: var(--cream-soft);
    color: var(--brown-soft);
    font-family: 'Quicksand', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
  }
  .size-opt:hover { border-color: var(--rose-deep); color: var(--brown); }
  .size-opt.active {
    background: var(--rose-deep);
    border-color: var(--rose-deep);
    color: #fff;
  }
  .size-opt .so-price { opacity: 0.85; font-weight: 700; }

  /* ============ SHOP APP (WooCommerce-Style) ============ */
  [hidden] { display: none !important; }
  .logo-wrap { cursor: pointer; }

  .shop-app { padding: 38px 20px 80px; background: var(--cream-soft); min-height: 70vh; }
  .shop-inner { max-width: 1180px; margin: 0 auto; }

  .breadcrumb { font-family: 'Quicksand', sans-serif; font-size: 13px; color: var(--brown-soft);
    margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
  .breadcrumb a { color: var(--rose-deep); cursor: pointer; }
  .breadcrumb a:hover { text-decoration: underline; }
  .breadcrumb .sep { opacity: 0.45; }

  .shop-head { text-align: center; margin-bottom: 32px; }
  .shop-head h1 { font-family: 'Sacramento', cursive; font-weight: 400; font-size: 48px;
    color: var(--brown); line-height: 1; }
  .shop-head .count { font-family: 'Caveat', cursive; font-size: 18px; color: var(--rose-deep); margin-top: 4px; }

  .shop-banner { position: relative; width: 100%; aspect-ratio: 4 / 1; border-radius: 18px;
    overflow: hidden; background: linear-gradient(135deg, var(--rose-pale), var(--rose-soft));
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
  .shop-banner::after { content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(93,69,56,0.05), rgba(93,69,56,0.42));
    opacity: 0; transition: opacity 0.4s; }
  .shop-banner.has-image::after { opacity: 0; }
  .shop-banner h1 { position: relative; z-index: 2; font-family: 'Sacramento', cursive; font-weight: 400;
    font-size: 56px; line-height: 1; color: var(--brown); text-align: center; padding: 0 16px;
    transition: color 0.3s, text-shadow 0.3s; }
  .shop-banner.has-image h1 { display: none; }
  @media (max-width: 600px) { .shop-banner h1 { font-size: 30px; } }
  .shop-count { text-align: center; font-family: 'Caveat', cursive; font-size: 18px;
    color: var(--rose-deep); margin-bottom: 28px; }
  .cat-section { margin-bottom: 60px; }
  .cat-section:last-child { margin-bottom: 0; }

  .shop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  @media (min-width: 680px) { .shop-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
  @media (min-width: 990px) { .shop-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

  .sp-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-soft);
    display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s; }
  .sp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
  .sp-thumb { aspect-ratio: 1; background: linear-gradient(135deg, var(--rose-pale), var(--rose-soft));
    background-size: cover; background-position: center; cursor: pointer; position: relative;
    display: flex; align-items: center; justify-content: center; }
  .sp-thumb .ph { font-family: 'Caveat', cursive; font-size: 17px; color: var(--rose-deep); opacity: 0.8; }
  .sp-body { padding: 14px 14px 16px; display: flex; flex-direction: column; flex: 1; }
  .sp-cat { font-family: 'Caveat', cursive; font-size: 14px; color: var(--rose-deep); }
  .sp-title { font-family: 'Quicksand', sans-serif; font-size: 15px; font-weight: 600; color: var(--brown);
    line-height: 1.3; margin: 1px 0 8px; cursor: pointer; }
  .sp-title:hover { color: var(--rose-deep); }
  .sp-price { font-size: 17px; font-weight: 700; color: var(--rose-deep); margin-top: auto; margin-bottom: 10px; }
  .sp-btn { border: 1.5px solid var(--rose-deep); background: transparent; color: var(--rose-deep);
    font-family: 'Quicksand', sans-serif; font-weight: 600; font-size: 13px; padding: 9px 14px;
    border-radius: 100px; cursor: pointer; transition: all 0.25s; width: 100%; }
  .sp-btn:hover { background: var(--rose-deep); color: #fff; }

  /* ---- Einzelproduktseite ---- */
  .pd { display: grid; grid-template-columns: 1fr; gap: 28px; }
  @media (min-width: 840px) { .pd { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }
  .pd-gallery { aspect-ratio: 1; border-radius: 20px; overflow: hidden;
    background: linear-gradient(135deg, var(--rose-pale), var(--rose-soft));
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center; }
  .pd-gallery .ph { font-family: 'Caveat', cursive; font-size: 24px; color: var(--rose-deep); opacity: 0.8; }
  .pd-cat { font-family: 'Caveat', cursive; font-size: 18px; color: var(--rose-deep); }
  .pd-title { font-family: 'Sacramento', cursive; font-weight: 400; font-size: 48px; line-height: 1;
    color: var(--brown); margin: 2px 0 10px; }
  .pd-price { font-size: 26px; font-weight: 700; color: var(--rose-deep); margin-bottom: 16px; }
  .pd-short { font-family: 'Quicksand', sans-serif; font-size: 15px; line-height: 1.6;
    color: var(--brown-soft); margin-bottom: 22px; }
  .pd-block { margin-bottom: 20px; }
  .pd-opt-label { font-family: 'Quicksand', sans-serif; font-size: 12px; font-weight: 700; color: var(--brown);
    margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
  .pd-opt-label .pd-pick { color: var(--rose-deep); font-family: 'Caveat', cursive; text-transform: none;
    letter-spacing: 0; font-size: 16px; font-weight: 400; margin-left: 6px; }
  .pd-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
  .qty-stepper { display: flex; align-items: center; border: 1.5px solid var(--rose-soft);
    border-radius: 100px; overflow: hidden; }
  .qty-stepper button { width: 42px; height: 48px; border: none; background: transparent;
    font-size: 20px; color: var(--brown); cursor: pointer; }
  .qty-stepper button:hover { background: var(--rose-pale); }
  .qty-stepper span { min-width: 34px; text-align: center; font-family: 'Quicksand', sans-serif;
    font-weight: 600; color: var(--brown); }
  .pd-add { flex: 1; min-width: 200px; border: none; background: var(--brown); color: var(--cream);
    font-family: 'Quicksand', sans-serif; font-weight: 600; font-size: 15px; padding: 15px 22px;
    border-radius: 100px; cursor: pointer; transition: all 0.25s; }
  .pd-add:hover { background: var(--rose-deep); }
  .pd-add:active { transform: scale(0.98); }
  .pd-meta { margin-top: 22px; font-family: 'Quicksand', sans-serif; font-size: 13px; color: var(--brown-light);
    border-top: 1px solid var(--rose-soft); padding-top: 14px; }
  .pd-desc { max-width: 1180px; margin: 50px auto 0; border-top: 1px solid var(--rose-soft); padding-top: 32px; }
  .pd-desc h2 { font-family: 'Sacramento', cursive; font-weight: 400; font-size: 38px; color: var(--brown);
    margin-bottom: 14px; }
  .pd-desc p { font-family: 'Quicksand', sans-serif; font-size: 15px; line-height: 1.8;
    color: var(--brown-soft); white-space: pre-line; max-width: 760px; }

/* ============================================================
   HEADER v2 – Logo + Menue als zentrierter Block, Korb rechts
   ============================================================ */
header.header-centered{
  display:grid;
  grid-template-columns:1fr auto 1fr;   /* links | zentrierter Block | rechts(Korb) */
  align-items:center;
  gap:12px;
}

/* zentrierter Block: Menue links + Logo + Menue rechts */
.nav-cluster{
  grid-column:2;
  justify-self:center;
  display:flex;
  align-items:center;
  gap:34px;
}

.header-centered .nav-side{ display:none; }          /* mobil aus */
.header-centered .burger{ grid-column:1; justify-self:start; display:flex; }
.header-right{ grid-column:3; justify-self:end; display:flex; align-items:center; }

/* Logo */
.header-logo{ display:block; line-height:0; }
.header-logo img{ display:block; height:52px; width:auto; }

/* Menue-Links: handschriftlich (Caveat) in eurem Rosa */
.header-centered .nav-side ul{
  list-style:none; margin:0; padding:0;
  display:flex; align-items:center; gap:26px;
}
.header-centered .nav-side a{
  font-family:'Caveat',cursive; font-weight:600; font-size:23px;
  color:var(--rose-deep); text-decoration:none; white-space:nowrap;
  transition:color .2s ease;
}
.header-centered .nav-side a:hover{ color:var(--rose-dark); }
.header-centered .cart-link{ position:relative; }

/* Mobile-Menue ebenfalls handschriftlich */
.mobile-menu a{ font-family:'Caveat',cursive; font-size:24px; }

/* Desktop ab 992px: Menue sichtbar, Burger weg */
@media (min-width:992px){
  header.header-centered{ gap:24px; }
  .header-centered .nav-side{ display:flex; }
  .header-centered .burger{ display:none; }
  .nav-cluster{ gap:40px; }
  .header-logo img{ height:78px; }
}

/* Sticky-Header unter der WP-Adminleiste + kein Scrollbalken-Ruckeln */
.admin-bar header.header-centered{ top:32px; }
@media screen and (max-width:782px){ .admin-bar header.header-centered{ top:46px; } }
html{ scrollbar-gutter:stable; }

/* ============================================================
   KATEGORIEN als klickbare Bild-Kacheln
   ============================================================ */
.category-grid .category-card{
  display:block;
  padding:0; border:none; background:transparent; box-shadow:none;
  text-align:center; text-decoration:none;
}
.category-card .cat-image{
  display:block; width:100%;
  aspect-ratio:1/1; object-fit:contain;
  background:transparent; border-radius:0;
  /* drop-shadow folgt der runden Holzform (anders als box-shadow) */
  filter: drop-shadow(0 10px 18px rgba(168,95,110,.22));
  transition:transform .35s ease, filter .35s ease;
}
.category-card:hover .cat-image{
  transform:translateY(-5px) scale(1.04) rotate(-1deg);
  filter: drop-shadow(0 16px 26px rgba(168,95,110,.30));
}

/* Baumscheiben-Anordnung: sauber 4 + 3 (zentriert), nie einer allein */
.category-grid .category-card{ min-height:auto; }
.category-grid .category-card{ flex:0 0 140px; max-width:140px; }   /* Mobil: 2 pro Reihe */
@media (min-width:768px){
  .category-grid .category-card{ flex-basis:170px; max-width:170px; } /* Tablet: 4 + 3 */
}
@media (min-width:992px){
  .category-grid .category-card{ flex-basis:220px; max-width:220px; } /* Desktop: 4 + 3 */
}
