/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
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
*/

/* Add your custom styles here */
:root {
  --secondary-color: #629989;
  --bright-color: #F0EEEA;
}

footer .credits a {
	text-decoration: underline;
	color: var(--secondary-color);
}
footer .credits a:hover {
	text-decoration: none;
	color: var(--secondary-color);
}

.hero-img:before {
	content: "";
	background: var(--bright-color);
	width: 50%;
	height: 100%;
	position: absolute;
	left: 50%;
}
.hero-img .elementor-widget-container:before {
	content: "";
	width: 100px;
	height: 100px;
	background: var(--bright-color);
	position: absolute;
	left: -20px;
	bottom: -20px;
}
.hero-img .elementor-widget-container:after {
	content: "";
	width: 100px;
	height: 100px;
	background: var(--secondary-color);
	position: absolute;
	right: -20px;
	top: -20px;
}
.hero-img img {
	position: relative;
	z-index: 10;
}
@media only screen and (max-width: 768px) {
	.hero-img:before {
		content: inherit;
	}
	.hero-img .elementor-widget-container:before {
		left: -10px;
		bottom: -10px;
	}
	.hero-img .elementor-widget-container:after {
		background: var(--bright-color);
		right: -10px;
		top: -10px;
	}
}

.elementor-widget-text-editor ul {
	padding-left: 20px;
}

/* Articolo singolo */
.single-post h2, .single-post h3, .single-post h4, .page h2 {
	margin-top: 1em;
}
.single-post ul, .single-post ol {
	padding-left: 20px;
}
.single-post li {
	margin-bottom: .5em;
}

/* Eventin */
.etn-template-default .etn-es-events-page-container {
    padding-top: 0;
}
.etn-event-banner-wrap.etn-event-single2 {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 120px 0 120px;
    display: flex;
    align-items: center;
}
.etn-event-banner-wrap.etn-event-single2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.55)
    );
}
.etn-event-banner-wrap.etn-event-single2 .etn-event-banner-content {
    position: relative;
    z-index: 2;
}
.etn-event-banner-wrap.etn-event-single2 .etn-event-entry-title {
    font-size: 48px;
    line-height: 1.15;
    font-weight: 500;
    max-width: 850px;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.35);
}
@media (max-width: 768px) {
    .etn-event-banner-wrap.etn-event-single2 {
        padding: 50px 20px 50px;
    }
    .etn-event-banner-wrap.etn-event-single2 .etn-event-entry-title {
        font-size: 30px;
        line-height: 1.25;
    }
}
.event-cta-wrapper {
    text-align: center;
}
.etn-template-default .event-cta-primary {
    display: inline-block;
    background: transparent;
    color: #ee7402;
    padding: 12px 28px;
    border-radius: 40px;
    border: 1px solid #ee7402;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}
.etn-template-default .event-cta-primary:hover {
    background: #ee7402;
    color: #ffffff;
}
.etn-event-header.etn-event-single2 .etn-col-lg-7 {
    max-width: 100%;
    text-align: center;
    flex: none;
}
.etn-event-banner-wrap.etn-event-single2 .etn-col-lg-10 {
    display: flex;
    justify-content: center;
}
.etn-event-single-wrap.etn-event-single2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0px 20px;
}
.etn-event-single2 .etn-row {
    justify-content: center;
}
.etn-template-default .etn-event-header {
    box-shadow: none;
    margin-bottom: 0;
}
@media (min-width: 992px) {
    .etn-sidebar {
        position: relative; 
        height: -webkit-fill-available;
    }
    .etn-single-event-ticket-wrap {
        position: sticky;
        top: 150px;
    }
}
.etn-sidebar .etn-event-meta-info ul li {
    margin: 0;
    padding: 0;
}
.etn-event-single2 .etn-widget .etn-social {
    display: none;
}
.etn-content-wrap {
    padding-right: 40px;
}
@media (max-width: 768px) {
    .etn-content-wrap {
        padding-right: 0;
    }
    .etn-sidebar {
        padding: 20px;
    }
}
.etn-event-entry-title {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 500;
    margin-bottom: 35px;
    color: #2f4f46;
}
.etn-event-content-body p,
.etn-event-content-body li {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}
.etn-event-content-body ul {
    padding-left: 20px;
}
.etn-event-content-body h2 {
    font-size: 26px;
    margin-top: 50px;
    margin-bottom: 20px;
    font-weight: 500;
    color: #2f4f46;
}
.etn-event-meta-info {
    background: #f6f8f7;
    border: 1px solid #e6ece9;
    border-radius: 14px;
    padding: 25px;
    margin-bottom: 30px;
}
.etn-event-meta-info li {
    font-size: 14px;
    color: #444;
}
/* BOX BIGLIETTI */
.etn-single-event-ticket-wrap {
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}
.etn-single-event-ticket-wrap .etn-btn,
.etn-single-event-ticket-wrap .etn-buy-ticket-button,
.etn-single-event-ticket-wrap .etn-purchase-ticket-root button.etn-purchase-button {
    background: #2f4f46;
    color: #ffffff;
    border: none;
    border-radius: 40px;
    padding: 14px 32px;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.etn-single-event-ticket-wrap .etn-btn:hover,
.etn-single-event-ticket-wrap .etn-buy-ticket-button:hover,
.etn-single-event-ticket-wrap .etn-purchase-ticket-root button.etn-purchase-button:hover {
    background: #26423a;
    transform: translateY(-2px);
}
.etn-ticket-quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e6ece9;
    border-radius: 40px;
    overflow: hidden;
}
.etn-ticket-quantity button {
    background: transparent;
    border: none;
    width: 38px;
    height: 38px;
    font-size: 18px;
    color: #2f4f46;
    cursor: pointer;
    transition: background 0.2s ease;
}
.etn-ticket-quantity button:hover {
    background: #f3f6f5;
}
.etn-ticket-quantity input {
    width: 40px;
    text-align: center;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: #2f4f46;
}
.schedule-tab-wrapper {
    margin-top: 70px;
}
.schedule-tab-wrapper .etn-tags-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 25px;
    color: #2f4f46;
}
.schedule-tab-wrapper .etn-nav li a {
    font-size: 16px;
    line-height: 1.5em;
    white-space: wrap;
}
.schedule-tab-wrapper .etn-single-schedule-item {
    padding: 25px 0;
    border-bottom: 1px solid #e6ece9;
}
.schedule-tab-wrapper .etn-schedule-time {
    font-weight: 500;
    font-size: 14px;
    color: #2f4f46;
}
.schedule-tab-wrapper .etn-accordion-heading {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}
.schedule-tab-wrapper .etn-single-schedule-item {
    font-size: 15px;
    line-height: 1.7;
}
.schedule-tab-wrapper .etn-single-schedule-item .etn-icon {
    display: none;
}
.etn-add-calender-url {
    background: #f6f8f7;
    border-radius: 14px;
    padding: 25px;
}
.etn-widget .etn-calender-list a {
    width: 100%;
    border: none;
}
.etn-widget .etn-calender-list a:hover {
    background: #eee;
}
.etn-add-to-calender {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 14px;
    color: #2f4f46;
}
.eventin-checkout-page .eventin-back-button {
    background: transparent;
    color: #666;
    text-transform: none;
    letter-spacing: 0;
    font-size: 13px;
    border-color: #ccc;
    height: auto;
}
.eventin-checkout-page .eventin-submit-button {
    height: auto !important;
}
.etn-event-item .etn-event-thumb img {
    max-height: 300px;
    object-fit: cover;
    object-position: center;
}

/* =========================================================
   CHECKOUT
========================================================= */

/* Nasconde titolo dettagli fatturazione */
body.woocommerce-checkout #customer_details h3 {
    display: none;
}

/* Titoli checkout */
body.woocommerce-checkout h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #2f4f46;
}

/* Contenitore checkout */
body.woocommerce-checkout form.checkout {
    max-width: 900px;
    margin: 0 auto 80px;
}

/* Stripe Express */
body.woocommerce-checkout .wc-stripe-express-checkout-element {
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ---------------------------------------------------------
   METODI DI PAGAMENTO
--------------------------------------------------------- */

body.woocommerce-checkout #payment {
    background: #eef4f2;
    border: 1px solid #dce8e4;
    border-radius: 12px;
    padding: 20px;
}

body.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid #eef2f0;
    margin-bottom: 20px;
    padding-bottom: 15px;
}

body.woocommerce-checkout .payment_methods li {
    padding: 10px 0;
}

body.woocommerce-checkout .payment_methods label {
    font-weight: 500;
}

body.woocommerce-checkout .payment_methods li input[type="radio"]:checked + label {
    color: #2f4f46;
    font-weight: 600;
}

/* Box metodo selezionato (Stripe / Bonifico) */
body.woocommerce-checkout #payment div.payment_box {
    background: #ffffff;
    border: 1px solid #dce8e4;
    border-radius: 12px;
    padding: 25px;
    margin-top: 15px;
    margin-bottom: 0;
    box-shadow: 0 8px 20px rgba(47, 79, 70, 0.05);
}

body.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: #ffffff;
}

body.woocommerce-checkout #payment div.payment_box fieldset {
    border: none;
}

/* Select paese */
body.woocommerce-checkout select {
    background-color: #f9fbfa;
    border: 1px solid #dce8e4;
    border-radius: 8px;
}

/* Checkbox salvataggio carta */
body.woocommerce-checkout #payment .form-row {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.5em;
}

/* Pulsante ordine */
body.woocommerce-checkout #place_order {
    background: #2f4f46;
    color: #ffffff;
    border: none;
    padding: 16px 36px;
    border-radius: 40px;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

body.woocommerce-checkout #place_order:hover {
    background: #26423a;
    transform: translateY(-2px);
}

/* =========================================================
   THANK YOU PAGE
========================================================= */

/* Hero ridotto (Elementor section specifica) */
body.woocommerce-checkout .elementor-element-a96950a {
    min-height: 170px;
}

/* Contenitore principale */
body.woocommerce-checkout .woocommerce-order {
    max-width: 900px;
    font-size: 15px;
    margin: 0 auto;
    padding: 20px 50px 50px;
}

/* Titoli thank you */
body.woocommerce-checkout .woocommerce-order h2,
body.woocommerce-checkout .woocommerce-order h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 25px;
    color: #2e4e46;
}

/* Riepilogo ordine */
body.woocommerce-checkout .woocommerce-order-overview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 40px;
    padding: 30px;
    background: #f6f8f7;
    border-radius: 12px;
    margin: 40px 0;
}

body.woocommerce-checkout .woocommerce-order-overview li {
    list-style: none;
    font-size: 14px;
    margin: 0;
}

body.woocommerce-checkout .woocommerce-order-overview li strong {
    display: block;
    font-size: 18px;
    font-weight: 500;
    margin-top: 6px;
    color: #2f4f46;
}
.etn-thankyou-page-order-details {
    display: none;
}

/* ---------------------------------------------------------
   TABELLA ORDINE
--------------------------------------------------------- */

body.woocommerce-checkout table.shop_table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e6ece9;
    overflow: hidden;
}

body.woocommerce-checkout table.shop_table thead th {
    background: #f3f6f5;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
    border-bottom: 1px solid #e6ece9;
    border-top: none;
}

body.woocommerce-checkout table.shop_table td,
body.woocommerce-checkout table.shop_table th {
    padding: 18px 22px;
    border: none;
}

body.woocommerce-checkout table.shop_table tbody tr {
    border-top: 1px solid #eef2f0;
}

body.woocommerce-checkout table.shop_table td:last-child,
body.woocommerce-checkout table.shop_table th:last-child {
    border-left: 1px solid #e6ece9;
}

/* ---------------------------------------------------------
   DETTAGLI CLIENTE
--------------------------------------------------------- */

body.woocommerce-checkout .woocommerce-customer-details {
    border-radius: 12px;
    background: #ffffff;
}

body.woocommerce-checkout .woocommerce-customer-details h2 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
}

body.woocommerce-checkout .woocommerce-customer-details address {
    font-style: normal;
    line-height: 1.6;
    font-size: 15px;
    border: 1px solid #e5e5e5;
    padding: 20px;
}

/* Success notice */
body.woocommerce-checkout .woocommerce-notice--success {
    background: #e6f4ef;
    border-left: 4px solid #2e4e46;
    padding: 18px 25px;
    border-radius: 6px;
    font-size: 15px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    body.woocommerce-checkout .woocommerce-order {
        padding: 30px 20px;
    }

    body.woocommerce-checkout .woocommerce-order-overview {
        grid-template-columns: 1fr;
    }

}