/* ============================================================================
   BOL - REQUEST QUOTATION CART LIST
============================================================================ */

section[data-wid="entwrq"] {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 35px;
    color: #333333;
}

section[data-wid="entwrq"] * {
    box-sizing: border-box;
}

section[data-wid="entwrq"] #cart-items {
    width: 100%;
}


/* ============================================================================
   HEADER ROW
============================================================================ */

section[data-wid="entwrq"] #cart-items > .row:first-child {
    display: grid;
    grid-template-columns: 42px 185px minmax(0, 1fr) 175px;
    column-gap: 24px;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0 0 16px;
    border-bottom: 1px solid #dddddd;
}

section[data-wid="entwrq"] #cart-items > .row:first-child > div {
    display: flex;
    align-items: center;
    width: auto;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
}

section[data-wid="entwrq"] #cart-items > .row:first-child > div:nth-child(1) {
    grid-column: 1;
}

section[data-wid="entwrq"] #cart-items > .row:first-child > div:nth-child(2) {
    grid-column: 2 / 4;
    justify-content: flex-start;
}

section[data-wid="entwrq"] #cart-items > .row:first-child > div:nth-child(3) {
    display: none;
}

section[data-wid="entwrq"] #cart-items > .row:first-child > div:nth-child(4) {
    grid-column: 4;
    justify-content: center;
}

section[data-wid="entwrq"] #cart-items > .row:first-child h3 {
    margin: 0;
    padding: 0;
    color: #333333;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.3;
}


/* ============================================================================
   PRODUCT ROW
============================================================================ */

section[data-wid="entwrq"] #cart-items > .row.row-equal-height.border-bottom-custom {
    position: relative;
    display: grid;
    grid-template-columns: 42px 185px minmax(0, 1fr) 175px;
    column-gap: 24px;
    align-items: center;
    width: 100%;
    min-height: 170px;
    margin: 0;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

section[data-wid="entwrq"] #cart-items > .row.row-equal-height.border-bottom-custom > div {
    display: flex;
    align-items: center;
    width: auto;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
}

section[data-wid="entwrq"] #cart-items > .row.row-equal-height.border-bottom-custom > div:nth-child(1) {
    grid-column: 1;
    justify-content: center;
}

section[data-wid="entwrq"] #cart-items > .row.row-equal-height.border-bottom-custom > div:nth-child(2) {
    grid-column: 2;
    justify-content: flex-start;
}

section[data-wid="entwrq"] #cart-items > .row.row-equal-height.border-bottom-custom > div:nth-child(3) {
    grid-column: 3;
    justify-content: flex-start;
}

section[data-wid="entwrq"] #cart-items > .row.row-equal-height.border-bottom-custom > div:nth-child(4) {
    grid-column: 4;
    justify-content: center;
}


/* ============================================================================
   PRODUCT IMAGE
============================================================================ */

section[data-wid="entwrq"] #cart-items .imgqoute {
    display: block;
    width: 175px;
    height: 125px;
    max-width: 175px;
    margin: 0;
    border: 0;
    background: #f3f3f3;
    object-fit: cover;
    object-position: center;
}

section[data-wid="entwrq"] #cart-items > .row.row-equal-height.border-bottom-custom > div:nth-child(2) > a {
    position: relative;
    z-index: 1;
    display: block;
    width: 175px;
    text-decoration: none;
}


/* ============================================================================
   PRODUCT TITLE
============================================================================ */

section[data-wid="entwrq"] #cart-items > .row.row-equal-height.border-bottom-custom > div:nth-child(3) > a {
    position: relative;
    z-index: 1;
    display: inline-block;
    color: #333333;
    text-decoration: none;
}

section[data-wid="entwrq"] #cart-items > .row.row-equal-height.border-bottom-custom > div:nth-child(3) > a:hover {
    color: #265728;
    text-decoration: none;
}

section[data-wid="entwrq"] #cart-items strong {
    display: block;
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.45;
}


/* ============================================================================
   REMOVE BUTTON
============================================================================ */

section[data-wid="entwrq"] #cart-items .remove-item {
    position: relative;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #777777;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
}

section[data-wid="entwrq"] #cart-items .remove-item:hover {
    background: #eeeeee;
    color: #265728;
    text-decoration: none;
}

section[data-wid="entwrq"] #cart-items .remove-item i {
    margin: 0;
    padding: 0;
    pointer-events: none;
}


/* ============================================================================
   QUANTITY CONTROL
============================================================================ */

section[data-wid="entwrq"] #cart-items .inline-group {
    position: relative;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 48px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    background: #f7f7f7;
}

section[data-wid="entwrq"] #cart-items .inline-group .qty {
    display: block;
    width: 52px;
    height: 46px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    outline: none;
    background: transparent;
    color: #333333;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 46px;
    text-align: center;
    box-shadow: none;
}

section[data-wid="entwrq"] #cart-items .inline-group .qty:focus {
    border: 0;
    outline: none;
    box-shadow: none;
}

section[data-wid="entwrq"] #cart-items .inline-group .update-qty {
    position: relative;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    height: 46px;
    min-height: 46px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    outline: none;
    background: transparent;
    color: #265728;
    font-family: inherit;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    text-shadow: none;
    box-shadow: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: background-color 0.25s ease, color 0.25s ease;
}

section[data-wid="entwrq"] #cart-items .inline-group .update-qty:hover {
    background: #265728;
    color: #ffffff;
}

section[data-wid="entwrq"] #cart-items .inline-group .update-qty:focus,
section[data-wid="entwrq"] #cart-items .inline-group .update-qty:active {
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 0;
    padding: 0;
    outline: none;
    box-shadow: none;
    transform: none;
}


/* ============================================================================
   EMPTY CART
============================================================================ */

section[data-wid="entwrq"] #cart-items > p {
    margin: 0;
    padding: 30px 20px;
    background: #f7f7f7;
    color: #666666;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}


/* ============================================================================
   TABLET
============================================================================ */

@media (max-width: 1024px) {
    section[data-wid="entwrq"] {
        padding: 45px 20px 30px;
    }

    section[data-wid="entwrq"] #cart-items > .row:first-child,
    section[data-wid="entwrq"] #cart-items > .row.row-equal-height.border-bottom-custom {
        grid-template-columns: 38px 150px minmax(0, 1fr) 150px;
        column-gap: 18px;
    }

    section[data-wid="entwrq"] #cart-items .imgqoute {
        width: 150px;
        height: 108px;
        max-width: 150px;
    }

    section[data-wid="entwrq"] #cart-items > .row.row-equal-height.border-bottom-custom > div:nth-child(2) > a {
        width: 150px;
    }

    section[data-wid="entwrq"] #cart-items .inline-group {
        width: 140px;
    }

    section[data-wid="entwrq"] #cart-items .inline-group .qty {
        width: 46px;
    }

    section[data-wid="entwrq"] #cart-items .inline-group .update-qty {
        width: 46px;
        min-width: 46px;
    }
}


/* ============================================================================
   MOBILE
============================================================================ */

@media (max-width: 767px) {
    section[data-wid="entwrq"] {
        padding: 35px 15px 25px;
    }

    section[data-wid="entwrq"] #cart-items > .row:first-child {
        display: none;
    }

    section[data-wid="entwrq"] #cart-items > .row.row-equal-height.border-bottom-custom {
        position: relative;
        display: grid;
        grid-template-columns: 110px minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: 16px;
        row-gap: 10px;
        min-height: 0;
        padding: 20px 0;
    }

    section[data-wid="entwrq"] #cart-items > .row.row-equal-height.border-bottom-custom > div:nth-child(1) {
        position: absolute;
        top: 10px;
        left: 0;
        z-index: 10;
    }

    section[data-wid="entwrq"] #cart-items > .row.row-equal-height.border-bottom-custom > div:nth-child(2) {
        grid-column: 1;
        grid-row: 1 / 3;
        align-self: start;
    }

    section[data-wid="entwrq"] #cart-items > .row.row-equal-height.border-bottom-custom > div:nth-child(3) {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
    }

    section[data-wid="entwrq"] #cart-items > .row.row-equal-height.border-bottom-custom > div:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        justify-content: flex-start;
    }

    section[data-wid="entwrq"] #cart-items .imgqoute {
        width: 110px;
        height: 82px;
        max-width: 110px;
    }

    section[data-wid="entwrq"] #cart-items > .row.row-equal-height.border-bottom-custom > div:nth-child(2) > a {
        width: 110px;
    }

    section[data-wid="entwrq"] #cart-items strong {
        font-size: 16px;
    }

    section[data-wid="entwrq"] #cart-items .inline-group {
        width: 135px;
        height: 44px;
    }

    section[data-wid="entwrq"] #cart-items .inline-group .qty {
        width: 45px;
        height: 42px;
        line-height: 42px;
    }

    section[data-wid="entwrq"] #cart-items .inline-group .update-qty {
        width: 44px;
        min-width: 44px;
        height: 42px;
        min-height: 42px;
        font-size: 18px;
    }
}


/* ============================================================================
   SMALL MOBILE
============================================================================ */

@media (max-width: 420px) {
    section[data-wid="entwrq"] {
        padding-right: 10px;
        padding-left: 10px;
    }

    section[data-wid="entwrq"] #cart-items > .row.row-equal-height.border-bottom-custom {
        grid-template-columns: 92px minmax(0, 1fr);
        column-gap: 13px;
    }

    section[data-wid="entwrq"] #cart-items .imgqoute {
        width: 92px;
        height: 70px;
        max-width: 92px;
    }

    section[data-wid="entwrq"] #cart-items > .row.row-equal-height.border-bottom-custom > div:nth-child(2) > a {
        width: 92px;
    }

    section[data-wid="entwrq"] #cart-items strong {
        font-size: 15px;
    }
}

/* ============================================================================
   EOL - REQUEST QUOTATION CART LIST
============================================================================ */