/*=====================================
            BANNER PART STYLE
======================================*/
.banner-part {
  background: url(../../images/bg/back-2.jpeg);
  background-repeat: no-repeat;
  background-position: 30% 70%;
  background-size: cover;
  padding: 95px 0px 178px;
  position: relative;
  z-index: 1;
}

.banner-part::before {
  position: absolute;
  content: "";
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(4, 53, 138, 0.65), rgba(5, 44, 112, 0.65));
  z-index: -1;
}

.banner-content {
  text-align: center;
}

.banner-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3);
}

.banner-content p {
  width: 600px;
  font-size: 18px;
  line-height: 28px;
  margin: 0 auto 45px;
  color: var(--white);
  text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767px) {
  .banner-part {
    padding: 60px 0px 145px;
    background-position: 77% 30%;
  }

  .banner-content h1 {
    font-size: 30px;
    line-height: 40px;
  }

  .banner-content p {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .banner-part {
    padding: 80px 0px 175px;
  }
}

/*=====================================
            SUGGEST PART STYLE
======================================*/
.suggest-part {
  position: relative;
  margin-top: -85px;
  z-index: 2;
}

.suggest-slider .slick-slide img {
  display: inline-block;
}

/*=====================================
            FEATURE PART STYLE
======================================*/
.feature-card-slider {
  margin-left: 50px;
  margin-bottom: 18px;
}

.feature-thumb-slider {
  margin-left: 50px;
}

@media (max-width: 991px) {

  .feature-card-slider,
  .feature-thumb-slider {
    margin-left: 0px;
  }
}

@media (min-width: 400px) and (max-width: 575px) {
  .feature-card-slider {
    width: 370px;
    margin: 0px auto 30px;
  }

  .feature-thumb-slider {
    width: 370px;
    margin: 0px auto;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .feature-content {
    position: inherit;
    padding: 20px 20px 15px;
    background: var(--heading);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }

  .feature-img img {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
  }

  .feature-wish {
    top: 15px;
    right: 15px;
  }

  .feature-meta {
    display: flex;
    flex-direction: column;
  }

  .feature-price {
    margin: 0px 0px 5px;
  }
}

/*=====================================
         RECOMMENDED PART STYLE
======================================*/
.recomend-slider .product-card {
  margin: 0px 10px;
}

@media (max-width: 575px) {
  .recomend-slider .product-card {
    width: 255px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .recomend-slider .product-card {
    width: 300px;
  }
}

/*=====================================
            NICHE PART STYLE
======================================*/
.niche-part .niche-nav {
  margin-bottom: 30px;
}

.niche-part .tab-pane {
  padding: 0px;
}

.niche-part .tab-pane .row {
  justify-content: center;
}

.niche-part .product-card {
  margin-bottom: 30px;
}

@media (max-width: 575px) {
  .niche-nav .nav-tabs li .nav-link {
    font-size: 12px;
    line-height: 18px;
    padding: 10px 10px;
  }
}

@media (min-width: 380px) and (max-width: 575px) {
  .niche-part .product-card {
    width: 350px;
    margin: 0px auto 30px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .niche-part .container {
    max-width: 990px;
  }

  .niche-part .container .col-lg-3 {
    padding: 0px 10px;
  }
}

/*=====================================
            CATEGORY PART STYLE
======================================*/
.category-part .row:nth-child(2) {
  justify-content: center;
}

/*=====================================
            INTRO PART STYLE
======================================*/
.intro-part {
  padding: 112px 0px;
  margin-top: 120px;
  position: relative;
  background: linear-gradient(#0044bb, #080229);
}

.intro-part::before {
  position: absolute;
  content: "";
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: url(../../images/bg/02.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.intro-part .section-center-heading {
  margin-bottom: 0px;
}

.intro-part .section-center-heading h2 {
  font-size: 45px;
  line-height: 55px;
  color: var(--white);
  margin-bottom: 22px;
}

.intro-part .section-center-heading p {
  color: var(--white);
  margin-bottom: 45px;
}

@media (max-width: 575px) {
  .intro-part .section-center-heading h2 {
    font-size: 28px;
    line-height: 36px;
  }
}

@media (max-width: 767px) {
  .intro-part {
    margin-top: 60px;
    padding: 50px 0px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .intro-part {
    margin-top: 80px;
    padding: 70px 0px;
  }
}

/*=====================================
            PRICE PART STYLE
======================================*/
.price-part {
  margin-top: -300px;
}

.price-part .row:nth-child(2) {
  justify-content: center;
}

.price-part .section-center-heading h2,
.price-part .section-center-heading p {
  color: var(--white);
}

/*=====================================
            BLOG PART STYLE
======================================*/
.blog-part {
  padding: 120px 0px;
}

.blog-card {
  margin: 0px 15px;
}

.blog-btn {
  text-align: center;
  margin-top: 50px;
}

@media (max-width: 575px) {
  .blog-card {
    width: 290px;
  }
}

@media (max-width: 767px) {
  .blog-part {
    padding: 30px 0px 60px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .blog-card {
    width: 335px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .blog-part {
    padding: 50px 0px 80px;
  }
}

/* =========================================================
   HOME PAGE FIXES
   01) Featured card fixed height + cover image (desktop)
   02) Featured bottom thumbnails fixed ratio + cover
   03) 2-line title clamp with "..."
   ========================================================= */

/* -----------------------------
   01) FEATURED MAIN CARD FIX
   Make the featured image area fixed height on desktop
------------------------------ */
@media (min-width: 992px) {
  .feature-card-slider .feature-card {
    height: 416px;
    /* FIXED desktop height */
  }

  .feature-card-slider .feature-img {
    display: block;
    /* ensure width/height applies on <a> */
    width: 100%;
    height: 416px;
    /* FIXED desktop height */
    overflow: hidden;
  }

  .feature-card-slider .feature-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* key: cover like background */
    object-position: center;
    /* keep center */
  }
}

/* -----------------------------
   02) FEATURED THUMB STRIP FIX
   Make thumbs consistent size & cover

   NOTE:
   You asked for 3:4 ratio.
   If you prefer landscape thumbs, change to: 4 / 3
------------------------------ */
.feature-thumb-slider .feature-thumb {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  /* requested 3:4 ratio */
}

.feature-thumb-slider .feature-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* cover thumb area */
  object-position: center;
}

/* -----------------------------
   03) TITLE: 2 LINE CLAMP FIX
   This makes title shorten by real width/2 lines, not chars
------------------------------ */
.feature-title a,
.product-title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
}