/*!
Theme Name:    Outilbox
Author:        Hexa Digital
Author URI:    https://hexadigital.eu
Description:   Custom WordPress Theme
Version:       2.2.1
License:       GNU General Public License v3 or later
License URI:   https://www.gnu.org/licenses/gpl-3.0.html
Template:      page-builder-framework
Text Domain:   page-builder-framework-child
*/

@font-face { font-display: swap; }


/* The relative parent container */
  .relative{
      position: relative;
  }


/* Ensure Elementor helper divs are not relative */
.relative .elementor-container,
.relative .elementor-column,
.relative .elementor-widget-wrap {
    position: initial !important;
}

.heroimg, .heroimg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute !important;
    top: 0;
    left: 0;
    z-index: -1;
}


/* Search bar - force Sairi font */
.dgwt-wcas-pd-addtc-form {
    justify-content: flex-start !important;
}

.dgwt-wcas-details-inner .add_to_cart_button,
.dgwt-wcas-pd-addtc .add_to_cart_button {
    font-family: "Saira Condensed", sans-serif !important;
	font-size: 15px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.dgwt-wcas-pd-addtc p.product.woocommerce.add_to_cart_inline {
    display: flex !important;
    gap: 10px !important;
}


/* Sale items: old price on its own line, new price + TTC together below it */
.woocommerce ul.products li.product .price del {
    display: block;
}


/* Darken the category text on the product tiles */
.woocommerce ul.products li.product .wpbf-woo-product-category {
    opacity: .7;          /* was .5 — this is the real culprit */
    color: #1c1c1c;      /* optional: push the grey darker still */
}


/* Match "Produits récemment vus" widget to standard product tiles */

/* Title */
.widget_recently_viewed_products ul.product_list_widget li a .product-title {
    font-family: 'Saira Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #1c1c1c;
    line-height: 1.2;
}

/* Price */
.widget_recently_viewed_products ul.product_list_widget li .tiered-pricing-dynamic-price-wrapper,
.widget_recently_viewed_products ul.product_list_widget li .price {
    color: #1c1c1c;
    font-weight: 700;
}

/* ── Alma Widget ── */
#alma-widget-payment-plans-main-container,
#alma-widget-modal-main-container {
  --off-black: #232323;
  background-color: #F1F1F1 !important;
  border-radius: 4px;
  border: none !important;
  padding: 10px 14px !important;
  margin-top: 8px;
}

#alma-widget-payment-plans-main-container svg path,
#alma-widget-modal-main-container svg path {
  fill: #232323 !important;
}

#alma-widget-modal-main-container button,
#alma-widget-modal-main-container button * {
  background: #232323 !important;
  border-color: #232323 !important;
  color: #fff !important;
}

#alma-widget-modal-main-container button[aria-selected="true"],
#alma-widget-modal-main-container button[aria-selected="true"] * {
  background: #232323 !important;
  color: #fff !important;
}

#alma-widget-payment-plans-main-container button:focus,
#alma-widget-payment-plans-main-container button:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}


#alma-widget-payment-plans-main-container svg path,
#alma-widget-modal-main-container svg path {
  fill: #232323 !important;
}

#alma-widget-payment-plans-main-container button,
#alma-widget-modal-main-container button {
  background: #232323 !important;
  border-color: #232323 !important;
  color: #fff !important;
}

#alma-widget-payment-plans-main-container button[aria-selected="true"],
#alma-widget-modal-main-container button[aria-selected="true"] {
  background: #232323 !important;
  border-color: #232323 !important;
  color: #fff !important;
}


#alma-widget-payment-plans-main-container button {
  background: #fff !important;
  color: #232323 !important;
  border-color: #ccc !important;
}

#alma-widget-payment-plans-main-container button[aria-selected="true"] {
  background: #232323 !important;
  color: #fff !important;
  border-color: #232323 !important;
}

#alma-widget-payment-plans-main-container {
  border: none !important;
  padding: 0 !important;
}

#alma-widget-payment-plans-main-container button:has([data-testid="Alma-Logo"]) {
  background-color: transparent !important;
}

#alma-widget-payment-plans-main-container p,
#alma-widget-payment-plans-main-container span:not(button span) {
  font-size: 14px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 500 !important;
}

.woocommerce-cart #alma-widget-payment-plans-main-container,
.woocommerce-cart .alma-eligibility-widget {
  display: none !important;
}


/* ── Leasing Widget ── */
.lw-wrap { font-family: 'Plus Jakarta Sans', sans-serif; padding: 2px 0; }
.lw-buttons { display: flex; gap: 9px; margin-bottom: 2px; flex-wrap: wrap; }
.lw-btn { padding: 3px 8px !important; border-radius: 4px !important; border: 1.5px solid #fff !important; background: #fff !important; color: #000 !important; font-family: 'Plus Jakarta Sans', sans-serif !important; font-size: 12px !important; font-weight: 500 !important; cursor: pointer !important; min-height: unset !important; height: auto !important; line-height: 1.3 !important; text-transform: none !important; letter-spacing: 0 !important; }
.lw-btn.active { background: #232323 !important; border-color: #232323 !important; color: #fff !important; }
.lw-result { font-size: 15px; font-weight: 400; color: #111; line-height: 1.4; margin-bottom: 1px; }
.lw-result strong { font-size: 16px; font-weight: 700; color: #232323 ; }
.lw-sub { font-size: 12px; color: #888; margin-top: 4px; line-height: 1.2; }


/* Move reCAPTCHA badge up so cookie icon doesn't overlap */
.grecaptcha-badge {
    bottom: 90px !important;
}