/*
Theme Name: Nimex 2024
Theme URI: https://github.com/elementor/hello-theme/
Description: Nimex is a child theme of Hello Elementor, created by Elementor team
Author: Infrarossi
Author URI: https://infrarossi.biz
Template: hello-elementor
Version: 1.0.1
Text Domain: nimex-2024
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Titoli */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif!important;
    font-weight: 800;
    color: #000000;
    margin-bottom: 1.5rem;
}

.button {
	background:#E67600!important;
	border-radius:25px!important;
	color:#fff!important;
}

.nimex-blocco-news img.attachment-large {
	height:250px!important;
	object-fit:cover;
}

.post-41 a, .post-42 a {
	color:#e67600!important;
}

#coupon_code {
	width:195px!important;
}

/*** WOOCOMMERCE ***/

.attachment-woocommerce_thumbnail {
	height:200px!important;
	object-fit:cover;
}

.woocommerce a.button-outofstock {
    background-color: red !important;
    color: white !important;
    pointer-events: none; /* opzionale: disattiva il click */
    cursor: not-allowed;
}

/*** MY ACCOUNT ***/

/* Stile del menu di navigazione dell'account */

.post-43, .post-41, .post-42 {
    padding: 3rem 1rem; /* Aggiunge più spazio bianco intorno al contenuto */
    max-width: 1200px;
    margin: 0 auto;
}


.woocommerce-MyAccount-navigation {
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #ffffff;
    border: 1px solid #e0e0e0; /* Grigio chiaro */
    border-radius: 8px;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.woocommerce-MyAccount-navigation li {
    flex: 1;
}

.woocommerce-MyAccount-navigation a {
    display: block;
    padding: 0.5rem 1rem;
    color: #E67600;
    text-decoration: none;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-navigation a:hover,
.woocommerce-MyAccount-navigation .is-active a {
    background-color: #E67600;
    color: #ffffff;
    border-color: #E67600;
}

/* Contenuto dell'account */
.woocommerce-MyAccount-content {
    padding: 2rem;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    line-height: 1.6;
}

/*** FINE MY ACCOUNT ***/

.woocommerce-message, .woocommerce-info {
	border-top-color: #e67600;
}

/*.button.wc-forward {
	color:#000!important;
	border-radius:25px!important;
}*/

.woocommerce-message::before, .woocommerce-info::before {
	content: "\e015";
	color: #e67600!important;
}

/*** PAGINA CARRELLO ***/

/* Tavola del carrello */
.woocommerce-cart-form table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    background-color: #ffffff;
    border: 1px solid #e0e0e0; /* Grigio chiaro */
}

.woocommerce-cart-form th,
.woocommerce-cart-form td {
    padding: 1rem;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.woocommerce-cart-form th {
    background-color: #f9f9f9;
    font-weight: 600;
}

.woocommerce-cart-form tr:nth-child(even) {
    background-color: #f7f7f7;
}

.woocommerce-cart-form .product-thumbnail img {
    width: 60px!important;
    height: 60px!important;
	object-fit:cover;
    border-radius: 4px;
}

/* Pulsanti */
.woocommerce-cart-form .button {
    background-color: #E67600;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.woocommerce-cart-form .button:hover {
    background-color: #c56100;
}

/* Campi di input */
.woocommerce-cart-form .input-text {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Totale carrello */
.cart_totals {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.cart_totals table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.cart_totals th,
.cart_totals td {
    padding: 0.5rem;
    border: none;
    text-align: left;
}

.cart_totals .order-total th,
.cart_totals .order-total td {
    font-weight: bold;
    font-size: 1.2rem;
    color: #E67600;
}

/* Pulsante procedi al checkout */
a.checkout-button {
    background-color: #E67600!important;
    color: #ffffff!important;
	line-height:0!important;
    display: block;
    text-align: center;
    padding: 1rem 1.5rem;
    border-radius: 25px!important;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

id#coupon_code {
	width:190px!important;
}

.checkout-button:hover {
    background-color: #c56100;
}

/* Sezione "Potresti essere interessato a..." */
.cross-sells {
    margin-top: 2rem;
}

.cross-sells h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cross-sells ul.products {
    list-style: none;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.cross-sells ul.products li.product {
    width: calc(50% - 0.5rem);
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    background-color: #ffffff;
}

.cross-sells ul.products li.product a {
    text-decoration: none;
    color: #000000;
}

.cross-sells ul.products li.product .button {
    margin-top: 0.5rem;
}


/*** FINE PAGINA CARRELLO ***/

/*** BLOCCO METODI DI PAGAMENTO ***/

/* Stile generale per la lista dei metodi di pagamento */

#wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}




/*** FINE BLOCCO METODI DI PAGAMENTO ***/

.woocommerce #content table.cart img, .woocommerce table.cart img, .woocommerce-page #content table.cart img, .woocommerce-page table.cart img {
	height:150px;
}

/* Stile dei messaggi di carrello vuoto */
.cart-empty.woocommerce-info {
    text-align: center;
    font-size: 18px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #e67600;
    color: #333;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
}

/* Pulsanti */
.button {
    background-color: #e67600;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
}

.button:hover {
    background-color: #ff8533;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}



/* Tabelle */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

table th,
table td {
    padding: 1rem;
    border: 1px solid #e0e0e0;
    text-align: left;
}

table th {
    background-color: #f9f9f9;
    font-weight: 600;
}

table tr:nth-child(even) {
    background-color: #f7f7f7;
}

/* Stile generale per i campi del modulo */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
select,
textarea,
button {
    width: 100%;
    height: 40px;
    padding: 10px;
    font-size: 1rem;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Specifico per textarea (altezza maggiore) */
textarea {
    height: auto;
    min-height: 100px;
    resize: vertical;
}

/* Hover e focus */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
    border-color: #0073aa;
    background-color: #f9f9f9;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.3);
}

.select2-container {
	height:40px!important;
}

.select2-container--default .select2-selection--single {
	height:40px!important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height:40px!important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] {
	background-color: #e67600!important;
	color: #fff;
}