@import url("https://fonts.googleapis.com/css?family=Roboto+Mono|Roboto+Slab|Roboto:300,400,500,700,900");
@import url("https://fonts.googleapis.com/css2?family=Battambang:wght@100;300;400;700;900&family=Koulen&display=swap");

/* basic reset */

*::after *::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

.d-flex {
  display: flex;
  align-items: center;
}

.container {
  max-width: 114rem;
  margin: 0 auto;
  padding: 0 3rem;
}

/* header {
    background: #199892;
    padding: 20px 0;
    margin-top: 1rem;
} */

.logo {
  margin-left: -88px;
  margin-right: 10px;
}

.header-content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 50px;
  width: 100%;
}

header {
  /* width: 1520px; */
  background: #199892;
  padding: 30px 0;
  margin-top: 1rem;
  .header-content {
    width: 100%;
    margin: 0 auto;
    /* width: 95%; */
    .languages {
      color: #fff;
      font-size: 23px;
      /* margin: 0 70px;
      margin-top: 10px; */
      width: 1310px;
      display: flex;
      justify-content: end;
      align-items: center;
      margin: 0 auto;
    }
  }
}

.languages span {
  margin-left: 15px;
  font-weight: bold;
}

.img_eng {
  margin-right: -10px;
}

.img_kh {
  margin-right: -10px;
}

/* nav */
nav {
  width: 1310px;
  background: #199892;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* width: 90%; */
  /* margin-left: 5%; */
  margin: 0 auto;
  height: 80px;
}

.navbar {
  width: 1380px;
  margin: 0 auto;
  ul {
    /* width: 80%; */
    margin: 0 auto;
    list-style: none;
    display: flex;
    justify-content: space-around;
    padding-left: 0;
    font-size: 18px;
    color: #fff;
  }
}

/* dropdown menu*/
nav .dropdown-submenu .dd_menu {
  display: block;
  visibility: hidden;
  opacity: 0;
  width: 200px;
  height: 120px;
  background: #fff;
  margin-left: 19rem;
  margin-top: -3rem;
  position: absolute;
}

.dropdown-submenu:hover > .dd_menu {
  visibility: visible;
  opacity: 1;
}

nav .dd_menu > li {
  display: block;
  padding: 0px 22px;
  clear: both;
  color: #333;
  height: 25px;
  line-height: 0px;
  cursor: pointer;
  /* margin-left: 10rem;
    margin-bottom: 2rem; */
}

/* nav .dd_menu a{
    margin-left: -7rem;
} */

ul .fa-chevron-down {
  transform: rotate(0deg);
  transition: all 0.6s;
  color: yellow;
  font-size: 15px;
  cursor: pointer;
  margin-left: -35px;
  &.active {
    transform: rotate(180deg);
  }
}

nav .dropdownList {
  display: none ;
  position: absolute;
  background: #fff;
  margin-top: 5rem;
  margin-left: -13rem;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  margin-right: 990px;
}

.navbar .dropdownList .dropdown-submenu a {
  color: #141313;
  position: relative;
  /* top: 6px; */
  line-height: 30px;
  text-decoration: none;
  margin-left: 25px;
}

.navbar .dropdownList .dropdown-submenu li a {
  color: #141313;
  font-size: 15px;
  margin-left: -60px;
  text-wrap: nowrap;
  line-height: 0;
  margin-left: 1px;
}

.dropdown-submenu .fa-chevron-right {
  font-size: 15px;
  color: #e2d3d3;
  position: relative;
  margin-left: 6rem;
  top: 7px;
}
.btn-dd-menu {
  cursor: pointer;
}

/* img slider */
.slider-container {
  position: relative;
  margin: 0 auto;
  width: 1310px;
  overflow: hidden;
  top: 10px;
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  /* height: 100%; */
}

.slider-container.slide img {
  width: 190px;
  height: 100px;
  left: 0;
  top: 0;
  /* background-size: cover; */
  background-color: #fff;
  padding: 5px;
  object-fit: cover;
}

button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

/* Product Detail  */

.pro-body {
  width: 1310px;
  margin: 0 auto;

  .breadcrumb {
    padding: 0;
    list-style: none;
    display: flex;
  }

  .breadcrumb li {
    font-weight: 600;
    font-size: 16px;
  }

  .breadcrumb li a {
    text-decoration: none;
    color: #707578;
  }
}

.pro-detail {
  display: flex;
  align-items: center;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  padding: 50px 30px;
  .detail-left {
    width: 40%;
    text-align: center;

    img {
      width: 100%;
      height: unset;
      object-fit: contain;
      max-height: 500px;
      min-height: 500px;
    }
  }
  .detail-right {
    margin-left: 5%;
    width: 55%;

    h5 {
      margin: 0;
      padding: 0;
      font-size: 16px;
      color: #43489f;
    }

    h3 {
      margin: 10px 0;
      font-size: 25px;
      font-weight: 600;
    }

    .kh-txt {
      font-size: 35px;
      font-family: "Battambang", serif;
      /* letter-spacing: 1px; */
      color: red !important;
      font-weight: 600;
      
    }

    .head-des {
      font-size: 14px;
      color: black;
      font-weight: 600;
      padding-top: 10px;
    }

    ul {
      font-size: 14px;
      margin: 0;
      padding: 13px;
      padding-top: 5px;
      color: #707578;
    }

    ul li {
      font-weight: 500;
      padding: 5px 0;
    }

    .show-stock {
      font-size: 12px;
      color: #707578;
      padding: 5px 7px;
      background: #e3f2d9;
      border-radius: 10px;
      font-weight: 500;
    }

    .price {
      display: flex;
      margin: 10px 0;
      h3 {
        color: #199892;
      }
      span {
        font-size: 16px;
        color: black;
      }
    }
    .media {
      display: flex;
      align-items: center;
      font-size: 16px;
      text-transform: uppercase;
      color: red;
      font-weight: 600;
      img {
        width: 50px;
      }
    }
  }
}

.head-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 2rem 0;
  h3 {
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0px;
    margin-left: 20px;
  }
  i {
    content: "";
    position: absolute;
    height: 15px;
    width: 15px;
    background: #199892;
    border-radius: 3px;
  }
  .arrow {
    display: flex;
    align-items: center;
  }
  img {
    width: 20px;
    background-color: #cacaca;
    padding: 5px;
    margin-left: 1px;
    border-radius: 5px;
  }
  .swiper-button-next,
  .swiper-button-prev {
    position: static !important;
    top: 0 !important;
    width: 20px !important;
    height: 20px !important;
    margin-top: 0 !important;
    z-index: 10;
    cursor: pointer;
    color: var(--swiper-navigation-color, var(--swiper-theme-color));
  }
}

hr.line {
  border: 1px solid #d6d6d6;
  margin-bottom: 2rem;
}

.tranding-product {
  width: 1380px;
}

.product-list {
  .pro-items {
    max-width: 250px;
    border: 2px solid #d6d6d6;
    border-radius: 5px;
    background: #f5f5f5;
    text-align: center;
    .container-img {
      margin: 15px;
      background-color: #fff;
    }
    img {
      width: 90%;
      object-fit: contain;
      max-height: 200px;
      min-height: 200px;
      padding: 10px;
    }
    .pro-info {
      background: #fff;
      border-bottom-left-radius: 5px;
      border-bottom-right-radius: 5px;

      h4 {
        font-size: 18px;
        font-weight: 600;
        margin: 0;
        padding: 10px 0;
      }
      .price {
        color: #72bb49;
        padding-top: 0;
      }
      .price span {
        font-size: 16px;
        font-weight: 600;
        text-decoration: line-through;
        padding: 0;
        color: #707578;
      }
    }
  }
}

.hot-prohuction {
  .container-img {
    margin: 15px;
    background: none !important;
  }
}

/* Feature  */
.feature {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  .feature-left,
  .feature-right {
    width: 49%;
    img {
      width: 100%;
      object-fit: contain;
      max-height: 280px;
      min-height: 280px;
    }
  }
}

/* New And EVENT */

.new-and-event {
  .gird-list {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    column-gap: 2rem;
    img {
      width: 100%;
      min-height: 250px;
      object-fit: cover;
      border-radius: 10px;
    }
    h4 {
      font-size: 18px;
      margin: 10px 0;
      letter-spacing: 0.5px;
      text-transform: uppercase;
    }
    p {
      font-size: 14px;
      color: #707070;
      letter-spacing: 0.5px;
    }
    a {
      font-size: 14px;
      color: #72bb49;
      font-weight: 500;
      text-decoration: none;
    }
  }
  .banner-news {
    margin-top: 4rem;
    img {
      width: 100%;
      object-fit: cover;
      min-height: 400px;
      max-height: 400px;
    }
  }
}

footer {
  /* width: 1520px; */
  background: #199892;
  padding: 30px 0;
  margin-top: 4rem;
  .footer {
    width: 1380px;
    margin: 0 auto;
    ul {
      width: 80%;
      margin: 0 auto;
      list-style: none;
      display: flex;
      justify-content: space-around;
      padding-left: 0;
      font-size: 18px;
      color: #fff;
    }
    .description {
      width: 100%;
      text-align: center;
      h4 {
        font-size: 18px;
        color: #fff;
        font-weight: 400;
        margin-bottom: 0;
      }
      span {
        color: #ebd60d;
      }
    }
  }
}

/* responsive */

@media (min-width: 1226px) and (max-width: 1365px) {
  header {
    width: 1520px;
    .header-content {
      width: 1380px;
      margin: 0 auto;
      width: 100%;
      .languages {
        color: #fff;
        font-size: 23px;
        margin: 0 165px;
        margin-top: 10px;
      }
    }
  }

  body {
    overflow-x: scroll;
  }



  footer {
    width: 1520px;
  }

  .logo {
    margin-left: 138px;
  }

  nav {
    width: 1220px;
    margin-left: 138px;
  }

  .slider-container {
    width: 1220px;
    margin-left: 138px;
  }

  .pro-body {
    width: 1220px;
    margin-left: 140px;
  }
  nav .dropdownList {
    margin-left: -4rem;
  }
  .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0;
  }
}

@media screen and (max-width: 1225px) {
  header {
    width: 1520px;
    .header-content {
      width: 1380px;
      margin: 0 auto;
      width: 100%;
      .languages {
        color: #fff;
        font-size: 23px;
        margin: 0 165px;
        margin-top: 10px;
      }
    }
  }

  body {
    overflow-x: scroll;
  }



 
  footer {
    width: 1520px;
  }

  .logo {
    margin-left: 110px;
  }

  nav {
    width: 1220px;
    margin-left: 138px;
  }

  .slider-container {
    width: 1220px;
    margin-left: 138px;
  }

  .pro-body {
    width: 1220px;
    margin-left: 140px;
  }
  nav .dropdownList {
    margin-left: -4rem;
  }
}

@media screen and (max-width: 1225px) {
  header {
    width: 1520px;
    .header-content {
      width: 1380px;
      margin: 0 auto;
      width: 100%;
      .languages {
        color: #fff;
        font-size: 23px;
        margin: 0 165px;
        margin-top: 10px;
      }
    }
  }

  body {
    overflow-x: scroll;
  }



  footer {
    width: 1520px;
  }

  .logo {
    margin-left: 110px;
  }

  nav {
    width: 1220px;
    margin-left: 138px;
  }

  .slider-container {
    width: 1220px;
    margin-left: 138px;
  }

  .pro-body {
    width: 1220px;
    margin-left: 140px;
  }
  nav .dropdownList {
    margin-left: -4rem;
  }
}

@media screen and (max-width: 999px) {
  body {
    overflow-x: scroll;
  }

  footer {
    width: 1520px;
  }

  .logo {
    margin-left: 110px;
  }

  nav {
    width: 1220px;
    margin-left: 138px;
  }

  .slider-container {
    width: 1220px;
    margin-left: 138px;
  }

  .pro-body {
    width: 1220px;
    margin-left: 140px;
  }
  nav .dropdownList {
    margin-left: -4rem;
  }
}
