/* Flamwood Sweet Mart: storefront styles */

@font-face { font-family: 'Fredoka'; src: url('/assets/fonts/fredoka-latin.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('/assets/fonts/nunito-latin.woff2') format('woff2'); font-weight: 200 1000; font-display: swap; }

:root {
  --red: #d71920;
  --red-dark: #a90f15;
  --blue: #12307a;
  --blue-dark: #0b1f52;
  --yellow: #ffd600;
  --yellow-soft: #fff4b8;
  --cream: #fff9ef;
  --pink: #ffe3e1;
  --sky: #e5ecff;
  --ink: #1b1f2e;
  --muted: #5d6273;
  --line: #ebe4d6;
  --white: #fff;
  --green: #15803d;
  --wa: #1fa855;
  --radius: 18px;
  --shadow: 0 2px 4px rgba(27, 31, 46, .05), 0 10px 30px rgba(27, 31, 46, .08);
  --head: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.55 var(--body); color: var(--ink); background: var(--cream); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; color: var(--blue-dark); font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .65em 1.3em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--head); font-weight: 600; font-size: 1.02rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: transform .12s, background .15s, box-shadow .15s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn--red { background: var(--red); color: var(--white); box-shadow: 0 4px 0 var(--red-dark); }
.btn--red:hover { background: #e3242b; }
.btn--blue { background: var(--blue); color: var(--white); box-shadow: 0 4px 0 var(--blue-dark); }
.btn--blue:hover { background: #1a3d93; }
.btn--yellow { background: var(--yellow); color: var(--blue-dark); box-shadow: 0 4px 0 #d9b400; }
.btn--wa { background: var(--wa); color: var(--white); box-shadow: 0 4px 0 #16803f; }
.btn--ghost { background: var(--white); color: var(--blue-dark); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); }
.btn--block { width: 100%; white-space: normal; text-align: center; }
.btn--sm { min-height: 38px; padding: .4em 1em; font-size: .95rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.link { background: none; border: 0; padding: 0; color: var(--blue); text-decoration: underline; cursor: pointer; }

/* ---------- top bars ---------- */
.concept { background: var(--blue-dark); color: #fff; font-size: .82rem; text-align: center; padding: 6px 16px; }
.concept strong { color: var(--yellow); }
.announce { background: var(--yellow); color: var(--blue-dark); font-weight: 800; font-size: .9rem; text-align: center; padding: 7px 16px; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header__inner { display: flex; align-items: center; gap: 12px; min-height: 72px; }
.logo { flex: none; }
.logo img { height: 52px; width: auto; }
@media (min-width: 960px) { .logo img { height: 62px; } }
.nav { display: none; margin-left: auto; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--blue-dark); font-weight: 800; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sky); }
.nav a.nav__deal { color: var(--red); }
.header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 960px) { .nav { display: flex; } .header__actions { margin-left: 8px; } .header .menu-btn { display: none; } }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--line); background: var(--white); color: var(--blue-dark); cursor: pointer; text-decoration: none;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { border-color: var(--blue); }
.cart-btn { background: var(--red); border-color: var(--red); color: #fff; }
.cart-btn:hover { border-color: var(--red-dark); background: var(--red-dark); }
.cart-count {
  position: absolute; top: -5px; right: -5px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--yellow); color: var(--blue-dark); font: 800 .75rem/22px var(--body); text-align: center; border: 2px solid #fff;
}
.cart-count:empty, .cart-count[data-n="0"] { display: none; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--white); padding: 8px 16px 16px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--blue-dark); font-weight: 800; }
.mobile-nav a:last-child { border-bottom: 0; }
@media (min-width: 960px) { .mobile-nav, .mobile-nav.open { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 85% 30%, var(--yellow-soft) 0 28%, transparent 29%), linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.hero__inner { display: grid; gap: 24px; align-items: center; padding: 36px 0 44px; }
@media (min-width: 860px) { .hero__inner { grid-template-columns: 1.05fr .95fr; padding: 56px 0 64px; } }
.hero h1 span { color: var(--red); }
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 36ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.hero__pts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; font-weight: 800; color: var(--blue-dark); font-size: .95rem; }
.hero__pts li { display: flex; align-items: center; gap: 6px; }
.hero__pts svg { width: 20px; height: 20px; color: var(--red); }
.hero__art { position: relative; max-width: 480px; margin: 0 auto; width: 100%; }
.hero__art img { position: relative; width: 100%; height: auto; border-radius: 28px; }
.hero__tag {
  position: absolute; z-index: 2; right: 4%; bottom: 8%; background: var(--red); color: #fff; border-radius: 20px; padding: 10px 16px;
  font-family: var(--head); box-shadow: var(--shadow); transform: rotate(-4deg); text-decoration: none; text-align: center;
}
.hero__tag small { display: block; font-family: var(--body); font-weight: 700; font-size: .78rem; opacity: .9; }
.hero__tag b { font-size: 1.5rem; font-weight: 600; }

/* ---------- sections ---------- */
.section { padding: 48px 0; }
@media (min-width: 720px) { .section { padding: 64px 0; } }
.section--white { background: var(--white); }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 16px; margin-bottom: 22px; }
.section__head h2 { margin: 0; }
.section__head p { margin: 4px 0 0; color: var(--muted); }
.eyebrow { display: inline-block; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--red); margin-bottom: 6px; }

/* steps */
.steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: flex-start; }
.steps li::before {
  counter-increment: s; content: counter(s); flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow); color: var(--blue-dark); font: 600 1.2rem var(--head);
}
.steps h3 { margin: 4px 0 4px; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

/* category tiles */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 860px) { .cats { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.cat {
  display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--radius); text-decoration: none; color: var(--blue-dark);
  min-height: 160px; position: relative; overflow: hidden; transition: transform .15s, box-shadow .15s; background: var(--pink);
}
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat:nth-child(4n+2) { background: var(--sky); }
.cat:nth-child(4n+3) { background: var(--yellow-soft); }
.cat:nth-child(4n+4) { background: #e2f6e9; }
.cat__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--white); display: grid; place-items: center; color: var(--red); }
.cat__icon svg { width: 30px; height: 30px; }
.cat h3 { margin: 8px 0 0; font-size: 1.25rem; }
.cat p { margin: 0; font-size: .88rem; color: var(--muted); }
.cat__go { margin-top: auto; font-weight: 900; font-size: .88rem; color: var(--red); }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1060px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card__img { display: block; aspect-ratio: 1; background: #fff; position: relative; }
.card__img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.card__img .noimg { width: 100%; height: 100%; display: grid; place-items: center; color: #d6cbb7; background: var(--cream); }
.card__img .noimg svg { width: 44%; height: 44%; }
.badge { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 4px 10px; border-radius: 999px; font-weight: 900; font-size: .75rem; background: var(--red); color: #fff; }
.badge--out { background: var(--ink); }
.card__body { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; flex: 1; }
.card__cat { font-size: .74rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--red); }
.card__name { font: 600 1.05rem/1.2 var(--head); color: var(--blue-dark); text-decoration: none; }
.card__name:hover { text-decoration: underline; }
.card__size { font-size: .86rem; color: var(--muted); }
.card__foot { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.price { font: 600 1.35rem/1 var(--head); color: var(--red); display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price s { font: 700 .9rem var(--body); color: var(--muted); }
.stock-note { font-size: .8rem; font-weight: 800; color: var(--muted); }
.stock-note.low { color: #b45309; }
.card .btn { min-height: 42px; font-size: .95rem; padding: .5em .8em; }
@media (min-width: 720px) { .card__foot { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; } }
.empty { grid-column: 1 / -1; text-align: center; background: var(--white); border-radius: var(--radius); padding: 40px 20px; box-shadow: var(--shadow); }
.empty h3 { margin-bottom: .3em; }
.skeleton { aspect-ratio: .72; border-radius: var(--radius); background: linear-gradient(90deg, #f3ece0 0%, #fbf6ee 50%, #f3ece0 100%); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- shop page ---------- */
.page-head { background: var(--white); border-bottom: 1px solid var(--line); padding: 26px 0 20px; }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 4px; }
.page-head p { margin: 0; color: var(--muted); }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 20px 0 18px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; width: calc(100% + 32px); }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .chips { margin: 0; padding: 2px 0 6px; width: auto; flex-wrap: wrap; overflow: visible; } }
.chip { flex: none; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--line); background: var(--white); font-weight: 800; font-size: .92rem; color: var(--blue-dark); cursor: pointer; text-decoration: none; }
.chip:hover { border-color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip--deal[aria-pressed="false"] { color: var(--red); }
.chip svg { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 2px; }
.toolbar__right { display: flex; gap: 10px; width: 100%; }
@media (min-width: 720px) { .toolbar__right { width: auto; margin-left: auto; } }
.field-inline { position: relative; flex: 1; }
.field-inline svg { position: absolute; left: 12px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 14px; background: var(--white); font-size: 1rem;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--blue); outline: none; }
.field-inline .input { padding-left: 38px; }
.select { width: auto; padding-right: 32px; }
.textarea { min-height: 90px; resize: vertical; }
.result-count { color: var(--muted); font-size: .9rem; margin: -6px 0 14px; }

/* ---------- product page ---------- */
.pdp { display: grid; gap: 24px; padding: 24px 0 48px; }
@media (min-width: 860px) { .pdp { grid-template-columns: 1fr 1fr; gap: 48px; padding: 36px 0 64px; } }
.pdp__img { background: var(--white); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; aspect-ratio: 1; position: relative; }
.pdp__img img { width: 100%; height: 100%; object-fit: contain; }
.pdp h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 4px 0 4px; }
.pdp__size { font-weight: 800; color: var(--muted); margin-bottom: 14px; }
.pdp .price { font-size: 2rem; margin-bottom: 8px; }
.save { display: inline-block; background: var(--yellow); color: var(--blue-dark); font: 900 .8rem var(--body); padding: 3px 10px; border-radius: 999px; }
.buy { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.buy .btn--red { flex: 1; min-width: 180px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; background: var(--white); height: 46px; }
.qty button { width: 42px; height: 100%; border: 0; background: none; font-size: 1.3rem; font-weight: 800; color: var(--blue-dark); cursor: pointer; border-radius: 999px; }
.qty button:hover { background: var(--sky); }
.qty input { width: 40px; text-align: center; border: 0; background: none; font-weight: 900; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--sm { height: 38px; }
.qty--sm button { width: 34px; font-size: 1.1rem; }
.qty--sm input { width: 30px; }
.info-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; background: var(--white); padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); font-size: .95rem; }
.info-list svg { width: 22px; height: 22px; flex: none; color: var(--red); margin-top: 1px; }
.desc { white-space: pre-line; margin-top: 22px; }

/* ---------- cart & checkout ---------- */
.checkout { display: grid; gap: 24px; padding: 24px 0 56px; align-items: start; }
@media (min-width: 960px) { .checkout { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; } }
.checkout > * { min-width: 0; }
#zone { width: 100%; }
.panel { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
@media (min-width: 720px) { .panel { padding: 24px; } }
.panel + .panel { margin-top: 18px; }
.panel h2 { font-size: 1.35rem; display: flex; align-items: center; gap: 10px; }
.panel h2 .n { width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-size: 1rem; flex: none; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line__img { width: 72px; height: 72px; border-radius: 12px; background: var(--cream); overflow: hidden; }
.line__img img { width: 100%; height: 100%; object-fit: contain; }
.line__img .noimg { width: 100%; height: 100%; display: grid; place-items: center; color: #d6cbb7; }
.line__img .noimg svg { width: 32px; height: 32px; }
#delivery-fields { margin-top: 14px; }
.toast svg { flex: none; }
.line__name { font-weight: 800; color: var(--blue-dark); text-decoration: none; line-height: 1.25; }
.line__meta { font-size: .85rem; color: var(--muted); }
.line__ctrl { display: flex; align-items: center; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.line__total { font-weight: 900; text-align: right; }
.line__warn { color: var(--red); font-size: .82rem; font-weight: 800; }
.options { display: grid; gap: 10px; }
@media (min-width: 560px) { .options--2 { grid-template-columns: 1fr 1fr; } }
.option { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 2px solid var(--line); border-radius: 16px; cursor: pointer; background: var(--white); }
.option:hover { border-color: #c9c2b4; }
.option:has(input:checked) { border-color: var(--blue); background: #f5f8ff; }
.option input { margin-top: 4px; accent-color: var(--blue); width: 18px; height: 18px; flex: none; }
.option b { display: block; color: var(--blue-dark); }
.option span { font-size: .88rem; color: var(--muted); }
.option.disabled { opacity: .55; cursor: not-allowed; }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 560px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.label { display: grid; gap: 6px; font-weight: 800; font-size: .92rem; color: var(--blue-dark); }
.label small { font-weight: 600; color: var(--muted); }
.note { background: var(--yellow-soft); border-radius: 14px; padding: 12px 14px; font-size: .92rem; margin: 12px 0 0; }
.note--blue { background: var(--sky); }
.summary { position: sticky; top: 92px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.sum-row--total { border-top: 2px dashed var(--line); margin-top: 8px; padding-top: 12px; font: 600 1.35rem var(--head); color: var(--blue-dark); }
.form-error { color: var(--red); font-weight: 800; margin: 12px 0 0; }
.form-error:empty { display: none; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .82rem; color: var(--muted); margin-top: 10px; }
.secure svg { width: 16px; height: 16px; }

/* ---------- order page ---------- */
.thanks { text-align: center; padding: 8px 0 4px; }
.thanks__icon { width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 50%; background: #dcfce7; color: var(--green); display: grid; place-items: center; }
.thanks__icon svg { width: 40px; height: 40px; }
.ref { display: inline-block; font: 600 1.3rem var(--head); background: var(--yellow); color: var(--blue-dark); padding: 4px 14px; border-radius: 10px; letter-spacing: .03em; }
.timeline { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 18px 34px; color: var(--muted); font-weight: 700; }
.timeline li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--line); background: var(--white); }
.timeline li::after { content: ''; position: absolute; left: 9px; top: 24px; bottom: 2px; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--blue-dark); }
.timeline li.done::before { background: var(--green); border-color: var(--green); }
.timeline li.now { color: var(--blue-dark); font-weight: 900; }
.timeline li.now::before { border-color: var(--red); background: var(--yellow); }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 900; background: var(--sky); color: var(--blue-dark); }
.pill--paid { background: #dcfce7; color: var(--green); }
.pill--pending, .pill--unpaid { background: var(--yellow-soft); color: #92400e; }
.pill--cancelled { background: #fee2e2; color: var(--red-dark); }

/* ---------- contact & info ---------- */
.contact-grid { display: grid; gap: 18px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.contact-card h2 { font-size: 1.3rem; display: flex; gap: 10px; align-items: center; }
.contact-card h2 svg { width: 26px; height: 26px; color: var(--red); }
.contact-card .btn { margin-top: 8px; }
.wa-list { display: grid; gap: 10px; }
.banner { background: var(--blue); color: #fff; border-radius: 28px; padding: 28px 22px; display: grid; gap: 18px; align-items: center; position: relative; overflow: hidden; }
@media (min-width: 860px) { .banner { grid-template-columns: 1fr auto; padding: 40px 44px; } }
.banner h2 { color: #fff; margin-bottom: .3em; }
.banner p { color: #d7e0ff; margin: 0; max-width: 56ch; }
.banner::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 214, 0, .18); }
.banner .btns { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }

/* ---------- footer ---------- */
.footer { background: var(--blue-dark); color: #cdd6f5; padding: 44px 0 90px; margin-top: 0; }
.footer a { color: #fff; }
.footer__grid { display: grid; gap: 26px; }
@media (min-width: 860px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } .footer { padding-bottom: 32px; } }
.footer h3 { color: var(--yellow); font-size: 1.05rem; margin-bottom: 10px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer__logo { background: #fff; display: inline-block; padding: 8px 12px; border-radius: 16px; margin-bottom: 12px; }
.footer__logo img { height: 56px; width: auto; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .85rem; }

/* ---------- floating WhatsApp ---------- */
.wa-fab { position: fixed; right: 16px; bottom: 16px; z-index: 50; }
.wa-fab__btn { width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); cursor: pointer; }
.wa-fab__btn svg { width: 32px; height: 32px; }
.wa-fab__menu { position: absolute; right: 0; bottom: 72px; width: 260px; background: #fff; border-radius: 18px; box-shadow: 0 12px 40px rgba(0, 0, 0, .2); padding: 14px; }
.wa-fab__menu p { margin: 0 0 10px; font-weight: 800; color: var(--blue-dark); }
.wa-fab__menu a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 800; }
.wa-fab__menu a:hover { background: #ecfdf3; }
.wa-fab__menu a svg { width: 22px; height: 22px; color: var(--wa); }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 20px; translate: -50% 140%; z-index: 60; background: var(--ink); color: #fff; border-radius: 16px;
  padding: 12px 14px 12px 18px; display: flex; gap: 14px; align-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  transition: translate .25s, visibility .25s; visibility: hidden; width: max-content; max-width: calc(100vw - 32px); font-weight: 700;
}
.toast.show { translate: -50% 0; visibility: visible; }
.toast a { color: var(--yellow); font-weight: 900; white-space: nowrap; }
.toast.error { background: var(--red-dark); }

.mt0 { margin-top: 0; }
.center { text-align: center; }

/* ---------- accounts & courier ---------- */
@media (max-width: 519px) { .header .icon-btn--wa { display: none; } }
.icon-btn.signed-in { border-color: var(--blue); background: var(--sky); }
@media (min-width: 720px) { .options--3 { grid-template-columns: repeat(3, 1fr); } }
.acc-grid { display: grid; gap: 18px; align-items: start; }
.acc-grid .panel + .panel { margin-top: 0; }
@media (min-width: 860px) { .acc-grid { grid-template-columns: 1fr 1fr; gap: 24px; } .acc-grid--me { grid-template-columns: 1.3fr 1fr; } }
.acc-grid--me > div > .panel + .panel, .acc-grid--me > div > .btn { margin-top: 18px; }
.acc-narrow { max-width: 460px; margin: 0 auto; display: grid; gap: 14px; }
.acc .panel > .btn, .acc form > .btn { margin-top: 14px; }
.acc-order { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.acc-order:last-child { border-bottom: 0; }
.acc-order:hover .ref-sm { text-decoration: underline; }
.ref-sm { font: 600 1.05rem var(--head); color: var(--blue-dark); }
#account-hint { margin: 0 0 18px; }
.acc-staff { margin: 0 0 18px; }

/* ---------- map ---------- */
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sky); aspect-ratio: 4 / 3; }
.map--wide { aspect-ratio: auto; height: 380px; margin: 24px 0 10px; }
.map__frame { display: block; width: 100%; height: 100%; border: 0; }
.visit { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .visit { grid-template-columns: .9fr 1.1fr; gap: 40px; } }
.visit__addr { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; font-size: 1.05rem; }
.visit__addr svg { width: 22px; height: 22px; color: var(--red); flex: none; margin-top: 2px; }
