/* Baby Pinch Designs: lightweight site styles. Same teal / pink / lavender accents as the old site. */
:root {
  --teal: #059daa;        /* menu + links (old site main teal) */
  --teal-d: #04808b;
  --teal-soft: #54a3b3;   /* headings (old site heading teal) */
  --pink: #f29fa6;        /* accent buttons */
  --pink-d: #e5858e;
  --blush: #fbeff0;       /* soft section background */
  --lav: #977db2;         /* lavender accent */
  --lav-soft: #f2eef7;
  --paper: #f7f5f2;       /* warm off-white */
  --ink: #3b3a40;
  --muted: #6f6c75;
  --line: #ebe6e1;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(60, 50, 80, .08);
  --wrap: 1140px;
  --head: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Caveat", cursive;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--white); color: var(--ink); font: 17px/1.7 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-d); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.2; color: var(--teal-soft); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.script { font-family: var(--script); font-weight: 600; color: var(--pink-d); font-size: 1.5rem; line-height: 1.2; }
.muted { color: var(--muted); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 99; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 52px; height: auto; }
.brand .word { font-family: var(--head); font-weight: 600; font-size: 1.45rem; line-height: 1; color: var(--teal); letter-spacing: .01em; }
.brand .word small { display: block; font-size: .62rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--pink-d); margin-top: 4px; }
.foot-brand { margin-bottom: 12px; } .foot-brand img { width: 44px; } .site-foot .foot-brand .word { color: #fff; } .site-foot .foot-brand .word small { color: var(--pink); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a, .nav summary { font-family: var(--head); font-weight: 500; font-size: 1.02rem; letter-spacing: .02em; color: var(--teal); text-decoration: none; padding: 8px 14px; border-radius: 999px; cursor: pointer; list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav a:hover, .nav summary:hover, .nav a[aria-current="page"] { background: var(--lav-soft); color: var(--lav); }
.nav details { position: relative; }
.nav details summary::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); }
.nav .drop { position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; display: grid; }
.nav .drop a { border-radius: 10px; font-size: .98rem; }
.nav .btn-nav { background: var(--pink); color: #fff; margin-left: 6px; }
.nav .btn-nav:hover { background: var(--pink-d); color: #fff; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--teal); }
.menu-btn svg { width: 28px; height: 28px; }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 16px 18px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a, .nav summary { padding: 12px 14px; font-size: 1.1rem; }
  .nav .drop { position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; }
  .nav .btn-nav { margin: 8px 0 0; text-align: center; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--head); font-weight: 600; font-size: 1.05rem; background: var(--teal); color: #fff; border: 0; border-radius: 999px; padding: 13px 28px; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--teal-d); color: #fff; transform: translateY(-1px); }
.btn.pink { background: var(--pink); } .btn.pink:hover { background: var(--pink-d); }
.btn.ghost { background: #fff; color: var(--teal); border: 2px solid var(--teal); }
.btn.ghost:hover { background: var(--teal); color: #fff; }
.btn.small { padding: 9px 18px; font-size: .95rem; }
.btn[aria-disabled="true"] { background: #c9c5cc; pointer-events: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.bg-paper { background: var(--paper); }
.bg-blush { background: var(--blush); }
.bg-lav { background: var(--lav-soft); }
.eyebrow { font-family: var(--head); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; color: var(--lav); margin-bottom: 8px; }

/* hero */
.hero { position: relative; padding: 0; background: var(--paper); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; min-height: 520px; padding-top: 48px; padding-bottom: 48px; }
.hero h1 { color: var(--teal-soft); }
.hero .lead { font-size: 1.2rem; color: var(--muted); font-style: italic; }
.hero-art { position: relative; }
.hero-art img { border-radius: 26px; box-shadow: var(--shadow); }
.hero-art .badge { position: absolute; left: -18px; bottom: 22px; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); font-family: var(--head); color: var(--lav); font-weight: 600; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; min-height: 0; } .hero-art .badge { left: 12px; } }

/* cards / product grid */
.grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card a.cover { display: block; aspect-ratio: 1; background: var(--paper); }
.card a.cover img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 1.12rem; margin: 0; color: var(--ink); }
.card h3 a { color: inherit; text-decoration: none; }
.card .price { font-family: var(--head); font-weight: 600; color: var(--teal); }
.card .price s { color: var(--muted); font-weight: 500; margin-right: 6px; }
.card .tag { align-self: flex-start; font-size: .78rem; font-weight: 700; background: var(--lav-soft); color: var(--lav); padding: 3px 10px; border-radius: 999px; }
.card .tag.pink { background: var(--blush); color: var(--pink-d); }
.card .meta { font-size: .9rem; color: var(--muted); }
.card .more { margin-top: auto; padding-top: 8px; gap: 8px; }

/* split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.steps li { list-style: none; background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--pink); color: #fff; font-family: var(--head); font-weight: 600; margin-bottom: 12px; }
.steps { padding: 0; margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* newsletter */
.news { background: var(--blush); border-radius: 28px; padding: 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; }
.news form { display: flex; gap: 10px; flex-wrap: wrap; }
.news input { flex: 1 1 220px; font: inherit; padding: 13px 18px; border-radius: 999px; border: 1px solid #e8cfd2; background: #fff; }
@media (max-width: 760px) { .news { grid-template-columns: 1fr; padding: 28px; } }

/* ---------- product page ---------- */
.crumbs { font-size: .9rem; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); }
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 28px 0 64px; }
.gallery .main { border-radius: var(--radius); overflow: hidden; background: var(--paper); aspect-ratio: 1; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; margin-top: 12px; }
.gallery .thumbs button { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--paper); aspect-ratio: 1; }
.gallery .thumbs button[aria-current="true"] { border-color: var(--teal); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buybox h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--ink); }
.buybox .price { font-family: var(--head); font-size: 1.6rem; color: var(--teal); font-weight: 600; margin-bottom: 14px; }
.buybox .price s { color: var(--muted); font-size: 1.1rem; margin-right: 8px; }
.buybox .perks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; }
.buybox .perks li { padding-left: 30px; position: relative; }
.buybox .perks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--lav-soft); color: var(--lav); display: grid; place-items: center; font-weight: 700; font-size: .8rem; }
.note { background: var(--paper); border-radius: 14px; padding: 14px 18px; font-size: .95rem; color: var(--muted); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- article / prose ---------- */
.post-head { padding: 56px 0 24px; text-align: center; }
.post-head .meta { color: var(--muted); font-size: .95rem; }
.post-hero { max-width: 900px; margin: 0 auto 32px; padding: 0 20px; }
.post-hero img { border-radius: var(--radius); margin: 0 auto; }
.prose { font-size: 1.08rem; overflow-wrap: anywhere; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; color: var(--lav); }
.prose img { border-radius: 14px; margin: 1.4em auto; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { text-align: center; color: var(--muted); font-size: .9rem; margin-top: -.6em; }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; background: var(--blush); border-radius: 14px; border-left: 5px solid var(--pink); font-style: italic; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; }
.prose .video { aspect-ratio: 16/9; margin: 1.6em 0; } .prose .video iframe { width: 100%; height: 100%; border: 0; border-radius: 14px; }
.share-box { margin: 40px 0; padding: 26px; border-radius: var(--radius); background: var(--lav-soft); display: flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: space-between; }

/* page head */
.page-head { background: var(--paper); padding: 56px 0 44px; text-align: center; }
.page-head p { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: 1.1rem; }

/* filters */
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 32px; }
.chips a { font-family: var(--head); font-weight: 500; text-decoration: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--teal); background: #fff; }
.chips a[aria-current="page"], .chips a:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

/* ---------- footer ---------- */
.site-foot { background: #2f3d44; color: #d7e3e6; padding: 56px 0 28px; margin-top: 0; font-size: .95rem; }
.site-foot a { color: #fff; text-decoration: none; } .site-foot a:hover { text-decoration: underline; }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-foot h4 { color: #fff; font-size: 1.05rem; margin-bottom: 10px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-foot .fine { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #a9bcc1; font-size: .85rem; }
@media (max-width: 760px) { .site-foot .cols { grid-template-columns: 1fr 1fr; } }
