.commerce-modal-layer {
    z-index: 2500;
}

.delivery-modal .delivery-cta-btn {
    min-height: 42px;
    border: 1px solid rgba(154, 207, 255, 0.28);
    border-radius: 13px;
    background: linear-gradient(135deg, #163a62 0%, #1f4f83 48%, #2e6ba7 100%);
    color: #eef6ff;
    font-size: 12.5px;
    font-weight: 700;
    box-shadow:
        0 8px 16px rgba(6, 20, 38, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform .14s ease, box-shadow .14s ease, opacity .14s ease;
}

.delivery-modal .delivery-cta-btn.is-downloading,
.delivery-modal #deliveryDownloadAllBtn.is-downloading {
    position: relative;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.95;
}

.delivery-modal .delivery-cta-btn.is-downloading::before,
.delivery-modal #deliveryDownloadAllBtn.is-downloading::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 42%;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(180, 230, 255, 0.9), rgba(118, 204, 255, 0.98));
    animation: deliveryDownloadProgressSlide 1.1s ease-in-out infinite;
}

.delivery-modal .delivery-cta-btn.is-downloading::after,
.delivery-modal #deliveryDownloadAllBtn.is-downloading::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.14) 48%, transparent 80%);
    animation: deliveryDownloadSweep 1.4s linear infinite;
    pointer-events: none;
}

@keyframes deliveryDownloadProgressSlide {
    0% {
        transform: translateX(-115%);
    }
    100% {
        transform: translateX(250%);
    }
}

@keyframes deliveryDownloadSweep {
    0% {
        transform: translateX(-130%);
    }
    100% {
        transform: translateX(130%);
    }
}

.delivery-modal .delivery-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow:
        0 10px 20px rgba(8, 24, 45, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.delivery-modal .delivery-main-cta,
.delivery-modal #deliveryUnlockBtn {
    min-height: 52px;
    border-radius: 15px;
    border: 1px solid rgba(136, 186, 240, 0.42);
    background: linear-gradient(135deg, #1a4575 0%, #2566a8 58%, #357fc4 100%);
    color: #f4f8ff;
    box-shadow:
        0 10px 22px rgba(12, 34, 61, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.delivery-modal .delivery-main-cta:hover,
.delivery-modal #deliveryUnlockBtn:hover {
    box-shadow:
        0 12px 24px rgba(10, 34, 62, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.delivery-modal .delivery-cta-btn.is-locked {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    border-color: rgba(168, 208, 255, 0.4);
    background:
        radial-gradient(circle at 20% 0%, rgba(143, 201, 255, 0.22), transparent 48%),
        linear-gradient(180deg, rgba(24, 53, 84, 0.96), rgba(13, 30, 50, 0.98));
}

.delivery-modal .delivery-cta-btn.is-locked::before {
    content: "";
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(177, 216, 255, 0.62);
    background:
        radial-gradient(circle at 30% 25%, rgba(236, 248, 255, 0.7), rgba(236, 248, 255, 0.06) 52%),
        linear-gradient(180deg, rgba(49, 108, 166, 0.9), rgba(25, 60, 101, 0.96));
    box-shadow:
        0 6px 14px rgba(9, 22, 38, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M8 11V8a4 4 0 1 1 8 0v3' stroke='%23E9F4FF' stroke-width='1.9' stroke-linecap='round'/%3E%3Crect x='6.2' y='11' width='11.6' height='8.8' rx='2.4' stroke='%23E9F4FF' stroke-width='1.9'/%3E%3Ccircle cx='12' cy='15.4' r='1.1' fill='%23E9F4FF'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}

.delivery-modal:not(.unlocked) .variant-preview,
.delivery-modal:not(.unlocked) .thumb-preview {
    position: relative;
}

.delivery-modal:not(.unlocked) .variant-preview.is-locked::before {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 25% 18%, rgba(180, 226, 255, 0.28), transparent 46%),
        linear-gradient(180deg, rgba(14, 33, 53, 0.92), rgba(7, 20, 34, 0.96));
    border: 1px solid rgba(157, 205, 255, 0.5);
    box-shadow:
        0 8px 18px rgba(2, 10, 20, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M8 11V8a4 4 0 1 1 8 0v3' stroke='%23E6F3FF' stroke-width='1.9' stroke-linecap='round'/%3E%3Crect x='6.2' y='11' width='11.6' height='8.8' rx='2.4' stroke='%23E6F3FF' stroke-width='1.9'/%3E%3Ccircle cx='12' cy='15.4' r='1.1' fill='%23E6F3FF'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 15px 15px;
    z-index: 3;
}

.delivery-modal #deliveryUnlockBtn.delivery-focus-pulse {
    animation: deliveryUnlockPulse 1.05s ease-in-out 2;
}

@keyframes deliveryUnlockPulse {
    0% {
        transform: translateY(0);
        box-shadow:
            0 10px 22px rgba(12, 34, 61, 0.36),
            inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }
    50% {
        transform: translateY(-1px) scale(1.02);
        box-shadow:
            0 0 0 4px rgba(83, 170, 255, 0.28),
            0 18px 34px rgba(15, 53, 92, 0.52),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    100% {
        transform: translateY(0);
        box-shadow:
            0 10px 22px rgba(12, 34, 61, 0.36),
            inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }
}

.delivery-modal:not(.unlocked) .variant-preview img {
    filter: blur(1.8px) saturate(0.92) brightness(0.88);
    transform: scale(1.02);
}

.delivery-modal:not(.unlocked) .thumb-preview img {
    filter: blur(2px) saturate(0.9) brightness(0.86);
    transform: scale(1.02);
}

.delivery-modal:not(.unlocked) .variant-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 9, 15, 0.2), rgba(4, 9, 15, 0.44));
    pointer-events: none;
}

.delivery-modal.photos-locked .thumb-preview img {
    filter: blur(2px) saturate(0.9) brightness(0.86);
    transform: scale(1.02);
}

.delivery-modal.photos-unlocked .thumb-preview img {
    filter: none;
    transform: none;
}

.commerce-modal-card {
    width: min(520px, 94vw);
    border-radius: 18px;
    border: 1px solid rgba(132, 187, 242, 0.26);
    background:
        radial-gradient(circle at top right, rgba(62, 128, 197, 0.16), transparent 56%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        rgba(8, 16, 28, 0.97);
}

.commerce-package-grid {
    gap: 10px;
}

.commerce-package-card {
    text-align: left;
    border: 1px solid rgba(150, 196, 242, 0.2);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    color: #eef6ff;
    border-radius: 14px;
    padding: 12px;
    display: grid;
    gap: 7px;
}

.commerce-package-card.is-selected {
    border-color: rgba(108, 187, 255, 0.58);
    box-shadow: 0 10px 20px rgba(19, 54, 88, 0.28);
}

.commerce-package-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.commerce-package-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(92, 170, 239, 0.18);
    border: 1px solid rgba(145, 205, 255, 0.36);
    color: #dbf0ff;
    font-size: 10px;
    font-weight: 700;
}

.commerce-package-features {
    margin: 0;
    padding: 0 0 0 14px;
    display: grid;
    gap: 4px;
    color: #b9cbe0;
    font-size: 11px;
    line-height: 1.45;
}

.commerce-package-card em {
    margin-top: 2px;
    color: #8dd0ff;
}

.commerce-payment-box.is-paytr-mode {
    gap: 12px;
}

.commerce-bank-ui {
    position: relative;
    display: grid;
    gap: 12px;
    min-width: 0;
    padding-top: 2px;
}

.commerce-bank-close-btn {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    border: 1px solid rgba(132, 184, 236, 0.35);
    background: rgba(18, 34, 52, 0.9);
    color: #d7e8f8;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.commerce-bank-close-btn:hover {
    border-color: rgba(154, 206, 255, 0.6);
    color: #f0f7ff;
}

.commerce-bank-summary {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(15, 30, 48, 0.88), rgba(9, 20, 34, 0.94));
    border: 1px solid rgba(118, 184, 244, 0.3);
}

.commerce-bank-summary-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.commerce-bank-summary-top h5 {
    margin: 0;
    font-size: 15px;
    color: #eef6ff;
    font-weight: 800;
}

.commerce-bank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
}

.commerce-bank-badge.is-pending {
    color: #ffe8b0;
    background: rgba(255, 170, 48, 0.14);
    border-color: rgba(255, 170, 48, 0.35);
}

.commerce-bank-badge.is-wait {
    color: #bde4ff;
    background: rgba(65, 157, 238, 0.14);
    border-color: rgba(65, 157, 238, 0.35);
}

.commerce-bank-badge.is-approved {
    color: #bdf4d3;
    background: rgba(38, 182, 106, 0.14);
    border-color: rgba(38, 182, 106, 0.35);
}

.commerce-bank-badge.is-rejected {
    color: #ffd0d0;
    background: rgba(220, 65, 65, 0.14);
    border-color: rgba(220, 65, 65, 0.35);
}

.commerce-bank-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #b7cce0;
    font-size: 12px;
}

.commerce-bank-meta strong {
    color: #f2f8ff;
    font-size: 13px;
    font-weight: 700;
}

.commerce-bank-accounts {
    display: grid;
    gap: 9px;
}

.commerce-bank-account-item {
    display: grid;
    gap: 9px;
    padding: 12px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.commerce-bank-account-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #bed0e3;
    font-size: 12px;
}

.commerce-bank-account-row b {
    color: #f3f8ff;
    font-weight: 700;
    text-align: right;
    word-break: break-word;
}

.commerce-bank-copy-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.commerce-bank-note {
    color: #a6bdd3;
    font-size: 12px;
    line-height: 1.55;
}

.commerce-bank-report-btn {
    width: 100%;
    min-height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #1e7a59 0%, #2aa86e 55%, #33c67e 100%);
    border: 1px solid rgba(144, 232, 188, 0.38);
    color: #f3fff9;
    box-shadow:
        0 10px 20px rgba(12, 48, 33, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.commerce-bank-report-btn:hover {
    transform: translateY(-1px);
    box-shadow:
        0 12px 24px rgba(12, 52, 35, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.commerce-bank-report-btn:disabled {
    background: linear-gradient(135deg, #243a4d 0%, #2f4760 100%);
    border-color: rgba(161, 197, 229, 0.22);
    color: #a7bad0;
    box-shadow: none;
}

.commerce-wa-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    color: currentColor;
    flex: 0 0 auto;
}

.commerce-wa-icon svg {
    width: 100%;
    height: 100%;
}

.commerce-copy-toast {
    position: fixed;
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 10080;
    background: rgba(8, 20, 32, 0.94);
    border: 1px solid rgba(120, 186, 248, 0.35);
    color: #eef6ff;
    border-radius: 11px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.commerce-copy-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.commerce-paytr-ui {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.commerce-checkout-flow {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.commerce-checkout-stage {
    display: none;
    gap: 12px;
    min-width: 0;
}

.commerce-checkout-stage.is-active {
    display: grid;
}

.commerce-checkout-stage-title {
    margin: 0;
    color: #eef6ff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.commerce-checkout-stage-subtitle {
    margin: -4px 0 0;
    color: #9db5cc;
    font-size: 11.5px;
    line-height: 1.45;
}

.commerce-checkout-package-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
}

.commerce-checkout-package {
    position: relative;
    text-align: left;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    column-gap: 10px;
    border: 1px solid rgba(150, 196, 242, 0.28);
    background: linear-gradient(180deg, rgba(28, 58, 92, 0.32), rgba(10, 18, 30, 0.6));
    color: #eef6ff;
    border-radius: 14px;
    padding: 11px 12px;
    min-width: 0;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.commerce-checkout-package:hover {
    transform: translateY(-1px);
}

.commerce-checkout-content {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.commerce-checkout-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(143, 184, 220, 0.8);
    margin-top: 2px;
    position: relative;
    box-sizing: border-box;
}

.commerce-checkout-radio::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: transparent;
    transform: scale(0.6);
    opacity: 0;
    transition: .14s ease;
}

.commerce-checkout-package.is-selected {
    border-color: rgba(76, 178, 255, 0.85);
    box-shadow: 0 0 0 2px rgba(69, 164, 238, 0.28), 0 14px 28px rgba(11, 36, 61, 0.38);
}

.commerce-checkout-package.is-selected .commerce-checkout-radio {
    border-color: rgba(98, 201, 255, 0.96);
}

.commerce-checkout-package.is-selected .commerce-checkout-radio::after {
    background: linear-gradient(135deg, #2ea1ff, #53cbff);
    opacity: 1;
    transform: scale(1);
}

.commerce-checkout-brief {
    margin: 0;
    color: #bcd0e3;
    font-size: 12px;
    line-height: 1.35;
}

.commerce-checkout-meta-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.commerce-checkout-meta-line em {
    margin: 0;
    font-style: normal;
    font-weight: 800;
    font-size: 22px;
    color: #f5fbff;
    line-height: 1;
    letter-spacing: -0.02em;
}

.commerce-checkout-benefit {
    display: inline-flex;
    align-items: center;
    max-width: 60%;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(69, 140, 207, 0.24);
    border: 1px solid rgba(131, 191, 243, 0.34);
    color: #d6ebff;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.2;
}

.commerce-checkout-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 12px;
    border: 1px solid rgba(121, 183, 244, 0.3);
    background: rgba(10, 22, 35, 0.84);
}

.commerce-checkout-selected strong {
    color: #edf6ff;
    font-size: 12.5px;
    line-height: 1.35;
}

.commerce-checkout-selected span {
    color: #8fd2ff;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.commerce-checkout-actions {
    grid-template-columns: 1fr;
}

.commerce-paytr-card {
    border-radius: 12px;
    border: 1px solid rgba(125, 186, 245, 0.26);
    background: rgba(7, 16, 27, 0.86);
    padding: 11px;
    display: grid;
    gap: 10px;
}

.commerce-paytr-card h5 {
    margin: 0;
    color: #f0f8ff;
    font-size: 12.5px;
    font-weight: 700;
}

.commerce-paytr-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.commerce-paytr-card-grid label {
    display: grid;
    gap: 5px;
    color: #a8c0d8;
    font-size: 11px;
    font-weight: 600;
    min-width: 0;
}

.commerce-paytr-card-grid label:first-child,
.commerce-paytr-card-grid label:nth-child(2) {
    grid-column: 1 / -1;
}

.commerce-paytr-card-grid input {
    width: 100%;
    border: 1px solid rgba(146, 197, 244, 0.24);
    background: rgba(8, 20, 34, 0.92);
    color: #edf6ff;
    border-radius: 10px;
    min-height: 40px;
    padding: 0 11px;
    font-size: 12.5px;
    outline: none;
    box-sizing: border-box;
}

.commerce-paytr-card-grid input:focus {
    border-color: rgba(121, 193, 255, 0.66);
    box-shadow: 0 0 0 3px rgba(76, 157, 233, 0.18);
}

.commerce-paytr-summary {
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(10, 22, 35, 0.84);
    border: 1px solid rgba(122, 183, 242, 0.3);
}

.commerce-paytr-summary strong {
    color: #f2f8ff;
    font-size: 14px;
    line-height: 1.35;
}

.commerce-paytr-summary span {
    color: #b8cde2;
    font-size: 11.5px;
    line-height: 1.45;
}

.commerce-paytr-feature-list {
    display: grid;
    gap: 7px;
}

.commerce-paytr-feature-item,
.commerce-paytr-empty {
    padding: 10px 12px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #d9e8f7;
    font-size: 12px;
    line-height: 1.45;
}

.commerce-paytr-note {
    color: #9eb6cd;
    font-size: 11.5px;
    line-height: 1.55;
}

.commerce-paytr-actions {
    grid-template-columns: 1fr 1fr;
}

.commerce-paytr-actions .btn {
    min-height: 44px;
    border-radius: 12px;
}

@media (min-width: 981px) {
    #commercePackagePanel.commerce-modal-card {
        width: min(880px, 92vw);
    }

    #commercePackagePanel .commerce-package-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 980px) {
    .delivery-modal {
        align-items: stretch;
        padding: 8px;
        padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .delivery-modal .delivery-card.delivery-card-sales {
        width: 100%;
        min-height: 0;
        max-height: calc(100dvh - 12px);
        border-radius: 16px;
        padding: 12px;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .delivery-modal .delivery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .delivery-modal .delivery-panel-media,
    .delivery-modal .delivery-panel-primary.delivery-panel-offer {
        border-radius: 14px;
        padding: 12px;
    }

    .delivery-modal .delivery-video-main .variant-preview {
        min-height: 150px;
    }

    .delivery-modal .delivery-video-strip,
    .delivery-modal .thumb-grid {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 4px;
        scroll-snap-type: x mandatory;
    }

    .delivery-modal .delivery-video-mini {
        min-width: 142px;
        max-width: 142px;
        flex: 0 0 142px;
        scroll-snap-align: start;
    }

    .delivery-modal .thumb-card {
        min-width: 112px;
        max-width: 112px;
        flex: 0 0 112px;
        scroll-snap-align: start;
    }

    .commerce-modal-layer {
        align-items: center;
        justify-content: center;
        padding: 8px;
        padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    }

    .commerce-modal-card {
        width: 100%;
        max-height: min(84dvh, 760px);
        margin: 0 auto;
        overflow: auto;
        border-radius: 14px;
        padding: 11px;
        -webkit-overflow-scrolling: touch;
    }

    .commerce-actions-row,
    .commerce-paytr-actions {
        grid-template-columns: 1fr;
    }

    .commerce-bank-copy-row {
        grid-template-columns: 1fr;
    }

    .commerce-checkout-package-grid {
        grid-template-columns: 1fr;
    }

    .commerce-checkout-meta-line em {
        font-size: 20px;
    }
}

@media (max-width: 640px) {
    .delivery-modal {
        padding: 6px;
        padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
        overflow-x: hidden;
    }

    .delivery-modal .delivery-card.delivery-card-sales {
        width: 100%;
        max-width: 100%;
        max-height: calc(100svh - 10px);
        height: calc(100svh - 10px);
        border-radius: 14px;
        padding: 10px;
        margin: 0 auto;
        overflow-x: hidden;
    }

    .delivery-modal .delivery-title {
        font-size: 19px;
    }

    .delivery-modal .delivery-text {
        font-size: 11.5px;
        line-height: 1.5;
    }

    .delivery-modal .delivery-main-cta,
    .delivery-modal #deliveryUnlockBtn {
        min-height: 46px;
        font-size: 15px;
        line-height: 1.2;
        padding-inline: 12px;
    }

    .delivery-modal .delivery-cta-btn {
        min-height: 38px;
        font-size: 11px;
        line-height: 1.2;
        padding-inline: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .delivery-modal .delivery-video-main .variant-preview {
        min-height: 136px;
    }

    .delivery-modal .delivery-panel-media,
    .delivery-modal .delivery-video-stage,
    .delivery-modal .delivery-video-main,
    .delivery-modal .delivery-video-strip,
    .delivery-modal .delivery-video-mini {
        min-width: 0;
        max-width: 100%;
    }

    .delivery-modal .delivery-video-strip {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        overflow: visible;
        padding-bottom: 0;
        align-items: stretch;
    }

    .delivery-modal .delivery-video-mini {
        min-width: 0;
        max-width: none;
        flex: initial;
        align-content: start;
    }

    .delivery-modal .delivery-video-mini[data-variant="landscape"] {
        grid-column: 1;
        grid-row: 1;
    }

    .delivery-modal .delivery-video-mini[data-variant="vertical"] {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: stretch;
        display: grid;
        grid-template-rows: minmax(240px, 1fr) auto auto;
        align-content: stretch;
    }

    .delivery-modal .delivery-video-mini[data-variant="square"] {
        grid-column: 1;
        grid-row: 2;
    }

    .delivery-modal .delivery-video-mini[data-variant="vertical"] .variant-preview {
        aspect-ratio: auto;
        height: 100%;
        min-height: 240px;
        max-height: none;
    }

    .delivery-modal .delivery-video-mini[data-variant="vertical"] .variant-preview img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .delivery-modal .delivery-video-mini .delivery-cta-btn {
        min-height: 36px;
        font-size: 10.5px;
    }

    .delivery-modal .delivery-video-main .delivery-cta-btn,
    .delivery-modal .delivery-video-mini .delivery-cta-btn {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
        text-overflow: clip;
        overflow: hidden;
        padding-inline: 8px;
        line-height: 1.2;
    }

    .delivery-modal .thumb-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .delivery-modal .thumb-card {
        min-width: 112px;
        max-width: 112px;
        flex: 0 0 112px;
        scroll-snap-align: start;
    }

    .commerce-paytr-summary strong {
        font-size: 12.5px;
    }

    .commerce-paytr-summary span,
    .commerce-paytr-feature-item,
    .commerce-paytr-empty {
        font-size: 11px;
    }

    .commerce-modal-card {
        max-height: calc(100svh - 16px);
        padding: 10px;
    }

    .commerce-checkout-selected {
        flex-direction: column;
        align-items: flex-start;
    }

    .commerce-checkout-stage-title {
        font-size: 12.5px;
    }

    .commerce-checkout-stage-subtitle {
        font-size: 11px;
    }

    .commerce-checkout-package {
        padding: 10px 11px;
        grid-template-columns: 18px minmax(0, 1fr);
        column-gap: 9px;
    }

    .commerce-checkout-brief {
        font-size: 11.5px;
    }

    .commerce-checkout-meta-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .commerce-checkout-meta-line em {
        font-size: 18px;
    }

    .commerce-checkout-benefit {
        max-width: 100%;
        font-size: 10px;
    }

    .commerce-paytr-card-grid {
        grid-template-columns: 1fr;
    }

    .commerce-paytr-card-grid label:first-child,
    .commerce-paytr-card-grid label:nth-child(2) {
        grid-column: auto;
    }
}

/* Checkout Stage 1 - reverted simple card layout */
.commerce-checkout-package {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: left;
    border: 1px solid rgba(140, 194, 246, 0.3);
    border-radius: 14px;
    padding: 12px;
    background: linear-gradient(180deg, rgba(22, 45, 74, 0.48), rgba(9, 18, 31, 0.76));
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.commerce-checkout-package:hover {
    transform: translateY(-1px);
}

.commerce-checkout-package.is-selected {
    border-color: rgba(84, 189, 255, 0.95);
    box-shadow: 0 0 0 2px rgba(58, 167, 240, 0.26), 0 12px 26px rgba(8, 31, 52, 0.42);
}

.commerce-checkout-package .commerce-package-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.commerce-checkout-package > span {
    color: #d2e3f2;
    font-size: 12px;
    line-height: 1.35;
}

.commerce-checkout-package .commerce-package-features {
    margin: 0;
    padding-left: 14px;
    display: grid;
    gap: 4px;
    color: #bdd1e4;
    font-size: 11px;
    line-height: 1.45;
}

.commerce-checkout-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 24px;
}

.commerce-checkout-footer em {
    margin: 0;
    color: #f2f9ff;
    font-style: normal;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.commerce-checkout-picked-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(132, 200, 252, 0.6);
    background: rgba(48, 137, 209, 0.34);
    color: #e2f4ff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.commerce-checkout-picked-badge:empty {
    opacity: 0;
}

.commerce-checkout-selected {
    border-color: rgba(127, 191, 247, 0.4);
    background: rgba(12, 25, 40, 0.78);
}

@media (max-width: 980px) {
    .commerce-checkout-footer em {
        font-size: 26px;
    }
}

@media (max-width: 640px) {
    .commerce-checkout-package {
        padding: 11px;
    }

    .commerce-checkout-package > span {
        font-size: 11.5px;
    }

    .commerce-checkout-package .commerce-package-features {
        font-size: 10.8px;
    }

    .commerce-checkout-footer {
        align-items: flex-end;
    }

    .commerce-checkout-footer em {
        font-size: 24px;
    }

    .commerce-checkout-picked-badge {
        font-size: 10.5px;
        min-height: 22px;
        padding: 4px 9px;
    }
}

/* Premium Payment Modal - Full Redesign */
#commercePaymentPanel.commerce-modal-card {
    position: relative;
    width: min(1180px, 95vw);
    max-height: min(92dvh, 920px);
    border-radius: 24px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(1200px 600px at 12% -12%, rgba(67, 130, 255, 0.22), transparent 50%),
        radial-gradient(900px 520px at 92% 0%, rgba(73, 175, 255, 0.16), transparent 48%),
        linear-gradient(180deg, rgba(8, 16, 30, 0.96), rgba(4, 10, 20, 0.96));
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
}

#commercePaymentPanel .commerce-bank-ui {
    position: static;
    display: grid;
    gap: 16px;
}

#commercePaymentPanel .commerce-bank-close-btn {
    top: 8px;
    right: 8px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(138, 190, 255, 0.36);
    background: rgba(18, 30, 48, 0.92);
    color: #e6f1ff;
    font-size: 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.36);
}

#commercePaymentPanel .commerce-bank-close-btn:hover {
    border-color: rgba(172, 211, 255, 0.62);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 16px rgba(94, 170, 255, 0.2);
}

#commercePaymentPanel .commerce-bank-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 18px;
}

#commercePaymentPanel .commerce-bank-col {
    min-width: 0;
    display: grid;
    gap: 12px;
}

#commercePaymentPanel .commerce-bank-col-left {
    padding-right: 6px;
}

#commercePaymentPanel .commerce-bank-col-right {
    padding-left: 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

#commercePaymentPanel .commerce-bank-summary {
    border: 0;
    background: transparent;
    padding: 0;
    gap: 12px;
}

#commercePaymentPanel .commerce-bank-title {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(14, 26, 43, 0.72), rgba(8, 16, 30, 0.72));
}

#commercePaymentPanel .commerce-bank-title-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #69d3ff;
    font-size: 20px;
    border: 1px solid rgba(111, 190, 255, 0.36);
    background: radial-gradient(circle at 30% 20%, rgba(79, 174, 255, 0.3), rgba(20, 42, 71, 0.88));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

#commercePaymentPanel .commerce-bank-title-text h5 {
    margin: 0;
    font-size: 20px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #f3f9ff;
}

#commercePaymentPanel .commerce-bank-title-text p {
    margin: 5px 0 0;
    font-size: 13px;
    color: #b5c9df;
}

#commercePaymentPanel .commerce-bank-info-card,
#commercePaymentPanel .commerce-bank-help {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(11, 22, 38, 0.75), rgba(8, 16, 29, 0.85));
    padding: 14px;
    color: #cddcf0;
    font-size: 13.5px;
    line-height: 1.55;
}

#commercePaymentPanel .commerce-bank-info-card p {
    margin: 0;
}

#commercePaymentPanel .commerce-bank-price-card {
    border-radius: 16px;
    border: 1px solid rgba(96, 166, 255, 0.52);
    background: linear-gradient(135deg, rgba(53, 84, 210, 0.4), rgba(33, 66, 160, 0.26));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 32px rgba(19, 45, 92, 0.36);
    padding: 14px;
    display: grid;
    gap: 6px;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

#commercePaymentPanel .commerce-bank-price-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

#commercePaymentPanel .commerce-bank-wallet-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d8e9ff;
    border: 1px solid rgba(152, 196, 255, 0.45);
    background: linear-gradient(180deg, rgba(98, 137, 230, 0.35), rgba(62, 97, 189, 0.3));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    margin-left: auto;
}

#commercePaymentPanel .commerce-bank-price-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 201, 119, 0.5);
    background: rgba(255, 175, 60, 0.15);
    color: #ffdca0;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

#commercePaymentPanel .commerce-bank-price-card:hover {
    transform: translateY(-1px);
    border-color: rgba(118, 188, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 18px 34px rgba(16, 49, 104, 0.44);
}

#commercePaymentPanel .commerce-bank-price-card span {
    font-size: 12px;
    color: #bed7ff;
    font-weight: 700;
    letter-spacing: 0.08em;
}

#commercePaymentPanel .commerce-bank-price-card strong {
    font-size: 26px;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -0.02em;
}

#commercePaymentPanel .commerce-bank-summary-top {
    justify-content: flex-start;
}

#commercePaymentPanel .commerce-bank-summary-top,
#commercePaymentPanel .commerce-bank-help {
    display: none !important;
}

#commercePaymentPanel .commerce-bank-badge {
    min-height: 26px;
    font-size: 11px;
}

#commercePaymentPanel .commerce-bank-meta {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 18, 33, 0.82);
    padding: 10px 12px;
}

#commercePaymentPanel .commerce-bank-right-head h5 {
    margin: 0;
    font-size: 18px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #f2f8ff;
}

#commercePaymentPanel .commerce-bank-right-head p {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #bbcee3;
}

#commercePaymentPanel .commerce-bank-account-item.is-light {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(10, 21, 36, 0.9), rgba(7, 15, 28, 0.9));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    padding: 13px;
    gap: 10px;
}

#commercePaymentPanel .commerce-bank-account-item.is-light .commerce-bank-account-row span {
    color: #8ea7c2;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

#commercePaymentPanel .commerce-bank-account-item.is-light .commerce-bank-account-row.value-row {
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

#commercePaymentPanel .commerce-bank-account-item.is-light .commerce-bank-account-row b {
    color: #f5fbff;
    font-size: 16px;
    line-height: 1.2;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1 1 auto;
    min-width: 0;
}

#commercePaymentPanel .commerce-bank-account-item.is-light .btn {
    min-height: 34px;
    width: 88px;
    min-width: 88px;
    max-width: 88px;
    border-radius: 999px;
    border: 1px solid rgba(111, 176, 246, 0.38);
    background: rgba(25, 46, 76, 0.85);
    color: #dcebff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
}

#commercePaymentPanel .commerce-bank-account-item.is-light .btn:hover {
    border-color: rgba(138, 196, 255, 0.62);
    background: rgba(33, 58, 92, 0.94);
    box-shadow: 0 0 0 3px rgba(72, 152, 239, 0.15);
}

#commercePaymentPanel .commerce-bank-account-item.is-light .btn .copy-btn-icon {
    display: inline-flex;
    width: 13px;
    height: 13px;
    color: currentColor;
    flex: 0 0 auto;
}

#commercePaymentPanel .commerce-bank-wa-note {
    border-radius: 14px;
    border: 1px solid rgba(118, 167, 233, 0.34);
    background: linear-gradient(180deg, rgba(24, 41, 79, 0.46), rgba(16, 30, 60, 0.4));
    padding: 13px;
    display: grid;
    gap: 5px;
}

#commercePaymentPanel .commerce-bank-wa-note strong {
    color: #e3edff;
    font-size: 14px;
    line-height: 1.3;
}

#commercePaymentPanel .commerce-bank-wa-note span {
    color: #b9cae3;
    font-size: 12px;
    line-height: 1.45;
}

#commercePaymentPanel .commerce-bank-report-btn {
    width: 100%;
    min-height: 50px;
    border-radius: 14px;
    border: 1px solid rgba(120, 229, 178, 0.48);
    background: linear-gradient(135deg, #189d66 0%, #22be79 52%, #28d584 100%);
    color: #f6fffb;
    font-size: 16px;
    font-weight: 800;
    gap: 10px;
    box-shadow:
        0 16px 30px rgba(13, 68, 45, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

#commercePaymentPanel .commerce-bank-report-btn:hover {
    transform: translateY(-1px) scale(1.005);
    filter: saturate(1.05);
    box-shadow:
        0 20px 34px rgba(12, 70, 46, 0.5),
        0 0 0 4px rgba(56, 202, 130, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

#commercePaymentPanel .commerce-bank-report-btn:disabled {
    background: linear-gradient(135deg, #243a4d 0%, #2f4760 100%);
    border-color: rgba(161, 197, 229, 0.22);
    color: #a7bad0;
    box-shadow: none;
}

#commercePaymentPanel .commerce-wa-icon {
    width: 24px;
    height: 24px;
}

#commercePaymentPanel .commerce-wa-ext {
    margin-left: auto;
    font-size: 16px;
    opacity: 0.9;
}

#commercePaymentPanel .commerce-bank-ssl-note {
    text-align: center;
    font-size: 12px;
    color: #afc4db;
}

#commercePaymentPanel .commerce-bank-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

#commercePaymentPanel .commerce-bank-feature {
    border-radius: 13px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(10, 21, 36, 0.78), rgba(8, 17, 30, 0.86));
    padding: 11px 12px;
    display: grid;
    gap: 4px;
}

#commercePaymentPanel .commerce-bank-feature strong {
    color: #eef7ff;
    font-size: 13px;
}

#commercePaymentPanel .commerce-bank-feature span {
    color: #9fb8d3;
    font-size: 11px;
    line-height: 1.4;
}

@media (max-width: 1100px) {
    #commercePaymentPanel.commerce-modal-card {
        width: min(980px, 95vw);
        padding: 16px;
    }

    #commercePaymentPanel .commerce-bank-layout {
        grid-template-columns: 1fr;
    }

    #commercePaymentPanel .commerce-bank-col-right {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-left: 0;
        padding-top: 14px;
    }

    #commercePaymentPanel .commerce-bank-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    #commercePaymentPanel.commerce-modal-card {
        width: calc(100vw - 12px);
        max-height: calc(100svh - 12px);
        border-radius: 16px;
        padding: 10px;
    }

    #commercePaymentPanel .commerce-bank-title-text h5 {
        font-size: 18px;
    }

    #commercePaymentPanel .commerce-bank-close-btn {
        top: 6px;
        right: 6px;
        width: 38px;
        height: 38px;
        font-size: 21px;
    }

    #commercePaymentPanel .commerce-bank-title-text p,
    #commercePaymentPanel .commerce-bank-right-head p,
    #commercePaymentPanel .commerce-bank-help,
    #commercePaymentPanel .commerce-bank-info-card p,
    #commercePaymentPanel .commerce-bank-wa-note span {
        font-size: 11px;
    }

    #commercePaymentPanel .commerce-bank-right-head h5 {
        font-size: 16px;
    }

    #commercePaymentPanel .commerce-bank-right-head p {
        margin-top: 4px;
    }

    #commercePaymentPanel .commerce-bank-price-card strong {
        font-size: 24px;
    }

    #commercePaymentPanel .commerce-bank-price-status {
        font-size: 10px;
        padding: 0 7px;
    }

    #commercePaymentPanel .commerce-bank-account-item.is-light .commerce-bank-account-row.value-row {
        flex-direction: row;
        align-items: center;
    }

    #commercePaymentPanel .commerce-bank-account-item.is-light .commerce-bank-account-row b {
        font-size: 14px;
        text-align: left;
        word-break: normal;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #commercePaymentPanel .commerce-bank-account-item.is-light .btn {
        width: 84px;
        min-width: 84px;
        max-width: 84px;
        gap: 4px;
        font-size: 11px;
    }

    #commercePaymentPanel .commerce-bank-info-card {
        display: none;
    }

    #commercePaymentPanel .commerce-bank-col {
        gap: 10px;
    }

    #commercePaymentPanel .commerce-bank-wa-note strong {
        font-size: 13px;
    }

    #commercePaymentPanel .commerce-bank-report-btn {
        min-height: 46px;
        font-size: 15px;
    }

    #commercePaymentPanel .commerce-bank-features {
        grid-template-columns: 1fr;
    }
}

/* Payment modal - one column (right side only) + premium footer */
#commercePaymentPanel .commerce-bank-layout {
    grid-template-columns: 1fr !important;
}

#commercePaymentPanel .commerce-bank-col-left {
    display: none !important;
}

#commercePaymentPanel .commerce-bank-col-right {
    border-left: 0 !important;
    padding-left: 0 !important;
    padding-top: 0 !important;
    max-width: 880px;
    margin: 0 auto;
}

#commercePaymentPanel .commerce-bank-right-head {
    margin-right: 56px;
}

#commercePaymentPanel .commerce-bank-features {
    max-width: 980px;
    margin: 4px auto 0;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px;
}

#commercePaymentPanel .commerce-bank-feature {
    position: relative;
    border-radius: 18px;
    padding: 18px 14px 14px;
    gap: 6px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(8, 21, 38, 0.9), rgba(5, 14, 26, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#commercePaymentPanel .commerce-bank-feature::before {
    content: "";
    width: 62px;
    height: 62px;
    border-radius: 18px;
    margin-bottom: 8px;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

#commercePaymentPanel .commerce-bank-feature strong {
    font-size: 26px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #f4f8ff;
}

#commercePaymentPanel .commerce-bank-feature span {
    font-size: 14px;
    line-height: 1.45;
    color: #b5c6d9;
}

#commercePaymentPanel .commerce-bank-feature:nth-child(1)::before {
    background:
        radial-gradient(circle at 35% 30%, rgba(36, 236, 174, 0.28), rgba(13, 32, 40, 0.1)),
        linear-gradient(180deg, rgba(22, 59, 56, 0.55), rgba(10, 30, 30, 0.2));
    box-shadow: 0 0 18px rgba(35, 220, 166, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

#commercePaymentPanel .commerce-bank-feature:nth-child(2)::before {
    background:
        radial-gradient(circle at 35% 30%, rgba(140, 94, 255, 0.28), rgba(20, 23, 47, 0.15)),
        linear-gradient(180deg, rgba(48, 37, 94, 0.55), rgba(18, 18, 43, 0.2));
    box-shadow: 0 0 18px rgba(117, 84, 255, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

#commercePaymentPanel .commerce-bank-feature:nth-child(3)::before {
    background:
        radial-gradient(circle at 35% 30%, rgba(72, 150, 255, 0.28), rgba(17, 31, 59, 0.15)),
        linear-gradient(180deg, rgba(24, 58, 110, 0.55), rgba(12, 24, 49, 0.2));
    box-shadow: 0 0 18px rgba(67, 152, 255, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

#commercePaymentPanel .commerce-bank-feature:nth-child(4)::before {
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 156, 71, 0.28), rgba(54, 31, 20, 0.15)),
        linear-gradient(180deg, rgba(99, 56, 27, 0.55), rgba(48, 25, 15, 0.2));
    box-shadow: 0 0 18px rgba(255, 154, 63, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

@media (max-width: 980px) {
    #commercePaymentPanel .commerce-bank-right-head {
        margin-right: 46px;
    }

    #commercePaymentPanel .commerce-bank-features {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }

    #commercePaymentPanel .commerce-bank-feature strong {
        font-size: 22px;
    }

    #commercePaymentPanel .commerce-bank-feature span {
        font-size: 13px;
    }
}

@media (max-width: 640px) {
    #commercePaymentPanel .commerce-bank-right-head {
        margin-right: 42px;
    }

    #commercePaymentPanel .commerce-bank-features {
        grid-template-columns: 1fr !important;
        gap: 9px;
    }

    #commercePaymentPanel .commerce-bank-feature {
        padding: 13px 12px 11px;
    }

    #commercePaymentPanel .commerce-bank-feature::before {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        margin-bottom: 6px;
    }

    #commercePaymentPanel .commerce-bank-feature strong {
        font-size: 19px;
    }

    #commercePaymentPanel .commerce-bank-feature span {
        font-size: 12px;
    }
}

/* Payment modal simplification: single-column clean bank view */
#commercePaymentPanel.commerce-modal-card {
    width: min(920px, 92vw) !important;
}

#commercePaymentPanel .commerce-bank-features {
    display: none !important;
}

#commercePaymentPanel .commerce-bank-layout.is-single-column {
    display: block;
}

#commercePaymentPanel .commerce-bank-layout.is-single-column .commerce-bank-col-right {
    max-width: 760px;
    margin: 0 auto;
    border: 0 !important;
    padding: 0 !important;
}

#commercePaymentPanel .commerce-bank-offer-card {
    border-radius: 14px;
    border: 1px solid rgba(111, 176, 246, 0.32);
    background: linear-gradient(180deg, rgba(12, 25, 43, 0.9), rgba(8, 17, 31, 0.92));
    padding: 10px 12px;
    margin-bottom: 10px;
}

#commercePaymentPanel .commerce-bank-offer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

#commercePaymentPanel .commerce-bank-offer-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #9eb8d7;
}

#commercePaymentPanel #commerceBankOfferPrice {
    font-size: 30px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #f5fbff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
}

#commercePaymentPanel #commerceBankOfferName {
    margin: 6px 0 0;
    font-size: 12px;
    color: #b7cae1;
}

#commercePaymentPanel .commerce-bank-package-block {
    display: grid;
    gap: 6px;
    margin-bottom: 10px;
}

#commercePaymentPanel .commerce-bank-package-block label {
    font-size: 11px;
    font-weight: 700;
    color: #a8bfd9;
}

#commercePaymentPanel .commerce-bank-select {
    width: 100%;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(121, 184, 247, 0.35);
    background:
        linear-gradient(180deg, rgba(12, 27, 44, 0.92), rgba(7, 15, 28, 0.94));
    color: #ecf6ff;
    font-size: 13px;
    font-weight: 700;
    padding: 0 40px 0 12px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #9ec6f1 50%),
        linear-gradient(135deg, #9ec6f1 50%, transparent 50%),
        linear-gradient(180deg, rgba(30, 61, 97, 0.5), rgba(16, 35, 58, 0.5));
    background-position:
        calc(100% - 17px) 18px,
        calc(100% - 12px) 18px,
        calc(100% - 34px) 0;
    background-size:
        5px 5px,
        5px 5px,
        34px 100%;
    background-repeat: no-repeat;
}

#commercePaymentPanel .commerce-bank-select option {
    background-color: #0c1b2c;
    color: #ecf6ff;
}

#commercePaymentPanel .commerce-bank-select:focus {
    border-color: rgba(132, 197, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(76, 157, 233, 0.2);
}

#commercePaymentPanel .commerce-bank-accounts {
    gap: 8px;
}

#commercePaymentPanel .commerce-bank-account-item.is-light {
    padding: 8px 10px;
    border-radius: 12px;
    gap: 0;
}

#commercePaymentPanel .commerce-bank-account-item.is-light .commerce-bank-account-row.value-row {
    min-height: 30px;
    gap: 8px;
}

#commercePaymentPanel .commerce-bank-account-item.is-light .commerce-bank-account-row.value-row > span {
    min-width: 64px;
    font-size: 10px;
    letter-spacing: 0.08em;
    color: #90a9c4;
    font-weight: 700;
}

#commercePaymentPanel .commerce-bank-account-item.is-light .commerce-bank-account-row b {
    font-size: 14px;
}

#commercePaymentPanel .commerce-bank-account-item.is-light .btn {
    min-height: 30px;
    width: 84px;
    min-width: 84px;
    max-width: 84px;
    font-size: 11px;
    font-weight: 800;
    color: #f2f8ff;
    border-color: rgba(144, 199, 255, 0.55);
    background: linear-gradient(180deg, rgba(34, 67, 104, 0.95), rgba(22, 46, 74, 0.95));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.delivery-approved-progress {
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 0;
    padding: 10px 12px;
    border-radius: 14px 14px 0 0;
    border: 1px solid rgba(121, 201, 255, 0.34);
    background:
        radial-gradient(circle at 12% 0%, rgba(77, 167, 255, 0.18), transparent 55%),
        linear-gradient(180deg, rgba(10, 29, 48, 0.92), rgba(7, 20, 34, 0.95));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 10px 22px rgba(6, 19, 33, 0.4);
}

.delivery-modal .delivery-note.delivery-note-joined {
    margin-top: -14px;
    padding: 10px 12px 11px;
    border-radius: 0 0 12px 12px;
    border: 1px solid rgba(121, 201, 255, 0.28);
    border-top: 0;
    background:
        linear-gradient(180deg, rgba(8, 23, 38, 0.92), rgba(6, 18, 31, 0.96));
    color: #b7ddff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.delivery-approved-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.delivery-approved-progress-head strong {
    color: #e7f4ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.delivery-approved-progress-head span {
    color: #8fd2ff;
    font-size: 12px;
    font-weight: 800;
}

.delivery-approved-progress-track {
    position: relative;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(11, 28, 46, 0.9), rgba(8, 20, 34, 0.95));
    border: 1px solid rgba(110, 166, 214, 0.26);
}

#deliveryApprovedProgressBar {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background:
        linear-gradient(90deg, #1f8fff 0%, #4db8ff 45%, #7cd7ff 100%);
    box-shadow:
        0 0 18px rgba(88, 185, 255, 0.55),
        inset 0 -1px 0 rgba(255, 255, 255, 0.3);
    transition: width .7s ease;
    position: relative;
    overflow: hidden;
}

#deliveryApprovedProgressBar::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 60%;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    animation: deliveryApprovedProgressShine 1.8s linear infinite;
}

@keyframes deliveryApprovedProgressShine {
    0% { transform: translateX(-130%); }
    100% { transform: translateX(260%); }
}

@media (max-width: 640px) {
    #commercePaymentPanel.commerce-modal-card {
        width: calc(100vw - 14px) !important;
    }

    #commercePaymentPanel #commerceBankOfferPrice {
        font-size: 27px;
    }

    #commercePaymentPanel #commerceBankOfferName {
        font-size: 11.5px;
    }

    #commercePaymentPanel .commerce-bank-select {
        min-height: 40px;
        font-size: 12px;
        padding-right: 36px;
        background-position:
            calc(100% - 16px) 16px,
            calc(100% - 11px) 16px,
            calc(100% - 32px) 0;
        background-size:
            5px 5px,
            5px 5px,
            32px 100%;
    }

    #commercePaymentPanel .commerce-bank-account-item.is-light {
        padding: 7px 9px;
    }

    #commercePaymentPanel .commerce-bank-account-item.is-light .commerce-bank-account-row.value-row > span {
        min-width: 58px;
        font-size: 9.8px;
    }

    #commercePaymentPanel .commerce-bank-account-item.is-light .commerce-bank-account-row b {
        font-size: 12.5px;
    }
}

/* Final mobile-first payment modal polish */
#commercePaymentPanel.commerce-modal-card {
    box-sizing: border-box;
    overflow-x: hidden;
}

@media (max-width: 900px) {
    .commerce-modal-layer {
        align-items: flex-end;
        padding: 0;
        background: linear-gradient(180deg, rgba(2, 8, 18, 0.58), rgba(2, 8, 18, 0.88));
    }

    #commercePaymentPanel.commerce-modal-card {
        width: 100vw !important;
        max-width: 100vw !important;
        max-height: min(92dvh, 100svh) !important;
        border-radius: 18px 18px 0 0;
        padding: 14px 12px 12px;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        box-shadow: 0 -18px 48px rgba(0, 0, 0, 0.45);
    }

    #commercePaymentPanel .commerce-bank-ui {
        gap: 12px;
    }

    #commercePaymentPanel .commerce-bank-close-btn {
        position: sticky;
        top: 0;
        margin-left: auto;
        width: 36px;
        height: 36px;
        border-radius: 12px;
        font-size: 20px;
        z-index: 5;
    }

    #commercePaymentPanel .commerce-bank-right-head {
        margin-right: 0;
    }

    #commercePaymentPanel .commerce-bank-right-head h5 {
        font-size: 16px;
    }

    #commercePaymentPanel .commerce-bank-right-head p {
        font-size: 12px;
        line-height: 1.45;
    }

    #commercePaymentPanel .commerce-bank-offer-card,
    #commercePaymentPanel .commerce-bank-account-item.is-light,
    #commercePaymentPanel .commerce-bank-wa-note {
        border-radius: 12px;
    }

    #commercePaymentPanel #commerceBankOfferPrice {
        font-size: 24px;
    }

    #commercePaymentPanel .commerce-bank-select {
        min-height: 42px;
        font-size: 12.5px;
    }

    #commercePaymentPanel .commerce-bank-account-item.is-light {
        padding: 9px 10px;
    }

    #commercePaymentPanel .commerce-bank-account-item.is-light .commerce-bank-account-row.value-row {
        gap: 7px;
    }

    #commercePaymentPanel .commerce-bank-account-item.is-light .commerce-bank-account-row.value-row > span {
        min-width: 56px;
        font-size: 9.5px;
    }

    #commercePaymentPanel .commerce-bank-account-item.is-light .commerce-bank-account-row b {
        font-size: 12.5px;
        line-height: 1.25;
    }

    #commercePaymentPanel .commerce-bank-account-item.is-light .btn {
        min-height: 32px;
        width: 78px;
        min-width: 78px;
        max-width: 78px;
        font-size: 10.5px;
    }

    #commercePaymentPanel .commerce-bank-report-btn {
        min-height: 48px;
        border-radius: 12px;
        font-size: 15px;
    }

    .commerce-modal-layer[data-mode="auth"] {
        align-items: flex-start;
        justify-content: center;
        padding-top: max(18px, calc(env(safe-area-inset-top, 0px) + 10px));
        padding-right: 10px;
        padding-left: 10px;
        padding-bottom: max(10px, env(safe-area-inset-bottom, 0px));
    }

    #commerceAuthPanel.commerce-modal-card {
        width: min(96vw, 520px);
        max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 30px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 auto;
    }
}

/* Pricing checkout mode: keep only payment flow visible, hide delivery background content */
.delivery-modal.commerce-only {
    background: rgba(2, 8, 18, 0.74);
}

.delivery-modal.commerce-only .delivery-card.delivery-card-sales {
    width: min(96vw, 760px);
    max-height: calc(100vh - 26px);
    padding: 0;
    border: 0;
    border-radius: 22px;
    background: transparent;
    box-shadow: none;
}

.delivery-modal.commerce-only .delivery-close,
.delivery-modal.commerce-only .delivery-hero,
.delivery-modal.commerce-only .delivery-grid {
    display: none !important;
}

.delivery-modal.commerce-only #commerceModalLayer {
    position: relative;
    inset: auto;
    display: flex;
    padding: 12px;
    background: transparent;
}

@media (max-width: 900px) {
    .delivery-modal.commerce-only .delivery-card.delivery-card-sales {
        width: 100vw;
        max-height: 100vh;
        border-radius: 0;
    }

    .delivery-modal.commerce-only #commerceModalLayer {
        padding: 0;
    }
}

/* Delivery payment modal: hard mobile fix */
@media (max-width: 900px) {
    .delivery-modal.commerce-only #commerceModalLayer {
        align-items: flex-end !important;
        padding: 0 !important;
    }

    .delivery-modal.commerce-only #commerceModalLayer[data-mode="auth"] {
        align-items: flex-start !important;
        padding-top: max(18px, calc(env(safe-area-inset-top, 0px) + 10px)) !important;
        padding-right: 10px !important;
        padding-left: 10px !important;
        padding-bottom: max(10px, env(safe-area-inset-bottom, 0px)) !important;
    }

    .delivery-modal.commerce-only #commercePaymentPanel.commerce-modal-card {
        width: 100vw !important;
        max-width: 100vw !important;
        max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 4px) !important;
        margin: 0 !important;
        border-radius: 18px 18px 0 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
        border-bottom: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 14px 12px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
        box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.44) !important;
    }

    .delivery-modal.commerce-only #commercePaymentPanel .commerce-bank-ui {
        gap: 10px !important;
    }

    .delivery-modal.commerce-only #commercePaymentPanel .commerce-bank-close-btn {
        position: sticky !important;
        top: 0 !important;
        right: 0 !important;
        margin-left: auto !important;
        width: 36px !important;
        height: 36px !important;
        border-radius: 12px !important;
        z-index: 8 !important;
        font-size: 20px !important;
    }

    .delivery-modal.commerce-only #commercePaymentPanel .commerce-bank-offer-card,
    .delivery-modal.commerce-only #commercePaymentPanel .commerce-bank-package-block,
    .delivery-modal.commerce-only #commercePaymentPanel .commerce-bank-account-item.is-light,
    .delivery-modal.commerce-only #commercePaymentPanel .commerce-bank-wa-note {
        border-radius: 13px !important;
    }

    .delivery-modal.commerce-only #commercePaymentPanel .commerce-bank-account-item.is-light .commerce-bank-account-row.value-row {
        display: grid !important;
        grid-template-columns: minmax(58px, auto) minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .delivery-modal.commerce-only #commercePaymentPanel .commerce-bank-account-item.is-light .commerce-bank-account-row b {
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
        line-height: 1.25 !important;
    }

    .delivery-modal.commerce-only #commercePaymentPanel .commerce-bank-account-item.is-light .btn {
        width: 86px !important;
        min-width: 86px !important;
        max-width: 86px !important;
        min-height: 34px !important;
        font-size: 11px !important;
    }

    .delivery-modal.commerce-only #commercePaymentPanel .commerce-bank-report-btn {
        min-height: 50px !important;
        border-radius: 13px !important;
        font-size: 15px !important;
        margin-bottom: env(safe-area-inset-bottom, 0px) !important;
    }
}

/* Standalone pricing checkout modal (independent from delivery modal) */
.pricing-checkout-modal {
    position: fixed;
    inset: 0;
    z-index: 10090;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background: linear-gradient(180deg, rgba(3, 9, 18, 0.58), rgba(3, 9, 18, 0.82));
}

.pricing-checkout-modal.show {
    display: flex;
}

.pricing-checkout-card {
    width: min(720px, 100%);
    border-radius: 28px;
    border: 1px solid rgba(101, 170, 255, 0.34);
    background:
        radial-gradient(circle at 14% 0%, rgba(74, 157, 255, 0.2), transparent 48%),
        radial-gradient(circle at 90% 0%, rgba(105, 214, 255, 0.13), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
        rgba(8, 18, 32, 0.97);
    box-shadow:
        0 36px 92px rgba(0, 0, 0, 0.54),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    padding: 20px 20px 14px;
    color: #eaf3ff;
    position: relative;
    font-family: inherit;
}

.pricing-checkout-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(125, 183, 255, 0.46);
    background: rgba(19, 39, 63, 0.78);
    color: #bcdfff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.pricing-checkout-head {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.pricing-checkout-brand-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    border: 1px solid rgba(105, 176, 255, 0.46);
    background: linear-gradient(180deg, rgba(27, 71, 120, 0.74), rgba(13, 33, 57, 0.82));
    display: grid;
    place-items: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.pricing-checkout-brand-icon svg {
    width: 30px;
    height: 30px;
    fill: #53a7ff;
}

.pricing-checkout-kicker {
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #67b3ff;
    margin-bottom: 8px;
    font-weight: 700;
}

.pricing-checkout-title {
    margin: 0;
    font-size: 26px;
    letter-spacing: -0.01em;
    color: #f5fbff;
    line-height: 1.06;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.pricing-checkout-text {
    margin: 8px 0 12px;
    color: #bed7f3;
    font-size: 13px;
    line-height: 1.42;
}

.pricing-checkout-offer {
    margin-top: 6px;
    border: 1px solid rgba(104, 168, 245, 0.4);
    border-radius: 14px;
    padding: 10px 12px;
    background: linear-gradient(180deg, rgba(30, 61, 98, 0.58), rgba(15, 33, 56, 0.9));
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
}

.pricing-checkout-offer-left,
.pricing-checkout-offer-right {
    display: grid;
    gap: 2px;
}

.pricing-checkout-offer-left span,
.pricing-checkout-offer-right span {
    font-size: 13px;
    color: #9fc4e9;
}

.pricing-checkout-offer-left strong {
    font-size: 20px;
    color: #eef7ff;
    line-height: 1.08;
}

.pricing-checkout-offer-right {
    text-align: right;
}

.pricing-checkout-offer-right strong {
    font-size: 26px;
    color: #4aa9ff;
    font-weight: 800;
    line-height: 1.02;
}

.pricing-checkout-bank {
    margin-top: 10px;
    border-radius: 14px;
    border: 1px solid rgba(104, 168, 245, 0.34);
    background: rgba(9, 24, 41, 0.84);
    padding: 10px;
}

.pricing-checkout-bank-title {
    margin-bottom: 8px;
    font-size: 12px;
    color: #66b1ff;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.pricing-checkout-account-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 8px;
    align-items: center;
    border: 1px solid rgba(99, 159, 232, 0.3);
    border-radius: 10px;
    padding: 8px 10px;
    background: linear-gradient(180deg, rgba(24, 50, 80, 0.65), rgba(12, 30, 50, 0.82));
}

.pricing-checkout-account-row + .pricing-checkout-account-row {
    margin-top: 6px;
}

.pricing-checkout-row-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(111, 179, 255, 0.32);
    background: rgba(16, 38, 63, 0.82);
    color: #63b0ff;
}

.pricing-checkout-row-icon svg {
    width: 18px;
    height: 18px;
}

.pricing-checkout-account-text {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.pricing-checkout-account-label {
    color: #a9caeb;
    font-size: 11px;
}

.pricing-checkout-account-row b {
    color: #f1f8ff;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
    word-break: break-word;
}

.pricing-checkout-copy {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(118, 182, 255, 0.38);
    background: rgba(20, 43, 70, 0.84);
    color: #c8e4ff;
    font-size: 14px;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.pricing-checkout-copy svg {
    width: 16px;
    height: 16px;
}

.pricing-checkout-copy.copied {
    background: rgba(31, 113, 58, 0.86);
    border-color: rgba(112, 235, 162, 0.7);
    color: #d8ffea;
}

.pricing-checkout-wa {
    margin-top: 8px;
    border-radius: 12px;
    border: 1px solid rgba(105, 170, 245, 0.3);
    background: rgba(18, 38, 62, 0.8);
    padding: 8px 10px;
    color: #c6ddf3;
    font-size: 13px;
    line-height: 1.45;
}

.pricing-checkout-actions {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.pricing-checkout-wa-btn {
    min-height: 50px;
    border: 0 !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #1ac35f 0%, #32cf74 45%, #22ba62 100%) !important;
    color: #f3fffa !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

.pricing-checkout-close-btn-secondary {
    min-height: 50px;
    border-radius: 14px !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px;
}

.pricing-checkout-foot {
    margin-top: 9px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    color: #9ec2e8;
    font-size: 12.5px;
}

.pricing-checkout-note {
    margin-top: 6px;
    font-size: 12px;
    color: #b9d8f8;
    min-height: 20px;
}

.pricing-checkout-copy-toast {
    margin-top: 4px;
    min-height: 0;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .18s ease, transform .18s ease;
    color: #8ef0c1;
    font-size: 12px;
    font-weight: 600;
}

.pricing-checkout-copy-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.pricing-checkout-note.ok {
    color: #8ef0c1;
}

.pricing-checkout-note.err {
    color: #ff9da4;
}

@media (max-width: 640px) {
    .pricing-checkout-modal {
        align-items: flex-end;
        padding: 0;
    }

    .pricing-checkout-card {
        width: 100vw;
        border-radius: 18px 18px 0 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        padding: 12px 11px 11px;
        max-height: min(92dvh, 100svh);
        overflow-y: auto;
    }

    .pricing-checkout-close {
        top: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
        font-size: 24px;
    }

    .pricing-checkout-head {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 8px;
    }

    .pricing-checkout-brand-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .pricing-checkout-brand-icon svg {
        width: 22px;
        height: 22px;
    }

    .pricing-checkout-kicker {
        font-size: 11px;
        margin-bottom: 4px;
    }

    .pricing-checkout-title {
        font-size: 20px;
    }

    .pricing-checkout-text {
        margin: 5px 0 8px;
        font-size: 12.5px;
        line-height: 1.45;
    }

    .pricing-checkout-offer {
        padding: 11px 12px;
    }

    .pricing-checkout-offer-left strong {
        font-size: 16px;
    }

    .pricing-checkout-offer-right strong {
        font-size: 20px;
    }

    .pricing-checkout-account-row {
        grid-template-columns: 30px minmax(0, 1fr) 30px;
        gap: 4px;
        padding: 9px 10px;
    }

    .pricing-checkout-row-icon {
        width: 30px;
        height: 30px;
        border-radius: 9px;
    }

    .pricing-checkout-row-icon svg {
        width: 15px;
        height: 15px;
    }

    .pricing-checkout-account-label {
        font-size: 10px;
    }

    .pricing-checkout-account-row b {
        font-size: 12px;
    }

    .pricing-checkout-copy {
        width: 30px;
        height: 30px;
        border-radius: 9px;
    }

    .pricing-checkout-copy svg {
        width: 15px;
        height: 15px;
    }

    .pricing-checkout-wa {
        font-size: 12px;
        line-height: 1.4;
    }

    .pricing-checkout-actions {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .pricing-checkout-wa-btn,
    .pricing-checkout-close-btn-secondary {
        min-height: 44px;
        font-size: 13px !important;
    }

    .pricing-checkout-foot {
        margin-top: 8px;
        font-size: 11.5px;
    }
}

@media (max-width: 420px) {
    .pricing-checkout-title {
        font-size: 18px;
    }

    .pricing-checkout-text {
        font-size: 13px;
    }

    .pricing-checkout-offer-left strong {
        font-size: 15px;
    }

    .pricing-checkout-offer-right strong {
        font-size: 18px;
    }
}

/* Delivery preview normalization: keep all thumbnails wide on locked screen */
.delivery-modal .variant-preview img,
.delivery-modal .thumb-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: var(--delivery-shot-focus, 50% 50%);
    transform: var(--delivery-shot-transform, scale(1.05));
}

.delivery-modal.photos-locked .thumb-preview img {
    filter: blur(2.6px) saturate(0.9) brightness(0.84);
}

.delivery-modal:not(.unlocked) .variant-preview img {
    filter: blur(2.4px) saturate(0.92) brightness(0.86);
}

.delivery-modal.unlocked .variant-preview img,
.delivery-modal.photos-unlocked .thumb-preview img {
    transform: none !important;
}

/* Delivery parcel meta: modern inline chips, same on mobile/desktop */
.delivery-modal .delivery-hero-top {
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
}

.delivery-modal .delivery-hero-heading {
    display: grid;
    gap: 8px;
}

.delivery-modal .delivery-title + .delivery-parcel-meta {
    margin-top: 6px !important;
    margin-bottom: 4px !important;
}

.delivery-modal .delivery-parcel-meta {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.delivery-modal .delivery-parcel-breadcrumb {
    min-width: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    min-height: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
    white-space: nowrap;
}

.delivery-modal .delivery-parcel-crumb {
    min-width: 0;
    max-width: 32%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #d9ecfb;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.delivery-modal .delivery-parcel-sep {
    flex: 0 0 auto;
    color: #8fb8d8;
    font-size: 12px;
    font-weight: 800;
    opacity: 0.82;
}

.delivery-modal .delivery-parcel-chip {
    min-width: 0 !important;
    flex: 1 1 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    padding: 8px 10px !important;
    min-height: 38px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(108, 198, 255, 0.26) !important;
    background:
        linear-gradient(180deg, rgba(93,180,255,0.12), rgba(93,180,255,0.05)),
        rgba(10, 22, 38, 0.94) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.delivery-modal .delivery-parcel-chip small {
    flex: 0 0 auto !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: #9ecff3 !important;
    margin: 0 !important;
}

.delivery-modal .delivery-parcel-chip small::after {
    content: ":" !important;
    margin-left: 2px !important;
}

.delivery-modal .delivery-parcel-chip strong {
    min-width: 0 !important;
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: #eaf6ff !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
}

@media (max-width: 640px) {
    .delivery-modal .delivery-parcel-meta {
        gap: 6px !important;
    }

    .delivery-modal .delivery-parcel-breadcrumb {
        gap: 5px;
        padding: 0;
        min-height: 0;
        border-radius: 0;
    }

    .delivery-modal .delivery-parcel-crumb {
        font-size: 11px;
    }

    .delivery-modal .delivery-parcel-sep {
        font-size: 12px;
    }

    .delivery-modal .delivery-parcel-chip {
        padding: 7px 8px !important;
        min-height: 34px !important;
    }

    .delivery-modal .delivery-parcel-chip small {
        font-size: 9px !important;
        letter-spacing: 0.04em !important;
    }

    .delivery-modal .delivery-parcel-chip strong {
        font-size: 11px !important;
    }
}
