/** Shopify CDN: Minification failed

Line 24:13 Expected identifier but found whitespace
Line 24:15 Unexpected "{"
Line 24:24 Expected ":"
Line 25:10 Expected identifier but found whitespace
Line 25:12 Unexpected "{"
Line 25:21 Expected ":"
Line 25:56 Unexpected "0"
Line 25:59 Unexpected "{"
Line 25:68 Expected ":"
Line 25:105 Expected ":"
... and 19 more hidden warnings

**/


/* CSS from section stylesheet tags */
/* Swiper Core Styles */
/* It is recommended to load Swiper CSS globally in theme.liquid for optimal performance */
@import url("https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css");

.influencer-video-slider-section {
  background: {{ section.settings.background_color }};
  padding: {{ section.settings.section_padding_top }}px 0 {{ section.settings.section_padding_bottom }}px 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow: hidden; /* Ensure no overflow on the section level */
}

.influencer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.influencer-header {
  text-align: center;
  margin-bottom: 25px;
}

.influencer-title {
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  font-weight: 700;
  color: {{ section.settings.heading_color }};
  margin: 0;
  position: relative;
  display: inline-block;
}

.swiper {
  width: 100%;
  height: auto;
  padding-bottom: 40px; /* Space for pagination dots */
  overflow: visible; /* Allow arrows to be outside */
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  flex-shrink: 0; /* Important for Swiper slides */
  width: 280px; /* Default desktop width, breakpoints will override */
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border: 1px solid rgba(16, 185, 129, 0.1);
  display: flex; /* Ensure content stretches within slide */
  flex-direction: column; /* Stack content vertically */
}

.swiper-slide:hover {
  transform: translateY(-5px);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 0; /* Key for aspect ratio */
  padding-bottom: 177.77%; /* 9:16 aspect ratio (16 / 9 * 100) */
  background: #f8f9fa;
  overflow: hidden;
}

.video-thumbnail video,
.video-thumbnail img {
  position: absolute; /* Occupy the padding-defined space */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the entire area without distorting */
}

.video-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.discount-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ef4444;
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 10;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-button:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button.hidden {
  opacity: 0;
  pointer-events: none;
}

.product-info {
  padding: 15px;
  flex-grow: 1; /* Ensure product info expands to fill remaining space */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 8px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em; /* Ensure consistent height even for short titles */
}

.rating-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.star-rating {
  display: flex;
  gap: 1px;
}

.star {
  color: #fbbf24;
  font-size: 0.8rem;
}

.star.empty {
  color: #e5e7eb;
}

.review-count {
  font-size: 0.75rem;
  color: #6b7280;
}

.price-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.current-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
}

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

/* Optimized Add to Cart Button Styles */
.shop-button {
  width: 100%;
  padding: 12px 16px;
  background: {{ section.settings.button_color }} !important;
  color: white !important;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease, background 0.3s ease-in-out; /* Add background to transition */
  text-decoration: none;
  display: block;
  text-align: center;
  min-height: 44px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: auto; /* Push button to the bottom */
  position: relative; /* For loader/icons */
  overflow: hidden; /* Hide overflow content for loader */
}

.shop-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

.shop-button:disabled {
  opacity: 0.7; /* Make disabled slightly less opaque for better visibility */
  cursor: not-allowed;
  transform: none;
  filter: none;
  background: #9ca3af !important; /* A neutral gray for disabled */
  box-shadow: none; /* Remove shadow for disabled state */
}

/* New styles for button states */
.shop-button.is-loading {
  background: #a0aec0 !important; /* Loading grey */
  cursor: wait;
  pointer-events: none; /* Prevent clicks during loading */
}

.shop-button.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.shop-button.is-loading span {
  visibility: hidden; /* Hide text during loading */
}

.shop-button.is-success {
  background: #28a745 !important; /* Green for success */
  transform: none; /* Remove hover transform for success state */
  pointer-events: none; /* Prevent re-clicking success */
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3); /* Greenish shadow */
}

.shop-button.is-error {
  background: #dc3545 !important; /* Red for error */
  transform: none; /* Remove hover transform for error state */
  pointer-events: none; /* Prevent re-clicking error */
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3); /* Reddish shadow */
}

/* Keyframe for spinner animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* Swiper Navigation and Pagination Overrides */
.swiper-button-prev,
.swiper-button-next {
  color: {{ section.settings.accent_color }}; /* Icon color */
  width: 40px;
  height: 40px;
  background: white;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  top: calc(50% - 20px); /* Adjust position as swiper container height is dynamic */
  margin-top: 0; /* Reset default Swiper margin */
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 20px; /* Adjust arrow size */
}

.swiper-button-prev {
  left: -20px; /* Adjust position relative to container */
}

.swiper-button-next {
  right: -20px; /* Adjust position relative to container */
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: {{ section.settings.accent_color }};
  color: white;
}

.swiper-button-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.swiper-pagination-bullet {
  background: rgba(16, 185, 129, 0.3);
  opacity: 1; /* Reset default Swiper opacity */
  width: 8px;
  height: 8px;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: {{ section.settings.accent_color }};
  transform: scale(1.2);
}

/* Position dots below the slider */
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 0px; /* Adjust as needed based on padding-bottom of .swiper */
  top: auto;
}


.placeholder-message {
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
  background: white;
  border-radius: 12px;
  border: 2px dashed rgba(16, 185, 129, 0.2);
  margin: 20px;
}

.placeholder-message h3 {
  color: {{ section.settings.heading_color }};
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.placeholder-message p {
  margin: 0;
  font-size: 0.9rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .influencer-container {
    padding: 0 10px;
  }
  
  /* Swiper responsive adjustments for 2 cards on medium screens */
  .swiper-slide {
    width: calc(50% - 10px); /* 50% width minus half of the spaceBetween (15px/2 = 7.5px, adjusted to 10px for safety) */
  }
  
  /* Hide navigation arrows on smaller screens, rely on touch */
  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }
}

@media (max-width: 480px) {
  .swiper-slide {
    width: calc(50% - 5px); /* 50% width minus half of the spaceBetween (10px/2 = 5px) */
  }
  
  .product-info {
    padding: 12px;
  }
  
  .shop-button {
    padding: 10px;
    font-size: 0.8rem;
  }
}