@import url('https://fonts.googleapis.com/css2?family=Poppins: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/css2?family=Bayon&family=Noto+Sans+Khmer:wght@100..900&family=Poppins: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");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}


a{
  text-decoration: none;
}
hr{
  opacity: 0.5;
}
h2{
  color:#020401;
}
.p{
  color:#020401;
}

html,
body {
  font-family: "Poppins", sans-serif;
  font-family: "Bayon", sans-serif;
  background-color: #FEF8EA;
  position: relative;
  height: 100%;
}
.add{
  position: absolute;
  left: 90%;
}


ul {
  list-style-type: none;
}

ul li a {
  text-decoration: none;
}

.container {
  width: 1200px;
  margin: auto;
}

.welcome {
  display: flex;
  justify-content: space-between;
  height: 40px;
  font-size: 14px;
  line-height: 40px;
  padding: 0px 20px;
  border-bottom: 2px solid black;
}
.text{
  width: 120px;
}

.icon{
  display: flex;
}

.icon-text{
  width: 22px;
  height: 22px;
  border-radius: 50%;
  line-height: 22px;
  margin-top: 8px;
  margin-right: 5px;
}
.icon .icon-text a i{
  line-height: 22px;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}
.icon .icon-text:first-child{
  background-color: blue;
}
.icon .icon-text:nth-child(2){
  background-color: red;
}
.icon .icon-text:nth-child(3){
  background-color:#178EC9;
}
.icon .icon-text:nth-child(4){
  background: linear-gradient(
    to right,
    #833ab4,#fd1d1d,#fcb045
  );
}


.languag .lang {
  position: relative;
}
.languag .lang .lang-item {
  display: flex;
}

.languag .lang .lang-item .lang-link {
  padding: 0px 20px;
  color: #020401;
  font-weight: 500;
  border-radius: 6px;
  display: flex;
}
.languag .lang .lang-item .lang-link i{
  margin-top: 12px;
}
.languag .lang .lang-item .lang-link:hover{
  color: rgb(212, 125, 125);
  transition: 0.03;
}
.languag .lang .lang-item .lang-link .lang-span {
  margin-left: 5px;

}

.languag .lang .languag-dropdown {
  width: 80px;
  border-radius: 6px;
  background-color: #e4e3e3;
  position: absolute;
  padding: 5px 0;
  display: none;
  top: 40px;
  right: 2px;
}

.languag .lang .languag-dropdown span {
  padding-right: 20px;
}


.languag .lang .languag-dropdown .hidden {
  width: 100%;
  height: 40px;
  background-color: transparent;
  position: absolute;
  top: -30px;
}

.languag .lang .lang-item:hover .languag-dropdown {
  
  display: block;
}

/* ---- */
.header {
  display: flex;
  justify-content: space-between;
  height: 70px;
  padding-top: 15px;
}

.logo{
  width: 90px;
  margin-top: -10px;
  align-items: center;
  
}
.logo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.search {
  display: flex;
}
.search .search-item{
  width: 600px;
}
.search input[type=search] {
  padding: 9.4px;
  font-size: 12px;
  border: 1px solid #939191;
  float: left;
  width: 90%;
  font-family: "Bayon", sans-serif;
  border-radius: 10px 0px 0px 10px;
}
.search input:focus{
  outline: 0;
}
.search-item .search-link button {
  float: left;
  width: 50px;
  height: 42px;
  padding-top: 10px;
  padding-bottom: 11px;
  background: #66676C;
  color: white;
  font-size: 13px;
  border: 1px solid  #020401;;
  border-left: none;
  cursor: pointer;
  border-radius: 0px 10px 10px 0px;
}

.head {
  display: flex;
  padding-top: 10px;
}

.head .head-item {
  margin-top: -4px;
  margin-left: 20px;
}

.head .head-item .head-link span {
  font-size: 15px;
  color: #020401;
  padding: 8px 10px;
  align-items: center;
  border: 1px solid #020401;
  border-radius: 6px;
}
.head .head-item .head-link:hover span{
  background-color: #66676C;
  color: #FFFFFF;
  transition: 0.05s;
}
.head .head-item .head-link .cart {
  border: none;
}

.head .head-item .head-link .cart i {
  font-size: 27px;
  color: #020401;
}

.head .head-item .head-link .cart i:hover {
  border-bottom: 2px solid #66676C;
  transition: 0.05s;
  border-radius: 5px;
}

.navbar {
  width: 60%;
  margin: auto;
  padding: 20px 0;
  z-index: 99;
  position: relative;
}

.navbar .navbar-nav {
  display: flex;
  justify-content: space-between;
}

.navbar .navbar-nav .nav-item .nav-link{
  color: #020401;
}
.navbar .navbar-nav .nav-item .nav-link:hover{
  color: rgb(212, 125, 125);
  transition: 0.03s;
}
/* dropdown -1*/
.navbar .navbar-nav .nav-item{
  position: relative;
}
.navbar .navbar-nav .navbar-dropdown {
  width: 190px;
  border-radius: 6px;
  background-color: #F5F5F5;
  list-style-type: none;
  position: absolute;
  padding: 5px 0px;
  display: none;
  top: 40px;
}

.navbar .navbar-nav .navbar-dropdown .hidden{
  width: 100%;
  height: 40px;
  background-color: transparent;
  position: absolute;
  top: -30px;
}

.navbar .navbar-nav .navbar-dropdown .nav-item{
  padding: 7px 10px;
  border-radius: 0;
}
/* hover */
.navbar .navbar-nav .nav-item:hover .navbar-dropdown{
  display: block;
}
.navbar .navbar-nav .nav-item .navbar-dropdown:hover{
  color: rgb(206, 206, 206);
}

/* dropdown -2 */
.navbar .navbar-nav .nav-item .navbar-dropdown .nav-item .navbar-subdropdown{
  width: 190px;
  border-radius: 6px;
  background-color: #F5F5F5;
  list-style-type: none;
  position: absolute;
  padding: 10px 0;
  left: calc(100% + 15px);
  top: 0;
  display: none;
}

.navbar .navbar-nav .nav-item .navbar-dropdown .nav-item:hover .navbar-subdropdown{
  display: block;
}

.navbar .navbar-nav .nav-item .navbar-dropdown .nav-item .navbar-subdropdown .hidden{
  width: 40px;
  height: 100%;
  background-color: transparent;
  position: absolute;
  left: -30px;
}


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

.hero .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}


/* hero-bannner */
.swiper-slide .hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide .hero-content .hero-title {
  font-size: 15px;
  text-align: justify;
}

.swiper-slide .hero-title h1 {
  font-weight: 600;
  margin: 0;
  margin: 20px 0;
  color:#020401 ;
}

.swiper-slide .hero-title p {
  font-size: 15px;
  margin: 20px 0;
  color: rgb(39, 39, 39);
}

.hero-btn{
  margin: 20px 0;
}

.btn-started {
  margin-right: 10px;
  padding: 10px 40px;
  border-radius: 6px;
  border: 0;
  font-size: 17px;
  cursor: pointer;
  background-color: #66676C;
  color: white;
  font-family: "Bayon", sans-serif;

}

/* service */
.service{
  width: 100%;
  height: 150px;
  background-color:#FFFFFF;
}
.service .row {
  display: flex;
  flex-wrap: wrap;
}

.service .row .col-4{
  width: 25%;
  height: 150px;
  display: flex;
  color: #020401;
}
.service .row .col-4 .icon-service{
  width: 30px;
  height: 30px;
  line-height: 120px;
  font-size: 40px;

  margin-top: 20px;
  margin-right: 35px;
}
.service .row .col-4 .text-service{
  margin-top: 50px;
  align-items: center;
}


/* best-Seller */
.best-sellers{
  margin-top: 40px;
}
.best-title ul{
  display: flex;
  /* padding: 0 30px; */
  justify-content: space-between;

}
.best-title .see-all{
  font-size: 13px;
  line-height: 15px;
  border-bottom: 1px solid #65666B;
  color: #020401;
  margin-top: 20px;
}
.row {
  width: 92%;
  display: flex;
  flex-wrap: wrap;
  margin: auto;
}

.col-3 {
  width: 20%;
  padding: 0 8px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.card {
  border-radius: 10px;
  border: 1px solid #ddd;
  background-color: #FFFFFF;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: 0.2s;
}
.card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: 0.2s;
}

.card img {
  border-radius: 10px 10px 0 0;
  width: 100%;
  height: 202px;
  cursor: pointer;
}

.card .card-body {
  display: flex;
  justify-content: center;
  padding: 1px 0 28px 0;
  text-align: center;
}

.card .card-body .card-price-detail {
  text-align: center;
}

.card h4 {
  width: 100%;
  height: 65px;
  padding: 10px 10px ;
  font-size: 15px;
  color:#020401;
  font-family: "Bayon", sans-serif;
  letter-spacing: 0.5px;
  /* color: rgb(79, 76, 76); */
  
}

.card .card-body p {
  font-size: 17px;
  color: #020401;
  margin-bottom: 17px;
}

.card .add-to-cart {
  padding: 5px 15px;
  justify-content: center;
  align-items: center;
  font-family: "Bayon", sans-serif;
  border-radius: 5px;
  background-color: #66676C;
  color:#FFFFFF;
  
  /* font-weight: bold; */
  cursor: pointer;
  font-size: 15px;
  margin-right: 5px;
  border: none;
}
/* .card .add-to-cart:hover{
  background-color: white;
  color: rgb(218, 111, 218);
  transition: 0.2s;
} */

.card .badge {
  background-color: #000;
  color: #fff;
  padding: 3px 10px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 17px;
  right: 12px;
  top: 12px;
}

.card .star i {
  color: orange;
  margin: 10px 0;
  font-size: 17px;
  padding: 0px 1px;
  border: none;
}

/* .card .star i {
 margin-right: -5.5px;
} */

/* discount */

.free-service {
  height: 600px;
  margin-top: 40px;
  margin-bottom: -60px;
}

.intro {
  color: #020401;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
}

/*slider*/
.slider-container {
  height: 80%;
  width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
  /* background-color: #6C5DD4; */
}

.menu-slide {
  position: absolute;
  left: 0;
  z-index: 900;
  width: 100%;
  bottom: 0;
  padding: 20px;
}

.menu-slide label {
  /* cursor: pointer; */
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 100%;
}

.menu-slide label:hover {
  background: #FAC778;
}

.slide {
  width: 100%;
  height: 100%;
  position: absolute;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px; 
}
.slide .top-right{
  position: absolute;
  top: 100px;
  right: 100px;
}

[id^="slide"]:checked+.slide {
  left: 0;
  z-index: 100;
  transition: left .65s ease-out;
}

.slide-1 {
  background-color: #FFFFFF;
}

.slide-2 {
  background-color: #FFFFFF;
}

.top-left {
  position: absolute;
  top: 180px;

}
.top-left span{
  font-weight: bold;
  font-size: 30px;
  text-align: center;
  margin-left: 300px;
}
.top-left p{
  font-weight: bold;
  font-size: 20px;
  margin-left: 300px;

}
/* .top-left button{
  background-color:#64656A;
  font-family: "Poppins", sans-serif;
  font-family: "Bayon", sans-serif;
  font-size: 16px;
  color: #fff;
  margin-top: 20px;
  width: 30%;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  margin-left: 300px;
} */
/* .top-left{
  
} */
.top-right img {
  height: 330px;
  margin-bottom: 30px;
  border-radius: 10%;
  border: 1px solid white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transition: all 0.5s ease;

}

.bottone1 {
  background-color:#64656A;
  font-family: "Poppins", sans-serif;
  font-family: "Bayon", sans-serif;
  font-size: 16px;
  color: #fff;
  margin-top: 20px;
  width: 30%;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  margin-left: 300px;
}
/* .bottone1:hover {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #000000;
} */


/*  */
.type-book{
  margin-top: 40px;
}
.type-book .khmer {
  height: 200px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.type-book .khmer .row{
  width: 92%;
  display: flex;
  padding: 0px 10px;
  justify-content: space-between;  

}
.khmer .row .col-4{
  width: 32.5%;
  height: 200px;
  display: flex;
  border: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 10px 0px 0px 10px;
  background-color: #FFFFFF;

}
.khmer .row .col-4:hover{
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: 0.2s;

}

.khmer .row .col-4 .khmer-img{
  width: 50%;
  height: 100%;
}
.khmer-img img{
  width: 100%;
  height: 100%;
  border-radius: 10px 0px 0px 10px;
  object-fit: cover;
}
.khmer .row .col-4 .description{
  width: 50%;
  height: 100%;
  text-align: justify;
  margin: 18px 10px;
}
.description .des-body{
  margin-top: 4px;
  
}
.description .des-body .des-title{
  line-height: 22px;
  width: 100%;
  height: 40px;
  /* background-color: red; */
}
.description .des-price-detail{
  margin-top: 10px;
  /* background-color: blue; */
}
.des-price-detail .star i {
  color: orange;
  font-size: 14px;
  border: none;
  margin-right: -5.5px;
  
}

.description .des-cart{
  font-size: 15px;
  padding: 5px 15px;
  font-family: "Bayon", sans-serif;
  border-radius: 5px;
  background-color: #66676C;
  color:white;
  cursor: pointer;
  margin-right: 5px;
  border: none;
  margin-top: 10px;
}
.description .des-body p{
  color: #020401;
}

/* author */
.author{
  margin-top: 40px;
}
.author-title ul{
  display: flex;
  justify-content: space-between;
}
.author-title .see-all{
  font-size: 13px;
  line-height: 15px;
  border-bottom: 1px solid #64656A;
  color: #020401;
  margin-top: 20px;
}
.author .swiper{
  padding: 0 30px;
  width: 100%;
  height: 250px;
  background-color: #FFFFFF;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
.author .swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.author .swiper-slide .author-img:hover{
  /* scale: 1.1; */
  transform: scale(1.1);
  transition: 0.5;

}
/* Swiper Slide Book and Author*/

.swiper-button-prev, .swiper-button-next{
  width: 50px!important;
  height: 50px!important;
  border: 1.5px solid #64656A;
  color: rgb(75, 75, 75)!important;
  border-radius: 50%;
  /* background-color: red; */
}
.swiper-button-prev:hover, .swiper-button-next:hover{
  color: #64656A!important;
  border: 1.5px solid #020401;
}
.swiper-button-prev{
  left: -0px!important;
}
.swiper-button-next{
  right: -0px!important;
}
.swiper-button-next:after, .swiper-button-prev:after{
  font-size: 30px!important;
  font-weight: bold;
}

.author .author-img{
  width: 120px;
  height: 120px;
  border-radius: 50%;
  transition: 0.5s;
  /* overflow: hidden; */
}
.author .author-img a img{
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transition: 0.5s;
}

.author-name{
  font-size: 15px;
  font-weight: bold;
  color: #020401;

}

.discount-book{
  position: relative;

}
.discount-book span{
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  background-color: red;
  color: white;
  position: absolute;
}
.discount-slide{
  width: 100%;
}
.discount-slide a img{
  width: 100%;
  height: 100%;
}




/* footer */
footer{
  /* background-color: #6C5DD4; */
  padding: 2rem 0;
  color: #2f2f2f;
}

footer h3{
  font-size: 20px;
  font-weight: 400;
}

ul{
  list-style-type: none;
}

footer a{
  color: #2f2f2f;
  text-decoration: none;
}

footer a:hover{
  color:black;
}

.container{
  width: 1200px;
  margin: auto;
}

.row-footer{
  display: flex;
  flex-wrap: wrap;
}

.col-4{
  width: 33.3%;
}

.col-6{
  width: 50%;
}

.footer-logo{
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
}

.footer-logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50px;
}

.footer-logo span{
  font-size: 20px;
  font-weight: 600;
  /* color: #fff; */
  margin-left: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: "Bayon", sans-serif;
  font-weight: 600;
}

.footer-text{
  font-size: 14px;
  width: 90%;
  text-align: left;
}

.followUs{
  text-align: left;
  margin-top: 10px;
}

.social-link{
  display: flex;
  align-items: center;
}

.social-link a{
  text-decoration: none;
  width: 40px;
  height: 40px;
  border: 2px solid #4f4e4e;
  border-radius: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
  transition: all 0.4s ease;
}

.social-link a:hover{
  color: #020401;
  border-color: #020401;
}

.social-link i{
  font-size: 20px;
}

.mid-box{
  margin-top: 10px;
  display: flex;
  /* justify-content: space-between; */
}

.left{
  width: 48%;
}

.right{
  width: 48%;
}

.right-box{
  margin-top: 20px;
}

.footer-map{
  width: 100%;
  height: 100px;
  border-radius: 10px;
}

.footer-map iframe{
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.contact-footer1{
  margin-top: 10px;
}

.contact{
  display: flex;
  align-items: center;
}

.contact p{
  margin-left: 10px;
  font-size: 14px;
}

.contact i{
  font-size: 20px;
  margin-right: 10px;
  transition: all 0.4s ease;
  cursor: pointer;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.right-box{
  margin-top: 10px;
}

.footer-line{
  margin-top: 10px;
  margin-bottom: 10px;
  border: 1px solid rgb(0, 0, 0);
}

.copyright{
  text-align: center;
  margin-top: 20px;
}

.copyright p{
  font-size: 14px;
}

.col-12{
  width: 100%;
}






