@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat:100,200,300,400,500,600,700,800,900&display=swap');
:root {
  --primary-color: #fc4554;
  --secondary-color: #fff1f5;
}

* {
  box-sizing: border-box;
}

*,
*:focus,
*:hover,
*:active,
*:before,
*:after {
  outline: 0 !important;
}

p,
h1,
h2,
h3,
h4 {
  margin: 0;
}

*::-moz-selection {
  background: #29beec6b;
  color: #fff;
}

*::selection {
  background: #0088f947;
  color: #000;
}

html {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
}

body {
  width: 100%;
  position: relative;
  margin: 0 auto;
  overflow-x: hidden;
  overflow-y: auto;
  background: #ffffff;
  font-family: 'Kanit', sans-serif;
  -webkit-font-smoothing: antialiased;
  vertical-align: baseline;
  padding: 0;
}

a {
  text-decoration: none;
  color: #1c1e1e;
  border: 0;
  vertical-align: baseline;
  cursor: pointer;
}

.open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.section-main,
nav,
footer {
  min-width: 100%;
  position: relative;
  display: block;
}

.navbar-in,
.header-in,
.section-in,
.footer-in {
  width: 100%;
  padding-left: 40px;
  height: 100%;
  margin-left: auto;
  max-width: 1400px;
  position: relative;
  z-index: 5;
  padding-right: 40px;
  margin-right: auto;
}

nav {
  height: 70px;
  position: absolute;
  background: rgb(255, 255, 255);
  z-index: 10;
}

.navbar-in {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
}

.navbar-l {
  display: block;
  position: relative;
  width: fit-content;
}

.navbar-logo {
  height: 45px;
  transition: 250ms;
}

.navbar-logo:hover {
  transform: rotate(-15deg);
}

.navbar-m {
  display: flex;
  height: 100%;
  width: fit-content;
  margin: 0 auto;
}

.navbar-r {
  position: relative;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.navbar-link-c {
  color: #fc4554;
  padding: 5px;
  transition: 200ms ease-in-out;
}

.navbar-link-c:hover {
  transform: translateX(-5px);
}

.navbar-link-c.r {
  background: #fc4554;
  color: #fff;
  padding: 10px 15px;
  border-radius: 5px;
  margin-left: 10px;
}

.navbar-link-c.r:hover {
  transform: none;
  background: #e83e4c;
}

.navbar-link-c i {
  height: 11px;
  margin-right: 5px;
}

.navbar-link {
  font-size: 16px;
  font-weight: 500;
  padding: 0 50px;
  letter-spacing: 0.5px;
  display: flex;
  position: relative;
  transition: 250ms ease-in-out 0s;
  align-items: center;
  overflow: hidden;
}

.navbar-link:hover span {
  color: #fff;
}

.navbar-link span {
  position: relative;
  transition: 250ms ease-in-out 0ms;
}

.navbar-link:before {
  content: '';
  position: absolute;
  display: block;
  width: 150%;
  height: 100%;
  background-color: #fc4554;
  left: 0;
  top: 0;
  transform: skew(-15deg, 0) translate(-150%);
  transition: transform 360ms;
}

.navbar-link:hover:before {
  transform: skew(-15deg, 0) translate(-25%);
}

header {
  box-sizing: content-box;
  position: relative;
  display: block;
  height: 100vh;
  background: #fff1f5;
  overflow: hidden;
}

header:after {
  content: '';
  position: absolute;
  background: url(/assets/img/header-wave.svg) no-repeat;
  background-size: cover;
  background-position: center bottom;
  width: 100%;
  height: 200px;
  bottom: -1px;
}

header:before {
  width: 45%;
  height: 100vh;
  content: '';
  position: absolute;
  background: #fc4554;
  right: 0;
  border-radius: 0px 0 0 500px;
}

.header-in {
  padding-top: 85px;
  padding-bottom: 25vh;
  display: flex;
  align-items: center;
}

.header-container {
  width: 45%;
  position: relative;
  display: block;
}

.header-title {
  font-size: 4em;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 70px;
  color: #1c1e1e;
}

.header-desc {
  font-size: 21px;
  font-weight: 600;
  line-height: 30px;
  color: #767676;
  margin: 20px 0;
}

.header-btns {
  display: flex;
  align-items: center;
  width: fit-content;
  margin-right: auto;
  position: relative;
}

.header-btp {
  background: #ffffff;
  padding: 10px 35px;
  border: 1.5px solid #cf1523;
  color: #1c1e1e;
  margin-right: 13px;
  border-radius: 0px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 15px;
  overflow: hidden;
  letter-spacing: 1px;
  position: relative;
}

.header-btp:before {
  content: '';
  position: absolute;
  display: block;
  width: 150%;
  height: 100%;
  background-color: #fc4554;
  left: 0;
  top: 0;
  transform: skew(-33deg, 0) translate(-150%);
  transition: transform 360ms;
}

.header-btp:hover:before {
  transform: skew(-33deg, 0) translate(-25%);
}

.header-btp:hover span {
  color: #fff;
}

.header-btp span {
  position: relative;
  transition: 250ms ease-in-out 0ms;
}

.feature {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 60px;
  grid-row-gap: 60px;
  position: relative;
  z-index: 6;
  transition: 0.2s ease-in-out, transform 0.2s ease-in-out,
    -webkit-transform 0.2s ease-in-out;
  background: #fcfdff;
  padding: 60px 40px;
  box-shadow: 0 30px 30px #00000026;
  margin-bottom: 30px;
  margin-top: -25vh;
}

.feature:after {
  width: 90%;
  height: 30px;
  background: #fc4554;
  content: '';
  position: absolute;
  right: 0;
  bottom: -30px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.feature-title {
  color: #505050;
  font-weight: 700;
  font-size: 27px;
  margin: 20px 0;
}

.feature-desc {
  font-size: 16px;
  color: #656565;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 23px;
  text-align: center;
}

.feature-card:hover i {
  border-radius: 100px;
}

.feature-card i {
  font-size: 45px;
  color: #fc4554;
  width: 90px;
  height: 90px;
  transition: 0.2s ease-in-out, transform 0.2s ease-in-out,
    -webkit-transform 0.2s ease-in-out;
  border-radius: 20px;
  border: 2px solid #ffe2eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

header[page-info='shop'] {
  height: 650px;
  margin-bottom: -220px;
}

.product-cont {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 45px;
}

.product-card {
  background: #fff;
  position: relative;
  border-radius: 8px;
  box-shadow: 0px 13px 20px #0000001a;
  flex-direction: column;
  display: flex;
  margin-bottom: 30px;
  transition: 250ms ease 0s;
}

.product-img {
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  position: relative;
  min-height: 245px;
}

.product-card-in {
  padding: 25px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card-in h1 {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: auto;
}

.product-card-tl {
  margin: 15px 0;
  display: inline-block;
  position: relative;
  width: 100%;
}

p.product-card-tli.r {
  float: left;
}

p.product-card-tli.l {
  float: right;
}

p.product-card-tli {
  display: block;
}

.gateway-btn {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 40px;
  cursor: pointer;
  background: #07852d;
  padding: 15px 10px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  transition: 250ms ease 0s;
}

.product-btn {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 40px;
  cursor: pointer;
  background: #fc4554;
  padding: 15px 10px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  transition: 250ms ease 0s;
}

.product-detail {
  position: absolute;
  bottom: -30px;
  height: 30px;
  border: none !important;
  outline: none !important;
  background: #181818;
  color: #fff;
  width: calc(90%);
  margin: 0 auto;
  right: 0;
  left: 0;
  cursor: pointer;
  border-radius: 0 0 10px 10px;
  transition: 250ms ease 0s;
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-btn:hover {
  background: #ea3e4c;
}

.product-btn.disabled {
  background: #a7a7a7;
}

.product-detail:hover {
  background: #3a3a3a;
}

.xn-user-m {
  display: flex;
  align-items: center;
}

.xn-user-m img {
  margin-right: 5px;
  border-radius: 5px;
}

.footer-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-m {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-co {
  font-weight: 500;
  letter-spacing: 0.3px;
  font-size: 16px;
}

.footer-m a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fc4554;
  color: #fff;
  border-radius: 100px;
  font-size: 20px;
  margin: 0 10px;
  transition: 250ms ease 0s;
}

footer {
  padding: 15px 0;
  background: #ffffff;
  margin-top: 80px;
}

.footer-m a:hover {
  transform: scale(1.1);
}

main.page {
  min-height: calc(100vh - 185px);
}

.faq {
  display: grid;
  grid-template-columns: auto;
  grid-row-gap: 50px;
  background: #fff;
  padding: 60px 60px;
  box-shadow: 0px 13px 20px #0000001a;
  border-radius: 10px;
}

.faq-box {
  background: #ffffff;
  box-shadow: 0px 5px 20px #0000001a;
  border-radius: 5px;
  transition: 0.2s ease-in-out;
  overflow: hidden;
}

.faq-top {
  user-select: none;
  display: flex;
  flex-direction: row;
  color: #313131;
  font-weight: 600;
  font-size: 20px;
  width: 100%;
  transition: 0.2s ease-in-out, transform 0.2s ease-in-out;
  background: #fff;
  position: relative;
  cursor: pointer;
}

.faq-top i {
  margin-left: auto;
  padding: 0 30px;
  font-size: 22px;
  display: flex;
  color: #ffffff;
  background: var(--primary-color);
  align-items: center;
  justify-content: center;
}

.faq-box.fopen {
  height: auto;
  border: none;
  background: #fffefc;
}

.faq-bt-l {
  padding: 25px;
  width: 100%;
  transition: padding 0.2s ease-in-out;
  background: #fffafb;
}

.faq-box.fopen .faq-top {
  color: var(--primary-color);
}

.faq-box.fopen .faq-bottom {
  max-height: 100%;
}

.faq-box:hover > .faq-top .faq-bt-l {
  padding-left: 30px;
}

.faq-box:last-child {
  margin-bottom: 0;
}

.faq-top i:before {
  transform: rotate(-90deg);
  transition: 0.1s ease-in-out;
}

.faq-box.fopen i:before {
  transform: rotate(0deg);
}

.faq-bottom {
  height: auto;
  max-height: 0;
  width: 100%;
  font-size: 16px;
  background: #fff1f5;
  font-weight: 500;
  color: #5a5a5a;
  line-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-bottom span {
  padding: 25px;
  width: 100%;
}

.faq-bottom span p {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 500;
}

.faq-bottom span p:last-child {
  margin: 0;
}

.faq-bottom span p a {
  color: #fc4554;
}

.xn-sigh-ac {
  background: #fc4554;
  color: #fff;
  transition: 250ms ease 0s;
  border-radius: 5px;
  font-size: 14px;
  display: inline-block;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  font-weight: 700;
  line-height: 16px;
  padding: 15px 40px;
  width: 100%;
  text-transform: uppercase;
  border: none;
}

.xn-sigh-ac:hover {
  background: #e23e4c;
}

.xn-sign-fp {
  float: right;
}

.alert-warning {
  color: #1f1f1f;
  background-color: #fff1f5;
  border-color: #ffcad9;
  letter-spacing: 0.5px;
}

.xn-topup {
  padding-top: 70px;
  width: 100%;
  max-width: 500px;
  margin-top: 60px;
  min-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.heading {
  margin-bottom: 20px;
}

section.section-main.profile {
  padding-top: 70px;
  margin-top: 60px;
}

.section-main.profile,
.section-main.xn-tup {
  min-height: calc(100vh - 245px);
}

.section-main.xn-orderhis {
  min-height: calc(100vh - 150px);
}

section.section-main.profile .heading {
  text-align: center;
}

.page-item.active .page-link {
  background-color: #fc4554;
  border-color: #fc4554;
}

.page-link {
  color: #fc4554;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: none;
  border: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  border: none;
}

.page-link:hover {
  color: #fc4554;
}

section.section-main.xn-orderhis {
  padding-top: 70px;
}

section.section-main.xn-orderhis .heading {
  margin-top: 60px;
}

.bread-nav {
  display: none;
  margin-left: auto;
  font-size: 30px;
  color: #fc4554;
  cursor: pointer;
}

.mbnav {
  background: #ffffff;
  width: calc(100% - 80px);
  position: absolute;
  overflow: hidden;
  box-shadow: 0 10px 40px #0000002b;
  top: 80px;
  border-radius: 5px;
  user-select: none;
  display: none;
  flex-direction: column;
}

.mbnav a {
  color: #2f2f2f;
  width: 100%;
  font-weight: 500;
  text-align: center;
  padding: 13px;
  font-size: 16px;
  display: flex;
  border-bottom: 1px solid #0000000d;
  justify-content: center;
}

.mbnav a:last-child {
  border-bottom: none;
}

@media screen and (max-width: 1000px) {
  .header-container {
    width: 100%;
  }

  header:before {
    display: none;
  }

  .feature {
    grid-template-columns: 1fr;
  }

  .footer-in {
    flex-direction: column;
  }

  .footer-m {
    margin: 10px 0;
  }

  .header-btns {
    width: 100%;
  }

  .header-btp {
    width: 100%;
    text-align: center;
  }

  .header-btp:last-child {
    margin: 0;
  }

  .header-title {
    font-size: 3em;
  }

  .product-cont {
    grid-template-columns: 1fr;
  }

  .faq {
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .bread-nav {
    display: block;
  }

  .navbar-m {
    display: none;
  }

  .navbar-r {
    margin-left: auto;
  }

  .navbar-in {
    display: flex;
  }

  .navbar-link-c {
    display: none;
  }
}

.kbank-box {
  color: #fff;
  background: #4e2f88;
  min-height: 60px;
  border-radius: 3px;
  padding: 15px;
  margin-bottom: 10px;
  overflow: hidden;
}
