/* 
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 */

.header-top {
  display: block;
}

/* Nascondi la seconda sezione all'inizio */
.header-scroll {
  display: none;
}

/* Quando Elementor applica la classe sticky */
.elementor-sticky--effects .header-top {
  display: none;
}

@media (min-width: 1025px) {
	.elementor-sticky--effects .header-scroll {
  display: block;
}
}

.loop-articolo img {
	 object-fit:cover;
    object-position: center center;
    height: 350px;
}

.loop-partner img {
	 object-fit:contain;
    object-position: center center;
    height: 180px;
}

@media (min-width: 1025px) {
    height: 120px;
}
}

.form-newsletter [type=submit] {
	width: 100%;
	background-color: #CE5616;
	border: 1px solid #CE5616;
	color: #FFFFFF;
}

.crea-o-regala-un-tour img {
	 object-fit:cover;
    object-position: center center;
    height: 300px;
}


/**
 * Immagine prodotto nel checkout classico con nome e quantità affiancati
 */

.woocommerce-checkout-review-order-table .product-name {
    padding: 10px 0;
}

.checkout-product-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.checkout-product-image {
    flex-shrink: 0;
}

.checkout-product-image img {
    display: block;
    border-radius: 4px;
}

.checkout-product-details {
    flex: 1;
    line-height: 1.5;
}

/* Hide the duplicate quantity that appears outside the container */
.woocommerce-checkout-review-order-table .product-name > .product-quantity {
    display: none;
}

/* campi personalizzati checkout */
.fiscal-codice-fiscale .optional, .fiscal-partita-iva .optional, .fiscal-codice-sdi .optional  {
	display: none;
}
/* fine campi personalizzati checkout */

.wpcf7 label {
	width: 100%;
}

.header-home-content {
	position: absolute;
	left: 0;
	z-index: 15;
}

#home-image-carousel img.swiper-slide-image {
    object-fit:cover;
    object-position: center center;
	width: 100%;
    height: 88vh;
	filter: brightness(0.6);
}

#home-image-carousel .swiper .swiper-pagination-bullets.swiper-pagination-horizontal {
	bottom: 30px;
}

#tour-in-arrivo .loop-tour img {
	object-fit:cover;
    object-position: center center;
    height: 280px;
}

.chi-sono h1, .chi-sono h2, .chi-sono h3 {
	font-family: "Birthstone", Sans-serif;
    font-weight: 400;
	color: #04AB9F;
}

.chi-sono .wp-block-button__link {
	background-color: #CE5616;
	border-radius: 5px;
	padding: 12px 30px;
	font-family: "Helvetica", Sans-serif !important;
    font-size: 18px !important;
}

#chi-sono h2 {
	font-size: 2.2rem;
}

#chi-sono h2 {
	font-size: 2rem;
}

.loop-cosa-faccio img {
	 object-fit:cover;
    object-position: center center;
    height: 350px;
}
.single-tour-privati .wpcf7 [type=submit] {
	border: 1px solid #ffffff;
	color: #ffffff;
	font-family: "Helvetica", Sans-serif;
    font-size: 18px;
    font-weight: 400;
}

.single-tour-privati .wpcf7 [type=submit]:hover {
	background-color: #ffffff;
	color: #CE5616;
}

.single-tour-privati .wpcf7-response-output {
	color: #ffffff;
}

.tour-loop-carousel .loop-tour img {
	object-fit:cover;
    object-position: center center;
    height: 230px;
}

.product-loop-carousel .swiper-slide {
	padding: 15px 5px;
}

.product-loop-carousel .e-loop-item .elementor-widget-theme-post-featured-image img {
	 object-fit:cover;
    object-position: bottom;
    height: 350px;
}

.loop-prodotto .elementor-widget-theme-post-featured-image img {
	 object-fit:cover;
    object-position: bottom;
    height: 350px;
}

.loop-tour-see-more .elementor-heading-title {
	text-decoration: underline;
	text-underline-offset: 5px;
}

/* pagina prodotto */

:is(.elementor-widget-woocommerce-product-add-to-cart,.woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,.elementor-widget-wc-add-to-cart,.woocommerce div.product .elementor-widget-wc-add-to-cart) form.cart:not(.grouped_form):not(.variations_form) {
	flex-wrap: wrap;
}

/* colonna immagine prodotto sticky */
@media (min-width: 1024px) {
	.image-column {
  position: sticky;
   top: calc(45px + 5rem); /* Distance from top of viewport when stuck */
  align-self: flex-start; /* Ensures proper sticky behavior */
  flex: 0 0 auto; /* Prevents the column from growing/shrinking */
  height: 100vh; /* Optional: prevents image from being taller than viewport */
}

.content-column {
  flex: 1; /* Takes remaining space */
}
}

.woocommerce-checkout .alignwide {
	margin-inline: 0px;
}
