@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');
@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;
}

body{
  font-family: "Bayon", sans-serif;
  /* font-family: "Poppins", sans-serif; */
  background-color: #FEF8EA;
}


img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.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 #66676C;
}
.text{
  width: 120px;
}

.icon{
  display: flex;
}

.icon-text{
  width: 22px;
  height: 22px;
  border-radius: 50%;
  line-height: 22px;
  background-color: aqua;
  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: black;
  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.03s;
}

.languag .lang .lang-item .lang-link .lang-span {
  margin-left: 5px;
}

.languag .lang .languag-dropdown {
  width: 80px;
  border-radius: 6px;
  background-color: #FFFFFF;
  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 #66676C;
  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 #66676C;
  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 #66676C;
  border-radius: 6px;
}
.head .head-item .head-link:hover span{
  background-color: #66676C;
  color: white;
  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 #FFFFFF;
  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: #FFFFFF;
  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: white;
}

/* 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;
}


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

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

.col-6{
  width: 50%;
}

.col-4{
  width: 33.33%;
}

.col-8{
  width: 66.66%;
}

.media{
  margin: 20px 0;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  overflow: hidden;
  width: 100%;
  height: 600px;
  background-color: #fff;
  display: flex;
}

.media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-content{
  padding: 20px;
  margin: 20px;
  /* border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
  transition: transform 0.3s ease;
  overflow: hidden;
  width: 100%;
  height: 600px;
  /* background-color: #F5F5F5; */
  font-family: "Poppins", sans-serif;

}

.book-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Bayon", sans-serif;
}

.book-header h3{
  font-size: 1.8rem;
  font-weight: 400;
}

/* .rating{
  display: flex;
  align-items: center;
} */

.book-rating{
  display: flex;
  align-items: center;
}

.book-rating i{
  color: gold;
  margin-right: 3px;
}

.book-rating h6{
  font-size: 1.2rem;
  font-weight: 400;
  margin-left: 10px;
}

.book-detail{
  display: flex;
  justify-content: space-between;
  font-family: "Bayon", sans-serif;
}

.book-info{
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.book-info li{
  list-style: none;
  margin-right: 10px;
  font-size: 18px;
}

.writer-info{
  display: flex;
  align-items: center;
}

.writer-info img{
  width: 60px;
  height: 60px;
  border-radius: 6px;
  margin-right: 10px;
  object-fit: cover;
  object-position: center;
}

.writer-name{
  font-size: 18px;
  font-weight: 400;
}

.book-info li span{
  font-size: 14px;
  font-weight: 400;
  color: #222222;
  display: block;
}

.text1{
  font-size: 1.2rem;
  font-weight: 400;
  margin: 20px 0;
  font-family: "Bayon", sans-serif;
}

.text2{
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 20px;
  font-family: "Bayon", sans-serif;
}

.book-footer{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  /* background-color: red; */
}

.price{
  font-size: 1.2rem;
  font-weight: 400;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Bayon", sans-serif;
}

.price h5{
  font-size: 30px;
  font-weight: 400;
  /* color: #6C5DD4; */
  margin-right: 10px;
}

.price p{
  font-size: 18px;
  font-weight: 400;
  color: #020401;
  text-decoration: line-through;
}

.product-num{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;;
}

.product-quantity-input input {
  /* width: 80px;
  height: 30px; */
  /* border: 1px solid #e9ecef;
  background-color: #0079bf;
  padding: 0 5px; */
  border: 1px solid #66676C;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  color: #020401;
  border-radius: 5px;
}
.qty-count {
  /* width: 30px;
  height: 30px;
  border: 1px solid #e9ecef;
  background-color: #0079bf;
  padding: 0 5px;
  border-radius: 4px; */
  border: 1px solid #66676C;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  color: #020401;
  border-radius: 5px;
  /* margin: 0 5px; */
}

.quantity-block{
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-add{
  font-family: "Bayon", sans-serif;
  margin-right: 10px;
  margin-bottom: 10px;
}

.wishList{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.detail-product{
  font-family: "Poppins", sans-serif;
}

.col-12{
  width: 100%;
}

.product-description{
  transition: transform 0.3s ease;
  overflow: hidden;
  width: 100%;
}

.nav{
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  margin-bottom: 20px;
}

.nav li{
  margin-right: 20px;
  font-family: "Bayon", sans-serif;
}

.nav-detail{
  border-bottom: 1px solid #66676C;
  padding-bottom: 2px;
  margin-bottom: 2px;

}

.nav li a{
  text-decoration: none;
  color: #020401;
  font-size: 18px;
  font-weight: 400;
}


.nav li a:hover{
  color: #020401;
  font-size: 18px;
  font-weight: 400;
  transition: 0.2s ease;
  border-bottom: 2px solid #66676C;
  cursor: pointer;
  padding-bottom: 2px;
  margin-bottom: 2px;
}

.table{
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ccc;
  /* margin-bottom: 20px; */
  font-family: "Poppins", sans-serif;
  font-family: "Bayon", sans-serif;
}

.table th{
  width: 20%;
  padding: 20px;
}

.table th,.table td{
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
}

.table tbody tr:nth-child(even){
  background-color: #f2f2f2;
}

.table tbody tr:nth-child(odd){
  background-color: #fff;
}

.table tbody tr:hover{
  background-color: #f5f5f5;
}

.related-books{
  margin: 20px 0;
  padding: 20px;
}


.widget-title{
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #020401;
  margin-bottom: 20px;
  position: relative;
}

.widget-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10px; 
  width: 3px; 
  height: 100%; 
  background-color: #66676C ; 
}

.card {
  border-radius: 10px;
  display: flex;
}

.card-media{
  width: 110px;
  height: 160px;
  border-radius: 7px;
}

.card-media img{
  border-radius: 7px;
}


.card-content{
  text-align: left;
  margin-left: 20px;
  /* background-color: red; */
}

.card-subtitle{
  margin-top: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: black;
}

.card-tag{
  display: flex;
  align-items: center;
  /* margin-top: 10px; */
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  /* color: #6C5DD4; */
}

.price-related{
  display: flex;
  align-items: center;
}

.price-related h5{
  font-size: 18px;
  font-weight: 400;
  margin-right: 10px;
}

.price-related p{
  font-size: 14px;
  font-weight: 400;
  color: #020401;
  text-decoration: line-through;
}

.btn{
  font-family: "Bayon", sans-serif;
  border: 1px solid #66676C;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 400;
  color: #020401;
  border-radius: 5px;
  transition: 0.2s ease;
  cursor: pointer;
}

.addToCart{
  margin-top: 10px;
}

.btn:hover{
  background-color: #66676C;
  color: #fff;
  transition: 0.2s ease;
}

/* swiper */
.swiper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center; 
  align-items: center; 
}

.swiper-slide {
  text-align: center;
  max-width: 400px; 
  margin: 0 auto; 
}

.swiper-pagination {
  bottom: -10px !important;
}

 /* .swiper-slide img {
  max-width: 100%;
  height: auto;
}    */


.ourNewSletter{
  background-image: url(../images/newsletter-background.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  z-index: 1;
  margin: 20px 0;
}
.swiper-button-next{
  color: #64656A !important;

}

.swiper-button-prev{
  color: #64656A !important;
}
.subcribe-inner{
  padding: 70px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.subcribe-content h3{
  font-family: "Poppins", sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: #020401;
  margin: 10px 0;
}

.subscribe-form{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.subscribe-form form{
  display: flex;

}


.subscribe-form input{
  width: 400px;
  height: 50px;
  border: 1px solid #020401;
  border-radius: 5px;
  padding: 0 10px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #020401;
  outline: none;
}

.subscribe-form button{
  height: 50px;
  border: 1px solid #66676C;
  border-radius: 5px;
  padding: 0 10px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #020401;
  background-color: #fff;
  transition: 0.2s ease;
  cursor: pointer;
  margin-left: 10px;
}

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

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

ul{
  list-style-type: none;
}

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

footer a:hover{
  color:black;
}

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

.row{
  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;
}

.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 #66676C;
  border-radius: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
  transition: all 0.4s ease;
}

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

.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 #66676C;
}

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

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

.col-12{
  width: 100%;
}
































