/*
Theme Name: Giardinia
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');


.text-bold,
.text-bold *{
    font-weight: bold;
}


.text-orange,
.text-orange * {
    color: #ed6400 !important;
}

.text-red,
.text-red *{
    color: #cb0631 !important;
}


.text-light,
.text-light * {
    color: #fff !important;
}


.text-italic,
.text-italic * {
    font-family: "Playfair Display", serif;
    font-weight: 400;
    font-style: italic;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-center,
.text-center * {
    text-align: center;
}


.letter-spacing {
    letter-spacing: 0.05em !important;
}

.main-title,
h1,h2,h3 {
    letter-spacing: -0.05em !important;
}


.natale .btn-align-left a,
.natale .wpcf7 input[type=submit] {
    background: #cb0631 !important;
}

.natale .btn-align-left a:hover,
.natale .wpcf7 input[type=submit]:hover {
    background: #a80327 !important;
}

.natale a {
    color: #cb0631;
}

.hide {
    display: none;
}



/* STORE LOCATOR */

#store-locator {
    display: flex;
    height: 80vh;
}
#store-list {
    width: 30%;
    overflow-y: auto;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid #ccc;
    padding: 1%;
    max-width: 100%;
}

#map {
    width: 70%;
    height: 100%;
    min-height: 300px;
}

#store-items li {
    list-style: none;
    margin-bottom: 15px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
}

#store-items li .store-logo {
    display: none;
}

.info-window-content .store-logo {
    max-width: 150px;
    height: auto;
    margin: auto;
    display: block;
}


#store-items .store-nome,
#store-items .store-indirizzo,
#store-items .store-telefono,
#store-items .store-indicazioni,
#store-items .store-scheda,
#store-items .store-sito {
    display: block;
    font-size: 14px;
    line-height: 22px;
} 

#store-items .store-nome,
.info-window-content .store-nome {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 17px;
    letter-spacing: -0.025em;
}

.info-window-content {
    font-size: 14px;
}


.info-window-content .store-nome,
.info-window-content .store-indirizzo,
.info-window-content .store-telefono,
.info-window-content .store-indicazioni,
.info-window-content .store-scheda,
.info-window-content .store-sito {
    display: block;
    font-size: 14px;
    line-height: 22px;
} 
        
.gm-style-iw {
    position: relative;
}

.gm-style-iw .gm-style-iw-ch {
    height: 1px !important;
}

.gm-style-iw  button {
    position: absolute;
}


.store-distance {
    font-style: italic;
    font-weight: normal;
    opacity: 0.6;
}

#store-list-filter {
    margin: 20px;
}

#store-list-filter #search-location {
    width: 90%;
    border: 2px solid #999;
}


#store-list-filter input#search-location::placeholder {
  color: #999; 
  font-weight: 400;
  opacity: 1;  
}

#store-list-filter .small {
    font-style: italic;
    font-size: 12px;

}

#store-list-filter #get-location {
    background: #f8702a;
    color: white;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    border: none;
    padding: 10px 15px;
    border-radius: 3px;
}


#store-list a.store-indicazioni,
#store-list a.store-scheda,
#store-list a.store-sito,
.info-window-content a.store-indicazioni,
.info-window-content a.store-scheda,
.info-window-content a.store-sito {
    font-weight: bold;
}

#store-list a.store-indicazioni,
#store-list a.store-scheda, 
#store-list a.store-sito,
#store-list .store-telefono a,
.info-window-content a.store-indicazioni,
.info-window-content a.store-scheda,
.info-window-content a.store-sito,
.info-window-content .store-telefono a {
    color: #131313;
    text-decoration: none;
}

#store-list a.store-indicazioni:hover,
#store-list a.store-scheda:hover,
#store-list a.store-sito:hover,  
#store-list .store-telefono a:hover {
    text-decoration: underline;
}

#store-list .store-indicazioni i,
#store-list .store-scheda i,
#store-list .store-sito i,
.info-window-content .store-indicazioni i,
.info-window-content .store-scheda i,
.info-window-content .store-sito i {
    color: #f8702a;
}



/* nascondo la mappa sotto i 768px */
@media screen and (max-width: 767px) {

  #map {
    display: none !important;
  }


  #store-locator {
    display: block !important;
    height: auto !important;
    }

    #store-list {
        width: 100% !important;
        max-width: 100% !important;
        box-shadow: none;
        border: none;
        padding: 0;
    }

  #store-items {
    width: 100% !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    padding:0;
    margin: 0;
  }

  #store-items li {
    padding: 1rem;
    border-bottom: 1px solid #ddd;
  }
}


/* SINGOLO STORE */

.single-store #main {
    padding-top: 0;
    padding-bottom: 0;
}


.single-store #hero .vc_figure,
.single-store #hero .vc_figure .vc_single_image-wrapper,
.single-store #hero .vc_figure .vc_single_image-wrapper img {
    width: 100% !important;
    height: auto;
}

.single-store .store-logo {
    max-width: 400px;
    height: auto;
}

.store-indirizzo .reapeater-row {
    margin: 20px auto;
    display: block;
}

.store-indirizzo .reapeater-row .reapeter-column {
    border:none;
    display: block;
}


.store-indirizzo .reapeater-row .punti_vendita_0_titolo_punto_vendita,
.store-indirizzo .reapeater-row .punti_vendita_1_titolo_punto_vendita,
.store-indirizzo .reapeater-row .punti_vendita_2_titolo_punto_vendita,
.store-indirizzo .reapeater-row .punti_vendita_3_titolo_punto_vendita {
    font-weight: bold;
}


.store-indirizzo .reapeater-row .punti_vendita_0_indirizzo p,
.store-indirizzo .reapeater-row .punti_vendita_1_indirizzo p,
.store-indirizzo .reapeater-row .punti_vendita_2_indirizzo p,
.store-indirizzo .reapeater-row .punti_vendita_3_indirizzo p {
    margin:0;
}


.store-indirizzo .reapeater-row .punti_vendita_0_latitudine,
.store-indirizzo .reapeater-row .punti_vendita_1_latitudine,
.store-indirizzo .reapeater-row .punti_vendita_2_latitudine,
.store-indirizzo .reapeater-row .punti_vendita_3_latitudine,
.store-indirizzo .reapeater-row .punti_vendita_0_longitudine,
.store-indirizzo .reapeater-row .punti_vendita_1_longitudine,
.store-indirizzo .reapeater-row .punti_vendita_2_longitudine,
.store-indirizzo .reapeater-row .punti_vendita_3_longitudine {
    display: none;
    visibility: hidden;
}

.store-url {
    margin-top: 10px;
    margin-bottom: 10px;
}


.store-url .sw-acf-field-label {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    display: block;
}


.single-store .acf-masonry-gallery,
.single-collezioni .acf-masonry-gallery {
  column-count: 3;
  column-gap: 10px;
  max-width: 100%;
  margin: 10px auto;
}

.single-store .acf-gallery-item,
.single-collezioni .acf-gallery-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 5px;
  transition: ease 0.3s;
}

.single-store .acf-gallery-item:hover,
.single-collezioni .acf-gallery-item:hover {
  /*transform: zoom(1.02);*/
  opacity: 0.8;
}

.single-store .acf-gallery-item img,
.single-collezioni .acf-gallery-item img  {
  width: 100%;
  height: auto;
  display: block;
}

.single-store .giardinia-store-departments {
    column-count: 3;
    column-gap: 10px;
    max-width: 100%;
}

.single-store  .giardinia-store-departments li {
    list-style: none;
    display: inline-block;
    text-align: center;
    width: 100%;
    margin-bottom: 30px;
}


.single-store .giardinia-store-departments li.arredo-esterno:before {
    content: '';
    background: url(icons/ico-arredo.png);
    display: block;
    width: 50px;
    height: 50px;
    background-size: 50px 50px;
    margin: auto;
}

.single-store .giardinia-store-departments li.barbecue:before {
    content: '';
    background: url(icons/ico-bbq.png);
    display: block;
    width: 50px;
    height: 50px;
    background-size: 50px 50px;
    margin: auto;
}

.single-store .giardinia-store-departments li.decor-e-casa:before {
    content: '';
    background: url(icons/ico-decor.png);
    display: block;
    width: 50px;
    height: 50px;
    background-size: 50px 50px;
    margin: auto;
}


.single-store .giardinia-store-departments li.natale:before {
    content: '';
    background: url(icons/ico-natale.png);
    display: block;
    width: 50px;
    height: 50px;
    background-size: 50px 50px;
    margin: auto;
}


.single-store .giardinia-store-departments li.orto-e-giardino:before {
    content: '';
    background: url(icons/ico-giardino.png);
    display: block;
    width: 50px;
    height: 50px;
    background-size: 50px 50px;
    margin: auto;
}


.single-store .giardinia-store-departments li.pet:before {
    content: '';
    background: url(icons/ico-pet.png);
    display: block;
    width: 50px;
    height: 50px;
    background-size: 50px 50px;
    margin: auto;
}

.single-store .giardinia-store-departments li.verde-vivo:before {
    content: '';
    background: url(icons/ico-verdevivo.png);
    display: block;
    width: 50px;
    height: 50px;
    background-size: 50px 50px;
    margin: auto;
}





@media (max-width: 768px) {
  .single-store .acf-masonry-gallery,
  .single-collezioni .acf-masonry-gallery,
  .single-store  .giardinia-store-departments {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .single-store .acf-masonry-gallery,
  .single-collezioni .acf-masonry-gallery,
  .single-store  .giardinia-store-departments {
    column-count: 2;
  }
}



/* SINGOLA COLLEZIONE */

.single-collezioni #main {
    padding-top: 0;
    padding-bottom: 0;
}

.single-collezioni .post-thumbnail {
    display: none;
}


.single-collezioni #hero .vc_figure,
.single-collezioni #hero .vc_figure .vc_single_image-wrapper,
.single-collezioni #hero .vc_figure .vc_single_image-wrapper img {
    width: 100% !important;
    height: auto;
}


.single-collezioni .collezione-title {
    color: #ed6c07;
    letter-spacing:-0.05em !important;
}



/* IL GRUPPO */

/* Rendi il contenitore della card posizionato */
.vc_grid-item-mini .vc_col-sm-12.store-card {
  position: relative;
}

/* Rendi il link del titolo un overlay cliccabile */
.vc_grid-item-mini .store-title .vc_gitem-link {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: block;
  text-indent: -9999px; /* Nasconde il testo */
}

/* Assicura che il logo resti visibile sotto */
.vc_grid-item-mini .store-logo {
  position: relative;
  z-index: 1;
}

/* 1. Elimina le regole di WPBakery che forzano il layout */


/* 2. Su mobile: 3 colonne */
@media (max-width: 767px) {
  .grid-associati .vc_pageable-slide-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .grid-associati .vc_grid-item {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .grid-associati .vc_pageable-slide-wrapper::before {
        display: none !important;
        content: none !important;
    }
}







/* HEADER NAV */

.main-nav li i {
    color:#ed6400;
}


/* FORM */

.wpcf7 label {
    font-size: 12px;
    font-weight: bold;
}

.wpcf7 textarea {
    height: 38px;
}

.wpcf7 p.informativa {
    font-size: 11px;
    line-height: 15px;
}

.wpcf7 p.informativa .wpcf7-list-item {
    margin-left: 0;
}


.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 1.5rem;
}

.form-col-1 {
    flex: 1 1 100%;
}

.form-col-1-2 {
    flex: 1 1 calc(50% - 10px);
}

@media (max-width: 768px) {
    .form-col-1-2 {
        flex: 1 1 100%;
    }
}




/* COLLEZIONI */

.gradient-overlay {
  position: relative;
}

.gradient-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  z-index: 1;
  pointer-events: none;
}
.gradient-overlay > * {
  position: relative;
  z-index: 2;
}


/*SETTORI */

.settore-image {
    min-height: 50vh;
}

.settore-description {
    padding: 4vw;
}


/* CONTATTI */


.trigger-btn {
    border: none;
    font-weight: bold;
    font-size: 25px;
}



#contatti-fornitori,
#contatti-garden {
    text-align: left;
}

/* FOOTER */

#footer .wf-container-footer .wf-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#footer .wf-container-footer .wf-container .widget {
    margin-bottom: 0;
}


#footer .wf-container-footer .wf-container .widget_presscore-custom-menu-two {
    text-align: right;
    text-transform: uppercase;
    font-weight: bold;
}

#footer .custom-nav > li {
    display: inline !important;
}

#footer .custom-nav > li > a {
    display: inline !important;
    margin:0 15px;
}


/* Medium devices such as tablets (1024px or lesser) */
@media only screen and (max-width: 1024px) {


}

/* Small devices such as phones (768px or lesser) */
@media only screen and (max-width: 768px) {

    #footer section {
        text-align: center;
    }

    #footer .wf-container-footer .wf-container {
        display: block;
    
    }


    #footer .wf-container-footer .wf-container .widget_presscore-custom-menu-two {
        text-align: center;
    }

    #footer .custom-nav > li {
        display: block !important;
    }

    #footer .custom-nav > li > a {
        display: block !important;
    }
    

}


