:root {
  --bg: #131629;
  --bg-card: #212643;
  --bg-subtle: #181c33;
  --border: #38406b;
  --border-gold: rgba(217, 201, 163, 0.38);
  --gold: #D9C9A3;
  --gold-soft: rgba(217, 201, 163, 0.14);
  --text: #f7f4ec;
  --text-muted: #d1cde0;
  --accent: #eab308;
  --accent-hover: #facc15;
  --accent-ink: #131629;
  --danger: #ef4444;
  --success: #22c55e;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(1.5px 1.5px at 14% 12%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 36% 8%, rgba(217, 201, 163, 0.45), transparent),
    radial-gradient(1.5px 1.5px at 78% 18%, rgba(255, 255, 255, 0.38), transparent),
    radial-gradient(1px 1px at 62% 32%, rgba(217, 201, 163, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 22% 48%, rgba(255, 255, 255, 0.32), transparent),
    radial-gradient(1px 1px at 88% 55%, rgba(217, 201, 163, 0.38), transparent),
    radial-gradient(ellipse at 50% 0%, #262c4f 0%, #171b32 55%, #111425 100%);
  background-attachment: scroll;
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  border-bottom: 1px solid var(--border-gold);
  background-color: rgba(24, 28, 51, 0.92);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  font-family: var(--serif);
  letter-spacing: 0.03em;
}

.brand:hover {
  color: var(--gold);
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  display: block;
}

.brand-sub {
  font-family: var(--sans);
  font-weight: 500;
  color: var(--gold);
  font-size: 0.92rem;
  margin-left: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main-content {
  padding: 36px 20px 56px;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 28px;
  box-shadow: 0 18px 44px rgba(7, 9, 19, 0.48);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 10px;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  color: var(--text);
  letter-spacing: -0.01em;
}

h1 {
  margin: 0 0 16px;
  font-size: 2.15rem;
  line-height: 1.2;
}

h2 {
  margin: 0 0 14px;
  font-size: 1.55rem;
  line-height: 1.25;
}

h3 {
  margin: 16px 0 10px;
  font-size: 1.2rem;
}

/* ==========================================================================
   Framed wall calendar aesthetics
   ========================================================================== */
.calendar-frame {
  margin: 0;
  background-color: #161a30;
  border: 1.5px solid var(--gold);
  border-radius: 14px;
  padding: 10px;
  box-shadow:
    0 18px 42px rgba(5, 7, 16, 0.65),
    inset 0 0 0 1px rgba(217, 201, 163, 0.22);
  position: relative;
}

.calendar-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.calendar-frame-hero {
  padding-top: 18px;
}

.calendar-ring-bar {
  display: block;
  width: 44%;
  height: 6px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0,
    var(--gold) 4px,
    transparent 4px,
    transparent 10px
  );
  opacity: 0.75;
}

/* ==========================================================================
   1. Hero Section
   ========================================================================== */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 32px;
  align-items: center;
}

.hero-pitch {
  font-size: 1.12rem;
  color: var(--text);
  margin: 0 0 18px;
  line-height: 1.6;
}

.fact-chips {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fact-chip {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
}

.price-box {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-gold);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 10px;
  margin: 18px 0 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.price-main {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--accent);
}

.price-note {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero-order-btn {
  padding: 14px 28px;
  font-size: 1.08rem;
}

.hero-Fulfillment-note {
  margin: 0;
  color: var(--gold);
  font-size: 0.94rem;
  font-weight: 600;
}

/* ==========================================================================
   2. Video & Highlights Section
   ========================================================================== */
.video-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 36px;
  align-items: center;
}

.video-player-wrap {
  margin: 0 auto;
  width: 100%;
  max-width: 300px;
  background-color: #0e1120;
  border: 1.5px solid var(--gold);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 18px 40px rgba(5, 7, 16, 0.65);
}

.presentation-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 10px;
  background-color: #0e1120;
}

.highlights-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 20px;
}

.highlights-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid rgba(217, 201, 163, 0.16);
  font-size: 1.04rem;
  color: var(--text);
}

.highlights-list li:last-child {
  border-bottom: 0;
}

.highlights-list li::before {
  content: "✦";
  position: absolute;
  left: 2px;
  top: 10px;
  color: var(--gold);
}

.product-specs-note {
  margin: 14px 0 0;
  padding: 12px 16px;
  background-color: var(--bg-subtle);
  border-radius: 10px;
  border: 1px solid rgba(217, 201, 163, 0.22);
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ==========================================================================
   3. Gallery "Všech 12 měsíců" & <dialog> Lightbox
   ========================================================================== */
.section-header {
  margin-bottom: 22px;
}

.section-subtitle {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.gallery-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  margin: 0;
}

.gallery-link {
  display: block;
  text-decoration: none;
  color: var(--text);
  border-radius: 14px;
}

.gallery-figure {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.gallery-link:hover .gallery-figure,
.gallery-link:focus-visible .gallery-figure {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.65);
}

.gallery-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 6px 2px;
  font-family: var(--serif);
  font-size: 1rem;
}

.gallery-month-num {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-gold);
  padding: 2px 8px;
  border-radius: 999px;
}

.gallery-month-name {
  font-weight: 700;
  color: var(--text);
}

/* Lightbox dialog */
.lightbox-dialog {
  max-width: min(1040px, 95vw);
  width: 95vw;
  background-color: var(--bg-card);
  color: var(--text);
  border: 1.5px solid var(--gold);
  border-radius: 16px;
  padding: 18px 22px 22px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.85);
}

.lightbox-dialog::backdrop {
  background: rgba(9, 11, 22, 0.86);
}

.lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.lightbox-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
}

.lightbox-stage {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.lightbox-figure {
  max-width: 880px;
  margin: 0 auto;
}

.lightbox-figure img {
  max-height: 76vh;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}

.lightbox-nav-btn {
  background-color: var(--bg-subtle);
  color: var(--gold);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav-btn:hover {
  background-color: var(--gold);
  color: var(--accent-ink);
}

/* ==========================================================================
   4. Bonus Card
   ========================================================================== */
.bonus-promo-card {
  background: linear-gradient(135deg, #212643 0%, #2a3158 100%);
  border: 1.5px solid var(--gold);
}

.bonus-promo-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
}

.bonus-promo-visual {
  position: relative;
}

.bonus-cover-thumb {
  padding: 6px;
}

.bonus-moon-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--bg-subtle);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

.bonus-promo-copy p:last-child {
  margin-bottom: 0;
  font-size: 1.02rem;
}

/* ==========================================================================
   5. Pre-contract info & 6. Order form
   ========================================================================== */
.precontract-info ul {
  padding-left: 20px;
  margin: 12px 0 0;
}

.precontract-info li {
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.precontract-info li strong {
  color: var(--text);
}

.notice-banner {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-weight: 600;
}

.notice-closed {
  background-color: #3b1d06;
  border: 1px solid #d97706;
  color: #fde68a;
}

.notice-ok {
  background-color: #052e16;
  border: 1px solid #16a34a;
  color: #bbf7d0;
}

.hp-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.form-field {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: var(--gold);
}

.form-field input,
.filter-form select,
.filter-form input {
  padding: 11px 13px;
  border-radius: 8px;
  border: 1px solid var(--border-gold);
  background-color: var(--bg-subtle);
  color: var(--text);
  font-size: 1rem;
}

.form-field input:focus,
.filter-form select:focus,
.filter-form input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form-field input:disabled,
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.pickup-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.pickup-selected {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.business-fieldset {
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 18px;
  margin: 18px 0 24px;
}

.business-fieldset legend {
  padding: 0 8px;
  font-weight: 600;
  color: var(--gold);
}

.recap-box {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 22px;
  margin: 24px 0 18px;
}

.recap-box h3 {
  margin-top: 0;
}

.recap-hint {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0;
}

.recap-list,
.kv-list {
  margin: 0;
}

.recap-list > div,
.kv-list > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(217, 201, 163, 0.16);
}

.recap-list > div:last-child,
.kv-list > div:last-child {
  border-bottom: 0;
}

.recap-list dt,
.kv-list dt {
  color: var(--gold);
  font-weight: 600;
}

.recap-list dd,
.kv-list dd {
  margin: 0;
}

.consent-field {
  margin: 18px 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
}

.form-error {
  background-color: #450a0a;
  border: 1px solid var(--danger);
  color: #fecaca;
  padding: 12px 16px;
  border-radius: 8px;
  margin: 16px 0;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--accent-hover);
  color: var(--accent-ink);
}

.btn-secondary {
  background-color: #30375e;
  color: var(--text);
  border: 1px solid var(--border-gold);
}

.btn-secondary:hover:not(:disabled) {
  background-color: #3c4575;
  color: var(--text);
}

.btn-danger {
  background-color: var(--danger);
  color: #ffffff;
}

.btn-small {
  padding: 6px 12px;
  font-size: 0.875rem;
}

.payment-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  margin: 20px 0;
}

.qr-box {
  background-color: #ffffff;
  color: #0f172a;
  padding: 14px;
  border-radius: 10px;
  text-align: center;
  max-width: 250px;
}

.qr-box svg {
  display: block;
  width: 210px;
  height: 210px;
  margin: 0 auto;
}

.qr-caption {
  margin: 8px 0 0;
  font-size: 0.82rem;
  font-weight: 600;
}

.table-wrap {
  overflow-x: auto;
  margin: 16px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  color: var(--gold);
  background-color: var(--bg-subtle);
}

.status-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-pending { background-color: #713f12; color: #fef08a; }
.status-paid { background-color: #14532d; color: #bbf7d0; }
.status-shipped { background-color: #1e3a8a; color: #bfdbfe; }
.status-cancelled { background-color: #450a0a; color: #fecaca; }

.bonus-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.bonus-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  margin-bottom: 12px;
  background-color: var(--bg-subtle);
}

.bonus-filename {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.badge-pending {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background-color: #30375e;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.admin-top-bar,
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.filter-form,
.admin-actions-group,
.resend-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.inline-form {
  display: inline-block;
}

.admin-action-card {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 16px;
  margin-top: 18px;
}

.admin-email-err {
  color: #fca5a5;
  font-size: 0.8rem;
  margin-top: 4px;
}

.site-footer {
  border-top: 1px solid var(--border-gold);
  background-color: rgba(19, 22, 41, 0.85);
  padding: 26px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .video-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .bonus-promo-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .bonus-promo-visual {
    max-width: 240px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 14px;
  }
  .main-content {
    padding: 20px 14px 40px;
  }
  .card {
    padding: 20px 16px;
    margin-bottom: 20px;
  }
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .lightbox-dialog {
    padding: 14px;
  }
  .lightbox-stage {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .lightbox-nav-btn {
    width: 100%;
    height: 38px;
    border-radius: 8px;
    font-size: 1.3rem;
  }
  .recap-list > div,
  .kv-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .payment-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .gallery-link:hover .gallery-figure,
  .gallery-link:focus-visible .gallery-figure {
    transform: none;
  }
}

/* p25 / p26 / online withdrawal (elements exist only when the matching feature flag is on) */
.price-note-sk {
  display: block;
  margin-top: 4px;
}

.country-fieldset,
.payment-fieldset,
.address-fieldset {
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 18px;
  margin: 18px 0 24px;
}

.country-fieldset legend,
.payment-fieldset legend,
.address-fieldset legend {
  padding: 0 8px;
  font-weight: 600;
  color: var(--gold);
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
}

.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
}

.address-fieldset[hidden],
.consent-field[hidden],
.business-fieldset[hidden] {
  display: none;
}

.attention-banner ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.eu-sales-box {
  font-weight: 400;
}
