/* Layout: benzi de culoare care alternează (ciocolată / roz / bleu / cremă),
   despărțite de margini „trase cu poșul” (scallop), ca bordurile torturilor. */
:root {
  --choc: #2b1512;
  --choc-2: #40211c;
  --blush: #fbe3e6;
  --sky: #d6e8f3;
  --cream: #fff8f1;
  --cherry: #b8243f;
  --cherry-2: #951a31;
  --pink: #f2a6b6;
  --gold: #d6ad67;
  --ink: #2b1512;
  --ink-soft: #6d4f49;
  --line: rgba(43, 21, 18, .14);
  --wa: #1fa855;

  --display: "Instrument Serif", "Times New Roman", serif;
  --body: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Pinyon Script", "Brush Script MT", cursive;
  --r: 22px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; color-scheme: light; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h2 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 em, h1 em { font-style: italic; color: var(--cherry); }
h3 { font-size: 1.6rem; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cherry); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
.kicker { font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--cherry); margin-bottom: 14px; }
.note { background: rgba(255,255,255,.6); border: 1px dashed var(--line); border-radius: 14px; padding: 10px 14px; font-size: .92rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 28px; border-radius: 999px; border: 0; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--cherry { background: var(--cherry); color: #fff; box-shadow: 0 12px 24px -12px var(--cherry); }
.btn--cherry:hover { background: var(--cherry-2); }
.btn--line { box-shadow: inset 0 0 0 1.5px currentColor; background: transparent; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--blush); cursor: pointer; font-size: 1rem; }

/* Anunț din panou */
.announce { background: var(--pink); color: var(--choc); text-align: center; font-weight: 700; padding: 10px max(18px, env(safe-area-inset-left, 0px)); font-size: .95rem; position: relative; z-index: 51; }
.announce--closed { background: var(--cherry); color: #fff; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--choc); z-index: 60; }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--choc); color: var(--cream); }
.top__in { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { font-family: var(--script); font-size: 2rem; line-height: 1; text-decoration: none; color: var(--pink); margin: 0; white-space: nowrap; }
.menu { display: flex; gap: 26px; margin-left: auto; }
.menu a { text-decoration: none; font-size: .95rem; opacity: .85; position: relative; }
.menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--pink); transition: right .25s; }
.menu a:hover { opacity: 1; }
.menu a:hover::after { right: 0; }
.bag { background: var(--pink); color: var(--choc); border: 0; border-radius: 999px; padding: 9px 16px; font-weight: 800; cursor: pointer; display: flex; gap: 8px; align-items: center; }
.bag span { background: var(--choc); color: var(--pink); border-radius: 999px; min-width: 22px; height: 22px; display: grid; place-items: center; font-size: .78rem; padding: 0 6px; }
.bag.bump { animation: bump .45s; }
@keyframes bump { 40% { transform: scale(1.15) rotate(-4deg); } }
.burger { display: none; width: 42px; height: 42px; background: none; border: 0; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--cream); margin: 6px 0; transition: .25s; }

/* Hero */
.hero { background: var(--choc); color: var(--cream); padding-top: 40px; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -300px; background: radial-gradient(circle, rgba(242,166,182,.16), transparent 60%); pointer-events: none; }
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-bottom: 56px; position: relative; }
.hero .kicker { color: var(--pink); }
.hero h1 { font-size: clamp(3.4rem, 9vw, 7.6rem); line-height: .92; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: var(--pink); }
.hero h1 .l3 { font-size: .5em; line-height: 1.1; margin-top: .25em; color: #f3dcd2; }
.hero__lead { max-width: 30em; margin-top: 26px; color: #e9cfc7; font-size: 1.1rem; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero__cta .btn--line { color: var(--cream); }
.hero__stage { position: relative; justify-self: center; width: min(440px, 100%); }
.arch { border-radius: 999px 999px 28px 28px; overflow: hidden; aspect-ratio: 3 / 4; border: 10px solid var(--choc-2); box-shadow: 0 40px 80px -30px #000; }
.arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: breathe 9s ease-in-out infinite alternate; }
@keyframes breathe { to { transform: scale(1.12); } }
.badge { position: absolute; left: -46px; bottom: 54px; width: 150px; height: 150px; background: var(--pink); color: var(--choc); border-radius: 50%; display: grid; place-items: center; box-shadow: 0 18px 40px -16px #000; }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge text { font: 800 15px var(--body); letter-spacing: .16em; text-transform: uppercase; fill: var(--choc); }
.badge span { font-size: 2rem; color: var(--cherry); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__float { position: absolute; right: -28px; top: 26px; width: 120px; height: 120px; object-fit: cover; border-radius: 50%; border: 6px solid var(--choc); transform: rotate(8deg); }
.ticker { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0 22px; overflow: hidden; white-space: nowrap; }
.ticker__track { display: inline-flex; gap: 40px; animation: tick 40s linear infinite; font-family: var(--display); font-style: italic; font-size: 1.7rem; color: #f3dcd2; }
.ticker__track span::after { content: "✿"; font-style: normal; color: var(--pink); margin-left: 40px; font-size: 1rem; vertical-align: middle; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Scallops (bordura de cremă) */
.scallop { height: 22px; margin-top: -22px; position: relative; z-index: 1; background: radial-gradient(circle at 50% 100%, var(--sc) 15px, transparent 15.5px) 0 0 / 30px 22px repeat-x; }
.scallop--blush { --sc: var(--blush); }
.scallop--sky { --sc: var(--sky); }
.scallop--cream { --sc: var(--cream); }

/* Sections */
.sec { padding-block: 96px; position: relative; }
.sec--blush { background: var(--blush); }
.sec--sky { background: var(--sky); }
.sec--cream { background: var(--cream); }
.sec--choc { background: var(--choc); color: var(--cream); padding-bottom: 110px; }
.sec--cherry { background: var(--cherry); color: #fff; }
.sec__head { max-width: 760px; margin-bottom: 52px; }
.sec__head--light .kicker { color: var(--pink); }
.sec__head--light h2 em { color: var(--pink); }
.sec__sub { color: var(--ink-soft); margin-top: 18px; font-size: 1.05rem; max-width: 34em; }
.sec--choc .sec__sub { color: #d8bab1; }

/* Collection */
.collection { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.piece { grid-column: span 4; position: relative; border-radius: var(--r); overflow: hidden; background: var(--choc); color: #fff; cursor: pointer; text-align: left; border: 0; padding: 0; min-height: 420px; display: flex; isolation: isolate; }
.piece:nth-child(1) { grid-column: span 7; grid-row: span 2; min-height: 620px; }
.piece:nth-child(2), .piece:nth-child(3) { grid-column: span 5; min-height: 299px; }
.piece:nth-child(7) { grid-column: span 5; }
.piece:nth-child(8) { grid-column: span 7; }
.piece:nth-child(9) { grid-column: span 12; min-height: 320px; }
.piece img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.piece::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(30,12,10,.88)); }
.piece:hover img { transform: scale(1.06); }
.piece__body { margin-top: auto; padding: 26px; width: 100%; display: flex; flex-direction: column; gap: 8px; }
.piece__tag { position: absolute; top: 18px; left: 18px; background: var(--pink); color: var(--choc); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.piece h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.piece:nth-child(1) h3 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.piece p { color: #ecd8d1; font-size: .95rem; max-width: 34em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.piece__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; }
.piece__price { font-family: var(--display); font-size: 1.5rem; }
.piece__price small { font-family: var(--body); font-size: .8rem; opacity: .75; margin-right: 4px; }
.piece__go { background: #fff; color: var(--choc); border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: .88rem; transition: background .2s, color .2s; }
.piece:hover .piece__go { background: var(--cherry); color: #fff; }

/* Builder */
.builder { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.builder__preview { position: sticky; top: 100px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.caketop { --top: #fffaf6; --rim: #fffaf6; --ink: #b48a4c; position: relative; width: min(400px, 82vw); aspect-ratio: 1; border-radius: 50%; transition: --top .3s; }
.caketop__rim { position: absolute; inset: 0; }
.caketop__rim i { position: absolute; left: 50%; top: 50%; width: 13%; aspect-ratio: 1; margin: -6.5% 0 0 -6.5%; border-radius: 50% 50% 46% 46%; background: radial-gradient(circle at 40% 35%, #fff 0 18%, transparent 45%), var(--rim); box-shadow: inset 0 -4px 6px rgba(0,0,0,.08), 0 2px 3px rgba(0,0,0,.06); transition: background .4s; }
.caketop__face { position: absolute; inset: 9%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.55), transparent 55%), var(--top); box-shadow: inset 0 0 0 1px rgba(0,0,0,.04), inset 0 -18px 30px rgba(0,0,0,.06), 0 30px 60px -30px rgba(43,21,18,.6); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 14%; transition: background .4s; }
.caketop__msg { font-family: var(--script); color: var(--ink); font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.05; word-break: break-word; transition: color .4s; text-shadow: 0 1px 0 rgba(255,255,255,.4); }
.caketop__sub { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); opacity: .7; margin-top: 14px; font-weight: 800; }
.caketop.pop .caketop__msg { animation: pop .35s; }
@keyframes pop { 50% { transform: scale(1.06); } }
.builder__hint { order: 3; text-align: center; font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--ink-soft); }
.builder__photo { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; border: 5px solid #fff; box-shadow: 0 10px 30px -14px rgba(0,0,0,.4); align-self: flex-end; margin-top: -130px; position: relative; z-index: 2; order: 2; }
.builder__photo img { width: 100%; height: 100%; object-fit: cover; }
.builder__form { background: #fff; border-radius: 30px; padding: 40px; display: flex; flex-direction: column; gap: 28px; box-shadow: 0 30px 60px -40px rgba(43,21,18,.5); min-width: 0; }
.builder__form h2 { margin-top: -10px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; padding: 0; }
legend b { width: 28px; height: 28px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; font-size: .82rem; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .9rem; }
label small { font-weight: 400; color: var(--ink-soft); }
label > .l { display: block; }
.mt { margin-top: 16px; }
label + label { margin-top: 12px; }
input:not([type=radio]):not([type=checkbox]), select, textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 15px; background: var(--cream); font-weight: 400; font-size: 1rem; transition: border-color .2s, background .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cherry); background: #fff; }
input.invalid, select.invalid { border-color: var(--cherry); background: #fff0f2; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.two label + label { margin-top: 0; }

.models { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; }
.model { flex: none; width: 96px; scroll-snap-align: start; border: 0; background: none; padding: 0; cursor: pointer; text-align: center; font-size: .78rem; font-weight: 600; line-height: 1.2; color: var(--ink-soft); }
.model img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; margin-bottom: 8px; border: 3px solid transparent; outline: 2px solid transparent; transition: .2s; }
.model.is-on { color: var(--ink); }
.model.is-on img { border-color: #fff; outline-color: var(--cherry); }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills--two { display: grid; grid-template-columns: 1fr 1fr; }
.pill { position: relative; flex-direction: row; cursor: pointer; font-weight: 600; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: flex; gap: 10px; justify-content: space-between; align-items: center; width: 100%; border: 1.5px solid var(--line); border-radius: 999px; padding: 11px 18px; transition: .2s; font-size: .92rem; }
.pill span b { font-weight: 800; }
.pill input:checked + span { background: var(--choc); color: var(--cream); border-color: var(--choc); }
.pill input:focus-visible + span { outline: 3px solid var(--cherry); outline-offset: 2px; }

.swatches { display: flex; gap: 14px 22px; flex-wrap: wrap; }
.sw { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); position: relative; transition: transform .2s; }
.sw.is-on { transform: scale(1.1); box-shadow: inset 0 0 0 1px rgba(0,0,0,.1), 0 0 0 3px #fff, 0 0 0 5px var(--cherry); }
.sw span { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); font-size: .7rem; font-weight: 600; margin-top: 6px; white-space: nowrap; color: var(--ink-soft); }
.swatches { padding-bottom: 18px; }

.note--urgent { background: #fff0f2; border-color: var(--cherry); color: var(--cherry-2); font-weight: 600; }
#billWrap { display: grid; gap: 12px; }
#billWrap legend { font-weight: 800; margin-bottom: 4px; }
#pjFields { display: grid; gap: 12px; }
.allergens { font-size: .82rem; color: var(--ink-soft); margin-top: 10px; }
.allergens:empty { display: none; }
.builder__foot { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; border-top: 1px dashed var(--line); padding-top: 24px; }
.qty { display: flex; align-items: center; background: var(--cream); border-radius: 999px; }
.qty button { width: 44px; height: 48px; border: 0; background: none; cursor: pointer; font-size: 1.2rem; }
.qty output { min-width: 22px; text-align: center; font-weight: 800; }

/* Film gallery */
.film { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x proximity; background: #120807; padding: 26px 0; position: relative; scrollbar-width: none; cursor: grab; }
.film::-webkit-scrollbar { display: none; }
.film::before, .film::after { content: ""; position: sticky; flex: none; }
.film + .film { margin-top: 18px; }
.frame { flex: none; position: relative; padding: 0 9px; scroll-snap-align: center; border: 0; background: none; cursor: zoom-in; }
.frame::before, .frame::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background: radial-gradient(circle, var(--choc) 0 3px, transparent 3.5px) 0 0 / 18px 12px repeat-x; }
.frame::before { top: -20px; }
.frame::after { bottom: -20px; }
.frame img, .frame video { height: 300px; width: auto; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; filter: saturate(1.05); transition: filter .3s, transform .3s; }
.frame:hover img { transform: scale(1.02); }
.frame .play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 2.6rem; text-shadow: 0 2px 12px rgba(0,0,0,.6); pointer-events: none; }
.film--rev .frame img { height: 220px; }

/* Pastries menu board */
.menuboard { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.menuboard__img { margin: 34px 0 0; }
.menuboard__img img { border-radius: 999px 999px 24px 24px; aspect-ratio: 4/5; object-fit: cover; width: 78%; }
.board { list-style: none; margin: 0; padding: 0; }
.board li { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.board h3 { font-size: 1.7rem; display: flex; align-items: baseline; gap: 12px; }
.board h3::after { content: ""; flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-6px); min-width: 20px; }
.board p { color: var(--ink-soft); font-size: .92rem; margin-top: 4px; }
.board .pr { font-family: var(--display); font-size: 1.6rem; white-space: nowrap; }
.board button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--choc); background: transparent; font-size: 1.4rem; cursor: pointer; transition: .2s; }
.board button:hover { background: var(--choc); color: var(--cream); }

/* Journey */
.journey { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.journey::before { content: ""; position: absolute; left: 6%; right: 6%; top: 34px; border-top: 2px dashed rgba(184, 36, 63, .35); }
.journey li { padding: 0 22px; position: relative; }
.journey i { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #fff; font: italic 2rem var(--display); color: var(--cherry); margin-bottom: 22px; box-shadow: 0 0 0 8px var(--blush); }
.journey h3 { margin-bottom: 8px; }
.journey p { color: var(--ink-soft); font-size: .96rem; }

/* About */
.about { display: grid; grid-template-columns: 1.3fr .7fr; gap: 64px; align-items: center; }
blockquote { margin: 0; }
blockquote p { font-family: var(--display); font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.1; }
blockquote footer { margin-top: 24px; font-weight: 600; opacity: .85; }
.promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.promises li { border-top: 1px solid rgba(255,255,255,.3); padding-top: 16px; color: #ffe3e8; }
.promises b { color: #fff; display: block; font-size: 1.05rem; }

/* FAQ */
.faqwrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.sec__head--left { margin-bottom: 0; position: sticky; top: 100px; }
.sec__head--left a { color: var(--cherry); font-weight: 600; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 50px 24px 0; font-family: var(--display); font-size: 1.6rem; line-height: 1.15; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' stroke='%23b8243f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 50px 24px 0; color: var(--ink-soft); }

/* Footer */
.foot { background: var(--choc); color: var(--cream); padding-block: 80px 40px; }
.foot__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.brand--xl { font-size: clamp(3.4rem, 7vw, 5.6rem); margin-bottom: 22px; white-space: normal; }
.foot__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.foot__contact li { display: grid; gap: 2px; }
.foot__contact span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); font-weight: 800; }
.foot__contact a, .foot__contact em { font-style: normal; text-decoration: none; font-size: 1.05rem; }
.foot__legal { display: flex; flex-direction: column; gap: 8px; font-size: .92rem; }
.foot__legal a { color: #e6cfc8; }
.foot__legal p { color: #a88c85; font-size: .8rem; margin-top: 12px; }
.socials { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.socials a { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px 14px; text-decoration: none; color: var(--cream); }

.wa-float { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(0,0,0,.5); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }

/* Drawer */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 71; background: var(--cream); display: flex; flex-direction: column; transform: translateX(105%); visibility: hidden; transition: transform .4s cubic-bezier(.2,.8,.2,1), visibility .4s; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 2.2rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 6px 24px; }
.drawer__foot { padding: 20px 24px; border-top: 1px solid var(--line); }
.sum { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.sum strong { font-family: var(--display); font-size: 1.8rem; font-weight: 400; }
.veil { position: fixed; inset: 0; background: rgba(43,21,18,.5); z-index: 70; backdrop-filter: blur(2px); }
.ci { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ci img, .ci__ph { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; background: var(--blush); display: grid; place-items: center; font-size: 1.6rem; }
.ci strong { font-family: var(--display); font-weight: 400; font-size: 1.35rem; display: block; line-height: 1.1; }
.ci small { display: block; color: var(--ink-soft); font-size: .82rem; margin-top: 4px; }
.ci__row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.ci .qty button { width: 32px; height: 34px; }
.ci__rm { background: none; border: 0; padding: 0; margin-top: 6px; text-decoration: underline; color: var(--ink-soft); cursor: pointer; font-size: .8rem; }
.empty { text-align: center; padding: 70px 10px; }
.empty p { font-family: var(--display); font-size: 1.8rem; margin-bottom: 18px; }

/* Checkout sheet */
.sheet { border: 0; padding: 0; width: min(860px, 100% - 24px); max-height: calc(100dvh - 24px); border-radius: 30px; background: var(--cream); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); }
.sheet::backdrop { background: rgba(43,21,18,.6); backdrop-filter: blur(3px); }
.sheet__x { position: absolute; top: 14px; right: 14px; margin: 0; z-index: 2; }
.co { padding: 36px 40px; }
.co__steps { list-style: none; display: flex; gap: 10px; margin: 0 50px 28px 0; padding: 0; counter-reset: s; }
.co__steps li { white-space: nowrap; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; opacity: .55; }
.co__steps li::before { counter-increment: s; content: counter(s); width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; }
.co__steps li + li::after { content: none; }
.co__steps li.is-on { opacity: 1; color: var(--cherry); }
.co__pane { display: flex; flex-direction: column; gap: 16px; }
.co__pane h2 { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: 6px; }
.co__pane label + label { margin-top: 0; }
.check { flex-direction: row; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 20px; height: 20px; accent-color: var(--cherry); margin-top: 2px; flex: none; }
.check a { color: var(--cherry); }
.err { background: #fff0f2; color: var(--cherry-2); border-radius: 12px; padding: 10px 14px; font-size: .92rem; }
.co__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 18px; border-top: 1px dashed var(--line); margin-top: 6px; }
.co__total { display: flex; flex-direction: column; }
.co__total span, .co__total small { font-size: .8rem; color: var(--ink-soft); }
.co__total strong { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1; }

.pay { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: start; }
.pay__qr { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ticket { background: #fff; border-radius: 20px; padding: 18px 18px 14px; position: relative; box-shadow: 0 20px 40px -24px rgba(43,21,18,.5); }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 236px; width: 20px; height: 20px; border-radius: 50%; background: var(--cream); }
.ticket::before { left: -10px; }
.ticket::after { right: -10px; }
#qrBox img, #qrBox canvas { width: 210px !important; height: 210px !important; display: block; }
.qr-missing { width: 210px; height: 210px; display: grid; place-items: center; text-align: center; font-size: .85rem; color: var(--ink-soft); padding: 14px; background: var(--blush); border-radius: 12px; }
.ticket__amt { text-align: center; border-top: 2px dashed var(--line); margin-top: 18px; padding-top: 12px; }
.ticket__amt span { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 800; }
.ticket__amt strong { font-family: var(--display); font-weight: 400; font-size: 2.2rem; color: var(--cherry); line-height: 1.1; }
.pay__info { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.kv { margin: 0; }
.kv div { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.kv dt { width: 100px; color: var(--ink-soft); font-size: .85rem; }
.kv dd { margin: 0; font-weight: 600; flex: 1; min-width: 170px; word-break: break-word; }
.copy { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 2px 10px; font-size: .74rem; font-weight: 700; cursor: pointer; margin-left: 4px; }
.co__done { text-align: center; align-items: center; }
.caketop--mini { width: 180px; }
.caketop--mini .caketop__msg { font-size: 2.1rem; }
.done__btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.done__sum { width: 100%; text-align: left; }
.done__sum summary { cursor: pointer; font-weight: 600; }
.done__sum pre { white-space: pre-wrap; font: .85rem/1.5 var(--body); background: #fff; border-radius: 14px; padding: 16px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; width: 100vw; height: 100dvh; max-width: none; max-height: none; }
.lightbox::backdrop { background: rgba(18, 8, 7, .94); }
.lb__stage { width: 100%; height: 100%; display: grid; place-items: center; padding: 60px; }
.lb__stage img, .lb__stage video { max-width: 100%; max-height: calc(100dvh - 120px); border-radius: 8px; }
.lb { position: fixed; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.6rem; cursor: pointer; }
.lb:hover { background: var(--cherry); }
.lb--x { top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; font-size: 1rem; }
.lb--prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb--next { right: 14px; top: 50%; transform: translateY(-50%); }

.toast { position: fixed; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 160px); visibility: hidden; background: var(--choc); color: var(--cream); padding: 13px 22px; border-radius: 999px; z-index: 90; transition: transform .35s, visibility .35s; font-weight: 600; max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }

/* Animație la intrarea în ecran (conținutul rămâne vizibil fără JS) */
.js-anim .rise { transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .8s; }
.js-anim .rise:not(.in) { transform: translateY(30px); opacity: .001; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1020px) {
  .piece, .piece:nth-child(n) { grid-column: span 6; grid-row: auto; min-height: 380px; }
  .piece:nth-child(1) { grid-column: span 12; min-height: 480px; }
  .piece:nth-child(9) { grid-column: span 12; }
  .builder { grid-template-columns: 1fr; gap: 36px; }
  .builder__preview { position: static; }
  .journey { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .journey::before { display: none; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__big { grid-column: span 2; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .menu { position: fixed; left: 0; right: 0; top: calc(66px + env(safe-area-inset-top, 0px)); flex-direction: column; gap: 0; background: var(--choc); padding: 8px max(18px, env(safe-area-inset-left, 0px)) 22px; transform: translateY(-130%); transition: transform .35s; z-index: -1; }
  .menu.is-open { transform: none; }
  .menu a { font-family: var(--display); font-size: 2rem; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); opacity: 1; }
  .menu a::after { display: none; }
  .bag { margin-left: auto; }
  .burger[aria-expanded=true] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded=true] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero__in { grid-template-columns: 1fr; gap: 44px; }
  .hero__stage { width: min(340px, 78%); }
  .badge { width: 116px; height: 116px; left: -34px; bottom: 30px; }
  .badge text { font-size: 18px; }
  .hero__float { width: 90px; height: 90px; right: -22px; }
  .menuboard, .about, .faqwrap { grid-template-columns: 1fr; gap: 36px; }
  .menuboard__img { display: none; }
  .sec__head--left { position: static; }
  .sec { padding-block: 72px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand { font-size: 1.7rem; }
  .piece, .piece:nth-child(n) { grid-column: span 12; min-height: 400px; }
  .builder__form { padding: 26px 18px; border-radius: 24px; gap: 24px; }
  .two, .pills--two { grid-template-columns: 1fr; }
  .builder__foot .btn { width: 100%; }
  .frame img { height: 240px; }
  .film--rev .frame img { height: 180px; }
  .journey { grid-template-columns: 1fr; gap: 28px; }
  .journey li { display: grid; grid-template-columns: 68px 1fr; gap: 0 18px; padding: 0; }
  .journey i { grid-row: span 2; margin: 0; }
  .board li { grid-template-columns: 1fr auto; }
  .board li > div { grid-column: span 2; }
  .board h3 { font-size: 1.45rem; }
  .foot__in { grid-template-columns: 1fr; }
  .foot__big { grid-column: auto; }
  .sheet { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .co { padding: 24px 18px calc(24px + env(safe-area-inset-bottom, 0px)); }
  .pay { grid-template-columns: 1fr; }
  .co__foot { flex-direction: column-reverse; align-items: stretch; }
  .co__foot .btn { width: 100%; }
  .co__total { align-items: center; }
  .lb__stage { padding: 70px 8px; }
  .faq summary { font-size: 1.35rem; }
}
