/* --- 1. THE FOUNDATION --- */
body {
    background-color: #fff5f8 !important;
    margin: 0;
    overflow-x: hidden;
}

/* Ensure Petals cover the WHOLE page */
.petals-container {
    position: fixed; /* Changed from absolute to fixed */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 10; /* Above bg, below content */
}

.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(at 0% 0%, #fff0f6 0px, transparent 50%),
        radial-gradient(at 100% 0%, #f0fff4 0px, transparent 50%),
        radial-gradient(at 100% 100%, #fff0f6 0px, transparent 50%),
        radial-gradient(at 0% 100%, #f0fff4 0px, transparent 50%);
    z-index: -1;
    filter: blur(60px);
}

/* --- 2. ACCESSIBILITY BUTTON RESTORATION --- */
.accessibility-btn {
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    z-index: 9999 !important;
    background: white !important;
    padding: 10px 20px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(214, 93, 142, 0.1) !important;
    border: 1px solid #fce7f3 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #D65D8E !important;
}

/* --- 3. THE HI THERE CARD --- */
.hi-there-card {
    background: white !important;
    border-radius: 60px !important; /* Extra round like the original */
    padding: 60px !important;
    box-shadow: 0 10px 30px rgba(214, 93, 142, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
}

/* --- FORCE BUTTON STYLES --- */
.nav-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 18px !important;
    border-radius: 50px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border: 1.5px solid transparent !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.nav-btn-pink {
    background-color: #FFF0F6 !important;
    color: #D65D8E !important;
    border-color: #FCE7F3 !important;
}

.nav-btn-pink:hover {
    background-color: #D65D8E !important;
    color: white !important;
    transform: translateY(-2px) !important;
}

.nav-btn-mint {
    background-color: #F0FFF4 !important;
    color: #38A169 !important;
    border-color: #D1FAE5 !important;
}

.nav-btn-mint:hover {
    background-color: #38A169 !important;
    color: white !important;
    transform: translateY(-2px) !important;
}

/* --- LOGO ANIMATION --- */
.bounce-bunny {
    display: inline-block !important;
    animation: bunnyBounce 2s infinite ease-in-out !important;
}

@keyframes bunnyBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Reduced Motion: Stops the petals and wiggles */
body.reduced-motion .falling-sakura,
body.reduced-motion .bounce-bunny,
body.reduced-motion .emoji-sakura {
    animation: none !important;
    display: none !important; /* Total peace and quiet */
}

/* Dyslexia Mode: Swaps to a high-readability font */
body.dyslexia-mode * {
    font-family: 'OpenDyslexic', sans-serif !important; /* Or a standard clean Sans-Serif */
    letter-spacing: 0.05em !important;
    line-height: 1.6 !important;
}


/* 1. The Foundation */
html body.dark-theme {
    background-color: #0a0809 !important;
    color: #ffffff !important;
}

/* 2. FORCE ALL TEXT TO WHITE / PALE PINK */
/* This hits everything: paragraphs, spans, links, list items */
body.dark-theme p, 
body.dark-theme li, 
body.dark-theme span, 
body.dark-theme div,
body.dark-theme .text-gray-600,
body.dark-theme .text-var--text-main {
    color: #ffffff !important;
}

/* 3. FORCE HEADERS & PINK ACCENTS TO PALE PINK */
body.dark-theme h1, 
body.dark-theme h2, 
body.dark-theme h3, 
body.dark-theme h4,
body.dark-theme .text-pink-400,
body.dark-theme .text-pink-500,
body.dark-theme .italic.text-pink-400 {
    color: #ffcce0 !important; /* A very bright, readable pale pink */
    text-shadow: none !important;
}

/* 4. THE "HI THERE" & POST-IT BOXES */
/* Making these match the footer dark charcoal */
body.dark-theme .hi-there-card,
body.dark-theme div.bg-white,
body.dark-theme .break-inside-avoid.bg-yellow-50,
body.dark-theme .break-inside-avoid.bg-pink-50,
body.dark-theme .glass-card {
    background-color: #151012 !important;
    border: 1px solid #33252a !important;
    background-image: none !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6) !important;
}

/* 5. HANDWRITING FONT FIX */
body.dark-theme [style*="font-family: 'Caveat'"],
body.dark-theme .text-emerald-500\/80 {
    color: #b6ffd5 !important; /* Soft mint for the names/handwriting */
}

/* 6. BUTTON SYNC */
body.dark-theme .nav-btn,
body.dark-theme .accessibility-btn,
body.dark-theme a.inline-block.bg-white {
    background-color: #000000 !important;
    color: #ffcce0 !important;
    border: 2px solid #ffcce0 !important;
}

/* 7. BANISH THE $0 GHOSTS */
body.dark-theme .emoji-rabbit, 
body.dark-theme .emoji-sakura,
body.dark-theme .bounce-bunny {
    font-size: 0 !important;
}
body.dark-theme .emoji-rabbit span,
body.dark-theme .emoji-sakura span {
    font-size: 1rem !important;
}
/* 1. CRACK THE HEADER / TOP BANNER */
/* This hits the pink bar at the very top and the main nav bar */
body.dark-theme .top-banner,
body.dark-theme nav,
body.dark-theme header,
body.dark-theme [class*="bg-pink-400"],
body.dark-theme [class*="bg-white/80"] {
    background-color: #0f0a0c !important; /* Matches Footer */
    background-image: none !important;
    border-bottom: 1px solid #2d1620 !important;
}

/* Targets the "Waitlist" capsules specifically */
body.dark-theme .status-blinker,
body.dark-theme [class*="waitlist"],
body.dark-theme .rounded-full.bg-white,
body.dark-theme [class*="bg-amber-400"] {
    background-color: #151012 !important; /* Slightly lighter charcoal for depth */
    border: 1.5px solid #ffcce0 !important; /* Pale Pink Glow border */
    color: #ffcce0 !important; /* Pale Pink Text */
}

/* 3. FIX THE TINY DOTS INSIDE PILLS */
body.dark-theme .rounded-full.h-2.w-2 {
    background-color: #ffcce0 !important;
    box-shadow: 0 0 8px #ffcce0 !important;
}

/* 4. SYNC HEADER TEXT */
body.dark-theme .top-banner p,
body.dark-theme nav a,
body.dark-theme .site-title {
    color: #ffcce0 !important;


/* =========================================
   WOOCOMMERCE PRODUCT PAGE STYLING
   Match Hanafubuki pink/cherry blossom theme
   ========================================= */

/* --- Show price on single product pages (override theme hide) --- */
.single-product .price,
.single-product span.price,
.single-product p.price,
.single-product .woocommerce-Price-amount {
  display: block !important;
  font-size: 1.6em !important;
  font-weight: 700 !important;
  color: #c45e7c !important;
  margin-bottom: 1em !important;
}

/* --- Show product title on single product pages --- */
.single-product h1.product_title,
.single-product .product_title {
  display: block !important;
  font-size: 2em !important;
  color: #c45e7c !important;
  font-family: inherit !important;
  margin-bottom: 0.3em !important;
}

/* --- Show Add to Basket button & style it pink --- */
.single-product .single_add_to_cart_button,
.woocommerce .single-product button.single_add_to_cart_button {
  display: inline-block !important;
  background-color: #e87aa0 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 30px !important;
  padding: 12px 30px !important;
  font-size: 1em !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  margin-top: 1em !important;
}

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

/* --- Style variations colour dropdown --- */
.single-product .variations select,
.single-product table.variations select {
  display: block !important;
  border: 2px solid #f5a7c2 !important;
  border-radius: 20px !important;
  padding: 8px 16px !important;
  background-color: #fff5f8 !important;
  color: #c45e7c !important;
  font-size: 0.95em !important;
  cursor: pointer !important;
  outline: none !important;
  min-width: 160px !important;
}

.single-product .variations select:focus {
  border-color: #c45e7c !important;
  box-shadow: 0 0 0 3px rgba(196, 94, 124, 0.15) !important;
}

/* --- Show variations table label --- */
.single-product .variations th,
.single-product .variations td,
.single-product table.variations {
  display: table-cell !important;
  vertical-align: middle !important;
  padding: 6px 10px 6px 0 !important;
  color: #c45e7c !important;
  font-weight: 600 !important;
}

.single-product table.variations {
  display: table !important;
  margin-bottom: 1em !important;
}

.single-product table.variations tr {
  display: table-row !important;
}

/* --- Show variation price when colour selected --- */
.single-product .woocommerce-variation-price .price,
.single-product .woocommerce-variation-price span.price {
  display: block !important;
  font-size: 1.4em !important;
  color: #c45e7c !important;
  font-weight: 700 !important;
}

/* --- Style product short description --- */
.single-product .woocommerce-product-details__short-description,
.single-product .product .woocommerce-product-details__short-description {
  color: #7a5c6e !important;
  font-size: 0.95em !important;
  line-height: 1.6 !important;
  margin-bottom: 1em !important;
}

/* --- Quantity input pink style --- */
.single-product .quantity .qty {
  border: 2px solid #f5a7c2 !important;
  border-radius: 20px !important;
  padding: 6px 12px !important;
  color: #c45e7c !important;
  font-size: 1em !important;
  text-align: center !important;
  width: 70px !important;
}

/* --- Clear variation link --- */
.single-product .reset_variations {
  color: #e87aa0 !important;
  font-size: 0.85em !important;
}

/* --- General product page container --- */
.single-product div.product {
  padding: 20px 0 !important;
}

/* ── MailPoet subscribe form: brand styling ── */
.sub-section .mailpoet_form_columns>.mailpoet_form_column:first-child{display:none!important;}
.sub-section .mailpoet_form_columns>.mailpoet_form_column:last-child{width:100%!important;max-width:440px;margin:0 auto;}
.sub-section .mailpoet_form_columns{display:block!important;}
.sub-section .mailpoet_text{padding:14px 22px!important;border:2px dashed #ffb7c5!important;border-radius:50px!important;font-size:14px!important;color:#555!important;background:#fff!important;outline:none!important;box-shadow:none!important;width:100%!important;box-sizing:border-box!important;}
.sub-section .mailpoet_text:focus{border-color:#98d8c8!important;}
.sub-section .mailpoet_text::placeholder{color:#ccc!important;}
.sub-section .mailpoet_submit{background:#ffb7c5!important;color:#fff!important;font-weight:900!important;font-size:15px!important;padding:14px 40px!important;border-radius:50px!important;border:none!important;cursor:pointer!important;transition:background .2s,transform .2s!important;box-shadow:0 4px 18px rgba(255,183,197,.4)!important;}
.sub-section .mailpoet_submit:hover{background:#98d8c8!important;transform:scale(1.03)!important;}
.sub-section .mailpoet_paragraph{text-align:center!important;margin-bottom:12px!important;}
.sub-section .mailpoet_form_info,.sub-section .mailpoet_form_info a{font-size:11px!important;color:#bbb!important;text-align:center!important;}