@charset "UTF-8";

/*
Theme Name: Promoservice
Theme URI: https://www.promoservice.com
Description: Promoservice theme
Author: Promoservice
Author URI: https://www.promoservice.com
Template: twentytwentyone
Version: 1.1
*/

/*
*   1.0 Header
*       1.1 Menu
*   2.0 Content
*       2.1 Home
*       2.2 
*       2.3 404
*       2.4 Contacts
*   3.0 Footer
*   4.0 Menu
*   5.0 Gallery
*/

:root {
    font-size: 10px;
    line-height: 10px;

    --responsive--alignwide-width: 100%;
    --global--font-primary: anisette-std, sans-serif;
    --global--font-secondary: 'Open Sans', sans-serif;
    
    --global--font-size-base: 1.8rem;
    --global--font-line-height-base: 2.7rem;
    --global--font-weight-base: normal;

    --global--letter-spacing: normal;

	--global--font-size-xs: 1.8rem;
	--global--font-size-sm: 1.8rem;
	--global--font-size-md: 2.2rem;
	--global--font-size-lg: 2.4rem;
	--global--font-size-xl: 3.2rem;
	--global--font-size-xxl: 4.6rem;
    --global--font-size-xxxl: 5rem;
    --global--font-size-page-title: var(--global--font-size-xxl);
    
    --heading--font-family: var(--global--font-primary);
	--heading--font-size-h6: var(--global--font-size-xs);
	--heading--font-size-h5: var(--global--font-size-sm);
	--heading--font-size-h4: var(--global--font-size-md);
	--heading--font-size-h3: var(--global--font-size-lg);
	--heading--font-size-h2: var(--global--font-size-xl);
	--heading--font-size-h1: var(--global--font-size-page-title);

    --heading--line-height-h6: 2rem;
	--heading--line-height-h5: 2.5rem;
	--heading--line-height-h4: 3.2rem;
	--heading--line-height-h3: 3.2rem;
	--heading--line-height-h2: 4.3rem;
    --heading--line-height-h1: 6.1rem;

    --heading--font-weight: 400;

    --heading--letter-spacing-h6: normal;
	--heading--letter-spacing-h5: 0.1rem;
	--heading--letter-spacing-h4: 0.35rem;
	--heading--letter-spacing-h3: 0.6rem;
	--heading--letter-spacing-h2: 0.6rem;
	--heading--letter-spacing-h1: 0.6rem;

    /* Line Height */
	--global--line-height-body: var(--global--font-line-height-base);

    /* Colors */
    --link-color: #FCC307;
    --link-color-hover: #FCA907;
    --global--color-primary: #332F21;
    --global--color-secondary: #332F21;

    /* Spacing */
	--global--spacing-unit: 0;
	--global--spacing-measure: unset;
	--global--spacing-horizontal: 0;
	--global--spacing-vertical: 0;
}

html {
    scroll-behavior: smooth;
}

:root body {
    overflow-x: hidden;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    margin-bottom: 2rem;
    color: var(--global--color-secondary);
    font-weight: var(--heading--font-weight);
}

body a,
body a:active,
body a:focus,
body a:visited,
body.has-background-white .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
    text-decoration: none !important;
    color: var(--link-color);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    font-weight: bold;
    background: none;
}
body a:hover,
body .color-accent-hover:hover {
    color: var(--link-color-hover);
}

body a.btn,
body a.btn:active,
body a.btn:focus,
body a.btn:visited,
body .entry-content a.btn,
body .entry-content a.btn:active,
body .entry-content a.btn:focus,
body .entry-content a.btn:visited,
body button:not(.toggle),
body .button,
body input[type="button"]:not(.toggle),
body input[type="reset"]:not(.toggle),
body input[type="submit"]:not(.toggle),
body.has-background-white .site a.btn:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
    font-style: normal;
    font-family: var(--global--font-secondary);
    font-weight: 700;
    font-size: 1.6rem;
    text-align: center;
    background: var(--link-color);
    background-color: var(--link-color);
    color: #332F21;
    letter-spacing: 0.1rem;
    margin: 0 auto 0 0;
    max-width: unset !important;
    width: auto !important;
    display: inline-flex;
    align-items: center;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    text-decoration: none !important;
    border: 0.1rem solid var(--link-color);
    padding: 1rem 2rem !important;
    text-transform: uppercase;
}
body a.btn:hover,
body .entry-content a.btn:hover,
body button:hover,
body .button:hover,
body input[type="button"]:hover,
body input[type="reset"]:hover,
body input[type="submit"]:hover {
    background: var(--link-color-hover);
    background-color: var(--link-color-hover);
    border: 0.1rem solid var(--link-color-hover);
}

body a.btn-white,
body a.btn-white:active,
body a.btn-white:focus,
body a.btn-white:visited,
body .entry-content a.btn-white,
body .entry-content a.btn-white:active,
body .entry-content a.btn-white:focus,
body .entry-content a.btn-white:visited,
body button.btn-white:not(.toggle),
body .button.btn-white,
body input[type="button"].btn-white:not(.toggle),
body input[type="reset"].btn-white:not(.toggle),
body input[type="submit"].btn-white:not(.toggle),
body.has-background-white .site a.btn.btn-white:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
    font-style: normal;
    font-family: var(--global--font-secondary);
    font-weight: 700;
    font-size: 1.6rem;
    text-align: center;
    background: #ffffff;
    background-color: #ffffff;
    color: #332F21;
    letter-spacing: 0.1rem;
    margin: 0 auto 0 0;
    max-width: unset !important;
    width: auto !important;
    display: inline-flex;
    align-items: center;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    text-decoration: none !important;
    border: 0.1rem solid var(--link-color);
    padding: 1rem 2rem !important;
    text-transform: uppercase;
}
body a.btn-white:hover,
body .entry-content a.btn-white:hover,
body button.btn-white:hover,
body .button.btn-white:hover,
body input[type="button"].btn-white:hover,
body input[type="reset"].btn-white:hover,
body input[type="submit"].btn-white:hover {
    background: var(--link-color-hover);
    background-color: var(--link-color-hover);
    border: 0.1rem solid var(--link-color-hover);
}

body a.btn-center,
body .btn-center {
    margin-left: auto !important;
    margin-right: auto !important;
}

body,
body p,
body .entry-content p {
    font-size: var(--global--font-size-base);
    line-height: var(--global--font-line-height-base);
    font-weight: var(--global--font-weight-base);
}
body p,
body .entry-content p {
    margin-bottom: 1.5rem;
}
body div#page {
    display: grid;
    grid-template-columns: repeat( 12, 1fr );
    grid-template-rows: auto;
    grid-template-areas:
        "header header header header header header header header header header header header"
        "content content content content content content content content content content content content"
        "footer footer footer footer footer footer footer footer footer footer footer footer";
}

body .site .button:focus,
body input[type=submit]:focus,
body input[type=reset]:focus,
body .wp-block-search__button:focus,
body .wp-block-button .wp-block-button__link:focus,
body.has-background-white .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button),
body .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) img,
body .site a:focus,
body input[type=checkbox]:focus,
body .swiper-button-next:focus,
.swiper-button-prev:focus  {
    outline: none;
}

body .post-thumbnail,
body .entry-content .wp-audio-shortcode,
body .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.woocommerce),
body *[class*=inner-container] > *:not(.entry-content):not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.woocommerce),
body .default-max-width {
    margin-left: unset;
    margin-right: unset;
}

/*
*   1.0 Header
*/
header#masthead.site-header {
	position: fixed;
	top: 0;
    left: 0;
    right: 0;
	z-index: 101;
    grid-area: header;
    padding: 0;
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr 4fr;
    grid-template-rows: auto;
    background: rgba(255, 255, 255, 0.9);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.08);
}
header#masthead.site-header .site-pre-header {
    grid-row: 1;
    grid-column: 1 / -1;
    background: #A0A787;
    color: #332F21;
    padding: 0.5rem 3rem;
    font-size: 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header#masthead.site-header.sticky .site-pre-header {
    display: none;
}
header#masthead.site-header .site-pre-header a,
header#masthead.site-header .site-pre-header a:active,
header#masthead.site-header .site-pre-header a:focus,
header#masthead.site-header .site-pre-header a:visited {
    color: #332F21;
    font-weight: 700;
}
header#masthead.site-header .site-pre-header a:hover {
    color: var(--link-color-hover);
}
header#masthead.site-header .site-pre-header .site-pre-header-socials a {
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
}

header#masthead.site-header .site-branding {
    grid-row: 2;
    grid-column: 1;
    margin: 0;
    padding: 2rem 3rem;
    align-items: start;
    display: flex;
    flex-direction: column;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
header#masthead.site-header.sticky .site-branding {
    padding: 1rem 2rem;
}
header#masthead.site-header .site-branding .site-logo .custom-logo {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
header#masthead.site-header.sticky .site-branding .site-logo .custom-logo {
    max-width: 20rem;
}

header#masthead.site-header .site-branding .site-logo svg,
header#masthead.site-header .site-branding .site-logo svg path {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
header#masthead.site-header.sticky .site-branding .site-logo svg {
    max-width: 14.6rem;
}

header#masthead.site-header .site-description a,
header#masthead.site-header .site-description a:active,
header#masthead.site-header .site-description a:focus,
header#masthead.site-header .site-description a:visited {
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.3rem;
}
header#masthead.site-header.sticky .site-description {
    display: none;
}

/*
*   1.1 Menu
*/
#site-navigation.primary-navigation {
    grid-row: 2;
    grid-column: 2;
    align-items: center;
    display: flex;
    margin-left: 0;
    padding: 0 2rem;
    margin: 0 1rem;
    justify-content: flex-end;
}
#site-navigation.primary-navigation .primary-menu-container,
#site-navigation.primary-navigation .primary-menu-container ul {
    height: 100%;
}
#site-navigation.primary-navigation li a {
    font-weight: 400;
    font-size: 2rem;
    letter-spacing: 0.35rem;
    padding: 1rem 1rem;
    font-family: var(--global--font-primary);
    justify-content: center;
    display: flex;
    align-items: center;
}
#site-navigation.primary-navigation li.ordina-subito a,
#site-navigation.primary-navigation li.ordina-subito a:active,
#site-navigation.primary-navigation li.ordina-subito a:focus,
#site-navigation.primary-navigation li.ordina-subito a:visited,
#site-navigation.primary-navigation li.ordina-subito a:hover {
    background: #FCC307;
    font-family: var(--global--font-secondary);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 2rem;
    text-align: center;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}
.primary-navigation > div > .menu-wrapper li:last-child {
    border-left: 0.2rem solid #ffffff;
}

/*
*   2.0 Content
*/
body div#page div.site-content {
    grid-area: content;
    min-height: 80vh;
}
body:not(.home) div#page div.site-content {
    padding-top: 18rem;
}
body.singular .entry-header,
body.error404 .page-header {
    padding: 0;
    border: 0;
    min-height: 40rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    align-items: end;
    padding-bottom: 2rem !important;
}
body.singular .entry-header h1,
body.error404 .page-header h1 {
    color: #ffffff;
    opacity: 0.9;
    letter-spacing: 0.4rem;
    grid-column: 2 / -2;
}
body .entry-content .entry-content-title {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
}
body .entry-content .entry-content-title h1 {
    grid-column: 2 / -2;
    margin-top: 3rem;
    text-align: center;
}

body figure.full-width {
    margin: 0;
    height: 100%;
    width: 100%;
}
body figure.full-width img {
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
    max-height: -webkit-fill-available;
}

/*
*   2.1 Home
*/
#three-box .grids-s-w_i .grids-area {
    padding: 5rem !important;
    flex-direction: row;
    align-items: center;
}
#three-box .grids-s-w_i .grids-area h4 {
    margin: 0 0 0 2rem;
}

#la-pintadera .grids-s-w_i {
    padding: 5rem 0;
    gap: 0 5rem;
}

#desideri-gustosi {
    background: rgba(161, 168, 136, 0.3);
}
#desideri-gustosi .grids-s-w_i {
    padding: 5rem 0;
}

#ordina-subito .grids-s-w_i {
    padding: 5rem 0;
}

#ordina-subito .inline-buttons {
    display: flex;
    justify-content: center;
}
#ordina-subito .inline-buttons a.btn,
#ordina-subito .inline-buttons a.btn-white {
    margin: 2rem 1rem 1rem;
}

#prodotto .grids-s-w_i {
    padding: 5rem 0;
    gap: 0 5rem;
}

#pasta-fresca .grids-s-w_i .text-content {
    padding: 5rem 0 5rem 5rem !important;
}
#non-solo-pasta .grids-s-w_i .text-content {
    padding: 5rem 5rem 5rem 0rem !important;
}

#su-di-noi .grids-s-w_i {
    padding: 5rem 0;
    gap: 0 5rem;
}

#socials .grids-s-w_i {
    padding: 5rem 0;
}
#socials .grids-s-w_i .list-socials {
    display: flex;
    justify-content: center;
    align-items: center;
}
#socials .grids-s-w_i .list-socials a,
#socials .grids-s-w_i .list-socials a:active,
#socials .grids-s-w_i .list-socials a:focus,
#socials .grids-s-w_i .list-socials a:visited {
    font-size: 2.2rem;
    color: #332F21;
    background: var(--link-color);
    border-radius: 5rem;
    width: 5rem;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 1rem 0;
}
#socials .grids-s-w_i .list-socials a:hover {
    background: var(--link-color-hover);
}

#contatti .grids-s-w_i {
    padding: 5rem 0;
    gap: 0 5rem;
}

/*
*   2.2 Single product
*/

/*
*   2.3 404
*/
body.error404 .site-content .entry-content {
    text-align: center;
    margin-bottom: 10rem;
}

/*
*   2.4 Contacts
*/

/*
*   3.0 Footer
*/
footer.site-footer {
    grid-area: footer;
    background: #000000;
    color: #ffffff;
    width: 100%;
    font-size: 1.4rem;
    line-height: 2rem;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
}
footer.site-footer::before {
    display: none;
}

footer.site-footer .credits {
    grid-column: 2 / -2;
    display: inline-table;
    padding: 1rem 0;
}

/*
*   4.0 Menu
*/
.menu-list {
    font-weight: 700;
    margin: 2rem 0 5rem;
    max-width: 50rem;
}
.menu-list .menu-list-single {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto;
    gap: 2rem;
}
.menu-list .menu-list-single div.product-quantity-list {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: start;
    text-align: right;
}

/*
*   5.0 Gallery
*/
.gallery-wrapper {
    padding: 2rem 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
}
.gallery-wrapper .gallery-wrapper-image img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    max-height: -webkit-fill-available;
}
.gallery-wrapper .gallery-wrapper-image.gallery-wrapper-image-4 {
    grid-row: 1 / 3;
    grid-column: 3 / 5;
}