/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */


/*** GENERAL ***/
.grecaptcha-badge {
    display: none !important;
}

:root{
	--green : #999B8E;
	--blue : #9CAAAA;
	--turquoise : #9CAAAA; 
	--dark : #1D3E4D;
}


/**** HOME ****/

/*  Grid */
.caseGrid>.brz-wrapper , .caseGrid>.brz-column__items{
    aspect-ratio: 1;
    width: 100%;
    height: auto;
}
.contenuHover{
	opacity:0;
	visibility:hidden;
	transition:0.3s ease-in-out;
}
.contenuHoverTemporaire{
	display:none!important;
}
#rowGrid2{
	margin-top:10px!important;
}
.rowGrid>.brz-row, .innerGrid .brz-row{
    gap: 10px!important;
    flex-wrap: nowrap!important;
}
#gridCont1>.brz-row{
  display: grid!important;
  grid-template-areas: 'areaA areaC' 'areaB areaC';
	grid-template-columns: 1fr 1fr;
	width: 100%;
    overflow: hidden;
	gap: 10px;
}
#caseGrid2 {
  grid-area: areaA;
	flex:unset!important;
	max-width:100%!important;
	width:100%!important;
    aspect-ratio: 1;
	display: flex;
}
#caseGrid3 {
  grid-area: areaB;
	flex:unset!important;
	max-width:100%!important; 
	width:100%!important;
    aspect-ratio: 1; 
	display: flex;
}
#caseGrid4 {
  grid-area: areaC;
	flex:unset!important;
	max-width:100%!important; 
	width:100%!important;
    aspect-ratio: unset;
	display: flex;
}

#caseGrid4>.brz-column__items{
	aspect-ratio: unset!important;
}
@media screen and (min-width:992px){
	.caseGrid:hover .contenuHover{
		opacity:1!important;
		visibility:visible!important;
	} 
}
@media screen and (max-width:850px){
	.rowGrid>.brz-row {
		flex-wrap: wrap !important;
	}	
}

/* Produits */
@media screen and (min-width:768px) and (max-width:992px){
	.home [data-products] {
		grid-template-columns: 1fr 1fr!important;
	}
}

/* Formulaire */
#gform_submit_button_1 {
    background: white;
    border-radius: 0px;
    line-height: normal;
    font-size: 18px;
    font-family: 'MONTSERRAT';
    font-weight: 700;
    padding: 12px 30px;
	color:black;
    border: 2px solid black!important;
}
#gform_submit_button_1:hover{
    border: 2px solid black;
    background: black;
	color:white;	
}
.gform_wrapper input, .gform_wrapper textarea {
    border-width: 0 0 2px 0!important;
    border-radius: 0!important;
	color:black;
}
.gform_wrapper input::placeholder, .gform_wrapper textarea::placeholder{
	opacity:1!important;
}

/********** WOOCOMMERCE **********/ 

/*** SINGLE PRODUCT ***/

/* Galerie */
@media screen and (min-width:992Px){
	.woocommerce-product-gallery {
		position: sticky !important;
		top: 100px;
		height: fit-content;
	}	
}
@media screen and (max-width:992Px){
	.woocommerce-product-gallery img{
		max-height: calc(100vh - 250px)!important;
	}
	div.woocommerce-product-gallery {
        margin-bottom: 20px!important;
    }
}

/* Titre */
.single-product .product_title, .single-product .price{
	line-height: normal;
}
@media screen and (max-width:550px){
	.single-product .product_title{
		font-size: 30Px!important;
	}
	.single-product .price{
		font-size: 20Px!important;
	}
}


/* Panier & Quantité */
.ct-cart-actions {
    display: flex!important;
    height: auto;
    align-items: stretch;
}
.ct-cart-actions .added_to_cart {
    min-height: fit-content!important;
}
.single_add_to_cart_button {
    border-radius: 0 !important;
    width: fit-content !important;
    flex: unset!important;
	padding: 12px 30px !important;
	min-height: fit-content!important;
	text-transform: uppercase !important;
    font-size: 18px !important;
	line-height: normal !important;
}
div.quantity {
    height: 46px!important;
}
.quantity input[type=number], .quantity[data-type=type-2] input[type=number] {
    border-radius: 0 !important;
	min-height: 100%!important;
}
div.quantity .ct-increase:hover, div.quantity .ct-decrease:hover {
    color: var(--quantity-hover-color, var(--theme-button-background-hover-color))!important;
    background: white!important;
}
form.variations_form table.variations select {
    border-radius: 0!important;
}
@media screen and (max-width:767Px){
	.single_add_to_cart_button {
		font-size: 16px !important;
	}
	div.quantity {
		height: 42px !important;
	}
}

/* Click and collect */
.click-and-collect-info {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 30px;
	background: var(--blue);
    padding: 20px;
	color: white;
}
.click-and-collect-info svg{
	width: 60px;
	height: auto;	
}
.click-and-collect-info svg path{
	fill:white;
}
.click-and-collect-info span{
	margin: 0;
	font-size: 18px;
	font-weight:700;
}
.click-and-collect-info p {
	margin: 0 ;
	font-size: 18px;
}
@media screen and (max-width:767Px){
	.click-and-collect-info span, .click-and-collect-info p {
		font-size: 16px;
	}
	.click-and-collect-info{
		gap:16px;
	}
}

/* Accordéons */
.woocommerce-tabs[data-type*=type-3] .ct-accordion-heading{
	font-size: 18px;
	text-align:left;
}

/* Related */
.single-product article>:where(.related,.up-sells) {
    margin-top: 100px!important;
}
.related h2.ct-module-title {
    font-size: 35Px;
    font-weight: 500;
}

@media screen and (max-width:992Px){
	.related h2.ct-module-title {
		font-size: 30Px;
	}
	.single-product article>:where(.related,.up-sells) {
		margin-top: 85px!important;
	}
}
@media screen and (max-width:767Px){
	.related h2.ct-module-title {
		font-size: 26Px;
	}
	.single-product article>:where(.related,.up-sells) {
		margin-top: 70px!important;
	}
}


/*** ARCHIVES ***/

body.woocommerce-page main, body.search main {
    padding-top: 140px;
}
body.woocommerce-page .ct-container {
    max-width: unset;
    width: 100%;
    padding: 0 60px;
}
.hero-section[data-type=type-1] {
	margin-bottom: 24px!important;
}
.archive .hero-section[data-type=type-1] {
	max-width: unset;
    width: 100%;
}
.post-type-archive-product ul.products.columns-4, .tax-product_cat ul.products.columns-4{
	margin-bottom: 70px;
}
.woocommerce-ordering select, select.orderby {
    border-radius: 0;
}
.woo-listing-top .woocommerce-result-count {
    font-size: 14px;
}


@media screen and (max-width:992px){
	body.woocommerce-page main , body.search main{
		padding-top: 0px;
	}	
	body.woocommerce-page .ct-container {
		padding: 0 40px;
	}
	.post-type-archive-product ul.products.columns-4, .tax-product_cat ul.products.columns-4{
		margin-bottom: 50px;
	}
}
@media screen and (max-width:689px){
	body.woocommerce-page main, body.search main {
		padding-top: 0px;
	}
	body.woocommerce-page .ct-container {
		padding: 0 20px;
	}
	.woo-listing-top .woocommerce-ordering {
		margin-inline-start: 0!important;
	}
	.post-type-archive-product ul.products.columns-4, .tax-product_cat ul.products.columns-4{
		margin-bottom: 40px;
	}
}

/* Content-product */
.new-product-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: white;
    padding: 5px 15px;
}
[data-products] .product h2 {
    margin-bottom: 0px !important;
	font-size:18px;
}
[data-products] .product .price {
    --theme-font-weight: 400;
    line-height: normal;
	font-size:18px;
	color:var(--blue);
}
[data-products] .product a.button.add_to_cart_button {
    border-radius: 0;
	color: black!important;
    background: white;
    border: 2px solid white;
	font-weight: 600;
	opacity:0;
	transition:0.3s ease-in-out;
}
 [data-products] .product a.added_to_cart{
	border-radius: 0;
	color: black!important;
    background: white;
    border: 2px solid white;
	font-weight: 600;
	transition:0.3s ease-in-out;
}
[data-products] .product:hover a.button.add_to_cart_button,  [data-products] .product:hover a.added_to_cart {
	opacity:1!important;
	color: black!important;
}
[data-products] .product:hover a.add_to_cart_button:hover{
	background: black!important;
    border: 2px solid black!important;	
	color:white!important;
}

.custom-img-wrapper {
    position: relative;
}
[data-products] .product > figure, [data-products] .product > .ct-woo-card-actions {
    display: none;
}
.custom-absolute-button {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 100%;
	justify-content: center;
    display: flex;
    flex-direction: column;
}

@media screen and (max-width:992px){
	[data-products] .product h2, [data-products] .product .price {
		font-size:17px;
	}
}
@media screen and (max-width:767px){
	[data-products] .product h2, [data-products] .product .price {
		font-size:16px;
	}
}

/***** PANIER - COMPTE - CHECKOUT ******/
h1.wp-block-heading {
    font-size: 70px;
    font-weight: 400;
	line-height:normal;
}
.woocommerce-cart *, .woocommerce-checkout * {
    border-radius: 0 !important;
}
table.shop_table tr {
    --theme-table-border-style: solid!important;
}
table.shop_table thead *, .ct-woocommerce-checkout h3, .woocommerce-order-received h2 {
    text-transform: uppercase;
    font-weight: 500;
}
.ct-woocommerce-checkout, .ct-woo-account, #customer_login{
	margin-bottom:60px!important;
}
div#customer_login h2 {
    text-transform: uppercase;
}
.woocommerce-thankyou-order-details, .woocommerce-order-received .woocommerce-customer-details{
	margin-bottom: 30PX!important;
}
.woocommerce-customer-details address{
	margin-bottom: 30PX;
	border: 1px solid var(--theme-border-color)!important;
}
.woocommerce-order-received .woocommerce-order br {
    display: none!important;
}
.woocommerce-order-received .woocommerce-order .woocommerce-customer-details br {
  display: inline!important;
}
.woocommerce-order-received  a.wt_pklist_invoice_print {
    margin-right: 20Px;
}
.woocommerce-shipping-destination, form.woocommerce-shipping-calculator {
    display: none;
}
.woocommerce-MyAccount-navigation ul li:hover a, .woocommerce-MyAccount-navigation ul li.is-active a {
    background: black!important;
	color: white!important;
}
.ct-acount-nav{
	border-radius:0!important;
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px!important;
}
.woocommerce-MyAccount-navigation ul li a{
	color: black!important;
}
.woocommerce-account input, .woocommerce-account  .button{
	border-radius:0!important;
}
.woocommerce-Addresses>* {
    border-radius: 0!important;
    border: 1px solid var(--theme-border-color)!important;
}
.woocommerce-account  .woocommerce-orders-table__row th {
	vertical-align: middle;
}
@media screen and (max-width:992px){
	h1.wp-block-heading {
		font-size: 58px;
	}
}
@media screen and (max-width:767px){
	h1.wp-block-heading {
		font-size: 46px;
	}
}


/******* HEADER ******/
header .ct-container {
    max-width: 100%!important;
	width: 100%;
    padding: 0 60px;
}

#offcanvas li.btnMenu a {
    background: black;
    width: fit-content;
    padding: 12px 32px !important;
    line-height: normal !important;
    min-height: fit-content !important;
    margin-top: 20px;
    color: white;
    font-weight: 600;
	border: 2px solid black;
}
#offcanvas li.btnMenu a:hover{
    color: black;	
    background: white;
}

@media screen and (max-width:1000px) {
	 header .ct-container{
		padding: 0 40px;
	}	
}
@media screen and (max-width:767px) {
	 header .ct-container {
		padding: 0 20px;
	}	
}
/* Header burger en Desktop */
#header .ct-sticky-container [data-sticky]{
	position: fixed;
    z-index: 5;
    top: calc(var(--admin-bar, 0px) + var(--theme-frame-size, 0px) + var(--header-sticky-offset, 0px));
    left: var(--theme-frame-size, 0px);
    right: calc(var(--theme-frame-size, 0px) + var(--scrollbar-width, 0px));
}

@media screen and (min-width:992px){
	#header [data-device=desktop]{
		display:none!important;
	}
	[data-header*="type-1"] #offcanvas {
        background-color: rgba(18, 21, 25, 0.5);
    }
	#offcanvas [data-device=desktop] {
		display: none;
		height: 0;
	}
	#header [data-device=mobile]{
		display:block!important;
	}
	[data-header*="type-1"] #offcanvas .ct-toggle-close svg.ct-icon {
		fill: black;
	}
	[data-header*="type-1"] #offcanvas .ct-panel-inner {
        background-color: white;
		width: 45vw !important;
        max-width: 100%;
		box-shadow:0px 6px 16px 0px rgba(0, 0, 0, 0.16)!important;
    }
	#offcanvas [data-device=mobile]{
		display:flex!important;
		height:100%!important;
		flex-direction:row!important;
	}
	#offcanvas .ct-panel-content-inner {
		align-self: center;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column!important;
        align-items: start;
        justify-content: center;
		flex-wrap: nowrap!important;
	}
	button.ct-header-trigger.ct-toggle svg.ct-icon {
		width: 30px;
	}
	[data-header*="type-1"] [data-id="trigger"] {
        --theme-icon-size: 25px!important;
    }
	nav[class*=menu] .ct-menu-link {
		padding: 10px 0!important;
	}

	[data-header*="type-1"] [data-id="offcanvas-logo"] {
        margin-bottom: 30px !important;
		--logo-max-height: 70px;
	}

}

/***** FOOTER ****/ 
#footer {
    padding-top: 30px;
    background: black;
}
footer .ct-container-fluid {
    max-width: 100%!important;
	width: 100%;
    padding: 0 60px;
}
#block-8 img {
	max-width: 300px;
	width: 100%;
}
/*
@media screen and (min-width:1450px){
	footer ul#menu-menu-principal-2 {
		column-count: 2;
		column-gap: 60Px;
	}
}*/

@media screen and (min-width:1000px) {
	footer .menu-menu-principal-container {
		width: fit-content;
		margin: auto;
	}	
}
@media screen and (min-width:1000px) and (max-width:1090px){
	[data-footer*="type-1"] .ct-footer [data-row*="middle"] > div{
		--grid-template-columns: 2fr 2fr 3fr 2fr!important;
	}
}
@media screen and (max-width:1000px) {
	 footer .ct-container-fluid {
		padding: 0 40px;
	}	
}
@media screen and (max-width:767px) {
	 footer .ct-container-fluid {
		padding: 0 20px;
	}	
	#block-8 img {
		width: 200px;
	}
}

/***** CONTACT ****/
#contact .brz-map {
    height: calc(100vh + 90px)!important;
}
@media screen and (min-width:992px) and (max-width:1320px){
	.rowContact .brz-columns{
		flex: 1 1 100%!important;
        max-width: 100%!important;
	}
	.rowContact .brz-columns .brz-column__items {
		margin-left:60px!important;
		margin-right:60px!important;
	}
}

/*** COMPLIANZ ***/
body.cmplz-document main{
	margin: 140px auto;
}
body.cmplz-document main *:not(h1){
	font-family:"Montserrat"!important;
}
body.cmplz-document main h1{
	font-size:70px!important;
}
body.cmplz-document main p{
	font-size:16px!important;
}
@media screen and (max-width:992px){
	body.cmplz-document main{
		margin: 60px auto;
	}
	body.cmplz-document main h1{
		font-size:52px!important;
	}
}
@media screen and (max-width:767px){
	body.cmplz-document main{
		margin: 50px auto;
	}
	body.cmplz-document main h1{
		font-size:45px!important;
	}
}


/*** RECHERCHE IVORY ***/
body #is-ajax-search-result-483, body #is-ajax-search-details-483 {
    background-color: transparent!important;
}
#is-ajax-search-result-483 .is-ajax-search-items{
	box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}
form.is-form-id-483{
    border: 2px solid black;
    border-radius: 30px;
    overflow: hidden;
}
form.is-form-id-483 .is-search-icon {
	height: fit-content;
	padding-top: unset!important;
}
form.is-form-id-483 input.is-search-input{
	height: fit-content;
    min-height: 34px;
}
form.is-form-id-483 .is-search-submit{
	height: 34px;
	min-height: unset;
	border-radius: 0;
}
.is-ajax-search-details .is-title a, .is-ajax-search-post .is-title a {
    font-weight: 500;
}
.is-ajax-search-items .is-prices .amount {
    font-weight: 500!important;
    color: var(--blue);
}

#showMobileSearch {
	height: 22px;
	display:none;
}
.brz-popup2[popupkey="1"] .brz-popup2__close {
	right: 0px!important;
}
@media screen and (max-width:767px){
	#showMobileSearch {
		display:flex;
	}
	#header .is-form-id-483{
		display:none;
	}
	/*#wrapForm .brz-column__items {
		min-height: calc(100vh - 260px) !important;
	}*/
	#is-ajax-search-result-483{
		max-width: calc(100% - 110px);
    	left: 55px !important;
	}
	
}
