/*
Theme Name: Theme enfant Site-E-Work
Description: Theme enfant Site-E-Work.fr
Author: Francois - WPserveur
Author URI: https://www.site-e-work.fr
Template: hello-elementor
Version: 0.1.0
*/


ul li::marker {
  color: #63A0E01F;
}

/* =============================================
   FICHE PRODUIT — Site-E-Work
   ============================================= */

.product_title.entry-title {
	color: #EEE9E0;
}

p {
	color: #8A9099;
}
.product_meta a {
  color: #63AAE0;
}
.product_meta a:hover{
  color: #8A9099;
}
.woocommerce-Price-amount.amount{
	color: #EEE9E0;
}

/* =============================================
   Bouton WooCommerce — Style maquette Site-E-Work
   ============================================= */

.single_add_to_cart_button.button.alt {
  /* Reset WooCommerce */
  appearance: none !important;
  -webkit-appearance: none !important;
  outline: none !important;
  box-shadow: none !important;

  /* Style maquette */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;

  background: #63AAE0 !important;
  color: #0A0C0E !important;
  border: 1.5px solid #63AAE0 !important;
  border-radius: 999px !important;

  font-family: 'Inter', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;

  padding: 0.85rem 2rem !important;
  cursor: pointer !important;

  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease !important;
}

.single_add_to_cart_button.button.alt:hover {
  opacity: 1 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 30px #63B4E040 !important;
  background: #63AAE0 !important;
  color: #0A0C0E !important;
}

.single_add_to_cart_button.button.alt:active {
  transform: translateY(0) !important;
  box-shadow: none !important;
}




/* Lien */
.sew-step__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sew-accent) !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s;
}

.sew-step__link:hover {
  gap: 0.8rem;
}


/* =============================================
   Carte produit WooCommerce — Style maquette
   ============================================= */

/* ---- Carte principale ---- */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: #1E2326 !important;
  border: 1px solid #63B4E040 !important;
  border-radius: 20px !important;
  padding: 0 !important;
  overflow: hidden !important;
  transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease !important;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  border-color: #63B4E040 !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3) !important;
}

/* ---- Lien englobant ---- */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
  padding: 0 !important;
}

/* ---- Image ---- */
.woocommerce ul.products li.product img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  margin: 0 !important;
  display: block !important;
  transition: transform 0.5s ease !important;
}

.woocommerce ul.products li.product:hover img {
  transform: scale(1.04) !important;
}

/* ---- Zone texte sous l'image ---- */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .button {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

/* ---- Titre ---- */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Syne', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #EEE9E0 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.25 !important;
  margin: 1.25rem 0 0.5rem !important;
  padding-top: 0 !important;
}

/* ---- Prix ---- */
.woocommerce ul.products li.product .price {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: #63AAE0 !important;
  margin-bottom: 1.25rem !important;
  display: block !important;
}

.woocommerce ul.products li.product .price .woocommerce-Price-amount {
  color: #63AAE0 !important;
}

/* Prix à 0€ — afficher "Gratuit" */
.woocommerce ul.products li.product .price bdi::before {
  content: '';
}

/* ---- Bouton "Ajouter au panier" sur la carte ---- */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button {
  display: block !important;
  width: calc(100% - 3rem) !important;
  margin: 0 1.5rem 1.5rem !important;
  text-align: center !important;

  background: #63AAE0 !important;
  color: #0A0C0E !important;
  border: 1.5px solid #63B4E040 !important;
  border-radius: 999px !important;

  font-family: 'Inter', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0.01em !important;

  padding: 0.6rem 1rem !important;
  transition: opacity 0.25s ease, box-shadow 0.3s ease !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover {
  background: #63AAE0 !important;
  color: #0A0C0E !important;
  opacity: 0.88 !important;
  box-shadow: 0 6px 20px #63B4E040 !important;
  transform: none !important;
}

/* ---- Badge "Gratuit" si prix = 0 ---- */
.woocommerce ul.products li.product .price bdi {
  position: relative;
}

/* ---- Grille de produits ---- */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.5rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* Forcer WooCommerce à ne pas écraser la grille */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  clear: none !important;
}

/* Responsive */
@media (max-width: 1100px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
  }
}

.sew-free-badge {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #63AAE0;
  background: #63A0E01F;
  border: 1px solid #63B4E040;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
}


/* =============================================
   PANIER WOOCOMMERCE — Style maquette Site-E-Work
   ============================================= */

/* ---- Layout général ---- */
.wc-block-components-sidebar-layout.wc-block-cart {
  background: transparent !important;
  gap: 3rem !important;
  align-items: start !important;
}

/* ---- Titre de page ---- */
.page-header .entry-title {
  font-family: 'Syne', sans-serif !important;
  font-size: clamp(2rem, 4vw, 3.5rem) !important;
  font-weight: 800 !important;
  color: #EEE9E0 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 3rem !important;
}

/* ---- Table produits ---- */
.wc-block-cart-items {
  background: transparent !important;
  border: none !important;
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 1rem !important;
}

/* En-têtes tableau */
.wc-block-cart-items__header {
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
}

.wc-block-cart-items__header th {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.14em !important;
  color: #505860 !important;
  padding: 0 1rem 1.25rem !important;
  background: transparent !important;
  border: none !important;
}

/* ---- Ligne produit ---- */
.wc-block-cart-items__row {
  background: #1E2326 !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  border-radius: 14px !important;
  transition: border-color 0.3s ease !important;
}

.wc-block-cart-items__row:hover {
  border-color: rgba(255,255,255,0.12) !important;
}

.wc-block-cart-items__row td {
  padding: 1.25rem 1rem !important;
  border: none !important;
  vertical-align: middle !important;
}

/* Arrondi première et dernière cellule */
.wc-block-cart-items__row td:first-child {
  border-radius: 14px 0 0 14px !important;
}
.wc-block-cart-items__row td:last-child {
  border-radius: 0 14px 14px 0 !important;
}

/* ---- Image produit ---- */
.wc-block-cart-item__image img {
  width: 64px !important;
  height: 64px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
}

/* ---- Nom produit ---- */
.wc-block-components-product-name {
  font-family: 'Syne', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #EEE9E0 !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}

.wc-block-components-product-name:hover {
  color: #63AAE0 !important;
}

/* ---- Description ---- */
.wc-block-components-product-metadata__description p {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.78rem !important;
  color: #505860 !important;
  margin: 0.35rem 0 0 !important;
  line-height: 1.5 !important;
}

/* ---- Prix ---- */
.wc-block-cart-item__prices .price,
.wc-block-cart-item__total .price {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: #63AAE0 !important;
}

.wc-block-formatted-money-amount {
  color: #63AAE0 !important;
}

/* ---- Bouton supprimer ---- */
.wc-block-cart-item__remove-link {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  border-radius: 999px !important;
  padding: 0.3rem !important;
  color: #505860 !important;
  transition: border-color 0.2s, color 0.2s !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.wc-block-cart-item__remove-link:hover {
  border-color: rgba(255,80,80,0.4) !important;
  color: #ff6b6b !important;
}

.wc-block-cart-item__remove-link svg {
  fill: currentColor !important;
  width: 16px !important;
  height: 16px !important;
}

/* ---- Sidebar totaux ---- */
.wc-block-cart__sidebar {
  background: #1E2326 !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  border-radius: 20px !important;
  padding: 2rem !important;
  position: sticky !important;
  top: calc(72px + 2rem) !important;
}

/* Titre Total panier */
.wc-block-cart__totals-title {
  font-family: 'Syne', sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #EEE9E0 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 1.5rem !important;
  padding-bottom: 1.25rem !important;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
}

/* Code promo */
.wc-block-components-totals-coupon {
  border: 1px solid rgba(255,255,255,0.07) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  margin-bottom: 1rem !important;
}

.wc-block-components-panel__button {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #8A9099 !important;
  padding: 0.85rem 1rem !important;
  background: transparent !important;
  transition: color 0.2s !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.wc-block-components-panel__button:hover {
  color: #EEE9E0 !important;
}

.wc-block-components-panel__button-icon path {
  fill: currentColor !important;
}

/* ---- Total estimé ---- */
.wc-block-components-totals-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 1rem 0 !important;
  border-top: 1px solid rgba(255,255,255,0.07) !important;
  margin-top: 0.5rem !important;
}

.wc-block-components-totals-item__label {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #8A9099 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-family: 'Syne', sans-serif !important;
  font-size: 0.95rem !important;
  color: #EEE9E0 !important;
}

.wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item-tax-value {
  font-family: 'Syne', sans-serif !important;
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  color: #63AAE0 !important;
  letter-spacing: -0.02em !important;
}

/* ---- Bouton Valider la commande ---- */
.wc-block-cart__submit-button,
.wc-block-components-button.wc-block-cart__submit-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin-top: 1.5rem !important;

  background: #63AAE0 !important;
  color: #0A0C0E !important;
  border: 1.5px solid #63A0E01F !important;
  border-radius: 999px !important;

  font-family: 'Inter', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0.01em !important;

  padding: 0.9rem 2rem !important;
  text-decoration: none !important;
  transition: opacity 0.25s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1) !important;
}

.wc-block-cart__submit-button:hover {
  opacity: 0.88 !important;
  box-shadow: 0 8px 30px #63B4E040 !important;
  transform: translateY(-2px) !important;
  color: #0A0C0E !important;
}

.wc-block-components-button__text {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  color: #0A0C0E !important;
}

/* ---- Notices / alertes ---- */
.wc-block-components-notices .wc-block-components-notice-banner {
  background: rgba(168,224,99,0.08) !important;
  border: 1px solid rgba(168,224,99,0.2) !important;
  border-radius: 10px !important;
  color: #63AAE0 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.85rem !important;
}

/* ---- Panier vide ---- */
.wc-block-cart--is-empty .wc-block-cart__empty-cart__title {
  font-family: 'Syne', sans-serif !important;
  color: #EEE9E0 !important;
  font-size: 1.5rem !important;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .wc-block-components-sidebar-layout.wc-block-cart {
    flex-direction: column !important;
  }

  .wc-block-cart__sidebar {
    position: static !important;
    width: 100% !important;
  }

  .wc-block-cart-items {
    border-spacing: 0 0.75rem !important;
  }
}

/* ---- Layout cart : liste à gauche, total à droite ---- */
.wc-block-components-sidebar-layout.wc-block-cart {
  display: grid !important;
  grid-template-columns: 1fr 380px !important;
  gap: 3rem !important;
  align-items: start !important;
}

.wc-block-cart__main {
  min-width: 0 !important;
}

.wc-block-cart__sidebar {
  width: auto !important;
  min-width: 0 !important;
}

/* Responsive */
@media (max-width: 900px) {
  .wc-block-components-sidebar-layout.wc-block-cart {
    grid-template-columns: 1fr !important;
  }
}

/* Masquer commentaire */
.comment-respond {
    display: none !important;
}

.wpforms-required-label {
	color: #63AAE0 !important;
}
