:root {

    --font: 'Open Sans', Arial, sans-serif;
    --em: 16px;
    --line: 1.25;

    --max-width: 30rem;

    --margin: var(--em);
    --padding: var(--em);

    --color-background: white;

    --color-primary: hsl(198, 80%, 50%);

    --color-blue: hsl(203, 100%, 33%);
    --color-blue-light: hsl(203, 100%, 80%);
    --color-blue-dark: hsl(203, 100%, 20%);

    --color-grey: hsl(198, 5%, 33%);
    --color-grey-light: hsl(198, 5%, 66%);
    --color-grey-lighter: hsl(198, 5%, 96%);
    --color-grey-dark: hsl(198, 5%, 0%);

    --color-green: hsl(63, 76%, 37%);
    --color-green-dark: hsl(110, 75%, 27%);

    --color-yellow: hsl(40, 78%, 50%);

    --color-red: hsl(11, 87%, 50%);

    --box-shadow: 0 0 0.5rem rgba(0,0,0,0.1);

}

* {
    /* position: relative; */
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font, 'Open Sans', Arial, sans-serif) !important;
    font-size: var(--em, 16px) !important;
    line-height: var(--line, 1.25);
    background-color: var(--color-background, white);
    color: var(--color-grey, hsl(198, 5%, 33%));
    scrollbar-width: thin;
}

main {
    max-width: var(--max-width, 30rem);
    margin: 0 auto;
}

/* Headers */

h1,
h2,
h3,
h4,
h5,
h6 {
    --color: currentColor;
    --align: center;
    font-family: inherit;
    color: var(--color, currentColor);
    text-align: var(--align, center);
    line-height: 1;
    margin: 1rem 0;
}
h1 {
    font-weight: lighter;
    font-size: 1.25rem;
}
h2 {
    font-weight: lighter;
    font-size: 1.25rem;
}
h3 {
    font-weight: bold;
    font-size: 1.125rem;
}
h4 {
    font-weight: bold;
    font-size: 1.125rem;
}
h5 {
    font-weight: bold;
    font-size: 1rem;
}
h6 {
    font-weight: bold;
    font-size: 0.75rem;
    letter-spacing: 0.125rem;
    text-transform: uppercase;
}
.subheading {
    display: block;
    margin-top: 0.375rem;
    font-weight: normal;
    font-size: 1rem;
    color: var(--color-grey-light);
    text-align: center;
}

p {
    --hypens: none;
    hyphens: var(--hypens, none);
    margin: 1rem 0;
    font-size: inherit;
    line-height: 1.25;
}

a {
    --color: var(--color-primary);
    color: var(--color, currentColor);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

ins {
    text-decoration: none;
}

/* Form */

form {
    margin: 0;
    padding: 0;
    border: none;
}

button,
input,
select,
option,
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font: inherit !important;
    outline: none;
    display: block;
    color: inherit;
    color: var(--color-primary);
    background-color: transparent;
    border: none;
    border-bottom: thin solid lightgrey;
    border-radius: 0;
    box-sizing: border-box;
    box-shadow: none;
    padding: 1rem 0;
    margin: 0;
    width: 100%;
    min-height: 3rem;
    transition: 0.25s;
}

input[type="radio"] {
    all: unset;
    display: inline-block;
    width: 1rem;
    height: 1rem;
    box-sizing: border-box;
    border: thin solid lightgrey;
    border-radius: 1rem;
    transition: 0.25s;
}
input[type="radio"]:checked {
    border: 0.333rem solid var(--color-primary);
}

select {
    white-space: normal;
    padding-right: 2.25rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 0 24 24' width='24'%3E%3Cpath d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z' fill='%2300ADEF'/%3E%3Cpath d='M0 0h24v24H0V0z' fill='none'/%3E%3C/svg%3E");
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center right;
}

button {
    width: auto;
    margin: 0 auto;
    opacity: 0.9;
    cursor: pointer;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--color-primary);
}
input[type="radio"]:focus {
    /*border: none !important;*/
}
button:focus {
    opacity: 1;
}

input:invalid,
textarea:invalid {
    color: var(--color-red);
}
select:invalid {
    color: var(--color-grey-light);
}

::placeholder {
    font-weight: lighter;
    color: var(--color-grey-light);
}

label {
    display: block;
    font-weight: bold;
    font-size: 0.75rem;
    line-height: 1;
}

/* Margin */

.margin {
    margin: var(--margin, 1rem);
}
.margin-top {
    margin-top: var(--margin, 1rem);
}
.margin-bottom {
    margin-bottom: var(--margin, 1rem);
}
.margin-top-bottom {
    margin-top: var(--margin, 1rem);
    margin-bottom: var(--margin, 1rem);
}
.margin-left {
    margin-left: var(--margin, 1rem);
}
.margin-right {
    margin-right: var(--margin, 1rem);
}
.margin-left-right {
    margin-left: var(--margin, 1rem);
    margin-right: var(--margin, 1rem);
}

/* Padding */

.padding {
    padding: var(--padding, 1rem);
}
.padding-top {
    padding-top: var(--padding, 1rem);
}
.padding-bottom {
    padding-bottom: var(--padding, 1rem);
}
.padding-top-bottom {
    padding-top: var(--padding, 1rem);
    padding-bottom: var(--padding, 1rem);
}
.padding-left {
    padding-left: var(--padding, 1rem);
}
.padding-right {
    padding-right: var(--padding, 1rem);
}
.padding-left-right {
    padding-left: var(--padding, 1rem);
    padding-right: var(--padding, 1rem);
}

/* Grid */

.grid {
    --columns: 1fr 1fr;
    --rows: auto;
    --gap: 0;
    display: grid;
    grid-template-columns: var(--columns, 1fr 1fr);
    grid-template-rows: var(--rows, auto);
    grid-gap: var(--gap, 0);
}


/* Flex */

.flex {
    --justify: center;
    --align: center;
    --flow: row;
    display: flex;
    flex-flow: var(--flow, row);
    justify-content: var(--justify, center);
    align-items: var(--align, center);
}

/* Aligns */

.align {
    --align: center;
    text-align: var(--align, center);
}
.align-left {
    text-align: left;
}
.align-center {
    text-align: center;
}
.align-right {
    text-align: right;
}
.align-justify {
    text-align: justify;
}

.align-middle {
    vertical-align: middle;
}

/* Backgrounds */

.bg {
    --bg-color: transparent;
    --color: currentColor;
    background-color: var(--bg-color, transparent);
    color: var(--color, currentColor);
}

.bg-white {
    background-color: white;
}
.bg-primary {
    background-color: var(--color-primary);
    color: white;
}

/* Colors */

.color {
    --color: currentColor;
    color: var(--color);
}
.color-primary {
    --color: var(--color-primary);
}
.color-secondary {
    --color: var(--color-blue-dark);
}
.color-grey {
    --color: var(--color-grey);
}
.color-grey-light {
    --color: var(--color-grey-light);
}

/* Font */

.font {
    --font-weight: normal;
    --font-style: normal;
    --font-size: 1rem;
    font-weight: var(--font-weight);
    font-style: var(--font-style);
    font-size: var(--font-size);
}
.font-weight-bold {
    --font-weight: bold;
}
.font-weight-light {
    --font-weight: light;
}
.font-weight-lighter {
    --font-weight: lighter;
}
.font-style-italic {
    --font-style: italic;
}
.font-size-smaller {
    --font-size: 0.75rem;
}
.font-size-small {
    --font-size: 0.875rem;
}
.font-size-100 {
    --font-size: 1rem;
}
.font-size-big {
    --font-size: 1.125rem;
}
.font-size-bigger,
.font-size-125 {
    --font-size: 1.25rem;
}
.font-size-150 {
    --font-size: 1.5rem;
}
.font-size-175 {
    --font-size: 1.75rem;
}
.font-size-2x,
.font-size-200 {
    --font-size: 2rem;
}
.font-size-3x,
.font-size-300 {
    --font-size: 3rem;
}
.font-size-4x,
.font-size-400 {
    --font-size: 4rem;
}

/* Borders */

.border-top {
    border-top: thin solid hsla(0, 0%, 0%, 0.1);
}
.border-bottom {
    border-bottom: thin solid hsla(0, 0%, 0%, 0.1);
}
.border-top-bottom {
    border-top: thin solid hsla(0, 0%, 0%, 0.1);
    border-bottom: thin solid hsla(0, 0%, 0%, 0.1);
}
.border {
    border: thin solid hsla(0, 0%, 0%, 0.1);
}

/*  */

.full-width {
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
}

/*  */

.sticky {
    position: sticky;
    top: 1rem;
    z-index: 1;
}

/*  */

.rounded {
    --radius: 1rem;
    border-radius: var(--radius, 1rem);
    overflow: hidden;
}

/* Images */

picture.square {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
}
picture.square img {
    --fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: var(--fit, cover);
}

/* Buttons */

.button {
    display: inline-block;
    padding: 1rem 2rem;
    /*width: 100%;*/
    border: none;
    /*outline: none;*/
    border-radius: 0.5rem;
    background-color: var(--color-primary);
    /*background-color: var(--color-green-dark);*/
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    transition: 0.5s;
    cursor: pointer;
}
.button:disabled {
    background-color: var(--color-grey-light);
    pointer-events: none;
}
.button.loading {
    /*background-color: var(--color-blue-light);
    background-color: var(--color-green-dark);*/
    animation: pulse 1s linear infinite alternate;
    pointer-events: none;
}
@keyframes pulse {
    0% {  }
    100% { color: transparent; }
}
.button.red {
    background-color: var(--color-red);
}
.button.yellow {
    background-color: var(--color-yellow);
}
.button.green {
    background-color: var(--color-green);
}

/* Abas */

details {
    padding: var(--padding);
    border-top: thin solid hsla(0, 0%, 0%, 0.1);
}
* > details:last-of-type {
    border-bottom: thin solid hsla(0, 0%, 0%, 0.1);
}
summary {
    outline: none;
    font-weight: lighter;
    font-size: 1.25rem;
    color: var(--color-primary);
    cursor: pointer;
}
summary h2,
summary h3 {
    display: inline-block;
    margin: 0;
    font-weight: inherit;
    font-size: inherit;
    color: inherit;
}
details[open] summary {
    font-weight: bold;
}

/* Fade */

.fade {
    position: absolute;
    top: 0;
    width: 1rem;
    height: 100%;
}
.fade-left {
    left: 0;
    background-image: linear-gradient(90deg, hsl(198,0%,100%), hsla(198,0%,100%,0));
}
.fade-right {
    right: 0;
    background-image: linear-gradient(-90deg, hsl(198,0%,100%), hsla(198,0%,100%,0));
}

/* Shadow */

.shadow {
    box-shadow: var(--box-shadow);
    transition: box-shadow 0.5s;
}


/* Ripple */

.ripple {
    position: relative;
    overflow: hidden;
    transform: translate3d(0,0,0);
}
.ripple:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle,#000 10%,transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10,10);
    opacity: 0;
    transition: transform .5s,opacity 1s;
}
.ripple:active:after {
    transform: scale(0,0);
    opacity: .2;
    transition: 0s
}

/* No Wrap */

.no-wrap {
    white-space: nowrap;
}

/* Hide */

.hide {
    display: none;
}

/* Wait */

.wait {
    animation: pulse 0.5s linear infinite alternate;
    pointer-events: none;
}

/* Icon */

svg.icon {
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
}

/* Beadcrumbs */

nav.breadcrumbs {
    font-size: 0.75rem;
}
nav.breadcrumbs ol {
    padding: 0;
}
nav.breadcrumbs li {
    display: inline-block;
    list-style: none;
}
nav.breadcrumbs li:not(:last-child):after {
    content: '>';
    margin: 0 0.25rem;
}
nav.breadcrumbs a {
    color: currentColor;
}



/* PRODUCT ONLY */

.product-price {
    align-self: center;
    margin: 3.5rem 0 4rem 0;
}

.product-variation {
    --columns: 1fr;
}

.product-now {
    margin: 2rem 0 1rem 0;
}
.product-now h2 {
    text-align: inherit;
    margin-top: 0;
}
.product-now p {
    margin-bottom: 0;
}

.product-gallery {
    display: block;
    /* height: 0; */
    /* padding-bottom: 50%; */
    /* overflow: hidden; */
}

.product-gallery img {
    /* position: absolute; */
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

/* Customização do WooCommerce */

form.cart .quantity,
form.cart .reset_variations {
    display: none !important;
}

.variations {
    width: 100%;
}
.variations td {
    display: block;
}

.variations_form label {
    margin-top: 2rem;
}

.single_add_to_cart_button {
    font-weight: bold;
    font-size: 1rem;
    line-height: 1;
    text-transform: uppercase;
    color: white;
    background-color: var(--color-green-dark);
    margin: 3rem 0 0 0;
    padding: 1rem 3rem;
    height: auto;
    border: none;
    border-radius: 1.5rem;
    opacity: 0.9;
    z-index: 1;
    cursor: auto;
}
form.cart:valid .single_add_to_cart_button:not(:disabled):hover {
    opacity: 1;
    cursor: pointer;
}
/* fixed */
/*.single_add_to_cart_button {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100% - 2rem);
}*/

/* Tipo de agendamento (que vem no padrão gform - mas não deveria) */

.escolha_agendamento {
    margin-top: 2rem;
}
.escolha_agendamento ul {
    margin: 0;
    padding: 0;
}
.escolha_agendamento li {
    float: none !important;
    margin: 1rem 0 !important;
    list-style: none;
}
.escolha_agendamento label {
    display: inline-block;
    margin-top: 0;
    vertical-align: top;
}

/* 'Desktop' */

@media (min-width: 45rem) {

    :root {
        --max-width: 64rem;
    }

    main {
        max-width: var(--max-width, 64rem);
    }

    .product-price {
        margin-bottom: 3rem;
    }

    .product-price ins {
        --font-size: 4rem;
    }

    .product-variation {
        --columns: 1fr 1fr;
    }

    .product-gallery {
        margin: var(--margin);
    }
    
    .product-now {
        margin: 0;
        text-align: left;
    }

}

/* /PRODUCT ONLY */