/*
Theme Name:  Nectarblocks Child Theme
Version:     1.0.0
Template:    nectar-blocks-theme
Description: Child theme for Nectarblocks.
Theme URI:   https://nectarblocks.com
Author:      NectarBlocks
Author URI:  https://nectarblocks.com
License:     Custom license
License URI: https://nectarblocks.com/license
Text Domain: nectar-blocks-theme
*/

/*-------------------------------------------------------------------------*/
/* Note: The theme CSS files are loaded through the /css/ folder. 
/*-------------------------------------------------------------------------*/

/*Nav liste de souhaits*/

#nectar-nav.transparent #menu-item-455 a:before {
    content: url(https://pro.d-nu-d.com/wp-content/uploads/2026/02/liste-de-souhaits.svg);
    position: absolute;
    width: 24px;
    height: 24px;
    z-index: 1000;
    top: 0;
    left: 0;
    background-size: 1rem;
	opacity: 0.75;
}


#nectar-nav.transparent #menu-item-455 a img {
	opacity: 0;
}

#menu-item-455 .menu-title-text
{
	display: none;
}


#nectar-nav ul.sf-menu>li>a>.nectar-menu-icon-img
{
	margin: 0 !important;
}

html body #nectar-nav li#search-btn,
html body #nectar-nav li#nectar-user-account,
/*html body #nectar-nav #menu-item-455 a,*/
html body #nectar-nav #menu-item-99 a
{
	margin: 0 1rem 0 0 !important;
}

html body #nectar-nav #menu-item-455 a
{
	margin: 0 0.5rem 0 0 !important;
}
/*Masquer la barre de recherche dans le menu de haut de page
html body #nectar-nav:not(.fixed-menu) li#search-btn
{
	display: none !important;
}*/

li#search-btn {
    border-right: 1.5px solid black;
    padding-right: 1rem;
}

#nectar-nav:not([data-format=left-header]) #top>.container>.row, 
#nectar-nav:not([data-format=left-header]) #top>.container>.row nav, 
#nectar-nav:not([data-format=left-header]) #top>.container>.row nav>ul, 
#nectar-nav:not([data-format=left-header]) #top>.container>.row nav>ul>li,
#menu-item-455 > a{

        margin-left: 0;
}

/*Right navigation*/
html body #nectar-nav[data-menu-bottom-bar-align=left_t_center_b][data-format=centered-menu-bottom-bar] #top .span_3 nav.right-side
{
	height: 100%;
}

/*Lef navigation*/
html body #nectar-nav[data-menu-bottom-bar-align=left_t_center_b][data-format=centered-menu-bottom-bar] #top .span_3 nav.left-side
{
	height: 100%;
	width: 100%;
	justify-content: center;
}

#nectar-nav[data-format=centered-menu-bottom-bar] #top nav>.sf-menu>li ul {
    border-radius: initial;
    z-index: 9999999;
    margin-top: 10px;
}

#nectar-nav[data-lhe="animated_underline"] #top nav#menu-left-navigation > ul > li > a
{
	margin-left: 0 !important;
}

#menu-item-41831 a
{
	margin: initial !important;
}

/*Subcatégories mega menu*/
.woo-subcats-grid, .woo-subcats-list {
    display: grid;
    gap: 1rem
}

.woo-subcat-item,
.woo-subcat-item:hover{
    background: initial;
    border: initial;
    border-radius: initial;
    padding: initial !important;
	font-weight: 400;
	box-shadow: initial;
}

.woo-subcats-year-title
{
	font-size: 1.125rem;
	font-weight: normal;
	margin-bottom: 2rem;
}

.woo-subcat-name {
    color: black;
    font-size: 1rem;
    font-weight: 400;
    padding: 0;
    text-align: left;
}

/*Navigation*/
#nectar-nav:not(.transparent) header
{
	border-bottom: 1px solid #00000014;
}

@media (max-width: 1024px)
{
	#nectar-nav:not(.transparent) header
	{
		padding-bottom: 14px;
	}
}

/* --- Archive produits ---*/
.archive .nectar-shop-header .nectar-shop-header-bottom .right-side {
    display: none;
}

.archive .product-meta p.dnud-loop-sku {
    margin-top: 1rem !important;
}

.archive .nectar-font-h6,
.archive h6 {
    font-size: 1.16rem;
}

@media (max-width: 1049px)
{
	
	.archive .nectar-shop-header .woocommerce-breadcrumb
	{
		margin-bottom: 0;
	}
	
	.archive .nectar-shop-header 
	{
    	margin: 1rem 0;
	}
	
	.nectar-shop-header h1 {
  	  font-size: 2rem;
	}
	
	.archive .products li.product.minimal .product-image-wrap .product-add-to-cart
	{
		display: none;
	}
}



/*Espace mon compte*/
.woocommerce-account .woocommerce-MyAccount-content {
    float: right;
    width: 68%;
    margin-top: 4rem;
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--mes-clients a::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  float: left;
  margin-right: 15px;
  opacity: .4;
  line-height: inherit;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E");
}

@media (min-width:1050px)
{
	.woocommerce-account .woocommerce-MyAccount-navigation 
	{
		margin-top: 3rem;
		position: sticky;
		left: 0;
		top: 8rem;
	}
	
	html body .woocommerce-MyAccount-navigation ul
	{
		border-top: initial;
	}
}

/* ---- Page produit ---- */
/* Tableau de variations */
.wcmv-color-options-wrap,
.wcmv-size-options
{
	padding: 2.64rem !important;
	margin-top: initial !important;
}

.wcmv-size-options table {
    width: 100%;
    border-collapse: collapse;
}

.wcmv-size-options thead tr {
    border-bottom: 1px solid #0000008c;
}

.wcmv-size-options tbody tr {
    border-bottom: 1px solid #0000000d;
}

.wcmv-size-options tbody tr.wcmv-last-visible-row {
    border-bottom: none;
}

.wcmv-size-options th,
.wcmv-size-options td {
    text-align: center;
    font-size: 1rem;
    line-height: 1.1em;
    max-width: 10rem;
	padding: 1rem;
}

.wcmv-color-option {
    cursor: pointer;
    border: 1px solid #ccc;
    transition: border-color 0.2s ease, border-width 0.2s ease;
}

.wcmv-color-option:hover,
.wcmv-color-option.is-active {
    border-width: 2px;
    border-color: #999;
}


@media (min-width:1050px)
{
	.single-product .product[data-gallery-style="left_thumb_sticky"] .summary.entry-summary
	{
		padding-right: initial;
	}
	
	.yith-add-to-wishlist-button-block.yith-add-to-wishlist-button-block--single {
    position: absolute;
    top: 0;
    	right: 0;
	}
	
	/*Position absolut de la galerrie d'image*/
	.single-product .nectar-prod-wrap
	{
		position: relative;
	}

	.single-product .row > .product[data-gallery-style="left_thumb_sticky"] .single-product-main-image, 
	.single-product .product[data-gallery-style="left_thumb_sticky"] .single-product-main-image 
	{
		position: sticky;
		top: 6rem;
		height: 100%;
	}

	.single-product .row > .product[data-gallery-style="left_thumb_sticky"][data-tab-pos*="fullwidth"] .summary.entry-summary, 
	.single-product .product[data-gallery-style="left_thumb_sticky"][data-tab-pos*="fullwidth"] .summary.entry-summary
	{
		margin-top: 4rem;
		padding-left: 0rem;
		position: relative;
	}
	
	.woocommerce.single .dnud-btq-price
	{
		margin-bottom: 2rem !important;
	}
	
	.wcmv-size-options > div
	{
		display:flex;
    	width: 100%;
		align-items: center;
        justify-content: space-between;
	}
	
}

@media (max-width: 1360px) and (min-width:1211px)
{
	.single-product .row > .product[data-gallery-style="left_thumb_sticky"] .single-product-main-image, .single-product .product[data-gallery-style="left_thumb_sticky"] .single-product-main-image
	{
		width: 45%;
	}
	
	.wcmv-color-options-wrap, .wcmv-size-options
	{
		padding: 1.8rem !important;
	}
}

@media (max-width: 1210px) and (min-width:1151px)
{
	.single-product .row > .product[data-gallery-style="left_thumb_sticky"] .single-product-main-image, .single-product .product[data-gallery-style="left_thumb_sticky"] .single-product-main-image
	{
		width: 40%;
	}
}

@media (max-width: 1150px) and (min-width:1050px)
{
	.single-product .row > .product[data-gallery-style="left_thumb_sticky"] .single-product-main-image, .single-product .product[data-gallery-style="left_thumb_sticky"] .single-product-main-image
	{
		width: 36%;
	}
}



/*gestion des espaces des infos de la fiche produit*/
.woocommerce.single-product .main-content
{
	padding-top: 1rem;
}

html body.woocommerce.single .wcmv-main-wrap
{
	margin-top: 4rem !important;
	padding-top: initial !important;
}

.woocommerce.single div.product .summary p.price
{
	margin-top: 2rem;	
	margin-bottom: 0rem;
}

.woocommerce.single div.product_meta
{
	margin-bottom: 1rem;
}

.woocommerce.single p 
{
	margin-bottom: initial;
}

.yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--single.yith-wcwl-add-to-wishlist-button--anchor
{
	flex-direction: row-reverse;
}

.single .product_title 
{
	font-size: 2.84rem;
}

.single .yith-wcwl-add-to-wishlist-button__label
{
	display: none;
}

/* Label attribut */
.dnud-label-maillots-de-bain {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 6px;
}

/* CTA Guide des tailles */
.dnud-guide-tailles {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    color: black;
    letter-spacing: -0.016em;
}

.dnud-guide-tailles:hover {
    color: #000;
}

.dnud-guide-tailles__icon {
    display: flex;
    align-items: center;
    justify-content: center;
	margin-bottom: 4px;
}

.dnud-guide-tailles__icon svg {
    width: 16px;
    height: 16px;
    transform: rotate(-45deg);
}


/*Tableau d'achat*/
.wcmv-size-options table
{
	margin-top: 1rem;
}

.wcmv-size-row td div
{
	    align-items: center;
    font-size: 14px !important;
    line-height: .9rem;
}

@media (max-width:1049px)
{
	.yith-add-to-wishlist-button-block.yith-add-to-wishlist-button-block--single
	{
		margin-bottom: 2rem;
	}
	
	html body.woocommerce.single .wcmv-main-wrap {
    	margin-top: 2rem !important;
	}
	
	.wcmv-color-options-wrap, 
	.wcmv-size-options
	{
		padding: 1.64rem !important;
	}
	
	.single thead
	{
		display: none;
	}
	
	.wcmv-size-options th, .wcmv-size-options td
	{
	padding: .5rem 0;
        max-width: 100%;
        font-size: 14px;
        display: flex;
        flex-direction: row;
		gap: .25rem;
	}
	
	.wcmv-size-options tbody tr
	{
		border-bottom: initial;
		border-top: 1px solid #0000000d;
	}
	
	.wcmv-size-row
	{
		display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
		padding: 1rem 0;
	}
	
	.wcmv-size-row td:nth-child(1),
	.wcmv-size-row td:nth-child(4)
	{
		width:50%
	}
	
	.wcmv-size-row td:nth-child(1)
	{
		order: 1;
	}
	
	.wcmv-size-row td:nth-child(4)
	{
		order: 2;
		justify-content: flex-end;
	}
	
	.wcmv-size-row td:nth-child(2)
	{
		order: 3;
		width: 100%;
	}
	
	.wcmv-size-row td:nth-child(3)
	{
		order: 4;
		width: 100%;
	}
	
	.wcmv-size-row td:nth-child(5)
	{
		order: 5;
		width: 100%;
	}
	
	.wcmv-size-row td:nth-child(6) {
   		order: 6;
    	width: 100%;
		justify-content: flex-end !important;
        margin-top: -4rem;
	}
	
	.single .product_title 
	{
    	font-size: 2.24rem;
	}
	
	.wcmv-size-row td:nth-child(2):before
	{
		content:'Immédiat : ';

	}
	
	.wcmv-size-row td:nth-child(3):before
	{
		content:'En fabrication : ';

	}
	
	.wcmv-size-row td:nth-child(4):before
	{
		content:'Prix d\'achat : ';
	}
}

/*Tunnel d'achat*/
.woocommerce-cart div#nectar-content-wrap,
.woocommerce-checkout div#nectar-content-wrap
{
    margin-top: 5rem;
}

.woocommerce-cart .wc-block-components-product-name
{
	font-size: 1.64rem !important;
}

.woocommerce-cart .wc-block-cart-items__row span
{
	font-size: 16px !important;
}

.woocommerce-cart ul.wc-block-components-product-details {
    display: flex;
    gap: 1rem;
}

.woocommerce-cart .is-large.wc-block-cart .wc-block-cart-items td:first-child {

    width: 12rem;
}

div.woocommerce-order section.woocommerce-customer-details section.wc-block-order-confirmation-additional-fields-wrapper {
	margin-top: 2em;
}

/* Filtres des couleurs */
.wc-block-product-filter-checkbox-list__item[data-wp-key^="attribute/couleur-"] .wc-block-product-filter-checkbox-list__input-wrapper::before {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: #000 1px solid;
	opacity: 1;
}

.wc-block-product-filter-checkbox-list__item[data-wp-key^="attribute/couleur-"] input[type="checkbox"].wc-block-product-filter-checkbox-list__input {
	width: 2rem;
	height: 2rem;
}

.wc-block-product-filter-checkbox-list__item[data-wp-key^="attribute/couleur-"] svg.wc-block-product-filter-checkbox-list__mark {
	top: 50%;
    padding: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

.wc-block-product-filter-checkbox-list__items {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.wc-block-product-filter-checkbox-list__items .wc-block-product-filter-checkbox-list__item {
    width: 48%;
}

form.wc-block-checkout__form fieldset#payment-method {
	display:none;
}

.yith-add-to-wishlist-button-block {
	display: none;
}

td.yith-wcwl-wishlist-column .yith-add-to-wishlist-button-block.yith-add-to-wishlist-button-block--single {
	display: initial !important;
	position: initial;
}

form.woocommerce-ResetPassword.lost_reset_password {
	align-items: center;
	justify-content: center;
	display: flex;
	flex-direction: column;
	margin-top: 4rem;
}

