/* ============================================================
   Bahar Uzun NT2 — Public registration form  v4
   Warm brand identity, executed with the same discipline as the
   admin design system. Mobile-first; most applicants arrive from
   Instagram on a phone.
   ============================================================ */

:root {
  --ink:       #221A16;
  --ink-soft:  #4C4540;
  --muted:     #7A7068;
  --paper:     #F7F4F0;
  --surface:   #FFFFFF;
  --line:      #E7E1D9;
  --line-deep: #D6CEC3;
  --wine:      #5A1118;
  --wine-deep: #420C12;
  --gold:      #B98A44;
  --gold-soft: #F4E8D4;
  --gold-text: #E9C99B;
  --ok:        #1E7A47;  --ok-bg: #E7F4EC;
  --warn:      #92610A;  --warn-bg: #FBF1DB;
  --danger:    #B3261E;  --danger-bg: #FBEAE9; --danger-line: #F0C8C5;
  --ui:   'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --r: 12px;
}

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

body {
  font-family: var(--ui);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

:is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 2px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ── Hero ───────────────────────────────────────────────── */
.hero { background: var(--wine); color: #fff; padding: 36px 20px 30px; }
.hero-inner { max-width: 660px; margin: 0 auto; }
.hero-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--gold-text);
  margin-bottom: 16px; letter-spacing: .01em;
}
.hero-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(233,201,155,.45);
  color: var(--gold-text); display: grid; place-items: center;
  font-family: var(--mono); font-size: 12.5px; font-weight: 600;
}
.hero h1 { font-size: clamp(24px, 5vw, 32px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.hero-desc { margin-top: 10px; font-size: 14.5px; color: rgba(255,255,255,.82); max-width: 54ch; }

.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.fact {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  padding: 8px 12px;
  min-width: 96px;
}
.fact dt { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); font-family: var(--mono); }
.fact dd { font-size: 13.5px; font-weight: 600; margin-top: 3px; color: #fff; }
.fact.highlight { background: rgba(233,201,155,.14); border-color: rgba(233,201,155,.5); }
.fact.highlight dd { color: var(--gold-text); }

/* ── Shell and cards ────────────────────────────────────── */
.shell { max-width: 660px; margin: 0 auto; padding: 22px 16px 64px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}

.pin-note {
  background: var(--gold-soft);
  border: 1px solid #E4D2B2;
  border-radius: var(--r);
  padding: 12px 16px;
  font-size: 13.5px;
  color: #6B4E1E;
  margin-bottom: 16px;
}

.error-box {
  background: var(--danger-bg);
  border: 1px solid var(--danger-line);
  border-radius: var(--r);
  padding: 14px 16px;
  color: var(--danger);
  font-size: 13.5px;
  margin-bottom: 16px;
}
.error-box ul { margin: 6px 0 0 18px; }

/* ── Step rail (JS-enhanced wizard) ─────────────────────── */
.steps { margin-bottom: 14px; }
.steps ol { display: flex; list-style: none; gap: 4px; }
.steps li {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  font-size: 10.5px; font-weight: 600; color: var(--muted);
  text-align: center; letter-spacing: .02em;
}
.steps li span {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--line-deep);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  transition: all .15s ease;
}
.steps li.active { color: var(--wine); }
.steps li.active span { background: var(--wine); border-color: var(--wine); color: var(--gold-text); }
.steps li.done span { background: var(--ok-bg); border-color: var(--ok); color: var(--ok); }
.steps-bar { height: 3px; background: var(--line); border-radius: 2px; margin-top: 10px; overflow: hidden; }
.steps-fill { height: 100%; width: 0; background: var(--gold); border-radius: 2px; transition: width .25s ease; }

/* ── Form structure ─────────────────────────────────────── */
.form .step { border: none; padding: 0; margin: 0 0 26px; }
.form .step:last-of-type { margin-bottom: 0; }

legend {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; color: var(--ink);
  letter-spacing: -.01em;
  margin-bottom: 6px; padding: 0;
  width: 100%;
}
.step-num {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--wine); color: var(--gold-text);
  display: inline-grid; place-items: center;
  font-family: var(--mono); font-size: 12.5px; font-weight: 600;
  flex: 0 0 auto;
}
.step-help { font-size: 13px; color: var(--muted); margin-bottom: 14px; }

/* Wizard mode: hide inactive steps */
.form.is-wizard .step { display: none; }
.form.is-wizard .step.current { display: block; }
.form.is-wizard .btn-submit { display: none; }
.form.is-wizard .step.current[data-step="3"] ~ .wizard-nav [data-next] { display: none; }
.form.is-wizard .step.current[data-step="3"] .btn-submit { display: block; }

/* ── Fields ─────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-span { grid-column: 1 / -1; }
@media (max-width: 540px) { .grid-2 { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
  margin-bottom: 6px;
}
.field label em { color: var(--danger); font-style: normal; }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  font-family: var(--ui);
  font-size: 16px; /* prevents iOS zoom */
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-deep);
  border-radius: 10px;
  padding: 11px 13px;
  transition: border-color .12s ease, box-shadow .12s ease;
}
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A7068' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 36px; }
textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(90, 17, 24, .14);
}

/* Native invalid state, only after interaction */
input:user-invalid, select:user-invalid, textarea:user-invalid {
  border-color: var(--danger);
}

/* ── Slot options ───────────────────────────────────────── */
.slot-grid { display: grid; gap: 8px; }
.slot-option {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface);
  border: 1.5px solid var(--line-deep);
  border-radius: var(--r);
  padding: 13px 14px;
  cursor: pointer;
  font-size: 14.5px; font-weight: 550;
  transition: border-color .12s ease, background .12s ease;
}
.slot-option:hover { border-color: var(--gold); }
.slot-option:has(input:checked) { border-color: var(--wine); background: #FBF7F2; }
.slot-option:has(input:focus-visible) { outline: 2px solid var(--wine); outline-offset: 2px; }
.slot-option input { width: 18px; height: 18px; accent-color: var(--wine); flex: 0 0 auto; }
.slot-label { flex: 1; }
.slot-option.is-full { opacity: .55; cursor: not-allowed; }
.slot-option.is-full:hover { border-color: var(--line-deep); }
.slot-tag {
  font-family: var(--mono);
  font-size: 10px; font-weight: 600;
  padding: 3px 8px; border-radius: 999px;
  letter-spacing: .04em;
}
.slot-tag.full { background: var(--danger-bg); color: var(--danger); }
.slot-tag.few { background: var(--warn-bg); color: var(--warn); }

/* ── Writing tasks ──────────────────────────────────────── */
.task-field { margin-bottom: 18px; }
.task-kicker {
  display: block;
  font-family: var(--mono);
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--gold); margin-bottom: 4px;
}
.task-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; }
.hint { font-size: 12px; color: var(--muted); }
.word-count { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.word-count.ok { color: var(--ok); }

/* ── Consents and submit ────────────────────────────────── */
.consent-list { display: grid; gap: 10px; margin-bottom: 20px; }
.consent {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 13.5px; line-height: 1.5; color: var(--ink-soft);
  cursor: pointer;
}
.consent input { width: 18px; height: 18px; accent-color: var(--wine); margin-top: 1px; flex: 0 0 auto; }

.btn-submit, .btn-next {
  width: 100%;
  background: var(--wine);
  color: #fff;
  border: none;
  border-radius: var(--r);
  font-family: var(--ui);
  font-size: 15.5px; font-weight: 600;
  padding: 14px 20px;
  cursor: pointer;
  transition: background .12s ease;
}
.btn-submit:hover, .btn-next:hover { background: var(--wine-deep); }
.btn-submit:disabled { opacity: .6; cursor: wait; }

.btn-secondary {
  display: inline-block;
  background: var(--surface);
  color: var(--ink-soft);
  border: 1px solid var(--line-deep);
  border-radius: 10px;
  font-size: 13.5px; font-weight: 550;
  padding: 10px 16px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color .12s ease;
}
.btn-secondary:hover { border-color: var(--wine); color: var(--wine); }

.wizard-nav { display: flex; gap: 10px; margin-top: 20px; }
.wizard-nav .btn-secondary { flex: 0 0 auto; }
.wizard-nav .btn-next { flex: 1; }

.privacy-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }

/* ── Honeypot: off-screen, not display:none (some bots check) ── */
.hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Success / closed ───────────────────────────────────── */
.success-card, .closed-card { text-align: center; padding: 40px 24px; }
.success-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ok-bg); color: var(--ok);
  display: grid; place-items: center;
  font-size: 24px; font-weight: 700;
  margin: 0 auto 16px;
}
.success-card h2, .closed-card h2 { font-size: 20px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.01em; }
.success-card p, .closed-card p { color: var(--ink-soft); font-size: 14.5px; max-width: 44ch; margin: 0 auto 8px; }
.success-ref { font-size: 13px; color: var(--muted); }
.success-card .btn-secondary, .closed-card .btn-secondary { margin-top: 14px; }

.page-foot { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 26px; line-height: 1.6; }

/* Wizard mode: rail already shows position, no doubled number in legend */
.form.is-wizard legend .step-num { display: none; }

/* ── Field-level errors ── */
.ferr { color: var(--danger); font-size: 12.5px; font-weight: 550; margin-top: 6px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.slot-grid.has-error .slot-option { border-color: var(--danger-line); }
.consent-list.has-error .consent { color: var(--danger); }
.error-box a { color: var(--danger); font-weight: 600; }

/* ── Confirm summary ── */
.confirm-summary { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 18px; }
.confirm-summary div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 14px; background: var(--surface); font-size: 13.5px; }
.confirm-summary div:nth-child(even) { background: #FBF9F6; }
.confirm-summary dt { color: var(--muted); font-weight: 550; }
.confirm-summary dd { color: var(--ink); font-weight: 600; text-align: right; overflow-wrap: anywhere; }

/* ── Admin-authored rich text ── */
.rich { color: var(--ink-soft); font-size: 14.5px; text-align: left; max-width: 52ch; margin: 0 auto; }
.rich p { margin-bottom: 10px; }
.rich p:last-child { margin-bottom: 0; }
.rich a { color: var(--wine); font-weight: 600; }
.rich ul, .rich ol { margin: 0 0 10px 20px; }
.hero-desc p { margin-bottom: 6px; }
.hero-desc a { color: var(--gold-text); }

/* ════════════════════════════════════════════════════════════
   v4.4 — Motion & polish layer
   Compositor-only effects (transform/opacity), fully disabled
   under prefers-reduced-motion. No libraries.
   ════════════════════════════════════════════════════════════ */

/* ── Hero: slow aurora drift ────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; inset: -40%;
  pointer-events: none;
  background: radial-gradient(42% 38% at 30% 35%, rgba(233,201,155,.14), transparent 70%);
  filter: blur(2px);
}
.hero::after {
  background: radial-gradient(36% 34% at 75% 70%, rgba(255,255,255,.07), transparent 70%);
}
.hero-inner { position: relative; z-index: 1; }

@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: aurora-a 26s ease-in-out infinite alternate; }
  .hero::after  { animation: aurora-b 32s ease-in-out infinite alternate; }
  @keyframes aurora-a { from { transform: translate3d(-4%, -3%, 0) scale(1); } to { transform: translate3d(5%, 4%, 0) scale(1.12); } }
  @keyframes aurora-b { from { transform: translate3d(4%, 3%, 0) scale(1.08); } to { transform: translate3d(-5%, -4%, 0) scale(1); } }

  /* Staggered entrance */
  .hero-brand, .hero h1, .hero-desc, .hero-facts .fact,
  .steps, .form.card, .success-card, .closed-card {
    opacity: 0;
    transform: translateY(14px);
    animation: rise-in .6s cubic-bezier(.22,.9,.3,1) forwards;
  }
  .hero-brand { animation-delay: .05s; }
  .hero h1 { animation-delay: .12s; }
  .hero-desc { animation-delay: .2s; }
  .hero-facts .fact { animation-delay: calc(.26s + var(--i, 0) * .06s); }
  .steps { animation-delay: .3s; }
  .form.card, .success-card, .closed-card { animation-delay: .36s; }
  @keyframes rise-in { to { opacity: 1; transform: translateY(0); } }

  /* Step change: content glides in */
  .form.is-wizard .step.current { animation: step-in .35s cubic-bezier(.22,.9,.3,1); }
  @keyframes step-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
  .steps li span { transition: transform .2s cubic-bezier(.34,1.56,.64,1), background .2s ease, border-color .2s ease, color .2s ease; }
  .steps li.active span { transform: scale(1.18); }
}

/* Highlight chips: quiet gold sheen on the border */
.fact.highlight { position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .fact.highlight::after {
    content: ""; position: absolute; inset: 0; border-radius: 10px;
    border: 1px solid rgba(233,201,155,0);
    animation: chip-glow 3.6s ease-in-out infinite;
    pointer-events: none;
  }
  @keyframes chip-glow { 0%, 100% { border-color: rgba(233,201,155,0); } 50% { border-color: rgba(233,201,155,.55); } }
}

/* ── Slot & consent checkboxes: drawn check ─────────────── */
.slot-option input, .consent input {
  appearance: none; -webkit-appearance: none;
  width: 21px; height: 21px;
  border: 1.5px solid var(--line-deep);
  border-radius: 6px;
  background: var(--surface);
  display: inline-grid; place-items: center;
  cursor: pointer; margin: 0;
  transition: border-color .15s ease, background .15s ease;
  flex: 0 0 auto;
}
.consent input { margin-top: 1px; }
.slot-option input::before, .consent input::before {
  content: "";
  width: 11px; height: 9px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5.2 4.4 8.6 11 1.4' fill='none' stroke='%23E9C99B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transform: scale(0);
  transition: transform .18s cubic-bezier(.34,1.56,.64,1);
}
.slot-option input:checked, .consent input:checked {
  background: var(--wine); border-color: var(--wine);
}
.slot-option input:checked::before, .consent input:checked::before { transform: scale(1); }
.slot-option input:focus-visible, .consent input:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }

@media (prefers-reduced-motion: no-preference) {
  .slot-option { transition: border-color .15s ease, background .15s ease, transform .15s ease, box-shadow .15s ease; }
  .slot-option:not(.is-full):hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(34,26,22,.07); }
  .slot-option:not(.is-full):active { transform: translateY(0); }
}

/* ── Word counter: pop when the minimum is reached ──────── */
@media (prefers-reduced-motion: no-preference) {
  .word-count.celebrate { animation: count-pop .35s cubic-bezier(.34,1.56,.64,1); }
  @keyframes count-pop { 0% { transform: scale(1); } 55% { transform: scale(1.28); } 100% { transform: scale(1); } }
}

/* ── Submit button: spinner state ───────────────────────── */
.btn-submit { position: relative; transition: background .12s ease, transform .12s ease; }
.btn-submit:not(:disabled):active { transform: scale(.985); }
.btn-submit .spin {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: -3px;
}
.btn-submit.is-busy .spin { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .btn-submit .spin { animation: spin .7s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
}

/* ── Success: drawn checkmark ───────────────────────────── */
.success-mark { width: 72px; height: 72px; margin: 0 auto 18px; display: block; }
.success-mark circle {
  fill: none; stroke: var(--ok); stroke-width: 2.5;
  stroke-dasharray: 214; stroke-dashoffset: 0;
}
.success-mark path {
  fill: none; stroke: var(--ok); stroke-width: 3.4;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 48; stroke-dashoffset: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .success-mark circle { stroke-dashoffset: 214; animation: draw 0.7s ease-out .15s forwards; }
  .success-mark path { stroke-dashoffset: 48; animation: draw 0.45s cubic-bezier(.22,.9,.3,1) .75s forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  .success-card h2, .success-card .rich, .success-ref, .success-card .btn-secondary {
    opacity: 0; animation: rise-in .5s ease-out forwards;
  }
  .success-card h2 { animation-delay: .9s; }
  .success-card .rich { animation-delay: 1.0s; }
  .success-ref { animation-delay: 1.1s; }
  .success-card .btn-secondary { animation-delay: 1.2s; }
}

/* ── Confirm summary rows: stagger in ───────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .confirm-summary div { opacity: 0; transform: translateY(8px); animation: rise-in .35s ease-out forwards; animation-delay: calc(var(--i, 0) * .05s); }
}

/* ── Brand bar: the logo lives on light ground ──────────── */
.brandbar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 16px 20px 14px;
  display: flex; justify-content: center;
}
.brand-logo { height: 56px; width: auto; display: block; }
@media (max-width: 540px) { .brand-logo { height: 44px; } }
@media (prefers-reduced-motion: no-preference) {
  .brandbar { opacity: 0; animation: rise-in .5s ease-out forwards; }
}

/* ── v9: one content axis, honest nav, clear steps ──────── */
.brandbar { justify-content: flex-start; }
.brandbar-inner { max-width: 660px; margin: 0 auto; width: 100%; padding: 0 16px; box-sizing: border-box; }
.brandbar .brand-logo { margin: 0; }

.shell-closed { padding-top: 40px; }
.shell-closed .closed-card { animation-delay: .15s; }

.wizard-nav { display: flex; gap: 10px; }
.wizard-nav [data-prev][hidden] { display: none; }
.wizard-nav [data-next] { flex: 1; }

.steps li { font-size: 12px; font-weight: 600; color: var(--muted); }
.steps li.active { color: var(--wine); }
.steps li.done { color: var(--ok); }

.field .optional { font-weight: 500; color: var(--muted); font-size: 12px; }
.hero-inner { padding-left: 16px; padding-right: 16px; box-sizing: border-box; }

/* ── Mobile reading & touch comfort ─────────────────────── */
@media (max-width: 540px) {
  .rich { font-size: 16px; line-height: 1.7; max-width: none; }
  .closed-card h2, .success-card h2 { font-size: 22px; }
  .closed-card { text-align: left; }
  .closed-card h2 { text-align: left; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .consent { min-height: 44px; align-items: center; }
  .slot-option { min-height: 48px; }
  .btn-submit, [data-next] { min-height: 50px; }
}

/* ── Returning-student declaration ── */
.returning-check {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 13px 15px; margin-bottom: 20px;
  background: #FBF6EC; border: 1px solid #E8D5AE; border-radius: 12px;
  cursor: pointer; font-size: 14px; line-height: 1.5;
}
.returning-check input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--wine, #420C14); }
.returning-sub { display: block; font-size: 12.5px; color: #8A6D3B; margin-top: 2px; }
.task-field.task-optional { opacity: .62; }
.task-field.task-optional .task-kicker::after { content: ' (isteğe bağlı)'; font-weight: 400; opacity: .8; }

/* ── Cookie consent banner ───────────────────────────────── */
.cookie-consent[hidden], .cookie-reopen[hidden] { display: none !important; }

.cookie-consent {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 9999;
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  background: #2A0C10;
  color: #F3E9DA;
  border: 1px solid var(--wine, #5A1118);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
  font-size: 13.5px;
  line-height: 1.55;
}
.cookie-consent .cc-text { margin: 0; flex: 1 1 auto; min-width: 0; }
.cookie-consent a { color: #D4B483; text-underline-offset: 2px; }

.cc-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cc-btn {
  padding: 10px 18px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
  white-space: nowrap;
}
.cc-accept { background: #D4B483; color: #2A0C10; }
.cc-accept:hover { background: #e0c598; }
.cc-reject { background: transparent; color: #F3E9DA; border-color: #7a4a50; }
.cc-reject:hover { border-color: #D4B483; }

.cookie-reopen {
  position: fixed;
  left: 16px; bottom: 16px;
  z-index: 9998;
  background: #2A0C10;
  color: #D4B483;
  border: 1px solid var(--wine, #5A1118);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  opacity: .9;
}
.cookie-reopen:hover { opacity: 1; }

/* Mobile: stack text over a single row of equal buttons, sized to
   content, no stretched dead space. */
@media (max-width: 560px) {
  .cookie-consent {
    left: 10px; right: 10px; bottom: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
  }
  .cc-actions { gap: 10px; }
  .cc-btn { flex: 1 1 0; padding: 12px 16px; font-size: 14px; }
}
