/* ============================================
   PRODUCT PAGE - COMPLETE CSS (FIXED)
   ============================================ */

/* ============= PRODUCT HERO SECTION ============= */
.product-hero-1 {
  position: relative;
  background: url('heroproduct.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  height: 40vh;
  min-height: 300px;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}

.product-hero-1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: -1;
}

.product-hero-1 * {
  position: relative;
  z-index: 1;
}

.product-hero-1 h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.product-hero-1 p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 700px;
  margin: 0 auto;
  animation: fadeInUp 1s ease 0.2s both;
  color: #ffffff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============= PRODUCT SECTION 2 ============= */
.product-section2 {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px 40px 20px;
  background: #f9fafb;
}

.section-header {
  text-align: center;
  margin-bottom: 30px;
  /* padding: 30px 20px 0 20px; */
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #222;
  margin-bottom: 8px;
  font-weight: 700;
}

.section-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ============= CAROUSEL CONTAINER ============= */
.carousel-container {
  position: relative;
  margin-bottom: 40px;
  background: #fff;
  border-radius: 16px;
  padding: 25px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.carousel-title {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: #333;
  margin-bottom: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.carousel-title i {
  color: #00a8e8;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
}

/* ============= CAROUSEL WRAPPER ============= */
.carousel-wrapper {
  position: relative;
  overflow: visible;
}

/* Default carousel - scrollable */
.carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 15px 5px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.carousel::-webkit-scrollbar {
  display: none;
}

/* Alternative carousel - desktop default: no scroll, single row, centered */
#alternativeCarousel {
  overflow-x: visible;
  flex-wrap: nowrap;
  justify-content: center;
  scroll-snap-type: none;
  gap: 20px;
}

/* Alternative carousel container adjustment */
#alternativeCarousel .product-card {
  flex-shrink: 0;
  width: 280px;
  min-width: 280px;
}

/* ============= PRODUCT CARD ============= */
.product-card {
  flex: 0 0 auto;
  width: 280px;
  min-width: 280px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  scroll-snap-align: start;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 220px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.product-badge.new {
  background: linear-gradient(135deg, #00a8e8 0%, #0096d1 100%);
  color: #fff;
}

.product-badge.sale {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: #fff;
}

.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wishlist-btn:hover {
  background: #ff4444;
  color: #fff;
  transform: scale(1.15);
}

.product-info {
  padding: 18px;
}

.product-category {
  font-size: 0.8rem;
  color: #00a8e8;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.product-name {
  font-size: 1.05rem;
  color: #222;
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.4;
  height: 48px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.stars {
  color: #ffa500;
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.rating-count {
  font-size: 0.8rem;
  color: #888;
  font-weight: 500;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.current-price {
  font-size: 1.5rem;
  color: #222;
  font-weight: 800;
}

.original-price {
  font-size: 0.95rem;
  color: #999;
  text-decoration: line-through;
}

.discount {
  font-size: 0.75rem;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  padding: 4px 10px;
  border-radius: 6px;
}

.quick-view-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #00a8e8 0%, #0096d1 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  text-decoration: none;
  display: block;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 168, 232, 0.3);
}

.quick-view-btn:hover {
  background: linear-gradient(135deg, #0096d1 0%, #0082b8 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 168, 232, 0.4);
}

/* ============= NAVIGATION BUTTONS ============= */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 10;
}

.nav-btn:hover {
  background: #00a8e8;
  color: #fff;
  border-color: #00a8e8;
  transform: translateY(-50%) scale(1.1);
}

.nav-btn.prev {
  left: -25px;
}

.nav-btn.next {
  right: -25px;
}

/* ============= COMPLETE THE LOOK - FIXED & CENTERED ============= */
.complete-look-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
  padding: 15px 0;
}

.look-card {
  flex: 0 0 auto;
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.look-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.look-image {
  height: 220px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  position: relative;
  overflow: hidden;
}

.look-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.look-card:hover .look-image img {
  transform: scale(1.1);
}

.look-info {
  padding: 18px;
}

.look-title {
  font-size: 1.05rem;
  color: #222;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  height: 48px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.look-items {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.5;
}

.look-price {
  font-size: 1.5rem;
  color: #00a8e8;
  font-weight: 800;
}

/* ============= STYLING SECTION ============= */
.styling-section {
  max-width: 1400px;
  margin: 0 auto;
  /* padding: 60px 20px; */
}

.styling-tips {
  background: #fff;
  border-radius: 16px;
  padding: 40px 30px;
  margin-bottom: 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.tips-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.tips-header i {
  font-size: 2.5rem;
  color: #00a8e8;
}

.tips-header h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #222;
  font-weight: 700;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.tip-card {
  padding: 25px;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid #00a8e8;
  transition: all 0.3s ease;
}

.tip-card:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 168, 232, 0.2);
  background: #fff;
}

.tip-icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.tip-title {
  font-size: 1.15rem;
  color: #222;
  font-weight: 600;
  margin-bottom: 10px;
}

.tip-description {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* ============= RESPONSIVE DESIGN ============= */

/* Desktop Large */
@media (min-width: 1200px) {
  .complete-look-grid {
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .product-section2 {
    padding: 40px 20px;
  }
  
  .carousel-container {
    padding: 25px 15px;
  }
  
  .nav-btn {
    width: 45px;
    height: 45px;
  }
  
  .nav-btn.prev {
    left: -15px;
  }
  
  .nav-btn.next {
    right: -15px;
  }
  
  .complete-look-grid {
    gap: 15px;
  }
  
  .look-card {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
  }

  /* ===== Alternative Options: enable horizontal scroll on tablet ===== */
  #alternativeCarousel {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    gap: 15px;
    padding: 10px 0;
  }
  #alternativeCarousel .product-card {
    flex: 0 0 auto;
    min-width: 240px;
  }
}

/* Small Tablet */
@media (max-width: 768px) {
  .product-section2 {
    padding: 30px 15px;
  }
  
  .carousel-container {
    padding: 20px 10px;
    margin-bottom: 40px;
  }

  .product-card {
    width: 240px;
    min-width: 240px;
  }

  .nav-btn {
    display: none;
  }
  
  .carousel {
    gap: 15px;
    padding: 10px 0;
  }
  
  .complete-look-grid {
    justify-content: center;
    gap: 15px;
  }
  
  .look-card {
    width: 240px;
    min-width: 240px;
    max-width: 240px;
  }
  
  .styling-tips {
    padding: 30px 20px;
  }
  
  .tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .product-hero-1 {
    height: 35vh;
    min-height: 250px;
  }
  
  .product-section2 {
    padding: 20px 10px;
  }
  
  .carousel-container {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 30px;
  }

  .product-card {
    width: calc(100vw - 60px);
    min-width: calc(100vw - 60px);
    max-width: 320px;
  }

  .product-image {
    height: 200px;
  }

  .product-name {
    font-size: 1rem;
    height: 44px;
  }

  .current-price {
    font-size: 1.3rem;
  }

  .product-info {
    padding: 15px;
  }
  
  .carousel {
    gap: 12px;
  }
  
  /* Complete the Look - Mobile Centered */
  .complete-look-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 10px;
  }
  
  .look-card {
    width: calc(100% - 20px);
    min-width: calc(100% - 20px);
    max-width: 350px;
  }
  
  .look-image {
    height: 200px;
  }
  
  .look-title {
    font-size: 1rem;
    height: 44px;
  }
  
  .look-price {
    font-size: 1.3rem;
  }
  
  .look-info {
    padding: 15px;
  }

  /* ===== Alternative Options: mobile scroll & full-width cards ===== */
  #alternativeCarousel {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    gap: 12px;
    padding: 8px 0;
  }
  #alternativeCarousel .product-card {
    width: calc(100vw - 60px);
    min-width: calc(100vw - 60px);
    max-width: 320px;
  }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
  .product-card {
    width: calc(100vw - 50px);
    min-width: calc(100vw - 50px);
  }
  
  .product-image {
    height: 180px;
  }
  
  .look-card {
    width: calc(100% - 10px);
    min-width: calc(100% - 10px);
  }
  
  .look-image {
    height: 180px;
  }
}


