/* ==========================================================================
   Shop Landing Page Styles
   ========================================================================== */

.bms-shop-landing {
    font-family: inherit;
    color: #222;
}

.bms-section-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* 1. Hero Campaign Section (Split Layout) */
.bms-hero-campaign-section {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #eaeaea;
    background: #eaeaea;
}

.bms-hero-slider-wrap {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bms-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bms-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    position: relative; /* Allows active slide to dictate container height */
    z-index: 2;
}

/* Reverses column order on mobile so Image is on top */
.bms-slide-inner {
    display: flex;
    flex-direction: column-reverse; 
    max-width: 1240px;
    width:100%;
    margin: 0 auto;
    padding: 0 24px;
    gap: 1rem;
}

@media (min-width: 900px) {
    .bms-slide-inner {
        flex-direction: row; /* Desktop: Text left, Image right */
        align-items: stretch;
        min-height: 70vh;
    }
}

/* Text Column */
.bms-slide-content-col {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0; /* 48px 24px;*/
    box-sizing: border-box;
}

@media (min-width: 900px) {
    .bms-slide-content-col {
        padding: 0; /* 64px 8% 64px 12%;*/
    }
}

.bms-slide-content-box {
    max-width: 540px;
    margin: 0 auto; 
}

@media (min-width: 900px) {
    .bms-slide-content-box { margin: 0; }
}

.bms-slide-kicker {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: #8c827a;
    margin-bottom: 12px;
}

.bms-slide-title {
    font-size: 32px;
    line-height: 1.15;
    margin: 0 0 16px 0;
    font-weight: 600;
    color: #111;
}

@media (min-width: 900px) {
    .bms-slide-title { font-size: 52px; }
}

.bms-slide-product-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    margin-bottom: 16px;
    color: #444;
}

.bms-slide-price {
    font-weight: 700;
    font-size: 20px;
    color: #111;
}

.bms-slide-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 32px 0;
}

.bms-btn-hero {
    background: #111;
    color: #fff;
    padding: 14px 28px;
    display: inline-block;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s;
}

.bms-btn-hero:hover {
    background: #333;
}

/* Image Column */
.bms-slide-media-col {
    flex: 1;
    position: relative;
    min-height: 350px; 
    display: flex;
    justify-content: center;
}

.bms-slide-img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 1rem;
}

/* Slider Controls Navigation */

.bms-hero-controls {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;

    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;    
}

@media (min-width: 900px) {
    .bms-hero-controls {
        /*
        position: absolute;
        left: 12%; 
        bottom: 48px;
        */
        justify-content: start;
        
    }
}

.bms-slider-arrow {
    background: #111;
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.bms-slider-arrow:hover { background: #333; }

.bms-slider-dots { display: flex; gap: 8px; }

.bms-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}
.bms-slider-dot.is-active { background: #111; }

/* 2. Generic Section Formatting */
.bms-landing-section {
    padding: 80px 0;
}

.bms-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.bms-section-eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: #8c827a;
    display: block;
    margin-bottom: 8px;
}

.bms-section-heading {
    font-size: 36px;
    margin: 0 0 12px 0;
}

.bms-section-intro {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Products Grid */
.bms-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .bms-products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .bms-products-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 3. Maker Spotlight Section */
.bms-maker-spotlight-section {
    background: #eaeaea;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 1rem;
}

.bms-maker-spotlight-slider {
    position: relative;
}

.bms-maker-panel {
    display: none;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    align-items: center;
}

.bms-maker-panel.is-active {
    display: grid;
}

@media (max-width: 900px) {
    .bms-maker-panel.is-active {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.bms-maker-panel-bio-wrap {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 24px;
}

.bms-spotlight-portrait {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
}

.bms-spotlight-name {
    font-size: 24px;
    margin: 0 0 4px 0;
}
.bms-spotlight-name a { color: #111; text-decoration: none; }

.bms-spotlight-tagline {
    font-size: 14px;
    color: #666;
    margin: 0 0 4px 0;
}

.bms-spotlight-location {
    font-size: 12px;
    color: #888;
    margin: 0;
}

.bms-spotlight-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 24px;
}

.bms-maker-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ==========================================================================
   Shop / Category Archive Utility Bar
   ========================================================================== */

.bms-archive-utils {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eaeaea;
}

/* Result Count Text */
.bms-archive-utils .woocommerce-result-count {
    margin: 0;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

/* Catalog Ordering Dropdown */
.bms-archive-utils .woocommerce-ordering {
    margin: 0;
}

.bms-archive-utils .woocommerce-ordering select {
    padding: 8px 32px 8px 12px;
    font-size: 13px;
    color: #111;
    border: 1px solid #d4cebe;
    border-radius: 4px;
    background-color: #faf9f6;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Custom arrow for the dropdown */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2212%22%20height%3D%228%22%20viewBox%3D%220%200%2012%208%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M1.41%200L6%204.58L10.59%200L12%201.41L6%207.41L0%201.41L1.41%200Z%22%20fill%3D%22%23333%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px;
}

.bms-archive-utils .woocommerce-ordering select:focus,
.bms-archive-utils .woocommerce-ordering select:hover {
    border-color: #111;
    background-color: #fff;
}

/* WooCommerce Pagination Overrides */
.bms-archive-pagination .woocommerce-pagination {
    margin-top: 56px;
    text-align: center;
}

.bms-archive-pagination .woocommerce-pagination ul {
    border: none;
    display: inline-flex;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.bms-archive-pagination .woocommerce-pagination ul li {
    border: none;
}

.bms-archive-pagination .woocommerce-pagination ul li a,
.bms-archive-pagination .woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #d4cebe;
    border-radius: 4px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.bms-archive-pagination .woocommerce-pagination ul li a:hover {
    background: #f0f0f0;
    border-color: #bbb;
}

.bms-archive-pagination .woocommerce-pagination ul li span.current {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* ==========================================================================
   Store Alerts & Notifications
   ========================================================================== */

/* 1. Floating AJAX Toast (For Product Cards) */
.bms-toast-container {
    position: fixed;
    top: 96px; /* Just below the 72px sticky header */
    right: 24px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.bms-toast {
    background: #1e4620; /* Deep success green */
    color: #ffffff;
    padding: 14px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.bms-toast.is-visible {
    transform: translateX(0);
    opacity: 1;
}

.bms-toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s;
}

.bms-toast-close:hover {
    color: #ffffff;
}

/* 2. Native WooCommerce Alerts (For Single Product Page Refreshes) */
.woocommerce-message, 
.woocommerce-error, 
.woocommerce-info {
    background: #fdfcf9;
    border-top: 3px solid #1e4620; /* Matches the toast green */
    padding: 16px 24px;
    margin: 24px auto 32px auto;
    max-width: 1240px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    border-radius: 0 0 4px 4px;
    font-size: 15px;
    font-weight: 500;
    color: #222;
    list-style: none; /* For error lists */
}

.woocommerce-error { border-top-color: #d9381e; }
.woocommerce-info { border-top-color: #264653; }

/* Style the "View Basket" button inside the native alert */
.woocommerce-message .button,
.woocommerce-error .button,
.woocommerce-info .button {
    background: #1a1a1a;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s;
}

.woocommerce-message .button:hover { background: #333; }

/* Archive Utilities Layout */
.bms-archive-utils {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.bms-archive-native-utils {
    display: flex;
    align-items: center;
    gap: 16px;
}
.bms-custom-select {
    padding: 8px 32px 8px 12px;
    font-size: 13px;
    color: #111;
    border: 1px solid #d4cebe;
    border-radius: 4px;
    background-color: #faf9f6;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2212%22%20height%3D%228%22%20viewBox%3D%220%200%2012%208%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M1.41%200L6%204.58L10.59%200L12%201.41L6%207.41L0%201.41L1.41%200Z%22%20fill%3D%22%23333%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px;
}

/* ==========================================================================
   Global Store Breadcrumbs
   ========================================================================== */
.woocommerce .woocommerce-breadcrumb.bms-store-breadcrumb {
    max-width: 1240px;
    width: 100%;
    margin: 32px auto 0 auto; /* Snugs it up against the header */
    padding: 0 24px;
    box-sizing: border-box;
    font-size: 13px;
    font-weight: 500;
    color: #888;
    letter-spacing: 0.02em;
}

/* Breadcrumb Links */
.woocommerce .woocommerce-breadcrumb.bms-store-breadcrumb a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.woocommerce .woocommerce-breadcrumb.bms-store-breadcrumb a:hover {
    color: #666;
    text-decoration: underline;
}

/* The custom separator we added in PHP */
.woocommerce .woocommerce-breadcrumb.bms-store-breadcrumb .bms-bread-sep {
    margin: 0 10px;
    color: #cccccc;
    font-weight: 400;
}

.woocommerce div.product form.cart .button{
    background: black;
    color: var(--colour-accent);
    font-size:1rem;
}

.bms-purchase-actions,
.woocommerce div.product form.cart .variations{
    font-size:1rem;
}

/* ==========================================================================
   WooCommerce Variations Form Overhaul
   ========================================================================== */

/* Break the native table layout into a clean CSS stack */
.bms-purchase-actions table.variations {
    width: 100%;
    border-collapse: collapse;
    border: none;
    margin-bottom: 16px;
}

.bms-purchase-actions table.variations tbody {
    display: flex;
    flex-direction: column;
    gap: 16px; /* Perfect spacing between different variation dropdowns */
}

.bms-purchase-actions table.variations tr {
    display: flex;
    flex-direction: column;
    border: none;
}

/* Style the Variation Labels (e.g., "Frame Finish") */
.bms-purchase-actions table.variations td.label {
    padding: 0 0 8px 0;
    display: block;
    text-align: left;
    color: #111;
}

.bms-purchase-actions table.variations td.label label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #555;
}

/* Container for the dropdown and the "Clear" link */
.bms-purchase-actions table.variations td.value {
    display: block;
    padding: 0;
    position: relative;
}

/* Style the select dropdowns to match your boutique archive filters */
.bms-purchase-actions table.variations select {
    width: 100%;
    padding: 12px 32px 12px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #111;
    border: 1px solid #d4cebe;
    border-radius: 4px;
    background-color: #faf9f6;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2212%22%20height%3D%228%22%20viewBox%3D%220%200%2012%208%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M1.41%200L6%204.58L10.59%200L12%201.41L6%207.41L0%201.41L1.41%200Z%22%20fill%3D%22%23333%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 10px;
}

.bms-purchase-actions table.variations select:focus,
.bms-purchase-actions table.variations select:hover {
    border-color: #111;
    background-color: #ffffff;
}

/* The native "Clear" link that resets the form */
.bms-purchase-actions a.reset_variations {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: #888;
    text-decoration: none;
    margin-top: 8px;
    transition: color 0.2s ease;
}

.bms-purchase-actions a.reset_variations:hover {
    color: #d9381e; /* Subtle red interaction */
    text-decoration: underline;
}
.bms-purchase-actions a.reset_variations[style*="display: none"] {
    display: none !important;
}

/* The dynamic container that holds the price and add-to-cart button */
.bms-purchase-actions .single_variation_wrap {
    margin-top: 8px;
}

/* Dynamic Variation Price (Replaces main price when an option is selected) */
.bms-purchase-actions .woocommerce-variation-price {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}

.bms-purchase-actions .woocommerce-variation-price .price {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

/* Layout for Quantity box + Add to Cart Button on Variable Products */
.bms-purchase-actions .woocommerce-variation-add-to-cart {
    display: flex;
    gap: 12px;
    align-items: center;
}

.bms-purchase-actions .woocommerce-variation-add-to-cart .quantity {
    flex: 0 0 70px; /* Locks the quantity input size */
}

.bms-purchase-actions .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    flex: 1; /* Makes the Add to Cart button fill the remaining space */
    margin: 0;
}

/* ==========================================================================
   Variation Description Alerts (e.g., Local Pickup Notices)
   ========================================================================== */
.bms-purchase-actions .woocommerce-variation-description {
    background: #eef4f6; /* Soft boutique teal background */
    border-left: 3px solid #264653; /* Deep teal accent */
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 0 4px 4px 0;
}

.bms-purchase-actions .woocommerce-variation-description p {
    margin: 0;
    font-size: 13px;
    color: #264653;
    font-weight: 600;
    line-height: 1.5;
}

/* ==========================================================================
   Global WooCommerce Notices Overhaul
   ========================================================================== */

/* 1. Snap the wrapper to the global site grid */
.woocommerce-notices-wrapper {
    max-width: 1240px;
    margin: 32px auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* Prevent notices from squashing flex items in the archive utility bar */
.bms-archive-utils,
.bms-archive-native-utils {
    flex-wrap: wrap;
}

.bms-archive-utils .woocommerce-notices-wrapper,
.bms-archive-native-utils .woocommerce-notices-wrapper {
    flex: 1 1 100%;
    margin: 0 0 16px 0; /* Tighter margin so it sits nicely above the dropdowns */
    padding: 0; /* Strips the extra padding since the archive container already has it */
}

/* 2. Overhaul the base box styling */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 24px !important;
    margin: 0 0 24px 0 !important;
    background-color: #faf9f6 !important; /* Soft boutique background */
    border: 1px solid #d4cebe;
    border-radius: 4px;
    color: #111;
    font-size: 14px;
    font-weight: 500;
    list-style: none !important;
    clear: both;
}

/* 3. Apply subtle, contextual top borders instead of Woo's heavy blocks */
.woocommerce-message { border-top: 3px solid #6b9080 !important; } /* Soft Green for Success */
.woocommerce-error   { border-top: 3px solid #d9381e !important; } /* Subtle Red for Errors */
.woocommerce-info    { border-top: 3px solid #264653 !important; } /* Deep Teal for Info */

/* 4. Strip out WooCommerce's dated icon injections */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    display: none !important;
}

/* 5. Style the embedded action buttons (e.g., "Undo" or "View Basket") */
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
    display: inline-block;
    background: #1a1a1a !important;
    color: #ffffff !important;
    padding: 8px 16px !important;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s ease;
    border: none;
    order: 2; /* Pushes the button neatly to the right side */
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover {
    background: #333333 !important;
}

/* 6. Formatting for error lists (Checkout errors often return multiple bullet points) */
.woocommerce-error li {
    width: 100%;
    margin: 0;
}

/* ==========================================================================
   Global WooCommerce Button Overrides
   ========================================================================== */

/* 1. Target all Woo button variants, including 'alt' primary buttons and form submits */
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button, 
.woocommerce #respond input#submit, 
.woocommerce-page a.button, 
.woocommerce-page button.button, 
.woocommerce-page input.button, 
.woocommerce-page #respond input#submit,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order {
    display: inline-block;
    background-color: #1a1a1a !important; /* Boutique dark primary */
    color: #ffffff !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    border: none !important;
    border-radius: 4px !important;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none !important;
    transition: background-color 0.2s ease, opacity 0.2s ease !important;
}

/* 2. Hover & Focus States */
.woocommerce a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce input.button:hover, 
.woocommerce #respond input#submit:hover, 
.woocommerce-page a.button:hover, 
.woocommerce-page button.button:hover, 
.woocommerce-page input.button:hover, 
.woocommerce-page #respond input#submit:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout #place_order:hover {
    background-color: #333333 !important; /* Slightly lighter charcoal on hover */
    color: #ffffff !important;
    text-decoration: none;
}

/* 3. Disabled, Loading, & Out of Stock States */
.woocommerce a.button.disabled, 
.woocommerce a.button:disabled, 
.woocommerce button.button.disabled, 
.woocommerce button.button:disabled, 
.woocommerce input.button.disabled, 
.woocommerce input.button:disabled,
.woocommerce #respond input#submit.disabled,
.woocommerce #respond input#submit:disabled,
.woocommerce button.button.alt.disabled {
    background-color: #e5e5e5 !important;
    color: #999999 !important;
    cursor: not-allowed !important;
    opacity: 1 !important; /* Woo sets this to 0.5 natively, which can look muddy */
}

/* 4. Fix for WooCommerce loading spinners overriding the button text */
.woocommerce button.button.loading::after,
.woocommerce-checkout #place_order.loading::after {
    top: 50% !important;
    margin-top: -8px !important; /* Centers the Woo spinner perfectly */
}

/* 1. Snap the wrapper to the global site grid, but remove vertical margins */
.woocommerce-notices-wrapper {
    max-width: 1240px;
    margin: 0 auto; /* Changed from 32px to 0 */
    padding: 0 24px;
    box-sizing: border-box;
}

/* Hide it completely if it's strictly empty to prevent padding stacks */
.woocommerce-notices-wrapper:empty {
    display: none !important;
}

/* 2. Apply the 32px margin ONLY to the actual notices when they are generated */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info {
    margin: 32px 0; 
}

/* 3. Keep your archive flex-wrap fix intact */
.bms-archive-utils .woocommerce-notices-wrapper,
.bms-archive-native-utils .woocommerce-notices-wrapper {
    flex: 1 1 100%;
    margin: 0;
    padding: 0; 
}

/* Ensure archive notices don't double up on margin */
.bms-archive-utils .woocommerce-message,
.bms-archive-native-utils .woocommerce-message {
    margin: 0 0 16px 0;
}