.payment-support-card {
  grid-column: 1 / -1;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid #dbe4f2;
  border-radius: 18px;
  background: #f8faff;
  color: #15233c;
}

.payment-support-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.payment-support-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #315efb;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.payment-support-eyebrow {
  display: block;
  margin-bottom: 3px;
  color: #315efb;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
}

.payment-support-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.payment-support-head p {
  margin: 6px 0 0;
  color: #60708a;
  font-size: 14px;
}

.payment-method-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 17px;
}

.payment-method-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  padding: 13px;
  border: 1px solid #e1e8f3;
  border-radius: 14px;
  background: #fff;
}

.payment-method-number {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #edf2ff;
  color: #315efb;
  font-size: 13px;
  font-weight: 900;
}

.payment-method-item b {
  display: block;
  font-size: 14px;
}

.payment-method-item p {
  margin: 4px 0 0;
  color: #65738a;
  font-size: 12px;
  line-height: 1.45;
}

.payment-support-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

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

.payment-contact {
  display: grid;
  min-width: 180px;
  padding: 10px 14px;
  border: 1px solid #d9e3f1;
  border-radius: 12px;
  background: #fff;
  color: #17325f;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease;
}

.payment-contact:hover,
.payment-contact:focus-visible {
  border-color: #315efb;
  background: #f3f6ff;
  outline: none;
}

.payment-contact span {
  color: #65738a;
  font-size: 11px;
  font-weight: 700;
}

.payment-contact strong {
  margin-top: 1px;
  color: #174bd6;
  font-size: 14px;
}

.payment-privacy {
  display: block;
  margin-top: 14px;
  color: #718099;
  font-size: 12px;
}

@media (max-width: 680px) {
  .payment-support-card {
    padding: 17px;
    border-radius: 15px;
  }

  .payment-method-guide {
    grid-template-columns: 1fr;
  }

  .payment-support-contacts {
    display: grid;
  }

  .payment-contact {
    min-width: 0;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .payment-contact {
    transition: none;
  }
}


/* AYAAN_PAYMENT_LAYOUT_REPAIR_V2 */

/*
 * Reset the older checkout rule that defined this panel as
 * a 54px / 1fr grid. The redesigned panel manages its own
 * internal grids.
 */
.payment-support-card {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.payment-support-card,
.payment-support-card * {
  box-sizing: border-box;
}

.payment-support-card > *,
.payment-support-head > *,
.payment-method-guide > *,
.payment-method-item > * {
  min-width: 0;
}

.payment-support-head {
  width: 100%;
}

.payment-support-head p,
.payment-method-item p,
.payment-contact strong,
.payment-privacy {
  overflow-wrap: anywhere;
  word-break: normal;
}

.payment-method-guide {
  width: 100%;
  align-items: stretch;
}

.payment-method-item {
  width: 100%;
  min-height: 100%;
  align-content: start;
}

.payment-support-contacts {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  width: 100%;
}

.payment-contact {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.payment-privacy {
  width: 100%;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .payment-method-guide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .payment-support-card {
    padding: 16px;
    border-radius: 16px;
  }

  .payment-support-head {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .payment-support-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .payment-support-card h3 {
    font-size: 18px;
  }

  .payment-method-item {
    grid-template-columns: 28px minmax(0, 1fr);
    padding: 13px;
  }

  .payment-support-contacts {
    grid-template-columns: 1fr;
  }
}


/* AYAAN_PAYMENT_MODERN_V3 */

.payment-support-card {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 22px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dbe5f3;
  border-radius: 22px;
  background: #ffffff;
  box-shadow:
    0 18px 45px rgba(27, 52, 94, .08),
    0 2px 8px rgba(27, 52, 94, .04);
}

.payment-support-card::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -75px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(49, 94, 251, .13),
      rgba(49, 94, 251, 0) 70%
    );
  pointer-events: none;
}

.payment-support-head {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  width: 100%;
  padding: 22px 24px 18px;
  border-bottom: 1px solid #e8edf6;
  background:
    linear-gradient(
      135deg,
      #f8faff 0%,
      #f1f5ff 55%,
      #f8fbff 100%
    );
}

.payment-support-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: linear-gradient(135deg, #244ef1, #4075ff);
  color: #ffffff;
  font-size: 21px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(49, 94, 251, .22);
}

.payment-support-eyebrow {
  display: block;
  margin: 0 0 2px;
  color: #315efb;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.payment-support-card h3 {
  margin: 0;
  color: #10213d;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.2;
  letter-spacing: -.02em;
}

.payment-support-head p {
  max-width: 590px;
  margin: 5px 0 0;
  color: #64738b;
  font-size: 13px;
  line-height: 1.5;
}

.payment-method-guide {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 18px 24px 12px;
}

.payment-method-item {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-content: start;
  min-width: 0;
  min-height: 142px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid #e1e8f3;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 7px 18px rgba(28, 51, 89, .045);
}

.payment-method-item::after {
  content: "";
  position: absolute;
  right: -25px;
  bottom: -30px;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: rgba(49, 94, 251, .045);
}

.payment-method-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #edf2ff;
  color: #315efb;
  font-size: 14px;
  font-weight: 900;
}

.payment-method-item b {
  display: block;
  margin: 1px 0 4px;
  color: #12213b;
  font-size: 15px;
  line-height: 1.3;
}

.payment-method-item p {
  margin: 0;
  color: #66758d;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.payment-support-contacts {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 4px 24px 13px;
}

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

.payment-contact {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "label arrow"
    "number arrow";
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 66px;
  padding: 11px 14px;
  overflow: hidden;
  border: 1px solid #dce5f2;
  border-radius: 14px;
  background: #f8faff;
  color: #17325f;
  text-decoration: none;
  box-shadow: none;
  transition:
    transform .16s ease,
    border-color .16s ease,
    box-shadow .16s ease;
}

.payment-contact::after {
  content: "›";
  grid-area: arrow;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: 10px;
  border-radius: 9px;
  background: #ffffff;
  color: #315efb;
  font-size: 22px;
  line-height: 1;
}

.payment-contact span {
  grid-area: label;
  color: #697991;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.payment-contact strong {
  grid-area: number;
  display: block;
  margin-top: 2px;
  color: #174bd6;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.whatsapp-contact {
  background: #f3fcf7;
  border-color: #d5efe0;
}

.whatsapp-contact strong,
.whatsapp-contact::after {
  color: #087b55;
}

.payment-contact:hover,
.payment-contact:focus-visible {
  transform: translateY(-1px);
  border-color: #9eb4ff;
  box-shadow: 0 9px 20px rgba(36, 78, 190, .09);
  outline: none;
}

.payment-privacy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: auto;
  margin: 0 24px 20px;
  padding-top: 12px;
  border-top: 1px solid #edf1f7;
  color: #74829a;
  font-size: 11px;
  line-height: 1.5;
}

.payment-privacy::before {
  content: "🔒";
  flex: 0 0 auto;
  font-size: 12px;
}

@media (max-width: 760px) {
  .payment-method-guide {
    grid-template-columns: 1fr;
  }

  .payment-method-item {
    min-height: 0;
  }
}

@media (max-width: 480px) {
  .payment-support-card {
    border-radius: 18px;
  }

  .payment-support-head {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
  }

  .payment-support-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .payment-support-head p {
    font-size: 12px;
  }

  .payment-method-guide {
    gap: 10px;
    padding: 14px 18px 10px;
  }

  .payment-method-item {
    padding: 14px;
  }

  .payment-support-contacts {
    grid-template-columns: 1fr;
    padding: 3px 18px 12px;
  }

  .payment-privacy {
    margin: 0 18px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .payment-contact {
    transition: none;
  }
}


/* AYAAN_PAYMENT_PROFESSIONAL_V4 */

.payment-support-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #d9e2f2;
  border-radius: 24px;
  background: #ffffff;
  box-shadow:
    0 24px 60px rgba(29, 51, 95, .11),
    0 4px 14px rgba(29, 51, 95, .05);
}

/* Branded header */

.payment-support-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 17px;
  align-items: center;
  padding: 25px 26px;
  border: 0;
  background:
    radial-gradient(
      circle at 88% 12%,
      rgba(123, 97, 255, .85),
      transparent 30%
    ),
    linear-gradient(
      125deg,
      #173dc6 0%,
      #315efb 52%,
      #6248e8 100%
    );
}

.payment-support-head::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -64px;
  width: 185px;
  height: 185px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  box-shadow:
    0 0 0 25px rgba(255, 255, 255, .045),
    0 0 0 52px rgba(255, 255, 255, .025);
  pointer-events: none;
}

.payment-support-icon {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 17px;
  background: rgba(255, 255, 255, .16);
  color: #ffffff;
  font-size: 23px;
  backdrop-filter: blur(7px);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .2),
    0 12px 24px rgba(8, 30, 110, .18);
}

.payment-support-eyebrow {
  color: #dce5ff;
  font-size: 10px;
  letter-spacing: .18em;
}

.payment-support-card h3 {
  color: #ffffff;
  font-size: clamp(21px, 2.2vw, 26px);
  letter-spacing: -.025em;
}

.payment-support-head p {
  max-width: 590px;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  line-height: 1.55;
}

/* Payment procedure cards */

.payment-method-guide {
  gap: 14px;
  padding: 22px 26px 16px;
  background:
    linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
}

.payment-method-item {
  min-height: 156px;
  padding: 18px;
  border: 1px solid #e1e7f4;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(31, 54, 95, .065);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.payment-method-item:first-child {
  border-top: 4px solid #315efb;
  background:
    linear-gradient(
      145deg,
      rgba(49, 94, 251, .055),
      #ffffff 45%
    );
}

.payment-method-item:nth-child(2) {
  border-top: 4px solid #805ad5;
  background:
    linear-gradient(
      145deg,
      rgba(128, 90, 213, .06),
      #ffffff 45%
    );
}

.payment-method-item:hover {
  transform: translateY(-2px);
  border-color: #bdcaf0;
  box-shadow: 0 15px 30px rgba(31, 54, 95, .1);
}

.payment-method-item:first-child .payment-method-number {
  background: linear-gradient(135deg, #315efb, #5b7cff);
  color: #ffffff;
}

.payment-method-item:nth-child(2) .payment-method-number {
  background: linear-gradient(135deg, #7048cf, #9b6dea);
  color: #ffffff;
}

.payment-method-number {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  box-shadow: 0 7px 15px rgba(49, 94, 251, .18);
}

.payment-method-item b {
  color: #11213d;
  font-size: 15px;
  line-height: 1.35;
}

.payment-method-item p {
  color: #65758e;
  font-size: 12px;
  line-height: 1.6;
}

/* Contact actions */

.payment-support-contacts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 5px 26px 17px;
}

.payment-contact {
  position: relative;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  min-height: 78px;
  padding: 14px 52px 14px 17px;
  border-radius: 17px;
  text-decoration: none;
}

.payment-contact span {
  display: block;
  color: inherit;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .72;
}

.payment-contact strong {
  display: block;
  max-width: 100%;
  margin: 0;
  color: inherit;
  font-size: clamp(14px, 1.55vw, 17px);
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.payment-contact::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: 16px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0;
  transform: translateY(-50%);
  border-radius: 10px;
  font-size: 17px;
  font-weight: 900;
}

.whatsapp-contact {
  border: 1px solid #bfe8d1;
  background:
    linear-gradient(135deg, #eafbf2 0%, #f7fffb 100%);
  color: #087950;
  box-shadow: 0 8px 20px rgba(10, 145, 94, .08);
}

.whatsapp-contact::after {
  background: #16a66c;
  color: #ffffff;
  box-shadow: 0 7px 14px rgba(22, 166, 108, .22);
}

.hotline-contact {
  border: 1px solid #cad8ff;
  background:
    linear-gradient(135deg, #edf3ff 0%, #f9fbff 100%);
  color: #164ac8;
  box-shadow: 0 8px 20px rgba(49, 94, 251, .08);
}

.hotline-contact::after {
  background: #315efb;
  color: #ffffff;
  box-shadow: 0 7px 14px rgba(49, 94, 251, .22);
}

.payment-contact:hover,
.payment-contact:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(29, 53, 98, .13);
}

/* Privacy notice */

.payment-privacy {
  position: relative;
  margin: 0 26px 22px;
  padding: 13px 15px 13px 39px;
  border: 1px solid #e5eaf3;
  border-radius: 13px;
  background: #f8faff;
  color: #697993;
  font-size: 11px;
  line-height: 1.5;
}

.payment-privacy::before {
  content: "🔒";
  position: absolute;
  top: 12px;
  left: 14px;
}

/* Tablet */

@media (max-width: 760px) {
  .payment-method-guide {
    grid-template-columns: 1fr;
  }

  .payment-method-item {
    min-height: 0;
  }

  .payment-support-contacts {
    grid-template-columns: 1fr;
  }

  .payment-contact strong {
    font-size: 16px;
  }
}

/* Mobile */

@media (max-width: 480px) {
  .payment-support-card {
    border-radius: 19px;
  }

  .payment-support-head {
    grid-template-columns: 45px minmax(0, 1fr);
    gap: 12px;
    padding: 20px 18px;
  }

  .payment-support-icon {
    width: 45px;
    height: 45px;
    border-radius: 14px;
  }

  .payment-support-card h3 {
    font-size: 20px;
  }

  .payment-support-head p {
    font-size: 12px;
  }

  .payment-method-guide {
    padding: 17px 18px 12px;
  }

  .payment-method-item {
    padding: 15px;
  }

  .payment-support-contacts {
    padding: 4px 18px 14px;
  }

  .payment-contact {
    min-height: 72px;
    padding: 13px 49px 13px 15px;
  }

  .payment-contact strong {
    font-size: 15px;
    white-space: nowrap;
  }

  .payment-privacy {
    margin: 0 18px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .payment-method-item,
  .payment-contact {
    transition: none;
  }
}


/* AYAAN_OFFICE_LOCATION_CARD_V1 */

.summary-card .office {
  position: relative;
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  margin-top: 17px;
  padding: 17px;
  overflow: hidden;
  border: 1px solid #d9e2f2;
  border-radius: 17px;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(113, 74, 214, .13),
      transparent 38%
    ),
    linear-gradient(145deg, #f8f6ff, #f4f8ff);
  color: #172641;
  box-shadow:
    0 10px 26px rgba(34, 53, 94, .075),
    inset 0 1px rgba(255, 255, 255, .8);
}

.summary-card .office[hidden] {
  display: none;
}

.office-location-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, #315efb, #7857dc);
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 9px 19px rgba(69, 71, 202, .22);
}

.office-location-content {
  min-width: 0;
}

.office-location-eyebrow {
  display: block;
  margin-bottom: 2px;
  color: #6747ca;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .14em;
}

.office-location-title {
  display: block;
  margin: 0;
  color: #13233f;
  font-size: 15px;
  line-height: 1.35;
}

.office-location-address {
  margin: 7px 0 13px;
  color: #576780;
  font-size: 12px;
  font-style: normal;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.office-map-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 42px;
  padding: 10px 11px 10px 13px;
  border: 1px solid #cad7ff;
  border-radius: 12px;
  background: rgba(255, 255, 255, .88);
  color: #204dc7;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: 0 5px 14px rgba(40, 73, 161, .065);
  transition:
    transform .16s ease,
    border-color .16s ease,
    box-shadow .16s ease;
}

.office-map-arrow {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 8px;
  background: #315efb;
  color: #ffffff;
  font-size: 13px;
}

.office-map-link:hover,
.office-map-link:focus-visible {
  transform: translateY(-1px);
  border-color: #7998ff;
  box-shadow: 0 9px 20px rgba(40, 73, 161, .12);
  outline: none;
}

@media (max-width: 480px) {
  .summary-card .office {
    grid-template-columns: 41px minmax(0, 1fr);
    gap: 11px;
    padding: 15px;
  }

  .office-location-icon {
    width: 41px;
    height: 41px;
    border-radius: 13px;
    font-size: 21px;
  }

  .office-location-title {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .office-map-link {
    transition: none;
  }
}
