/*
 Theme Name: Divi Child
 Theme URI: https://www.bcge.shop
 Description: BCGE SHOP Theme extending Divi Theme
 Author: BCGE
 Author URI: https://www.bcge.ch
 Template: Divi
 Version: 1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

:root {
  --white-color: #fff;
  --black-color: #000;

  --bcge-primary-color: #ef3340;
  --bcge-secondary-color: var(--black-color);

  --bcge-general-bg-color: #f0f0f0;
  --bcge-highlight-bg-color: var(--bcge-primary-color);

  --bcge-message-bg-color: #5e5e5e;

  --bcge-general-border-color: rgba(0, 0, 0, 0.3);

  --bcge-main-header-bg-color: var(--white-color);

  --bcge-text-color: var(--bcge-secondary-color);

  --bcge-font-size: 16px;
  --bcge-font-family: "Open Sans", sans-serif;
}

html body {
  background: var(--bcge-general-bg-color);
  font-size: var(--bcge-font-size);
  font-family: var(--bcge-font-family);
}

#main-header {
  background: var(--bcge-main-header-bg-color);
}

#main-content {
  background: var(--bcge-general-bg-color);
}

#main-header #top-menu-nav a {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 300;
}

.et_pb_contact p input,
.et_pb_contact p textarea {
  border-radius: 0;
  border: solid 1px var(--bcge-general-border-color);
}

.et_pb_contact p input:focus,
.et_pb_contact p textarea:focus {
  border-color: var(--bcge-text-color);
}

body .wpf_item .wpf_item_name {
  font-size: 21px;
  font-weight: 300;
  margin-bottom: 0;
  text-transform: uppercase;
}

body .wpf_item .wpf_item_name {
  border-bottom: none;
}

body .wpf_slider.ui-slider {
  margin-top: 0;
  height: 4px;
}

body .wpf_slider.ui-slider .ui-widget-header {
  background-color: var(--bcge-highlight-bg-color);
}

body .wpf_item input[type="checkbox"] {
  border-radius: 0;
}

body .wpf_item label {
  font-weight: 300;
}

body.woocommerce ul.products li.product .price,
body.woocommerce ul.products li.product .price,
body.woocommerce-page ul.products li.product .price,
body.woocommerce ul.products li.product .price del,
body.woocommerce-page ul.products li.product .price del {
  position: absolute;
  top: 0;
  background: red;
  padding: 2px 4px;
  z-index: 100;
  color: var(--white-color) !important;
}

body .footer-widget {
  display: flex;
  flex-direction: column;
}

body.woocommerce .woocommerce-message,
body.woocommerce .woocommerce-info {
  background-color: var(--bcge-message-bg-color) !important;
}

body
  .et_pb_menu_0_tb_header
  .et_pb_menu_inner_container
  > .et_pb_menu__logo-wrap
  .et_pb_menu__logo
  img,
body .et_pb_menu_0_tb_header .et_pb_menu__logo-slot .et_pb_menu__logo-wrap img {
  max-height: 65px !important;
  width: auto;
}

body .et_pb_menu .et_pb_menu__wrap {
  justify-content: flex-end !important;
}

body .et_pb_menu .et_pb_menu__search-form {
  border-bottom: solid 1px;
  max-width: 500px;
  margin-left: auto;
}

body.et-db #et-boc .et-l .et_pb_section_0.et_pb_section {
  background-color: var(--bcge-general-bg-color) !important;
}

body.woocommerce .quantity input.qty,
body.woocommerce-page .quantity input.qty,
body.woocommerce #content .quantity input.qty,
body.woocommerce-page #content .quantity input.qty,
body.woocommerce-cart table.cart td.actions .coupon .input-text,
body.woocommerce form .form-row input.input-text,
body.woocommerce form .form-row textarea,
body.et_pb_wc_cart_totals
  .select2-container--default
  .select2-selection--single,
body.et_pb_wc_checkout_billing
  .select2-container--default
  .select2-selection--single,
body.et_pb_wc_checkout_shipping
  .select2-container--default
  .select2-selection--single,
body.et-db #et-boc .et-l .et_pb_wc_add_to_cart .quantity input.qty {
  background-color: var(--white-color) !important;
  border: solid 1px !important;
}

body .et_pb_menu__cart-count {
  background: #000000;
  padding: 4px 8px;
  border-radius: 50px;
}

body a.et_pb_menu__cart-button {
  background: #000000;
  padding: 8px 14px;
  border-radius: 50px;
  height: 40px;
  margin-top: auto;
  margin-bottom: auto;
  color: var(--white-color) !important;
}
