.dt-cart-section {
    position: relative;
    padding: 170px 0 90px;
    background:
        radial-gradient(circle at 12% 8%, rgba(0, 77, 161, .10), transparent 34%),
        linear-gradient(180deg, #f4f9fd 0%, #fff 46%);
    min-height: 68vh;
}
.dt-cart-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}
.dt-cart-head p {
    margin: 0;
    color: #5b6a88;
    font-size: .95rem;
}
.dt-cart-back {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #004da1;
    font-weight: 600;
    transition: color .2s ease, transform .2s ease;
}
.dt-cart-back:hover {
    color: #004da1;
    transform: translateX(-3px);
}
.dt-cart-layout {
    --bs-gutter-y: 24px;
}
.dt-cart-list {
    display: grid;
    gap: 16px;
}
.dt-cart-item {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 20px;
    border: 1px solid #e3eef7;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 77, 161, .06);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.dt-cart-item:hover {
    border-color: #c9e1f3;
    box-shadow: 0 16px 38px rgba(0, 77, 161, .10);
    transform: translateY(-2px);
}
.dt-cart-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 104px;
    padding: 8px;
    border: 1px solid #eef5fb;
    border-radius: 14px;
    background: #f8fbfe;
    overflow: hidden;
}
.dt-cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.dt-cart-thumb i {
    color: #a9c4da;
    font-size: 1.8rem;
}
.dt-cart-name {
    display: inline-block;
    margin-bottom: 4px;
    color: #172746;
    font-family: 'Spartan', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.dt-cart-name:hover {
    color: #004da1;
}
.dt-cart-unit {
    margin: 0;
    color: #71819b;
    font-size: .82rem;
}
.dt-cart-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.dt-cart-option {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border: 1px solid #e2eef9;
    border-radius: 999px;
    background: #f7fbfe;
    color: #4f6480;
    font-size: .72rem;
    line-height: 1.3;
}
.dt-cart-option b {
    color: #004da1;
    font-weight: 700;
}
.dt-cart-item-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}
.dt-cart-line {
    color: #004da1;
    font-family: 'Spartan', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.dt-qty {
    display: inline-flex;
    align-items: center;
    padding: 3px;
    border: 1px solid #dbe9f4;
    border-radius: 999px;
    background: #fff;
}
.dt-qty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f8fd;
    color: #004da1;
    font-size: .9rem;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.dt-qty-btn:hover {
    background: #004da1;
    color: #fff;
}
.dt-qty-input {
    width: 42px;
    height: 30px;
    padding: 0 2px;
    border: 0;
    background: transparent;
    color: #172746;
    font-weight: 700;
    text-align: center;
    font-variant-numeric: tabular-nums;
    -moz-appearance: textfield;
}
.dt-qty-input::-webkit-outer-spin-button,
.dt-qty-input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}
.dt-cart-remove {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #93a3b8;
    font-size: .76rem;
    transition: color .15s ease;
}
.dt-cart-remove:hover {
    color: #d9534f;
}
.dt-cart-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}
.dt-cart-clear {
    color: #8394aa;
    font-size: .82rem;
}
.dt-cart-clear:hover {
    color: #d9534f;
}
.dt-cart-summary {
    position: sticky;
    top: 140px;
    padding: 26px;
    border-radius: 20px;
    background: linear-gradient(150deg, #00346e 0%, #004da1 55%, #1a6bc4 100%);
    color: #fff;
    box-shadow: 0 20px 50px rgba(0, 77, 161, .22);
}
.dt-cart-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}
.dt-cart-summary-head h2 {
    margin: 0;
    color: #fff;
    font-family: 'Spartan', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}
.dt-cart-summary-head span {
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    font-size: .7rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.dt-cart-summary-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .78);
    font-size: .9rem;
}
.dt-cart-summary-row strong {
    color: #fff;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.dt-cart-summary-total {
    padding-top: 16px;
    border-bottom: 0;
    color: #fff;
    font-family: 'Spartan', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
}
.dt-cart-summary-total strong {
    font-size: 1.4rem;
}
.dt-cart-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 12px;
    background: #fff;
    color: #004da1;
    font-family: 'Spartan', sans-serif;
    font-size: .9rem;
    font-weight: 700;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}
.dt-cart-checkout:hover {
    color: #004da1;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
}
.dt-cart-summary-note {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .68);
    font-size: .75rem;
    line-height: 1.5;
    text-align: center;
}
.dt-cart-help {
    display: block;
    margin-top: 16px;
    color: rgba(255, 255, 255, .86);
    font-size: .8rem;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.dt-cart-help:hover {
    color: #fff;
}
.dt-cart-status {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    max-width: 320px;
    padding: 11px 16px;
    border-radius: 10px;
    background: #172746;
    color: #fff;
    font-size: .82rem;
    box-shadow: 0 12px 30px rgba(23, 39, 70, .25);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease;
}
.dt-cart-status.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.dt-cart-status.is-error {
    background: #b23b3b;
}
.dt-cart-empty {
    max-width: 560px;
    margin: 0 auto;
    padding: 64px 28px;
    border: 1px solid #e3eef7;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 77, 161, .08);
    text-align: center;
}
.dt-cart-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #eef7fd;
    color: #004da1;
    font-size: 2rem;
}
.dt-cart-empty h1 {
    margin: 0 0 10px;
    color: #004da1;
    font-family: 'Spartan', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
}
.dt-cart-empty p {
    margin: 0 0 24px;
    color: #5b6a88;
}
.dt-cart-empty .theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.dt-cart-item.is-updating {
    opacity: .72;
}
.dt-confirm {
    position: fixed;
    inset: 0;
    width: min(92vw, 420px);
    max-width: 420px;
    max-height: calc(100vh - 32px);
    margin: auto;
    overflow: auto;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: #fff;
    color: #172746;
    box-shadow: 0 24px 70px rgba(9, 29, 56, .26);
}
.dt-confirm::backdrop {
    background: rgba(8, 22, 43, .56);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}
.dt-confirm[open] {
    animation: dtConfirmIn .18s ease both;
}
@keyframes dtConfirmIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.dt-confirm-box {
    padding: 28px;
    text-align: center;
}
.dt-confirm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #fdecec;
    color: #c0392b;
    font-size: 1.35rem;
}
.dt-confirm.is-clear .dt-confirm-icon {
    background: #eef4fb;
    color: #004da1;
}
.dt-confirm h3 {
    margin: 0 0 7px;
    color: #0a2a52;
    font-family: 'Spartan', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
}
.dt-confirm p {
    margin: 0;
    color: #5b6a88;
    font-size: .9rem;
    line-height: 1.55;
}
.dt-confirm-actions {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}
.dt-confirm-btn {
    flex: 1 1 0;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    font: inherit;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.dt-confirm-cancel {
    border-color: #dde7f0;
    background: #f5f8fb;
    color: #33415c;
}
.dt-confirm-cancel:hover {
    background: #eaf1f7;
}
.dt-confirm-ok {
    background: #c0392b;
    color: #fff;
}
.dt-confirm-ok:hover {
    background: #a93226;
}
.dt-confirm.is-clear .dt-confirm-ok {
    background: #004da1;
}
.dt-confirm.is-clear .dt-confirm-ok:hover {
    background: #003b7a;
}
.dt-confirm-btn:focus-visible {
    outline: 3px solid rgba(0, 77, 161, .24);
    outline-offset: 2px;
}
@media (max-width: 991px) {
    .dt-cart-section {
        padding-top: 160px;
    }
    .dt-cart-summary {
        position: static;
    }
}
@media (max-width: 767px) {
    .dt-cart-section {
        padding: 156px 0 70px;
    }
    .dt-cart-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }
    .dt-cart-item {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
    }
    .dt-cart-thumb {
        width: 76px;
        height: 76px;
    }
    .dt-cart-item-side {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-top: 12px;
        border-top: 1px dashed #e3eef7;
    }
    .dt-cart-line {
        font-size: .98rem;
    }
    .dt-cart-footer {
        justify-content: center;
    }
    .dt-cart-summary {
        padding: 22px;
        border-radius: 16px;
    }
    .dt-cart-status {
        right: 16px;
        bottom: 16px;
        left: 16px;
        max-width: none;
    }
}
