/* 
Theme Name: Terpan Prévention
Theme URI: https://github.com/soflyy/breakdance-zero-theme
Description: Thème pour le site de Terpan Prévention
Author: Boite à Oeufs
Author URI: https://www.boite-a-oeufs.com/
Template: breakdance-zero-theme
Version: 1.0.1
Text Domain: breakdance
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

.breakdance a.button:hover {
  text-decoration: none;
}

/* ---------------------------------------------------------------------------------------------- */
/*                                           POST                                                 */
/* ---------------------------------------------------------------------------------------------- */

.single-post .bde-themeless-template-content-area,
.woocommerce-checkout .bde-themeless-template-content-area {
  max-width: var(--bde-section-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--bde-section-horizontal-padding);
  padding-right: var(--bde-section-horizontal-padding);
}

.single-post .breakdance-image-container .breakdance-image-object img {
  display: block;
  width: 100%;
}


/* ---------------------------------------------------------------------------------------------- */
/*                                           WOOCOMMERCE                                          */
/* ---------------------------------------------------------------------------------------------- */

/* ------------------------------------------- Listing ------------------------------------------- */
.woocommerce .products .product .bde-woo-product-footer {
  display: none;
}

.breakdance-woocommerce .woocommerce-LoopProduct-link img {
  height: 100%;
}
/* ------------------------------------------- Product Single ------------------------------------------- */
.woocommerce .woocommerce-product-gallery ol.flex-control-nav {
  flex-wrap: nowrap;
  max-height: calc((19vw + 20px + var(--bde-section-horizontal-padding) + var(--bde-woo-base-big-gaps)) * 2);
  overflow-y: auto;
}

.woocommerce .woocommerce-product-gallery ol.flex-control-nav li {
  flex-shrink: 0;
}

@media (min-width: 700px) {
  .woocommerce .woocommerce-product-gallery ol.flex-control-nav {
    max-height: calc((25vw + 20px + var(--bde-section-horizontal-padding)) * 3);
  }
}

@media (min-width: 1100px) {
  .woocommerce .woocommerce-product-gallery ol.flex-control-nav {
    max-height: calc(15vw * 3);
  }
}

.woocommerce .product .bde-wrap-price-add-cart .bde-wooproductcartbutton {
  display: flex;
  align-items: center;
}
.woocommerce .product .bde-wrap-price-add-cart .bde-wooproductcartbutton form {
  margin-bottom: 0;
}

.woocommerce .breakdance-woocommerce div.product form.cart {
  flex-wrap: nowrap;
}

.woocommerce.single-product .variations tr:only-child th.label:has(label[for=pa_quantite]) {
  display: none;
}
/* ------------------------------------------- Review ------------------------------------------- */
.breakdance-woocommerce .terpan.comment_container {
  display: block;
}

.breakdance-woocommerce .terpan.comment_container img.avatar {
  width: 44px;
  height: 44px;
}

.terpan-review-rating-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.terpan-review-rating-date .woocommerce-review__published-date {
  color: #939393;
  font-size: 14px;
}

.terpan-review-author {
  display: flex;
  gap: 15px;
  align-items: center;
  color: var(--bde-brand-primary-color);
}

.terpan.comment_container .comment-text {
  margin-top: 20px;
  font-size: 15px;
}

#review_form {
  transition: height .5s, opacity .3s;
  overflow: hidden;
}

#review_form .comment-respond {
  margin-top: 20px;
}

#review_form .comment-form {
  max-width: 800px;
}

#review_form_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --------------------------------------- Tags shortcode --------------------------------------- */
.terpan-product-tags,
.terpan-categories {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .terpan-product-tags,
  .terpan-categories {
    gap: 10px;
  }
}

.terpan-product-tags span {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
}

.terpan-product-tags span svg {
  fill: var(--bde-brand-primary-color);
  width: 38px;
  height: 38px;
  margin-bottom: 3px;
}

/* --------------------------------------- Labels shortcode --------------------------------------- */
.terpan-product-labels {
  display: flex;
  flex-direction: column;
    gap: 6px;
}

.terpan-product-labels span {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 16px;
  font-weight: bold;
  text-align: left;
}

.terpan-product-labels span svg {
  fill: var(--bde-brand-primary-color);
  width: 35px;
    height: 35px;
  margin-bottom: 3px;
}

.terpan-product-labels span img {
  width: 35px;
    height: 35px;
    padding: 5px;
  margin-bottom: 3px;
}

@media (max-width: 767px) {
  .terpan-product-labels {
    gap: 4px;
  }

  .terpan-product-labels span {
    font-size: 14px;
  }

  .terpan-product-labels span svg {
    width: 30px;
    height: 30px;
  }

  .terpan-product-labels span img {
    width: 30px;
    height: 30px;
    padding: 3px;
  }
}
/* --------------------------------------- Search --------------------------------------- */
body .dgwt-wcas-search-wrapp.dgwt-wcas-layout-icon {
  display: flex;
  align-items: center;
  margin-right: 10px;
  min-height: 40px;
}

.dgwt-wcas-open-pirx .dgwt-wcas-open .dgwt-wcas-suggestions-wrapp {
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
}

/* ------------------------------------------- Checkout ------------------------------------------- */
.breakdance-woocommerce ul.woocommerce-shipping-methods li {
  flex-wrap: wrap;
}

.breakdance-woocommerce ul.woocommerce-shipping-methods .lpc_pick_up_widget_show_map {
  margin-top: 5px;
}

.woocommerce-shipping-methods li:has(label:last-child) {
  flex-wrap: nowrap;
}
.woocommerce-shipping-methods li label {
  font-weight: normal;
}

/* .woocommerce-cart .woocommerce-shipping-totals .woocommerce-shipping-destination,
.woocommerce-cart .woocommerce-shipping-totals .woocommerce-shipping-calculator {
  display: none;
} */

.lpc_pick_up_widget_show_map {
  background: var(--bde-button-primary-background-color);
  color: var(--bde-button-primary-text-color);
  border-color: var(--bde-button-primary-border-color);
  border-radius: 9999px;
  border-width: var(--bde-button-border-width);
  box-shadow: none;
  font-size: var(--bde-button-font-size);
  font-weight: var(--bde-button-font-weight);
  line-height: var(--bde-button-line-height);
  transition: var(--bde-woo-base-transition);
  transition-duration: var(--bde-transition-duration);
  display: inline-flex;
  text-transform: capitalize;
  border-style: solid;
  padding: var(--bde-button-padding-base);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  justify-content: center;
  align-items: center;
  width: -moz-max-content;
  width: max-content;
  flex-direction: row;
  gap: var(--bde-woo-base-small-gaps);
}

.lpc_pick_up_widget_show_map:hover {
  background: var(--bde-palette-color-4);
  border-color: var(--bde-palette-color-4);
}

/* -------------------------------------- Account addresses ------------------------------------- */
.breakdance-woocommerce .woocommerce-Address-title h2 {
  font-size: 24px;
  line-height: 1.5;
  margin-top: 0;
}
@media screen and (max-width: 767px) {
  .breakdance-woocommerce .woocommerce-Address-title h2 {
    font-size: 18px;
    line-height: 1.3;
  }
  .breakdance-woocommerce header.woocommerce-Address-title a.edit {
    font-size: 11px;
    line-height: 1.5;
    padding: 6px 15px;
  }
}
.woocommerce-page.woocommerce-account .breakdance-woocommerce .col2-set {
  flex-wrap: wrap;
}

/* ------------------------------------------- Filters ------------------------------------------ */
.breakdance-woocommerce .prdctfltr_filter_wrapper label {
  font-weight: normal;
}

.prdctfltr_wc .prdctfltr_filter_title {
  flex-wrap: wrap;
}
