
/* HappyCoders Multiple Addresses – hide the Address Nickname Type selector
   at checkout. The plugin saves addresses fine with an empty nickname. */

/* Hide the address summary card — address details are shown inline in the
   radio button label by checkout-custom.js instead. */
.wc-block-components-address-card {
	display: none !important;
}

/* Hide the country/region dropdown in the new-address form.
   Country is forced to United States via JS (checkout-custom.js). */
.wc-block-components-address-form__country {
	display: none !important;
}

.wc-blocks-components-select:has(#shipping-country), .wc-blocks-components-select:has(#billing-country) {
	display: none !important;
}

#shipping-fields .wc-block-components-checkout-step__container, #billing-fields .wc-block-components-checkout-step__container {
	border-radius: 4px;
	box-shadow: inset 0 0 0 2px currentColor;
	padding: 1em .75em 1em 16px;
}

.wc-block-checkout__payment-method .wc-block-components-checkout-step__content {
	padding-top: 0 !important;
}

.wc-block-components-checkout-step__container .wc-block-components-checkout-step__content .wc-block-components-address-address-wrapper .wc-block-components-address-card {
	display: none !important;
}

/* Category filter panel (WooCommerce Product Search & Filter): when a leaf
   category is active, its own row is shown standalone (see
   restrict_category_filter_to_children_with_clear() in class-louder-design.php)
   and doesn't need the selected-state dot the plugin normally prints between
   the name and the count. Scoped to product_cat only — the same dot on
   selected Brand/Width/Color/etc. filters elsewhere is untouched. */
.product-search-product_cat-filter-item.current-cat > a:after, .product-search-product_cat-filter-item.current-cat > a:hover:after {
	content: none !important;
}

/* Checkout (mobile/tablet): WooCommerce Blocks renders the Order Summary twice
   below its large breakpoint - the collapsible sidebar summary at the top, plus
   a second always-open copy (.checkout-order-summary-block-fill-wrapper) above
   the Place Order button. Keep only the collapsible one. Desktop never renders
   the fill copy, so this has no effect there. */
.wc-block-checkout .checkout-order-summary-block-fill-wrapper {
	display: none !important;
}

/* Empty search / no-results pages: Divi loads its non-CPT stylesheet there (no
   product in the loop), whose global .et-waypoint{opacity:0} hides the header
   and whose footer rows fall back to max-width:1080px. Match the CPT pages. */
#top-header.et-waypoint, #main-header.et-waypoint {
	opacity: 1 !important;
	animation: none !important;
}

/* Footer rows only: keep the full width the CPT pages give them. */
.et-l--footer .et_pb_section.dff-9 .et_pb_row {
	max-width: 1920px !important;
}

/* Same pages: Divi's gutter margins stay on the last module of each footer
   column (CPT pages zero them), making the Email/Call and newsletter boxes taller. */
.et-l--footer .et_pb_column .et_pb_module:last-child {
	margin-bottom: 0 !important;
}
