/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* =========================================================
   CUSTOM WOOCOMMERCE CART
   Modern Black & Gold Design
   ========================================================= */

.custom-cart {
    --cart-black: #111111;
    --cart-dark: #181818;
    --cart-gold: #d89f00;
    --cart-gold-light: #d6b44a;
    --cart-white: #ffffff;
    --cart-text: #222222;
    --cart-muted: #777777;
    --cart-border: #e8e8e8;
    --cart-background: #f7f7f7;

    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 80px;
    color: var(--cart-text);
}


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

.custom-cart__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
}

.custom-cart__title {
    margin: 0;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--cart-black);
}

.custom-cart__count {
    color: var(--cart-muted);
    font-size: 15px;
}


/* =========================================================
   CART ITEMS
   ========================================================= */

.custom-cart__items {
    background: var(--cart-white);
    border: 1px solid var(--cart-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.custom-cart__item {
    position: relative;
    display: flex;
    gap: 25px;
    padding: 28px;
    border-bottom: 1px solid var(--cart-border);
}

.custom-cart__item:last-child {
    border-bottom: none;
}


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

.custom-cart__image {
    flex: 0 0 130px;
    width: 130px;
}

.custom-cart__image a {
    display: block;
}

.custom-cart__product-image {
    display: block !important;
    width: 130px !important;
    height: 150px !important;
    object-fit: cover;
    border-radius: 12px;
    background: #f4f4f4;
}


/* =========================================================
   PRODUCT DETAILS
   ========================================================= */

.custom-cart__details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.custom-cart__product-info {
    padding-right: 40px;
}

.custom-cart__product-name {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 600;
}

.custom-cart__product-name a {
    color: var(--cart-black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.custom-cart__product-name a:hover {
    color: var(--cart-gold);
}

.custom-cart__price {
    font-size: 15px;
    color: var(--cart-muted);
}


/* =========================================================
   BOTTOM ROW
   ========================================================= */

.custom-cart__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 25px;
}

.custom-cart__subtotal {
    font-size: 18px;
    font-weight: 700;
    color: var(--cart-black);
}


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

.custom-cart__quantity {
    display: inline-flex;
    align-items: center;
    height: 44px;
    border: 1px solid #dddddd;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.custom-cart__qty-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    border: none;
    background: #fff;
    color: var(--cart-black);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-cart__qty-btn:hover {
    background: var(--cart-black);
    color: var(--cart-gold-light);
}

.custom-cart__qty-input {
    width: 45px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-left: 1px solid #eeeeee !important;
    border-right: 1px solid #eeeeee !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--cart-black) !important;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    box-shadow: none !important;
}

/* Remove browser number arrows */

.custom-cart__qty-input::-webkit-inner-spin-button,
.custom-cart__qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.custom-cart__qty-input {
    -moz-appearance: textfield;
}


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

.custom-cart__remove {
    position: absolute;
    top: 25px;
    right: 28px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.custom-cart__remove-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #f2f2f2;
    color: #555;
    text-decoration: none !important;
    font-size: 20px;
    line-height: 1;
    transition: all 0.2s ease;
}

.custom-cart__remove-link:hover {
    background: var(--cart-black);
    color: var(--cart-gold-light);
}

.custom-cart__remove span {
    display: none;
}


/* =========================================================
   CART ACTIONS
   ========================================================= */

.custom-cart__actions {
    display: flex;
    justify-content: flex-end;
    padding: 20px 0 0;
}

.custom-cart__update {
    display: none !important;
}


/* =========================================================
   CART SUMMARY
   ========================================================= */

.custom-cart__summary {
    margin-top: 30px;
}

.custom-cart__summary-card {
    background: var(--cart-dark);
    color: var(--cart-white);
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.custom-cart__summary-title {
    margin: 0 0 25px;
    color: var(--cart-white);
    font-size: 24px;
    font-weight: 600;
}


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

.custom-cart .cart_totals {
    float: none;
    width: 100%;
}

.custom-cart .cart_totals h2 {
    display: none;
}

.custom-cart .cart_totals table {
    width: 100%;
    margin: 0;
    border: none;
    border-collapse: collapse;
}

.custom-cart .cart_totals tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.custom-cart .cart_totals tr:last-child {
    border-bottom: none;
}

.custom-cart .cart_totals th,
.custom-cart .cart_totals td {
    padding: 15px 0;
    border: none;
    background: transparent;
    color: var(--cart-white);
}

.custom-cart .cart_totals th {
    text-align: left;
    font-weight: 400;
}

.custom-cart .cart_totals td {
    text-align: right;
    font-weight: 600;
}

.custom-cart .cart_totals .order-total th,
.custom-cart .cart_totals .order-total td {
    padding-top: 22px;
    font-size: 20px;
}

.custom-cart .cart_totals .order-total td {
    color: var(--cart-gold-light);
}


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

.custom-cart .coupon {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.custom-cart .coupon input {
    flex: 1;
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.custom-cart .coupon input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.custom-cart .coupon button {
    min-height: 48px;
    padding: 0 20px;
    border: none;
    border-radius: 8px;
    background: var(--cart-gold);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}


/* =========================================================
   CHECKOUT BUTTON
   ========================================================= */

.custom-cart .wc-proceed-to-checkout {
    padding: 20px 0 0;
}

.custom-cart .wc-proceed-to-checkout a.checkout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    margin: 0;
    padding: 15px 25px;
    border: 1px solid var(--cart-gold);
    border-radius: 10px;
    background: var(--cart-gold);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.25s ease;
}

.custom-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: transparent;
    color: var(--cart-gold-light);
    border-color: var(--cart-gold-light);
}


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

.custom-cart__empty {
    max-width: 650px;
    margin: 50px auto;
    padding: 70px 30px;
    background: #fff;
    border: 1px solid var(--cart-border);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
}

.custom-cart__empty-icon {
    margin-bottom: 20px;
    font-size: 50px;
}

.custom-cart__empty h1 {
    margin: 0 0 10px;
    font-size: 32px;
    color: var(--cart-black);
}

.custom-cart__empty p {
    margin: 0 0 30px;
    color: var(--cart-muted);
}

.custom-cart__shop-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 28px !important;
    border-radius: 9px !important;
    background: var(--cart-black) !important;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.custom-cart__shop-button:hover {
    background: var(--cart-gold) !important;
    color: #fff !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 767px) {

    .custom-cart {
        padding: 30px 15px 60px;
    }

    .custom-cart__header {
        margin-bottom: 25px;
    }

    .custom-cart__title {
        font-size: 30px;
    }

    .custom-cart__count {
        font-size: 13px;
    }

    .custom-cart__item {
        gap: 15px;
        padding: 20px 15px;
    }

    .custom-cart__image {
        flex: 0 0 90px;
        width: 90px;
    }

    .custom-cart__product-image {
        width: 90px !important;
        height: 110px !important;
        border-radius: 9px;
    }

    .custom-cart__product-info {
        padding-right: 25px;
    }

    .custom-cart__product-name {
        font-size: 16px;
    }

    .custom-cart__price {
        font-size: 14px;
    }

    .custom-cart__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-top: 18px;
    }

    .custom-cart__subtotal {
        font-size: 16px;
    }

    .custom-cart__remove {
        top: 18px;
        right: 15px;
    }

    .custom-cart__summary-card {
        padding: 25px 20px;
        border-radius: 15px;
    }

    .custom-cart__summary-title {
        font-size: 21px;
    }

    .custom-cart .coupon {
        flex-direction: column;
    }

    .custom-cart__empty {
        margin: 30px auto;
        padding: 50px 20px;
    }

    .custom-cart__empty h1 {
        font-size: 27px;
    }
}

/* =========================================
   CUSTOM CART REMOVE BUTTON
   ========================================= */

.custom-cart__remove {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin-top: 12px;
}

.custom-cart__remove-link {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	padding: 5px 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #777 !important;
	text-decoration: none !important;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	box-shadow: none !important;
}

.custom-cart__remove-link:hover {
	color: #d89f00 !important;
	background: transparent !important;
}

.custom-cart__remove-icon {
	width: 17px;
	height: 17px;
	fill: currentColor;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.custom-cart__remove-link:hover .custom-cart__remove-icon {
	transform: scale(1.08);
}

.custom-cart__remove-link span {
	display: inline-block;
}

/* Prevent Astra/WooCommerce from turning it into a circle */
.custom-cart__remove-link::before,
.custom-cart__remove-link::after {
	display: none !important;
	content: none !important;
}

/* AJAX cart update state */

.custom-cart {
	position: relative;
}

.custom-cart--updating {
	pointer-events: none;
}

.custom-cart--updating .custom-cart__items,
.custom-cart--updating .custom-cart__summary {
	opacity: 0.65;
	transition: opacity 0.2s ease;
}

.custom-cart__qty-btn:disabled {
	opacity: 0.5;
	cursor: wait;
}