/* ================= LuluBoo — paginile clientului: cont, creare, carte, comandă ================= */

/* ---------- fereastra de autentificare ---------- */
.auth-modal { max-width: 460px; text-align: left; }
.auth-modal h2, .auth-modal .au-lead { text-align: center; }
.au-lead { margin: -2px 0 14px; }
.au-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin: 6px 0 16px; border-radius: 999px; background: #f3e8d8; }
.au-tabs button { min-height: 44px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-weight: 700; color: #6a4a40; cursor: pointer; transition: background-color .2s, color .2s; }
.au-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 3px 8px rgba(120, 80, 60, .12); }
.au-form { display: grid; gap: 12px; }
.au-fld { display: grid; gap: 6px; font-weight: 700; color: #3d1d17; }
.au-fld input, .ac-wrap input:not([type=checkbox]), .co-wrap input:not([type=checkbox]):not([type=radio]), .co-wrap textarea, .cr-card textarea {
  width: 100%; min-height: 50px; padding: .7em 1.1em; font: inherit; font-size: 1.02rem; color: var(--ink);
  background: #fff; border: 1.6px solid #e3d6c2; border-radius: 18px; transition: border-color .2s, box-shadow .2s;
}
.au-fld input:focus, .ac-wrap input:focus, .co-wrap input:focus, .co-wrap textarea:focus, .cr-card textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(246, 181, 50, .35); }
.au-check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: #4a3b38; cursor: pointer; }
.au-check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--orange); }
.au-check a { color: var(--orange); }
.au-submit { width: 100%; justify-content: center; margin-top: 4px; }
.au-link { justify-self: center; min-height: 40px; border: 0; background: none; font: inherit; font-weight: 600; color: var(--orange); text-decoration: underline; cursor: pointer; }
.au-ok { padding: 12px 16px; border-radius: 16px; background: #e3f5e1; color: #245c2b; font-weight: 600; }

/* ---------- ecranul de creare ---------- */
.cr-hero { padding-bottom: 0; }
.cr-wrap { max-width: 980px; }
.cr-sec { padding: clamp(6px, 1.5vw, 16px) 0 clamp(36px, 6vw, 70px); }
.cr-stage { padding: clamp(18px, 3vw, 32px); margin-bottom: clamp(16px, 2.4vw, 24px); background: rgba(255, 253, 248, .94); border-radius: 34px; box-shadow: 0 0 0 5px rgba(255, 255, 255, .85), 0 18px 40px rgba(120, 80, 60, .12); }
.cr-paper { position: relative; aspect-ratio: 5 / 1; border-radius: 22px; background: #fffef9; box-shadow: inset 0 0 0 1.6px #efe2cf; overflow: hidden; }
.cr-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.cr-lines path { stroke: #d9e8f5; stroke-width: 2; fill: none; vector-effect: non-scaling-stroke; }
.cr-ink { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cr-ink path { fill: none; stroke: #1b1b1b; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; transition: stroke-dashoffset .2s linear; }
/* vârful creionului (stânga-sus a imaginii, la ~17% din înălțime) stă pe linia scrisă */
.cr-kids { position: absolute; width: 27%; transform: translate(0, -17%); pointer-events: none; }
.cr-kids img { display: block; width: 100%; height: auto; animation: cr-walk .42s ease-in-out infinite alternate; transform-origin: 10% 20%; }
@keyframes cr-walk { from { transform: translateY(0) rotate(-1.2deg); } to { transform: translateY(-5%) rotate(1.2deg); } }
.cr-stage.is-paused .cr-kids img { animation: none; }
.cr-progress { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.cr-bar { flex: 1; height: 16px; border-radius: 999px; background: #f3e8d8; overflow: hidden; box-shadow: inset 0 0 0 1.6px #ead9c2; }
.cr-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: repeating-linear-gradient(-45deg, var(--orange) 0 14px, #f08a4f 14px 28px); animation: cr-stripes 1s linear infinite; }
@keyframes cr-stripes { to { background-position: 40px 0; } }
.cr-progress b { min-width: 3.2em; text-align: right; font-family: 'Fredoka', var(--f-body); font-size: 1.3rem; }
.cr-step { margin: 12px 0 0; min-height: 1.6em; text-align: center; font-family: var(--f-hand); font-weight: 600; font-size: clamp(1.05rem, 2vw, 1.25rem); color: #6a4a40; }
.cr-pages { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 10px; margin: 18px 0 0; padding: 0; }
.cr-pages li { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 14px; background: #fff; border: 2px dashed #e0cdb6; color: #c9b39b; font-size: 1.4rem; overflow: hidden; }
.cr-pages li.is-done { border: 0; box-shadow: 0 4px 10px rgba(120, 80, 60, .16); animation: pop-in .5s var(--ease-spring) both; }
.cr-pages img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cr-pages b { position: absolute; bottom: 4px; right: 6px; font-size: .7rem; color: #fff; background: rgba(27, 27, 27, .55); padding: 1px 6px; border-radius: 999px; }
.cr-card { text-align: left; }
.cr-done { display: grid; grid-template-columns: minmax(140px, 240px) 1fr; gap: clamp(16px, 3vw, 30px); align-items: center; }
.cr-done-cover { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; box-shadow: 0 14px 30px rgba(120, 80, 60, .22); transform: rotate(-3deg); }
.cr-done-cover img { width: 100%; height: 100%; object-fit: cover; }
.cr-cover-title { position: absolute; inset: 8% 6% auto; text-align: center; font-size: clamp(1rem, 2.4vw, 1.5rem); line-height: 1.1; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
.cr-note { text-align: center; color: #6a4a40; font-size: .98rem; max-width: 640px; margin: 4px auto 0; }
@media (max-width: 640px) {
  .cr-paper { aspect-ratio: 3 / 1; }
  .cr-kids { width: 40%; }
  .cr-done { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .cr-done-cover { width: 70%; }
}

/* ---------- mini-jocul ---------- */
.gm-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.gm-head .dt-h { margin-bottom: 4px; }
.gm-hint { margin: 0 0 10px; color: #6a4a40; }
.gm-score { margin: 0; padding: 8px 16px; border-radius: 999px; background: var(--mustard-2, #fde9b8); font-weight: 700; }
.gm-score b { font-family: 'Fredoka', var(--f-body); font-size: 1.3rem; }
.gm-word { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 6px 0 14px; }
.gm-word span { width: clamp(36px, 7vw, 48px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 14px; border: 2px dashed #e0cdb6; font-family: 'Fredoka', var(--f-body); font-weight: 700; font-size: clamp(1.2rem, 3vw, 1.6rem); color: #e0cdb6; transition: transform .3s var(--ease-spring), background-color .2s, color .2s; }
.gm-word span.is-got { border: 0; background: var(--orange); color: #fff; transform: rotate(-4deg) scale(1.06); }
.gm-area { position: relative; height: clamp(260px, 42vh, 380px); border-radius: 24px; overflow: hidden; background: linear-gradient(#cfe8fb, #fdf3e3); touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.gm-cloud { position: absolute; width: 120px; height: 40px; border-radius: 999px; background: #fff; opacity: .8; }
.gm-cloud::before, .gm-cloud::after { content: ''; position: absolute; border-radius: 50%; background: inherit; }
.gm-cloud::before { width: 54px; height: 54px; left: 18px; top: -26px; }
.gm-cloud::after { width: 40px; height: 40px; left: 60px; top: -16px; }
.gm-cloud.c1 { top: 40px; left: 8%; }
.gm-cloud.c2 { top: 110px; right: 10%; transform: scale(.8); }
.gm-item { position: absolute; top: 0; left: 0; width: 56px; height: 56px; border: 3px solid #fff; border-radius: 18px; color: #fff; font-family: 'Fredoka', var(--f-body); font-weight: 700; font-size: 1.7rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 14px rgba(27, 27, 27, .18); will-change: transform; }
.gm-item.is-star { border-radius: 50%; font-size: 1.5rem; }
.gm-item.gm-pop { animation: gm-pop .4s ease-out forwards; }
.gm-item.gm-no { animation: gm-no .35s ease; }
@keyframes gm-pop { to { opacity: 0; scale: 1.8; } }
@keyframes gm-no { 25% { translate: -6px 0; } 75% { translate: 6px 0; } }

/* ---------- cartea (eBook) ---------- */
.bk-sec { padding: clamp(16px, 3vw, 30px) 0 clamp(40px, 6vw, 80px); }
.bk-wrap { max-width: 1240px; }
.bk-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.bk-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.bk-tools [aria-pressed="true"] { background: var(--ink); color: #fff; }
.bk-title { margin: clamp(10px, 2vw, 18px) 0 6px; text-align: center; font-size: clamp(1.8rem, 4vw, 3rem); color: #3d1d17; }
.bk-notice { max-width: 760px; margin: 8px auto; padding: 12px 18px; border-radius: 18px; background: #fde9b8; text-align: center; font-weight: 600; }
.bk-stage { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(6px, 1.5vw, 18px); margin-top: clamp(12px, 2vw, 20px); }
.bk-stage:fullscreen { padding: 3vh 2vw; background: #fbf5ea; }
.bk-stage:fullscreen .bk-book { max-width: min(96vw, 170vh); }
.bk-nav { width: 54px; height: 54px; border-radius: 50%; border: 1.6px solid var(--ink); background: #fff; cursor: pointer; display: grid; place-items: center; transition: transform .25s var(--ease-spring), opacity .2s; }
.bk-nav::before { content: ''; width: 14px; height: 14px; border: solid var(--ink); border-width: 0 0 3.4px 3.4px; transform: rotate(45deg); margin-left: 5px; }
.bk-nav.next::before { transform: rotate(-135deg); margin: 0 5px 0 0; }
.bk-nav:hover:not(:disabled) { transform: scale(1.08); }
.bk-nav:disabled { opacity: .3; cursor: default; }
.bk-book { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 1080px; margin: 0 auto; aspect-ratio: 2 / 1; perspective: 2400px; border-radius: 10px; box-shadow: 0 30px 60px rgba(90, 55, 40, .22); background: #fffdf7; }
.bk-book::after { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 46px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .09) 45%, rgba(0, 0, 0, .14) 50%, rgba(0, 0, 0, .09) 55%, transparent); pointer-events: none; z-index: 3; }
.bk-book.is-cover { box-shadow: none; background: transparent; }
.bk-book.is-cover::after { display: none; }
.bk-book.is-cover .bk-side:last-child { box-shadow: 0 30px 60px rgba(90, 55, 40, .25); border-radius: 4px 14px 14px 4px; overflow: hidden; }
.bk-book.is-fade { animation: fade-in .26s ease both; }
.bk-side { position: relative; min-width: 0; overflow: hidden; }
.bk-side:first-child { border-radius: 10px 0 0 10px; }
.bk-side:last-child { border-radius: 0 10px 10px 0; }
.bk-leaf { position: absolute; top: 0; bottom: 0; width: 50%; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.45, .05, .25, 1); z-index: 5; }
.bk-leaf.fwd { left: 50%; transform-origin: left center; }
.bk-leaf.back { left: 0; transform-origin: right center; }
.bk-leaf.fwd.is-turning { transform: rotateY(-180deg); }
.bk-leaf.back.is-turning { transform: rotateY(180deg); }
.leaf-face { position: absolute; inset: 0; backface-visibility: hidden; background: #fffdf7; overflow: hidden; }
.leaf-face.rear { transform: rotateY(180deg); }
.bk-leaf.fwd .leaf-face.front { box-shadow: inset 12px 0 20px -12px rgba(0, 0, 0, .25); }
.bk-leaf.back .leaf-face.front { box-shadow: inset -12px 0 20px -12px rgba(0, 0, 0, .25); }

.pg { position: relative; width: 100%; height: 100%; background: #fffdf7; }
.pg-blank { background: transparent; }
.pg-img { position: relative; width: 100%; height: 100%; overflow: hidden; background: #f6efe3; }
.pg-img img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.pg-noimg { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3rem; color: #d9c5ad; }
.wm { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; font-family: 'Fredoka', var(--f-body); font-weight: 700; font-size: clamp(.9rem, 2.4vw, 1.6rem); letter-spacing: .08em; color: rgba(255, 255, 255, .6); text-shadow: 0 1px 4px rgba(0, 0, 0, .35); transform: rotate(-24deg); white-space: nowrap; }
.pg-redraw { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); z-index: 2; }
.pg-spin { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; background: rgba(255, 253, 247, .82); font-weight: 700; z-index: 3; }
.pg-spin i { width: 44px; height: 44px; border-radius: 50%; border: 5px solid #f3e1cd; border-top-color: var(--orange); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pg-cover .pg-cover-title { position: absolute; inset: 7% 7% auto; margin: 0; text-align: center; font-size: clamp(1.3rem, 3.2vw, 2.6rem); line-height: 1.08; color: #fff; text-shadow: 0 3px 14px rgba(0, 0, 0, .5); z-index: 1; }
.pg-brand { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-family: 'Fredoka', var(--f-body); font-weight: 700; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); letter-spacing: .1em; }
.pg-txt, .pg-ded, .pg-title, .pg-end, .pg-back { display: grid; place-items: center; padding: clamp(18px, 4vw, 54px); text-align: center; background: #fffdf7; }
.pg-txt-in p, .pg-ded-txt { margin: 0; font-size: clamp(.95rem, 1.7vw, 1.45rem); line-height: 1.55; color: #2b1b17; white-space: pre-line; }
.pg-num { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-size: .85rem; color: #a08c80; }
.pg-ded-txt { font-style: italic; max-width: 26ch; }
.pg-heart { position: absolute; bottom: 18%; color: var(--pink); font-size: 1.6rem; }
.pg-title h2 { font-size: clamp(1.3rem, 2.8vw, 2.4rem); line-height: 1.1; color: #3d1d17; }
.pg-title p { color: #6a4a40; }
.pg-logo { width: 60%; max-width: 260px; margin-bottom: 12px; }
.pg-end h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); color: var(--orange); }
.pg-back { background: #fde9b8; }
.pg-back img { width: 70%; max-width: 300px; }
.pg-back p { font-weight: 700; color: #6a4a40; }
.is-editing [contenteditable] { outline: 2px dashed var(--orange); outline-offset: 6px; border-radius: 6px; cursor: text; }
.is-editing [contenteditable]:focus { outline-style: solid; background: rgba(253, 233, 184, .45); }
.bk-count { margin: 12px 0 0; text-align: center; color: #8a7a74; font-weight: 600; }
.bk-thumbs { position: relative; list-style: none; display: flex; gap: 10px; margin: 12px 0 0; padding: 6px 4px 12px; overflow-x: auto; scroll-snap-type: x proximity; }
.bk-thumbs li { flex: none; scroll-snap-align: center; }
.bk-thumbs button { position: relative; width: 74px; aspect-ratio: 1; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #f3e8d8; cursor: pointer; box-shadow: 0 0 0 2px transparent; transition: box-shadow .2s, transform .25s var(--ease-spring); }
.bk-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.bk-thumbs b { position: absolute; bottom: 4px; right: 6px; font-size: .7rem; color: #fff; background: rgba(27, 27, 27, .55); padding: 1px 6px; border-radius: 999px; }
.bk-thumbs .is-now button { box-shadow: 0 0 0 3px var(--orange); transform: translateY(-3px); }
.bk-edit-tip { text-align: center; max-width: 640px; margin: 4px auto 0; padding: 10px 16px; border-radius: 16px; background: #e9f4fd; color: #2c5a80; font-weight: 600; }
.bk-order { margin-top: clamp(24px, 4vw, 44px); padding: clamp(20px, 3.4vw, 36px); background: rgba(255, 253, 248, .94); border-radius: 30px; box-shadow: 0 0 0 5px rgba(255, 255, 255, .8), 0 14px 30px rgba(120, 80, 60, .1); text-align: center; }
.bk-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; text-align: left; }
.bk-prod { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 16px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1.6px #efdcc6; }
.bk-prod.is-print { box-shadow: 0 0 0 2.4px var(--mustard); }
.bk-prod img { width: 96px; height: auto; }
.bk-prod h3 { font-family: 'Fredoka', var(--f-body); font-size: 1.3rem; }
.bk-price { margin: 4px 0 10px; font-family: 'Fredoka', var(--f-body); font-size: 1.5rem; font-weight: 700; color: var(--orange); }
.bk-price s { color: #a08c80; font-size: 1rem; }
.bk-has { margin: -4px 0 8px; color: #2f7a3a; font-weight: 700; }
.bk-hint { width: 100%; padding: 12px 14px; font: inherit; border: 1.6px solid #e3d6c2; border-radius: 16px; resize: vertical; }
.bk-left { font-size: .9rem; }
@media (max-width: 760px) {
  .bk-stage { grid-template-columns: 1fr; }
  .bk-nav { position: absolute; top: 40%; z-index: 6; width: 44px; height: 44px; background: rgba(255, 255, 255, .9); }
  .bk-nav.prev { left: -6px; } .bk-nav.next { right: -6px; }
  .bk-book, .bk-book.is-single { grid-template-columns: 1fr; aspect-ratio: auto; max-width: 520px; box-shadow: 0 18px 40px rgba(90, 55, 40, .2); }
  .bk-book::after { display: none; }
  .bk-book .bk-side { border-radius: 14px; }
  .pg-cover, .pg-ded, .pg-end { aspect-ratio: 1; }
  .pg-both { display: grid; }
  .pg-both .pg-img { aspect-ratio: 1; height: auto; }
  .pg-both .pg-txt-in { padding: 20px 20px 40px; text-align: center; }
  .pg-txt-in p, .pg-ded-txt { font-size: 1.12rem; }
}

/* ---------- PDF / tipărire ---------- */
body.is-print { background: #fff; }
.print-book { display: grid; gap: 20px; padding: 20px; }
.print-page { width: 100%; max-width: 800px; aspect-ratio: 1; margin: 0 auto; overflow: hidden; }
.print-page .wm, .print-page .pg-redraw { display: none; }
@media print {
  @page { size: 210mm 210mm; margin: 0; }
  .print-book { padding: 0; gap: 0; }
  .print-page { max-width: none; width: 210mm; height: 210mm; page-break-after: always; break-after: page; }
}

/* ---------- comanda ---------- */
.co-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(16px, 3vw, 28px); align-items: start; max-width: 1180px; }
.co-side { position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); }
.co-products { display: grid; gap: 12px; }
.co-prod { display: grid; grid-template-columns: auto 70px 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1.6px #efdcc6; cursor: pointer; transition: box-shadow .2s; }
.co-prod.is-on { box-shadow: 0 0 0 3px var(--orange); }
.co-prod input { width: 22px; height: 22px; accent-color: var(--orange); }
.co-prod img { width: 70px; height: auto; }
.co-prod b { display: block; font-family: 'Fredoka', var(--f-body); font-size: 1.2rem; }
.co-prod small { color: #6a4a40; }
.co-prod em { font-style: normal; font-family: 'Fredoka', var(--f-body); font-weight: 700; font-size: 1.25rem; color: var(--orange); white-space: nowrap; }
.co-qty { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-weight: 700; }
.co-step { display: flex; align-items: center; gap: 14px; }
.co-step button { width: 46px; height: 46px; border-radius: 50%; border: 1.6px solid var(--ink); background: #fff; font-size: 1.4rem; cursor: pointer; }
.co-step b { min-width: 2ch; text-align: center; font-size: 1.3rem; }
.co-preview { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 220px); gap: 12px; overflow-x: auto; padding: 4px 2px 14px; margin-bottom: 12px; scroll-snap-type: x proximity; }
.co-pg { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1.6px #efdcc6; scroll-snap-align: start; }
.co-pg img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.co-pg .wm { height: 0; padding-top: 100%; inset: 0 0 auto; display: block; }
.co-pg figcaption { padding: 10px 12px; font-size: .92rem; line-height: 1.45; color: #2b1b17; max-height: 9.5em; overflow: auto; }
.co-pg figcaption b { color: var(--orange); margin-right: 4px; }
.co-pg.is-cover figcaption { font-size: 1.1rem; text-align: center; }
.co-sum { text-align: left; }
.co-cover { width: 120px; margin: -4px auto 10px; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 22px rgba(120, 80, 60, .2); transform: rotate(-3deg); }
.co-cover img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.co-book { text-align: center; font-size: 1.3rem; color: #3d1d17; margin-bottom: 6px; }
.co-promo { display: flex; gap: 8px; margin: 10px 0; }
.co-promo input { min-height: 44px !important; text-transform: uppercase; }
.co-total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0; font-weight: 700; font-size: 1.1rem; }
.co-total b { font-family: 'Fredoka', var(--f-body); font-size: 1.8rem; color: var(--orange); }
.co-pay { width: 100%; justify-content: center; }
.co-secure { margin: 10px 0 0; font-size: .85rem; color: #8a7a74; text-align: center; }
@media (max-width: 920px) { .co-wrap { grid-template-columns: 1fr; } .co-side { position: static; } }
@media (max-width: 520px) { .co-prod { grid-template-columns: auto 54px 1fr; } .co-prod img { width: 54px; } .co-prod em { grid-column: 3; } }

/* ---------- mulțumim ---------- */
.ty-row { justify-content: center; margin-top: 10px; }

/* ---------- contul meu ---------- */
.ac-wrap { max-width: 980px; }
.ac-row { display: flex; gap: 10px; flex-wrap: wrap; }
.ac-tabs { display: flex; gap: 6px; padding: 6px; margin-bottom: 18px; border-radius: 999px; background: rgba(255, 253, 248, .92); box-shadow: 0 6px 18px rgba(120, 80, 60, .1); overflow-x: auto; }
.ac-tabs button { flex: 1; min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-weight: 700; color: #6a4a40; cursor: pointer; white-space: nowrap; }
.ac-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.ac-books { list-style: none; display: grid; gap: 16px; margin: 0; padding: 0; }
.ac-book { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 16px; border-radius: 26px; background: rgba(255, 253, 248, .95); box-shadow: 0 0 0 4px rgba(255, 255, 255, .8), 0 10px 24px rgba(120, 80, 60, .1); }
.ac-cover { display: grid; place-items: center; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: #f3e8d8; font-size: 2.4rem; color: #d0b89e; text-decoration: none; }
.ac-cover img { width: 100%; height: 100%; object-fit: cover; }
.ac-info h3 { font-family: 'Fredoka', var(--f-body); font-size: 1.35rem; }
.ac-info h3 a { color: #3d1d17; text-decoration: none; }
.ac-meta { margin: 2px 0 8px; color: #8a7a74; font-size: .92rem; }
.ac-st { display: inline-block; margin: 0 6px 6px 0; padding: 3px 12px; border-radius: 999px; background: #f3e8d8; font-weight: 700; font-size: .85rem; color: #6a4a40; }
.ac-st.st-ready, .ac-st.st-paid, .ac-st.st-delivered { background: #e3f5e1; color: #245c2b; }
.ac-st.st-writing, .ac-st.st-illustrating, .ac-st.st-draft, .ac-st.st-in_production, .ac-st.st-shipped { background: #e9f4fd; color: #2c5a80; }
.ac-st.st-needs_info, .ac-st.st-failed, .ac-st.st-pending { background: #ffe9dc; color: #b1461d; }
.ac-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.ac-del { min-height: 40px; border: 0; background: none; font: inherit; color: #b1461d; text-decoration: underline; cursor: pointer; }
.ac-orders { list-style: none; margin: 0; padding: 0; }
.ac-orders li { display: flex; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1.6px dashed #ecd8c2; }
.ac-orders li:last-child { border-bottom: 0; }
.ac-orders small { color: #8a7a74; }
.ac-o-right { display: grid; justify-items: end; gap: 4px; }
.ac-empty { text-align: center; color: #6a4a40; }
.ac-danger { border-color: #c2412b; color: #c2412b; }
.ac-danger:hover { background: #c2412b; color: #fff; }
@media (max-width: 560px) { .ac-book { grid-template-columns: 96px 1fr; gap: 12px; } .ac-info h3 { font-size: 1.12rem; } }
