/* Nykaa Style Product Component Stylesheet */

.new-arrivals-section {
  width: 100%;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 0 50px 0;
  background: linear-gradient(180deg, #fdf8ff 0%, #ffffff 100%);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(243, 232, 255, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

/* Banner Header Styling */
.arrivals-banner {
  padding: 45px 20px 25px 20px;
  text-align: center;
  position: relative;
}

.banner-glow-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 60px;
  background: radial-gradient(circle, rgba(252, 60, 138, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.banner-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 26px;
  font-weight: 800;
  color: #1f2937;
  letter-spacing: -0.01em;
}

.banner-title .brand-text {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-style: italic;
  font-weight: 900;
  color: var(--primary-color, #fc3c8a);
  margin-left: 2px;
}

.banner-subtitle {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
  margin-top: 5px;
}

/* Grid Layout */
.arrivals-container {
  padding: 0 20px;
}

.products-carousel-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  width: 100%;
}

/* Card Styling */
.arrival-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(229, 231, 235, 0.6);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.arrival-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(252, 60, 138, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02);
  border-color: rgba(252, 60, 138, 0.3);
}

/* Brand Headers mimicking logotypes */
.card-brand-header {
  height: 36px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
  text-align: center;
}

.brand-name {
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
}

.brand-badge {
  font-weight: 800;
  font-size: 11px;
  border-radius: 50px;
  padding: 4px 12px;
  text-transform: uppercase;
}

/* Specific fonts & sizes matching actual logs */
.fiama-font {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #1f2937;
  letter-spacing: -0.04em;
}

.maybelline-font {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.1;
  color: #000000;
}

.maybelline-font small {
  font-size: 7px;
  font-weight: 600;
}

.nivea-badge {
  background-color: #0033a0; /* Royal Nivea Blue */
  color: #ffffff;
  font-size: 9px;
  letter-spacing: 0.05em;
}

.nua-font {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #111827;
  letter-spacing: -0.03em;
}

.oteria-font {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 16px;
  font-weight: 500;
  color: #111827;
}

.sacred-font {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #111827;
  line-height: 1.1;
}

/* Image Wrapper with radial backdrop */
.card-img-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 244, 246, 0.8) 0%, rgba(255, 255, 255, 1) 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
  overflow: hidden;
}

.card-img-container img {
  max-width: 75%;
  max-height: 75%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.arrival-card:hover .card-img-container img {
  transform: scale(1.1) rotate(2deg);
}

/* Bottom Text Info */
.card-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 10px;
}

.card-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  color: #e80071; /* Nykaa deep magenta */
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 5px;
  text-align: left;
}

.card-desc {
  font-family: var(--font-sans, 'Inter', sans-serif);
  color: #6b7280;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  /* Truncate to exactly 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 31px; /* Fallback height to match description lines */
}

/* Responsive breakpoint scaling */
@media (max-width: 1024px) {
  .products-carousel-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .new-arrivals-section {
    margin: 15px 10px;
    width: calc(100% - 20px);
    border-radius: 12px;
  }
  
  .arrivals-banner {
    padding: 30px 15px 15px 15px;
  }
  
  .banner-title {
    font-size: 20px;
  }
  
  .banner-subtitle {
    font-size: 12px;
  }
  
  /* CRITICAL REQUIREMENT: Properly responsive 2-column mobile layout */
  .products-carousel-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .arrival-card {
    padding: 12px 10px;
  }
  
  .card-brand-header {
    height: 30px;
    margin-bottom: 4px;
  }
  
  .card-img-container {
    max-width: 110px;
    margin: 5px 0;
  }
  
  .card-title {
    font-size: 12.5px;
    margin-bottom: 3px;
  }
  
  .card-desc {
    font-size: 10px;
    line-height: 1.3;
    height: 26px;
  }
}
