/* LYA v33 — concise checkout summary, member avatar, and editable welcome dialog */
.site-shell .checkout-order-breakdown {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}
.site-shell .checkout-breakdown-heading,
.site-shell .checkout-pricing-note,
.site-shell .checkout-breakdown-item { order: 0; }
.site-shell .checkout-original-total { order: 10; }
.site-shell .checkout-discounts { order: 11; }
.site-shell .checkout-subtotal { order: 12; }
.site-shell .voucher-redemption { order: 13; }
.site-shell .checkout-order-breakdown > .checkout-breakdown-line:not(.checkout-original-total):not(.checkout-discounts):not(.checkout-subtotal):not(.voucher-discount):not(.checkout-savings):not(.checkout-breakdown-total) { order: 14; }
.site-shell .checkout-savings { order: 15; }
.site-shell .checkout-breakdown-total { order: 16; }
.site-shell .checkout-breakdown-item {
  grid-template-columns: 58px minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: 14px !important;
}
.site-shell .checkout-breakdown-item > span { min-width: 0; }
.site-shell .checkout-breakdown-item > span > strong {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.site-shell .checkout-item-side {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-width: max-content;
  font-variant-numeric: tabular-nums;
}
.site-shell .checkout-item-quantity {
  color: #8f0000 !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 700;
}
.site-shell .checkout-item-price {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  white-space: nowrap;
}
.site-shell .checkout-item-price del { margin: 0 !important; }
.site-shell .checkout-original-total,
.site-shell .checkout-discounts,
.site-shell .checkout-subtotal {
  margin-top: 4px;
}
.site-shell .checkout-discounts strong,
.site-shell .voucher-discount strong { color: #8f0000 !important; }
.site-shell .voucher-redemption {
  margin-top: 20px !important;
  margin-bottom: 24px !important;
  padding-bottom: 2px;
}
.site-shell .checkout-breakdown-total {
  margin-top: 20px !important;
  padding-top: 16px !important;
}
.site-shell .drawer-item-copy > small:not(.drawer-item-quantity) { display: none !important; }
.site-shell .drawer-item-copy > strong { display: block; line-height: 1.35; }
.site-shell .drawer-item-quantity { margin-top: 8px; }
.site-shell .header-profile-avatar .header-profile-initials {
  width: 100%;
  height: 100%;
  min-width: 30px;
  min-height: 30px;
  color: #ffffff !important;
  background: #750000 !important;
  border: 1px solid #750000 !important;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
}
.lya-community-welcome-backdrop {
  z-index: 1400;
  box-sizing: border-box;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  display: flex;
  position: fixed;
  inset: 0;
}
.lya-community-welcome {
  box-sizing: border-box;
  width: min(470px, 100%);
  color: #8f0000;
  background: #ffffff;
  border: 1px solid #750000;
  border-radius: 16px;
  padding: clamp(30px, 6vw, 48px);
  position: relative;
  box-shadow: 0 24px 70px rgba(117, 0, 0, .18);
  animation: lya-community-welcome-in .24s ease-out both;
}
.lya-community-welcome h2 {
  color: #750000 !important;
  margin: 0 38px 14px 0;
  font-size: clamp(32px, 7vw, 48px);
  line-height: .98;
}
.lya-community-welcome p {
  color: #8f0000 !important;
  max-width: 35ch;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}
.lya-community-welcome-close {
  color: #750000 !important;
  cursor: pointer;
  background: #ffffff !important;
  border: 1px solid #750000 !important;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0 !important;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  position: absolute;
  top: 16px;
  right: 16px;
}
.lya-community-welcome-close:hover,
.lya-community-welcome-close:focus-visible {
  color: #ffffff !important;
  background: #750000 !important;
}
@keyframes lya-community-welcome-in {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 520px) {
  .site-shell .checkout-breakdown-item {
    grid-template-columns: 52px minmax(0, 1fr) !important;
    row-gap: 7px !important;
  }
  .site-shell .checkout-item-side {
    grid-column: 2;
    justify-self: start;
    gap: 15px;
  }
  .site-shell .voucher-redemption { margin-top: 18px !important; margin-bottom: 22px !important; }
  .site-shell .checkout-breakdown-total { margin-top: 18px !important; }
  .lya-community-welcome { border-radius: 14px; padding: 32px 26px; }
  .lya-community-welcome p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .lya-community-welcome { animation: none; }
}
