/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
Text Domain: porto-child
Domain Path: /languages
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/



/* Searchform */

#header .search-rounded:not(.simple-search-layout) .live-search-list {
    padding-top: 16px !important;
}

.az-overflow-y-auto {
    overflow-y: auto;
}

.az-overflow-y-hidden {
    overflow-y: hidden !important;
}

/***** Sidebar *****/

/* Filtri catalogo: stesso formato delle select sezioni, anche con Select2. */
.widget:is(.widget_product_categories, .woocommerce-widget-layered-nav, .widget_layered_nav, .widget_az_sezioni_filter) select:not([multiple]),
.widget:is(.widget_product_categories, .woocommerce-widget-layered-nav, .widget_layered_nav, .widget_az_sezioni_filter) .select2-selection--single {
    box-sizing: border-box;
    width: 100%;
    height: 38px;
    min-height: 38px;
    color: #222;
    background-color: #fff;
    border: 1px solid #a6a6a6;
    border-radius: 4px;
    padding: 6px 32px 6px 10px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: none;
}

.widget:is(.widget_product_categories, .woocommerce-widget-layered-nav, .widget_layered_nav, .widget_az_sezioni_filter) .select2-container {
    width: 100% !important; /* Select2 imposta la larghezza inline. */
    max-width: 100%;
}

.widget:is(.widget_product_categories, .woocommerce-widget-layered-nav, .widget_layered_nav, .widget_az_sezioni_filter) .select2-selection--single {
    padding: 0;
}

.widget:is(.widget_product_categories, .woocommerce-widget-layered-nav, .widget_layered_nav, .widget_az_sezioni_filter) .select2-selection--single .select2-selection__rendered {
    padding: 0 32px 0 10px;
    line-height: 36px;
    color: #222;
    font-size: 14px;
    font-weight: 500;
}

.widget:is(.widget_product_categories, .woocommerce-widget-layered-nav, .widget_layered_nav, .widget_az_sezioni_filter) .select2-selection--single .select2-selection__arrow {
    top: 1px;
    height: 36px;
}

/* Nascondo le categorie nella pagina Sezioni */

/*
.tax-sezioni .widget_product_categories{
    display: none;
}

.tax-sezioni .widget_nav_menu{
    display: none;
}

.search-results .widget_product_categories{
    display: none;
}
*/

/***** TEXT *****/

.az-text-right{
    text-align: right;
}

/***** TYPOGRAPHY *****/

/* Size */
.az-f-size-12{font-size: 12px;}
.az-f-size-14{font-size: 14px;}
.az-f-size-16{font-size: 16px;}
.az-f-size-18{font-size: 18px;}
.az-f-size-20{font-size: 20px;}
.az-f-size-24{font-size: 24px;}
.az-f-size-32{font-size: 32px;}


/* Weight */
.az-f-weight-800{font-weight: 600;}
.az-f-weight-600{font-weight: 600;}
.az-f-weight-400{font-weight: 400;}
.az-f-weight-300{font-weight: 300;}
.az-f-italic{font-style: italic;}
.az-f-uppercase{text-transform: uppercase;}
.az-f-lowercase{text-transform: lowercase;}
.az-f-capitalize{text-transform: capitalize;}
.az-f-normal{font-weight: normal;}
.az-f-bold{font-weight: bold;}
.az-f-line-through{text-decoration: line-through;}
.az-f-underline{text-decoration: underline;}
.az-f-strike{text-decoration: line-through;}

/***** COLORS *****/

.text-gray-light{color:#757575 !important;}
.text-dark{color:#212529 !important;}
.text-primary{color:#007bff !important;}
.text-secondary{color:#6c757d !important;}
.text-success{color:#28a745 !important;}
.text-info{color:#17a2b8 !important;}
.text-warning{color:#ffc107 !important;}
.text-danger{color:#dc3545 !important;}
.text-light{color:#f8f9fa !important;}
.text-dark{color:#343a40 !important;}

.text-brown-dark{color:#5c3e38 !important;}
.text-brown-medium{color:#9d8b88 !important;}
.text-brown-light{color:#beb2af !important;}


/***** Spacing *****/

.mb-0{margin-bottom:0 !important;}

/************************ SIZING ************************/


/******** HEIGHT ********/

.az-max-height__256{
    max-height: 256px !important;
}

.az-min-height__200{
    min-height: 200px !important;
}

.az-height__256{
    height: 256px;
}

.az-height__128{
    height: 128px;
}

.az-height__64{
    height: 64px;
}

.az-height__48{
    height: 48px !important;
}

.az-height__32{
    height: 32px;
}

.az-height__24{
    height: 24px;
}

.az-height__16{
    height: 16px;
}

.az-height__8{
    height: 8px;
}

/******** WIDTH ********/

.az-width__100p{
    width: 100% !important;
}

.az-width__75p{
    width: 74.3333% !important;
}

.az-width__50p {
    width: 49.3333% !important;
}

.az-width__24p{
    width: 24.3333% !important;
}

.az-width__15p{
    width: 14.3333% !important;
}

.az-width__256{
    width: 256px !important;
}

.az-width__128{
    width: 128px;
}

.az-width__64{
    width: 64px;
}

.az-width__48{
    width: 48px;
}

.az-width__32{
    width: 32px;
}

.az-width__24{
    width: 24px;
}

.az-width__16{
    width: 16px;
}

.az-width__8{
    width: 8px;
}

/******** SIZE ********/

.az-size__256{
    height: 256px;
    width: 256px;
}

.az-size__128{
    height: 128px;
    width: 128px;
}

.az-size__64{
    height: 64px;
    width: 64px;
}

.az-size__32{
    height: 32px;
    width: 32px;
}

.az-size__16{
    height: 16px;
    width: 16px;
}

/******** BOREDER ********/

.az-border-radius__48{
    border-radius: 48px;
}

.az-border-radius__8{
    border-radius: 8px;
}

.az-border-bottom-1-light {
    border-bottom: 1px solid #e0e0e0;
}

.az-border-1-dark{
    border: 1px solid #343a40 !important;
}


/******** FLEX POSITION ********/

.az-display-flex {
    display: flex !important;
}

.az-align-items-center {
    align-items: center !important;
}

.az-justify-content-between {
    justify-content: space-between !important;
}

.az-justify-content-around {
    justify-content: space-around !important;
}

/******** MARGIN ********/

/* left spacing */
.az-ls-1{margin-left: 8px !important;}
.az-ls-1{margin-left: 8px !important;}
.az-ls-2{margin-left: 16px !important;}
.az-ls-3{margin-left: 24px !important;}
.az-ls-4{margin-left:48px !important;}
.az-ls-5{margin-left:64px !important;}
/* right spacing */
.az-le-1{margin-right: 8px !important;}
.az-le-1{margin-right: 8px !important;}
.az-le-2{margin-right: 16px !important;}
.az-le-3{margin-right: 24px !important;}
.az-le-4{margin-right:48px !important;}
.az-le-5{margin-right:64px !important;}

/* tops spacing */
.az-mt-0{margin-top: 0px !important;}
.az-mt-1{margin-top: 8px !important;}
.az-mt-2{margin-top: 16px !important;}
.az-mt-3{margin-top: 24px !important;}
.az-mt-4{margin-top:48px !important;}
.az-mt-5{margin-top:64px !important;}

/* bottom spacing */
.az-mb-1{margin-bottom: 8px !important;}
.az-mb-2{margin-bottom: 16px !important;}
.az-mb-3{margin-bottom: 24px !important;}
.az-mb-4{margin-bottom:48px !important;}
.az-mb-5{margin-bottom:64px !important;}


/******** PADDING ********/

.az-p-0{padding: 0 !important;}
.az-p-1{padding: 8px !important;}
.az-p-2{padding: 16px !important;}
.az-p-3{padding: 24px !important;}
.az-p-4{padding:48px !important;}
.az-p-5{padding:64px !important;}

/* left spacing */
.az-ps-0{padding-left: 0px !important;}
.az-ps-1{padding-left: 8px !important;}
.az-ps-1{padding-left: 8px !important;}
.az-ps-2{padding-left: 16px !important;}
.az-ps-3{padding-left: 24px !important;}
.az-ps-4{padding-left:48px !important;}
.az-ps-5{padding-left:64px !important;}

/* right spacing */
.az-pe-0{padding-right: 0px !important;}
.az-pe-1{padding-right: 8px !important;}
.az-pe-1{padding-right: 8px !important;}
.az-pe-2{padding-right: 16px !important;}
.az-pe-3{padding-right: 24px !important;}
.az-pe-4{padding-right:48px !important;}
.az-pe-5{padding-right:64px !important;}

/* tops spacing */
.az-pt-1{padding-top: 8px !important;}
.az-pt-2{padding-top: 16px !important;}
.az-pt-3{padding-top: 24px !important;}
.az-pt-4{padding-top:48px !important;}
.az-pt-5{padding-top:64px !important;}

/* bottom spacing */
.az-pb-1{padding-bottom: 8px !important;}
.az-pb-2{padding-bottom: 16px !important;}
.az-pb-3{padding-bottom: 24px !important;}
.az-pb-4{padding-bottom:48px !important;}
.az-pb-5{padding-bottom:64px !important;}

/* Left & right padding */
.az-px-1{padding-left: 8px !important; padding-right: 8px !important;}
.az-px-2{padding-left: 16px !important; padding-right: 16px !important;}
.az-px-3{padding-left: 24px !important; padding-right: 24px !important;}
.az-px-4{padding-left:48px !important; padding-right:48px !important;}
.az-px-5{padding-left:64px !important; padding-right:64px !important;}


/******** COLORS ********/

.az-bg-white{background-color: #fff !important;}

/******** BUTTONS ********/

.btn {
    border-radius: 48px;
}

/* CTA "Scopri" della homepage: info box Porto e pulsanti WPBakery
 * classic e modern senza colore impostato (classe vc_btn3-color-). */
.home .porto-sicon-box .porto-sicon-read,
.home .vc_btn3-container .vc_btn3.vc_btn3-style-classic.vc_btn3-color-,
.home .vc_btn3-container .vc_btn3.vc_btn3-style-modern.vc_btn3-color- {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-top: 14px;
    padding: 9px 22px;
    border: 1px solid #dba83e;
    border-radius: 48px;
    color: #5c3e38 !important;
    background: #dba83e;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home .porto-sicon-box .porto-sicon-read:hover,
.home .porto-sicon-box .porto-sicon-read:focus-visible,
.home .vc_btn3-container .vc_btn3.vc_btn3-style-classic.vc_btn3-color-:hover,
.home .vc_btn3-container .vc_btn3.vc_btn3-style-classic.vc_btn3-color-:focus-visible,
.home .vc_btn3-container .vc_btn3.vc_btn3-style-modern.vc_btn3-color-:hover,
.home .vc_btn3-container .vc_btn3.vc_btn3-style-modern.vc_btn3-color-:focus-visible {
    border-color: #edbd55;
    color: #5c3e38 !important;
    background-color: #edbd55;
    transform: translateY(-1px);
}

.home .porto-sicon-box .porto-sicon-read:focus-visible,
.home .vc_btn3-container .vc_btn3.vc_btn3-style-classic.vc_btn3-color-:focus-visible,
.home .vc_btn3-container .vc_btn3.vc_btn3-style-modern.vc_btn3-color-:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/******** DISPLAY UTILITIES ********/

.az-d-none {
    display: none !important;
}

@media (max-width: 767px) {
    .az-d-none-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .az-d-none-desktop {
        display: none !important;
    }
}

/******** SEARCH MODULE ********/

.az-ricambi-search-results {
    display: none;
}

.az-ricambi-search-results.is-visible {
    display: block;
    background: #fff;
    max-height: 480px;
    overflow-y: auto;
    border-radius: 8px;
}

/* personalizzo l'overflow per renderlo radius */
.az-ricambi-search-results.is-visible::-webkit-scrollbar-track {
    border-radius: 8px;
}

/******** MODULo DI RICECA CUSTOM ********/

.az-ricambi-box {
    margin: 14px 0 30px;
    padding: 16px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    max-height: none !important;
    overflow: hidden !important;
}

.ricambi-input-wrapper {
    position: relative;
    width: 100%;
}

.ricambi-search {
    margin: 0 0 12px;
}

.ricambi-search-input {
    width: 100%;
    min-height: 42px;
    padding: 0 44px 0 14px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #fff;
    color: #343a40;
    font-size: 15px;
    line-height: 42px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ricambi-search-input:focus {
    border-color: #9d8b88;
    box-shadow: 0 0 0 3px rgba(157, 139, 136, 0.18);
    outline: 0;
}

.ricambi-terms {
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
}

.ricambi-terms::-webkit-scrollbar {
    width: 8px;
}

.ricambi-terms::-webkit-scrollbar-track {
    background: #f2f2f2;
    border-radius: 8px;
}

.ricambi-terms::-webkit-scrollbar-thumb {
    background: #beb2af;
    border-radius: 8px;
}

.ricambi-item {
    margin: 0;
}

.ricambi-item + .ricambi-item {
    border-top: 1px solid #f0f0f0;
}

.ricambi-item a {
    display: block;
    padding: 9px 10px;
    border-radius: 6px;
    color: #5c3e38;
    line-height: 1.35;
    text-decoration: none;
}

.ricambi-item a:hover,
.ricambi-item a:focus {
    background: #f7f3f2;
    color: #343a40;
}

.ricambi-empty {
    display: none;
    margin: 12px 0 0;
    padding: 12px;
    border-radius: 8px;
    background: #f7f3f2;
    color: #5c3e38;
    font-size: 14px;
}

.ricambi-clear-input {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    display: none;
}

.ricambi-clear-input:hover {
    color: #000;
}

.ricambi-search-spinner {
    position: absolute;
    right: 44px;
    top: 50%;
    display: none;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    border: 2px solid #d7d7d7;
    border-top-color: #343a40;
    border-radius: 50%;
    animation: az-search-spin 0.75s linear infinite;
}

.az-ricambi-search-results.is-loading {
    display: block;
    min-height: 56px;
}

@keyframes az-search-spin {
    to {
        transform: rotate(360deg);
    }
}

/******** GRAVITY FORMS ********/

.gform_wrapper,
.gform-theme--framework.gform-theme.gform_wrapper {
    --az-gform-button-bg: #5c3e38;
    --az-gform-button-bg-hover: #9d8b88;
    --az-gform-button-color: #fff;
    --gf-color-primary: var(--az-gform-button-bg);
    --gf-color-primary-darker: var(--az-gform-button-bg-hover);
    --gf-color-primary-lighter: var(--az-gform-button-bg-hover);
    --gf-ctrl-btn-radius: 48px;
    --gf-ctrl-btn-bg-color-primary: var(--az-gform-button-bg);
    --gf-ctrl-btn-bg-color-hover-primary: var(--az-gform-button-bg-hover);
    --gf-ctrl-btn-bg-color-focus-primary: var(--az-gform-button-bg-hover);
    --gf-ctrl-btn-border-color-primary: var(--az-gform-button-bg);
    --gf-ctrl-btn-border-color-hover-primary: var(--az-gform-button-bg-hover);
    --gf-ctrl-btn-border-color-focus-primary: var(--az-gform-button-bg-hover);
    --gf-ctrl-btn-color-primary: var(--az-gform-button-color);
    --gf-ctrl-btn-color-hover-primary: var(--az-gform-button-color);
    --gf-ctrl-btn-color-focus-primary: var(--az-gform-button-color);
}

.gform_wrapper .gform_footer input[type="submit"],
.gform_wrapper .gform_page_footer input[type="submit"],
.gform_wrapper .gform_page_footer input[type="button"],
.gform-theme--framework.gform-theme.gform_wrapper input[type="submit"],
.gform-theme--framework.gform-theme.gform_wrapper input[type="button"],
.gform-theme--framework.gform-theme.gform_wrapper button,
.gform-theme--framework.gform-theme.gform_wrapper .gform-theme-button,
.gform-theme--framework.gform-theme.gform_wrapper input[type="submit"].button.gform_button,
.gform_wrapper input.gform-button,
.gform_wrapper input.gform-button.button,
.gform_wrapper .gform_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 24px;
    border: 1px solid var(--az-gform-button-bg) !important;
    border-radius: 48px !important;
    background: var(--az-gform-button-bg) !important;
    color: var(--az-gform-button-color) !important;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.gform_wrapper .gform_footer input[type="submit"]:hover,
.gform_wrapper .gform_footer input[type="submit"]:focus,
.gform_wrapper .gform_page_footer input[type="submit"]:hover,
.gform_wrapper .gform_page_footer input[type="submit"]:focus,
.gform_wrapper .gform_page_footer input[type="button"]:hover,
.gform_wrapper .gform_page_footer input[type="button"]:focus,
.gform-theme--framework.gform-theme.gform_wrapper input[type="submit"]:hover,
.gform-theme--framework.gform-theme.gform_wrapper input[type="submit"]:focus,
.gform-theme--framework.gform-theme.gform_wrapper input[type="button"]:hover,
.gform-theme--framework.gform-theme.gform_wrapper input[type="button"]:focus,
.gform-theme--framework.gform-theme.gform_wrapper button:hover,
.gform-theme--framework.gform-theme.gform_wrapper button:focus,
.gform-theme--framework.gform-theme.gform_wrapper .gform-theme-button:hover,
.gform-theme--framework.gform-theme.gform_wrapper .gform-theme-button:focus,
.gform-theme--framework.gform-theme.gform_wrapper input[type="submit"].button.gform_button:hover,
.gform-theme--framework.gform-theme.gform_wrapper input[type="submit"].button.gform_button:focus,
.gform_wrapper input.gform-button:hover,
.gform_wrapper input.gform-button:focus,
.gform_wrapper input.gform-button.button:hover,
.gform_wrapper input.gform-button.button:focus,
.gform_wrapper .gform_button:hover,
.gform_wrapper .gform_button:focus {
    border-color: var(--az-gform-button-bg-hover) !important;
    background: var(--az-gform-button-bg-hover) !important;
    color: var(--az-gform-button-color) !important;
}

.gform_wrapper .gform_footer input[type="submit"]:disabled,
.gform_wrapper .gform_page_footer input[type="submit"]:disabled,
.gform_wrapper .gform_page_footer input[type="button"]:disabled,
.gform_wrapper input.gform-button:disabled,
.gform_wrapper input.gform-button.button:disabled,
.gform_wrapper .gform_button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/******** CUSTOM PRODUCT ********/

.single-product .vc_tta-title-text {
    font-size: 16px;
    font-weight: 400;
}

/******** SEZIONI ARCHIVE ********/

.az-subsections-archive {
    margin: 0 0 24px;
}

.az-subsections-archive__title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
}

.az-subsections-archive__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.az-subsections-archive__link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 14px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #fff;
    color: #343a40;
    line-height: 1.2;
    text-decoration: none;
}

.az-subsections-archive__link:hover,
.az-subsections-archive__link:focus {
    border-color: #9d8b88;
    color: #5c3e38;
    text-decoration: none;
}

.az-sezioni-archive {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 24px 0 40px;
}

.az-sezioni-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}

.az-sezioni-card__image {
    display: block;
    aspect-ratio: 4 / 3;
    background: #f7f7f7;
}

.az-sezioni-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.az-sezioni-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
}

.az-sezioni-card__title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.25;
    text-transform: uppercase;
}

.az-sezioni-card__title a {
    color: inherit;
}

.az-sezioni-card__button {
    margin-top: auto;
}

@media (max-width: 991px) {
    .az-sezioni-archive {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .az-sezioni-archive {
        grid-template-columns: 1fr;
    }
}

/******** MARCHI ARCHIVE ********/

.az-marchi-archive {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 24px 0 40px;
}

.az-marchi-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 100%;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}

.az-marchi-card__title {
    margin: 0 0 18px;
    font-size: 20px;
    line-height: 1.25;
    text-transform: uppercase;
}

.az-marchi-card__title a {
    color: inherit;
}

.az-marchi-card__button {
    margin-top: auto;
}

@media (max-width: 991px) {
    .az-marchi-archive {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .az-marchi-archive {
        grid-template-columns: 1fr;
    }
}

/******** CUSTOM HIDE ELEMENTS ********/

.tax-ricambi .show-section-archive{
    display: none;
}

/******** ASSISTENZA TICKETS ********/

.az-user-tickets {
    margin: 32px 0 40px;
}

.az-user-tickets__title {
    margin: 0 0 18px;
    font-size: 24px;
}

.az-user-tickets__list {
    display: grid;
    gap: 16px;
}

.az-ticket-card {
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}

.az-ticket-card__header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
}

.az-ticket-card__title {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
    text-transform: uppercase;
}

.az-ticket-card__date {
    flex: 0 0 auto;
    color: #777;
    font-size: 13px;
}

.az-ticket-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.az-ticket-card__meta span {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 48px;
    background: #f3f3f3;
    color: #343a40;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.az-ticket-card__content {
    color: #555;
}

.az-ticket-card__content p:last-child {
    margin-bottom: 0;
}

.az-ticket-card__attachments {
    margin-top: 12px;
    font-size: 13px;
}

.az-ticket-card__attachments span {
    font-weight: 600;
}

.az-ticket-message {
    margin: 24px 0;
}

@media (max-width: 575px) {
    .az-ticket-card__header {
        display: block;
    }

    .az-ticket-card__date {
        display: block;
        margin-top: 6px;
    }
}

/******** Header elements ********/

.menu-title{
    border-radius: 8px;
}


/* Product category slider - HOME */

.product-simple-tab .page-wrapper {
    background: transparent !important;

}

h3.az-btn-cat-slider {
    border-radius: 8px;
}


/* Override styles */

.star-rating:before {
    display: none;
}

/******** 404 PAGE ********/

.az-404 {
    padding: clamp(48px, 8vw, 96px) 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(233, 197, 119, 0.3), transparent 30%),
        linear-gradient(135deg, #faf8f5 0%, #fff 55%, #f4efea 100%);
}

.az-404__panel {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    align-items: center;
    gap: clamp(32px, 6vw, 80px);
    min-height: 480px;
    padding: clamp(32px, 6vw, 72px);
    overflow: hidden;
    border: 1px solid #e7dfd8;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 70px rgba(52, 42, 35, 0.08);
}

.az-404__content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.az-404__eyebrow {
    margin: 0 0 14px;
    color: #9d7650;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.az-404__title {
    margin: 0 0 20px;
    color: #292522;
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.05;
    text-transform: none;
}

.az-404__description {
    max-width: 590px;
    margin: 0 0 30px;
    color: #625b56;
    font-size: 17px;
    line-height: 1.7;
}

.az-404__search {
    position: relative;
    max-width: 590px;
    margin-bottom: 24px;
}

.az-404__search input {
    width: 100%;
    min-height: 56px;
    margin: 0;
    padding: 0 62px 0 20px;
    border: 1px solid #d9d0c9;
    border-radius: 48px;
    background: #fff;
    color: #34302d;
    font-size: 15px;
    box-shadow: 0 8px 24px rgba(52, 42, 35, 0.06);
}

.az-404__search input:focus {
    border-color: #9d8b88;
    box-shadow: 0 0 0 3px rgba(157, 139, 136, 0.16);
    outline: 0;
}

.az-404__search button {
    position: absolute;
    top: 6px;
    right: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #5c3e38;
    color: #fff;
    cursor: pointer;
}

.az-404__search button:hover,
.az-404__search button:focus {
    background: #9d8b88;
}

.az-404__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.az-404__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 48px;
    font-weight: 600;
}

.az-404__button--secondary {
    border: 1px solid #d6cbc3;
    background: #fff;
    color: #5c3e38;
}

.az-404__button--secondary:hover,
.az-404__button--secondary:focus {
    border-color: #5c3e38;
    background: #5c3e38;
    color: #fff;
}

.az-404__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.az-404__number {
    color: #e9c577;
    font-size: clamp(110px, 16vw, 210px);
    font-weight: 800;
    letter-spacing: -0.09em;
    line-height: 1;
    text-shadow: 0 12px 30px rgba(92, 62, 56, 0.13);
}

.az-404__gear {
    position: absolute;
    right: 4%;
    bottom: 14%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    border: 10px solid #fff;
    border-radius: 50%;
    background: #5c3e38;
    color: #fff;
    font-size: 40px;
    box-shadow: 0 12px 30px rgba(52, 42, 35, 0.2);
    transform: rotate(12deg);
}

.az-404__block {
    margin-top: 48px;
}

@media (max-width: 991px) {
    .az-404__panel {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .az-404__visual {
        grid-row: 1;
        min-height: 190px;
    }

    .az-404__number {
        font-size: clamp(110px, 30vw, 180px);
    }

    .az-404__gear {
        right: 20%;
        bottom: 0;
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
}

@media (max-width: 575px) {
    .az-404 {
        padding: 24px 0 48px;
    }

    .az-404__panel {
        gap: 24px;
        padding: 28px 20px 32px;
        border-radius: 10px;
    }

    .az-404__visual {
        min-height: 145px;
    }

    .az-404__gear {
        right: 12%;
        width: 58px;
        height: 58px;
        border-width: 7px;
        font-size: 26px;
    }

    .az-404__description {
        font-size: 15px;
    }

    .az-404__actions,
    .az-404__button {
        width: 100%;
    }
}


span.icl_lang_sel_translated {
    display: none;
}
/* Link alle schede delle codifiche precedenti e successive. */
.codifiche-product-link,
.codifiche-product-link:hover,
.codifiche-product-link:focus {
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

/* Azioni nella tabella ordini dell'area cliente. */
.woocommerce-orders-table__cell-order-actions,
.my_account_orders .order-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.woocommerce-orders-table__cell-order-actions .button,
.my_account_orders .order-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 36px;
    margin: 0 !important;
    padding: 8px 14px;
    color: #fff !important;
    background-color: #68443d;
    line-height: 1.2;
    white-space: nowrap;
}

.woocommerce-orders-table__cell-order-actions .button:hover,
.woocommerce-orders-table__cell-order-actions .button:focus,
.my_account_orders .order-actions .button:hover,
.my_account_orders .order-actions .button:focus {
    color: #fff !important;
    background-color: #4f332e;
}

.woocommerce-order-details .order-actions--buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
}

.woocommerce-order-details .order-actions--buttons .order-actions-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 38px;
    margin: 0 !important;
    padding: 9px 16px;
    color: #fff !important;
    background: #68443d !important;
    line-height: 1.2;
    white-space: nowrap;
}

.woocommerce-order-details .order-actions--buttons .order-actions-button:hover,
.woocommerce-order-details .order-actions--buttons .order-actions-button:focus {
    color: #fff !important;
    background: #4f332e !important;
}

/* Contatti rapidi: sopra il pulsante #topcontrol del tema. */
.az-floating-contacts {
    position: fixed;
    right: 15px;
    bottom: 80px;
    /* Porto usa 1004 per l'overlay e 1005 per il pannello off-canvas. */
    z-index: 1003;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.az-banner-top-head {
    padding: 12px 0;
    background: #68443d;
    color: #fff;
    text-align: center;
    overflow-wrap: anywhere;
}

.az-banner-top-head__widget + .az-banner-top-head__widget {
    margin-top: 8px;
}

.az-banner-top-head__widget > :last-child {
    margin-bottom: 0;
}

.az-banner-top-head__title {
    margin: 0 0 6px;
    color: inherit;
    font-size: 1rem;
}

.az-banner-top-head a {
    color: inherit;
    text-decoration: underline;
}

.az-floating-contacts--offcanvas-open {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.az-floating-contacts__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.az-floating-contacts__link--whatsapp {
    background-color: #25d366;
}

.az-floating-contacts__link--email {
    background-color: #68443d;
}

.az-floating-contacts__link:hover,
.az-floating-contacts__link:focus-visible {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.28);
}

.az-floating-contacts__link:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.az-floating-contacts__link svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

@media (max-width: 575px) {
    .az-floating-contacts {
        right: 10px;
        bottom: 72px;
        gap: 8px;
    }

    .az-floating-contacts__link {
        width: 44px;
        height: 44px;
    }
}
