/* ============================================================
   LAYERS DECLARATION (IMPORTANT!)
============================================================ */
@layer reset, tokens, base, layout, components,woocommerce, utilities, animations, overrides;

/* ============================================================
   1. RESET LAYER
   - normalize basics
   - include Bricks-specific resets
============================================================ */

    /*  Use a more intuitive box-sizing model. */
    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    /* Remove default margin for consistent baseline spacing. */
    * {
        margin: 0;
    }

    /*  Set accessible line-height and text rendering. */
    body {
        line-height: 1.5;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    /* Make media elements block-level and responsive by default. */
    img,
    picture,
    video,
    canvas,
    svg {
        display: block;
        max-width: 100%;
    }

    /* Remove default font styling from form controls. */
    input,
    button,
    textarea,
    select {
        font: inherit;
        color: inherit;
    }

    /* Prevent text overflow in text blocks and headings. */
    p,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        overflow-wrap: break-word;
    }

    /* Improve text wrapping for better typography (progressive enhancement). */
    h1, h2, h3, h4 {
        text-wrap: balance;
    }
    p {
        text-wrap: pretty;
    }

    /*  Remove default list styles for semantic, unstyled lists. */
    ul:where([class]),
    ol:where([class]) {
        list-style: none;
        padding: 0;
    }

    /* Remove default button styling for complete control. */
    button {
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
    }

    /* Set a sensible minimum height for textareas. */
    textarea:not([rows]) {
        min-height: 10em;
    }

    /*  Reset anchor tags to inherit color and remove default underline. */
    a {
        color: inherit;
        text-decoration: none;
    }

    /*  Target all Bricks-generated attribute selectors with a low-specificity reset. */
    /* This ensures your foundation overrides Bricks' most generic defaults. */
    :where([class*="brxe-"]) {
        box-sizing: border-box;
    }
    
    /* Reset for mouse users */
    /*.brx-body a:focus:not(:focus-visible) {
        outline: none;
        box-shadow: none;
        background-color: transparent;
        transform: none;
    }
*/
    
    /* Base focus-visible for all devices */
    .brx-body a:focus-visible {
        outline: 2px solid var(--cfprimary);
        outline-offset: 3px;
        border-radius: var(--cf-radius-sm);
        background-color: var(--cfprimary-10);
        transition: all var(--cf-anim-speed) var(--cf-anim-ease);
    }
    
    /* Mobile focus (768px and below) */
    @media (max-width: 768px) {
        .brx-body a:focus-visible {
            outline: none;
            box-shadow: 
                0 0 0 3px var(--cfprimary-l-2),
                0 0 0 6px var(--cfprimary-20);
            background-color: var(--cfprimary-10);
            border-radius: var(--cf-radius-md);
            transform: translateY(-2px);
        }
    }
    
    /* === OTHER INTERACTIVE ELEMENTS (Consolidated) === */
    .brx-body button:focus-visible,
    .brx-body input:focus-visible,
    .brx-body textarea:focus-visible,
    .brx-body select:focus-visible {
        outline: 2px solid var(--cfprimary);
        outline-offset: 2px;
        border-radius: var(--cf-radius-sm);
    }
    
    @media (max-width: 768px) {
        .brx-body button:focus-visible,
        .brx-body input:focus-visible,
        .brx-body textarea:focus-visible,
        .brx-body select:focus-visible {
            outline: none;
            box-shadow: 0 0 0 3px var(--cfprimary-30);
            background-color: var(--cfprimary-5);
        }
    }
    /* Footer Address is italics by default- so change to normal */
    address{
        font-style: normal;
    }
    
    
    
     
/* ============================================================
   2. TOKENS LAYER (DESIGN SYSTEM VARIABLES)
============================================================ */
    
    
    }
/* ============================================================
    BASE LAYER
   - base element defaults
   - typography styling
   - body, h1-h6, p, etc.
============================================================ */
html{
    font-size: 62.5%;
}