/* =========================
   Global Utility
========================= */
.section {
  overflow: hidden;
}

.mt-3per {
  margin-top: 3% !important;
}

/* =========================
   Layout Container
========================= */
@media (min-width: 1200px) {
  .highlight .container,
  #sc-brand .container-fluid {
    max-width: 1216px;
  }

  #sc-brand .brand-content {
    justify-content: flex-start;
    gap: 142px;
  }
}

.main-menu .menu-right.btn-cart {
  border-radius: 24px;
}

/* =========================
   Highlight Section
========================= */
.highlight .content-area {
  position: absolute;
  bottom: 80px;
  padding: 0;
}

.highlight .content-area .image {
  position: unset;
  max-width: 345px;
}

.highlight .content-area h1 {
  margin-top: 48px;
  font-family: 'anuphan';
    font-size: 64px;
    font-weight: 700;
    line-height: 130%;
}

.module-text {
    font-family: 'tt-supermolot';
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    font-style: italic;
}

.title-text {
    font-family: 'anuphan';
    font-size: 48px !important;
    font-weight: 700;
    line-height: 140% !important;
    color: #333;
}

#sc-brand .desc {
  font-family: 'anuphan';
    font-size: 20px;
    font-weight: 500;
    line-height: 160%;
    color: #555;
}

/* =========================
   Showcase
========================= */
#sc-showcase .sc-inner {
  overflow: hidden;
  padding: 0;
}

.flex-showcase {
  display: flex;
  gap: 9px;
  list-style: none;
  animation: scroll-marquee 30s linear infinite;
  width: max-content;
}

.flex-showcase li {
  flex-shrink: 0;
}

.flex-showcase img {
  max-height: 80px;
  display: block;
}

@keyframes scroll-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================
   Brand Section
========================= */
#sc-brand .brand-content {
  background: #fff;
  padding-bottom: 0;
}

#sc-brand-list {
  margin: 73px 0 65px 0;
}

#sc-brand-list .sc-inner {
  overflow: hidden;
  padding: 0;
}

/* Swiper Container */
.swiper {
  width: 100%;
  height: 100%;
}

.brand-swipe .swiper-slide {
  border-radius: 16px;
  overflow: hidden;
  width: 300px !important;
  height: 500px !important;
}

.brand-swipe .swiper-slide.swiper-slide-active:first-child {
  margin-left: 112px !important;
}

/* Swiper Slide Base */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 18px;
  background: #444;
  width: 60%;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Swiper Navigation */
.brand-swipe .swiper-button-next,
.brand-swipe .swiper-button-prev {
  background: #333333f2;
  width: 80px;
  height: 80px;
  color: #fff;
  border-radius: 50%;
}


.brand-swipe .swiper-button-next {right: 4% !important;}
.brand-swipe .swiper-button-prev {left: 4% !important;}

.brand-swipe .swiper-button-next svg,
.brand-swipe .swiper-button-prev svg {
  width: 26px;
  height: 12px;
}

/* Brand Flex Content */
.swiper-slide .brand-flex {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 36px 19px 20px;
  width: 100%;
  height: 100%;
  transform: translateY(40%);
  transition: transform 200ms ease-in-out;
}

.swiper-slide:hover .brand-flex {
  transform: translateY(0);
}

.brand-flex .thumb {
  max-width: 118px;
}

.brand-flex .detail {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 26px;
  padding: 16px 15px;
  width: 100%;
  background: #ffffff14;
  border-radius: 10px;
  backdrop-filter: blur(15px);
  box-shadow: inset 0 2px 4px #ffffff66;
  overflow: hidden;
}

.brand-flex .detail p:first-child {
  font-family: 'anuphan';
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  white-space: break-spaces;
  line-height: 150%;
}

.brand-flex .detail p {
  text-align: left;
}

/* Arrow Button */
.brand-flex .detail .action {
  position: relative;
  width: 40px;
  height: 40px;
  background: #ffffff33;
  border-radius: 24px;
}

.arrow-flex {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  width: 40px;
  height: 100%;
}

.arrow-top-right {
  position: relative;
  width: 16px;
  height: 2px;
  background: #fff;
  border-radius: 9999px;
  transform: rotate(315deg);
}

.arrow-top-right::before,
.arrow-top-right::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 2px;
  background: #fff;
  border-radius: 9999px;
  transform-origin: calc(100% - 1px) 50%;
}

.arrow-top-right::before { transform: rotate(45deg); }
.arrow-top-right::after { transform: rotate(-45deg); }

/* =========================
   All Brand
========================= */
.all-brand {
  background: #004DA7;
  width: 100%;
  height: 100%;
  padding: 45px;
}

.all-brand .detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  color: #fff;
  font-size: 56px;
  font-weight: 700;
  white-space: pre-line;
  text-align: center;
}

.all-brand .detail p { text-align: left; }

.all-brand .detail .action {
  width: 70px;
  height: 70px;
  background: #ffffff33;
  border-radius: 100px;
}

/* =========================
   Online Store
========================= */
#online-store .sc-inner {
  padding: 0;
}

#online-store .content {
    background: url("/assets/page/home/img/online-store-section.png") no-repeat, #ffffff;
    width: 100%;
    height: 700px;
    padding: 0 15%;
    background-size: contain;
        background-position: right 35% bottom 0;
}


@media (max-width:768px){
  #online-store .content {background-position: left 20% top 0;}
}


@media (max-width: 767px) {
    #online-store .content {
        background: url("/assets/page/home/img/online-store-section-mb.png") no-repeat, #ffffff;
        background-position: center top;
        background-repeat: no-repeat;
        height: 700px;
        padding: 0 5%;
        background-size: contain;
    }
    #online-store .store-detail {
        width: 100%;
        text-align: center;
        margin-top: 13px;
    }
}

#online-store .store-flex {
    display: flex
;
    flex-direction: row;
    gap: 2%;
    width: 100%;
    position: absolute;
    bottom: -10%;
    align-items: flex-start;
    justify-content: flex-start;
    left: 20%;
}

#online-store .store-detail {
  color: #fff;
}

#online-store .store-detail p:first-child {
  font-family: 'tt-supermolot';
  font-size: 16px;
  font-weight: 700;
}

#online-store .store-detail p:nth-child(2) {
  font-family: 'anuphan';
  font-size: 52px;
  font-weight: 700;
  line-height: 140%;
  white-space: pre-line;
}

#online-store .store-detail .store-action {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 52px;
  width: 200px;
  padding: 20px;
  border-radius: 100px;
  background: #4386D4;
  color: #fff;
}

#online-store .store-detail .store-action p {
  font-family: 'anuphan';
  font-size: 15px !important;
  font-weight: 600;
  line-height: 160%;
}

#sc-image .sc-inner {padding: 0;}

/* =========================
   Services
========================= */
#services {
  background: #252B37;
  width: 100%;
  height: 100%;
}

#services .sc-inner {
  padding: 128px 112px 32px;
}

#services .service-flex {
      display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-left: 0;
}

#services .service-flex .service-detail p:first-child {
  font-family: 'tt-supermolot';
  color: #76B3FB;
  font-size: 14px;
  font-weight: 700;
}

#services .service-flex .service-detail p:last-child {
  color: #fff;
  font-family: 'anuphan';
  font-size: 48px;
  font-weight: 700;
  line-height: 140%;
}

#services .service-flex .service-contact p:first-child {
  color: #A6A6A6;
  font-family: 'anuphan';
  font-size: 20px;
  font-weight: 500;
  line-height: 160%;
}

#services .service-flex .service-action {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 48px;
  width: 200px;
  padding: 20px;
  border-radius: 100px;
  background: #1B60B0;
  color: #fff;
  font-family: 'anuphan';
  font-size: 15px;
  font-weight: 600;
  line-height: 160%;
}

/* Service Swiper */
.service-swipe {
  margin-top: 6%;
  margin-right: -10% !important;
      margin-left: 0 !important;
    overflow: visible !important;
}

.service-swipe .swiper-slide {
  border-radius: 16px;
  overflow: hidden;
  width: 500px !important;
  height: 300px !important;
}

.service-swipe .swiper-slide:last-child {
  margin-right: 7% !important;
}

.service-swipe .swiper-slide .content {
  position: absolute;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  padding: 16px 30px;
}

.service-swipe .detail {
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  gap: 26px;
  padding: 27px 21px;
  width: 100%;
  background: #ffffff14;
  border-radius: 10px;
  backdrop-filter: blur(15px);
  box-shadow: inset 0 2px 4px #ffffff66;
}

.service-swipe .detail p:first-child {
  font-family: 'anuphan';
  font-size: 15px;
  font-weight: 600;
  line-height: 160%;
  color: #fff;
  white-space: break-spaces;
}

.service-swipe .detail p { text-align: left; }

/* =========================
   Responsive
========================= */
@media (max-width: 767px) {
  .brand-swipe { width: 100%; }

  #sc-brand .brand-content {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .brand-swipe .swiper-button-next,
  .brand-swipe .swiper-button-prev {
    width: 40px;
    height: 40px;
  }

  /* .brand-swipe .swiper-wrapper .swiper-slide.swiper-slide-active:first-child {
    margin-left: 14.7% !important;
  } */

  /* #online-store .content {
    height: 900px;
    padding: 0 5%;
    background-size: cover;
  } */

  #online-store .store-flex {
    flex-direction: column-reverse;
    position: relative;
    left: unset;
    top:2%;
  }

  /* #online-store .store-detail {
    width: 100%;
    text-align: center;
    margin-top: 50%;
  } */

  #online-store .store-detail p:nth-child(2) {
    font-size: 32px;
  }

  #services .sc-inner {
    padding: 10% 5%;
  }

  #services .service-flex {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-left: 0;
  }

  #services .service-flex .service-detail p:last-child {
    font-size: 32px;
  }


  #services .service-flex .service-contact p:first-child {font-size: 18px;}

  #services .service-flex .service-action {
    width: 100%;
  }

  .service-swipe {
    margin-right: 0 !important;
    overflow: visible !important;
  }

  .service-swipe .swiper-slide {
    width: 300px !important;
    height: 200px !important;
  }

  .service-swipe .swiper-slide .content {
    padding: 17px;
  }

  .service-swipe .detail {
    padding: 16px;
  }

  #online-store .store-detail .store-action {margin:52px auto;width: 100%;}

  .section-highlight .area-inner .content-area h1 {font-size: 40px;}


  .title-text {margin-top: 16px;font-size: 32px !important;}
}

@media (max-width: 440px) {
  .highlight .content-area .image {
    width: 80%;
  }

  .section-highlight .area-inner .content-area h1 {
    margin-top: 7%;
    padding-left: 0 !important;
  }

  .brand-swipe .swiper-slide.swiper-slide-active:first-child {
    margin-left: 0 !important;
  }
}




