#ecommerce-cart-page {
    color: #171717;
    margin: 0 auto;
    max-width: 1300px;
    min-height: calc(100vh - 100px);
    padding: clamp(30px, 4vw, 56px) clamp(20px, 4vw, 52px);
}

#ecommerce-cart-page .accessory-products {
    color: #191919;
    margin: 3rem auto 0;
    max-width: 1100px;
}

#ecommerce-cart-page .accessory-products-heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

#ecommerce-cart-page .accessory-products-heading h2 {
    font-family: ethnocentric, sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1.15rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    margin: 0;
    text-transform: uppercase;
}

#ecommerce-cart-page .accessory-products-heading h2::after {
    border-bottom: 2px solid #d7193f;
    content: "";
    display: block;
    margin-top: 0.35rem;
    width: 38px;
}

#ecommerce-cart-page .accessory-products-carousel {
    align-items: center;
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 28px minmax(0, 1fr) 28px;
}

#ecommerce-cart-page .accessory-products-control {
    align-items: center;
    background: transparent;
    border: 0;
    color: #999;
    cursor: pointer;
    display: inline-flex;
    font-size: 1.65rem;
    height: 56px;
    justify-content: center;
    padding: 0;
    width: 28px;
}

#ecommerce-cart-page [data-accessory-scroll="prev"] {
    grid-column: 1;
}

#ecommerce-cart-page .accessory-products-track {
    grid-column: 2;
}

#ecommerce-cart-page [data-accessory-scroll="next"] {
    grid-column: 3;
}

#ecommerce-cart-page .accessory-products-control:disabled {
    cursor: default;
    opacity: 0.4;
}

#ecommerce-cart-page .accessory-products-control[hidden] {
    display: none;
}

#ecommerce-cart-page .accessory-products-track {
    display: block;
    min-width: 0;
    overflow: hidden;
    padding: 2px 2px 8px;
}

#ecommerce-cart-page .accessory-products-slide {
    align-items: stretch;
    gap: 1rem;
    grid-template-columns: repeat(var(--accessory-cards-per-slide), minmax(0, 1fr));
    min-width: 0;
}

#ecommerce-cart-page .accessory-products-slide.active,
#ecommerce-cart-page .accessory-products-slide.carousel-item-next,
#ecommerce-cart-page .accessory-products-slide.carousel-item-prev {
    display: grid;
}

#ecommerce-cart-page .accessory-product-card {
    align-items: center;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #c8c8c8;
    box-sizing: border-box;
    display: grid;
    gap: 0.65rem;
    grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
    min-width: 0;
    padding: 0.25rem 0 0.65rem;
}

#ecommerce-cart-page .accessory-product-image-wrapper {
    align-items: center;
    aspect-ratio: 1;
    background: transparent;
    border: 1px solid #ddd;
    cursor: zoom-in;
    display: flex;
    font: inherit;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

#ecommerce-cart-page .accessory-product-image-wrapper:disabled {
    cursor: default;
}

#ecommerce-cart-page .accessory-product-image {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

#ecommerce-cart-page .accessory-product-image-placeholder {
    color: #777;
    font-size: 0.8rem;
    text-align: center;
}

#ecommerce-cart-page .accessory-product-details {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

#ecommerce-cart-page .accessory-product-category {
    color: #777;
    font-size: 0.7rem;
    line-height: 1.1;
    text-transform: uppercase;
}

#ecommerce-cart-page .accessory-product-name {
    appearance: none;
    background: transparent;
    border: 0;
    color: #191919;
    cursor: zoom-in;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    margin-top: 0.1rem;
    padding: 0;
    text-align: left;
    text-transform: uppercase;
}

#ecommerce-cart-page .accessory-product-name:disabled {
    color: inherit;
    cursor: default;
}

#ecommerce-cart-page .accessory-product-name h6{
    letter-spacing: 2px !important;
    margin-bottom: 0 !important;
}

#ecommerce-cart-page .accessory-product-name:hover:not(:disabled) {
    color: #d7193f;
}

#ecommerce-cart-page .accessory-product-price {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    margin: 0.2rem 0 0;
    font-size: 1rem;
}

#ecommerce-cart-page .accessory-product-old-price {
    color: #777;
    font-size: 0.9rem;
    text-decoration: line-through;
}

#ecommerce-cart-page .accessory-product-current-price {
    color: #191919;
    font-size: 1.3rem;
    font-weight: 700;
}

#ecommerce-cart-page .accessory-product-variants {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    margin: 0.2rem 0 0.35rem;
}

#ecommerce-cart-page .accessory-product-colors-label {
    color: #555;
    font-size: 0.55rem;
}

#ecommerce-cart-page .accessory-product-color {
    align-items: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    gap: 0.15rem;
    padding: 0;
    color: #555;
    font-size: 0.52rem;
    line-height: 1;
}

#ecommerce-cart-page .accessory-product-color.selected {
    color: #191919;
    font-weight: 600;
}

#ecommerce-cart-page .accessory-product-color-dot {
    border: 1px solid #aaa;
    border-radius: 50%;
    display: inline-block;
    flex: 0 0 25px;
    height: 25px;
    position: relative;
    width: 25px;
}

#ecommerce-cart-page .accessory-product-color.selected .accessory-product-color-dot::before {
    border: 2px solid #000;
    border-radius: 50%;
    content: "";
    inset: -5px;
    position: absolute;
}

#ecommerce-cart-page .accessory-product-color:not(.selected):hover .accessory-product-color-dot::before {
    border: 2px solid #999;
    border-radius: 50%;
    content: "";
    inset: -5px;
    position: absolute;
}

#ecommerce-cart-page .accessory-product-form {
    margin-top: 0.1rem;
}

#ecommerce-cart-page .accessory-product-add-button {
    align-items: center;
    background: #ffffff;
    border: 1px solid #ccc;
    color: #333;
    display: inline-flex;
    gap: 0.25rem;
    min-height: 22px;
    padding: 0;
    white-space: nowrap;
    width: 100%;
    font-size: 0.9rem;
}
#ecommerce-cart-page .accessory-product-add-button .bi-cart{
    color:#fff;
    background-color: #ccc;
    padding: 0 5px;
}
#ecommerce-cart-page .accessory-product-add-button span{
    width: 100% !important;
    text-align: center !important;
}

#ecommerce-cart-page .accessory-product-add-button:hover {
    background: #ccc;
    border-color: #ccc;
    color: #fff;
}

#accessoryImageModal .accessory-image-modal-content {
    background: #111;
    border: 0;
}

#accessoryImageModal .accessory-image-modal-preview {
    display: block;
    height: auto;
    margin: 0 auto;
    max-height: 80vh;
    object-fit: contain;
    width: 100%;
}

@media (min-width: 992px) {
    #ecommerce-cart-page .accessory-products-carousel {
        grid-template-columns: 36px minmax(0, 1fr) 36px;
    }

    #ecommerce-cart-page .accessory-products-control {
        width: 36px;
    }
}

#ecommerce-cart-page .cart-layout {
    align-items: start;
    display: grid;
    gap: clamp(28px, 5vw, 64px);
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
}

#ecommerce-cart-page .cart-heading,
#ecommerce-cart-page .cart-summary-title,
#ecommerce-cart-page .cart-contact h3 {
    color: #111;
    font-family: ethnocentric, sans-serif;
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    font-weight: 400;
    letter-spacing: .02em;
    line-height: 1.2;
    margin: 0;
    text-transform: uppercase;
}

#ecommerce-cart-page .cart-heading::after,
#ecommerce-cart-page .cart-contact h3::after {
    border-bottom: 3px solid #d7193f;
    content: "";
    display: block;
    margin-top: 8px;
    width: 100px;
}

#ecommerce-cart-page .cart-items {
    border-bottom: 1px solid #777;
}

#ecommerce-cart-page .cart-item {
    align-items: center;
    border-bottom: 1px solid #c8c8c8;
    display: grid;
    gap: 16px;
    grid-template-columns: 120px minmax(0, 1fr) minmax(112px, auto) 28px;
    padding: 24px 0;
}

#ecommerce-cart-page .cart-item:last-child {
    border-bottom: 0;
}

#ecommerce-cart-page .cart-product-image {
    align-items: center;
    border: 1px solid #ccc;
    display: flex;
    height: 110px;
    justify-content: center;
    width: 150px;
}
.form-control{
    border-radius: 0 !important;
}
.btn-outline-primary {
    border-radius: 0 !important;
    border-color: #019a48 !important;
    color: #019a48 !important;
}

.btn-outline-primary:hover {
    background-color: #019a48 !important;
    color: #fff !important;
}
.btn-outline-secondary {
    border-radius: 0 !important;

}
.forget-password {
    background-color: transparent !important;
    border: 0 !important;
    color: #d7193f !important;
    cursor: pointer;
    text-decoration: underline;
    margin: 0 auto; 
}

.btn-outline-secondary:hover {
    background-color: #6c757d !important;
    color: #fff !important;
}

#ecommerce-cart-page .cart-product-image img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

#ecommerce-cart-page .cart-product-year {
    color: #777;
    display: block;
    font-size: .85rem;
    text-transform: uppercase;
}

#ecommerce-cart-page .cart-product-details {
    display: flex;
    flex-direction: column;
    
    margin-left: 26px;
}

#ecommerce-cart-page .cart-product-details h2 {
    color: #111;
    font-family: ethnocentric, sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    font-weight: 400;
    line-height: 1.2;
    margin: 2px 0 6px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#ecommerce-cart-page .cart-product-model {
    font-size: .9rem;
    line-height: 1.2;
}

#ecommerce-cart-page .cart-color {
    align-items: center;
    display: inline-flex;
    font-size: .85rem;
    gap: 7px;
}

#ecommerce-cart-page .cart-color img {
    border: 1px solid #bbb;
    border-radius: 50%;
    height: 34px;
    object-fit: cover;
    width: 34px;
}

#ecommerce-cart-page .cart-unavailable {
    color: #b51217;
    font-size: .85rem;
    margin: 8px 0 0;
}

#ecommerce-cart-page .cart-product-price {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    font-weight: 700;    
    text-align: right;
    white-space: nowrap;
}

#ecommerce-cart-page .cart-quantity-form {
    border: 1px solid #555;
    display: inline-flex;
    height: 36px;
}

#ecommerce-cart-page .cart-quantity-step,
#ecommerce-cart-page .cart-quantity-value,
#ecommerce-cart-page .cart-remove {
    align-items: center;
    background: #fff;
    border: 0;
    color: #444;
    display: inline-flex;
    justify-content: center;
}

#ecommerce-cart-page .cart-quantity-step {
    cursor: pointer;
    font-size: .85rem;
    height: 100%;
    padding: 0;
    width: 34px;
}

#ecommerce-cart-page .cart-quantity-step:first-of-type {
    border-right: 1px solid #555;
}

#ecommerce-cart-page .cart-quantity-step:last-of-type {
    border-left: 1px solid #555;
}

#ecommerce-cart-page .cart-quantity-step:disabled {
    color: #aaa;
    cursor: not-allowed;
}

#ecommerce-cart-page .cart-quantity-value {
    color: #171717;
    font-size: .9rem;
    font-weight: 400;
    min-width: 38px;
    padding: 0 8px;
}

#ecommerce-cart-page .cart-quantity-status {
    color: #b51217;
    font-size: .75rem;
    font-weight: 400;
}

#ecommerce-cart-page .cart-moto-quantity {
    align-items: center;
    border: 1px solid #555;
    display: inline-flex;
    font-size: .9rem;
    font-weight: 400;
    height: 36px;
    justify-content: center;
    min-width: 48px;
}

#ecommerce-cart-page .cart-remove-form {
    align-self: start;
}

#ecommerce-cart-page .cart-remove {
    color: #888;
    font-size: 1.05rem;
    padding: 4px;
}

#ecommerce-cart-page .cart-remove:hover,
#ecommerce-cart-page .cart-quantity-step:not(:disabled):hover {
    color: #d7193f;
}

#ecommerce-cart-page .cart-line-total {
    color: #555;
    display: block;
    font-size: .78rem;
    font-weight: 400;
}

#ecommerce-cart-page .cart-summary {
    border: 1px solid #555;
    padding: 18px;
}

#ecommerce-cart-page .cart-summary-title {
    border-bottom: 1px solid #bbb;
    font-size: 1.15rem;
    padding-bottom: 10px;
}

#ecommerce-cart-page .cart-summary-row,
#ecommerce-cart-page .cart-summary-total {
    align-items: flex-start;
    display: flex;
    font-size: .86rem;
    gap: 12px;
    justify-content: space-between;
    padding: 0;
}

#ecommerce-cart-page .cart-summary-row > :last-child,
#ecommerce-cart-page .cart-summary-total > :last-child {
    text-align: right;
}

#ecommerce-cart-page .cart-shipping-row {
    border-bottom: 1px solid #aaa;
    color: #555;
}

#ecommerce-cart-page .cart-summary-total {
    font-size: 1.3rem;
    font-weight: 700;
    padding: 0 0 8px;
    text-transform: uppercase;
}

#ecommerce-cart-page .cart-contact {
    border-top: 1px solid #777;
    margin-top: 12px;
    padding-top: 18px;
}

#ecommerce-cart-page .cart-contact h3 {
    font-size: 1rem;
    margin-bottom: 14px;
}

#ecommerce-cart-page .cart-contact h3::after {
    margin-top: 6px;
    width: 58px;
}

#ecommerce-cart-page .cart-email-field,
#ecommerce-cart-page .cart-password input {
    position: relative;
}

#ecommerce-cart-page .cart-email-field input[name="contact"],
#ecommerce-cart-page .cart-password input {
    background: #fff;
    border: 1px solid #666;
    border-radius: 0;
    color: #171717;
    font-size: .92rem;
    min-height: 42px;
    padding: 9px 11px;
    width: 100%;
}

#ecommerce-cart-page .cart-email-field input[name="contact"] {
    padding-left: 38px;
}

#ecommerce-cart-page .cart-email-field > i {
    color: #d7193f;
    font-size: 1rem;
    left: 11px;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

#ecommerce-cart-page .cart-email-field input[name="contact"]::placeholder,
#ecommerce-cart-page .cart-password input::placeholder {
    color: #777;
    text-transform: uppercase;
}

#ecommerce-cart-page .cart-contact input:focus {
    border-color: #d7193f;
    box-shadow: 0 0 0 .15rem rgba(215, 25, 63, .15);
    outline: 0;
}

#ecommerce-cart-page .cart-contact .errorlist {
    color: #b51217;
    font-size: .82rem;
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
}

#ecommerce-cart-page .cart-password {
    margin-top: 12px;
}

#ecommerce-cart-page .cart-password label {
    display: block;
    font-size: .82rem;
    margin-bottom: 6px;
}

#ecommerce-cart-page .cart-password-error,
#ecommerce-cart-page .cart-contact-status {
    font-size: .8rem;
    margin-top: 6px;
}

#ecommerce-cart-page .cart-contact-status.is-success {
    color: #28733a;
}

#ecommerce-cart-page .cart-contact-status.is-error,
#ecommerce-cart-page .cart-password-error {
    color: #b51217;
}

#ecommerce-cart-page .cart-continue-button {
    align-items: center;
    background: #d7193f;
    border: 1px solid #d7193f;
    border-radius: 0;
    color: #fff;
    display: flex;
    font-family: ethnocentric, sans-serif;
    font-size: .8rem;
    justify-content: center;
    margin-top: 14px;
    min-height: 44px;
    padding: 9px 14px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
}

#ecommerce-cart-page .cart-continue-button:hover:not(:disabled) {
    background: #b91434;
    border-color: #b91434;
    color: #fff;
}

#ecommerce-cart-page .cart-continue-button:disabled {
    cursor: not-allowed;
    opacity: .6;
}

#ecommerce-cart-page .cart-continue-button i {
    font-size: 1.1rem;
    margin-left: 8px;
}

#ecommerce-cart-page .cart-secure-payment {
    align-items: center;
    display: flex;
    font-family: ethnocentric, sans-serif;
    font-size: .8rem;
    gap: 7px;
    justify-content: center;
    margin-top: 14px;
    text-transform: uppercase;
}

#ecommerce-cart-page .cart-messages {
    margin-bottom: 20px;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    #ecommerce-cart-page .cart-item {
        align-items: start;
        column-gap: 12px;
        grid-template-columns: minmax(0, 1fr) minmax(112px, auto) 28px;
        row-gap: 10px;
    }

    #ecommerce-cart-page .cart-product-image {
        grid-column: 1;
        grid-row: 1;
        height: 110px;
        max-width: 150px;
        width: 100%;
    }

    #ecommerce-cart-page .cart-product-details {
        grid-column: 1;
        grid-row: 2;
        margin-left: 0;
        min-width: 0;
    }

    #ecommerce-cart-page .cart-product-details h2 {
        font-size: clamp(.9rem, 1.5vw, 1.1rem);
        overflow-wrap: anywhere;
    }

    #ecommerce-cart-page .cart-product-model {
        font-size: .8rem;
        overflow-wrap: anywhere;
    }

    #ecommerce-cart-page .cart-product-price {
        align-items: flex-start;
        align-self: start;
        font-size: .9rem;
        grid-column: 2;
        grid-row: 2;
        text-align: left;
        white-space: nowrap;
    }

    #ecommerce-cart-page .cart-remove-form {
        grid-column: 3;
        grid-row: 2;
        justify-self: end;
    }
}

@media (max-width: 767.98px) {
    #ecommerce-cart-page {
        min-height: calc(100vh - 100px);
        padding: 30px 20px 40px;
    }

    #ecommerce-cart-page .cart-layout {
        display: block;
    }

    #ecommerce-cart-page .cart-heading {
        font-size: clamp(1.7rem, 7vw, 2.1rem);
        margin-bottom: 28px;
    }

    #ecommerce-cart-page .cart-heading::after {
        margin-top: 8px;
        width: 100px;
    }

    #ecommerce-cart-page .cart-items {
        margin-bottom: 28px;
    }

    #ecommerce-cart-page .cart-item {
        gap: 10px;
        grid-template-columns: minmax(82px, 112px) minmax(0, 1fr) auto;
        padding: 8px 0 24px;
        position: relative;
    }

    #ecommerce-cart-page .cart-product-image {
        height: 112px;
        width: 100%;
    }

    #ecommerce-cart-page .cart-product-details {
        align-self: center;
        min-width: 0;
    }

    #ecommerce-cart-page .cart-product-year {
        font-size: .82rem;
    }

    #ecommerce-cart-page .cart-product-details h2 {
        font-size: clamp(.95rem, 4.3vw, 1.2rem);
        overflow-wrap: anywhere;
    }

    #ecommerce-cart-page .cart-color {
        font-size: .75rem;
        gap: 4px;
    }

    #ecommerce-cart-page .cart-color img {
        height: 28px;
        width: 28px;
    }

    #ecommerce-cart-page .cart-product-price {
        align-self: end;
        font-size: .82rem;
        grid-column: 2 / 4;
        grid-row: 2;
        justify-self: end;
        margin-top: -4px;
    }

    #ecommerce-cart-page .cart-remove-form {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        margin-right: -6px;
        margin-top: -4px;
    }

    #ecommerce-cart-page .cart-remove {
        font-size: 1.1rem;
    }

    #ecommerce-cart-page .cart-line-total {
        display: block;
        font-size: .8rem;
    }

    #ecommerce-cart-page .cart-summary {
        border: 0;
        border-top: 1px solid #777;
        padding: 24px 0 0;
    }

    #ecommerce-cart-page .cart-summary-title {
        border: 0;
        font-size: 1.2rem;
        padding: 0;
    }

    #ecommerce-cart-page .cart-summary-row,
    #ecommerce-cart-page .cart-summary-total {
        font-size: .95rem;
    }

    #ecommerce-cart-page .cart-summary-total {
        background: #f1f1f1;
        font-size: 1.05rem;
        margin-top: 6px;
        padding: 13px 8px;
    }

    #ecommerce-cart-page .cart-contact {
        border-top: 1px solid #777;
        margin-top: 30px;
        padding-top: 24px;
    }

    #ecommerce-cart-page .cart-contact h3 {
        font-size: 1.2rem;
        margin-bottom: 16px;
    }

    #ecommerce-cart-page .cart-contact h3::after {
        width: 100px;
    }

    #ecommerce-cart-page .cart-email-field input[name="contact"],
    #ecommerce-cart-page .cart-password input {
        min-height: 52px;
    }

    #ecommerce-cart-page .cart-continue-button {
        font-size: .95rem;
        min-height: 52px;
        margin-top: 24px;
    }

    #ecommerce-cart-page .cart-secure-payment {
        font-size: .9rem;
        margin-top: 18px;
    }
}
