.featured-section{
    height: 100dvh;
    display: flex;
    flex-direction: column;
}

.featured-container {
    border-radius: 5px;
    margin: 80px 200px;
}

.featured-header{
    text-align: center;
    
}

.featured-header h1{
    margin-bottom: 15px;
    font-size: 80px;
    letter-spacing: -2px;
}

.featured-header p{
    font-weight: normal;
    line-height: 30px;
    letter-spacing: 1px;
    margin-bottom:30px;
}


/* swiper slider featured */
.featured-swiper {
    width: 100%;
    position: relative;
}

.featured-swiper .swiper-slide {
    flex-shrink: 0;   /* 🔑 prevent shrinking */
    height: 480px;
    border-radius: 16px;
    overflow: hidden;
    opacity: 0.6;
    transition: all 0.6s ease;
}

/* inactive */
.featured-swiper .swiper-slide {
    flex-shrink: 0;
    height: 480px;
    border-radius: 16px;
    overflow: hidden;
    opacity: 0.6;
    transition: all 0.6s ease;
    width: 240px; /* default inactive */
    position: relative !important;
}

.featured-btn-wrap{
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 8px;
    cursor: pointer;
}

.featured-btn-wrap svg {
    width: 20px;
    height: 20px;
    fill: #CF7525;
    transition: transform 0.3s ease;
    transform: translateX(0);
}

.featured-btn-wrap:hover svg {
    transform: translateX(4px);
}

.featured-swiper .swiper-slide.active-slide {
    width: 720px !important;
    opacity: 1;
    border-radius: 25px;
    z-index: 2;
}

/* Add to your CSS file */
.featured-swiper .swiper-slide.active-slide .floating-arrow-right-u {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #D2691E; /* circle background (same as your orange color) */
    border-radius: 50%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.featured-swiper .swiper-slide.active-slide .bottom-float-left-d {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 20;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.featured-swiper .swiper-slide.active-slide .bottom-float-right-d {
    position: absolute;
    bottom: 24px;
    right: 34px;
    z-index: 20;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bottom-float-right-d p{
    color: #ffffff !important;
}
/* Images */
.featured-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

/* Footer wrapper */
.swiper-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5rem;
}

/* View all link */
.swiper-footer .view-all {
    font-size: 20px;
    font-weight: bold;
    color: #D36C2F; /* orange-ish */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: "HenrySans", sans-serif;
}

/* Navigation buttons */
/* Prevent Swiper from absolutely centering arrows */
.swiper-button-next,
.swiper-button-prev {
    position: static !important;
    margin: 0 !important;
}

.swiper-nav {
    display: flex;
    gap: 12px;
}

/* Circle buttons */
.swiper-footer .swiper-button-prev,
.swiper-footer .swiper-button-next {
    width: 40px;
    height: 40px;
    background: #D36C2F;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    transition: background 0.3s ease;
}

.swiper-footer .swiper-button-prev:hover,
.swiper-footer .swiper-button-next:hover {
    background: #DE9A5E;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    content: none !important; /* removes the built-in arrow */
}

.swiper-button-next svg,
.swiper-button-prev svg {
    fill: #fff;
}

/* ---------------- TABLET ---------------- */
@media (max-width: 1024px) {

    .featured-section{
        height: 100%;
    }

  .featured-container {
    margin: 60px 60px;
  }

  .featured-header h1 {
    font-size: 50px;
    line-height: 60px;
  }

  .featured-header p {
    font-size: 18px;
    line-height: 26px;
  }

  .featured-swiper .swiper-slide {
    width: 180px;
    height: 400px;
  }

  .featured-swiper .swiper-slide.active-slide {
    width: 500px !important;
    height: 400px;
  }

  .swiper-footer {
    gap: 20px;
  }
}

/* ---------------- MOBILE ---------------- */
@media (max-width: 768px) {
  .featured-container {
    margin: 40px 20px;
  }

  .featured-header h1 {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -1px;
  }

  .featured-header p {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 20px;
  }

  .featured-swiper .swiper-slide {
    width: 140px;
    height: 280px;
  }

  .featured-swiper .swiper-slide.active-slide {
    width: 100% !important;  /* fill screen width */
    height: 280px;
    border-radius: 16px;
  }

  .swiper-footer {
    align-items: center;
    gap: 16px;
    margin-top: 2rem;
  }

  .swiper-footer .view-all {
    font-size: 16px;
  }

  .swiper-footer .swiper-button-prev,
  .swiper-footer .swiper-button-next {
    width: 32px;
    height: 32px;
    padding: 6px;
  }
}