.royal-gallery {
  position: relative;
  z-index: 2;
  width: min(570px, 100%);
  height: 365px;
  justify-self: center;
  display: grid;
  grid-template-columns: 1.22fr .78fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.royal-heading strong,
.royal-heading span {
  display: block;
}

.royal-campaign {
  position: relative;
  z-index: 2;
  width: min(650px, 100%);
  height: 365px;
  justify-self: center;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 24px;
  background: #f6c914;
  box-shadow: 0 22px 55px rgba(0, 38, 24, .28);
}

.royal-campaign-copy {
  position: relative;
  z-index: 2;
  padding: 29px 25px 24px;
  display: flex;
  flex-direction: column;
  color: #075b37;
  background: linear-gradient(145deg, #ffd83b, #efb90b);
}

.royal-campaign-copy::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -38px;
  width: 145px;
  height: 145px;
  border: 24px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
}

.royal-campaign-copy>span {
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .17em;
}

.royal-campaign-copy>strong {
  margin: 22px 0 14px;
  color: #064f33;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(50px, 5vw, 72px);
  font-weight: 950;
  line-height: .78;
  letter-spacing: -.06em;
}

.royal-campaign-copy>b {
  width: max-content;
  max-width: 100%;
  padding: 7px 9px;
  border-radius: 6px;
  background: #087d48;
  color: #fff;
  font-size: 11px;
  letter-spacing: .08em;
}

.royal-campaign-copy>small {
  position: relative;
  z-index: 2;
  margin-top: auto;
  max-width: 165px;
  color: #27593f;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.5;
}

.royal-campaign-photo {
  position: relative;
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #dfeee6;
}

.royal-campaign-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(0, 50, 31, .88));
}

.royal-campaign-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 58% 42%;
}

.royal-campaign-photo figcaption {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 15px;
  color: #fff;
}

.royal-campaign-photo figcaption strong,
.royal-campaign-photo figcaption span {
  display: block;
}

.royal-campaign-photo figcaption strong {
  font-size: 16px;
  letter-spacing: .08em;
}

.royal-campaign-photo figcaption span {
  margin-top: 3px;
  color: #d8f2e5;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.royal-heading strong {
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 950;
  line-height: .98;
  letter-spacing: .025em;
}

.royal-heading span {
  max-width: 470px;
  margin-top: 14px;
  color: #d5eee3;
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.025em;
}

.royal-photo {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 18px;
  background: #dfeee6;
  box-shadow: 0 18px 42px rgba(0, 33, 22, .26);
}

.royal-photo-main {
  grid-row: 1 / 3;
}

.royal-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .5s ease;
}

.royal-photo-main img {
  object-position: 50% 60%;
}

.royal-photo:nth-child(2) img {
  object-position: 50% 56%;
}

.royal-photo:nth-child(3) img {
  object-position: 50% 38%;
}

.royal-photo:hover img {
  transform: scale(1.035);
}

.royal-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(transparent, rgba(1, 28, 20, .82));
  pointer-events: none;
}

.royal-photo figcaption {
  position: absolute;
  z-index: 2;
  left: 14px;
  right: 12px;
  bottom: 12px;
  color: #fff;
}

.royal-photo figcaption strong,
.royal-photo figcaption span {
  display: block;
}

.royal-photo figcaption strong {
  font-size: 13px;
  letter-spacing: .035em;
}

.royal-photo figcaption span {
  margin-top: 2px;
  color: rgba(255, 255, 255, .78);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.royal-detail-image {
  width: 118px;
  height: 142px;
  flex: 0 0 118px;
  display: block;
  object-fit: cover;
  object-position: 50% 56%;
  border: 4px solid #fff;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(5, 65, 45, .16);
}

@media (max-width: 980px) {
  .royal-gallery {
    height: 330px;
  }

  .royal-campaign {
    height: 330px;
    grid-template-columns: .72fr 1.28fr;
  }
}

@media (max-width: 720px) {
  body {
    overflow-x: hidden;
  }

  .product-slide,
  .slide-copy,
  .royal-gallery,
  .royal-campaign {
    min-width: 0;
  }

  .product-slide {
    width: 100%;
  }

  .royal-heading strong {
    font-size: 35px;
  }

  .royal-heading span {
    margin-top: 9px;
    font-size: 24px;
  }

  .royal-gallery {
    width: min(430px, 100%);
    height: 275px;
    gap: 8px;
  }

  .royal-campaign {
    width: min(430px, 100%);
    height: 255px;
    grid-template-columns: .72fr 1.28fr;
    border-radius: 15px;
  }

  .royal-campaign-copy {
    padding: 18px 13px 15px;
  }

  .royal-campaign-copy>strong {
    margin: 14px 0 10px;
    font-size: 43px;
  }

  .royal-campaign-copy>b {
    padding: 6px;
    font-size: 8px;
  }

  .royal-campaign-copy>small {
    font-size: 8px;
  }

  .royal-campaign-photo figcaption {
    left: 11px;
    bottom: 10px;
  }

  .royal-campaign-photo figcaption strong {
    font-size: 12px;
  }

  .royal-photo {
    border-radius: 13px;
  }

  .royal-photo figcaption {
    left: 9px;
    bottom: 8px;
  }

  .royal-photo figcaption span {
    display: none;
  }

  .royal-detail-image {
    width: 88px;
    height: 108px;
    flex-basis: 88px;
    border-radius: 14px;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 8px;
    padding-right: 10px !important;
    padding-left: 10px !important;
  }

  .site-header .brand {
    gap: 8px;
  }

  .site-header .brand-mark {
    width: 48px !important;
    height: 48px !important;
  }

  .site-header .brand-copy strong {
    font-size: 20px !important;
  }

  .header-actions {
    gap: 0;
  }

  .header-login {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }
}

@media (max-width: 430px) {
  .site-header .brand-mark {
    width: 44px !important;
    height: 44px !important;
  }

  .site-header .brand-copy strong {
    font-size: 18px !important;
  }

  .site-header .brand-copy small {
    font-size: 7px;
    letter-spacing: .2em;
  }

  .header-login::before {
    content: "ERP";
  }
}
