/*=====================================
            BANNER PART STYLE
======================================*/
.banner-part {
/* background: url(  ); */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 95px 0px 178px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 1;
}

.banner-part::before {
  position: absolute;
  content: "";
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  z-index: -1;
}
.banner-part::after{
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(-180deg, #f1f0eb);
  border-radius: 60% 60% 0 0;
  transform: translateY(30px);
  z-index: -1;
}
.banner-content {
  text-align: center;
  position: relative !important;
}

.banner-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3);
}
.banner-content-image{
  position: absolute !important;
  right: 65px;
  top: -25px;
}
.banner-content p {
  width: 600px;
  font-size: 18px;
  line-height: 28px;
  text-align: left;
  margin: 28px auto 0;
  color: var(--white);
  text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3);
}

.niche-part{
  width: 90%;
  margin: auto;
  border: 2px solid var(--dark-brown);
  border-radius: 30px;
  background: var(--dark-brown);
}

/* @media (max-width: 767px) {
  .banner-part {
    padding: 60px 0px 145px;
    flex-direction: column!important;
  }
  .banner-content h1 {
    font-size: 30px;
    line-height: 40px;
  }
  .banner-content p {
    width: 100%;
  }
  .banner-arrow {
    display: none!important;
  }
  .banner-content-image{
    right: 7px!important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .banner-part {
    padding: 80px 0px 175px;
    flex-direction: column!important;
  }
  .banner-content-image{
    right: 184px;
  }
} */

@media (min-width: 1441px) {
  .banner-part {
    padding: 120px 0px 230px;
    flex-direction: row !important;
  }
  .banner-content h1 {
    font-size: 50px;
    line-height: 60px;
  }
  .banner-content p {
    width: 70%;
  }
  .banner-arrow {
    display: block;
  }
  .banner-content-image {
    right: 150px;
  }
}
@media (min-width: 1025px) and (max-width: 1440px) {
  .banner-part {
    padding: 100px 0px 200px;
    flex-direction: row !important;
  }
  .banner-content h1 {
    font-size: 42px;
    line-height: 52px;
  }
  .banner-content p {
    width: 80%;
  }
  .banner-arrow {
    display: block;
  }
  .banner-content-image {
    right: 120px;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .banner-part {
    padding: 80px 0px 175px;
    flex-direction: column !important;
  }
  .banner-content h1 {
    font-size: 36px;
    line-height: 48px;
  }
  .banner-content p {
    width: 90%;
  }
  .banner-arrow {
    display: block;
  }
  .banner-content-image {
    right: 184px !important;
  }
}
@media (min-width: 425px) and (max-width: 767px) {
  .banner-part {
    padding: 60px 0px 145px;
    flex-direction: column !important;
  }
  .banner-content h1 {
    font-size: 30px;
    line-height: 40px;
  }
  .banner-content p {
    width: 100%;
  }
  .banner-arrow {
    display: none !important;
  }
  .banner-content-image {
    right: 7px !important;
  }
}
@media (min-width: 375px) and (max-width: 424px) {
  .banner-part {
    padding: 35px 0px 110px;
    flex-direction: column !important;
  }
  .banner-content h1 {
    font-size: 26px;
    line-height: 34px;
  }
  .banner-content p {
    width: 100%;
  }
  .banner-arrow {
    display: none !important;
  }
  .banner-content-image {
    right: 6px !important;
  }
}
@media (max-width: 374px) {
  .banner-part {
    padding: 30px 0px 100px;
    flex-direction: column !important;
  }
  .banner-content h1 {
    font-size: 24px;
    line-height: 32px;
  }
  .banner-content p {
    width: 100%;
  }
  .banner-arrow {
    display: none !important;
  }
  .banner-content-image {
    right: 5px !important;
  }
}


/*=====================================
            SUGGEST PART STYLE
======================================*/
.suggest-part {
  position: relative;
  margin-top: 4px;
  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: 10px;
    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: 19px 0px 415px;
  margin-top: 0px !important;
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.65)), url("/storage/background_images/profileBg.png") no-repeat center center;  
  background-size: cover;
}

.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 365px;
  }
}

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

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

.font{
  font-weight : 600 !important;
}


/* ===========================================
   FIGMA DESIGN - CATEGORY CARDS
   =========================================== */

/* Main container - full width */
.category-groups-container {
  max-width: 100%;
  width: 100%;
  padding: 20px 0;
  margin-left: 10px;
}

/* Each category group */
.category-group {
  margin-bottom: 40px;
}

/* Category title with count */
.category-group-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.category-group-count {
  color: var(--chalk);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 500;
}

/* Cards wrapper - 3 cards per row */
.subcategory-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 10px 20px 10px 0;
  overflow-x: auto;
}

/* Individual card - exact dimensions */
.subcategory-card-item {
  display: flex;
  align-items: center;
  background: url('/storage/background_images/TP-bg.png') no-repeat center center;
  border-radius: 60px;
  height: 93px;
  width: 339px;
  text-decoration: none;
  color: inherit;
  transform: translateY(-2px);
  transition: transform 0.2s ease;
  /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
  overflow: hidden;
}

.subcategory-card-item:hover {
  text-decoration: none;
  color: inherit;
}

/* Icon circle with white background and space */
.subcategory-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: -20px;
  flex-shrink: 0;
  position: absolute;
  left: 4px;
  top: 4px;
}

.subcategory-card-icon img {
  width: 50%;
  height: 50%;
  object-fit: contain;
}
/* Text box with rounded right side and space from icon */
.subcategory-card-content {
  /* background: #fde9e1; */
  border-radius: 0 60px 60px 0;
  padding: 13px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: absolute;
  left: 107px;  
  margin-left: 10px;
}

/* Space between icon and text area - no curve needed */
.subcategory-card-content::before {
  display: none;
}

.subcategory-card-content::after {
  display: none;
}

/* Card text styling */
.subcategory-card-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 5px 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 200px;
}

.subcategory-card-ads {
  font-size: 14px;
  color: #666;
  margin: 0;
  font-weight: 500;
}

/* Responsive design */
@media (max-width: 1200px) {
  .subcategory-cards-wrapper {
      grid-template-columns: repeat(2, 1fr)!important;
      margin-left: 9%!important;
  }
}

@media (max-width: 768px) {
  .subcategory-cards-wrapper {
      grid-template-columns: repeat(2, 1fr)!important;
      padding: 0!important;
      gap: 7px!important;
      margin-left: 0%!important;

  }
  
  .subcategory-card-item {
      width: 100%;
      max-width: 100%;
  }
}

@media (max-width: 480px) {
  .subcategory-cards-wrapper {
    grid-template-columns: repeat(1, 1fr)!important;
    padding: 0!important;
}
  .subcategory-card-item {
      height: 100px;
  }
  
  .subcategory-card-icon {
      width: 70px;
      height: 70px;
      margin-right: -15px;
      left: 34px!important;
      margin-top: 5px;

  }
  
  
  .subcategory-card-icon img {
      width: 40px;
      height: 40px;
  }
  
  .subcategory-card-content {
      padding: 12px 25px 12px 25px;
  }
}
@media (max-width: 375px) {
  .subcategory-cards-wrapper {
    grid-template-columns: repeat(1, 1fr)!important;
    padding: 0!important;
}
  .subcategory-card-item {
      height: 100px;
  }
  
  .subcategory-card-icon {
      width: 70px;
      height: 70px;
      margin-right: -15px;
      left: 8px!important;
      margin-top: 5px;

  }
  
  
  .subcategory-card-icon img {
      width: 40px;
      height: 40px;
  }
  
  .subcategory-card-content {
      padding: 12px 25px 12px 25px;
  }
}

@media only screen and (min-width: 376px) and (max-width: 640px), only screen and (max-width: 375px) {
  #search-form {
    padding: 27px 10px 20px;
  }
  .niche-part .section-center-heading p {
    width: 100%;
  }
}