.chogan-cart-page {
    --cart-primary: var(--color-1st, #7d47a3);
    --cart-primary-dark: #4a2169;
    --cart-text: #28222d;
    --cart-muted: #77707d;
    --cart-border: #ebe6ee;
    background:
        radial-gradient(circle at 0 0, rgba(135, 80, 170, 0.08), transparent 30rem),
        #faf9fb;
    padding: 58px 0 76px;
}

.chogan-cart-page svg.icon {
    display: block;
    margin: 0 !important;
}

.chogan-cart-progress {
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 0 auto 34px;
    max-width: 600px;
}

.chogan-cart-progress__step {
    align-items: center;
    color: #a29aa8;
    display: flex;
    flex: 0 0 auto;
    font-size: 13px;
    gap: 9px;
}

.chogan-cart-progress__step > span {
    align-items: center;
    background: #fff;
    border: 1px solid #ddd6e2;
    border-radius: 50%;
    display: flex;
    font-size: 12px;
    font-weight: 700;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.chogan-cart-progress__step strong {
    font-weight: 600;
}

.chogan-cart-progress__step.is-active {
    color: var(--cart-primary);
}

.chogan-cart-progress__step.is-active > span {
    background: linear-gradient(135deg, var(--cart-primary-dark), #9560b5);
    border-color: transparent;
    box-shadow: 0 7px 16px rgba(102, 54, 133, 0.22);
    color: #fff;
}

.chogan-cart-progress__line {
    background: #ddd6e2;
    height: 1px;
    margin: 0 15px;
    max-width: 92px;
    width: 100%;
}

.chogan-cart-alert {
    border: 0;
    border-radius: 13px;
    box-shadow: 0 8px 24px rgba(43, 26, 55, 0.06);
    font-size: 14px;
    margin-bottom: 20px;
}

.chogan-cart-alert p:last-child {
    margin-bottom: 0;
}

.chogan-cart-layout {
    align-items: start;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) 370px;
}

.chogan-cart-products-card,
.chogan-cart-summary,
.chogan-cart-empty {
    background: #fff;
    border: 1px solid var(--cart-border);
    border-radius: 22px;
    box-shadow: 0 16px 48px rgba(43, 26, 55, 0.08);
}

.chogan-cart-products-card {
    min-width: 0;
    overflow: hidden;
}

.chogan-cart-card-header {
    align-items: center;
    border-bottom: 1px solid var(--cart-border);
    display: flex;
    justify-content: space-between;
    padding: 24px 26px 21px;
}

.chogan-cart-eyebrow {
    color: var(--cart-primary);
    display: block;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.13em;
    margin-bottom: 5px;
}

.chogan-cart-card-header h2 {
    color: var(--cart-text);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin: 0;
}

.chogan-cart-count {
    background: #f4eef8;
    border-radius: 999px;
    color: var(--cart-primary);
    font-size: 12px;
    font-weight: 650;
    padding: 8px 12px;
}

.chogan-cart-items-head {
    color: #948c99;
    display: grid;
    font-size: 10px;
    font-weight: 700;
    gap: 15px;
    grid-template-columns: minmax(0, 1fr) 100px 126px 100px 38px;
    letter-spacing: 0.08em;
    padding: 16px 22px 12px;
    text-transform: uppercase;
}

.chogan-cart-items-head span:not(:first-child) {
    text-align: center;
}

.chogan-cart-items {
    min-width: 0;
    position: relative;
}

.chogan-cart-item {
    align-items: center;
    border-top: 1px solid #f0ecf2;
    display: grid;
    gap: 15px;
    grid-template-columns: 88px minmax(160px, 1fr) 100px 126px 100px 38px;
    min-width: 0;
    padding: 20px 22px;
    position: relative;
}

.chogan-cart-item:first-child {
    border-top: 0;
}

.chogan-cart-item__image {
    align-items: center;
    background: linear-gradient(145deg, #fbfafc, #f4f1f6);
    border: 1px solid #eee9f1;
    border-radius: 13px;
    display: flex;
    height: 88px;
    justify-content: center;
    overflow: hidden;
    padding: 6px;
    width: 88px;
}

.chogan-cart-item__image img {
    height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
    width: 100%;
}

.chogan-cart-item:hover .chogan-cart-item__image img {
    transform: scale(1.04);
}

.chogan-cart-item__details {
    min-width: 0;
}

.chogan-cart-item__name {
    color: var(--cart-text);
    display: -webkit-box;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.chogan-cart-item__name:hover {
    color: var(--cart-primary);
}

.chogan-cart-item__meta,
.chogan-cart-item__options p {
    color: #8b8390;
    font-size: 11px;
    line-height: 1.45;
    margin: 4px 0 0;
}

.chogan-cart-item__options p:last-child {
    margin-bottom: 0;
}

.chogan-cart-item__price,
.chogan-cart-item__subtotal {
    color: var(--cart-text);
    font-size: 14px;
    font-weight: 650;
    text-align: center;
}

.chogan-cart-item__price .product__price {
    margin: 0;
}

.chogan-cart-item__price del {
    color: #aaa3ae;
    display: block;
    font-size: 10px;
    margin: 2px 0 0;
}

.chogan-cart-item__subtotal {
    color: var(--cart-primary);
    font-weight: 750;
}

.chogan-cart-item__quantity .quantity {
    align-items: center;
    background: #f7f4f8;
    border: 1px solid #ebe5ee;
    border-radius: 999px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding: 3px;
    width: fit-content;
}

.chogan-cart-item__quantity .quantity .minus,
.chogan-cart-item__quantity .quantity .plus {
    align-items: center;
    background: #fff;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 2px 7px rgba(39, 25, 48, 0.08);
    color: #504857;
    display: flex;
    float: none;
    font-size: 16px;
    height: 30px;
    justify-content: center;
    line-height: 1;
    margin: 0;
    padding: 0;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    width: 30px;
}

.chogan-cart-item__quantity .quantity .minus:hover,
.chogan-cart-item__quantity .quantity .plus:hover {
    background: var(--cart-primary);
    color: #fff;
    transform: scale(1.05);
}

.chogan-cart-item__quantity .quantity .qty {
    background: transparent;
    border: 0;
    color: var(--cart-text);
    float: none;
    font-size: 13px;
    font-weight: 650;
    height: 30px;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 34px;
}

.chogan-cart-item__quantity .quantity .qty.is-readonly {
    color: #9a929e;
    pointer-events: none;
}

.chogan-cart-item__remove {
    align-items: center;
    border-radius: 9px;
    color: #a198a7;
    display: flex;
    height: 34px;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
    width: 34px;
}

.chogan-cart-item__remove:hover {
    background: #fff0f1;
    color: #df3f4d;
}

.chogan-cart-item__remove i {
    font-size: 13px;
}

.chogan-cart-tools {
    align-items: flex-start;
    background: #fcfbfd;
    border-top: 1px solid var(--cart-border);
    display: flex;
    gap: 20px;
    justify-content: space-between;
    padding: 20px 24px 22px;
}

.chogan-cart-continue {
    align-items: center;
    color: #625968;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 650;
    gap: 7px;
    margin-top: 25px;
}

.chogan-cart-continue:hover {
    color: var(--cart-primary);
}

.chogan-cart-continue svg {
    height: 17px;
    width: 17px;
}

.chogan-cart-coupon {
    max-width: 390px;
    width: 100%;
}

.chogan-cart-coupon__label {
    align-items: center;
    color: #5d5462;
    display: flex;
    font-size: 11px;
    font-weight: 650;
    gap: 6px;
    margin-bottom: 7px;
}

.chogan-cart-coupon__label svg {
    color: var(--cart-primary);
    height: 16px;
    width: 16px;
}

.chogan-cart-coupon .input-group {
    flex-wrap: nowrap;
}

.chogan-cart-coupon .form-control {
    background: #fff;
    border: 1px solid #e3dce7;
    border-radius: 10px 0 0 10px !important;
    box-shadow: none;
    color: var(--cart-text);
    font-size: 12px;
    height: 42px;
    min-width: 0;
    padding: 0 13px;
}

.chogan-cart-coupon .form-control:focus {
    border-color: rgba(125, 71, 163, 0.65);
    box-shadow: 0 0 0 3px rgba(125, 71, 163, 0.09);
}

.chogan-cart-coupon .btn-apply-coupon-code {
    background: var(--cart-primary) !important;
    border: 1px solid var(--cart-primary);
    border-radius: 0 10px 10px 0 !important;
    color: #fff !important;
    font-size: 11px;
    font-weight: 650;
    height: 42px;
    padding: 0 15px;
    white-space: nowrap;
}

.chogan-cart-coupon .btn-apply-coupon-code::before,
.chogan-cart-coupon .btn-apply-coupon-code::after {
    display: none;
}

.chogan-cart-coupon__applied {
    align-items: center;
    background: #eef8f1;
    border: 1px solid #d8ebdd;
    border-radius: 11px;
    color: #317443;
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    padding: 11px 12px;
}

.chogan-cart-coupon__applied > span {
    align-items: center;
    display: flex;
    gap: 7px;
}

.chogan-cart-coupon__applied svg {
    height: 18px;
    width: 18px;
}

.chogan-cart-coupon__applied a {
    color: #51805c;
    padding: 2px 4px;
}

.chogan-cart-coupon .coupon-error-msg {
    line-height: 1.3;
    margin-top: 4px;
}

.chogan-cart-summary {
    overflow: hidden;
    position: sticky;
    top: 118px;
}

.chogan-cart-summary__header {
    align-items: center;
    background:
        radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.13), transparent 9rem),
        linear-gradient(130deg, var(--cart-primary-dark), #8950aa);
    color: #fff;
    display: flex;
    gap: 13px;
    padding: 24px 24px 22px;
}

.chogan-cart-summary__icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    flex: 0 0 44px;
    height: 44px;
    justify-content: center;
}

.chogan-cart-summary__icon svg {
    height: 22px;
    width: 22px;
}

.chogan-cart-summary__header > div > span {
    color: rgba(255, 255, 255, 0.68);
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin-bottom: 3px;
}

.chogan-cart-summary__header h2 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

.chogan-cart-summary__rows {
    padding: 20px 23px 10px;
}

.chogan-cart-summary__row {
    align-items: flex-start;
    color: var(--cart-muted);
    display: flex;
    font-size: 12px;
    gap: 15px;
    justify-content: space-between;
    padding: 9px 0;
}

.chogan-cart-summary__row span {
    line-height: 1.4;
}

.chogan-cart-summary__row strong {
    color: var(--cart-text);
    flex: 0 0 auto;
    font-weight: 650;
}

.chogan-cart-summary__row.is-discount,
.chogan-cart-summary__row.is-discount strong {
    color: #318348;
}

.chogan-cart-summary__row strong.is-muted {
    color: #918996;
    font-size: 11px;
    font-weight: 500;
}

.chogan-cart-summary__total {
    align-items: center;
    background: #f8f4fa;
    border-radius: 13px;
    display: flex;
    justify-content: space-between;
    margin: 8px 20px 18px;
    padding: 15px 14px;
}

.chogan-cart-summary__total > div > span {
    color: var(--cart-text);
    display: block;
    font-size: 13px;
    font-weight: 700;
}

.chogan-cart-summary__total small {
    color: #99919d;
    display: block;
    font-size: 9px;
    line-height: 1.4;
    margin-top: 2px;
}

.chogan-cart-summary__total > strong {
    color: var(--cart-primary);
    font-size: 20px;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.chogan-cart-checkout {
    align-items: center;
    background: linear-gradient(110deg, var(--cart-primary-dark), #8950aa 65%, #9a62b9);
    border: 0;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(95, 48, 126, 0.23);
    color: #fff !important;
    display: flex;
    font-size: 13px;
    font-weight: 650;
    gap: 9px;
    height: 50px;
    justify-content: center;
    margin: 0 20px;
    padding: 0 20px;
    text-transform: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    width: calc(100% - 40px);
}

.chogan-cart-checkout:hover {
    box-shadow: 0 15px 28px rgba(95, 48, 126, 0.31);
    color: #fff !important;
    transform: translateY(-2px);
}

.chogan-cart-checkout svg {
    height: 18px;
    width: 18px;
}

.chogan-cart-trust {
    border-top: 1px solid var(--cart-border);
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 22px;
    padding: 16px 17px 18px;
}

.chogan-cart-trust > div {
    align-items: center;
    color: #8b8390;
    display: flex;
    flex-direction: column;
    font-size: 8px;
    gap: 5px;
    text-align: center;
}

.chogan-cart-trust svg {
    color: var(--cart-primary);
    height: 17px;
    width: 17px;
}

.chogan-cart-empty {
    margin: 0 auto;
    max-width: 600px;
    padding: 56px 38px;
    text-align: center;
}

.chogan-cart-empty__icon {
    align-items: center;
    background: linear-gradient(145deg, #f2eaf7, #faf7fc);
    border: 1px solid #eadff0;
    border-radius: 22px;
    color: var(--cart-primary);
    display: flex;
    height: 82px;
    justify-content: center;
    margin: 0 auto 24px;
    width: 82px;
}

.chogan-cart-empty__icon svg {
    height: 36px;
    width: 36px;
}

.chogan-cart-empty h2 {
    color: var(--cart-text);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0 0 10px;
}

.chogan-cart-empty p {
    color: var(--cart-muted);
    font-size: 14px;
    line-height: 1.65;
    margin: 0 auto 25px;
    max-width: 410px;
}

.chogan-cart-empty .chogan-cart-checkout {
    margin: 0 auto;
    max-width: 260px;
}

.chogan-cart-cross-sell {
    margin-top: 64px !important;
}

@media (max-width: 1199px) {
    .chogan-cart-layout {
        gap: 22px;
        grid-template-columns: minmax(0, 1fr) 335px;
    }

    .chogan-cart-item,
    .chogan-cart-items-head {
        gap: 10px;
    }

    .chogan-cart-item {
        grid-template-columns: 78px minmax(130px, 1fr) 86px 116px 86px 34px;
        padding-inline: 18px;
    }

    .chogan-cart-item__image {
        height: 78px;
        width: 78px;
    }

    .chogan-cart-items-head {
        grid-template-columns: minmax(0, 1fr) 86px 116px 86px 34px;
        padding-inline: 18px;
    }
}

@media (max-width: 991px) {
    .chogan-cart-page {
        padding: 42px 0 60px;
    }

    .chogan-cart-layout {
        grid-template-columns: 1fr;
    }

    .chogan-cart-summary {
        position: static;
    }
}

@media (max-width: 767px) {
    .chogan-cart-page {
        padding: 30px 0 44px;
    }

    .chogan-cart-page > .container {
        padding-inline: 12px;
    }

    .chogan-cart-progress {
        margin-bottom: 24px;
        padding-inline: 5px;
    }

    .chogan-cart-progress__step {
        display: block;
        font-size: 10px;
        text-align: center;
    }

    .chogan-cart-progress__step > span {
        height: 27px;
        margin: 0 auto 5px;
        width: 27px;
    }

    .chogan-cart-progress__line {
        margin: 0 8px 18px;
    }

    .chogan-cart-products-card,
    .chogan-cart-summary,
    .chogan-cart-empty {
        border-radius: 17px;
        box-shadow: 0 10px 30px rgba(43, 26, 55, 0.07);
    }

    .chogan-cart-card-header {
        padding: 19px 16px 17px;
    }

    .chogan-cart-card-header h2 {
        font-size: 21px;
    }

    .chogan-cart-count {
        font-size: 10px;
        padding: 7px 9px;
    }

    .chogan-cart-items-head {
        display: none;
    }

    .chogan-cart-item {
        align-items: start;
        gap: 8px 12px;
        grid-template-columns: 76px minmax(0, 1fr) auto;
        padding: 16px 14px;
    }

    .chogan-cart-item__image {
        grid-column: 1;
        grid-row: 1 / span 3;
        height: 76px;
        width: 76px;
    }

    .chogan-cart-item__details {
        grid-column: 2 / 4;
        grid-row: 1;
        padding-right: 28px;
    }

    .chogan-cart-item__name {
        font-size: 13px;
        line-height: 1.35;
    }

    .chogan-cart-item__price {
        grid-column: 2;
        grid-row: 2;
        text-align: left;
    }

    .chogan-cart-item__subtotal {
        grid-column: 3;
        grid-row: 2;
        text-align: right;
    }

    .chogan-cart-item__price::before,
    .chogan-cart-item__subtotal::before {
        color: #aaa2ad;
        content: attr(data-label);
        display: block;
        font-size: 8px;
        font-weight: 700;
        letter-spacing: 0.08em;
        margin-bottom: 2px;
        text-transform: uppercase;
    }

    .chogan-cart-item__quantity {
        grid-column: 2 / 4;
        grid-row: 3;
    }

    .chogan-cart-item__quantity .quantity {
        margin: 2px 0 0;
    }

    .chogan-cart-item__quantity .quantity .minus,
    .chogan-cart-item__quantity .quantity .plus {
        height: 28px;
        width: 28px;
    }

    .chogan-cart-item__quantity .quantity .qty {
        height: 28px;
        width: 32px;
    }

    .chogan-cart-item__remove {
        height: 30px;
        position: absolute;
        right: 11px;
        top: 13px;
        width: 30px;
    }

    .chogan-cart-tools {
        align-items: stretch;
        flex-direction: column-reverse;
        padding: 17px 15px 19px;
    }

    .chogan-cart-continue {
        justify-content: center;
        margin-top: 0;
    }

    .chogan-cart-coupon {
        max-width: none;
    }

    .chogan-cart-coupon .btn-apply-coupon-code {
        padding-inline: 12px;
    }

    .chogan-cart-summary__header {
        padding: 20px;
    }

    .chogan-cart-summary__rows {
        padding-inline: 19px;
    }

    .chogan-cart-summary__total {
        margin-inline: 16px;
    }

    .chogan-cart-checkout {
        margin-inline: 16px;
        width: calc(100% - 32px);
    }

    .chogan-cart-trust {
        padding-inline: 13px;
    }

    .chogan-cart-empty {
        padding: 42px 20px;
    }

    .chogan-cart-empty h2 {
        font-size: 25px;
    }

    .chogan-cart-cross-sell {
        margin-top: 44px !important;
    }
}

@media (max-width: 380px) {
    .chogan-cart-item {
        grid-template-columns: 68px minmax(0, 1fr) auto;
        padding-inline: 11px;
    }

    .chogan-cart-item__image {
        height: 68px;
        width: 68px;
    }

    .chogan-cart-item__price {
        display: none;
    }

    .chogan-cart-item__subtotal {
        grid-column: 2 / 4;
        text-align: left;
    }

    .chogan-cart-item__quantity {
        grid-row: 3;
    }

    .chogan-cart-coupon .form-control {
        font-size: 11px;
    }

    .chogan-cart-coupon .btn-apply-coupon-code {
        font-size: 10px;
        padding-inline: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chogan-cart-item__image img,
    .chogan-cart-item__quantity .quantity input,
    .chogan-cart-item__remove,
    .chogan-cart-checkout {
        transition: none;
    }
}
