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

.pc-cart-page {
    background: #f5f7fb;
    color: #17213b;
}

.pc-cart-container {
    width: min(1260px, calc(100% - 48px));
    margin-inline: auto;
}

.pc-cart-hero {
    padding: 30px 0 36px;
    border-bottom: 4px solid #fed700;
    background: #203a77;
    color: #fff;
}

.pc-cart-hero nav {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;
    font-size: 12px;
}

.pc-cart-hero nav a,
.pc-cart-hero nav i {
    color: #dce4f4;
}

.pc-cart-hero > div > div > span {
    color: #fed700;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.pc-cart-hero h1 {
    margin: 5px 0;
    color: #fff;
    font-size: 35px;
}

.pc-cart-hero p {
    margin: 0;
    color: #dce4f4;
    font-size: 14px;
}

.pc-cart-content {
    min-height: 420px;
    padding-block: 38px 64px;
}

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

.pc-cart-heading {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border: 1px solid #dfe5ee;
    background: #fff;
}

.pc-cart-heading strong,
.pc-cart-heading span {
    display: block;
}

.pc-cart-heading strong {
    font-size: 16px;
}

.pc-cart-heading span {
    margin-top: 3px;
    color: #758198;
    font-size: 11px;
}

.pc-cart-heading > button {
    border: 0;
    background: transparent;
    color: #b42338;
    font-size: 11px;
    font-weight: 700;
}

.pc-cart-store {
    margin-top: 16px;
    border: 1px solid #dfe5ee;
    background: #fff;
}

.pc-cart-store > header {
    display: grid;
    min-height: 78px;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    border-bottom: 1px solid #e4e8ef;
    background: #fafbfc;
}

.pc-cart-store__mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    background: #fff1a8;
    color: #203a77;
}

.pc-cart-store > header small,
.pc-cart-store > header h2,
.pc-cart-store > header span {
    display: block;
}

.pc-cart-store > header small {
    color: #8a95a8;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.pc-cart-store > header h2 {
    margin: 1px 0;
    color: #17213b;
    font-size: 16px;
}

.pc-cart-store > header span {
    color: #718097;
    font-size: 11px;
}

.pc-cart-store > header > strong {
    color: #203a77;
    font-size: 14px;
}

.pc-cart-item {
    display: grid;
    grid-template-columns: 92px minmax(190px, 1fr) 145px 130px 145px;
    align-items: center;
    gap: 17px;
    padding: 19px 18px;
    border-bottom: 1px solid #e8ebf1;
}

.pc-cart-item:last-child {
    border-bottom: 0;
}

.pc-cart-item__image {
    display: block;
    width: 92px;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f0f2f5;
}

.pc-cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-cart-item small {
    display: block;
    color: #8792a5;
    font-size: 10px;
}

.pc-cart-item__product h3 {
    margin: 4px 0 6px;
    font-size: 15px;
    line-height: 1.35;
}

.pc-cart-item__product h3 a {
    color: #17213b;
}

.pc-cart-item__product > span {
    color: #5f6d84;
    font-size: 11px;
}

.pc-cart-item__product p {
    margin: 7px 0 0;
    color: #a56300;
    font-size: 10px;
}

.pc-cart-item__price strong,
.pc-cart-item__subtotal > strong {
    display: block;
    margin-top: 5px;
    color: #203a77;
    font-size: 13px;
}

.pc-cart-item__price del {
    display: block;
    margin-top: 3px;
    color: #8c96a7;
    font-size: 10px;
}

.pc-cart-item__quantity > div {
    display: grid;
    width: 112px;
    height: 36px;
    grid-template-columns: 34px 44px 34px;
    margin-top: 6px;
    border: 1px solid #ccd5e2;
    background: #fff;
}

.pc-cart-item__quantity button,
.pc-cart-item__quantity input {
    min-width: 0;
    border: 0;
    background: #fff;
    text-align: center;
}

.pc-cart-item__quantity button {
    color: #203a77;
    font-size: 9px;
}

.pc-cart-item__quantity input {
    border-inline: 1px solid #e0e5ec;
    font-size: 11px;
    -moz-appearance: textfield;
}

.pc-cart-item__quantity > span {
    display: block;
    margin-top: 5px;
    color: #79869b;
    font-size: 9px;
}

.pc-cart-item__subtotal > button {
    margin-top: 9px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #b42338;
    font-size: 10px;
}

.pc-cart-summary {
    position: sticky;
    top: 78px;
    padding: 25px;
    border: 1px solid #dce3ed;
    background: #fff;
    box-shadow: 0 12px 28px rgba(22, 42, 82, .07);
}

.pc-cart-summary > span {
    color: #d9142f;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.pc-cart-summary h2 {
    margin: 5px 0 20px;
    font-size: 21px;
}

.pc-cart-summary dl {
    margin: 0;
    padding-bottom: 17px;
    border-bottom: 1px solid #e3e7ee;
}

.pc-cart-summary dl > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 11px;
}

.pc-cart-summary dt,
.pc-cart-summary dd {
    margin: 0;
    color: #67748b;
    font-size: 11px;
    font-weight: 500;
}

.pc-cart-summary dd {
    color: #283853;
    text-align: right;
}

.pc-cart-summary__total {
    padding: 18px 0;
}

.pc-cart-summary__total small,
.pc-cart-summary__total strong,
.pc-cart-summary__total span {
    display: block;
}

.pc-cart-summary__total strong {
    margin: 5px 0;
    color: #203a77;
    font-size: 23px;
}

.pc-cart-summary__total span {
    color: #7b879a;
    font-size: 10px;
    line-height: 1.5;
}

.pc-cart-summary > button {
    width: 100%;
    height: 46px;
    border: 0;
    background: #d9dee7;
    color: #8993a4;
    font-size: 11px;
    font-weight: 800;
}

.pc-cart-summary__checkout{display:flex;min-height:47px;align-items:center;justify-content:center;gap:8px;margin-top:17px;background:#203a77!important;color:#fff!important;font-size:11px;font-weight:900;text-transform:uppercase}.pc-cart-summary__checkout i{color:#fed700}

.pc-cart-summary > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 12px;
    color: #203a77;
    font-size: 11px;
    font-weight: 800;
}

.pc-cart-summary > p {
    display: flex;
    gap: 10px;
    margin: 22px 0 0;
    padding-top: 18px;
    border-top: 1px solid #e3e7ee;
    color: #6f7b90;
    font-size: 10px;
    line-height: 1.45;
}

.pc-cart-summary > p > i {
    color: #203a77;
    font-size: 16px;
}

.pc-cart-summary > p strong {
    display: block;
    color: #263654;
}

.pc-cart-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px;
    color: #203a77;
}

.pc-cart-loading > span {
    width: 17px;
    height: 17px;
    border: 2px solid #cbd4e3;
    border-top-color: #203a77;
    border-radius: 50%;
    animation: pc-cart-spin .7s linear infinite;
}

.pc-cart-empty,
.pc-cart-state {
    padding: 70px 24px;
    border: 1px solid #dfe5ee;
    background: #fff;
    text-align: center;
}

.pc-cart-empty > div {
    display: grid;
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    place-items: center;
    background: #fff2b2;
    color: #203a77;
    font-size: 25px;
}

.pc-cart-empty > span {
    color: #d9142f;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.pc-cart-empty h2,
.pc-cart-state h2 {
    margin: 7px 0;
    color: #17213b;
    font-size: 24px;
}

.pc-cart-empty p,
.pc-cart-state p {
    max-width: 530px;
    margin: 0 auto 21px;
    color: #718097;
    font-size: 12px;
    line-height: 1.6;
}

.pc-cart-empty > a,
.pc-cart-state button {
    display: inline-flex;
    height: 43px;
    align-items: center;
    gap: 8px;
    padding: 0 19px;
    border: 0;
    background: #203a77;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

/* Purchase control on the product detail page. */
.pc-product-detail-page .pc-detail-cart-action {
    display: grid;
    grid-template-columns: 132px minmax(240px, 1fr);
    align-items: end;
    gap: 10px 14px;
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #d7dfeb;
    border-left: 4px solid #fed700;
    background: #f8fafc;
}

.pc-product-detail-page .pc-detail-cart-action > label {
    grid-column: 1 / -1;
    margin: 0;
    color: #26375d;
    font-size: 12px;
    font-weight: 800;
}

.pc-product-detail-page .pc-detail-cart-action > div {
    display: grid;
    width: 132px;
    height: 46px;
    grid-template-columns: 40px 52px 40px;
    overflow: hidden;
    border: 1px solid #bcc8d9;
    background: #fff;
}

.pc-product-detail-page .pc-detail-cart-action > div button,
.pc-product-detail-page .pc-detail-cart-action > div input {
    min-width: 0;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #172b5a;
    box-shadow: none;
    text-align: center;
}

.pc-product-detail-page .pc-detail-cart-action > div button {
    cursor: pointer;
    font-size: 11px;
    transition: background .2s, color .2s;
}

.pc-product-detail-page .pc-detail-cart-action > div button:hover:not(:disabled) {
    background: #eef2f8;
}

.pc-product-detail-page .pc-detail-cart-action > div button:disabled {
    cursor: not-allowed;
    color: #b8c0cd;
}

.pc-product-detail-page .pc-detail-cart-action > div input {
    border-right: 1px solid #dce2eb;
    border-left: 1px solid #dce2eb;
    font-size: 14px;
    font-weight: 800;
    -moz-appearance: textfield;
}

.pc-product-detail-page .pc-detail-cart-action > div input::-webkit-inner-spin-button {
    display: none;
}

.pc-product-detail-page .pc-detail-cart-action > button {
    display: flex;
    height: 46px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 22px;
    border: 0;
    border-radius: 0;
    background: #203a77;
    color: #fff;
    box-shadow: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    transition: background .2s, transform .2s;
}

.pc-product-detail-page .pc-detail-cart-action > button:hover:not(:disabled) {
    background: #142a61;
    transform: translateY(-1px);
}

.pc-product-detail-page .pc-detail-cart-action > button:disabled {
    cursor: not-allowed;
    background: #d2d8e2;
    color: #7d889b;
}

.pc-product-detail-page .pc-detail-cart-action > small {
    grid-column: 1 / -1;
    color: #68758c;
    font-size: 10px;
    line-height: 1.45;
}

@keyframes pc-cart-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 1120px) {
    .pc-cart-item {
        grid-template-columns: 78px minmax(180px, 1fr) 125px 120px;
    }

    .pc-cart-item__image {
        width: 78px;
    }

    .pc-cart-item__subtotal {
        grid-column: 3 / -1;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 12px;
    }
}

@media (max-width: 850px) {
    .pc-cart-container {
        width: calc(100% - 30px);
    }

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

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

    .pc-cart-item {
        grid-template-columns: 82px minmax(0, 1fr) 130px;
    }

    .pc-cart-item__price {
        grid-column: 2;
    }

    .pc-cart-item__quantity {
        grid-column: 3;
        grid-row: 1 / 3;
    }

    .pc-cart-item__subtotal {
        grid-column: 2 / -1;
    }
}

@media (max-width: 600px) {
    .pc-cart-container {
        width: calc(100% - 22px);
    }

    .pc-cart-hero h1 {
        font-size: 29px;
    }

    .pc-cart-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;
    }

    .pc-cart-item {
        grid-template-columns: 74px minmax(0, 1fr);
        align-items: start;
        padding: 16px 13px;
    }

    .pc-cart-item__image {
        width: 74px;
    }

    .pc-cart-item__price,
    .pc-cart-item__quantity,
    .pc-cart-item__subtotal {
        grid-column: 1 / -1;
    }

    .pc-product-detail-page .pc-detail-cart-action {
        grid-template-columns: 1fr;
    }

    .pc-product-detail-page .pc-detail-cart-action > button {
        width: 100%;
    }
}
