/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.2
*/

/* Adds Text Shadow in Mega Menu */


.shop_categories.order-image-title .products.mfn-grid-layout > li > a > .woocommerce-loop-category__title {
	display: inline-block !important;
	background-color: rgba(181,18,185,0.5) !important; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.75) !important;
	width: 100% !important;
	line-height: 1rem;
	position: relative;
	top: -2.5rem;
}


/* Removes bullets from WooCommerce sidebar term and category lists */
.widget_categories ul.wp-block-categories {
    list-style: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.widget_categories ul.wp-block-categories li {
	text-transform: uppercase;
	font-size: 0.75rem;
	line-height: 1.5rem;
	letter-spacing: 0.15ch;
	list-style: none !important;
    margin-left: 1ch !important;
}

/* PRODUCT PAGE */

.product-attributes {
	font-size: 0.8rem;
}

.product-attributes hr {
	margin: 0;
}

.product-attributes > hr:first-child {
	margin-top: 1em;
}


/* Product Subcategory Pages */

.column dl {
	display: grid;
	grid-template-columns: 28ch 1fr;
 	overflow: hidden !important;
	gap: 0px;
}

.column dl > dt {
	margin: 0;
	padding: 0;
	text-align: right;
	text-shadow: 1px 1px 1px #1e1e1e;
	border-color: transparent !important;
	min-width: 28ch !important; /* Width of the term */
}

.column dl > dd {
	margin-left: 5ch;
	padding-top: 0;
	text-shadow: 1px 1px 1px #1e1e1e;
	border-color: transparent !important;
}


@media (max-width: 767px) {
	
	#prod-desc {
		margin-top: clamp(-385px, -62vw, -62vw);
	}
	
	.column dl {
		display: flex;
		flex-direction: column;
	}
	.column dl > dt {
		text-align: left;
		min-width: reset !important;
	}
	.column dl > dd {
		margin-left: 0;
	}
}



/* Product Tags */

.custom-product-tags {
	margin-top: 10px;
	font-size: x-small;
	text-transform: uppercase;
	letter-spacing: 0.08rem;	
}


/* Glass Card - Product Description */

.glass-card {
  width: auto;
  height: auto;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  box-shadow: 
    0 1px 4px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 6px 3px rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
}

.glass-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8),
    transparent,
    rgba(255, 255, 255, 0.3)
  );
}

.if-zoom .image_frame:not(.no_link) .image_wrapper img:not(.ls-l) {
	mix-blend-mode: multiply !important;
}
.if-zoom .image_frame:hover .image_wrapper img:first-child {
	opacity: 15% !important;
}
