/* --- WooCommerce x Bootstrap 5 : CSS minimal --- */

/* Optionnel : fine-tuning */
.ShopHeader { margin-bottom: 1.5rem; }
.ShopTitle { line-height: 1.2; }

/* Si tu utilises un titre injecté en single via hook */
.ProductTitle { margin: 0 0 1rem; }

/* Woo imprime .price : tu peux harmoniser la typo */
.price { font-weight: 600; }

/* Facultatif : arrondis/cohérence sur les images de cards */
.card-img-top { object-fit: cover; }



.boutique-banner {
  background-image: url('/wp-content/themes/vascoz/img/cultivons-nos-liens.jpg'); 
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  height: 389px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.boutique-banner .banner-content {
  color: #ecd8b5;
  font-family: "Prickly Pear", sans-serif;
  text-align: center;
  font-size: 2rem;
}


#coming-soon-footer-banner{display: none;}

.btn-primary{font-size: 1em;}


.cardShop{
    border:7px solid rgba(171,167,136,.7); 
     --bs-card-border-radius: 0;
  --bs-card-inner-border-radius: 0;
  border-radius: 0 !important;
}

.cardShopBody{background-color: #e8d8b9;}


/* .cardShopTitle{color: #8a8b5b;} */

/* .cardShopTitle{font-family: 'Prickly Pear', sans-serif; font-size:1.3em;} */

.cardShopBody {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cardShopPrice{color: #8a8b5b;}

.punchShop{font-family: 'Prickly Pear', sans-serif; font-size: 1.5rem;}






.single_add_to_cart_button{
  position: relative;
  display: block;
  background-color: rgba(171,167,136,.7); 
  border: none;
  padding: 0.5rem 2rem;
  text-align: center;
  z-index: 1;
  overflow: hidden;
  color: #000;
  transition: background-color 0.4s ease;
  margin: 1.5em 0;
}

.single_add_to_cart_button::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px; 
  height: 100%;
  background-color: #696f3c; 
  z-index: -1;
}

.single_add_to_cart_button::after {
  content: "\F171"; 
  font-family: "bootstrap-icons";
  display: inline-block;
  font-size: 1.1rem;
  margin-left: .5rem;
  vertical-align: middle;
  transition: transform .3s ease;
}

.single_add_to_cart_button:hover::after {
  transform: translateX(3px);
}

.single_add_to_cart_button:hover{
  background-color: #e5d8bc;
  border: none;
  color:#000;
}

.single_add_to_cart_button:active{
  color:#000;
}

.product_meta{display: none;}

.ProductTitle{font-family: 'Prickly Pear', sans-serif; color: #83855c;}

.product-details h2{font-size: 1.5em; color: #83855c;}


/* ======== Bloc quantité ======== */


/* Conteneur de la quantité */
.quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid #83855c;
  border-radius: .5rem;
  overflow: hidden;

  height: 44px;
}

/* Input nombre */
.quantity .qty {
  width: 70px;
  height: 100%;
  border: none;
  text-align: center;
  background: transparent;
  font-weight: 600;
  font-size: 1rem;
  color: #000;
  outline: none;
}

/* Supprime les flèches natives dans TOUS les navigateurs */
.quantity .qty {
  appearance: none;
  -moz-appearance: textfield;  /* Firefox */
  -webkit-appearance: none;    /* Chrome / Safari */
}

/* Chrome, Edge, Safari */
.quantity input::-webkit-inner-spin-button,
.quantity input::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}



/* (Optionnel) Uniformise la hauteur et le fond */
.quantity .qty {
  background: transparent;
  border: none;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  color: #000;
  width: 70px;
  height: 100%;
}

/* Boutons - et + */
.quantity button {
  background: rgba(171,167,136,.7);
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  color: #000;
  cursor: pointer;
  transition: background-color .2s ease;
}
.quantity button:hover {
  background: rgba(171,167,136,.5);
}



/* Taille de base des thumbs */
.singleProduct .product-gallery { --thumb: 84px; }

/* marge sous la grande image */
.singleProduct .product-gallery .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child{
  margin-bottom: 1rem;
  border: 7px solid rgba(171,167,136,.7);
}

/* Rangée des vignettes créée par le JS */
.singleProduct .product-gallery .woocommerce-product-gallery__wrapper .vas-thumbs{
  display: flex !important;
  flex-wrap: nowrap !important;     /* une seule ligne */
  gap: .5rem !important;
  overflow-x: auto !important;       /* scroll si trop d’images */
  -webkit-overflow-scrolling: touch;
  align-items: flex-start !important;
}

/* Neutraliser styles Woo (floats/width) sur chaque item */
.singleProduct .product-gallery .woocommerce-product-gallery__wrapper .vas-thumbs > .woocommerce-product-gallery__image{
  float: none !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 var(--thumb) !important;
  margin: 0 !important;
  display: block !important;
}

/* Lien et image */
.singleProduct .product-gallery .woocommerce-product-gallery__wrapper .vas-thumbs > .woocommerce-product-gallery__image > a{
  display: block !important;
}

.singleProduct .product-gallery .woocommerce-product-gallery__wrapper .vas-thumbs img{
  display: block !important;
  width: var(--thumb) !important;
  height: var(--thumb) !important;
  object-fit: cover !important;
  border-radius: .5rem !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.08) !important;
  opacity: .9;
  transition: opacity .2s, transform .2s;
  cursor: zoom-in;
}
.singleProduct .product-gallery .woocommerce-product-gallery__wrapper .vas-thumbs img:hover{
  opacity: 1; transform: translateY(-2px);
}

.vas-thumbs img {
  cursor: zoom-in;
}

.woocommerce-product-attributes-item__value p {margin-bottom: 0;}







/* ===== Mise en forme du bloc variation ===== */
.single-product .variations tr {
  display: block;
  margin-bottom: 0.75rem;
}

.single-product .variations th,
.single-product .variations td {
  display: block;
  padding: 0;
  border: 0;
}

.single-product .variations th label {
  display: block;
  margin-bottom: .4rem;
  font-weight: 600;
}



.single-product .variations select:hover {
  border-color: var(--wc-accent, #5a6b3b);
}

.single-product .variations select:focus {
  outline: 2px solid color-mix(in oklab, var(--wc-accent, #5a6b3b) 35%, black 0%);
  outline-offset: 2px;
  border-color: var(--wc-accent, #5a6b3b);
}

/* ===== Lien “Effacer” placé sous le select ===== */
.single-product .variations td {
  position: relative;
}

.single-product a.reset_variations {
  display: block; /* <-- passe sur la ligne suivante */
  margin-top: .45rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--wc-accent, #5a6b3b);
  text-decoration: none;
  clear: both; /* assure le passage à la ligne */
}

.single-product a.reset_variations::before {
  content: "\F623"; /* bi-arrow-counterclockwise */
  font-family: "bootstrap-icons";
  font-size: .95em;
  line-height: 1;
  margin-right: .35rem;
  position: relative;
  top: .05rem;
}

.single-product a.reset_variations:hover {
  text-decoration: underline;
}

.variations{margin-bottom: 0;}







/* Message "ajouté au panier" sous le bouton */
.added-to-cart-message {
  margin-top: 1rem;
  padding: .7rem 1rem;
  background: rgba(171,167,136,.7);
  border-left: 10px solid #696f3c;
  color: #333;
  font-size: .95rem;
  line-height: 1.35;
  animation: vas-fade-in .25s ease;
}

@keyframes vas-fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.added-to-cart-message a {
  background: #696f3c;
  color: #fff;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  text-decoration: none;
  margin-left: .4rem;
  transition: background .2s ease;
}

.added-to-cart-message a:hover {
  background: #6d8d47;
}











/* Firefox */
.quantity input[type=number] {
  -moz-appearance: textfield !important;
}




/* ===== Select stylé ===== */
.single-product .variations select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: .6rem 2.4rem .6rem .9rem;
  border: 1px solid #83855c;
  border-radius: .6rem;
  background: transparent;
  line-height: 1.2;
  font-size: 1rem;
  cursor: pointer;
  color: #2b2b2b;
  font-family: inherit;

  background-image: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235a6b3b'>\
  <path d='M7.247 11.14 2.451 5.658A.5.5 0 0 1 2.8 5h10.4a.5.5 0 0 1 .349.84l-4.796 5.48a.5.5 0 0 1-.706 0z'/>\
  </svg>");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: .9rem;
}