/* Cart page — matches site blue / slate / soft purple UI */

.cart-page {
    --cart-bg: #f1f5f9;
    --cart-card: #ffffff;
    --cart-text: #0f172a;
    --cart-muted: #64748b;
    --cart-line: rgba(148, 163, 184, 0.35);
    --cart-blue: #3b82f6;
    --cart-indigo: #6366f1;
    --cart-purple: #7c3aed;
    --cart-ok: #059669;
    --cart-danger: #dc2626;
    direction: rtl;
    text-align: right;
    font-family: iransans, yekan, Tahoma, sans-serif;
    color: var(--cart-text);
    padding: 18px 0 40px;
    background:
        radial-gradient(ellipse 70% 45% at 100% 0%, rgba(99, 102, 241, 0.12), transparent 55%),
        radial-gradient(ellipse 55% 40% at 0% 20%, rgba(59, 130, 246, 0.08), transparent 50%),
        var(--cart-bg);
}

.cart-page a { text-decoration: none !important; }

.cart-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--cart-muted);
}

.cart-crumb-path {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.cart-crumb a {
    color: #4338ca !important;
    font-weight: 600;
}

.cart-crumb a:hover { color: #7c3aed !important; }

.cart-crumb-sep { opacity: 0.4; }

.cart-crumb-current {
    display: inline;
    margin: 0;
    font-family: yekan, iransans;
    font-size: 18px;
    font-weight: 700;
    color: var(--cart-text);
    line-height: 1.4;
}

.cart-count {
    color: var(--cart-muted);
    font-size: 13px;
    font-family: yekan, iransans;
    white-space: nowrap;
}

.cart-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 18px;
    padding: 14px 16px;
    background: var(--cart-card);
    border: 1px solid var(--cart-line);
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.cart-step {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--cart-muted);
    font-family: yekan, iransans;
    font-size: 12px;
    font-weight: 700;
}

.cart-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #64748b;
    flex: 0 0 auto;
}

.cart-step.is-active {
    color: #4338ca;
}

.cart-step.is-active .cart-step-num {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 55%, #7c3aed 100%);
    color: #fff;
    box-shadow: 0 8px 18px rgba(99, 102, 241, 0.3);
}

.cart-step.is-done {
    color: #059669;
}

.cart-step.is-done .cart-step-num {
    background: #d1fae5;
    color: #059669;
}

.cart-step-line {
    flex: 1 1 auto;
    height: 2px;
    min-width: 12px;
    background: linear-gradient(90deg, #e2e8f0, #c7d2fe, #e2e8f0);
}

.cart-step-label {
    white-space: nowrap;
}

.cart-delete {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    box-shadow: 0 8px 16px rgba(220, 38, 38, 0.28);
    z-index: 2;
    color: #fff !important;
    font-size: 13px;
}

.cart-delete:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b) !important;
    color: #fff !important;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
    align-items: start;
}

.cart-list {
    display: grid;
    gap: 14px;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 16px;
    padding: 16px;
    background: var(--cart-card);
    border: 1px solid var(--cart-line);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.cart-item-media {
    position: relative;
    width: 120px;
}

.cart-item-media a.cart-thumb {
    display: block;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--cart-line);
    background: #f8fafc;
    aspect-ratio: 1 / 1;
}

.cart-item-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.cart-item-media .delete_icon_1 {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    box-shadow: 0 8px 16px rgba(220, 38, 38, 0.28);
    z-index: 2;
}

.cart-item-media .delete_icon_1:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b) !important;
}

.cart-item-media .delete_icon_1 table {
    display: none;
}

.cart-item-media .delete_icon_1::before {
    content: "\f2ed";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #fff;
    font-size: 13px;
}

.cart-item-body {
    min-width: 0;
}

.cart-item-title {
    margin: 0 0 8px;
    font-family: yekan, iransans;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
    color: var(--cart-text);
}

.cart-item-title a {
    color: inherit !important;
}

.cart-item-title a:hover {
    color: #4338ca !important;
}

.cart-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.cart-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f0fdf4;
    color: #166534;
    font-size: 12px;
    font-family: yekan, iransans;
}

.cart-chip i { color: #16a34a; }

.cart-item-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
}

.cart-qty-label {
    font-size: 12px;
    color: var(--cart-muted);
    font-family: yekan, iransans;
}

.cart-qty-select {
    min-width: 72px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--cart-line);
    border-radius: 10px;
    background: #f8fafc;
    color: #0f172a;
    font-family: iransans, arial;
    font-size: 15px;
    text-align: center;
    outline: none;
    cursor: pointer;
}

.cart-qty-select:focus {
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    background: #fff;
}

.cart-qty-static {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    background: #eef2ff;
    color: #4338ca;
    font-weight: 700;
}

.cart-item-price {
    text-align: left;
    direction: ltr;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
}

.cart-old-price {
    color: #94a3b8;
    font-size: 12px;
    text-decoration: line-through;
}

.cart-discount {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 7px;
    background: #e53935;
    color: #fff;
    font-size: 12px;
    font-family: iransans, yekan, sans-serif;
    font-weight: 700;
    line-height: 1.4;
}

.cart-discount-num {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
    letter-spacing: 0;
}

.cart-final-price {
    font-family: iransans, yekan;
    font-size: 20px;
    font-weight: 700;
    color: var(--cart-text);
    direction: rtl;
}

.cart-final-price span {
    font-size: 12px;
    font-weight: 600;
    color: var(--cart-muted);
    margin-right: 4px;
}

.cart-more-request {
    grid-column: 1 / -1;
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 13px;
    line-height: 1.8;
    text-align: center;
}

.cart-service {
    grid-column: 1 / -1;
    margin-top: 2px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(245, 158, 11, 0.35);
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.18), rgba(255, 255, 255, 0.9));
}

.cart-service.is-on {
    border-color: rgba(34, 197, 94, 0.35);
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.14), rgba(255, 255, 255, 0.92));
}

.cart-service-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: center;
}

.cart-service-text {
    font-size: 13px;
    line-height: 1.9;
    color: #475569;
}

.cart-service-text .warn {
    display: block;
    margin-top: 4px;
    color: #dc2626;
    font-size: 12px;
}

.cart-service-desc {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed rgba(148, 163, 184, 0.45);
    color: #334155;
    font-size: 13px;
    line-height: 1.9;
}

.cart-service-pick {
    text-align: center;
}

.cart-service-pick-label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    color: var(--cart-muted);
    font-family: yekan, iransans;
}

.cart-service-price {
    font-family: iransans;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}

.cart-service input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.cart-service input[type="checkbox"] + label {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    border-radius: 7px;
    border: 2px solid #cbd5e1;
    background: #fff !important;
    background-image: none !important;
    cursor: pointer;
    float: none !important;
}

.cart-service input[type="checkbox"]:checked + label {
    border-color: transparent !important;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 55%, #7c3aed 100%) !important;
}

.cart-service input[type="checkbox"]:checked + label::after {
    content: "";
    width: 6px;
    height: 10px;
    margin-top: -1px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.cart-summary {
    position: sticky;
    top: 88px;
    padding: 18px;
    background: var(--cart-card);
    border: 1px solid var(--cart-line);
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.cart-summary-title {
    margin: 0 0 14px;
    font-family: yekan, iransans;
    font-size: 16px;
    font-weight: 700;
}

.cart-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.cart-summary-row span:first-child {
    color: var(--cart-muted);
    font-size: 13px;
}

.cart-summary-total {
    font-family: iransans, yekan;
    font-size: 24px;
    font-weight: 700;
    color: var(--cart-ok);
}

.cart-summary-total small {
    font-size: 12px;
    font-weight: 600;
    color: var(--cart-muted);
    margin-right: 4px;
}

.cart-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    color: #fff !important;
    font-family: yekan, iransans;
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 55%, #7c3aed 100%);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.32);
    transition: filter .15s ease, transform .12s ease;
}

.cart-checkout:hover {
    filter: brightness(1.05);
    color: #fff !important;
}

.cart-checkout:active { transform: scale(0.985); }

.cart-checkout-warn {
    padding: 12px;
    border-radius: 12px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    font-size: 12px;
    line-height: 1.9;
    text-align: center;
}

.cart-empty {
    padding: 48px 24px;
    text-align: center;
    background: var(--cart-card);
    border: 1px solid var(--cart-line);
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.cart-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin-bottom: 16px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.14), rgba(59, 130, 246, 0.1));
    color: #6366f1;
    font-size: 36px;
}

.cart-empty-title {
    margin: 0 0 8px;
    font-family: yekan, iransans;
    font-size: 22px;
    font-weight: 700;
}

.cart-empty-text {
    margin: 0 0 20px;
    color: var(--cart-muted);
    font-size: 14px;
    line-height: 1.9;
}

.cart-empty .cart-checkout {
    display: inline-flex;
    width: auto;
    min-width: 200px;
    padding: 0 22px;
}

/* Full-viewport loading overlay (must defeat Bootstrap modal transform containing-block) */
.cart-loading-modal.modal {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    z-index: 2000 !important;
}

.cart-loading-modal .modal-dialog {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
    -webkit-transform: none !important;
}

.cart-loading-modal .cart-loading-spin {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
    color: #fff;
    z-index: 1;
}

.modal-backdrop.show,
.modal-backdrop.in {
    opacity: 0.55;
}

@media screen and (max-width: 992px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
        order: 2;
    }

    .cart-list { order: 1; }
}

@media screen and (max-width: 768px) {
    .cart-item {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 12px;
    }

    .cart-item-media { width: 92px; }

    .cart-item-price {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        text-align: right;
        direction: rtl;
        padding-top: 8px;
        border-top: 1px dashed var(--cart-line);
    }

    .cart-service-grid {
        grid-template-columns: 1fr;
        text-align: right;
    }

    .cart-crumb-current { font-size: 16px; }

    .cart-step-label { display: none; }

    .cart-steps {
        justify-content: center;
        padding: 12px;
    }
}

/* Checkout panels */
.cart-panel {
    margin-bottom: 16px;
    padding: 18px;
    background: var(--cart-card);
    border: 1px solid var(--cart-line);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.cart-panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    font-family: yekan, iransans;
    font-size: 16px;
    font-weight: 700;
    color: var(--cart-text);
}

.cart-panel-title i {
    color: #6366f1;
}

.cart-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin-bottom: 10px;
    padding: 14px;
    border: 1px solid var(--cart-line);
    border-radius: 14px;
    background: #f8fafc;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.cart-option:has(input:checked) {
    border-color: rgba(99, 102, 241, 0.45);
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.1), #fff);
    box-shadow: 0 8px 18px rgba(99, 102, 241, 0.08);
}

.cart-option-pick {
    padding-top: 2px;
}

.cart-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.cart-option input[type="radio"] + label {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: #fff !important;
    background-image: none !important;
    cursor: pointer;
    float: none !important;
}

.cart-option input[type="radio"]:checked + label {
    border-color: #6366f1 !important;
    box-shadow: inset 0 0 0 5px #6366f1;
}

.cart-option-body {
    min-width: 0;
}

.cart-option-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-bottom: 6px;
}

.cart-option-name {
    font-family: yekan, iransans;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.cart-option-meta {
    font-size: 13px;
    color: var(--cart-muted);
}

.cart-option-text {
    font-size: 13px;
    line-height: 1.9;
    color: #475569;
}

.cart-option-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-left: 8px;
    border-radius: 12px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 18px;
    vertical-align: middle;
}

.cart-empty-box {
    padding: 18px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px dashed var(--cart-line);
    text-align: center;
    color: #475569;
    line-height: 1.9;
}

.cart-factor-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.08), #fff);
    border: 1px solid rgba(59, 130, 246, 0.2);
    font-size: 13px;
    color: #334155;
}

.cart-factor-row input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.cart-factor-row input[type="checkbox"] + label {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    border-radius: 7px;
    border: 2px solid #cbd5e1;
    background: #fff !important;
    background-image: none !important;
    cursor: pointer;
    float: none !important;
}

.cart-factor-row input[type="checkbox"]:checked + label {
    border-color: transparent !important;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 55%, #7c3aed 100%) !important;
}

.cart-factor-row input[type="checkbox"]:checked + label::after {
    content: "";
    width: 6px;
    height: 10px;
    margin-top: -1px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.cart-factor-note {
    color: var(--cart-muted);
    font-size: 12px;
}

.cart-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 8px;
}

.cart-actions-row .cart-checkout {
    width: auto;
    min-width: 200px;
    padding: 0 18px;
    border: none;
    cursor: pointer;
}

.cart-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    background: #fff;
    color: #4338ca !important;
    font-family: yekan, iransans;
    font-size: 13px;
    font-weight: 700;
}

.cart-btn-ghost:hover {
    background: #eef2ff;
    color: #3730a3 !important;
}

.cart-done-hero {
    padding: 36px 24px;
    margin-bottom: 16px;
    text-align: center;
    border-radius: 22px;
    color: #fff;
    background:
        radial-gradient(ellipse 70% 80% at 0% 0%, rgba(34, 197, 94, 0.35), transparent 55%),
        radial-gradient(ellipse 60% 70% at 100% 100%, rgba(16, 185, 129, 0.28), transparent 50%),
        linear-gradient(165deg, #064e3b 0%, #065f46 42%, #047857 100%);
    box-shadow: 0 18px 48px rgba(6, 95, 70, 0.22);
}

.cart-done-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.16);
    color: #bbf7d0;
    font-size: 32px;
    box-shadow: 0 0 0 8px rgba(187, 247, 208, 0.12);
}

.cart-done-title {
    margin: 0 0 8px;
    font-family: yekan, iransans;
    font-size: 26px;
    font-weight: 700;
}

.cart-done-sub {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
    color: #d1fae5;
}

.cart-done-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.cart-done-card {
    position: relative;
    padding: 10px;
    border: 1px solid var(--cart-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.cart-done-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 10px;
    background: #f8fafc;
}

.cart-done-card-title {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.7;
    color: #334155;
    height: 3.4em;
    overflow: hidden;
}

.cart-done-qty {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 11px;
    font-weight: 700;
}

.cart-done-svc {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #d1fae5;
    color: #047857;
    font-size: 11px;
    font-weight: 700;
}

.cart-done-code {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 18px;
    padding: 12px 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(187, 247, 208, 0.35);
}

.cart-done-code span {
    font-size: 12px;
    color: #a7f3d0;
}

.cart-done-code strong {
    font-family: yekan, iransans;
    font-size: 22px;
    letter-spacing: 0.04em;
    color: #ecfdf5;
    direction: ltr;
}

.cart-done-support {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 55%, #fff 100%);
    border: 1px solid #86efac;
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.1);
}

.cart-done-support-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border-radius: 14px;
    background: #059669;
    color: #ecfdf5;
    font-size: 18px;
}

.cart-done-support-body {
    min-width: 0;
    flex: 1 1 auto;
    text-align: right;
}

.cart-done-support-title {
    margin: 0 0 6px;
    font-family: yekan, iransans;
    font-size: 15px;
    font-weight: 700;
    color: #065f46;
}

.cart-done-support-text {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.9;
    color: #047857;
}

.cart-done-phones {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cart-done-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #6ee7b7;
    color: #065f46 !important;
    font-family: yekan, iransans;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .15s ease, box-shadow .15s ease;
}

.cart-done-phone:hover {
    background: #d1fae5;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.18);
    color: #064e3b !important;
}

.cart-done-phone i {
    color: #059669;
    font-size: 13px;
}

.cart-done-alert {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 14px;
    background: #ecfdf5;
    border: 1px solid #86efac;
    color: #065f46;
    font-size: 13px;
    line-height: 1.9;
}

.cart-done-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cart-done-meta-item {
    padding: 12px 14px;
    border-radius: 14px;
    background: #f0fdf4;
    border: 1px solid rgba(134, 239, 172, 0.55);
}

.cart-done-meta-wide {
    grid-column: 1 / -1;
}

.cart-done-meta-label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    color: #047857;
}

.cart-done-meta-value {
    font-size: 14px;
    font-weight: 700;
    color: #064e3b;
    line-height: 1.7;
}

.cart-done-next-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
    color: #334155;
}

.cart-done-bank {
    margin: 14px 0 0;
    padding: 0 18px 0 0;
    list-style: disc;
    color: #0f172a;
    font-size: 14px;
    line-height: 2;
}

.cart-done-bank strong {
    font-weight: 700;
}

@media (max-width: 720px) {
    .cart-done-meta {
        grid-template-columns: 1fr;
    }

    .cart-done-support {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-done-phones {
        flex-direction: column;
    }

    .cart-done-phone {
        justify-content: center;
    }
}

.cart-item.is-compact {
    grid-template-columns: 84px minmax(0, 1fr) auto;
    padding: 12px;
}

.cart-item.is-compact .cart-item-media {
    width: 84px;
}
