/*
 Theme Name:   TsuKipers Child (FullCommerce)
 Theme URI:    https://tsukipers.com
 Description:  Thème enfant personnalisé pour TsuKipers, optimisé e-commerce avec WooCommerce
 Author:       Pamela Fracasso
 Author URI:   https://tsukipers.com
 Template:     hello-elementor
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  tsukipers-child-fullcommerce
*/

/* ==============================
   Reset / Base
============================== */
html, body {
  overflow-x: hidden;
  max-width: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Quicksand', sans-serif;
  font-size: 1.05rem !important;
}

p {
	font-size: 1.1rem;
}

@media (max-width: 768px) {
  body {
    font-size: 0.95rem;  /* un peu plus petit sur mobile */
  }
}

h1 {
  font-size: 2.3rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem; /* plus petit sur tablette et mobile */
  }
}

h2 {
  font-size: 2.2rem; /* desktop */
  line-height: 1.3;
}

@media (max-width: 1024px) {
  h2 {
    font-size: 2rem; /* tablette */
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 1.7rem; /* mobile */
  }
}

@media (max-width: 480px) {
	p {
		font-size: 1.25rem; /* mobile */
	}
	.footer-bottom p {
    font-size: 1.1rem;
}
}



/* ==============================
   Top-bar
============================== */

.top-menu li a::before {
    content: '';
    display: inline-block;
    width: 24px;  /* largeur de l'icône */
    height: 24px; /* hauteur de l'icône */
    margin-right: 8px;
    background-image: url('https://tsukipers.ch/wp-content/uploads/2025/10/compte.png');
    background-size: contain; /* adapte l'image à la taille du bloc */
    background-repeat: no-repeat;
    background-position: center;
}
.top-bar {
  width: 100%;
  padding: 8px 20px;
  background-color: #8cd5c0;
  color: #fff;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  z-index: 1000;
}

.top-bar ul,
.top-menu {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.top-bar ul li a,
.top-menu li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.125rem;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
}

.top-bar li a:hover {
  color: #fff;
}


/* ==============================
   Header
============================== */

.site-header {
    width: 100% !important;  /* prend toute la largeur */
    max-width: 100% !important; /* ignore la limite du thème */
    box-sizing: border-box;
	background-color: #fffaf8; /* même fond que le footer */
    padding: 35px 80px; /* aligné avec le footer */
}


.header-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 10px 20px;
  position: relative;
}

.logo-slogan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-slogan {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 15px 20px;
  border-radius: 8px;
  flex-grow: 1;
}

.logo img {
  max-height: 130px;
  width: auto;
  height: auto;
}

.slogan {
  font-size: 1.25rem;
  color: #333;
  white-space: nowrap;
}

/* Panier */
.cart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #8cd5c0;;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
 }

.cart-icon:hover {
  transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


.cart-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.cart-icon a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.wc-block-components-checkout-place-order-button__text {
    color: white;
}

/* ==============================
   Main Menu
============================== */
.main-nav {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  padding: 10px 0;
}

.main-menu {
  display: flex;
  gap: 45px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu li a {
  text-decoration: none;
  color: #333;
  transition: transform 0.2s, color 0.2s;
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.main-menu li a:hover {
  color: #8cd5c0;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ==============================
   Responsive
============================== */
@media (max-width: 768px) {

  /* Logo / slogan centré */
  .logo-slogan-row {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 15px;
  }

  .logo-slogan {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
  }

  .slogan {
    white-space: normal;
  }

  .logo img {
    height: 100px;
  }

  /* Burger visible */
  .burger {
    display: flex;
    position: absolute;
    top: 20px;
    right: 15px;
  }

  /* Cart position */
  .cart-icon {
    position: absolute;
    top: 15px;
    right: 60px;
  }

    /* Menu mobile caché par défaut */
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    background: #8cd5c0;
    padding: 20px;
    width: 100%;
    z-index: 10; /* suffit si pas de superposition complexe */
    position: relative; /* <-- changement ici */
  }

  /* Affichage menu quand burger actif */
  .main-nav.show {
    display: flex;
  }

  .main-menu {
    flex-direction: column;
    gap: 20px;
    width: 100%;
    text-align: center;
  }
  
  .main-menu li a:hover {
    color: #fff;
    transform: scale(1.1);
}

/************************************************************* FIN HEADER */


  /* Produit responsive */
  .tsukipers-product .price span {
    padding: 6px 10px;
    font-size: 0.95em;
  }

  .intro {
    font-size: 1.1em;
	text-align: center;
  }

  .tsukipers-product .product-features li {
    font-size: 0.95em;
  }
  
  .products.columns-3 {
    display: grid !important;
    grid-template-columns: 1fr !important; /* 1 colonne */
    gap: 20px; /* espace entre les produits */
  }

  /* Ajuste le style des items si nécessaire */
  .products.columns-3 .product {
    width: 100% !important;
    margin: 0 !important;
  }
}

/* Mobile paysage : largeur entre 481px et 768px */
@media (min-width: 481px) and (max-width: 768px) { 

p {
    font-size: 1.25rem;
}

  /* Styles pour paysage mobile */ 
  .step-item-costumes  {
    font-family: 'Baloo 2', cursive;
}

.animated-title {
    font-family: 'Baloo', cursive;
  
}

 /* Avantages veilleuse */
  .advantages-grid-veilleuse {
    grid-template-columns: 1fr 1fr; /* deux colonnes au lieu de 3 */
    padding: 20px;
    gap: 20px;
  }

  /* Caractéristiques */
  .characteristics-section {
    grid-template-columns: 1fr; /* empile verticalement */
    padding: 20px;
  }

  /* Step costumes */
  .steps-grid {
    flex-direction: row; /* ok si tu veux rester en ligne */
    flex-wrap: wrap;
    gap: 15px;
  }
  
 .characteristics-section {
    display: none;
     }

  .characteristics-item {
    padding: 10px;
  }
  
  .characteristics-section .section-title {
    margin-bottom: 50px !important;
}

.adv-item-veilleuse p {
    font-size: 1.25rem;

}

}


@media (max-width: 480px) {
	
	.woocommerce-product-details__short-description {
    padding: 10px;
}

.advantages-section {
    padding: 0;
}
.step-item-costumes  {
    font-family: 'Baloo 2', cursive;
}
  .tsukipers-product .price {
    flex-direction: column;
    gap: 8px;
  }

  .tsukipers-product .price span {
    width: 100%;
    text-align: center;
  }
  /* marge pour que la gallerie ne soit pas collé a la description courte */
.summary.entry-summary {
    margin-left: 10px !important;
}

}


.tsukipers-video-wrapper {
  text-align: center;
  margin-bottom: 30px;
}

.tsukipers-video-title {
  font-size: 1.6em;
  color: #ff80ab; /* ton rose tsukipers */
  margin-bottom: 15px;
  font-weight: 600;
}

/* vidéo */
.tsukipers-video {
  position: relative;
  width: 90%;
  max-width: 600px; /* desktop */
  padding-top: 56.25%; /* ratio 16:9 */
  margin: 20px auto;
}

.tsukipers-video video {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}



.costume-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.costume-block {
  width: 250px;
  text-align: center;
}

.costume-block img {
  width: 100%;
  max-width: 250px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Mobile : blocs en pleine largeur */
@media (max-width: 600px) {
  .costume-block {
    width: 100%;
  }
}


/* Gallery et produit  */

/* marge pour que la gallerie ne soit pas collé a la description courte */
.summary.entry-summary {
    margin-left: 35px;
}

div#wpgs-gallery {
    margin-bottom: 50px;
}


.quantity {
    margin-right: 20px !important;
}

.woocommerce-variation.single_variation {
    margin-bottom: 10px !important;
}

/* ********************************** produit avantages et caractéristiques des veilleuses */
/* Sections avantages */

.adv-item-veilleuse .adv-icon-veilleuse {
  transition: transform 0.3s ease;
  backface-visibility: hidden; /* empêche le flou */
}

.advantages-section {
  padding: 30px 20px;
  border-radius: 10px;
  margin-bottom: 40px;
}

.advantages-section h3 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.6em;
  color: #333;
}

/* Grille simple et uniforme */
.advantages-grid-veilleuse {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* Carte avantage/caractéristique */
.adv-item-veilleuse {
  background: #fff; /* ou couleur neutre de ta page */
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

/* Icône simple */
.adv-icon-veilleuse {
	width:90px; height:90px; margin:0 auto 15px; border-radius:50%; display:flex; align-items:center; justify-content:center; 
  font-size: 2.5em;
  margin-bottom: 10px;
  color: #ff80ab; /* couleur principale cohérente avec ton site */
}

.adv-item-veilleuse:hover .adv-icon-veilleuse {
  transform: scale(1.2) translateZ(0);
}

/* CTA bouton discret */
.cta {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 15px;
  background-color: #8cd5c0;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}

.cta:hover {
  background-color: #fff;
    color: #8cd5c0;

}

/* Section caractéristiques */
.characteristics-section {
  display: grid;
  grid-template-columns: 400px 1fr; /* colonne gauche fixe pour le titre, colonne droite flexible pour le contenu */
  gap: 20px;
  padding: 30px 20px;
  border-radius: 10px;
  margin-bottom: 40px;
}

.characteristics-section .section-title {
     font-size: 2.2em;
    text-align: center;
    display: flex;
    align-items: center; /* centre verticalement */
    justify-content: center; /* centre horizontalement dans sa colonne si besoin */
    margin: 0; /* gère le margin via la section si nécessaire */
    color: #8cd5c0;
    font-family: 'Baloo 2', cursive;
}

.characteristics-section .characteristics-list {
  display: flex;
  flex-direction: column;
  gap: 25px; /* espace entre chaque caractéristique */
}

.characteristics-section .char-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.characteristics-section .char-item .char-icon {
  width: 90px;
  height: 90px;
  min-width: 90px; /* garde la taille fixe */
  min-height: 90px;
   display: flex;
  align-items: center;
  justify-content: center;
  font-size: 45px; /* plus grand emoji */
  flex-shrink: 0; /* évite que l’icône rétrécisse */
}

.characteristics-section .char-item .char-desc {
  margin: 0;
  color: #333;
  font-size: 1.2em;
  
  flex: 1; /* prend le reste de l’espace */
  line-height: 1.5;
}

@media (max-width: 600px) {
	
	.advantages-grid-veilleuse {

	grid-template-columns: 1fr; /* une seule colonne sur mobile */
    gap: 15px;
    width: 100%; /* prend toute la largeur */
    padding: 0 10px; /* petit padding pour éviter que ça touche les bords */
  }

  .adv-item-veilleuse {
    padding: 20px;
  }

  .adv-icon-veilleuse {
    width: 80px;
    height: 80px;
    font-size: 2em;
    margin-bottom: 12px;
  }

  .cta {
    padding: 5px 12px;
    font-size: 1.2em;
  }

  .characteristics-section {
    grid-template-columns: 1fr; /* titre au-dessus, tout empilé verticalement */
  }

  .characteristics-section .section-title {
    text-align: center;
    justify-content: center;
    margin-bottom: 20px;
  }

  .characteristics-section .char-item {
    flex-direction: column; /* icône au-dessus du texte */
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .characteristics-section .char-item .char-icon {
    font-size: 4rem;
  }

  .characteristics-section .char-item .char-desc {
    font-size: 1.2em;
  }
}

/* ==============================
   Grille avantages
============================== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: auto;
  text-align: center;
  box-sizing: border-box;
  font-size: 1.1rem;
}

/* ==============================
   WooCommerce
============================== */

.term-description-block a {
    color: #8cd5c0;
}
.woocommerce ul.products li.product a {
  border-radius: 12px;
  overflow: hidden;
  display: block;
}

.woocommerce ul.products li.product a img {
  border-radius: 0; /* sinon double arrondi inutile */
  transition: transform 0.3s ease; /* bonus : effet zoom si tu veux */
}

.woocommerce ul.products li.product a:hover img {
  transform: scale(1.05); /* petit zoom au survol */
}

.products a {
    color: #8cd5c0;
	font-weight: bold;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product .price {
    color: #333 !important;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.woocommerce-products-header > h1.woocommerce-products-header__title.page-title {
  display: none;
}

ul.tabs.wc-tabs {
    display: none;
}

div#tab-description h2 {
    display: none;
}

.product-categories-shortcode {
  margin-top: 30px;
}

.woocommerce-products-header__title.page-title, .page-title-wrapper .page-title {
  background-color: #8cd5c0;
  color: #fff;
  padding: 35px 50px 6.375rem 50px;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  box-sizing: border-box;
  text-align: left;
  font-size: 2.5rem;
  z-index: 1;
}

.term-description-block, .page-title-wrapper .term-description-block {
  background-color: #fffaf8;
  max-width: 600px;
  margin: -4rem 0 2rem 50px;
  padding: 20px 30px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: left;
  font-size: 1.125rem;
  line-height: 1.5;
  position: relative;
  z-index: 2;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: #8cd5c0 !important;
  font-size: 1.25em;
  font-weight: bold;
}

.woocommerce ul.products li.product .variations_form {
  display: none !important;
}

.woocommerce div.product form.cart .variations label {
    font-size: 1.1rem;
  font-family: 'Quicksand', sans-serif;
}

.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th {
    background-color: #f0f9ff;
}

.woocommerce div.product form.cart .variations {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.woocommerce div.product form.cart .variations select {
  display: none;
}

.variations_form .variation-options {
  margin-bottom: 15px;
}

.variations_form .variation-options .variation-title {
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 1.05em;
  color: #333;
}

.cfvsw-swatches-container.cfvsw-product-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.cfvsw-swatches-option.cfvsw-label-option {
  background: #fff;
  border: 1px solid #a0c4ff;
  border-radius: 5px;
  padding: 8px 14px;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  user-select: none;
}

.cfvsw-swatches-option.cfvsw-label-option.selected {
  background: #ffd6e0;
  border-color: #ff85a0;
  color: #d95387;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

.cfvsw-swatches-option.cfvsw-label-option .cfvsw-swatch-inner {
  font-size: 1.1rem;
}

/* === Bloc produit === */
/* Grille avantages */
.advantages-grid-veilleuse {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px; /* limite la largeur totale pour éviter que 4 colonnes passent */
  margin: 0 auto;    /* centre la grille */
  background-color: #f0f9ff;
  border-radius: 15px;
  gap: 50px;
    padding: 40px 90px;
}

/* Chaque item */
.adv-item-veilleuse {
  text-align: center;
  padding-top: 20px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 40px;
  border-radius: 15px;
  background: #fff;
  transition: transform 0.3s;
}

/* Hover pop */
.adv-item-veilleuse:hover {
  transform: scale(1.05);
}

/* Icônes rondes */
.adv-icon-veilleuse {
  width: 70px;
  height: 70px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  transition: transform 0.3s;
}



/* Titres et paragraphes */
.adv-item-veilleuse h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #8cd5c0 !important;
  font-family: 'Pacifico', cursive !important;
}
.adv-item-veilleuse p {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.4;
}

a.woocommerce-MyAccount-navigation-link_a {
    text-decoration: none !important;
}

/* Responsive : mobile */
@media (max-width: 768px) {
	
	.woocommerce div.product form.cart .variations label {
    font-size: 1.35rem;
	line-height: 30px;
	}
	
  .advantages-grid-veilleuse {
    grid-template-columns: 1fr;
    gap: 20px;
	padding: 20px;
  }
}
  .adv-item-veilleuse h3 {
    font-size: 1.3rem;
  }


    .tsukipers-product {
        padding: 20px;
    }
    .tsukipers-product h2 {
        font-size: 1.6em;
    }
    .tsukipers-product .product-features {
        grid-template-columns: 1fr; /* une seule colonne sur mobile */
        gap: 12px 0;
    }
	
	

.seo-text {
  font-size: 1rem;           /* texte lisible sur desktop */
  line-height: 1.6;          /* espacement confortable */
  color: #333;               /* texte sombre doux */
  max-width: 800px;          /* largeur agréable pour la lecture */
  margin: 30px auto;         /* centrer et espacer du reste de la page */
  padding: 15px;             /* léger padding pour respirer */
}

.seo-text p {
  margin-bottom: 1.2em;     /* espace entre les paragraphes */
}

.seo-text a {
  color: #8cd5c0;            /* couleur douce mais visible */
  transition: color 0.3s;
}

mark.count {
	display: none;
}

h2.woocommerce-loop-category__title, h2.woocommerce-loop-product__title {
	text-align: center;
	    font-size: 1.2rem !important;

}


.tsukipers-simple-video {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  height: 50vh;       /* hauteur de la bannière */
  max-height: 420px;  /* limite sur grands écrans */
}

.tsukipers-simple-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* remplit toute la zone de la bannière */
  display: block;
  border-radius: 0;
}

/* Version mobile */
@media (max-width: 768px) {
  .tsukipers-simple-video {
    height: 35vh;
    max-height: 260px;
  }
}



.costume-explanation h3 {
  font-size: 1.4rem;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #444;
}

.costume-explanation p {
  margin-bottom: 1em;
}

@media (max-width: 768px) {
  .seo-text {
    font-size: 0.95rem;      /* légèrement plus petit sur mobile */
    padding: 10px;
  }

  .costume-explanation h3 {
    font-size: 1.2rem;
  }
  
  h2.woocommerce-loop-product__title {
	  font-size: 1.5rem !important;
  }
}

/* Table attributs / options */
.tsukipers-product .product-attributes {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px;
}

.tsukipers-product .product-attributes th,
.tsukipers-product .product-attributes td {
  border: 1px solid #e0e0e0;
  padding: 12px 10px;
  text-align: left;
}

.tsukipers-product .product-attributes th {
  background-color: #ffd6e0;
  color: #d95387;
  font-family: 'Pacifico', cursive;
  font-size: 1.1em;
}

.tsukipers-product h3 {
  color: #333;
  font-size: 1.5em;
  margin-top: 25px;
  margin-bottom: 30px;
  padding-bottom: 5px;
font-family: 'Baloo 2', cursive;

 }

/* Page Costume */
/* Titre animé */
.animated-title {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
  padding-top: 20px;
    font-size: 1.65rem;
    padding-bottom: 44px;
	  font-family: 'Pacifico', cursive;
	  margin-bottom: 20px;  /* espace sous le H3 ou p */
  line-height: 2;     /* espace entre les lignes du paragraphe */

}


/* Avantages : fade + slide + zoom */
.adv-item {
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: all 0.6s ease;
}

/* Effet pop au hover */
.adv-item:hover {
  transform: translateY(0) scale(1.05);
}

/* Mobile : texte et grille responsive */
@media (max-width: 480px) {
  .adv-item h3 {
    font-size: 1.5rem !important;
    line-height: 1.3;
  }
  .adv-item p {
    font-size: 1.25rem !important;
    line-height: 1.5;
  }
  .adv-item {
    width: 100%;
    max-width: 400px;
  }
  .advantages-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }
}

/* Catégorie Costumes */ 
.steps-grid {
  display: flex;              /* Utilisation de flexbox pour aligner sur une ligne */
  justify-content: center;    /* Centrer les items */
  gap: 30px;                  /* Espacement entre les items */
  margin: 30px 0;
  flex-wrap: wrap;            /* Permet de passer sur plusieurs lignes si écran trop petit */
}

.step-item {
  background: #fff5f8;
  padding: 25px 20px;
  border-radius: 20px;
  text-align: center;
  max-width: 250px;
  flex: 1 1 250px;            /* Croissance flexible et largeur de base 250px */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}

/* Nouveau cercle pour le chiffre */
.step-item .step-number {
  background: #8cd5c0;        /* couleur du cercle */
  color: #fff;                 /* chiffre en blanc */
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
}

.step-item h3 {
  margin: 10px 0 8px;
  font-size: 1.3rem;
  color: #444;
}

.step-item p {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
}

/* Mobile : mettre en colonne */
@media (max-width: 480px) {
  .steps-grid {
    flex-direction: column;
    gap: 25px;
    align-items: center;
  }
  .step-item {
    max-width: 100%;
  }
}

/* Produit costume*/ 
/* Section globale */

.steps-column-costume {
  display: flex;
  flex-direction: column;
  gap: 20px; /* espace entre chaque étape */
}

.step-item-costume {
  display: flex;
  align-items: center;
  gap: 15px; /* espace entre le cercle et le texte */
}

.step-number-costume {
  background: #8cd5c0;   /* cercle pastel vert */
  color: #fff;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
}

.step-item p {
  margin: 0;
  font-size: 1.1rem;
  color: #444;
}

.costume-video  {
  display: block;
  margin: 0 auto;
  width: 300px !important;
  height: auto !important;
  height: auto;
  border-radius: 12px; /* optionnel, pour arrondir les coins */
  margin-bottom: 50px;
}

.conclusion_costumes h2 {
	display: block !important;
}


.tsukipers-product-description {
  font-family: 'Baloo 2', cursive;
  border-radius: 15px;
  overflow: hidden;
}

/* Bloc Introduction */
.tsukipers-product-description .intro {
  background-color: #fdf6f8; /* fond clair */
  padding: 50px 20px;
  margin-bottom: 40px;
  border-radius: 15px;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #444;
}

/* Sous-titres H3 */
.tsukipers-product-description h3.animated-title {
  font-size: 1.6rem;
  text-align: center;
  margin: 40px 0 20px;
  color: #8cd5c0;
}



/* Bloc Avantages */
.advantages-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  background-color: #f0f9ff; /* fond légèrement bleu */
  padding: 40px 20px;
  border-radius: 15px;
  margin-bottom: 40px;
}

/* Bloc Avantages */
.advantages-grid.products {
    gap: 15px !important;
}

.adv-item {
  flex: 1 1 200px;
  text-align: center;
  background-color: #fff;
  padding: 25px 20px;
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.adv-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}

.adv-item > div {
  font-size: 3rem; /* icône plus grande */
  margin-bottom: 15px;
}

.adv-item h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
 font-family: 'Pacifico';
    color: #8cd5c0;
}

.adv-item p {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
}

.show-more {
    text-align: center;
    font-size: 1.20rem;
}

/* Animations titres et avantages */
.animated-title {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.animated-title.show {
  opacity: 1;
  transform: translateY(0);
}

.adv-item {
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: all 0.6s ease;
}

.adv-item.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.adv-item:hover {
  transform: translateY(0) scale(1.05);
}

			/* how to use costume */
			
.costume-steps-wrapper {
  display: flex;
  align-items: center; /* centre verticalement le titre par rapport aux steps */
  gap: 40px; /* espace entre les colonnes */
  flex-wrap: wrap; /* pour que ça reste responsive sur petit écran */
}

.costume-steps-use-title {
  flex: 0 0 25%; /* ne peut pas grandir ni rétrécir */
  max-width: 30%; /* s’assure qu’elle ne dépasse pas */
  text-align: left;
}


.steps-column-costumes {
  flex: 1; /* prend le reste de l’espace disponible */
}

.step-item-costumes {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.step-number-costumes {
  font-weight: bold;
    margin-right: 25px;
    background: #8cd5c0;
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
	font-size: 1.3rem;
    justify-content: center;
    border-radius: 50%;
}

.step-item-costumes p {
    font-size: 1.25rem;
}

.costume-video-banner {
  position: relative;
  overflow: hidden;
  max-height: 500px; /* hauteur max */
  margin-bottom: 85px;
    margin-top: 85px;
}

.costume-video-banner video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* adapte la vidéo à la zone */
  display: block;
}

/* Desktop : affiche seulement la vidéo desktop */
.tsukipers-video-desktop {
  display: block;
}
.tsukipers-video-mobile {
  display: none;
}


/* --- Version mobile --- */
@media (max-width: 768px) {
  .costume-steps-wrapper {
    flex-direction: column; /* colonnes empilées */
    gap: 20px;
  }

  .costume-steps-use-title,
  .steps-column-costumes {
    flex: 1 1 100%; /* prennent toute la largeur */
    max-width: 100%;
    width: 100%;
    text-align: left;
  }
  
  .step-number-costumes {
            width: 80px;
            height: 60px;
            font-size: 1.8rem;
            font-weight: bold;
            margin-right: 21px;
}

.tsukipers-video-mobile {
  display: block;
  width: 100%;
  height: auto;          /* conteneur s’adapte à la vidéo */
}

.tsukipers-video-mobile video {
  width: 100%;
  height: 450px;          /* garde les proportions */
  object-fit: contain;   /* tout le contenu visible */
  display: block;
}

  
  /* Titre au-dessus de la vidéo */

.tsukipers-video-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.tsukipers-video-title .boom {
  display: inline-block;
  color: #ff90b3;
  transform: scale(0.95);
  opacity: 0;
  animation: boom-effect 0.6s ease forwards; /* forwards = reste à la fin */
  animation-delay: 0.3s; /* petit délai pour un effet plus naturel */
}

@keyframes boom-effect {
  0% { transform: scale(0.95); opacity: 0; }
  50% { transform: scale(1.2) rotate(3deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}



  .tsukipers-video-desktop {
    display: none;
  }
  .tsukipers-video-mobile {
    display: block;
	        margin-bottom: 60px;
  }
  
  .tsukipers-signature {
    display: block !important;
    width: 100% !important;        /* prend toute la largeur */
    max-width: 100% !important;
    white-space: normal !important; /* autorise le retour à la ligne */
    overflow: visible !important;   /* rien n’est coupé */
    animation: none !important;     /* supprime typing et blink */
    border-right: none !important;  /* supprime le curseur */
    text-align: center;             /* centre le texte */
  }

  .tsukipers-signature::after {
    content: none !important;       /* supprime le pseudo-curseur */
  }

}


/* Section conclusion des costumes */
.conclusion_costumes {
    background-color: #fff7f9; /* léger fond pastel */
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    font-family: 'Baloo 2', cursive;
    line-height: 1.7;
    color: #444;
	font-size: 1.1rem;
}

/* Titre H2 */
.conclusion_costumes h2 {
    text-align: center;
    font-size: 28px;
    color: #8cd5c0;
    margin-bottom: 25px;
	    font-family: 'Pacifico', cursive;
}

/* Paragraphes */
.conclusion_costumes p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

/* Mobile : responsive */
@media (max-width: 480px) {
	
	  h2.woocommerce-loop-product__title {
	  font-size: 1.2rem !important;
  }

    .conclusion_costumes {
        padding: 30px 20px;
    }

    .conclusion_costumes h2 {
        font-size: 1.8rem;
    }

    .conclusion_costumes p {
        font-size: 1.2rem;
    }
	
	.step-number-costume {
    width: 80px;
    height: 60px;
    font-size: 1.8rem;
    font-weight: bold;
    margin-right: 21px;
}
	
  .tsukipers-signature {
    display: block !important;
    width: 100% !important;        /* prend toute la largeur */
    max-width: 100% !important;
    white-space: normal !important; /* autorise le retour à la ligne */
    overflow: visible !important;   /* rien n’est coupé */
    animation: none !important;     /* supprime typing et blink */
    border-right: none !important;  /* supprime le curseur */
    text-align: center;             /* centre le texte */
  }

  .tsukipers-signature::after {
    content: none !important;       /* supprime le pseudo-curseur */
  }

}

.tsukipers-signature {
  font-family: 'Baloo 2', cursive;
  font-size: 1.20rem;
  color: #8cd5c0;
  white-space: nowrap;          /* empêche le texte de passer à la ligne */
  overflow: hidden;             /* cache le texte qui n’est pas encore “tapé” */
  border-right: 2px solid #8cd5c0; /* curseur initial */
  width: 0;
  animation: typing 4s steps(60, end) forwards, blink 0.75s step-end infinite;
  margin: 20px auto;
  text-align: center;
}

/* Animation de frappe */
@keyframes typing {
  from { width: 0 }
  to { width: 100%; border-right: 0; } /* supprime le curseur à la fin */
}

/* Curseur clignotant */
@keyframes blink {
  0%, 100% { border-color: transparent }
  50% { border-color: #8cd5c0 }
}



/* Prix et liens internes */
.tsukipers-product-description .price,
.tsukipers-product-description p a {
  margin-top: 20px;
  font-size: 1.25rem;
}

/* Image produit */
.tsukipers-product-description img {
  display: block;
  margin: 30px auto;
  max-width: 400px;
  width: 100%;
  border-radius: 15px;
}

/* Mobile : colonnes et responsive */
@media (max-width: 480px) {
  .advantages-grid, .steps-grid {
    flex-direction: column;
    gap: 25px;
    align-items: center;
  }

  .step-item, .adv-item {
    max-width: 100%;
  }
}




/* Panier */

.wc-block-components-product-metadata,
.wc-block-components-product-metadata .wc-block-components-product-metadata__description > p,
.wc-block-components-product-metadata .wc-block-components-product-metadata__variation-data {
  white-space: normal !important;   /* autorise les retours à la ligne */
  overflow: visible !important;     /* empêche la coupure du texte */
  text-overflow: unset !important;  /* supprime les "..." */
  display: block !important;
  height: auto !important;
  max-height: none !important;
  line-height: 1.4;
  font-size:1rem !important;
}

:root :where(.wp-element-button, .wp-block-button__link) {
    background-color: #8cd5c0 !important;
    text-decoration: none !important;
}


.tsukipers-cart-order-note {
    margin-bottom: 30px;
}

.tsukipers-cart-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.tsukipers-cart-left {
    flex: 1;
    min-width: 300px;
}

.tsukipers-cart-right {
    min-width: 280px;
}

.tsukipers-cart-order-note textarea {
  max-width: 600px; /* largeur maximale */
    width: 100%;      /* prend toute la largeur disponible jusqu'à 600px */
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
}



/* ----------------------------- */
/* WooCommerce Cart Blocks - Mobile fix */
/* ----------------------------- */
@media (max-width: 699px) {

.alignwide {
    margin-inline: 0 !important;
}
    .wc-block-cart .wc-block-components-sidebar .wc-block-cart__totals-title {
        display: block !important;
    }
	
	span.wc-block-formatted-money-amount.wc-block-components-formatted-money-amount.wc-block-components-product-price__value {
    display: none;
}
}

/* Champs Description du Gardien */
/* Conteneur du champ */
.custom-gardien-label {
    font-weight: 600 !IMPORTANT;
    color: #333;
    margin-left: 10px !important;
	font-size: 1.1rem;
    margin-bottom: 10px !important;
}

label.radio-wrapper {
    font-size: 1.1rem !important;
    margin-top: 10px !important;
}

/* Zone de texte */
.custom-gardien-wrapper textarea {
  width: 100%;
  min-height: 120px; /* hauteur plus grande */
  font-size: 1rem;
  padding: 10px;
  border-radius: 10px;
  margin-top: 10px;
  border: 1px solid #ccc;
  resize: vertical;
  margin-left: 6px;
}

.custom-gardien-wrapper td.label.abovefield {
    border-radius: 10px;
    background: #fffaf8;
}


/********************************* FOOTER */

/* Footer général */

.site-footer, 
.site-footer .footer-inner {
    width: 100% !important;
    max-width: 100% !important;
	padding: 35px;
}


.site-footer {
    background: #fffaf8;
    color: #333;
    width: 100vw;           /* largeur complète de la fenêtre */
    position: relative;      /* pour que le padding fonctionne correctement */
    left: 0;                 /* alignement à gauche */
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9rem;
    padding: 60px 80px 20px 80px;
    margin-top: 52px;
}

/* Flex container pour les colonnes */
.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
}

/* Colonnes individuelles */
.footer-col {
    flex: 1;
    max-width: 300px;
}

/* Titres des colonnes */
.follow-me-p {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

/* Liens sociaux */
.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 65px;
    height: 65px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.social-icon img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.social-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border: 2px solid #8cd5c0;
}

/* Email */
.contact-col a {
    color: #8cd5c0;
    text-decoration: none;
    font-size: 1.25rem;
}

/* Liens légaux */

.politics {
    display: flex;
    flex-wrap: wrap; /* permet aux liens de passer à la ligne si nécessaire */
    justify-content: center; /* centre horizontalement */
    gap: 15px; /* espace entre les liens */
	font-size:1.1em;
}



.politics-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
	justify-content: center;
    margin-top: 20px;
}


.politics-col a {
    color: #8cd5c0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.politics-col a:hover {
    color: #72c3ad;
}

.politics-col {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
	
}

.politics-col a {
    color: #8cd5c0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.politics-col a:hover {
    color: #72c3ad;
}




/* Bande copyright */
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #8cd5c0;
    color: #fff;
    padding: 10px;
    width: 100%;
    font-size: 1rem;
}

/* Responsive */
@media(max-width: 768px){
    .site-footer {
        padding: 60px 20px 20px 20px;
    }
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
		  gap: 40px;
    }
    .footer-col {
        max-width: 100%;
    }
    .social-links {
        justify-content: center;
    }
    .politics-col {
        flex-direction: column;
        gap: 8px;
    }
}
