/**
 * Generator Power Parts — Cart Page Styles
 * gpp-cart.css
 * Upload to: /wp-content/themes/astra-child/assets/gpp-cart.css
 */

/* ============================================================
   FULL WIDTH
============================================================ */

.page-id-17 .entry-content,
.page-id-17 .site-content,
.page-id-17 .content-area,
.page-id-17 #content,
.page-id-17 .ast-container,
.page-id-17 .container,
.page-id-17 article,
.page-id-17 .post-inner {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.page-id-17 .site-content,
.page-id-17 #content { padding-top: 0 !important; margin-top: 0 !important; }

.page-id-17 .entry-title,
.page-id-17 .ast-breadcrumbs-wrapper,
.page-id-17 .page-header { display: none !important; }

.page-id-17 .gpp-page-wrap {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
}

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

.gpp-cart .gpp-page-header {
    background: #0D1B2A;
    padding: 2.5rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.gpp-cart .gpp-page-header::before {
    content: '';
    position: absolute;
    right: -40px; top: -40px;
    width: 400px; height: 400px;
    border: 60px solid rgba(244,128,26,0.06);
    border-radius: 50%;
    pointer-events: none;
}

.gpp-cart .gpp-page-header-inner { max-width: 1000px; margin: 0 auto; position: relative; z-index: 1; }
.gpp-cart .gpp-page-eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #F4801A; margin-bottom: .4rem; font-family: 'Barlow', sans-serif; }
.gpp-cart .gpp-page-title { font-family: 'Barlow Condensed', sans-serif !important; font-size: 2.8rem !important; font-weight: 800 !important; text-transform: uppercase; color: #fff !important; line-height: 1 !important; margin: 0 0 .5rem !important; padding: 0 !important; border: none !important; }
.gpp-cart .gpp-page-sub { color: rgba(255,255,255,.5); font-size: .9rem; font-family: 'Barlow', sans-serif; line-height: 1.6; margin-bottom: 1rem; }
.gpp-cart .gpp-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .75rem; color: rgba(255,255,255,.35); font-family: 'Barlow', sans-serif; }
.gpp-cart .gpp-breadcrumb a { color: rgba(255,255,255,.35); text-decoration: none !important; }
.gpp-cart .gpp-breadcrumb a:hover { color: #F4801A; }
.gpp-bc-sep { color: rgba(255,255,255,.18); }

/* ============================================================
   CART OUTER
============================================================ */

.gpp-cart-outer {
    background: #F4F6F9;
    padding: 2.5rem 2rem 0;
}

.gpp-cart-inner {
    max-width: 1000px;
    margin: 0 auto;
}

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

.gpp-cart-inner .woocommerce-notices-wrapper { margin-bottom: 1.5rem; }

.gpp-cart-inner table.shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: #fff !important;
    border: 1.5px solid #E8EDF2 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    font-family: 'Barlow', sans-serif !important;
    margin-bottom: 1.5rem !important;
}

.gpp-cart-inner table.shop_table thead {
    background: #F4F6F9 !important;
}

.gpp-cart-inner table.shop_table th {
    font-family: 'Barlow', sans-serif !important;
    font-size: .72rem !important;
    font-weight: 700 !important;
    letter-spacing: .09em !important;
    text-transform: uppercase !important;
    color: #4A5568 !important;
    padding: .85rem 1rem !important;
    border-bottom: 1.5px solid #E8EDF2 !important;
    background: #F4F6F9 !important;
}

.gpp-cart-inner table.shop_table td {
    padding: 1rem !important;
    border-bottom: 1px solid #F4F6F9 !important;
    font-family: 'Barlow', sans-serif !important;
    vertical-align: middle !important;
    background: #fff !important;
}

.gpp-cart-inner table.shop_table tr:last-child td {
    border-bottom: none !important;
}

/* Product image */
.gpp-cart-inner table.shop_table td.product-thumbnail img {
    width: 70px !important;
    height: 70px !important;
    object-fit: contain !important;
    border-radius: 5px !important;
    background: #F4F6F9 !important;
    padding: 5px !important;
}

/* Product name */
.gpp-cart-inner table.shop_table td.product-name a {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #0D1B2A !important;
    text-decoration: none !important;
    transition: color .15s !important;
}

.gpp-cart-inner table.shop_table td.product-name a:hover { color: #F4801A !important; }

/* Price */
.gpp-cart-inner table.shop_table .woocommerce-Price-amount {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #0D1B2A !important;
}

/* Quantity input */
.gpp-cart-inner .qty {
    width: 60px !important;
    height: 40px !important;
    border: 1.5px solid #E8EDF2 !important;
    border-radius: 4px !important;
    text-align: center !important;
    font-family: 'Barlow', sans-serif !important;
    font-size: .9rem !important;
    font-weight: 700 !important;
    color: #0D1B2A !important;
    outline: none !important;
}

.gpp-cart-inner .qty:focus { border-color: #F4801A !important; }

/* Remove button */
.gpp-cart-inner td.product-remove a {
    color: #4A5568 !important;
    font-size: 1.3rem !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    transition: color .15s !important;
}

.gpp-cart-inner td.product-remove a:hover { color: #B91C1C !important; }

/* ============================================================
   CART ACTIONS (coupon + update)
============================================================ */

.gpp-cart-inner .cart_item td.actions {
    background: #F4F6F9 !important;
    padding: 1rem !important;
}

.gpp-cart-inner #coupon_code {
    border: 1.5px solid #E8EDF2 !important;
    border-radius: 5px !important;
    padding: 9px 14px !important;
    font-family: 'Barlow', sans-serif !important;
    font-size: .875rem !important;
    color: #0D1B2A !important;
    outline: none !important;
    margin-right: .5rem !important;
}

.gpp-cart-inner #coupon_code:focus { border-color: #F4801A !important; }

/* Apply coupon button */
.gpp-cart-inner .actions .button[name="apply_coupon"] {
    background: #0D1B2A !important;
    color: #fff !important;
    border: none !important;
    padding: 9px 18px !important;
    border-radius: 5px !important;
    font-family: 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-size: .875rem !important;
    cursor: pointer !important;
    transition: background .2s !important;
}

.gpp-cart-inner .actions .button[name="apply_coupon"]:hover { background: #F4801A !important; }

/* Update cart button */
.gpp-cart-inner .actions .button[name="update_cart"] {
    background: transparent !important;
    color: #4A5568 !important;
    border: 1.5px solid #E8EDF2 !important;
    padding: 9px 18px !important;
    border-radius: 5px !important;
    font-family: 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-size: .875rem !important;
    cursor: pointer !important;
    transition: all .2s !important;
    float: right !important;
}

.gpp-cart-inner .actions .button[name="update_cart"]:hover {
    border-color: #0D1B2A !important;
    color: #0D1B2A !important;
}

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

.gpp-cart-inner .cart-collaterals {
    margin-top: 1.5rem !important;
}

.gpp-cart-inner .cart_totals {
    background: #fff !important;
    border: 1.5px solid #E8EDF2 !important;
    border-radius: 8px !important;
    padding: 1.5rem !important;
    max-width: 420px !important;
    margin-left: auto !important;
}

.gpp-cart-inner .cart_totals h2 {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #0D1B2A !important;
    margin-bottom: 1rem !important;
    padding-bottom: .75rem !important;
    border-bottom: 1px solid #E8EDF2 !important;
}

.gpp-cart-inner .cart_totals table {
    width: 100% !important;
    border-collapse: collapse !important;
}

.gpp-cart-inner .cart_totals table th,
.gpp-cart-inner .cart_totals table td {
    padding: .6rem 0 !important;
    font-family: 'Barlow', sans-serif !important;
    border-bottom: 1px solid #F4F6F9 !important;
    font-size: .875rem !important;
}

.gpp-cart-inner .cart_totals table th {
    color: #4A5568 !important;
    font-weight: 600 !important;
    width: 40% !important;
}

.gpp-cart-inner .cart_totals table td {
    color: #0D1B2A !important;
    font-weight: 700 !important;
    text-align: right !important;
}

.gpp-cart-inner .cart_totals table tr:last-child th,
.gpp-cart-inner .cart_totals table tr:last-child td {
    border-bottom: none !important;
    font-size: 1rem !important;
}

/* Proceed to checkout button */
.gpp-cart-inner .wc-proceed-to-checkout {
    margin-top: 1rem !important;
}

.gpp-cart-inner .wc-proceed-to-checkout .checkout-button {
    display: block !important;
    width: 100% !important;
    background: #F4801A !important;
    color: #fff !important;
    border: none !important;
    padding: 14px !important;
    border-radius: 6px !important;
    font-family: 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: background .2s !important;
    letter-spacing: .02em !important;
}

.gpp-cart-inner .wc-proceed-to-checkout .checkout-button:hover {
    background: #C0600E !important;
}

/* Empty cart */
.gpp-cart-inner .cart-empty {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #4A5568 !important;
    text-align: center !important;
    padding: 2rem 0 1rem !important;
}

.gpp-cart-inner .return-to-shop {
    text-align: center !important;
    padding-bottom: 2rem !important;
}

.gpp-cart-inner .return-to-shop .button {
    background: #F4801A !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 28px !important;
    border-radius: 5px !important;
    font-family: 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-size: .9rem !important;
    text-decoration: none !important;
    transition: background .2s !important;
    display: inline-block !important;
}

.gpp-cart-inner .return-to-shop .button:hover { background: #C0600E !important; }

/* ============================================================
   CONTINUE SHOPPING BAR
============================================================ */

.gpp-cart-continue {
    background: #F4F6F9;
    border-top: 1px solid #E8EDF2;
    padding: 1.25rem 2rem;
}

.gpp-cart-continue-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.gpp-continue-link {
    font-family: 'Barlow', sans-serif;
    font-size: .875rem;
    font-weight: 700;
    color: #4A5568;
    text-decoration: none !important;
    transition: color .15s;
}

.gpp-continue-link:hover { color: #F4801A; }

.gpp-cart-trust {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.gpp-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .72rem;
    font-weight: 700;
    color: #4A5568;
    font-family: 'Barlow', sans-serif;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.gpp-trust-dot {
    width: 6px;
    height: 6px;
    background: #F4801A;
    border-radius: 50%;
    flex-shrink: 0;
}

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

@media (max-width: 640px) {
    .gpp-cart-outer { padding: 1.5rem 1rem 0; }
    .gpp-cart .gpp-page-header { padding: 2rem 1rem; }
    .gpp-cart .gpp-page-title { font-size: 2rem !important; }
    .gpp-cart-continue { padding: 1rem; }
    .gpp-cart-trust { display: none; }
}
/* Beat Copilot snippet — force orange checkout */
.gpp-cart-inner .wc-proceed-to-checkout a.checkout-button,
.gpp-cart-inner a.checkout-button,
#content a.checkout-button,
.checkout-button {
    background: #F4801A !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    font-family: 'Barlow', sans-serif !important;
    font-weight: 700 !important;
}

.checkout-button:hover {
    background: #C0600E !important;
    color: #fff !important;
}

/* Fix remaining black buttons */
.gpp-cart-inner .actions .button,
.gpp-cart-inner .woocommerce-message .button,
.woocommerce-message a.button {
    background: #0D1B2A !important;
    color: #fff !important;
    border-radius: 5px !important;
    font-family: 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    border: none !important;
    transition: background .2s !important;
}

.gpp-cart-inner .actions .button:hover,
.woocommerce-message a.button:hover {
    background: #F4801A !important;
}
.cart-page .woocommerce-notices-wrapper,
.woocommerce-cart .woocommerce-notices-wrapper {
    display: none !important;
}
