/* How one can pay, as marks (ui/pay-marks.js). Each mark sits on a white card so its own colours read in both themes. */
.pm-row { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.pm { display: inline-flex; align-items: center; justify-content: center; inline-size: 3.1rem; block-size: 2rem; padding: .3rem .4rem; border-radius: 7px;
  background: #fff; border: 1px solid rgb(0 0 0 / .1); box-shadow: 0 1px 2px rgb(0 0 0 / .05); }
.pm__mark { display: contents; }
.pm svg { display: block; inline-size: 100%; block-size: 100%; }
/* The Apple Pay mark brings its own border (on white, so it reads on a dark page too); Tamara's and mada's logos are wider. */
.pm--applepay { padding: 0; border: 0; border-radius: 5px; background: #fff; }
.pm--mastercard { padding-inline: .6rem; }
.pm--tamara, .pm--mada { inline-size: 3.6rem; }
.pm__name { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pm-row--sm .pm { inline-size: 2.6rem; block-size: 1.7rem; padding: .25rem .35rem; }
.pm-row--sm .pm--tamara, .pm-row--sm .pm--mada { inline-size: 3rem; }
.pm-row--center { justify-content: center; }

/* "Flexible payment": the marks with a title and a line (learn.orism.ai's home, orism.ai's prices, the Black Friday pop-up). */
.pay-flex { display: grid; justify-items: center; gap: .6rem; margin: 3rem auto; padding: 1.75rem 1.25rem; max-inline-size: 44rem; text-align: center;
  border: 1px solid var(--color-border, #e4e1d8); border-radius: 22px; background: var(--color-surface, #fff); }
.pay-flex__title { margin: 0; font: 750 clamp(22px, 4vw, 28px) / 1.15 var(--type-display-family, system-ui, sans-serif); letter-spacing: -.02em; color: var(--color-text, #1d1c19); }
:lang(ar) .pay-flex__title, .pay-flex__title:lang(ar) { letter-spacing: 0; }
.pay-flex__text { margin: 0; max-inline-size: 46ch; color: var(--color-text-muted, #6b675e); font: 400 15.5px / 1.55 var(--type-body-family, system-ui, sans-serif); }
.pay-flex .pm-row { margin-block-start: .4rem; }

/* Tamara's gradient (Bader, 12 Nov 2026: "a gradient with Tamara's colours"). Tamara ships it only as a picture, a soft
   blend across and down: these stops are read off Tamara's own badge (cdn.tamara.co/assets/svg/tamara-logo-badge-en.svg),
   peach to pink along the top, sky to violet along the bottom. Shared by the Tamara mark and the Tamara button. */
.pm--tamara, .ck-btn.ck-tamara { position: relative; isolation: isolate;
  background: linear-gradient(90deg, #A9C3E7, #CBE3FB 28%, #E7E0FE 52%, #F3CCE1 76%, #9658B8); }
.pm--tamara::before, .ck-btn.ck-tamara::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(90deg, #FE9771, #F8DEC3 28%, #F9E5BB 52%, #E9A5B6 76%, #CF61BE);
  -webkit-mask-image: linear-gradient(to bottom, #000 15%, transparent 95%); mask-image: linear-gradient(to bottom, #000 15%, transparent 95%); }
.pm--tamara { border-color: rgb(0 0 0 / .06); }
.ck-btn.ck-tamara { color: #16181D; border-color: transparent; box-shadow: 0 1px 2px rgb(22 24 29 / .12), inset 0 0 0 1px rgb(255 255 255 / .35); }
.ck-btn.ck-tamara:hover:not(:disabled) { filter: saturate(1.15) brightness(1.02); }
.ck-btn.ck-tamara:disabled { color: #16181D; background: linear-gradient(90deg, #A9C3E7, #CBE3FB 28%, #E7E0FE 52%, #F3CCE1 76%, #9658B8); opacity: .5; }
