html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}
html{}body{margin:0}main{display:block}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}
*, * html, body, html{ -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; outline:0; margin: 0; padding: 0}
::selection { color: white; background: black;}
:root{
  --bg-color1 : #FDFAF2;
  --c-bg: hsl(0, 0%, 10%);
  --c-size: 21px;
  --a-color : #000;
  --a-color-active : #000;
  --color-alt : #182942;

}

body:before { background-image: url("images/grain.png"); content: ""; display: block; inset: 0; opacity: .15; pointer-events: none; position: fixed;}
body{cursor: default}
.container{ position: relative; display: grid; grid-template-areas: "header" "main" "footer" ; min-height: 100vh; max-width: calc(100% - 40px); margin: 0 auto;  overflow: hidden}
header, main, footer{ position: relative;  margin: 0; padding: 0;}
header{grid-area: header;}
main{grid-area: main; min-height: calc(100vh - 640px);  clear: both; background: rgba(255,255,255,0.8);}
footer{grid-area: footer;  min-height: 80px;}
.main-container-front-page {max-width: /*1920px*/ 100%; margin: 0 auto}

/* TT Style */
/*.logo, .main-container {filter:  brightness(0.5) contrast(1.7); opacity: 0; }
.effects { filter: brightness(1) contrast(1); opacity: 1;  transition: all .2s ease .3s; }
.slow {transition-delay: 0.5s;}*/
header {
  .header-main-content {float: left;width: 100%; }
  .header-content {float: left; width: calc(100% - var(--wp--preset--spacing--60)); margin: var(--wp--preset--spacing--30) var(--wp--preset--spacing--30); padding: 0   }
  .logo { float: left; width: 280px; 
    img {width: 280px}
  }
  .menu {float: left; width: calc( 100% - 400px); margin-left: 120px; 
    ul {margin: 80px auto 0; display: grid; grid-column: auto; grid-template-columns: repeat(5, 1fr); align-items: center;   grid-template-rows: masonry; grid-gap: var(--wp--preset--spacing--30);}
    ul li{text-align: center; margin: 0 5px; font-size: var(--wp--preset--font-size--medium)}
    ul li a { color: var(--a-color); text-decoration: none; position: relative; padding: 0px; transition: .225s ease-in-out; font-family:var(--wp--preset--font-family--larken);font-style:normal;font-weight:500; text-transform: uppercase }
    ul li a:hover { }
    ul li a::after { content: ""; display: block; position: absolute; bottom: -5px; left: 50%; width: 0%; height: 0.5px; background: var(--a-color-active); z-index: 99; transition: .225s ease-in-out; }
    ul li a:hover::after { width: calc(100% - 20px); left: 10px;  background: var(--a-color-active)}
    ul li.on--page a::after  {  width: calc(100% - 10px); left: 5px; }
    ul li.on--page a::before { content: ""; display: block; position: absolute; top: -20px; left: calc(50% - 20px); width: 40px; height: 40px;  background: url("images/couronne.svg") top no-repeat; }
  }
}
header.header-front-page {   position: absolute; float: left; width: 100%; min-height: 65vh ; z-index: 999; filter: invert(1); margin-top: 25vh;
  .header-content {float: left; width: 100%; margin: 0; padding: 0   }
  .logo { float: none; width: auto; text-align: center;
    img {width: 30%}
  }
  .menu {  width: calc( 100% - 200px); margin-left: calc(100px); 
    ul {margin: 20px auto ;}
    ul li{text-align: center;  font-size: var(--wp--preset--font-size--large)}    
  }
  .headline { 
    filter: invert(1);float: left;  width: calc(100%);  position: absolute; bottom: 10vh; text-align: center;
    font-family: var(--wp--preset--font-family--larken);
    clear: both;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 1.4rem;    
    
    span {float: left; width: 100%; text-align: center; font-size: 2.15rem; text-transform: uppercase; font-variant: small-caps; padding-top: 20px;}
    }
  .headline:after {
    height: 10vh;
    bottom: calc(-10vh - 20px);
    position: absolute;
    width: 1px;
    background-color: white;
    content: "";
  }
}

footer { background: rgba(215, 181, 131, 0); 
  .footer-main-content {float: left; width: 100%; text-transform: uppercase; }
  .footer-content {margin: var(--wp--preset--spacing--30) auto; display: grid; grid-column: auto; grid-template-columns: repeat(3, 1fr); align-items: center;   grid-template-rows: masonry; grid-gap: var(--wp--preset--spacing--30);
    .grid {position: relative; padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30); text-align: center;
      ul {}
      ul li{ margin-bottom: 10px; text-align: center; font-size: var(--wp--preset--font-size--small)}
      ul li a{ text-decoration: none; color: #262626}
      ul li a:hover{ text-decoration: underline; color: #000}
      p {padding-bottom: 10px; line-height: 1.5rem}
      .logo { text-align: center;
      img{ height: 120px; text-transform: inherit}   
      }
    }
    .milieu{border: 1px dotted rgba(0,0,0,0.25); border-top: 0;border-bottom: 0}
    .has-bg{background: url("/css/images/bg-art.png") no-repeat; background-size: contain; background-position: center}
  }
  .copy{float: left; width: 100%; padding: 0 0 var(--wp--preset--spacing--30); text-align: center}
}

.grid-vins2 { margin: var(--wp--preset--spacing--50) auto; display: grid; grid-column: auto; grid-template-columns: repeat(4, 1fr); align-items: top;  grid-template-rows: masonry; grid-gap: var(--wp--preset--spacing--40);
  .vin{ float: left;  position: relative; width: 100%;  padding: var(--wp--preset--spacing--30) 0; text-align: center; 
    h3 { float: left; width: 100%; padding: 10px 0 10px;
         a { text-decoration: none;  font-size: var(--wp--preset--font-size--large); }
      }
    .bouteille {  float: left; width: calc(100%); margin: 0; background: url('images/bg-texture2.jpg') no-repeat center; background-size: cover; overflow: visible; transition: all .6s ease; box-shadow: inset 0 0 40px rgba(0,0,0,0.2); transform: scale(0.7);
       img {position: relative;float: left; width: 100%; margin: 0; padding: 10% 20%; transform: scale(1.5);transition: all .6s ease; z-index: 999  }
      }
    .cepages{font-size: var(--wp--preset--font-size--small);padding-top:10px}
    .vin-detail {float: left; width: 100%; padding:  0; text-align: center}    
    .appelation {font-size: var(--wp--preset--font-size--small); text-transform: uppercase; padding-top:10px; letter-spacing: 1px; font-weight: 400}
  }  

  .vin:hover {
    .bouteille {   background:  url('images/bg-marbre.jpg') no-repeat center; background-size: 100%; box-shadow: inset 0 0 80px rgba(0,0,0,0.2); transform: scale(0.64) }
    .bouteille img{transform: scale(1.9); transform-origin: center;}
    .noise{ opacity: 0.8;} 
  }

}

.grid-vins3 { margin: var(--wp--preset--spacing--50) auto; display: grid; grid-column: auto; grid-template-columns: repeat(4, 1fr); align-items: top;  grid-template-rows: masonry; grid-gap: var(--wp--preset--spacing--40);
  .vin{ float: left;  position: relative; width: 100%;  padding: var(--wp--preset--spacing--30) 0; text-align: center; 
    h3 { float: left; width: 100%; padding: 10px 0 10px;
         a { text-decoration: none;  font-size: var(--wp--preset--font-size--large); }
      }
    .bouteille {  float: left; width: calc(100%); margin: 0; background: url('images/bg-mur-beton.jpg') no-repeat center; background-size: 100%; overflow: visible; transition: all .6s ease; box-shadow: inset 0 0 40px rgba(0,0,0,0.4); transform: scale(0.96);
       img {position: relative;float: left; width: 100%; margin: 0; padding: 10% 20%; transform: scale(1); transition: all .6s ease; z-index: 999  }
      }
    .cepages{font-size: var(--wp--preset--font-size--small);padding-top:10px}
    .vin-detail {float: left; width: 100%; padding:  0; text-align: center}    
    .appelation {font-size: var(--wp--preset--font-size--small); text-transform: uppercase; padding-top:10px; letter-spacing: 1px; font-weight: 400}
  }  

  .vin:hover {
    .bouteille {  box-shadow: inset 0 0 120px rgba(0,0,0,1); transform: scale(0.88) }
    .bouteille img{transform: scale(1.40); transform-origin: center;}
    .noise{ opacity: 0.8;} 
  }

}
.grid-vins { margin: var(--wp--preset--spacing--50) auto; display: grid; grid-column: auto; grid-template-columns: repeat(4, 1fr); align-items: top;  grid-template-rows: masonry; grid-gap: var(--wp--preset--spacing--40);
  .vin{ float: left;  position: relative; width: 100%;  padding: var(--wp--preset--spacing--30) 0; text-align: center; 
    h3 { float: left; width: 100%; padding: 10px 0 10px;
         a { text-decoration: none;  font-size: var(--wp--preset--font-size--large); }
      }
    .bouteille {  float: left; width: calc(100%); margin: 0; background: url('images/fond-bouteille-lumiere-peche.jpg') no-repeat center; background-size: 100%; overflow: visible; transition: all .6s ease; box-shadow: inset 0 0 40px rgba(0,0,0,0.4); transform: scale(1);
       img {position: relative;float: left; width: 100%; margin: 0; padding: 0 0; transform: scale(1); transition: all .6s ease; z-index: 999; padding:   }
      }
    .cepages{font-size: var(--wp--preset--font-size--small);padding-top:10px}
    .vin-detail {float: left; width: 100%; padding:  0; text-align: center}    
    .appelation {font-size: var(--wp--preset--font-size--small); text-transform: uppercase; padding-top:10px; letter-spacing: 1px; font-weight: 400}
  }  

  .vin:hover {
    .bouteille {  box-shadow: inset 0 0 120px rgba(0,0,0,1); transform: scale(0.88); background-size: 112%; }
    .bouteille img{transform: scale(1.28); transform-origin: center;}
    .noise{ opacity: 0.8;} 
  }

}

.noise{ opacity: 0.4; position: absolute;z-index: 0; width: 100%; height: 100%; background:url("images/grain.png"); background-size:  transition: all .4s ease;-webkit-animation:190ms infinite noise;animation:190ms infinite noise; pointer-events:none } 
@-webkit-keyframes noise{0%,100%{background-position:0 0}10%{background-position:-5% -10%} 20%{background-position:-15% 5%}30%{background-position:7% -25%}40%{background-position:20% 25%}50%{background-position:-25% 10%}60%{background-position:15% 5%}70%{background-position:0 15%}80%{background-position:25% 35%}90%{background-position:-10% 10%}}
@keyframes noise{0%,100%{background-position:0 0}10%{background-position:-5% -10%}20%{background-position:-15% 5%}30%{background-position:7% -25%}40%{background-position:20% 25%}50%{background-position:-25% 10%}60%{background-position:15% 5%}70%{background-position:0 15%}80%{background-position:25% 35%}90%{background-position:-10% 10%}}


.single-vin { 
  h2 {  margin:var(--wp--preset--spacing--60) 0; text-align: center}
  .grid-vins{  grid-template-columns: repeat(6, 1fr); margin-top: var(--wp--preset--spacing--30);
    .vin{ 
      h3 a{ font-size: var(--wp--preset--font-size--x-medium); }
      .bouteille {
        img {width: 40%;  }
      }
      .appellation {font-size: var(--wp--preset--font-size--small)}
      
    }
  }
}

/* WPML */
.lang {position: absolute;top:0; right: 60px;  text-align: right; z-index: 888}
.lang li:not(.wpml-ls-current-language) {opacity: 0.5}
.wpml-ls-legacy-list-horizontal a {display: block; text-decoration: none; padding: 5px ; line-height: 1;}  

.burger-lang li a{margin: 5px}
.burger-lang li img{width: 40px}
.burger-lang li:not(.wpml-ls-current-language) {opacity: 0.5}

/* MENU BURGER */ 
#menu-burger {display: none; z-index: 1000;}
.btn-nav-container {position:absolute;top:0;right:40px;width:40px;height:40px; margin-top: 50px;cursor:pointer;background:transparent;border:none;outline:none; z-index: 1000}
.btn-nav {width:100%; height: 2px; position:relative; background: black; top:0; transition:all ease 0.2s;  z-index: 2000 }
.btn-nav:before, .btn-nav:after {content:'';position:absolute;left:0; background: black; height:100%; transition:all ease 0.3s; z-index: 2000}
.btn-nav:before {top:-8px;width:70%; margin:0 15%}
.btn-nav:after {top:8px;width:70%;margin:0 15%}
.btn-nav-container:hover .btn-nav:before, .btn-nav-container:hover .btn-nav:after {width:100%; }
.btn-nav-container.close-menu .btn-nav {transform:rotate(-45deg);  background: black}
.btn-nav-container.close-menu .btn-nav:after {opacity:0;transition:all ease 0.2s;}
.btn-nav-container.close-menu .btn-nav:before {top:0;transform:rotate(90deg);width:100%;transition:all ease 0.2s;}

.float-nav {position:fixed; top:0; display: none; float: left; width:100%; height:100%;  z-index: 100  }
.float-nav .bg1 { position:absolute; width:100%; height:100vh; background:rgba(231, 214, 189, 1) url("images/bg-art.svg") center no-repeat; background-size: cover;  top:0; left: 100%;transition: all 0.3s ease 0.2s; transition-delay:0.2s;}
.float-nav.active .bg1 {left: 0; transition:all 0.4s ease 0.3s; transition-delay:0s;}

.float-nav .logo { position:relative; float: left;width: 100%;transition:all 0.2s ease 0.2s; opacity:1;  margin:  var(--wp--preset--spacing--30) auto;
  img{ height: 240px }
}
.float-nav ul { position: relative; float: left;width: 100%;  opacity:1; transition: opacity 0.2s ease 0s; margin: var(--wp--preset--spacing--40) 0 ;
  li {list-style:none; margin-bottom: var(--wp--preset--spacing--20); padding-bottom:  var(--wp--preset--spacing--20);)}
  li a {  text-decoration:none; text-transform:uppercase; color: black; padding: 20px 0;}  
}
.menu-burger-container { float: left; width: 70%; margin: 0 15%; text-align: center; opacity: 0; transition: all 0.2s ease 0.3s;}
.float-nav.active .menu-burger-container {  opacity: 1; transition: all 0.8s ease 0.3s;}

/* TT Style */

.cursor { z-index: 9999; top: 50%;  left: 50%;  position: fixed; 	display: block; width: var(--c-size);  height: var(--c-size);  margin-top: calc(var(--c-size) / -2);  margin-left: calc(var(--c-size) / -2);  border-radius: 50%;   pointer-events: none; transition: transform 0.2s ease, background-color 0.6s ease, opacity 0.2s  ease-in-out 0.5s; overflow: visible;  }
.cursor { background-color:var(--c-bg);  opacity: 1;   mix-blend-mode: difference; filter:invert(); transform: scale(1); cursor: pointer}
.cursor.hover { opacity:1; transform: scale(3); box-shadow: 0px 0px 0.5px var(--c-bg);  }
.cursor.hide {opacity: 0;}
.cursor.sleep {transform: scale(0.01);}
.cursor.load {transform: scale(3);}
.cursor.down { opacity: 1; transform: scale(3); } 

html :where([style*=border-width]) {  border-style: solid;}

/*Accueil*/
.citation {max-width: 720px; text-align:justify}
hr.wp-block-separator {
width: 30%; margin: 20px 35%;
    border: none;
    border-top: 1px solid #d6ba8e;
}
.accroche em {    font-family: var(--wp--preset--font-family--larken); font-weight: 700; font-size: 1.2rem}

.bloc-accroche {  box-shadow: rgba(0, 0, 0, 0.15) 0px 25px 20px -20px;}

.portrait {}
.split-text {}
.figcaption, .wp-element-caption {text-align: right}

/* Single vin */
.titre-vin {  
  p {padding-bottom: 20px;  }
}
.titre-vin::after { content: ""; display: block; position: absolute; bottom: 0px; left: 0%; width: 75%; height: 0.5px; background: var(--a-color-active); z-index: 99; }
.fiche-technique { strong {color: darkred;}}
.wp-block-button__link {background: linear-gradient(90deg,rgb(76,49,8) 31%,rgb(160,111,43) 79%); }
.wp-block-button__link:hover {background: #880A18;}

.block-home-page{}
 
.titre-appellation { position: relative;  strong{font-size: var(--wp--preset--font-size--x-large);}}
/*.titre-appellation::after { content: ""; display: block; position: absolute; bottom: -20px; left: -20px; width: 20%; height: 0.5px; background: var(--a-color-active); z-index: 99; transition: .225s ease-in-out; }*/

/* Mansory */
.is-style-masonry.columns-3,.is-style-masonry.columns-default{-webkit-columns:3;-moz-columns:3;columns:3}.is-style-masonry{display:block!important}.is-style-masonry .wp-block-image{width:100%!important;margin-bottom:var(--wp--preset--spacing--40)!important}.is-style-masonry.columns-1{-webkit-columns:1;-moz-columns:1;columns:1}.is-style-masonry.columns-2{-webkit-columns:2;-moz-columns:2;columns:2}.is-style-masonry.columns-4{-webkit-columns:4;-moz-columns:4;columns:4}.is-style-masonry.columns-5{-webkit-columns:5;-moz-columns:5;columns:5}.is-style-masonry.columns-6{-webkit-columns:6;-moz-columns:6;columns:6}.is-style-masonry.columns-7{-webkit-columns:7;-moz-columns:7;columns:7}.is-style-masonry.columns-8{-webkit-columns:8;-moz-columns:8;columns:8}
/*Swiper*/
.wp-swiper__wrapper {}
.swiper-button-prev, .swiper-button-next {color: black; opacity: 0.5; }
.swiper-pagination-bullet-active {color: black; border: 5px solid black}

.hero {
  transform: scale(1.2);
  animation: zoomImg 30s ease forwards;
}
.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease-in forwards;
}
.margin-top { margin-top: -80px}
@keyframes zoomImg {
  to {
    transform: scale(1);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}



/* Woocommerce */
.wp-block-woocommerce-single-product { text-align: center;
  .wp-block-woocommerce-product-price {
    .wc-block-components-product-price { font-size: var(--wp--preset--font-size--x-large); font-family: var(--wp--preset--font-family--larken); font-weight: 700;}
  }
  .wc-block-add-to-cart-form {
    .single_add_to_cart_button { background-color: black}  
  }
  .wp-block-woocommerce-add-to-cart-form .variations_button, .wp-block-woocommerce-add-to-cart-form form.cart {
    display: block;
  }
}

/*.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt {
    background: linear-gradient(90deg,rgb(76,49,8) 31%,rgb(160,111,43) 79%);;
    color: #fff;
    -webkit-font-smoothing: antialiased;
}*/

 .woocommerce a.button.alt,  .woocommerce button.button.alt, .woocommerce input.button.alt {
    background: linear-gradient(90deg,rgb(76,49,8) 31%,rgb(160,111,43) 79%);;
    color: #fff;
    -webkit-font-smoothing: antialiased;
}

 .woocommerce a.button.alt:hover,  .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {background: #880A18;}


@media  screen and (max-height: 720px) {
  header.header-front-page {
     .logo { 
      img {height: 200px}
    } 
    .menu {width: calc( 100% - 40px); margin-left: 0px; }
  }

}
       
@media screen and (max-width:1200px) { 
.container{  max-width: calc(100%); margin: 0 auto;}

  header.header-front-page {
     .logo { 
      img {height: 240px}
    } 
    .menu {width: calc( 100% - 40px); margin-left: 0px; }
  }
  header {
   .logo {  width: 200px; 
      img {width: 180px}
    }  
    .menu {width: calc( 100% - 200px); margin-left: 0px; }
  }
  .grid-vins { margin: var(--wp--preset--spacing--50) auto; grid-template-columns: repeat(3, 1fr); grid-gap: var(--wp--preset--spacing--20);}
   .single-vin { 
      .grid-vins{  grid-template-columns: repeat(4, 1fr);
    }
}
@media screen and (max-width: 980px) {    
.lang {display: none}
  header.header-front-page{
    .menu {display: none}
  }
  header { text-align: center;
      .logo { float: none; width: calc(100% - 40px); 
        img{ height: 160px}
      }
    .menu {display: none}
  }
  #menu-burger {display: block  }
}
@media screen and (max-width:767px) {    
  footer { 
    .footer-main-content {}
    .footer-content { grid-template-columns: repeat(1, 1fr); align-items: top; 
      .grid {
      }
      p {}
      .logo {
        img{ height: 160px}
      }
      .milieu { border: 0; border-top: 1px dotted rgba(0,0,0,0.25);}
    }
  }
  .grid-vins { grid-template-columns: repeat(2, 1fr); grid-gap: var(--wp--preset--spacing--20);
    .vin{ 
        .bouteille {
          img {width: 40%; }
        }
      }
  }
  .single-vin { 
    .grid-vins{  grid-template-columns: repeat(2, 1fr);
      .vin{ 
        .bouteille {
          img {width: 40%; }
        }
      }
    }
  }

}
@media screen and (max-device-width:767px) and (orientation: portrait){    
:root {
  --wp--preset--spacing--80 : 40px;
  --wp--preset--spacing--40 : 20px;
  --wp--preset--spacing--30 : 15px;
}
  header {
    .header-main-content {}
    .header-content {}
    .logo { text-align: center;
      img {height: 140px}
    }
  }
  header.header-front-page {   position: absolute; float: left; width: 100%; z-index: 999; filter: invert(1); margin-top: var(--wp--preset--spacing--40);
    .logo { float: none; width: auto; text-align: center; 
      img {height: 140px; margin-left: -40px;}
    }
  }
  .btn-nav-container {right:20px; margin-top: 30px;}
 .float-nav .logo img{height: 140px;} 

  .grid-vins { margin: var(--wp--preset--spacing--50) auto; grid-template-columns: repeat(2, 1fr);}
    .grid-vins { grid-template-columns: repeat(1, 1fr); grid-gap: var(--wp--preset--spacing--20);
    .vin{ 
        .bouteille {
          img {width: 40%; }
        }
      }
  }
  .is-style-masonry.columns-3,.is-style-masonry.columns-default{-webkit-columns:2;-moz-columns:2;columns:2}
}