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

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

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



    .responsiville .nvm-button,
    .responsiville input[type="button"].nvm-button,
    .responsiville input[type="submit"].nvm-button,
    .responsiville input[type="reset"].nvm-button {
        color: var(--nvm-color-white);
        background: var(--nvm-color-gray-6);
        transition: 0.2s background-color ease-in, 0.2s color ease-in;
        box-shadow: 0 0.2em 0 var(--nvm-color-black);
    }

    .responsiville .nvm-button:hover,
    .responsiville input[type="button"].nvm-button:hover,
    .responsiville input[type="submit"].nvm-button:hover,
    .responsiville input[type="reset"].nvm-button:hover {
        color: var(--nvm-color-gray-6);
        background: var(--nvm-color-gray-2);
        box-shadow: 0 0.2em 0 var(--nvm-color-gray-6);
    }

    .responsiville input[type="button"].nvm-button:active,
    .responsiville input[type="submit"].nvm-button:active,
    .responsiville input[type="reset"].nvm-button:active,
    .responsiville .nvm-button:focus,
    .responsiville input[type="button"].nvm-button:focus,
    .responsiville input[type="submit"].nvm-button:focus,
    .responsiville input[type="reset"].nvm-button:focus {
        color: var(--nvm-color-black);
        box-shadow: 0 0.2em 0 var(--nvm-color-gray-2);
    }

    .responsiville .nvm-button:active:hover,
    .responsiville input[type="button"].nvm-button:active:hover,
    .responsiville input[type="submit"].nvm-button:active:hover,
    .responsiville input[type="reset"].nvm-button:active:hover,
    .responsiville .nvm-button:focus:hover,
    .responsiville input[type="button"].nvm-button:focus:hover,
    .responsiville input[type="submit"].nvm-button:focus:hover,
    .responsiville input[type="reset"].nvm-button:focus:hover {
        color: var(--nvm-color-black);
        box-shadow: 0 0.2em 0 var(--nvm-color-gray-6);
    }


    /* The outline button of the design: no fill, a hairline border in the ink
       colour and a 4px radius, 270x40 at its smallest. The design uses it for
       the main call to action on the 404 page and on every product card, so it
       lives here rather than as inline styles on the one page.

       The base `.button` in responsiville.moressette.css sets `border: none`
       and a 3em height, hence the explicit border and height below. It is laid
       out as a flex box so that an icon can sit next to the label, as in the
       design, without the markup changing. */

    .responsiville .nvm-button-outline,
    .responsiville input[type="button"].nvm-button-outline,
    .responsiville input[type="submit"].nvm-button-outline,
    .responsiville input[type="reset"].nvm-button-outline {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-width: 270px;
        max-width: 100%;
        height: 40px;
        line-height: 1;
        padding: 0 20px;
        color: var(--nvm-color-ink);
        background: transparent;
        border: 1px solid var(--nvm-color-ink);
        border-radius: 4px;
        box-shadow: none;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        transition: 0.2s background-color ease-in, 0.2s color ease-in;
    }

    .responsiville .nvm-button-outline:hover,
    .responsiville input[type="button"].nvm-button-outline:hover,
    .responsiville input[type="submit"].nvm-button-outline:hover,
    .responsiville input[type="reset"].nvm-button-outline:hover {
        color: var(--nvm-color-white);
        background: var(--nvm-color-ink);
        box-shadow: none;
    }

    .responsiville .nvm-button-outline:focus,
    .responsiville input[type="button"].nvm-button-outline:focus,
    .responsiville input[type="submit"].nvm-button-outline:focus,
    .responsiville input[type="reset"].nvm-button-outline:focus {
        color: var(--nvm-color-white);
        background: var(--nvm-color-ink);
        box-shadow: none;
    }



    /* The design puts a small house to the left of the label. It is a mask and
       not inline markup, so that it follows the button's text colour on hover
       and so that the wysiwyg cannot strip it the way it would an inline
       <svg>. Add it with `nvm-button-home` next to `nvm-button-outline`. */

    .responsiville .nvm-button-home::before {
        content: "";
        flex: none;
        width: 14px;
        height: 15px;
        background: currentColor;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 15'%3E%3Cpath d='M7 0 0 5.4v1.9l7-5.4 7 5.4V5.4zM1.8 7.6V15h3.6v-4.1h3.2V15h3.6V7.6L7 3.8z'/%3E%3C/svg%3E") center / contain no-repeat;
                mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 15'%3E%3Cpath d='M7 0 0 5.4v1.9l7-5.4 7 5.4V5.4zM1.8 7.6V15h3.6v-4.1h3.2V15h3.6V7.6L7 3.8z'/%3E%3C/svg%3E") center / contain no-repeat;
    }


    /* `.responsiville .text .button` in theme.typography.css zeroes the bottom
       border, so that a link inside a text block does not keep its underline
       once it is styled as a button. On a filled button nothing shows; on this
       one it takes the bottom edge away and the outline is left open. Named
       with both classes so it outranks that rule wherever the two load. */

    .responsiville .text .button.nvm-button-outline,
    .responsiville .text .button.nvm-button-outline:hover {
        border-bottom-width: 1px;
        border-bottom-style: solid;
    }
