/*
Theme Name: Hello Child - Custom Woo Archive
Template: hello-elementor
Text Domain: ak
Description: Child theme for Hello Elementor - custom shop archive cards
Version: 1.0
*/

@charset "utf-8";

/* ---------- Design des cartes produit (copie du screenshot) ---------- */


#cboxLoadedContent {

    box-shadow: none;
}

.newsletter-wrap {
    position: relative;
    width: 100%;
    max-width: 450px; /* tu peux augmenter */
}

.newsletter-wrap input[type="email"] {
    width: 100%;
    padding: 15px 120px 15px 20px; /* espace pour le bouton */
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
}

.newsletter-wrap .newsletter-btn {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    padding: 10px 20px;
    background: #009345;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s ease;
}

.newsletter-wrap .newsletter-btn:hover {
    opacity: 0.85;
}
a{
   text-decoration: none !important;
   color: inherit;
}

a {
    background-color: transparent;
    color: inherit;
    text-decoration: none;
}




.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
  width: 100%;
}

@media (min-width: 1200px) {
	
    .page-header .entry-title, .site-footer .footer-inner, .site-footer:not(.dynamic-footer), .site-header .header-inner, .site-header:not(.dynamic-header), body:not([class*=elementor-page-]) .site-main {
        max-width: 1165px;
    }
}

/* Card */
.product-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 15px;
  box-shadow: 0 6px 20px rgba(5,50,20,0.1);
  transition: transform .22s ease, box-shadow .22s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(5,50,20,0.06);
}

.product-card .img-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
}

.product-card .img-wrap img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* Title */
.product-card h3.product-title {
  font-size: 22px;
  margin: 6px 0 12px;
  font-weight: 700;
  color: #0f1721;
}

/* List */
.product-info {
  list-style: none;
  padding: 0;
  margin: 0 0 14px 0;
  flex: 1 1 auto;
}


/* small green bullet */
.product-info li::before {
  content: "◉";
  color: #0e8b36;
  font-weight: 700;
  margin-top: 2px;
  width: 18px;
  display: inline-block;
}

/* strong label */
.product-info strong {
  color: #0e8b36;
  margin-right: 6px;
  font-weight: 700;
}

/* Buttons */
.card-btns {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.card-btns .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid rgba(14,139,54,0.12);
  cursor: pointer;
}
.card-btns a.btn:hover {
    color: #0e8b36;
    background: rgba(14, 139, 54, 0.12);
}

.btn-quote {
  background: #0e8b36;
  color: #fff;
  border-color: #0e8b36;
}

.btn-register {
  background: transparent;
  color: #0e8b36;
  border-color: #0e8b36;
}

/* Responsive */
@media (max-width: 992px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .products-grid { grid-template-columns: 1fr; }
  .product-card .img-wrap img { height: 220px; }
}


button.category-filter-btn {
    color: black;
}








/* FILTER PANEL MODERN STYLE */
/*
.filter-wrapper {
  background: #ffffff;
  padding: 25px;
  border-radius: 18px;
  margin-bottom: 35px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border: 1px solid #e8e8e8;
}

.filter-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #222;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.filter-field {
  position: relative;
  display: flex;
  flex-direction: column;
}

.filter-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #444;
}

.filter-input,
.filter-select {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #dcdcdc;
  font-size: 15px;
}

.filter-input:focus,
.filter-select:focus {
  border-color: #058838;
  outline: none;
}

.btn-filter {
  background: #058838;
  color: #fff;
  padding: 14px 25px;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  grid-column: span 3;
  margin-top: 10px;
}

.btn-reset {
  background: #eee;
  color: #333;
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  grid-column: span 3;
}
*/


h1.product_title.entry-title {
    font-size: 36px;
    color: inherit;
}

/* CONTAINER */
.product-container {
    max-width: 1212px;
    margin: 40px auto;
    padding: 0 20px;
}

/* GRID TOP */
.product-top-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 40px;
    align-items: start;
}

/* IMAGE BLOCK */
.product-image-block img {
    width: 100%;
    border-radius: 12px;
}

/* TITLE */
.product-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Custom fields */
.product-custom-infos {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.product-custom-infos li {
    margin-bottom: 8px;
    font-size: 16px;
}

.product-custom-infos span {
    font-weight: 700;
    color: #0a0a0a;
}

/* CTA */
.product-cta {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.btn-primary,
.btn-secondary {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #21AAE0;
    color: #fff;
}

.btn-secondary {
    background: #0b7ca1;
    color: #fff;
}

/* WooCommerce tabs container */
.product-tabs-wrapper {
    margin-top: 50px;
}

/* RELATED */
.related-wrapper {
    margin-top: 60px;
}

.related-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}





/* CONTAINER */
.product-container {
    max-width: 1212px;
    margin: 40px auto;
    padding: 0 20px;
}

/* GRID TOP */
.product-top-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 40px;
    align-items: start;
}

/* IMAGE BLOCK */
.product-image-block img {
    width: 100%;
    border-radius: 12px;
}

/* TITLE */
.product-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Custom fields */
.product-custom-infos {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.product-custom-infos li {
    margin-bottom: 8px;
    font-size: 16px;
}

.product-custom-infos span {
    font-weight: 700;
    color: #0a0a0a;
}

/* CTA */
.product-cta {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.btn-primary,
.btn-secondary {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #21AAE0;
    color: #fff;
}

.btn-secondary {
    background: #0b7ca1;
    color: #fff;
}

/* WooCommerce tabs container */
.product-tabs-wrapper {
    margin-top: 50px;
}

/* RELATED */
.related-wrapper {
    margin-top: 60px;
}

.related-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


ul.ak-meta-list {
    padding: 0;
    margin-bottom: 30px;
}
ul.ak-meta-list li strong {
    color: green;
    margin-left: 0 !important;
    padding-left: 0 !important;
}
ul.ak-meta-list li {
  font-family: inherit;
    font-size: inherit;
  margin-bottom: 8px;
  color: #374151;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* small green bullet */
ul.ak-meta-list li::before {
  content: "◉";
  color: #0e8b36;
  font-weight: 700;
  margin-top: 2px;
  width: 18px;
  display: inline-block;
}



.product-top-banner {
    background: #1a2332;
    color: white;
    padding-top: 250px;
    min-height: 200px;
    display: flex;
    align-items: center;
    margin-top: -90px;
}
.product-top-banner .container {
    width: 90%;
    max-width: 1180px;
    margin: 0 auto;
}

.banner-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #fff;
}

.banner-breadcrumb {
    font-size: 14px;
}

.banner-breadcrumb a {
    color: #fff;
    opacity: 0.9;
}

.banner-breadcrumb a:hover {
    opacity: 1;
}





/* Container global 
#product-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 20px;
    background: #ffffff;
    border-radius: 14px;
    margin-bottom: 30px;
}


.filter-block {
    text-align: center;
    min-width: 180px;
}

.filter-block h4 {
    font-size: 16px;
    font-weight: 600;
    color: #0A8A38; 
    margin-bottom: 12px;
    border-bottom: 2px solid #0A8A38;
    display: inline-block;
    padding-bottom: 4px;
}

.filter-block label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 5px 0;
    cursor: pointer;
    font-size: 14px;
    padding: 6px 12px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    transition: all 0.25s ease;
    background: white;
}


.filter-block label:hover {
    background: #e8f7ee; /
    border-color: #0A8A38;
}


.filter-block input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #0A8A38; /* coloration checkbox (Chrome, Edge) */
}
/* Catégories en boutons */

.filter-block.cat-btn {
    text-align: center !important;
}

.filter-block.cat-btn {
    gap: 12px;
    flex-wrap: wrap;
}

/* Masquer la checkbox */
.filter-block.cat-btn input[type="checkbox"] {
    display: none;
}

/* Bouton visuel */
.filter-block.cat-btn label {
    padding: 10px 18px;
    border-radius: 8px;
    border: 2px solid #009345;
    background: #ffffff;
    color: #009345;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

/* Hover */
.filter-block.cat-btn label:hover {
    background: #dfffee;
}

/* État actif */
.filter-block.cat-btn input[type="checkbox"]:checked + span,
.filter-block.cat-btn input[type="checkbox"]:checked + label {
    background: #009345;
    color: #ffffff;
    border-color: #009345;
}


.filter-block.cat-btn label.active {
    background: #009345;
    color: #ffffff;
    border-color: #009345;
}

.filter-block label {
    font-size: 14px;
    margin-right: 10px;
}

.filters-container{
    display: flex;
    gap: 15px;

    background: #F7F7F7;
    padding: 15px;
    border-radius: 15px;
    margin-top: 20px;
    margin-bottom: 30px;
    justify-content: space-between;

}

.filter-block [type=checkbox], [type=radio] {
    vertical-align: bottom;
    margin-right: 5px;
}

/* Responsive */
@media(max-width: 768px) {
    #product-filters {
        flex-direction: column;
        align-items: center;
    }
    .filters-container{
    flex-direction: column;
        align-items: center;

    }

    .filter-block {
        width: 100%;
    }
}







/* Structure générale */
.cf7-flex {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.cf7-row {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cf7-label {
    font-size: 16px;
    margin-bottom: 8px;
    color: #444;
}

/* Champs */

.wpcf7 input[type="text"], 
.wpcf7 input[type="email"], 
.wpcf7 input[type="tel"], 
.wpcf7 textarea, 
.wpcf7 select{
    width: 100%;
    padding: 15px 20px;
    border-radius: 25px;
    border: 1px solid #e5e5e5;
    background: #fff;
    font-size: 16px;
}

/* Zone message */
.wpcf7 textarea {
    height: 180px;
    border-radius: 20px;
    resize: none;
}

/* Bouton */
.wpcf7 input[type="submit"] {
    background: #028c42;
    color: #fff;
    padding: 15px 40px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    border: none;
    display: block;
    margin: 0 auto;
}

.wpcf7 input[type="submit"]:hover {
    background: #026f35;
}










/* Conteneur des onglets */
.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* espace entre les tabs */
    padding: 0;
    list-style: none;
    margin-bottom: 30px;
}

/* Onglets style “tag” */
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    padding: 0px 16px;
    border-radius: 10px; /* arrondi total style pill */
    background-color: #fff; /* fond inactif */
    color: #333;
    font-weight: 500;
    font-size: 14px;
    text-transform: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

/* Onglet actif */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background-color: #e2f9e7; /* vert principal */
    color: #009345;
    font-weight: 600;
}

/* Hover */
.woocommerce div.product .woocommerce-tabs ul.tabs li:hover {
    background-color: #e2f9e7; /* vert plus foncé au survol */
    color: #009345 !important;
}

/* Lien */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: inherit;
    text-decoration: none;
    display: block;
}

/* Responsive mobile */
@media (max-width: 768px) {
    .woocommerce div.product .woocommerce-tabs ul.tabs {
        flex-direction: column;
    }
    .woocommerce div.product .woocommerce-tabs ul.tabs li {
        width: fit-content;
        margin-bottom: 8px;
    }
}


.woocommerce div.product .woocommerce-tabs h2 {

    font-weight: 700;
    font-size: 24px;
        color: #009345 !important;

}

.wc-pagination-wrap {
    margin-top: 40px;
}
.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current {
    background: #d7f1d8;
    color: #006530;
}