/** Shopify CDN: Minification failed

Line 7:27 Unexpected "-"

**/
/* Code by VK/** */
 * Recently Viewed Section - CSS
 * TheRedVerse - Consistent with Complete The Look design
 */

/* ============================================
   MAIN SECTION WRAPPER
   ============================================ */

.recently-viewed-wrapper {
  width: 100%;
  padding: var(--section-padding-top, 40px) 0 0 0;
  background: linear-gradient(135deg, var(--section-bg-gradient-1, #f8f9fa) 0%, var(--section-bg-gradient-2, #ffffff) 100%);
  position: relative;
}

.recently-viewed-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #e0e0e0 50%, transparent 100%);
}

.recently-viewed-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--section-padding-left, 0px) 0 var(--section-padding-right, 0px);
}

.recently-viewed-section .section-header {
  text-align: left;
  margin-top: 30px;
  margin-bottom: 30px;
  padding-left: 5px;
}

.recently-viewed-section .section-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 8px 0;
  letter-spacing: -1px;
  font-family: var(--heading-font, -apple-system), BlinkMacSystemFont, 'Segoe UI', 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.recently-viewed-section .section-subtitle {
  font-size: 16px;
  margin: 0;
  font-weight: 400;
}

/* ============================================
   CAROUSEL CONTAINER
   ============================================ */

.recently-viewed-carousel {
  position: relative;
  overflow: hidden;
  padding: 0 var(--carousel-nav-padding, 30px);
  max-width: 100%;
}

.recently-viewed-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 15px 5px 25px 5px;
  scroll-snap-type: x mandatory;
}

.recently-viewed-track::-webkit-scrollbar {
  display: none;
}

/* ============================================
   LOADING & EMPTY STATES
   ============================================ */

.loading-state {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  gap: 16px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #ff3f6c;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-state p {
  color: #94969f;
  font-size: 14px;
  margin: 0;
}

.empty-state {
  width: 100%;
  text-align: center;
  padding: 60px 20px;
  color: #94969f;
}

.empty-state svg {
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  opacity: 0.3;
}

.empty-state p {
  font-size: 16px;
  margin: 0;
}

/* ============================================
   PRODUCT CARD
   ============================================ */

.recently-viewed-card {
  min-width: 280px;
  max-width: 280px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid #d4d5d9;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  scroll-snap-align: start;
}

.recently-viewed-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-6px);
  border-color: #282c3f;
}

/* Card Image */
.recently-viewed-card-image {
  position: relative;
  width: 100%;
  height: var(--card-image-height, 280px);
  overflow: hidden;
  background: linear-gradient(135deg, var(--card-bg-color-1, #f5f7fa) 0%, var(--card-bg-color-2, #e8ecef) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Transparent background for trousers */
.recently-viewed-card.is-trouser .recently-viewed-card-image {
  background: transparent;
}

.recently-viewed-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--card-image-padding, 15px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.recently-viewed-card:hover .recently-viewed-card-image img {
  transform: scale(1.08);
}

/* Sale Badge */
.recently-viewed-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #ff3f6c 0%, #ff6b9d 100%);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(255, 63, 108, 0.3);
  z-index: 10;
}

/* Card Content */
.recently-viewed-card-content {
  padding: var(--card-content-padding, 14px);
  background: #ffffff;
  border-top: 1px solid #f0f0f0;
}

.recently-viewed-card-brand {
  display: none;
}

.recently-viewed-card-title {
  font-size: 15px;
  font-weight: 500;
  color: #282c3f;
  margin: 0 0 14px 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 42px;
}

/* Price Section */
.recently-viewed-card-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.recently-viewed-card-price .current {
  font-size: 22px;
  font-weight: 700;
  color: #282c3f;
  letter-spacing: -0.5px;
}

.recently-viewed-card-price .original {
  font-size: 16px;
  color: #94969f;
  text-decoration: line-through;
  font-weight: 400;
}

.recently-viewed-card-price .discount {
  font-size: 14px;
  color: #ff3f6c;
  font-weight: 700;
  background: #fff0f3;
  padding: 2px 8px;
  border-radius: 4px;
}

/* Rating */
.recently-viewed-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 12px;
  color: #282c3f;
}

.recently-viewed-card-rating .star {
  color: #ff9f00;
}

.recently-viewed-card-rating .count {
  color: #94969f;
  margin-left: 2px;
}

/* ============================================
   CAROUSEL NAVIGATION
   ============================================ */

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #d4d5d9;
  background: white;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-nav-btn:hover {
  background: #f5f5f6;
  border-color: #282c3f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-nav-btn.carousel-prev {
  left: 0;
}

.carousel-nav-btn.carousel-next {
  right: 0;
}

.carousel-nav-btn svg {
  width: 24px;
  height: 24px;
  color: #282c3f;
}

.carousel-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================
   CAROUSEL DOTS (Mobile)
   ============================================ */

.carousel-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4d5d9;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: #ff3f6c;
  width: 24px;
  border-radius: 4px;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (max-width: 768px) {
  .recently-viewed-section {
    padding: 0 16px;
  }

  .recently-viewed-section .section-header {
    margin-bottom: 30px;
  }

  .recently-viewed-section .section-header h2 {
    font-size: 22px;
  }

  .recently-viewed-section .section-subtitle {
    font-size: 14px;
  }

  .recently-viewed-carousel {
    padding: 0;
  }

  .carousel-nav-btn {
    display: none;
  }

  .recently-viewed-track {
    gap: 12px;
    padding: 10px 5px 15px;
  }

  .recently-viewed-card {
    min-width: 220px;
    max-width: 220px;
  }

  .recently-viewed-card-image {
    height: 280px;
  }
  
  .recently-viewed-card-image img {
    padding: 15px;
  }

  .recently-viewed-card-content {
    padding: 14px;
  }

  .recently-viewed-card-brand {
    font-size: 13px;
  }

  .recently-viewed-card-title {
    font-size: 14px;
    min-height: 40px;
  }

  .recently-viewed-card-price .current {
    font-size: 18px;
  }
  
  .recently-viewed-card-price .original {
    font-size: 14px;
  }
  
  .recently-viewed-card-price .discount {
    font-size: 12px;
  }

  .carousel-dots {
    display: flex;
  }

  .loading-state {
    padding: 40px 0;
  }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 480px) {
  .recently-viewed-card {
    min-width: 145px;
    max-width: 145px;
  }

  .recently-viewed-card-image {
    height: 190px;
  }
  
  .recently-viewed-card-image img {
    padding: 8px;
  }

  .recently-viewed-section .section-header h2 {
    font-size: 20px;
  }
  
  .recently-viewed-card-price .current {
    font-size: 15px;
  }
  
  .recently-viewed-card-content {
    padding: 8px;
  }
  
  .recently-viewed-card-title {
    font-size: 12px;
    min-height: 32px;
    margin-bottom: 8px;
  }
  
  .recently-viewed-track {
    gap: 10px;
  }
}

/* Code by VK */