/*
Theme Name: SKT Clover Garance
Theme URI: https://garance-voyageuse.org
Author: Développeur
Author URI: https://garance-voyageuse.org
Description: Thème enfant sur-mesure basé sur SKT Plants pour l'association La Garance Voyageuse.
Template: skt-plants
Version: 1.0.0
Text Domain: skt-clover-garance
Tags: two-columns,right-sidebar,full-width-template,custom-background,custom-colors,custom-menu,sticky-post,theme-options,threaded-comments,featured-images,footer-widgets,translation-ready,rtl-language-support,custom-logo,editor-style,custom-header,blog,e-commerce,portfolio
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/license-list.html#GPLv2
*/

/* -------------------------------------------------------------------------- */
/* CONSERVEZ TOUS LES STYLES DU THÈME SKT CLOVER CI-DESSOUS                   */
/* -------------------------------------------------------------------------- */

a {
  color: #a4bf91;
}

a:hover {
  color: #5e8642;
  text-decoration: underline;
}

.logo {
  padding: 32px 0 0 0;
  max-width: 200px;
}

#logo-main a:focus,
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus,
a:focus {
  outline: thin dotted #5e8642;
}

.cols-3 ul li a {
  font-size: 17px;
  color: #343434;
}

#sidebar ul li a:hover,
.blog_lists h4 a:hover,
.recent-post h6 a:hover,
.recent-post a:hover,
.design-by a,
.tagcloud a,
.blocksbox:hover h3,
.rdmore a,
.header-phone-number,
#sidebar li a:hover,
.main-navigation ul li ul li a,
.footer-row .cols-3 ul li a:hover,
.footer-row .cols-3 ul li.current_page_item a,
.footer-row .cols-3 ul li.current-menu-item a,
#sidebar ul li a:hover,
.main-navigation ul li:hover a,
.main-navigation ul li a:focus,
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item a,
.main-navigation ul li.current_page_item a {
  color: #5e8642;
}

#sidebar .wp-block-group {
  padding-top: 15px;
}

#sidebar ol,
#sidebar ul {
  margin-bottom: 0px;
}

#sidebar ul li {
  padding: 4px 0;
}

#sidebar h1,
#sidebar h2,
#sidebar h3,
#sidebar h4,
#sidebar h5,
#sidebar h6,
#sidebar label {
  font-family: 'Playfair Display';
}

#sidebar h2,
#sidebar label {
  font-size: 24px;
}

#sidebar .wp-block-latest-comments__comment {
  margin-bottom: 0px;
}

#navigation {
  width: 70%;
  text-align: center;
  font-family: 'Playfair Display';
  font-size: 20px;
  font-weight: 600;
}

body.page-template-builder-fullwidth-std .header {
  border-bottom: none;
}

.header-extras li {
  background-color: #f8f9ef;
}

.custom-cart-count {
  background-color: #a4bf91;
}

.main-navigation ul li a {
  font-size: 20px;
  font-weight: 600;
}

.main-navigation ul ul {
  background-color: #FFF;
}

.main-navigation ul ul li a:hover,
.main-navigation ul ul li a:focus {
  background: #5e8642;
}

.header-extras {
  float: right;
  margin-right: 25px;
}

.logo h2 {
  font-family: 'Playfair Display';
  font-size: 34px;
  font-weight: 500;
}

body.wp-custom-logo .logo {
  padding: 35px 30px 20px 0;
}

.sticky {
  border-right-color: #5e8642;
}

.blog_lists h4 a {
  color: #0c1d00;
}

#sidebar {
  background: #f6f4f4;
  padding: 25px 30px;
  border-radius: 6px;
}

.wp-block-latest-comments__comment-date {
  padding-left: 7px;
}

.wp-block-search__inside-wrapper {
  display: flex;
  border: 2px solid #a4bf91;
  border-radius: 25px;
  overflow: hidden;
  background: #fff;
}

.wp-block-search__input {
  flex-grow: 1;
  border: none;
  padding: 10px;
  font-size: 16px;
  outline: none;
}

.wp-block-search__button {
  background: #a4bf91;
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  transition: background 0.3s;
}

.wp-block-search__button:hover {
  background: #5e8642;
}

.wp-block-heading {
  font-size: 20px;
  color: #0c1d00;
  margin-top: 20px;
  padding-bottom: 5px;
}

.wp-block-latest-posts__list {
  list-style: none;
  padding: 0;
}

.wp-block-latest-posts__post-title {
  display: block;
  text-decoration: none;
  color: #007bff;
  padding: 0;
  transition: color 0.3s;
}

.wp-block-latest-posts__post-title:hover {
  color: #0056b3;
}

.wp-block-latest-comments {
  list-style: none;
  padding: 0;
}

.wp-block-latest-comments__comment-meta {
  font-size: 14px;
  color: #555;
}

.wp-block-latest-comments__comment-author {
  font-weight: bold;
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s;
}

.wp-block-latest-comments__comment-author:hover {
  color: #0056b3;
}

.wp-block-latest-comments__comment-link {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.wp-block-latest-comments__comment-link:hover {
  color: #007bff;
}

.pagination .nav-links span.current,
.pagination .nav-links a:hover {
  background: #a4bf91;
}

.black-title h1 {
  top: 40%;
}

.inner-banner-thumb {
  min-height: 300px;
}

.inner-banner-thumb img {
  max-height: 300px;
}

.inner-banner-thumb h1 {
  color: #0c1d00;
}

.copyright-wrapper {
  background-color: #8ca877;
}

.footerarea {
  background-color: #a4bf91;
}

.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6 {
  font-family: 'Playfair Display';
}

.footer-row .cols-3:nth-child(1) {
  width: 37%;
}

.footer-row .cols-3:nth-child(2) {
  width: 28%;
  margin: 0 2%;
}

.footer-row .cols-3:nth-child(3) {
  width: 28%;
  margin: 0 0 0 2%;
}

.ftr-widg {
  padding: 60px 0 60px 0;
}

.widget-column-1 h2 {
  margin-top: 0px;
}

.widget-column-2 {
  background: #ffffff;
  border-radius: 15px;
  min-height: 385px;
  padding: 20px 40px;
}

.widget-column-3 {
  background: #ffffff;
  border-radius: 15px;
  min-height: 385px;
  padding: 20px 40px;
}

.widget-column-2 h1,
.widget-column-2 h2,
.widget-column-2 h3,
.widget-column-2 h4,
.widget-column-2 h5,
.widget-column-2 h6 {
  color: #0c1d00;
}

.widget-column-3 h1,
.widget-column-3 h2,
.widget-column-3 h3,
.widget-column-3 h4,
.widget-column-3 h5,
.widget-column-3 h6 {
  color: #0c1d00;
}

.copyright-txt {
  padding: 25px 0;
}

.copyright-txt a {
  color: #FFF;
  text-decoration: underline;
}



/* -------------------------------------------------------------------------- */
/* MES RAJOUTS CI-DESSOUS                   */
/* -------------------------------------------------------------------------- */


body {
  font-size: 1.2em;
}

.outofstock-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: red;
  color: white;
  font-weight: bold;
  padding: 3px 6px;
  border-radius: 3px;
  z-index: 10;
}

.woocommerce ul.products li.product {
  position: relative;
  /* nécessaire pour position absolue du badge */
}

mark,
ins {
  background: #fff !important;
  color: #333;
  padding: 0;
  text-decoration: none;
}

@media (min-width: 981px) and (max-width: 1169px) {
  .main-navigation ul li a {
    line-height: 1.2;
    margin-top: 25px;
  }
}

.main-navigation ul ul {
  min-width: 260px;
}

.footer aside.widget {
  color: #fff;
}

.footer a,
.footer a:hover {
  color: #fff;
}

.widget-column-2 h2,
.widget-column-3 h2 {
  color: #fff;
}

.widget-column-2,
.widget-column-3 {
  background: transparent;
  border-radius: 15px;
  min-height: 385px;
  padding: 20px 40px;
}

.footer .cols-3 span {
  color: #fff;
  display: inline-block;
  min-width: 70px;
  width: auto;
}

.footer .cols-3 span:hover {
  text-decoration: underline;
}

.cols-3 ul li a {
  font-size: 17px;
  color: #fff;
}

.footer-row .cols-3 ul li a:hover {
  color: #fff;
}


body.search .wp-block-group {
  display: none;
}


.woocommerce ul.products li.product .add_to_cart_button {
  display: none !important;
}

.single-product .product {
  overflow: hidden;
}

/* Bandeau */
.inner-banner-thumb {
  width: 100%;
  text-align: center;
  position: relative;
  background-color: #f6f4f4;
  box-sizing: border-box;
  min-height: 180px;

}

/* Container du logo */
.inner-banner-thumb .banner-container {
  display: inline-block;
  max-width: 100%;
  padding-top: 20px
}

/* Logo responsive */
.inner-banner-thumb .custom-banner-logo {
  display: block;
  max-width: 420px;
  /* largeur max desktop */
  width: 90%;
  /* responsive mobile/tablette */
  height: auto;
  /* conserve le ratio */
  margin: 0 auto;
  /* centre horizontalement */
}

/* Tablettes */
@media (max-width: 768px) {
  .inner-banner-thumb .custom-banner-logo {
    max-width: 300px;
    width: 80%;
  }
}

/* Mobiles */
@media (max-width: 480px) {
  .inner-banner-thumb .custom-banner-logo {
    max-width: 200px;
    width: 70%;
  }
}

a {
  color: #5C7D50;
}

.product-category img,
.products .product img {
  max-height: 230px;
}

mark.count,
.woocommerce-ordering {
  display: none;
}

.widget-column-1 .wc-block-featured-product {
  min-height: 230px !important;
  height: 230px !important;
  width: 162px !important;
}

.widget-column-1 .wc-block-featured-product img {
  border-radius: 10px;
}

.widget-column-1 .wc-block-featured-product__inner-blocks {
  display: none;
}

.background-dim__overlay {
  background-color: transparent !important;
}

.widget-column-1 h2.wp-block-heading {
  margin-top: 38px;
}


.footerarea,
.custom-cart-count {
  background-color: #5C7D50;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: #5C7D50;
}

.copyright-wrapper,
.woocommerce-product-gallery__trigger,
.product_meta,
.woocommerce-Tabs-panel h2,
.woocommerce-result-count,
.wp-block-woocommerce-empty-cart-block .wp-block-product-new,
.wp-block-woocommerce-empty-cart-block h2.wp-block-heading:not(.with-empty-cart-icon):not(.wc-block-cart__empty-cart__title) {
  display: none;
}