/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* SEARCH BAR */
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp{background:0 0;padding: 0 !important}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{padding:5px 24px 5px 48px;font-family:inherit;background-color:#fff;font-size:14px;border-radius: 0;}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:hover{background-color:#fff}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit{min-height:18px;min-width:18px;height:18px;width:18px;top:50%;transform:translateY(-50%)}
.dgwt-wcas-open-pirx.dgwt-wcas-overlay-mobile-on .dgwt-wcas-om-bar button.dgwt-wcas-om-return path,.dgwt-wcas-style-pirx .dgwt-wcas-close:not(.dgwt-wcas-inner-preloader) path,.dgwt-wcas-style-pirx .dgwt-wcas-voice-search svg path,.dgwt-wcas-style-pirx.dgwt-wcas-has-submit .dgwt-wcas-search-submit svg path{fill:var(--primary)}
.dgwt-wcas-style-pirx.dgwt-wcas-search-focused .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{border-color: var(--secondary);}
.dgwt-wcas-suggestions-wrapp {border: 1px solid #ddd !important;}




/* MINI PANIER */
.brxe-woocommerce-mini-cart .mini-cart-link::after {
content: 'Panier';
}
@media (max-width:991px){
.brxe-woocommerce-mini-cart .mini-cart-link::after {
content: '';
}
}


/* PANIER */
.woocommerce-cart .woocommerce{padding:0!important}
form.cart .quantity,form.woocommerce-cart-form .quantity{margin-bottom:0!important;width:auto!important}
form.cart .quantity .qty,form.woocommerce-cart-form .quantity .qty{width:50px!important}
.woocommerce-cart .woocommerce-variation-description,.woocommerce-cart .woocommerce-variation-price,.woocommerce-cart a.added_to_cart.wc-forward,.woocommerce-cart a.reset_variations{display:none!important}
.product-remove{position:relative!important;height:initial!important;top:auto!important;right:auto!important}
.product-remove a{color:var(--base)!important;text-decoration:none}
.woocommerce-cart .cart-item-name a {color: var(--base) !important;text-decoration: unset !important;}


.cart-collaterals .wc-proceed-to-checkout .button{width:100%}
.cart-total.brxe-woocommerce-cart-collaterals .cart_totals{padding:30px}



/* CHECKOUT */
.no-header-footer>header, .no-header-footer footer {display: none !important;}
ul.woocommerce-shipping-methods input[type=radio]{float:none;height:20px;margin:0;width:auto;display:flex;flex:0 0 auto!important}
.woocommerce-checkout .woocommerce-additional-fields h3{font-size:1.3rem;text-align:left;color:var(--primary);font-weight:600}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-first{margin:0 0 1.2em}
.woocommerce-checkout.processing .blockUI.blockOverlay{background-image:url('/preloader-bar.gif')!important;background-position:center 50%!important;background-repeat:no-repeat!important;position:fixed!important}

.woocommerce-checkout .woocommerce-order{max-width:1600px;margin:0 auto;padding:0 20px}
.woocommerce-checkout .add_gift_card_form{display:none}
.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table td,.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table th{padding:20px 0!important}
.woocommerce-checkout .coupon-form>td{margin-bottom:-20px!important}
.woocommerce-checkout #payment{padding:20px 0!important}
.woocommerce-checkout .woocommerce-billing-fields input,.woocommerce-checkout .woocommerce-billing-fields select,.woocommerce-checkout textarea{background-color:#fff;border:1px solid var(--base);border-radius:10px}
.woocommerce-checkout .woocommerce .select2-selection{border-radius:10px;border:1px solid var(--base)}
.woocommerce-checkout .woocommerce-checkout-review-order-table thead{display:none}
.woocommerce-checkout label{font-weight:400!important;letter-spacing:0!important}
.woocommerce-checkout #payment .payment_methods img{max-width:100%!important;height:25px;float:none!important}
.woocommerce-checkout .woocommerce-shipping-methods span.woocommerce-Price-amount.amount{font-weight:700;font-size:1.2rem}
.woocommerce-checkout form.checkout_coupon{display:grid;margin:0!important;grid-template-columns:repeat(2,1fr);gap:20px;border: 1px solid var(--primary-h-opa-5);border-top: 0;}
.woocommerce-checkout form>ul.woocommerce-error{grid-column:1/3;margin-bottom:0}
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info{background-color:var(--primary)!important;color:#fff!important;margin-bottom:0!important;font-size:15px;column-gap:20px}
.woocommerce-checkout form.checkout_coupon p{float:none!important;width:auto!important}
.woocommerce-checkout form.checkout_coupon p:first-of-type{display:none}
.woocommerce-checkout .coupon-form p{display:none}
.woocommerce-checkout .coupon-form form p{display:flex}
.woocommerce-checkout form.checkout_coupon button,.woocommerce-checkout form.checkout_coupon input{height:42px!important;margin-top:0}
span.js-custom-error-message{color:red}
.woocommerce-checkout .woocommerce-message{background-color:var(--bricks-bg-success);color:var(--bricks-text-success);line-height:1.7;list-style-type:none;margin:0 0 30px;overflow:hidden;padding:15px}
.woocommerce-checkout #billing_company_field label+span{display:none;margin-top: 10px;}
.woocommerce-checkout #billing_company_field label:before{content:"\002B";margin-right:10px}
.woocommerce-checkout #billing_company_field label{background-color:var(--primary);width:auto;display:inline-block;padding:5px 15px;font-weight:initial;font-size:14px;border-radius:10px;color:#fff;margin-top: 0 !important}
.woocommerce-checkout .woocommerce-shipping-fields #ship-to-different-address label{position:relative}
.woocommerce-checkout .brxe-woocommerce-checkout-customer-details .woocommerce-account-fields{margin-top:5px}
.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table thead{display:none}
.woocommerce-checkout #order_review{border:0!important}
.woocommerce-checkout .shop_table tbody td{border:0!important}
.woocommerce-checkout tbody{border-collapse:collapse}
.woocommerce-checkout tr.cart_item{box-shadow:0 1px 0 0 var(--bricks-border-color)}
.woocommerce-checkout .woocommerce-input-wrapper input::placeholder,.woocommerce-checkout .woocommerce-input-wrapper textarea::placeholder{color:var(--base);opacity:.8}
.woocommerce-checkout .order-total span.woocommerce-Price-amount.amount{font-size:1.5rem}
.woocommerce-checkout td.product-total,.woocommerce-checkout tfoot td{text-align:right}
.woocommerce-checkout ul#shipping_method label{font-weight:400;letter-spacing:0;margin-bottom:0}
.woocommerce-checkout .woocommerce-info a{font-weight:initial}
.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon .clear{display:none}
.woocommerce-checkout tr.woocommerce-shipping-totals.shipping{display:flex;flex-direction:column}
.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table{display:flex;flex-wrap:wrap}
.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table *{flex:1;box-sizing:border-box}
.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table>*{flex:1 0 100%}
.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table tr{display:flex}
.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table .cart_item td:nth-of-type(odd),.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table thead th:nth-of-type(odd){flex:1 0 60%}
.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table tfoot th{flex:1}
.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table .woocommerce-info a{text-align:right;min-width:140px}
.woocommerce-checkout .woocommerce-shipping-fields{margin:25px 0 0}
.woocommerce-checkout .woocommerce fieldset{border:0;padding:0}
.woocommerce-checkout .woocommerce-SavedPaymentMethods-saveNew label{margin-left:10px!important}
.woocommerce-checkout input#wc-stripe-new-payment-method{margin-top:4px}
.woocommerce-checkout fieldset#wc-stripe-cc-form{margin:15px 0}
.woocommerce-checkout fieldset#wc-stripe-cc-form .form-row.form-row-wide{margin-bottom:15px}
.woocommerce-checkout .wc-stripe-gateway-desc{margin-bottom:20px}
.woocommerce-checkout #payment .payment_methods li{margin-bottom:15px!important}
.woocommerce-checkout .woocommerce-form-coupon ul.woocommerce-error {position: static;}
.woocommerce-checkout p.woocommerce-invalid-required-field span.error{color:#e2401c;display:block!important;font-weight:700}
@media (max-width:767px){
.wc-stripe-card-icons-container,.wc-stripe-paymentRequest-icons-container{float:none!important;display:block!important;margin-top:10px}
}
@media screen and (max-width:376px){
.woocommerce-checkout .product-name img{display:none!important}
}


/* FORMULAIRE DE CONTACT */
.contact_form {gap: 10px;}
.contact_form input::placeholder, .contact_form textarea::placeholder {color: var(--base);opacity: 0.8}
.contact_form a {color: var(--secondary);text-decoration: underline;}
.contact_form ul.options-wrapper {font-size: 12px;}
.contact_form ul.options-wrapper li {display: flex;align-items: flex-start;gap: 10px;}
.contact_form ul.options-wrapper li > input {margin: 0;margin-top: 6px;}

/* PAGE PRODUIT */

form.cart .quantity+button, form.woocommerce-cart-form .quantity+button {
    margin-top: 0px !important;
}

.product-template-default .simple form.cart, .woocommerce-variation-add-to-cart {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
}
form.cart table.variations tr{display:flex;align-items:center;flex-wrap:nowrap;flex-direction:row;border-top:0!important;border-bottom:0 !important;gap: 15px;}
form.cart table.variations td {
    width: auto !important;
    min-width: 180px;
}
form.cart table.variations tr label {margin-bottom: 0px !important;}
form.cart table.variations tr:last-child{border-bottom:0!important}
form.cart .woocommerce-variation-price{margin:0;display:none}
span.woo-selected-variation-item-name{display:none!important}
.woo-variation-swatches.wvs-show-label .variations th label{color:var(--base)}
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item),.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):focus,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):hover{-webkit-box-shadow:none!important;box-shadow:none!important}
.woo-variation-swatches .variable-items-wrapper .variable-item{border:1px solid var(--primary)}
.woo-variation-swatches .variable-items-wrapper .variable-item.selected{background-color:var(--primary)!important;color:var(--blanc)!important}

.product-template-default p.stock.in-stock,form.cart .woocommerce-variation,form.woocommerce-cart-form .woocommerce-variation{margin-bottom:10px!important}
form.cart .quantity,form.woocommerce-cart-form .quantity{margin-bottom:0!important;max-width:130px!important}
.single_add_to_cart_button{overflow:hidden;height:60px}


/* PRODUIT PERSO */
.product-template-default .layer2_div {
    position: relative;
    display: block;
    height: 410px;
    width: 270px;
    background-position: top left;
    background-repeat: no-repeat;
}

.product-template-default .layer_div {
    position: relative;
    display: block;
    height: 380px;
    width: 250px;
    background-position: top left;
    background-repeat: no-repeat;
}
.product-template-default #numbers {
    position: absolute;
    bottom: 0px;
    left: 0px;
    padding: 3px;
    font-size: 11px;
    line-height: 9px;
}
.product-template-default table.colselect td {
    height: 18px;
    width: 21px;
    text-align: center;
    font-size: 11px;
    line-height: 9px;
    padding: 0;
}

.product-template-default table.colselect td.selected {
    -webkit-box-shadow: inset 0px 0px 0px 4px #fff;
    -moz-box-shadow: inset 0px 0px 0px 4px #fff;
    box-shadow: inset 0px 0px 0px 4px #fff;
}
.product-template-default table.colselect {
    border-color: #797979;
    border-width: 1px;
    border-style: solid;
    margin-bottom: 8px;
   width: auto;
}

.product-template-default .bloc-perso > div {
	display: flex;
    flex-direction: row;
    gap: 30px;
    flex-wrap: nowrap;
}

.product-template-default .bloc-perso .select-color {
	order: 1;
	min-width: 240px;
}


/* PANIER SLIDE */
.brxe-woocommerce-mini-cart .off-canvas-overlay{backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.brxe-woocommerce-mini-cart .cart-detail {width: 90% !important;max-width: 400px !important;}
.brxe-woocommerce-mini-cart .cart-detail h3{text-align:left;color:var(--blanc);font-weight:600;height:70px;min-height:70px;display:flex;align-items:center;font-size:1.5rem;text-transform:capitalize;padding:0 20px;background-color: var(--primary);}
.brxe-woocommerce-mini-cart ul.woocommerce-mini-cart.cart_list.product_list_widget{padding:30px 20px}
.brxe-woocommerce-mini-cart.show-cart-details .cart-detail :where(.bricks-mini-cart-close){height:70px}
.brxe-woocommerce-mini-cart .cart-detail li .remove{font-size:30px!important;background-image:url('/wp-content/uploads/2023/07/bin.svg');background-size:contain;background-repeat:no-repeat;background-position:center center;text-indent:100%;white-space:nowrap;overflow:hidden}
.brxe-woocommerce-mini-cart p.woocommerce-mini-cart__total.total{display:none!important}
.brxe-woocommerce-mini-cart p.woocommerce-mini-cart__buttons.buttons{margin-top:auto!important;padding:20px 20px 0 20px;border-top-style:solid;border-top-width:1px;border-top-color:var(--primary-opa-3)}
.brxe-woocommerce-mini-cart .img-bande{margin-top:15px;display:flex;justify-content:center}
.brxe-woocommerce-mini-cart .img-bande img{width:50%!important;margin:0!important;float:none!important}
.brxe-woocommerce-mini-cart .cart-detail li+li{padding-top:25px}
.brxe-woocommerce-mini-cart .cart-detail li .quantity{margin-top:10px!important;margin-left:75px;font-weight:500!important;font-size:15px}
.brxe-woocommerce-mini-cart a.button.wc-forward{padding:10px 0 !important;}
.brxe-woocommerce-mini-cart .cart-detail li .variation{padding:10px 0}
dl.variation{color:#777;font-size:14px;display:grid!important;grid-template-columns:max-content auto;font-weight:initial;row-gap:0!important;column-gap:15px!important;align-items: center;}
dl.variation dt,dl.variation{grid-column-start:1;font-weight:700}
dl.variation dd{grid-column-start:2}
dl.variation dd+dt{margin-top:0!important}


/* MON COMPTE */
.woocommerce-MyAccount-content h2,.woocommerce-MyAccount-content h3,.woocommerce-MyAccount-content h4,.woocommerce-MyAccount-content h5{font-size:1.5rem;padding-bottom:15px;text-align:left;font-weight:600}
.woocommerce-account .woocommerce-Address{padding:30px}
.woocommerce-account .select2-selection,.woocommerce-account input,.woocommerce-account select,.woocommerce-account textarea{background-color:#fff;border:1px solid var(--base);border-radius:10px!important;border-color:var(--base)!important}
.woocommerce-account label{color:inherit;cursor:pointer}
.woocommerce-account input::placeholder,.woocommerce-account textarea::placeholder{color:var(--base);opacity:.8}
.woocommerce-account div#customer_login{display:flex;flex-direction:row;border:1px solid;padding:20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.woocommerce-account div#customer_login>div{display:flex;flex-direction:column;width:100%;padding:30px}
.woocommerce-account div#customer_login h2{text-align:center;padding-bottom:30px;font-size:1.5rem}
.woocommerce-account div#customer_login div form{max-width:100%;min-width:100%;border:0;padding:0;text-align:left}
.woocommerce-account .u-column1.col-1{border-right:1px solid}
.woocommerce-ResetPassword button.woocommerce-Button.button.wp-element-button{margin-top:30px}
.woocommerce-account .woocommerce .woocommerce-form-login .button{background-color:var(--primary)!important;color:#fff!important;font-weight:400!important;padding:15px 30px!important}
.woocommerce-account .woocommerce .woocommerce-form-login .button:hover{background-color:var(--primary-4)!important}
.woocommerce-privacy-policy-text{margin-bottom:15px!important;font-size:14px}
.woocommerce-lost-password .formaccount{background-color:transparent!important}
.woocommerce-lost-password p.woocommerce-form-row.woocommerce-form-row--first.form-row.form-row-first{margin-bottom:30px}
.woocommerce-lost-password .woocommerce-notices-wrapper,.woocommerce-lost-password ul.woocommerce-error{margin-bottom:0!important}
@media (max-width:768px){
.woocommerce-account div#customer_login{padding:0}
}
@media (max-width:600px){
.woocommerce-account div#customer_login{grid-template-columns:repeat(1,minmax(0,1fr))}
.woocommerce-account .u-column1.col-1{border-right:0px}
}


/* JQUERY BLOCK */
.blockUI.blockOverlay:before,.loader:before{height:2em;width:2em;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:block;content:"";-webkit-animation:none;-moz-animation:none;animation:none;background-image:url('/wp-content/themes/bricks-child/cheval.gif')!important;background-position:center center;background-size:contain;background-repeat:no-repeat;line-height:1;text-align:center;font-size:2em}
.blockUI.blockOverlay{background-color: #fff !important;opacity: 0.9 !important;}
.dizmiz{right:1em;position:absolute;border-radius:50%;height:24px;width:24px;line-height:100%;font-size:17px;text-align:center;font-weight:900;cursor:pointer;top:50%;border:1px solid;transform:translate(0,-50%)}
a.restore-item {margin-right: 50px;}


/* Defilement top */
@media (max-width:990px) {
.defile {
  max-width: auto;                      /* largeur de la fenêtre */
  overflow: hidden;                     /* masque tout ce qui dépasse */
}

.defile > :first-child {
  display: inline-block;                /* modèle de boîte en ligne */
  padding-right: 2em;                   /* un peu d'espace pour la transition */
  padding-left: 100%;                   /* placement à droite du conteneur */
  white-space: nowrap;                  /* pas de passage à la ligne */
  animation: defilement-rtl 15s infinite linear;
}

@keyframes defilement-rtl {
  0% {
    transform: translate3d(0,0,0);      /* position initiale à droite */
  }
  100% {
    transform: translate3d(-100%,0,0);  /* position finale à gauche */
  }
}	
}	

/* Hover */

#brxe-fvryoj .bricks-nav-menu > li:hover {
	transition: background-color 2s ease-out 100ms;
	background-color: #908977;
}
	
#brxe-oyvpgc .bricks-nav-menu > li:hover {
  	transition: background-color 2s ease-out 100ms;
	background-color: #908977;
}

#brxe-gqovum .bricks-nav-menu > li:hover {
	transition: background-color 2s ease-out 100ms;
	background-color: #908977;
}

#brxe-lovnji :hover {
	transition: background-color 2s ease-out 100ms;
	background-color: #908977;
}




/* HOVER IMAGE */

.menu-bas-page-img:hover img,
.menu-bas-page-bloc > a:hover img,
.img-mag:hover img {
	transform: scale(1.1);
}

.menu-bas-page-img,
.menu-bas-page-bloc > a,
.img-mag {
	overflow: hidden;
	transition: transform 0.5s ease;
}

.img-mag img {
	transition: transform 0.5s ease;
}

