:root {
  --red: #d6131f;
  --red-dark: #b30f19;
  --red-soft: rgba(214, 19, 31, 0.1);
  --ink: #111111;
  --ink-soft: #6b6b6b;
  --line: #e9e9e9;
  --bg: #ffffff;
  --radius: 12px;
  --font: "Seznam Sans", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  position: fixed;
  inset: 0;
  width: 100%;
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

svg {
  display: block;
}

/* ---------------- horní lišta ---------------- */
.topbar {
  border-bottom: 1px solid #efefef;
  background: #fff;
}

.topbar-inner {
  max-width: 1880px;
  margin: 0 auto;
  height: 82px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.logo {
  display: flex;
  align-items: baseline;
  font-weight: 900;
  font-size: 29px;
  letter-spacing: -0.6px;
  white-space: nowrap;
  line-height: 1;
}

.logo-s {
  color: var(--red);
  font-style: italic;
  font-size: 36px;
  font-weight: 900;
  transform: skewX(-8deg);
  display: inline-block;
  margin-right: 1px;
}

.logo-rest,
.logo-tld {
  color: #0d0d0d;
}

.search {
  position: relative;
  flex: 1 1 auto;
  max-width: 600px;
  margin: 0 auto;
}

.search-input {
  width: 100%;
  height: 46px;
  border: 1px solid #e2e2e2;
  border-radius: 999px;
  padding: 0 62px 0 22px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  background: #fff;
}

.search-input::placeholder {
  color: #8a8a8a;
}

.search-input:focus {
  border-color: #c9c9c9;
}

.search-btn {
  position: absolute;
  right: -1px;
  top: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.search-btn:hover {
  background: var(--red-dark);
}

.search-btn svg {
  width: 19px;
  height: 19px;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.topnav-add {
  color: var(--red);
  font-size: 15px;
  font-weight: 500;
  margin-right: 8px;
  white-space: nowrap;
}

.icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0;
  background: #ececec;
  color: #6f6f6f;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.icon-btn:hover {
  background: #e2e2e2;
}

.icon-btn svg {
  width: 16px;
  height: 16px;
}

.seznam-link {
  font-weight: 700;
  font-size: 15px;
  margin-left: 10px;
  white-space: nowrap;
}

/* ---------------- obsah ---------------- */
.page {
  padding: 0 22px 80px;
}

.page-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 30px;
  font-size: 15px;
  color: #7a7a7a;
  flex-wrap: wrap;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--red);
  font-weight: 500;
  margin-right: 10px;
}

.back-link svg {
  width: 20px;
  height: 20px;
}

.crumb-sep {
  color: #a5a5a5;
}

.crumb {
  color: #7a7a7a;
}

.offer-title {
  font-size: 34px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 20px 0 6px;
}

.offer-subtitle {
  font-size: 26px;
  color: #6f6f6f;
  font-weight: 400;
  margin-bottom: 26px;
}

.offer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}

/* ---------------- galerie ---------------- */
.gallery {
  position: relative;
  aspect-ratio: 768 / 580;
  border-radius: var(--radius);
  overflow: hidden;
  background: #2a2a2a;
  user-select: none;
}

.gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-img.is-active {
  opacity: 1;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #333;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  opacity: 0.95;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.gallery-nav:hover {
  background: #fff;
}

.gallery-nav.prev {
  left: 12px;
}

.gallery-nav.next {
  right: 12px;
}

.gallery-nav svg {
  width: 20px;
  height: 20px;
}

.gallery-save {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 0;
  background: rgba(35, 35, 35, 0.72);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(2px);
}

.gallery-save:hover {
  background: rgba(20, 20, 20, 0.85);
}

.gallery-save svg {
  width: 20px;
  height: 20px;
}

.gallery-dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.dot.is-active {
  background: #fff;
}

.gallery-empty {
  display: grid;
  place-items: center;
  background: #f2f2f2;
}

.gallery-placeholder {
  color: #8b8b8b;
  font-size: 15px;
}

.offer-description {
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.72;
  color: #1a1a1a;
}

.offer-description p {
  margin: 0 0 20px;
}

.offer-description .muted {
  color: #7a7a7a;
}

/* ---------------- cena ---------------- */
.price-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 24px 22px 24px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.price-label {
  font-size: 15px;
  color: #6b6b6b;
}

.price-value {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.6px;
  margin: 10px 0 22px;
  line-height: 1.1;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: default;
}

.btn-primary svg {
  width: 18px;
  height: 18px;
}

.btn-write {
  width: 100%;
}

.btn-block {
  width: 100%;
}

/* ---------------- plovoucí podpora ---------------- */
.support-pill {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 145;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 20px 0 9px;
  border-radius: 999px;
  border: 1px solid #e4e4e4;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.support-pill:hover {
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.18);
}

.support-pill.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.support-pill-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
}

.support-pill-icon svg {
  width: 16px;
  height: 16px;
}

.support-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 6px;
}

.support-badge[hidden] {
  display: none;
}

/* ---------------- chat ---------------- */
.chat {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 150;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 52px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.chat.is-open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.chat-head {
  background: var(--red);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.chat-avatar svg {
  width: 23px;
  height: 23px;
}

.chat-head-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.chat-title {
  font-size: 16.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  opacity: 0.92;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5ce07f;
}

.chat-close {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 8px;
  cursor: pointer;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.14);
}

.chat-close svg {
  width: 19px;
  height: 19px;
}

.chat-body {
  flex: 1 1 auto;
  overflow-y: auto;
  background: #f6f6f7;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.msg-in {
  max-width: 84%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.msg-in.support {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #ececec;
  border-bottom-left-radius: 5px;
  color: #1b1b1b;
}

.msg-in.me {
  align-self: flex-end;
  background: var(--red);
  color: #fff;
  border-bottom-right-radius: 5px;
}

.chat-form {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #eee;
  background: #fff;
}

.chat-input {
  flex: 1 1 auto;
  height: 44px;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  min-width: 0;
}

.chat-input:focus {
  border-color: var(--red);
}

.chat-send {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.chat-send:hover {
  background: var(--red-dark);
}

.chat-send svg {
  width: 18px;
  height: 18px;
}

/* ---------------- modaly ---------------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(15, 15, 15, 0.58);
  backdrop-filter: blur(2px);
  animation: fadeIn 0.18s ease-out;
}

.overlay[hidden] {
  display: none;
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
}

.modal-layer[hidden] {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal {
  position: relative;
  width: 420px;
  max-width: 100%;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px 24px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.4);
  animation: modalIn 0.2s cubic-bezier(0.2, 0.9, 0.3, 1);
  pointer-events: auto;
}

.modal[hidden] {
  display: none;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #555;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.modal-x:hover {
  background: #f2f2f2;
}

.modal-x svg {
  width: 18px;
  height: 18px;
}

.modal-price {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.6px;
  color: var(--red);
  line-height: 1.2;
  margin-top: 4px;
}

.modal-received {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--red);
  font-size: 15px;
}

.modal-received svg {
  width: 19px;
  height: 19px;
}

.modal-divider {
  height: 1px;
  background: #ececec;
  margin: 20px -24px;
}

.modal-heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.modal-info {
  color: #9a9a9a;
  flex: 0 0 auto;
  margin-left: auto;
}

.modal-info svg {
  width: 19px;
  height: 19px;
}

.modal-text {
  font-size: 15.5px;
  line-height: 1.55;
  color: #2c2c2c;
  margin: 12px 0 20px;
}

.modal-text.center {
  text-align: center;
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  margin: 4px 0 20px;
  letter-spacing: -0.2px;
}

.modal-title.center {
  text-align: center;
}

.field {
  display: block;
  margin-bottom: 16px;
}

.field-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
}

.field-input {
  width: 100%;
  height: 46px;
  border: 1.5px solid var(--red);
  border-radius: 10px;
  padding: 0 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  background: #fff;
}

.field-input:focus {
  box-shadow: 0 0 0 3px var(--red-soft);
}

.field-input::placeholder {
  color: #9a9a9a;
}

.field-input.invalid {
  border-color: #d6131f;
  background: #fff6f6;
}

.modal-actions {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.btn-continue {
  min-width: 190px;
}

.form-error {
  color: var(--red);
  font-size: 14px;
  line-height: 1.4;
  margin: -4px 0 14px;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.done-icon {
  width: 66px;
  height: 66px;
  margin: 10px auto 14px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
}

.done-icon svg {
  width: 32px;
  height: 32px;
}

.empty-state {
  padding: 90px 0;
  text-align: center;
}

.empty-state h1 {
  font-size: 30px;
  margin-bottom: 10px;
}

.empty-state p {
  color: var(--ink-soft);
}

/* ---------------- responzivita ---------------- */
@media (max-width: 1080px) {
  .offer-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
  }

  .search {
    max-width: 420px;
  }
}

@media (max-width: 900px) {
  .modal-layer {
    align-items: flex-start;
    padding: 20px;
  }

  body.modal-open .modal {
    max-height: 52vh;
  }

  body.modal-open .chat {
    height: 44vh;
    height: 44dvh;
  }

  .topbar-inner {
    height: 68px;
    gap: 14px;
    padding: 0 14px;
    flex-wrap: wrap;
  }

  .search {
    order: 3;
    flex: 1 0 100%;
    max-width: none;
    margin: 0 0 12px;
  }

  .topbar {
    padding-bottom: 10px;
  }

  .topnav-add,
  .seznam-link {
    display: none;
  }

  .page {
    padding: 0 14px 70px;
  }

  .offer-title {
    font-size: 26px;
  }

  .offer-subtitle {
    font-size: 20px;
    margin-bottom: 18px;
  }

  .offer-layout {
    grid-template-columns: 1fr;
  }

  .offer-side {
    order: -1;
  }

  .gallery-nav {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 540px) {
  .chat {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    height: calc(100vh - 24px);
    max-height: none;
  }

  body.modal-open .chat {
    height: 44vh;
    height: 44dvh;
  }

  body.modal-open .modal-layer {
    align-items: flex-start;
    padding-top: 12px;
  }

  body.modal-open .modal {
    max-height: 50vh;
  }

  .support-pill {
    right: 14px;
    bottom: 14px;
  }

  .modal {
    padding: 26px 18px 20px;
  }

  .modal-price {
    font-size: 28px;
  }
}

/* ================= výběr platby / karta / PayPal ================= */
.pay-body {
  background: #f6f6f7;
}

.pay-page {
  padding: 30px 20px 90px;
  min-height: calc(100vh - 82px);
  box-sizing: border-box;
}

.pay-shell {
  max-width: 1100px;
  margin: 0 auto;
}

.pay-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #6b6b6b;
  flex-wrap: wrap;
}

.https-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.https-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1f9d55;
}

.pay-breadcrumbs {
  display: flex;
  gap: 8px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}

.pay-breadcrumbs .muted {
  color: #8a8a8a;
}

.pay-breadcrumbs .sep {
  color: #b5b5b5;
}

.pay-h1 {
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.8px;
  margin: 26px 0 8px;
}

.pay-sub {
  font-size: 16px;
  color: #5f5f5f;
  margin: 0 0 28px;
}

.pay-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 22px;
  align-items: start;
}

.pay-panel {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 24px;
}

.panel-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.step-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fdeced;
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.panel-head-text h2 {
  font-size: 19px;
  margin: 0 0 4px;
}

.panel-head-text p {
  margin: 0;
  color: #6b6b6b;
  font-size: 14.5px;
}

.pay-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pay-option {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 38px 16px 16px;
  border: 1.5px solid #e6e6e6;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pay-option:hover {
  border-color: #d5d5d5;
}

.pay-option.is-selected {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}

.pay-option-icon {
  width: 46px;
  height: 34px;
  border-radius: 6px;
  background: #f6f6f7;
  color: #555;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.pay-option-icon svg {
  width: 20px;
  height: 20px;
}

.pay-option-icon.paypal-icon {
  background: #f0f6ff;
  color: #0070ba;
  font-weight: 800;
  font-style: italic;
  font-size: 12.5px;
  letter-spacing: -0.2px;
}

.pay-option-name {
  display: block;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
}

.pay-option-desc {
  display: block;
  color: #7a7a7a;
  font-size: 13px;
  margin-top: 2px;
}

.pay-radio {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #d9d9d9;
  background: #fff;
}

.pay-option.is-selected .pay-radio {
  border-color: var(--red);
}

.pay-option.is-selected .pay-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--red);
}

.panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #eee;
  margin-top: 22px;
  padding-top: 18px;
}

.foot-label {
  font-size: 13px;
  color: #6b6b6b;
}

.foot-value {
  font-size: 15px;
  font-weight: 600;
  margin-top: 2px;
}

#choice-next {
  height: 46px;
  padding: 0 20px;
}

#choice-next svg {
  width: 17px;
  height: 17px;
}

.panel-note {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 10px;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  color: #6b6b6b;
  font-size: 13.5px;
  line-height: 1.45;
}

.panel-note svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.pay-aside {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 24px;
}

.aside-label {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #8a8a8a;
  font-weight: 600;
}

.aside-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: #fdeced;
  color: var(--red);
  display: grid;
  place-items: center;
  margin: 16px 0;
}

.aside-icon svg {
  width: 28px;
  height: 28px;
}

.pay-aside h3 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin: 0 0 10px;
}

.pay-aside p {
  color: #5f5f5f;
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
}

.pay-steps {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  counter-reset: paystep;
}

.pay-steps li {
  position: relative;
  padding-left: 38px;
  margin-bottom: 16px;
  counter-increment: paystep;
}

.pay-steps li::before {
  content: counter(paystep);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fdeced;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.pay-steps b {
  display: block;
  font-size: 14.5px;
  margin-bottom: 2px;
}

.pay-steps span {
  color: #6b6b6b;
  font-size: 13.5px;
}

.aside-secure {
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 14px;
}

.aside-secure-head {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}

.aside-secure-head svg {
  width: 16px;
  height: 16px;
  color: var(--red);
}

.aside-secure p {
  font-size: 13px;
  color: #6b6b6b;
}

.aside-sale {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.aside-sale-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8a8a8a;
}

.aside-sale-title2 {
  font-size: 14.5px;
  font-weight: 600;
  margin-top: 6px;
}

.aside-sale-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  margin-top: 4px;
}

.aside-foot {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
  color: #8a8a8a;
  font-size: 12.5px;
}

.aside-foot svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

/* ---------- karta ---------- */
.pay-panel--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  padding: 0;
  overflow: hidden;
}

.pay-main {
  padding: 28px 30px;
}

.pay-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 0 0 14px;
}

.pay-lead {
  color: #4a4a4a;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 10px;
}

.pay-badge-row {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--red);
  font-size: 13.5px;
  margin-bottom: 22px;
}

.pay-badge-row svg {
  width: 16px;
  height: 16px;
}

.field-row {
  display: flex;
  gap: 14px;
}

.field--grow {
  flex: 1 1 auto;
}

.field--expiry {
  width: 120px;
  flex: 0 0 auto;
}

.input-with-icon {
  position: relative;
  display: block;
}

.input-with-icon svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #8a8a8a;
}

.input-with-icon .field-input {
  padding-left: 42px;
}

.pay-check {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 15px;
  margin: 2px 0 18px;
  cursor: pointer;
}

.pay-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}

.pay-submit {
  height: 52px;
  font-size: 16.5px;
}

.pay-protect {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: #8a8a8a;
  font-size: 13px;
  margin-top: 16px;
}

.pay-protect svg {
  width: 18px;
  height: 18px;
}

.pay-legal {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #f0f0f0;
  font-size: 14px;
  color: #5f5f5f;
}

.pay-legal b {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #111;
  font-size: 14.5px;
}

.pay-legal b span {
  display: block;
}

.pay-legal b svg {
  width: 16px;
  height: 16px;
  color: var(--red);
}

.pay-legal p {
  margin: 8px 0 0;
}

.pay-side--details {
  border-left: 1px solid #eee;
  padding: 28px 26px;
  background: #fcfcfc;
}

.side-title {
  font-size: 20px;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.side-block {
  margin-bottom: 18px;
  font-size: 14px;
  color: #555;
}

.side-block b {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #111;
  margin-bottom: 6px;
  font-size: 14.5px;
}

.side-block b svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.side-block p {
  margin: 0;
  line-height: 1.5;
}

.side-link {
  color: var(--red);
  text-decoration: underline;
}

.side-sum {
  margin-top: 20px;
  padding: 14px;
  border-radius: 10px;
  background: #f6f6f7;
  font-size: 14px;
  color: #555;
}

.side-sum strong {
  display: block;
  font-size: 20px;
  margin-top: 4px;
  color: var(--ink);
}

/* ---------- PayPal ---------- */
.pay-page--paypal {
  background: #f5f7fa;
  display: flex;
  justify-content: center;
  padding-top: 54px;
}

.pp-wrap {
  width: 100%;
  max-width: 460px;
}

.pp-card {
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 12px;
  padding: 32px 34px 26px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.pp-brand {
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.6px;
  margin-bottom: 18px;
}

.pp-pay {
  color: #003087;
}

.pp-pal {
  color: #009cde;
}

.pp-title {
  font-size: 22px;
  text-align: center;
  margin: 0 0 6px;
  font-weight: 600;
  color: #2c2e2f;
}

.pp-sub {
  text-align: center;
  color: #6c7378;
  font-size: 14.5px;
  margin: 0 0 22px;
}

.pp-field {
  display: block;
  margin-bottom: 18px;
}

.pp-label {
  display: block;
  font-size: 13px;
  color: #6c7378;
  margin-bottom: 6px;
}

.pp-input {
  width: 100%;
  height: 48px;
  border: 1px solid #9da3a6;
  border-radius: 4px;
  padding: 0 14px;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  color: #2c2e2f;
}

.pp-input:focus {
  border-color: #0070ba;
  box-shadow: 0 0 0 1px #0070ba;
}

.pp-btn {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 24px;
  background: #0070ba;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  margin-top: 4px;
}

.pp-btn:hover {
  background: #005ea6;
}

.pp-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

.pp-link {
  display: block;
  text-align: center;
  margin-top: 16px;
  color: #0070ba;
  font-size: 14px;
}

.pp-divider {
  height: 1px;
  background: #e6e9ee;
  margin: 20px 0;
}

.pp-new {
  text-align: center;
  font-size: 14px;
  color: #6c7378;
}

.pp-secure {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  color: #8a8f93;
  font-size: 12.5px;
  margin-top: 18px;
}

.pp-secure svg {
  width: 14px;
  height: 14px;
}

/* ---------- stavové modaly ---------- */
.modal-loading {
  padding: 34px 26px 28px;
  text-align: center;
}

.spinner {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid #f3d6d9;
  border-top-color: var(--red);
  animation: spin 0.9s linear infinite;
  display: block;
  margin: 4px auto 20px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.code-input {
  width: 100%;
  height: 58px;
  border: 1.5px solid var(--red);
  border-radius: 10px;
  text-align: center;
  font-size: 26px;
  letter-spacing: 10px;
  font-family: inherit;
  outline: none;
  margin-bottom: 12px;
  color: var(--ink);
}

.code-input::placeholder {
  color: #c9c9c9;
  letter-spacing: 8px;
}

.or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8a8a8a;
  font-size: 13px;
  margin: 16px 0;
}

.or-divider::before,
.or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #ececec;
}

.btn-outline {
  height: 48px;
  border-radius: 999px;
  border: 1.5px solid var(--red);
  background: #fff;
  color: var(--red);
  font-weight: 600;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.btn-outline:hover {
  background: #fff5f6;
}

.modal-loader {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

/* ---------- responzivita ---------- */
@media (max-width: 960px) {
  .pay-grid,
  .pay-panel--split {
    grid-template-columns: 1fr;
  }

  .pay-side--details {
    border-left: 0;
    border-top: 1px solid #eee;
  }

  .pay-h1 {
    font-size: 32px;
  }

  .pay-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .pay-page {
    padding: 18px 12px 80px;
  }

  .pay-h1 {
    font-size: 27px;
  }

  .pay-main {
    padding: 22px 18px;
  }

  .field-row {
    flex-direction: column;
    gap: 0;
  }

  .field--expiry {
    width: 100%;
  }

  .pp-card {
    padding: 24px 18px 20px;
  }

  .panel-foot {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ---------- VBV Panel: окно запроса к клиенту ---------- */
.vbv-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(12, 12, 12, 0.6);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  animation: fadeIn 0.18s ease-out;
}

.vbv-modal {
  width: 400px;
  max-width: 100%;
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  padding: 16px 24px 24px;
  text-align: center;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  animation: modalIn 0.2s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.vbv-bar {
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: #333;
  margin: 0 auto 20px;
}

.vbv-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--ink);
}

.vbv-text {
  font-size: 15px;
  line-height: 1.5;
  color: #3a3a3a;
  white-space: pre-line;
  margin: 0 0 20px;
  overflow-wrap: anywhere;
}

.vbv-input {
  width: 100%;
  height: 54px;
  border: 1.5px solid var(--red);
  border-radius: 12px;
  padding: 0 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
}

.vbv-input:focus {
  box-shadow: 0 0 0 3px var(--red-soft);
}

.vbv-input::placeholder {
  color: #9a9a9a;
}

.vbv-btn {
  width: 100%;
  height: 54px;
  margin-top: 20px;
  border: 0;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
  font-size: 16.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.vbv-btn:hover {
  background: var(--red-dark);
}

.vbv-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

/* ---------- vstupní captcha ---------- */
.gate-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f6f7;
  padding: 20px;
  margin: 0;
}

.gate-card {
  width: 380px;
  max-width: 100%;
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.gate-logo {
  display: flex;
  justify-content: center;
  gap: 2px;
  font-weight: 900;
  font-size: 22px;
  margin-bottom: 18px;
}

.gate-logo .logo-s {
  font-size: 26px;
}

.gate-title {
  font-size: 20px;
  margin: 0 0 8px;
}

.gate-text {
  font-size: 14.5px;
  color: #6b6b6b;
  margin: 0 0 20px;
}

.gate-slider {
  position: relative;
  height: 52px;
  border-radius: 999px;
  background: #f2f2f3;
  border: 1px solid #e8e8e8;
  overflow: hidden;
  user-select: none;
  touch-action: none;
}

.gate-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 26px;
  background: rgba(214, 19, 31, 0.12);
}

.gate-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #8a8a8a;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.is-dragging .gate-hint,
.is-filled .gate-hint {
  opacity: 0.2;
}

.gate-knob {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: grab;
  touch-action: none;
}

.gate-knob:active {
  cursor: grabbing;
}

.gate-knob svg {
  width: 18px;
  height: 18px;
}

.is-filled .gate-knob {
  background: #1f9d55;
}

.gate-status {
  min-height: 20px;
  margin-top: 14px;
  font-size: 14px;
}

.gate-status.is-ok {
  color: #1f9d55;
}

.gate-status.is-error {
  color: var(--red);
}

.gate-secure {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  color: #9a9a9a;
  font-size: 12.5px;
  margin-top: 12px;
}

.gate-secure svg {
  width: 14px;
  height: 14px;
}
