/* x-Sight Personalisierer: Storefront (Produktseite, Warenkorb). Der Editor bringt eigene Stile mit. */
html.xp-open, html.xp-open body { overflow: hidden; }
.xp-host { position: fixed; inset: 0; z-index: 2000; }

.xp-loading { position: fixed; inset: 0; z-index: 2100; display: flex; align-items: center; justify-content: center; background: rgba(20, 16, 10, .35); }
.xp-loading-box { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.2); font-weight: 600; }
.xp-loading-spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid #e6e3de; border-top-color: var(--bs-primary, #ea6a0c); animation: xp-spin .8s linear infinite; }
@keyframes xp-spin { to { transform: rotate(360deg); } }

.xp-buy-hint { font-size: .875rem; color: var(--bs-secondary-color, #6e6e73); margin: .5rem 0 0; }
.btn-xp-design { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }

/* Warenkorb-Position */
.line-item-xsight-personalized .xp-li-previews { display: flex; gap: 4px; }
.line-item-xsight-personalized .xp-li-previews img { width: 100%; max-width: 110px; border-radius: 6px; background: #f6f5f2; }
.line-item-xsight-personalized .xp-li-previews img + img { max-width: 52px; }
.is-offcanvas.line-item-xsight-personalized .xp-li-previews img { max-width: 80px; }
.xp-li-surfaces { list-style: none; padding: 0; margin: .25rem 0 0; font-size: .8125rem; color: var(--bs-secondary-color, #6e6e73); }
.xp-li-surfaces li { display: flex; gap: .5rem; justify-content: space-between; }
.xp-li-surfaces li span:first-child { overflow: hidden; text-overflow: ellipsis; }
.xp-li-edit { display: inline-flex; align-items: center; gap: .35rem; margin-top: .35rem; padding: .2rem .7rem; border-radius: 999px; border: 0; background: rgba(234, 106, 12, .1); color: var(--bs-primary, #ea6a0c); font-size: .8125rem; font-weight: 700; }
.xp-li-edit:hover { background: rgba(234, 106, 12, .18); }
