.featured-products .owl-prev,.featured-products .owl-next {
  font-size: 0;
}

.featured-products .owl-prev::before,.featured-products .owl-next::before {
  font-size: 16px;
}

.header-top #_desktop_cart {
  display: none;
}

.blockcart.cart-preview {
  line-height: 0;
}
.blockcart.cart-preview .ion-bag {
  font-size: 24px;
}
.custom-product-details{
  margin-top:20px;
  padding-top:15px;
  border-top:1px solid #e5e5e5;
}
.custom-product-details div{
  margin-bottom:6px;
  font-size:14px;
}
header.header_v1 .blockcart.cart-preview::before {
  background-color: #aaa;
  display: none;
}

.right-nav #_desktop_cart .blockcart.cart-preview.active {
  padding-left: 0;
}


@media (min-width: 1200px) {
  .container {
    max-width: 1370px !important;
  }
}

@media (max-width: 500px) {
  .right-nav > div:not(:last-child) {
    margin-right: 5px;
    padding-right: 0px;
  }
  #header .logo { padding-right: 6px; }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1370px !important;
    padding: 0px 15px;
  }
}

@media (max-width: 767px) {
  .ybc-menu-toggle.ybc-menu-btn.closed {  display: none; }
  .wishtlist_top { line-height: 28px;  }
  .header-top #menu-icon {  margin-left: 0;  margin-top: 10px;  margin-right: 10px;  }
  
  .lappstaras-search .lappstaras-search-wrapper.lappstaras-large .lappstaras-results { left: 45%; }
    header.header_v1 .blockcart.cart-preview::before {
    display: none;
  }
  
  #_desktop_cart { padding: 0; }
  
}
@media (max-width: 1198px) {
  .mm_menus_li.all_categories_para_wholesale > a {
    background: #ec4249 !important;
  }
}

@media (max-width: 1199px) and (min-width: 768px) {
  .changestatus.ets_mm_megamenu.hook-custom {
    margin-top: 0;
  }
}

.wishtlist_top {  line-height: 0;}

.ybc-mnf-block-li { height: 244px; }

 .wishtlist_top::before { display:none; } .wishtlist_top { padding-left:0px;}

#header #_desktop_logo .logo {
  width: 170px;
}

.custom-home-slider .owl-stage {
  display: flex;
}

.custom-home-slider .owl-item {
  display: flex;
}

.custom-home-slider .product {
  width: 100%;
}

.custom-home-slider .owl-nav button.owl-prev,
.custom-home-slider .owl-nav button.owl-next {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff !important;
  border: 1px solid #ddd !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.custom-home-slider .owl-nav button.owl-prev:hover,
.custom-home-slider .owl-nav button.owl-next:hover {
  background: #2f6fa5 !important;
  color: #fff !important;
  border-color: #2f6fa5 !important;
}




/******************** HEADER TOP CSS BLOCK START HERE ************************/
.mobile_logo.mobile_logo_top_line {
  width: 100px;
}

.menu_and_cattree .custom_menu.col-md-9.col-sm-9 {
  width: 100%; padding-right: 0;
}
.all_categories_para_wholesale > a.ets_mm_url {
  background-color: #ec4249;
}
.all_categories_para_wholesale a.ets_mm_url .mm_menu_content_title {
  color: #fff;
}

#search_filters .facet .facet-title {
  background: #ec4249;
  color: #fff;
  padding: 10px;
  margin-top: 20px;
}



@media (max-width: 767px) {
  .header-top #_desktop_logo { display: none;  }
  #header .header-top {  padding-bottom: 15px;  }
  .wishtlist_top { margin-left: 0;  }
  
  .header-nav .right-nav > div {
    align-content: center;
  }
 .header-nav .right-nav .wishtlist_top {
    align-content: center;
  }
}

.lappstaras-search-container.lappstaras-searchtop-container {
  margin-top: 6px;
}
#header .header-top {
  padding-top: 15px;
  width: 100%;
}
.header-top .row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
  padding: 0 15px;
}
.ets_mm_megamenu {margin-top: 0;}

.custom_menu.menu_full {
  width: 100%;
  padding: 0;
}
.menu_and_cattree .container {
  padding: 0;
}
#index #carousel {
  margin-bottom: 60px;
  margin-top: 20px;
  padding:0 15px;
}

.carousel .carousel-item img {
  border-radius: 10px;
}

/******************** HEADER TOP CSS BLOCK end HERE ************************/


/* Mobile: Always 100% width */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

/* Tablet (Small devices) */


/* Large Tablet / Small Laptop */
@media (min-width: 768px) {
  .mobile_logo.mobile_logo_top_line {
    display:none;
  }
  
    .lappstaras-search .lappstaras-search-wrapper.lappstaras-large .lappstaras-results {
      left: 33%;
    }
  
}

.bg-home {
  display: inline-block;
  width: 100%;
}
#search_filters .facet .collapse {
  display: block;
  margin-bottom: 0;
  max-height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
}


.lappstaras-search-container.lappstaras-searchtop-container {
  left: 0%;
  position: relative;
}

.ets_mm_megamenu .mm_columns_ul {
  z-index: 1;
}

/* Container for Subcategories */
#subcategories {
    margin-bottom: 2rem;
    padding: 20px;
    border: 1px solid #ebebeb;
    background: #fff;
}

.subcategory-heading {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Grid Layout */
.subcategories-list {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    list-style: none;
    margin: 0 -10px; /* Offset for internal padding */
}

.subcategories-list li {
    width: 20%; /* 5 columns on desktop */
    padding: 10px;
    text-align: center;
}

/* Subcategory Images */
.subcategory-image {
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.subcategory-image img {
    max-width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.subcategory-image:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #2fb5d2; /* Theme color */
}

.subcategory-image:hover img {
    transform: scale(1.1);
}

/* Subcategory Text */
.subcategory-name {
    color: #232323;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.subcategory-name:hover {
    color: #2fb5d2; /* Theme color */
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .subcategories-list li { width: 33.33%; } /* 3 columns on tablet */
}

@media (max-width: 480px) {
    .subcategories-list li { width: 50%; } /* 2 columns on mobile */
}


/*****************************MAKE PRODUCT SLIDER MORE BEAUTIFUL **************************************/

/************************************************
 CLEAN HOME PRODUCT SLIDER - NO TABS
 For your current Owl HTML structure
************************************************/

/* section */
.featured-products {
  position: relative;
  margin: 40px 0 50px;
}

.featured-products .products-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: 700;
  text-transform: none !important;
  color: #1d1d1f;
}

/* owl layout */
.featured-products .products.product_list.homefeatured .owl-stage {
  display: flex;
}

.featured-products .products.product_list.homefeatured .owl-item {
  display: flex;
  height: auto;
}

.featured-products .products.product_list.homefeatured .owl-item article.product-miniature {
  width: 100%;
  height: 100%;
}

/* card */
.featured-products article.product-miniature .thumbnail-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e9edf3;
  border-radius: 12px;
  overflow: hidden;
  padding: 14px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.featured-products article.product-miniature:hover .thumbnail-container {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
  border-color: #dce4ee;
}

/* image area */
.featured-products article.product-miniature .image_item_product {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-products article.product-miniature .product-thumbnail {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: #fff;
}

.featured-products article.product-miniature .product-thumbnail img {
  max-width: 100%;
  max-height: 190px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform .3s ease;
}

.featured-products article.product-miniature:hover .product-thumbnail img {
  transform: scale(1.04);
}

/* optional hover image */
.featured-products article.product-miniature .product-thumbnail img.ybc_img_hover {
  position: absolute;
  inset: 0;
  margin: auto;
  opacity: 0;
  transition: opacity .25s ease;
}

.featured-products article.product-miniature:hover .product-thumbnail img.ybc_img_hover {
  opacity: 1;
}

/* desc */
.featured-products article.product-miniature .product-description {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px 0 0;
  text-align: left;
}

/* title */
.featured-products article.product-miniature .product-title {
  margin: 0 0 8px;
  min-height: 54px;
}

.featured-products article.product-miniature .product-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  color: #1d2939;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
}

.featured-products article.product-miniature .product-title a:hover {
  color: #2f6fa5;
}

/* short desc off for cleaner design */
.featured-products article.product-miniature .short_description {
  display: none;
}

/* reviews */
.featured-products article.product-miniature .hook-reviews {
  min-height: 24px;
  margin-bottom: 8px;
}

.featured-products article.product-miniature .product-list-reviews {
  display: flex;
  align-items: center;
  gap: 6px;
}

.featured-products article.product-miniature .comments-nb {
  font-size: 13px;
  color: #667085;
}

/* price */
.featured-products article.product-miniature .product-price-and-shipping,
.featured-products article.product-miniature .price {
  margin-top: auto;
  margin-bottom: 12px;
}

.featured-products article.product-miniature .price {
  color: #ef4444;
  font-size: 16px;
  font-weight: 700;
}

/* flags */
.featured-products article.product-miniature .product-flags {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  margin: 0;
  padding: 0;
  list-style: none;
}

.featured-products article.product-miniature .product-flags li {
  display: inline-block;
  background: #60a5fa;
  color: #fff;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1;
  padding: 6px 8px;
}

.featured-products article.product-miniature .product-flags li.out_of_stock {
  background: #64748b;
}

/* actions row */
.featured-products article.product-miniature .highlighted-informations {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

/* small icon buttons */
.featured-products article.product-miniature .highlighted-informations .wishlist a,
.featured-products article.product-miniature .highlighted-informations .quick-view {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  border: 1px solid #dbe3ee;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #344054;
  text-decoration: none;
  transition: all .2s ease;
}

.featured-products article.product-miniature .highlighted-informations .wishlist a:hover,
.featured-products article.product-miniature .highlighted-informations .quick-view:hover {
  background: #f8fafc;
  border-color: #cfd8e3;
}

/* add to cart */
.featured-products article.product-miniature .add_to_cart_button.atc_div {
  flex: 1;
}

.featured-products article.product-miniature .add_to_cart_button .atc_qty {
  display: none;
}

.featured-products article.product-miniature .add_to_cart_button .add_to_cart {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  border: 0;
  background: #eef2f6;
  color: #111827;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .2s ease;
}

.featured-products article.product-miniature .add_to_cart_button .add_to_cart:hover {
  background: #dfe7ef;
  color: #111827;
}

/* hide big floating wishlist button if theme adds one */
.featured-products article.product-miniature .wishlist-button-add {
  display: none;
}


.featured-products .owl-nav button.owl-prev,
.featured-products .owl-nav button.owl-next {
  pointer-events: all;
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  border: 1px solid #d8e1eb !important;
  background: #fff !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin: 0 !important;
  transition: all .2s ease;
}

.featured-products .owl-nav button.owl-prev:hover,
.featured-products .owl-nav button.owl-next:hover {
  background: #f8fafc !important;
  border-color: #cfd8e3 !important;
}

.featured-products .owl-nav button.owl-prev span,
.featured-products .owl-nav button.owl-next span {
  font-size: 24px;
  line-height: 1;
  color: #475467;
  display: block;
  margin-top: -2px;
}

.featured-products .owl-nav button.disabled {
  opacity: .35;
  cursor: not-allowed;
}

/* dots optional */
.featured-products .owl-dots {
  text-align: center;
  margin-top: 18px;
}

.featured-products .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background: #d0d7e2;
  border-radius: 50%;
  display: block;
}

.featured-products .owl-dots .owl-dot.active span,
.featured-products .owl-dots .owl-dot:hover span {
  background: #60a5fa;
}

/* stop theme mobile float rules from breaking owl */
.featured-products .products.product_list.homefeatured .product {
  width: 100% !important;
  float: none !important;
}

/* responsive */
@media (min-width: 1400px) {
  .featured-products article.product-miniature .product-thumbnail {
    min-height: 240px;
  }

  .featured-products article.product-miniature .product-thumbnail img {
    max-height: 210px;
  }
}

@media (max-width: 1199px) {
  .featured-products article.product-miniature .product-thumbnail {
    min-height: 200px;
  }

  .featured-products article.product-miniature .product-thumbnail img {
    max-height: 175px;
  }

  .featured-products article.product-miniature .product-title a {
    font-size: 14px;
  }
}

@media (max-width: 991px) {
  .featured-products .owl-nav {
    right: -10px;
  }

  .featured-products .owl-nav button.owl-prev,
  .featured-products .owl-nav button.owl-next {
    width: 36px;
    height: 36px;
  }

  .featured-products article.product-miniature .thumbnail-container {
    border-radius: 10px;
    padding: 12px;
  }

  .featured-products article.product-miniature .product-thumbnail {
    min-height: 180px;
    padding: 8px;
  }

  .featured-products article.product-miniature .product-thumbnail img {
    max-height: 150px;
  }

  .featured-products article.product-miniature .product-title {
    min-height: 48px;
  }
}

@media (max-width: 767px) {
  .featured-products {
    margin: 30px 0 40px;
  }

  .featured-products .products-section-title {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .featured-products .owl-nav {
    top: 0;
    right: 20px;
  }

  .featured-products .owl-nav button.owl-prev,
  .featured-products .owl-nav button.owl-next {
    width: 34px;
    height: 34px;
  }

  .featured-products article.product-miniature .thumbnail-container {
    padding: 10px;
  }

  .featured-products article.product-miniature .product-thumbnail {
    min-height: 150px;
  }

  .featured-products article.product-miniature .product-thumbnail img {
    max-height: 125px;
  }

  .featured-products article.product-miniature .product-title a {
    font-size: 13px;
  }

  .featured-products article.product-miniature .add_to_cart_button .add_to_cart {
    min-height: 38px;
    font-size: 13px;
  }

  .featured-products article.product-miniature .highlighted-informations {
    gap: 6px;
  }

  .featured-products article.product-miniature .highlighted-informations .wishlist a,
  .featured-products article.product-miniature .highlighted-informations .quick-view {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }
}

@media (max-width: 480px) {
  .featured-products article.product-miniature .product-thumbnail {
    min-height: 135px;
  }

  .featured-products article.product-miniature .product-thumbnail img {
    max-height: 110px;
  }

  .featured-products article.product-miniature .product-title {
    min-height: 42px;
  }
}



.add_to_cart_button .btn.btn-primary { margin :0px}



/********************************************************
FINAL FIXES
- wishlist + quickview always top-right
- add to cart centered and full width below
********************************************************/

/* image area must be anchor for absolute icons */
.featured-products article.product-miniature .image_item_product {
  position: relative;
}

/* keep product description relative so button stays normal */
.featured-products article.product-miniature .product-description {
  position: relative;
}

/* action row: keep only cart in normal flow */
.featured-products article.product-miniature .highlighted-informations {
  display: block;
  position: relative;
  margin-top: auto;
  min-height: 42px;
}

/* wishlist fixed top-right */
.featured-products article.product-miniature .highlighted-informations .wishlist {
  position: absolute;
  top: -330px; /* desktop, adjusted below with media queries */
  right: 0;
  z-index: 5;
}

/* quickview fixed below wishlist */
.featured-products article.product-miniature .highlighted-informations .quick-view {
  position: absolute;
  top: -286px; /* desktop */
  right: 0;
  z-index: 5;
}

/* cart stays in normal flow */
.featured-products article.product-miniature .highlighted-informations .add_to_cart_button.atc_div {
  position: relative;
  display: block;
  width: 100%;

}

/* if you want cart full width without right gap, use 0 instead */


/* icon styles */
.featured-products article.product-miniature .highlighted-informations .wishlist a,
.featured-products article.product-miniature .highlighted-informations .quick-view {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  border: 1px solid #dbe3ee;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #344054;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
  transition: all .2s ease;
}

.featured-products article.product-miniature .highlighted-informations .wishlist a:hover,
.featured-products article.product-miniature .highlighted-informations .quick-view:hover {
  background: #f8fafc;
  border-color: #cfd8e3;
}

/* perfectly center add to cart */
.featured-products article.product-miniature .add_to_cart_button .add_to_cart {
  width: 100%;
  min-height: 42px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 0 14px;
  line-height: 1;
  margin: 0 !important;
}

.featured-products article.product-miniature .add_to_cart_button .add_to_cart i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  line-height: 1;
  position: relative;
  top: -1px;
}

/* remove theme offsets */
.featured-products article.product-miniature .add_to_cart_button .btn.btn-primary {
  margin: 0 !important;
}

/* responsive adjustments */
@media (max-width: 1199px) {
  .featured-products article.product-miniature .highlighted-informations .wishlist {
    top: -290px;
  }

  .featured-products article.product-miniature .highlighted-informations .quick-view {
    top: -244px;
  }
}

@media (max-width: 991px) {
  .featured-products article.product-miniature .highlighted-informations .wishlist {
    top: -265px;
  }

  .featured-products article.product-miniature .highlighted-informations .quick-view {
    top: -221px;
  }

  .featured-products article.product-miniature .highlighted-informations .wishlist a,
  .featured-products article.product-miniature .highlighted-informations .quick-view {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }

}

@media (max-width: 767px) {
  .featured-products article.product-miniature .highlighted-informations .wishlist {
    top: -240px;
  }

  .featured-products article.product-miniature .highlighted-informations .quick-view {
    top: -198px;
  }

  .featured-products article.product-miniature .highlighted-informations .wishlist a,
  .featured-products article.product-miniature .highlighted-informations .quick-view {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }


}

@media (max-width: 480px) {
  .featured-products article.product-miniature .highlighted-informations .wishlist {
    top: -226px;
  }

  .featured-products article.product-miniature .highlighted-informations .quick-view {
    top: -186px;
  }
}