/* ============================================================
   Fablocks 2.0 - Custom Theme Overrides
   v2.2
   ============================================================ */
/* ---------------------------------------------------------
   1. Logo sizing
   --------------------------------------------------------- */
.header-container .logo {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  height: 80px;
}
.header-container .logo img {
  max-height: 80px;
  width: auto;
}
/* ---------------------------------------------------------
   2. Navigation bar: transparent background, black text
   --------------------------------------------------------- */
.header-container.layout7 .col-menu {
  background: transparent !important;
}
.header-container.layout7 .col-menu .nav-menus #mega_main_menu > .menu_holder .menu_inner > ul > li > a.item_link {
  min-height: 60px;
}
.header-container.layout7 .col-menu .nav-menus #mega_main_menu > .menu_holder .menu_inner > ul > li > a.item_link .link_text {
  min-height: 60px;
  line-height: 60px;
  color: #202020 !important;
}
.header-container.layout7 .col-menu .nav-menus #mega_main_menu > .menu_holder .menu_inner > ul > li:hover > a.item_link .link_text,
.header-container.layout7 .col-menu .nav-menus #mega_main_menu > .menu_holder .menu_inner > ul > li.current-menu-item > a.item_link .link_text {
  color: #000000 !important;
}
.header-container.layout7 .col-menu .nav-desktop .nav-menu > li > a {
  color: #202020 !important;
}
.header-container.layout7 .col-menu .nav-desktop .nav-menu > li:hover > a,
.header-container.layout7 .col-menu .nav-desktop .nav-menu > li.current-menu-item > a {
  color: #000000 !important;
}
/* ---------------------------------------------------------
   3. Mobile - bottom-header and col-menu white background
   --------------------------------------------------------- */
@media (max-width: 991px) {
  .header-container.layout7 .bottom-header {
    background: #ffffff !important;
  }
  .header-container.layout7 .col-menu,
  .header-container .header .col-menu {
    background: #ffffff !important;
  }
}
/* ---------------------------------------------------------
   4. Single product - Add to Cart button
   --------------------------------------------------------- */
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart,
.woocommerce div.product form.cart .variations_button {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.woocommerce div.product form.cart .quantity {
  margin-right: 10px;
}
button.single_add_to_cart_button {
  background-color: #2f2f2f !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 25px !important;
  height: 40px !important;
  line-height: 40px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
  white-space: nowrap !important;
  display: inline-block !important;
  cursor: pointer !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: all 0.3s ease !important;
}
button.single_add_to_cart_button:hover {
  background-color: #9e9e9e !important;
}
button.single_add_to_cart_button.disabled,
button.single_add_to_cart_button:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}
/* ---------------------------------------------------------
   5. Single product - Wishlist button (outline style)
   --------------------------------------------------------- */
.yith-wcwl-add-to-wishlist {
  display: inline-flex !important;
  align-items: center;
}
.yith-wcwl-add-to-wishlist .yith-wcwl-add-button a.add_to_wishlist,
.yith-wcwl-add-to-wishlist a.add_to_wishlist {
  display: inline-flex !important;
  align-items: center;
  height: 40px;
  line-height: 40px;
  padding: 0 20px;
  border: 2px solid #2f2f2f !important;
  color: #2f2f2f !important;
  background: transparent !important;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.yith-wcwl-add-to-wishlist .yith-wcwl-add-button a.add_to_wishlist:hover,
.yith-wcwl-add-to-wishlist a.add_to_wishlist:hover {
  background: #2f2f2f !important;
  color: #ffffff !important;
}
/* ---------------------------------------------------------
   6. Compare button - black text
   --------------------------------------------------------- */
.woocommerce.product.compare-button a.compare,
.woocommerce .compare-button a.compare,
a.compare.button[data-product_id],
.woocommerce a[class*="compare"].button {
  color: #202020 !important;
  background: transparent !important;
  border: 2px solid #2f2f2f !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 40px !important;
  line-height: 38px !important;
  padding: 0 20px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  text-indent: 0 !important;
  transition: all 0.3s ease;
}
.woocommerce.product.compare-button a.compare:before,
.woocommerce .compare-button a.compare:before,
a.compare.button[data-product_id]:before,
.woocommerce a[class*="compare"].button:before {
  display: none !important;
}
.woocommerce.product.compare-button a.compare:hover,
.woocommerce .compare-button a.compare:hover,
a.compare.button[data-product_id]:hover,
.woocommerce a[class*="compare"].button:hover {
  background: #2f2f2f !important;
  color: #ffffff !important;
}
/* ---------------------------------------------------------
   7. Font consistency - targeted (avoids breaking icon fonts)
   --------------------------------------------------------- */
body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
li,
td,
th,
label,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="tel"],
select,
textarea,
.widget,
.widget-title,
.woocommerce-page,
.entry-content {
  font-family: Arial, Helvetica, sans-serif !important;
}
/* ---------------------------------------------------------
   8. Wishlist header icon
   Matches .account-link pattern exactly:
   - Ionicons heart via :before pseudo-element
   - Same padding/float as account-link (padding: 36px 0 on desktop)
   - Same mobile pattern (padding: 13px 0, inline-block)
   --------------------------------------------------------- */
/* Desktop */
.wishlist-header-icon {
  float: right;
  padding: 36px 0;
  margin-left: 15px;
}
.wishlist-header-icon a:before {
  font-family: ionicons;
  content: "\f1a2";
  font-size: 28px;
  display: inline-block;
  width: 30px;
  height: 30px;
  color: #222222;
  line-height: 1;
}
.wishlist-header-icon a:hover:before {
  color: #9e9e9e;
}
/* Mobile - matches .account-link mobile pattern */
@media (max-width: 991px) {
  .wishlist-header-icon {
    float: none !important;
    display: inline-block !important;
    padding: 13px 0 !important;
    margin: 0 5px !important;
    vertical-align: top;
  }
}
/* ---------------------------------------------------------
   9. Product card hover icons - restore ionicons
      (protect from font-family override)
   --------------------------------------------------------- */
.shop-products .product .product-wrapper .actions ul.add-to-links li a i,
.shop-products .product .product-wrapper .actions ul.add-to-links li a:before,
.shop-products .product .product-wrapper .actions ul.add-to-links li a:after {
  font-family: ionicons !important;
}
.shop-products .product .product-wrapper .actions ul.add-to-links li.yith-wcwl-add-to-wishlist a {
  color: #f6f5f1 !important;
  background: #383533 !important;
  font-size: 0 !important;
}
.shop-products .product .product-wrapper .actions ul.add-to-links li.yith-wcwl-add-to-wishlist a:before {
  font-family: ionicons !important;
  font-size: 19px !important;
  color: #f6f5f1 !important;
}
.shop-products .product .product-wrapper .actions ul.add-to-links li.yith-wcwl-add-to-wishlist a:hover {
  color: #9e9e9e !important;
}
.shop-products .product .product-wrapper .actions ul.add-to-links li.yith-wcwl-add-to-wishlist a:hover:before {
  color: #9e9e9e !important;
}
