/* Carousel */
.banner-carousel-section {
  position: relative;
  height: 500px;
  min-height: 500px;
  overflow: hidden;
  margin-bottom: 4rem;
  z-index: 1;
}

/* Desktop image quality improvements */
@media (min-width: 1025px) {
  .slide-image img {
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
    -ms-interpolation-mode: bicubic;
  }
}

.carousel-container {
  position: relative;
  height: 100%;
  width: 100%;
}

.carousel-wrapper {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 0;
  margin: 0;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.carousel-track {
  position: relative;
  height: 100%;
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex !important;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #c2a2a8;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease, transform 0.8s ease;
  z-index: 1;
  flex-direction: row !important;
  /* Touch improvements */
  touch-action: pan-y;
  -webkit-user-drag: none;
  user-select: none;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.carousel-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
}

.slide-image {
  flex: 1 1 50% !important;
  height: 100%;
  position: relative;
  overflow: hidden;
  max-width: 50% !important;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.8s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.carousel-slide.active .slide-image img {
  transform: scale(1.02);
}

.slide-content {
  flex: 1 1 50% !important;
  padding: 3rem;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  max-width: 50% !important;
}

.slide-text {
  max-width: 500px;
}

.slide-text h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: none;
  max-width: 90%;
}

.slide-text p {
  font-size: 1.1rem;
  color: #000000;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  max-width: 85%;
}

.slide-price {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.slide-price .discounted-price {
  font-size: 2.2rem;
  font-weight: 700;
  color: #dc143c;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.slide-price .original-price {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: line-through;
}

.slide-price .price {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
  background-clip: unset !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 2px 10px rgba(0, 0, 0, 0.6);
}

.slide-cta {
  font-size: 1rem;
  padding: 0.875rem 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  margin-top: 0.5rem;
}

.slide-cta:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Carousel Controls */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  /* Enhanced touch target */
  min-width: 44px;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.carousel-btn:hover,
.carousel-btn:focus {
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  outline: none;
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
  background: rgba(255, 255, 255, 0.25);
}

.carousel-btn-prev {
  left: 2rem;
}

.carousel-btn-next {
  right: 2rem;
}

.carousel-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 100;
}

.carousel-indicator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  /* Enhanced touch target - using padding for larger click area */
  padding: 16px;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.carousel-indicator:hover,
.carousel-indicator:focus {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
  outline: none;
}

.carousel-indicator:active {
  transform: scale(0.9);
}

.carousel-indicator.active {
  background: white;
  transform: scale(1.2);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.5);
}

.product-feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  padding: 3rem 0;
}

/* Product Feed */
.feed-product-card {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #000000;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  text-decoration: none;
  color: inherit;
}

.feed-product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.feed-product-image {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 20px 20px 0 0;
}

.feed-product-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feed-product-card:hover .feed-product-image::after {
  opacity: 1;
}

.feed-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(1) saturate(1);
}

.feed-product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  color: #666;
  font-size: 14px;
  border-radius: 20px 20px 0 0;
}

.feed-product-card:hover .feed-product-image img {
  transform: scale(1.08) rotate(1deg);
  filter: brightness(1.1) saturate(1.2);
}

.feed-product-info {
  padding: 2rem 1.5rem;
  background: transparent;
  position: relative;
}

.feed-product-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #1a202c;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.feed-product-card:hover .feed-product-title {
  color: #8b7355;
}

.products-section {
  margin: 2rem 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  padding: 3rem 0;
}

.product-card {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #000000;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.5);
}

.product-card .product-image {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 20px 20px 0 0;
}

.product-card .product-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-image::after {
  opacity: 1;
}

.product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(1) saturate(1);
}

.product-card:hover .product-image img {
  transform: scale(1.08) rotate(1deg);
  filter: brightness(1.1) saturate(1.2);
}

.product-info {
  padding: 2rem 1.5rem;
  background: transparent;
  position: relative;
}

.product-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #1a202c;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.product-card:hover .product-title {
  color: #8b7355;
}

.product-price {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.discounted-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #dc143c;
  margin: 0;
}

.original-price {
  text-decoration: line-through;
  color: #555;
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.9;
}

.price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #000000;
}

.product-description {
  color: #666;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.product-rating {
  margin: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.star-rating {
  color: #e67e22;
  font-size: 1.1rem;
  letter-spacing: 1px;
  font-weight: 700;
}

/* Carousel specific rating - very prominent and visible */
.carousel-slide .star-rating {
  color: #d35400;
  opacity: 1;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.rating-text {
  color: #333;
  font-size: 0.9rem;
  font-weight: 600;
}

.product-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.product-actions .btn {
  flex: 1;
  min-width: 150px;
  position: relative;
  overflow: hidden;
}

.featured-products {
  padding: 4rem 0;
}

.featured-products h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2.2rem;
  color: #2c3e50;
}

.products-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-preview-card {
  background: white;
  border: 2px solid #000000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-preview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.product-preview-card .product-image {
  height: 200px;
  overflow: hidden;
}

.product-preview-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-preview-card .product-info {
  padding: 1.5rem;
}

.product-preview-card h3 {
  margin-bottom: 0.5rem;
  color: #2c3e50;
  font-size: 1.2rem;
}

.price-discounted {
  color: #dc143c;
  font-size: 1.1rem;
  margin-right: 0.5rem;
}

.price-original {
  color: #999;
  text-decoration: line-through;
  font-size: 0.9rem;
}

.section-cta {
  text-align: center;
}

.feed-actions {
  text-align: center;
  margin: 4rem 0;
  padding: 2rem 0;
}

.feed-actions .btn {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  min-width: 220px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.feed-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.loading-message,
.no-products,
.error-message {
  text-align: center;
  padding: 2rem;
  color: #666;
  font-style: italic;
}

.hero-section {
  background: linear-gradient(135deg, #2d2d2d 0%, #8b7355 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-image {
  margin-top: 2rem;
}

.hero-placeholder {
  display: inline-block;
  font-size: 4rem;
  opacity: 0.8;
}

.product-feed-section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2d3748, #4a5568);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.features-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

.features-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.2rem;
  color: #2c3e50;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.slide-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
  line-height: 1.1;
}

.slide-description {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.4;
  opacity: 0.95;
}

.slide-price {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 2rem;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
  color: #ffd700;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  color: #2d3748;
  transition: all 0.3s ease;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-nav:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.carousel-prev {
  left: 2rem;
}

.carousel-next {
  right: 2rem;
}

.carousel-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 3;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.carousel-indicator.active {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.featured-section {
  margin: 4rem 0;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a202c;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.homepage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
  color: #1a202c;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-carousel {
    height: 400px;
    min-height: 350px;
  }

  .slide-content {
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
  }

  .slide-title {
    font-size: 2.5rem;
  }

  .slide-description {
    font-size: 1.1rem;
  }

  .slide-price {
    font-size: 1.8rem;
  }
}

/* Tablet Carousel */
@media (max-width: 768px) and (min-width: 481px) {
  .banner-carousel-section {
    height: 350px;
    min-height: 350px;
    margin-bottom: 2rem;
    /* Improve mobile performance */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  .carousel-slide {
    flex-direction: column !important;
    text-align: center;
    /* Better mobile transitions */
    will-change: transform, opacity;
    padding: 0.5rem;
  }

  .slide-image {
    max-width: 200px !important;
    max-height: 150px !important;
    width: 200px;
    height: 150px;
    margin: 0 auto;
    order: 1;
    /* Improve image loading on mobile */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

  .slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
  }

  .slide-content {
    position: static !important;
    max-width: 100% !important;
    padding: 0.5rem;
    order: 2;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .slide-text h2 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    line-height: 1.2;
    font-weight: 600;
  }

  .slide-text p {
    display: none; /* Hide description on mobile for space */
  }

  .slide-rating {
    font-size: 0.7rem;
    margin-bottom: 0.3rem;
  }

  .slide-price {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    font-weight: 700;
  }

  .slide-cta {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    text-decoration: none;
    background: #000;
    color: white;
    display: inline-block;
  }

  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .carousel-btn-prev {
    left: 0.3rem;
  }

  .carousel-btn-next {
    right: 0.3rem;
  }

  .carousel-indicators {
    bottom: 1rem;
    gap: 0.15rem;
  }

  .carousel-indicator {
    width: 2px;
    height: 2px;
    padding: 6px;
  }

  .hero-carousel {
    height: 350px;
    min-height: 350px;
  }

  .section-title {
    font-size: 2rem;
  }

  .homepage-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .banner-carousel-section {
    height: 500px !important;
    min-height: 500px !important;
    margin-bottom: 1.5rem;
  }

  .banner-carousel-section .carousel-slide {
    padding: 1rem !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 1rem !important;
    text-align: left !important;
  }

  /* Ensure mobile slides display properly */
  .banner-carousel-section .carousel-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
  }

  .banner-carousel-section .carousel-slide:not(.active) {
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
  }

  .banner-carousel-section .slide-image {
    flex: 0 0 45% !important;
    max-width: 45% !important;
    max-height: 200px !important;
    height: 200px !important;
    margin-top: 2rem !important;
    order: 1 !important;
  }

  .banner-carousel-section .slide-content {
    flex: 1 1 55% !important;
    max-width: 55% !important;
    position: static !important;
    background: transparent !important;
    padding: 0 !important;
    order: 2 !important;
    margin-top: 2rem !important;
    align-self: flex-start !important;
  }

  .slide-text h2 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }

  .slide-rating {
    font-size: 0.6rem;
    margin-bottom: 0.2rem;
  }

  .slide-price {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
  }

  .banner-carousel-section .slide-cta {
    font-size: 0.9rem !important;
    padding: 0.75rem 1.4rem !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(20px) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    font-weight: 600 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
    margin-top: 0.5rem !important;
  }

  .carousel-btn {
    width: 25px;
    height: 25px;
    font-size: 0.7rem;
  }

  .carousel-btn-prev {
    left: 0.2rem;
  }

  .carousel-btn-next {
    right: 0.2rem;
  }

  .carousel-indicators {
    bottom: 1rem;
    gap: 0.3rem;
  }

  .carousel-indicator {
    width: 6px;
    height: 6px;
    padding: 0;
    background: rgba(255, 255, 255, 0.4) !important;
    border-radius: 50%;
    border: none;
  }

  .carousel-indicator.active {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: none;
  }
}

/* Very small mobile devices */
@media (max-width: 360px) {
  .banner-carousel-section {
    height: 520px;
    min-height: 520px;
  }

  .carousel-slide {
    padding: 0.8rem;
    gap: 0.8rem;
    align-items: flex-start;
  }

  .slide-image {
    max-height: 180px !important;
    height: 180px;
    margin-top: 1.5rem;
  }

  .carousel-indicators {
    bottom: 4rem;
  }
}

/* Mobile Final Override - Ensure mobile styles apply */
@media screen and (max-width: 480px) {
  .carousel-wrapper .carousel-slide {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    padding: 1rem !important;
    gap: 1rem !important;
    position: relative !important;
  }

  .carousel-wrapper .slide-image {
    flex: 0 0 45% !important;
    max-width: 45% !important;
    height: 200px !important;
    margin-top: 2rem !important;
    display: block !important;
  }

  .carousel-wrapper .slide-content {
    flex: 1 1 55% !important;
    max-width: 55% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }

  /* Smaller, more responsive text for mobile */
  .carousel-wrapper .slide-text h2 {
    font-size: 0.95rem !important;
    margin-bottom: 0.2rem !important;
    line-height: 1.1 !important;
  }

  .carousel-wrapper .slide-text p {
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.3rem !important;
  }

  .carousel-wrapper .slide-rating {
    font-size: 0.6rem !important;
    margin-bottom: 0.3rem !important;
  }

  /* Position price ABOVE the button */
  .carousel-wrapper .slide-price {
    position: absolute !important;
    bottom: 4rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
    z-index: 102 !important;
    margin: 0 !important;
  }

  /* Center View Product button over the indicators */
  .banner-carousel-section .slide-cta {
    position: absolute !important;
    bottom: 2.5rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 0.75rem !important;
    padding: 0.5rem 1rem !important;
    z-index: 102 !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(20px) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    color: white !important;
    border-radius: 30px !important;
    text-decoration: none !important;
  }

  /* Move indicators down below button and price */
  .carousel-indicators {
    bottom: 0.2rem !important;
    gap: 0.2rem !important;
  }

  /* Make indicators smaller on mobile */
  .carousel-indicator {
    width: 4px !important;
    height: 4px !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.5) !important;
  }

  .carousel-indicator.active {
    background: rgba(255, 255, 255, 0.9) !important;
  }
}

/* MOBILE OVERRIDE */
@media screen and (max-width: 480px) {
  html
    body
    .banner-carousel-section
    .carousel-wrapper
    .carousel-slide
    .slide-price {
    position: absolute !important;
    bottom: 5rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
    z-index: 999 !important;
    margin: 0 !important;
    display: block !important;
    white-space: nowrap !important;
    width: auto !important;
    max-width: 90vw !important;
  }

  html
    body
    .banner-carousel-section
    .carousel-wrapper
    .carousel-slide
    .slide-cta {
    position: absolute !important;
    bottom: 1.5rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 0.75rem !important;
    padding: 0.5rem 1rem !important;
    z-index: 999 !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(20px) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    color: white !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    display: inline-block !important;
  }

  /* MOBILE TEXT ALIGNMENT FIX */
  html
    body
    .banner-carousel-section
    .carousel-wrapper
    .carousel-slide
    .slide-content {
    margin-top: 5rem !important;
    padding-top: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }

  html
    body
    .banner-carousel-section
    .carousel-wrapper
    .carousel-slide
    .slide-content
    .slide-text {
    margin-top: 0 !important;
    padding-top: 0 !important;
    width: 100% !important;
  }

  html body .banner-carousel-section .carousel-wrapper .slide-content h2 {
    text-align: left !important;
    margin: 0 0 0.5rem 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  html body .banner-carousel-section .carousel-wrapper .slide-content p {
    text-align: left !important;
    margin: 0 0 0.5rem 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    width: 100% !important;
  }

  /* Match indicators to button styling - MOBILE ONLY */
  html
    body
    .banner-carousel-section
    .carousel-wrapper
    .carousel-indicators
    .carousel-indicator {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    width: 6px !important;
    height: 6px !important;
  }

  html
    body
    .banner-carousel-section
    .carousel-wrapper
    .carousel-indicators
    .carousel-indicator.active {
    background: rgba(255, 255, 255, 0.25) !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    transform: scale(1.3) !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3) !important;
  }

  /* Match arrow buttons to button styling - MOBILE ONLY */
  html body .banner-carousel-section .carousel-wrapper .carousel-btn {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(20px) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    color: white !important;
    width: 50px !important;
    height: 50px !important;
  }

  html body .banner-carousel-section .carousel-wrapper .carousel-btn:hover,
  html body .banner-carousel-section .carousel-wrapper .carousel-btn:focus {
    background: rgba(255, 255, 255, 0.25) !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3) !important;
  }

  /* Additional button ID targeting for published site */
  html body #prevBtn,
  html body #nextBtn {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(20px) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    color: white !important;
  }

  /* ADDITIONAL OVERRIDE FOR PUBLISHED SITE */
  html
    body
    main
    .banner-carousel-section
    .carousel-wrapper
    .carousel-slide
    .slide-content {
    margin-top: 5rem !important;
  }

  /* Published site button fix */
  .carousel-btn {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(20px) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    color: white !important;
  }

  .carousel-indicator {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
  }

  .carousel-indicator.active {
    background: rgba(255, 255, 255, 0.25) !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    transform: scale(1.3) !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3) !important;
  }
}
