.og-added-preview {
    position: fixed;
    inset-inline-end: 24px;
    inset-block-end: 24px;
    z-index: 300;
    box-sizing: border-box;
    inline-size: min(400px, calc(100vw - 32px));
    max-block-size: calc(100dvh - 32px);
    overflow: auto;
    padding: 22px;
    border-radius: 24px;
    background: #fff;
    color: #242628;
    box-shadow: 0 12px 56px #17231e30;
    animation: og-added-reveal .2s ease-out;
}
.og-added-preview[hidden] { display: none; }
.og-added-heading { display: flex; align-items: center; gap: 10px; }
.opti-store .og-added-heading h2 { margin: 0; font-size: 18px !important; line-height: 1.3 !important; letter-spacing: -.3px; }
.og-added-heading > button { margin-inline-start: auto; flex: none; }
.og-added-check { display: grid; place-items: center; inline-size: 32px; block-size: 32px; flex: none; border-radius: 50%; background: #e1f3e8; color: #206643; }
.og-added-check .og-icon, .og-added-check svg { inline-size: 18px; block-size: 18px; }
.opti-store .og-added-description { margin: 12px 0 18px; font-size: 14px; line-height: 1.5; color: inherit; }
.opti-store .og-added-current { margin: 0 0 8px; font-size: 12px; line-height: 1.5; color: inherit; }
.og-added-product .og-basket-item { grid-template-columns: 56px minmax(0,1fr); margin: 0 0 18px; padding: 14px; border-radius: 16px; background: #f3f5f4; }
.og-added-product .og-basket-part { display: inline-block; padding: 2px 7px; border-radius: 20px; margin: 6px 0; font-size: 10px; background: #e5e9e7; color: #505b55; }
.og-added-product .og-basket-thumb { inline-size: 56px; block-size: 76px; grid-row: 1 / 3; }
.og-added-product .og-basket-line-total { grid-column: 2; justify-self: end; }
.og-added-product .og-basket-pack { display: block; font-size: 12px; line-height: 1.5; }
.og-added-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opti-store .og-added-actions :is(a,button) { display: flex; align-items: center; justify-content: center; gap: 7px; min-block-size: 44px; padding: 10px; border: 0; border-radius: 13px; background: #edf0ee; color: #242628; font: 500 13px/1.4 var(--og-font); text-decoration: none; cursor: pointer; }
.opti-store .og-added-actions a { background: #242628; color: #fff; }
.og-added-actions .og-icon, .og-added-actions svg { inline-size: 17px; block-size: 17px; flex: none; }
body.opti-store button.single_add_to_cart_button.og-add-confirmed { background: #216445 !important; color: #fff !important; }
.pma-basket-items, .og-basket-content { container-type: inline-size; }
.og-basket-disclosure {
    position: relative;
    grid-column: 1 / -1;
    inline-size: 100%;
    min-inline-size: 0;
    border-radius: 18px;
    background: #f3f5f4;
}
.og-basket-disclosure > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-block-size: 94px;
    box-sizing: border-box;
    padding: 20px;
    list-style: none;
    cursor: pointer;
    color: inherit;
}
.og-basket-disclosure > summary::-webkit-details-marker { display: none; }
.og-basket-disclosure-copy { display: flex; flex-direction: column; gap: 6px; min-inline-size: 0; }
.og-basket-disclosure-title { font: 550 16px/1.4 var(--og-font); }
.opti-store .og-basket-disclosure-copy .og-basket-pack { display: block; margin: 0; color: var(--og-muted,#626b65); font: 400 14px/1.5 var(--og-font); font-size: 14px !important; line-height: 1.5 !important; }
.og-basket-disclosure-chevron {
    display: grid;
    place-items: center;
    inline-size: 44px;
    block-size: 44px;
    flex: none;
    border-radius: 50%;
    background: #e4e9e6;
    color: #263c30;
}
.og-basket-disclosure-chevron::after {
    content: '';
    inline-size: 7px;
    block-size: 7px;
    border-inline-end: 1.75px solid;
    border-block-end: 1.75px solid;
    rotate: 45deg;
    translate: 0 -2px;
}
.og-basket-disclosure[open] .og-basket-disclosure-chevron::after { rotate: 225deg; translate: 0 2px; }
.og-basket-disclosure-body { display: flex; align-items: center; justify-content: flex-end; padding: 0 20px 20px; }
@container (min-width: 700px) {
    .og-basket-disclosure[open] > summary { padding-inline-end: 320px; min-block-size: 100px; }
    .og-basket-disclosure > summary > .og-basket-disclosure-chevron { position: absolute; inset-inline-end: 20px; inset-block-start: calc(50% - 22px); }
    .og-basket-disclosure-body { position: absolute; inset-inline-end: 84px; inset-block-start: 50%; transform: translateY(-50%); padding: 0; }
}
.pma-basket-item.og-expandable-basket-item { grid-template-columns: 60px minmax(0,1fr) auto; }
.pma-basket-item.og-expandable-basket-item > .pma-basket-image { grid-column: 1; grid-row: 1; }
.pma-basket-item.og-expandable-basket-item > .pma-basket-copy { grid-column: 2; grid-row: 1; }
.pma-basket-item.og-expandable-basket-item > .pma-line-total { grid-column: 3; grid-row: 1; align-self: center; white-space: nowrap; }
.pma-basket-item.og-expandable-basket-item > details { grid-row: 2; }
.og-basket-disclosure .pma-basket-edit { display: flex; flex-direction: row; align-items: center; gap: 14px; margin-inline-start: auto; }
.og-basket-disclosure .og-basket-item-bottom { margin-inline-start: auto; }
.og-basket-disclosure .og-basket-box-label { display: none; }
.og-basket-disclosure :is(.pma-remove,.og-basket-remove) { min-block-size: 36px; }
.og-added-preview :is(a,button):focus-visible, .og-basket-disclosure > summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
html[data-appearance="dark"] .og-basket-disclosure-chevron { background: #48534e; color: #edf4ef; }
html[data-appearance="dark"] .og-basket-disclosure-copy .og-basket-pack { color: #c4ccc8; }
html[data-appearance="dark"] .og-added-preview { background: #2b3037; color: #f1f3f4; }
html[data-appearance="dark"] :is(.og-basket-disclosure,.og-added-product .og-basket-item) { background: #353d43; color: #f1f3f4; }
html[data-appearance="dark"] .og-added-product .og-basket-name { color: #f1f3f4 !important; }
html[data-appearance="dark"] .og-added-product .og-basket-part { background: #444d55; color: #dce2e7; }
html[data-appearance="dark"] .og-added-product .og-basket-thumb { background: #2b3037; }
@keyframes og-added-reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
    .og-basket-disclosure-chevron::after { transition: rotate .18s, translate .18s; }
    .og-basket-disclosure[open] .og-basket-disclosure-body { animation: og-basket-detail-reveal .18s ease-out; }
    @keyframes og-basket-detail-reveal { from { opacity: 0; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { .og-added-preview { animation: none; } }
@media (max-width: 600px) {
    .og-added-preview { inset-inline-end: 16px; inset-block-end: 16px; padding: 18px; }
    .pma-basket-item.og-expandable-basket-item { grid-template-columns: 48px minmax(0,1fr); gap: 12px; }
    .pma-basket-item.og-expandable-basket-item > .pma-line-total { grid-column: 2; grid-row: 2; justify-self: end; text-align: end; }
    .pma-basket-item.og-expandable-basket-item > .pma-basket-image { grid-row: 1 / 3; }
    .pma-basket-item.og-expandable-basket-item > details { grid-row: 3; }
    .og-basket-disclosure .pma-basket-edit { display: flex; }
}
