:root {
  --accent: #0092df;
  --bg: #f3f6fb;
  --text: #1b2330;
  --muted: #7c8798;
  --card: #ffffff;
  --border: #e3e8f2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
}

body.modal-open {
  overflow: hidden;
}

.top-bar {
  padding: 1rem;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 36px;
  max-width: 140px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.subtitle {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.brand-title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.brand-club {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
}

.info-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: #1f2937;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.info-btn:hover {
  background: #f8fafc;
}

.hidden {
  display: none !important;
}

.sheet {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 60;
}

.sheet-content {
  background: #fff;
  width: 100%;
  max-width: 520px;
  border-radius: 28px 28px 0 0;
  padding: 20px 20px 26px;
  box-shadow: 0 -12px 30px rgba(15, 23, 42, 0.18);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-x: contain;
}

.sheet-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

.sheet-content .close-btn {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #4b5563;
  font-size: 1.35rem;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
}

.sheet-content .close-btn:hover {
  color: #111;
  border-color: rgba(15, 23, 42, 0.2);
  background: #f8fafc;
}

.status-panel {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 20px;
}

.status-card {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 28px;
  padding: 26px 22px;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.22);
}

.status-label {
  margin: 0;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.status-card h2 {
  margin: 8px 0;
  font-size: 24px;
}

.status-message {
  margin: 0 auto 12px;
  color: var(--muted);
  max-width: 320px;
}

.status-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f5f8ff;
  border: 1px solid #dbe6f8;
  font-weight: 600;
  color: #1f2a44;
  margin: 6px auto 12px;
  transition: opacity 0.18s ease;
}

.status-step.is-fading {
  opacity: 0;
}

.status-step-icon {
  font-size: 20px;
}

.status-amount {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin: 4px 0 12px;
}

.status-timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0 auto 14px;
}

.timer-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: #fdecc8;
  color: #8a4b00;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.timer-hint {
  font-size: 12px;
  color: var(--muted);
}

.status-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.status-actions .primary-btn {
  min-width: 180px;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
}

.pill-btn:hover {
  background: #f3f4f6;
}

.status-order {
  margin: 12px auto 0;
  background: #f3f4f6;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.status-order-label {
  color: var(--muted);
  font-weight: 600;
}

.status-order-help {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.status-support {
  margin: 12px 0;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #f8fafc;
  text-align: left;
}

.status-support-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.status-support-text {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.status-support-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.status-support-actions .pill-btn {
  background: #e8f3ff;
  border-color: #cfe4ff;
  color: var(--accent);
}

.status-support-actions .pill-btn:hover {
  background: #dcedff;
}

.subtitle {
  margin: 6px 0 0;
  color: var(--muted);
}

.page {
  max-width: 960px;
  margin: 24px auto 80px;
  padding: 0 16px;
  display: grid;
  gap: 20px;
}

.format-grid,
.info-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(26, 38, 72, 0.08);
}

.brand-title {
  display: flex;
  align-items: center;
  gap: 10px;
}


.section-pill {
  margin: 6px 0 0;
  padding: 20px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  font-weight: 600;
  color: #000;
  font-size: 18px;
  text-align: center;
}

.choice-card {
  background: #ffffff;
  border: 1px solid #d7e2f4;
}

.choice-card h2 {
  margin: 8px 0 6px;
}

.choice-online,
.choice-offline {
  background: #ffffff;
}

.choice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.choice-tag {
  background: #3971c7;
  color: #fff;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
}

.choice-price {
  font-weight: 600;
  color: #2b3648;
}

.choice-icons {
  display: flex;
  gap: 8px;
  margin: 12px 0;
  overflow: hidden;
}

.choice-icon-image {
  max-width: 210px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  clip-path: inset(0 2px 0 0 round 16px);
}

.choice-btn {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

.usage-list {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.link-btn {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.bulk-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.telegram-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  fill: #fff;
  flex: 0 0 auto;
}

.telegram-btn {
  width: 100%;
  height: 56px;
  max-width: 340px;
  margin: 0 auto;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #1da1f2 0%, #0b6fd6 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 10px 20px rgba(11, 111, 214, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.telegram-btn:hover {
  filter: brightness(0.97);
  box-shadow: 0 12px 24px rgba(11, 111, 214, 0.28);
}

.telegram-btn:active {
  transform: scale(0.98);
  filter: brightness(0.93);
}

@media (max-width: 720px) {
  .telegram-btn {
    max-width: 100%;
  }
}

@media (max-width: 860px) {
  .format-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
}

.card-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.step-section + .step-section {
  margin-top: 12px;
}

.step-section {
  min-width: 0;
}

.step-section#stepDesign .card-title {
  margin-bottom: 16px;
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.step-header .card-title {
  white-space: nowrap;
}

.step-header .close-btn {
  position: static;
  width: 32px;
  height: 32px;
  font-size: 1.1rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

.back-link + .form-block {
  margin-top: 16px;
}

.form-block {
  background: #f6f8fb;
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 12px;
}

.form-block + .form-block {
  margin-top: 24px;
}

.block-title {
  display: none;
}

.template-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.template-viewport {
  overflow: hidden;
  width: 100%;
  min-width: 0;
  flex: 1 1 0;
  max-width: 100%;
}

.template-track {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 0 10px;
  transition: transform 280ms ease-out;
  will-change: transform;
  touch-action: pan-y;
}

.template-card {
  flex: 0 0 72%;
  max-width: 320px;
  border-radius: 20px;
  padding: 10px;
  background: #f3f7ff;
  border: 1px solid #e4ebff;
  cursor: pointer;
  text-align: center;
  transform: scale(0.9);
  opacity: 0.65;
  transition: transform 280ms ease-out, opacity 280ms ease-out, box-shadow 280ms ease-out;
}

.template-card.is-active {
  transform: scale(1);
  opacity: 1;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
}

.template-card.is-adjacent {
  transform: scale(0.92);
  opacity: 0.7;
  box-shadow: none;
}

.template-card img {
  width: 100%;
  border-radius: 16px;
  display: block;
  object-fit: cover;
  aspect-ratio: 793 / 1121;
}

.template-preview {
  position: relative;
}

.template-qr-placeholder {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='6' height='6' fill='%23111'/%3E%3Crect x='15' y='3' width='6' height='6' fill='%23111'/%3E%3Crect x='3' y='15' width='6' height='6' fill='%23111'/%3E%3Crect x='11' y='11' width='2' height='2' fill='%23111'/%3E%3Crect x='13' y='13' width='2' height='2' fill='%23111'/%3E%3Crect x='11' y='15' width='2' height='2' fill='%23111'/%3E%3Crect x='15' y='11' width='2' height='2' fill='%23111'/%3E%3Crect x='17' y='13' width='2' height='2' fill='%23111'/%3E%3Crect x='15' y='15' width='2' height='2' fill='%23111'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;
}

.template-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
}

.template-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 146, 223, 0.2);
}

.template-dot.active {
  background: var(--accent);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: #fff;
  color: #2c3e50;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  display: none;
  z-index: 2;
}

.slider-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.slider-arrow-left {
  left: 8px;
}

.slider-arrow-right {
  right: 8px;
}

@media (min-width: 860px) {
  .template-card {
    flex-basis: 320px;
  }

  .slider-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

.step-actions {
  display: flex;
  justify-content: flex-end;
}

.form {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field span {
  font-weight: 600;
  color: #3a4456;
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 16px;
  font-family: inherit;
}

textarea {
  resize: vertical;
}

.quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-row button {
  border: 1px solid var(--border);
  background: #f6f8fc;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}

.radio-row {
  display: flex;
  gap: 16px;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.error {
  padding: 12px;
  border-radius: 12px;
  background: #fdecec;
  color: #b42318;
  font-size: 14px;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 12px;
}

.price-box {
  display: grid;
  gap: 4px;
  text-align: left;
}

.price-hint {
  color: var(--muted);
  font-size: 12px;
}

.price-approx {
  color: #64748b;
  font-size: 13px;
}

.field-error {
  margin: 4px 0 12px;
  color: #b42318;
  font-size: 12px;
}

.price-label {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.price-value {
  font-size: 28px;
  font-weight: 700;
}

.price-sub {
  color: var(--muted);
  font-size: 13px;
}

.primary-btn {
  width: 100%;
  height: 56px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #1ea0ff 0%, #0b6fd6 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(14, 107, 214, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.step-actions .primary-btn,
.form-actions .primary-btn {
  max-width: 340px;
  width: 100%;
}

.form-actions .pay-btn {
  width: 180px;
  max-width: 100%;
  margin-left: auto;
  order: 2;
}

.payment-terms {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.payment-terms a {
  color: var(--accent);
  text-decoration: underline;
}

.primary-btn::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 6px;
  right: 6px;
  height: 50%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.primary-btn:hover {
  filter: brightness(0.97);
  box-shadow: 0 14px 28px rgba(14, 107, 214, 0.32);
}

.primary-btn:active {
  transform: scale(0.98);
  filter: brightness(0.93);
}

.secondary-btn,
.ghost-btn {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

.secondary-btn {
  background: #e2e8f0;
  border: 1px solid #e2e8f0;
  color: #1e293b;
}

.ghost-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  z-index: 30;
  overflow-y: auto;
}

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

.modal-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  width: min(520px, 100%);
  position: relative;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}

.modal-title {
  margin: 0 0 14px;
  font-size: 20px;
  color: var(--text);
}

.rules-image {
  width: 100%;
  display: block;
  border-radius: 16px;
  margin-bottom: 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.modal-text {
  color: var(--text);
  line-height: 1.5;
}

.modal-text p {
  margin: 0 0 10px;
}

.rules-list {
  margin: 0;
  padding-left: 18px;
}

.rules-list li {
  margin: 0 0 8px;
}

.modal-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.modal-link:hover {
  text-decoration: underline;
}

.modal-offer-btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  text-decoration: none;
}

.close-lite {
  box-shadow: none;
}

.offline-modal-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.offline-header h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.offline-header .subtitle {
  margin: 0;
  color: var(--muted);
}

.offline-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
}

.card3d-scene {
  width: min(360px, 88vw);
  aspect-ratio: 1.586 / 1;
  perspective: 900px;
  display: grid;
  place-items: center;
}

.card3d-scene.auto-float {
  animation: cardFloat 6s ease-in-out infinite;
}

.card3d {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 600ms ease;
  --flip: 0deg;
  --tiltX: 0deg;
  --tiltY: 0deg;
  transform: rotateY(var(--flip)) rotateX(var(--tiltX)) rotateY(var(--tiltY));
}

.card3d.is-flipped {
  --flip: 180deg;
}

.card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.2);
}

.card-face::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.25), transparent 55%);
  pointer-events: none;
}

.card-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-face.back {
  transform: rotateY(180deg);
}

.hero-hint {
  font-size: 13px;
  color: var(--muted);
}

.offline-section h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.why-list {
  margin: 0;
  padding-left: 18px;
  color: #3d4653;
  display: grid;
  gap: 6px;
}

.offline-address {
  margin-top: 12px;
  display: grid;
  gap: 6px;
  font-size: 15px;
  color: #1f2937;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.photo-thumb {
  border: none;
  background: transparent;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.16);
}

.photo-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.offline-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.offline-cta .primary-btn,
.offline-cta .telegram-btn {
  width: 100%;
  max-width: 420px;
}

.lightbox-card {
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  width: min(560px, 92vw);
  position: relative;
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.24);
}

.lightbox-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: #1b2430;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
  cursor: pointer;
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

.lightbox-nav.is-hidden {
  display: none;
}

.modal-card .close-btn {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #4b5563;
  font-size: 1.35rem;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
}

.modal-card .close-btn:hover {
  color: #111;
  border-color: rgba(15, 23, 42, 0.2);
  background: #f8fafc;
}

.modal-image-wrap {
  margin-top: 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.modal-image-wrap img {
  width: 100%;
  display: block;
}

.info-card {
  color: var(--text);
  line-height: 1.5;
}

.info-card h3 {
  margin: 0 0 8px;
  color: var(--text);
}

.club-info-list {
  display: grid;
  gap: 10px;
  color: var(--text);
}

.club-info-row {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
}

.club-info-row a {
  color: var(--accent);
  font-weight: 600;
}

.info-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
  stroke: none;
}

@media (max-width: 720px) {
  .photo-gallery {
    grid-auto-flow: column;
    grid-auto-columns: minmax(180px, 70%);
    overflow-x: auto;
    padding-bottom: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card3d-scene.auto-float {
    animation: none;
  }
  .card3d {
    transition: transform 200ms ease;
  }
}

@keyframes cardFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

.club-info-row strong {
  color: var(--text);
  font-weight: 600;
}

.toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 6px;
}

.toggle-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #f6f8fc;
  font-size: 14px;
  cursor: pointer;
}

.toggle-option input {
  accent-color: var(--accent);
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.status-title {
  font-size: 20px;
  font-weight: 700;
}

.status-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.status-actions-full {
  flex-direction: column;
}

.status-actions-full .primary-btn {
  width: 100%;
}

.status-actions a:not(.primary-btn) {
  color: var(--accent);
}

.status-actions .primary-btn {
  color: #fff;
}

@media (max-width: 720px) {
  .form-actions {
    gap: 12px;
  }
  .price-box {
    order: 1;
  }
  .primary-btn {
    width: 100%;
  }
  .form-actions .pay-btn {
    order: 2;
    width: 160px;
    max-width: 100%;
    align-self: center;
    margin-left: auto;
  }
  .choice-btn,
  .step-actions .primary-btn,
  .form-actions .primary-btn,
  .telegram-btn {
    max-width: 100%;
  }
  .bulk-row {
    flex-direction: column;
    align-items: stretch;
  }
}
