/* ==========================================================================
   Becoming Her — design system
   ========================================================================== */

:root {
  /* Brand palette, extracted from the logo */
  --blush:        #F9D6D8;
  --blush-soft:   #FDEEEF;
  --blush-deep:   #F2B9BD;
  --red:          #C4161C;
  --red-dark:     #8E0F14;
  --ink:          #1C1618;
  --ink-soft:     #5B5054;
  --cream:        #FFFBF9;
  --line:         rgba(28, 22, 24, .12);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius:    18px;
  --radius-lg: 28px;
  --shadow:    0 18px 50px -24px rgba(28, 22, 24, .35);
  --shadow-sm: 0 8px 24px -16px rgba(28, 22, 24, .45);

  /* Fluid horizontal gutter — the single source of truth for page rhythm */
  --gutter: clamp(1.15rem, 5vw, 4.5rem);
  --maxw:   1240px;

  --header-h: 68px;
}

/* --------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .18vw, 1.075rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

/* `height: auto` is required so the width/height HTML attributes (which reserve
   layout space and prevent CLS) do not fight the CSS aspect ratios below. */
img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 1.4rem + 4.6vw, 5rem); }
h2 { font-size: clamp(1.85rem, 1.25rem + 2.7vw, 3.25rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .8vw, 1.6rem); }

p { margin: 0 0 1em; text-wrap: pretty; }

:focus-visible {
  outline: 2.5px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--red); color: #fff; padding: .8rem 1.2rem;
}
.skip-link:focus { left: 0; }

/* -------------------------------------------------------------- layout -- */

.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--blush { background: var(--blush-soft); }

.eyebrow {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: clamp(20px, 4vw, 38px);
  height: 1.5px;
  background: currentColor;
  flex: none;
}

.section-head {
  display: grid;
  gap: 1rem clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .section-head > :last-child { padding-bottom: .6rem; }
}
.section-head h2 { margin-bottom: 0; }
.section-head p { color: var(--ink-soft); margin: 0; }

/* ------------------------------------------------------------- buttons -- */

.btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .85em 1.7em;
  min-height: 46px;
  border: 1.5px solid var(--btn-bg);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: .93rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.btn--ghost  { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--light  { --btn-bg: #fff; --btn-fg: var(--red); border-color: #fff; }
.btn--sm     { padding: .6em 1.15em; min-height: 40px; font-size: .85rem; }
.btn--block  { width: 100%; }

/* -------------------------------------------------------------- header -- */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 251, 249, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header__bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}
.brand img {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.05;
  white-space: nowrap;
}
.brand__tag {
  display: block;
  font-family: var(--font-body);
  font-size: .6rem;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav { display: none; }
@media (min-width: 980px) {
  .nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
}
.nav a {
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  padding: .35rem 0;
  position: relative;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--red);
  transition: width .22s ease;
}
.nav a:hover::after, .nav a[aria-current="true"]::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: .5rem; }

.icon-btn {
  position: relative;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.icon-btn:hover { border-color: var(--red); background: var(--blush-soft); }
.icon-btn svg { width: 20px; height: 20px; }

.cart-count {
  position: absolute;
  top: -3px; right: -3px;
  min-width: 21px; height: 21px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1;
}
.cart-count[hidden] { display: none; }

.burger { display: grid; }
@media (min-width: 980px) { .burger { display: none; } }

/* mobile drawer nav */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 55;
  background: var(--cream);
  padding: 2rem var(--gutter) 3rem;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.mobile-nav[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.6rem;
  text-decoration: none;
}
.mobile-nav .btn { margin-top: 2rem; font-size: .95rem; border-bottom: 1.5px solid var(--red); }
@media (min-width: 980px) { .mobile-nav { display: none; } }

/* ---------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  background: linear-gradient(170deg, var(--blush) 0%, var(--blush-soft) 62%, var(--cream) 100%);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 7vw, 5.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
}

.hero h1 { margin-bottom: .35em; }
.hero h1 em {
  font-style: italic;
  color: var(--red);
}
.hero__lead {
  font-size: clamp(1.02rem, .95rem + .5vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}

.hero__media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.hero__media figure { margin: 0; }
.hero__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: cover;
}
/* shot-a e un colaj panoramic: are nevoie de latimea intreaga si de un raport
   peisaj, altfel `object-fit: cover` il taie la o fasie verticala si se pierd
   majoritatea cadrelor din el. */
.hero__media .shot-a img { aspect-ratio: 16 / 9; }
/* Logo-ul scris de mana ramane un accent mic, aliniat la dreapta sub colaj. */
.hero__media .shot-b { max-width: 190px; margin-left: auto; margin-top: -2.5rem; position: relative; }
.hero__media .shot-b img { aspect-ratio: 1 / 1; }

.hero__badge {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  padding: .55rem 1.15rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

/* -------------------------------------------------------------- ticker -- */

.ticker {
  background: var(--red);
  color: #fff;
  overflow: hidden;
  padding-block: .85rem;
  border-block: 1px solid var(--red-dark);
}
.ticker__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: ticker 34s linear infinite;
}
.ticker span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, .9rem + .5vw, 1.35rem);
  white-space: nowrap;
  opacity: .95;
}
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}

/* --------------------------------------------------------------- stats -- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4rem);
  line-height: 1;
  color: var(--red);
}
.stat__label {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: .6rem 0 0;
}

/* -------------------------------------------------------------- events -- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}
.chip {
  border: 1.5px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: .5rem 1.05rem;
  min-height: 40px;
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .18s ease;
}
.chip:hover { border-color: var(--red); color: var(--red); }
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.event-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.event-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--blush);
}
/* Absolute fill rather than height:100% — a percentage height against an
   aspect-ratio box is indefinite, so portrait sources would stretch the card. */
.event-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card__date {
  position: absolute;
  top: .85rem; left: .85rem;
  background: rgba(255, 251, 249, .95);
  border-radius: 14px;
  padding: .45rem .7rem;
  text-align: center;
  line-height: 1.05;
  box-shadow: var(--shadow-sm);
}
.event-card__date .d { display: block; font-family: var(--font-display); font-size: 1.35rem; }
.event-card__date .m {
  display: block; font-size: .62rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--red); font-weight: 700;
}

.tag {
  display: inline-block;
  padding: .3rem .7rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tag--cat  { background: var(--blush); color: var(--red-dark); }
.event-card__media .tag--state {
  position: absolute; top: .85rem; right: .85rem;
  background: var(--ink); color: #fff;
}
.tag--soldout { background: var(--ink-soft); color: #fff; }

.event-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .55rem;
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
}
.event-card__body h3 { margin: 0; }
.event-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .9rem;
  font-size: .84rem;
  color: var(--ink-soft);
}
.event-card__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.event-card__meta svg { width: 15px; height: 15px; flex: none; opacity: .7; }
.event-card__desc {
  margin: 0;
  font-size: .92rem;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-card__foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.price { line-height: 1.15; }
.price small {
  display: block;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.price strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1rem;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink-soft);
}

/* ------------------------------------------------------------ founder -- */

.split {
  display: grid;
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .split--reverse > :first-child { order: 2; }
}
.split img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  line-height: 1.35;
  margin: 0 0 1.25rem;
}
.signature {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------ gallery -- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(.75rem, 2vw, 1.25rem);
}
.gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
}
.gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery figure:hover img { transform: scale(1.05); }
@media (min-width: 780px) {
  .gallery figure:nth-child(1) { grid-row: span 2; aspect-ratio: auto; }
}

/* ------------------------------------------------------ membership CTA -- */

.cta-band {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.75rem);
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 860px) {
  .cta-band { grid-template-columns: minmax(0, 1fr) auto; }
}
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { color: rgba(255, 251, 249, .72); margin: 0; max-width: 52ch; }

/* -------------------------------------------------------------- footer -- */

.footer {
  background: var(--blush-soft);
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 6vw, 4rem) 2rem;
}
.footer__grid {
  display: grid;
  gap: 2rem clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}
.footer h4 {
  font-family: var(--font-body);
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer a { text-decoration: none; font-size: .93rem; }
.footer a:hover { color: var(--red); }
.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------- forms -- */

.field { display: grid; gap: .4rem; margin-bottom: 1rem; }
.field > label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .75rem .9rem;
  min-height: 46px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color .18s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--red);
  outline: none;
}
.field .hint { font-size: .78rem; color: var(--ink-soft); }
.field .err { font-size: .78rem; color: var(--red); font-weight: 600; }
.field input[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: var(--red); }

.field-row {
  display: grid;
  gap: 0 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

/* ----------------------------------------------------- modal / drawer -- */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(28, 22, 24, .5);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.overlay[data-open="true"] { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  z-index: 90;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  transition: transform .3s cubic-bezier(.22, .8, .3, 1);
  box-shadow: var(--shadow);
}
/* mobile: bottom sheet */
.drawer {
  inset: auto 0 0 0;
  max-height: 92dvh;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: translateY(101%);
}
.drawer[data-open="true"] { transform: none; }
@media (min-width: 720px) {
  /* desktop: right side panel */
  .drawer {
    inset: 0 0 0 auto;
    width: min(460px, 100%);
    max-height: none;
    border-radius: 0;
    transform: translateX(101%);
  }
}
.drawer--wide { }
@media (min-width: 720px) {
  .drawer--wide { width: min(560px, 100%); }
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem var(--gutter);
  border-bottom: 1px solid var(--line);
  flex: none;
}
.drawer__head h2, .drawer__head h3 { margin: 0; font-size: 1.35rem; }
.drawer__body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.25rem var(--gutter);
}
.drawer__foot {
  flex: none;
  padding: 1.25rem var(--gutter);
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #fff;
}

.close-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: none; background: transparent;
  border-radius: 50%; cursor: pointer;
  font-size: 1.5rem; line-height: 1;
  flex: none;
}
.close-btn:hover { background: var(--blush); }

/* ------------------------------------------------------ cart & tickets -- */

/* Always stacked: the drawer is ~400px wide regardless of viewport, so a
   viewport media query cannot tell us whether two columns actually fit. */
.ticket-option {
  display: grid;
  gap: .85rem;
  padding: 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: .85rem;
  background: #fff;
}
.ticket-option__info strong { display: block; }
.ticket-option__info small { display: block; color: var(--ink-soft); font-size: .82rem; }
.ticket-option__price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--red);
  white-space: nowrap;
  margin-right: auto;
}
.ticket-option__buy {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
}

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.stepper button {
  width: 38px; height: 38px;
  border: none; background: transparent;
  cursor: pointer; font-size: 1.1rem; line-height: 1;
}
.stepper button:hover:not(:disabled) { background: var(--blush); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 2ch; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

.cart-line {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: .9rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
}
.cart-line img {
  width: 64px; height: 64px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--blush);
}
.cart-line__title { font-weight: 600; font-size: .95rem; }
.cart-line__sub { font-size: .8rem; color: var(--ink-soft); }
.cart-line__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; margin-top: .5rem; flex-wrap: wrap;
}
.link-btn {
  border: none; background: none; padding: 0;
  color: var(--ink-soft); font-size: .8rem;
  text-decoration: underline; cursor: pointer;
}
.link-btn:hover { color: var(--red); }

.totals { display: grid; gap: .5rem; margin-bottom: 1rem; }
.totals div { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.totals .grand {
  border-top: 1px solid var(--line);
  padding-top: .6rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

/* ------------------------------------------------------ order success -- */

.receipt {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: #fff;
}
.receipt__code {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 1.15rem;
  letter-spacing: .08em;
  color: var(--red);
  font-weight: 700;
  word-break: break-all;
}
.success-mark {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blush);
  color: var(--red);
  font-size: 1.6rem;
  margin: 0 auto 1rem;
}

/* --------------------------------------------------------------- toast -- */

.toast {
  position: fixed;
  left: 50%;
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  transform: translate(-50%, 140%);
  z-index: 120;
  background: var(--ink);
  color: #fff;
  padding: .85rem 1.35rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  max-width: calc(100vw - 2rem);
  text-align: center;
  transition: transform .3s cubic-bezier(.22, .8, .3, 1);
}
.toast[data-open="true"] { transform: translate(-50%, 0); }

body.no-scroll { overflow: hidden; }

/* ========================================================================
   Admin panel
   ======================================================================== */

/* Lock screen: the page ships locked and admin.js unlocks it, so the panel
   never renders for a visitor who simply guessed the URL. */
.lock { display: none; }
body.locked > .header,
body.locked > .admin-head,
body.locked > main,
body.locked > .drawer,
body.locked > .overlay { display: none !important; }
body.locked > .lock { display: flex; }

.lock {
  min-height: 100dvh;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  background: linear-gradient(160deg, var(--blush) 0%, var(--blush-soft) 55%, var(--cream) 100%);
}
.lock__card {
  width: min(400px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 5vw, 2.5rem);
  box-shadow: var(--shadow);
  text-align: center;
}
.lock__card img { border-radius: 50%; margin: 0 auto 1.25rem; }
.lock__card h1 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); margin-bottom: .35em; }
.lock__card > p { color: var(--ink-soft); font-size: .92rem; margin-bottom: 1.75rem; }
.lock__card .field { text-align: left; }
.lock__remember {
  display: flex;
  gap: .6rem;
  align-items: center;
  font-size: .86rem;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
  text-align: left;
}
.lock__remember input { width: auto; min-height: 0; }
.lock__card .link-btn { display: inline-block; margin-top: 1.25rem; }

.admin-head {
  background: var(--ink);
  color: var(--cream);
  padding-block: clamp(2rem, 5vw, 3rem);
}
.admin-head h1 { color: #fff; font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); }
.admin-head p { color: rgba(255, 251, 249, .7); margin: 0; }
.admin-head .btn--ghost { --btn-fg: #fff; border-color: rgba(255, 255, 255, .35); }
.admin-head .btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--ink); }

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
  margin-top: 1.5rem;
}

.admin-layout { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); }
@media (min-width: 1000px) {
  .admin-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; }
  .admin-layout > * { position: sticky; top: calc(var(--header-h) + 1.5rem); }
  .admin-layout > .admin-list { position: static; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.admin-list { display: grid; gap: .85rem; }

.admin-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: .9rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .9rem;
}
.admin-row img {
  width: 56px; height: 56px;
  border-radius: 10px; object-fit: cover;
  background: var(--blush);
}
.admin-row__title { font-weight: 600; }
.admin-row__meta { font-size: .82rem; color: var(--ink-soft); }
.admin-row__actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }

.ticket-editor {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  padding: .9rem;
  margin-bottom: .75rem;
  background: var(--blush-soft);
}
.ticket-editor__head {
  display: flex; justify-content: space-between; align-items: center;
  gap: .75rem; margin-bottom: .6rem;
}
.ticket-editor__head strong { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

.badge {
  display: inline-block;
  padding: .2rem .55rem;
  border-radius: 6px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.badge--live  { background: #E4F5E9; color: #1B7A3E; }
.badge--draft { background: #F1EDEE; color: var(--ink-soft); }

@media print {
  .header, .footer, .overlay, .drawer__foot, .no-print { display: none !important; }
}

/* ======================================================= detaliu eveniment ==
   Panoul care se deschide la „Cumpără bilet". Descrierile vin din panoul de
   admin ca text scris de mana, deci ritmul il dam aici, nu in continut.
   ========================================================================== */

.event-detail__cover {
  margin: 0 0 1.35rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--blush-soft);
}
.event-detail__cover img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.event-detail__meta { margin-bottom: 1.5rem; }

/* --- descrierea ------------------------------------------------------- */

.event-detail__prose p {
  margin: 0 0 1.05rem;
  line-height: 1.72;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.event-detail__prose p:last-child { margin-bottom: 0; }

/* Primul paragraf poarta tonul evenimentului — il lasam mai mare si mai
   inchis la culoare, ca ochiul sa aiba de unde porni. */
.event-detail__prose p:first-child {
  font-size: 1.06em;
  line-height: 1.6;
  color: var(--ink);
}

.event-detail__prose em {
  font-style: italic;
  color: var(--ink);
}
.event-detail__prose strong {
  font-weight: 600;
  color: var(--ink);
}

/* --- titluri de sectiune ---------------------------------------------- */

/* Acelasi eyebrow ca pe pagina publica („CE URMEAZĂ"), ca panoul sa nu para
   o fereastra straina lipita peste site. */
.event-detail__label {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 2rem 0 .9rem;
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
}
.event-detail__label::before {
  content: "";
  width: 26px;
  height: 2px;
  flex: none;
  background: var(--red);
}
.event-detail__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* --- ce include -------------------------------------------------------- */

.event-detail__note {
  margin: 0 0 .75rem;
  color: var(--ink-soft);
}

.event-detail__includes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.event-detail__includes li {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  align-items: start;
  gap: .4rem;
  color: var(--ink);
}
/* Bifa desenata in CSS: un checkmark real ar fi cerut inca un asset. */
.event-detail__includes li::before {
  content: "";
  width: 1.1rem;
  height: 1.1rem;
  margin-top: .32rem;
  border-radius: 50%;
  background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4161C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / .7rem no-repeat;
}

/* Anuntul de tip „Invitată specială: Aluziva" — un rand scurt scris in panou
   ca „eticheta: valoare". Il scoatem din proza, ca sa fie citit la o privire. */
.event-detail__prose .rt-announce {
  display: block;
  margin: 1.6rem 0;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--blush-soft);
  color: var(--ink);
}
.rt-announce__label {
  display: block;
  margin-bottom: .15rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
}
.rt-announce__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.25;
  color: var(--ink);
}
