/* Shared Czech frame. frame-only opts checkout into header/footer styles only. */
body.common-frame {
  --cream: #F6EFE3;
  --terra: #C25D3D;
  --mustard: #E0A93D;
  --gutter: clamp(20px, 4vw, 56px);
  font-family: "Nunito", "Segoe UI", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.common-frame [id] { scroll-margin-top: 96px; }
.common-frame h1, .common-frame h2 { font-family: inherit; font-weight: 900; letter-spacing: -.025em; }
.common-frame h3, .common-frame h4 { font-family: inherit; font-weight: 800; letter-spacing: -.02em; }
.common-frame :where(main a) { color: var(--terra); text-underline-offset: 5px; }
.common-frame :where(main a:hover) { color: var(--green); }
.common-frame :is(a, button, summary):focus-visible { outline: 3px solid var(--mustard); outline-offset: 4px; }
:is(.common-frame, .frame-only) .header {
  position: sticky; top: 0; z-index: 50; width: 100%; min-height: 76px;
  margin: 0; padding: 0; border: 0; border-bottom: 1px solid rgba(246,239,227,.16);
  background: rgba(15,42,34,.94); color: var(--cream);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}
:is(.common-frame, .frame-only) .header-inner, :is(.common-frame, .frame-only) .footer-inner {
  width: 100%; max-width: calc(1240px + 2 * var(--gutter));
  margin: 0 auto; padding: 0 var(--gutter);
}
:is(.common-frame, .frame-only) .header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 18px; flex-wrap: nowrap; }
:is(.common-frame, .frame-only) .header .brand { display: flex; flex-shrink: 0; align-items: center; gap: 12px; font-size: 22px; font-weight: 900; letter-spacing: .06em; color: var(--cream); line-height: 1; text-decoration: none; order: 0; }
:is(.common-frame, .frame-only) .brand > span { display: grid; gap: 3px; text-transform: uppercase; }
:is(.common-frame, .frame-only) .header .brand small { display: block; font: 700 11px/1.2 Nunito, sans-serif; color: var(--mustard); letter-spacing: .02em; text-transform: none; }
:is(.common-frame, .frame-only) .brand-compass { width: 38px; height: 38px; flex: 0 0 38px; }
:is(.common-frame, .frame-only) .header .nav { display: flex; width: auto; align-items: center; justify-content: flex-end; flex-wrap: nowrap; gap: 18px; order: 0; }
:is(.common-frame, .frame-only) .nav a { position: relative; padding: 0; color: rgba(246,239,227,.88); font-size: 15px; font-weight: 700; line-height: 1.4; text-decoration: none; }
:is(.common-frame, .frame-only) .nav a:hover { color: var(--cream); text-decoration: underline; text-decoration-color: var(--mustard); text-decoration-thickness: 2px; text-underline-offset: 6px; }
:is(.common-frame, .frame-only) .language-switch { order: 0; margin-left: 0; }
:is(.common-frame, .frame-only) .frame-toggle { display: none; flex: 0 0 44px; width: 44px; height: 44px; padding: 10px; border-radius: 999px; border: 1px solid rgba(246,239,227,.3); background: transparent; color: var(--cream); cursor: pointer; }
:is(.common-frame, .frame-only) .frame-toggle svg { display: block; width: 22px; height: 22px; }
:is(.common-frame, .frame-only) .footer { display: block; width: 100%; margin: 0; padding: 56px 0 28px; background: var(--green-dark); color: rgba(246,239,227,.82); font-size: 14px; }
:is(.common-frame, .frame-only) .footer-inner { display: grid; grid-template-columns: 1.6fr 2fr; gap: 32px; }
:is(.common-frame, .frame-only) .footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
:is(.common-frame, .frame-only) .footer-brand strong { color: var(--cream); font-size: 22px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
:is(.common-frame, .frame-only) .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 8px 24px; }
:is(.common-frame, .frame-only) .footer a { overflow-wrap: anywhere; color: rgba(246,239,227,.82); text-decoration: none; font-weight: 600; }
:is(.common-frame, .frame-only) .footer a:hover { color: var(--cream); text-decoration: underline; }
.common-frame main .button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 15px 26px; border: 1.5px solid transparent; border-radius: 999px; background: var(--green); color: var(--paper); font: 800 16px/1 Nunito, sans-serif; text-decoration: none; cursor: pointer; box-shadow: 0 10px 22px -12px rgba(31,69,54,.6); transition: transform .15s, background .2s; }
.common-frame main .button:hover { background: #16331f; color: var(--paper); transform: translateY(-1px); }
.common-frame main .button.light, .common-frame main .button-outline { background: rgba(255,255,255,.7); color: var(--green); border-color: rgba(31,69,54,.45); box-shadow: none; }
.common-frame main .button.light:hover, .common-frame main .button-outline:hover { background: white; }
:is(.common-frame, .frame-only) .skip { z-index: 60; }
/* Longer translated navigation needs the mobile layout sooner than Czech. */
@media (max-width: 1200px) {
  :is(.common-frame, .frame-only) .header-inner { flex-wrap: wrap; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
  :is(.common-frame, .frame-only) .header .language-switch { margin-left: auto; }
  :is(.common-frame, .frame-only) .header .nav { order: 3; width: 100%; flex-wrap: wrap; justify-content: flex-start; }
  :is(.common-frame, .frame-only) .frame-menu-ready .frame-toggle { display: block; }
  :is(.common-frame, .frame-only) .frame-menu-ready .nav { display: none; }
  :is(.common-frame, .frame-only) .frame-menu-ready[data-open="true"] .nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 100%; left: 0; right: 0; padding: 8px var(--gutter) 12px; background: var(--green-dark); border-bottom: 1px solid rgba(246,239,227,.16); max-height: calc(100dvh - 100px); overflow-y: auto; }
  :is(.common-frame, .frame-only) .frame-menu-ready .nav a { padding: 12px 0; }
}
@media (max-width: 640px) {
  :is(.common-frame, .frame-only) .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  :is(.common-frame, .frame-only) .footer-links { gap: 10px 18px; }
}
@media (max-width: 480px) {
  :is(.common-frame, .frame-only) .header .brand { gap: 7px; font-size: 18px; }
  :is(.common-frame, .frame-only) .brand-compass { width: 30px; height: 30px; flex-basis: 30px; }
  :is(.common-frame, .frame-only) .header .brand small { display: none; }
  :is(.common-frame, .frame-only) .header-inner { gap: 8px; }
  :is(.common-frame, .frame-only) .language-switch { gap: 3px; }
}
@media (max-width: 380px) {
  :is(.common-frame, .frame-only) .header .brand { font-size: 16px; }
  :is(.common-frame, .frame-only) .brand-compass { width: 24px; height: 24px; flex-basis: 24px; }
  :is(.common-frame, .frame-only) .language-switch { font-size: 11px; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .common-frame main .button { transition: none; }
  .common-frame main .button:hover { transform: none; }
}

/* Frame tokens are local to checkout chrome; its form keeps its own cascade. */
.frame-only :is(.header, .footer) { --cream: #F6EFE3; --mustard: #E0A93D; --gutter: clamp(20px, 4vw, 56px); font-family: Nunito, sans-serif; }
/* Czech footer structure: brand + Web / Project / Legal columns. */
:is(.common-frame, .frame-only) .footer-inner { grid-template-columns: 1.6fr 3fr; }
:is(.common-frame, .frame-only) .footer .frame-footer-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
:is(.common-frame, .frame-only) .frame-footer-column h4 { color: var(--mustard); font: 800 13px/1.3 Nunito, sans-serif; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
:is(.common-frame, .frame-only) .frame-footer-column a { display: block; margin-bottom: 8px; }
/* Native disclosure keeps the guide submenu keyboard-accessible. */
:is(.common-frame, .frame-only) .header .frame-guides { position: relative; border: 0; padding: 0; margin: 0; color: var(--cream); background: transparent; border-radius: 0; box-shadow: none; overflow: visible; }
:is(.common-frame, .frame-only) .frame-guides summary { display: inline-flex; align-items: center; gap: 7px; padding: 0; min-height: 0; font: 700 15px/1.4 Nunito, sans-serif; color: rgba(246,239,227,.88); cursor: pointer; white-space: nowrap; list-style: none; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
:is(.common-frame, .frame-only) .frame-guides-panel { position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%); width: 290px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: 0 20px 40px -20px #1f2a234d, 0 4px 12px #1f2a2314; z-index: 60; }
:is(.common-frame, .frame-only) .header .frame-guides-panel a { display: block; padding: 12px 14px; border-radius: 10px; color: var(--green); font-weight: 800; text-decoration: none; }
:is(.common-frame, .frame-only) .header .frame-guides-panel a:is(:hover, :focus-visible) { background: var(--green); color: var(--cream); }
.frame-only h1 .order-accent { color: #C25D3D; }
.frame-only .order-introduction { max-width: 64ch; font-size: 19px; line-height: 1.5; color: #4A4F4B; margin: 18px 0; }
@media (max-width: 1200px) {
  :is(.common-frame, .frame-only) .header .frame-guides summary { padding: 12px 0; }
  :is(.common-frame, .frame-only) .header .frame-guides-panel a { color: var(--cream); }
  :is(.common-frame, .frame-only) .header .frame-guides-panel a:is(:hover, :focus-visible) { background: rgba(246,239,227,.12); }
  :is(.common-frame, .frame-only) .frame-guides-panel { position: static; transform: none; width: 100%; box-shadow: none; margin: 8px 0 12px; padding: 4px 0 0; background: transparent; border: 0; border-top: 1px solid #f6efe329; border-radius: 0; }
}
@media (max-width: 800px) {
  :is(.common-frame, .frame-only) .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  :is(.common-frame, .frame-only) .footer .frame-footer-columns { grid-template-columns: 1fr; gap: 24px; }
}
/* Cancellation is a link, never a submit control; existing validation stays intact. */
.frame-only .order-step-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; }
.frame-only .order-step-footer .button { width: auto; margin: 0; }
.frame-only .order-cancel { background: #fff; color: #1F4536; border: 1.5px solid #1f453673; box-shadow: none; }
.frame-only .order-cancel:hover { background: #EDF4E8; }
@media (max-width: 480px) {
  .frame-only .order-step-footer { flex-wrap: wrap; }
}

/* Replace native disclosure markers with the Czech trailing chevron. */
:is(.common-frame, .frame-only) .frame-guides summary::marker { content: ""; }
:is(.common-frame, .frame-only) .frame-guides summary::-webkit-details-marker { display: none; }
:is(.common-frame, .frame-only) .frame-guides summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.8px 1.8px 0; transform: translateY(-2px) rotate(45deg); flex-shrink: 0; }
:is(.common-frame, .frame-only) .frame-guides[open] summary::after { transform: translateY(2px) rotate(225deg); }
:is(.common-frame, .frame-only) .frame-guides summary:hover { color: var(--cream); }
@media (max-width: 1200px) {
  :is(.common-frame, .frame-only) .header .frame-guides-panel a { padding: 10px 0 10px 14px; border-radius: 0; color: rgba(246,239,227,.88); }
  :is(.common-frame, .frame-only) .header .frame-guides-panel a:is(:hover, :focus-visible) { background: transparent; color: var(--cream); }
}
