/* =========================================================
   TransAsia Containers — styl "sakura"
   ========================================================= */
:root {
  --paper: #FBF5F1;
  --petal: #F6E3E6;
  --petal-line: #EBD7DC;
  --sakura: #F2B3C4;
  --rose: #B03A5B;
  --rose-dark: #8A2944;
  --seal: #B8322A;
  --ink: #22161C;
  --ink-2: #3B2A31;
  --muted: #6B5560;
  --stone: #EFE9E4;
  --white: #FFFFFF;
  --ok-bg: #E3F0E6;
  --ok: #1F5130;
  --err-bg: #FBE4E2;
  --err: #8E241E;
  --radius: 16px;
  --serif: 'Noto Serif Display', Georgia, serif;
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --zh: 'Noto Serif SC', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--rose); }
a:hover { color: var(--rose-dark); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
@media (max-width: 640px) { .wrap { padding-left: 20px; padding-right: 20px; } }

.section { padding-top: 72px; padding-bottom: 72px; }
.section--tight { padding-top: 48px; padding-bottom: 48px; }
.section--petal { background: var(--petal); }
.section--ink { background: var(--ink); color: var(--paper); }

.eyebrow { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--rose); font-weight: 600; margin-bottom: 12px; }
.section--ink .eyebrow { color: var(--sakura); }
.display { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 6vw, 64px); line-height: 1.07; letter-spacing: -.01em; }
.h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5vw, 56px); line-height: 1.1; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 44px); line-height: 1.15; }
.h3 { font-size: 20px; font-weight: 600; }
.lead { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.row--between { justify-content: space-between; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }

/* ---------- Pieczęć (logo) ---------- */
.seal { position: relative; display: inline-flex; align-items: center; justify-content: center; background: var(--seal); flex-shrink: 0; }
.seal__ring { position: absolute; border: 1.5px solid rgba(251, 245, 241, .72); }
.seal__chars { font-family: var(--zh); font-weight: 700; color: var(--paper); line-height: 1.05; writing-mode: vertical-rl; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 25px; font-weight: 600; }
.brand__sub { font-size: 10px; letter-spacing: .34em; font-weight: 600; color: var(--rose); margin-top: 5px; }

/* ---------- Przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn--primary { background: var(--rose); color: var(--white); }
.btn--primary:hover { background: var(--rose-dark); color: var(--white); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--ink-2); color: var(--paper); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--ghost { border-color: var(--petal-line); background: var(--white); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--danger { border-color: var(--petal-line); background: var(--white); color: var(--err); }
.btn--danger:hover { background: var(--err-bg); color: var(--err); }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 13px; }
.btn--lg { min-height: 54px; padding: 0 32px; font-size: 16px; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Nagłówek ---------- */
.site-header { background: rgba(251, 245, 241, .96); border-bottom: 1px solid var(--petal-line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(6px); }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 16px; padding-bottom: 16px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; font-size: 15px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--rose); }
.nav a.is-active { color: var(--rose); font-weight: 600; border-bottom-color: var(--rose); }
.nav a.btn { border-bottom: 0; color: var(--paper); padding: 0 22px; min-height: 44px; }
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--petal-line); background: var(--white); border-radius: 12px; cursor: pointer; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 8px; }
  .nav.is-open { display: flex; }
  .nav a { border-bottom: 1px solid var(--petal-line); }
  .nav a.is-active { border-bottom-color: var(--petal-line); }
  .nav a.btn { margin-top: 12px; justify-content: center; }
}

/* ---------- Narzędzia nagłówka + wybór języka ---------- */
.header-tools { display: flex; align-items: center; gap: 8px; order: 3; }
.site-header__inner > .nav { order: 2; }
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--petal-line); border-radius: 999px; background: var(--white); color: var(--ink); cursor: pointer; font-size: 14px; font-weight: 600; user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { border-color: var(--ink); }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--white); border: 1px solid var(--petal-line); border-radius: 12px; box-shadow: 0 16px 36px -14px rgba(34, 22, 28, .35); min-width: 170px; z-index: 40; }
.lang a { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; }
.lang a:hover { background: var(--petal); color: var(--ink); }
.lang a.is-active { color: var(--rose); font-weight: 600; }
.lang__code { display: inline-block; min-width: 30px; font-size: 12px; font-weight: 700; color: var(--muted); }
.lang a.is-active .lang__code { color: var(--rose); }
@media (max-width: 860px) {
  .header-tools { order: 2; }
  .site-header__inner > .nav { order: 3; }
}

/* ---------- Chiński: kroje z chińskimi znakami ---------- */
html[lang="zh"] { --serif: 'Noto Serif SC', 'Songti SC', 'SimSun', serif; --sans: Inter, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; }
html[lang="zh"] .display, html[lang="zh"] .h1, html[lang="zh"] .h2 { letter-spacing: .02em; line-height: 1.25; }
html[lang="zh"] .eyebrow { letter-spacing: .12em; }

/* ---------- Stopka ---------- */
.site-footer { background: var(--ink); color: #E9D3DA; position: relative; overflow: hidden; }
.site-footer__blossom { position: absolute; right: -40px; top: -40px; width: 260px; height: 260px; opacity: .12; pointer-events: none; }
.site-footer__grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-top: 56px; padding-bottom: 40px; position: relative; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer__col a { color: #E9D3DA; text-decoration: none; }
.site-footer__col a:hover { color: var(--white); }
.site-footer__title { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--sakura); font-weight: 600; }
.site-footer .brand { color: var(--paper); }
.site-footer .brand__sub { color: var(--sakura); }
.site-footer__bottom { border-top: 1px solid var(--ink-2); padding-top: 20px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #BFA6AF; }
.site-footer__bottom a { color: #BFA6AF; }

/* ---------- Hero ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 56px; padding-bottom: 48px; }
.hero__text { flex: 1 1 460px; display: flex; flex-direction: column; gap: 24px; }
.hero__art { flex: 1 1 420px; display: flex; justify-content: center; }
.hero__art svg { width: 100%; max-width: 560px; height: auto; }

.route { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 20px; padding-top: 30px; padding-bottom: 30px; font-size: 15px; color: #E9D3DA; }
.route__dash { flex: 1 1 80px; border-top: 2px dashed var(--muted); min-width: 40px; }
.route strong { color: var(--paper); }
.route__zh { font-family: var(--zh); font-size: 28px; color: var(--sakura); margin-right: 10px; }

/* ---------- Karty ---------- */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--offers { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--petal-line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.section--petal .card { border-color: transparent; }

.offer-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--petal-line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.offer-card:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 30px -18px rgba(34, 22, 28, .45); }
.offer-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--petal); }
.offer-card__media img, .offer-card__media svg { width: 100%; height: 100%; object-fit: cover; }
.offer-card__count { position: absolute; top: 12px; left: 12px; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(34, 22, 28, .82); color: var(--paper); }
.offer-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.offer-card__title { font-size: 19px; font-weight: 600; }
.offer-card__meta { font-size: 14px; color: var(--muted); }
.offer-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.price { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--rose); }
.price--muted { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--muted); }

.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--stone); color: #4A3A40; }
.badge--type { background: var(--petal); color: var(--rose-dark); }
.badge--new { background: var(--rose); color: var(--white); }
.badge--cw { background: var(--ink); color: var(--paper); }
.badge--ok { background: var(--ok-bg); color: var(--ok); }
.badge--sold { background: var(--err-bg); color: var(--err); }

/* Typy kontenerów */
.types-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--petal-line); border: 1px solid var(--petal-line); border-radius: var(--radius); overflow: hidden; }
.types-strip > div { background: var(--paper); padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.types-strip__name { font-family: var(--serif); font-size: 40px; font-weight: 600; }
.types-strip p { font-size: 15px; color: var(--muted); }

.type-row { background: var(--white); border: 1px solid var(--petal-line); border-radius: 20px; padding: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.type-row__art { flex: 1 1 320px; display: flex; justify-content: center; }
.type-row__art svg { width: 100%; max-width: 380px; height: auto; }
.type-row__info { flex: 1 1 420px; display: flex; flex-direction: column; gap: 14px; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.spec { background: var(--paper); border-radius: 12px; padding: 14px 16px; }
.spec dt { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.spec dd { margin: 0; font-size: 15px; font-weight: 600; }

.cta-band { background: var(--petal); border-radius: 24px; padding: 56px 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
@media (max-width: 640px) { .cta-band { padding: 36px 24px; } }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.step { border-top: 2px solid var(--rose); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.step__no { font-family: var(--serif); font-size: 36px; color: var(--sakura); }
.step p { font-size: 15px; line-height: 1.6; color: #E9D3DA; }
.value { display: flex; gap: 18px; }
.value__zh { font-family: var(--zh); font-size: 34px; color: var(--seal); line-height: 1; }

/* ---------- Filtry ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid #DCC3CA; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); font-weight: 600; }

/* ---------- Formularze ---------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.input, .select, .textarea { width: 100%; min-height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid #DCC3CA; background: var(--white); font: inherit; font-weight: 400; color: var(--ink); }
.textarea { padding: 12px 14px; resize: vertical; min-height: 120px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(176, 58, 91, .18); }
.field--error .input, .field--error .select, .field--error .textarea { border-color: var(--err); }
.field__error { font-size: 13px; font-weight: 500; color: var(--err); }
.field__hint { font-size: 12px; font-weight: 400; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--muted); }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--rose); flex-shrink: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 14px 18px; border-radius: 12px; font-size: 15px; font-weight: 500; }
.alert--ok { background: var(--ok-bg); color: var(--ok); }
.alert--err { background: var(--err-bg); color: var(--err); }

.contact-layout { display: flex; flex-wrap: wrap; gap: 48px; }
.contact-layout__info { flex: 1 1 340px; display: flex; flex-direction: column; gap: 22px; }
.contact-layout__form { flex: 1 1 480px; background: var(--white); border: 1px solid var(--petal-line); border-radius: 20px; padding: 36px; }
@media (max-width: 640px) { .contact-layout__form { padding: 24px; } }
.contact-item { display: flex; gap: 14px; align-items: center; }
.contact-item__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--petal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item small { display: block; font-size: 12px; color: var(--muted); }
.contact-item strong { font-size: 16px; }
.map { width: 100%; height: 240px; border: 0; border-radius: var(--radius); background: var(--petal); }
.map--empty { display: flex; align-items: center; justify-content: center; border: 1px dashed #DCA9B7; font-size: 14px; color: var(--muted); }

/* ---------- Szczegóły oferty ---------- */
.offer-detail { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.gallery { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery__main { aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--petal); }
.gallery__main img, .gallery__main svg { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery__thumb { width: 92px; height: 70px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--petal); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--rose); }
.offer-panel { flex: 1 1 340px; background: var(--white); border: 1px solid var(--petal-line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 100px; }
.offer-panel .price { font-size: 34px; }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; font-size: 15px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; font-weight: 600; }
.prose { font-size: 16px; line-height: 1.7; color: var(--ink-2); white-space: pre-line; }
.breadcrumbs { font-size: 14px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }

/* ---------- Paginacja (pagination::default) ---------- */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 32px 0 0; }
.pagination li > a, .pagination li > span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--petal-line); background: var(--white); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.pagination li.active > span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pagination li.disabled > span { color: #BFA6AF; }

.empty { padding: 48px 24px; text-align: center; border: 1px dashed #DCA9B7; border-radius: var(--radius); color: var(--muted); }

/* =========================================================
   Panel administratora
   ========================================================= */
.admin { display: flex; flex-wrap: wrap; min-height: 100vh; background: #F4EDE9; }
.admin-side { flex: 1 1 240px; max-width: 100%; background: var(--ink); color: #E9D3DA; padding: 28px 20px; display: flex; flex-direction: column; gap: 28px; }
.admin-side .brand { color: var(--paper); }
.admin-side .brand__name { font-size: 20px; }
.admin-side .brand__sub { color: #BFA6AF; letter-spacing: 0; font-size: 12px; font-weight: 400; }
.admin-nav { display: flex; flex-direction: column; gap: 4px; }
.admin-nav a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 14px; border-radius: 10px; color: #E9D3DA; text-decoration: none; font-size: 15px; }
.admin-nav a:hover { background: var(--ink-2); color: var(--paper); }
.admin-nav a.is-active { background: var(--ink-2); color: var(--paper); font-weight: 600; }
.admin-nav .count { font-size: 12px; font-weight: 700; min-width: 22px; height: 22px; border-radius: 999px; background: var(--rose); color: var(--white); display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.admin-side__foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.admin-side__foot a, .admin-side__foot button { color: var(--sakura); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.admin-main { flex: 999 1 560px; min-width: 0; padding: 36px 40px 64px; display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 640px) { .admin-main { padding: 24px 16px 48px; } }
.admin-title { font-family: var(--serif); font-weight: 500; font-size: 34px; }
.panel { background: var(--white); border: 1px solid var(--petal-line); border-radius: 20px; padding: 28px; }
@media (max-width: 640px) { .panel { padding: 20px; } }
.panel__title { font-size: 18px; font-weight: 600; margin-bottom: 18px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.stat { background: var(--white); border: 1px solid var(--petal-line); border-radius: 16px; padding: 20px 22px; }
.stat__value { font-family: var(--serif); font-size: 36px; font-weight: 600; }
.stat__label { font-size: 14px; color: var(--muted); }

.table-wrap { background: var(--white); border: 1px solid var(--petal-line); border-radius: 20px; overflow-x: auto; }
.table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; padding: 14px 16px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--petal-line); white-space: nowrap; }
.table td { padding: 12px 16px; border-bottom: 1px solid #F3E6E9; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr.is-unread td { background: #FDF7F8; font-weight: 600; }
.table a { color: var(--ink); font-weight: 600; text-decoration: none; }
.table a:hover { color: var(--rose); }
.thumb { width: 64px; height: 46px; border-radius: 8px; object-fit: cover; background: var(--petal); display: block; }
.thumb--ph { display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--white); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.actions form { margin: 0; }

.translations { border: 1px solid var(--petal-line); border-radius: 14px; padding: 0; }
.translations summary { cursor: pointer; padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.translations[open] summary { border-bottom: 1px solid var(--petal-line); }
.translations__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; padding: 18px; }
.translations__lang { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.translations__lang legend { font-size: 13px; font-weight: 700; color: var(--rose); margin-bottom: 8px; padding: 0; }
.translations__lang .textarea { min-height: 100px; }

.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 130px; border: 2px dashed #DCA9B7; border-radius: 14px; background: var(--paper); cursor: pointer; font-size: 14px; color: var(--muted); text-align: center; padding: 16px; }
.dropzone.is-over { border-color: var(--rose); background: var(--petal); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone strong { color: var(--rose); }
.previews { display: flex; flex-wrap: wrap; gap: 10px; }
.previews img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--petal-line); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.photo-tile { border: 1px solid var(--petal-line); border-radius: 12px; overflow: hidden; background: var(--white); }
.photo-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-tile__bar { display: flex; gap: 6px; padding: 8px; flex-wrap: wrap; }
.photo-tile__bar form { margin: 0; }
.photo-tile.is-cover { border-color: var(--rose); box-shadow: 0 0 0 2px var(--rose); }

.login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--petal); }
.login__card { width: 100%; max-width: 420px; background: var(--white); border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 22px; }
