/*!
Theme Name: BlocksyChild
Author: Humanis
Author URI: https://github.com/sIatem
Description: BlocksyChild is a child theme from Blocksy.
Template: blocksy
Version: 0.0.10
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Copyright: (c) 2026 Humanis.
Text Domain: blocksy-child
Blocksy Minimum Companion Version: 2.1.36-dev1
Tags: accessibility-ready, blog, block-patterns, e-commerce, wide-blocks, block-styles, grid-layout, one-column, two-columns, three-columns, four-columns, right-sidebar, left-sidebar, translation-ready, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, threaded-comments
*/

@media (min-width: 999.99px) {
  .site-branding {
    padding-right: 1.5rem;
    position: relative;
    margin-right: 0 !important;

    &:after {
      content: "";
      position: absolute;
      height: 22px;
      width: 1px;
      background-color: #cfcfcf;
      right: 0;
    }
  }
}

.border-rounded-2 {
	border-radius: 2px;
}

.blockslider-pagination.blockslider-pagination-square span {
	width: 45px;
	margin: 5 10px;
}

.wc-block-product-filter-price-slider .text input[type=text] {
    max-width: 90px !important;
}

.single_add_to_cart_button.button.alt.disabled.wc-variation-selection-needed {
    background-color: #696969bf !important;
}

.register-form .woocommerce-privacy-policy-text {
	font-size: 12px !important;
}

/* Disable Item */
.disable-item {
	background: #F5F5F5;
	border-radius: 8px;
	color: #9E9E9E;
}

.disable-item .stk-img {
	filter: contrast(0.9) grayscale(1) opacity(0.5);
}

/* form search header */
.woo-custom-search-block {
    width: 100%;
    margin: 10px 0;
}

.woo-custom-search-block form {
	max-height: 48px;
}

.woo-custom-search-block .search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.woo-custom-search-block .search-field {
    width: 100%;
    padding: 10px 15px 10px 45px;
    border: 1px solid #EDEDED;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
	height: 48px;
	color: #0A0A0A;
}

.woo-custom-search-block .search-field:focus {
	color: #0A0A0A;
}

.woo-custom-search-block .search-submit {
    position: absolute;
    left: 5px;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.woo-custom-search-block .search-submit-hidden {
    background: transparent;
    position: absolute;
    padding: 0 15px;
}

.woo-custom-search-block .search-submit-hidden:hover {
	background: transparent;
}

.woo-custom-search-block .search-icon {
    width: 20px;
    height: 20px;
}

 /*override styles */
.wp-block-post-template .wp-block-post:first-child .wp-block-columns {
    border: 0;
}

.footer-navs .widget-menu {
	display: flex;
	flex-direction: column;
    gap: 3px;
    font-size: 0.975rem;
}

/* Mega Menu */
.mega-menu {
  position: static !important;

  .menu-item {
    display: block !important;
    max-width: var(--theme-normal-container-max-width);
    margin: 0 auto;
  }

  .sub-menu {
    width: 100%;
    left: 0;
  }

  .is-active {
    > .sub-menu {
      opacity: 1;
      visibility: visible;
      transform: translate3d(0, 0px, 0);
    }
  }

  .menu-grid {
    height: auto;
    pointer-events: none;

    > .ct-toggle-dropdown-desktop-ghost {
      display: none;
    }

    > .sub-menu {
      position: relative;
      display: flex;
      pointer-events: all;
    }

    .menu-item {
      margin: 0;
    }
  }
}