/* My Crystal Gift — visual audit refinements */
:root {
  --page-gutter: clamp(24px, 4vw, 72px);
}

.home-page {
  overflow-x: clip;
}

.hero {
  grid-template-columns: minmax(0, 57%) minmax(0, 43%);
  min-height: 500px;
}

.hero > img {
  min-height: 500px;
  object-position: center 45%;
}

.hero-copy {
  position: relative;
  padding: clamp(42px, 5vw, 78px);
}

.hero-copy h1 {
  font-size: clamp(46px, 4.35vw, 62px);
  line-height: .98;
  margin: 8px 0 18px;
  white-space: nowrap;
}

.hero-detail {
  position: absolute;
  right: clamp(26px, 5vw, 76px);
  bottom: 25px;
  display: block;
  width: min(235px, 55%);
  height: 125px;
  border: 3px solid #fff;
  box-shadow: 0 8px 24px rgba(48, 36, 29, .12);
  object-fit: cover;
}

.home-section {
  padding-top: 44px;
}

/* WooCommerce retains clearfix pseudo-elements on product lists.  In a CSS
 * grid those invisible nodes consume the first and last grid cells. */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none !important;
  display: none !important;
}

.site-footer .footer-mark b {
  white-space: nowrap;
}

@media (min-width: 701px) and (max-width: 1050px) {
  .masthead {
    min-height: 70px;
    padding: 0 28px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 10;
    flex-direction: column;
    gap: 14px;
    padding: 20px 28px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    font-size: 11px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: 440px;
  }

  .hero > img {
    min-height: 440px;
  }

  .hero-copy h1 {
    font-size: 44px;
    white-space: normal;
  }

  .hero-detail {
    display: none;
  }
}

@media (max-width: 700px) {
  .hero > img {
    min-height: 350px;
    height: 350px;
  }

  .hero-copy {
    padding: 30px 24px 34px;
  }

  .hero-copy h1 {
    font-size: 40px;
    margin-bottom: 15px;
    white-space: normal;
  }

  .hero-copy > p:not(.eyebrow) {
    margin-bottom: 18px;
  }

  .hero-detail {
    display: none;
  }

  .olive-button,
  .single-product button.single_add_to_cart_button {
    min-height: 46px;
  }
}

.woocommerce #reviews .comment .mcg-review-image {
  margin: 14px 0 0;
}

.woocommerce #reviews .comment .mcg-review-image img {
  width: min(260px, 100%);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--cream);
}
