/* Box selection uses the same content-sized bottom sheet as Magic colours. */
body.lonalt-home dialog#box-dialog.hero-purchase-sheet{
  inset:auto 0 0;width:100%;max-width:none;height:auto;min-height:0;
  max-height:90svh;margin:0;padding:0;transform:none;overflow:auto;
  border:0;border-top:1px solid rgba(23,24,26,.13);border-radius:24px 24px 0 0;
  background:#f7f5f0;box-shadow:0 -24px 70px rgba(23,24,26,.2);
}
body.lonalt-home #box-dialog[open]{display:block;animation:hero-sheet-enter .3s ease both}
body.lonalt-home #box-dialog .hero-sheet-inner{box-sizing:border-box}
body.lonalt-home #box-dialog .dialog-close{position:absolute;right:24px;top:26px;width:36px;height:36px;margin:0;padding:0;float:none;border:0;background:none;color:#73716d;font-size:26px;cursor:pointer}
body.lonalt-home #box-dialog .box-config-head{padding:0 48px 20px 0;border-bottom:1px solid rgba(23,24,26,.12)}
body.lonalt-home #box-dialog h2{margin:8px 0 0;font-size:var(--lonalt-type-dialog);line-height:1.15}
body.lonalt-home #box-dialog .box-config-head p{display:none}
body.lonalt-home #box-dialog .box-config-step{margin-top:20px}
body.lonalt-home #box-dialog .box-config-step-title{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:16px;font-size:13px}
body.lonalt-home #box-dialog .box-config-step-title>span{color:#a98f5c}
body.lonalt-home #box-dialog .box-config-step-title small{color:#73716d;font-size:11px}
body.lonalt-home #box-dialog .box-config-back{margin-left:auto;border:0;background:none;padding:8px;color:#73716d;font-size:12px;cursor:pointer}
body.lonalt-home #box-dialog :is(.box-config-boxes,.box-config-magics){display:grid;gap:14px;grid-template-columns:repeat(3,minmax(0,1fr));margin:0}
body.lonalt-home #box-dialog .box-config-boxes{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
body.lonalt-home #box-dialog :is(.box-config-boxes,.box-config-magics)>button{
  position:relative;display:flex;flex-direction:column;align-items:stretch;gap:0;
  min-width:0;padding:10px;border:1px solid #dcd8cf;border-radius:13px;
  background:#eeebe4;color:#17181a;box-shadow:0 0 0 1px rgba(23,24,26,.04);
  text-align:center;cursor:pointer;overflow:hidden;
}
body.lonalt-home #box-dialog :is(.box-config-boxes,.box-config-magics)>button.is-active{border-color:#a98f5c;box-shadow:inset 0 0 0 1px #a98f5c;background:#f7f5f0}
body.lonalt-home #box-dialog :is(.config-product-image,.box-config-magics>button>span){display:block;aspect-ratio:4/3;height:auto;max-height:260px;width:100%;overflow:hidden;border-radius:9px;background:#e9e5dd}
body.lonalt-home #box-dialog :is(.config-product-image,.box-config-magics>button>span) img{display:block;width:100%;height:100%;object-fit:cover;filter:none}
body.lonalt-home #box-dialog .config-product-image img{object-fit:contain}
body.lonalt-home #box-dialog .config-option-copy{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;padding:18px 7px}
body.lonalt-home #box-dialog .config-option-copy strong{font-size:14px}
body.lonalt-home #box-dialog .config-option-copy small{font-size:12px;color:#73716d;white-space:nowrap}
body.lonalt-home #box-dialog .box-config-magics>button>small{padding:18px 4px;font-size:13px;font-weight:600}
body.lonalt-home #box-dialog .box-config-summary{position:static;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:18px;margin:22px 0 0;padding:20px 0 0;border-top:1px solid #dcd8cf}
body.lonalt-home #box-dialog .box-config-summary small{display:block;font-size:11px;color:#73716d}
body.lonalt-home #box-dialog .box-config-summary strong{font-size:13px}
body.lonalt-home #box-dialog #box-config-summary-price{font-size:20px;white-space:nowrap}
body.lonalt-home #box-dialog #box-config-confirm{min-height:46px;padding:12px 20px;background:#17181a;color:white;border:0;border-radius:8px;font-size:12px;cursor:pointer}
body.lonalt-home #box-dialog:not([data-step="magic"]) .box-config-step:has(.box-config-magics),
body.lonalt-home #box-dialog:not([data-step="magic"]) .box-config-summary,
body.lonalt-home #box-dialog[data-step="magic"] .box-config-step:has(.box-config-boxes){display:none}
@media(max-width:600px){
 body.lonalt-home #box-dialog :is(.box-config-boxes,.box-config-magics){gap:8px}
 body.lonalt-home #box-dialog :is(.box-config-boxes,.box-config-magics)>button{padding:8px}
 body.lonalt-home #box-dialog .config-product-image{aspect-ratio:1}
 body.lonalt-home #box-dialog .config-option-copy{flex-direction:column;padding:16px 4px}
 body.lonalt-home #box-dialog .config-option-copy strong{font-size:12px}
 body.lonalt-home #box-dialog .box-config-summary{grid-template-columns:1fr auto;gap:12px}
 body.lonalt-home #box-dialog #box-config-confirm{grid-column:1/-1;width:100%}
 body.lonalt-home #box-dialog .dialog-close{top:18px;right:12px}
}
@media(prefers-reduced-motion:reduce){body.lonalt-home #box-dialog[open]{animation:none}}

/* Lonalt Box purchase preview
   Isolated from the other purchase dialogs so each flow keeps its own layout. */

body.lonalt-home dialog#collection-box-dialog.collection-purchase-sheet {
  position: fixed;
  inset: auto auto max(16px, env(safe-area-inset-bottom)) 50%;
  display: none;
  grid-template-columns: 520px minmax(390px, 1fr);
  width: min(calc(100vw - 48px), 1120px);
  height: min(520px, calc(100svh - 32px));
  min-height: 0;
  max-width: none;
  max-height: calc(100svh - 32px);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 24, 26, .14);
  border-radius: 26px;
  background: #f7f5f0;
  color: #17181a;
  box-shadow: 0 32px 90px rgba(17, 15, 13, .28);
  transform: translateX(-50%);
  isolation: isolate;
}

body.lonalt-home dialog#collection-box-dialog.collection-purchase-sheet[open] {
  display: grid;
  animation: lonalt-collection-sheet-enter .42s cubic-bezier(.16, 1, .3, 1) both;
}

body.lonalt-home dialog#collection-box-dialog.collection-purchase-sheet::backdrop {
  background: rgba(18, 16, 14, .48);
  backdrop-filter: blur(6px);
}

@keyframes lonalt-collection-sheet-enter {
  from { opacity: 0; transform: translate(-50%, 28px) scale(.985); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-close {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(23, 24, 26, .12);
  border-radius: 50%;
  background: rgba(247, 245, 240, .9);
  color: #17181a;
  box-shadow: 0 8px 24px rgba(23, 24, 26, .1);
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background-color .2s ease, transform .2s ease;
}

body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-close::before,
body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-close::after,
body.lonalt-home #scent-size-dialog.scent-size-purchase-sheet .size-dialog-close::before,
body.lonalt-home #scent-size-dialog.scent-size-purchase-sheet .size-dialog-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
  transform-origin: center;
}

body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-close::after,
body.lonalt-home #scent-size-dialog.scent-size-purchase-sheet .size-dialog-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-close:hover {
  background: #fff;
  transform: rotate(5deg);
}

body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-close:focus-visible,
body.lonalt-home #scent-size-dialog.scent-size-purchase-sheet .size-dialog-close:focus-visible {
  outline: 2px solid #17181a;
  outline-offset: 3px;
}

body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-preview-image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #e9e3d9;
}

body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-preview-image .collection-box-preview-product {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  object-position: center;
  filter: saturate(.9) contrast(1.02);
  transform: none;
}

body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-preview-image .collection-box-preview-backdrop {
  display: none;
}

body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-preview-copy {
  display: flex;
  min-width: 0;
  min-height: 0;
  padding: clamp(30px, 2.5vw, 42px);
  flex-direction: column;
  justify-content: center;
  overflow: auto;
}

body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-preview-eyebrow {
  color: rgba(23, 24, 26, .58);
  font-size: 10.24px;
  letter-spacing: .18em;
}

body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-preview-copy h2 {
  max-width: 15ch;
  margin: 12px 0 0;
  color: #1c2b3d;
  font-size: var(--lonalt-type-dialog);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.035em;
  text-wrap: balance;
}

body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-intro {
  max-width: 42ch;
  margin: 15px 0 0;
  color: rgba(23, 24, 26, .62);
  font-size: 13.44px;
  line-height: 1.65;
}

body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-preview-copy ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 20px 0;
  border-top: 1px solid rgba(23, 24, 26, .12);
  border-bottom: 1px solid rgba(23, 24, 26, .12);
  color: rgba(23, 24, 26, .82);
  font-size: 12.16px;
  line-height: 1.5;
  list-style: none;
}

body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-preview-copy li::before {
  content: "✓";
  margin-right: 10px;
  color: #a8874b;
}

body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-buy {
  display: grid;
  grid-template-columns: auto minmax(190px, auto);
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 26px;
}

body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-buy strong {
  color: #17181a;
  font: 600 clamp(17.6px, calc(16px + .25vw), 20.8px)/1 var(--lonalt-font-body);
  white-space: nowrap;
}

body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-buy button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid #080808;
  border-radius: 10px;
  background: #080808;
  color: #fff;
  box-shadow: none;
  font: 600 10.08px/1 var(--lonalt-font-body);
  letter-spacing: .09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}

body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-buy button:hover:not(:disabled) {
  background: transparent;
  color: #080808;
}

body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-buy button:disabled {
  border-color: rgba(23, 24, 26, .08);
  background: #ded9d0;
  color: rgba(23, 24, 26, .5);
  cursor: not-allowed;
}

@media (min-width: 721px) and (max-width: 1050px) {
  body.lonalt-home dialog#collection-box-dialog.collection-purchase-sheet {
    inset-block-end: 8px;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr);
    width: min(calc(100vw - 16px), 960px);
    height: min(calc(50vw - 8px), 480px, calc(100svh - 16px));
    max-height: calc(100svh - 16px);
    border-radius: 22px;
  }

  body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-preview-copy {
    padding: clamp(26px, 3vw, 36px);
  }

  body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-preview-copy h2 {
    font-size: var(--lonalt-type-dialog);
  }

  body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-preview-copy ul {
    margin-top: 18px;
    padding-block: 15px;
  }

  body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-buy {
    margin-top: 20px;
  }
}

@media (max-width: 720px) {
  body.lonalt-home dialog#collection-box-dialog.collection-purchase-sheet {
    inset: auto 0 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    width: 100%;
    height: auto;
    max-height: 92svh;
    overflow: auto;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 20px 20px 0 0;
    transform: none;
  }

  body.lonalt-home dialog#collection-box-dialog.collection-purchase-sheet[open] {
    animation-name: lonalt-collection-sheet-enter-mobile;
  }

  body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-preview-image {
    width: 100%;
    height: clamp(210px, min(58vw, 34svh), 300px);
    aspect-ratio: auto;
    background: #d8cbbb;
    isolation: isolate;
  }

  body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-preview-image .collection-box-preview-backdrop {
    position: absolute;
    inset: -28px;
    display: block;
    width: calc(100% + 56px);
    max-width: none;
    height: calc(100% + 56px);
    object-fit: cover;
    filter: blur(24px) saturate(.82) brightness(.88);
    opacity: .62;
    transform: scale(1.08);
  }

  body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-preview-image .collection-box-preview-product {
    position: absolute;
    inset: 0;
    width: auto;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    margin: auto;
    padding: 0;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 12px 24px rgba(27, 20, 14, .16));
  }

  body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-preview-copy {
    padding: 22px 20px max(22px, env(safe-area-inset-bottom));
    overflow: visible;
  }

  body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-preview-copy h2 {
    margin-top: 8px;
    font-size: var(--lonalt-type-dialog);
  }

  body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-intro {
    margin-top: 9px;
    font-size: 11.84px;
  }

  body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-preview-copy ul {
    gap: 6px;
    margin-top: 15px;
    padding-block: 12px;
    font-size: 10.88px;
  }

  body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-buy {
    grid-template-columns: auto minmax(170px, auto);
    gap: 14px;
    margin-top: 16px;
  }
}

/* Magic Produktvorschau: dieselbe kompakte Dialogsprache wie die Duftvorschau. */
body.lonalt-home dialog#hero-product-dialog.hero-product-purchase-sheet {
  position: fixed;
  inset: auto auto max(16px, env(safe-area-inset-bottom)) 50%;
  display: none;
  width: min(calc(100vw - 48px), 1120px);
  height: min(520px, calc(100svh - 32px));
  min-height: 0;
  max-width: none;
  max-height: calc(100svh - 32px);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 24, 26, .14);
  border-radius: 26px;
  background: #f7f5f0;
  color: #17181a;
  box-shadow: 0 32px 90px rgba(17, 15, 13, .28);
  transform: translateX(-50%);
  isolation: isolate;
}

body.lonalt-home dialog#hero-product-dialog.hero-product-purchase-sheet[open] {
  display: block;
  animation: lonalt-collection-sheet-enter .42s cubic-bezier(.16, 1, .3, 1) both;
}

body.lonalt-home dialog#hero-product-dialog.hero-product-purchase-sheet::backdrop {
  background: rgba(18, 16, 14, .48);
  backdrop-filter: blur(6px);
}

body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-product-summary {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(390px, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  gap: 0;
  align-items: stretch;
}

body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-sheet-close {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(23, 24, 26, .12);
  border-radius: 50%;
  background: rgba(247, 245, 240, .9);
  color: #17181a;
  box-shadow: 0 8px 24px rgba(23, 24, 26, .1);
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-sheet-close::before,
body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-sheet-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}

body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-sheet-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-image {
  position: relative;
  grid-column: 1;
  grid-row: 1 / 3;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  place-items: center;
  overflow: hidden;
  border-radius: 0;
  background: #e9e3d9;
  isolation: isolate;
}

body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-product {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: auto;
  padding: 0;
  object-fit: contain;
  object-position: center;
  transform: none;
}

body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-backdrop {
  display: none;
}

body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-copy {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  min-width: 0;
  padding: clamp(30px, 2.5vw, 42px) clamp(30px, 2.5vw, 42px) 0;
}

body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-copy .eyebrow {
  color: rgba(23, 24, 26, .58);
  font-size: 10.24px;
  letter-spacing: .18em;
}

body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-copy h2 {
  max-width: 18ch;
  margin: 12px 0 0;
  color: #1c2b3d;
  font-size: var(--lonalt-type-dialog);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.035em;
  text-wrap: balance;
}

body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-copy p {
  max-width: 44ch;
  margin: 15px 0 0;
  color: rgba(23, 24, 26, .62);
  font-size: 13.44px;
  line-height: 1.65;
}

body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-meta {
  display: flex;
  gap: 10px 22px;
  margin: 24px 0 0;
  padding: 18px 0;
  border-top: 1px solid rgba(23, 24, 26, .12);
  border-bottom: 1px solid rgba(23, 24, 26, .12);
  color: rgba(23, 24, 26, .78);
  font-size: 11.52px;
  flex-wrap: wrap;
}

body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-meta span::before {
  content: "✓";
  margin-right: 7px;
  color: #a8874b;
}

body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-action {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: auto minmax(190px, auto);
  align-items: center;
  justify-content: space-between;
  gap: 18px 22px;
  width: auto;
  padding: 22px clamp(30px, 2.5vw, 42px) clamp(30px, 2.5vw, 42px);
  border: 0;
}

body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-back {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(23, 24, 26, .58);
  box-shadow: none;
  font: 600 9.92px/1.2 var(--lonalt-font-body);
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-back::before {
  content: "←";
  margin-right: 8px;
  color: #a8874b;
  font-size: 11.52px;
}

body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-action strong {
  color: #17181a;
  font: 600 clamp(17.6px, calc(16px + .25vw), 20.8px)/1 var(--lonalt-font-body);
  white-space: nowrap;
}

body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-confirm {
  width: auto;
  min-width: 190px;
  min-height: 48px;
  margin: 0;
  padding: 0 22px;
  border: 1px solid #080808;
  border-radius: 10px;
  background: #080808;
  color: #fff;
  box-shadow: none;
  font: 600 10.08px/1 var(--lonalt-font-body);
  letter-spacing: .09em;
  text-transform: uppercase;
}

@media (min-width: 721px) and (max-width: 1050px) {
  body.lonalt-home dialog#hero-product-dialog.hero-product-purchase-sheet {
    inset-block-end: 8px;
    width: min(calc(100vw - 16px), 960px);
    height: min(calc(50vw - 8px), 480px, calc(100svh - 16px));
    max-height: calc(100svh - 16px);
    border-radius: 22px;
  }

  body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-product-summary {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr);
  }

  body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-copy {
    padding: 26px 30px 0;
  }

  body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-copy h2 {
    font-size: var(--lonalt-type-dialog);
  }

  body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-copy p {
    margin-top: 11px;
    font-size: 11.84px;
  }

  body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-meta {
    margin-top: 16px;
    padding-block: 13px;
  }

  body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-action {
    padding: 16px 30px 26px;
  }
}

@media (max-width: 720px) {
  body.lonalt-home dialog#hero-product-dialog.hero-product-purchase-sheet {
    inset: auto 0 0;
    width: 100%;
    height: auto;
    max-height: 92svh;
    overflow: auto;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 20px 20px 0 0;
    transform: none;
  }

  body.lonalt-home dialog#hero-product-dialog.hero-product-purchase-sheet[open] {
    animation-name: lonalt-collection-sheet-enter-mobile;
  }

  body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-product-summary {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
  }

  body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-image {
    grid-column: 1;
    grid-row: 1;
    height: clamp(210px, min(58vw, 34svh), 300px);
    background: #d8cbbb;
  }

  body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-backdrop {
    position: absolute;
    z-index: 0;
    inset: -28px;
    display: block;
    width: calc(100% + 56px);
    max-width: none;
    height: calc(100% + 56px);
    object-fit: cover;
    filter: blur(24px) saturate(.82) brightness(.88);
    opacity: .62;
    transform: scale(1.08);
  }

  body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-product {
    padding: 8px;
    filter: drop-shadow(0 12px 24px rgba(27, 20, 14, .16));
  }

  body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-copy {
    grid-column: 1;
    grid-row: 2;
    padding: 22px 20px 0;
  }

  body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-copy h2 {
    margin-top: 8px;
    font-size: var(--lonalt-type-dialog);
  }

  body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-copy p {
    margin-top: 9px;
    font-size: 11.84px;
  }

  body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-meta {
    gap: 7px 14px;
    margin-top: 15px;
    padding-block: 12px;
    font-size: 10.72px;
  }

  body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-action {
    grid-column: 1;
    grid-row: 3;
    grid-template-columns: auto minmax(170px, auto);
    gap: 14px;
    padding: 14px 20px max(22px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 420px) {
  body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-action {
    grid-template-columns: 1fr;
  }

  body.lonalt-home #hero-product-dialog.hero-product-purchase-sheet .hero-summary-confirm {
    width: 100%;
  }
}

@keyframes lonalt-collection-sheet-enter-mobile {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 420px) {
  body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-buy {
    grid-template-columns: 1fr;
  }

  body.lonalt-home #collection-box-dialog.collection-purchase-sheet .collection-box-buy button {
    width: 100%;
  }
}

/* Größenwahl: dieselbe begrenzte Dialogsprache wie die Produktvorschau. */
body.lonalt-home dialog#scent-size-dialog.scent-size-purchase-sheet {
  position: fixed;
  inset: auto auto max(16px, env(safe-area-inset-bottom)) 50%;
  display: none;
  width: min(calc(100vw - 48px), 1120px);
  max-width: 1120px;
  max-height: calc(100svh - 32px);
  margin: 0;
  padding: 30px clamp(28px, 3vw, 42px) 34px;
  overflow: auto;
  border: 1px solid rgba(23, 24, 26, .14);
  border-radius: 26px;
  background: #f7f5f0;
  color: #17181a;
  box-shadow: 0 32px 90px rgba(17, 15, 13, .28);
  transform: translateX(-50%);
}

body.lonalt-home dialog#scent-size-dialog.scent-size-purchase-sheet[open] {
  display: block;
  animation: lonalt-scent-sheet-enter .42s cubic-bezier(.16, 1, .3, 1) both;
}

body.lonalt-home dialog#scent-size-dialog.scent-size-purchase-sheet::backdrop {
  background: rgba(18, 16, 14, .48);
  backdrop-filter: blur(6px);
}

body.lonalt-home #scent-size-dialog.scent-size-purchase-sheet > :is(.eyebrow, h2, p),
body.lonalt-home #scent-size-dialog.scent-size-purchase-sheet .scent-size-options {
  width: 100%;
  max-width: none;
}

body.lonalt-home #scent-size-dialog.scent-size-purchase-sheet .size-dialog-close {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(23, 24, 26, .12);
  border-radius: 50%;
  background: rgba(247, 245, 240, .92);
  color: #17181a;
  box-shadow: 0 8px 24px rgba(23, 24, 26, .1);
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background-color .2s ease, transform .2s ease;
}

body.lonalt-home #scent-size-dialog.scent-size-purchase-sheet .size-dialog-close:hover {
  background: #fff;
  transform: rotate(5deg);
}

body.lonalt-home #scent-size-dialog.scent-size-purchase-sheet h2 {
  max-width: calc(100% - 56px);
  margin: 10px 56px 7px 0;
  font-size: var(--lonalt-type-dialog);
  line-height: 1.15;
}

body.lonalt-home #scent-size-dialog.scent-size-purchase-sheet > p {
  margin: 0;
  color: rgba(23, 24, 26, .58);
  font-size: 13.12px;
  line-height: 1.55;
}

body.lonalt-home #scent-size-dialog.scent-size-purchase-sheet .scent-size-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

@keyframes lonalt-scent-sheet-enter {
  from { opacity: 0; transform: translate(-50%, 28px) scale(.985); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

@media (min-width: 721px) and (max-width: 1050px) {
  body.lonalt-home dialog#scent-size-dialog.scent-size-purchase-sheet {
    inset-block-end: 8px;
    width: min(calc(100vw - 16px), 960px);
    max-height: calc(100svh - 16px);
    padding: 28px clamp(24px, 3vw, 34px) 30px;
    border-radius: 22px;
  }
}

@media (max-width: 720px) {
  body.lonalt-home dialog#scent-size-dialog.scent-size-purchase-sheet {
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    max-height: 92svh;
    padding: 24px 16px max(22px, env(safe-area-inset-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 20px 20px 0 0;
    transform: none;
  }

  body.lonalt-home dialog#scent-size-dialog.scent-size-purchase-sheet[open] {
    animation-name: lonalt-collection-sheet-enter-mobile;
  }

  body.lonalt-home #scent-size-dialog.scent-size-purchase-sheet .scent-size-options {
    gap: 8px;
    margin-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.lonalt-home dialog#hero-product-dialog.hero-product-purchase-sheet[open],
  body.lonalt-home dialog#collection-box-dialog.collection-purchase-sheet[open],
  body.lonalt-home dialog#scent-size-dialog.scent-size-purchase-sheet[open] {
    animation: none;
  }
}
