/*
Theme Name: Blocksy Child
Template: blocksy
Version: 1.0
*/

@font-face {
    font-family: 'cabrito-didone-regular';
    src: url('fonts/CabritoDidone-NorReg.woff2') format('woff2'),
        url('fonts/CabritoDidone-NorReg.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


* {
    font-family: 'cabrito-didone-regular', serif;
}

body, h1, h2, h3, h4, h5, h6, label, figcaption, .wp-block-quote, .wp-block-pullquote, .ct-label, .site-title, .entry-meta, .ct-menu-badge, .entry-excerpt, .ct-post-title, .ct-breadcrumbs, .ct-header-text, .ct-product-sku, .ct-product-title, .ct-woo-card-stock, .author-box-bio, .author-box-name, .ct-contact-info, .site-description, .page-description, .mobile-menu a, .menu .ct-menu-link, .comment-reply-title, .ct-footer-copyright, .ct-language-switcher, :where(pre,code,samp,kbd), .onsale, .out-of-stock-badge, [class*=ct-woo-badge-], :is(.entry-summary,[data-products],.ct-trending-block,.ct-added-to-cart-product) .price, .ct-waitlist-message, .woocommerce-tabs .tabs, .woocommerce-tabs .ct-accordion-heading, .woocommerce-result-count, .ct-header-account-dropdown, .ct-module-title:is(p,span), .related-entry-title:is(p,span), .woocommerce-loop-product__title:is(p,span), .woocommerce-loop-category__title:is(p,span), .ct-shortcuts-bar, .ct-widget>*, .ct-dynamic-data-layer, .ct-dynamic-filter, .ct-search-results, .tutor-ratings, .tutor-meta>*, .tutor-course-details-title, .tutor-course-details-actions>a, .ct-language-switcher ul[data-placement]{
font-family: 'cabrito-didone-regular', serif!important;
}

h2, h3, h4, h5, h6, p {font-style:italic}
h1{font-style:normal}


.wrapper {padding:60px 50px}

/* Conteneur grid - remplace .row */
.cm-grid {
    display: grid;
    gap: 30px;                    /* espace entre colonnes */
    grid-template-columns: repeat(12, 1fr); /* système 12 colonnes */
}
.cm-grid.pixel {gap:1px;margin-top:1px}

/* Colonnes - remplace col-lg-*, col-md-*, etc. */
.cm-col-12 { grid-column: span 12; }
.cm-col-6  { grid-column: span 6; }
.cm-col-4  { grid-column: span 4; }
.cm-col-3  { grid-column: span 3; }
.cm-col-7  { grid-column: span 7; }
.cm-col-8  { grid-column: span 8; }
.cm-col-9  { grid-column: span 9; }
.cm-col-5  { grid-column: span 5; }
.cm-col-2  { grid-column: span 2; }
.cm-col-10  { grid-column: span 10; }

/* Responsive */
@media (max-width: 992px) {
    .cm-col-lg-6 { grid-column: span 6; }
    .cm-col-lg-12 { grid-column: span 12; }
}

@media (max-width: 1279px) {
#templateVins .cm-col-5  { grid-column: span 12; }
#templateVins .cm-col-4  { grid-column: span 12; }
#templateVins .cm-col-3  { grid-column: span 12; }
}

@media (max-width: 768px) {
    .cm-grid {
        grid-template-columns: 1fr; /* tout en une colonne sur mobile */
    }
}


.btn {
    color: #000000;
    background-color: #ffffff;
    border-radius: 0;
    border: 1px solid #a28e65;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-style: normal;
    font-size: 13px;
    padding: 10px 20px;
}

.btn:hover
 {
    color: #ffffff;
    background-color: #a28e65;
}



#offcanvas .ct-panel-actions .ct-panel-heading

 {
font-size:26px;
}

#header div[data-device="mobile"] div[data-column="start"] {background:#ffffff}
#header div[data-device="mobile"] div[data-column="start"] div[data-items="primary"]  {background:#a28e65;justify-content:center}
#header div[data-device="mobile"] button  {text-align:center}
#header div[data-device="mobile"] button .ct-label {font-size:18px}
#header div[data-device="mobile"] div[data-column="middle"] {padding:7px 15px}

#header div[data-device="desktop"] .site-logo-container {display:block;height:182px;margin:0 150px}
@media (max-width: 768px) {
#header .skywalker-logo {display:none}
}

#templateHomepage .intro
{
display:flex;
flex-direction:column;
justify-content:flex-end;
align-items:center;
height:700px;
}

#templateHomepage #blockIntro h4
 {
    padding-bottom: 35px;
    color: #ffffff;    
    font-size: 61px ;
    font-weight: 300;
    text-align: center ;
}

#templateHomepage #blockIntro .text
 {
    color:#ffffff;
width:60%;
margin:0 auto 60px;
opacity:0.7;
text-align:center;
}


/* Conteneur pour l'effet parallaxe */
.parallax-container {
    width: 100%;
    height: 400px;                   
    overflow: hidden;
    position: relative;
background:#000000;

}

.parallax-container img {
    width: 100%;
    height: 700px;
position:relative;
top:-150px;
    object-fit: cover;
    display: block;
    will-change: transform;           /* Optimisation performance */
    transform: translateY(0);         /* Valeur de départ */
}

/* Hauteur sur mobile */
@media (max-width: 768px) {
    .parallax-container {
        height: 450px;
    }
}

#templateHomepage h2, #templateHomepage h3, #templateHomepage h4, #templateHistoire h2 {
    font-size: 61px;
    color: #a28e65;
    font-weight: 300;
    text-align: left;
}
#templateHistoire h1 {
    font-size: 18px;
    color: #000;
    letter-spacing: 6px;
    font-style: normal;
    text-transform: uppercase;
    padding-bottom: 65px;
}

.subTitle {
    font-size: 36px;
font-style:italic;
}

#templateHomepage #blockTerroir .photo031 {height:700px}
#templateHomepage #blockTerroir .photo032 {height:700px}
#templateHomepage  .photoOlive {height:605px}
#templateHomepage #blockTerroir .contentTerroir {padding:50px;background-color:#ffffff;top:-150px;position:relative}
#templateHomepage .contentOlive {padding:50px;background-color:#ffffff;}

#templateHomepage .photo04
 {
    height: 924px;
}
#templateHomepage  .photo062 {background-size:cover}
#templateHomepage .contentBoutique {padding:50px}

.ondine {text-align:center}
.ondine img {height:800px}

.txt {padding:50px}

#templateHistoire  .photo6 {
    min-height: 703px;
    background-position: bottom;
}
.logo-sky {text-align:center; padding:30px}


.titlePage {
    font-size: 18px;
    color: #000000;
    letter-spacing: 6px;
    font-style: normal!important;
    text-transform: uppercase;
    padding-bottom: 65px;
}

.Title

 {
    font-size: 61px;
    color: #a28e65;
    font-weight: 300;
    text-align: left;
}


/* Page Vins */
#templateVins h2, #templateVins h3 {
    font-size: 61px;
    color: #a28e65;
    font-weight: 300;
    text-align: left;
}
#templateVins #Cave .content .bouton {padding-top:20px}

#templateVins  section#Vins .contentCat h3.titreCat {font-size:2rem;color:#000000;text-align:center}
#templateVins #Vins .contentCat .titreCat span {text-align:left;font-size:15px}
#templateVins #Vins .contentCat .product .btn {font-size:12px;letter-spacing:2px;padding:10px 7px}

@media(max-width:1650px){
#templateVins  section#Vins .contentCat h3.titreCat {font-size:1.5rem}
}

#templateVins #Cave .photo012 {height:703px}
#templateVins .photoProduct .photo01 {height:511px}

@media(max-width:767px){
#templateVins #Cave .photo012 {height:350px}
#templateVins .photoProduct .photo01 {height:250px}
}

@media(max-width:575px){
#templateVins #Cave .photo012 {height:250px}
}

.container-category {display:flex;justify-content:center;align-items:flex-start}
.container-category article {padding:5px}
.container-category article img {max-height:300px}

#templateVins #Vins .contentProduct .description .titreProduct
 {
    font-size: 48px;
    margin-bottom: 0;
    font-weight: 300;
}
#templateVins #Vins .contentProduct

 {
        padding: 100px 50px 100px 20px;
    }
#templateVins #Vins .contentProduct .description .titreProduct span

 {
    padding-left: 10px;
    font-size: 23px;
    letter-spacing: 2px;
    font-style: normal;
}
#templateVins #Vins .contentProduct .bottle

 {
    width: 220px;
    text-align: center;
}

@media(min-width:992px) {
#templateVins #Boutique h2 {text-align:right;padding-right:25px}
#templateVins #Boutique div.bouton {align-self:center}
}


/*Page terroirs*/
#templateTerroirCepages #Terroir .photo012, #templateTerroirCepages #Cepages .photo021, #templateTerroirCepages #Cepages .photo022 {height:375px;background-size:cover}
@media(max-width:767px) {
#templateTerroirCepages #Terroir .photo012, #templateTerroirCepages #Cepages .photo021, #templateTerroirCepages #Cepages .photo022 {height:250px}
}

/*Huile d'olive*/
.haut-wineclub a {
    background: #a28e65;
    color: #000000;
    padding: 5px;
    text-align: center;
    display: inline-block;
    margin-right: 50px;
    font-style: normal;
    border: 1px solid #a28e65;
}

/*Wine club*/
.haut-wineclub a {width:150px}
.logo-svg {max-width:150px}
.wine-img {
    text-align: center;
    padding: 40px;
}
.blockRose {
    background: #f1dcd1;
    padding: 60px;
}
@media (min-width: 1400px) {
    .coffret-img {
        max-width: 450px;
    }
}
@media (max-width: 991px) {
    .coffret-img {
        max-width: 100%;
    }
}
.descriptif {
    border: 3px solid #a28e65;
    padding: 50px 50px;
    line-height: 1.8;
    margin-bottom: 40px;
}
.blockRose h3 {
    color: #a28e65;
    font-weight: 300;
    margin-bottom: 20px;
    font-size: 36px;
}
.addtocart {
    font-size: 14px;
    font-weight: 500;
    font-style: normal;
}
.addtocart .price {
    font-style: italic;
    font-size: 24px;
    font-weight: 400;
}
.addtocart a {
    background: #a28e65;
    color: #000000;
    padding: 5px;
    width: 150px;
    text-align: center;
    display: inline-block;
    border: 1px solid #a28e65;
}
.blockRose.blanc {
    background: #ffffff;
}
.blockRose.noir {
    color: #a28e65;
    background: #000000;
}
.blockRose h2 {
    text-transform: none;
    color: #a28e65;
    padding-bottom: 15px;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 18px;
}

/*Page contact */
#templateContact #blockInfos .content .titlePage2 {
    font-size: 18px;
    color: #000;
    letter-spacing: 6px;
    font-style: normal;
    text-transform: uppercase;
    padding: 70px 0;
}
    #templateContact #blockInfos .content .titlePage2 {
        padding: 30px 0;
    }


.wpcf7-form-control-wrap {
    position: relative;
}
#templateContact .blockForm .wpcf7 input[type=email], #templateContact .blockForm .wpcf7 input[type=text], #templateContact .blockForm .wpcf7 textarea {
    letter-spacing: 3px;
    font-style: normal;
    color: #000000;
    width: 100%;
    font-size: 14px;
    padding: 8px;
    border: 1px solid #a28e65;
    border-radius: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
#templateContact #blockInfos .content p {
    line-height: 20px;
margin-bottom:1rem;
}

#templateContact .blockForm .wpcf7-submit {
    background-color: #fff;
    float: right;
    border-radius: 0;
    text-transform: uppercase;
    border: 1px solid #a28e65;
    color: #000;
    height: 51px;
    font-size: 14px;
    text-align: center;
    letter-spacing: 3px;
    padding: 7px 70px;
    font-weight: 300;
    margin-top: 25px;
    cursor: pointer;
}

.explore-title {background:#ffffff url(https://www.chateaumargui.com/dev/wp-content/themes/blocksy-child/images/bandeau-explore-scaled.jpg) no-repeat; background-size:cover;color:#a28e65;letter-spacing:12px;text-align:center}

.explore-title-wrapper {
    
    padding-bottom: 40px;
}

#templateHospitality h2 {font-size:42px}


@media(min-width:768px){
.title-mobile-only {display:none}
}

@media(max-width:767px){
.not-on-mobile {display:none}
#navigation-hebergement, #navigation-hebergement2 {display:none}
.title-mobile-only {display:block;font-size:14px;text-align:center;padding-bottom:15px}
#navigationHeb .cm-col-4, #navigationHeb2 .cm-col-4 {flex:0 0 45%;max-width:45%}
}


.cm-flex {display:flex;justify-content:center;align-items:center}
.cm-flex-4 {flex:0 0 33.3333%; max-width:33.3333%}
.cm-flex-6 {flex:0 0 50%; max-width:50%}




@media(min-width:768px) {
#navigation-hebergement {font-size:42px}
#intro-hebergement.intro {display:flex;flex-direction:column;justify-content:center;align-items:start;height:800px;padding-left:80px;padding-bottom:50px;background-image: url('https://www.chateaumargui.com/app/uploads/2024/10/chateau-margui-hebergement-e1729684661299.jpg');background-position:0 100%}
#intro-hebergement>div {width:40%}
}
@media(max-width:767px)  {
#navigation-hebergement {font-size:24px}
#intro-hebergement.intro {display:flex;flex-direction:column;justify-content:center;align-items:start;padding-left:30px;padding-top:30px;padding-bottom:30px;padding-right:30px;background-image: url('https://www.chateaumargui.com/app/uploads/2024/10/chateau-margui-hebergement-e1729684661299.jpg')}
#intro-hebergement>div {width:80%}
}

#hosp-boutons {margin-bottom:50px}
#hosp-boutons .btn {display:inline-block;margin:10px}

.desc, .desc p {font-size:18px;}
.desc {padding:25px 0}

.button-line {display:flex;justify-content:center;padding-top:50px;flex-wrap:wrap;gap:25px}


#templateHospitality h1.Title {margin-bottom:1.8rem}
#templateHospitality .intro.content .desc {padding-left:0;line-height:2.2}
.hosp-img {padding:0.5px}

@media(min-width:1200px) {
.texte {font-size:18px;line-height:2.5}
}


.woocommerce-message {outline-color:#a28e65}


#footer {font-style:normal}
#footer a {color:#a28e65}
#footer .wp-social-link {background-color:#ffffff}
#footer .wp-block-social-links .wp-social-link svg {
    height: 2em;
    width: 2em;
}

@media(min-width:992px) {
#footer div[data-column="widget-area-2"]
 {
    padding: 0 25px;
    border-left: 2px solid #a28e65;
    border-right: 2px solid #a28e65;
    letter-spacing: normal;
text-align:center;
}

#footer div[data-column="widget-area-1"]
 {
    padding: 0 25px;   
    letter-spacing: normal;
    text-align:right;
}

}