/*
Theme Name: QRFood
Description: Theme created by Leandro Berg (fullstack development - http://virtuemasters.com.br).
Version: 4.4
Author: VIRTUEMASTERS
Author URI: https://virtuemasters.com.br
*/

/* GENERAL */

body {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    line-height: 30px;
    font-weight: 400;
}

.wrapper,
header .top > .wp-block-group__inner-container,
header .main > .wp-block-group__inner-container,
footer > .wp-block-group > .wp-block-group__inner-container,
section .wp-block-group__inner-container,
section .wp-block-cover__inner-container {
    max-width: 1160px;
    padding: 0 20px;
    margin: auto;
}

section,
.wp-block-cover {
    overflow: hidden;
    position: relative;
    padding: 80px 0;
}

section > .wp-block-cover__inner-container > .wp-block-columns,
section > .wp-block-group__inner-container > .wp-block-columns {
	gap: 100px;
}

p {
    margin-bottom: 22px;
}

img {
    max-width: 100%;
    height: auto;
}

iframe,
video,
audio {
    max-width: 100%;
    border-radius: 5px;
}

b,
strong {
    font-weight: 700;
}

em {
    font-style: italic;
}

del {
    text-decoration: overline;
}

/* LINKS */

a {
    color: var(--red);
    display: inline-block;
}

a:hover,
a:active,
a:focus {
    text-decoration: none;
    color: var(--hover);
}

.current-menu-item a,
.current-page-ancestor a {
    font-weight: 700;
    color: var(--hover);
}

a.permalink {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 100;
}

/* GRID - block */

.is-layout-grid {
    gap: 40px;
    margin: 60px 0;
}

.is-layout-grid .wp-block-group__inner-container {
    padding: 0;
}

/* CARDS - grid */

.cards.is-layout-grid {
	gap: 40px;
}

.cards.is-layout-grid > div {
    background-color: white;
    border: 1px solid var(--gray);
    border-radius: 5px;
}

.cards.is-layout-grid h3,
.cards.is-layout-grid p {
    padding: 0 30px;
}

.cards .wp-block-image img {
	width: 100%;
}

/* BUTTONS - block */

button,
.wp-block-button a,
a.button,
form input[type=submit],
header .main .button a {
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 30px;
    padding: 10px 20px;
    background: var(--red);
    color: white;
    cursor: pointer;
    border: none;
}

button:hover,
.wp-block-button a:hover,
a.button:hover,
form input[type=submit]:hover,
header .main .button a:hover {
    transform: scale(1.05);
}

button:disabled {
	display: none;
}

.wp-block-button .has-white-background-color {
    color: var(--dark-sea);
}

.wp-block-button .has-wood-background-color {
    background: var(--wood);
    color: var(--dark-sea);
}

/* FORM */

form.loading > * {
    opacity: 0.1;
    pointer-events: none;
}

form.loading:before {
    content: 'carregando informações...';
    position: fixed;
    left: calc(50% - 80px);
    top: calc(50vh - 10px);
    z-index: 9999;
    font-weight: 700;
}

form > fieldset {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin-bottom: 20px;
}

form > fieldset p {
    margin-bottom: 20px;
}

form > fieldset p a {
    color: var(--red) !important;
}

form > fieldset > legend {
	margin-bottom: 30px;
}

form .form-field,
form p {
    min-width: 100%;
    min-width: 100%;
    margin: 0;
}

form .form-field.flex {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
}

form .form-field.flex > * {
    flex: 1;
}

form .form-field.flex label {
    min-width: 100%;
}

form .form-field input[type=text],
form .form-field input[type=email],
form .form-field input[type=number],
form .form-field input[type=date],
form .form-field select,
form > p input[type=text],
form > p input[type=password] {
    width: calc(100% - 32px);
    font-size: 18px;
    padding: 15px;
    border: 1px solid var(--red);
    border-radius: 5px;
}

form input:invalid,
form select:invalid,
form input.invalid,
form select.invalid {
    color: var(--red);
}

form .form-field select {
    width: 100%;
}

form > p:last-child {
    margin-top: 10px;
}

form .form-field label,
form > p label {
    display: block;
    font-weight: 300;
}

/* ALIGNMENT */

.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}

.alignwide {
    margin-left: -20%;
    margin-right: -20%;
}

.alignwide iframe {
    width: 100%;
    height: 600px;
    margin: 15px 0;
}

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 20px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

img.alignnone {
    margin: 5px 20px 20px 0;
    border-radius: 50px;
    position: relative;
    max-width: 100vw;
}

img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* CAPTION */

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* HEADINGS */

h1 {
    font-size: 44px;
    line-height: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

h2,
form legend {
    font-size: 24px;
    line-height: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

h3 {
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    margin-bottom: 12px;
}

h4 {
    font-size: 18px;
    line-height: 30px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* LIST - block */

.wp-block-list > li {
	padding: 10px 0 10px 30px;
	position: relative;
}

.wp-block-list > li:before {
	content: "\f147";
	font-family: "Dashicons";
    font-weight: 900;
	font-size: 22px;
	position: absolute;
	top: 10px;
	left: 0;
	color: var(--red);
}

/* MEDIA - block */

.wp-block-media-text {
    gap: 100px;
}

.wp-block-media-text__media img,
.wp-block-gallery .wp-block-image img {
    border-radius: 5px;
}

.wp-block-media-text .wp-block-media-text__content {
    padding: 0;
}

/* IMAGE - block */

.wp-block-image {
    margin-bottom: 20px;
}

/* HEADER - main */

header .main {
    padding: 20px 0;
    font-size: 16px;
    line-height: 22px;
}

header .main .wp-block-group__inner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .main nav ul {
    gap: 40px;
}

header .main nav a:hover {
    color: var(--red) !important;
}

header .main .wp-block-group__inner-container {
    gap: 40px;
}

header .main .wp-block-site-logo {
    max-width: 160px;
}

header .main .wp-block-navigation__submenu-icon {
    display: none;
}

header .main .wp-block-navigation__submenu-container {
    background: var(--wood) !important;
    border: none !important;
    padding: 20px 30px;
    border-radius: 5px;
    gap: 10px;
    min-width: initial !important;
    position: relative;
    top: 40px !important;
}

header .main .wp-block-navigation__submenu-container:before {
    content: '';
    height: 20px;
    position: absolute;
    width: 100%;
    left: 0;
    top: -20px;
}

header .main .wp-block-navigation__submenu-container:after {
    content: '';
    width: 15px;
    height: 15px;
    background: var(--wood);
    position: absolute;
    transform: rotate(45deg);
    top: -7.5px;
    left: calc(50% - 7.5px);
}

header .main .wp-block-navigation__submenu-container a {
    display: flex;
    justify-content: center;
    text-transform: initial;
    color: var(--sand) !important;
    font-weight: 400;
}

header .main .wp-block-navigation__submenu-container a:hover {
    color: var(--dark-sea) !important;
}

header .main .current-menu-ancestor {
    font-weight: 700;
}

header .main .wp-block-navigation-item.button a {
	color: white;
}

header .main .wp-block-navigation-item.button a:hover {
	color: white !important;
}

/* HERO */

.hero iframe {
	width: 100%;
	height: 335px;
}

/* SIGNUP */

.signup {
	background-color: var(--light-gray);
}

.signup > .wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	padding: 80px 20px;
}

.signup section {
	padding: 0;
}

.signup .seller-info {
    margin: 20px 0;
}

.signup .seller-info p {
    margin: 0;
}

.signup .new-customer fieldset:not(.active) {
    display: none;
}

.signup .new-customer .navigation {
    display: flex;
    margin-top: 20px;
    justify-content: space-between;
}

.signup .new-customer .navigation .prev:before,
.signup .new-customer .navigation .next:after {
    font-family: Dashicons;
    vertical-align: middle;
}

.signup .new-customer .navigation .next:after {
    content: "\f344";
    margin-left: 5px;
}

.signup .new-customer .navigation .prev:before {
    content: "\f340";
    margin-right: 5px;
}

.signup .new-customer .method {
	align-items: center;
	gap: 60px;
}

.signup .new-customer .method img {
	cursor: pointer;
	max-width: 30%;
}

.signup .new-customer [data-brand] {
    position: relative;
}

.signup .new-customer [data-brand]:after {
    content: '';
    position: absolute;
    right: 10px;
    bottom: 12px;
    width: 40px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.signup .new-customer [data-brand=mastercard]:after {
    background-image: url(images/logo-master.webp);
}

.signup .new-customer [data-brand=visa]:after {
    background-image: url(images/logo-visa.webp);
}

.signup .new-customer [data-brand=amex]:after {
    background-image: url(images/logo-amex.webp);
}

.signup .new-customer [data-brand=hipercard]:after {
    background-image: url(images/logo-hiper.webp);
}

.signup .new-customer .dashicons-yes {
	background-color: var(--green);
	color: white;
	border-radius: 100%;
	font-size: 100px;
	line-height: 1;
	width: 100px;
	height: 100px;
	margin: 20px auto;
}

.signup .new-customer .pixKey {
	word-break: break-all;
	border: 1px dashed var(--red);
	border-radius: 5px;
	padding: 10px;
	color: rgba(0,0,0,.7);
	font-size: 14px;
	line-height: 1.4;
	min-width: calc(100% - 22px);
}

/* FAQ */

.faq {
	display: flex;
	gap: 15px 100px;
	flex-wrap: wrap;
}

.faq,
.faq ul {
	list-style: none;
	padding: 0;
	margin: 50px 0 0;
}

.faq > li {
	position: relative;
	border-bottom: 1px solid var(--gray);
	cursor: pointer;
	text-align: left;
	font-weight: 500;
	padding: 0 0 15px 30px;
	flex: 1;
	min-width: 400px;
}

.faq > li:hover,
.faq > li.active {
	color: var(--red);
}

.faq > li:before {
	content: "\f502";
	font-family: "Dashicons";
    font-weight: 900;
	font-size: 22px;
	position: absolute;
	top: 4px;
	left: 0;
	color: var(--red);
}

.faq > li.active:before {
	content: "\f153";
}

.faq > li > ul {
	margin-top: 15px;
}

.faq > li:not(.active) > ul {
	display: none;
}

.faq > li > ul > li {
	font-weight: 400;
	cursor: initial;
	padding: 0;
	color: initial;
}

/* ABOUT US */

.about-us {
	padding-bottom: 0;
}

.about-us > div > .wp-block-image {
	margin-bottom: 0;
}

/* FOOTER */

footer {
    font-size: 16px;
    line-height: 28px;
}

footer > .wp-block-group {
    padding: 80px 0;
}

footer .wp-block-columns {
    gap: 80px;
}

footer .wp-block-column {
    flex: 0 1 auto !important;
    max-width: 423px;
    min-width: 110px;
}

footer p {
    margin: 0;
}

footer nav ul {
    display: block !important;
}

footer nav a:hover {
    color: var(--red) !important;
}

footer .contact-info p {
    display: grid;
	grid-template-columns: 60px auto;
    text-transform: uppercase;
    margin-bottom: 20px;
}

footer .contact-info p:first-child:before {
    font-family: "Dashicons";
    font-weight: 900;
    font-size: 40px;
    line-height: 40px;
    grid-column: 1;
    grid-row: 1 / span 2;
    content: '\f466';
}

footer .contact-info p strong {
    grid-column: 2;
    grid-row: 2;
    text-transform: initial;
    color: var(--dark-sea);
}

footer .logos {
	margin-top: 40px;
}

footer .logos > div {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

footer .logos figure {
    flex: 1 1 0;
}

footer .wp-block-navigation-submenu {
    display: block !important;
    border: none !important;
}

footer .wp-block-navigation__submenu-icon {
    display: none !important;
}

footer .wp-block-navigation__submenu-container {
    visibility: initial !important;
    width: auto !important;
    height: auto !important;
    position: inherit !important;
    opacity: 1 !important;
    background: none !important;
}

footer .wp-block-navigation__submenu-container a {
    color: white !important;
}

footer .dashicons-whatsapp {
	position: fixed;
	right: 20px;
	bottom: 20px;
	color: #25d366;
	font-size: 40px;
	width: 40px;
	height: 40px;
	border-radius: 100%;
	animation: jumping 2s ease-in-out infinite;
}