/*
Theme: InDreams
WooCommerce Cart
*/


/* =========================================================
   FOUNDATION
   ========================================================= */

.indreams-cart-page {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    color: #f8f2e8;
    background:
        linear-gradient(
            180deg,
            #080316 0%,
            #09051d 52%,
            #080828 100%
        );
    font-family: "Outfit", sans-serif;
}


.indreams-cart-shell {
    position: relative;
    z-index: 2;
    width: min(1233px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   HERO
   ========================================================= */

.indreams-cart-hero {
    position: relative;
    overflow: hidden;
    padding: 162px 0 66px;
    isolation: isolate;
}


.indreams-cart-hero__glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(
            ellipse at 14% 24%,
            rgba(156, 0, 188, 0.5),
            transparent 45%
        ),
        radial-gradient(
            ellipse at 88% 48%,
            rgba(0, 151, 175, 0.24),
            transparent 48%
        ),
        #080417;
}


.indreams-cart-hero__stars {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.48;
    background-image:
        radial-gradient(
            1px 1px at 16% 20%,
            rgba(255, 244, 210, 0.9),
            transparent
        ),
        radial-gradient(
            1px 1px at 42% 34%,
            rgba(255, 238, 188, 0.7),
            transparent
        ),
        radial-gradient(
            1.5px 1.5px at 76% 18%,
            rgba(255, 245, 205, 0.82),
            transparent
        ),
        radial-gradient(
            1px 1px at 84% 46%,
            rgba(255, 239, 190, 0.8),
            transparent
        );
    background-size: 420px 420px;
}


.indreams-cart-heading {
    max-width: 760px;
}


.indreams-cart-eyebrow {
    margin-bottom: 14px;
    color: #e25dcc;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.34em;
    line-height: 1.5;
    text-transform: uppercase;
}


.indreams-cart-heading h1 {
    margin: 0;
    color: #f8f2e8;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(54px, 6vw, 78px);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 0.98;
}


.indreams-cart-heading p {
    max-width: 560px;
    margin: 20px 0 0;
    color: rgba(248, 242, 232, 0.7);
    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   CART SECTION
   ========================================================= */

.indreams-cart-content {
    padding: 0 0 88px;
    background:
        linear-gradient(
            180deg,
            #09051d,
            #080c35
        );
}


.indreams-cart-card {
    padding: 32px;
    border: 1px solid rgba(216, 175, 72, 0.22);
    border-radius: 24px;
    background:
        linear-gradient(
            145deg,
            rgba(23, 8, 46, 0.86),
            rgba(6, 13, 43, 0.88)
        );
    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.28),
        0 0 40px rgba(177, 57, 198, 0.08);
}


/* =========================================================
   WOOCOMMERCE CART TABLE
   ========================================================= */

.indreams-cart-page .woocommerce-cart-form {
    margin: 0;
}


.indreams-cart-page .shop_table {
    width: 100%;
    margin: 0;
    border: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
    color: #f8f2e8;
    background: transparent !important;
}


.indreams-cart-page .shop_table th {
    padding: 0 16px 18px;
    border: 0;
    border-bottom: 1px solid rgba(216, 175, 72, 0.18);
    color: #d8aa47;
    background: transparent !important;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}


.indreams-cart-page .shop_table td {
    padding: 24px 16px;
    border: 0;
    border-bottom: 1px solid rgba(216, 175, 72, 0.12);
    color: rgba(248, 242, 232, 0.84);
    background: transparent !important;
    vertical-align: middle;
}


/* =========================================================
   REMOVE BUTTON
   ========================================================= */

.indreams-cart-page .product-remove {
    width: 42px;
}


.indreams-cart-page .product-remove a.remove {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(226, 93, 204, 0.3);
    border-radius: 50%;
    color: #e986dc !important;
    background: rgba(226, 93, 204, 0.06);
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.indreams-cart-page .product-remove a.remove:hover {
    transform: scale(1.05);
    border-color: rgba(226, 93, 204, 0.6);
    color: #ffffff !important;
    background: rgba(226, 93, 204, 0.14);
}


/* =========================================================
   PRODUCT IMAGE
   ========================================================= */

.indreams-cart-page .product-thumbnail {
    width: 130px;
}


.indreams-cart-page .product-thumbnail img {
    display: block;
    width: 110px;
    height: 110px;
    object-fit: cover;
    border: 1px solid rgba(216, 175, 72, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}


/* =========================================================
   PRODUCT NAME
   ========================================================= */

.indreams-cart-page .product-name a {
    color: #f8f2e8 !important;
    font-family: "Cormorant Garamond", serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.15;
    text-decoration: none;
}


.indreams-cart-page .product-name a:hover {
    color: #e7bd60 !important;
}


.indreams-cart-page .product-name dl.variation {
    margin: 10px 0 0;
    color: rgba(248, 242, 232, 0.58);
    font-size: 11px;
}


.indreams-cart-page .product-name dl.variation dt,
.indreams-cart-page .product-name dl.variation dd {
    display: inline;
    float: none;
    margin: 0 4px 0 0;
    padding: 0;
}


/* =========================================================
   PRICE / SUBTOTAL
   ========================================================= */

.indreams-cart-page .product-price,
.indreams-cart-page .product-subtotal {
    color: #e4b54b !important;
    font-family: "Cormorant Garamond", serif;
    font-size: 25px;
    font-weight: 500;
}


.indreams-cart-page .product-price .amount,
.indreams-cart-page .product-subtotal .amount {
    color: inherit;
}


/* =========================================================
   QUANTITY CONTROL
   ========================================================= */

.indreams-cart-page
.product-quantity
.quantity.indreams-cart-quantity-ready {
    display: inline-flex !important;
    flex: 0 0 auto;
    width: 154px;
    height: 52px;
    margin: 0 !important;
    padding: 0 !important;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    float: none !important;
    border: 1px solid rgba(216, 175, 72, 0.42);
    border-radius: 14px;
    background: rgba(7, 7, 39, 0.72);
    box-shadow:
        inset 0 0 20px rgba(0, 0, 0, 0.16);
}


/* =========================================================
   QUANTITY NUMBER
   ========================================================= */

.indreams-cart-page
.product-quantity
.quantity.indreams-cart-quantity-ready
.qty {
    display: block;
    flex: 1 1 auto;
    width: 54px !important;
    min-width: 0 !important;
    height: 50px !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-left: 1px solid rgba(216, 175, 72, 0.18) !important;
    border-right: 1px solid rgba(216, 175, 72, 0.18) !important;
    border-radius: 0 !important;
    outline: 0 !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.018) !important;
    box-shadow: none !important;
    font-family: "Outfit", sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 50px !important;
    text-align: center !important;
    appearance: textfield;
    -moz-appearance: textfield;
}


.indreams-cart-page
.product-quantity
.quantity.indreams-cart-quantity-ready
.qty::-webkit-outer-spin-button,
.indreams-cart-page
.product-quantity
.quantity.indreams-cart-quantity-ready
.qty::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}


/* =========================================================
   QUANTITY +/- BUTTONS
   ========================================================= */

.indreams-cart-page
.indreams-cart-qty-button {
    display: flex !important;
    flex: 0 0 49px;
    width: 49px !important;
    height: 50px !important;
    min-width: 49px !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    color: rgba(248, 242, 232, 0.88) !important;
    background: transparent !important;
    box-shadow: none !important;
    font-family: "Outfit", sans-serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition:
        color 0.18s ease,
        background 0.18s ease;
}


.indreams-cart-page
.indreams-cart-qty-button:hover {
    color: #ffffff !important;
    background: rgba(216, 175, 72, 0.09) !important;
}


.indreams-cart-page
.indreams-cart-qty-button:focus-visible {
    outline: 1px solid rgba(232, 196, 95, 0.8) !important;
    outline-offset: -2px !important;
}


.indreams-cart-page
.product-quantity
.quantity.indreams-cart-quantity-ready:focus-within {
    border-color: rgba(232, 196, 95, 0.78);
    box-shadow:
        0 0 0 3px rgba(216, 175, 72, 0.07);
}


/* =========================================================
   ACTIONS
   ========================================================= */

.indreams-cart-page .shop_table td.actions {
    padding-top: 28px;
    padding-bottom: 0;
    border-bottom: 0;
}


.indreams-cart-page .actions {
    background: transparent !important;
}


.indreams-cart-page .actions .coupon {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


.indreams-cart-page .actions .coupon label {
    display: none;
}


.indreams-cart-page .actions .input-text {
    min-width: 190px;
    height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(216, 175, 72, 0.28);
    border-radius: 12px;
    outline: 0;
    color: #f8f2e8;
    background: rgba(255, 255, 255, 0.025);
    font-family: "Outfit", sans-serif;
    font-size: 12px;
}


.indreams-cart-page .actions .input-text::placeholder {
    color: rgba(248, 242, 232, 0.35);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.indreams-cart-page button.button,
.indreams-cart-page a.button,
.indreams-cart-page input.button {
    min-height: 46px;
    padding: 0 22px !important;
    border: 1px solid rgba(216, 175, 72, 0.32) !important;
    border-radius: 12px !important;
    color: #f8f2e8 !important;
    background: rgba(255, 255, 255, 0.03) !important;
    box-shadow: none !important;
    font-family: "Outfit", sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 44px !important;
    text-transform: none !important;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}


.indreams-cart-page button.button:hover,
.indreams-cart-page a.button:hover,
.indreams-cart-page input.button:hover {
    transform: translateY(-1px);
    border-color: rgba(232, 196, 95, 0.7) !important;
    background: rgba(216, 175, 72, 0.07) !important;
}


/* =========================================================
   CART TOTALS
   ========================================================= */

.indreams-cart-page .cart-collaterals {
    margin-top: 34px;
}


.indreams-cart-page .cart_totals {
    float: none !important;
    width: 100% !important;
    max-width: 520px;
    margin-left: auto;
    padding: 28px;
    border: 1px solid rgba(216, 175, 72, 0.2);
    border-radius: 18px;
    background:
        linear-gradient(
            145deg,
            rgba(19, 8, 43, 0.72),
            rgba(6, 13, 39, 0.76)
        );
}


.indreams-cart-page .cart_totals h2 {
    margin: 0 0 20px;
    color: #f8f2e8;
    font-family: "Cormorant Garamond", serif;
    font-size: 34px;
    font-weight: 500;
    line-height: 1;
}


.indreams-cart-page .cart_totals table {
    margin: 0;
}


.indreams-cart-page .cart_totals th {
    width: 50%;
    padding: 13px 0;
    border-bottom: 1px solid rgba(216, 175, 72, 0.1);
    color: rgba(248, 242, 232, 0.58);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: none;
}


.indreams-cart-page .cart_totals td {
    padding: 13px 0;
    border-bottom: 1px solid rgba(216, 175, 72, 0.1);
    color: #f8f2e8;
    font-size: 14px;
    text-align: right;
}


.indreams-cart-page .cart_totals .order-total th,
.indreams-cart-page .cart_totals .order-total td {
    border-bottom: 0;
    color: #e4b54b;
    font-size: 17px;
    font-weight: 600;
}


/* =========================================================
   CHECKOUT BUTTON
   ========================================================= */

.indreams-cart-page .wc-proceed-to-checkout {
    padding: 22px 0 0;
}


.indreams-cart-page
.wc-proceed-to-checkout
.checkout-button {
    display: flex !important;
    width: 100%;
    min-height: 54px;
    margin: 0 !important;
    padding: 0 28px !important;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    background:
        linear-gradient(
            90deg,
            #df43d9 0%,
            #b84de5 50%,
            #9461ee 100%
        ) !important;
    box-shadow:
        0 0 31px rgba(204, 63, 220, 0.36);
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}


.indreams-cart-page
.wc-proceed-to-checkout
.checkout-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow:
        0 0 42px rgba(204, 63, 220, 0.5);
}


/* =========================================================
   EMPTY CART
   ========================================================= */

.indreams-cart-page .cart-empty {
    margin: 0 0 24px !important;
    padding: 26px !important;
    border: 1px solid rgba(216, 175, 72, 0.18) !important;
    border-radius: 15px !important;
    color: rgba(248, 242, 232, 0.78) !important;
    background: rgba(255, 255, 255, 0.025) !important;
    text-align: center;
}


.indreams-cart-page .return-to-shop {
    text-align: center;
}


/* =========================================================
   WOOCOMMERCE NOTICES
   ========================================================= */

.indreams-cart-page .woocommerce-message,
.indreams-cart-page .woocommerce-info,
.indreams-cart-page .woocommerce-error {
    margin: 0 0 26px;
    padding: 16px 20px 16px 48px !important;
    border: 1px solid rgba(216, 175, 72, 0.2);
    border-radius: 14px;
    color: #f8f2e8;
    background: rgba(12, 8, 33, 0.94);
    font-size: 12px;
}


.indreams-cart-page .woocommerce-message::before,
.indreams-cart-page .woocommerce-info::before {
    color: #d9aa47;
}


.indreams-cart-page .woocommerce-error::before {
    color: #e25dcc;
}


/* =========================================================
   FOOTER CTA
   ========================================================= */

.indreams-cart-footer-section {
    padding: 0 0 96px;
    background:
        linear-gradient(
            180deg,
            #080c35,
            #09031b
        );
}


.indreams-cart-footer-card {
    display: flex;
    gap: 44px;
    align-items: center;
    justify-content: space-between;
    padding: 38px 42px;
    border: 1px solid rgba(216, 175, 72, 0.2);
    border-radius: 22px;
    background:
        linear-gradient(
            135deg,
            rgba(24, 7, 37, 0.86),
            rgba(5, 14, 46, 0.9)
        );
}


.indreams-cart-script {
    color: #d9aa49;
    font-family: "Italianno", cursive;
    font-size: clamp(31px, 3.5vw, 42px);
    line-height: 1;
}


.indreams-cart-footer-card h2 {
    margin: 7px 0 0;
    color: #f8f2e8;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.05;
}


.indreams-cart-footer-card p {
    max-width: 560px;
    margin: 14px 0 0;
    color: rgba(248, 242, 232, 0.65);
    font-size: 13px;
    line-height: 1.7;
}


.indreams-cart-shop-button {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 48px;
    padding: 0 24px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(219, 181, 81, 0.42);
    border-radius: 999px;
    color: #f8f2e8 !important;
    background: rgba(255, 255, 255, 0.02);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}


.indreams-cart-shop-button:hover {
    transform: translateY(-2px);
    border-color: rgba(232, 196, 95, 0.88);
    background: rgba(216, 175, 72, 0.05);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .indreams-cart-hero {
        padding-top: 122px;
    }


    .indreams-cart-card {
        padding: 24px;
    }


    .indreams-cart-page .product-thumbnail {
        width: 100px;
    }


    .indreams-cart-page .product-thumbnail img {
        width: 86px;
        height: 86px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .indreams-cart-shell {
        width: min(100% - 30px, 1233px);
    }


    .indreams-cart-hero {
        padding: 120px 0 48px;
    }


    .indreams-cart-heading h1 {
        font-size: clamp(48px, 14vw, 66px);
    }


    .indreams-cart-card {
        padding: 20px 16px;
        border-radius: 18px;
    }


    .indreams-cart-page .shop_table {
        display: block;
    }


    .indreams-cart-page .shop_table thead {
        display: none;
    }


    .indreams-cart-page .shop_table tbody {
        display: block;
    }


    .indreams-cart-page .shop_table tr {
        display: grid;
        grid-template-columns: 44px 84px 1fr;
        gap: 12px;
        position: relative;
        padding: 18px 0;
        border-bottom: 1px solid rgba(216, 175, 72, 0.13);
    }


    .indreams-cart-page .shop_table td {
        display: block;
        padding: 0;
        border: 0;
    }


    .indreams-cart-page .product-remove {
        grid-column: 1;
        grid-row: 1 / span 2;
    }


    .indreams-cart-page .product-thumbnail {
        grid-column: 2;
        grid-row: 1 / span 2;
        width: 84px;
    }


    .indreams-cart-page .product-thumbnail img {
        width: 84px;
        height: 84px;
    }


    .indreams-cart-page .product-name {
        grid-column: 3;
        grid-row: 1;
    }


    .indreams-cart-page .product-name a {
        font-size: 20px;
    }


    .indreams-cart-page .product-price {
        grid-column: 3;
        grid-row: 2;
        font-size: 20px;
    }


    .indreams-cart-page .product-quantity {
        grid-column: 2 / 4;
        grid-row: 3;
        margin-top: 12px;
    }


    .indreams-cart-page .product-subtotal {
        grid-column: 2 / 4;
        grid-row: 4;
        margin-top: 4px;
        font-size: 20px;
    }


    .indreams-cart-page
    .product-quantity::before,
    .indreams-cart-page
    .product-subtotal::before {
        display: block;
        margin-bottom: 7px;
        color: rgba(248, 242, 232, 0.4);
        font-size: 9px;
        font-weight: 600;
        letter-spacing: 0.14em;
        text-transform: uppercase;
    }


    .indreams-cart-page
    .product-quantity::before {
        content: "Quantity";
    }


    .indreams-cart-page
    .product-subtotal::before {
        content: "Subtotal";
    }


    .indreams-cart-page
    .shop_table tr:last-child {
        border-bottom: 0;
    }


    .indreams-cart-page
    .shop_table tr:last-child td.actions {
        grid-column: 1 / -1;
        grid-row: auto;
        width: 100%;
        padding-top: 18px;
    }


    .indreams-cart-page
    .actions .coupon {
        flex-direction: column;
    }


    .indreams-cart-page
    .actions .input-text,
    .indreams-cart-page
    .actions button {
        width: 100% !important;
    }


    .indreams-cart-page
    .cart_totals {
        max-width: none;
        padding: 22px 18px;
    }


    .indreams-cart-footer-section {
        padding-bottom: 58px;
    }


    .indreams-cart-footer-card {
        flex-direction: column;
        gap: 26px;
        align-items: flex-start;
        padding: 28px 22px;
    }


    .indreams-cart-shop-button {
        width: 100%;
        max-width: 330px;
    }

}