[hidden] { display: none !important; } /* "hidden" always wins over display rules like label { display: flex } */
:root {
  --cream: #fff8f1;
  --blush: #fbe3e6;
  --pink: #f6c9cf;
  --rose: #e07a8f;
  --berry: #7a2e45;
  --berry-deep: #5c1f33;
  --gold: #c99a5b;
  --mint: #e3f2ec;
  --cocoa: #4a2c2a;
  --text: #4a3236;
  --muted: #8a6f73;
  --card: #ffffff;
  --shadow: 0 18px 40px -18px rgba(122, 46, 69, .35);
  --gold-foil: linear-gradient(135deg, #f7e2b2 0%, #c99a5b 45%, #f1d08e 70%, #a5763a 100%);
  --radius: 22px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Great Vibes", cursive;
  --sans: "Nunito", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); color: var(--berry); line-height: 1.1; margin: 0 0 .5rem; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem clamp(16px, 5vw, 64px);
  background: rgba(255, 248, 241, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(224, 122, 143, .15);
}
.logo { text-decoration: none; display: block; }
.logo img { height: 64px; width: auto; display: block; }
.footer-logo { width: 220px; height: auto; margin: 0 auto .6rem; }
.logo-script { font-family: var(--script); font-size: 2rem; color: var(--berry); line-height: 1; margin: 0; }
.nav-links { display: flex; gap: 1.6rem; align-items: center; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--text); transition: color .2s; }
.nav-links a:hover { color: var(--rose); }
.nav-cta { background: var(--berry); color: #fff !important; padding: .5rem 1.2rem; border-radius: 999px; }
.nav-cta:hover { background: var(--rose); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--berry); margin: 5px 0; transition: .3s; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-family: var(--sans);
  padding: .9rem 1.8rem; border-radius: 999px; border: 0; cursor: pointer; font-size: 1rem;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { background: linear-gradient(135deg, var(--rose), var(--berry)); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -16px rgba(122, 46, 69, .55); }
.btn-ghost { background: #fff; color: var(--berry); border: 1.5px solid var(--pink); }
.btn-ghost:hover { border-color: var(--rose); }
.btn-block { width: 100%; }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2rem;
  min-height: calc(100vh - 64px);
  padding: 3rem clamp(16px, 6vw, 96px);
  background:
    radial-gradient(circle at 85% 30%, #ffd9df 0, transparent 45%),
    radial-gradient(circle at 10% 90%, #ffe9cf 0, transparent 40%),
    var(--cream);
}
.hero-text { position: relative; z-index: 2; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; color: var(--rose); margin: 0 0 1rem; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 600; }
.hero h1 em { font-style: italic; color: var(--rose); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34rem; margin: 1.2rem 0 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-art { position: relative; display: grid; place-items: center; z-index: 2; }
.hero-glow { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #fff 0, #fde4e8 55%, transparent 70%); }
#hero-cake { position: relative; width: min(520px, 95%); height: auto; filter: drop-shadow(0 30px 30px rgba(122, 46, 69, .18)); }
.cake-float { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-1deg); } }
.flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flicker 1.4s ease-in-out infinite alternate; }
@keyframes flicker { 50% { transform: scale(1.12, .9) rotate(-4deg); } 100% { transform: scale(.92, 1.08) rotate(3deg); } }

.confetti { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.confetti i {
  position: absolute; top: -20px; width: 8px; height: 14px; border-radius: 3px; opacity: .8;
  animation: fall linear infinite;
}
@keyframes fall {
  to { transform: translateY(110vh) rotate(720deg); }
}

/* ---------- PROMISE ---------- */
.promise {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  padding: 1.6rem clamp(16px, 6vw, 96px);
  background: var(--berry); color: #fbe3e6; font-weight: 600; text-align: center;
}
.promise span { font-size: 1.4rem; margin-right: .5rem; vertical-align: middle; }

/* ---------- SECTIONS ---------- */
.section { padding: 6rem clamp(16px, 6vw, 96px); }
.section-blush { background: linear-gradient(180deg, var(--blush), var(--cream)); }
.section-mint { background: linear-gradient(180deg, var(--mint), var(--cream)); }
.section-berry { background: radial-gradient(circle at 20% 0, #934159, var(--berry-deep)); color: #fbe3e6; }
.section-head { text-align: center; max-width: 40rem; margin: 0 auto 3.5rem; }
.section-head h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }
.section-head.light h2 { color: #fff; }
.script { font-family: var(--script); color: var(--rose); font-size: 2.2rem; margin: 0; line-height: 1.2; }

.grid { display: grid; gap: 1.6rem; max-width: 1180px; margin: 0 auto; }
.treats-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.occasion-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.supplies-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.classes-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.card {
  background: var(--card); border-radius: var(--radius); padding: 1.8rem 1.5rem; text-align: center;
  box-shadow: 0 10px 30px -20px rgba(122, 46, 69, .4);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.6rem; margin-top: 1rem; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.card .art {
  position: relative; width: 100%; height: 250px; margin: 0 auto; border-radius: 18px; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 55%, #fffdf9 0%, #fdf6f0 60%, #f9ece6 100%);
}
.card .art img { width: 92%; height: 92%; object-fit: contain; transition: transform .45s cubic-bezier(.2, .8, .2, 1); filter: drop-shadow(0 14px 14px rgba(122, 46, 69, .15)); }
.card:hover .art img { transform: scale(1.08) translateY(-4px); }
.tag { display: inline-block; margin-top: 1rem; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8f6330; background: linear-gradient(135deg, #fbf0d9, #f3dfb6); padding: .3rem .8rem; border-radius: 999px; }

/* gold touches */
.card { border: 1px solid rgba(201, 154, 91, .28); }
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--gold-foil); opacity: .85; }
.homemade {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--berry-deep); background: var(--gold-foil); padding: .35rem .8rem; border-radius: 999px;
  box-shadow: 0 6px 14px -6px rgba(165, 118, 58, .7), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.homemade::before { content: "♥ "; color: var(--berry); }
.section-head h2::after { content: ""; display: block; width: 90px; height: 3px; margin: .9rem auto 0; border-radius: 3px; background: var(--gold-foil); }
.section-head.light h2::after { opacity: .9; }

.occasion { padding: 1.5rem 1.5rem 2rem; }
.occasion .art { height: 300px; }
.occasion a { display: inline-block; margin-top: 1rem; color: var(--berry); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--pink); }
.occasion a:hover { border-color: var(--rose); }

.supply .art { height: 220px; }
.supply h3 { font-size: 1.35rem; }

.class-card { text-align: left; padding: 2rem; }
.class-card .badge { font-size: 2.2rem; }
.class-card ul { padding-left: 1.1rem; margin: 1rem 0 0; color: var(--muted); }
.class-card .meta { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.2rem; }
.class-card .meta span { font-size: .8rem; font-weight: 700; background: var(--cream); color: var(--berry); padding: .3rem .7rem; border-radius: 999px; }
.class-card .btn { margin-top: 1.4rem; padding: .7rem 1.4rem; font-size: .92rem; }

.center-note { text-align: center; color: var(--muted); margin-top: 2.5rem; }

/* ---------- DESIGNER ---------- */
.designer {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem;
  background: #fff; border-radius: 32px; padding: clamp(1.2rem, 3vw, 2.5rem); box-shadow: var(--shadow);
}
.designer-preview {
  border-radius: 24px; display: flex; flex-direction: column; align-items: stretch;
  background: radial-gradient(circle at 50% 40%, #fffdf9 0, #fbeee9 80%);
  padding: 1rem; position: sticky; top: 90px; align-self: start;
}
#cake3d { width: 100%; aspect-ratio: 1 / 1; cursor: grab; touch-action: pan-y; }
#cake3d canvas { width: 100% !important; height: 100% !important; display: block; }
#cake3d:active { cursor: grabbing; }
.no3d { text-align: center; color: var(--muted); padding: 3rem 1rem; }
.rotate-hint { text-align: center; font-size: .8rem; color: var(--muted); margin: .2rem 0 .8rem; }
.designer-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.designer-facts div { background: #fff; border-radius: 16px; padding: .7rem .5rem; text-align: center; border: 1px solid rgba(201, 154, 91, .3); }
.designer-facts span { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.designer-facts strong { font-family: var(--serif); font-size: 1.5rem; color: var(--berry); }
.step { display: flex; align-items: center; gap: .6rem; margin-top: .6rem; padding-bottom: .4rem; border-bottom: 1px solid rgba(201, 154, 91, .3); }
.step span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-foil); color: var(--berry-deep); font-weight: 800; font-size: .85rem; }
.step b { font-family: var(--serif); font-size: 1.35rem; color: var(--berry); }
.shape-ico { display: inline-block; width: 16px; height: 16px; margin-inline-end: .45rem; vertical-align: -3px; background: currentColor; opacity: .75; }
.shape-ico.round { border-radius: 50%; }
.shape-ico.square { border-radius: 3px; }
.shape-ico.rectangle { width: 22px; height: 14px; border-radius: 3px; vertical-align: -2px; }
.shape-ico.hexagon { clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%); }
.shape-ico.heart { clip-path: path('M8 15 C3 11 0 8 0 5 C0 2 2 0 4.5 0 C6 0 7.3 1 8 2.2 C8.7 1 10 0 11.5 0 C14 0 16 2 16 5 C16 8 13 11 8 15 Z'); }
.designer-form { display: flex; flex-direction: column; gap: 1.1rem; }
label, legend { font-weight: 700; font-size: .9rem; color: var(--berry); display: flex; flex-direction: column; gap: .4rem; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { margin-bottom: .4rem; }
input, select, textarea {
  font: inherit; font-weight: 400; color: var(--text);
  padding: .75rem 1rem; border-radius: 14px; border: 1.5px solid #f0d9dc; background: var(--cream);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px rgba(224, 122, 143, .15); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips button {
  font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer;
  padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid #f0d9dc; background: #fff; color: var(--text);
  transition: .2s;
}
.chips button:hover { border-color: var(--rose); }
.chips button.active { background: var(--berry); border-color: var(--berry); color: #fff; }
.swatches { display: flex; gap: .6rem; flex-wrap: wrap; }
.swatches button {
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer; border: 3px solid #fff;
  box-shadow: 0 0 0 1.5px #f0d9dc; transition: transform .2s, box-shadow .2s;
}
.swatches button:hover { transform: scale(1.1); }
.swatches button.active { box-shadow: 0 0 0 2.5px var(--berry); transform: scale(1.1); }
.hint { font-size: .85rem; color: var(--muted); margin: 0; text-align: center; }

/* ---------- STEPS ---------- */
.steps { list-style: none; padding: 0; margin: 0 auto; max-width: 1000px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.steps li { text-align: center; }
.steps span {
  display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  font-family: var(--serif); font-size: 1.8rem; font-weight: 700; color: var(--berry); background: #fbe3e6; margin-bottom: 1rem;
}
.steps h3 { color: #fff; font-size: 1.6rem; }
.steps p { color: #f3c6cf; margin: 0; }
.steps-note { text-align: center; margin: 3rem auto 0; color: #f3c6cf; max-width: 36rem; }
.steps-note strong { color: #fff; }

/* ---------- ORDER ---------- */
.order-wrap { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.order-text h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.order-text > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.contact-list li { display: flex; align-items: center; gap: .8rem; font-weight: 600; }
.contact-list .ci { flex: none; width: 42px; height: 42px; display: grid; place-items: center; background: var(--blush); border-radius: 50%; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--rose); }
.order-form { background: #fff; padding: 2rem; border-radius: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 1rem; }

/* ---------- FOOTER ---------- */
.footer { text-align: center; padding: 3rem 1rem; background: var(--blush); color: var(--muted); }
.footer .logo-script { font-size: 2.6rem; }
.footer p { margin: .3rem 0; }
.footer .small { font-size: .85rem; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; min-height: auto; padding-top: 2rem; }
  .hero-art { order: -1; }
  #hero-cake { width: min(300px, 75%); }
  .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .designer, .order-wrap { grid-template-columns: 1fr; }
  .designer-preview { position: relative; top: 0; min-height: 320px; }
  .steps { grid-template-columns: 1fr; }
  .promise { grid-template-columns: 1fr; gap: .6rem; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid #f0d9dc;
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav-links.open { max-height: 420px; }
  .nav-links a { padding: 1rem; width: 100%; text-align: center; }
  .nav-cta { border-radius: 0; }
  .section { padding: 4rem 16px; }
  .row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- photos stay inside their box (iOS Safari ignores % heights on grid items) ---------- */
.card .art { overflow: hidden; }
.card .art img { position: absolute; inset: 4%; width: 92%; height: 92%; }

/* ---------- header extras ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav-links { gap: 1.2rem; }
.nav-login { font: inherit; font-weight: 600; font-size: .95rem; color: var(--berry); background: none; border: 1.5px solid var(--pink); border-radius: 999px; padding: .4rem 1rem; cursor: pointer; }
.nav-login:hover { border-color: var(--rose); }
.lang-picker select { width: auto; padding: .4rem .7rem; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--berry); background: #fff; border-color: rgba(201, 154, 91, .45); }

/* ---------- classes waitlist & club ---------- */
.class-card { text-align: center; }
.soon { display: inline-block; margin: .4rem 0 .2rem; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--berry-deep); background: var(--gold-foil); padding: .3rem .8rem; border-radius: 999px; }
.waitlist { max-width: 640px; margin: 2.5rem auto 0; background: #fff; padding: 2rem; border-radius: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 1rem; border: 1px solid rgba(201, 154, 91, .3); }
.waitlist h3 { font-size: 1.8rem; text-align: center; margin: 0; }
.plans-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 1000px; }
.plan { padding: 2.2rem 1.8rem; display: flex; flex-direction: column; align-items: center; }
.plan ul { list-style: none; padding: 0; margin: 1rem 0 1.6rem; text-align: center; color: var(--muted); display: grid; gap: .5rem; flex: 1; }
.plan li::before { content: "✓ "; color: var(--gold); font-weight: 800; }
.plan-price { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: #a5763a !important; }
.plan-flag { position: absolute; top: 14px; inset-inline-end: 14px; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--berry); padding: .3rem .7rem; border-radius: 999px; }
.plan.premium { background: linear-gradient(180deg, #fffaf0, #fff); border-color: rgba(201, 154, 91, .7); }
.plan.premium .plan-flag { background: var(--gold-foil); color: var(--berry-deep); }

/* ---------- login dialog ---------- */
.login-dialog { border: 0; border-radius: 28px; padding: 2rem; max-width: 420px; width: calc(100% - 32px); box-shadow: var(--shadow); text-align: center; }
.login-dialog::backdrop { background: rgba(92, 31, 51, .35); backdrop-filter: blur(4px); }
.login-dialog p { color: var(--muted); }
.dialog-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.2rem; }

section[id] { scroll-margin-top: 84px; }

/* ---------- right-to-left languages ---------- */
html[dir="rtl"] body, html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] .script, html[dir="rtl"] .step b,
html[dir="rtl"] input, html[dir="rtl"] select, html[dir="rtl"] textarea, html[dir="rtl"] .btn, html[dir="rtl"] .chips button { font-family: Vazirmatn, var(--sans); }
html[dir="rtl"] h1, html[dir="rtl"] h2 { line-height: 1.35; }
html[dir="rtl"] .script { font-size: 1.6rem; font-weight: 700; }
html[dir="rtl"] .eyebrow, html[dir="rtl"] .homemade, html[dir="rtl"] .soon, html[dir="rtl"] .tag, html[dir="rtl"] .designer-facts span, html[dir="rtl"] .plan-flag { letter-spacing: 0; }
html[dir="rtl"] .homemade { left: auto; right: 12px; }
html[dir="rtl"] .hero-text { text-align: right; }

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid #f0d9dc;
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav-links.open { max-height: 720px; padding-bottom: 1rem; }
  .nav-links a { padding: .9rem; width: 100%; text-align: center; }
  .nav-login { margin: .6rem 0; }
  .lang-picker { margin-top: .4rem; }
  .nav-cta { border-radius: 0; }
}
@media (max-width: 900px) {
  html[dir="rtl"] .hero-text { text-align: center; }
}
@media (max-width: 560px) {
  .card .art { height: 230px; }
  .occasion .art { height: 270px; }
  .designer-facts strong { font-size: 1.25rem; }
  .waitlist { padding: 1.4rem; }
}

/* language picker sits outside the folding menu so it's always visible */
.lang-picker { margin-inline-start: 1rem; }
@media (max-width: 1180px) {
  .nav { gap: .6rem; }
  .lang-picker { margin-inline-start: auto; margin-top: 0; }
  .lang-picker select { padding: .35rem .5rem; font-size: .85rem; }
}

/* ---------- member accounts ---------- */
.login-dialog { text-align: start; max-width: 460px; max-height: calc(100vh - 32px); overflow-y: auto; }
.login-dialog h3 { font-size: 1.8rem; text-align: center; margin-bottom: 1rem; }
.login-dialog form, .login-dialog [data-view] { display: flex; flex-direction: column; gap: .9rem; }
.login-dialog [hidden] { display: none !important; }
.dialog-x { position: absolute; top: 10px; inset-inline-end: 14px; font-size: 1.8rem; line-height: 1; background: none; border: 0; color: var(--muted); cursor: pointer; }
.dialog-note { background: #fbf0d9; color: #7a5420; border-radius: 14px; padding: .7rem 1rem; text-align: center; font-weight: 600; margin: 0 0 1rem; }
.form-error { color: #b3261e; font-weight: 600; font-size: .9rem; margin: 0; min-height: 0; }
.form-error:empty { display: none; }
label small { font-weight: 400; color: var(--muted); font-size: .78rem; }
.consent { flex-direction: row; align-items: flex-start; gap: .6rem; font-weight: 400; color: var(--text); font-size: .88rem; }
.consent input { width: 18px; height: 18px; margin-top: .15rem; flex: none; accent-color: var(--berry); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--berry); text-decoration: underline; cursor: pointer; }
.member-meta { text-align: center; color: var(--muted); margin: -.4rem 0 .4rem; }
.plan-badge { display: inline-block; background: var(--gold-foil); color: var(--berry-deep); font-weight: 800; font-size: .8rem; padding: .2rem .7rem; border-radius: 999px; }
.verify-box { background: var(--blush); border-radius: 14px; padding: .8rem 1rem; text-align: center; }
.verify-box p { margin: 0 0 .3rem; color: var(--berry); }
.acc-more { border-top: 1px solid rgba(201, 154, 91, .3); padding-top: .7rem; }
.acc-more summary { cursor: pointer; font-weight: 700; color: var(--berry); }
.acc-more form, .acc-more > a { margin-top: .8rem; }
.danger { color: #b3261e !important; border-color: #f1c4c0 !important; }
.members-table-wrap { max-height: 320px; overflow: auto; margin-top: .8rem; }
.members-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.members-table td { border-bottom: 1px solid #f0d9dc; padding: .5rem .3rem; vertical-align: top; }
.nav-login.logged-in { background: var(--blush); border-color: var(--rose); }
.club-member { text-align: center; }

/* ---------- policy links ---------- */
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.2rem; margin: 1rem auto .6rem; max-width: 760px; }
.footer-links a, .footer a { color: var(--berry); font-weight: 600; font-size: .9rem; text-decoration: none; }
.footer-links a:hover { color: var(--rose); text-decoration: underline; }
.terms-note a, .club-form .hint a { color: var(--berry); font-weight: 700; }

/* ---------- photo uploads & thank-you ---------- */
.hp { position: absolute !important; inset-inline-start: 0; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none; } /* hidden spam trap; kept in place so right-to-left pages never scroll sideways */
.uploader { display: flex; flex-direction: column; gap: .7rem; }
.upload-drop {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .3rem;
  padding: 1.2rem 1rem; border: 2px dashed rgba(201, 154, 91, .6); border-radius: 18px; background: #fffaf2; cursor: pointer; transition: border-color .2s, background .2s;
}
.upload-drop:hover { border-color: var(--rose); background: #fff4f1; }
.upload-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-title { font-weight: 800; color: var(--berry); }
.uploader.full .upload-drop { display: none; }
.previews { display: flex; gap: .6rem; flex-wrap: wrap; }
.previews:empty { display: none; }
.previews figure { position: relative; margin: 0; width: 84px; height: 84px; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 14px -8px rgba(122, 46, 69, .5); }
.previews img { width: 100%; height: 100%; object-fit: cover; }
.previews button { position: absolute; top: 4px; inset-inline-end: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(92, 31, 51, .85); color: #fff; font-size: 1rem; line-height: 1; cursor: pointer; }
.btn.sending { opacity: .7; pointer-events: none; }
.btn.sending::after { content: " …"; }
.thanks-dialog { text-align: center; }
.thanks-art { font-size: 3rem; }
.thanks-preview { width: 70%; max-width: 260px; margin: .5rem auto 1rem; border-radius: 18px; background: #fbeee9; }
.orders-list { display: grid; gap: .8rem; max-height: 420px; overflow: auto; margin-top: .8rem; }
.order-card { border: 1px solid #f0d9dc; border-radius: 14px; padding: .8rem; font-size: .85rem; }
.order-card header { display: flex; justify-content: space-between; gap: .5rem; font-weight: 700; color: var(--berry); }
.order-card pre { white-space: pre-wrap; font: inherit; margin: .5rem 0; color: var(--text); max-height: 160px; overflow: auto; }
.order-thumbs { display: flex; gap: .4rem; flex-wrap: wrap; }
.order-thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; cursor: zoom-in; }
.order-card select { width: auto; padding: .25rem .6rem; font-size: .8rem; }

/* ---------- compact phone layout ---------- */
@media (max-width: 760px) {
  .section { padding: 3rem 12px; }
  .section-head { margin-bottom: 1.8rem; }
  .section-head h2 { font-size: 1.9rem; }
  .section-head p:last-child { font-size: .95rem; }
  .script { font-size: 1.7rem; }

  /* two products per row */
  .treats-grid, .occasion-grid, .classes-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .card { padding: .7rem .6rem 1rem; border-radius: 18px; }
  .card:hover { transform: none; }
  .card .art, .occasion .art { height: 140px; border-radius: 14px; }
  .card h3 { font-size: 1.15rem; margin-top: .6rem; }
  .card p { font-size: .8rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .tag { font-size: .62rem; padding: .25rem .55rem; margin-top: .6rem; }
  .homemade { top: 6px; left: 6px; font-size: .55rem; padding: .25rem .5rem; letter-spacing: .08em; }
  html[dir="rtl"] .homemade { right: 6px; left: auto; }
  .occasion a { font-size: .78rem; margin-top: .5rem; }
  .class-card { padding: 1rem .7rem; }
  .class-card .badge { font-size: 1.6rem; }

  /* swipeable rows */
  .supplies-grid, .plans-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .7rem;
    margin: 0 -12px; padding: .2rem 12px 1rem; scrollbar-width: none;
  }
  .supplies-grid::-webkit-scrollbar, .plans-grid::-webkit-scrollbar { display: none; }
  .supplies-grid > .card { flex: 0 0 44%; scroll-snap-align: start; }
  .plans-grid > .card { flex: 0 0 80%; scroll-snap-align: center; padding: 1.6rem 1.2rem; }
  .supply .art { height: 120px; }
  .swipe-hint { display: block; text-align: center; font-size: .78rem; color: var(--muted); margin-top: -.4rem; }

  .waitlist { margin-top: 1.5rem; padding: 1.2rem; }
  .promise { padding: 1rem 12px; font-size: .9rem; }
  .steps { gap: 1.2rem; }
  .steps span { width: 48px; height: 48px; font-size: 1.4rem; margin-bottom: .5rem; }
  .steps h3 { font-size: 1.3rem; }
  .order-wrap { gap: 1.5rem; }
  .order-form { padding: 1.2rem; }
  .logo img { height: 58px; }
  .hero { padding-bottom: 2rem; }
  #hero-cake { width: min(260px, 70%); }
  .hero h1 { font-size: 2.3rem; }
  .lead { font-size: 1rem; margin: .8rem auto 1.4rem; }

  /* designer: compact controls, preview stays in view while choosing */
  .designer { padding: .7rem; gap: 1rem; border-radius: 22px; }
  .designer-preview { position: sticky; top: 72px; z-index: 6; padding: .4rem; box-shadow: 0 10px 20px -14px rgba(122, 46, 69, .5); }
  #cake3d { aspect-ratio: auto; height: 24vh; min-height: 160px; }
  .rotate-hint { display: none; }
  .designer-facts { gap: .3rem; }
  .designer-facts div { padding: .3rem; border-radius: 10px; }
  .designer-facts span { font-size: .58rem; }
  .designer-facts strong { font-size: 1rem; }
  .designer-form { gap: .8rem; }
  .step b { font-size: 1.15rem; }
  .chips { gap: .35rem; }
  .chips button { padding: .38rem .7rem; font-size: .8rem; }
  .swatches button { width: 32px; height: 32px; }
  label, legend { font-size: .82rem; }
  input, select, textarea { padding: .6rem .8rem; }
}
.swipe-hint { display: none; }

/* ---------- floating WhatsApp button ---------- */
.wa-fab {
  position: fixed; bottom: 18px; inset-inline-end: 18px; z-index: 40;
  display: flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem .7rem .8rem;
  background: #25d366; color: #fff; font-weight: 800; text-decoration: none; border-radius: 999px;
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .45); transition: transform .2s;
}
.wa-fab:hover { transform: translateY(-2px); }
.wa-fab svg { width: 26px; height: 26px; flex: none; }
@media (max-width: 760px) {
  .wa-fab { padding: .8rem; bottom: 14px; inset-inline-end: 14px; }
  .wa-fab span { display: none; }
}

/* contact rows: long email wraps instead of running off small screens */
.contact-list li { align-items: flex-start; }
.contact-list li > a, .contact-list .ct { padding-top: .55rem; overflow-wrap: anywhere; min-width: 0; }

/* ---------- order tracking (My account) ---------- */
.discount-line { text-align: center; font-weight: 700; font-size: .88rem; border-radius: 12px; padding: .55rem .8rem; margin: 0; }
.discount-line.on { background: #e6f5ec; color: #1f6b3b; }
.discount-line.off { background: #fff1e0; color: #8a5300; }
.discount-line.none { background: #f6eef0; color: var(--muted); font-weight: 600; }
.my-orders h4 { font-family: var(--serif); color: var(--berry); font-size: 1.3rem; margin: .4rem 0 .2rem; }
.my-orders-list { display: grid; gap: .7rem; }
.my-order { border: 1px solid #f0d9dc; border-radius: 16px; padding: .8rem; background: #fffdfb; }
.my-order header { display: flex; gap: .4rem; align-items: center; color: var(--berry); }
.my-order header small { margin-inline-start: auto; color: var(--muted); }
.tracker { list-style: none; padding: 0; margin: .7rem 0; display: grid; grid-template-columns: repeat(5, 1fr); font-size: .62rem; text-align: center; color: var(--muted); }
.tracker li { position: relative; display: flex; flex-direction: column; align-items: center; gap: .25rem; }
.tracker li span { width: 14px; height: 14px; border-radius: 50%; background: #f0d9dc; position: relative; z-index: 1; }
.tracker li::before { content: ""; position: absolute; top: 6px; inset-inline-end: 50%; width: 100%; height: 2px; background: #f0d9dc; }
.tracker li:first-child::before { display: none; }
.tracker li.done span, .tracker li.done::before, .tracker li.now::before { background: var(--gold); }
.tracker li.now span { background: var(--berry); box-shadow: 0 0 0 4px rgba(122, 46, 69, .18); }
.tracker li.now { color: var(--berry); font-weight: 800; }
.order-cancelled { color: #b3261e; font-weight: 700; margin: .5rem 0; }
.my-order dl { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin: 0; font-size: .85rem; }
.my-order dt { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.my-order dd { margin: 0; font-weight: 700; color: var(--text); }
.pay-paid { color: #1f6b3b !important; } .pay-deposit { color: #8a5300 !important; } .pay-unpaid { color: var(--muted) !important; }
.my-order details { margin-top: .5rem; font-size: .85rem; }
.my-order pre { white-space: pre-wrap; font: inherit; color: var(--text); }
.order-admin { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem .6rem; margin-top: .6rem; font-size: .8rem; }
.order-admin label { font-size: .75rem; gap: .2rem; }
.order-admin input, .order-admin select { padding: .35rem .5rem; font-size: .8rem; }
.order-admin .btn { padding: .4rem .8rem; font-size: .8rem; }
.saved-msg { align-self: center; color: #1f6b3b; }
.disc-active { color: #1f6b3b; } .disc-paused { color: #8a5300; }

/* ---------- FAQ, about, quote note, how-to steps ---------- */
.quote-note { font-weight: 700; color: var(--berry) !important; font-size: .95rem !important; margin-top: .3rem; }
.steps-4 { grid-template-columns: repeat(4, 1fr); max-width: 1100px; }
.steps-cta { text-align: center; margin-top: 2rem; }
.steps-cta .btn { background: #fff; color: var(--berry); }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: .7rem; }
.faq { background: #fff; border: 1px solid rgba(201, 154, 91, .3); border-radius: 18px; padding: 1rem 1.2rem; }
.faq summary { cursor: pointer; font-weight: 800; color: var(--berry); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--gold); }
.faq[open] summary::after { content: "–"; }
.faq p { margin: .7rem 0 0; color: var(--text); }
.faq a { color: var(--berry); font-weight: 700; }
.about-wrap { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: center; }
.about-wrap img { width: 100%; height: auto; filter: drop-shadow(0 20px 20px rgba(122, 46, 69, .2)); }
.about-wrap h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.about-fb a { color: var(--berry); font-weight: 800; text-decoration: none; }
.designer-link a { color: var(--berry); font-weight: 800; }

/* ---------- order bar: full width at the bottom on phones, a floating pill on bigger screens ---------- */
.mobile-bar {
  display: flex; gap: .5rem; align-items: center; position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 45;
  width: min(620px, calc(100% - 32px)); padding: .5rem; border-radius: 999px; background: rgba(255, 248, 241, .96);
  backdrop-filter: blur(10px); border: 1px solid rgba(201, 154, 91, .35); box-shadow: 0 14px 30px -12px rgba(122, 46, 69, .45);
}
.mobile-bar .btn { flex: 1; text-align: center; padding: .8rem 1rem; }
.mb-wa { flex: none; background: #25d366; color: #fff; font-weight: 800; text-decoration: none; padding: .75rem .9rem; border-radius: 999px; }
.mb-call { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--blush); text-decoration: none; font-size: 1.2rem; }
.wa-fab { display: none; }
body { padding-bottom: 96px; }
@media (max-width: 900px) {
  .steps-4 { grid-template-columns: 1fr 1fr; }
  .about-wrap { grid-template-columns: 1fr; text-align: center; gap: 1rem; }
  .about-wrap img { width: 180px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .mobile-bar {
    left: 0; right: 0; bottom: 0; transform: none; width: auto; border-radius: 0; box-shadow: none; border: 0;
    padding: .55rem 12px calc(.55rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(201, 154, 91, .35);
  }
  body { padding-bottom: 76px; }
  .steps-4 { grid-template-columns: 1fr; }
  .faq { padding: .85rem 1rem; }
}

/* ---------- shop by occasion ---------- */
.occasions { padding-top: 3.5rem; padding-bottom: 3rem; }
.section-head.compact { margin-bottom: 1.6rem; }
.occ-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; max-width: 1000px; margin: 0 auto; }
.occ-chip {
  display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border-radius: 999px; text-decoration: none;
  background: #fff; color: var(--berry); font-weight: 800; font-size: .95rem; border: 1.5px solid rgba(201, 154, 91, .45);
  box-shadow: 0 6px 16px -12px rgba(122, 46, 69, .5); transition: transform .2s, border-color .2s, background .2s;
}
.occ-chip span { font-size: 1.25rem; }
.occ-chip:hover { transform: translateY(-2px); border-color: var(--rose); background: #fff8f6; }
@media (max-width: 760px) {
  .occasions { padding-top: 2.2rem; padding-bottom: 2rem; }
  .occ-chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -12px; padding: .2rem 12px .8rem; scroll-snap-type: x proximity; scrollbar-width: none; }
  .occ-chips::-webkit-scrollbar { display: none; }
  .occ-chip { flex: none; scroll-snap-align: start; padding: .6rem .9rem; font-size: .88rem; }
}

/* ---------- treats shop ---------- */
.price-tag { background: var(--gold-foil) !important; color: var(--berry-deep) !important; }
.btn-choose { margin-top: .7rem; padding: .55rem 1.1rem; font-size: .88rem; }
.from-price { font-weight: 800; color: #a5763a !important; margin: -.2rem 0 .3rem !important; }
.card .art { cursor: pointer; }
.product-dialog { max-width: 480px; }
.pd-img { width: 180px; height: 180px; object-fit: contain; margin: -.5rem auto 0; display: block; }
.pd-name { margin-bottom: .2rem !important; }
.pd-desc { text-align: center; color: var(--muted); margin: 0 0 .4rem; }
.pd-label { font-weight: 800; color: var(--berry); margin: .4rem 0 0; font-size: .9rem; }
.pd-sizes button { display: inline-flex; gap: .5rem; align-items: center; }
.pd-sizes button b { color: #a5763a; }
.pd-sizes button.active b { color: #f7e2b2; }
.pd-buy { display: flex; justify-content: space-between; align-items: center; margin: .6rem 0; }
.qty { display: flex; align-items: center; gap: .7rem; }
.qty button { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid #f0d9dc; background: #fff; font-size: 1.2rem; color: var(--berry); cursor: pointer; }
.pd-total { font-family: var(--serif); font-size: 1.8rem; color: var(--berry); }
.basket-dialog { max-width: 520px; }
.basket-items { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.basket-items li { display: grid; grid-template-columns: 52px 1fr auto auto; gap: .6rem; align-items: center; border-bottom: 1px solid #f0d9dc; padding-bottom: .5rem; }
.basket-items img { width: 52px; height: 52px; object-fit: contain; }
.basket-items small { display: block; color: var(--muted); }
.basket-items li > span { font-weight: 800; color: var(--berry); }
.basket-items li > button { border: 0; background: none; font-size: 1.3rem; color: var(--muted); cursor: pointer; }
.basket-items .empty { display: block; text-align: center; color: var(--muted); border: 0; }
.basket-sum { display: flex; justify-content: space-between; font-weight: 800; color: var(--berry); margin: .8rem 0; font-size: 1.1rem; }
.basket-total { font-family: var(--serif); font-size: 1.5rem; }
.basket-btn[hidden] { display: none !important; }
.mb-basket { flex: none; border: 0; background: var(--gold-foil); color: var(--berry-deep); font-weight: 800; padding: .75rem .8rem; border-radius: 999px; font-size: .95rem; }
.allergy-block { display: flex; flex-direction: column; gap: .5rem; background: #fff7ef; border: 1px solid rgba(201, 154, 91, .35); border-radius: 16px; padding: .8rem; }
.allergy-block .hint { text-align: start; }
.allergy-block a { color: var(--berry); font-weight: 700; }
.toast { position: fixed; left: 50%; bottom: 100px; transform: translate(-50%, 20px); opacity: 0; z-index: 80; background: var(--berry); color: #fff; font-weight: 800; padding: .7rem 1.2rem; border-radius: 999px; transition: .3s; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 760px) {
  .btn-choose { width: 100%; padding: .5rem; font-size: .82rem; }
  .from-price { font-size: .8rem; }
}

/* estimated price under the 3D preview */
.design-price { margin-top: .6rem; background: #fff; border-radius: 16px; padding: .8rem 1rem; text-align: center; border: 1px solid rgba(201, 154, 91, .5); box-shadow: 0 6px 18px rgba(138, 47, 76, .08); }
.design-price span { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.design-price strong { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--berry); }
.design-price p { margin: .35rem 0 0; font-size: .78rem; color: var(--muted); }
html[dir="rtl"] .design-price span { letter-spacing: 0; }

.price-note-send { margin: .4rem 0 0; text-align: center; font-size: .8rem; color: var(--muted); }
/* phone: the pinned preview stays small so there is room to choose options */
@media (max-width: 640px) {
  .design-price { display: flex; align-items: baseline; justify-content: center; gap: .6rem; margin-top: .3rem; padding: .3rem .6rem; border-radius: 10px; box-shadow: none; }
  .design-price span { font-size: .62rem; }
  .design-price strong { font-size: 1.3rem; }
  .design-price p { display: none; }
}

.footer-social { font-weight: 800; }
.footer-social a { color: inherit; }

/* phone: small pinned bar while choosing options (see compactPreview in script.js) */
#price-size { display: none; }
@media (max-width: 760px) {
  .designer-preview.compact { min-height: 0; display: grid; grid-template-columns: 92px 1fr; gap: .6rem; align-items: center; padding: .3rem .6rem; }
  .designer-preview.compact #cake3d { height: 92px; min-height: 0; }
  .designer-preview.compact .designer-facts { display: none; }
  .designer-preview.compact .design-price { margin: 0; padding: 0; border: 0; background: none; flex-direction: column; align-items: flex-start; gap: 0; text-align: start; }
  .designer-preview.compact .design-price strong { font-size: 1.35rem; line-height: 1.1; }
  .designer-preview.compact #price-size { display: block; font-size: .8rem; color: var(--berry); font-weight: 700; }
}

/* home page teaser for the 3D designer page */
.teaser { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: center; background: #fff; border-radius: 28px; padding: 2rem; box-shadow: var(--shadow); border: 1px solid rgba(201, 154, 91, .3); }
.teaser img { width: 100%; height: auto; }
.teaser h2 { margin: .2rem 0 .6rem; }
.teaser .btn { margin-top: 1rem; }
.footer-contact { font-weight: 700; }
@media (max-width: 760px) {
  .teaser { grid-template-columns: 1fr; text-align: center; padding: 1.2rem; gap: .8rem; }
  .teaser img { max-width: 220px; margin: 0 auto; }
}
.nav-links a[aria-current="page"]:not(.nav-cta) { color: var(--berry); text-decoration: underline; text-decoration-color: var(--gold, #c99a5b); text-underline-offset: 6px; }
/* designer and order pages start right under the header */
.subpage > .section:first-child { padding-top: 2.2rem; }
.mail-box .mail-status { font-weight: 700; color: var(--berry); }
.mail-box .small { font-size: .85rem; color: var(--muted); }

/* ---------- MY ACCOUNT PAGE (konto.html) ---------- */
.account-page { max-width: 1180px; margin: 0 auto; padding-top: 1.5rem; }
.account-page h2 { font-size: 2rem; }
.account-page h3 { font-size: 1.3rem; margin-top: .4rem; }
.account-page .muted, .acc-card .muted { color: var(--muted); }
.acc-guest-card { max-width: 440px; margin: 2rem auto; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem; text-align: center; display: grid; gap: .8rem; }
.acc-guest-art { font-size: 3rem; }
.acc-shell { display: grid; gap: 1.2rem; }
.acc-shell > * { min-width: 0; }
.acc-side { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem; }
.acc-id { display: flex; gap: .8rem; align-items: center; padding-bottom: .8rem; border-bottom: 1px solid #f0d9dc; margin-bottom: .6rem; }
.acc-id b { display: block; color: var(--berry); font-size: 1.05rem; }
.acc-id small { display: block; color: var(--muted); font-size: .8rem; word-break: break-all; }
.acc-id .plan-badge { margin-top: .3rem; }
.acc-avatar { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; background: var(--gold-foil); color: var(--berry-deep); display: grid; place-items: center; font: 700 1.4rem var(--serif); }
.acc-tabs { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; margin: 0 -.2rem; padding: .1rem .2rem; }
.acc-tabs::-webkit-scrollbar { display: none; }
.acc-tabs button { flex: 0 0 auto; display: flex; align-items: center; gap: .45rem; border: 1px solid #f0d9dc; background: #fffdfb; color: var(--text); border-radius: 999px; padding: .5rem .9rem; font: 600 .9rem var(--sans); cursor: pointer; white-space: nowrap; }
.acc-tabs button[aria-current="true"] { background: var(--berry); border-color: var(--berry); color: #fff; }
.acc-tabs .acc-logout { color: var(--muted); }
.tab-count { background: var(--rose); color: #fff; border-radius: 999px; font-size: .72rem; padding: 0 .45rem; min-width: 1.3rem; text-align: center; }
.acc-main { min-width: 0; display: grid; gap: 1rem; align-content: start; }
.acc-panel { display: grid; gap: 1rem; align-content: start; }
.acc-panel > h2, .panel-head h2 { margin: 0; }
.acc-note { background: #e6f5ec; color: #1f6b3b; border-radius: 14px; padding: .7rem 1rem; font-weight: 700; margin: 0; }
.verify-banner { background: #fff1e0; border: 1px solid #f3d3a5; border-radius: 16px; padding: 1rem; display: grid; gap: .4rem; justify-items: start; }
.verify-banner b { color: #8a5300; }
.verify-banner p { margin: 0; }
.acc-card { background: var(--card); border-radius: var(--radius); box-shadow: 0 10px 30px -20px rgba(122, 46, 69, .4); padding: 1.2rem; display: grid; gap: .9rem; }
.acc-card h3 { margin: 0; }
.acc-card label { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; font-size: .9rem; }
.acc-card textarea { resize: vertical; }
.acc-card .btn { justify-self: start; }
.danger-card { border: 1px solid #f3c9c9; }
.acc-empty { background: var(--card); border-radius: var(--radius); padding: 1.4rem; text-align: center; color: var(--muted); margin: 0; }
.acc-empty p { margin: 0 0 .8rem; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .7rem; }
.stat { background: var(--card); border: 1px solid #f0d9dc; border-radius: 18px; padding: .9rem 1rem; display: grid; gap: .2rem; text-align: start; font: inherit; color: inherit; }
button.stat { cursor: pointer; }
button.stat:hover { border-color: var(--rose); }
.stat small { color: var(--muted); font-size: .8rem; font-weight: 600; }
.stat b { font: 800 1.45rem var(--sans); color: var(--berry); line-height: 1.2; font-variant-numeric: lining-nums tabular-nums; }
.stat.warn { background: #fff6ea; border-color: #f3d3a5; }
.stat.good { background: #eef8f2; border-color: #cfe9d9; }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .7rem; }
.quick { background: var(--card); border: 1px solid #f0d9dc; border-radius: 18px; padding: 1rem; text-decoration: none; display: grid; gap: .3rem; justify-items: start; transition: transform .15s, border-color .15s; }
.quick:hover { transform: translateY(-2px); border-color: var(--rose); }
.quick span { font-size: 1.5rem; }
.quick b { color: var(--berry); font-size: .92rem; }
.dash-cols { display: grid; gap: 1rem; }
.dash-list { display: grid; gap: .4rem; }
.dash-row { display: flex; justify-content: space-between; gap: .6rem; align-items: center; border: 1px solid #f5e6e8; background: #fffdfb; border-radius: 12px; padding: .55rem .8rem; font: inherit; color: inherit; text-align: start; width: 100%; }
button.dash-row { cursor: pointer; }
button.dash-row:hover { border-color: var(--rose); }
.dash-row span { color: var(--muted); font-size: .85rem; text-align: end; }
.dash-row em { font-style: normal; }
.dash-row em.late { color: #b3261e; font-weight: 700; }
.panel-head { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; justify-content: space-between; }
.panel-head small { color: var(--muted); font: 600 1rem var(--sans); }
.adm-search { flex: 1 1 220px; max-width: 360px; }
.chip-filter { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .2rem; }
.chip-filter button { flex: 0 0 auto; border: 1px solid #f0d9dc; background: var(--card); border-radius: 999px; padding: .35rem .8rem; font: 600 .85rem var(--sans); color: var(--text); cursor: pointer; }
.chip-filter button b { color: var(--muted); margin-inline-start: .2rem; }
.chip-filter button.active { background: var(--berry); border-color: var(--berry); color: #fff; }
.chip-filter button.active b { color: #fbe3e6; }
.adm-orders, .adm-customers { display: grid; gap: .7rem; }
.adm-order { background: var(--card); border-radius: 18px; border: 1px solid #f0d9dc; border-inline-start: 5px solid #e5cfd3; overflow: hidden; }
.adm-order.status-new { border-inline-start-color: var(--rose); }
.adm-order.status-confirmed, .adm-order.status-baking { border-inline-start-color: var(--gold); }
.adm-order.status-ready { border-inline-start-color: #3c9a62; }
.adm-order.status-cancelled { opacity: .7; }
.adm-order summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: .3rem .7rem; align-items: center; padding: .8rem 1rem; }
.adm-order summary::-webkit-details-marker { display: none; }
.ao-id { font: 700 1.1rem var(--serif); color: var(--berry); }
.ao-who { min-width: 0; }
.ao-who b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ao-who small { color: var(--muted); }
.ao-price { font-weight: 800; color: var(--berry); white-space: nowrap; grid-column: 3; grid-row: 1; }
.adm-order .pill { grid-row: 2; justify-self: start; }
.adm-order .pill.st-new, .adm-order .pill.st-confirmed, .adm-order .pill.st-baking, .adm-order .pill.st-ready, .adm-order .pill.st-completed, .adm-order .pill.st-cancelled { grid-column: 2; }
.adm-order .pill[class*="pay-"] { grid-column: 3; justify-self: end; }
.pill { display: inline-block; border-radius: 999px; padding: .12rem .6rem; font-size: .75rem; font-weight: 700; background: #f6eef0; color: var(--muted); white-space: nowrap; }
.pill.st-new { background: #fde7ea; color: #a3304a; }
.pill.st-confirmed, .pill.st-baking { background: #fbf0dc; color: #8a5a12; }
.pill.st-ready { background: #e3f4ea; color: #1f6b3b; }
.pill.st-completed { background: #ece9f6; color: #4a3f80; }
.pill.pay-paid { background: #e3f4ea; color: #1f6b3b; }
.pill.pay-deposit { background: #fbf0dc; color: #8a5a12; }
.ao-body { padding: 0 1rem 1rem; display: grid; gap: .8rem; border-top: 1px solid #f5e6e8; padding-top: .8rem; }
.ao-body pre { white-space: pre-wrap; font: inherit; font-size: .88rem; margin: 0; background: #fffaf6; border-radius: 12px; padding: .8rem; max-height: 260px; overflow: auto; }
.ao-contact { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-weight: 700; }
.ao-contact span { margin-inline-end: .3rem; word-break: break-all; }
.ao-form { display: grid; gap: .8rem; }
.ao-form label { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; font-size: .85rem; }
.ao-steps { display: flex; flex-wrap: wrap; gap: .4rem; }
.ao-steps label { flex-direction: row; }
.ao-steps input { position: absolute; opacity: 0; pointer-events: none; }
.ao-steps span { border: 1px solid #f0d9dc; border-radius: 999px; padding: .4rem .8rem; cursor: pointer; font-size: .85rem; background: #fffdfb; }
.ao-steps input:checked + span { background: var(--berry); border-color: var(--berry); color: #fff; }
.ao-steps input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 2px; }
.ao-grid { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.ao-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.btn-small { padding: .4rem .8rem; font-size: .82rem; }
.btn.danger, .danger { color: #b3261e; }
.cust-card { background: var(--card); border: 1px solid #f0d9dc; border-radius: 18px; padding: 1rem; display: grid; gap: .6rem; }
.cust-card header { display: flex; gap: .7rem; align-items: center; }
.cust-card header > div { flex: 1; min-width: 0; }
.cust-card header small { display: block; color: var(--muted); word-break: break-all; }
.cust-card dl { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin: 0; font-size: .85rem; }
.cust-card dt { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; }
.cust-card dd { margin: 0; font-weight: 700; }
.cust-card p { margin: 0; }
.cust-alg { background: #fff1e0; color: #8a5300; border-radius: 10px; padding: .4rem .7rem; font-weight: 700; font-size: .85rem; }
.disc-active { color: #1f6b3b; }
.disc-paused { color: #8a5300; }
.mail-box.needs { border: 2px solid #f3d3a5; }
.mail-status { font-weight: 700; margin: 0; }
/* customer order status */
.track-view { max-width: 640px; margin: 0 auto 2rem; display: grid; gap: .6rem; }
.track-view h1 { font-size: 2.2rem; margin: 0; }
.trk-hello { font-weight: 700; color: var(--berry); margin: 0 0 .4rem; }
.status-now { display: flex; gap: .8rem; align-items: flex-start; background: #fdf3f4; border-radius: 14px; padding: .8rem; margin-top: .6rem; }
.status-ready .status-now, .status-completed .status-now { background: #eef8f2; }
.status-cancelled .status-now { background: #f6eef0; }
.status-icon { font-size: 1.6rem; line-height: 1; }
.status-now b { color: var(--berry); font-size: 1.05rem; }
.status-now p { margin: .15rem 0 0; color: var(--text); font-size: .9rem; }
.my-order { background: var(--card); }
.my-order .tracker { font-size: .7rem; }
.order-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.thanks-num { font-size: 1.1rem; }
.thanks-num b { color: var(--berry); }
@media (min-width: 900px) {
  .acc-shell { grid-template-columns: 260px 1fr; align-items: start; }
  .acc-side { position: sticky; top: 90px; }
  .acc-tabs { flex-direction: column; overflow: visible; }
  .acc-tabs button { border-radius: 12px; border-color: transparent; background: none; padding: .6rem .8rem; }
  .acc-tabs button:hover { background: #fdf3f4; }
  .acc-tabs button[aria-current="true"] { background: var(--berry); color: #fff; }
  .acc-tabs .acc-logout { margin-top: .6rem; border-top: 1px solid #f0d9dc; border-radius: 0; }
  .dash-cols { grid-template-columns: 1fr 1fr; }
  .adm-order summary { grid-template-columns: 4rem 1fr auto auto 7rem; }
  .adm-order .pill, .adm-order .pill[class*="pay-"] { grid-row: 1 !important; grid-column: auto !important; justify-self: start; }
  .ao-price { grid-column: auto; text-align: end; }
}
@media (max-width: 599px) {
  .adm-search { flex-basis: 100%; max-width: none; order: 3; }
}

/* ---------- REAL CAKES GALLERY ---------- */
.gal-grid { columns: 2; column-gap: .7rem; max-width: 1100px; margin: 0 auto; }
.gal-grid figure { margin: 0 0 .7rem; break-inside: avoid; position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: var(--blush); }
.gal-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gal-grid img { display: block; width: 100%; height: auto; transition: transform .4s; } /* the whole photo, never cropped */
.gal-grid figure:hover img { transform: scale(1.04); }
.gal-grid figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 1.6rem .8rem .6rem; color: #fff; font-weight: 700; font-size: .85rem; background: linear-gradient(transparent, rgba(60, 20, 30, .7)); pointer-events: none; }
.gal-foot { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; margin-top: 1.6rem; }
.review-badge { display: grid; justify-items: center; gap: .1rem; background: var(--card); border-radius: 18px; padding: .8rem 1.4rem; box-shadow: var(--shadow); text-decoration: none; }
.review-badge .stars { color: var(--gold); font-size: 1.3rem; letter-spacing: .15em; }
.review-badge b { color: var(--berry); }
.review-badge small { color: var(--muted); }
.gal-dialog { border: 0; padding: 0; background: none; max-width: min(92vw, 640px); }
.gal-dialog::backdrop { background: rgba(40, 15, 22, .85); }
.gal-dialog img { max-height: 86vh; width: auto; margin: 0 auto; border-radius: 16px; }
.gal-dialog .dialog-x { position: absolute; top: .5rem; inset-inline-end: .5rem; background: #fff; border-radius: 50%; width: 2.2rem; height: 2.2rem; z-index: 1; }
@media (min-width: 720px) { .gal-grid { columns: 3; column-gap: 1rem; } .gal-grid figure { margin-bottom: 1rem; } }
.about-photo { border-radius: 24px; box-shadow: var(--shadow); height: auto; aspect-ratio: 4 / 5; object-fit: cover; max-width: 420px; width: 100%; margin: 0 auto; }
.about-close { font-family: var(--serif, Georgia, serif); font-style: italic; font-size: 1.4rem; line-height: 1.35; color: var(--berry); border-left: 3px solid var(--berry); padding-left: .9rem; margin: 1.1rem 0 .4rem; }
.about-sign { font-family: var(--script); font-size: 1.9rem; color: var(--berry); margin: .2rem 0 .6rem; }

/* online payment (Stripe) */
.pay-box { margin: .8rem 0 .4rem; padding: .8rem; border-radius: 14px; background: #fff7ec; border: 1px solid #f3d3a5; display: grid; gap: .4rem; justify-items: start; }
.pay-box .btn { font-size: 1rem; }
.pay-note { margin: 0; font-size: .8rem; color: var(--muted); }
.pay-done { margin: 0; font-weight: 700; color: #2f7d4f; }
.pay-thanks { background: #eef8f2; color: #2f7d4f; border-radius: 14px; padding: .8rem 1rem; font-weight: 700; margin: 0 0 .8rem; }
.ao-paid { background: #fff7ec; border-radius: 10px; padding: .5rem .7rem; font-size: .9rem; margin: .4rem 0; }
.ao-held { background: #eef3ff; }
.thanks-hold { margin: .6rem 0; text-align: start; }
.thanks-hold .btn { width: 100%; }
.ao-hold-btns { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }

/* password field with show/hide eye */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-inline-end: 2.8rem; }
.pw-eye { position: absolute; inset-inline-end: .35rem; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.pw-eye:hover, .pw-eye:focus-visible { color: var(--berry); background: #fdf3f4; }
.remember { margin-top: .2rem; }
.ao-refund { display: flex; flex-wrap: wrap; align-items: end; gap: .5rem; margin-top: .5rem; }
.ao-refund label { display: grid; gap: .2rem; font-size: .85rem; }
.ao-refund input { width: 8rem; }

/* Facebook reviews on the home page */
.reviews { max-width: 1100px; margin: 2rem auto 0; }
.reviews h3 { text-align: center; margin-bottom: 1rem; }
.rev-list { display: grid; gap: .9rem; }
@media (min-width: 720px) { .rev-list { grid-template-columns: repeat(3, 1fr); } }
.rev-card { margin: 0; background: var(--card); border-radius: 18px; padding: 1.1rem 1.2rem; box-shadow: var(--shadow); display: grid; gap: .5rem; align-content: start; }
.rev-card p { margin: 0; font-size: .95rem; line-height: 1.5; }
.rev-card footer { font-weight: 700; color: var(--berry); display: grid; }
.rev-card footer small { font-weight: 400; color: var(--muted); }
.rev-stars { color: var(--gold); font-size: 1.1rem; }
.assist-title { margin: 1.2rem 0 .2rem; color: var(--berry); }
.assist-log { list-style: none; padding: 0; margin: .4rem 0 0; display: grid; gap: .45rem; font-size: .9rem; }
.assist-log li { background: #fff7ec; border-radius: 10px; padding: .45rem .7rem; }

/* glowing "Design your cake" button in the order bar */
@keyframes dfGlow { 0%, 100% { box-shadow: 0 14px 30px -10px rgba(122, 46, 69, .6), 0 0 0 0 rgba(217, 162, 74, .55); } 50% { box-shadow: 0 14px 30px -10px rgba(122, 46, 69, .6), 0 0 0 10px rgba(217, 162, 74, 0); } }
@media (prefers-reduced-motion: reduce) { .mb-design { animation: none; } }
body[data-title-key="meta.titleDesign"] .mb-design { display: none; }
.mb-design { display: block; flex: 1.3; text-align: center; padding: .8rem .6rem; border-radius: 999px; color: #fff; font-weight: 800; text-decoration: none; font-size: .95rem;
  background: linear-gradient(135deg, #d9a24a, #c06c84 55%, #7a2e45); box-shadow: 0 8px 18px -8px rgba(122, 46, 69, .7); animation: dfGlow 2.6s ease-in-out infinite; white-space: nowrap; }
@media (max-width: 760px) {
  .mobile-bar .btn { flex: 1; padding: .8rem .6rem; }
  .mb-wa { padding: .7rem .8rem; }
}

/* cake landing pages (fodelsedagstarta.html and the rest) */
.landing-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem; align-items: center; max-width: 1100px; margin: 0 auto; }
.landing-wrap img { width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.landing-wrap h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.landing-lead { font-size: 1.12rem; color: var(--ink, #3d2a31); }
.landing-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.landing-text { max-width: 780px; margin: 0 auto; font-size: 1.05rem; line-height: 1.65; }
.landing-text h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 2rem; }
.landing-ideas, .area-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.2rem 0; }
.landing-ideas li, .area-list li { background: #fff; border: 1px solid rgba(201, 154, 91, .35); border-radius: 999px; padding: .35rem .9rem; font-size: .95rem; }
.landing-steps { padding-left: 1.3rem; }
.landing-steps li { margin-bottom: .4rem; }
.landing-note { color: var(--muted); font-size: .95rem; }
.footer-cakes { max-width: 900px; }
.footer-cakes b { flex-basis: 100%; text-align: center; color: var(--berry); font-size: .95rem; }
@media (max-width: 760px) {
  .landing-wrap { grid-template-columns: 1fr; gap: 1.4rem; }
  .landing-wrap img { max-height: 340px; }
}

/* ---------- ORDER CHOOSER, CATERING & BUSINESS ---------- */
.order-choose .section-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.order-choose .section-head h1::after { content: ""; display: block; width: 90px; height: 3px; margin: .9rem auto 0; border-radius: 3px; background: var(--gold-foil); }
.choose-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; max-width: 1180px; margin: 0 auto; }
.choose-grid.two { max-width: 820px; }
.choose-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: .7rem;
  padding: 1.8rem 1.6rem; background: var(--card); border: 1px solid rgba(201, 154, 91, .28); border-radius: var(--radius);
  box-shadow: var(--shadow); color: var(--text); text-decoration: none; transition: transform .3s, box-shadow .3s;
}
.choose-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--gold-foil); opacity: .85; }
.choose-card:hover, .choose-card:focus-visible { transform: translateY(-6px); }
.choose-ico { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--blush); font-size: 2.1rem; }
.choose-card h3 { margin: 0; font-size: 1.6rem; color: var(--berry); }
.choose-card p { flex: 1; margin: 0; color: var(--muted); font-size: .97rem; }
.choose-card .btn { margin-top: .4rem; pointer-events: none; }
.choose-other { margin: 2.2rem 0 0; text-align: center; font-weight: 700; }
/* order page: three quick ways to order (2026-11-13: make ordering easier) */
.quick-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 980px; margin: 0 auto; }
.quick-way {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; padding: 1.4rem 1rem;
  background: var(--card); border: 1.5px solid rgba(201, 154, 91, .35); border-radius: var(--radius); box-shadow: var(--shadow);
  color: var(--text); text-decoration: none; transition: transform .2s;
}
.quick-way:hover, .quick-way:focus-visible { transform: translateY(-4px); }
.quick-way b { font-size: 1.15rem; color: var(--berry); }
.quick-way small { color: var(--muted); font-size: .92rem; }
.qw-ico { font-size: 2rem; line-height: 1; }
.quick-wa { background: #25d366; border-color: #25d366; }
.quick-wa b, .quick-wa small { color: #fff; }
.choose-more { margin: 1.4rem 0 0; text-align: center; color: var(--muted); font-weight: 600; }
#order-form, #choose { scroll-margin-top: 90px; }
.more-fields { border: 1px dashed #f0d9dc; border-radius: 16px; padding: .7rem 1rem; }
.more-fields summary { cursor: pointer; font-weight: 700; color: var(--berry); }
.more-fields[open] { display: flex; flex-direction: column; gap: 1rem; }
.more-fields[open] summary { margin-bottom: .2rem; }
@media (max-width: 720px) {
  .quick-ways { grid-template-columns: 1fr; }
  .quick-way { flex-direction: row; flex-wrap: wrap; text-align: left; padding: 1rem 1.1rem; column-gap: .8rem; }
  .quick-way small { flex-basis: 100%; padding-left: 2.8rem; margin-top: -.3rem; }
  .order-wrap .order-form { order: -1; } /* on phones the form comes before the contact list */
}
.order-text h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.bulk-points { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; }
.bulk-points li { padding: .8rem 1rem; background: #fff; border-radius: 16px; box-shadow: 0 8px 20px -14px rgba(122, 46, 69, .4); font-weight: 600; }
.bulk-contact { margin-top: 1.6rem; color: var(--muted); font-weight: 600; }
.form-title { margin: 0; font-size: 1.7rem; color: var(--berry); }
.cat-products { display: flex; flex-direction: column; gap: .7rem; }
.cat-rows { display: flex; flex-direction: column; gap: .7rem; }
.cat-row { display: grid; grid-template-columns: 1.2fr 1.2fr .7fr auto; gap: .6rem; align-items: end; padding: .8rem; background: #fffdfa; border: 1px dashed #f0d9dc; border-radius: 16px; }
.cat-row label { font-size: .82rem; }
.cat-remove {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid #f0d9dc; background: #fff;
  color: var(--berry); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.cat-remove:hover { border-color: var(--rose); }
.cat-add { align-self: flex-start; padding: .6rem 1.2rem; font-size: .95rem; }
.cat-total { margin: 0; font-weight: 700; color: var(--berry); }
.cat-total:empty { display: none; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .5rem; }
.check-grid label {
  flex-direction: row; align-items: center; gap: .5rem; padding: .55rem .75rem; cursor: pointer;
  background: var(--cream); border: 1.5px solid #f0d9dc; border-radius: 12px; color: var(--text); font-weight: 600;
}
.check-grid label:has(input:checked) { border-color: var(--berry); background: #fff8f6; }
.check-grid input { width: auto; margin: 0; accent-color: var(--berry); }
@media (max-width: 560px) {
  .cat-row { grid-template-columns: 1fr auto; }
  .cat-row .cat-prod, .cat-row .cat-fl { grid-column: 1 / -1; }
  .choose-grid { gap: .9rem; }
  .choose-card { display: grid; grid-template-columns: 56px 1fr; column-gap: 1rem; row-gap: .3rem; align-items: start; padding: 1.1rem; }
  .choose-ico { grid-row: 1 / 4; width: 56px; height: 56px; font-size: 1.7rem; }
  .choose-card h3, .choose-card p, .choose-card .btn { grid-column: 2; }
  .choose-card h3 { font-size: 1.35rem; }
  .choose-card p { font-size: .9rem; }
  .choose-card .btn { justify-self: start; margin-top: .3rem; padding: .45rem 1.1rem; font-size: .88rem; }
}

/* the bar's "Send my design" jump lands below the pinned cake preview */
#send-design { scroll-margin-top: 150px; }

/* pages split off the home page: their first title is the page's main heading */
.section-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.section-head h1::after { content: ""; display: block; width: 90px; height: 3px; margin: .9rem auto 0; border-radius: 3px; background: var(--gold-foil); }
.section-head.light h1 { color: #fff; }
.about-wrap h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
@media (max-width: 760px) { .section-head h1 { font-size: 1.9rem; } }

/* gallery page: filter by occasion, and order a cake like the photo */
.gal-filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; max-width: 1100px; margin: 0 auto 1.4rem; }
.gal-filters button { font: inherit; font-weight: 700; font-size: .88rem; padding: .5rem 1rem; border-radius: 999px; border: 1px solid #f0d9dc; background: var(--card); color: var(--berry); cursor: pointer; }
.gal-filters button[aria-pressed="true"] { background: var(--berry); border-color: var(--berry); color: #fff; }
.gal-grid figure[hidden] { display: none; }
.gal-all { text-align: center; margin: 1.6rem 0 0; }
.gal-like-wrap { text-align: center; margin: .8rem 0 0; }

/* home page best sellers: product, box size, price and an order button */
.pop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; max-width: 1100px; margin: 0 auto; }
@media (min-width: 720px) { .pop-grid { grid-template-columns: repeat(4, 1fr); gap: 1.2rem; } }
.pop-card { display: grid; justify-items: center; align-content: start; gap: .2rem; text-align: center; background: var(--card); border-radius: 20px; padding: 1rem .8rem 1.1rem; box-shadow: var(--shadow); text-decoration: none; color: var(--text); transition: transform .15s; }
.pop-card:hover { transform: translateY(-3px); }
.pop-card img { width: 100%; max-width: 170px; height: auto; }
.pop-card b { font-family: var(--serif); color: var(--berry); font-size: 1.25rem; }
.pop-card small { color: var(--muted); }
.pop-price { font-weight: 800; color: var(--berry); font-size: 1.1rem; margin: .2rem 0 .5rem; }
.pop-card .btn { padding: .55rem 1.2rem; }
.gal-copy { text-align: center; color: var(--muted); font-size: .85rem; margin: 1rem auto 0; max-width: 40rem; }
.gal-grid img, .gal-dialog img { -webkit-user-drag: none; -webkit-touch-callout: none; }
.gal-more { text-align: center; margin: 1.2rem 0 0; }
.gal-grid figcaption { position: static; inset: auto; padding: .6rem .8rem .75rem; background: #fff; color: #4a3426; font-weight: 600; line-height: 1.35; } /* under the photo, so the whole cake shows (Imran: "People must see the photo") */
.gal-tabs { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin: 0 auto 1.2rem; }
.gal-tabs a { padding: .7rem 1.3rem; border-radius: 999px; border: 2px solid var(--berry); color: var(--berry); background: #fff; font-weight: 700; text-decoration: none; }
.gal-tabs a.on { background: var(--berry); color: #fff; }
