/* Riyas CSS */
@media (max-width: 767px) {
  .sp-pro-box-2 .sp-pro-details .sp-price .inner-price .new-price {
    font-size: 12px;
  }

  .sp-pro-box-2 .sp-pro-details .sp-price .inner-price .old-price {
    font-size: 12px;
  }

  .sp-pro-box-2 .sp-pro-details h4.sp-pro-title a {
    font-size: 12px;
  }
}




/*CART CSS S*/
.sp-cart-content .table-content table tbody>tr td.sp-cart-pro-name {
  padding-left: 2%;
}

@media (max-width: 767px) {

  /* IMAGE LEFT */
  tr.cart_product_item td:nth-child(2) {
    float: left;
    width: 90px;
    /* fixed width for image */
    margin-right: 10px;
    /* space between image and content */
  }

  tr.cart_product_item td:nth-child(2) img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
  }

  /* CONTENT RIGHT */
  tr.cart_product_item td:nth-child(3) {
    display: block;
    overflow: hidden;
    /* ensures content doesn't overlap image */
    margin-left: 100px;
    /* image width + margin */
  }


  .sp-cart-content .table-content table tbody>tr td.sp-cart-pro-name {
    width: unset;
    padding-left: 0px;
  }

  .sp-cart-content .table-content table tbody>tr td.sp-cart-pro-remove {
    width: 35px;
    text-align: right;
    margin-top: -28px;
    margin-right: -9px;
  }

  .cart-table-content table tbody tr td.sp-cart-pro-qty {
    /*margin-left: 31%;*/
    border-bottom: 1px dashed #e0e0e0;
    padding: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .sp-cart-content .table-content table tbody>tr td.sp-cart-pro-subtotal {
    /*margin-left: 31%;*/
    border-bottom: 1px dashed #e0e0e0;
  }

  .cart-table-content table tbody tr td.sp-cart-pro-subtotal {
    border-top: unset;
    padding-top: 0px;
  }

  .cart-table-content table tbody tr td {
    border-bottom: 0px;
  }




  .sp-cart-content .table-content table tbody>tr td.sp-cart-pro-price {
    border-bottom: 1px dashed #e0e0e0;
  }


  .sp-cart-content .table-content table tbody>tr td .cart-qty-plus-minus {
    height: 30px;
    border-radius: 6px;
  }


  /*Cart Label Names*/
  .cart-table-content table tbody tr td.sp-cart-pro-price::before {
    content: "Price";
  }

  .cart-table-content table tbody tr td.sp-cart-pro-qty::before {
    content: "Quantity";
  }

  .cart-table-content table tbody tr td.sp-cart-pro-subtotal::before {
    content: "Subtotal";
  }


  .cart-images {
    height: 190px;
  }
}

/* Mobile S - 320px */
@media (max-width: 320px) {

  .cart-table-content table tbody tr td.sp-cart-pro-qty,
  .sp-cart-content .table-content table tbody>tr td.sp-cart-pro-subtotal {
    margin-left: 37%;
    /* adjust as needed */
  }

  .variant-set {
    margin-bottom: 8px !important;
  }
}

/* Mobile M - 375px */
@media (min-width: 321px) and (max-width: 375px) {

  .cart-table-content table tbody tr td.sp-cart-pro-qty,
  .sp-cart-content .table-content table tbody>tr td.sp-cart-pro-subtotal {
    margin-left: 37%;
    /* adjust as needed */
  }
}

@media (max-width: 425px) {

  .cart-table-content table tbody tr td.sp-cart-pro-qty,
  .sp-cart-content .table-content table tbody>tr td.sp-cart-pro-subtotal {
    margin-left: 27% !important;
    /* adjust as needed */
  }
}

/*CART CSS E*/




/*Home Page CSS S*/
.sp-category-slider .owl-item {
  border: unset !important;
}

.sp-ser-content {
  /*margin-bottom: 24px;
    margin-top: 24px;*/

  margin-bottom: 5px;
  margin-top: 5px;
}

@media (max-width: 767px) {
  .sp-category-slider.owl-carousel.owl-loaded.owl-drag {
    padding: 10px;
  }

  .sp-category-2 .sp-category-block .category-detail .category-info h5 a {
    font-size: 10px;
  }

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

  .sp-category-2 .sp-category-block .category-detail .category-info {
    margin-top: 0px;
  }

  .sp-category-2 .sp-category-block .category-detail .category-info h5 a {
    max-width: 100%;
    /* or any fixed width like 150px */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    padding: 8px;
  }

  .sp-category-slider .item {
    min-height: 120px;
    /* increase the height */
    padding: 2px;
    /* more space inside item */
    box-sizing: border-box;
  }

  .sp-category-slider .item img {
    width: 120%;
    height: auto;
    /* maintain aspect ratio */
    border-radius: 8px;
  }

  .owl-carousel.owl-drag .owl-item {
    border: unset;
  }

  .sp-category-slider {
    margin-bottom: 0px;
  }

  .sp-ser-content .sp-service-image {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .sp-ser-content {
    text-align: left !important;
  }

  .sp-ser-content .sp-service-image {
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }

  .sp-ser-content .sp-service-text {
    text-align: left !important;
  }
}

/*Home Page CSS E*/



.sp-header-2 .sp-main-menu-desk .sp-inner-menu-desk .sp-main-menu ul.navbar-nav li:not(:last-child) {
  margin: 0px !important;
}

.sp-header-2 .sp-main-menu-desk .sp-inner-menu-desk .sp-main-menu ul.navbar-nav .sp-dropdown {
  margin: 0px !important;
}

/* Center menu using flex */
.sp-main-menu-desk .sp-main-menu {
  display: flex !important;
  justify-content: center;
  /* center all items horizontally */
  align-items: center;
  flex-wrap: wrap;
  /* allows wrapping on mobile */
  gap: 20px;
  /* space between items (replaces margin) */
  padding: 0;
}

/* Remove default Bootstrap margin/padding from li */
.sp-main-menu-desk .navbar-nav>li.nav-item {
  display: flex;
  /* flex for pipe alignment */
  align-items: center;
  margin: 0;
  /* reset any default margin */
  padding: 0 10px;
  /* equal padding left and right */
  position: relative;
}

/* Center text inside links */
.sp-main-menu-desk .navbar-nav>li.nav-item>a {
  text-align: center;
  display: block;
  padding: 5px 0;
  /* vertical spacing */
}

/* Add pipe after each item except the last one */
/* .sp-main-menu-desk .navbar-nav > li.nav-item:not(:last-child)::after {
    content: "|";
    margin-right: 36px;
    color: #ffffff47;
    font-weight: 600;
    font-size: 20px;
} */


.sp-dropdown-item {
  margin-right: 15px;
}

.sp-category-slider {
  direction: ltr;
}

/* Remove pipe inside dropdowns */
.sp-main-menu-desk .navbar-nav .sp-dropdown-menu li::after {
  content: none;
}

/* Optional: adjust pipe position for mobile stacking */
@media (max-width: 768px) {
  .sp-main-menu-desk .sp-main-menu {
    justify-content: flex-start;
    /* left align on mobile */
  }

  .sp-main-menu-desk .navbar-nav>li.nav-item::after {
    content: none;
    /* remove pipe on mobile */
  }
}

/* Center menu using flex */
.sp-main-menu-desk .sp-main-menu {
  display: flex !important;
  justify-content: center;
  /* center horizontally */
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  /* spacing between items */
  padding: 0;
}

/* Make all top-level li flex */
.sp-main-menu-desk .navbar-nav>li.nav-item {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 10px;
  position: relative;
}

/* Center text inside links */
.sp-main-menu-desk .navbar-nav>li.nav-item>a {
  text-align: center;
  display: block;
  padding: 5px 0;
}

/* Add pipe only to items that are NOT dropdowns */
.sp-main-menu-desk .navbar-nav>li.nav-item:not(.sp-dropdown):not(:last-child)::after {
  content: "|";
  margin-left: 10px;
  color: #ffffff47;
  font-weight: 600;
  font-size: 20px;
}

/* Remove pipe from dropdown menu items */
.sp-main-menu-desk .navbar-nav .sp-dropdown-menu li::after {
  content: none;
}

/* Optional: mobile adjustments */
@media (max-width: 768px) {
  .sp-main-menu-desk .sp-main-menu {
    justify-content: flex-start;
    /* left-align on mobile */
  }

  .sp-main-menu-desk .navbar-nav>li.nav-item::after {
    content: none;
    /* remove pipes on mobile */
  }

  .variant-set {
    margin-bottom: 8px !important;
  }
}




.sp-search-suggestions {
  position: absolute;
  background: #fff;
  z-index: 9999;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.sp-suggest-list li {
  padding: 8px 12px;
  cursor: pointer;
  transition: 0.2s;
}

.sp-suggest-list li:hover {
  background: #f0f0f0;
  padding-left: 15px;
}

/* Vertical thumbnails layout (Right side for RTL) */
.sp-single-product .single-pro-img.v-thumb .single-product-scroll {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
}

.sp-single-product .single-pro-img.v-thumb .single-nav-thumb {
  width: 85px !important;
  flex-shrink: 0 !important;
  margin-left: 15px !important;
  margin-right: 15px !important;
  margin-top: 0 !important;
  padding: 25px 0 !important;
  overflow: visible !important;
}

.sp-single-product .single-pro-img.v-thumb .single-product-cover {
  width: calc(100% - 100px) !important;
  flex-grow: 1 !important;
}

.sp-single-product .single-pro-img.v-thumb .single-nav-thumb .sp-single-slide {
  padding: 0 0 10px 0 !important;
}

/* Vertical arrows position override */
.sp-single-product .single-pro-img.v-thumb .single-nav-thumb .slick-arrow {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  top: auto !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background-color: #477778 !important;
}

.sp-single-product .single-pro-img.v-thumb .single-nav-thumb .slick-arrow:hover {
  background-color: #335556 !important;
}

.sp-single-product .single-pro-img.v-thumb .single-nav-thumb .slick-arrow:before {
  font-size: 16px !important;
  line-height: 24px !important;
  height: 24px !important;
}

.sp-single-product .single-pro-img.v-thumb .single-nav-thumb .slick-arrow.slick-prev {
  top: 0px !important;
}

.sp-single-product .single-pro-img.v-thumb .single-nav-thumb .slick-arrow.slick-prev:before {
  transform: rotate(90deg) !important;
  display: inline-block !important;
}

.sp-single-product .single-pro-img.v-thumb .single-nav-thumb .slick-arrow.slick-next {
  bottom: 0px !important;
}

.sp-single-product .single-pro-img.v-thumb .single-nav-thumb .slick-arrow.slick-next:before {
  transform: rotate(90deg) !important;
  display: inline-block !important;
}