/* Landing page: grocery retail, inventory and ASP automation */
.page-grocery {
  --rental-blue: #2857c7;
  --rental-blue-strong: #173d8f;
  --rental-cyan: #25b0cf;
  --rental-green: #098463;
  --grocery-green: #15966f;
  --grocery-lime: #76b84b;
  --grocery-amber: #d9932f;
}

.page-grocery .rental-hero {
  border-color: rgba(94, 167, 145, .32);
  background:
    radial-gradient(760px 470px at 12% 8%, rgba(66, 132, 242, .42), transparent 63%),
    radial-gradient(640px 430px at 91% 7%, rgba(57, 176, 126, .27), transparent 64%),
    linear-gradient(135deg, #09172f 0%, #173f87 54%, #17594f 100%);
}

.page-grocery .rental-dashboard::before {
  background: #26a776;
}

.page-grocery .rental-answer-strip__mark {
  background: linear-gradient(135deg, var(--rental-blue), var(--grocery-green));
}

.page-grocery .rental-final {
  background: linear-gradient(120deg, #173f99, #2865d4 52%, #178866);
}

.grocery-focus {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid rgba(21, 150, 111, .22);
  border-radius: 24px;
  background: linear-gradient(120deg, #eaf9f3, #f5f9ff 56%, #fff8eb);
  box-shadow: 0 16px 42px rgba(24, 96, 75, .09);
}

.grocery-focus__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--rental-blue), var(--grocery-green));
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .04em;
  box-shadow: 0 12px 26px rgba(15, 131, 95, .2);
}

.grocery-focus strong,
.grocery-focus span {
  display: block;
}

.grocery-focus strong {
  margin-bottom: 4px;
  color: #173e48;
  font-size: clamp(17px, 2vw, 21px);
}

.grocery-focus span {
  max-width: 920px;
  color: #566e76;
  font-size: 14px;
  line-height: 1.55;
}

.grocery-focus__badge {
  padding: 9px 12px;
  border: 1px solid rgba(21, 150, 111, .2);
  border-radius: 999px;
  background: #fff;
  color: #087657;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.grocery-asp {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .76fr) minmax(570px, 1.24fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
  overflow: hidden;
  padding: clamp(34px, 5vw, 58px);
  border-radius: 30px;
  background:
    radial-gradient(440px 330px at 8% 6%, rgba(64, 142, 255, .27), transparent 68%),
    linear-gradient(135deg, #0b1835 0%, #173d82 61%, #145346 100%);
  color: #fff;
  box-shadow: 0 30px 80px rgba(25, 64, 82, .24);
}

.grocery-asp::after {
  position: absolute;
  right: -180px;
  bottom: -260px;
  z-index: -1;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(255, 255, 255, .035), 0 0 0 144px rgba(255, 255, 255, .02);
  content: "";
}

.grocery-asp h2 {
  color: #fff;
}

.grocery-asp__copy > p {
  color: rgba(235, 242, 255, .78);
  font-size: 16px;
  line-height: 1.65;
}

.grocery-asp__metrics {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.grocery-asp__metrics span {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 13px;
  background: rgba(255, 255, 255, .065);
  color: rgba(232, 240, 255, .7);
  font-size: 12px;
  line-height: 1.45;
}

.grocery-asp__metrics strong {
  color: #fff;
  font-size: 12px;
}

.grocery-asp__shot .rental-shot__frame {
  border-color: rgba(255, 255, 255, .2);
  box-shadow: 0 28px 70px rgba(0, 8, 29, .38);
}

.grocery-asp__shot figcaption strong {
  color: #fff;
}

.grocery-asp__shot figcaption span {
  color: rgba(230, 238, 255, .68);
}

.grocery-operations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.grocery-gallery-note {
  margin-top: 16px;
  color: #69768b;
  font-size: 12px;
  text-align: center;
}

.grocery-roles {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page-grocery .rental-gallery__grid .rental-shot:first-child {
  grid-column: auto;
}

.page-grocery .rental-gallery__grid .rental-shot:first-child .rental-shot__frame img {
  aspect-ratio: 8 / 5;
}

@media (max-width: 1120px) {
  .grocery-asp {
    grid-template-columns: 1fr;
  }

  .grocery-asp__shot {
    max-width: 900px;
  }

  .grocery-roles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .grocery-focus {
    grid-template-columns: auto 1fr;
    padding: 18px;
  }

  .grocery-focus__badge {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .grocery-asp {
    padding: 30px 18px;
    border-radius: 23px;
  }

  .grocery-asp__metrics span {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .grocery-operations,
  .grocery-roles {
    grid-template-columns: 1fr;
  }
}
