body.cms-payment-methods .main {
  max-width: 100%;
}
.main-payment-container {
  max-width: 100%;
  margin-top: 30px;
}
.main-payment-container .main-1 {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  font-family: 'Inter', sans-serif;
}
.main-payment-container .upper-title {
  width: 100%;
  height: auto;
  float: left;
  position: relative;
  background-image: linear-gradient(to bottom, var(--white-color), #fafbfb);
}
.main-payment-container .upper-title .title-page {
  width: 45%;
  height: 500px;
  float: left;
  display: flex;
  padding-left: 200px;
  flex-direction: column;
  position: relative;
  justify-content: center;
}
.main-payment-container .upper-title .title-page .title {
  width: 42%;
  font-size: 1.2em !important;
  line-height: 1.3;
  padding: 0 0 15px 0;
  position: relative;
}
.main-payment-container .upper-title .title-page .title:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 190px;
  height: 3px;
  background-color: var(--grey-color-tone-six);
}
.main-payment-container .upper-title .title-page .title h1 {
  font-size: 2.2em !important;
  color: var(--dark-color);
  font-weight: 700;
  line-height: 44px;
}
.main-payment-container .upper-title .title-page .title h1 > span{
  color: var(--primary-color);
}
.main-payment-container .upper-title .title-page .title h1:nth-child(2) {
  color: var(--diff-primary-color);
}
.main-payment-container .upper-title .title-page .title-detail {
  color: var(--grey-color-tone-four);
  width: 100%;
}
.main-payment-container .upper-title .title-page .title-detail p {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 500;
  margin-top: 15px;
  word-spacing: 7px;
}
.main-payment-container .upper-title .title-page .title-sd {
  display: flex;
  width: 100%;
  flex-direction: row;
  margin-top: 15px;
  justify-content: left;
  align-items: center;
}
.main-payment-container .upper-title .title-page .title-sd img {
  width: 20px;
}
.main-payment-container .upper-title .title-page .title-sd p {
  font-size: 14px;
  color: var(--grey-color-tone-five);
  font-weight: 600;
  margin: 0 0 0 10px;
}
/* Mobile view upper title ---------------------------------------- */

/* Mobile view upper title -------------------------------------- */

.main-payment-container .upper-title .happy-amarican-img {
  float: left;
  width: 55%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.main-payment-container .upper-title .happy-amarican-img .backgroundA-img {
  background-image: url(../images/payment-methods/man-for-creditcard.png);
  height: 400px;
  width: 400px;
  background-size: 400px;
}
.main-payment-container .upper-title .title-1 p {
  width: 100%;
  color: var(--grey-color-tone-three);
  float: left;
  font-size: 17px;
  margin: 0px auto;
  display: flex;
  align-items: center;
  text-align: center;
  font-weight: 500;
  justify-content: center;
}
.main-payment-container .information {
  width: 100%;
  display: flex;
  margin: 100px 0;
  flex-flow: row wrap;
}
.main-payment-container .information .information-detail {
  width: 50%;
  height: auto;
  position: relative;
  margin: 40px 0;
}
.main-payment-container .information .information-detail .i-img {
  position: absolute;
  right: 6%;
  top: 86%;
}
.main-payment-container .information .information-detail .i-img.icon-more-bottom {
  top: 89%;
  right: 2%;
}
.main-payment-container .information .information-detail .card {
  width: 68%;
  height: 100%;
  border: 1px solid transparent;
  margin: auto;
  padding: 30px 36px 80px 30px;
  border-radius: 30px;
  position: relative;
  background-color: var(--grey-color-tone-eight);
}
.main-payment-container .information .information-detail .card h1 {
  position: relative;
  color: var(--dark-color);
  margin-bottom: 40px;
  font-size:clamp(1.5rem,2vw,5rem);
  font-weight: 700;
}

.main-payment-container .information .information-detail .card h1.line1:before {
  content: "";
  position: absolute;
  top: 60px;
  left: -60px;
  width: 250px;
  height: 2px;
  background-color: var(--grey-color-tone-five);
}
.main-payment-container .information .information-detail .card.top-height:before {
  content: "";
  position: absolute;
  top: 90px;
  left: -30px;
  width: 250px;
  height: 2px;
  background-color: var(--grey-color-tone-five);
}
.main-payment-container .information .information-detail .card p {
  text-align: justify;
  color: var(--grey-color-tone-three);
  font-weight: 500;
}
.main-payment-container .behalf-div {
  margin-bottom: 25px;
  margin-top: -10px;
  background-color: #f9f9f9;
  height: 520px;
  width: 100%;
  padding: 50px 90px 0 90px;
  position: relative;
}
.main-payment-container .behalf-div .behalf-para {
  width: 80%;
  height: 100%;
  position: static;
  margin: 0 auto;
}
.main-payment-container .behalf-div .behalf-para h1 span {
  color: var(--diff-primary-color);
}
.main-payment-container .behalf-div .behalf-para h1 {
  color: var(--dark-color);
  font-size: 3.5em;
  font-weight: 700;
  position: relative;
}
.main-payment-container .behalf-div .behalf-para h1:before {
  content: "";
  position: absolute;
  top: 94px;
  left: -7%;
  width: 30%;
  height: 2px;
  background-color: var(--grey-color-tone-five);
}
.main-payment-container .behalf-div .behalf-para .credit-bottom-para {
  display: flex;
  justify-content: space-around;
}
.main-payment-container .behalf-div .behalf-para .credit-bottom-para p {
  text-align: justify;
  color: var(--grey-color-tone-three);
  font-weight: 500;
  margin-top: 50px;
  padding-left: 20px;
  position: relative;
  font-size: 15px;
  width: 40%;
}
.main-payment-container .behalf-div .behalf-para .credit-bottom-para p .behalf-link {
  color: var(--grey-color-tone-three);
  text-decoration: none;
}
.main-payment-container .behalf-div .behalf-para .credit-bottom-para p .behalf-link .behalf-btn {
  width: 130px;
  height: 50px;
  background-color: var(--white-color);
  color: var(--grey-color-tone-three);
  margin-top: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border: 1px solid transparent;
  position: relative;
  outline: none;
  border-radius: 15px;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 1px;
  word-spacing: 2px;
  font-weight: 500;
}
.main-payment-container .behalf-div .behalf-para .credit-bottom-para p .behalf-link .behalf-btn:hover{
  background-color: var(--primary-color);
  color: var(--white-color);
}
.main-payment-container .behalf-div .behalf-para .i-img {
  position: absolute;
  right: 100px;
  top: 228px;
}
.main-payment-container .payment-options {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  padding: 25px 0;
}
.main-payment-container .payment-options img {
  padding: 15px;
}
.main-payment-container .main-1 .information .information-detail .card h1 span {
  color: var(--diff-primary-color);
}
.main-payment-container .behalf-div.credit-key-div .behalf-para .line1 {
  text-align: center;
}
.main-payment-container .behalf-div.credit-key-div {
  height: 390px;
}
.main-payment-container .behalf-div.credit-key-div .behalf-para h1:before {
  left: 23%;
}
.catalog-category-view .block-layered-nav .actions a:hover, .catalog-category-view .block-layered-nav .actions a {
  color: var(--white-color);
}
body.cms-payment-methods .footer-container {
  margin-top: 25px;
}
body.cms-payment-methods .main-payment-container .wave-image{
  width: 100%;
}

/*======new payment method page css start======*/

.main-payment-container {
  display: none;
}

.payment-methods-wrapper {
  max-width: 966px;
  margin: 0 auto;
  background-color: #ffffff;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

.payment-methods-wrapper .payment-methods-header h2 {
  margin: 0 0 32px 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 100%;
  color: var(--dark-color);
}

.payment-methods-wrapper .payment-method-search {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  gap: 16px;
}

.payment-methods-wrapper .payment-method-search input {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 400;
  height: 40px;
  border: 0;
  border-radius: 128px;
  background-color: #F1F1F1;
  width: 100%;
  max-width: 320px;
  background-image: url(../images/payment-methods/search-icon.svg);
  background-repeat: no-repeat;
  background-position: 12px 9px;
  background-size: 18px;
  padding-left: 40px;
}

.payment-methods-wrapper .payment-method-search .country-selector {
  max-width: 280px;
  width: 100%;
  height: 44px;
}

.payment-methods-wrapper .payment-method-search .country-selector select {
  padding: 10px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 100%;
  background-image: url(../images/payment-methods/globe-icon.svg);
  background-repeat: no-repeat;
  background-position: 14px 12px;
  background-size: 20px;
  padding-left: 40px;
}

.payment-methods-wrapper .payment-methods-container {
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.payment-methods-wrapper .payment-method-card-item {
  width: calc((100% - 3 * 24px) / 4);
  aspect-ratio: 223.5 / 226;
  border-radius: 20px;
  box-shadow: 0px 0px 8px 0px #00000026;
  display: flex;
  flex-direction: column;
  height: auto;
  background: #F7F7F7;
}

.payment-methods-wrapper .payment-method-image {
  height: auto;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.payment-methods-wrapper .card-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.payment-methods-wrapper .payment-method-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
}

.payment-methods-wrapper .card-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 100%;
  margin: 0 0 4px 0;
  color: var(--dark-color);
}

.payment-methods-wrapper .payment-method-title span {
  font-size: 12px;
  font-weight: 400;
  color: #727272;
  margin-bottom: 8px;
}

.payment-methods-wrapper .card-description {
  font-size: 14px;
  color: var(--dark-color);
  margin: 0;
  font-weight: 400;
  line-height: 100%;
}

.payment-methods-wrapper .search-box svg {
  display: none;
}
.payment-methods-wrapper .recommendation-popup .select-selected {
  border-radius: 8px;
  height: 44px;
  align-items: center;
  position: relative;
}
.payment-methods-wrapper .recommendation-popup .country-name {
  margin-bottom: 0;
}
.payment-methods-wrapper .recommendation-popup .select-flag {
  width: 20px;
  height: 20px;
}
.payment-methods-wrapper .select-items .dropdown-items {
  padding: 16px;
  position: relative;
}
.payment-methods-wrapper .recommendation-popup .country-name {
  font-size: 14px;
  font-weight: 400;
  line-height: 100%;
  color: var(--dark-color);
  margin-bottom: 0;
}
.payment-methods-wrapper .dropdown-items.selected-item::after {
  content: 'Selected';
  font-size: 14px;
  font-weight: 400;
  color: #0084FF;
  position: absolute;
  display: flex;
  right: 20px;
  margin-bottom: 0;
}
.payment-methods-wrapper .select-items.show {
  min-height: 399px;
}
.payment-methods-wrapper .select-items.show::-webkit-scrollbar {
  width: 5px;
  border-radius: 10px;
}
.payment-methods-wrapper .select-items.show::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.payment-methods-wrapper .select-items.show::-webkit-scrollbar-thumb {
  background: #cecece;
}
.payment-methods-wrapper .select-items.show::-webkit-scrollbar-thumb:hover {
  background: #c4c4c4;
}
@media (max-width: 1199px) {
  .payment-methods-wrapper {
    padding: 12px 20px;
  }

  .payment-methods-wrapper .payment-methods-header h2,
  .payment-methods-wrapper .payment-method-search {
    margin-bottom: 20px;
  }
}

@media (max-width: 820px) {

  .payment-methods-wrapper .payment-method-card-item {
    width: calc((100% - 2 * 24px) / 3);
    aspect-ratio: auto;
    padding-bottom: 15px;
  }
}

@media screen and (max-width: 600px) {

  .payment-methods-wrapper .payment-method-search {
    flex-direction: column;
    align-items: flex-start;
  }

  .payment-methods-wrapper {
    padding: 10px 10px;
  }

  .payment-methods-wrapper .payment-method-search input {
    max-width: 100%;
  }

  .payment-methods-wrapper .payment-method-title {
    padding: 10px;
  }

  .payment-methods-wrapper .payment-methods-container {
    gap: 15px;
  }

  .payment-methods-wrapper .payment-method-card-item {
    width: calc((100% - 15px) / 2);
    padding-bottom: 10px;
  }

  .payment-methods-wrapper .card-title {
    font-size: 14px;
  }

  .payment-methods-wrapper .payment-method-title span{
    font-size: 10px;
  }

  .payment-methods-wrapper .card-description {
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  .payment-methods-wrapper {
    padding-top: 20px;
  }
}

/*======new payment method page css end======*/
/* start media query */
@media screen and (max-width:1200px) {
  .main-payment-container .behalf-div.credit-key-div {
    height: 465px;
  }
  .main-payment-container .behalf-div .behalf-para .i-img {
      top: 300px;
  }
  .main-payment-container .information .information-detail .card h1.line1:before{
    top: 40px;
  }
  .main-payment-container .information .information-detail .card.top-height:before{
    top: 70px;
  }
}

@media screen and (max-width:1024px) {
  .main-payment-container .upper-title .title-page {
    padding-left: 150px;
  }
  .main-payment-container .behalf-div {
      height: 600px;
  }
}

@media screen and (max-width:980px) {
  .main-payment-container .information .information-detail .card {
    width: 90%;
  }
  .main-payment-container .behalf-div .behalf-para .i-img {
    top: 310px;
    right: 20px;
  }
  .main-payment-container .payment-options img {
      width: 95%;
  }
  .main-payment-container .behalf-div .behalf-para .credit-bottom-para p {
      width: 48%;
  }
}

@media screen and (max-width:900px) {
  .main-payment-container .upper-title .title-page {
      padding-left: 120px;
  }
  .main-payment-container .upper-title .happy-amarican-img .backgroundA-img {
      height: 280px;
      width: 280px;
      background-size: 280px;
  }
  .main-payment-container .upper-title .happy-amarican-img .backgroundA-img .img1 {
      background-position-x: -72px;
  }

}

@media screen and (max-width:840px) {
  .main-payment-container .upper-title .title-page {
    width: 50%;
  }
  .main-payment-container .upper-title .happy-amarican-img {
      width: 50%;
  }
  .main-payment-container .behalf-div {
      padding: 50px 50px 0 50px;
  }
  .main-payment-container .behalf-div .behalf-para .credit-bottom-para p .behalf-btn {
      width: 50%;
  }
}

@media screen and (max-width:768px) {
  .main-payment-container .upper-title .title-1 p {
    padding-bottom: 50px;
  }
  .main-payment-container .upper-title .title-page {
    padding-left: 80px;
  }
  .main-payment-container .information .information-detail .card p {
      font-size: 14px;
      letter-spacing: 1px;
  }
  .main-payment-container .behalf-div {
      padding: 50px 20px 0 20px;
  }
}

@media screen and (max-width:767px) {
  .main-payment-container .upper-title .title-1 p br{
    display: none;
  }
}

@media screen and (max-width:700px) {
  .main-payment-container .upper-title .title-page {
    padding-left: 30px;
  }
}

@media screen and (max-width:640px) {
  .main-payment-container .information .information-detail {
    width: 100%;
  }
  .main-payment-container .information .information-detail .card {
    padding: 20px 20px 50px 20px;
  }
  .main-payment-container .behalf-div {
    padding: 50px 10px 0 10px;
  }
  .main-payment-container .behalf-div.credit-key-div {
    height: auto;
    padding: 40px 15px 100px 15px;
    margin-bottom: 80px;
  }
  .main-payment-container .behalf-div .behalf-para .i-img {
      top: auto;
      right: 10px;
      bottom: -135px;
  }
  .main-payment-container .behalf-div .behalf-para .credit-bottom-para {
      flex-wrap: wrap;
  }
  .main-payment-container .behalf-div .behalf-para .credit-bottom-para p {
      width: 100%;
      padding: 0;
  }
  .main-payment-container .behalf-div .behalf-para .credit-bottom-para p:nth-child(2) {
      margin-top: 15px;
  }
  .main-payment-container .information .information-detail .card h1.line1:before{
    width: 200px;
    left: -30px;
  }
  .main-payment-container .information .information-detail .card.top-height:before{
    width: 200px;
    left: -15px;
    top:60px;
  }
  .main-payment-container .information .information-detail .card h1{
    margin-bottom: 30px;
  }
}

@media screen and (max-width:600px) {
  .main-payment-container .upper-title .title-page {
    width: 100%;
    text-align: center;
    padding: 0;
    height: auto;
  }
  .main-payment-container .upper-title .title-page .title:before{
    display: none;
  }
  .main-payment-container .upper-title .title-page .title{
    width: 100%;
  }
  .main-payment-container .upper-title .title-page .title-sd{
    justify-content: center;
  }
  .main-payment-container .upper-title .happy-amarican-img {
      width: 100%;
      height: auto;
      padding: 30px 0;
  }
  .main-payment-container .upper-title .happy-amarican-img .backgroundA-img {
    height: 260px;
    width: 260px;
    background-size: 260px;
  }
  .main-payment-container .upper-title .happy-amarican-img .backgroundA-img .img1 {
    background-position-x: -92px;
  }
  .main-payment-container .behalf-div .behalf-para .credit-bottom-para p .behalf-btn {
    width: 40%;
  }
  .main-payment-container .information{
    margin: 40px 0 70px 0;
  }
}

@media screen and (max-width:536px) {
  .main-payment-container .upper-title .title-1 {
    padding: 15px;
    font-size: 13px;
  }
  .main-payment-container .behalf-div .behalf-para h1 {
    font-size: 3em !important;
  }
  .main-payment-container .behalf-div {
    height: 700px;
    margin-bottom: 60px;
  }
  .main-payment-container .behalf-div .behalf-para h1:before {
    width: 50% !important;
    top: 85px !important;
  }
  .main-payment-container .behalf-div .behalf-para {
    width: 95%;
  }
}

@media screen and (max-width:420px) {
  .main-payment-container .upper-title .title-1 {
    font-size: 12px;
    padding-bottom: 20px;
  }
  .main-payment-container .information .information-detail .card p {
    font-size: 13px;
  }
  .main-payment-container .behalf-div {
    height: 650px;
  }
  .main-payment-container .behalf-div .behalf-para h1 {
    font-size: 2.2em !important;
  }
  .main-payment-container .behalf-div .behalf-para h1:before {
    top: 72px !important;
  }
  .main-payment-container .behalf-div .behalf-para .credit-bottom-para p {
    font-size: 13px;
    letter-spacing: 1px;
  }
}

@media screen and (max-width:375px) {
  .main-payment-container .upper-title .happy-amarican-img .backgroundA-img .img1 {
    background-position-x: -80px;
  }
  .main-payment-container .behalf-div {
    height: 700px;
  }
}

@media screen and (max-width:360px) {
  .main-payment-container .upper-title .happy-amarican-img .backgroundA-img .img1 {
    background-position-x: -62px;
  }
  .main-payment-container .information .information-detail .card p {
    font-size: 12px;
  }
  .main-payment-container .behalf-div {
    height: 700px;
  }
  .main-payment-container .behalf-div .behalf-para h1 {
    font-size: 1.9em !important;
  }
  .main-payment-container .behalf-div .behalf-para h1:before {
    top: 70px !important;
  }
  .main-payment-container .behalf-div .behalf-para .credit-bottom-para p .behalf-btn {
    width: 50%;
  }
}