/******************************************************************

     ██████╗ ██████╗ ██╗      ██████╗ ██╗   ██╗██████╗ ███████╗
    ██╔════╝██╔═══██╗██║     ██╔═══██╗██║   ██║██╔══██╗██╔════╝
    ██║     ██║   ██║██║     ██║   ██║██║   ██║██████╔╝███████╗
    ██║     ██║   ██║██║     ██║   ██║██║   ██║██╔══██╗╚════██║
    ╚██████╗╚██████╔╝███████╗╚██████╔╝╚██████╔╝██║  ██║███████║
     ╚═════╝ ╚═════╝ ╚══════╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝╚══════╝

 ******************************************************************/



    .responsiville {
        /* Maison brand palette, sampled from the B2C Figma file. */
        --nvm-ink                     :  35,  31,  32;  /* #231F20 primary text, logo   */
        --nvm-espresso                :  23,  18,  15;  /* #17120F deep background      */
        --nvm-gold                    : 194, 142,  68;  /* #C28E44 accent               */
        --nvm-sand                    : 236, 234, 229;  /* #ECEAE5 warm background      */
        --nvm-sand-dark               : 229, 227, 222;  /* #E5E3DE warm background, alt */
        --nvm-silver                  : 178, 178, 178;  /* #B2B2B2 borders              */
        --nvm-stone                   : 127, 127, 127;  /* #7F7F7F secondary text       */

        --nvm-red                     : 202,  28,  37;
        --nvm-orange                  : 236, 185, 123;
        --nvm-green                   : 183, 191,  29;
        --nvm-blue                    :  12, 155, 212;
        --nvm-white                   : 255, 255, 255;
        --nvm-gray-1                  : 240, 240, 240;
        --nvm-gray-2                  : 210, 210, 210;
        --nvm-gray-3                  : 180, 180, 180;
        --nvm-gray-4                  : 150, 150, 150;
        --nvm-gray-5                  : 120, 122, 122;
        --nvm-gray-6                  :  92,  92,  92;
        --nvm-gray-7                  :  62,  62,  62;
        --nvm-gray-8                  :  31,  31,  31;
        --nvm-gray-9                  :  15,  15,  15;
        --nvm-black                   :   0,   0,   0;

        --nvm-color-ink               : rgb(var(--nvm-ink));
        --nvm-color-espresso          : rgb(var(--nvm-espresso));
        --nvm-color-gold              : rgb(var(--nvm-gold));
        --nvm-color-sand              : rgb(var(--nvm-sand));
        --nvm-color-sand-dark         : rgb(var(--nvm-sand-dark));
        --nvm-color-silver            : rgb(var(--nvm-silver));
        --nvm-color-stone             : rgb(var(--nvm-stone));

        --nvm-color-red               : rgb(var(--nvm-red));
        --nvm-color-orange            : rgb(var(--nvm-orange));
        --nvm-color-green             : rgb(var(--nvm-green));
        --nvm-color-blue              : rgb(var(--nvm-blue));
        --nvm-color-white             : rgb(var(--nvm-white));
        --nvm-color-gray-1            : rgb(var(--nvm-gray-1));
        --nvm-color-gray-2            : rgb(var(--nvm-gray-2));
        --nvm-color-gray-3            : rgb(var(--nvm-gray-3));
        --nvm-color-gray-4            : rgb(var(--nvm-gray-4));
        --nvm-color-gray-5            : rgb(var(--nvm-gray-5));
        --nvm-color-gray-6            : rgb(var(--nvm-gray-6));
        --nvm-color-gray-7            : rgb(var(--nvm-gray-7));
        --nvm-color-gray-8            : rgb(var(--nvm-gray-8));
        --nvm-color-gray-9            : rgb(var(--nvm-gray-9));
        --nvm-color-black             : rgb(var(--nvm-black));

        --nvm-color-text              : var(--nvm-color-ink);
        --nvm-color-text-link         : var(--nvm-color-ink);
        --nvm-color-text-selection    : var(--nvm-color-white);
        --nvm-color-text-selection-bg : var(--nvm-color-ink);

        --nvm-color-page-background   : var(--nvm-color-sand);
    }



    /* Every artboard in the Figma file sits on #ECEAE5 — Homepage, Category,
       Product, Contact, 404, all of them. It is the page background of the
       whole site, not something a section paints, so it belongs on the body.
       Sections that need white paint it themselves. */

    .responsiville {
        background-color: var(--nvm-color-page-background);
    }



    /*
        WordPress and WooCommerce both emit .screen-reader-text for labels
        meant only for assistive technology — "Original price was: 300,00 €"
        beside a discounted price, for instance. The theme never defined the
        class, so those strings were rendering as visible text on the page.

        This is the standard WordPress implementation: off-screen but still
        readable by a screen reader, unlike display: none, and brought back
        into view when it receives focus, so skip links still work.
    */

    .responsiville .screen-reader-text {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(1px, 1px, 1px, 1px);
        clip-path: inset(50%);
        white-space: nowrap;
        border: 0;
        word-wrap: normal !important;
    }

    .responsiville .screen-reader-text:focus {
        display: block;
        top: 5px;
        left: 5px;
        z-index: 100000;
        width: auto;
        height: auto;
        padding: 15px 23px 14px;
        clip: auto !important;
        clip-path: none;
        background-color: var(--nvm-color-white);
        color: var(--nvm-color-ink);
        font-size: 14px;
        line-height: normal;
        text-decoration: none;
    }



/***************************************************************************

    ██╗   ██╗ █████╗ ██████╗ ██╗ █████╗ ██████╗ ██╗     ███████╗███████╗
    ██║   ██║██╔══██╗██╔══██╗██║██╔══██╗██╔══██╗██║     ██╔════╝██╔════╝
    ██║   ██║███████║██████╔╝██║███████║██████╔╝██║     █████╗  ███████╗
    ╚██╗ ██╔╝██╔══██║██╔══██╗██║██╔══██║██╔══██╗██║     ██╔══╝  ╚════██║
     ╚████╔╝ ██║  ██║██║  ██║██║██║  ██║██████╔╝███████╗███████╗███████║
      ╚═══╝  ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝╚═╝  ╚═╝╚═════╝ ╚══════╝╚══════╝╚══════╝
                                                                        
 ****************************************************************************/


   
    /*
        The content column.

        Every section of the design puts its contents in a 1440 column centred
        in the 1920 artboard — a 240 inset each side. Blocks that paint a
        background the full width of the screen cannot use .panel for this,
        because .panel centres a box AND adds its own padding inside it, so
        their contents would sit 50px further in than everything else.

        --nvm-content-inset is that margin, as one value. Any block that
        bleeds full width uses it for its horizontal padding and lines up with
        every other section automatically. The floors match .panel's own
        padding at each breakpoint, so nothing ever touches the edge of a
        small screen.
    */

    .responsiville {
        --nvm-panel-wide-width   : 1920px;  /* The width of the wide panel element */
        --nvm-panel-xlarge-width : 1680px;  /* The width of the xlarge panel element */
        --nvm-panel-medium-width : 1440px;  /* The width of the medium panel element */
        --nvm-panel-normal-width : 1280px;  /* The width of the normal panel element */
        --nvm-panel-narrow-width : 1024px;  /* The width of the narrow panel element */
        --nvm-panel-small-width  :  768px;  /* The width of the very narrow panel element */
    }

    /*
        The content column lives here rather than on .responsiville, and the
        difference is not cosmetic.

        .responsiville is on the body element; the breakpoint classes are on
        html. A declaration on body always beats one inherited from html, so a
        base value set on .responsiville could never be overridden by .tablet
        or .laptop — the inset stayed at its smallest value on every screen
        below 1440, which is why the laptop layout hugged the edge.

        .small is on html like the rest, and is always present: the bootstrap
        script adds every breakpoint up to the current one, starting there.
    */

    .small {
        --nvm-content-width      : 1440px;  /* The design's content column */
        --nvm-content-inset      : max( 10px, calc( ( 100vw - var(--nvm-content-width) ) / 2 ) );

        --nvm-base-font-size     : 16px;  /* The body element base font size */
        --nvm-base-line-height   : 1.5;     /* The default line height of all elements */
        --nvm-text-line-height   : 1.5;     /* The default line height of text elements */
        --nvm-heading-line-height: 1.3;     /* The line height of heading elements */

        --nvm-text-rhythm        : 20px;    /* Vertical margins between text elements */
        --nvm-grid-gutter        : 10px;    /* Paddings between columns, the grid gutters */
        --nvm-grid-rhythm        : 30px;    /* Vertical margins between major grid sections */
    }

    .tablet {
        --nvm-content-inset      : max( 30px, calc( ( 100vw - var(--nvm-content-width) ) / 2 ) );

        --nvm-base-font-size     : 17px;  /* The body element base font size */
        --nvm-base-line-height   : 1.5;     /* The default line height of all elements */
        --nvm-text-line-height   : 1.5;     /* The default line height of text elements */
        --nvm-heading-line-height: 1.25;    /* The line height of heading elements */

        --nvm-text-rhythm        : 25px;  /* Vertical margins between text elements */
        --nvm-grid-gutter        : 10px;    /* Paddings between columns, the grid gutters */
        --nvm-grid-rhythm        : 45px;  /* Vertical margins between major grid sections */
    }

    .laptop {
        --nvm-content-inset      : max( 50px, calc( ( 100vw - var(--nvm-content-width) ) / 2 ) );

        --nvm-base-font-size     : 18px;  /* The body element base font size */
        --nvm-base-line-height   : 1.5;     /* The default line height of all elements */
        --nvm-text-line-height   : 1.5;     /* The default line height of text elements */
        --nvm-heading-line-height: 1.2;     /* The line height of heading elements */

        --nvm-text-rhythm        : 30px;    /* Vertical margins between text elements */
        --nvm-grid-gutter        : 10px;    /* Paddings between columns, the grid gutters */
        --nvm-grid-rhythm        : 60px;    /* Vertical margins between major grid sections */
    }



 /***************************************************

    ███████╗ ██████╗ ███╗   ██╗████████╗███████╗
    ██╔════╝██╔═══██╗████╗  ██║╚══██╔══╝██╔════╝
    █████╗  ██║   ██║██╔██╗ ██║   ██║   ███████╗
    ██╔══╝  ██║   ██║██║╚██╗██║   ██║   ╚════██║
    ██║     ╚██████╔╝██║ ╚████║   ██║   ███████║
    ╚═╝      ╚═════╝ ╚═╝  ╚═══╝   ╚═╝   ╚══════╝
                                                
 ***************************************************/



    .responsiville {
        --nvm-font-serif     : Baskerville, Georgia, serif;
        --nvm-font-sans-serif: 'Hauora', 'Segoe UI', Arial, sans-serif;
        --nvm-font-display   : 'Hauora', 'Segoe UI', Arial, sans-serif;
        --nvm-font-monospace : Consolas, 'Courier New', monospace;
        --nvm-font-icons     : 'Responsiville icons';
    }



/******************************************************************

    ██╗     ███████╗███╗   ██╗ ██████╗████████╗██╗  ██╗███████╗
    ██║     ██╔════╝████╗  ██║██╔════╝╚══██╔══╝██║  ██║██╔════╝
    ██║     █████╗  ██╔██╗ ██║██║  ███╗  ██║   ███████║███████╗
    ██║     ██╔══╝  ██║╚██╗██║██║   ██║  ██║   ██╔══██║╚════██║
    ███████╗███████╗██║ ╚████║╚██████╔╝  ██║   ██║  ██║███████║
    ╚══════╝╚══════╝╚═╝  ╚═══╝ ╚═════╝   ╚═╝   ╚═╝  ╚═╝╚══════╝
                                                            
 ******************************************************************/



    .responsiville {
        --nvm-length-small:  calc(0.5*var(--nvm-grid-rhythm));
        --nvm-length-medium: calc(1.0*var(--nvm-grid-rhythm));
        --nvm-length-normal: calc(1.5*var(--nvm-grid-rhythm));
        --nvm-length-large:  calc(2.0*var(--nvm-grid-rhythm));
        --nvm-length-xlarge: calc(2.5*var(--nvm-grid-rhythm));
    }
