/* Baloniva — shared site stylesheet */

:root{
  --cream:#FFFBF3;
  --text:#3A2E2A;
  --text-muted:#6B5B54;
  --pink:#D6698B;
  --pink-light:#F49AB6;
  --pink-pale:#FBD8E3;
  --blue-pale:#CDEEFB;
  --blue-text:#3A5A6E;
  --blue-accent:#8FCBE8;
  --yellow-pale:#FFF3B0;
  --yellow:#FFDD66;
  --brown-dark:#2C231F;
  --brown-dark2:#3A2E2A;
  --border:#F3E7D9;
  --footer-text:#F3E7D9;
  --footer-muted:#C9B8AE;
  --footer-faint:#9C8C82;
  --footer-border:#453833;
  --danger:#B65C5C;
}

*{box-sizing:border-box;margin:0;padding:0;}

html{scroll-behavior:smooth;}

body{
  font-family:'Nunito',sans-serif;
  background:var(--cream);
  color:var(--text);
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

a{color:var(--pink);text-decoration:none;}
a:hover{color:var(--pink-light);}
::selection{background:var(--yellow);}
img{max-width:100%;display:block;}
input,select,textarea,button{font-family:'Nunito',sans-serif;}

.page{min-height:100vh;display:flex;flex-direction:column;}

.container{max-width:1200px;margin:0 auto;padding:0 24px;width:100%;}
.container-md{max-width:1100px;margin:0 auto;padding:0 24px;width:100%;}
.container-narrow{max-width:780px;margin:0 auto;padding:0 24px;width:100%;}

.h-font{font-family:'Fredoka',sans-serif;}

@keyframes floatY{0%,100%{transform:translateY(0)}50%{transform:translateY(-14px)}}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,251,243,0.92);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--border);
}
.site-header--simple{
  position:static;
  background:rgba(255,251,243,0.92);
  border-bottom:1px solid var(--border);
}
.site-header .container,
.site-header--simple .container{
  padding:14px 24px;
  display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
}
.logo{display:flex;align-items:center;gap:10px;}
.logo-dots{display:flex;gap:4px;}
.logo-dot{width:12px;height:15px;border-radius:50% 50% 50% 50%/60% 60% 40% 40%;display:inline-block;}
.logo-dot.pink{background:var(--pink-light);}
.logo-dot.blue{background:var(--blue-accent);margin-top:-4px;}
.logo-dot.yellow{background:var(--yellow);}
.logo-word{font-family:'Fredoka',sans-serif;font-size:26px;font-weight:600;color:var(--pink);}
.logo-word--sm{font-family:'Fredoka',sans-serif;font-size:24px;font-weight:600;color:var(--pink);}

.nav-main{display:flex;gap:26px;font-weight:700;font-size:15px;flex-wrap:wrap;}
.nav-main a{color:var(--text);}
.nav-main a.active{color:var(--pink);}
.nav-simple{display:flex;gap:22px;font-weight:700;font-size:14px;flex-wrap:wrap;}
.nav-simple a{color:var(--text);}

.cart-btn{
  position:relative;display:flex;align-items:center;gap:8px;
  background:var(--brown-dark2);color:var(--cream);
  padding:10px 18px;border-radius:999px;font-weight:700;font-size:14px;
}
.cart-badge{
  position:absolute;top:-8px;right:-8px;background:var(--pink-light);color:#fff;
  border-radius:50%;width:20px;height:20px;display:flex;align-items:center;justify-content:center;font-size:11px;
}
.cart-badge[hidden]{display:none;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-block;border:none;cursor:pointer;font-weight:800;font-size:15px;
  padding:16px 30px;border-radius:999px;text-align:center;
}
.btn-sm{padding:10px 20px;font-size:13px;border-radius:999px;font-weight:700;}
.btn-dark{background:var(--brown-dark2);color:#fff;}
.btn-light{background:#fff;color:var(--brown-dark2);}
.btn-pink{background:var(--pink-light);color:#fff;}
.btn-outline{background:#fff;border:2px solid var(--brown-dark2);color:var(--brown-dark2);padding:12px 28px;}
.btn-block{width:100%;}
.btn-ghost{background:none;border:none;color:var(--text-muted);cursor:pointer;font-size:13px;}
.btn[disabled]{opacity:.6;cursor:not-allowed;}

/* ---------- Sections ---------- */
.section{padding:70px 24px;width:100%;}
.section-sm{padding:56px 24px;width:100%;}
.section-pink{background:var(--pink-pale);}
.section-blue{background:var(--blue-pale);}
.section-yellow{background:var(--yellow-pale);}
.section-dark{background:var(--brown-dark2);}

.eyebrow{display:inline-block;background:#fff;color:var(--pink);font-weight:800;font-size:13px;padding:6px 14px;border-radius:999px;margin-bottom:18px;}

/* ---------- Hero ---------- */
.hero{display:grid;grid-template-columns:1.1fr 0.9fr;gap:48px;align-items:center;}
.hero h1{font-family:'Fredoka',sans-serif;font-size:52px;line-height:1.08;margin-bottom:20px;}
.hero p{font-size:18px;line-height:1.6;color:var(--text-muted);margin-bottom:30px;max-width:520px;}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap;}
.hero-art{position:relative;height:360px;border-radius:24px;overflow:hidden;}
.hero-art img{width:100%;height:100%;object-fit:cover;}
.hero-balloon{position:absolute;border-radius:50%/58% 58% 42% 42%;animation:floatY 5s ease-in-out infinite;}

/* ---------- Grids ---------- */
.grid{display:grid;gap:24px;}
.grid-2{grid-template-columns:repeat(2,1fr);}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}
.grid-tight{gap:22px;}

/* ---------- Category cards ---------- */
.cat-card{display:block;border-radius:20px;overflow:hidden;padding:28px;position:relative;min-height:150px;}
.cat-card .emoji{font-size:34px;margin-bottom:10px;}
.cat-card .name{font-family:'Fredoka',sans-serif;font-size:19px;font-weight:600;margin-bottom:6px;color:var(--text);}
.cat-card .desc{font-size:14px;color:var(--text-muted);}

/* ---------- Product cards ---------- */
.product-card{background:#fff;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;border:1px solid var(--border);}
.product-card .photo{height:170px;position:relative;overflow:hidden;background:var(--pink-pale);}
.product-card .photo img{width:100%;height:100%;object-fit:cover;}
.product-card .cat-label{position:absolute;top:10px;left:10px;background:var(--brown-dark2);color:#fff;font-size:10px;font-weight:800;padding:4px 10px;border-radius:999px;}
.product-card .body{padding:16px;flex:1;display:flex;flex-direction:column;}
.product-card .name{font-weight:700;font-size:15px;margin-bottom:6px;min-height:40px;}
.product-card .desc{font-size:13px;color:var(--text-muted);margin-bottom:10px;}
.product-card .price{font-weight:800;color:var(--pink);font-size:17px;margin-bottom:12px;}
.product-card .add-btn{margin-top:auto;background:var(--brown-dark2);color:#fff;border:none;padding:10px;border-radius:10px;font-weight:700;cursor:pointer;font-size:13px;}
.product-card .add-btn:hover{background:var(--pink);}
.product-card.is-featured .photo{height:160px;}

/* ---------- Category filter tabs ---------- */
.tabs{display:flex;gap:10px;flex-wrap:wrap;}
.tab-btn{padding:10px 20px;border-radius:999px;border:2px solid var(--border);background:#fff;color:var(--text);font-weight:800;font-size:13px;cursor:pointer;}
.tab-btn.active{background:var(--brown-dark2);color:#fff;border-color:var(--brown-dark2);}

/* ---------- Feature / value cards ---------- */
.value-card{text-align:center;padding:20px;}
.value-card .icon{font-size:36px;margin-bottom:12px;}
.value-card .title{font-weight:800;margin-bottom:8px;}
.value-card .desc{font-size:14px;color:var(--text-muted);}

/* ---------- Testimonials ---------- */
.testimonial{background:#fff;padding:26px;border-radius:16px;text-align:left;}
.testimonial .stars{color:var(--yellow);margin-bottom:10px;}
.testimonial .quote{font-size:14px;color:var(--text-muted);margin-bottom:14px;}
.testimonial .author{font-weight:800;font-size:13px;}

/* ---------- Article / idea cards ---------- */
.idea-card{border-radius:18px;padding:26px;display:block;}
.idea-card .tag{font-size:13px;font-weight:800;margin-bottom:8px;}
.idea-card .title{font-family:'Fredoka',sans-serif;font-size:18px;font-weight:600;margin-bottom:8px;color:var(--text);}
.idea-card .desc{font-size:14px;color:var(--text-muted);}

.article{display:grid;grid-template-columns:1fr 1.2fr;gap:36px;align-items:center;}
.article.reverse{grid-template-columns:1.2fr 1fr;}
.article.reverse .article-photo{order:2;}
.article-photo{height:260px;border-radius:20px;overflow:hidden;}
.article-photo img{width:100%;height:100%;object-fit:cover;}
.article .eyebrow-tag{font-size:12px;font-weight:800;margin-bottom:8px;}
.article h2{font-family:'Fredoka',sans-serif;font-size:24px;margin-bottom:12px;}
.article p{color:var(--text-muted);line-height:1.7;margin-bottom:10px;}

/* ---------- Stats ---------- */
.stat{text-align:center;}
.stat .num{font-family:'Fredoka',sans-serif;font-size:34px;font-weight:600;}
.stat .label{font-size:13px;color:var(--blue-text);}

/* ---------- Steps ---------- */
.step{text-align:center;}
.step .num{width:44px;height:44px;border-radius:50%;background:var(--brown-dark2);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;margin:0 auto 12px;}
.step .title{font-weight:700;font-size:14px;}
.step .desc{font-size:13px;color:var(--text-muted);margin-top:6px;}

/* ---------- Forms ---------- */
.form-card{background:#fff;border:1px solid var(--border);border-radius:18px;padding:30px;display:flex;flex-direction:column;gap:14px;}
.form-title{font-weight:800;font-size:18px;margin-bottom:4px;}
.form-input,.form-select,.form-textarea{padding:14px 16px;border-radius:10px;border:1px solid var(--border);font-size:14px;width:100%;background:#fff;color:var(--text);}
.form-textarea{min-height:120px;font-family:inherit;resize:vertical;}
.form-checkbox{display:flex;gap:10px;align-items:flex-start;font-size:12px;color:var(--text-muted);}
.form-checkbox input{margin-top:3px;}
.form-radio{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid var(--border);padding:14px 16px;border-radius:10px;cursor:pointer;}
.form-note{font-size:12px;color:var(--text-muted);}
.form-msg{font-weight:700;font-size:14px;padding:10px 0;}
.form-msg.error{color:var(--danger);}
.form-msg.success{color:#3d7a4d;}

.success-card{background:#fff;border:2px solid var(--pink-pale);border-radius:18px;padding:40px;text-align:center;}
.success-card .icon{font-size:36px;margin-bottom:12px;}
.success-card .title{font-weight:800;font-size:18px;margin-bottom:8px;}
.success-card .desc{color:var(--text-muted);font-size:14px;}

/* ---------- Contact info cards ---------- */
.info-card{border-radius:18px;padding:26px;margin-bottom:20px;}
.info-card .title{font-weight:800;margin-bottom:6px;}
.info-card .body{color:var(--text-muted);font-size:14px;}
.map-photo{height:200px;border-radius:18px;margin-top:20px;overflow:hidden;position:relative;}
.map-photo img{width:100%;height:100%;object-fit:cover;}
.map-photo .caption{position:absolute;left:12px;bottom:12px;background:rgba(255,255,255,0.9);padding:6px 12px;border-radius:8px;font-size:12px;font-weight:700;color:var(--text);}

/* ---------- FAQ ---------- */
.faq-item{background:#fff;border-radius:14px;padding:18px 22px;}
.faq-item .q{font-weight:800;margin-bottom:6px;}
.faq-item .a{font-size:14px;color:var(--text-muted);}

/* ---------- Cart page ---------- */
.cart-line{background:#fff;border:1px solid var(--border);border-radius:16px;padding:16px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;}
.cart-line .thumb{width:70px;height:70px;border-radius:12px;flex-shrink:0;overflow:hidden;background:var(--pink-pale);}
.cart-line .thumb img{width:100%;height:100%;object-fit:cover;}
.cart-line .info{flex:1;min-width:140px;}
.cart-line .info .name{font-weight:700;font-size:15px;}
.cart-line .info .price{color:var(--text-muted);font-size:13px;}
.qty-control{display:flex;align-items:center;gap:10px;}
.qty-btn{width:30px;height:30px;border-radius:50%;border:1px solid var(--border);background:#fff;font-weight:800;cursor:pointer;}
.qty-val{font-weight:700;min-width:20px;text-align:center;}
.line-total{font-weight:800;min-width:90px;text-align:right;}
.remove-btn{background:none;border:none;color:var(--danger);font-weight:700;cursor:pointer;font-size:13px;}
.empty-cart{text-align:center;padding:70px 24px;background:#fff;border:2px dashed var(--border);border-radius:20px;}
.summary-box{background:#fff;border:1px solid var(--border);border-radius:16px;padding:22px;}
.summary-row{display:flex;justify-content:space-between;font-size:13px;margin-bottom:8px;color:var(--text-muted);}
.summary-total{display:flex;justify-content:space-between;font-weight:800;font-size:18px;margin-top:10px;}
.subtotal-bar{background:var(--yellow-pale);border-radius:16px;padding:20px 24px;display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;}
.order-success{text-align:center;padding:70px 24px;background:var(--pink-pale);border-radius:24px;}
.checkout-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:32px;}

/* ---------- Footer ---------- */
.site-footer{background:var(--brown-dark);color:var(--footer-text);margin-top:auto;}
.footer-columns{max-width:1200px;margin:0 auto;padding:56px 24px 24px;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;}
.footer-brand{font-family:'Fredoka',sans-serif;font-size:24px;font-weight:600;color:var(--pink-light);margin-bottom:12px;}
.footer-desc{font-size:14px;color:var(--footer-muted);line-height:1.6;max-width:280px;}
.footer-social{display:flex;gap:10px;margin-top:16px;}
.footer-social a{width:34px;height:34px;border-radius:50%;background:#3f332d;display:flex;align-items:center;justify-content:center;color:#fff;font-size:13px;font-weight:800;}
.footer-heading{font-weight:800;margin-bottom:14px;}
.footer-links{display:flex;flex-direction:column;gap:10px;font-size:14px;}
.footer-links a{color:var(--footer-muted);}
.footer-bottom{border-top:1px solid var(--footer-border);padding:20px 24px;text-align:center;font-size:13px;color:var(--footer-faint);}
.site-footer--simple .footer-bottom{border-top:none;max-width:1200px;margin:0 auto;padding:40px 24px;}

/* ---------- Newsletter ---------- */
.newsletter{max-width:700px;margin:0 auto;text-align:center;color:var(--cream);}
.newsletter h2{font-family:'Fredoka',sans-serif;font-size:28px;margin-bottom:10px;}
.newsletter p{color:#D8C8BE;margin-bottom:24px;font-size:15px;}
.newsletter-form{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;}
.newsletter-form input{padding:14px 18px;border-radius:999px;border:none;min-width:260px;font-size:14px;}
.newsletter-form button{background:var(--pink-light);color:#fff;border:none;padding:14px 26px;border-radius:999px;font-weight:800;cursor:pointer;}
.newsletter-msg{margin-top:14px;color:var(--yellow);font-weight:700;font-size:14px;}
.newsletter-msg[hidden]{display:none;}

/* ---------- Cookie banner ---------- */
.cookie-banner{
  position:fixed;left:0;right:0;bottom:0;background:var(--brown-dark2);color:#fff;
  padding:18px 24px;display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap;
  z-index:100;box-shadow:0 -4px 20px rgba(0,0,0,0.2);
}
.cookie-banner[hidden]{display:none;}
.cookie-banner p{font-size:13px;color:#E8DAD1;max-width:640px;}
.cookie-banner a{color:var(--yellow);}
.cookie-actions{display:flex;gap:10px;}
.cookie-actions button{padding:10px 18px;border-radius:999px;font-weight:700;cursor:pointer;font-size:13px;}
.cookie-decline{background:transparent;border:1px solid #6B5B54;color:#E8DAD1;}
.cookie-accept{background:var(--pink-light);border:none;color:#fff;}

/* ---------- Legal pages ---------- */
.legal-content{color:#4a3d37;line-height:1.8;font-size:15px;display:flex;flex-direction:column;gap:22px;}
.legal-content .item-title{font-weight:800;margin-bottom:6px;}
.legal-date{color:#8a7a72;font-size:13px;margin-bottom:30px;}
.legal-box{background:var(--pink-pale);border-radius:16px;padding:24px;}
.legal-table{width:100%;border-collapse:collapse;}
.legal-table td,.legal-table th{padding:10px;border-bottom:1px solid var(--border);text-align:left;font-size:13px;}
.shipping-row{border-radius:14px;padding:18px 22px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;}
.shipping-row .price{font-weight:800;white-space:nowrap;}
.pay-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:18px 22px;}
.pay-card b{display:block;margin-bottom:4px;}
.pay-card .desc{font-size:13px;color:var(--text-muted);margin-top:4px;}
.note-box{background:var(--yellow-pale);border-radius:16px;padding:22px;font-size:14px;color:var(--text-muted);}

/* ---------- Utility ---------- */
.text-center{text-align:center;}
.mt-lg{margin-top:40px;}
.flex-gap{display:flex;gap:16px;flex-wrap:wrap;}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .hero{grid-template-columns:1fr;}
  .hero-art{height:260px;}
  .grid-4{grid-template-columns:repeat(2,1fr);}
  .grid-3{grid-template-columns:repeat(2,1fr);}
  .footer-columns{grid-template-columns:1fr 1fr;}
  .checkout-grid{grid-template-columns:1fr;}
  .article,.article.reverse{grid-template-columns:1fr;}
  .article.reverse .article-photo{order:0;}
}

@media (max-width: 640px){
  .hero h1{font-size:36px;}
  .grid-4{grid-template-columns:1fr 1fr;}
  .grid-3{grid-template-columns:1fr;}
  .grid-2{grid-template-columns:1fr;}
  .footer-columns{grid-template-columns:1fr;}
  .nav-main,.nav-simple{gap:14px;font-size:13px;}
  .cart-line{flex-direction:column;align-items:stretch;text-align:left;}
  .line-total{text-align:left;}
}
