.drm-footer,
.drm-footer * {
  box-sizing: border-box;
  font-family: var(--drm-font, inherit);
}

.drm-footer {
  --footer-ease: var(--drm-ease, cubic-bezier(.2, .8, .2, 1));
  width: 100%;
  margin-block-start: var(--footer-outer-top, 0);
  margin-block-end: var(--footer-outer-bottom, 0);
  padding: 0;
  color: var(--footer-text);
  background: var(--footer-page-bg);
  direction: rtl;
  text-align: right;
  isolation: isolate;
}

.drm-footer a { color: inherit; text-decoration: none; }
.drm-footer button,
.drm-footer input { font: inherit; }
.drm-footer button { cursor: pointer; }
.drm-footer img { max-width: 100%; }
.drm-footer__sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }

.drm-footer__container {
  width: min(100%, var(--footer-container));
  margin-inline: auto;
}

.drm-footer__benefits {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-block-end: 18px;
  overflow: hidden;
  background: var(--footer-benefit-border);
  border: 1px solid var(--footer-benefit-border);
  border-radius: var(--footer-card-radius);
  direction: rtl;
}

.drm-footer__benefit {
  min-width: 0;
  min-height: var(--footer-benefit-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 15px 13px;
  background: var(--footer-surface);
  direction: rtl;
  text-align: right;
}

.drm-footer__benefit-icon {
  width: var(--footer-benefit-icon);
  height: var(--footer-benefit-icon);
  flex: 0 0 var(--footer-benefit-icon);
  display: grid;
  place-items: center;
  color: var(--footer-primary);
  background: var(--footer-surface-2);
  border-radius: 14px;
}

.drm-footer__benefit-icon svg { width: 50%; height: 50%; display: block; }
.drm-footer__benefit-content { min-width: 0; }
.drm-footer__benefit-title {
  display: block;
  margin-block-end: 4px;
  color: var(--footer-strong);
  font-size: var(--footer-benefit-title-size);
  font-weight: var(--footer-benefit-title-weight);
  line-height: 1.7;
  white-space: nowrap;
}
.drm-footer__benefit-text {
  display: block;
  color: var(--footer-muted);
  font-size: var(--footer-benefit-text-size);
  font-weight: var(--footer-benefit-text-weight);
  line-height: 1.7;
  white-space: nowrap;
}

.drm-footer__box {
  position: relative;
  overflow: hidden;
  padding: var(--footer-padding);
  color: #fff;
  background: var(--footer-dark);
  border-radius: var(--footer-main-radius);
  box-shadow: 0 18px 55px rgba(20, 23, 29, .12);
  direction: rtl;
  text-align: right;
}

.drm-footer__box::before,
.drm-footer__box::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 150px;
  height: 150px;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 42px;
  transform: rotate(24deg);
}
.drm-footer__box::before { inset-block-start: -92px; inset-inline-end: 9%; }
.drm-footer__box::after { inset-block-end: -110px; inset-inline-start: 6%; }

.drm-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr .75fr .75fr 1.25fr;
  gap: var(--footer-layout-gap);
  align-items: start;
  direction: rtl;
}
.drm-footer__column { min-width: 0; direction: rtl; text-align: right; }

.drm-footer__heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  margin: 0 0 17px;
  color: #fff;
  font-size: var(--footer-heading-size);
  font-weight: var(--footer-heading-weight);
  line-height: 1.8;
}
.drm-footer__heading::before {
  content: "";
  width: 19px;
  height: 4px;
  flex: 0 0 19px;
  background: var(--footer-primary);
  border-radius: 999px;
}

.drm-footer__brand-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-block-end: 15px;
  direction: rtl;
}
.drm-footer__logo {
  width: var(--footer-brand-logo);
  height: var(--footer-brand-logo);
  flex: 0 0 var(--footer-brand-logo);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--footer-surface);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.16);
}
.drm-footer__logo img { width:100%; height:100%; display:block; object-fit:cover; object-position:center; }
.drm-footer__brand-name {
  display:block;
  margin-block-end:2px;
  color:#fff;
  font-size:var(--footer-brand-name-size);
  font-weight:var(--footer-brand-name-weight);
  line-height:1.5;
}
.drm-footer__tagline {
  display:block;
  color:var(--footer-soft-text);
  font-size:var(--footer-tagline-size);
  font-weight:var(--footer-tagline-weight);
  letter-spacing:.5px;
  direction:ltr;
  text-align:right;
}
.drm-footer__about {
  margin:0;
  color:rgba(255,255,255,.66);
  font-size:var(--footer-about-size);
  font-weight:var(--footer-about-weight);
  line-height:2.1;
}

.drm-footer__links { display:grid; gap:2px; margin:0; padding:0; list-style:none; direction:rtl; }
.drm-footer__link {
  min-height:34px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  width:fit-content;
  max-width:100%;
  color:rgba(255,255,255,.68);
  font-size:var(--footer-nav-size);
  font-weight:var(--footer-nav-weight);
  line-height:1.7;
  direction:rtl;
  text-align:right;
  transition:color 180ms var(--footer-ease), transform 180ms var(--footer-ease);
}
.drm-footer__link::before { content:""; width:5px; height:5px; flex:0 0 5px; background:rgba(255,255,255,.22); border-radius:50%; }
.drm-footer__link:hover,
.drm-footer__link:focus-visible { color:#fff; transform:translateX(-3px); outline:none; }
.drm-footer__link:hover::before,
.drm-footer__link:focus-visible::before { background:var(--footer-primary); }

.drm-footer__contacts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; direction:rtl; }
.drm-footer__contact {
  min-width:0;
  min-height:var(--footer-contact-height);
  display:flex;
  align-items:flex-start;
  gap:9px;
  padding:12px 11px;
  color:var(--footer-light-text);
  background:var(--footer-contact-bg);
  border:1px solid var(--footer-contact-border);
  border-radius:14px;
  font-size:11px;
  line-height:1.8;
  direction:rtl;
  text-align:right;
}
.drm-footer__contact-icon {
  width:var(--footer-contact-icon);
  height:var(--footer-contact-icon);
  flex:0 0 var(--footer-contact-icon);
  display:grid;
  place-items:center;
  color:#fff;
  background:rgba(255,255,255,.085);
  border-radius:10px;
}
.drm-footer__contact-icon svg,
.drm-footer__contact-icon img {
  width:var(--drm-contact-media-size, 16px);
  height:var(--drm-contact-media-size, 16px);
  max-width:100%;
  max-height:100%;
  display:block;
  object-fit:contain;
  object-position:center;
}
.drm-footer__contact > span:last-child { min-width:0; }
.drm-footer__contact-label {
  display:block;
  color:var(--footer-soft-text);
  font-size:var(--footer-contact-label-size);
  font-weight:var(--footer-contact-label-weight);
  line-height:1.6;
}
.drm-footer__contact-value {
  display:block;
  margin-block-start:3px;
  color:rgba(255,255,255,.84);
  font-size:var(--footer-contact-value-size);
  font-weight:var(--footer-contact-value-weight);
  line-height:1.8;
  overflow-wrap:anywhere;
}
.drm-footer__contact-value--ltr { direction:ltr; text-align:right; unicode-bidi:plaintext; }

.drm-footer__newsletter {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:7px;
  margin-block-start:15px;
  padding:6px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  direction:rtl;
}
.drm-footer__newsletter-input {
  width:100%; min-width:0; height:41px; padding-inline:11px; color:#fff; background:transparent;
  border:0; border-radius:10px; outline:none; font-size:16px; direction:ltr; text-align:right;
}
.drm-footer__newsletter-input::placeholder { color:rgba(255,255,255,.4); direction:rtl; text-align:right; }
.drm-footer__newsletter-input:focus-visible { box-shadow:0 0 0 2px rgba(255,255,255,.11); }
.drm-footer__newsletter-button {
  min-width:74px; height:41px; padding-inline:14px; color:var(--footer-newsletter-text); background:var(--footer-primary); border:0;
  border-radius:10px; font-size:var(--footer-newsletter-button-size); font-weight:var(--footer-newsletter-button-weight);
  transition:background 180ms var(--footer-ease), transform 180ms var(--footer-ease);
}
.drm-footer__newsletter-button:hover,
.drm-footer__newsletter-button:focus-visible { color:var(--footer-newsletter-text); background:var(--footer-newsletter-hover-bg); }
.drm-footer__newsletter-button:active { transform:scale(.97); }
.drm-footer__newsletter-button:disabled { cursor:default; opacity:.75; }

.drm-footer__app-download {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  height:var(--footer-app-height);
  min-height:var(--footer-app-height);
  margin-block-start:30px;
  padding:13px 16px;
  color:var(--footer-text);
  background:var(--footer-surface);
  border-radius:var(--footer-card-radius);
  direction:rtl;
  text-align:right;
}
.drm-footer__app-main { min-width:0; display:flex; align-items:center; gap:13px; flex:1 1 auto; direction:rtl; }
.drm-footer__app-logo {
  width:var(--footer-app-logo); height:var(--footer-app-logo); flex:0 0 var(--footer-app-logo); display:grid; place-items:center;
  overflow:hidden; background:var(--footer-surface); border:1px solid var(--footer-benefit-border); border-radius:16px;
}
.drm-footer__app-logo img { width:100%; height:100%; display:block; object-fit:cover; object-position:center; }
.drm-footer__app-content { min-width:0; }
.drm-footer__app-title {
  display:block; margin-block-end:3px; color:var(--footer-strong); font-size:var(--footer-app-title-size);
  font-weight:var(--footer-app-title-weight); line-height:1.7;
}
.drm-footer__app-text { margin:0; color:var(--footer-muted); font-size:var(--footer-app-text-size); font-weight:var(--footer-app-text-weight); line-height:1.8; }
.drm-footer__app-buttons { display:flex; align-items:center; justify-content:flex-end; gap:8px; flex:0 0 auto; direction:rtl; }
.drm-footer__store-button {
  min-width:var(--footer-store-width); width:var(--footer-store-width); height:var(--footer-store-height); min-height:var(--footer-store-height);
  display:flex; align-items:center; justify-content:flex-start; gap:8px; padding:6px 9px; color:#fff; background:var(--footer-store-bg);
  border:1px solid rgba(255,255,255,.08); border-radius:13px; direction:rtl; text-align:right;
  transition:transform 180ms var(--footer-ease), background 180ms var(--footer-ease);
}
.drm-footer__store-button:hover,
.drm-footer__store-button:focus-visible { color:#fff; background:var(--footer-store-hover-bg); transform:translateY(-2px); outline:none; }
.drm-footer__store-icon { width:32px; height:32px; flex:0 0 32px; display:grid; place-items:center; color:#fff; background:rgba(255,255,255,.1); border-radius:10px; }
.drm-footer__store-icon svg,
.drm-footer__store-icon img { display:block; max-width:100%; max-height:100%; object-fit:contain; object-position:center; }
.drm-footer__store-icon--android svg,
.drm-footer__store-icon--android img { width:var(--footer-android-icon-size); height:var(--footer-android-icon-size); }
.drm-footer__store-icon--ios svg,
.drm-footer__store-icon--ios img { width:var(--footer-ios-icon-size); height:var(--footer-ios-icon-size); }
.drm-footer__store-content { min-width:0; }
.drm-footer__store-small { display:block; margin-block-end:1px; color:rgba(255,255,255,.56); font-size:var(--footer-store-small-size); font-weight:var(--footer-store-small-weight); line-height:1.4; white-space:nowrap; }
.drm-footer__store-name { display:block; color:#fff; font-size:var(--footer-store-name-size); font-weight:var(--footer-store-name-weight); line-height:1.6; white-space:nowrap; }

.drm-footer__trust {
  display:grid;
  grid-template-columns:minmax(0,1fr) var(--footer-trust-badge-width) var(--footer-trust-badge-width);
  gap:var(--footer-trust-gap);
  margin-block-start:var(--footer-trust-gap);
  direction:rtl;
  align-items:stretch;
}
.drm-footer__trust-banner {
  position:relative;
  min-width:0;
  width:100%;
  height:var(--footer-trust-height);
  min-height:var(--footer-trust-height);
  display:block;
  overflow:hidden;
  isolation:isolate;
  background:transparent;
  border:0!important;
  outline:0;
  box-shadow:none!important;
  border-radius:var(--footer-card-radius);
  clip-path:inset(0 round var(--footer-card-radius));
  -webkit-mask-image:-webkit-radial-gradient(#fff,#000);
  line-height:0;
  transform:translateZ(0);
}
.drm-footer__trust-banner::before,
.drm-footer__trust-banner::after { display:none!important; content:none!important; }
.drm-footer__trust-banner img {
  position:absolute;
  inset:-1px;
  width:calc(100% + 2px);
  height:calc(100% + 2px);
  max-width:none!important;
  display:block;
  object-fit:cover;
  object-position:center;
  background:transparent;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  border-radius:0;
  transform:scale(1.003);
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  transition:transform 320ms var(--footer-ease);
}
.drm-footer__trust-banner:hover img,
.drm-footer__trust-banner:focus-visible img { transform:scale(1.018); }
.drm-footer__trust-banner:focus,
.drm-footer__trust-banner:focus-visible,
.drm-footer__trust-banner:active { border:0!important; outline:0!important; box-shadow:none!important; }
.drm-footer__trust-card {
  min-height:var(--footer-trust-height);
  height:var(--footer-trust-height);
  display:grid;
  place-items:center;
  padding:11px;
  color:var(--footer-primary);
  background:var(--footer-surface);
  border-radius:var(--footer-card-radius);
  text-align:center;
  transition:transform 180ms var(--footer-ease), background 180ms var(--footer-ease);
}
.drm-footer__trust-card:hover,
.drm-footer__trust-card:focus-visible { background:var(--footer-surface-2); transform:translateY(-2px); outline:none; }
.drm-footer__trust-card svg { width:48px; height:48px; }
.drm-footer__trust-card-inner {
  width:100%;
  height:100%;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.drm-footer__trust-media {
  width:64px;
  height:64px;
  flex:0 0 64px;
  display:grid;
  place-items:center;
  overflow:hidden;
  line-height:0;
}
.drm-footer__trust-media > img,
.drm-footer__trust-media > a > img {
  width:auto!important;
  height:auto!important;
  max-width:64px!important;
  max-height:64px!important;
  display:block!important;
  margin:0 auto!important;
  padding:0!important;
  object-fit:contain!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  box-shadow:none!important;
}
.drm-footer__trust-embed,
.drm-footer__trust-embed > a {
  width:64px!important;
  height:64px!important;
  min-width:0!important;
  min-height:0!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  line-height:0!important;
}
.drm-footer__trust-card--embed:hover,
.drm-footer__trust-card--embed:focus-within { background:var(--footer-surface-2); transform:translateY(-2px); }
.drm-footer__trust-card--embed a:focus-visible { outline:2px solid var(--footer-primary); outline-offset:2px; }
.drm-footer__trust-label { display:block; margin-block-start:4px; color:var(--footer-strong); font-size:var(--footer-trust-label-size); font-weight:var(--footer-trust-label-weight); text-align:center; }

.drm-footer__social-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-block-start:27px;
  padding-block-start:22px;
  border-block-start:1px solid var(--footer-divider);
  direction:rtl;
}
.drm-footer__social-title { display:block; margin-block-end:3px; color:#fff; font-size:var(--footer-social-title-size); font-weight:var(--footer-social-title-weight); }
.drm-footer__social-description { display:block; color:var(--footer-soft-text); font-size:var(--footer-social-text-size); font-weight:var(--footer-social-text-weight); }
.drm-footer__socials { display:flex; flex-wrap:wrap; gap:8px; direction:rtl; }
.drm-footer__social {
  width:var(--footer-social-icon); height:var(--footer-social-icon); display:grid; place-items:center; color:#fff;
  background:var(--footer-social-bg); border:1px solid rgba(255,255,255,.08); border-radius:12px;
  transition:background 180ms var(--footer-ease), transform 180ms var(--footer-ease);
}
.drm-footer__social svg { width:45%; height:45%; }
.drm-footer__social:hover,
.drm-footer__social:focus-visible { color:#fff; background:var(--footer-social-hover-bg); transform:translateY(-2px); outline:none; }

.drm-footer__bottom {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-block-start:23px;
  padding-block-start:21px;
  border-block-start:1px solid var(--footer-divider);
  direction:rtl;
}
.drm-footer__copyright,
.drm-footer__legal { margin:0; color:var(--footer-soft-text); font-size:var(--footer-bottom-size); font-weight:var(--footer-bottom-weight); line-height:1.9; }
.drm-footer__legal { display:flex; align-items:center; flex-wrap:wrap; gap:7px 13px; direction:rtl; }
.drm-footer__legal a:hover,
.drm-footer__legal a:focus-visible { color:#fff; outline:none; }
.drm-footer__scroll-top {
  position:absolute;
  inset-inline-start:50%;
  inset-block-start:0;
  width:var(--footer-scroll-button);
  height:var(--footer-scroll-button);
  display:grid;
  place-items:center;
  color:var(--footer-scroll-icon);
  background:var(--footer-scroll-bg);
  border:5px solid var(--footer-scroll-ring);
  border-radius:50%;
  transform:translate(50%,-50%);
  box-shadow:0 9px 25px rgba(108,20,16,.27);
  transition:background 180ms var(--footer-ease), color 180ms var(--footer-ease), border-color 180ms var(--footer-ease), transform 180ms var(--footer-ease);
}
.drm-footer__scroll-top svg { width:36%; height:36%; }
.drm-footer__scroll-top:hover {
  color:var(--footer-scroll-icon-hover);
  background:var(--footer-scroll-bg-hover);
  border-color:var(--footer-scroll-ring-hover);
  transform:translate(50%,-54%);
}
.drm-footer__scroll-top:focus-visible { outline:2px solid #fff; outline-offset:3px; }

@media (max-width: 1050px) {
  .drm-footer__benefits { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .drm-footer__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .drm-footer__app-download { height:auto; min-height:var(--footer-app-height); align-items:stretch; flex-direction:column; gap:12px; }
  .drm-footer__app-buttons { width:100%; }
  .drm-footer__store-button { width:auto; flex:1 1 0; }
}

@media (prefers-reduced-motion: reduce) {
  .drm-footer *,
  .drm-footer *::before,
  .drm-footer *::after {
    scroll-behavior:auto!important;
    transition-duration:.01ms!important;
    animation-duration:.01ms!important;
  }
}
