/* =========================================================
   CART - REMOVE GENERIC PAGE WIDTH
   ========================================================= */

   body.woocommerce-cart .site-shell.content-wrap {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-cart .content-entry {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-cart .content-entry > h1 {
    display: none;
}

body.woocommerce-cart .content-entry > .woocommerce {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

body.woocommerce-cart .ls-cart-shell {
    width: calc(100% - 64px);
    max-width: 1480px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================================
   CART PAGE - BREAK OUT OF GENERIC PAGE WIDTH
   ========================================================= */

   body.woocommerce-cart .site-main,
   body.woocommerce-cart #primary,
   body.woocommerce-cart .entry-content,
   body.woocommerce-cart .woocommerce {
       width: 100% !important;
       max-width: none !important;
       margin-left: 0 !important;
       margin-right: 0 !important;
   }
   
   body.woocommerce-cart .ls-cart-shell {
       width: calc(100% - 64px) !important;
       max-width: 1480px !important;
       margin-left: auto !important;
       margin-right: auto !important;
   }

/* =========================================================
   LIQUOR STORE CART
   FINAL
   ========================================================= */

   .ls-cart-page {
    padding: 48px 0 72px;
}

.ls-cart-shell {
    width: calc(100% - 64px);
    max-width: 1480px;
    margin: 0 auto;
}

.ls-cart-header {
    margin-bottom: 28px;
}

.ls-cart-header h1 {
    margin: 0;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
}


/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.ls-cart-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(340px, 420px);

    gap: 64px;
    align-items: start;
}

.ls-cart-main,
.ls-cart-summary {
    min-width: 0;
}

.ls-cart-summary {
    position: sticky;
    top: 110px;
}


/* =========================================================
   CART TABLE
   ========================================================= */

.ls-cart-table {
    border-top: 1px solid #d9d4cc;
}

.ls-cart-table__head {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        110px
        120px
        130px;

    gap: 18px;

    padding: 13px 44px 13px 0;

    border-bottom: 1px solid #d9d4cc;

    font-size: 13px;
    font-weight: 700;
    color: #55514b;
}

.ls-cart-col--price,
.ls-cart-col--qty,
.ls-cart-col--subtotal {
    text-align: right;
}


/* =========================================================
   CART ITEM
   ========================================================= */

.ls-cart-item {
    position: relative;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        110px
        120px
        130px;

    gap: 18px;
    align-items: center;

    padding: 22px 44px 22px 0;

    border-bottom: 1px solid #e2ddd5;
}

.ls-cart-item__product {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);

    gap: 18px;
    align-items: center;

    min-width: 0;
}

.ls-cart-item__thumb {
    display: block;
}

.ls-cart-item__thumb img {
    display: block;

    width: 92px;
    height: 110px;

    object-fit: contain;
}

.ls-cart-item__title {
    font-size: 16px;
    line-height: 1.35;
    font-weight: 600;
}

.ls-cart-item__title a {
    color: inherit;
    text-decoration: none;
}

.ls-cart-item__title a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ls-cart-item__meta {
    margin-top: 6px;

    font-size: 13px;
    line-height: 1.45;
    color: #777169;
}

.ls-cart-item__price,
.ls-cart-item__subtotal {
    text-align: right;
    font-weight: 600;
}

.ls-cart-item__qty {
    display: flex;
    justify-content: flex-end;
}

.ls-cart-item__qty .quantity .qty {
    width: 72px;
    min-height: 42px;

    border: 1px solid #cfc8be;
    background: #fff;

    text-align: center;
}

.ls-cart-item__remove {
    position: absolute;

    top: 50%;
    right: 0;

    transform: translateY(-50%);
}

.ls-cart-item__remove .remove {
    display: grid;
    place-items: center;

    width: 28px;
    height: 28px;

    border-radius: 50%;

    color: #8b8177 !important;
    text-decoration: none;

    font-size: 22px;
    line-height: 1;
}

.ls-cart-item__remove .remove:hover {
    background: #eee9e1;
    color: #c93420 !important;
}

.ls-cart-item__remove-mobile {
    display: none;
}


/* =========================================================
   ACTIONS / COUPON
   ========================================================= */

.ls-cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    padding-top: 22px;
}

.ls-cart-coupon {
    display: flex;
    gap: 10px;

    min-width: 0;
}

.ls-cart-coupon .input-text {
    min-width: 220px;
    height: 44px;

    padding: 0 14px;

    border: 1px solid #cfc8be;
    background: #fff;
}

.ls-cart-actions .button,
.ls-cart-checkout .checkout-button {
    border: 0 !important;
    border-radius: 0 !important;

    background: #cf351f !important;
    color: #fff !important;

    font-weight: 700 !important;
    text-transform: uppercase;
}

.ls-cart-actions .button {
    min-height: 44px;
    padding: 0 18px !important;
}

.ls-cart-update:disabled,
.ls-cart-update[disabled] {
    opacity: .45;
}


/* =========================================================
   CART TOTALS
   ========================================================= */

.ls-cart-totals {
    width: 100%;

    padding: 26px;

    border: 1px solid #d9d4cc;
    background: rgba(255, 255, 255, .3);
}

.ls-cart-totals h2 {
    margin: 0 0 22px;

    font-size: 24px;
    line-height: 1.2;
}

.ls-cart-totals__rows {
    border-top: 1px solid #ddd8cf;
}

.ls-cart-totals__row {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding: 15px 0;

    border-bottom: 1px solid #e2ddd5;
}

.ls-cart-totals__row span {
    color: #5f5a54;
}

.ls-cart-totals__row strong {
    text-align: right;
}

.ls-cart-totals__shipping {
    padding: 15px 0;

    border-bottom: 1px solid #e2ddd5;
}

.ls-cart-totals__shipping .woocommerce-shipping-totals {
    display: grid;
    gap: 12px;
}

.ls-cart-totals__shipping th,
.ls-cart-totals__shipping td {
    display: block;

    width: 100%;
    padding: 0;

    text-align: left;
}

.ls-cart-totals__shipping ul#shipping_method {
    margin: 0;
    padding: 0;

    list-style: none;
}

.ls-cart-totals__shipping ul#shipping_method li + li {
    margin-top: 8px;
}

.ls-cart-totals__row--total {
    padding-top: 20px;

    font-size: 19px;
}

.ls-cart-checkout {
    margin-top: 22px;
}

.ls-cart-checkout .checkout-button {
    display: block !important;

    width: 100%;

    padding: 15px 20px !important;

    text-align: center;
    text-decoration: none;
}


/* =========================================================
   CROSS SELLS
   ========================================================= */

.ls-cart-cross-sells {
    width: 100%;

    margin-top: 64px;
    padding-top: 40px;

    border-top: 1px solid #ddd8cf;
}

.ls-cross-sells__eyebrow {
    margin: 0 0 6px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;

    color: #777169;
}

.ls-cross-sells__heading h2 {
    margin: 0 0 26px;

    font-size: 28px;
}

.ls-cross-sells ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 24px;
}

.ls-cross-sells ul.products::before,
.ls-cross-sells ul.products::after {
    display: none !important;
}

.ls-cross-sells ul.products li.product {
    float: none !important;

    width: auto !important;
    margin: 0 !important;
}


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

@media (max-width: 1050px) {

    .ls-cart-shell {
        width: calc(100% - 40px);
    }

    .ls-cart-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .ls-cart-cross-sells ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


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

@media (max-width: 760px) {

    .ls-cart-page {
        padding-top: 30px;
    }

    .ls-cart-shell {
        width: calc(100% - 28px);
    }

    .ls-cart-table__head {
        display: none;
    }

    .ls-cart-item {
        display: block;

        padding: 20px 0;
    }

    .ls-cart-item__product {
        grid-template-columns: 82px minmax(0, 1fr);

        gap: 14px;
    }

    .ls-cart-item__thumb img {
        width: 82px;
        height: 100px;
    }

    .ls-cart-item__price,
    .ls-cart-item__qty,
    .ls-cart-item__subtotal {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);

        gap: 16px;
        align-items: center;

        margin-left: 96px;
        padding-top: 12px;

        text-align: left;
    }

    .ls-cart-item__price::before,
    .ls-cart-item__qty::before,
    .ls-cart-item__subtotal::before {
        content: attr(data-title);

        color: #777169;
        font-size: 13px;
    }

    .ls-cart-item__qty {
        justify-content: initial;
    }

    .ls-cart-item__remove {
        display: none;
    }

    .ls-cart-item__remove-mobile {
        display: block;

        margin-top: 8px;
    }

    .ls-cart-item__remove-mobile .remove {
        color: #c93420 !important;

        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
    }

    .ls-cart-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ls-cart-coupon {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ls-cart-coupon .input-text,
    .ls-cart-actions .button {
        width: 100%;
        min-width: 0;
    }

    .ls-cart-totals {
        padding: 20px;
    }

    .ls-cart-cross-sells ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 18px;
    }

}


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

@media (max-width: 480px) {

    .ls-cart-item__price,
    .ls-cart-item__qty,
    .ls-cart-item__subtotal {
        margin-left: 0;
    }

    .ls-cart-cross-sells ul.products {
        grid-template-columns: 1fr;
    }

}

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

   .ls-cart-page--empty {
    min-height: 440px;

    display: flex;
    align-items: center;

    padding: 72px 0 88px;
}

.ls-cart-empty {
    max-width: 680px;

    margin: 0 auto;

    text-align: center;
}

.ls-cart-empty__eyebrow {
    margin: 0 0 10px;

    color: #c93420;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: .12em;
    text-transform: uppercase;
}

.ls-cart-empty__title {
    margin: 0;

    color: #171512;

    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 400;
    line-height: 1.05;

    letter-spacing: -.025em;
}

.ls-cart-empty__text {
    max-width: 560px;

    margin: 20px auto 0;

    color: #6f6a63;

    font-size: 16px;
    line-height: 1.6;
}

.ls-cart-empty__button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    margin-top: 28px !important;

    min-height: 44px;

    padding: 0 22px !important;
}


/* Remove Woo default empty-cart notice/button
   if a plugin or hook outputs them in addition. */

body.woocommerce-cart .cart-empty.woocommerce-info,
body.woocommerce-cart .return-to-shop {
    display: none;
}


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

@media (max-width: 760px) {

    .ls-cart-page--empty {
        min-height: 360px;

        padding: 54px 0 66px;
    }

    .ls-cart-empty__title {
        font-size: 38px;
    }

    .ls-cart-empty__text {
        font-size: 15px;
    }

}