/* ============================================================
   Custom Section
   ============================================================ */

/* Override Shopify's section wrapper defaults */
.section-custom,
#shopify-section-custom_section {
  background: #fff !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.custom-section {
  background: #fff;
  padding: 0;
}


/* Image outer wrapper — same max-width as best sellers */
.custom-section__image-outer {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

/* Image inner wrapper — rounded corners + fixed height */
.custom-section__image-wrap {
  overflow: hidden;
  border-radius: 10px;
  height: 45vh;
  min-height: 360px;
  max-height: 540px;
}

.custom-section__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Overlay button — bottom right of image, outside overflow:hidden wrap */
.custom-section__overlay-btn-wrap {
  position: absolute;
  bottom: 2.5rem;
  right: 5rem;
  z-index: 3;
}

.custom-section__overlay-btn {
  display: inline-block;
  background: #e17512;
  color: #ffffff;
  border: none;
  padding: 1.275rem 3.3rem;
  font-size: 1.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease;
}

.custom-section__overlay-btn:hover {
  background: #c96510;
}

/* Text block */
.custom-section__text {
  background: #fff;
  text-align: center;
  padding: 2.5rem 2rem 3rem;
  max-width: 680px;
  margin: 0 auto;
}

.custom-section__text-heading {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #111;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.custom-section__text-body {
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 400;
  color: #444;
  line-height: 1.7;
  margin: 0 0 2rem;
}


/* Responsive */
@media screen and (max-width: 989px) {
  .custom-section__image-wrap {
    height: 39vh;
    min-height: 300px;
  }
}

@media screen and (max-width: 749px) {
  .custom-section__image-outer {
    padding: 0 1.5rem;
  }

  .custom-section__image-wrap {
    height: 29vh;
    min-height: 180px;
  }

  .custom-section__overlay-btn-wrap {
    bottom: 1rem;
    right: 3rem;
  }

  .custom-section__overlay-btn {
    padding: 0.9rem 2rem;
    font-size: 1.35rem;
  }
}
