.tech-cart-page {
    padding-bottom: 6rem;
    background: #fff;
    color: #313840;
    font-family: "Open Sans", sans-serif;
}

.tech-cart-header {
    margin: 1.8rem 0 2.4rem;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid #e4e9ee;
}

.tech-cart-header h1 {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin: 0 0 .6rem;
    color: #14599d;
    font-family: "Open Sans", sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
}

.tech-cart-header h1 i {
    color: #008fca;
    font-size: 2.4rem;
}

.tech-cart-header p {
    margin: 0;
    color: #717980;
    font-size: 1.4rem;
}

.tech-checkout-progress {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 76rem;
    margin: 0 auto 3rem;
    padding: 0;
    list-style: none;
}

.tech-checkout-progress::before {
    position: absolute;
    top: 1.6rem;
    right: 16.666%;
    left: 16.666%;
    z-index: 0;
    height: 1px;
    background: #dbe3ea;
    content: "";
}

.tech-checkout-progress li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    color: #8b9299;
    font-size: 1.35rem;
    font-weight: 600;
    text-align: center;
}

.tech-checkout-step {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    padding: 0 1.4rem;
    background: #fff;
}

.tech-checkout-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 3.2rem;
    width: 3.2rem;
    height: 3.2rem;
    border: 1px solid #d7e0e8;
    border-radius: 50%;
    background: #fff;
    color: #6f7780;
}

.tech-checkout-progress li.is-active {
    color: #14599d;
}

.tech-checkout-progress li.is-active .tech-checkout-step-number {
    border-color: #14599d;
    background: #14599d;
    color: #fff;
}

.tech-cart-layout {
    align-items: flex-start;
}

.tech-cart-panel,
.tech-cart-summary {
    border: 1px solid #dfe5eb;
    border-radius: .8rem;
    background: #fff;
}

.tech-cart-panel {
    overflow: hidden;
}

.tech-cart-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.7rem 2rem;
    border-bottom: 1px solid #e4e9ee;
    background: #f7faff;
}

.tech-cart-panel-heading h2,
.tech-cart-summary h2 {
    margin: 0;
    color: #222529;
    font-family: "Open Sans", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.tech-cart-panel-heading > span {
    color: #717980;
    font-size: 1.3rem;
}

.tech-cart-item {
    display: grid;
    grid-template-columns: 10rem minmax(18rem, 1fr) 9.5rem 10rem 11rem 4.5rem;
    grid-template-areas: "image info price quantity total remove";
    gap: 1.2rem;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid #e6ebef;
}

.tech-cart-product-image {
    grid-area: image;
    margin: 0;
}

.tech-cart-product-image a {
    display: block;
    overflow: hidden;
    border: 1px solid #e1e6eb;
    border-radius: .6rem;
    background: #fff;
}

.tech-cart-product-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.tech-cart-product-info {
    grid-area: info;
    min-width: 0;
}

.tech-cart-category {
    margin: 0 0 .35rem;
    color: #8a9198;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
}

.tech-cart-product-info h3 {
    margin: 0 0 .8rem;
    font-family: "Open Sans", sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.4;
}

.tech-cart-product-info h3 a {
    color: #222529;
}

.tech-cart-product-info h3 a:hover,
.tech-cart-product-info h3 a:focus {
    color: #14599d;
}

.tech-cart-attributes {
    margin: 0 0 .65rem;
    color: #626b73;
    font-size: 1.2rem;
}

.tech-cart-attributes div {
    display: flex;
    gap: .4rem;
}

.tech-cart-attributes dt,
.tech-cart-attributes dd {
    margin: 0;
}

.tech-cart-attributes dt {
    font-weight: 600;
}

.tech-cart-stock {
    margin: 0;
    color: #138a42;
    font-size: 1.2rem;
    font-weight: 700;
}

.tech-cart-stock i {
    margin-right: .35rem;
}

.tech-cart-unit-price,
.tech-cart-line-total {
    color: #222529;
    font-size: 1.35rem;
    white-space: nowrap;
}

.tech-cart-unit-price {
    grid-area: price;
}

.tech-cart-line-total {
    grid-area: total;
    color: #14599d;
    text-align: right;
}

.tech-cart-unit-price sup,
.tech-cart-line-total sup,
.tech-cart-totals sup {
    top: -.35em;
    margin-left: .15rem;
    font-size: 65%;
}

.tech-cart-quantity {
    grid-area: quantity;
}

.tech-qty-control {
    display: grid;
    grid-template-columns: 3rem 3.8rem 3rem;
    overflow: hidden;
    width: max-content;
    border: 1px solid #d7dfe6;
    border-radius: .45rem;
}

.tech-qty-control button,
.tech-qty-control input {
    height: 3.6rem;
    border: 0;
    background: #fff;
    text-align: center;
}

.tech-qty-control button {
    color: #14599d;
    font-size: 1.7rem;
    font-weight: 700;
    cursor: pointer;
}

.tech-qty-control button:hover,
.tech-qty-control button:focus {
    background: #edf5fc;
}

.tech-qty-control input {
    width: 3.8rem;
    padding: 0;
    border-right: 1px solid #e1e6eb;
    border-left: 1px solid #e1e6eb;
    color: #222529;
    font-size: 1.3rem;
    font-weight: 700;
    appearance: textfield;
    -moz-appearance: textfield;
}

.tech-qty-control input::-webkit-inner-spin-button,
.tech-qty-control input::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.tech-cart-remove {
    grid-area: remove;
    display: inline-flex;
    align-items: center;
    flex-direction: column;
    gap: .25rem;
    justify-content: center;
    padding: .5rem;
    border: 0;
    background: transparent;
    color: #8a9299;
    font-size: 1.05rem;
    cursor: pointer;
}

.tech-cart-remove i {
    font-size: 1.55rem;
}

.tech-cart-remove:hover,
.tech-cart-remove:focus {
    color: #d9272e;
}

.tech-cart-mobile-label {
    display: none;
}

.tech-cart-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.6rem 2rem;
    background: #fbfcfd;
}

.tech-cart-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    min-height: 4.1rem;
    padding: .9rem 1.5rem;
    border-radius: .4rem;
    font-family: "Open Sans", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.tech-cart-continue {
    border: 1px solid #d6dee5;
    background: #fff;
    color: #44505a;
}

.tech-cart-update {
    border: 1px solid #14599d;
    background: #14599d;
    color: #fff;
}

.tech-cart-update:hover,
.tech-cart-update:focus {
    background: #008fca;
    color: #fff;
}

.tech-cart-status {
    flex: 1 1 100%;
    min-height: 1.8rem;
    color: #138a42;
    font-size: 1.2rem;
}

.tech-cart-empty {
    padding: 5rem 2rem;
    text-align: center;
}

.tech-cart-empty > i {
    margin-bottom: 1.5rem;
    color: #c4d7e8;
    font-size: 5rem;
}

.tech-cart-empty h2 {
    margin-bottom: .8rem;
    font-family: "Open Sans", sans-serif;
    font-size: 2rem;
}

.tech-cart-empty p {
    margin-bottom: 1.8rem;
    color: #747d85;
}

.tech-cart-summary {
    position: sticky;
    top: 11rem;
    overflow: hidden;
    padding: 2rem;
    border-top: .4rem solid #14599d;
}

.tech-cart-summary h2 {
    margin-bottom: 1.7rem;
    padding-bottom: 1.3rem;
    border-bottom: 1px solid #e2e7ec;
}

.tech-cart-update-form,
.tech-cart-summary form {
    margin: 0;
}

.tech-order-fields {
    margin-bottom: 1.7rem;
}

.tech-order-field {
    margin-bottom: 1.2rem;
}

.tech-order-field:last-child {
    margin-bottom: 0;
}

.tech-order-field label,
.tech-payment-methods legend {
    display: block;
    margin-bottom: .55rem;
    color: #303941;
    font-size: 1.2rem;
    font-weight: 700;
}

.tech-order-field abbr {
    border: 0;
    color: #d9272e;
    text-decoration: none;
}

.tech-order-field input {
    width: 100%;
    height: 4.2rem;
    padding: .8rem 1.1rem;
    border: 1px solid #d8e0e7;
    border-radius: .45rem;
    background: #fff;
    color: #222529;
    font-family: "Open Sans", sans-serif;
    font-size: 1.25rem;
}

.tech-order-field input:focus {
    border-color: #14599d;
    box-shadow: 0 0 0 .2rem rgba(20, 89, 157, .1);
    outline: 0;
}

.tech-order-field input::placeholder {
    color: #9aa2aa;
}

.tech-payment-methods {
    margin: 0 0 1.7rem;
    padding: 0;
    border: 0;
}

.tech-payment-methods legend {
    width: auto;
    padding: 0;
}

.tech-payment-option {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    margin: 0 0 .8rem;
    padding: 1rem;
    border: 1px solid #dfe6ec;
    border-radius: .5rem;
    background: #f8fbfe;
    cursor: pointer;
}

.tech-payment-option:last-child {
    margin-bottom: 0;
}

.tech-payment-option:has(input:checked) {
    border-color: #14599d;
    background: #eef6fd;
}

.tech-payment-option input {
    flex: 0 0 auto;
    margin-top: .25rem;
    accent-color: #14599d;
}

.tech-payment-option span {
    display: block;
    min-width: 0;
}

.tech-payment-option strong,
.tech-payment-option small {
    display: block;
}

.tech-payment-option strong {
    color: #2e3841;
    font-size: 1.2rem;
}

.tech-payment-option small {
    margin-top: .25rem;
    color: #737d86;
    font-size: 1.05rem;
    line-height: 1.45;
}

.tech-cart-totals {
    margin: 0 0 1.5rem;
}

.tech-cart-totals > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #525c65;
    font-size: 1.35rem;
}

.tech-cart-totals dt,
.tech-cart-totals dd {
    margin: 0;
}

.tech-cart-totals dd {
    color: #222529;
    font-weight: 700;
}

.tech-cart-totals .is-free {
    color: #138a42;
}

.tech-cart-totals .tech-cart-grand-total {
    margin: 1.5rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid #dce2e7;
    color: #222529;
    font-size: 1.55rem;
    font-weight: 700;
}

.tech-cart-grand-total dd {
    color: #e11d2e;
    font-size: 2rem;
}

.tech-cart-vat {
    margin: 0 0 1.5rem;
    color: #68727b;
    font-size: 1.2rem;
}

.tech-cart-vat i {
    margin-right: .4rem;
    color: #138a42;
}

.tech-cart-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    min-height: 5rem;
    border-color: #14599d;
    background: #14599d;
    font-family: "Open Sans", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: uppercase;
}

.tech-cart-checkout:hover,
.tech-cart-checkout:focus {
    border-color: #008fca;
    background: #008fca;
}

.tech-cart-checkout.is-disabled {
    pointer-events: none;
    opacity: .45;
}

.tech-order-status {
    min-height: 1.8rem;
    margin: .8rem 0 0;
    color: #138a42;
    font-size: 1.1rem;
    line-height: 1.5;
    text-align: center;
}

.tech-cart-benefits {
    margin: 1.8rem 0 0;
    padding: 1.6rem 0 0;
    border-top: 1px solid #e2e7ec;
    list-style: none;
}

.tech-cart-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: #69737c;
    font-size: 1.2rem;
    line-height: 1.5;
}

.tech-cart-benefits li:last-child {
    margin-bottom: 0;
}

.tech-cart-benefits i {
    flex: 0 0 2rem;
    margin-top: .15rem;
    color: #14599d;
    font-size: 1.55rem;
    text-align: center;
}

.tech-cart-benefits strong {
    color: #3d4750;
}

.tech-cart-benefits a {
    color: #14599d;
    font-weight: 700;
}

/* Checkout typography: readable desktop baseline (body 15-16px, metadata 13-14px). */
.tech-cart-page .breadcrumb,
.tech-cart-page .breadcrumb a,
.tech-order-page .breadcrumb,
.tech-order-page .breadcrumb a {
    font-size: 1.4rem;
}

.tech-cart-header p {
    font-size: 1.6rem;
}

.tech-checkout-progress li {
    font-size: 1.5rem;
}

.tech-cart-panel-heading h2,
.tech-cart-summary h2 {
    font-size: 2rem;
}

.tech-cart-panel-heading > span {
    font-size: 1.4rem;
}

.tech-cart-category {
    font-size: 1.3rem;
}

.tech-cart-product-info h3 {
    font-size: 1.6rem;
}

.tech-cart-attributes,
.tech-cart-stock {
    font-size: 1.4rem;
}

.tech-cart-unit-price,
.tech-cart-line-total {
    font-size: 1.6rem;
}

.tech-qty-control input {
    font-size: 1.5rem;
}

.tech-cart-remove {
    font-size: 1.3rem;
}

.tech-cart-actions .btn,
.tech-cart-status,
.tech-payment-methods legend,
.tech-order-field label,
.tech-cart-vat,
.tech-cart-benefits li {
    font-size: 1.4rem;
}

.tech-order-field input {
    font-size: 1.5rem;
}

.tech-payment-option strong {
    font-size: 1.4rem;
}

.tech-payment-option small,
.tech-order-status {
    font-size: 1.3rem;
}

.tech-cart-totals > div {
    font-size: 1.5rem;
}

.tech-cart-totals .tech-cart-grand-total {
    font-size: 1.8rem;
}

.tech-cart-grand-total dd {
    font-size: 2.2rem;
}

.tech-cart-checkout {
    font-size: 1.5rem;
}

@media (max-width: 1199px) {
    .tech-cart-item {
        grid-template-columns: 9rem minmax(0, 1fr) 9rem 10rem;
        grid-template-areas:
            "image info info remove"
            "image price quantity total";
    }

    .tech-cart-mobile-label {
        display: block;
        margin-bottom: .35rem;
        color: #9299a0;
        font-size: 1rem;
        font-weight: 600;
        text-transform: uppercase;
    }
}

@media (max-width: 991px) {
    .tech-cart-summary {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .tech-cart-page {
        padding-bottom: 4rem;
    }

    .tech-cart-header h1 {
        font-size: 2.35rem;
    }

    .tech-checkout-progress {
        margin-bottom: 2.2rem;
    }

    .tech-checkout-step {
        flex-direction: column;
        gap: .4rem;
        padding: 0 .8rem;
        font-size: 1.05rem;
    }

    .tech-cart-item {
        grid-template-columns: 8rem minmax(0, 1fr) 3.5rem;
        grid-template-areas:
            "image info remove"
            "price price price"
            "quantity total total";
        gap: 1.2rem;
        padding: 1.5rem;
    }

    .tech-cart-unit-price,
    .tech-cart-line-total {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 1rem;
        padding-top: 1rem;
        border-top: 1px dashed #dfe5ea;
    }

    .tech-cart-line-total {
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        padding-top: 0;
        border-top: 0;
    }

    .tech-cart-line-total .tech-cart-mobile-label {
        margin: 0;
    }

    .tech-cart-quantity {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
    }

    .tech-cart-actions {
        padding: 1.5rem;
    }
}

@media (max-width: 575px) {
    .tech-cart-panel-heading {
        align-items: flex-start;
        flex-direction: column;
        padding: 1.4rem 1.5rem;
    }

    .tech-cart-product-info h3 {
        font-size: 1.3rem;
    }

    .tech-cart-attributes {
        font-size: 1.1rem;
    }

    .tech-cart-actions .btn {
        justify-content: center;
        width: 100%;
    }

    .tech-cart-summary {
        padding: 1.6rem;
    }

    .tech-checkout-step,
    .tech-cart-mobile-label {
        font-size: 13px;
    }

    .tech-cart-product-info h3 {
        font-size: 15px;
    }

    .tech-cart-attributes {
        font-size: 14px;
    }

    .tech-order-field input {
        font-size: 16px;
    }

    .tech-cart-page .breadcrumb,
    .tech-cart-page .breadcrumb a,
    .tech-cart-page .breadcrumb-item {
        font-size: 14px;
    }
}
