/* ================================================================
   YITH Store Locator - Custom ESG Template Styles
   ================================================================ */


/* Container boxed */
.store-container {
    max-width: 1200px;
    margin: 150px auto 100px;
}

@media (max-width: 768px) {
	.store-container {padding: 0 20px;}
}
/* Tutte le sezioni usano la stessa griglia a 2 colonne */
.store-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

@media (max-width: 768px) {
	.store-section__inner {
		grid-template-columns: 1fr;
	}
}
/* Sezione 1: Logo più piccolo */
.store-section--header .store-section__inner {
    grid-template-columns: 200px 1fr;
    align-items: center;
}

/* SEZIONE 1: Header - Logo + Nome Store (Due Colonne) */

section.store-section.store-section--header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

section.store-section.store-section--media {
    margin-bottom: 30px;
}



.yith-sl-single-store.esg-custom .store-header-section {
    margin-bottom: 40px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 30px;
}

.yith-sl-single-store.esg-custom .store-header-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    align-items: center;
}


.store-section--header .store-col--logo {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.store-section--header .store-col--logo img {
    max-width: 200px;
}
@media (max-width: 768px) {
	.store-section--header .store-col--logo img {
    	max-width: 100px;
	}
}

.store-section--header .store-col--title {
    display: flex;
    align-items: center;
}


.yith-sl-single-store.esg-custom .store-logo-col {
    text-align: center;
}

.yith-sl-single-store.esg-custom .store-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.yith-sl-single-store.esg-custom .store-name {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
}

/* SEZIONE 2: Info Store (Tre Colonne) */
.yith-sl-single-store.esg-custom .store-info-section {
    margin-bottom: 40px;
}

.yith-sl-single-store.esg-custom .store-info-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.store-settore {
    margin-bottom: 15px;
}

.settore-label {
    display: inline-block;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 3px;
    margin-right: 6px;
	background: #154279;
	color: #ffffff;
}

.store-ateco {
	margin-top: 30px;
}
ul.ateco-list {
    padding: 0;
}
ul.ateco-list li {
    list-style: none;
}

/* Gallery */
/* Grid gallery */
.store-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* Singola immagine */
.store-gallery__item a {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.store-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.store-gallery__item img:hover {
    transform: scale(1.05);
}

/* Mobile */
@media screen and (max-width: 768px) {
    .store-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Blocchi Info */
.yith-sl-single-store.esg-custom .info-block {
    background: #f9f9f9;
    padding: 25px;
    margin-bottom: 20px;
}

.yith-sl-single-store.esg-custom .info-block:last-child {
    margin-bottom: 0;
}

.yith-sl-single-store.esg-custom .info-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.yith-sl-single-store.esg-custom h4.esg-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.yith-sl-single-store.esg-custom .info-icon {
    font-size: 20px;
}

/* Dati Aziendali e Contatti */
.yith-sl-single-store.esg-custom .store-address,
.yith-sl-single-store.esg-custom .store-piva,
.yith-sl-single-store.esg-custom .store-fatturato {
    margin: 0 0 12px 0;
    line-height: 1.6;
    color: #555;
}

.yith-sl-single-store.esg-custom .contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.yith-sl-single-store.esg-custom .contact-item {
    margin-bottom: 10px;
    line-height: 1.6;
}

.yith-sl-single-store.esg-custom .contact-item a {
    color: #154279;
    text-decoration: none;
}

.yith-sl-single-store.esg-custom .contact-item a:hover {
    text-decoration: underline;
}



.blue-button a:hover {
	font-family: "Montserrat", Sans-serif;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 0px 0px 0px 0px;
    padding: 12px 30px 12px 30px;

}







/* Sostenibilità ESG */
.yith-sl-single-store.esg-custom .sostenibilita-esg {
    background: #e8f5e9;
}

.yith-sl-single-store.esg-custom .esg-item {
    margin-bottom: 15px;
}

.yith-sl-single-store.esg-custom .esg-item:last-child {
    margin-bottom: 0;
}

.yith-sl-single-store.esg-custom .esg-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    margin-right: 8px;
}

.yith-sl-single-store.esg-custom .badge-success {
	background: linear-gradient(45deg, #28852c, #4caf50);
    color: #fff;
}

.yith-sl-single-store.esg-custom .badge-info {
	background: linear-gradient(45deg, #154279, #48C8EF);
    color: #fff;
}

.yith-sl-single-store.esg-custom .esg-anno {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.yith-sl-single-store.esg-custom .standard-text {
    margin: 10px 0 0 0;
    padding: 10px;
    background: #fff;
    border-radius: 4px;
    line-height: 1.6;
    color: #555;
    font-size: 14px;
}

.esg-item.valutazione-impatto, .esg-item.certificazioni {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ccc;
}

ul.certificazioni-list {
    padding: 0;
}

ul.certificazioni-list>li {
    list-style: none;
	margin-bottom: 10px;
}

.yith-sl-single-store.esg-custom .cert-rating {
    background: linear-gradient(45deg, #154279, #48C8EF);
    color: #fff;
	display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

/* Descrizione */
.yith-sl-single-store.esg-custom .description-content {
    line-height: 1.8;
    color: #555;
}

.yith-sl-single-store.esg-custom .description-content p {
    margin: 0 0 15px 0;
}

.yith-sl-single-store.esg-custom .description-content p:last-child {
    margin-bottom: 0;
}

/* ================================================================
   RESPONSIVE - Mobile First
   ================================================================ */

/* Tablet (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .yith-sl-single-store.esg-custom .store-info-row {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .yith-sl-single-store.esg-custom .col-right {
        grid-column: 1 / -1;
    }
}

/* Mobile (< 768px) */
@media screen and (max-width: 768px) {
    .yith-sl-single-store.esg-custom .store-header-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .yith-sl-single-store.esg-custom .store-name {
        font-size: 24px;
    }

    .yith-sl-single-store.esg-custom .store-info-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .yith-sl-single-store.esg-custom .info-block {
        padding: 20px;
    }

    .yith-sl-single-store.esg-custom .btn-get-direction {
        display: block;
        text-align: center;
    }
}
