/*
Theme Name: Be Unique Theme
Theme URI: https://oceanwp.org/
Description: Thème enfant du thème Ocean WP
Author: Corinne Escudier
Author URI: https://corinne-escudier-designerweb.fr
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */
/* 1) obligatoire pour éviter 100% + padding */
*,
*::before,
*::after { box-sizing: border-box; }

p{
	margin-bottom:0;
}
a:focus{
	outline:0 !important;
}
#content{
  margin:50px;
}
@media(max-width:767px){
  #content{
    margin:10px;
  }
}
/***Header***/
#site-logo{
	display:none;
}
#site-header-inner{
  height: auto !important;
}
.fixNavigation {
    position: fixed !important;
    top: 0;
}
/*Contenu Droite logo*/
.after-header-content .after-header-content-inner > a{
	display: block;
	width:100%;
}
.after-header-content .after-header-content-inner>a, .after-header-content .after-header-content-inner>div>a{
	font-size:14px;
	line-height:20px;
	color:#000;
}
.after-header-content .after-header-content-inner>a:hover, .after-header-content .after-header-content-inner>div>a:hover{
	color:#408e91;
}
.after-header-content .after-header-content-inner>a i {
	margin-right:5px;
}
.oceanwp-mobile-menu-icon.mobile-right{
	float:none !important;
	text-align: center;
	margin-top: 5px;
}
@media(max-width: 1080px){
	.after-header-content {
		display: flex !important;
    align-items: center;
    justify-content: center;
		float:none;
		text-align: center;
	}
	.after-header-content-inner > a{
		text-align: center;
	}
}
/*Menu principal*/
.minimal-header.left-menu #site-navigation-wrap, .transparent-header.left-menu #site-navigation-wrap{
	width:100%;
}
#site-navigation-wrap .dropdown-menu{
	display: flex;
	justify-content: center;
}
.navigation .megamenu>li>a.menu-link {
	font-weight:400 !important;
	font-size:14px;
}
.account-link{
	margin-right:10px;
}
.menu-cat-thumb{
	width: 40px;
  border-radius: 50%;
  border:1px solid #000 !important;
  margin: 5px;
  }
 /*Mega menu*/
 /* container horizontal */
.mega-column {
    display: flex;
    flex-direction:column;
    padding: 20px;
    background: #fff;
    width:220px;
    min-width: 220px;
}
.mega-item{
  padding:5px 0;
}
/* colonne image prend la hauteur dispo */
.mega-col-image {
    position: relative;
    min-height: 220px; /* adapte si besoin */
}
.mega-bg {
    display: none;            /* caché par défaut, le JS gère l’affichage */
    position: absolute;
    inset: 0;                 /* top/right/bottom/left:0 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
}
/* colonne texte */
.mega-col-text > div {
    display: none; /* caché par défaut, le JS gère */
}
.mega-col-text > div a {
  margin-top:10px;
  padding:10px 20px;
}
/* mobile */
@media (max-width: 768px) {
  .mega-column {
      justify-content: center;
      width:100%;
  }
  .mega-item { 
  	flex-direction: column;
  }
}
/* Cache le mega menu par défaut */
.mega-sports .mega-row{
    display: none;
    position: absolute;
    left: 0;
    width: 660px;
    background: white;
    border-top: 3px solid #408e91;
    top: 100%;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Affiche au survol sur desktop */
.mega-sports:hover .mega-row{
    display: flex;
}

/* Rendre l'élément parent positionné pour le dropdown */
.mega-sports{
    position: relative;
}
.mega-vetements-de-travail .mega-row, .mega-vestes .mega-row, .mega-accessoires .mega-row{
  right:0;
  left:inherit;
}
/* -- MOBILE -- */
/* On affiche au clic en utilisant :focus-within (fonctionne sans JS) */
@media (max-width: 1024px) {
  .mega-sports > a{
    pointer-events: none;
  }
  .mega-sports .mega-row {
      position: static;
      box-shadow: none;
      width: 100%;
      max-width: none;
  }
  .mega-sports:focus-within .mega-row {
      display: block;
  }
  .mega-sports .mega-col-image, .mega-sports .mega-col-text{
    display:none;
  }
}
/***Guide des tailles***/
/*Tableaux*/
/* Base */
.size-guide { 
	max-width: 900px; 
	margin: 0 auto; 
	padding: 1rem; 
}
.size-guide h2 { 
	font-size: 1.25rem; 
	margin-bottom: .5rem; 
}
.size-note { 
	font-size: .9rem; o
	pacity: .8; 
	margin-bottom: .75rem; }

.sg-table { 
	width: 100%; 
	border-collapse: collapse; 
	background: #fff; 
}
.sg-table th, .sg-table td { 
	padding: .75rem 1rem; 
	border-bottom: 1px solid #e7e7e7; 
	text-align: left; 
}
.sg-table thead th { 
	font-weight: 600; 
	background: #f7f7f8; }

/* Bandeau collant en desktop si scrolling horizontal (optionnel) */
.sg-table thead th { 
	position: sticky; 
	top: 0; 
	z-index: 1; 
}

/* Mobile : transformer chaque ligne en carte */
@media (max-width: 640px) {
  .sg-table thead { 
  	display: none; 
  }
  .sg-table, .sg-table tbody, .sg-table tr, .sg-table td, .sg-table th { 
  	display: block; 
  	width: 100%; 
  }
  .sg-table tr { 
  	background: #fff; 
  	border: 1px solid #eee; 
  	border-radius: 12px; 
  	padding: .5rem .75rem; 
  	margin-bottom: .75rem; 
  	box-shadow: 0 1px 6px rgba(0,0,0,.04); 
  }
  .sg-table th[scope="row"] {
   font-size: 1rem; 
   font-weight: 700; 
   padding-bottom: .25rem; 
   border: 0; 
}
  .sg-table td { 
  	border: 0; 
  	isplay: grid; 
  	grid-template-columns: 140px 1fr; 
  	padding: .35rem 0; 
  }
  .sg-table td::before {
    content: attr(data-label);
    font-weight: 600;
    opacity: .75;
    padding-right: .5rem;
  }
}
/***Accueil***/
.etape{
	width:60px;
	max-width:60px !important;
	height:60px;
}
/*Catégories produits*/
.woocommerce .term-description{
  text-align: center;
}
.woocommerce ul.products li.product .woo-entry-image-swap .woo-entry-image-main, .woocommerce ul.products li.product .woo-entry-image-swap .woo-entry-image-secondary{
  width:300px !important;
  height:300px !important;
}
.woocommerce ul.products li.product .woo-entry-image-swap .woo-entry-image-secondary{
  left: calc(50% - 150px) !important;
}
.wc-categorie-parent {
  font-size: 24px;
  margin: 40px 0;
  text-align: center;
  color: #000;
  padding-bottom: 10px;
  position: relative;
}
.wc-categorie-parent::after{
	content:'';
	width:80px;
	height:2px;
	background-color:#000;
	display: iblock;
	position: absolute;
	left: calc(50% - 40px);
	bottom:-5px;
}
.wc-sous-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 20px;
}

.wc-sous-categorie {
  max-width: 200px;
  text-align: center;
}
.wc-sous-categorie img {
  width: 100%;
  border-radius: 50% !important;
  border: 1px solid #000 !important;
  transition: transform 0.3s ease;
}
.wc-sous-categorie h4{
	font-size:20px;
	margin-top:15px;
}
.wc-sous-categorie img:hover {
  transform: scale(1.05);
}
/*Fiche produit personalisée*/
.woocommerce div.product form.cart{
	border-top: none !important;
}
.club-order-form fieldset{
  min-width:0 !important;
  width:100%;
  max-width:100%;
}
.club-order-form fieldset:first-child, .club-order-form fieldset:first-child input[type="text"], .club-order-form fieldset:first-child select{
  border: 1px solid #408e91;
}
.club-order-form fieldset:first-child legend{
   border-bottom: 1px solid #408e91;
}
.club-order-form fieldset:nth-child(2){
  border: 1px solid #b3a359;
}
.club-order-form fieldset:nth-child(2) legend{
   border-bottom: 1px solid #b3a359;
}
.table-tailles-club thead th{
  background:rgba(179,163,89,0.5); 
  color:#fff;
}
.table-tailles-club .toggle-groupe{
  background:rgba(179,163,89,0.8); 
  color:#fff;
}
/* Base safe */
/* Base */
.single-product *,
.single-product *::before,
.single-product *::after { box-sizing: border-box; }

@media (max-width: 768px) {

  /* OceanWP : empêche les colonnes de forcer une largeur */
  .single-product .summary,
  .single-product .summary form.cart,
  .single-product .woocommerce-variation-add-to-cart,
  .single-product .club-order-form,
  .single-product .club-order-form fieldset {
    max-width: 100%;
    min-width: 0;          /* clé iOS dans des conteneurs flex */
  }

  /* Ton 1er fieldset : pas de débordement horizontal */
  .single-product .club-order-form fieldset:first-of-type {
    overflow-x: hidden;
  }

  /* Inputs/select : contenus */
  .single-product .club-order-form fieldset:first-of-type input,
  .single-product .club-order-form fieldset:first-of-type select,
  .single-product .club-order-form fieldset:first-of-type textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: block;
    font-size: 16px; /* évite le zoom iOS */
  }

  /* Radios (labels inline-flex) : wrap propre */
  .single-product .club-order-form fieldset:first-of-type label {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 0 10px 10px 0;
  }
}
/* Widget catégories produit hiérarchiques */
.widget_ce_prod_cats_hierarchiques > .ce-prod-cat-list > li > a{
	margin-bottom:15px;
	font-size:15px;
	text-transform: uppercase;
}
.ce-prod-cat-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.ce-prod-cat-list ul {
  padding-left: 20px; /* indentation enfants */
  margin-top: 8px;
}
.ce-prod-cat-item {
  margin-bottom: 8px;
}
.ce-prod-cat-item a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.ce-prod-cat-item .cat-thumb {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
  border:1px solid #000;
}
.ce-prod-cat-item .cat-name {
  font-weight: 500;
}
.ce-prod-cat-item .cat-count {
  color: #777;
  font-size: .9em;
}
/*Panier, Paiement, Confirmation*/
.woocommerce table.shop_table td{
  text-transform:none !important;
  font-size:13px;
}
.woocommerce table.shop_table dl{
  display: flex;
  flex-wrap: wrap;
}
.woocommerce table.shop_table dl dd, .woocommerce table.shop_table dl dt{
  width:50%;
  line-height:1;
}
.logo-club-checkout{
  display: flex;
}
.wc-item-wrapper + * {
    margin-top: -34px !important;
    padding-top: 0 !important;
    display: block;
}
.variation-Logoduclub{
  display: none;
}
/* Masquer le sélecteur de quantité par défaut WooCommerce */
form.cart .quantity {
    display: none !important;
}
form.cart > p.stock, .shop_table .product-quantity{
	display:none;
}
.variations, .single_variation{
  display: none !important;
}

.woocommerce button.single_add_to_cart_button.disabled{
  opacity:1 !important;
  background-color:#408e91 !important;
  cursor: auto !important;
}
/***Footer***/
#footer-widgets .wp-block-image{
	margin-bottom: 0 !important;
	margin-top:-20px;
}
#footer-widgets .wp-block-social-links svg{
  fill:#fff;
  width:18px;
  height:18px;
}
#footer-widgets h4{
	font-size:20px;
}
.list-payment{
  display: flex;
}
.list-payment__item{
  margin: 0 5px;
}
.wc-thumb-order, .wc-thumb{
  display: inline;
}
.wc-thumb-order img, .wc-thumb img{
  width:50px;
}
#footer-widgets li, #footer-widgets a{
	font-size:14px;
}
@media(max-width:959px){
	#footer-widgets .col{
		width:100%;
	}
}
/*Badge Recaptcha*/
.grecaptcha-badge{
  visibility: hidden !important;
}