/*---------------------------------------------------------------------------------

 Theme Name:   Mols Print Bestilling
 Theme URI:    https://wearebranding.dk
 Description:  Bestillingssystem baseret på StoreFront temaet
 Author:       me
 Author URI:   https://wearebranding.dk
 Template:     storefront
 Version:      3.3.11
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

------------------------------
 Don't put css here. The only thing you should change is the parent theme name 
------------------------------*/


/* =========================================
   1. YOUR ORIGINAL STYLES (RESTORED)
   ========================================= */

/* Styling af restordre-boksen */
.stock.available-on-backorder {
    background-color: #F0F0F0; /* Din farve */
    padding: 22px;             /* Din afstand */
    border-radius: 4px;        /* Gør hjørnerne lidt bløde (valgfrit) */
    display: block;            /* Sikrer at det er en boks */
    width: 100%;               /* Fylder bredden ud */
    box-sizing: border-box;    /* Sikrer at padding ikke ødelægger bredden */
    margin-bottom: 15px;       /* Luft under boksen */
    line-height: 1.5;          /* Gør teksten lettere at læse */
}

/* --- KURV SIDE (Cart Block) --- */

/* Skjuler linjen "Forsendelse: Gratis" i totalerne */
.wc-block-components-totals-shipping {
    display: none !important;
}

/* --- CHECKOUT SIDE (Checkout Block) --- */

/* Skjuler hele trinnet "Forsendelsesindstillinger" (radio buttons m.m.) */
.wc-block-checkout__shipping-option {
    display: none !important;
}


/* Skjuler også selve forsendelseslinjen i ordreoversigten (højre side/bund) på checkout */
.wc-block-components-totals-item.wc-block-components-totals-shipping {
    display: none !important;
}

/* Skjul betalingsmetode-sektionen i WooCommerce Blocks */
#payment-method {
    display: none !important;
}

.wp-block-woocommerce-checkout-terms-block, 
.woocommerce-order-overview__payment-method {
    display: none;
}

/* Skjul teksten "Du vil modtage en faktura..." på ordre-kvitteringssiden */
.woocommerce-order-received .woocommerce-order-overview + p {
    display: none;
}

/* Skjul "Forsendelse" rækken i bunden (række nr. 2) */
.woocommerce-table--order-details tfoot tr:nth-child(2) {
    display: none !important;
}

/* Skjul "Betalingsmetode" rækken i bunden (den sidste række) */
.woocommerce-table--order-details tfoot tr:last-child {
    display: none !important;
}


.wc_payment_methods, .woocommerce-privacy-policy-text, .woocommerce-shipping-totals {
	display: none;
}



/* =========================================
   2. NEW FIX: FORCE FIELDS OPEN
   ========================================= */

/* Force Expand: Make the checkout step content always visible */
.wc-block-components-checkout-step__content {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
}

/* Hide UI Elements: Remove the "Edit" button since it is now redundant */
.wc-block-components-checkout-step__header .wc-block-components-checkout-step__action,
.wc-block-components-checkout-step__header .wc-block-components-button {
    display: none !important;
}

/* Hide Summary: Remove the address summary text that usually shows when collapsed 
.wc-block-components-checkout-step__header .wc-block-components-checkout-step__description {
    display: none !important;
}*/

/* Disable Toggle: Stop the header from acting like a click-to-close button 
.wc-block-components-checkout-step__header {
    pointer-events: none !important;
    cursor: default !important;
}*/

/* Ensure address forms specifically are visible 
.wc-block-components-address-form {
    display: block !important;
}*/

.woocommerce-products-header__title {
	display: none;
}
