/* This campaign's checkout treatment; shared product templates keep their styles. */
.aosomir-page .photo img {
  display: block;
  height: min(520px, calc(100svh - 250px));
  object-fit: contain;
}
@media (max-width: 780px) {
  .aosomir-page .photo img {
    height: clamp(200px, 50svh, 360px);
  }
}
.aosomir-page #lead-form {
  margin-top: 28px;
  padding: 26px;
  border: 1px solid #e9cfd5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 36px #7220380c;
}
.checkout-intro {
  border-bottom: 1px solid #efdde1;
  margin-bottom: 22px;
  padding-bottom: 20px;
  scroll-margin-top: 24px;
}
.checkout-intro .eyebrow {
  margin-bottom: 8px;
  letter-spacing: 1.4px;
}
.checkout-intro h2 {
  margin: 0 0 8px;
  font-size: 25px;
  line-height: 1.3;
  font-weight: 800;
  color: #7a2033;
}
.checkout-intro > p:last-child {
  margin: 0;
  color: #75656b;
  font-size: 13px;
  line-height: 1.7;
}
.aosomir-page .bundle-grid {
  gap: 8px;
}
.aosomir-page .bundle-choice input {
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  z-index: 1;
  cursor: pointer;
}
.aosomir-page .bundle-choice > span {
  position: relative;
  min-height: 132px;
  padding: 30px 7px 15px;
  border: 2px solid #e8dde0;
  border-radius: 14px;
  background: #fff;
}
.aosomir-page .bundle-choice strong {
  color: #34242b;
  font-size: 15px;
  font-weight: 800;
}
.aosomir-page .bundle-choice b {
  font-size: 16px;
  letter-spacing: -0.3px;
}
.aosomir-page .bundle-choice small {
  font-size: 10px;
  line-height: 1.5;
}
.aosomir-page .bundle-choice input:checked + span {
  border-color: #b41443;
  background: #fff0f4;
  box-shadow: 0 5px 18px #a4143b16;
}
.aosomir-page .bundle-choice input:checked + span::before {
  content: "ĐANG CHỌN";
  position: absolute;
  top: 8px;
  inset-inline: 0;
  font-size: 9px;
  font-weight: 800;
  color: #a4143b;
  letter-spacing: 0.5px;
}
.aosomir-page .selection > legend span {
  font-size: 16px;
}
.aosomir-page .product-item {
  border-radius: 14px;
  background: #fcf9fa;
  border-color: #eadce0;
}
.aosomir-page .estimate {
  padding: 16px;
  border: 0;
  border-radius: 12px;
  background: #f9edf1;
  margin-bottom: 0;
}
.aosomir-page .estimate strong {
  font-size: 16px;
}
.aosomir-page .shipping-summary {
  border: 0;
  padding-top: 20px;
}
.aosomir-page .shipping-promotion {
  border-radius: 10px;
  font-size: 13px;
}
.aosomir-page .contact-form {
  margin-top: 26px;
  padding: 18px;
  border: 1px solid #e5e0db;
  border-radius: 16px;
  background: #f7f5f2;
  scroll-margin-top: 24px;
}
.aosomir-page .contact-form > legend {
  padding: 7px 10px;
  background: #f7f5f2;
  border-radius: 8px;
}
.aosomir-page .contact-form > legend span {
  font-size: 15px;
}
.aosomir-page .contact-form label {
  font-size: 13px;
  font-weight: 600;
}
.aosomir-page .contact-form input:not([type="checkbox"]),
.aosomir-page .contact-form select,
.aosomir-page .contact-form textarea {
  border-radius: 9px;
  border-color: #ddd5d0;
  font-weight: 400;
  min-height: 48px;
}
.aosomir-page .submit {
  border-radius: 11px;
  background: #ad123e;
  box-shadow: 0 7px 18px #ad123e20;
}
.aosomir-page .submit:hover {
  background: #8d0d30;
}
.order-dock {
  display: none;
}
@media (max-width: 780px) {
  html:has(.order-dock) {
    --order-dock-height: calc(76px + env(safe-area-inset-bottom));
    scroll-padding-bottom: calc(var(--order-dock-height) + 24px);
  }
  body.aosomir-page {
    padding-bottom: calc(var(--order-dock-height) + 16px);
  }
  .aosomir-page #lead-form {
    padding: 18px 14px;
    border-radius: 20px;
    margin-top: 26px;
  }
  .checkout-intro {
    padding: 0 2px 18px;
  }
  .checkout-intro h2 {
    font-size: 24px;
  }
  .aosomir-page .contact-form {
    padding: 14px 12px;
  }
  .aosomir-page #lead-form .submit {
    scroll-margin-block: 24px calc(var(--order-dock-height) + 24px);
  }
  .aosomir-page .contact-form > legend span {
    font-size: 14px;
    margin-left: 7px;
  }
  .aosomir-page .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .order-dock {
    position: fixed;
    z-index: 65;
    left: 0;
    right: 0;
    bottom: var(--order-dock-lift, 0px);
    min-height: calc(76px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 12px;
    align-items: center;
    padding: 10px max(14px, env(safe-area-inset-right))
      calc(10px + env(safe-area-inset-bottom))
      max(14px, env(safe-area-inset-left));
    background: #fff;
    border-top: 1px solid #ead3d9;
    box-shadow: 0 -5px 24px #48132312;
  }
  .order-dock-summary {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 3px;
  }
  .order-dock-summary small {
    color: #75646a;
    font-size: 11px;
  }
  .order-dock-summary strong {
    color: #851b39;
    font-size: 17px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }
  .order-dock > :is(a, button) {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 0;
    background: #b20c3e;
    color: #fff;
    text-decoration: none;
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    box-shadow: 0 5px 12px #b20c3e26;
  }
  .order-dock > :is(a, button):active {
    background: #8a0a30;
  }
  .order-dock > button:disabled {
    opacity: 0.65;
    cursor: wait;
  }
  .aosomir-page:has(dialog[open], .measurement-banner:not([hidden]))
    .order-dock {
    visibility: hidden;
  }
  .aosomir-page.checkout-in-view .contact-widget {
    visibility: hidden;
  }
  .aosomir-page
    #lead-form
    :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    font-size: 16px;
  }
  .aosomir-page .contact-widget[data-mobile^="bottom"] {
    bottom: calc(var(--order-dock-height) + 12px);
  }
  .aosomir-page
    .contact-widget[data-mobile-layout="bar"][data-mobile^="bottom"] {
    bottom: var(--order-dock-height);
    padding-bottom: 10px;
  }
  body.aosomir-page:has(
      .contact-widget[data-mobile-layout="bar"][data-mobile^="bottom"]
    ) {
    padding-bottom: calc(var(--order-dock-height) + 84px);
  }
  html:has(
    .aosomir-page
      .contact-widget[data-mobile-layout="bar"][data-mobile^="bottom"]
  ) {
    scroll-padding-bottom: calc(var(--order-dock-height) + 104px);
  }
}
@media print {
  .order-dock {
    display: none;
  }
}
