.dc-cart {
    --dc-cart-max-width: 1280px;
    --dc-cart-left-width: 768px;
    --dc-cart-columns-gap: 32px;
    --dc-cart-content-top-gap: 64px;
    --dc-cart-progress-width: 816px;
    --dc-cart-step-height: 40px;
    --dc-cart-progress-active-bg: #0059ab;
    --dc-cart-progress-active-text: #fff;
    --dc-cart-progress-inactive-bg: #e0e0e0;
    --dc-cart-progress-inactive-text: #757575;
    --dc-cart-progress-line: #e0e0e0;
    --dc-cart-card-bg: #fff;
    --dc-cart-card-border: #e6e6e6;
    --dc-cart-card-radius: 24px;
    --dc-cart-pad-top: 24px;
    --dc-cart-pad-right: 24px;
    --dc-cart-pad-bottom: 24px;
    --dc-cart-pad-left: 24px;
    --dc-cart-image-size: 90px;
    --dc-cart-image-radius: 12px;
    --dc-cart-item-top: 12px;
    --dc-cart-product-gap: 8px;
    --dc-cart-row-column-gap: 24px;
    --dc-cart-row-right-pad: 4px;
    --dc-cart-qty-col: 90px;
    --dc-cart-subtotal-col: 151px;
    --dc-cart-action-col: 32px;
    --dc-cart-divider: #f5f5f5;
    --dc-cart-checkbox: #0059ab;
    --dc-cart-checkbox-size: 20px;
    --dc-cart-checkbox-radius: 6px;
    --dc-cart-remove: #0059ab;
    --dc-cart-remove-hover: #011139;
    --dc-cart-remove-size: 24px;
    --dc-cart-remove-icon-size: 18px;
    --dc-cart-qty-bg: #fff;
    --dc-cart-qty-btn-bg: #f2f2f2;
    --dc-cart-qty-minus: #666666;
    --dc-cart-qty-plus: #011139;
    --dc-cart-qty-text: #011139;
    --dc-cart-qty-border: #e6e6e6;
    --dc-cart-qty-width: 90px;
    --dc-cart-qty-height: 32px;
    --dc-cart-qty-btn-size: 24px;
    --dc-cart-qty-radius: 16px;
    --dc-cart-summary-bg: #fff;
    --dc-cart-summary-border: #e6e6e6;
    --dc-cart-summary-radius: 24px;
    --dc-cart-summary-pad-top: 24px;
    --dc-cart-summary-pad-right: 24px;
    --dc-cart-summary-pad-bottom: 24px;
    --dc-cart-summary-pad-left: 24px;
    --dc-cart-coupon-bg: #e6eff7;
    --dc-cart-coupon-color: #0059ab;
    --dc-cart-checkout-text: #fff;
    --dc-cart-checkout-bg: #0059ab;
    --dc-cart-checkout-hover-text: #fff;
    --dc-cart-checkout-hover-bg: #00498d;
    --dc-cart-checkout-height: 48px;
    --dc-cart-checkout-radius: 24px;
    width: min(100%, var(--dc-cart-max-width));
    margin-inline: auto;
    color: #011139;
    box-sizing: border-box;
}

.dc-cart,
.dc-cart * {
    box-sizing: border-box;
}

.dc-cart a,
.dc-cart button,
.dc-cart input {
    font: inherit;
}

.dc-cart button,
.dc-cart a {
    -webkit-tap-highlight-color: transparent;
}

.dc-cart__progress {
    position: relative;
    width: min(100%, var(--dc-cart-progress-width));
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}

.dc-cart__progress::before {
    content: '';
    position: absolute;
    z-index: 0;
    left: 12%;
    right: 12%;
    top: 50%;
    height: 6px;
    transform: translateY(-50%);
    background: var(--dc-cart-progress-line);
}

.dc-cart__step-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.dc-cart__step {
    width: min(100%, 193px);
    min-height: var(--dc-cart-step-height);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: 999px;
    background: var(--dc-cart-progress-inactive-bg);
    color: var(--dc-cart-progress-inactive-text);
    font-size: 16px;
    line-height: 1.25;
    font-weight: 400;
    white-space: nowrap;
}

.dc-cart__step-wrap.is-active .dc-cart__step {
    background: var(--dc-cart-progress-active-bg);
    color: var(--dc-cart-progress-active-text);
}

.dc-cart__layout {
    display: grid;
    grid-template-columns: minmax(0, var(--dc-cart-left-width)) minmax(320px, 1fr);
    gap: var(--dc-cart-columns-gap);
    margin-top: var(--dc-cart-content-top-gap);
    align-items: start;
}

.dc-cart__card,
.dc-cart__summary {
    border: 1px solid var(--dc-cart-card-border);
    border-radius: var(--dc-cart-card-radius);
    background: var(--dc-cart-card-bg);
}

.dc-cart__items-card {
    padding: var(--dc-cart-pad-top) var(--dc-cart-pad-right) var(--dc-cart-pad-bottom) var(--dc-cart-pad-left);
    overflow: hidden;
}

.dc-cart__table-head,
.dc-cart__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--dc-cart-qty-col) var(--dc-cart-subtotal-col) var(--dc-cart-action-col);
    column-gap: var(--dc-cart-row-column-gap);
    padding-right: var(--dc-cart-row-right-pad);
    align-items: start;
}

.dc-cart__table-head {
    min-height: 48px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--dc-cart-divider);
    color: #011139;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    align-items: center;
}

.dc-cart__select-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    cursor: pointer;
}

.dc-cart__qty-heading,
.dc-cart__subtotal-heading {
    text-align: center;
}

.dc-cart__remove {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0 !important;
    border-radius: 50%;
    background: transparent !important;
    color: var(--dc-cart-remove) !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: color 160ms ease, background-color 160ms ease;
}

.dc-cart__remove:hover,
.dc-cart__remove:focus-visible {
    background: rgba(0, 89, 171, 0.06) !important;
    color: var(--dc-cart-remove-hover) !important;
}

.dc-cart__remove svg,
.dc-cart__coupon-arrow svg {
    width: var(--dc-cart-remove-icon-size);
    height: var(--dc-cart-remove-icon-size);
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dc-cart__qty-btn svg {
    width: 12px;
    height: 12px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dc-cart__remove i,
.dc-cart__qty-btn i,
.dc-cart__coupon-arrow i {
    color: currentColor;
}

.dc-cart__remove--bulk {
    position: relative;
}

.dc-cart__remove--bulk::after {
    content: attr(data-dc-tooltip);
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    min-width: max-content;
    padding: 7px 10px;
    border-radius: 7px;
    background: #404040;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    font-weight: 400;
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 150ms ease, transform 150ms ease;
}

.dc-cart__remove--bulk::before {
    content: '';
    position: absolute;
    right: 10px;
    bottom: calc(100% + 3px);
    border: 5px solid transparent;
    border-top-color: #404040;
    opacity: 0;
    transition: opacity 150ms ease;
}

.dc-cart__remove--bulk:hover::after,
.dc-cart__remove--bulk:hover::before,
.dc-cart__remove--bulk:focus-visible::after,
.dc-cart__remove--bulk:focus-visible::before {
    opacity: 1;
}

.dc-cart__remove--bulk:hover::after,
.dc-cart__remove--bulk:focus-visible::after {
    transform: translateY(0);
}

.dc-cart__native-check {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.dc-cart__checkmark {
    position: relative;
    width: var(--dc-cart-checkbox-size);
    height: var(--dc-cart-checkbox-size);
    flex: 0 0 var(--dc-cart-checkbox-size);
    border: 1px solid #d7d7d7;
    border-radius: var(--dc-cart-checkbox-radius);
    background: #fff;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.dc-cart__native-check:checked + .dc-cart__checkmark {
    border-color: var(--dc-cart-checkbox);
    background: var(--dc-cart-checkbox);
}

.dc-cart__native-check:checked + .dc-cart__checkmark::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 45%;
    width: 25%;
    height: 45%;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -50%) rotate(45deg);
}

.dc-cart__item {
    position: relative;
    min-height: calc(var(--dc-cart-image-size) + var(--dc-cart-item-top));
    padding-top: var(--dc-cart-item-top);
    padding-bottom: 0;
    border-bottom: 1px solid var(--dc-cart-divider);
}

.dc-cart__item:last-child {
    border-bottom: 0;
}

.dc-cart__product {
    position: relative;
    display: grid;
    grid-template-columns: var(--dc-cart-image-size) minmax(0, 1fr);
    gap: var(--dc-cart-product-gap);
    align-items: center;
    min-width: 0;
}

.dc-cart__row-check {
    grid-column: 1;
    position: absolute;
    left: 0;
    top: calc(var(--dc-cart-item-top) + ((var(--dc-cart-image-size) - 24px) / 2));
    z-index: 2;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.dc-cart__item > .dc-cart__row-check + .dc-cart__product {
    grid-column: 1;
    padding-left: 32px;
}

.dc-cart__image {
    width: var(--dc-cart-image-size);
    height: var(--dc-cart-image-size);
    display: block;
    overflow: hidden;
    border-radius: var(--dc-cart-image-radius);
    background: #fff;
    text-decoration: none;
}

.dc-cart__image img {
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: contain;
    object-position: center;
}

.dc-cart__product-copy {
    min-width: 0;
}

.dc-cart__product-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #011139;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 600;
}

.dc-cart__product-title:hover,
.dc-cart__product-title:focus-visible {
    color: #0059ab;
    text-decoration: none;
}

.dc-cart__variation {
    margin-top: 4px;
    color: #666;
    font-size: 12px;
    line-height: 1.4;
}

.dc-cart__variation dl,
.dc-cart__variation p {
    margin: 0;
}

.dc-cart__unit-price {
    margin-top: 8px;
    color: #0059ab;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
}

.dc-cart__unit-price del,
.dc-cart__unit-price ins,
.dc-cart__line-subtotal del,
.dc-cart__line-subtotal ins {
    text-decoration: none;
}

.dc-cart__quantity {
    width: var(--dc-cart-qty-width);
    min-width: var(--dc-cart-qty-width);
    height: var(--dc-cart-qty-height);
    justify-self: start;
    align-self: start;
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 12px;
    padding: 3px;
    border: 1px solid var(--dc-cart-qty-border);
    border-radius: var(--dc-cart-qty-radius);
    background: var(--dc-cart-qty-bg);
    overflow: hidden;
}

.dc-cart__qty-btn {
    width: var(--dc-cart-qty-btn-size);
    min-width: var(--dc-cart-qty-btn-size);
    max-width: var(--dc-cart-qty-btn-size);
    height: var(--dc-cart-qty-btn-size);
    min-height: var(--dc-cart-qty-btn-size);
    max-height: var(--dc-cart-qty-btn-size);
    flex: 0 0 var(--dc-cart-qty-btn-size);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50%;
    background: var(--dc-cart-qty-btn-bg) !important;
    box-shadow: none !important;
    line-height: 1 !important;
    cursor: pointer;
}

.dc-cart__qty-btn[data-dc-qty-minus] {
    color: var(--dc-cart-qty-minus) !important;
}

.dc-cart__qty-btn[data-dc-qty-plus] {
    color: var(--dc-cart-qty-plus) !important;
}

.dc-cart__qty-btn svg {
    width: 12px;
    height: 12px;
}

.dc-cart__qty-input,
.dc-cart input.dc-cart__qty-input[type="number"] {
    width: auto !important;
    min-width: 24px !important;
    max-width: none !important;
    height: calc(var(--dc-cart-qty-height) - 6px) !important;
    min-height: 0 !important;
    flex: 1 1 auto;
    display: block;
    margin: 0 !important;
    padding: 0 2px !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: var(--dc-cart-qty-text) !important;
    -webkit-text-fill-color: var(--dc-cart-qty-text) !important;
    box-shadow: none !important;
    text-align: center !important;
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: calc(var(--dc-cart-qty-height) - 6px) !important;
    font-weight: 500 !important;
    font-variant-numeric: tabular-nums;
    opacity: 1 !important;
    appearance: textfield;
    -moz-appearance: textfield;
}

.dc-cart__qty-input::-webkit-outer-spin-button,
.dc-cart__qty-input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.dc-cart__line-subtotal {
    justify-self: center;
    align-self: start;
    margin-top: 18px;
    color: #011139;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
}

.dc-cart__item > .dc-cart__remove {
    width: var(--dc-cart-remove-size);
    height: var(--dc-cart-remove-size);
    justify-self: center;
    align-self: start;
    margin-top: 12px;
}

.dc-cart__summary {
    padding: var(--dc-cart-summary-pad-top) var(--dc-cart-summary-pad-right) var(--dc-cart-summary-pad-bottom) var(--dc-cart-summary-pad-left);
    border-color: var(--dc-cart-summary-border);
    border-radius: var(--dc-cart-summary-radius);
    background: var(--dc-cart-summary-bg);
}

.dc-cart__coupon-toggle {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 14px;
    border: 0 !important;
    border-radius: 14px;
    background: var(--dc-cart-coupon-bg) !important;
    color: var(--dc-cart-coupon-color) !important;
    box-shadow: none !important;
    text-align: left;
    cursor: pointer;
}

.dc-cart__coupon-arrow {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    transition: transform 180ms ease;
}

.dc-cart__coupon-toggle[aria-expanded="true"] .dc-cart__coupon-arrow {
    transform: rotate(90deg);
}

.dc-cart__coupon-panel {
    padding-top: 12px;
}

.dc-cart__coupon-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.dc-cart__coupon-form input {
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    outline: 0;
    background: #fff;
    color: #011139;
}

.dc-cart__coupon-form input:focus {
    border-color: #0059ab;
    box-shadow: 0 0 0 2px rgba(0,89,171,.08);
}

.dc-cart__coupon-form button {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #0059ab !important;
    border-radius: 10px;
    background: #0059ab !important;
    color: #fff !important;
    box-shadow: none !important;
    cursor: pointer;
}

.dc-cart__applied-coupons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.dc-cart__coupon-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 4px 10px;
    border: 1px solid rgba(0,89,171,.2) !important;
    border-radius: 999px;
    background: rgba(0,89,171,.06) !important;
    color: #0059ab !important;
    box-shadow: none !important;
    cursor: pointer;
}

.dc-cart__summary-rows {
    margin-top: 14px;
    padding: 16px 0;
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
}

.dc-cart__summary-row,
.dc-cart__total-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
}

.dc-cart__summary-row + .dc-cart__summary-row {
    margin-top: 10px;
}

.dc-cart__summary-row {
    color: #011139;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 400;
}

.dc-cart__summary-value {
    color: #0059ab;
    font-weight: 500;
    white-space: nowrap;
}

.dc-cart__total-row {
    margin-top: 20px;
    color: #011139;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 600;
}

.dc-cart__total-value {
    color: #0059ab;
    font-size: 26px;
    font-weight: 700;
    white-space: nowrap;
}

.dc-cart__checkout {
    width: 100%;
    min-height: var(--dc-cart-checkout-height);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    padding: 8px 20px;
    border: 0;
    border-radius: var(--dc-cart-checkout-radius);
    background: var(--dc-cart-checkout-bg) !important;
    color: var(--dc-cart-checkout-text) !important;
    text-decoration: none !important;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 600;
    transition: background-color 180ms ease, color 180ms ease, opacity 180ms ease;
}

.dc-cart__checkout:hover,
.dc-cart__checkout:focus-visible {
    background: var(--dc-cart-checkout-hover-bg) !important;
    color: var(--dc-cart-checkout-hover-text) !important;
}

.dc-cart__checkout.is-disabled {
    pointer-events: none;
    opacity: .45;
}

.dc-cart__terms {
    margin-top: 12px;
    color: #011139;
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
}

.dc-cart__terms a,
.dc-cart__terms a:visited {
    color: #0059ab;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.dc-cart__notice {
    min-height: 0;
    margin-top: 8px;
    color: #c81e2a;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}

.dc-cart__notice.is-success {
    color: #16834a;
}

.dc-cart__empty {
    padding: 48px 20px;
    text-align: center;
}

.dc-cart__empty[hidden] {
    display: none !important;
}

.dc-cart__empty-title {
    color: #011139;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
}

.dc-cart__empty-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 18px;
    padding: 8px 20px;
    border: 1px solid #0059ab;
    border-radius: 999px;
    background: #fff;
    color: #0059ab;
    text-decoration: none;
}

.dc-cart__empty-button:hover,
.dc-cart__empty-button:focus-visible {
    background: #0059ab;
    color: #fff;
}

.dc-cart.is-loading {
    cursor: progress;
}

.dc-cart.is-loading .dc-cart__layout {
    pointer-events: none;
}

.dc-cart.is-loading .dc-cart__layout::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(255,255,255,.08);
    pointer-events: none;
}

.dc-cart--missing {
    padding: 20px;
    border: 1px dashed #d7d7d7;
    border-radius: 12px;
}

@media (max-width: 1024px) {
    .dc-cart__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .dc-cart__summary {
        width: 100%;
    }

    .dc-cart__progress {
        width: 100%;
    }

    .dc-cart__step {
        width: min(100%, 180px);
    }
}

@media (max-width: 767px) {
    .dc-cart {
        --dc-cart-content-top-gap: 32px;
        --dc-cart-columns-gap: 20px;
    }

    .dc-cart__progress {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .dc-cart__progress::before {
        left: 10%;
        right: 10%;
        height: 4px;
    }

    .dc-cart__step {
        min-height: 34px;
        padding: 6px 8px;
        font-size: 12px;
        white-space: normal;
        text-align: center;
    }

    .dc-cart__items-card,
    .dc-cart__summary {
        padding: 16px;
        border-radius: 18px;
    }

    .dc-cart__table-head {
        grid-template-columns: minmax(0, 1fr) 32px;
        column-gap: 10px;
    }

    .dc-cart__qty-heading,
    .dc-cart__subtotal-heading {
        display: none;
    }

    .dc-cart__remove--bulk {
        grid-column: 2;
    }

    .dc-cart__item {
        grid-template-columns: minmax(0, 1fr) 32px;
        gap: 10px;
        min-height: 0;
        padding: 16px 0;
        padding-right: 0;
    }

    .dc-cart__row-check {
        top: 42px;
    }

    .dc-cart__item > .dc-cart__row-check + .dc-cart__product {
        grid-column: 1;
        padding-left: 30px;
    }

    .dc-cart__product {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 10px;
    }

    .dc-cart__image {
        width: 76px;
        height: 76px;
    }

    .dc-cart__product-title {
        font-size: 14px;
    }

    .dc-cart__unit-price {
        font-size: 16px;
    }

    .dc-cart__quantity {
        grid-column: 1;
        justify-self: start;
        margin-left: 30px;
        margin-top: 8px;
    }

    .dc-cart__line-subtotal {
        grid-column: 1;
        justify-self: end;
        margin-top: -34px;
        padding-right: 2px;
        font-size: 16px;
    }

    .dc-cart__item > .dc-cart__remove {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
        margin-top: 0;
    }

    .dc-cart__coupon-form {
        grid-template-columns: 1fr;
    }

    .dc-cart__total-row {
        font-size: 16px;
    }

    .dc-cart__total-value {
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dc-cart *,
    .dc-cart *::before,
    .dc-cart *::after {
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
    }
}
