/* xl - DESKTOP STYLES */ 
/* GLOBAL , [data-header*="type-1"] [data-id="search"] .ct-label:hover */
a:hover {
font-weight:600!important;
}
a {
transition: none;
}

/* Newsletter */

.nl-gap {
	margin-top:30px!important;
}

/* Panier Flottant  */

.ct-floating-bar .product-title {
font-size: 12px;
font-weight: 400;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
text-transform: uppercase;
}

/*.ct-floating-bar .ct-media-container {
border-radius: 0px;
max-width: 60px;
}*/

/* Changement de la couleur du contour du bouton */
.ct-floating-bar-actions .button {
    border: 1px solid #fff !important;
}

/* Changement de la couleur de l'icône (si elle est insérée via ::before ou ::after) */
.ct-floating-bar-actions .button::before {
    color: #fff !important;
}


/* Si l'icône est un SVG ou une image de fond 
.ct-floating-bar-actions .button {
    background-image: url('data:image/svg+xml;utf8,<svg ... fill="%23ta-couleur" ...></svg>') !important;
}
*/


/* Mini Cart */

.woocommerce-mini-cart__buttons {
grid-column-gap: 10px;
grid-row-gap: 10px;
}

/* Cart */

.woocommerce-cart-form .coupon input#coupon_code:focus {
border-color: #000!important;
}

.woocommerce-cart-form .coupon button[name="apply_coupon"] {
    /* Vos styles ici */
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 0px solid #000000 !important;
}
.woocommerce-cart-form .coupon button[name="apply_coupon"]:hover {
    background-color: #777777 !important;
	color:#ffffff !important;
}	
/* Single Product */

.product-entry-wrapper {
--badge-top: 10px;
--badge-left: 0px;
}

.ct-woo-badges {
top: var(--badge-top, 0px);
inset-inline-start: var(--badge-left, -10px);
}

.ct-woo-badge-new {
background-color: transparent;
}

/* Checkout */

.wp-block-woocommerce-checkout .wc-block-checkout__login-prompt {
border: 1px solid #CCC;
padding: 2px 5px;
border-radius: 2px;
}

/* Fil ariane */

.ct-breadcrumbs[data-source=default]>span [class*=ct-separator] {
margin: 0 5px;
}

.wc-stripe-product-checkout-container.bottom {
margin-top: 0em;
}
.wc-ppcp-product-payments__container:not(top) {
margin: 5px 0 0;
}
.ct-cart-actions {
gap: 5px;
}

.woocommerce button.button.disabled, .wc_stripe_product_payment_methods .disabled,.wc-ppcp-cart-button-container.disabled, .wc-ppcp-checkout-container.disabled, .wc-ppcp-product-button-container.disabled, .wc-ppcp-product-payments__container .wc-ppcp-product-payment__methods .wc-ppcp-product-payment-method .disabled {
	opacity:1;
}
/* Espacements Elements colone photos et summary */

@media (min-width: 1000px){
.ct-stacked-gallery .entry-summary {
margin-inline-start: 10px;
margin-top:-5px;
	}
}


/* Mon Compte Login */

.ct-woo-unauthorized .col2-set h2 {
font-size: 17px;
text-transform: uppercase;
text-align: right;
}

/* Mon Compte */

table.shop_table a {
font-weight: 400;
font-size: 12px;
}

/* LIGHTBOX */

.pswp__button--arrow--left {
left: 40px;
}
.pswp__button--arrow--right {
right: 40px;
}

/* Liste Attente */
.ct-product-waitlist-form{
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px;
}
.ct-product-waitlist-form input {
border-color: #303030;
background-color:#fff;
}
.ct-product-waitlist-form input:focus {
background-color:#fff;
}

.ct-product-waitlist {
background-color: #fff2f2;
}

.ct-product-waitlist[data-type=boxed] {
padding: var(--container-padding, 15px);
border-radius: var(--container-border-radius, 3px);
border: 1px solid;
}
.ct-waitlist-title {
--theme-font-size: 13px;
font-weight: 400;
text-transform: uppercase;
}

.ct-button.unsubscribe {
display:none;
}

/* Stock */
.stock.in-stock {
display: none!important;
}

/*Qte */
.ct-cart-actions .quantity {
display: none!important;
}
.variations .reset_variations {
visibility: hidden!important;
}
.woocommerce-variation-price {
display: none;
}

.ct-swatch {
font-weight: 400!important;
border: 1px solid var(--swatch-button-border-color, var(--theme-border-color))!important;
}

/* Cat au dessus titre produit */

.summary .cat-titre {
font-weight: 700;
text-transform: uppercase;
font-size: 28px;
line-height: 1.1;
letter-spacing: -1px;
color: var(--theme-palette-color-4);
} 
.cat-titre {
font-weight: 500;
text-transform: uppercase;
font-size: 16px;
line-height: 1.2;
color: var(--theme-palette-color-4);
} 


/* Bouton Filtres */

.ct-toggle-filter-panel .ct-icon-container {
    display:none;
}


.ct-toggle-filter-panel {

--toggle-button-border-width: 0px;
--theme-icon-size: 0px;
}


/* Filtres Panel */

.ct-sidebar .ct-widget {
border-bottom: 1px solid #000;
}

.ct-sidebar .ct-widget:not(:last-child) {
margin-bottom: var(--sidebar-widgets-spacing, 20px);
}
.ct-filter-widget-wrapper {
margin-bottom: 20px;
}
.ct-filter-reset {
margin-bottom: 20px!important;
}


.accordion-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.accordion-icon {
  font-size: 1.2em;
  margin-left: 10px;
  transition: transform 0.3s;
}

.accordion-toggle.open .accordion-icon {
  transform: rotate(180deg);
}
.accordion-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.accordion-icon {
  font-size: 1.2em;
  margin-left: 10px;
  transition: transform 0.3s;
}

.accordion-toggle.open .accordion-icon {
  transform: rotate(180deg);
}


/* Swatches */

.color-swatch-link.active img {
  outline: 1px solid #000;
  outline-offset: 2px;
}

/* grille 8 colonnes max, wrap auto */
.linked-color-swatches{
  display: grid;
  grid-template-columns: repeat(10, 25px); /* 30px swatch + 6px de confort */
  gap: 10px;
  margin: 20px 0;
}

/* tes swatches existants (30x30) restent inchangés */
.linked-color-swatches .color-swatch-link img{
  width: 25px;
  height: 25px;
  border: ;
  transition: transform 0.2s ease;
}

[data-swatches-shape=square] {
--swatch-border-radius: 0px;
}

/* Description */
.m-heading-prod, .ct-accordion-heading {
font-size: 14px!important;
font-weight: 500!important;
text-transform: uppercase!important;
display: block!important;
text-align:left
}

.label {
display: none;
}

.entry-content.is-layout-constrained p {
font-size: 14px;
}

.ct-label{
	font-size:0.75rem;
}

/* BOUTON FICHE */

.ct-cart-actions :is(.single_add_to_cart_button,.added_to_cart) {
display: none;
}

.ct-cart-actions .quantity {
display: none;
}


/* Guide des Tailles */

.ct-product-additional-actions {
  display: none;
}


.ct-product-additional-actions  .ct-icon-container {
display: none;
}

.ct-panel-heading {display:none;}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

.modal-content {
    background-color: white;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 80%;
    max-width: 400px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%); /* Centrer verticalement et horizontalement */
    overflow-y: auto;
    max-height: 80%;
}
	.cp-overlay-close img { padding: 5px; background: #292929; border-radius: 50%; } 

	.guide { padding :5px 10px; background-color:#000; color:#FFF; width:140px; text-align:center; margin-bottom:15px;font-size: 12px; } 

	.divTable{ display: table; width: 100%; margin: 15px 0 15px; } .divTableRow { display: table-row; } .divTableHeading { background-color: #EEE; display: table-header-group; } 
	.divTableCell, 
	.divTableHead { border: 0px solid #999999; display: table-cell; padding: 10px 10px; text-align: center; color:#000;background-color: #fff; } 
	.divTableHeading { background-color: #EEE; display: table-header-group; font-weight: bold; } 
	.divTableFoot { background-color: #EEE; display: table-footer-group; font-weight: bold; } 
	.divTableBody { display: table-row-group; } 
	.dark-gray { background-color : #BEC0BF; font-weight:700; } 
	.med-gray { background-color : #E3E4E4; font-weight:700; text-align:left; width:20%; } 
	.light-gray { background-color : #EFEFEF; } 

	/* Portrait 
	@media only screen and (min-width: 375px) and (max-width: 667px) and (-webkit-min-device-pixel-ratio: 2) 

	{ .divTableCell, .divTableHead { padding: 10px 0 10px 5px; font-size: 12px; } 
	.guide { width: 90px; font-size: 12px; } .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 { padding:0; } 
	}*/ 




/* xs - SMARTPHONE PORTRAIT STYLES */ 
@media (max-width: 479px) {
  
  /* Floating Cart 
  
  .ct-floating-bar-actions :is(.product_type_variable.button,.single_add_to_cart_button:not(.loading)):after {
      content: "Ajouter";
      font-family: inherit !important;
      font-size: 11px;
      margin-left: 2px !important;
      font-weight: normal;
  	text-transform:uppercase;
  }
  
  .ct-floating-bar-actions :is(.added_to_cart,.single_add_to_cart_button,.product_type_variable.button) {
  min-width: 70px;
  --theme-button-padding: 0 2px;
  
  
  
  /* Menu mobile */
  
  .ct-panel .ct-panel-inner {
  --panel-padding: 0 25px;
  }
  
  /* Archive Pages */
  .woo-listing-top:not(:empty) {
  margin-bottom: -30px;
  }
  
  /* Single */
  
  .summary .cat-titre {
  font-size: 23px;
  line-height: 1.1;
  } 
  
  .variations_form.cart [data-swatches-type="button"] {
  --swatch-size: 40px;
  }
  
  form.variations_form table.variations, form.variations_form table.variations tr:not(:last-child) {
  margin-bottom: 10px;
  }
  
  /* Mobile Fix */
  
  div.woocommerce-product-gallery {
  margin-bottom: 0.3em;
  	}
  	.entry-summary .price {
  --theme-line-height: 1.8;
  	}
  .linked-color-swatches {
  margin: 0px 0 10px;
  	}
  
  /* Hide thumbs on Woo Gallery */
  
      ol.flex-control-nav.flex-control-thumbs {
          display: none !important;
      }
  
  
  /*FLECHES */ 
  
  /* Conteneur pour les flèches personnalisées */
  .woocommerce-product-gallery__custom-nav {
      position: absolute;
      top: 50%;
      left: 0;
      width: 100%;
      height: 0;
      z-index: 10;
      pointer-events: none;
  }
  
  /* Flèche gauche personnalisée */
  .woocommerce-product-gallery__custom-nav .custom-prev {
      position: absolute;
      left: 10px;
      pointer-events: auto;
      color:rgba(0, 0, 0, 0.5);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 40px;
      transform: translateY(-50%);
  }
  
  /* Flèche droite personnalisée */
  .woocommerce-product-gallery__custom-nav .custom-next {
      position: absolute;
      right: 10px;
      pointer-events: auto;
      color: rgba(0, 0, 0, 0.5);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 40px;
      transform: translateY(-50%);
  }
}

