/* =====================================================
   HERO
===================================================== */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: relative;

  min-height: 420px;
  height: 58vh;
  max-height: 620px;

  display: flex;
  align-items: center;

  background: #e9dfd4;
}

.hero-inner {
  position: relative;
  z-index: 2;

  width: min(100%, 1240px);
  margin: 0 auto;

  padding: 0 24px;
}

.hero-content {
  max-width: 590px;
  padding: 50px 0;
}

.hero-title {
  font: 500 clamp(42px, 6vw, 76px) / 0.98 Georgia, serif;

  letter-spacing: -0.045em;

  margin: 0 0 20px;
}

.hero-copy {
  max-width: 500px;

  color: #5e5953;

  margin: 0 0 26px;
}

.hero-media {
  position: absolute;
  inset: 0;

  display: flex;
  justify-content: flex-end;
}

.hero-media img {
  width: 54%;
  height: 100%;

  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    #e9dfd4 0%,
    rgba(233, 223, 212, 0.9) 36%,
    rgba(233, 223, 212, 0.05) 70%
  );
}

.slider-dots {
  position: absolute;

  bottom: 20px;
  left: 50%;

  transform: translateX(-50%);

  display: flex;
  gap: 7px;

  z-index: 3;
}

.slider-dot {
  width: 7px;
  height: 7px;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: #aaa;

  cursor: pointer;
}

.slider-dot.active {
  width: 22px;

  border-radius: 10px;

  background: var(--ink);
}


/* =====================================================
   PRODUCT STRIP
===================================================== */

.product-strip {
  overflow: hidden;
}

.product-track {
  display: grid;

  grid-auto-flow: column;
  grid-auto-columns: minmax(245px, 1fr);

  gap: 20px;

  overflow-x: auto;

  scroll-snap-type: x mandatory;

  padding-bottom: 8px;
}

.product-track::-webkit-scrollbar {
  height: 5px;
}

.product-track::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}


/* =====================================================
   CATEGORY CARDS
===================================================== */

.category-card {
  position: relative;

  min-height: 310px;

  overflow: hidden;

  border-radius: 18px;

  color: #fff;
}

.category-card img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.5s ease;
}

.category-card:hover img {
  transform: scale(1.04);
}

.category-card::after {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.68),
    transparent 60%
  );
}

.category-content {
  position: absolute;

  left: 22px;
  right: 22px;
  bottom: 20px;

  z-index: 2;
}

.category-content h3 {
  font: 500 27px Georgia, serif;

  margin: 0 0 4px;
}

.category-content p {
  font-size: 13px;

  color: #eee;

  margin: 0;
}


/* =====================================================
   FEATURE BAND
===================================================== */

.feature-band {
  background: #eee8df;
}

.feature {
  padding: 28px 10px;

  text-align: center;
}

.feature-icon {
  font-size: 24px;

  margin-bottom: 8px;
}

.feature h3 {
  font-size: 14px;

  margin: 0 0 4px;
}

.feature p {
  font-size: 12px;

  color: var(--muted);

  margin: 0;
}


/* =====================================================
   STORY
===================================================== */

.story {
  display: grid;

  grid-template-columns: 1fr 1fr;

  min-height: 460px;
}

.story img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.story-copy {
  display: flex;
  align-items: center;

  padding: 60px;

  background: #e7ddd2;
}

.story-copy-inner {
  max-width: 480px;
}


/* =====================================================
   NEWSLETTER
===================================================== */

.newsletter {
  background: var(--ink);

  color: #fff;

  border-radius: 24px;

  padding: 48px;
}

.newsletter-form {
  display: flex;

  gap: 10px;

  margin-top: 20px;

  max-width: 540px;
}

.newsletter-form input {
  flex: 1;

  border: 0;

  border-radius: 999px;

  padding: 14px 18px;

  outline: none;
}


/* =====================================================
   FEATURED PRODUCTS — SIMPLE SLIDER
===================================================== */

#featured-products {
  display: grid;

  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 60px) / 4);

  gap: 20px;

  overflow-x: auto;
  overflow-y: hidden;

  padding: 2px 2px 12px;

  scroll-behavior: smooth;

  scroll-snap-type: x mandatory;

  scrollbar-width: none;

  -webkit-overflow-scrolling: touch;
}

#featured-products::-webkit-scrollbar {
  display: none;
}


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

#featured-products .product-card {
  min-width: 0;

  background: transparent;

  border: 0;

  border-radius: 0;

  box-shadow: none;

  scroll-snap-align: start;
}


/* =====================================================
   PRODUCT IMAGE
===================================================== */

#featured-products .product-image {
  position: relative;

  display: block;

  width: 100%;

  aspect-ratio: 1 / 1.18;

  overflow: hidden;

  background: #f5f3ef;

  border-radius: 9px;
}

#featured-products .product-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.35s ease;
}

#featured-products .product-card:hover
.product-image img {
  transform: scale(1.03);
}


/* =====================================================
   PRODUCT BADGE
===================================================== */

#featured-products .product-badge {
  position: absolute;

  top: 10px;
  left: 10px;

  padding: 5px 8px;

  background: #fff;

  color: #222;

  border-radius: 4px;

  font-size: 8px;

  font-weight: 700;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}


/* =====================================================
   HIDE QUICK ADD
===================================================== */

#featured-products .quick-add {
  display: none;
}


/* =====================================================
   PRODUCT INFO
===================================================== */

#featured-products .product-info {
  padding: 11px 1px 0;
}

#featured-products .product-category {
  margin-bottom: 4px;

  color: #999;

  font-size: 9px;

  font-weight: 600;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

#featured-products .product-name {
  display: block;

  margin: 0 0 6px;

  color: #222;

  font-size: 14px;

  line-height: 1.35;

  font-weight: 600;

  text-decoration: none;
}

#featured-products .rating {
  margin-bottom: 6px;

  color: #8c6b24;

  font-size: 10px;
}

#featured-products .price {
  display: flex;

  align-items: center;

  gap: 6px;

  color: #222;

  font-size: 14px;

  font-weight: 700;
}

#featured-products .compare {
  color: #aaa;

  font-size: 11px;

  font-weight: 400;

  text-decoration: line-through;
}


/* =====================================================
   TABLET — 3 CARDS
===================================================== */

@media (max-width: 900px) {

  #featured-products {
    grid-auto-columns: calc((100% - 32px) / 3);

    gap: 16px;
  }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

  /* HERO */

  .hero-slide {
    height: 500px;

    min-height: 500px;
  }

  .hero-inner {
    width: 100%;

    padding: 0 20px;
  }

  .hero-content {
    max-width: 590px;

    padding: 35px 0;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-copy {
    max-width: 440px;
  }

  .hero-media img {
    width: 100%;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(233, 223, 212, 0.92),
      rgba(233, 223, 212, 0.42)
    );
  }


  /* STORY */

  .story {
    grid-template-columns: 1fr;
  }

  .story img {
    height: 320px;
  }

  .story-copy {
    padding: 45px 24px;
  }


  /* NEWSLETTER */

  .newsletter-form {
    display: block;

    width: 100%;
  }

  .newsletter-form input {
    width: 100%;

    margin-bottom: 10px;
  }

  .newsletter-form .btn {
    width: 100%;
  }


  /* FEATURED PRODUCTS */

  #featured-products {
    grid-auto-columns: calc((100% - 12px) / 2);

    gap: 12px;

    padding-bottom: 10px;

    scroll-snap-type: x mandatory;
  }

  #featured-products .product-card {
    scroll-snap-align: start;
  }

  #featured-products .product-image {
    aspect-ratio: 1 / 1.15;

    border-radius: 8px;
  }

  #featured-products .product-info {
    padding-top: 9px;
  }

  #featured-products .product-category {
    font-size: 8px;

    margin-bottom: 3px;
  }

  #featured-products .product-name {
    font-size: 12px;

    line-height: 1.35;

    margin-bottom: 5px;
  }

  #featured-products .rating {
    font-size: 9px;

    margin-bottom: 5px;
  }

  #featured-products .price {
    font-size: 13px;
  }

  #featured-products .compare {
    font-size: 10px;
  }

  #featured-products .product-badge {
    top: 7px;
    left: 7px;

    padding: 4px 6px;

    font-size: 7px;
  }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 380px) {

  .hero-inner {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 42px;
  }

  #featured-products {
    gap: 9px;

    grid-auto-columns: calc((100% - 9px) / 2);
  }

  #featured-products .product-name {
    font-size: 11px;
  }

  #featured-products .price {
    font-size: 12px;
  }

}




