/* Hannahs' Balloons · customer site design system
   Colours from Hannah's logo: deep purple lettering, bright balloons. Warm cream page, friendly rounded type. */
:root {
  --purple: #7a1f8c;
  --purple-deep: #561266;
  --purple-soft: #f2e4f7;
  --pink: #e392fe;
  --pink-soft: #fbeefe;
  --lime: #8fc43a;
  --orange: #f7941d;
  --blue: #2a8bf2;
  --bg: #fffaf5;
  --surface: #ffffff;
  --text: #2b2233;
  --muted: #6f6479;
  --line: #ebe2ef;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(86, 18, 102, .08);
  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.55; font-size: 17px; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 400px at 8% 0%, rgba(227,146,254,.22), transparent 70%),
    radial-gradient(500px 350px at 95% 10%, rgba(143,196,58,.14), transparent 70%),
    radial-gradient(500px 400px at 50% 100%, rgba(247,148,29,.12), transparent 70%); }
a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; margin: 0 0 .4em; color: var(--purple-deep); letter-spacing: -.01em; }
h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.6vw, 36px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  background: var(--purple); color: #fff; font: inherit; font-weight: 800; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { background: var(--purple-deep); text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(86,18,102,.25); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.alt { background: #fff; color: var(--purple); border-color: var(--purple); }
.btn.alt:hover { background: var(--purple-soft); }
.btn.pink { background: var(--pink); color: var(--purple-deep); }
.btn.pink:hover { background: #d97cf5; }
.btn.small { padding: 8px 14px; font-size: 14px; }
.btn.block { width: 100%; }
label { display: block; font-weight: 700; margin: 0 0 6px; font-size: 15px; }
input, select, textarea { font: inherit; width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(122,31,140,.15); }
textarea { min-height: 120px; resize: vertical; }
.field { margin-bottom: 16px; }
.field .help { font-size: 14px; color: var(--muted); margin-top: 4px; }
.row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }
.note { background: var(--pink-soft); border: 1px solid #f1d6fa; border-radius: 12px; padding: 12px 16px; font-size: 15px; }
.error { background: #fff0f0; border: 1px solid #f6c2c2; color: #8a1d1d; border-radius: 12px; padding: 12px 16px; }
.ok { background: #effaf0; border: 1px solid #bfe6c4; color: #1b5e2a; border-radius: 12px; padding: 12px 16px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,250,245,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; color: var(--purple-deep); font-size: 20px; }
.logo img { height: 52px; width: auto; }
.logo:hover { text-decoration: none; }
nav.main { display: flex; gap: 4px; margin-left: auto; }
nav.main a { padding: 8px 14px; border-radius: 999px; font-weight: 700; color: var(--text); }
nav.main a:hover, nav.main a.on { background: var(--purple-soft); color: var(--purple-deep); text-decoration: none; }
.top .tools { display: flex; align-items: center; gap: 8px; }
.basket-link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--purple); color: #fff; font-weight: 800; }
.basket-link:hover { background: var(--purple-deep); text-decoration: none; }
.basket-link .n { background: var(--pink); color: var(--purple-deep); border-radius: 999px; padding: 0 8px; font-size: 13px; min-width: 22px; text-align: center; }
.burger { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--purple-deep); padding: 6px; }
@media (max-width: 860px) {
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; background: var(--bg); padding: 10px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  nav.main.open { display: flex; }
  .burger { display: block; margin-left: auto; }
  .top .tools .phone { display: none; }
}

/* Hero: Hannah's photos as a bunch of balloons */
.hero { padding: 48px 0 28px; position: relative; overflow: hidden; }
.hero .glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px 420px at 72% 40%, rgba(227,146,254,.35), transparent 70%), radial-gradient(300px 260px at 85% 85%, rgba(143,196,58,.18), transparent 70%); }
.hero .grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero .eyebrow { display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); background: var(--purple-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.02; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--purple); background: linear-gradient(transparent 62%, var(--pink) 62%, var(--pink) 90%, transparent 90%); padding: 0 4px; }
.hero .copy p.lead { font-size: 19px; color: var(--muted); max-width: 44ch; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.hero .from { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero .tag { position: relative; display: inline-flex; gap: 6px; align-items: baseline; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 7px 12px 7px 18px; font-size: 14px; color: var(--muted); text-decoration: none; }
.hero .tag b { color: var(--purple-deep); }
.hero .tag::before { content: ''; position: absolute; left: 7px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); transform: translateY(-50%); }
.hero .tag:hover { border-color: var(--purple); background: var(--purple-soft); }
.cluster { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin: 0 auto; }
.cluster .strings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cluster .strings path { fill: none; stroke: var(--purple-deep); stroke-width: 1.6; opacity: .55; vector-effect: non-scaling-stroke; }
.cluster .bal { position: absolute; z-index: var(--z); animation: bob var(--d) ease-in-out infinite alternate; }
.cluster .shape { aspect-ratio: .86; border-radius: 50% 50% 48% 52% / 56% 56% 44% 44%; overflow: hidden; background: var(--purple-soft); box-shadow: inset -14px -22px 34px rgba(86,18,102,.28), inset 10px 12px 22px rgba(255,255,255,.18), 0 22px 40px rgba(86,18,102,.18); position: relative; }
.cluster .shape img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cluster .shape::after { content: ''; position: absolute; top: 7%; left: 16%; width: 30%; height: 20%; border-radius: 50%; background: rgba(255,255,255,.6); filter: blur(5px); transform: rotate(-22deg); }
.cluster .shape.plain.c0 { background: linear-gradient(135deg, #e392fe, #7a1f8c); } .cluster .shape.plain.c1 { background: linear-gradient(135deg, #b9e77a, #8fc43a); } .cluster .shape.plain.c2 { background: linear-gradient(135deg, #ffc27a, #f7941d); } .cluster .shape.plain.c3 { background: linear-gradient(135deg, #8fc0ff, #2a8bf2); } .cluster .shape.plain.c4 { background: linear-gradient(135deg, #f7b6ff, #e392fe); }
.cluster .knot { position: absolute; left: 50%; bottom: -7px; width: 12px; height: 12px; background: var(--purple-soft); transform: translateX(-50%) rotate(45deg); border-radius: 2px; box-shadow: 0 2px 4px rgba(86,18,102,.25); }
.cluster .weight { position: absolute; left: 50%; bottom: -2%; transform: translateX(-50%); background: var(--purple-deep); color: #fff; border-radius: 12px; padding: 8px 14px; text-align: center; font-size: 13px; line-height: 1.25; box-shadow: 0 12px 24px rgba(86,18,102,.3); z-index: 5; white-space: nowrap; }
.cluster .weight b { display: block; font-size: 14px; }
@keyframes bob { from { transform: translateY(-5px) rotate(-1.5deg); } to { transform: translateY(5px) rotate(1.5deg); } }
@media (max-width: 860px) { .hero .grid { grid-template-columns: 1fr; gap: 28px; } .hero { padding-top: 28px; } .cluster { max-width: 420px; } .hero .copy p.lead { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { .cluster .bal { animation: none; } }

/* Movement on the home page (off for people who ask their device for less motion) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease-out, transform .6s ease-out; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Sections */
section.block { padding: 40px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head .eyebrow { color: var(--pink); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; margin-bottom: 4px; display: block; filter: saturate(1.2) brightness(.8); }
.section-head h2 { margin: 0; }

/* Season banner */
.season { background: linear-gradient(120deg, var(--purple-deep), var(--purple) 60%, #a23bb5); color: #fff; border-radius: var(--radius); padding: 22px 26px; display: flex; gap: 20px; align-items: center; box-shadow: var(--shadow); }
.season .pic { width: 120px; height: 120px; border-radius: 16px; object-fit: cover; flex: none; background: rgba(255,255,255,.15); }
.season h3 { color: #fff; font-size: 24px; margin: 0 0 4px; }
.season p { margin: 0; opacity: .9; }
.season .btn { margin-left: auto; background: #fff; color: var(--purple-deep); }
@media (max-width: 700px) { .season { flex-wrap: wrap; } .season .btn { margin-left: 0; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(86,18,102,.14); text-decoration: none; }
.card .pic { aspect-ratio: 4/5; background: var(--purple-soft); position: relative; overflow: hidden; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .pic img { transform: scale(1.04); }
.card .pic .empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--purple); opacity: .35; }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card h3 { font-size: 18px; margin: 0; color: var(--text); }
.card .price { font-weight: 900; color: var(--purple-deep); font-size: 17px; margin-top: auto; }
.card .price small { font-weight: 700; color: var(--muted); font-size: 13px; }
.card .pill { position: absolute; top: 10px; left: 10px; background: var(--lime); color: #1f3a05; font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.card .pill.quote { background: var(--orange); color: #3a2200; }
.card.cat .pic { aspect-ratio: 3/2; }
.card.cat .body { align-items: flex-start; }
.card .count { font-size: 14px; color: var(--muted); }

/* Why */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.why .item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.why .item .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--purple-soft); display: grid; place-items: center; color: var(--purple); margin-bottom: 10px; }
.why h3 { font-size: 18px; margin: 0 0 4px; }
.why p { margin: 0; color: var(--muted); font-size: 15px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.about .pic { border-radius: 24px; overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow); }
.about .pic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.review .stars { color: var(--orange); letter-spacing: 2px; font-size: 14px; }
.review p { margin: 8px 0; }
.review .who { font-weight: 800; color: var(--purple-deep); font-size: 15px; }
.review .who .v { font-weight: 700; color: var(--lime); font-size: 13px; margin-left: 6px; }

/* Shop */
.shop-head { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 26px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; color: var(--text); }
.chip.on, .chip:hover { border-color: var(--purple); background: var(--purple-soft); color: var(--purple-deep); text-decoration: none; }

/* Product */
.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; padding: 30px 0; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; gap: 24px; } }
.gallery .main { border-radius: 24px; overflow: hidden; aspect-ratio: 4/5; background: var(--purple-soft); box-shadow: var(--shadow); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery .thumbs img { width: 76px; height: 76px; object-fit: cover; border-radius: 12px; border: 2px solid transparent; cursor: pointer; flex: none; }
.gallery .thumbs img.on { border-color: var(--purple); }
.buy h1 { font-size: clamp(28px, 4vw, 40px); }
.buy .price { font-size: 30px; font-weight: 900; color: var(--purple-deep); margin: 6px 0 14px; }
.buy .price small { font-size: 15px; color: var(--muted); font-weight: 700; }
.buy .facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.buy .facts span { background: var(--surface); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.opt { margin-bottom: 18px; }
.opt .label { font-weight: 800; margin-bottom: 8px; display: flex; justify-content: space-between; }
.opt .label small { color: var(--muted); font-weight: 600; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { border: 2px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 14px; font: inherit; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.choice.on { border-color: var(--purple); background: var(--purple-soft); }
.choice .sw { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.choice .add { color: var(--muted); font-weight: 600; font-size: 13px; }
.toggle { display: flex; align-items: center; gap: 10px; font-weight: 700; cursor: pointer; }
.toggle input { width: 20px; height: 20px; accent-color: var(--purple); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { border: 0; background: #fff; width: 40px; height: 40px; font-size: 20px; cursor: pointer; color: var(--purple); }
.qty input { width: 48px; border: 0; text-align: center; padding: 0; font-weight: 800; }
.buy .actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 18px 0; }
.buy .total { font-size: 22px; font-weight: 900; color: var(--purple-deep); }
.desc { white-space: pre-line; color: var(--text); }
.terms-list { font-size: 15px; color: var(--muted); padding-left: 18px; margin: 10px 0 0; }

/* Basket and checkout */
.lines { display: flex; flex-direction: column; gap: 12px; }
.line { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.line img { width: 80px; height: 80px; object-fit: cover; border-radius: 12px; background: var(--purple-soft); }
.line .name { font-weight: 800; }
.line .opts { color: var(--muted); font-size: 14px; }
.line .right { text-align: right; font-weight: 800; }
.line .remove { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; font-size: 14px; text-decoration: underline; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 90px; }
.summary .r { display: flex; justify-content: space-between; margin-bottom: 8px; }
.summary .r.total { font-size: 20px; font-weight: 900; color: var(--purple-deep); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; }
.two { display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: start; padding: 24px 0; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } .summary { position: static; } }
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pick label { display: block; border: 2px solid var(--line); border-radius: 14px; padding: 14px; cursor: pointer; font-weight: 700; background: #fff; }
.pick label.on { border-color: var(--purple); background: var(--purple-soft); }
.pick input { display: none; }
.pick small { display: block; color: var(--muted); font-weight: 600; }

/* Gallery */
.masonry { columns: 3 260px; gap: 14px; }
.masonry figure { margin: 0 0 14px; break-inside: avoid; border-radius: 16px; overflow: hidden; background: var(--purple-soft); box-shadow: var(--shadow); }
.masonry figcaption { padding: 8px 12px; font-size: 14px; color: var(--muted); background: #fff; }
.masonry img { width: 100%; height: auto; cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; background: rgba(20,8,24,.9); display: grid; place-items: center; z-index: 50; padding: 20px; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 12px; }

/* Thread */
.thread { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.msg { max-width: 80%; padding: 12px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); white-space: pre-line; }
.msg.hannah { align-self: flex-start; background: var(--purple-soft); border-color: #e4cdef; }
.msg.customer { align-self: flex-end; background: #fff; }
.msg .meta { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Photos on an enquiry */
.drop-mini { display: flex; gap: 12px; align-items: center; border: 2px dashed #d9c6e2; border-radius: 14px; padding: 14px 16px; background: #fff; cursor: pointer; }
.drop-mini.over, .drop-mini:hover { border-color: var(--purple); background: var(--pink-soft); }
.drop-mini > span { font-size: 28px; }
.drop-mini strong { font-size: 15px; }
.previews { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.previews div { position: relative; }
.previews img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; }
.previews button { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--purple-deep); color: #fff; cursor: pointer; font-size: 14px; line-height: 1; }
.atts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.atts img { width: 110px; height: 110px; object-fit: cover; border-radius: 10px; display: block; }

/* Footer */
footer { margin-top: 50px; background: var(--purple-deep); color: #e9d8f0; padding: 44px 0 26px; }
footer a { color: #fff; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
footer h4 { color: #fff; margin-bottom: 10px; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 6px; }
footer .credit { display: inline-flex; align-items: center; gap: 6px; }
footer .credit a { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; }
footer .credit img { height: 22px; width: auto; filter: invert(1) brightness(1.1); }
footer .fine { margin-top: 28px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 16px; font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; opacity: .8; }
@media (max-width: 700px) { footer .cols { grid-template-columns: 1fr; } }

.page-title { padding: 36px 0 10px; }
.empty-state { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty-state .big { color: var(--purple); opacity: .5; }
.loading { color: var(--muted); padding: 40px 0; text-align: center; }
