/*!
Theme Name: blocksy-child
Template: blocksy
*/

/* Elements container */
.stk-107e568-container .stk-107e568-inner-blocks {
	max-width: 1100px !important;
	margin-left: auto;
	margin-right: auto;
}
#wpforms-1233-field_2-container {
	background-color: var(--theme-palette-color-8, #ffffff) !important;
	border-top-left-radius: 50px !important;
    border-top-right-radius: 50px !important;
    border-bottom-right-radius: 50px !important;
    border-bottom-left-radius: 50px !important;
	    overflow: hidden !important;
    padding-top: 10px !important;
    padding-right: 10px !important;
    padding-bottom: 10px !important;
    padding-left: 10px !important;
}

/* Input */
#wpforms-1233-field_2 {
	border: none;
}


/* Button */
#wpforms-submit-1233 {
	position: relative;
	top: -50px;
	right: 11px;
	float: right;
	border-radius: 50px;
}

/* Error message */
#wpforms-1233-field_2-error {
	position: absolute;
	top: 40px;
	left: 30px;
	font-size: 0.7rem;
}



/* fgt-top-searchbox */
.fgt-top-searchbox {
    border-top-left-radius: 50px !important;
    border-top-right-radius: 50px !important;
    border-bottom-right-radius: 50px !important;
    border-bottom-left-radius: 50px !important;
    overflow: hidden !important;
    padding-top: 4px !important;
    padding-right: 4px !important;
    padding-bottom: 4px !important;
    padding-left: 4px !important;
}

.fgt-searchbox-container {
    width: 600px !important;
}

.custom-wide-input {
  --has-width: 90%;
}

@media (min-width: 1520px) {
  .custom-wide-input {
    --has-width: 350px;
  }
}

#header [data-items] {
    display: flex;
    align-items: center;
    min-width: 0;
}

@media (min-width: 1000px) {
    #header [data-items] {
        justify-content: flex-end;
    }
}

@media (min-width: 1370px) {
    #header [data-items] {
        display: flex;
    	align-items: center;
    	min-width: 0;
    }
}

/*Whitelist*/
.fgt-product-whitelist__trigger {
	position: absolute;
	z-index: 9;
	top: 20px;
	inset-inline-end: 65px;
	width: 40px;
	height: 40px;
	text-indent: 9px;
	border-radius: 100%;
	color: #504e4a;
	background: var(--lightbox-button-background-color, #fff);
	margin-right: 10px;
}

.fgt-product-whitelist__trigger:hover {
	color: var(--lightbox-button-icon-hover-color, #fff);
	background: #8431B7;
}

.fgt-product-whitelist__trigger {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='transparent' stroke='%23504e4a' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px 20px;
}

.fgt-product-whitelist__trigger.fgt-wishlist-remove {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='%23504e4a' stroke='%23504e4a' stroke-width='2'/%3E%3C/svg%3E");
}


.fgt-product-whitelist__trigger:hover {
	background-color: #8431B7;
	transform: scale(1.05);
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);

	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='transparent' stroke='%23ffffff' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px 20px;
}

.fgt-product-whitelist__trigger.fgt-wishlist-remove:hover {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='%23ffffff' stroke='%23ffffff' stroke-width='2'/%3E%3C/svg%3E");
}

.woocommerce-MyAccount-navigation-link--my-wishlist a::before {
    content: "" !important;
}

.ct-my-wishlist-item {
    display: flex;
    align-items: var(--align-items, center);
    margin-left: 17px;
}

.ct-my-wishlist-item svg {
    width: 18px;
}

.ct-my-wishlist-item svg path {
    fill: transparent;
    stroke: #fff;
    stroke-width: 2px;
    transition: fill 0.2s ease;
}

.ct-my-wishlist-item svg path:hover {
    stroke: var(--theme-palette-color-2);
}

#coupon-error-notice {
	margin-top: auto;
	margin-bottom: auto;
	margin-left: 7px;
}

/*Cart totals*/
.shop_table .woocommerce-Price-amount.amount{
	float: right;
}

/* Fix for search results visibility */
.ct-search-form.ct-has-dropdown {
  position: relative;
  z-index: 999; /* Ensure high z-index */
}

.ct-search-results {
  position: absolute !important;
  top: 100% !important; /* Position below the search box */
  left: 0 !important;
  right: 0 !important;
  z-index: 1000; /* Higher than surrounding elements */
  margin-top: 5px; /* Add some space between search box and results */
  display: block !important;
  overflow: visible !important; /* Override clip */
  overflow-y: auto !important;
}

/* Make sure results are above all other content */
.ct-search-results.ct-fade-leave,
.ct-search-results.ct-fade-enter-active {
  opacity: 1 !important;
  height: auto !important;
}

/* Ensure items are visible and properly spaced */
.ct-search-results a {
  background-color: #291C2E;
  transition: background-color 0.2s ease;
}

.ct-search-results a:hover {
  background-color: var(--theme-button-background-initial-color);
}

/* Fix the container to ensure it has proper dimensions */
.fgt-top-searchbox {
  border-width: 2px;
  border-color: #523B5E;
  position: relative;
  overflow: visible !important;
}

/* Make search box container visible during active search */
.ct-search-box {
  overflow: visible !important;
}

.ct-search-results {
  margin-top: 15px !important;
  border-radius: 15px !important;
  padding-top: 0 !important;
}

nav.woocommerce-breadcrumb {
  text-align: left;
  margin-bottom: 20px;
}

nav.woocommerce-breadcrumb [class*=ct-separator] {
    margin: 0 6px;
}

/*
searchbox on mobile 
*/
@media (max-width: 767px) {
  [data-device="mobile"] .ct-container [data-column="middle"] {
    width: 250px;
  }

  .fgt-top-searchbox {
    padding: 0 !important;
  }

  .ct-sticky-container .ct-search-form-controls .wp-element-button {
    height: 30px;
    min-height: 30px;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 6px;
  }

  .ct-search-results {
    top: 30px !important;
  }
}

.woocommerce-breadcrumb {
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--theme-text-color);
  link-decoration: var(--false);
}

.woocommerce-breadcrumb svg:last-child {
    display: none !important;
}

.ct-search-results .ct-search-more {
	background-color: #8431b7;
    justify-content: center;
    color: #ffffff;
    font-size: 15px;
	font-weight: 500;
}

.ct-search-results a.ct-search-more:hover {
    background-color: var( --e-global-color-secondary ) !important;
	color: #8431b7;
}

.ct-search-form-controls .ct-ajax-loader {
	width: 30px !important;
    height: 30px !important;
	color: #c33d10 !important;
}
