/* Copyright (c) 2026 Smekker24 GmbH. Original work. */
.smekker-product-back { margin: 6px 0 24px; }
.smekker-back-button { display: inline-flex; align-items: center; gap: 14px; min-height: 54px; padding: 15px 25px; border: 1px solid var(--smekker-mint); border-radius: 16px; background: #fff; box-shadow: 0 6px 22px rgb(25 68 73 / 7%); color: var(--smekker-ink); font-size: 16px; font-weight: 700; text-decoration: none; }
.smekker-back-button span { font-size: 25px; line-height: 1; }
.smekker-cart-vpe { min-width: 78px; white-space: nowrap; font-weight: 650; }
.smekker-order-dialog { width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; margin: auto; padding: 32px; border: 1px solid rgb(255 255 255 / 85%); border-radius: 26px; background: #fcfefd; color: var(--smekker-ink); box-shadow: 0 30px 100px rgb(19 55 61 / 28%); }
.smekker-order-dialog::backdrop { background: rgb(16 39 45 / 30%); backdrop-filter: blur(6px); }
.smekker-order-dialog h2 { margin: 10px 26px 12px 0; font-size: 25px; line-height: 1.2; letter-spacing: -.035em; }
.smekker-dialog-close { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #eef4f2; color: var(--smekker-ink); font-size: 25px; cursor: pointer; }
.smekker-order-name { margin-bottom: 24px; color: var(--smekker-muted); font-size: 15px; }
.smekker-order-form > label { display: block; margin-bottom: 9px; font-weight: 700; }
.smekker-order-form > .button { width: 100%; margin-top: 12px; min-height: 48px; }
.smekker-order-quantity { display: grid; grid-template-columns: 42px minmax(60px, 1fr) 42px; width: min(100%, 220px); min-height: 45px; overflow: hidden; border: 1px solid #c8dfd9; border-radius: 12px; background: #fff; }
.smekker-order-quantity > button { min-width: 0; padding: 0; border: 0; border-radius: 0; background: #f0f7f4; color: var(--smekker-ink); font-size: 22px; cursor: pointer; }
.smekker-order-quantity > input { min-width: 0; width: 100%; min-height: 45px; padding: 7px 4px; border: 0; border-radius: 0; background: #fff; text-align: center; font: inherit; font-weight: 750; direction: ltr; }
.smekker-order-units { margin: 9px 0; color: var(--smekker-muted); font-size: 13px; }
.smekker-order-status { margin: 10px 0 0; font-size: 14px; line-height: 1.5; }
.smekker-order-status.is-error { color: #a32d47; }
.smekker-toast { position: fixed; z-index: 2000; inset-inline-end: 24px; inset-block-end: 24px; display: grid; grid-template-columns: minmax(0, 1fr) 32px; gap: 8px 16px; width: min(420px, calc(100vw - 32px)); padding: 20px 18px 18px; border: 1px solid #c4e2d9; border-radius: 18px; background: #effbf5; color: #174c42; box-shadow: 0 18px 60px rgb(18 62 58 / 18%); }
.smekker-toast [data-smekker-toast-text] { grid-column: 1; overflow-wrap: anywhere; font-weight: 650; }
.smekker-toast > a { grid-column: 1; font-size: 13px; text-decoration: underline; }
.smekker-toast > button { grid-column: 2; grid-row: 1 / 3; align-self: start; min-width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / 70%); color: inherit; font-size: 24px; cursor: pointer; }
.smekker-toast.is-error { border-color: #e8bfcb; background: #fff3f6; color: #873348; }
.smekker-toast[hidden], .smekker-quick-list[hidden], .smekker-order-form > [hidden], .smekker-quick-item [hidden] { display: none; }
.smekker-quick-status:empty { display: none; }
.smekker-quick-status { margin: 12px 0 0; font-size: 13px; line-height: 1.5; }
.smekker-quick-list { margin-top: 16px; border-top: 1px solid var(--smekker-line); padding-top: 8px; }
.smekker-quick-list > ol { max-height: 370px; margin: 0 0 14px; padding: 0; list-style: none; overflow: auto; overscroll-behavior: contain; }
.smekker-quick-item { display: grid; grid-template-columns: minmax(0, 1fr) 32px; align-items: start; gap: 4px 10px; padding: 12px 2px; border-bottom: 1px solid var(--smekker-line); }
.smekker-quick-item__copy { display: grid; gap: 3px; min-width: 0; font-size: 14px; line-height: 1.45; }
.smekker-quick-item__name { overflow-wrap: anywhere; }
.smekker-quick-item__sku { color: var(--smekker-ink); font-variant-numeric: tabular-nums; unicode-bidi: plaintext; }
.smekker-quick-item__quantity { color: var(--smekker-muted); }
.smekker-quick-item__remove { display: grid; place-items: center; width: 32px; height: 32px; padding: 6px; border: 0; border-radius: 8px; background: transparent; color: #965068; cursor: pointer; }
.smekker-quick-item__remove:hover { background: #fff0f4; }
.smekker-quick-item__remove svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.smekker-quick-item__status { grid-column: 1 / -1; margin: 0; font-size: 12px; line-height: 1.5; }
.smekker-quick-item__status:empty { display: none; }
.smekker-quick-item.is-added .smekker-quick-item__status { color: #1b7160; }
.smekker-quick-item.is-error .smekker-quick-item__status { color: #a32d47; }
.smekker-quick-list > .button { width: 100%; min-height: 46px; font-size: 13px; }
.smekker-order-dialog button:focus-visible, .smekker-order-quantity input:focus-visible, .smekker-quick-item button:focus-visible { outline: 3px solid #d8779a; outline-offset: 2px; }
.smekker-order-dialog button:disabled, .smekker-quick-list button:disabled { cursor: default; opacity: .55; }
@media (max-width: 560px) {
    .smekker-order-dialog { padding: 24px; }
    .smekker-toast { inset-inline-end: 16px; inset-block-end: 16px; }
    .smekker-back-button { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: no-preference) {
    .smekker-order-dialog[open] { animation: smekker-dialog-in .2s ease-out; }
    .smekker-toast:not([hidden]) { animation: smekker-dialog-in .2s ease-out; }
    @keyframes smekker-dialog-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
}
