/*
 * Static archive overrides — hide interactive features that do not work
 * without WordPress/PHP backends (cart, forms, newsletter signup, payments).
 */

/* Juvo page-transition overlay — breaks browser back on static hosting */
body.static-archive #ajax-loading-screen {
	display: none !important;
	opacity: 0 !important;
}

/* Header cart (Juvo + WooCommerce) */
.cart-outer,
.nectar-slide-in-cart,
.nectar-woo-cart,
#mobile-cart-link,
.widget_shopping_cart,
.widget_shopping_cart_content {
	display: none !important;
}

/* Account / login buttons */
#nectar-user-account,
.mobile-user-account {
	display: none !important;
}

/* WooCommerce purchase actions */
.add_to_cart_button,
.single_add_to_cart_button,
.product-add-to-cart,
form.cart,
.woocommerce-variation-add-to-cart,
.woocommerce-message,
.woocommerce-error,
.woocommerce-info,
.woocommerce-notices-wrapper {
	display: none !important;
}

/* WPForms (contact, booking, etc.) */
.wpforms-container,
.wpforms-container-full,
.wpforms-form,
div[id^="wpforms-"] {
	display: none !important;
}

/* Mailchimp newsletter signup */
.mc4wp-form,
.mc4wp-form-fields {
	display: none !important;
}

/* WP Full Stripe payment / subscription forms */
.wpfs-form,
form.wpfs-form,
[class*="wpfs-form--"] {
	display: none !important;
}

/* Search (requires live WordPress search) */
#search-btn,
#search-outer,
.mobile-search {
	display: none !important;
}

/* Nav items: wine tasting, contact, wine of the month, wine people */
#menu-item-5987,
#menu-item-5988,
#menu-item-5944,
#menu-item-5999,
#menu-item-6015,
#menu-item-6016 {
	display: none !important;
}

/*
 * Homepage sections (WPBakery row IDs change every request, so we use
 * stable anchors and :has() on heading structure instead).
 */
.home .wpb_row:has(.nectar-split-heading h2[style*="max-width: 500px"]),
.home #about,
.home .wpb_row.parallax_section:has(h2.vc_custom_heading) {
	display: none !important;
}

/* Homepage signup forms by stable WPForms ID */
#wpforms-6000,
#wpforms-6001 {
	display: none !important;
}

/*
 * Whole sections — hide main content on pages/categories that are not
 * part of the static archive.
 */
.page-id-5887 .container-wrap,
.page-id-6007 .container-wrap,
.page-id-6013 .container-wrap,
.category-wine-of-the-month .container-wrap,
.category-wine-people .container-wrap {
	display: none !important;
}

/* Article comments (requires live WordPress backend) */
.comments-section,
.comment-wrap,
#comments,
#respond,
.comment-respond,
.comment-form,
.meta-comment-count {
	display: none !important;
}
