/* ---------------------------------------- */
/* HEADER --------------------------------- */

.elementor-location-header .search-form {
    display: flex;
    margin: 0 auto;
}

.elementor-location-header .search-form .search-field {
    padding: 0.25rem 0.5rem;
    border-radius: 0;
    border: 1px solid var( --e-global-color-primary );
}

.elementor-location-header .search-form .search-submit {
    padding: 0.25rem 1rem;
    border-radius: 0;
    border: 1px solid var( --e-global-color-primary );
    margin-left: -1px;
}

/* --------------------------------------------- */
/* WOOCOMMERCE --------------------------------- */

.woocommerce-category .elementor-posts .elementor-post__card {
    border-color: var( --e-global-color-primary );
    border-width: 1px;
}

.woocommerce-category {
    --grid-column-gap: 30px; --grid-row-gap: 35px;
}

.woocommerce-category .elementor-posts .elementor-post__card .elementor-post__text {
    margin-top: 0px;
}

.woocommerce-category.elementor-widget-posts .elementor-post__title,
.woocommerce-category.elementor-widget-posts .elementor-post__title a {
    text-transform: uppercase;
    color: var( --e-global-color-primary );
    font-weight: var( --e-global-typography-primary-font-weight );
}

.woocommerce-category.elementor-widget-posts .elementor-post__excerpt ul {
    margin-top: 1em;
    padding-left: 1.25em;
    line-height: 1.2;
}

.woocommerce-category.elementor-widget-posts .elementor-post__excerpt li a {
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
    text-transform: uppercase;
    color: var( --e-global-color-text );

}

/* PAGINA PRODOTTO */
.elementor-widget-woocommerce-product-content h4 { margin-top: 2em; }

.single-product .taxonomy_product_brand img {
    max-height: 40px;
}

/* ------------------------------------------ */
/* WOOCOMMERCE BREADCRUMB ------------------- */
body.archive.woocommerce .woocommerce-breadcrumb,
body.archive.woocommerce .woocommerce-breadcrumb a {
    margin-bottom: 0;
    letter-spacing: 0.05em;
}

/* ------------------------------------------ */
/* WOOCOMMERCE CATEGORY ------------------- */
.woocommerce-category-products {
    background-color: var( --e-global-color-primary );
    display: flex;
    padding: 0.5em 1em 0.5em 0.5em;
    margin-bottom: 1em;
    border-radius: 4px;
    transition: 0.3s ease background-color;
}

.woocommerce-category-products:hover {
    background-color: var( --e-global-color-accent );
    
}

.woocommerce-category-products .category-icon {
    margin-right: 1em;
    display: flex;
    align-items: center;
    
}

.woocommerce-category-products .category-icon svg {
    fill: var( --e-global-color-8e4ba0f );
    height: 1em;
}

.woocommerce-category-products .category-name {
    flex-grow: 1;
    color: var( --e-global-color-8e4ba0f );
    text-transform: uppercase;
    font-weight: 500;
}

.woocommerce-category-products .category-goto {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: var( --e-global-color-8e4ba0f );
    font-weight: 400;
}

.woocommerce-category-products .category-goto svg {
    height: 0.9em;
    fill: var( --e-global-color-8e4ba0f );
    margin-left: 0.5em;
    vertical-align: sub;
}

/* Archivio - Lista delle categoria ANCORE */
.woocommerce-subcategories-list {
    display: flex;
    list-style: none;
    padding: 0;
}

.woocommerce-subcategories-list li {
    background-color: var( --e-global-color-4380409 );
    display: inline-block;
    font-size: 0.9em;
    padding: 0.25em 1em 0.25em 0.5em;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    margin-right: 1em;
}

.woocommerce-subcategories-list li:last-child {
    margin-right: 0;
}

.woocommerce-subcategories-list li a {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.woocommerce-subcategories-list li .icon { display: flex; margin-right: 1em; }

.woocommerce-subcategories-list li .icon svg {
    fill: var( --e-global-color-accent );
    height: 0.9em;
}

.woocommerce-subcategories-list li .name {
    color: var( --e-global-color-accent );
    text-transform: uppercase;
}


/* Archivio - Lista delle categorie e dei prodotti */
.archive .shortcode-woocommerce-subcategories-list-and-products .elementor-widget.woocommerce-category {
    margin-block-end: 2em;
}

.archive .shortcode-woocommerce-subcategories-list-and-products .elementor-widget.products-card {
    --grid-column-gap: 30px; --grid-row-gap: 35px;
    margin-block-end: 3em;
}

.shortcode-woocommerce-subcategories-list-and-products .products-card article {
    position: relative;
    padding: 1em 1em 0.5em 1em;
    border: 1px solid var( --e-global-color-primary );
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

.shortcode-woocommerce-subcategories-list-and-products .products-card .decoration {
    position: absolute;
    right: -1px;
    bottom: -10px;
    display: block;
    width: 100px;
    height: 10px;
    background-color: var( --e-global-color-primary );
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

.shortcode-woocommerce-subcategories-list-and-products .products-card .decoration::before {
    content: "";
    display: block;
    width: 0;
    border-top: 10
    px solid var( --e-global-color-primary );
    border-left: 10px solid transparent;
    margin-left: -10px;
}

.shortcode-woocommerce-subcategories-list-and-products .products-card article .elementor-post__card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.shortcode-woocommerce-subcategories-list-and-products .products-card article .elementor-post__title {
    margin-top: 0;
    line-height: 0.9;
    text-transform: uppercase;
}

.shortcode-woocommerce-subcategories-list-and-products .products-card article .elementor-post__title a {
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
    font-weight: var( --e-global-typography-primary-font-weight );
    color: var( --e-global-color-primary );
    display: block;
}

.shortcode-woocommerce-subcategories-list-and-products .products-card article .elementor-post__excerpt { margin-bottom: 2em; }
.shortcode-woocommerce-subcategories-list-and-products .products-card article .elementor-post__excerpt p { font-size: 1em; }

.shortcode-woocommerce-subcategories-list-and-products .products-card article .elementor-post__thumbnail { margin-bottom: 2em; }
.shortcode-woocommerce-subcategories-list-and-products .products-card article .elementor-post__thumbnail img {
    display: block;
    width: 80%;
    max-height: none;
    max-width: none;
}

.shortcode-woocommerce-subcategories-list-and-products .products-card article .elementor-post__meta-data {
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
    font-weight: var( --e-global-typography-primary-font-weight );
    text-transform: uppercase;
    margin-top: auto;
}

.shortcode-woocommerce-subcategories-list-and-products .products-card article .elementor-post__meta-data .elementor-post-details {
    padding: 0.5em 1em;
    margin-right: -1em;
}

/* ---------------------------------------- */
/* LISTA DELLE SOTTOCATEGORIE ------------- */
.archive .shortcode-woocommerce-subcategories-list-and-products .elementor-widget.subsub-category {
    --grid-column-gap: 30px; --grid-row-gap: 35px; margin-block-end: 3em;
}

.archive .shortcode-woocommerce-subcategories-list-and-products .elementor-widget.subsub-category article {
    position: relative;
    padding: 1em 1em 0.5em 1em;
    border: 1px solid var( --e-global-color-primary );
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-left-radius: 4px;
    border-left-width: 10px;
}

.archive .shortcode-woocommerce-subcategories-list-and-products .elementor-widget.subsub-category article .elementor-post__card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.archive .shortcode-woocommerce-subcategories-list-and-products .elementor-widget.subsub-category article .elementor-post__excerpt {
    font-size: 0.9em;
    font-weight: 500;
}

.archive .shortcode-woocommerce-subcategories-list-and-products .elementor-widget.subsub-category article .elementor-post__title {
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
    font-weight: var( --e-global-typography-primary-font-weight );
    color: var( --e-global-color-primary );
    display: block;
    line-height: 0.9;
    text-transform: uppercase;
}

.archive .shortcode-woocommerce-subcategories-list-and-products .elementor-widget.subsub-category article .elementor-post__meta-data {
    margin-top: auto;
}

.archive .shortcode-woocommerce-subcategories-list-and-products .elementor-widget.subsub-category article .elementor-post-details {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: end;
}
.archive .shortcode-woocommerce-subcategories-list-and-products .elementor-widget.subsub-category article .elementor-post-details svg {
    fill: var( --e-global-color-primary );
    height: 0.9em;
    vertical-align: sub;
    margin-left: 0.5em;
}

/* ---------------------------------------- */
/* MARCHI --------------------------------- */

.brand-section {
    margin-bottom: 4rem;
}

.woocommerce-brands .elementor-posts .elementor-post__card {
  border-color: var( --e-global-color-primary );
  border-width: 1px;
}

.woocommerce-brands .elementor-posts .elementor-post__card .elementor-post__excerpt {
  line-height: 1.2;
}