/* NR Product Carousel - Minimal Black & White CSS */
/* Version: 2.2 - Removed image borders and cleaned up styles */

/* Base Carousel Container */
.nr-product-carousel-wrapper {
  margin: 2rem 0;
  position: relative;
  padding: 0 3rem;
}

/* Main Carousel */
.nr-product-carousel {
  position: relative;
  overflow: hidden;
}

/* Product Card */
.nr-carousel-item {
  padding: 0 0.75rem;
  box-sizing: border-box;
}

.nr-product-card {
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nr-product-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

/* Product Image Section - MODIFIED: removed borders and background */
.nr-product-image {
  position: relative;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  overflow: hidden;
}

.nr-product-image a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nr-product-image img {
  width: auto;
  height: auto;
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.nr-product-card:hover .nr-product-image img {
  transform: scale(1.05);
}

/* Sale Badge */
.nr-sale-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #333;
  color: white;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

/* Product Info Section */
.nr-product-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.nr-product-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
}

.nr-product-title a {
  color: #000;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nr-product-title a:hover {
  color: #333;
}

/* Product Rating */
.nr-product-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  gap: 0.5rem;
}

.nr-product-rating .star-rating {
  font-size: 0.875rem;
  color: #000;
  margin: 0 !important;
}

.nr-product-rating .nr-review-count {
  font-size: 0.75rem;
  color: #666;
}

/* Product Price */
.nr-product-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: #000;
  margin: 0.5rem 0 1rem;
}

.nr-product-price del {
  color: #999;
  font-weight: 500;
  margin-right: 0.5rem;
}

.nr-product-price ins {
  text-decoration: none;
  color: #000;
}

/* Product Button */
.nr-product-actions {
  margin-top: auto;
  text-align: center;
}

.nr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background-color: #000;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  width: 100%;
}

.nr-btn:hover {
  background-color: #333;
  color: white;
  transform: translateY(-1px);
}

.nr-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  transition: transform 0.2s ease;
}

.nr-btn:hover svg {
  transform: translateX(2px);
}

/* Slick Carousel Customizations */
.nr-product-carousel .slick-list {
  margin: 0 -0.75rem;
  overflow: visible;
}

/* Dots */
.nr-product-carousel .slick-dots {
  bottom: -30px;
  text-align: center;
  width: 100%;
}

.nr-product-carousel .slick-dots li button:before {
  font-size: 10px;
  color: #ccc;
  opacity: 1;
}

.nr-product-carousel .slick-dots li.slick-active button:before {
  color: #000;
}

/* No Products Message */
.nr-no-products {
  text-align: center;
  padding: 3rem 1.5rem;
  background-color: #f5f5f5;
  border-radius: 12px;
  max-width: 600px;
  margin: 0 auto;
}

.nr-no-products-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nr-no-products-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #000;
}

.nr-no-products h3 {
  font-size: 1.25rem;
  color: #000;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.nr-no-products p {
  font-size: 0.9375rem;
  color: #666;
  line-height: 1.5;
  max-width: 400px;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .nr-product-carousel-wrapper {
    padding: 0 2.5rem;
  }
}

@media (max-width: 768px) {
  .nr-product-carousel-wrapper {
    padding: 0 2rem;
  }
  .nr-product-card {
    border-radius: 10px;
  }
  .nr-product-info {
    padding: 1rem;
  }
  .nr-product-price {
    font-size: 1rem;
  }
  .nr-btn {
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 576px) {
  .nr-product-carousel-wrapper {
    padding: 0 1.5rem;
  }
  .nr-product-title {
    font-size: 0.9375rem;
  }
  .nr-product-rating .star-rating {
    font-size: 0.75rem;
  }
  .nr-product-price {
    font-size: 0.9375rem;
  }
  .nr-btn {
    font-size: 0.8125rem;
  }
}

/* Animation Enhancements */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.nr-carousel-item {
  animation: fadeIn 0.5s ease forwards;
}

/* Accessibility Improvements */
.nr-btn:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}