

:root{
  --white: #fff;
  --black: #000;
  --default:#2B2B2B; 
  --primary: #957A67;


  --filter-white: invert(100%) sepia(100%) saturate(0%) hue-rotate(299deg) brightness(102%) contrast(102%);


  
  --head1: 60px;
  --head2: 36px;

  --subtitle: 18px;


}
@media (max-width: 991px) {
  :root {

    --head1: 50px;
    --subtitle: 16px;

  }
}






.btn-shop{ display: inline-block; font-family: "Inter", sans-serif; font-size: 18px; font-weight: 400; color: var(--primary); padding: 16px; text-align: center; border: 1px solid var(--primary); background-color: rgba(255, 255, 255, 0.05); }
.btn-shop:hover{ background-color: var(--primary); color: var(--white); }

.btn--white{ color: var(--white); border-color: var(--white); background-color: rgba(0, 0, 0, 0.05); backdrop-filter: blur(2px); padding: 16px 24px; }
.btn--white:hover{ background-color: var(--white); color: var(--primary); backdrop-filter: blur(0px); }




/**********************************************************/
/************************ home ****************************/

.divBanner{ position: relative; }

.banner-img{ width: 100%; }
.banner-img img{ object-fit: cover; object-position: center; width: 100%; height: 741px; }

.banner--title{ position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 100%; text-align: center; color: var(--white); }
.banner--title .subtitle{ font-size: 20px; line-height: 1.4; font-weight: 400; margin-bottom: 5px; }
.banner--title .title{ font-family: "Instrument Serif", serif; font-size: 60px; line-height: 1 !important; font-weight: 400; }

.banner--detail{ position: absolute; bottom: 40px; left: 0; width: 100%; text-align: center; padding: 0 24px; }
.banner--detail p{ font-size: 18px; color: var(--white); margin-bottom: 24px; }




@media (max-width: 576px){

  .banner--title .subtitle{ font-size: 18px; }
  .banner--title .title{ font-size: 54px; }
  .banner--detail p{ font-size: 14px; }

}




.divhome-highlight{ position: relative; }
.highlight-detail1{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: space-between; align-items: center; color: var(--white); text-align: center; padding: 40px 24px; }
.highlight-detail1 .subtitle{ font-size: 20px; }
.highlight-detail1 .title{ font-family: "Instrument Serif", serif; font-size: 40px; letter-spacing: 2px; margin-bottom: 8px; }

.highlight-imgbig1{ width: 100%; margin-bottom: 40px; }
.highlight-imgbig1 img{ object-fit: cover; object-position: left; width: 100%; height: 600px; }



@media (max-width: 767px){

  .divhome-highlight{ padding-left: 24px; padding-right: 24px; }
  .highlight-detail1 .title{ font-size: 36px; }

}



.card--img{ margin-bottom: 16px; overflow: hidden; }
.card--img img{ object-fit: cover; object-position: left; width: 100%; aspect-ratio: 2/3; }

.card--detail{ display: flex; flex-direction: column; gap: 8px; }
.card--detail .catagory{ font-size: 14px; line-height: 1.3; font-weight: 400; color: #A0A0AD;}
.card--detail .title{ font-size: 18px; line-height: 1.3; font-weight: 400; }

.card--botoom{ display: flex; justify-content: space-between; }
.card--botoom .prices{ font-size: 16px; line-height: 1.3; font-weight: 400; color: var(--primary); }




.section-ourpick{ padding: 120px 0 50px; }
.ourpick, .ourpick .container{ position: relative; }
.img-vector{ position: absolute; top: -60px; left: 0; }
.ourpick-title{ font-family: "Instrument Serif", serif; font-size: 36px; line-height: 1.3; font-weight: 400; text-transform: uppercase; text-align: center; padding-top: 30px; margin-bottom: 40px; }
.stay-cool{ position: absolute; top: 0; right: 0; }
.stay-cool img{ width: 210px; }


.home-categories{ padding: 50px 0; }
.categories-tilte{ display: flex; justify-content: space-between; }
.categories-tilte .title{ font-family: "Inter", sans-serif; font-size: 24px; line-height: 1.3; font-weight: 500; text-transform: uppercase; }
.categories-tilte .subtitle{ font-size: 14px; line-height: 1.3; font-weight: 400; text-align: right; width: 180px; }


@media (max-width: 991px){

  .home-categories{ padding: 50px 0; }
  .img-vector img{ width: 160px; }

}
@media (max-width: 767px){

  .home-categories{ padding: 30px 0; }

  .section-ourpick{ padding: 70px 0 50px; }
  .ourpick-title{ margin-bottom: 10px; }
  .stay-cool{ position: relative; text-align: center; margin-bottom: 36px; }
  .img-vector{ left: -20px; top: -30px; }
  .img-vector img{ width: 84px; }

  .categories-tilte{ padding-left: 24px; padding-right: 24px; }
  .categories-tilte .title{ font-size: 20px; }
  .categories-tilte .subtitle{ font-size: 12px; }

}



.highlight-categories{ display: flex; flex-flow: row wrap; margin-top: 40px; }
.categories-left{ width: 45%; }
.categories-right{ width: 55%; position: relative; }
.categories-img{ height: 628px; }
.categories-img img{ width: 100%; height: 100%; object-fit: cover; object-position: top; }
.categories--content{ position: absolute; top: 0; left: 0; width: 100%; padding: 36px 40px; z-index: 9; }
.categories--content .title{ font-family: "Instrument Serif", serif; font-size: 120px; line-height: 1.1; letter-spacing: 2px; font-weight: 400; color: #EFEDD4; text-transform: uppercase; }
.categories-list{ margin-bottom: 20px; }
.categories-list ul{ margin-bottom: 0; }
.categories-list ul li{ display: inline-block; margin-bottom: 0; }
.categories-list ul li::after{ content: ''; position: relative; top: 3px; margin: 0 10px; background-color: #EFEDD4; width: 1px; height: 16px; display: inline-block; }
.categories-list ul li:last-child::after{ display: none; }
.categories-list ul li a{ font-size: 14px; line-height: 1.4; font-weight: 400; color: #EFEDD4; }
.categories-list ul li a:hover{ text-decoration: underline; }



@media (max-width: 1199px){

  .categories--content .title{ font-size: 80px; }

}
@media (max-width: 991px){

  .categories-img{ height: 428px; }
  .categories--content{ padding: 30px; }
  .categories--content .title{ font-size: 60px; }
  .categories-list{ margin-bottom: 12px; }

}
@media (max-width: 576px){

  .categories-img{ height: 300px; }
  .categories-bar{ display: none; }
  .categories-left,
  .categories-right{ width: 100%; }
  .categories--content{ padding: 24px; }

}



.categories-slide{ position: relative; margin-top: -160px; margin-left: 36px; margin-right: 36px; }
/* .categories-slide .swiper-wrapper{ justify-content: center; } */
.categories-slide .swiper-wrapper .swiper-slide .product-small.box{ background-color: #fff; padding: 8px; }
/* .categories-slide .swiper-wrapper .swiper-slide:first-child .product-small.box{ padding-left: 16px; } */
/* .categories-slide .swiper-wrapper .swiper-slide:last-child .product-small.box{ padding-right: 8px; } */
.categories-slide .swiper-wrapper .swiper-slide .product-small.box .box-text{ padding-bottom: 0; }


@media (max-width: 991px){

  .categories-slide{ margin-top: -100px; margin-left: 0; margin-right: 0; }

}
@media (max-width: 767px){

  .categories-slide{ margin-top: 0; }
  /* .categories-slide .swiper-wrapper{ justify-content: unset; } */

}


/* กำหนดความกว้างของสไลด์เมื่อใช้ slidesPerView: 'auto' */
.categories-slide .swiper-container .swiper-slide {
  width: 25%; /* กำหนดให้แสดงได้ 4 กล่องต่อแถวโดยประมาณ */
}

/* Default: จัดกลาง swiper-wrapper */
.categories-slide .swiper-wrapper {
  justify-content: center;
}

/* เมื่อ container มี class 'has-overflow' (คือต้องสไลด์ได้) ให้ยกเลิกการจัดกลาง */
.categories-slide .swiper-container.has-overflow .swiper-wrapper {
  justify-content: normal; 
}

.categories-slide .badge-container {
  margin-left: 18px !important;
  margin-top: 20px !important;
}

.categories-btn .btn--white{ padding: 12px 24px; }


/**********************************************************/
/********************* swiper slide product ****************/

/* กำหนดให้ swiper-slide มี width ที่ถูกต้อง */
.slide--product .swiper-slide,
.slide--ourpick .swiper-slide {
  width: auto;
  flex-shrink: 0;
}

/* ตรวจสอบ container ไม่ให้มี overflow ที่จำกัด */
.slide--product,
.slide--ourpick {
  overflow: visible;
}

/* กำหนดให้ container สามารถ slide ได้ */
.slide--product .swiper-wrapper,
.slide--ourpick .swiper-wrapper {
  display: flex;
}


.slide--ourpick .col{ padding: 0; }



/* section banner */
.build-secction-banner .banner--title{ width: 90% !important; }
.build-secction-banner .banner--detail{ position: absolute !important; top: auto; bottom: -31px; width: 90% !important; }
.build-secction-banner .banner--title p{ margin: 0; }

.build-home-section-2{ margin-left: 5px; margin-right: 5px; }
.build-home-section-2 .subtitle{ position: absolute !important; top: 40px; width: 90% !important; }
.build-home-section-2 .highlight-bottom{ position: absolute !important; top: auto; bottom: -31px; width: 90% !important; }
.build-home-section-2 .highlight-bottom p{ margin: 0; }

.banner--btn{ display: inline-block; font-family: "Inter", sans-serif; font-size: 18px; font-weight: 400; text-align: center; border: 1px solid #fff; color: #fff; border-color: #fff; background-color: rgba(0, 0, 0, 0.05); backdrop-filter: blur(2px); padding: 16px 24px; }
.banner--btn:hover{ background-color: #fff; color: #2B2B2B !important; backdrop-filter: blur(0px); }

.banner-layer .button.is-outline{ font-family: "Inter", sans-serif; font-size: 18px; line-height: 1.8; font-weight: 400; border: 1px solid #fff; }


.wishlist-popup{ display: none; }


@media (max-width: 576px){

.build-secction-banner .banner--detail,
.build-home-section-2 .highlight-bottom{ bottom: 31px; transform: translate(-50%, 0) !important; }

}


