/* ===== HERO SLIDER SECTION ===== */
.home-hero-slider {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    margin-top: 0 !important;
    padding-top: 0 !important;
    background: #fdf9f2;
}

/* Each slide */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Soft overlay for text readability */
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.18);
    z-index: 1;
}

/* New: Styles for standalone hero buttons (kept as before) */
.hero-btn-standalone {
    position: relative;
    z-index: 5;
    background: #234534 !important;
    color: #fff !important;
    padding: 12px 30px !important;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none !important;
    letter-spacing: 0.4px;
    transition: 0.3s ease;
}
.hero-btn-standalone:hover {
    background: #1b3528 !important;
    transform: translateY(-2px);
}
.btn-primary {
    display: inline-block;
    background: linear-gradient(90deg, #b89d5c, #d7be7f);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(184, 157, 92, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(90deg, #c7a84f, #e6cf8e);
    box-shadow: 0 6px 18px rgba(184, 157, 92, 0.45);
    transform: translateY(-3px);
}

/* Navigation buttons */
.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 10;
    background: rgba(255,255,255,0.7);
    transition: 0.3s ease;
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(255,255,255,0.9);
}
.hero-prev { left: 20px; }
.hero-next { right: 20px; }

@media (max-width: 992px) {
    /* Adjust button position for smaller screens if necessary */
    .hero-btn-standalone {
        bottom: 8%; 
    }
}



/* ===== Final Aggressive Gap Removal Fixes ===== */
body {
    margin-top: 0 !important; 
}
header, .site-header, .main-header {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important; 
    box-shadow: none !important; 
}

/* This targets the first direct child of the body, which is usually the header or main container */
body > *:first-child {
    margin-top: 0 !important; 
    padding-top: 0 !important;
    margin-bottom: 0 !important;
}

.home-hero-slider {
    margin-top: -1px !important; 
    padding-top: 0 !important;
}

/* ===== Discover Our Collection — Horizontal Infinite Scroll ===== */
.scroll-container {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem 0;
  scrollbar-width: none; /* hide scrollbar for Firefox */
}
.scroll-container::-webkit-scrollbar {
  display: none; /* hide scrollbar for Chrome */
}

.product-card {
  background: #FAF5EF;
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  flex: 0 0 240px;
  min-width: 240px;
  text-align: center;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}
.product-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
  height: 260px;
  object-fit: cover;
}
.product-card:hover {
  transform: translateY(-4px);
}
.product-card h5 {
  font-size: 1rem;
  color: #3b2f2f;
  margin-bottom: 0.4rem;
}
.product-card p {
  color: #4b4b4b;
  font-weight: 500;
  font-size: 0.95rem;
}

/* Infinite scroll effect */
@keyframes infiniteScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.scroll-container.looping {
  display: flex;
  width: max-content;
  animation: infiniteScroll 30s linear infinite;
}

/* ===== Discover Our Collection — Horizontal Scroll (Side by Side) ===== */
.product-scroll-wrapper {
  width: 100%;
  overflow-x: hidden;
  position: relative;
  margin-top: 2rem;
}

.product-scroll {
  display: flex;
  flex-wrap: nowrap; /* Prevents wrapping — ensures items stay side by side */
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem 0;
  scrollbar-width: none; /* Hide Firefox scrollbar */
}
.product-scroll::-webkit-scrollbar {
  display: none; /* Hide Chrome scrollbar */
}

.product-card {
  flex: 0 0 240px; /* Fixed width for each product */
  background: #FAF5EF;
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}
.product-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.product-card:hover {
  transform: translateY(-4px);
}
.product-card h5 {
  font-size: 1rem;
  color: #3b2f2f;
  margin-bottom: 0.4rem;
}
.product-card p {
  color: #4b4b4b;
  font-weight: 500;
  font-size: 0.95rem;
}

/* ===== Optional Infinite Loop Animation ===== */
@keyframes infiniteScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.product-scroll.looping {
  animation: infiniteScroll 35s linear infinite;
}
