#site-header,
.site-footer,
#main-content {
    overflow: hidden;
}

.f-red {
    color: #E32E22;
}

.border-gray {
    border-color: #A3A3A6;
}

#cart-main .container {
    max-width: 1640px;
    width: 100%;
    padding: 0 15px;
    margin-top: 78px;
    gap: 60px;
}

#cart-main {
    margin-bottom: 95px;
}

#cart-main .cp-image img {
    max-width: 165px;
    aspect-ratio: 165 / 138;
}

#cart-main .cart-title {
    color: var(--gray-950);
    font-size: 38px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-align: left;
    max-width: 800px;
    margin-bottom: 10px;
}

#cart-main .product-name {
    color: var(--black);
    font-size: 23px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    max-width: 404px;
    position: relative;
    top: -4px;
}

#cart-main .total-lease {
    position: relative;
    top: 5px;
}

#cart-main .total,
#cart-main .lease {
    color: var(--black);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 25.9px;
}

#cart-main .product-content {
    height: -webkit-fill-available;
    text-align: left;
    padding-left: 20px;
    max-height: 138px;
    width: 100%;
}

#cart-main .product-price {
    right: 0;
    height: stretch;
}


/* Safari Only */
@supports (background: -webkit-named-image(i)) {
    #cart-main .product-price {
        height: -webkit-fill-available;
    }

}

#cart-main .price-main {
    color: var(--secondary);
    text-align: center;
    font-size: 42.909px;
    font-style: normal;
    font-weight: 700;
    line-height: 33px;
    position: relative;
    left: 15px;
    white-space: nowrap;
}

#cart-main .price-main sup {
    color: var(--secondary);
    font-size: 22.141px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
}

#cart-main .price-main sup:nth-of-type(1) {
    top: -14px;
}

#cart-main .price-main sup:nth-of-type(2) {
    top: -1px;
    left: -9px;
    line-height: 16px;
}

#cart-main .price-main sup span {
    color: var(--secondary);
    font-size: 14.141px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

#cart-main .product-remove {
    color: var(--secondary);
    text-align: right;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 17px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

#cart-main .cp-image {
    padding: 30px 0;
    border-bottom: 1px solid rgba(225, 225, 227, 1);
    max-width: 828px;
}

/* Rows after the first are spaced from the row above (was an inline style on each row). */
#cart-main .cp-image+.cp-image {
    margin-top: 25px;
}

#cart-main .cart-product {
    max-width: 828px;
    width: 100%;
}

#cart-main .total-left p {
    text-align: right;
}

#cart-main .total-left {
    padding-right: 20px;
}

#cart-main .cp-estimated {
    color: var(--black);
    text-align: right;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 17px;
}

#cart-main .cp-note {
    color: var(--black);
    text-align: right;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 17px;
}

#cart-main .cp-total {
    padding-top: 21px;
}

#cart-main form .button {
    width: 380px;
    height: 85px;
    border-radius: 56.11px;
    border: 0.85px solid var(--secondary);
    background: var(--secondary);
    color: var(--white);
    text-align: center;
    font-size: 23.804px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
    margin-top: 36px;
}

#form-cart .form-action {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#cart-main .cart-main {
    width: 700px;
    height: fit-content;
    border-radius: 30px;
    background: #F5F5F5;
    padding: 42px 15px 65px 15px;
}

#form-cart form {
    width: 530px;
    font-size: 16px;
}

#cart-main .form-title {
    color: var(--gray-950);
    text-align: center;
    font-size: 38px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 20px;
}

/* SIMILAR PRODUCTS SWIPER
   Scoped to #similar-products so these beat the shared products.css on specificity rather than
   on load order. */
#similar-products .product-card-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#similar-products .product-card__atc:first-of-type {
    width: 170.774px;
}

#similar-products .product-card__fav {
    display: none;
}

#similar-products.product-section {
    padding: 0 0 104px 0;
    margin: 0 auto;
    max-width: 1670px;
}

#similar-products .product-swiper {
    padding: 0 15px;
}

#similar-products .product-swiper__scrollbar .swiper-scrollbar-drag {
    background: var(--gray-500);
    border-radius: 3.4px;
}

#similar-products .product-card__image img {
    width: auto;
    height: 100%;
    max-width: unset;
}

#similar-products .product-card__image-link {
    display: flex;
    justify-content: center;
}

/* The about partial renders below the cart; trim it back on this page. */
.explore-section .section-title {
    display: none;
}

#find-store-banner {
    display: none;
}

.explore-section {
    padding-top: 60px;
}

#cart-main .cart-num-items {
    color: #707070;
    font-size: 25px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

#cart-main .bottom-commands {
    gap: 32px;
    flex-direction: row-reverse;
}

#cart-main .amount-btns {
    border-radius: 34.646px;
    border: 0.693px solid var(--secondary);
    background: var(--white);
    width: 88px;
    height: 27.717px;
}

#cart-main .decrease,
#cart-main .increase {
    color: var(--secondary);
    text-align: center;
    font-size: 15.165px;
    font-style: normal;
    font-weight: 500;
    line-height: 1;
}

#cart-main .decrease {
    padding-right: 10px;
}

#cart-main .increase {
    padding-left: 10px;
}

#cart-main .number-count {
    color: var(--secondary);
    text-align: center;
    font-size: 13.165px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    padding: 0 10px;
    border-left: 1px solid #E1E1E3;
    border-right: 1px solid #E1E1E3;
}

#similar-products .product-swiper {
    overflow: visible;
}

/* Safari Only */
@supports (background: -webkit-named-image(i)) {
    #cart-main .increase {
        padding-bottom: 3px;
    }

    #cart-main .decrease {
        padding-bottom: 1px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1915px) {
    #cart-main {
        margin-left: 140px;
        margin-right: 140px;
    }

    #cart-main .container {
        padding: 0;
    }

    #cart-main .cart-main {
        padding-left: 76px;
        padding-right: 76px;
    }

    #form-cart form {
        width: 510px;
    }

    #similar-products.product-section {
        margin-left: 140px;
        margin-right: 140px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1680px) {
    #cart-main .product-name {
        max-width: 69%;
    }

    #cart-main .bottom-commands {
        gap: 12px;
        flex-direction: column-reverse;
    }

    #cart-main .lease {
        max-width: 98%;
    }

    #form-cart form {
        width: 480px;
    }
}

@media screen and (max-width: 1550px) {
    #form-cart form {
        width: 435px;
    }

    #cart-main .cart-main {
        padding-left: 60px;
        padding-right: 60px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1400px) {

    #cart-main .cp-image {
        flex-direction: column;
        align-items: flex-start;
    }

    #cart-main .product-content {
        margin-top: 10px;
        padding-left: 0;
    }
}


@media screen and (max-width: 1380px) {
    #similar-products .product-card__atc:first-of-type {
        width: 202.774px;
    }

    #similar-products .product-card__atc {
        font-size: 16.703px;
    }
}

@media screen and (max-width: 1300px) {
    #cart-main .cp-image {
        flex-direction: column;
        align-items: flex-start;
    }

    #cart-main .product-content {
        margin-top: 10px;
        padding-left: 0;
    }

    #cart-main .total-right {
        white-space: nowrap;
    }

}

@media screen and (max-width: 1200px) {

    #cart-main .total,
    #cart-main .lease {
        max-width: 200px;
    }
}

@media screen and (max-width: 1100px) {
    #cart-main .cart-main {
        width: 500px;
    }

    #cart-main .product-name {
        max-width: 300px;
    }
}

@media screen and (max-width: 991px) {
    #cart-main .container {
        max-width: 100%;
        gap: 0;
        flex-direction: column;
    }

    #cart-main .cart-product {
        max-width: 100%;
    }

    #cart-main .cart-main {
        width: 100%;
        margin-top: 26px;
    }
}

@media screen and (max-width: 767px) {
    #cart-main .cart-title {
        font-size: 25px;
        font-style: normal;
        font-weight: 700;
        line-height: 30px;
    }

    #cart-main .cp-image {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
    }

    #cart-main .cp-image a {
        max-width: 190px;
    }

    #cart-main .cp-image img {
        max-width: 100%;
        aspect-ratio: 165 / 138;
        width: 100%;
    }

    #cart-main .cp-image .product-content a {
        max-width: 100%;
    }

    #cart-main .product-price {
        height: auto;
        position: relative;
        width: 100%;
        justify-content: space-between;
        align-items: flex-end;
        flex-direction: row;
    }

    #cart-main .product-content {
        margin-top: 0;
        padding-left: 15px;
        justify-content: space-between;
        max-width: 100%;
        max-height: 100%;
    }

    #cart-main .total,
    #cart-main .lease {
        font-size: 11px;
        font-style: normal;
        font-weight: 400;
        line-height: 15px;
    }

    #cart-main .price-main {
        font-size: 34.756px;
        font-style: normal;
        font-weight: 700;
        line-height: 18px;
        left: 0;
        white-space: nowrap;
    }

    #cart-main .price-main sup {
        font-size: 18.141px;
    }

    #cart-main .price-main sup:nth-of-type(1) {
        top: -12px;
    }

    #cart-main .price-main sup:nth-of-type(2) {
        top: 1px;
        left: -9px;
        line-height: 10px;
    }

    #cart-main .bottom-commands {
        flex-direction: column-reverse;
        gap: 10px;
        align-items: end;
    }

    #cart-main .product-name {
        font-size: 15px;
        font-style: normal;
        font-weight: 700;
        line-height: 22px;
        max-width: unset;
    }

    #cart-main .product-remove {
        line-height: 17.859px;
    }

    #cart-main .total-left p {
        text-align: left;
    }

    #cart-main .cp-estimated {
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 17px;
        margin-bottom: 10px;
    }

    #cart-main .cp-note {
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 17px;
        max-width: 220px;
    }

    #cart-main .cp-total {
        padding-top: 23px;
        justify-content: space-between;
        align-items: flex-start;
    }

    #cart-main .total-right {
        height: stretch;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    #cart-main .container {
        margin-top: 30px;
    }

    #cart-main .cart-main {
        margin-top: 58px;
        padding-left: 17px;
        padding-right: 17px;
    }

    #cart-main .form-title {
        font-size: 25px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    #cart-main form .button {
        width: 264px;
        height: 48px;
        border-radius: 31.759px;
        font-size: 15.398px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
    }

    #cart-main .total-lease {
        top: 0;
    }

    #similar-products .product-card__atc:first-of-type {
        width: 131.774px;
    }

    #similar-products .product-card__atc {
        font-size: 14px;
    }

    .explore-section .section-title {
        display: block;
    }

    #similar-products .product-card__image img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
}