/* Page */

.woocommerce{

    margin:60px auto;

}


/* Heading */

.woocommerce h1{

    font-size:64px;

    line-height:1.1;

}


/* Tables */

.shop_table{

    border-radius:16px;

    overflow:hidden;

}


/* Order Summary */

.cart_totals{

    background:#fff;

    border-radius:18px;

    padding:35px;

    box-shadow:0 8px 30px rgba(0,0,0,.08);

}


/* Checkout button */

.checkout-button{

    background:#07B26B !important;

    color:#fff !important;

    border-radius:10px !important;

    font-size:18px !important;

}


/* Founder Message */

.saltbox-founder-box{

    margin-top:60px;

    background:#F5F3EF;

    border-radius:16px;

    padding:30px;

}

.saltbox-founder-box h2{

    color:#1F3A5F;

}

/* Navy background for Cart & Checkout */
body.woocommerce-cart,
body.woocommerce-checkout {

    background:#182230;

}

/* White content area */
body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main{

    background:transparent;

}

.wp-block-woocommerce-filled-cart-block{

    background:#ffffff;

    border-radius:20px;

    padding:40px;

    box-shadow:0 25px 60px rgba(0,0,0,.18);


}

.wp-block-woocommerce-cart-order-summary-block{
    background:#ffffff;
    border-radius:20px;
    padding:35px;
    box-shadow:0 25px 60px rgba(0,0,0,.18);
}

.entry-title{

    color:#F5F3EF;

}

.saltbox-cart-intro{
    font-size:20px;
    color:#D6C2A1;
    margin:-10px 0 40px;
    max-width:700px;
    line-height:1.5;
}

/* Left align the cart page title */
.woocommerce-cart .page-header {
    text-align: left;
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 40px;
}

.woocommerce-cart h1.entry-title {
    text-align: left;
    font-size: 32px;
    line-height: 1.05;
    max-width: 700px;
    margin: 0;
}

/* Hide only the navigation on the Basket page */
body.woocommerce-cart .elementor-widget-nav-menu {
    display: none !important;
}

/* Remove the gap left behind */
body.woocommerce-cart {
    padding-top: 0;
}

body.woocommerce-cart .main-navigation,
body.woocommerce-cart .site-navigation,
body.woocommerce-cart .menu-toggle,
body.woocommerce-cart nav{
    display:none !important;
}

/* Hide only the quantity selector */
.wc-block-components-quantity-selector {
    display: none !important;
}

/* Keep the remove button visible */
.wc-block-cart-item__remove-link {
    display: inline-flex !important;
    margin-top: 12px;
    color: #07b26b;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.wc-block-cart-item__remove-link:hover {
    text-decoration: underline;
}

/* Hide the label but keep the selected option */
.wc-block-components-product-details__name {
    display: none;
}

/* Hide only the label */
.wc-block-components-product-details__select-your-founder-membership
> .wc-block-components-product-details__name {
    display: none !important;
}

.wc-block-cart-items__header,
.wc-block-cart-items thead,
.wc-block-cart-items th {
    display: none !important;
}

/* Hide the empty basket icon */
.wc-block-cart__empty-cart__title::before {
    display: none !important;
}

/* Hide WooCommerce empty cart heading */
.wc-block-cart__empty-cart__title {
    font-size: 0;
}

.wc-block-cart__empty-cart__title,
.wp-block-woocommerce-empty-cart-block .wp-block-heading {
    color: #F5F3EF !important;
}

/* Hide "New in store" heading */
.wp-block-woocommerce-empty-cart-block .wp-block-heading {
    display: none !important;
}

.wc-block-grid {
    justify-content: center !important;
}

.wc-block-grid__product-price {
    display: none !important;
}

body.woocommerce-cart .entry-title {
    display: none;
}

.wc-block-woocommerce-empty-cart-block::before {
    content: "No Founder Membership selected";
    display: block;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #F5F3EF;
    margin: 20px 0 10px;
}

.wc-block-woocommerce-empty-cart-block::after {
    content: "Choose one of our exclusive Founder Memberships below to become one of the original Founders of THE SALTBOX.";
    display: block;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #D6C2A1;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ==========================================================
   CHECKOUT ONLY
   ========================================================== */

/* White section headings */
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__heading,
body.woocommerce-checkout .wc-block-checkout__contact-fields h2,
body.woocommerce-checkout .wc-block-checkout__billing-fields h2,
body.woocommerce-checkout .wc-block-checkout__payment-method h2,
body.woocommerce-checkout .wc-block-checkout__sidebar h2,
body.woocommerce-checkout .wc-block-checkout__main h2,
body.woocommerce-checkout .wc-block-components-order-summary__title,
body.woocommerce-checkout .wc-block-components-checkout-order-summary__title-text {
    color: #F5F3EF !important;
}

/* Express Checkout */
body.woocommerce-checkout .wc-block-components-express-payment,
body.woocommerce-checkout .wc-block-components-express-payment__title,
body.woocommerce-checkout .wc-block-components-express-payment--title {
    color: #F5F3EF !important;
}

/* "Or continue below" */
body.woocommerce-checkout .wc-block-components-express-payment-continue-rule--checkout {
    color: #F5F3EF !important;
}

body.woocommerce-checkout .wc-block-components-express-payment-continue-rule--checkout::before,
body.woocommerce-checkout .wc-block-components-express-payment-continue-rule--checkout::after {
    border-top: 1px solid rgba(245,243,239,.20) !important;
}

/* Entire order summary */
body.woocommerce-checkout .wc-block-components-checkout-order-summary,
body.woocommerce-checkout .wc-block-components-checkout-order-summary * {
    color: #F5F3EF !important;
}

/* Small helper text */
body.woocommerce-checkout .wc-block-components-checkbox label,
body.woocommerce-checkout .wc-block-components-totals-item,
body.woocommerce-checkout .wc-block-components-formatted-money-amount,
body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button,
body.woocommerce-checkout .wc-block-checkout__terms,
body.woocommerce-checkout .wc-block-checkout__privacy-policy {
    color: #D6C2A1 !important;
}

/* Keep logo, remove navigation */
body.woocommerce-checkout .site-header nav,
body.woocommerce-checkout .site-header .menu,
body.woocommerce-checkout .site-header .elementor-nav-menu {
    display: none !important;
}

/* Hide Save Payment Information */
body.woocommerce-checkout .wc-block-components-payment-method .wc-block-components-checkbox:has(input[name*="save"]) {
    display: none !important;
}

/* Hide Order Notes */
body.woocommerce-checkout .wc-block-checkout__add-note {
    display: none !important;
}

/* Back to Basket (future use) */
body.woocommerce-checkout .checkout-back-link {
    margin-bottom: 24px;
}

body.woocommerce-checkout .checkout-back-link a {
    color: #D6C2A1;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color .2s ease;
}

body.woocommerce-checkout .checkout-back-link a:hover {
    color: #F5F3EF;
}

/* Checkout CTA */
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
    background: #D6C2A1 !important;
    color: #1F3A5F !important;
    border: none !important;
    border-radius: 12px !important;
    min-height: 58px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: .5px;
    text-transform: uppercase;
    transition: all .25s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
    background: #DDC599 !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(0,0,0,.25);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(214,194,161,.35);
}

/* Mobile product layout */
@media (max-width: 767px) {

    body.single-product div.product {
        display: block !important;
    }

    body.single-product .woocommerce-product-gallery,
    body.single-product .summary {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin: 0 0 30px !important;
    }

}

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

@media (max-width:767px){

    .wp-block-woocommerce-cart.alignwide{
        margin:0 !important;
    }

    .wp-block-woocommerce-filled-cart-block{
        padding:16px !important;
        border-radius:18px !important;
    }

    .wc-block-components-sidebar-layout{
        display:flex !important;
        flex-direction:column !important;
    }

    .wc-block-components-main,
    .wc-block-components-sidebar{
        width:100% !important;
        max-width:100% !important;
        flex:0 0 100% !important;
    }

}

/* Hide mobile menu on checkout */
body.woocommerce-checkout .elementor-menu-toggle,
body.woocommerce-checkout .menu-toggle,
body.woocommerce-checkout .site-navigation-toggle,
body.woocommerce-checkout .hamburger {
    display: none !important;
}

@media (max-width:767px){

    body.woocommerce-checkout h1.entry-title{
        font-size:52px !important;
        line-height:0.95 !important;
        letter-spacing:-1px;
        margin-bottom:18px;
    }

}

body.woocommerce-checkout .back-to-founder{
    margin:8px 0 24px;
}

body.woocommerce-checkout .wc-block-checkout__sidebar{

    background:#223146;
    border-radius:20px;
    padding:22px;
    border:1px solid rgba(255,255,255,.08);

}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button{

    margin-top:18px;

}

.hidden-form{
    visibility:hidden;
    opacity:0;
    height:0;
    overflow:hidden;
    transition:all .3s ease;
}

.hidden-form.show{
    visibility:visible;
    opacity:1;
    height:auto;
}

/* Continue to secure payment button */
.wc-block-cart__submit-button,
.wc-block-cart__submit-button:visited,
.wc-block-cart__submit-button:hover,
.wc-block-cart__submit-button:focus{
    color:#F5F3EF !important;
    text-decoration:none !important;
}

.wc-block-cart__submit-button .wc-block-components-button__text{
    color:#3FA7A3 !important;
}

/* WooCommerce success notice check icon */
.woocommerce-message::before,
.woocommerce-notices-wrapper .woocommerce-message::before {
    color: #2AA7A0 !important; /* Replace with your teal */
}