/* Shared presentation formerly repeated in style attributes. */
#cartLiveToast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    background: #142338;
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
    transform: translateY(20px);
    opacity: 0;
}

#cartLiveToast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

:root body [data-ui-style~='icon-medium'] {
    font-size: 2rem;
}

:root body [data-ui-style~='actions-wide'] {
    min-width: 190px;
}

:root body [data-ui-style~='initially-hidden'] {
    display: none;
}

:root body [data-ui-style~='delivery-detail'] {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    user-select: all;
}

:root body [data-ui-style~='order-delivery-box'] {
    min-width: 200px;
    max-width: 360px;
}

:root body [data-ui-style~='badge-pending'] {
    background: rgb(255 193 7 / 20%);
    color: #92600a;
    padding: 0.45rem 0.8rem;
}

:root body [data-ui-style~='badge-success-compact'] {
    background: rgb(76 175 80 / 15%);
    color: rgb(56 142 60);
    padding: 0.45rem 0.8rem;
}

:root body [data-ui-style~='badge-rejected'] {
    background: rgb(255 19 19 / 10%);
    color: rgb(255 19 19);
    padding: 0.45rem 0.8rem;
}

:root body [data-ui-style~='actions-wider'] {
    min-width: 210px;
}

:root body [data-ui-style~='badge-muted'] {
    background: rgb(108 117 125 / 15%);
    color: #6c757d;
    padding: 0.45rem 0.8rem;
}

:root body [data-ui-style~='product-thumbnail'] {
    width: 44px;
    height: 44px;
    flex: none;
}

:root body [data-ui-style~='image-cover'] {
    object-fit: cover;
}

:root body [data-ui-style~='product-logo-preview'] {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

:root body [data-ui-style~='column-months'] {
    width: 16%;
}

:root body [data-ui-style~='column-stock-warranty'] {
    width: 22%;
}

:root body [data-ui-style~='column-price'] {
    width: 28%;
}

:root body [data-ui-style~='badge-success-standard'] {
    background: rgb(76 175 80 / 15%);
    color: rgb(56 142 60);
    padding: 0.5rem 0.8rem;
}

:root body [data-ui-style~='badge-padding'] {
    padding: 0.5rem 0.8rem;
}

:root body [data-ui-style~='announcement-body'] {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

:root body [data-ui-style~='empty-cart-panel'] {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 24px 10px;
}

:root body [data-ui-style~='empty-cart-icon'] {
    font-size: 3rem;
    color: #244f87;
    margin-bottom: 14px;
    display: block;
}

:root body [data-ui-style~='empty-cart-title'] {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

:root body [data-ui-style~='empty-cart-description'] {
    color: #53647c;
    margin-bottom: 20px;
}

:root body [data-ui-style~='checkout-line'] {
    padding: 10px 0;
}

:root body [data-ui-style~='width-auto'] {
    width: auto;
}

:root body[data-ui-style~='launch-screen'] {
    background: #0f172a;
    color: #fff;
    font-family: sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

:root body [data-ui-style~='icon-large'] {
    font-size: 3rem;
}

:root body [data-ui-style~='search-label'] {
    font-size: 0.95rem;
}

:root body [data-ui-style~='empty-orders-panel'] {
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
}

:root body [data-ui-style~='scroll-horizontal'] {
    overflow-x: auto;
}

:root body [data-ui-style~='pagination-size'] {
    width: 90px;
    min-width: 90px;
    padding-right: 2.5rem;
}

:root body [data-ui-style~='icon-profile'] {
    font-size: 4rem;
}

:root body [data-ui-style~='username-card'] {
    max-width: 520px;
}

:root body [data-ui-style~='wrap-anywhere'] {
    overflow-wrap: anywhere;
}

:root body [data-ui-style~='width-contained'] {
    max-width: 100%;
}

:root body [data-ui-style~='delivery-password-toggle'] {
    background: #182f52 !important;
    color: #fff !important;
    border-color: #182f52 !important;
}

:root body [data-ui-style~='delivery-value'] {
    white-space: pre-wrap;
    user-select: all;
}

:root body [data-ui-style~='cart-toast-success'] {
    color: #4caf50;
    font-size: 1.2rem;
}

:root body [data-ui-style~='cart-toast-error'] {
    color: #f44336;
    font-size: 1.2rem;
}

:root body [data-ui-style~='cart-toast-link'] {
    color: #c4d5ed;
    font-weight: 700;
    margin-left: 8px;
    text-decoration: underline;
}
