.minicart-items .product-item-details {
	padding-left: 100px;
}

.product-item .aw-advanced-reviews-summary-container .review-summary-actions {
	display: inline !important;
}


.header-notification {
	max-width: 560px;
}

.header-notification a {
	color: #fff;
}

.block-title-main h2::after {
	transform: scaleX(-1);
}

.block-subtitle {
	padding: 5px 0 15px 15px !important;
}

#related-products-table  .product-item-name {
	margin-top: -2px;
}
#related-products-table .product.photo.product-item-photo {
	display: block;
	margin-bottom: -8px;
}
#related-products-table .product-item-name {
	display: block;
	margin-bottom: -0px !important;
}

#related-products-table input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 0px;
	accent-color: #ec532b;
}
.related-products-container {
	margin-top: 10px;
}
#related-products-table > tbody {
	background-color: #fff;
}
#related-products-table > tbody > tr {
	border-left: 1px solid #eae7e4;
	border-right: 1px solid #eae7e4;
}
#related-products-table > tbody > tr > td {
	border-top: 1px solid #eae7e4;
	border-bottom: 1px solid #eae7e4;
	padding-bottom: 4px;
}
#related-products-table > thead > tr > th {
	border-bottom: 0px;
}
#related-products-table > tbody > tr > td.select {
	text-align: center;
}
.table.grouped .price-box .old-price .price {
	text-decoration: line-through;
}
/* .aw-arp-container__item {
	display: none !important;
} */
.aw-arp-container--grid .aw-arp-container__items {
    margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
}

.sidebar-main .block .block-content .filter-options .filter-options-item,
.sidebar-additional .block .block-content .filter-options .filter-options-item {
	background: #f2f2f2;
	margin: 0 0 12px;
	padding: 2px 5px 12px;
	border-bottom: none;
}


.filter-options-content .items.-am-singleselect .amshopby-link-selected, .filter-options-content .swatch-option.selected+.am-shopby-swatch-label {
	/* color: #1979c3; */
	color: #f2703e;
}

.filter-options-content .items.-am-singleselect .amshopby-link-selected .count, .filter-options-content .swatch-option.selected+.am-shopby-swatch-label .count {
	/* color: #1979c3; */
	color: #f2703e;
}

.filter-options-content .item a:hover {
	/* color: #1979c3; */
	color: #ff5502;
}

.filter-options-content .item a:hover .count {
	/* color: #1979c3; */
	color: #ff5502;
}

.filter-actions .filter-clear:hover {
	/* color: #399ae6; */
	color: #ff5502;
}

.filter-actions .filter-clear {
	/* color: #1979c3; */
	color: #ff5502;
}

.header .links li a {
	color: #fff !important;
}

.customer-menu .header li a {
	color: #555 !important;
}

.welcome .logged-in {
	color: #fff;
}

.customer-name .switch {
	color: #fff !important;
}

form.amform-form {
	margin: 0;
}

.amcform-submit {
	background-color: #f2703e !important;
}

.amcform-submit:hover {
	background-color: #f48256 !important;
	border: 1px solid #f48256 !important;
}


#maincontent {
	margin-top: 10px !important;
}


.product-image-photo {
	display: unset;
	position: unset;
}

.product-image-wrapper {
	height: 0;
	z-index: 1;
	overflow: hidden;
}

body, .page-header {
	background: #f9f9f9 !important;
}

.product-item .price-box {
	margin: -10px 0 10px;
}

.item.product.product-item {
	border: 1px solid #fff;
}

.item.product.product-item:hover {
	border: 1px solid #f2703e;
}


.product.details.product-item-details {
	padding: 0px 10px 0 10px;
}

.product-image-wrapper {
	padding-bottom: 1px !important;
	height: auto;
}

.breadcrumbs {
	background-color: #f9f9f9 !important;
}

.homepage-category-button {
	background-color: #fff;
}

.product.data.items>.item.title {
	margin: 0;
	background: #fff;
}

.filter-options input[type='checkbox']+.amshopby-choice:after {
	background: #f2703e url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAxNSAxNSI+CiAgPGRlZnMvPgogIDxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik0xMS42NjkzIDMuNTAwNjFjLS4yMDc4LjAwNjk1LS40MDQ4LjA5ODg1LS41NDkzLjI1NjItMS45NTcwMyAyLjA2NDE1LTMuNDM4ODMgMy43NzY1NS01LjI4MDQxIDUuNzQ3ODNMMy44MTczIDcuNzA0NzRjLS4wNzk5Mi0uMDcxNi0uMTcyNDUtLjEyNTk1LS4yNzIzMy0uMTU5OTItLjA5OTg3LS4wMzM5Ny0uMjA1MTItLjA0NjktLjMwOTc0LS4wMzgwNi0uMTA0NjIuMDA4ODUtLjIwNjU2LjAzOTI5LS4zLjA4OTYtLjA5MzQ1LjA1MDMtLjE3NjU2LjExOTQ4LS4yNDQ1OS4yMDM2LS4wNjgwNC4wODQxMS0uMTE5NjYuMTgxNTEtLjE1MTkzLjI4NjYyLS4wMzIyNy4xMDUxMS0uMDQ0NTUuMjE1ODgtLjAzNjE1LjMyNTk4LjAwODQxLjExMDExLjAzNzM0LjIxNzQuMDg1MTUuMzE1NzQuMDQ3ODEuMDk4MzMuMTEzNTUuMTg1NzkuMTkzNDguMjU3MzlMNS4zNzc3MSAxMS4yOThjLjE1MzE1LjEzNzkuMzUwMTkuMjA5OC41NTE2LjIwMTMuMjAxNDEtLjAwODYuMzkyMzEtLjA5NjkuNTM0NDQtLjI0NzNDOC42MTA3NCA4Ljk4NzU3IDEwLjE0MiA3LjE3NTQ0IDEyLjI1NiA0Ljk0NTc4Yy4xMTY1LS4xMTgzNy4xOTYtLjI3MTIuMjI4MS0uNDM4MjMuMDMyMS0uMTY3MDMuMDE1My0uMzQwMzgtLjA0ODQtLjQ5NzA5LS4wNjM2LS4xNTY3MS0uMTcwOS0uMjg5MzctLjMwNzgtLjM4MDQyLS4xMzY5LS4wOTEwNS0uMjk2OC0uMTM2MTktLjQ1ODYtLjEyOTQzeiIvPgo8L3N2Zz4K) center / 12px;
	content: none;
}

.items[class*='category_ids']:not(.items-children)>.item>a {
	font-weight: 500;
}

.header_additional_info {
	float: right;
	position: relative;
	clear: inline-end;
	padding: 14px;
	width: 435px;
}
.header_additional_info img {
	float: left;
	flex: 1 0 20%;
	box-shadow: 0 0 3px rgba(0, 0, 0, .12);
	border-radius: 10px;
	margin-right: 20px;
	border: 1px solid rgba(0, 0, 0, 0);
}
.whatsappbutton-container {
	max-width: 160px;
}
.header_additional_info_links {
	font-size: 14px;
}
.header_additional_info .call {
	font-size: 17px;
	font-weight: 600;
	color: #666666;
}

.header_additional_info .number {
	color: #f2703e;
	padding: 16px 10px 0;
}

.header_additional_info_links>* {
	font-size: 12px;
}

.header_additional_info_links>a:visited {
	color: #666666;
}

.header_additional_info_links>* {
	color: #666666;
}

.header_additional_info_links>span:last-child {
	margin-left: 8px;
}

.header_additional_info_links>span:first-child {
	margin-right: 8px;
}

.paypal-review-discount .block>.title strong,
.cart-discount .block>.title strong {
	color: #f2703e;
	font-weight: 400;
}

.love-fab-container {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 10;
}

.love-fab-icon-holder {
	cursor: pointer;
	width: 45px;
	height: 45px;
	border-radius: 100%;
	background: transparent;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .2)
}

.love-fab-icon-holder i {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	font-size: 25px;
	color: #fff;
}

.love-fab {
	width: 55px;
	height: 55px;
	background: #ec532b;
}

.love-fab-options {
	list-style-type: none;
	margin: 0;
	position: absolute;
	bottom: 55px;
	right: 0;
	opacity: 0;
	transition: all 0.3s ease;
	transform: scale(0);
	transform-origin: 85% bottom
}

.love-fab:hover+.love-fab-options,
.love-fab-options:hover {
	opacity: 1;
	transform: scale(1)
}

.love-fab-options li {
	display: flex;
	justify-content: flex-end;
	padding: 5px
}

.love-fab-label {
	padding: 2px 5px;
	align-self: center;
	user-select: none;
	white-space: nowrap;
	border-radius: 3px;
	font-size: 16px;
	background: #666;
	color: #fff;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
	margin-right: 10px
}



.fab-live-chat {
	width: 46px;
	height: 46px;
	background: #fff;

}

.fab-live-chat .fa-comment-alt-lines {
	color: #666;
}

.fab-link {
	outline: none
}

.swatch-option {
	min-width: 18px;
}

.catalog-topnav.amasty-catalog-topnav {
	display: none;
}

.amrelated-grid-wrapper {
	padding: 14px;
}
.product-social-banners {
	display: flex;
}

.product-social-banners img {
	display: inline-flex;
	max-width: 33.33%;
}
@media screen and (max-width: 1000px) {
	.amgdprjs-bar-template {
	        position: fixed !important; /* fix cookie overlay scroll issue */
	}
 	.amgdprcookie-bar-container .action-close {
	      padding: 10px !important;
	}
}

@media screen and (max-width: 767px) {
	.product-collateral > dl > dd {
		display: block !important;
	  }	
	.product.info.detailed {
		margin-bottom: 0px
	}
	.product-social-banners {
		display: unset;
	}
	.product-social-banners img {
		max-width: 100%;
	}	
	
	.header_additional_info img {
		max-width: 160px;

	}
	.header_additional_info {
		width: 100%;
		float: unset;
		padding: unset;
		display: flex;
		font-size: 13px;
		padding: 16px 0 4px;
	}
	.call-container {
		margin-left: auto;
	}
	.call-container .number {
		padding: 10px 10px 0;
	}
	.header_additional_info_links {
		padding: 0 10px;
	}	
	.amrelated-grid-wrapper {
		padding: 4px;
	}

	.sidebar-main .block .block-title, .sidebar-additional .block .block-title {
		border-bottom: 0px solid #dddddd;
	}

	.block-subtitle {
		padding: 15px 0 15px 12px !important;
	}

	.product-info-main .aw-advanced-reviews-summary-container .review-summary-actions {
		font-size: 13px;
	}

	.logo img {
		min-height: 30px !important;
		margin-top: 5px;
	}

	.columns {
		display: -webkit-flex !important;
		display: -ms-flexbox !important;
		display: flex !important;
		-webkit-flex-wrap: wrap !important;
		flex-wrap: wrap;
		box-sizing: border-box
	}


	#maincontent .item.product.product-item, .amrelated-grid-wrapper .product-item {
		border-radius: 4px;
		box-shadow: 0px 0px 5px #d2d2d2;
		margin-bottom: 25px;
		border: 0px;
	}




	#maincontent .product.details.product-item-details {
		padding: 0px 14px 5px 14px;
	}

	#maincontent {
		padding-left: 15px;
		padding-right: 15px;
	}

	.catalog-topnav {
		display: block;
	}

	.catalog-topnav .filter-options {
		background: transparent;
		clear: both;
		display: block;
		overflow: initial;
		position: static;
	}

	.catalog-topnav.amasty-catalog-topnav {
		display: block;
		position: sticky;
		top: 0;
		z-index: 434343;
		background-color: #f9f9f9;
		padding-top: 10px;
		padding-right: 5%;
		margin-left: -15px;
		margin-right: -15px;
		box-shadow: 2px 2px 2px #eee;
	}

	#narrow-by-list.filter-options {
		white-space: wrap;
		overflow-y: scroll;
		overflow-x: visible;
		margin-bottom: 10px;
		padding-bottom: 10px;
		padding-left: 15px;
		padding-right: 15px;
		margin-right: -15px;
	}

	.catalog-topnav .filter-options .filter-options-content {
		left: 15px;
		width: 86%;
	}

	.breadcrumbs {
		display: block;
		white-space: nowrap;
		overflow-x: scroll;
	}

	.amasty-catalog-topnav .block-title.filter-title {
		display: none;
	}

	.sidebar-main .block, .sidebar-additional .block {
		margin-bottom: 0px !important;
	}

	.catalog-topnav .filter-options .filter-options-item {
		display: inline-block;
		border: 0;
		border: 1px solid #d2d2d2;
		background-color: #fff;
		border-radius: 16px;
		margin-right: 5px;
		padding-left: 5px;
	}
}

@media screen and (max-width: 420px) {
	.header_additional_info img {
		margin-right: 10px;
		max-width: 140px;
	}
	.header_additional_info .call {
		font-size: 15px;
	}
	.header_additional_info_links {
		font-size: 12px
	}
	.amrelated-grid-wrapper {
		padding: 0px;
	}

	.minicart-items .product-item {
		width: 98% !important;
	}

	.item.product.product-item, .amrelated-grid-wrapper .product-item {
		width: 48.5%;
		margin-left: calc((100% - 2 * 48.5%) / 1);
		display: inline-block;
		padding: 0;
		background: #ffffff;
		transition: all 0.3s ease 0s;
		-webkit-transition: all 0.3s ease 0s;
		position: relative;
		overflow: hidden;
		margin-bottom: 15px;
	}

	.products-grid .product-item:nth-child(2n+1), .amrelated-grid-wrapper .product-item:nth-child(2n+1) {
		margin-left: 0 !important;
	}

}


.embed-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 560px;
	max-height: 315px;
}

.embed-container iframe, .embed-container object, .embed-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.filter-options input[type="checkbox"]+.amshopby-choice::after {
	background-repeat: no-repeat !important;
}

.product-info-main .product-info-price {
	border-bottom: 0px !important;
}

.amrelated-grid-wrapper .product-item-details {
	padding: 14px;
}

.cashondelivery-container {
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	text-align: left;
	color: #17120f;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	background-color: #FFFFFF;
	border-style: solid;
	border-color: #eae7e4;
	border-radius: 0px;
	border-width: 1px;
	border-bottom: 0px;
	padding-left: 14px;
	padding-right: 14px;
	padding-top: 14px;
	padding-bottom: 14px;
	display: flex;
}

.cashondelivery-link {
	text-decoration: underline;
	white-space: nowrap;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: #17120f;
	font-size: 14px;
	font-weight: 400;
	margin-top: -2px;

}

.cashondelivery-text-wrapper {
	margin-left: 14px;
	margin-right: 0px;
	display: inline;
}

.cashondelivery-text-wrapper p {
	display: inline;
}

.cashondelivery-cashicon {
	background-color: #ec532b;
	padding: 4px 13px;
	font-weight: 700;
	color: #fff;
	border-radius: 5px;
}

.amgdprcookie-toggle-cookie .amgdprcookie-input:checked:not([disabled]) + .amgdprcookie-label {
	background: #f2703e;
}

.amgdprcookie-options {
	display: none !important;
}
.product-wide-banner {
	clear: both;
	padding-bottom: 20px;
}
.product-image-container {
	aspect-ratio: auto !important;
}
/* File Uplaoder Style Fix on Product Page */

.catalog-product-view .image.image-placeholder {
	position: relative;
}

.catalog-product-view .image.image-placeholder #fileUploader{
	border: none !important;
}

.product.attribute.description .value span,
.product.attribute.description .value p {
  font-size: 14px !important;
}

/* Larger checkbox */
.checkout-agreement.field.choice input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    cursor: pointer;
    accent-color: #333;
    vertical-align: middle;
    margin-top: 2px;
}

/* Reset the label so the full text isn't a clickable button */
.checkout-agreement .action-show {
    background: none;
    border: none;
    padding: 0;
    font-size: inherit;
    color: inherit;
    cursor: default;
    text-align: left;
    display: inline;
}

/* Manage Cookies modal - above our cookie overlay */
.amgdprcookie-groups-modal {
    z-index: 999999 !important;
}

.modals-overlay {
    z-index: 999998 !important;
}

.amgdprjs-bar-template .amgdprcookie-bar-container .action-close {
	display: none !important;
}

/* Manage Cookies modal - above our cookie overlay */
.amgdprcookie-groups-modal {
    z-index: 999999 !important;
}

.modals-overlay {
    z-index: 999998 !important;
}

.amgdprjs-bar-template .amgdprcookie-bar-container .action-close {
	display: none !important;
}

/* ===== Cookie Consent DESKTOP ===== */
.amgdprcookie-bar-container {
    padding: 15px !important;
}

.amgdprcookie-policy {
    font-size: 12px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.amgdprcookie-buttons-block {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
}

.amgdprcookie-button {
    padding: 15px 40px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
    margin-right: 0 !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}

/* Accept - desktop */
.amgdprcookie-button.-allow.-save {
    background-color: #F2703E !important;
    border: 2px solid #F2703E !important;
    color: #fff !important;
}

/* Manage Cookies - desktop outlined */
.amgdprcookie-button.-settings {
    background-color: transparent !important;
    border: 2px solid #F2703E !important;
    color: #F2703E !important;
}

.amgdprcookie-button.-settings:hover {
    background-color: #F2703E !important;
    color: #fff !important;
}

/* Reject All - desktop gray */
.amgdprcookie-button.-decline {
    background-color: transparent !important;
    border: 2px solid #e0e0e0 !important;
    color: #666 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

.amgdprcookie-button.-decline:hover {
    background-color: #eeeeee !important;
    border-color: #ccc !important;
    color: #333 !important;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    /* Modal card */
    .amgdprcookie-bar-container {
        position: relative !important;
        top: unset !important;
        left: unset !important;
        transform: unset !important;
        z-index: 9999 !important;
        width: 100% !important;
        max-width: 430px !important;
        background: #ffffff !important;
        border-radius: 12px !important;
        padding: 24px 20px !important;
        box-shadow: 0 8px 32px rgba(0,0,0,0.2) !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        pointer-events: all !important;
    }

    /* Title */
    .amgdprcookie-bar-block::before {
        content: "Personalise your experience" !important;
        display: block !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        color: #1a1a1a !important;
        margin-bottom: 14px !important;
        text-align: center !important;
        letter-spacing: -0.3px !important;
        line-height: 1.3 !important;
    }

    /* Stack layout */
    .amgdprcookie-bar-block {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Policy text */
    .amgdprcookie-policy {
        font-size: 13px !important;
        line-height: 1.7 !important;
        color: #555 !important;
        margin-bottom: 20px !important;
        text-align: center !important;
        letter-spacing: 0.1px !important;
        flex: unset !important;
        min-width: unset !important;
    }

    /* Cookie Policy link */
    .amgdprcookie-policy a {
        color: #F2703E !important;
        font-weight: 600 !important;
        text-decoration: underline !important;
    }

    /* Buttons block */
    .amgdprcookie-buttons-block {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        flex-shrink: unset !important;
        box-sizing: border-box !important;
    }

    /* All buttons base */
    .amgdprcookie-button {
        width: 100% !important;
        padding: 14px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        border-radius: 6px !important;
        letter-spacing: 0.3px !important;
        white-space: nowrap !important;
        text-align: center !important;
        cursor: pointer !important;
        box-sizing: border-box !important;
        display: block !important;
    }

    /* Accept button - filled */
    .amgdprcookie-button.-allow.-save {
        background-color: #F2703E !important;
        border: 2px solid #F2703E !important;
        color: #fff !important;
    }

    /* Manage Cookies - outlined */
    .amgdprcookie-button.-settings {
        background-color: transparent !important;
        border: 2px solid #F2703E !important;
        color: #F2703E !important;
    }

    /* Reject All - refined gray */
    .amgdprcookie-button.-decline {
        background-color: transparent !important;
        border: 2px solid #e0e0e0 !important;
        color: #666 !important;
        font-weight: 400 !important;
        text-decoration: none !important;
        padding: 14px !important;
        letter-spacing: 0.3px !important;
    }

    .amgdprcookie-button.-decline:hover {
        background-color: #eeeeee !important;
        border-color: #ccc !important;
        color: #333 !important;
    }
/* ============================================
   YOUTUBE-STYLE SCROLLABLE FILTER BAR - MOBILE
   CSS-ONLY — no JavaScript required
   
   Works WITH existing lovefurniture styles.
   
   HOW IT WORKS:
   - Pills become a single-line horizontally scrollable row
   - Dropdown content uses position:fixed to escape
     the overflow clipping on the scroll container
   - Gradient fades on edges hint at scrollability
   
   ADJUST: Change --filter-bar-height if your bar
   is taller/shorter than expected.
   ============================================ */

@media screen and (max-width: 767px) {

  :root {
    --filter-bar-height: 62px; /* Adjust to match actual bar height */
  }

  /* --- Make pill container a single-line scrollable row --- */
  #narrow-by-list.filter-options {
    white-space: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex-wrap: nowrap !important;
    gap: 8px;
    align-items: center;
    scroll-behavior: smooth;

    /* Hide scrollbar */
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  #narrow-by-list.filter-options::-webkit-scrollbar {
    display: none;
  }

  /* --- Each filter as a flex pill --- */
  .catalog-topnav .filter-options .filter-options-item {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center;
    margin-right: 0 !important;
    white-space: nowrap;
    position: static !important; /* Important: don't create containing block */
  }

  /* --- Dropdown chevron on pill titles --- */
  .catalog-topnav .filter-options .filter-options-item > .filter-options-title::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #606060;
    margin-left: 6px;
    vertical-align: middle;
    transition: transform 0.2s ease, border-color 0.2s ease;
  }

  /* --- Active pill: dark background like YouTube --- */
  .catalog-topnav .filter-options .filter-options-item.active,
  .catalog-topnav .filter-options .filter-options-item.allow.active {
    background-color: #ec532b !important;
    border-color: #ec532b !important;
  }

  .catalog-topnav .filter-options .filter-options-item.active > .filter-options-title,
  .catalog-topnav .filter-options .filter-options-item.allow.active > .filter-options-title {
    color: #fff !important;
  }

  .catalog-topnav .filter-options .filter-options-item.active > .filter-options-title::after {
    border-top-color: #fff;
    transform: rotate(180deg);
  }

  /* ============================================
     DROPDOWN: position:fixed escapes overflow clipping
     ============================================ */
  .catalog-topnav .filter-options .filter-options-item > .filter-options-content {
    position: fixed !important;
    top: var(--filter-bar-height) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: 50vh;
    overflow-y: auto;
    background: #fff !important;
    z-index: 999999 !important;
    /* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important; */
    border-top: 1px solid #eee;
    border-radius: 0 0 10px 10px;
    padding: 12px 16px !important;
    box-sizing: border-box;
  }

  /*
     IMPORTANT: We do NOT touch display here.
     Magento's collapsible JS toggles display:none via inline
     styles — we let it do its job. When Magento removes
     display:none, the content becomes visible as a
     position:fixed full-width panel below the bar.
  */

  .catalog-topnav .filter-options .filter-options-content {
  	margin-top: 0 !important;
  }

  /* --- Style filter options inside dropdown --- */
  .catalog-topnav .filter-options .filter-options-content .items {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .catalog-topnav .filter-options .filter-options-content .items .item {
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #f5f5f5;
  }

  .catalog-topnav .filter-options .filter-options-content .items .item:last-child {
    border-bottom: none;
  }

  .catalog-topnav .filter-options .filter-options-content .items .item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 8px;
    font-size: 14px;
    color: #0f0f0f;
    text-decoration: none;
  }

  .catalog-topnav .filter-options .filter-options-content .items .item .filter-count-label {
    display: none;
  }

  .catalog-topnav .filter-options .filter-options-content .items .item .count {
    font-size: 12px;
    color: #909090;
  }

  /* Swatch options */
  .catalog-topnav .filter-options .filter-options-content .swatch-attribute.swatch-layered {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Price slider */
  .catalog-topnav .filter-options .filter-options-content .amshopby-slider-wrapper {
    padding: 8px 4px;
  }

  /* ============================================
     SCROLL HINTS — gradient fades on edges
     (CSS-only alternative to arrows)
   ============================================ */
  .catalog-topnav.amasty-catalog-topnav .filter-options {
    position: relative;
  }

  .catalog-topnav.amasty-catalog-topnav .filter-options::before,
  .catalog-topnav.amasty-catalog-topnav .filter-options::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    z-index: 5;
    pointer-events: none;
  }

  /* Left fade — hidden by default, appears when scrolled */
  .catalog-topnav.amasty-catalog-topnav .filter-options::before {
    left: 0;
    background: linear-gradient(to right, #f9f9f9 20%, transparent);
    opacity: 0; /* Always hidden at start since scroll is at 0 */
    /* Note: CSS can't detect scroll position, so left fade stays hidden.
       If you want dynamic fades, you'd need the JS version. */
  }

  /* Right fade — always visible as a scroll hint */
  .catalog-topnav.amasty-catalog-topnav .filter-options::after {
    right: 0;
    background: linear-gradient(to left, #f9f9f9 20%, transparent);
  }

  /* ============================================
     SIDEBAR FILTER: hide on mobile
   ============================================ */

  /* REMOVE or override the old gradient on .filter-options */
  .catalog-topnav.amasty-catalog-topnav .filter-options::before,
  .catalog-topnav.amasty-catalog-topnav .filter-options::after {
      display: none !important;
  }

  /* ADD gradients to the NON-scrollable parent wrapper instead */
  .catalog-topnav.amasty-catalog-topnav {
      overflow: visible;
  	}

  	.catalog-topnav.amasty-catalog-topnav::before,
  	.catalog-topnav.amasty-catalog-topnav::after {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      width: 30px;
      z-index: 5;
      pointer-events: none;
  	}

  	.catalog-topnav.amasty-catalog-topnav::after {
      right: 0;
      background: linear-gradient(to left, #f9f9f9 20%, transparent);
  	}

  	.catalog-topnav.amasty-catalog-topnav::before {
      left: 0;
      background: linear-gradient(to right, #f9f9f9 20%, transparent);
      opacity: 0;
  	}
}

/* ============================================
   FILTER BAR SCROLL ARROWS — YouTube style
   ============================================ */

@media screen and (max-width: 767px) {

  /* Arrow buttons */
  .filter-scroll-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #bbb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    transition: box-shadow 0.2s ease, transform 0.15s ease, background 0.15s ease;
  }

  .filter-scroll-arrow.visible {
    display: flex;
  }

  .filter-scroll-arrow:active {
    background: #f2f2f2;
    transform: translateY(-50%) scale(0.92);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
  }

  /* Chevron character styling */
  .filter-scroll-arrow {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  }

  /* Left arrow */
  .filter-scroll-arrow--left {
    left: 4px;
    padding-right: 2px;
  }

  /* Right arrow */
  .filter-scroll-arrow--right {
    right: 4px;
    padding-left: 2px;
  }

  /* Gradient fades behind arrows */
  .filter-scroll-fade {
    display: none;
    position: absolute;
    top: 0;
    height: 100%;
    width: 45px;
    z-index: 6;
    pointer-events: none;
  }

  .filter-scroll-fade.visible {
    display: block;
  }

  .filter-scroll-fade--left {
    left: 0;
    background: linear-gradient(to right, #f9f9f9 40%, transparent);
  }

  .filter-scroll-fade--right {
    right: 0;
    background: linear-gradient(to left, #f9f9f9 40%, transparent);
  }

  /* Remove the old pseudo-element gradients since we now use JS-controlled ones */
  .catalog-topnav.amasty-catalog-topnav::before,
  .catalog-topnav.amasty-catalog-topnav::after {
    display: none !important;
  }
}
