/* =========================================================
   Poney.ro — stil pastel jucăuș
   ========================================================= */
:root {
  --cream: #FFF9F2;
  --paper: #FFFFFF;
  --ink: #2B2340;
  --ink-soft: #6B6280;
  --line: #2B2340;
  --pink: #FF9EBB;
  --pink-soft: #FFE0EA;
  --pink-deep: #FF5C8A;
  --lav: #C9AFFB;
  --lav-soft: #EEE6FF;
  --lav-deep: #7B5CFA;
  --mint: #7FD6B3;
  --mint-soft: #DDF5EA;
  --butter: #FFE59A;
  --butter-soft: #FFF4CC;
  --sky: #B5DBFF;
  --sky-soft: #E3F1FF;
  --peach: #FFC9A8;
  --radius: 26px;
  --radius-sm: 16px;
  --shadow: 5px 5px 0 var(--line);
  --shadow-sm: 3px 3px 0 var(--line);
  --font-display: "Fredoka", "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- butoane ---------- */
.btn {
  --bg: var(--pink-deep); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 1.05rem/1 var(--font-display); letter-spacing: .01em;
  padding: .95em 1.6em; border-radius: 999px; border: 2.5px solid var(--line);
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--line); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--line); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-light { --bg: #fff; --fg: var(--ink); }
.btn-lav { --bg: var(--lav-deep); }
.btn-mint { --bg: var(--mint); --fg: var(--ink); }
.btn-butter { --bg: var(--butter); --fg: var(--ink); }
.btn-lg { font-size: 1.2rem; padding: 1.05em 2em; }
.btn-block { width: 100%; }
.btn-sm { font-size: .9rem; padding: .6em 1.1em; }
.link { font-weight: 800; color: var(--lav-deep); text-decoration: none; border-bottom: 2px solid var(--lav); }
.link:hover { border-color: var(--lav-deep); }

/* ---------- bara de anunțuri ---------- */
.announce { background: var(--ink); color: #fff; font-weight: 700; font-size: .88rem; overflow: hidden; white-space: nowrap; }
.announce-track { display: inline-flex; gap: 3rem; padding: .55rem 0; animation: marquee 28s linear infinite; }
.announce-track span::before { content: "✦"; color: var(--butter); margin-right: .7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(12px); border-bottom: 2.5px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 1.2rem; height: 76px; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; flex-shrink: 0; }
.brand img { width: 48px; height: 48px; }
.wordmark { font: 700 1.8rem/1 var(--font-display); letter-spacing: -.02em; }
.wordmark span:nth-child(1) { color: var(--pink-deep); }
.wordmark span:nth-child(2) { color: var(--lav-deep); }
.wordmark span:nth-child(3) { color: #22B07D; }
.wordmark span:nth-child(4) { color: #FFB020; }
.wordmark span:nth-child(5) { color: #2EA8FF; }
.wordmark small { font-size: .55em; color: var(--ink-soft); }
.main-nav { display: flex; gap: .3rem; margin-left: 1rem; }
.main-nav a {
  font: 600 1rem var(--font-display); text-decoration: none; padding: .5rem .95rem; border-radius: 999px;
  transition: background .15s;
}
.main-nav a:hover, .main-nav a.active { background: var(--pink-soft); }
.main-nav .nav-search { display: none; }
.main-nav a .soon { font-size: .65rem; background: var(--butter); border: 1.5px solid var(--line); border-radius: 99px; padding: 0 .4rem; margin-left: .3rem; vertical-align: 2px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.search-form { position: relative; }
.search-form input {
  width: 210px; font: inherit; font-size: .95rem; padding: .6rem 1rem .6rem 2.4rem;
  border-radius: 999px; border: 2px solid var(--line); background: #fff;
}
.search-form svg { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); width: 18px; }
.icon-btn {
  position: relative; width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; border: 2.5px solid var(--line); background: var(--butter);
  box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .15s;
}
.icon-btn:hover { transform: translate(-1px, -2px) rotate(-6deg); }
.icon-btn svg { width: 22px; }
.badge-count {
  position: absolute; top: -8px; right: -8px; min-width: 24px; height: 24px; padding: 0 6px;
  display: grid; place-items: center; border-radius: 99px; background: var(--pink-deep); color: #fff;
  font: 700 .8rem var(--font-display); border: 2px solid var(--line);
}
.badge-count[hidden] { display: none; }
.badge-count.bump { animation: bump .5s; }
@keyframes bump { 40% { transform: scale(1.4); } }
.menu-toggle { display: none; }

/* ---------- flash ---------- */
.flash { margin: 1rem auto 0; padding: .9rem 1.2rem; border-radius: var(--radius-sm); border: 2.5px solid var(--line); font-weight: 700; display: flex; gap: .6rem; align-items: center; }
.flash-success { background: var(--mint-soft); }
.flash-warning { background: var(--butter-soft); }
.flash-error { background: var(--pink-soft); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; font: 600 .95rem var(--font-display);
  background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: .35rem .9rem; margin-bottom: 1.2rem;
}
.eyebrow i { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); }
.hero h1 .squiggle { position: relative; white-space: nowrap; color: var(--pink-deep); }
.hero h1 .squiggle svg { position: absolute; left: 0; bottom: -.18em; width: 100%; height: .35em; }
.hero-lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 34ch; margin: 1.2rem 0 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.2rem; font-weight: 700; font-size: .95rem; }
.hero-trust span { display: flex; align-items: center; gap: .45rem; }
.hero-trust b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); background: var(--butter); font-size: .9rem; }

.hero-stage { position: relative; aspect-ratio: 1; max-width: 520px; margin-inline: auto; width: 100%; }
.hero-blob { position: absolute; inset: 6%; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; background: var(--lav-soft); border: 2.5px solid var(--line); animation: morph 12s ease-in-out infinite; }
@keyframes morph { 50% { border-radius: 58% 42% 45% 55% / 42% 58% 42% 58%; } }
.hero-card {
  position: absolute; background: #fff; border: 2.5px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.hero-card.main { inset: 12% 14% 10% 10%; transform: rotate(-3deg); }
.hero-card.side { width: 40%; aspect-ratio: 1; right: 0; bottom: 4%; transform: rotate(6deg); }
.hero-card canvas, .hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-name-tag {
  position: absolute; left: 2%; top: 8%; z-index: 3; transform: rotate(-8deg);
  background: var(--butter); border: 2.5px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm);
  padding: .55rem 1rem; font: 600 1rem var(--font-display);
}
.hero-name-tag b { font-family: "Pacifico", cursive; font-weight: 400; color: var(--pink-deep); font-size: 1.3rem; }
.hero-name-tag .caret { display: inline-block; width: 2px; height: 1.1em; background: var(--ink); vertical-align: -3px; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.float { position: absolute; z-index: 2; animation: floaty 6s ease-in-out infinite; }
.float.s1 { top: 0; right: 12%; width: 54px; }
.float.s2 { bottom: 14%; left: 0; width: 44px; animation-delay: -2s; }
.float.s3 { top: 42%; right: -2%; width: 34px; animation-delay: -4s; }
@keyframes floaty { 50% { transform: translateY(-14px) rotate(12deg); } }

/* ---------- secțiuni ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; position: relative; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.section-head p { max-width: 46ch; margin: 0; color: var(--ink-soft); }
.kicker { font: 600 .95rem var(--font-display); color: var(--lav-deep); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .4rem; display: block; }
.wave { display: block; width: 100%; height: 60px; }
.bg-pink { background: var(--pink-soft); }
.bg-lav { background: var(--lav-soft); }
.bg-mint { background: var(--mint-soft); }

/* pași */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; }
.step {
  background: #fff; border: 2.5px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow);
  position: relative;
}
.step:nth-child(2) { transform: translateY(18px); }
.step-num {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; border: 2.5px solid var(--line);
  font: 700 1.6rem var(--font-display); margin-bottom: 1rem; transform: rotate(-6deg);
}
.step:nth-child(1) .step-num { background: var(--pink); }
.step:nth-child(2) .step-num { background: var(--butter); }
.step:nth-child(3) .step-num { background: var(--mint); }
.step p { color: var(--ink-soft); margin: 0; }

/* categorii */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.cat-tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px;
  padding: 1.8rem; border-radius: 32px; border: 2.5px solid var(--line); box-shadow: var(--shadow);
  text-decoration: none; overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.cat-tile:hover { transform: translate(-3px, -4px) rotate(-1deg); box-shadow: 9px 9px 0 var(--line); }
.cat-tile h3 { font-size: 2rem; margin: 0; }
.cat-tile .tag { font-weight: 700; color: var(--ink-soft); }
.cat-emoji { font-size: 5.5rem; line-height: 1; position: absolute; right: 1.2rem; bottom: 1rem; transform: rotate(10deg); transition: transform .3s; filter: drop-shadow(3px 3px 0 rgba(43,35,64,.15)); }
.cat-tile:hover .cat-emoji { transform: rotate(-6deg) scale(1.1); }
.cat-img { position: absolute; right: -6%; bottom: -8%; width: 62%; transform: rotate(8deg); transition: transform .3s; }
.cat-tile:hover .cat-img { transform: rotate(0) scale(1.05); }
.cat-cta { display: inline-flex; align-items: center; gap: .4rem; font: 600 1rem var(--font-display); background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: .45rem 1rem; align-self: flex-start; position: relative; z-index: 2; }
.cat-tile.soon { cursor: default; }
.soon-pill { position: absolute; top: 1.2rem; right: 1.2rem; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: .2rem .8rem; font: 600 .85rem var(--font-display); transform: rotate(5deg); }

/* card produs */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.product-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 2.5px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translate(-3px, -4px); box-shadow: 9px 9px 0 var(--line); }
.product-card .thumb { aspect-ratio: 1; background: var(--pink-soft); border-bottom: 2.5px solid var(--line); overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .thumb img { transform: scale(1.06) rotate(-1.5deg); }
.product-card .body { padding: 1rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.product-card h3 { font-size: 1.15rem; margin: 0; }
.product-card .desc { font-size: .9rem; color: var(--ink-soft); line-height: 1.4; margin: 0; flex: 1; }
.price-row { display: flex; align-items: baseline; gap: .5rem; margin-top: .4rem; }
.price { font: 700 1.35rem var(--font-display); }
.price-old { text-decoration: line-through; color: var(--ink-soft); font-weight: 700; font-size: .95rem; }
.pill {
  position: absolute; top: .8rem; left: .8rem; z-index: 2; background: var(--butter); border: 2px solid var(--line);
  border-radius: 999px; padding: .15rem .7rem; font: 600 .8rem var(--font-display); transform: rotate(-4deg);
}
.pill.sale { left: auto; right: .8rem; background: var(--pink-deep); color: #fff; transform: rotate(4deg); }
.personal-hint { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 800; color: var(--lav-deep); }

/* recenzii */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.review { background: #fff; border: 2.5px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.review:nth-child(odd) { transform: rotate(-1deg); }
.review:nth-child(even) { transform: rotate(1deg); }
.stars { color: #FFB020; letter-spacing: .1em; font-size: 1.1rem; }
.review footer { font-weight: 800; margin-top: .6rem; }

/* banner CTA */
.cta-banner {
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
  background: var(--lav-deep); color: #fff; border: 2.5px solid var(--line); border-radius: 36px;
  padding: clamp(1.8rem, 4vw, 3rem); box-shadow: 8px 8px 0 var(--line); position: relative; overflow: hidden;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #E9E1FF; margin: 0; }
.cta-banner::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.12); }

/* ---------- pagina categorie ---------- */
.page-hero { padding: 2.6rem 0 2rem; }
.breadcrumbs { font-size: .9rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 1rem; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--pink-deep); }
.cat-banner { border: 2.5px solid var(--line); border-radius: 32px; padding: 2rem 2.2rem; box-shadow: var(--shadow); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.cat-banner h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 .3rem; }
.cat-banner p { margin: 0; max-width: 55ch; }
.cat-banner .big-emoji { font-size: 4.5rem; transform: rotate(10deg); }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin: 1.8rem 0 1.4rem; gap: 1rem; flex-wrap: wrap; font-weight: 700; }
.select, .input, .textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 2.5px solid var(--line); border-radius: 14px; padding: .75rem 1rem; width: 100%;
  transition: box-shadow .15s;
}
.select { width: auto; padding-right: 2.2rem; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232B2340' stroke-width='2'/%3E%3C/svg%3E") no-repeat right .9rem center / 12px; }
.input:focus, .textarea:focus, .select:focus { outline: none; box-shadow: 0 0 0 4px var(--lav); }
.empty-state { text-align: center; padding: 4rem 1rem; background: #fff; border: 2.5px dashed var(--line); border-radius: var(--radius); }
.empty-state .big { font-size: 4rem; }

/* paginare */
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 2px solid var(--line); background: #fff; font: 600 1rem var(--font-display); text-decoration: none; padding: 0 .7rem; }
.pagination .current { background: var(--pink); }
.pagination .disabled { opacity: .4; }

/* ---------- pagina produs ---------- */
.product-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; padding: 1rem 0 3rem; }
.stage-wrap { position: sticky; top: 96px; }
.stage {
  position: relative; background: #fff; border: 2.5px solid var(--line); border-radius: 32px; box-shadow: 8px 8px 0 var(--line);
  overflow: hidden;
}
.stage canvas { width: 100%; height: auto; display: block; }
.stage-badge {
  position: absolute; left: 1rem; top: 1rem; z-index: 2; background: #fff; border: 2px solid var(--line); border-radius: 999px;
  padding: .3rem .85rem; font: 600 .85rem var(--font-display); display: flex; align-items: center; gap: .4rem;
}
.stage-badge i { width: 9px; height: 9px; border-radius: 50%; background: #22B07D; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(34,176,125,.2); } }
.thumbs { display: flex; gap: .7rem; margin-top: 1rem; flex-wrap: wrap; }
.thumbs button { width: 74px; height: 74px; border-radius: 16px; border: 2.5px solid var(--line); padding: 0; overflow: hidden; background: #fff; cursor: pointer; opacity: .65; transition: opacity .15s, transform .15s; }
.thumbs button.active, .thumbs button:hover { opacity: 1; transform: translateY(-2px); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product-info h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: .3rem; }
.product-info .lead { color: var(--ink-soft); font-size: 1.08rem; }
.price-big { display: flex; align-items: baseline; gap: .7rem; margin: .8rem 0 1.4rem; }
.price-big .price { font-size: 2.2rem; }
.save-pill { background: var(--pink-deep); color: #fff; border: 2px solid var(--line); border-radius: 999px; padding: .1rem .7rem; font: 600 .9rem var(--font-display); }

.customizer { background: #fff; border: 2.5px solid var(--line); border-radius: 28px; padding: 1.5rem; box-shadow: var(--shadow); margin-bottom: 1.4rem; }
.customizer h2 { font-size: 1.35rem; display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; }
.cz-step { padding: 1rem 0; border-top: 2px dashed #E3DDEB; }
.cz-step:first-of-type { border-top: 0; padding-top: 0; }
.cz-label { display: flex; justify-content: space-between; align-items: center; font: 600 1rem var(--font-display); margin-bottom: .55rem; }
.cz-label .n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--butter); border: 2px solid var(--line); font-size: .85rem; margin-right: .5rem; }
.counter { font: 700 .82rem var(--font-body); color: var(--ink-soft); }
.counter.full { color: var(--pink-deep); }
.text-input { font-size: 1.2rem; font-weight: 700; padding: .85rem 1.1rem; }
.field-help { font-size: .82rem; color: var(--ink-soft); margin-top: .3rem; }
.field-error { font-size: .88rem; color: #D7264F; font-weight: 800; margin-top: .35rem; }

.font-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
.font-chip {
  border: 2.5px solid var(--line); background: var(--cream); border-radius: 14px; padding: .55rem .4rem; cursor: pointer;
  text-align: center; transition: transform .12s, background .12s; font-size: 1.15rem; line-height: 1.2; overflow: hidden;
  white-space: nowrap; text-overflow: ellipsis; color: var(--ink);
}
.font-chip small { display: block; font: 700 .7rem var(--font-body); color: var(--ink-soft); margin-top: .15rem; }
.font-chip:hover { transform: translateY(-2px); }
.font-chip.active { background: var(--lav-soft); box-shadow: inset 0 0 0 2px var(--lav-deep), var(--shadow-sm); }

.swatches { display: flex; flex-wrap: wrap; gap: .6rem; }
.swatch {
  width: 42px; height: 42px; border-radius: 50%; border: 2.5px solid var(--line); cursor: pointer; position: relative;
  transition: transform .12s;
}
.swatch:hover { transform: scale(1.1); }
.swatch.active { box-shadow: 0 0 0 3px var(--cream), 0 0 0 6px var(--ink); }
.swatch-name { font: 700 .85rem var(--font-body); color: var(--ink-soft); margin-left: .3rem; }

.buy-row { display: flex; gap: .8rem; align-items: stretch; }
.qty { display: flex; align-items: center; border: 2.5px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; flex-shrink: 0; }
.qty button { width: 44px; height: 100%; min-height: 52px; border: 0; background: transparent; font: 700 1.3rem var(--font-display); cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--pink-soft); }
.qty input { width: 40px; text-align: center; border: 0; font: 700 1.1rem var(--font-display); background: transparent; color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row .btn { flex: 1; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 1.2rem 0; font-size: .92rem; font-weight: 700; }
.perks div { display: flex; gap: .5rem; align-items: center; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: .6rem .8rem; }
details.acc { border: 2.5px solid var(--line); border-radius: 18px; background: #fff; margin-bottom: .7rem; overflow: hidden; }
details.acc summary { cursor: pointer; list-style: none; padding: 1rem 1.2rem; font: 600 1.05rem var(--font-display); display: flex; justify-content: space-between; }
details.acc summary::after { content: "+"; font-size: 1.4rem; line-height: 1; transition: transform .2s; }
details.acc[open] summary::after { transform: rotate(45deg); }
details.acc .acc-body { padding: 0 1.2rem 1.1rem; color: var(--ink-soft); white-space: pre-line; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 100;
  background: var(--ink); color: #fff; padding: .9rem 1rem .9rem 1.3rem; border-radius: 20px; font-weight: 700;
  display: flex; align-items: center; gap: 1rem; box-shadow: 0 10px 30px rgba(43,35,64,.3); transition: transform .35s cubic-bezier(.2,1.4,.4,1);
  width: max-content; max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); }
.toast .btn { padding: .6em 1.1em; font-size: .9rem; box-shadow: none; }

/* ---------- coș & checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; padding-bottom: 4rem; }
.cart-line { display: grid; grid-template-columns: 120px 1fr auto; gap: 1.2rem; align-items: center; background: #fff; border: 2.5px solid var(--line); border-radius: 24px; padding: 1rem; box-shadow: var(--shadow-sm); margin-bottom: 1rem; }
.cart-line img { width: 120px; height: 120px; object-fit: cover; border-radius: 16px; border: 2px solid var(--line); }
.cart-line h3 { font-size: 1.15rem; margin: 0 0 .2rem; }
.perso-list { margin: .3rem 0 0; padding: 0; list-style: none; font-size: .9rem; color: var(--ink-soft); }
.perso-list b { color: var(--ink); }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--line); vertical-align: -1px; }
.line-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; }
.qty-sm button { min-height: 38px; width: 36px; font-size: 1.1rem; }
.qty-sm input { width: 30px; font-size: 1rem; }
.remove-btn { background: none; border: 0; color: var(--ink-soft); font-weight: 800; cursor: pointer; font-size: .85rem; text-decoration: underline; }
.summary { background: #fff; border: 2.5px solid var(--line); border-radius: 28px; padding: 1.5rem; box-shadow: var(--shadow); position: sticky; top: 96px; }
.summary h2 { font-size: 1.4rem; }
.sum-row { display: flex; justify-content: space-between; padding: .4rem 0; font-weight: 700; }
.sum-row.total { border-top: 2.5px solid var(--line); margin-top: .6rem; padding-top: .9rem; font: 700 1.4rem var(--font-display); }
.ship-meter { background: var(--butter-soft); border: 2px solid var(--line); border-radius: 16px; padding: .8rem 1rem; font-size: .9rem; font-weight: 700; margin-bottom: 1rem; }
.ship-meter .bar { height: 10px; border-radius: 99px; background: #fff; border: 2px solid var(--line); margin-top: .5rem; overflow: hidden; }
.ship-meter .bar i { display: block; height: 100%; background: var(--mint); }
.form-card { background: #fff; border: 2.5px solid var(--line); border-radius: 28px; padding: 1.6rem; box-shadow: var(--shadow); margin-bottom: 1.4rem; }
.form-card h2 { font-size: 1.35rem; display: flex; align-items: center; gap: .6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.form-group label { display: block; font: 600 .95rem var(--font-display); margin-bottom: .35rem; }
.pay-options { display: grid; gap: .8rem; }
.pay-option { display: flex; gap: .9rem; align-items: center; border: 2.5px solid var(--line); border-radius: 18px; padding: 1rem 1.1rem; cursor: pointer; background: var(--cream); transition: background .15s; }
.pay-option:has(input:checked) { background: var(--lav-soft); box-shadow: var(--shadow-sm); }
.pay-option input { width: 22px; height: 22px; accent-color: var(--lav-deep); }
.pay-option b { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; display: block; }
.pay-option span { font-size: .88rem; color: var(--ink-soft); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; font-weight: 700; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--pink-deep); flex-shrink: 0; }
.mini-line { display: flex; gap: .8rem; align-items: center; padding: .5rem 0; font-size: .92rem; }
.mini-line img { width: 54px; height: 54px; border-radius: 12px; border: 2px solid var(--line); object-fit: cover; }
.mini-line .grow { flex: 1; line-height: 1.3; }

.success-card { max-width: 720px; margin: 3rem auto 4rem; text-align: center; background: #fff; border: 2.5px solid var(--line); border-radius: 36px; padding: clamp(1.8rem, 4vw, 3rem); box-shadow: 8px 8px 0 var(--line); }
.success-icon { width: 96px; height: 96px; margin: 0 auto 1rem; border-radius: 50%; background: var(--mint); border: 2.5px solid var(--line); display: grid; place-items: center; font-size: 3rem; animation: pop .6s cubic-bezier(.2,1.6,.4,1); }
@keyframes pop { from { transform: scale(0) rotate(-40deg); } }
.order-num { display: inline-block; font: 700 1.3rem var(--font-display); background: var(--butter); border: 2px solid var(--line); border-radius: 12px; padding: .3rem .9rem; margin: .3rem 0 1.4rem; }
.success-items { text-align: left; margin: 1.5rem 0; }

/* pagini text */
.prose { max-width: 760px; background: #fff; border: 2.5px solid var(--line); border-radius: 28px; padding: clamp(1.5rem, 4vw, 2.6rem); box-shadow: var(--shadow); margin-bottom: 4rem; }
.prose h2 { font-size: 1.5rem; margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #E9E4F2; margin-top: 0; }
.footer-wave { display: block; width: 100%; height: 50px; background: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding: 2.5rem 0 2rem; }
.site-footer h4 { color: #fff; font-size: 1.1rem; }
.site-footer a { color: #E9E4F2; text-decoration: none; display: block; padding: .2rem 0; }
.site-footer a:hover { color: var(--butter); }
.footer-brand p { color: #BDB4CC; max-width: 32ch; margin-top: .8rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.2rem 0; font-size: .88rem; color: #A69CB8; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }
.pay-badges { display: flex; gap: .5rem; }
.pay-badges span { background: rgba(255,255,255,.1); border-radius: 8px; padding: .2rem .6rem; font-weight: 700; font-size: .8rem; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .search-form input { width: 160px; }
}
@media (max-width: 900px) {
  .main-nav, .search-form { display: none; }
  .menu-toggle { display: grid; background: #fff; }
  .site-header.open .main-nav {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; margin: 0;
    background: var(--cream); border-bottom: 2.5px solid var(--line); padding: .8rem 16px 1rem;
  }
  .site-header.open .main-nav a { font-size: 1.15rem; padding: .7rem 1rem; }
  .site-header.open .main-nav .nav-search { display: block; margin-top: .5rem; }
  .site-header.open .main-nav .nav-search input { width: 100%; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stage { max-width: 420px; order: -1; }
  .steps, .cat-grid, .reviews { grid-template-columns: 1fr; }
  .step:nth-child(2) { transform: none; }
  .cat-tile { min-height: 220px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .product-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .stage-wrap { position: sticky; top: 76px; z-index: 5; margin-inline: -16px; padding: .6rem 16px; background: var(--cream); }
  .stage { max-width: 380px; margin: 0 auto; border-radius: 24px; box-shadow: 5px 5px 0 var(--line); }
  .thumbs { display: none; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { grid-template-columns: 1fr; }
  .cat-banner .big-emoji { font-size: 3rem; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-row { height: 66px; gap: .6rem; }
  .brand img { width: 40px; height: 40px; }
  .wordmark { font-size: 1.5rem; }
  .wordmark small { display: none; }
  .icon-btn { width: 44px; height: 44px; }
  .stage-wrap { top: 66px; }
  .stage { max-width: 290px; }
  .product-card .body { padding: .8rem .85rem 1rem; }
  .product-card h3 { font-size: 1rem; }
  .product-card .desc { display: none; }
  .price { font-size: 1.15rem; }
  .form-grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 84px 1fr; }
  .cart-line img { width: 84px; height: 84px; }
  .line-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .perks { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .font-chips { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
