/** Shopify CDN: Minification failed

Line 9:16 Unexpected "{"
Line 9:25 Expected ":"
Line 13:16 Unexpected "{"
Line 13:25 Expected ":"

**/
#trending-grid-{{ section.id }} * {
  box-sizing: border-box;
}

#trending-grid-{{ section.id }} .trending-items-grid > * {
  margin: 0 !important;
  padding: 0 !important;
}

.trending-grid-wrapper {
  background: #f5ede2; /* Solid warm beige for women */
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -10px 30px -20px rgba(0, 0, 0, 0.1);
}

.trending-grid-wrapper::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.08) 0%, rgba(212, 165, 116, 0.03) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.trending-grid-wrapper::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.06) 0%, rgba(212, 165, 116, 0.02) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.audience-men .trending-grid-wrapper {
  background: #f8f8f8; /* Solid light gray for men */
}

.audience-men .trending-grid-wrapper::before,
.audience-men .trending-grid-wrapper::after {
  background: radial-gradient(circle, rgba(26, 26, 26, 0.06) 0%, rgba(26, 26, 26, 0.02) 50%, transparent 70%);
}

.trending-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

.trending-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 0 20px;
}

.trending-heading {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  position: relative;
}

.trending-heading::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d4a574, transparent);
  border-radius: 2px;
}

.audience-men .trending-heading::after {
  background: linear-gradient(90deg, transparent, #333333, transparent);
}

.trending-subheading {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #666666;
  max-width: 600px;
  margin: 24px auto 0;
  line-height: 1.6;
}

.trending-items-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin: 0 auto;
  padding: 0 40px;
  max-width: 1600px;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  from {
    opacity: 0;
    transform: translateY(30px);
  }
}

.trending-item {
  position: relative;
  display: block;
  text-decoration: none;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: #000;
}

.trending-item:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.trending-item:nth-child(4n) {
  border-right: none;
}

.trending-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}

.trending-item:hover .trending-bg-image {
  transform: scale(1.1);
  filter: brightness(0.7);
}

.placeholder-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-bg svg {
  width: 40%;
  height: 40%;
  opacity: 0.2;
}

.trending-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, 
    rgba(0,0,0,0) 0%, 
    rgba(0,0,0,0.2) 60%,
    rgba(0,0,0,0.7) 100%);
  transition: all 0.4s ease;
  opacity: 0.8;
}

.trending-item:hover .trending-item-overlay {
  background: linear-gradient(to bottom, 
    rgba(0,0,0,0.2) 0%, 
    rgba(0,0,0,0.4) 60%,
    rgba(0,0,0,0.8) 100%);
  opacity: 1;
}

.trending-item-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 25px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 100%);
}

.trending-item-title {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  transition: transform 0.3s ease;
}

.trending-item:hover .trending-item-title {
  transform: translateY(-5px);
}

.audience-men .trending-item-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.trending-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.trending-item:hover .trending-item-footer {
  opacity: 1;
  transform: translateY(0);
}

.trending-item-count {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
}

.trending-shop-btn {
  background: #d8b06a;
  border: 1px solid #d8b06a;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.trending-shop-btn:hover {
  background: #c49d5a;
  border-color: #c49d5a;
  transform: translateX(3px);
}

.audience-men .trending-shop-btn {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.audience-men .trending-shop-btn:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
}

.shop-arrow {
  transition: transform 0.3s ease;
}

.trending-shop-btn:hover .shop-arrow {
  transform: translateX(3px);
}

@media (max-width: 1024px) {
  .trending-items-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  
  .trending-item:nth-child(4n) {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .trending-item:nth-child(2n) {
    border-right: none;
  }
  
  .trending-heading {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .trending-grid-wrapper {
    padding: 40px 0;
    background: #f5ede2 !important; /* Solid warm beige for women on mobile */
  }

  .audience-men .trending-grid-wrapper {
    background: #f8f8f8 !important; /* Solid light gray for men on mobile */
  }
  
  /* Hide gradient overlays on mobile for cleaner look */
  .trending-grid-wrapper::before,
  .trending-grid-wrapper::after {
    display: none !important;
  }
  
  .trending-items-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    padding: 0 15px;
  }
  
  .trending-item-content {
    padding: 20px 15px;
  }
  
  .trending-item-footer {
    opacity: 1;
    transform: none;
  }
  
  .trending-item:hover .trending-bg-image {
    transform: none;
    filter: none;
  }
  
  .trending-heading {
    font-size: 28px;
  }
  
  .trending-subheading {
    font-size: 14px;
  }
  
  .trending-item-title {
    font-size: 20px !important;
  }
  
  .trending-header {
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .trending-items-grid {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 0 10px;
  }

  .trending-item {
    aspect-ratio: 16 / 9;
  }

  .trending-item-title {
    font-size: 24px !important;
  }
}
