/* Looks Filter block */
.looks-filter {
	overflow: hidden;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	padding: 0;
	    border-bottom: 1px solid #490013;
}

.looks-filter__header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 25px 34px 23px;
	border-bottom: 1px solid #490013;
	margin: 0;
	background: #fff8f0;
}

.looks-filter__title {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 21px;
}

.looks-filter__title span {
	display: block;
	padding-top: 6px;
}

.looks-filter__main-btn {
	display: flex;
	gap: 12px;
	text-decoration: none;
	appearance: none;
	border: 1px solid #490013;
	background: transparent;
	color: #490013;
	padding: 11px 34px;
	border-radius: 25px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
	text-transform: uppercase;
	letter-spacing: 0.05rem;
	position: relative;
	height: 50px;
	margin: 0 30px 0 0;
	align-items: center;
}
.looks-filter__main-btn:hover {
	background-color:#F4D6CA;
	    box-shadow: 3px 4px 0px 0 #490013;
}


.looks-filter__main-btn:focus {
	outline: 0;
}

.looks-filter__main-btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* Main 3-column container */
.looks-filter__container {
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	/* overflow: hidden; */
	background-color: var(--wp--preset--color--peach, #F4D6CA);
	padding: 82px 0 76px;
    max-width: 1278px;
}

.looks-filter__flex {
	display: flex;
	justify-content: space-between;
}

/* Left column: nav + list */
.looks-filter__nav {
	background-color: var(--wp--preset--color--peach, #FCE9E4);
	padding: 1.5rem 0 0;
	box-shadow: 3px 4px 0px 0 #490013;
	border-radius: 19px;
	border: 1px solid #490013;
	width: 295px;
}

.looks-filter__nav-heading {
	margin: 0 0 1rem;
	font-size: 20px;
	font-weight: 100;
	color: inherit;
	border-bottom: 1px solid #490013;
	text-align: center;
	font-family: 'Gilda Display';
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 27px;
	padding: 4px 0 22px;
}

.looks-filter__list {
	    list-style: none;
    margin: 0;
    padding: 16px 0;
}

.looks-filter__list-item {
   margin: 0 0 14px;
    padding: 0 60px;
}

.looks-filter__list-item:last-child {
	border-bottom: none;
}

.looks-filter__trigger {
	    display: block;
    width: auto;
    padding: 5px 0;
    text-align: left;
    font-size: 16px;
    font-family: 'Manrope';
    font-weight: 400;
    color: inherit;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    letter-spacing: 0;
	position:relative;
}

.looks-filter__trigger.is-active {
	position:relative;
}

.looks-filter__trigger.is-active:before{
	content: "";
    display: block;
    width: 127%;
    height: 28px;
    background-color: #EDC5E7;
    position: absolute;
    z-index: 0;
    transform: rotate(-2deg);
    left: -12px;
    top: 2px;
}
.looks-filter__trigger:hover:before{
	content: "";
    display: block;
    width: 127%;
    height: 28px;
    background-color: #EDC5E7;
    position: absolute;
    z-index: 0;
    transform: rotate(-2deg);
    left: -12px;
    top: 2px;
}
.looks-filter__trigger span {
	position:relative;
}
.looks-filter__trigger:focus {
	outline: 0;
}

.looks-filter__trigger:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* Middle + Right: panels (burgundy) */
.looks-filter__panels {
	position: relative;
	color: var(--wp--preset--color--cream, #FFF8F0);
	width: 75%;
}

.looks-filter__panel {
	display: none;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	min-height: 24rem;
}

.looks-filter__panel.is-active {
	display: flex;
	justify-content: space-between;
}

/* Middle: featured image */
.looks-filter__middle {
	display: flex;
	align-items: stretch;
	justify-content: center;
	background-color: transparent;
	width: 320px;
	border-radius: 25px;
	overflow: hidden;
}

.looks-filter__featured-link {
	display: block;
	width: 100%;
	min-height: 20rem;
}

.looks-filter__featured-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	vertical-align: middle;
}

/* Right: SHOP + products grid */
.looks-filter__right {
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
	background-color: var(--wp--preset--color--burgundy, #611F35);
	width: 65%;
	border-radius: 19px;
	height: 497px;
	position: relative;
}

.looks-filter__shop-label {
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background-color: #f4d6ca;
	color: var(--wp--preset--color--burgundy, #611F35);
	font-weight: 700;
	letter-spacing: 0.05em;
	align-self: center;
	position: absolute;
	display: block;
	top: -31px;
	width: 61px;
	height: 61px;
	text-align: center;
	font-size: 13px;
	border: 1.25px solid #490013;
	padding-top: 14px;
}

/* Scroll area: content + custom scrollbar side by side */
.looks-filter__scroll-area {
	display: flex;
	gap: 0.75rem;
	min-height: 0;
	flex: 1;
}

.looks-filter__products-scroll {
	flex: 1;
	max-height: 28rem;
	overflow-y: scroll;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	/* hide native scrollbar everywhere */
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.looks-filter__products-scroll::-webkit-scrollbar {
	display: none;
}

/* Custom scrollbar track */
.looks-filter__scrollbar {
	width: 1px;
	flex-shrink: 2;
	background: #490013;
	border-radius: 99px;
	position: absolute;
	cursor: pointer;
	right: -26px;
	height: 195px;
	bottom: 0;
}

/* Custom scrollbar thumb */
.looks-filter__scrollbar-thumb {
	position: absolute;
	top: 0;
	left: -7px;
	width: 100%;
	background-color: #490013;
	border-radius: 99px;
	cursor: grab;
	transition: background-color 0.15s ease;
	width: 15px;
	height: 15px!important;
	border-radius: 50%;
	padding: 0!important;
}

.looks-filter__scrollbar-thumb:active {
	cursor: grabbing;
}

.looks-filter__scrollbar:hover .looks-filter__scrollbar-thumb {
	background-color: #fff8f0;
}

.looks-filter__products-scroll:focus {
	outline: 0;
}

.looks-filter__products-scroll:focus-visible {
	outline: 2px solid var(--wp--preset--color--cream, #FFF8F0);
	outline-offset: 2px;
}

.looks-filter__products {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px 30px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.looks-filter__product {
	margin: 0;
}

.looks-filter__product-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	color: inherit;
	transition: opacity 0.2s ease;
}



.looks-filter__product-link:focus {
	outline: 0;
}

.looks-filter__product-link:focus-visible {
	outline: 2px solid var(--wp--preset--color--cream, #FFF8F0);
	outline-offset: 2px;
}

.looks-filter__product-img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
	border-radius: 0.5rem;
	padding: 19px 15px;
}

.looks-filter__product-title {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	text-align: center;
	line-height: 14px;
	text-decoration: underline;
	color:white;
	display: block;
	padding: 0 37px;
}

/* Responsive breakpoints: 375–767 mobile, 768–1079 small tablet, 1080–1279 tablet */
@media (max-width:1280px) {
	.looks-filter__container {
		max-width:1080px;
	}
	.looks-filter__right {
		width:56%;
	}
	.looks-filter__panels {
		width:70%;
	}
	.looks-filter__products {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}
}
@media (max-width:1110px) {
	.looks-filter__container {
		max-width:640px;
		padding: 35px 0 40px;
	}
	.looks-filter__flex {
		display:block;
		position:relative;
	}
	.looks-filter__panels {
        width: 100%;
        position: initial;
        margin: 20px 0 0;
    }
	.looks-filter__panel.is-active {
		display:block;
		position: initial;
	}
	.looks-filter__middle {
		position:absolute;
		top:0;
		right:0;
	}
	.looks-filter__right {
        width: 100%;
    }
	.looks-filter__main-btn {
		margin-right:0;
	}
}
@media (max-width: 700px) {
	.looks-filter__container {
        max-width: 500px;
        padding: 35px 0 40px;
    }
	.looks-filter__nav {
		width:48%;
	}
	.looks-filter__middle {
		width: 48%;
	}
	.looks-filter__list-item {
		padding:0 20px;
	}
	.looks-filter__nav-heading {
		    margin: 0;
    padding: 0 0 15px;
	}
	.looks-filter__panels {
		margin-top:40px;
	}
	.looks-filter__title {
		font-size:24px;
	}
	.looks-filter__header {
		padding:20px;
	}
	.looks-filter__list {
		    max-height: 300px;
    overflow: scroll;
	}
}
@media (max-width: 570px) {
	.looks-filter__main-btn {
		margin-right:0;
		padding: 0 15px;
		height: 40px;
	}
	.looks-filter__list-item {
		margin: 0 0 2px;

	}
	    .looks-filter__middle {
        width: 48%;
        height: 337px;
    }
	.looks-filter__trigger {
		font-size:15px;
	}
	    .looks-filter__container {
        max-width: 92%;
        padding: 35px 0 40px;
    }
	.looks-filter__scrollbar {
    width: 1px;
    flex-shrink: 2;
    background: #f4d6ca;
    border-radius: 99px;
    position: absolute;
    cursor: pointer;
    right: 22px;
    height: 195px;
    bottom: 14px;
}
	.looks-filter__scrollbar-thumb {
		background-color: #f4d6ca;
	}
	    .looks-filter__nav-heading {
        gap: 5px;
        padding: 0 20px 10px;
        text-align: left;
        line-height: 1.2;
    }
	.looks-filter__list {
        max-height: 250px;
        overflow: scroll;
    }
}