/* ===================================================================
   bootsy Homepage Styles - Refined for High Impact & Flawless Mobile Flow
   =================================================================== */

/* Hero Slider Section - Full-Width Immersive Leather Showcase */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 620px;
  min-height: 600px;
  max-height: 700px;
  background-color: #120e0b;
  overflow: hidden;
}

.hero-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  max-width: 100% !important;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Full Width Background Image Container - EXACT UNIFORM SIZE */
.hero-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-bg-media img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block;
  transform: scale(1.02);
  transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active .hero-bg-media img {
  transform: scale(1.08);
}

/* Elegant dark vignette/gradient so text is crystal clear on the side while image spans whole hero */
.hero-backdrop-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(14, 11, 9, 0.88) 0%,
    rgba(14, 11, 9, 0.76) 38%,
    rgba(14, 11, 9, 0.35) 70%,
    rgba(14, 11, 9, 0.15) 100%
  );
  z-index: 1;
}

.hero-slide-inner {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.hero-content {
  max-width: 580px;
  color: #ffffff;
}

.hero-subtag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fbbf24;
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.3rem;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.discount-highlight {
  display: block;
  color: var(--primary);
  font-size: 2.1rem;
  font-weight: 800;
  margin-top: 6px;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #e2d9cf;
  margin-bottom: 28px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-btn {
  background: var(--primary);
  color: #ffffff;
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(217, 56, 58, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-outline-hero {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline-hero:hover {
  background: #ffffff;
  color: var(--dark);
  border-color: #ffffff;
}

/* Slider Nav Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.slider-arrow.prev {
  left: 24px;
}

.slider-arrow.next {
  right: 24px;
}

/* Slider Pagination Dots */
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.dot-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.dot-btn.active {
  background-color: var(--primary);
  width: 32px;
  border-radius: 12px;
}

/* Value Props Strip */
.features-strip {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.feature-info h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.feature-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Product Section - Exactly matching screenshot product cards */
.products-section {
  padding: 70px 0 90px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.section-title-wrap h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.section-title-wrap p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.category-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  background: #ffffff;
  transition: var(--transition);
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--dark);
  color: #ffffff;
  border-color: var(--dark);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--border-subtle);
  height: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-color);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.product-thumb-box {
  position: relative;
  background-color: #f7f7f7;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 240px;
  overflow: hidden;
  display: block;
  padding: 0 !important;
}

@supports (aspect-ratio: 1 / 1) {
  .product-thumb-box {
    min-height: unset;
  }
}

.product-thumb-box a.thumb-link-wrap {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.product-thumb-box .primary-thumb {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block;
  position: relative;
  z-index: 1;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-thumb-box .hover-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reveal 2nd product photo ONLY when directly hovering over the product image thumbnail itself */
.product-thumb-box:hover .primary-thumb {
  opacity: 0;
  transform: scale(1.08);
}

.product-thumb-box:hover .hover-thumb {
  opacity: 1;
  transform: scale(1.0);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 2;
}

.wishlist-toggle-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  color: #888888;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  z-index: 2;
}

.wishlist-toggle-btn:hover,
.wishlist-toggle-btn.active {
  color: var(--primary);
  transform: scale(1.1);
}

.wishlist-toggle-btn.active svg {
  fill: var(--primary);
  stroke: var(--primary);
}

.product-info-box {
  padding: 16px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
  transition: var(--transition);
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title:hover {
  color: var(--primary);
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.price-strike {
  font-size: 0.9rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.price-main {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

/* Action Buttons row on cards */
.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.btn-card-cart {
  background: var(--bg-soft);
  color: var(--dark);
  border: 1px solid var(--border-color);
  padding: 10px 12px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-card-cart:hover {
  background: var(--dark);
  color: #ffffff;
  border-color: var(--dark);
}

.btn-card-buy {
  background: var(--primary);
  color: #ffffff;
  padding: 10px 12px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-card-buy:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(217, 56, 58, 0.3);
}

/* Deal of the Week Banner */
.deal-banner-section {
  background: linear-gradient(135deg, #2b1d0c 0%, #171008 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.deal-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.deal-tag {
  display: inline-block;
  background: rgba(217, 56, 58, 0.2);
  color: #ff6b6d;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid rgba(217, 56, 58, 0.4);
}

.deal-heading {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}

.deal-subtext {
  color: #c9c0b5;
  font-size: 1rem;
  max-width: 480px;
  margin-bottom: 28px;
}

.countdown-timer {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
}

.countdown-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  text-align: center;
  min-width: 75px;
}

.countdown-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
}

.countdown-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #a89f91;
  letter-spacing: 0.5px;
}

.deal-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.deal-thumb-interactive {
  position: relative;
  display: block;
  width: 100%;
  max-width: 580px;
  height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #181412;
}

.deal-thumb-interactive .deal-primary-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.deal-thumb-interactive .deal-hover-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover reveal 2nd image on Deal Weekender */
.deal-thumb-interactive:hover .deal-primary-img {
  opacity: 0;
  transform: scale(1.08);
}

.deal-thumb-interactive:hover .deal-hover-img {
  opacity: 1;
  transform: scale(1.0);
}

.deal-hover-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.deal-thumb-interactive:hover .deal-hover-badge {
  opacity: 0;
}

/* ===================================================================
   Full-Width Fixed Background Parallax Review Section
   =================================================================== */
.home-fixed-parallax-review-section {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  min-height: 520px;
  background-image: url('https://images.unsplash.com/photo-1558769132-cb1aea458c5e?auto=format&fit=crop&w=1920&q=85');
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  margin-top: 70px;
  padding: 85px 20px;
}

.fixed-parallax-review-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 11, 9, 0.72) 0%,
    rgba(14, 11, 9, 0.85) 100%
  );
  z-index: 1;
}

.fixed-parallax-review-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 15px;
}

.review-star-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fef3c7;
}

.review-star-badge .stars {
  color: #fbbf24;
  letter-spacing: 2px;
  font-size: 1rem;
}

.review-star-badge .verified-tag {
  color: #e2d9cf;
  font-weight: 400;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  padding-left: 8px;
  margin-left: 4px;
}

.fixed-review-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 18px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.fixed-review-quote {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.4;
  color: #ffffff;
  margin: 0 auto 16px auto;
  max-width: 760px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.fixed-review-author {
  font-size: 0.95rem;
  color: #f3ede2;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.fixed-review-author strong {
  color: #ffffff;
  font-weight: 700;
}

.review-product-tag {
  display: block;
  font-size: 0.82rem;
  color: #fbbf24;
  margin-top: 5px;
  font-weight: 500;
}

.fixed-review-desc {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #e2d9cf;
  margin-bottom: 32px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.fixed-review-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* ===================================================================
   Responsive Mobile Optimization
   =================================================================== */

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  /* Full-width hero on mobile */
  .hero-slider-section {
    height: 520px;
    min-height: 500px;
  }

  .hero-slide-inner {
    padding: 0 20px;
    align-items: flex-end;
    padding-bottom: 58px;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .discount-highlight {
    font-size: 1.5rem;
  }

  .hero-desc {
    font-size: 0.92rem;
    margin: 10px 0 18px;
    line-height: 1.5;
  }

  .hero-actions {
    width: 100%;
    gap: 10px;
  }

  .hero-actions .hero-btn,
  .hero-actions .btn-outline-hero {
    flex: 1;
    padding: 12px 14px;
    font-size: 0.9rem;
    justify-content: center;
    text-align: center;
  }

  .slider-arrow {
    display: none;
  }

  .hero-backdrop-gradient {
    background: linear-gradient(
      0deg,
      rgba(14, 11, 9, 0.94) 0%,
      rgba(14, 11, 9, 0.8) 45%,
      rgba(14, 11, 9, 0.35) 75%,
      rgba(14, 11, 9, 0.1) 100%
    ) !important;
  }

  /* Deal weekender image mobile sizing */
  .deal-thumb-interactive {
    height: 310px;
    max-width: 100%;
    margin-top: 16px;
  }

  /* Fixed parallax review section on mobile - compact & scaled down */
  .home-fixed-parallax-review-section {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    min-height: 290px;
    padding: 36px 16px;
    margin-top: 35px;
    background-attachment: scroll !important;
  }

  .review-star-badge {
    padding: 4px 12px;
    font-size: 0.74rem;
    margin-bottom: 12px;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .review-star-badge .stars {
    font-size: 0.85rem;
  }

  .review-star-badge .verified-tag {
    display: inline;
    padding-left: 6px;
    margin-left: 4px;
    font-size: 0.72rem;
  }

  .fixed-review-title {
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: 10px;
  }

  .fixed-review-quote {
    font-size: 1.05rem;
    line-height: 1.45;
    margin-bottom: 10px;
    max-width: 96%;
  }

  .fixed-review-author {
    font-size: 0.78rem;
    margin-bottom: 18px;
  }

  .review-product-tag {
    font-size: 0.72rem;
    margin-top: 3px;
  }

  .fixed-review-desc {
    font-size: 0.84rem;
    line-height: 1.5;
    margin-bottom: 18px;
    max-width: 95%;
  }

  .fixed-review-actions {
    gap: 8px;
    width: 100%;
  }

  .fixed-review-actions .btn-primary,
  .fixed-review-actions .btn-outline-hero {
    padding: 9px 14px;
    font-size: 0.82rem;
    flex: 1;
    min-width: 125px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .deal-banner-section {
    padding: 36px 20px;
  }

  .deal-banner-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .deal-heading {
    font-size: 2rem;
  }

  .deal-subtext {
    margin: 10px auto 20px;
  }

  .countdown-timer {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}
