/* ==========================================================================
   Operix Payment — stylesheet
   Brand: purple #573895 / lime #D3E272 (from the Operix mark)
   ========================================================================== */

:root {
  --purple: #573895;
  --purple-700: #452C78;
  --purple-300: #9B84D0;
  --purple-050: #EEE9F9;
  --lime: #D3E272;
  --lime-600: #C2D45A;
  --lime-ink: #414F0E;
  --navy: #2A2350;
  --navy-900: #201A3E;
  --lavender: #BDB2E3;
  --lavender-050: #EDEAF8;

  --ink: #241C3F;
  --body: #5D5680;
  --bg: #F6F4FD;
  --white: #FFFFFF;
  --line: rgba(87, 56, 149, 0.13);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 34px;

  --shadow-sm: 0 4px 14px -8px rgba(42, 35, 80, 0.3);
  --shadow: 0 20px 44px -26px rgba(42, 35, 80, 0.45);
  --shadow-lg: 0 44px 90px -48px rgba(42, 35, 80, 0.6);

  --font-display: "Outfit", "Segoe UI", Arial, sans-serif;
  --font-body: "DM Sans", "Segoe UI", Arial, sans-serif;

  --wrap: 1160px;
  --gutter: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-700); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.35rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1.05em; }
ul { margin: 0 0 1.05em; padding-left: 1.15em; }
li { margin-bottom: .45em; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 84px 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--purple); color: #fff; padding: 12px 18px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

/* ---------- buttons: pill with a trailing arrow disc ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: 10px 12px 10px 24px;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.btn::after {
  content: ""; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.22) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h13M13 6l6 6-6 6'/></svg>") center/15px no-repeat;
  flex: 0 0 auto;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--purple); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--purple-700); color: #fff; }
.btn--lime { background: var(--lime); color: var(--lime-ink); }
.btn--lime:hover { background: var(--lime-600); color: var(--lime-ink); }
.btn--lime::after {
  background-color: rgba(65,79,14,.18);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23414F0E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h13M13 6l6 6-6 6'/></svg>");
}
.btn--ghost { background: transparent; border-color: var(--purple); color: var(--purple); }
.btn--ghost::after {
  background-color: var(--purple-050);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23573895' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h13M13 6l6 6-6 6'/></svg>");
}
.btn--plain { padding: 13px 26px; }
.btn--plain::after { display: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246,244,253,.9);
  backdrop-filter: blur(12px);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 34px; height: 34px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: .04em; color: var(--purple); }
.brand__sub { font-size: .58rem; letter-spacing: .16em; color: var(--purple-300); text-transform: uppercase; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: .95rem; font-weight: 500; color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--purple); }
.nav a.btn { padding: 9px 10px 9px 20px; font-size: .9rem; color: #fff; }
.nav a.btn::after { width: 26px; height: 26px; background-size: 13px; }
.nav-toggle { display: none; background: none; border: 2px solid var(--line); border-radius: 10px; padding: 9px 11px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--purple); margin: 4px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero { padding: 40px 0 70px; position: relative; }
.hero__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .mark { color: var(--purple); display: block; }
.hero__lede { font-size: 1.05rem; max-width: 42ch; }
.hero__art { position: relative; padding: 30px; }
.hero__art::before {
  content: ""; position: absolute; inset: 0;
  background: var(--lavender-050);
  border-radius: 58% 42% 46% 54% / 48% 52% 48% 52%;
  transform: scale(1.06);
  z-index: 0;
}
.hero__art img { position: relative; z-index: 1; margin: 0 auto; }

/* ---------- section headings ---------- */
.head-center { text-align: center; max-width: 44ch; margin: 0 auto 52px; }
.head-mark { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 14px; }
.head-mark span { height: 2px; width: 54px; background: var(--line); border-radius: 2px; }
.head-mark i { width: 11px; height: 11px; border: 3px solid var(--lime); border-radius: 3px; display: block; }
.head-center h2 { margin-bottom: 12px; }
.head-center p { margin-bottom: 0; }
.on-dark .head-mark span { background: rgba(255,255,255,.18); }
.on-dark h2, .on-dark h3 { color: #fff; }
.on-dark p { color: rgba(255,255,255,.74); }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; }
.why__art { position: relative; text-align: center; }
.why__art::before {
  content: ""; position: absolute; inset: -6% -4%;
  background: var(--lavender-050); border-radius: 46% 54% 58% 42% / 52% 46% 54% 48%;
}
.why__art img { position: relative; width: 210px; margin: 0 auto; }
.why h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.why h2 .mark { color: var(--purple); }

/* ---------- dark services block ---------- */
.dark-block { background: var(--navy); border-radius: var(--radius-lg); padding: 68px 54px; color: rgba(255,255,255,.74); }
.srow { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-bottom: 46px; }
.srow:last-child { margin-bottom: 0; }
.srow--flip .srow__text { order: 2; }
.srow__text h3 { font-size: 1.35rem; margin-bottom: 10px; }
.srow__text p { margin-bottom: 0; font-size: .97rem; }
.srow__art { background: rgba(255,255,255,.05); border-radius: var(--radius); padding: 22px; }
.srow__art img { margin: 0 auto; }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.ministack { display: grid; gap: 14px; max-width: 320px; }
.mini { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.mini h3 { font-size: 1rem; margin-bottom: 5px; }
.mini p { margin-bottom: 0; font-size: .88rem; }
.mini:nth-child(2) { margin-left: 26px; }
.mini:nth-child(3) { margin-left: 52px; }
.split__art { text-align: center; }

/* ---------- lavender block ---------- */
.soft-block { background: var(--lavender); border-radius: var(--radius-lg); padding: 60px 54px; }
.soft-block h2, .soft-block h3 { color: var(--navy-900); }
.soft-block p { color: rgba(32,26,62,.78); }
.soft-block .head-mark span { background: rgba(32,26,62,.2); }
.soft-block .srow__art { background: rgba(255,255,255,.34); }

/* ---------- marquee ---------- */
.marquee { background: var(--navy-900); color: #fff; overflow: hidden; padding: 18px 0; white-space: nowrap; }
.marquee__track { display: inline-flex; align-items: center; gap: 34px; animation: slide 26s linear infinite; }
.marquee__track b { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: .04em; color: #fff; }
.marquee__track b.alt { color: var(--lime); }
.marquee__track i { width: 9px; height: 9px; border: 3px solid var(--lime); border-radius: 3px; display: block; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- partner CTA ---------- */
.partner { text-align: center; padding: 86px 0 80px; }
.partner h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 34px; }
.partner h2 .mark { color: var(--purple); display: block; }
.partner__line { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.partner__rule { height: 2px; width: min(300px, 40vw); background: var(--line); border-radius: 2px; position: relative; }
.partner__rule::after {
  content: ""; position: absolute; right: -2px; top: -5px;
  border-left: 12px solid var(--purple); border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}

/* ---------- cards / contact ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__icon { width: 32px; height: 32px; border: 4px solid var(--purple); border-radius: 9px; margin-bottom: 18px; }
.card:nth-child(3n+2) .card__icon { border-color: var(--lime); }
.card h3 { margin-bottom: 9px; }
.card p { margin-bottom: 0; font-size: .95rem; }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.contact-card .label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--purple-300); display: block; margin-bottom: 7px; }
.contact-card .value { font-size: 1.08rem; font-weight: 600; color: var(--ink); margin: 0; word-break: break-word; }
.contact-card .value a { color: var(--purple); }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .87rem; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-050); }
.field textarea { min-height: 130px; resize: vertical; }
.form__note { font-size: .84rem; color: var(--body); margin: 14px 0 0; }
.form-status { margin-top: 14px; padding: 12px 15px; border-radius: var(--radius-sm); font-size: .9rem; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-ok { background: #F4F9E0; color: var(--lime-ink); border: 1px solid var(--lime); }
.form-status.is-error { background: #FDECEC; color: #8C2F2F; border: 1px solid #F1BFBF; }

/* ---------- legal pages ---------- */
.page-head { padding: 46px 0 40px; }
.page-head .updated { font-size: .84rem; color: var(--purple-300); }
.legal__body { max-width: 74ch; }
.legal__body section { margin-bottom: 34px; }
.legal__body h2 { font-size: 1.4rem; margin-bottom: 12px; }
.legal__body p, .legal__body li { font-size: .99rem; }
.callout { background: #F4F9E0; border: 1px solid var(--lime); border-radius: var(--radius-sm); padding: 18px 22px; margin: 22px 0; }
.callout p { margin-bottom: 0; font-size: .95rem; color: var(--lime-ink); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.68); padding: 54px 0 26px; }
.site-footer a { color: rgba(255,255,255,.68); }
.site-footer a:hover { color: var(--lime); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 34px; }
.footer-grid h4 { color: #fff; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; margin-bottom: 15px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; font-size: .92rem; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__sub { color: rgba(255,255,255,.45); }
.footer-about { font-size: .92rem; max-width: 32ch; margin-top: 16px; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .8rem; color: rgba(255,255,255,.45);
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__inner, .why, .split { grid-template-columns: 1fr; gap: 34px; }
  .why__art img { width: 170px; }
  .srow { grid-template-columns: 1fr; gap: 24px; }
  .srow--flip .srow__text { order: 0; }
  .dark-block, .soft-block { padding: 46px 28px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ministack { max-width: none; }
  .mini:nth-child(2), .mini:nth-child(3) { margin-left: 0; }
}
@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .nav {
    display: none; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column;
    align-items: stretch; gap: 0; background: var(--white); padding: 10px var(--gutter) 20px;
    box-shadow: var(--shadow); border-radius: 0 0 var(--radius) var(--radius);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 14px; border-bottom: 0; justify-content: center; }
  .nav-toggle { display: block; }
  .grid-3, .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .dark-block, .soft-block { border-radius: var(--radius); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ---------- products ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product__media { position: relative; aspect-ratio: 16 / 9; background: var(--purple-050); }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__tag {
  position: absolute; top: 12px; right: 12px;
  background: var(--lime); color: var(--lime-ink);
  font-family: var(--font-display); font-weight: 700; font-size: .72rem;
  padding: 5px 12px; border-radius: 999px;
}
.product__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product__body h3 { font-size: 1.02rem; margin-bottom: 6px; }
.product__body p { font-size: .88rem; margin-bottom: 18px; }
.product__body .product__order { margin-top: auto; }
.product__order {
  display: block; text-align: center; padding: 12px; border-radius: var(--radius-sm);
  background: var(--purple); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  transition: background-color .18s ease;
}
.product__order:hover { background: var(--purple-700); color: #fff; }

@media (max-width: 980px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .products { grid-template-columns: 1fr; } }

/* ---------- checkout ---------- */
.checkout-bar {
  background: var(--purple); color: #fff; padding: 12px 0;
}
.checkout-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.checkout-bar__brand { display: flex; align-items: center; gap: 10px; }
.checkout-bar__brand img { width: 30px; height: 30px; background: #fff; border-radius: 8px; padding: 3px; }
.checkout-bar__name { font-family: var(--font-display); font-weight: 800; letter-spacing: .04em; font-size: 1.02rem; }
.checkout-bar__secure { font-size: .82rem; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 8px; }
.checkout-bar__secure::before {
  content: ""; width: 9px; height: 9px; border: 3px solid var(--lime); border-radius: 3px; display: block;
}

.checkout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: start; }

.summary {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); position: sticky; top: 98px;
}
.summary__media { aspect-ratio: 16 / 9; background: var(--purple-050); }
.summary__media img { width: 100%; height: 100%; object-fit: cover; }
.summary__body { padding: 24px; }
.summary__label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--purple-300); display: block; margin-bottom: 8px; }
.summary__body h2 { font-size: 1.25rem; margin-bottom: 18px; }
.summary__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 11px 0; border-top: 1px solid var(--line); font-size: .95rem;
}
.summary__row.total {
  border-top: 2px solid var(--line); margin-top: 6px; padding-top: 15px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--ink);
}
.summary__row.total .amount { color: var(--purple); }
.summary__note { font-size: .82rem; color: var(--body); margin: 16px 0 0; }

.checkout .form { padding: 30px; }
.checkout .form h2 { font-size: 1.3rem; margin-bottom: 6px; }
.checkout .form .intro { font-size: .92rem; margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-note {
  background: var(--purple-050); border-radius: var(--radius-sm);
  padding: 14px 16px; font-size: .86rem; margin: 0 0 20px; color: var(--body);
}
.btn-block { width: 100%; justify-content: center; }

.checkout-done { text-align: center; padding: 40px 24px; }
.checkout-done .tick {
  width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--lime); display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem; color: var(--lime-ink);
}
.checkout-done .ref {
  display: inline-block; margin-top: 10px; padding: 8px 18px; border-radius: 999px;
  background: var(--purple-050); font-family: var(--font-display); font-weight: 700; color: var(--purple);
}

@media (max-width: 980px) {
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
}
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* price on the product card */
.product__price { margin: auto 0 16px; font-family: var(--font-display); }
.product__price .now { font-size: 1.3rem; font-weight: 800; color: var(--purple); }

/* accepted payment methods on the checkout summary */
.paylist { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 16px; }
.paylist__label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--purple-300); display: block; margin-bottom: 10px; }
.paylist__chips { display: flex; flex-wrap: wrap; gap: 7px; }
.paylist__chips span {
  font-size: .76rem; padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg); color: var(--body);
}

/* ---------- payment step (demo of the Geidea hosted page) ---------- */
.paypanel { display: none; }
.paypanel.is-on { display: block; }

.paycard {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); max-width: 460px; margin: 0 auto;
}
.paycard__head { text-align: center; margin-bottom: 24px; }
.paycard__logo {
  width: 62px; height: 62px; margin: 0 auto 12px; border-radius: 14px;
  background: var(--purple); display: flex; align-items: center; justify-content: center; padding: 11px;
}
.paycard__logo img { filter: brightness(0) invert(1); }
.paycard__merchant { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--ink); letter-spacing: .04em; }
.paycard__amount { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--purple); margin-top: 8px; }
.paycard__amount small { display: block; font-size: .8rem; font-weight: 400; color: var(--body); letter-spacing: 0; margin-top: 4px; }
.paycard__ask { text-align: center; font-size: .98rem; margin: 22px 0 16px; color: var(--ink); }

.applepay {
  width: 100%; background: #000; color: #fff; border: 0; cursor: pointer;
  border-radius: var(--radius-sm); padding: 15px; font-family: var(--font-display);
  font-weight: 600; font-size: 1.02rem;
}
.applepay:hover { background: #1a1a1a; }
.paycard__or {
  display: flex; align-items: center; gap: 12px; margin: 20px 0 16px;
  font-size: .84rem; color: var(--body);
}
.paycard__or::before, .paycard__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.method { display: block; margin-bottom: 10px; cursor: pointer; }
.method input { position: absolute; opacity: 0; pointer-events: none; }
.method__box {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 15px 16px;
  transition: border-color .15s ease, background-color .15s ease;
}
.method:hover .method__box { border-color: var(--purple-300); }
.method input:checked + .method__box { border-color: var(--purple); background: var(--purple-050); }
.method input:focus-visible + .method__box { outline: 3px solid var(--purple); outline-offset: 2px; }
.method__dot {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--purple-300);
  flex: 0 0 auto; position: relative;
}
.method input:checked + .method__box .method__dot { border-color: var(--purple); }
.method input:checked + .method__box .method__dot::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--purple);
}
.method__name { font-weight: 500; color: var(--ink); font-size: .96rem; flex: 1; }
.method__schemes { display: flex; gap: 5px; flex-wrap: wrap; }
.method__schemes span {
  font-size: .68rem; padding: 3px 8px; border-radius: 5px;
  border: 1px solid var(--line); background: var(--bg); color: var(--body);
}

.cardfields { display: none; margin: 6px 0 4px; padding: 18px 16px; background: var(--bg); border-radius: var(--radius-sm); }
.cardfields.is-on { display: block; }
.cardfields .field:last-child { margin-bottom: 0; }
.cardfields input { background: var(--white); }
.savecard { display: flex; align-items: center; gap: 9px; font-size: .88rem; color: var(--body); margin-top: 12px; }

.paycard__actions { margin-top: 22px; display: grid; gap: 10px; }
.paycard__cancel {
  text-align: center; padding: 12px; border-radius: var(--radius-sm);
  color: var(--body); font-size: .94rem; background: transparent; border: 0; cursor: pointer;
  font-family: var(--font-body);
}
.paycard__cancel:hover { color: var(--purple); }
.paycard__secured { text-align: center; font-size: .78rem; color: var(--body); margin: 18px 0 0; }
