/*
Theme Name: Vins de terroir
Theme URI:  https://odiens.com
Author:     Odiens
Author URI: https://odiens.com
Template:   hello-elementor
Version:    1.0
License:    GNU General Public License v2 or later
*/

@media print {
 	#masthead {
		display:none !important;
	}
	#page > div > section.elementor-section.elementor-top-section.elementor-element.elementor-element-5fcc400e.elementor-section-height-min-height.elementor-section-boxed.elementor-section-height-default.elementor-section-items-middle {
		display:none;
	}
	#colophon {
		display:none;
	}
	#page > div > section.elementor-section.elementor-top-section.elementor-element.elementor-element-159cfd87.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default > div > div > div > section.elementor-section.elementor-inner-section.elementor-element.elementor-element-45c1dcde.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default {
		display:none;
	} 
	header {
		display:none !important;
	}
	#masthead > div > section > div > div.elementor-column.elementor-col-50.elementor-top-column.elementor-element.elementor-element-1c4f4c47.animated.fadeIn > div > div > div > a > img {
		display:none !important;
	}
	#masthead > div {
		display:none !important;
	}
	#page > div > section.elementor-section.elementor-top-section.elementor-element.elementor-element-159cfd87.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default > div > div > div > section.elementor-section.elementor-inner-section.elementor-element.elementor-element-33c7ae17.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default > div > div.elementor-column.elementor-col-50.elementor-inner-column.elementor-element.elementor-element-697d8879 > div > div.elementor-element.elementor-element-afd4310.de_scroll_animation_no.elementor-widget.elementor-widget-html {
		display:none !important;
	}
	#page > div > section.elementor-section.elementor-top-section.elementor-element.elementor-element-159cfd87.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default > div > div > div > section.elementor-section.elementor-inner-section.elementor-element.elementor-element-33c7ae17.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default > div > div.elementor-column.elementor-col-50.elementor-inner-column.elementor-element.elementor-element-398e8fac * {
		font-size:17px !important;
	}
	#page > div > section.elementor-section.elementor-top-section.elementor-element.elementor-element-159cfd87.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default > div > div > div > section.elementor-section.elementor-inner-section.elementor-element.elementor-element-33c7ae17.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default > div > div.elementor-column.elementor-col-50.elementor-inner-column.elementor-element.elementor-element-697d8879 > div > div.elementor-element.elementor-element-3562c8a.de_scroll_animation_no.elementor-widget.elementor-widget-image > div > img {
		width:90% !important;
	}
}

/* Style général de la page exposant */
.exposants-template-default #masthead {
	    background-color: black !important;
}
.exposants-template-default .exposant-single {
	padding: 170px 0;
}
#masthead {
	position: absolute !important;
    display: block !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.exposants-container a {
	text-decoration:none !important;
}
.exposant-single {
    padding: 60px 0;
    background-color: #fff;
    min-height: 100vh;
    position: relative;
}

.exposant-single .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Style du bouton de retour */
.back-nav {
    margin: 20px 0 40px;
}

.back-nav.bottom {
    margin: 40px 0 20px;
    text-align: center;
}

.back-button {
    color: white !important;
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background-color: #168449;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 2px solid #168449;
    box-shadow: 0 2px 10px rgba(160, 35, 91, 0.2);
}

.exposant-title-wrapper {
    text-align: center;
    width: 100%;
}

.back-button:hover {
    background-color: #fff;
    color: #168449 !important;
    transform: translateX(-5px);
}

.back-button i {
    margin-right: 10px;
    font-size: 0.9em;
}

/* Featured Image */
.featured-image {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    max-height: 370px;
    width: 325px;
    margin-left: auto;
    margin-right: auto;
}

.featured-image img {
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.featured-image:hover img {
    transform: scale(1.02);
}

/* En-tête de l'exposant */
.exposant-header {
    margin-bottom: 50px;
}

.exposant-title-wrapper {
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.exposant-title-wrapper:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #168449;
    margin: 20px auto 0;
}

.exposant-header h1 {
    font-size: 2.8em;
    color: #168449;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.stand-number {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f8f4f6;
    color: #168449;
    border-radius: 20px;
    font-weight: 500;
    margin-top: 15px;
}

.stand-number i {
    margin-right: 8px;
}

.exposant-description {
    color: #555;
    line-height: 1.8;
    margin: 0 auto 40px;
    font-size: 1.1em;
}

/* Carte des détails */
.exposant-details {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item:hover {
    background-color: #f9f9f9;
    transform: translateX(5px);
}

.detail-icon {
    flex: 0 0 50px;
    text-align: center;
}

.detail-icon i {
    font-size: 24px;
    color: #168449;
    opacity: 0.9;
}

.detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.detail-content .label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1em;
}

.detail-content .value {
    color: #666;
    font-size: 1.05em;
}

.detail-content .value a {
    color: #168449;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
}

.detail-content .value a:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #168449;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.detail-content .value a:hover {
    color: #7a1b45;
}

.detail-content .value a:hover:after {
    transform: scaleX(1);
}

/* Grid des exposants */
.exposants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.exposant-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.exposant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.exposant-card-image {
    height: 237px;
    overflow: hidden;
}

.exposant-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.exposant-card:hover .exposant-card-image img {
    transform: scale(1.05);
}

.exposant-card-content {
    padding: 25px;
}

.exposant-card-title {
    font-size: 1.4em;
    color: #168449;
    margin: 0 0 15px;
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
}

.exposant-card-stand,
.exposant-card-location {
    display: flex;
    align-items: center;
    color: #666;
    margin-bottom: 10px;
    font-size: 0.95em;
}

.exposant-card-stand i,
.exposant-card-location i,
.exposant-card-appellations i {
    color: #168449;
    margin-right: 8px;
    font-size: 1.1em;
}

.exposant-card-link {
    display: inline-flex;
    align-items: center;
    color: #168449;
    text-decoration: none !important;
    margin-top: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.exposant-card-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.exposant-card-link:hover {
    color: #7a1b45;
}

.exposant-card-link:hover i {
    transform: translateX(5px);
}

/* Pagination */
.exposants-pagination {
    margin: 40px 0;
    text-align: center;
}

.exposants-pagination .page-numbers {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
}

.exposants-pagination .page-numbers li {
    display: inline-block;
}

.exposants-pagination .page-numbers a,
.exposants-pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #168449;
    color: #168449;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.exposants-pagination .page-numbers .current {
    background: #168449;
    color: white;
}

.exposants-pagination .page-numbers a:hover {
    background: #168449;
    color: white;
    transform: translateY(-2px);
}

.no-exposants {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.1em;
}

/* Contrôles et filtres */
.exposants-controls {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.filters {
    flex: 1;
    min-width: 300px;
}

#exposants-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    color: #666;
    font-weight: 500;
}

.filter-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    color: #333;
}

.filter-button {
    padding: 8px 20px;
    background-color: #168449;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-end;
}

.filter-button:hover {
    background-color: #7a1b45;
}

/* Sélecteur de vue */
.view-selector {
    display: flex;
    gap: 10px;
}

.view-button {
    padding: 8px 15px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.view-button.active {
    background-color: #168449;
    color: white;
    border-color: #168449;
}

.view-button:hover {
    background-color: #f5f5f5;
}

.view-button.active:hover {
    background-color: #168449;
}

/* Container des exposants */
.exposants-container {
    margin: 30px 0;
}

/* Vue en grille */
.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Vue en liste */
.list-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.list-view .exposant-item {
    display: flex;
    gap: 20px;
}

.list-view .exposant-image {
    display: none;
}

.list-view .exposant-content {
    flex: 1;
}

/* Style commun des items */
.exposant-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.exposant-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.exposant-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.exposant-content {
    padding: 20px;
}

.exposant-content h2 {
    margin: 0 0 10px;
    font-size: 1.4em;
    color: #168449;
}

.exposant-content h2 a {
    color: inherit;
    text-decoration: none;
}

.exposant-type,
.exposant-region,
.exposant-appellation {
    display: inline-block;
    padding: 4px 10px;
    background-color: #f8f4f6;
    color: #168449;
    border-radius: 15px;
    font-size: 0.9em;
    margin: 0 5px 5px 0;
}

.exposant-excerpt {
    color: #666;
    margin: 15px 0;
    line-height: 1.6;
}

.exposant-link {
    display: inline-flex;
    align-items: center;
    color: #168449;
    text-decoration: none;
    font-weight: 500;
    gap: 5px;
    transition: all 0.3s ease;
}

.exposant-link:hover {
    color: #7a1b45;
}

.exposant-link i {
    transition: transform 0.3s ease;
}

.exposant-link:hover i {
    transform: translateX(5px);
}

/* Masquer les appellations en vue grille */
.grid-view .exposant-card-appellations {
    display: none;
}

/* Afficher les appellations en vue liste */
.list-view .exposant-card-appellations {
    display: flex;
    align-items: center;
    color: #666;
    margin: 10px 0;
    font-size: 0.95em;
}

/* Responsive */
@media (min-width: 768px) and (max-width: 1259px) {
#page > div > div.elementor-element.elementor-element-c5c8d60.e-con-full.e-flex.e-con.e-parent.e-lazyloaded > div.elementor-element.elementor-element-b10cb92.e-con-full.e-flex.e-con.e-child > div > div.elementor-element.elementor-element-c808f1d.e-con-full.e-flex.e-con.e-child > div {
	padding-left:25px !important;
	padding-right:25px !important;
	}
	.salon-actions, .salon-actions * {
		display:block !important;
		margin-top:10px;
	}
}
@media (min-width: 1260px) and (max-width: 1380px) {
#page > div > div.elementor-element.elementor-element-c5c8d60.e-con-full.e-flex.e-con.e-parent.e-lazyloaded > div.elementor-element.elementor-element-b10cb92.e-con-full.e-flex.e-con.e-child > div > div.elementor-element.elementor-element-c808f1d.e-con-full.e-flex.e-con.e-child > div {
	padding-left:25px !important;
	padding-right:25px !important;
	}
}
@media (max-width: 768px) {
    .exposants-controls {
        flex-direction: column;
    }

    .filters {
        width: 100%;
    }

    .filter-group {
        width: 100%;
    }

    .list-view .exposant-item {
        flex-direction: column;
    }

    .list-view .exposant-image {
        width: 100%;
    }
}


#gallery-1 img {
max-height: 280px;
    min-height: 280px;
    width: 100%;
    background-size: cover;
    object-fit: cover;	
}

#gform_fields_1 label {
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
font-size: 14px !important;
    text-transform: capitalize;
    font-weight: var(--e-global-typography-secondary-font-weight);
    line-height: var(--e-global-typography-secondary-line-height);
    color: var(--e-global-color-primary);
}

.pdf-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.pdf-item {
    background-color: #fff;
    border: 2px solid #168449;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease-in-out;
}

.pdf-item:hover {
    transform: translateY(-5px);
    border-color: #168449;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.pdf-link {
    display: block;
    font-size: 1.3em; /* Plus grand */
    font-weight: 600;
    color: #168449;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.2; /* Réduction du line-height */
}

.pdf-link:hover {
    color: #168449 !important;
    text-decoration: none !important;
}

.pdf-link i {
    display: block;
    font-size: 2.5em; /* Logo PDF plus gros */
    margin-bottom: 12px;
    color: #168449;
    transition: transform 0.3s ease;
}

.pdf-link:hover i {
    transform: scale(1.1);
    color: #168449;
}
.label-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.label-logo {
    max-height: 40px;
    width: auto;
}