body {
  display: flex;
  flex-flow: column nowrap;
  margin: 0 auto;
  padding: 0;
}

main {
  display: flex;
  flex-flow: column nowrap;
}

.cart-section {
  display: none;
}

/* Hero Section -------------------------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: 1fr;
}

/* Left panel shown below the photo on mobile */
.hero__left {
  display: grid;
  order: 1;
}

.hero__left-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 2rem;
  justify-content: center;
  align-items: center;
  background: rgba(var(--burgundy), 1);
}

.hero__heading {
  font-family: "Yeseva One", serif;
  font-size: 2rem;
  color: rgba(var(--milky-way), 1);
  line-height: 1.1;
}

.hero__subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  color: rgba(var(--milky-way), 1);
}

/* Close-up product photo only shown on desktop */
.hero__left-bottom {
  display: none;
}

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

.hero__main-photo {
  display: block;
  width: 100%;
}

.hero__main-photo img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 50%;
}

.hero__cta {
  display: block;
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 4rem);
  max-width: 240px;
  padding: 1rem 2rem;
  background: rgba(217, 217, 217, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 15px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(var(--milky-way), 1);
  text-align: center;
  white-space: nowrap;
  transition: background 0.3s ease;
}

.hero__cta:hover {
  background: rgba(217, 217, 217, 0.35);
}

.promo-banner {
  order: 2;
  position: relative;
  overflow: hidden;
}

.promo-banner figure {
  position: relative;
  margin: 0;
}

.promo-banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.promo-banner figcaption {
  position: absolute;
  top: 50%;
  left: 75%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1;
}

.promo-banner figcaption strong {
  font-size: 2rem;
  color: rgba(var(--burgundy), 1);
}

/* Benefits Section ---------------------------------------------------------------------------- */
.benefits {
  background: rgba(var(--milky-way), 1);
}

.benefits h2 {
  display: flex;
  flex-flow: column nowrap;
  justify-content: end;
  grid-column: 1;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  color: rgba(var(--burgundy), 1);
  text-align: left;
  line-height: 1.3;
}

.benefits__header {
  display: flex;
  flex-flow: row nowrap;
  padding: 2rem;
}

.benefits__header-right {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: end;
  gap: 1.5rem;
}

.benefits__header-right img {
  height: 2.5rem;
}

.benefits-hook {
  grid-column: 2;
  font-size: 0.875rem;
  font-weight: 600;
  color: #282828;
  text-align: right;
  line-height: 1.4;
}

.benefits-solution {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: -1rem;
  background-color: var(--clr-surface-inverse);
  color: var(--clr-text-inverse);
}

.benefits-solution p {
  font-weight: 600;
  text-transform: uppercase;
}

.benefits-solution img {
  width: 100%;
  max-height: 7vh;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center top;
}

/* Product Thumbnails -------------------------------------------------------------------------- */
.product-thumbnails {
  padding-top: 2rem;
  display: flex;
  flex-flow: row nowrap;
  gap: 1rem;
}

.product-thumbnails picture {
  overflow: hidden;
}

.product-thumbnails img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}

/* Benefits list ------------------------------------------------------------------------------- */
.benefits-list {
  display: flex;
  flex-flow: column wrap;
  gap: 2rem;
  margin: 0;
  padding: 2rem 0;
  list-style: none;
  overflow: hidden;
}

.benefits-list li {
  display: flex;
  flex-flow: row nowrap;
  position: relative;
  padding: 1rem 2rem;
  z-index: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #282828;
  margin: 0;
  width: 100%;
  overflow: hidden;
}

.benefits-list p {
  width: 85%;
}

.benefits-list li::before {
  content: "";
  position: absolute;
  top: 0;
  right: 3rem;
  bottom: 0;
  left: -3rem;
  background: var(--clr-surface-bubble);
  border-radius: 5rem;
  box-shadow: inset 0 4px 4px rgba(0, 0, 0, 0.25);
  z-index: -1;
}

.benefits-list li:nth-child(2) {
  justify-content: end;
  text-align: right;
}

.benefits-list li:nth-child(2)::before {
  top: 0;
  left: 3rem;
  right: -3rem;
}

/* Product Grid -------------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--clr-surface-primary);
}

.product-card {
  display: flex;
  flex-flow: column nowrap;
}

.product-card-image {
  border-radius: 1rem;
}

.product-card-info {
  padding: 0.75rem 0;
}

.product-card-title a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-text-primary);
}

.product-card-price {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #282828;
  opacity: 0.6;
}

.price-loading {
  font-style: italic;
}

/* Actions Row --------------------------------------------------------------------------------- */
.actions {
  display: flex;
  justify-content: center;
  padding: 1.25rem 1rem;
  background: rgba(var(--milky-way), 1);
}

.cta-button {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #282828;
}

/* ============================================================================================= */
/* TABLET                                                                                        */
/* ============================================================================================= */
@media (min-width: 600px) {
  /* Hero Section ------------------------------------------------------------------------------ */
  .hero__main-photo img {
    aspect-ratio: 16 / 9;
  }

  .benefits h2 {
    font-size: 1.125rem;
  }

  .benefits-hook {
    font-size: 1rem;
  }

  .product-card-title a {
    font-size: 1.25rem;
  }

  .product-card-price {
    opacity: 0.8;
  }
}

/* ============================================================================================= */
/* DESKTOP                                                                                       */
/* ============================================================================================= */
@media (min-width: 960px) {
  /* Hero Section ------------------------------------------------------------------------------ */
  .hero {
    grid-template-columns: 1fr 1fr;
    height: calc(100vh - 4.5rem);
    min-height: 600px;
    max-height: 1024px;
  }

  .hero__left {
    display: grid;
    grid-template-rows: 38% 62%;
    order: 0;
  }

  .hero__left-bottom {
    display: flex;
    align-items: center;
    overflow: hidden;
    background: rgba(var(--milky-way), 1);
    padding: 2rem 3rem;
  }

  .hero__left-top {
    display: flex;
    flex-flow: column nowrap;
    gap: 1rem;
    background: rgba(var(--burgundy), 1);
    padding: 2rem 3rem 2.5rem;
  }

  .hero__heading {
    font-family: "Yeseva One", serif;
    font-size: clamp(2.5rem, 3.5vw, 4.5rem);
    color: rgba(var(--milky-way), 1);
    line-height: 1.1;
  }

  .hero__subtitle {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.44px;
    text-transform: uppercase;
    color: rgba(var(--milky-way), 1);
  }

  .hero__left-bottom picture {
    width: 100%;
  }

  .hero__left-bottom img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center;
  }

  .hero__right {
    position: relative;
  }

  .hero__main-photo {
    position: absolute;
    inset: 0;
  }

  .hero__main-photo img {
    aspect-ratio: unset;
    width: 100%;
    height: 100%;
    object-position: center top;
  }

  .hero__cta {
    bottom: 3rem;
    width: clamp(220px, 50%, 363px);
    padding: 1.375rem 2rem;
    font-size: 1.5rem;
    letter-spacing: 2.16px;
  }

  /* Benefits Section -------------------------------------------------------------------------- */
  .benefits {
    padding: 2rem 4rem;
    background: linear-gradient(to bottom, #f9f9f9, white);
    text-align: center;
    overflow: visible;
  }

  .benefits__header {
    display: block;
    margin-bottom: 1rem;
  }

  .benefits h2 {
    font-family: "Yeseva One", serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    text-align: center;
    margin-bottom: 1rem;
  }

  .benefits-hook {
    font-size: 1.25rem;
    font-weight: 500;
    color: #666;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .benefits-solution {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
  }

  .benefits-list {
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
  }

  .benefits-list li {
    display: flex;
    flex-flow: row nowrap;
    gap: 1.5rem;
    align-items: center;
    padding: 1rem;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease;
    z-index: auto;
  }

  .benefits-list li::before,
  .benefits-list li:nth-child(2)::before {
    display: none;
  }

  .benefits-list li:nth-child(2) {
    text-align: left;
  }

  .benefits-list li img {
    display: block;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    filter: var(--burgundy-filter);
  }

  .benefits-list li p {
    font-size: 1rem;
    color: #333;
  }

  .benefits-list li:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }

  /* Product Thumbnails ------------------------------------------------------------------------ */
  .product-thumbnails {
    display: none;
  }

  /* Product Grid ------------------------------------------------------------------------------ */
  .product-grid {
    margin: 2rem 0;
    border: 1px solid black;
    background-color: black;
  }

  .product-card-info {
    padding: 0.5rem;
    border-top: 1px solid black;
  }

  .product-card-title a {
    font-size: 1.5rem;
    color: #000;
  }

  .product-card-price {
    font-size: 1rem;
    opacity: 1;
    color: var(--color-accent, #888);
  }

  .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }

  .actions {
    padding: 2rem;
  }

  .cta-button {
    font-size: 0.875rem;
  }
}

/* ============================================================================================= */
/* WIDE DESKTOP                                                                                  */
/* ============================================================================================= */
@media (min-width: 1280px) {
  /* Hero Section ------------------------------------------------------------------------------ */
  .hero__left-top {
    padding: 2.5rem 4rem 3rem;
  }

  .hero__left-bottom {
    padding: 2.5rem 4rem;
  }
}
