/* Enhanced Recently Added Product Slider Styles */
.neckbands {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%) !important;
  border: 1px solid #e9ecef !important;
  border-radius: 12px !important;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important; */
  position: relative;
  overflow: hidden;
}

.neckbands::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  /* background: linear-gradient(90deg, #fcca19 0%, #ff944d 50%, #fcca19 100%); */
  z-index: 1;
}

.neckbands-inner {
  position: relative;
  z-index: 2;
}

.neckbands-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
  border-bottom: 1px solid #e9ecef !important;
  border-radius: 12px 12px 0 0 !important;
  padding: 20px 0;
  position: relative;
}

.neckbands-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #e9ecef 50%, transparent 100%);
}

.sell-header {
  display: flex;
  margin-bottom: 15px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.sell-header-title h2 {
  color: #2c3e50 !important;
  font-size: var(--font-size-xxl);
  line-height: 32px;
  letter-spacing: 0.9px;
  text-transform: capitalize;
  font-weight: 600;
  margin: 0;
  position: relative;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sell-header-title h2::after {
  content: '';
  display: block;
  width: 55%;
  height: 3px;
  background: linear-gradient(90deg, #fcca19 0%, #ff944d 100%);
  border-radius: 2px;
  transition: width 500ms ease;
  margin-top: 8px;
}

.sell-header-title h2:hover::after {
  width: 100%;
}

.best-deal-arrow {
  margin-left: 10px;
  display: flex;
  align-items: center;
}

.best-deal-arrow ul {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 8px;
}

.best-deal-arrow ul li {
  margin: 0;
}

.best-deal-arrow ul .slider-arrow {
  width: 40px !important;
  height: 40px !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
  text-align: center;
  color: #6c757d !important;
  border: 2px solid #e9ecef !important;
  border-radius: 50% !important;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.best-deal-arrow ul .slider-arrow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(252, 202, 25, 0.1) 50%, transparent 100%);
  transition: left 0.3s ease;
}

.best-deal-arrow ul .slider-arrow:hover {
  background: linear-gradient(135deg, #fcca19 0%, #ff944d 100%) !important;
  color: #ffffff !important;
  border-color: #fcca19 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(252, 202, 25, 0.3);
}

.best-deal-arrow ul .slider-arrow:hover::before {
  left: 100%;
}

.best-deal-arrow ul .slider-arrow i {
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.best-deal-arrow ul .slider-arrow:hover i {
  transform: scale(1.1);
}

.neckbands-items {
  padding: 20px;
  background: #ffffff;
  border-radius: 0 0 12px 12px;
  position: relative;
}

.neckbands-items::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #e9ecef 50%, transparent 100%);
}

.neckbands-items-inner {
  position: relative;
  z-index: 2;
}

/* Enhanced product card styles within the recently added section */
.neckbands .box {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
}

.neckbands .box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #fcca19 0%, #ff944d 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.neckbands .box:hover {
  border-color: #fcca19 !important;
  box-shadow: 0 8px 25px rgba(252, 202, 25, 0.15) !important;
  transform: translateY(-4px);
}

.neckbands .box:hover::before {
  transform: scaleX(1);
}

.neckbands .box-img {
  position: relative;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.neckbands .box-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(252, 202, 25, 0.1) 0%, rgba(255, 148, 77, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.neckbands .box:hover .box-img::after {
  opacity: 1;
}

.neckbands .box-title a {
  color: #2c3e50;
  font-weight: 600;
  transition: color 0.3s ease;
}

.neckbands .box:hover .box-title a {
  color: #fcca19 !important;
}

.neckbands .box-price-new {
  color: #ff944d;
  font-weight: 700;
  font-size: 18px;
}

.neckbands .box-price-old {
  color: #6c757d;
  text-decoration: line-through;
  font-size: 14px;
}

.neckbands .box-action a {
  background: linear-gradient(135deg, #fcca19 0%, #ff944d 100%) !important;
  border: none;
  color: #ffffff !important;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.neckbands .box-action a:hover {
  background: linear-gradient(135deg, #ff944d 0%, #fcca19 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(252, 202, 25, 0.3);
}

/* Enhanced tooltip styles with proper layering */
.neckbands .eye-icon,
.neckbands .fa-eye,
.neckbands .view-icon {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.neckbands .eye-icon:hover,
.neckbands .fa-eye:hover,
.neckbands .view-icon:hover {
  color: #fcca19 !important;
  transform: scale(1.1);
}

/* Tooltip container that appears above all cards */
.neckbands .eye-icon::before,
.neckbands .fa-eye::before,
.neckbands .view-icon::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.95);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99999;
  margin-bottom: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  max-width: 200px;
  text-align: center;
}

/* Arrow for tooltip */
.neckbands .eye-icon::after,
.neckbands .fa-eye::after,
.neckbands .view-icon::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.95);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99999;
  margin-top: -1px;
  pointer-events: none;
}

/* Show tooltip on hover */
.neckbands .eye-icon:hover::before,
.neckbands .fa-eye:hover::before,
.neckbands .view-icon:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}

.neckbands .eye-icon:hover::after,
.neckbands .fa-eye:hover::after,
.neckbands .view-icon:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Alternative tooltip for any clickable element with data-tooltip attribute */
.neckbands [data-tooltip] {
  position: relative;
  cursor: pointer;
  z-index: 10;
}

.neckbands [data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99999;
  margin-bottom: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(252, 202, 25, 0.3);
  pointer-events: none;
  max-width: 200px;
  text-align: center;
}

.neckbands [data-tooltip]::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #2c3e50;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99999;
  margin-top: -1px;
  pointer-events: none;
}

.neckbands [data-tooltip]:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}

.neckbands [data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Ensure tooltips appear above all other elements */
.neckbands {
  position: relative;
  z-index: 1;
}

.neckbands .box {
  position: relative;
  z-index: 1;
}

.neckbands .box:hover {
  z-index: 100;
}

/* Tooltip styles for recently added section */
.neckbands .utility-icon-link[data-toggle="tooltip"] {
  position: relative;
}

.neckbands .utility-icon-link[data-toggle="tooltip"]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: -35px;
  left: 0;
  transform: none;
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  z-index: 1000;
  pointer-events: none;
}

.neckbands .utility-icon-link[data-toggle="tooltip"]::after {
  content: attr(title);
  position: absolute;
  bottom: -25px;
  left: 0;
  transform: none;
  background-color: rgba(0,0,0,0.8);
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
}

.neckbands .utility-icon-link[data-toggle="tooltip"]:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Responsive enhancements */
@media screen and (max-width: 991px) {
  .neckbands {
    border-radius: 8px !important;
  }
  
  .neckbands-header {
    border-radius: 8px 8px 0 0 !important;
  }
  
  .neckbands-items {
    border-radius: 0 0 8px 8px;
  }
  
  .best-deal-arrow ul .slider-arrow {
    width: 35px !important;
    height: 35px !important;
  }
}

@media screen and (max-width: 767px) {
  .neckbands {
    margin: 0 10px;
  }
  
  .sell-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .sell-header-title h2 {
    font-size: var(--font-size-xl);
  }
  
  .best-deal-arrow {
    margin-left: 0;
  }
}

/* Animation for section entrance */
@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.neckbands {
  animation: slideInFromTop 0.6s ease-out;
}

/* Enhanced focus states for accessibility */
.best-deal-arrow ul .slider-arrow:focus {
  outline: 2px solid #fcca19;
  outline-offset: 2px;
}

.neckbands .box:focus-within {
  outline: 2px solid #fcca19;
  outline-offset: 2px;
} 