/* Main structure */

html {
    scroll-behavior: smooth;
    /* for anchor links */
    scroll-padding-top: 40px;
    /* Quanto prima dell'anchor deve fermarsi */

}

.slide-text-content a:not([class]),
.slide-text-content a:not([class]):visited {
    color: black;
}

.row {
    width: 100%;
    margin: 0;
    background-color: var(--colore-primario);
}

.row-black {
    background-color: var(--black, #000);

    a,
    a:visited {
        color: white;
        text-decoration: none;
    }
}

.row-highlight {
    background-color: var(--giallo-peck);
    color: var(--marrone-peck);
}

.cont {
    width: min(1112px, 100% - 168px);
    margin: 0 auto;
}


@media (max-width: 1000px) {
    .cont {
        width: min(830px, 100% - 48px);
    }
}

.otgs-development-site-front-end {
    display: none;
}

.cta-16-24 {
    display: inline-block;
    padding: 16px 24px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
}

.cta-20-48 {
    display: inline-block;
    padding: 20px 48px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    text-decoration: none;
}

a.cta-light-brown,
a.cta-dark-brown {
    color: var(--white, #FFF);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.48px;
}

.cta-light-brown {
    background: var(--brown-AA-darker, #877147);
}

.cta-dark-brown {
    background: var(--brown-ig, #5E4824);
}

.compass-icon,
.phone-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.phone-icon {
    background-image: url('../img/phone.svg');
}

.compass-icon {
    background-image: url('../img/compass.svg');
}

.phone-cta,
.compass-cta {
    padding: 12px 16px 12px 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid black;
    max-width: fit-content;
}

/* 404 */

.error-404 {
    text-align: center;
    height: 700px;
    max-height: 70vh;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.error-404 h1 {
    color: var(--black, #000);
    font-size: 40px;
    font-style: normal;
    font-weight: 900;
    line-height: 48px;
    letter-spacing: -0.8px;
    margin: 0;
}

.error-404 p {
    margin: 0 0 8px;
}

/* Breadcrumbs */
#breadcrumbs {
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.33;
    letter-spacing: 0.0225rem;
    color: var(--marrone-peck);
    margin: 0;
    padding: 16px 0 0 0;
}

#breadcrumbs a {
    color: var(--marrone-peck);
    text-decoration: underline;
}

#breadcrumbs a:hover {
    text-decoration: underline;
    color: var(--marrone-peck);
}


.row.row-component,
.row.row-prefooter {
    margin-top: var(--gap80-to-56);
}

.row.row-prefooter {
    background-color: var(--giallo-peck);

    .cont {
        color: var(--marrone-peck);
        padding-block: var(--gap80-to-56);
    }
}

@media (max-width :640px) {
    .row.row-component {
        margin-top: 56px;
    }
}

@media (min-width: 640px) {
    .text-box-hero+.row.row-component {
        margin-top: 20px;
    }
}


.arrow-icon {
    text-indent: -9999px;
    background-image: url('../img/arrow-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    display: inline-block;
}

/*Overwrite Gravity Forms*/
.gform-field-label--type-sub {
    display: none !important;
}

.gform-body * {
    font-family: 'Raleway', sans-serif !important;
    /* font-family: "Bodoni Moda", sans-serif !important; */
    color: var(--marrone-peck) !important;
}

.gform_fields {
    row-gap: 16px !important;
}

.gfield_required_text {
    display: none !important;
}

.gfield_validation_message {
    font-size: 0.85em !important;
    color: #dc3545 !important;
}

.gfield--input-type-html,
.gform-field-label {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.42857 !important;
    letter-spacing: 0.28px !important;
    margin-bottom: 4px !important;
}

.gf-page-title {
    background-color: white;
    color: black !important;
    padding: 4px;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5;
}

.ginput_container_consent {
    align-items: center !important;
    margin-bottom: 16px !important;
}

.gfield_consent_label {
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 16px !important;
    letter-spacing: 0.36px !important;
    margin-bottom: 0 !important;
}

.ginput_container input,
.ginput_container_textarea textarea,
.ginput_container_select select {
    width: 100%;
    padding: 16px !important;
    border: none !important;
    border-radius: 0 !important;
    border-bottom: 1px solid var(--marrone-peck) !important;
    color: var(--black, #000) !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 24px !important;
    min-height: 56px !important;
}

.ginput_container input:focus,
.ginput_container_textarea textarea:focus,
.ginput_container_select select:focus {
    border-bottom: 2px solid var(--marrone-peck) !important;
    outline: none !important;
    box-shadow: none !important;
}

.ginput_container_consent input {
    max-width: 20px !important;
    max-height: 20px !important;
    min-height: auto !important;
    padding: 0 !important;
    border: 1px solid var(--marrone-peck) !important;
    border-radius: 2px !important;
}

.ginput_container_consent input:focus {
    border-bottom: 1px solid var(--marrone-peck) !important;
}

.gform_button.button {
    padding: 20px 48px !important;
    background: var(--marrone-peck) !important;
    border-radius: 0 !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    color: var(--white, #FFF) !important;
    font-size: 16px !important;
    font-style: normal !important;
    line-height: 24px !important;
    letter-spacing: 0.48px !important;
    text-transform: uppercase !important;
    margin-top: 24px !important;
}

.gform-datepicker {
    flex-basis: 100% !important;
}

/* FaceWP override */
a.tutte-categorie-link,
.facetwp-checkbox {
    background: none !important;
    max-width: fit-content;
    border: 1px solid black;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.43;
    letter-spacing: 0.0175rem;
    margin-bottom: 0;
}

a.tutte-categorie-link,
a.tutte-categorie-link:hover {
    text-decoration: none;
    color: black;
    line-height: 1.43;
    max-height: 38.02px;
}

.facetwp-checkbox.checked {
    background: black !important;
    color: white !important;
}

.facetwp-type-checkboxes .facetwp-checkbox:before {
    display: none !important;
}

.row-discover-all-products {
    .cont {
        display: flex;
        justify-content: center;
        margin-top: var(--gap80-to-56);
    }
}

.discover-product,
.discover-product:hover,
.discover-product:visited {
    padding: 0 0 8px 0;
    color: black;
    border-bottom: 1px solid black;
    text-decoration: none;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.42;
}

.cart-icon-wrapper {
    position: relative;
    display: inline-block;
}

.cart-icon-wrapper .cart-contents-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--giallo-peck);
    color: var(--marrone-peck);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
    text-indent: 1px;
}

div.border {
    border: 1px solid black;
    border-radius: 8px;
    padding: 16px;

    h3 {
        margin: 0;
    }
}

/* Rimuove la faccina orribile nel carrello vuoto */
.wc-block-cart__empty-cart__title.with-empty-cart-icon:before {
    display: none !important;
}

.whatsapp-button {
    display: inline-block;
    background-image: url('../img/whatsapp.svg');
    background-repeat: no-repeat;
    background-size: 32px;
    background-position: center;
    border-radius: 50%;
    border: 2px solid #25D366;
    width: 56px;
    height: 56px;
    background-color: white;
    color: white;
    font-size: 1.5rem;
    padding: 16px;
    text-decoration: none;
    margin-top: 16px;
    box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.25);
    z-index: 99;
    position: fixed;
    bottom: 24px;
    right: 40px;
}

.home #breadcrumbs {
    display: none;
}

/* MODIFICHE TEMPORANEE */

/* Queste 3 servono a nascondere i link alle singole pagine di prodotto */
.vetrina-item-content h2 {
    pointer-events: none;
    /* Temporaneo */
}

.vetrina-item-thumbnail {
    pointer-events: none;
    /* Temporaneo */
}

a.vetrina-item-link {
    display: none;
    /* Temporaneo */
}

/* Questo serva a nascondere i link alle pagine carrello e profilo utente dal menu di navigazione*/
.header-tools-link a:not(.language-switcher-initials) {
    display: none;
}