/* ============================================================
   OilViva — MesonArt Design System (Phase 0)
   Black/white minimal base + OilViva orange accent
   Fonts: Urbanist (headings) + Poppins (body)
   Loaded globally on every page via oilviva-pages.php
   ============================================================ */

/*
   Fonts are loaded via wp_enqueue_style in oilviva-pages.php
   (Urbanist + Poppins). Do not add @import here to avoid double download.
*/

/* ---- DESIGN TOKENS ---- */
:root {
    /* MesonArt core palette */
    --m-black: #171717;
    --m-near-black: #1a1a1a;
    --m-charcoal: #333333;
    --m-gray: #6b7280;
    --m-gray-light: #9ca3af;
    --m-gray-muted: #d1d5db;
    --m-off-white: #fafafa;
    --m-white: #ffffff;

    /* OilViva accent (kept only for CTAs / highlights) */
    --m-accent: #f97316;
    --m-accent-hover: #ea580c;
    --m-accent-light: #fff7ed;

    /* Semantic colors */
    --m-color-text: var(--m-near-black);
    --m-color-text-2: var(--m-charcoal);
    --m-color-text-3: var(--m-gray);
    --m-color-bg: var(--m-white);
    --m-color-bg-alt: var(--m-off-white);
    --m-color-bg-warm: #faf6f2;
    --m-color-border: rgba(23, 23, 23, 0.1);
    --m-color-border-light: rgba(23, 23, 23, 0.06);
    --m-color-sale: #e11d48;

    /* Typography */
    --m-font-display: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --m-font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Layout */
    --m-page-width: 1600px;
    --m-page-padding: 1.25rem;
    --m-gap-padding: clamp(1.25rem, 2.5vw, 3rem);
    --m-section-spacing: clamp(4rem, 8vw, 7rem);

    /* Radius */
    --m-radius-pill: 100px;
    --m-radius-button: 3.75rem;
    --m-radius-card: clamp(0.625rem, 1.05vw, 1.25rem);
    --m-radius-input: 0.375rem;
    --m-radius-small: 0.375rem;

    /* Shadows */
    --m-shadow-card: 0 2px 12px rgba(23, 23, 23, 0.06);
    --m-shadow-hover: 0 12px 32px rgba(23, 23, 23, 0.08);
    --m-shadow-header: 0 2px 12px rgba(23, 23, 23, 0.04);

    /* Transitions */
    --m-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --m-transition-fast: 0.2s ease;
}

@media (min-width: 1024px) {
    :root { --m-page-padding: 2.25rem; }
}

@media (min-width: 1280px) {
    :root { --m-page-padding: 3rem; }
}

/* ============================================================
   GLOBAL RESET (Astra / WooCommerce overrides)
   ============================================================ */
html body:not(.wp-admin):not(.editor-styles-wrapper) {
    background: var(--m-color-bg) !important;
    color: var(--m-color-text) !important;
    font-family: var(--m-font-body) !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) #page,
html body:not(.wp-admin):not(.editor-styles-wrapper) #content,
html body:not(.wp-admin):not(.editor-styles-wrapper) #primary,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ast-container,
html body:not(.wp-admin):not(.editor-styles-wrapper) .site-content,
html body:not(.wp-admin):not(.editor-styles-wrapper) main,
html body:not(.wp-admin):not(.editor-styles-wrapper) .entry-content {
    background: transparent !important;
    color: inherit !important;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
html body:not(.wp-admin):not(.editor-styles-wrapper) h1,
html body:not(.wp-admin):not(.editor-styles-wrapper) h2,
html body:not(.wp-admin):not(.editor-styles-wrapper) h3,
html body:not(.wp-admin):not(.editor-styles-wrapper) h4,
html body:not(.wp-admin):not(.editor-styles-wrapper) h5,
html body:not(.wp-admin):not(.editor-styles-wrapper) h6 {
    font-family: var(--m-font-display) !important;
    color: var(--m-color-text) !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    margin-top: 0 !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) h1 { font-size: clamp(2.5rem, 6vw, 5rem) !important; }
html body:not(.wp-admin):not(.editor-styles-wrapper) h2 { font-size: clamp(2rem, 4vw, 3.5rem) !important; }
html body:not(.wp-admin):not(.editor-styles-wrapper) h3 { font-size: clamp(1.5rem, 2.5vw, 2.25rem) !important; }
html body:not(.wp-admin):not(.editor-styles-wrapper) h4 { font-size: clamp(1.25rem, 2vw, 1.75rem) !important; }
html body:not(.wp-admin):not(.editor-styles-wrapper) h5 { font-size: 1.125rem !important; }
html body:not(.wp-admin):not(.editor-styles-wrapper) h6 { font-size: 1rem !important; }

html body:not(.wp-admin):not(.editor-styles-wrapper) p,
html body:not(.wp-admin):not(.editor-styles-wrapper) li,
html body:not(.wp-admin):not(.editor-styles-wrapper) td,
html body:not(.wp-admin):not(.editor-styles-wrapper) th,
html body:not(.wp-admin):not(.editor-styles-wrapper) span:not(.price):not(.woocommerce-Price-amount):not(.woocommerce-Price-currencySymbol) {
    font-family: var(--m-font-body) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) a {
    color: var(--m-color-text) !important;
    text-decoration: none !important;
    transition: color var(--m-transition-fast) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) a:hover {
    color: var(--m-accent) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) strong,
html body:not(.wp-admin):not(.editor-styles-wrapper) b {
    font-weight: 600 !important;
}

/* ============================================================
   BUTTONS — MesonArt pill style
   ============================================================ */
html body:not(.wp-admin):not(.editor-styles-wrapper) .button,
html body:not(.wp-admin):not(.editor-styles-wrapper) button:not(.ov-hamburger):not(.ov-mobile-menu__close):not(.ov-submenu-toggle):not(.ast-menu-toggle):not(.z-notify-close):not(.ov-slider-arrow):not(.ov-var-filter__header):not(.ov-cart-drawer__close):not(.search-submit),
html body:not(.wp-admin):not(.editor-styles-wrapper) input[type="button"],
html body:not(.wp-admin):not(.editor-styles-wrapper) input[type="submit"]:not(.search-submit),
html body:not(.wp-admin):not(.editor-styles-wrapper) .wp-block-button__link,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce a.button,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce button.button,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce input.button,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce #respond input#submit,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce #place_order,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce .checkout-button,
html body:not(.wp-admin):not(.editor-styles-wrapper) .wc-block-components-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    padding: 0.75rem 2rem !important;
    background: var(--m-black) !important;
    background-color: var(--m-black) !important;
    color: var(--m-white) !important;
    border: 1.5px solid var(--m-black) !important;
    border-radius: var(--m-radius-button) !important;
    font-family: var(--m-font-body) !important;
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
    transition: background-color var(--m-transition-fast), color var(--m-transition-fast), border-color var(--m-transition-fast), transform var(--m-transition-fast) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .button:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) button:hover:not(.ov-hamburger):not(.ov-mobile-menu__close):not(.ov-submenu-toggle):not(.ast-menu-toggle):not(.z-notify-close):not(.ov-slider-arrow):not(.ov-var-filter__header):not(.ov-cart-drawer__close):not(.search-submit),
html body:not(.wp-admin):not(.editor-styles-wrapper) input[type="button"]:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) input[type="submit"]:hover:not(.search-submit),
html body:not(.wp-admin):not(.editor-styles-wrapper) .wp-block-button__link:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce a.button:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce button.button:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce input.button:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce #respond input#submit:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce #place_order:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce .checkout-button:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) .wc-block-components-button:hover {
    background: var(--m-white) !important;
    background-color: var(--m-white) !important;
    color: var(--m-black) !important;
    border-color: var(--m-black) !important;
    transform: translateY(-1px) !important;
}

/* Search submit controls (e.g. the Astra 404 search widget) are excluded
   from the pill above — keep the icon inline, transparent and vertically
   centered inside the field, as Astra intends. */
html body:not(.wp-admin):not(.editor-styles-wrapper) .widget_search .search-form button.search-submit {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: var(--m-black) !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Accent / primary button */
html body:not(.wp-admin):not(.editor-styles-wrapper) .button.button--accent,
html body:not(.wp-admin):not(.editor-styles-wrapper) .m-btn-accent,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce a.button.alt,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce button.button.alt,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce input.button.alt,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce .single_add_to_cart_button {
    background: var(--m-accent) !important;
    background-color: var(--m-accent) !important;
    border-color: var(--m-accent) !important;
    color: var(--m-white) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .button.button--accent:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) .m-btn-accent:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce a.button.alt:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce button.button.alt:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce input.button.alt:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce .single_add_to_cart_button:hover {
    background: var(--m-accent-hover) !important;
    background-color: var(--m-accent-hover) !important;
    border-color: var(--m-accent-hover) !important;
    color: var(--m-white) !important;
}

/* Outline / secondary button */
html body:not(.wp-admin):not(.editor-styles-wrapper) .button.button--outline,
html body:not(.wp-admin):not(.editor-styles-wrapper) .m-btn-outline {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--m-black) !important;
    border-color: var(--m-black) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .button.button--outline:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) .m-btn-outline:hover {
    background: var(--m-black) !important;
    background-color: var(--m-black) !important;
    color: var(--m-white) !important;
}

/* ============================================================
   FORMS / INPUTS
   ============================================================ */
html body:not(.wp-admin):not(.editor-styles-wrapper) input[type="text"],
html body:not(.wp-admin):not(.editor-styles-wrapper) input[type="email"],
html body:not(.wp-admin):not(.editor-styles-wrapper) input[type="tel"],
html body:not(.wp-admin):not(.editor-styles-wrapper) input[type="password"],
html body:not(.wp-admin):not(.editor-styles-wrapper) input[type="number"],
html body:not(.wp-admin):not(.editor-styles-wrapper) input[type="search"],
html body:not(.wp-admin):not(.editor-styles-wrapper) textarea,
html body:not(.wp-admin):not(.editor-styles-wrapper) select,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce input.input-text,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce textarea,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce select,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce .select2-selection {
    background: var(--m-white) !important;
    color: var(--m-color-text) !important;
    border: 1px solid var(--m-color-border) !important;
    border-radius: var(--m-radius-input) !important;
    font-family: var(--m-font-body) !important;
    font-size: 0.9375rem !important;
    padding: 0.75rem 1rem !important;
    box-shadow: none !important;
    transition: border-color var(--m-transition-fast), box-shadow var(--m-transition-fast) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) input:focus,
html body:not(.wp-admin):not(.editor-styles-wrapper) textarea:focus,
html body:not(.wp-admin):not(.editor-styles-wrapper) select:focus,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce input.input-text:focus,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce .select2-selection:focus {
    border-color: var(--m-black) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(23, 23, 23, 0.08) !important;
}

/* ============================================================
   HEADER — Reset Z Shop orange
   ============================================================ */
html body:not(.wp-admin):not(.editor-styles-wrapper) .ast-primary-header-bar,
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-header-bar,
html body:not(.wp-admin):not(.editor-styles-wrapper) .site-header {
    background: var(--m-color-bg) !important;
    background-color: var(--m-color-bg) !important;
    border-bottom: 1px solid var(--m-color-border-light) !important;
    box-shadow: none !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ast-site-identity .site-title a {
    color: var(--m-black) !important;
    font-family: var(--m-font-display) !important;
    font-weight: 600 !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .custom-logo-link img,
html body:not(.wp-admin):not(.editor-styles-wrapper) .custom-logo,
html body:not(.wp-admin):not(.editor-styles-wrapper) .site-logo-img img {
    filter: none !important;
    max-height: 52px !important;
}

/* ============================================================
   ASTRA DESKTOP MENU FIXES
   ============================================================ */

/* Keep menu links and dropdown arrows on one line */
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-navigation .menu-item > a,
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-header-menu > .menu-item > .menu-link,
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-header-menu .menu-item > a {
    color: var(--m-color-text) !important;
    font-family: var(--m-font-body) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
    background-image: none !important;
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    position: relative !important;
}

/* Dropdown arrow must stay inline with link text */
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-header-menu .dropdown-menu-toggle,
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-header-menu .ast-header-navigation-arrow,
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-navigation .dropdown-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: auto !important;
    height: auto !important;
    margin-left: 6px !important;
    vertical-align: middle !important;
    position: relative !important;
    top: 0 !important;
    float: none !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .main-header-menu .dropdown-menu-toggle svg,
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-header-menu .ast-header-navigation-arrow svg,
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-navigation .dropdown-menu-toggle svg {
    width: 12px !important;
    height: 12px !important;
    display: block !important;
}

/* Hide Astra's standalone mobile toggle on desktop only */
html body.ast-desktop:not(.wp-admin):not(.editor-styles-wrapper) .main-header-menu .ast-menu-toggle {
    display: none !important;
}

/* Hover / active states */
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-navigation .menu-item > a:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-header-menu > .menu-item:hover > .menu-link,
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-header-menu .menu-item > a:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-header-menu > .current-menu-item > .menu-link,
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-header-menu > .current-menu-ancestor > .menu-link,
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-header-menu > .current_page_item > .menu-link,
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-navigation .current-menu-item > a,
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-navigation .current-menu-ancestor > a {
    color: var(--m-accent) !important;
}

/* Dropdown container */
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-header-menu .sub-menu,
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-navigation .sub-menu {
    background: var(--m-color-bg) !important;
    border: 1px solid var(--m-color-border-light) !important;
    border-top: 1px solid var(--m-color-border) !important;
    border-radius: var(--m-radius-card) !important;
    box-shadow: var(--m-shadow-hover) !important;
    padding: 0.5rem 0 !important;
    min-width: 220px !important;
}

/* Hidden dropdown state (desktop only) */
html body.ast-desktop:not(.wp-admin):not(.editor-styles-wrapper) .main-header-menu .sub-menu,
html body.ast-desktop:not(.wp-admin):not(.editor-styles-wrapper) .main-navigation .sub-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    margin: 0 !important;
    z-index: 99999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-6px) !important;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease !important;
    pointer-events: none !important;
}

/* Show dropdown on hover / focus (desktop only) */
html body.ast-desktop:not(.wp-admin):not(.editor-styles-wrapper) .main-header-menu .menu-item-has-children:hover > .sub-menu,
html body.ast-desktop:not(.wp-admin):not(.editor-styles-wrapper) .main-header-menu .menu-item-has-children:focus-within > .sub-menu,
html body.ast-desktop:not(.wp-admin):not(.editor-styles-wrapper) .main-navigation .menu-item-has-children:hover > .sub-menu,
html body.ast-desktop:not(.wp-admin):not(.editor-styles-wrapper) .main-navigation .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* Bridge the hover gap between parent link and dropdown (desktop only) */
html body.ast-desktop:not(.wp-admin):not(.editor-styles-wrapper) .main-header-menu .menu-item-has-children > .menu-link::after,
html body.ast-desktop:not(.wp-admin):not(.editor-styles-wrapper) .main-navigation .menu-item-has-children > a::after {
    content: '' !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    height: 12px !important;
    display: block !important;
    background: transparent !important;
}

/* Sub-menu item styling */
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-header-menu .sub-menu .menu-item > a,
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-navigation .sub-menu .menu-item > a {
    color: var(--m-color-text) !important;
    font-size: 0.8125rem !important;
    padding: 0.6rem 1.25rem !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    border-bottom: none !important;
    display: block !important;
    white-space: nowrap !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .main-header-menu .sub-menu .menu-item > a:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-navigation .sub-menu .menu-item > a:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-header-menu .sub-menu .current-menu-item > a,
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-navigation .sub-menu .current-menu-item > a {
    color: var(--m-accent) !important;
    background: var(--m-color-bg-alt) !important;
}

/* Move the whole header menu slightly left */
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-header-bar .main-header-menu,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ast-primary-header-bar .main-header-menu,
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-header-bar .main-navigation,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ast-primary-header-bar .main-navigation {
    justify-content: flex-start !important;
    margin-right: auto !important;
    margin-left: 0 !important;
}

/* Pull the right-side navigation section left so it isn't pushed hard to the edge */
html body:not(.wp-admin):not(.editor-styles-wrapper) .main-header-bar-navigation,
html body:not(.wp-admin):not(.editor-styles-wrapper) .site-header-primary-section-right,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ast-flex-grow-1 .main-header-menu {
    justify-content: flex-start !important;
    margin-right: auto !important;
    padding-left: 1rem !important;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.m-container {
    width: 100%;
    max-width: var(--m-page-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--m-page-padding);
    padding-right: var(--m-page-padding);
}

.m-section {
    padding-top: var(--m-section-spacing);
    padding-bottom: var(--m-section-spacing);
}

.m-eyebrow {
    display: block;
    font-family: var(--m-font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--m-color-text-3);
    margin-bottom: 1rem;
}

.m-eyebrow--accent { color: var(--m-accent); }

.m-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 2rem;
    border-radius: var(--m-radius-button);
    font-family: var(--m-font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color var(--m-transition-fast), color var(--m-transition-fast), border-color var(--m-transition-fast), transform var(--m-transition-fast);
}

.m-pill--dark {
    background: var(--m-black);
    color: var(--m-white);
    border: 1.5px solid var(--m-black);
}

.m-pill--dark:hover {
    background: var(--m-white);
    color: var(--m-black);
}

.m-pill--light {
    background: var(--m-white);
    color: var(--m-black);
    border: 1.5px solid var(--m-white);
}

.m-pill--light:hover {
    background: var(--m-black);
    color: var(--m-white);
    border-color: var(--m-black);
}

.m-pill--accent {
    background: var(--m-accent);
    color: var(--m-white);
    border: 1.5px solid var(--m-accent);
}

.m-pill--accent:hover {
    background: var(--m-accent-hover);
    border-color: var(--m-accent-hover);
    color: var(--m-white);
}

.m-pill--outline {
    background: transparent;
    color: var(--m-black);
    border: 1.5px solid var(--m-black);
}

.m-pill--outline:hover {
    background: var(--m-black);
    color: var(--m-white);
}

/* Fade-up animation helper */
.m-fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.m-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.m-delay-1 { transition-delay: 0.08s; }
.m-delay-2 { transition-delay: 0.16s; }
.m-delay-3 { transition-delay: 0.24s; }
.m-delay-4 { transition-delay: 0.32s; }

/* Focus visible */
html body:not(.wp-admin):not(.editor-styles-wrapper) *:focus-visible {
    outline: 2px solid var(--m-black);
    outline-offset: 2px;
}

/* ============================================================
   HEADER OVERRIDES — MesonArt sticky header
   (Overrides oilviva-elementor-hf.php inline styles)
   ============================================================ */
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    background: var(--m-color-bg) !important;
    border-bottom: 1px solid var(--m-color-border-light) !important;
    box-shadow: var(--m-shadow-header) !important;
    transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-header--mobile,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-header--desktop {
    background: var(--m-color-bg) !important;
    border-bottom: 1px solid var(--m-color-border-light) !important;
    box-shadow: var(--m-shadow-header) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-header__inner {
    max-width: var(--m-page-width) !important;
    padding: 0 var(--m-page-padding) !important;
    height: 72px !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-header__logo img {
    filter: none !important;
    height: 44px !important;
    width: auto !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-header__icon-link {
    color: var(--m-color-text) !important;
    transition: color 0.2s ease, opacity 0.2s ease;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-header__icon-link:hover {
    color: var(--m-accent) !important;
    opacity: 1 !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-cart-count {
    background: var(--m-accent) !important;
    color: #fff !important;
    font-family: var(--m-font-body) !important;
    top: -6px !important;
    right: -8px !important;
}

/* Desktop nav */
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu { gap: 1.75rem !important; }

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu li a {
    color: var(--m-color-text) !important;
    font-family: var(--m-font-body) !important;
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.04em !important;
    text-transform: none !important;
    padding: 0.5rem 0 !important;
    position: relative !important;
    opacity: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}

/* Dropdown arrow inline with link text */
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu .dropdown-menu-toggle,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu .ast-header-navigation-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: auto !important;
    height: auto !important;
    margin-left: 5px !important;
    vertical-align: middle !important;
    position: relative !important;
    top: 0 !important;
    float: none !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu .dropdown-menu-toggle svg,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu .ast-header-navigation-arrow svg {
    width: 10px !important;
    height: 10px !important;
    display: block !important;
}

/* Keep Astra's standalone toggle arrow on the same line as the menu link on desktop */
@media (min-width: 922px) {
    html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu .menu-item {
        flex-shrink: 0 !important;
    }

    html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu .ast-menu-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        vertical-align: middle !important;
        width: 20px !important;
        height: 20px !important;
        min-height: 20px !important;
        margin-left: 4px !important;
        position: relative !important;
        top: 0 !important;
        float: none !important;
    }

    html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu .ast-menu-toggle svg {
        width: 10px !important;
        height: 10px !important;
    }

    html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu li a {
        vertical-align: middle !important;
    }
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--m-black);
    transition: width 0.25s ease;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu li a:hover::after,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu li.current-menu-item > a::after,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu li.current-menu-ancestor > a::after,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu li.current_page_item > a::after {
    width: 100%;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu li a:hover {
    color: var(--m-color-text) !important;
    opacity: 1 !important;
}

/* Active / current page */
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu li.current-menu-item > a,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu li.current-menu-ancestor > a,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu li.current_page_item > a {
    color: var(--m-accent) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu .sub-menu li.current-menu-item > a,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu .sub-menu li.current_page_item > a {
    color: var(--m-accent) !important;
    background: var(--m-color-bg-alt) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu .sub-menu {
    background: var(--m-color-bg) !important;
    border-top: 1px solid var(--m-color-border) !important;
    box-shadow: var(--m-shadow-hover) !important;
    border-radius: var(--m-radius-card) !important;
    padding: 0.5rem 0 !important;
    top: 100% !important;
    left: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-6px) !important;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease !important;
    pointer-events: none !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu li:hover > .sub-menu,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* Invisible hover bridge so the dropdown doesn't disappear between link and box */
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu .menu-item-has-children::before {
    content: '' !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    height: 12px !important;
    display: block !important;
    background: transparent !important;
    z-index: 1 !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu .sub-menu li a {
    color: var(--m-color-text) !important;
    font-size: 0.8125rem !important;
    padding: 0.6rem 1.25rem !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    display: block !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-nav-menu .sub-menu li a:hover {
    color: var(--m-accent) !important;
    background: var(--m-color-bg-alt) !important;
    opacity: 1 !important;
}

/* Mobile header */
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-header--mobile .ov-header__logo img {
    filter: none !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-hamburger__line {
    background: var(--m-color-text) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-mobile-menu__title,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-mobile-menu__close {
    color: var(--m-color-text) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-mobile-nav li a {
    color: var(--m-color-text) !important;
    font-family: var(--m-font-body) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-mobile-nav li a:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-mobile-nav li.current-menu-item > a {
    color: var(--m-accent) !important;
    background: var(--m-color-bg-alt) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-submenu-toggle[aria-expanded="true"] {
    color: var(--m-accent) !important;
}

/* ============================================================
   SEARCH OVERRIDES — MesonArt style
   ============================================================ */
html body:not(.wp-admin):not(.editor-styles-wrapper) .z-search-wrap {
    background: var(--m-color-bg-alt) !important;
    border-radius: var(--m-radius-button) !important;
    height: 42px !important;
    max-width: 420px !important;
    border: 1px solid var(--m-color-border-light) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .z-search-wrap:focus-within {
    background: var(--m-color-bg) !important;
    border-color: var(--m-black) !important;
    box-shadow: 0 0 0 3px rgba(23, 23, 23, 0.08) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .z-search-icon {
    color: var(--m-color-text-3) !important;
    width: 18px !important;
    height: 18px !important;
    left: 14px !important;
    top: 11px !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .z-search-input {
    color: var(--m-color-text) !important;
    font-family: var(--m-font-body) !important;
    font-size: 0.875rem !important;
    padding: 0 1rem 0 2.75rem !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .z-search-input::placeholder {
    color: var(--m-color-text-3) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .z-search-dropdown {
    background: var(--m-color-bg) !important;
    border-radius: var(--m-radius-card) !important;
    box-shadow: var(--m-shadow-hover) !important;
    border: 1px solid var(--m-color-border-light) !important;
    top: calc(100% + 10px) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .z-search-result {
    color: var(--m-color-text) !important;
    border-bottom-color: var(--m-color-border-light) !important;
    font-family: var(--m-font-body) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .z-search-result:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) .z-search-result.is-active {
    background: var(--m-color-bg-alt) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .z-search-result-name {
    color: var(--m-color-text) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .z-search-result-price {
    color: var(--m-color-text) !important;
    font-weight: 600 !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .z-search-trending-tag {
    background: var(--m-color-bg-alt) !important;
    border-radius: var(--m-radius-button) !important;
    color: var(--m-color-text-2) !important;
    border: 1px solid var(--m-color-border-light) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .z-search-trending-tag:hover {
    background: var(--m-black) !important;
    color: #fff !important;
    border-color: var(--m-black) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .z-search-trending-label {
    color: var(--m-color-text-3) !important;
    font-family: var(--m-font-body) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .z-notify-bar {
    background: var(--m-color-bg-alt) !important;
    color: var(--m-color-text) !important;
    border-bottom: 1px solid var(--m-color-border-light) !important;
    font-family: var(--m-font-body) !important;
    position: relative !important;
    z-index: 10000 !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .z-notify-bar-inner {
    max-width: var(--m-page-width) !important;
    padding: 0 var(--m-page-padding) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .z-notify-left,
html body:not(.wp-admin):not(.editor-styles-wrapper) .z-notify-center,
html body:not(.wp-admin):not(.editor-styles-wrapper) .z-notify-right {
    color: var(--m-color-text-3) !important;
    font-size: 0.75rem !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .z-notify-center strong {
    color: var(--m-accent) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .z-notify-close {
    color: var(--m-color-text-3) !important;
    background: transparent !important;
    border: none !important;
    font-size: 1.25rem !important;
    line-height: 1 !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    border-radius: 50% !important;
    transition: color 0.2s, background-color 0.2s !important;
    min-height: auto !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .z-notify-close:hover {
    color: var(--m-color-text) !important;
    background: rgba(0,0,0,0.04) !important;
}
@media (max-width: 768px) {
    html body:not(.wp-admin):not(.editor-styles-wrapper) .z-notify-close {
        width: 28px !important;
        height: 28px !important;
        right: 0.35rem !important;
        font-size: 1rem !important;
    }
}

/* ============================================================
   MINI CART DRAWER
   ============================================================ */
.ov-cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(23, 23, 23, 0.5);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.ov-cart-drawer-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.ov-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100%;
    height: 100vh;
    background: var(--m-color-bg);
    z-index: 10002;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(23, 23, 23, 0.1);
}

.ov-cart-drawer.is-open {
    transform: translateX(0);
}

.ov-cart-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--m-color-border-light);
}

.ov-cart-drawer__title {
    font-family: var(--m-font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--m-color-text);
    margin: 0;
    letter-spacing: -0.02em;
}

.ov-cart-drawer__close {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    border: 1px solid #e6e3dd;
    background: #ffffff;
    background-color: #ffffff;
    color: #171717;
    fill: #171717;
    stroke: #171717;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.ov-cart-drawer__close:hover {
    background: #f2f0eb;
    background-color: #f2f0eb;
    color: #171717;
    border-color: #cfcbc4;
}

.ov-cart-drawer__close svg {
    width: 20px;
    height: 20px;
}

.ov-cart-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
    -webkit-overflow-scrolling: touch;
}

.ov-cart-drawer__loading,
.ov-cart-drawer__empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--m-color-text-3);
    font-family: var(--m-font-body);
    font-size: 0.9375rem;
}

.ov-cart-drawer__empty svg {
    width: 48px;
    height: 48px;
    color: var(--m-color-border);
    margin-bottom: 1rem;
}

.ov-cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--m-color-border-light);
}

.ov-cart-item__image {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: var(--m-radius-small);
    overflow: hidden;
    background: var(--m-color-bg-alt);
}

.ov-cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ov-cart-item__details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ov-cart-item__name {
    font-family: var(--m-font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--m-color-text);
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ov-cart-item__name:hover {
    color: var(--m-accent);
}

.ov-cart-item__price {
    font-family: var(--m-font-body);
    font-size: 0.8125rem;
    color: var(--m-color-text-3);
}

.ov-cart-item__qty {
    font-family: var(--m-font-body);
    font-size: 0.75rem;
    color: var(--m-color-text-3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ov-cart-item__remove {
    align-self: flex-start;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: var(--m-color-text-3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
}

.ov-cart-item__remove:hover {
    color: var(--m-color-sale);
    background: rgba(225, 29, 72, 0.06);
}

.ov-cart-item__remove svg {
    width: 16px;
    height: 16px;
}

.ov-cart-drawer__footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--m-color-border-light);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ov-cart-drawer__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--m-font-body);
    font-size: 1rem;
    color: var(--m-color-text);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.ov-cart-drawer__checkout,
.ov-cart-drawer__cart {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    border-radius: var(--m-radius-button);
    font-family: var(--m-font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.ov-cart-drawer__checkout {
    background: var(--m-black);
    color: #fff;
    border: 1.5px solid var(--m-black);
}

.ov-cart-drawer__checkout:hover {
    background: #fff;
    color: var(--m-black);
    transform: translateY(-1px);
}

/* Astra mobile menu toggle arrow (sometimes visible next to nav items) */
html body:not(.wp-admin):not(.editor-styles-wrapper) .ast-menu-toggle {
    background: transparent !important;
    border: none !important;
    color: var(--m-color-text) !important;
    width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 0 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    border-radius: 50% !important;
    transition: background-color 0.2s, color 0.2s !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ast-menu-toggle:hover {
    background: var(--m-color-bg-alt) !important;
    color: var(--m-accent) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ast-menu-toggle .ast-icon.icon-arrow svg,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ast-menu-toggle .ast-arrow-svg {
    width: 16px !important;
    height: 16px !important;
    fill: currentColor !important;
    display: block !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ast-menu-toggle[aria-expanded="true"] .ast-icon.icon-arrow svg,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ast-menu-toggle[aria-expanded="true"] .ast-arrow-svg {
    transform: rotate(180deg) !important;
}

/* Mobile nav dropdown toggle — refined plus/minus expand icon */
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-mobile-nav .ast-menu-toggle {
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    margin-right: 6px !important;
    background: transparent !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 50% !important;
    color: var(--m-color-text) !important;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-mobile-nav .ast-menu-toggle:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-mobile-nav .ast-menu-toggle:focus {
    border-color: var(--m-accent) !important;
    color: var(--m-accent) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-mobile-nav .ast-menu-toggle .ast-icon.icon-arrow {
    width: 14px !important;
    height: 14px !important;
    position: relative !important;
    display: block !important;
    transform: none !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-mobile-nav .ast-menu-toggle .ast-icon.icon-arrow svg,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-mobile-nav .ast-menu-toggle .ast-icon.icon-arrow .ast-arrow-svg {
    display: none !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-mobile-nav .ast-menu-toggle .ast-icon.icon-arrow::before,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-mobile-nav .ast-menu-toggle .ast-icon.icon-arrow::after {
    content: '' !important;
    position: absolute !important;
    background: currentColor !important;
    transition: transform 0.25s ease, opacity 0.2s ease !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-mobile-nav .ast-menu-toggle .ast-icon.icon-arrow::before {
    width: 14px !important;
    height: 1.5px !important;
    top: 50% !important;
    left: 0 !important;
    transform: translateY(-50%) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-mobile-nav .ast-menu-toggle .ast-icon.icon-arrow::after {
    width: 1.5px !important;
    height: 14px !important;
    left: 50% !important;
    top: 0 !important;
    transform: translateX(-50%) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-mobile-nav .ast-menu-toggle[aria-expanded="true"] .ast-icon.icon-arrow::after {
    transform: translateX(-50%) rotate(90deg) !important;
    opacity: 0 !important;
}

.ov-cart-drawer__cart {
    background: transparent;
    color: var(--m-color-text);
    border: 1.5px solid var(--m-color-border);
}

.ov-cart-drawer__cart:hover {
    background: var(--m-black);
    color: #fff;
    border-color: var(--m-black);
    transform: translateY(-1px);
}

body.ov-cart-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .ov-cart-drawer { width: 100%; }
    .ov-cart-drawer__header,
    .ov-cart-drawer__body,
    .ov-cart-drawer__footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ============================================================
   OILVIVA VISIBILITY FIXES
   MesonArt base sets a global `a { color: var(--m-color-text) !important; }`
   that overrides explicitly-set light text on dark buttons/CTAs, making them
   invisible or unreadable. These overrides restore intended contrast.
   ============================================================ */

/* ---- Primary / dark CTA buttons: force light text ---- */
html body:not(.wp-admin):not(.editor-styles-wrapper) a.cp-btn--primary,
html body:not(.wp-admin):not(.editor-styles-wrapper) a.cp-btn--outline-light,
html body:not(.wp-admin):not(.editor-styles-wrapper) a.ov-btn-dark,
html body:not(.wp-admin):not(.editor-styles-wrapper) a.ab-cta-button,
html body:not(.wp-admin):not(.editor-styles-wrapper) a.ov-advisory-cta,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-final-cta a,
html body:not(.wp-admin):not(.editor-styles-wrapper) a.ovm-btn:not(.ovm-btn--light),
html body:not(.wp-admin):not(.editor-styles-wrapper) a.ovm-deal-btn,
html body:not(.wp-admin):not(.editor-styles-wrapper) a.ov-collection-custom__cta,
html body:not(.wp-admin):not(.editor-styles-wrapper) a.m-pill--dark,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-cart-drawer__checkout,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-thankyou a.ov-btn {
    color: #ffffff !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) a.cp-btn--primary:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) a.cp-btn--outline-light:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) a.ov-btn-dark:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) a.ab-cta-button:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) a.ov-advisory-cta:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-final-cta a:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) a.ovm-btn:not(.ovm-btn--light):hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) a.ovm-deal-btn:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) a.ov-collection-custom__cta:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) a.m-pill--dark:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-cart-drawer__checkout:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-thankyou a.ov-btn:hover {
    color: #171717 !important;
}

/* ---- Light-background / outline buttons: keep dark text ---- */
html body:not(.wp-admin):not(.editor-styles-wrapper) a.cp-btn--outline-dark,
html body:not(.wp-admin):not(.editor-styles-wrapper) a.z-hero-cta,
html body:not(.wp-admin):not(.editor-styles-wrapper) a.ovm-btn--light,
html body:not(.wp-admin):not(.editor-styles-wrapper) a.ov-shop-promo-btn {
    color: var(--m-color-text) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) a.cp-btn--outline-dark:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) a.z-hero-cta:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) a.ovm-btn--light:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) a.ov-shop-promo-btn:hover {
    color: #ffffff !important;
}

/* ---- Headings on dark hero / CTA backgrounds: force light text ---- */
html body:not(.wp-admin):not(.editor-styles-wrapper) .z-hero-title,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ovm-cta-title {
    color: #ffffff !important;
}

/* ---- Shop active tab: force light text on dark background ---- */
html body:not(.wp-admin):not(.editor-styles-wrapper) a.ov-shop-tab.is-active {
    color: var(--color-bg) !important;
}
html body:not(.wp-admin):not(.editor-styles-wrapper) a.ov-shop-tab.is-active:hover {
    color: var(--color-bg) !important;
}

/* ---- Footer: revert to intended warm-light background so links are readable ---- */
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-footer,
html body:not(.wp-admin):not(.editor-styles-wrapper) .site-footer.ov-footer,
html body:not(.wp-admin):not(.editor-styles-wrapper) #colophon.ov-footer {
    background: #F9F6F0 !important;
    background-color: #F9F6F0 !important;
    color: #2C2C2C !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-footer .ov-footer__title,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-footer .ov-footer__brand-desc,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-footer .ov-footer__copyright-text,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-footer .ov-footer__copyright-sub,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-footer .ov-footer__contact-list li {
    color: #888888 !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-footer .ov-footer__links a,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-footer .ov-footer__contact-list a {
    color: #2C2C2C !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-footer .ov-footer__links a:hover,
html body:not(.wp-admin):not(.editor-styles-wrapper) .ov-footer .ov-footer__contact-list a:hover {
    color: #B89B7B !important;
}

/* ---- My Account login form: centered, compact, styled ---- */
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce .woocommerce-form-login {
    max-width: 440px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: var(--m-color-bg);
    border: 1px solid var(--m-color-border-light);
    border-radius: var(--m-radius-card);
    box-shadow: var(--m-shadow-card);
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce .woocommerce-form-login h2,
html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce > h2 {
    font-size: 1.75rem !important;
    font-weight: 500 !important;
    text-align: center;
    margin-bottom: 1.5rem !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce .woocommerce-form-login .woocommerce-form-row {
    margin-bottom: 1.25rem;
    padding: 0;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce .woocommerce-form-login label {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--m-color-text-2);
    margin-bottom: 0.5rem;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce .woocommerce-form-login .password-input {
    display: block;
    width: 100%;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce .woocommerce-form-login input.input-text {
    width: 100% !important;
    max-width: 100%;
    border-radius: var(--m-radius-input) !important;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce .woocommerce-form-login .form-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce .woocommerce-form-login .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: none;
    cursor: pointer;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce .woocommerce-form-login .woocommerce-form__label-for-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--m-black);
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce .woocommerce-form-login .woocommerce-form-login__submit {
    width: 100%;
    margin-top: 0.5rem;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce .woocommerce-form-login .lost_password {
    text-align: center;
    margin: 1.25rem 0 0;
    font-size: 0.85rem;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce .woocommerce-form-login .lost_password a {
    color: var(--m-color-text-3) !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce .woocommerce-form-login .lost_password a:hover {
    color: var(--m-accent) !important;
}

@media (max-width: 480px) {
    html body:not(.wp-admin):not(.editor-styles-wrapper) .woocommerce .woocommerce-form-login {
        padding: 1.5rem;
        margin: 2rem 1rem;
    }
}
