/* List spacing in paragraphs */
.elementor-widget-text-editor>.elementor-widget-container>ul {
    margin-bottom: 16px;
}

/* Social icons in header  */
.social-icons-header .elementor-icon.elementor-social-icon {
    width: calc(var(--icon-size, 25px) + 2* var(--icon-padding, .3em));
    height: calc(var(--icon-size, 25px) + 2* var(--icon-padding, .3em));
}

/* Gradient divider */
.divisore-oro-gradiente {
    position: relative;
}

.divisore-oro-gradiente::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    /* Thickness of the border */
    background: linear-gradient(90deg, #F8E0AC, #D4AF37);
    z-index: 1;
}

/* Optical align icons to button text */
.pulsante-icona-fix .elementor-button-icon {
    /*margin-top: 2px;*/
}

/* Keep button to bottom in product grid */
.griglia-pacchetti-pulsante {
    margin-top: auto;
}

/* Add to cart margin */
.single_add_to_cart_button.button.alt {
    margin-top: 20px !important;
}

/* Add to cart button gradient */
.single_add_to_cart_button.button.alt,
.single_add_to_cart_button.button.alt:hover {
    background-image: linear-gradient(180deg, #F8E0AC 0%, #D4AF37 100%);
}

/* Apply border-radius to closed accordion headers */
.e-n-accordion-item:not([open]) .e-n-accordion-item-title {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Accordion: remove border-radius when the accordion is open */
.e-n-accordion-item[open] .e-n-accordion-item-title {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Accordion: add spacing between text and icon */
.e-n-accordion-item-title-icon {
    margin-left: 10px;
    margin-right: 12px;
}

/* Checkout cleanup */
.woocommerce form .form-row .optional {
    /*display: none;*/
}

#order_review>table>thead>tr>th.product-name {
    display: none;
}


#order_review>table>thead>tr>th.product-total {
    display: none;
}

.elementor-widget-woocommerce-checkout-page .woocommerce .shop_table tbody td .product-quantity {
    display: none;
}

/*
.e-checkout__order_review td.product-total {
    display: none;
}



#order_review>table>tfoot>tr.cart-subtotal {
    display: none;
}


#order_review>table>tbody>tr>td.product-name>strong {
    display: none;
}
    */

.woocommerce-billing-fields h3,
.woocommerce-additional-fields h3,
h3#order_review_heading {
    /* Setting these via Elementor doesn't seem to work (Stile -> Tipografia -> Titoli)*/
    font-size: 16px !important;
    margin-bottom: 16px !important;
}

.elementor-widget-woocommerce-checkout-page .woocommerce-checkout #payment .payment_methods li {
    line-height: 32px;
}

#payment .payment_methods li img.stripe-icon {
    display: none;
}

fieldset#wc-stripe-upe-form {
    border: 0px;
}

.woocommerce-terms-and-conditions-checkbox-text a {
    color: #16132A;
    text-decoration: underline;
}

.woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 16px;
}

/* WooCommerce "Sei già registrato? Clicca qui per accedere" */
.e-show-login {
    /*color: #16132A !important;*/
}

/* WooCommerce "Hai perso la password?" */
.lost_password {
    font-family: "Montserrat";
    font-size: 14px !important;
}

/* WooCommerce error message: setting this via Site Settings is broken */
.e-wc-error-notice .woocommerce-error {
    font-size: 16px;
}

/* Checkout: hide country */
/*#billing_country_field {
	display: none;
}*/

/* WooCommerce generic buttons (login, save address..) */
.woocommerce-button {
    border-style: solid !important;
    border-width: 2px 2px 2px 2px !important;
    border-color: #1F1C3E !important;
    border-radius: 10px 10px 10px 10px !important;
    background-color: #1F1C3E !important;
    color: white !important;
}

.woocommerce-button:hover {
    border-style: solid !important;
    border-width: 2px 2px 2px 2px !important;
    border-color: #1F1C3E !important;
    border-radius: 10px 10px 10px 10px !important;
    background-color: white !important;
    color: #1F1C3E !important;
}

/* WooCommerce checkout: error messages below fields */
#add_payment_method .checkout .checkout-inline-error-message,
.woocommerce-cart .checkout .checkout-inline-error-message,
.woocommerce-checkout .checkout .checkout-inline-error-message {
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
}

/* WooCommerce checkout: error messages in NoticeGroup */
.woocommerce-error li a,
.woocommerce-error li a:hover,
.woocommerce-error li a:active {
    color: #AA0000;
}

/* WooCommerce checkout: T&C checkbox spacing */
.woocommerce-terms-and-conditions-wrapper {
    margin-top: 16px;
}

/* Il Mio Account */
.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce-MyAccount-content {
    font-family: "Montserrat";
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .wc-item-meta,
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce strong.wc-item-meta-label {
    color: #1F1C3E;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce tbody>tr:nth-child(2n)>td,
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce tbody>tr:nth-child(2n)>th,
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce tbody>tr:nth-child(odd)>td,
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce tbody>tr:nth-child(odd)>th {
    color: #1F1C3E;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce tbody>tr:nth-child(2n)>td,
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce tbody>tr:nth-child(2n)>th,
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce tbody>tr:nth-child(odd)>td,
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce tbody>tr:nth-child(odd)>th {
    font-size: 14px;
}

/* Il Mio Account -> Riepilogo ordine */
.woocommerce-table--custom-fields {
    font-family: "Montserrat";
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .shop_table {
    padding-left: 24px;
}

table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details>tbody>tr>td.woocommerce-table__product-name.product-name>.product-quantity {
    display: none;
}

/* Thank you page */
.woocommerce-table--order-details,
.woocommerce-table--custom-fields {
    font-family: "Montserrat";
    color: #1F1C3E;
}

.woocommerce-customer-details {
    font-family: "Montserrat";
    color: #1F1C3E;
}

td.woocommerce-table__product-name.product-name a {
    color: #1F1C3E;
}

/* WooCommerce: image caption */
.gcw-caption {
    margin-top: 20px;
}