/******* Floating Social link  *******/
.floating_part {
  position: fixed;
  left: 0;
  background: #242424;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 1001;
  top: 100px;
  cursor: grab;
  touch-action: none;
  /* padding-left: 5px; */
}
.floating_part ul {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5px 4px 5px 2px;
}
.floating_part ul li {
  margin: 2px 0px;
}
.floating_part ul li:first-child {
  margin-top: 0px;
}
.floating_part ul li:last-child {
  margin-bottom: 0px;
}
.floating_part ul li a i {
  color: #fff;
  font-size: 16px;
}
/******* End Floating Social link  *******/

a {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
}

.banner_item img {
  width: 100%;
  height: auto;
}

/********* Home Category ***********/
.category_body {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.category_title_body {
  width: 20%;
  text-align: center;
}
.category_title {
  text-transform: uppercase;
  font-size: 30px;
  text-align: center;
}
.category_items {
  width: 90%;
}
.category_grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
}

.category_item {
  text-align: center;
  margin: 0px 10px;
}

.category_item img {
  width: 150px;
  height: 150px;
  border-radius: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category_item img:hover {
  transform: scale(1.05);
}

/* Category Carousel Styles */
.category_grid.owl-carousel .owl-nav {
  display: none;
}

/********* End Home Category ***********/

/****** Catalog items **********/
.home_catalog_items {
  margin: 0px 0px 30px 0px;
}
.catalog2-page {
  background: #fff;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

.container-fluid {
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

.catalog2-title {
  font-size: 2.5rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.01em;
}

.catalog2-grid {
  margin: 0px 0px 20px 0px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  width: 100%;
}

.catalog2-product {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: none;
  min-width: 0;
  width: 100%;
}

.catalog2-img-wrap {
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 2/3;
  margin-bottom: 0;
  padding: 0;
  position: relative;
}

.blog-index-page .catalog2-img-wrap {
  aspect-ratio: 16/9;
}

.blog-index-page #blog_list_cards .catalog2-product {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-index-page #blog_list_cards .catalog2-product:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
}

.blog-index-page #blog_list_cards .catalog2-img-wrap {
  margin-bottom: 0;
  background: #f6f6f6;
}

.blog-index-page #blog_list_cards .catalog2-img-wrap a {
  display: block;
  width: 100%;
  height: 100%;
}

.blog-index-page #blog_list_cards .catalog2-info {
  padding: 14px 14px 16px;
  margin-top: 0;
}

.blog-index-page #blog_list_cards .catalog2-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #111;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 999px;
  padding: 6px 10px;
  margin-bottom: 10px;
}

.blog-index-page #blog_list_cards .catalog2-name {
  margin-bottom: 10px;
}

.blog-index-page #blog_list_cards .catalog2-name a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.25;
  color: #111;
  text-decoration: none;
}

.blog-index-page #blog_list_cards .catalog2-name a:hover {
  text-decoration: underline;
}

.blog-index-page #blog_list_cards .catalog2-details {
  margin-top: 0;
}

.blog-index-page #blog_list_cards .catalog2-details .small {
  font-size: 12px;
}

.blog-index-page #blog_list_cards .catalog2-details .text-muted:not(.small) {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.catalog2-img-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.catalog2-info {
  width: 100%;
  padding: 0 4px;
  margin-top: 15px;
  text-align: left;
}

.catalog2-badge,
.catalog2-badge-newin {
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.catalog2-badge {
  font-size: 0.95rem;
  color: #222;
  margin-bottom: 4px;
}

.catalog2-name {
  font-size: 1.15rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 4px;
  line-height: 1.2;
}

.catalog2-name a {
  font-size: 16px;
  font-weight: 500;
}

.catalog2-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}

.catalog2-discount {
  font-size: 0.9rem;
  font-weight: 600;
  color: #dc3545;
  margin-bottom: 4px;
}

.catalog2-details {
  font-size: 0.85rem;
  line-height: 1.4;
  margin-top: 8px;
}

.catalog2-discount-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #dc3545;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 10;
}

.catalog2-product-list {
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 20px;
}

.catalog2-product-list .catalog2-img-wrap {
  flex: 0 0 200px;
  width: 200px;
}

.catalog2-product-list .catalog2-info {
  flex: 1;
  margin-top: 0;
}

.catalog2-badge-newin {
  font-size: 13px;
  padding: 1px 5px;
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: #f7f4ef;
  color: black;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.catalog2-view,
.catalog2-items,
.catalog2-price,
.catalog2-sort {
  font-size: 1rem;
  color: #222;
  margin-right: 24px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.catalog2-sort {
  margin-right: 0;
}

.catalog2-swatches {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #ddd;
  display: inline-block;
  cursor: pointer;
}

/* Button overlay */
.product-button-group {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.catalog2-img-wrap:hover .product-button-group {
  opacity: 1;
}

.product-button {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #222;
  text-decoration: none;
  transition: all 0.3s ease;
}

.product-button:hover {
  background: #222;
  color: white;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
  flex-wrap: wrap;
  gap: 2px;
}

.pagination .page-item {
  margin: 0 2px;
}

.pagination .page-link {
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  color: #333;
  padding: 8px 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  background-color: #f8f9fa;
  border-color: #007bff;
  color: #007bff;
}

.pagination .page-item.active .page-link {
  background-color: #007bff;
  border-color: #007bff;
  color: #fff;
  font-weight: 600;
}

.pagination .page-item.disabled .page-link {
  color: #6c757d;
  background-color: #fff;
  border-color: #e0e0e0;
  pointer-events: none;
}

/* Pagination info */
.pagination-info {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  text-align: center;
}

#item_pagination {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

#item_pagination .col-lg-12 {
  padding: 0;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
  color: #007bff;
}

/* Empty state */
.no-product-center {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  width: 100%;
  grid-column: 1 / -1;
  text-align: center;
}

/* Filter Form */
.filter-form {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.filter-form .form-control {
  border-radius: 4px;
  border: 1px solid #ddd;
}

.filter-form .btn {
  border-radius: 4px;
  font-weight: 500;
}

/* Loading overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Responsive */

@media (max-width: 575px) {
  #mobileFilterIcon {
    display: flex !important;
  }

  #mobileDrawer,
  #drawerOverlay {
    width: 100vw !important;
    height: 100vh !important;
    left: 0 !important;
    top: 0 !important;
  }

  #mobileDrawer {
    max-width: 100vw !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  #priceFilterDropdown,
  #categoryFilterDropdown {
    width: 95vw !important;
    min-width: unset !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    padding: 14px 4vw 10px 4vw !important;
    border-radius: 6px !important;
    box-sizing: border-box;
  }

  #priceFilterDropdown .row {
    flex-direction: column !important;
    gap: 0 !important;
  }

  #priceFilterDropdown .col-6 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin-bottom: 10px;
  }

  #priceFilterDropdown .col-6:last-child {
    margin-bottom: 0;
  }

  body.drawer-open {
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .container-fluid {
    padding-left: 10px;
    padding-right: 10px;
  }
}



@media (min-width: 720px) {
  .catalog2-title {
    padding-top: 20px;
  }
}


/******* End Category *******/

/******** Trending ******/
.trending_title {
  font-size: 35px;
  color: #000;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-align: center;
  text-transform: capitalize;
  margin-bottom: 20px;
}
.trending_items_part {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 15px;
}
.trending_item img {
  width: 100%;
  height: auto;
  transition: 0.2s ease-in-out;
}
.trending_right {
  width: 50%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 15px;
}
.trending_left {
  width: 51%;
}
.trending_item {
  position: relative;
  overflow: hidden;
  transition: 0.2s ease-in-out;
}
.trending_item:hover img {
  transform: scale(1.02);
  transition: 0.2s ease-in-out;
}
.trending_item_title_body {
  position: absolute;
  left: 50%;
  bottom: 0px;
  transform: translate(-50%, -50%);
}
.trending_item_title {
  margin-bottom: 0px;
  color: #fff;
  font-weight: 600;
  font-size: 35px;
  letter-spacing: 1.2px;
  text-shadow: 3px -1px 4px #454545;
  text-transform: capitalize;
}
/******** End Trending ******/

/***** Shop by category ******/
.shop_cat_title {
  font-size: 35px;
  color: #000;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 0px!important;
  padding: 10px;
}
.shop_cat_items_body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 15px;
}
.shop_cat_item img {
  width: 100%;
  height: auto;
}
.shop_cat_item {
  position: relative;
  overflow: hidden;
  transition: 0.2s ease-in-out;
}
.shop_cat_item:hover img {
  transform: scale(1.02);
  transition: 0.2s ease-in-out;
}
.trending_item_title_body {
  position: absolute;
  left: 50%;
  bottom: 0px;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}
.trending_item_title {
  margin-bottom: 0px;
  color: #fff;
  font-weight: 600;
  font-size: 35px;
  letter-spacing: 1.2px;
  text-shadow: 3px -1px 4px #454545;
  text-transform: capitalize;
}

/***** End Shop by category ******/

/******* Branding **************/
.branding_title {
  font-size: 35px;
  color: #000;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-align: center;
}
.branding_items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 7px;
}
.branding_item {
  overflow: hidden;
  transition: 0.2s ease-in-out;
}
.branding_item:hover img {
  transform: scale(1.02);
  transition: 0.2s ease-in-out;
}
.branding_item img {
  width: 100%;
  height: auto;
}
/******* End Branding **************/

/******* Responsive *********/
@media (max-width: 1350px) {
  .category_title {
    font-size: 25px;
  }
  .trending_title {
    font-size: 30px;
  }
  .trending_item_title {
    font-size: 30px;
  }
  .shop_cat_title {
    font-size: 30px;
    letter-spacing: 1.02px;
  }
  .branding_title {
    font-size: 30px;
  }
}
@media (max-width: 1200px) {
  .category_items ul li {
    margin: 0px 10px;
  }
  .trending_item_title {
    font-size: 27px;
    font-weight: 500;
  }
  .shop_cat_title {
    font-size: 25px;
  }
}
@media (max-width: 1024px) {
}
@media (max-width: 991px) {
  .catalog2-title {
    font-size: 25px;
    margin-bottom: 20px;
  }
  .catalog2-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .category_title {
    font-size: 20px;
  }


  .trending_item_title {
    font-size: 24px;
  }

  .shop_cat_title {
    font-size: 20px;
  }
  .trending_item_title {
    font-size: 22px;
    letter-spacing: 1.02px;
  }
  .branding_items {
    grid-template-columns: repeat(2, 1fr);
  }
  .branding_title {
    font-size: 25px;
  }
}
@media (max-width: 767px) {
  .category_title_body {
    width: 100%;
  }
  .category_items {
    width: 100%;
  }
  .category_body {
    flex-direction: column;
  }
  .category_title {
    font-size: 18px;
  }
  .trending_item_title {
    font-size: 18px;
    letter-spacing: 0.8px;
  }
  .branding_items {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .floating_part ul {
    padding: 5px 4px 5px 2px;
  }
  .catalog2-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .catalog2-title {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .floating_part ul li {
    margin: 0px 0px;
  }
  .category_title {
    font-size: 18px;
    margin-bottom: 15px;
  }
  .category_body {
    flex-direction: column;
  }
  .category_title_body {
    width: 100%;
  }
  .category_items {
    width: 95%;
  }
  .category_items ul {
    padding: 0;
    margin: 0;
  }
  .category_item img {
    width: 80px!important;
    height: 80px!important;
  }
  .video_overlay {
    padding: 32px 15px 15px;
  }
  .overlay_title {
    font-size: 20px;
    margin-bottom: 5px;
  }
  .trending_title {
    font-size: 20px;
  }
  .trending_items_part {
    flex-direction: column;
    gap: 10px;
  }
  .trending_left {
    width: 100%;
  }
  .trending_right {
    width: 100%;
    grid-gap: 10px;
  }
  .trending_item_title {
    font-size: 25px;
    letter-spacing: 0.9px;
    font-weight: 600;
  }
  .shop_cat_items_body {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 10px;
  }
  .shop_cat_item .trending_item_title {
    font-size: 25px;
    letter-spacing: 0.9px;
    font-weight: 600;
  }
  .branding_items {
    gap: 10px;
  }
}
@media (max-width: 320px) {
}
/******* End Responsive *********/

/******* Homepage *********/
#latest_products_title,#women_products_title, #trending_title, #shop_cat_title,  #men_products_title, #branding_title {
  padding: 25px!important;
}