/* WordPress / WooCommerce additions on top of the storefront stylesheet (leiviera.css). */

/* Header bag link (a button on the storefront) */
a.bag-btn { text-decoration: none; }

/* Sorting form keeps the toolbar layout */
.lv-sort { display: contents; }

/* Quick add: WooCommerce's loading state and its extra "View cart" link */
.card__quick.loading { opacity: 0.6; pointer-events: none; }
.card .added_to_cart { display: none; }
.lv-wc-card { list-style: none; }

/* Notices after adding to the bag on the product page */
.lv-notices { margin-top: var(--space-4); }
.lv-notices :is(.woocommerce-message, .woocommerce-error, .woocommerce-info) {
  list-style: none; margin: 0; padding: var(--space-4) var(--space-5);
  border: 1px solid var(--c-line); border-radius: var(--r-md); background: #fff;
  display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: space-between;
}
.lv-notices .woocommerce-error { border-color: currentColor; }
.lv-notices .button { order: 2; font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; }

/* Page content written in the block editor */
.lv-content > * + * { margin-top: var(--space-4); }
.lv-content .lead { margin-bottom: var(--space-4); }
.lv-wc-page { padding-bottom: var(--section, 4rem); }
.lv-wc-page .h1 { margin-bottom: var(--space-6); }

/* Article blocks */
.article-body > .wp-block-list { padding-left: 1.25em; }
.article-body > ul.wp-block-list { list-style: disc; }
.article-body .article-table table { margin: 0; }

/* Product gallery without a zoom button (placeholder) */
.gallery__slide > .media { width: 100%; }
.lightbox__frame img { max-width: 100%; max-height: 85svh; width: auto; height: auto; object-fit: contain; }

/* Elementor owns the section order; Leiviera keeps its original geometry. */
.lv-elementor-home > .elementor > .e-con { --padding-top:0px; --padding-bottom:0px; --padding-left:0px; --padding-right:0px; --container-max-width:100%; --flex-wrap:nowrap; --gap:0px; padding:0; margin:0; width:100%; max-width:none; gap:0; }
.lv-elementor-home .elementor-widget { margin:0; width:100%; }
.lv-elementor-home .elementor-widget-container { margin:0; padding:0; }
.lv-elementor-home .e-con-inner { padding:0; max-width:none; }
