/* ── Order Page ── */
[hidden] { display: none !important; }

.order-page { background: var(--cream); }
.order-page .nav { background: rgba(240,242,246,0.96); backdrop-filter: blur(24px); border-bottom: 1px solid var(--border); }
.order-page .nav .logo, .order-page .nav .nav-cta { color: var(--ink); }
.order-page .nav .nav-links a { color: var(--muted); }
.order-page .nav .nav-links a:hover { color: var(--ink); }
.order-page .hamburger span { background: var(--ink); }

/* ── HEADER ── */
.order-header { background: var(--ink); padding: 112px 40px 48px; }
.order-header-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.order-header-inner > div:first-child { min-width: 0; flex: 1 1 320px; max-width: 720px; }
.order-title {
  font-family: var(--ff-serif);
  font-size: clamp(30px, 4.5vw, 56px); font-weight: 800;
  line-height: 0.95; letter-spacing: -0.03em; text-transform: uppercase;
  color: #f0f2f6; margin-bottom: 12px; text-wrap: balance;
}
.order-title em { font-style: normal; color: var(--gold); }
.order-subtitle { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(240,242,246,0.4); }

.order-contact { display: flex; gap: 10px; flex-wrap: wrap; }
.order-contact a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  text-decoration: none; color: #f0f2f6;
  border: 1px solid rgba(255,255,255,0.18);
  transition: border-color .2s, background .2s;
}
.order-contact a:hover { border-color: #f0f2f6; }
.order-contact a.wa { background: var(--blue); border-color: var(--blue); }
.order-contact a.wa:hover { background: #0f38b8; border-color: #0f38b8; }

/* ── LAYOUT ── */
.cfg-layout {
  max-width: 1120px; margin: 0 auto;
  padding: 48px 40px 80px;
  display: grid; grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px; align-items: start;
}
.cfg-form { display: flex; flex-direction: column; gap: 44px; min-width: 0; }

/* ── STEP ── */
.cfg-step { display: flex; flex-direction: column; gap: 14px; }
.step-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.step-num { font-family: var(--ff-serif); font-size: 11px; font-weight: 800; letter-spacing: 2px; color: var(--blue); }
.step-head h2 { font-family: var(--ff-serif); font-size: 18px; font-weight: 700; letter-spacing: -0.2px; text-transform: uppercase; color: var(--ink); }
.step-hint { font-size: 12px; color: var(--muted); flex-basis: 100%; line-height: 1.5; }

/* ── OPTION (shared) ── */
.opt { position: relative; cursor: pointer; display: block; }
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt-box {
  position: relative; height: 100%;
  background: var(--white); border: 1.5px solid var(--border);
  transition: border-color .2s, box-shadow .2s;
}
.opt:hover .opt-box { border-color: rgba(19,70,224,0.35); }
.opt input:checked ~ .opt-box { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.opt input:focus-visible ~ .opt-box { outline: 2px solid var(--blue); outline-offset: 2px; }
.opt-check {
  position: absolute; top: 12px; right: 12px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.6);
  transition: opacity .2s, transform .2s;
}
.opt input:checked ~ .opt-box .opt-check { opacity: 1; transform: scale(1); }

/* ── 01 VÝSTROJ ── */
.eq-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.eq .opt-box { padding: 18px 44px 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.eq-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-family: var(--ff-serif); font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.2px; color: var(--ink); }
.eq-name small { font-family: var(--ff-sans); font-size: 11px; font-weight: 700; color: var(--blue); letter-spacing: 0.5px; margin-left: 0; text-transform: none; white-space: nowrap; }
.eq-sub { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; line-height: 1.4; }

/* ── 02 SERVIS ── */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

/* ── ANGLE PANEL ── */
.angle-panel {
  margin-top: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  animation: fadeDown .2s var(--ease);
}
@keyframes fadeDown { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }
.angle-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.angle-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); white-space: nowrap; }
.angle-opts { display: flex; gap: 8px; flex-wrap: wrap; }
.angle-opt { display: flex; align-items: center; gap: 0; cursor: pointer; }
.angle-opt input { display: none; }
.angle-opt { padding: 7px 16px; border: 1.5px solid var(--border); border-radius: 6px; font-family: var(--ff-serif); font-size: 15px; font-weight: 700; color: var(--ink); transition: border-color .15s, background .15s; }
.angle-opt.active, .angle-opt:hover { border-color: var(--blue); background: var(--ice); color: var(--blue); }
.angle-fixed { font-family: var(--ff-serif); font-size: 15px; font-weight: 700; color: var(--ink); }
.angle-hint { font-size: 12px; color: var(--muted); flex: 1; min-width: 160px; }
.svc .opt-box { padding: 20px 18px; display: flex; flex-direction: column; gap: 8px; }
.svc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 8px; padding-right: 20px; flex-wrap: wrap; }
.svc-name { font-family: var(--ff-serif); font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--ink); }
.svc-price { font-family: var(--ff-serif); font-size: 22px; font-weight: 800; color: var(--blue); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.svc-price small { font-family: var(--ff-sans); font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; margin-left: 4px; }
.svc-for { font-size: 11px; color: var(--muted); line-height: 1.5; }
.svc-list { list-style: none; display: flex; flex-direction: column; gap: 5px; padding-top: 8px; margin-top: 4px; border-top: 1px solid var(--border); }
.svc-list li { font-size: 11px; color: var(--muted); padding-left: 12px; position: relative; line-height: 1.4; }
.svc-list li::before { content: '—'; position: absolute; left: 0; color: var(--border); }
.svc-list li strong { color: var(--blue); font-weight: 600; }

.svc--rec .opt-box { border-color: rgba(196,157,58,0.5); }
.svc--rec:hover .opt-box { border-color: rgba(196,157,58,0.8); }
.svc--rec input:checked ~ .opt-box { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.svc--rec .opt-check { background: var(--gold); }
.svc--rec .svc-price { color: var(--gold); }
.svc-badge {
  position: absolute; top: -1px; right: 22px; z-index: 1;
  background: var(--gold); color: #fff;
  font-size: 8px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 10px;
}

/* ── 03 ODOVZDANIE ── */
.dlv-list { display: flex; flex-direction: column; gap: 6px; }
.dlv .opt-box { display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.dlv-text { flex: 1; min-width: 0; }
.dlv-text strong { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.dlv-text p { font-size: 11px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.dlv-price { font-size: 11px; font-weight: 700; letter-spacing: .5px; color: var(--blue); white-space: nowrap; }
.dlv .opt-check { position: static; flex-shrink: 0; }

/* ── 04 FORM FIELDS ── */
.of-fields { display: flex; flex-direction: column; gap: 12px; }
.of-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.of-group { display: flex; flex-direction: column; gap: 6px; }
.of-group label { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.of-optional { color: rgba(95,107,122,0.5); }
.of-group input, .of-group textarea {
  width: 100%; border-radius: 0;
  background: var(--white); border: 1.5px solid var(--border); color: var(--ink);
  padding: 11px 14px; font-family: var(--ff-sans); font-size: 13px;
  outline: none; transition: border-color .2s;
}
.of-group input:focus, .of-group textarea:focus { border-color: var(--blue); }
.of-group input:user-invalid { border-color: #c0392b; }
.of-group textarea { resize: vertical; min-height: 72px; }

/* ── SÚHRN ── */
.cfg-summary {
  position: sticky; top: 92px;
  background: var(--white); border: 1.5px solid var(--border); border-top: 3px solid var(--blue);
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
}
.sum-title { font-family: var(--ff-serif); font-size: 12px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--ink); }
.sum-rows { display: flex; flex-direction: column; gap: 10px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; line-height: 1.4; }
.sum-row .k { color: var(--muted); flex-shrink: 0; }
.sum-row .v { color: var(--ink); font-weight: 600; text-align: right; }
.sum-row .v.empty { color: var(--muted); font-weight: 400; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--border); }
.sum-total .k { font-size: 12px; font-weight: 600; color: var(--ink); }
.sum-total .v { font-family: var(--ff-serif); font-size: 28px; font-weight: 800; color: var(--blue); font-variant-numeric: tabular-nums; }

.cfg-submit { width: 100%; justify-content: center; background: var(--blue); }
.cfg-submit:hover { background: #0f38b8; }
.cfg-submit:disabled { opacity: .35; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.cfg-copy { width: 100%; justify-content: center; padding: 12px 24px; font-size: 11px; cursor: pointer; }
.cfg-copy:disabled { opacity: .35; cursor: not-allowed; }
.sum-note { font-size: 11px; color: var(--muted); line-height: 1.5; text-align: center; }
.sum-error { font-size: 11px; color: #c0392b; text-align: center; font-weight: 600; }

/* ── MOBILE BAR ── */
.cfg-bar { display: none; }

/* ── FAQ ── */
.faq { background: var(--white); border-top: 1px solid var(--border); padding: 72px 40px; }
.faq-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.faq-intro .section-heading { font-size: clamp(28px, 3.5vw, 44px); }
.faq-intro .body-text { margin-top: 20px; }
.faq-intro .faq-call { margin-top: 24px; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0;
  font-family: var(--ff-serif); font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; flex-shrink: 0;
  font-family: var(--ff-sans); font-size: 20px; font-weight: 300; line-height: 1; color: var(--blue);
  transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.faq-body { padding: 0 0 20px; font-size: 13px; line-height: 1.7; color: var(--muted); max-width: 62ch; }
.faq-body strong { color: var(--ink); font-weight: 600; }
.faq-body ul { margin: 0 0 10px 16px; display: flex; flex-direction: column; gap: 6px; }

/* ── CONTACT STRIP ── */
.cfg-contact { background: var(--ink); padding: 56px 40px; }
.cfg-contact-inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cfg-contact h2 { font-family: var(--ff-serif); font-size: clamp(22px, 3vw, 32px); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; color: #f0f2f6; line-height: 1; }
.cfg-contact h2 em { font-style: normal; color: var(--gold); }
.cfg-contact p { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: rgba(240,242,246,0.45); margin-top: 12px; }
.cfg-contact .order-contact a { font-size: 12px; padding: 14px 22px; }

/* ── SUCCESS ── */
.order-success {
  max-width: 560px; margin: 0 auto; padding: 72px 24px 96px;
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 24px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.order-success h2 { font-family: var(--ff-serif); font-size: 32px; font-weight: 800; letter-spacing: -1px; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.order-success p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.order-success p a { color: var(--blue); font-weight: 600; }
.success-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.success-actions button { cursor: pointer; }
.success-order {
  margin-top: 28px; width: 100%; text-align: left;
  background: var(--white); border: 1.5px solid var(--border);
  padding: 18px 20px; font-family: var(--ff-sans); font-size: 12px; line-height: 1.7; color: var(--ink2);
  white-space: pre-wrap; word-break: break-word;
}

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  .cfg-layout { grid-template-columns: 1fr; padding: 36px 24px 40px; gap: 36px; }
  .cfg-summary { position: static; }
  .order-main { padding-bottom: 76px; }
  .cfg-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 400;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 10px 24px; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--ink); color: #f0f2f6;
  }
  .cfg-bar .k { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: rgba(240,242,246,0.5); }
  .cfg-bar .v { font-family: var(--ff-serif); font-size: 20px; font-weight: 800; color: #f0f2f6; font-variant-numeric: tabular-nums; }
  .cfg-bar a {
    display: inline-flex; align-items: center; padding: 12px 20px;
    background: var(--blue); color: #fff; text-decoration: none;
    font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  }
  .order-page.done .cfg-bar { display: none; }
  .order-page.done .order-main { padding-bottom: 0; }
  .faq-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .eq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .order-header { padding: 96px 24px 32px; }
  .eq-grid, .svc-grid, .of-row { grid-template-columns: minmax(0, 1fr); }
  .opt { min-width: 0; }
  .faq, .cfg-contact { padding-left: 24px; padding-right: 24px; }
  .faq { padding-top: 56px; padding-bottom: 56px; }
}

.eq-grid .opt-box { min-height: 118px; align-content: start; }
.eq-name small { flex-basis: 100%; }
