/*products slider fix*/
.product-details-05 .swiper-slide{
	height: auto !important;
}

.footer-05 .layout-footer-top .fw_button {
	background: #ba933e;
}


.footer-16 .modal:before {
    opacity: 100;
}

.layout-product header {
	position:relative !important;
}

.product-configuration-options {
    overflow-x: auto;
    overflow-y: hidden;
    display:flex;
    padding-bottom: 1rem;
}

.product-configuration-option-name {
    height: 5rem;
    display: inline-grid !important;
    align-content: center;
}

.table-cart-product-configurations .text-gray-800 {
	color:#fff;
}


.account-information-01 .side-bar .nav-item-link:hover,
.account-information-01 .side-bar .nav-item-link.active {
    color: var(--elements--legends--legend--color);
}

#layout-main::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 998;
}

/* When ANY submenu is visible */
body:has(.nav-sub-items-wrapper:hover),
body:has(.nav-item:hover .nav-sub-items-wrapper) {
  pointer-events: auto;
}

body:has(.nav-sub-items-wrapper:hover) #layout-main::before,
body:has(.nav-item:hover .nav-sub-items-wrapper) #layout-main::before {
  opacity: 1;
}

/* Make sure header stays above overlay */
.header-12 {
  position: relative;
  z-index: 999 !important;
}


.product-configuration-group:has(
  input[name="product_configuration_options[20][119]"]:checked
)

@media (min-width: 1024px) {
	.header-12 .nav-wide .nav-sub-item-link {
	    width:100%;
	    white-space: normal;
	}
	
	
    .header-12 .nav-wide .nav-sub-items-wrapper {
        max-width: 70vw;
        margin: 0 auto;
        padding-bottom:2rem;
    }
	
	.nav-wide .nav-sub-items {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.nav-item.big-nav .legend-sm a {
	text-decoration:none;
	color:inherit;
}

.header-12 .nav-pages {
	position:relative;
	z-index:2;
}

@media screen and (min-width: 1024px) {
	.header-12 .header-03-alt-nav-body .nav-categories .big-nav .nav,{
		display: grid !important;
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
	.header-12 .header-03-alt-nav-body .nav-categories .big-nav .nav .nav-sub-items-wrapper .nav-sub-item,
	.header-13 .header-03-alt-nav-body .nav-categories .big-nav .nav .nav-sub-items-wrapper .nav-sub-item{
		    min-width: 0;
	}
	
	.header-12 .nav-wide .nav-sub-item-link {
    	border-bottom: 1px solid #f1e1c9 !important;
	}
}


/*CMS preview fix*/
.header-12{
	.header-03-alt-nav-body fw-component:first-of-type{
		position:static;
		
		.fw-content-object-label{
			left:auto;
		}
	}
}