/* 

	Theme Name: Kona Child
	Theme URI: http://www.spab-rice.com/themes
	Description: Kona child Theme. 
	Version: 1.0
	Author: Spab Rice 
	Author URI: http://www.spab-rice.com 
	Tags: portfolio
	Template:    kona
	Text Domain:  kona-child
	
*/

/* -----------------------------------
	CHILD CSS
------------------------------------- */

/* Miglioramenti per la pagina di checkout */
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}

.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table th,
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td {
	padding: 12px 10px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	text-align: left;
}

.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table thead th {
	background-color: #f8f8f8;
	font-weight: 600;
}

.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .product-name {
	width: 60%;
}

.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .product-total {
	text-align: right;
}

.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .cart_item td {
	vertical-align: middle;
}

.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot th {
	font-weight: 600;
	text-align: left;
}

.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot td {
	text-align: right;
}

.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.order-total th,
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot tr.order-total td {
	font-weight: 700;
	font-size: 1.1em;
	border-top: 2px solid rgba(0, 0, 0, 0.1);
}

/* Miglioramenti per le immagini dei prodotti nel checkout */
.woocommerce-checkout .product-name img {
	max-width: 60px;
	height: auto;
	margin-right: 10px;
	vertical-align: middle;
	display: inline-block;
}

/* Stili per il checkout semplificato */
.woocommerce-checkout #customer_details {
	margin-bottom: 30px;
}

.woocommerce-checkout .woocommerce-billing-fields h3 {
	font-size: 24px;
	margin-bottom: 20px;
}

.woocommerce-checkout .form-row {
	margin-bottom: 15px;
}

/* Evidenzia la sezione di riepilogo ordine */
#order_review_heading {
	font-size: 24px;
	margin: 30px 0 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #f8f8f8;
}

/* Bottone di conferma prenotazione */
#place_order {
	width: 100%;
	padding: 15px !important;
	font-size: 16px !important;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-top: 20px !important;
}

/* Rimuovi il padding extra quando i campi di indirizzo sono nascosti */
.woocommerce-checkout .col2-set .col-2 {
	display: none !important;
}

.woocommerce-checkout .col2-set .col-1 {
	width: 100% !important;
}

/* Stile specifico per rimuovere tutti i campi indirizzo nel checkout */
.woocommerce-billing-fields__field-wrapper p:not(#billing_email_field, #billing_phone_field) {
	display: none !important;
}

.woocommerce-shipping-fields {
	display: none !important;
}

.woocommerce-additional-fields {
	display: none !important;
}

#ship-to-different-address {
	display: none !important;
}

/* Nascondi spedizione nel riepilogo */
.woocommerce-checkout-review-order-table .shipping {
	display: none !important;
}

/* Assicurati che il titolo della sezione di fatturazione sia corretto */
.woocommerce-billing-fields h3 {
	font-size: 20px !important;
	margin-bottom: 20px !important;
}

/* Aumenta la dimensione dei campi email e telefono */
#billing_email_field,
#billing_phone_field {
	width: 100% !important;
	padding: 0 !important;
	margin-bottom: 15px !important;
}

#billing_email_field input,
#billing_phone_field input {
	width: 100% !important;
	padding: 12px !important;
	font-size: 16px !important;
}