
/* ================= HERO ================= */

.hero-banner{
  position:relative;
  width:100%;
  height:550px;
  overflow:hidden;
  margin-bottom:28px;
}

.hero-img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  display:block;
}

.hero-banner::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
}

.hero-content{
  position:absolute;
  left:8%;
  top:50%;
  transform:translateY(-50%);
  color:#934f12;
  max-width:500px;
  z-index:2;
}

.hero-content h1{
  font-family:'Playfair Display', serif;
  font-size:64px;
  font-weight:600;
  margin-bottom:10px;
}

.hero-content h3{
  font-family:'Playfair Display', serif;
  font-size:28px;
  font-weight:500;
  margin-bottom:10px;
}

.hero-content p{
  font-size:20px;
  color:#8a5104;
  margin-bottom:20px;
}

.divider{
  display:flex;
  align-items:center;
  gap:10px;
  margin:15px 0;
}

.divider span{
  flex:1;
  height:1px;
  background:#c7a17a;
}

.divider i{
  color:#c7a17a;
}

.btn-hero{
  margin-top:20px;
  background:#a06b3b;
  color:#fff;
  padding:12px 28px;
  border-radius:30px;
  text-decoration:none;
  display:inline-block;
  font-weight:500;
  transition:.25s ease;
}

.btn-hero:hover{
  background:#8b5a34;
}

/* ================= BRAND STRIP ================= */

.brand-strip{
  position:relative;
  height:350px;
  border-radius:20px;
  margin:28px auto;
  max-width:92%;
  overflow:hidden;
  transition:transform .4s ease;
  box-shadow:0 20px 40px rgba(0,0,0,.15);
}

@media(max-width:768px){

    .brand-strip{

        height:200px;

        max-width:95%;

        border-radius:16px;
    }

    .brand-content{

        width:90%;
    }

    .brand-content h2{

        font-size:24px;
    }

    .brand-content p{

        font-size:12px;

        line-height:1.5;
    }

    .brand-divider span{

        width:40px;
    }
}

.bg-slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transition:opacity 1s ease-in-out;
  z-index:0;
}

.bg-slide.active{
  opacity:1;
}

.brand-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
  z-index:1;
}

.brand-content{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  text-align:center;
  color:#fff;
  max-width:500px;
  z-index:2;
}

.brand-divider{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  margin:15px 0;
}

.brand-divider span{
  width:60px;
  height:1px;
  background:rgba(255,255,255,.6);
}

.brand-divider i{
  color:#d4a373;
}

.brand-strip:hover{
  transform:scale(1.01);
}

.brand-content h2{
  font-size:48px;
  font-weight:600;
  letter-spacing:1px;
  font-family:'Playfair Display', serif;
}

.brand-content p{
  font-size:17px;
  line-height:1.6;
  color:#f1f1f1;
}

@media(max-width:768px){

    .home-video-section{

        width:95%;

        height:220px;

        border-radius:18px;
    }

    .video-content{

        left:20px;

        right:20px;

        max-width:260px;
    }

    .video-content span{

        padding:6px 12px;

        font-size:10px;

        margin-bottom:12px;
    }

    .video-content h2{

        font-size:22px;

        margin-bottom:10px;

        line-height:1.15;
    }

    .video-content p{

        font-size:12px;

        line-height:1.4;

    }
}

/* ================= PRODUCT SECTION ================= */

.product-section{
  padding:35px 0;
  margin:20px 0;
  border-radius:20px;
}

.product-section:nth-child(odd){
  background:#fffaf5;
}

.product-section:nth-child(even){
  background:#d1cdc9cf;
}

.section-flex{
  display:flex;
  gap:14px;
  align-items:center;
}

/* LEFT PANEL */

.section-left{
  min-width:240px;
  background:linear-gradient(135deg,#7B4F2C,#a06b3b);
  color:#fff;
  padding:25px;
  border-radius:20px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:relative;
}

.section-left h3{
  font-size:24px;
  margin-bottom:10px;
}



.section-left p{
  font-size:14px;
  margin-bottom:20px;
}

@media(max-width:480px){

    .section-left{

        padding:18px;
    }

    .section-left h3{

        font-size:20px;
    }

    .section-left p{

        font-size:13px;
    }

}

.btn-view{
  background:#fff;
  color:#7B4F2C;
  padding:10px 14px;
  border-radius:10px;
  text-decoration:none;
  width:fit-content;
}

.best-bg{
  background:url('../images/best-bg.jpg') center/cover no-repeat;
}

.popular-bg{
  background:url('../images/popular-bg.jpg') center/cover no-repeat;
}

.new-bg{
  background:url('../images/new-bg.jpg') center/cover no-repeat;
}

/* RIGHT */

.section-right{
  flex:1;
  position:relative;
  overflow:hidden;
}

.section-divider-vertical{
  width:2px;
  height:220px;
  background:linear-gradient(
    to bottom,
    transparent,
    rgba(0,0,0,.15),
    rgba(0,0,0,.15),
    transparent
  );
  margin:0 20px;
  border-radius:10px;
}

/* ================= SLIDER ================= */

.product-slider{
  display:flex;
  gap:18px;
  overflow-x:auto;
  scroll-behavior:smooth;
  padding:14px 6px 20px;
  scrollbar-width:none;
}

.product-slider::-webkit-scrollbar{
  display:none;
}


/* ================= SCROLL BUTTON ================= */

.scroll-btn{
  position:absolute;
  top:45%;
  transform:translateY(-50%);
  background:rgba(255,255,255,.92);
  border:none;
  width:40px;
  height:60px;
  cursor:pointer;
  border-radius:12px;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}

.scroll-btn.left{
  left:-10px;
  z-index:10;
}

.scroll-btn.right{
  right:-10px;
  z-index:10;
}

@media(max-width:768px){

    .scroll-btn{

        display:none;
    }

}

/* ================= DIVIDER ================= */

.section-divider{
  text-align:center;
  margin:14px 0;
  position:relative;
}

.section-divider::before{
  content:"";
  height:1px;
  background:#d8c7b3;
  position:absolute;
  left:0;
  right:0;
  top:50%;
}

.section-divider span{
  background:#f5efe8;
  padding:0 12px;
  color:#7B4F2C;
}

/* ================= RANDOM VIDEO ================= */

.home-video-section{
  position:relative;
  width:92%;
  height:360px;
  margin:28px auto;
  border-radius:28px;
  overflow:hidden;
  background:#000;
  box-shadow:
  0 24px 50px rgba(0,0,0,.14);
}

.home-product-video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform:scale(1.02);
}

.video-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    to right,
    rgba(0,0,0,.58),
    rgba(0,0,0,.18)
  );
  z-index:1;
}

.video-content{
  position:absolute;
  left:7%;
  top:50%;
  transform:translateY(-50%);
  z-index:2;
  color:#fff;
  max-width:520px;
}

.video-content span{
  display:inline-block;
  padding:10px 18px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  backdrop-filter:blur(10px);
  font-size:12px;
  letter-spacing:1px;
  text-transform:uppercase;
  margin-bottom:24px;
}

.video-content h2{
  font-size:62px;
  line-height:1.08;
  margin-bottom:18px;
  font-family:'Playfair Display', serif;
}

.video-content p{
  font-size:18px;
  line-height:1.8;
  color:#f2ebe4;
}

/* ================= PREVIEW MODAL ================= */

.product-preview-modal{
  position:fixed;
  width:420px;
  height:420px;
  border-radius:28px;
  overflow:hidden;
  background:#fff;
  box-shadow:
  0 30px 70px rgba(0,0,0,.22);
  opacity:0;
  visibility:hidden;
  transition:.22s ease;
  z-index:9999;
  transform:
  translateY(18px)
  scale(.96);
}

.product-preview-modal.active{
  opacity:1;
  visibility:visible;
  transform:
  translateY(0)
  scale(1);
}

.preview-image,
.preview-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition:
  opacity .22s ease,
  transform .25s ease;
}

.preview-image.active,
.preview-video.active{
  opacity:1;
  z-index:2;
}

/* ================= FOOTER ================= */

footer{
  background:#2F2F2F;
  color:#fff;
  text-align:center;
  padding:20px;
}

/* ================= RESPONSIVE ================= */

@media(max-width:991px){

  .product-preview-modal{
    display:none;
  }

  .section-flex{
    flex-direction:column;
  }

  .section-divider-vertical{
    display:none;
  }

  .section-left{
    width:100%;
    min-width:100%;
  }
}

@media(max-width:768px){

    .product-section{

        padding:20px 0;
    }

    .section-left{

        border-radius:16px;

        text-align:center;

        padding:20px;
    }

    .btn-view{

        margin:auto;
    }

    .product-slider{

        padding:12px 4px 18px;
    }
}

@media(max-width:768px){

  .hero-banner{

    height:420px;
  }

  .hero-img{

    object-position:center center;
  }

  .hero-content{

    left:20px;

    right:20px;

    max-width:260px;
  }

  .hero-content h1{

    font-size:34px;

    line-height:1.1;

    margin-bottom:8px;
  }

  .hero-content h3{

    font-size:18px;

    margin-bottom:8px;
  }

  .hero-content p{

    font-size:14px;

    line-height:1.5;

    margin-bottom:14px;
  }

  .divider{

    margin:10px 0;
  }

  .btn-hero{

    padding:10px 22px;

    font-size:14px;
  }
}

@media(max-width:768px){

    .brand-strip,
    .home-video-section{

        width:92%;
    }
}

@media(max-width:480px){

    .product-slider{

        gap:12px;

        padding:10px 4px 16px;
    }

}

@media(max-width:480px){

    .section-left{

        border-radius:14px;

        padding:16px;
    }

    .section-left h3{

        font-size:22px;
    }

    .section-left p{

        font-size:12px;

        margin-bottom:12px;
    }

    .btn-view{

        padding:8px 12px;

        font-size:12px;
    }

}

@media(max-width:480px){

    .product-section{

        padding:16px 0;

        margin:10px 0;
    }

    .section-flex{

        gap:10px;
    }

}

@media(max-width:480px){

    .section-divider{

        margin:8px 0;
    }

    .section-divider span{

        padding:0 8px;

        font-size:12px;
    }

}

@media(max-width:768px){

    .product-slider{

        scroll-snap-type:x mandatory;
    }

}

@media(max-width:768px){

    .product-slider{

        overflow-x:auto !important;

        display:flex !important;

        flex-wrap:nowrap !important;

        -webkit-overflow-scrolling:touch;

        scroll-snap-type:x mandatory;
    }

}


@media(max-width: 480px){
    .product-slider {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 8px !important; 
        margin-left: 0 !important;
        margin-right: 0 !important;
        
       
        padding-left: 12px !important;
        padding-right: 12px !important;
        
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch;
    }

    .product-slider::after {
        content: "";
        flex: 0 0 12px !important;
        min-width: 12px !important;
    }
}

/* =========================================
   FIX FOR UNBALANCED SLIDER (LEFT/RIGHT)
========================================= */
@media(max-width: 912px){
    
    
    .section-right {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow: hidden !important;
        display: block !important;
    }

    
    .product-slider {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        
        
        gap: 10px !important; 
        
        
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        
        
        padding-left: 16px !important;
        padding-right: 16px !important;
        
       
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch;
    }

    
    .product-slider::after {
        content: "";
        flex: 0 0 16px !important;
        min-width: 16px !important;
        display: block !important;
    }
}