@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300&display=swap');

#filter_options .filtertoggle, .fader, .filter_notice, #br-colours, .filter_wrap .product_filter, #resp_filtertags, #filter_container .hidefiltermenu, #browse_tp .label2, #pricerange_error{ display:none }

#footer{ padding-top:0px !important}

.sitewrap {
background-color: #F8F7F8 !important;
}

.pw_load {
width:100%;
font-size:20px;
color:#818181;
margin-top:10%;
text-align:center
}

.fader {
opacity:    0.6; 
background: #000; 
width:      100%;
height:     100%;
top:        0; 
left:       0; 
position:   fixed;
z-index:9998
}

#sitecontainer_browse {
padding:30px 20px;
max-width: 1800px;
box-sizing: border-box;
margin:0 auto
}

h1 {
padding:0;
font-size: 26px;
font-weight:normal;
font-family: 'Roboto Slab', serif;
font-weight:300
}

#browse_tp {
display: inline-flex;
align-items: center;
justify-content: space-between;
width:100%;
}

#product_sorter select {
padding:5px;
font-size:14px;
border:1px solid #cdc0cd;
background-color:#fff;
font-family: 'Roboto Slab', serif;
font-weight:300
}

#product_sorter label {
font-size:14px;
font-family: 'Roboto Slab', serif;
font-weight:200
}

#product_sorter  select option {
  margin: 40px;
  background: #ffffff94;
   font-family: "Roboto Slab", serif;
   font-weight: 150;
}

#browse_wrapper {
display:inline-flex;
justify-content: space-between;
width:100%;
margin: 20px 0 40px 0;
align-items: flex-start;
}

#filter_container {
background-color:#fefefe;
width:230px;
margin-right: 20px;
padding:10px;
box-sizing: border-box;
border-radius: 0px;
box-shadow:0px 3px 3px rgba(0,0,0,0.2);
position:sticky;
 top: 20px; /* remember to add a bigger margin for when the top bar appears on smaller devices - otherwise the top bar just covers it*/
}

#filter_container hr {
    border: 0;
    height: 1px;
    width: 90%;
    background: -webkit-gradient(linear, 0 0, 100% 0, from(transparent), to(transparent), color-stop(50%, #e0cdcd));
    opacity: 0.7;
}

#filter_container h3 {
font-family: 'Roboto Slab', serif;
margin:0 0 10px 0;
font-weight:normal;
font-size:18px;
color:#5b5258
}

#filter_container ul#filter_options {
list-style-type:none;
padding:0
}

#filter_container ul#filter_options li {
margin-bottom: 10px;
padding-left: 20px;
background-image:url("../../images/right.png");
background-repeat: no-repeat;
  background-size: 10px 10px;
background-position: left center;
}

.filtactive {
background-image:url("../../images/down.png") !important
}

#filter_container ul#filter_options li a{
text-decoration: none;
color:#000;
font-family: 'Roboto Slab', serif;
font-weight:300
}
#filter_container ul#filter_options li a:hover{
text-decoration: underline
}

#filter_options .filtertoggle {
background-color:#fdfdfd; 
padding:10px;
border:1px solid #f5f5f5; 
margin-top:5px; margin-bottom: 20px; 
font-size:13px;
box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px 0px inset;
}

.filtertoggle .checkbox_item, .colour_filter {
font-family: 'Roboto Slab', serif;
font-weight:250;
color:#242424;
font-size: 12px
}

.filtertoggle .checkbox_item {
margin-bottom: 8px;
}

.filtertoggle .checkbox_item:last-child {
margin-bottom: 0px
}

#filter_options .checkbx {
accent-color:#7b7479
}

#filter_selection  {
margin: 14px 0 10px 0
}

#filter_selection .filter_item {
background-color: #f2f2f2;
font-size:12px; color:#000; border-radius:15px; padding:8px 10px; margin-bottom: 10px;box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px; position: relative; cursor:pointer;
font-family: 'Roboto Slab', serif;
font-weight:200;
}
#filter_selection .filter_item:last-child {
margin-bottom: 0
}
#filter_selection .filter_item:hover {
background-color: #E8E8E8;
}

#filter_selection .filter_item .closefilter {
position:absolute;
right:6px;
top:9px;
}

#filter_selection .filter_item .closefilter div{
background-image: url("../../images/close_filter.png");
background-size: contain;
width:16px;
height:16px;
opacity:0.6
}
#filter_selection #clearfilter{
text-align: center;
margin-top: 10px
}
#filter_selection #clearfilter a{
    font-size: 12px;
    font-weight: 180;
    text-decoration-thickness: from-font;
    font-family: 'Roboto Slab';
}
#filter_selection #clearfilter a:hover{
color:#000;
}

/* switch */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 24px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

#togglestock_note {
text-align: center;
font-size:13px;
color:#736e71;
	font-family: 'Roboto Slab';
	font-weight:200;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #eeeeee;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input.slider_input:checked + .slider {
  background-color:#a2a2a2;
}

input.slider_input:focus + .slider {
  box-shadow: 0 0 1px #a2a2a2;
}

input.slider_input:checked + .slider:before {
  -webkit-transform: translateX(36px);
  -ms-transform: translateX(36px);
  transform: translateX(36px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
/* end switch */

/*filter price */
/*#filter_pricerange {
display:flex;
flex-direction: row;
justify-content: space-between;
align-items: center
}

#filter_pricerange input {
width:45px;
padding:6px 3px;
border:1px solid #aaa;
box-sizing: border-box;
font-size: 13px
}

#filter_pricerange label {
margin-right: 5pxf
}*/

#slider_val_wrapper button {
background:#7f6c79;
color: #ffffff;
border: none;
cursor: pointer;
padding: 7px 12px;
border-radius: 6px;
font-size: 14px;
width: 30%;
margin-bottom: 1rem;
}

#slider_val_wrapper button:hover {
background:#6a5b65
}

#pricerange_error {
background-color:#c17171;
color:#fff;
font-size: 12px;
padding:4px;
border-radius: 4px;
margin-top: 6px
}
/* end filter price */

/*slider price range */
:root {
  /* Color Palette */
    --lp1: #cbc5c5;
    --track: #a39c9c;
    --track-bg: #f9f9f9;
}

#slider_val_wrapper {
display:flex;
flex-direction: row;
justify-content: space-between
}

#value-display {
font-family: 'Roboto Slab';
text-align: center;
font-size: 0.8rem;
font-weight: 300;
color: #444444;
background-color: #f6f6f6;
padding: 0.5rem;
margin-bottom: 1rem;
width:55%;
border-radius: 0.5rem;
}

/* --- Slider Custom Styles --- */
.slider-container {
  position: relative;
  height: 20px;
}

/* Base styling for the visual track elements */
.slider-track, #slider-fill {
  height: 2px;
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 9999px; /* Corresponds to rounded-full */
}

.slider-track {
  background-color: #e5e7eb;
}

#slider-fill {
  background-color: var(--lp1);
}

/* --- Input[type="range"] Base Styles --- */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  width: 100%;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  padding: 0;
}

/* The top slider's track needs to be invisible, but thumb must be interactive */
input[type="range"].z-10 {
  pointer-events: none;
}
input[type="range"].z-10::-webkit-slider-thumb { pointer-events: all; }
input[type="range"].z-10::-moz-range-thumb { pointer-events: all; }

/* --- Webkit (Chrome, Safari) Thumb and Track --- */
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  margin-top: -6px; /* (thumb height - track height) / 2 */
  background-color: var(--track-bg);
  height: 16px;
  width: 16px;
  border-radius: 50%;
  border: 2px solid var(--track);
  box-shadow: 0 0 0 3px rgba(94,76,94,0.25);
  transition: box-shadow 0.15s ease-in-out;
}

input[type="range"]:active::-webkit-slider-thumb {
  box-shadow: 0 0 0 6px rgba(94,76,94,0.25);
}

/* --- Mozilla (Firefox) Thumb and Track --- */
input[type="range"]::-moz-range-track {
  height: 4px;
  background: transparent;
  border: none;
}

input[type="range"]::-moz-range-thumb {
  background-color: var(--track-bg);
  height: 16px;
  width: 16px;
  border-radius: 50%;
  border: 2px solid var(--track);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  transition: box-shadow 0.15s ease-in-out;
}

input[type="range"]:active::-moz-range-thumb {
 box-shadow: 0 0 0 6px rgba(94,76,94,0.25);
}
/*end slider price range*/

#products_container{
flex:1;
}

hr.hr-16 {
  border: 0;
  border-top: 1px dashed #8c8c8c;
  text-align: center;
}

hr.hr-16:after {
  content: '\002702';
  display: inline-block;
  position: relative;
  top: -13px;
  padding: 0 3px;
  background: #fff;
  color: #8c8c8c;
  font-size: 18px;
}

#sale_banner {
    text-align: center;
    margin: 0 0 25px 0;
    font-size: 29px;
    padding: 15px;
    box-sizing: border-box;
    font-family: 'Roboto Slab';
    font-weight: 300;
    color: #000;
    border-top: 1px dashed #ececec;
    background-color: #ebe7eb;
    background: linear-gradient(179deg,rgba(235, 231, 235, 1) 0%, rgba(255, 250, 255, 1) 64%);
    border-radius: 5px;
    box-shadow: rgb(0 0 0 / 24%) 0px 25px 20px -20px;
}


#sale_banner .countdown_wrapper {
font-size: 13px;
margin-top: 10px;
color:#888888
}
#sale_banner .countdown_wrapper span.cntdwn_lbl{
color:#817c85 !important
}

#sale_banner .offer_countdown {
display:inline-block;
padding:5px 8px;
border-radius: 8px 5px;
background-color:#799bc0;
color:#fff;
margin: 0 2px;
}

#sale_banner .oei {
margin-right: 5px
}

#sale_banner #timer {
display: inline-block
}

#sale_banner #ended_notice {
    background-color: #ffffff;
    display: inline-block;
    padding: 8px 12px;
    margin-top: 8px;
    font-size: 14px;
    color: #c76868;
    border: 1px solid #e4a3a3;
    border-radius: 8px;
}
#sale_banner a#moreoffers {
  color: #4a4a4a;
  padding: 8px 12px;
  font-size: 14px;
  margin-left: 10px;;
  text-decoration: underline #999;
  }

#itemscounter{
text-align: left;
font-size: 14px;
color:#b2adb2;
display: inline-block;
	font-family: 'Roboto Slab', serif;
	font-weight:200
}

#products_wrapper {
 display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

#products_wrapper::after {
  content: "";
  flex: auto;
}

#products_wrapper .product_box {
background-color: #fff;
flex: 1 23%;
max-width:23%;
margin:1%;
box-sizing: border-box;
box-shadow:0px 3px 3px rgba(0,0,0,0.1);
border-radius:5px;
overflow: hidden
}

#products_wrapper .product_box hr {
border: 0;
height: 1px;
width: 90%;
background: -webkit-gradient(linear, 0 0, 100% 0, from(transparent), to(transparent), color-stop(50%, #dadada));
opacity: 0.7;
}


#products_wrapper .product_box .prodimg img{
width:100%;
transition: transform 0.3s ease-in-out;
transform-origin: center center;
}
.prodimg a:hover img {
    transform: scale(0.97);
}

#products_wrapper .product_box .proddetails{
padding:10px;
text-align: center
}

#products_wrapper .product_box .proddetails h3{
font-weight:400;
font-family: 'Roboto Slab';
font-size:15px;
margin:0 0 10px 0;
}

#products_wrapper .product_box .proddetails h3 a{
color:#000;
text-decoration: none;
font-weight:300
}
#products_wrapper .product_box .proddetails h3 a:hover{
color:#333
}

#products_wrapper .product_box .proddetails .prodprice{
font-weight: 350;
font-family: 'Roboto Slab';
font-size:18px;
margin:10px 0;
}

#products_wrapper .product_box .proddetails button.qview{
background-color: #fff;
color:#747474;
border:none;
font-family: 'Roboto Slab', serif;
font-size:14px;
font-weight: 300;
padding:6px 10px;
cursor:pointer;
border-radius:24px;
box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
margin-bottom:5px;
}

#products_wrapper .product_box .proddetails button.qview:hover{
color:#000000
}

.srater_container {display:flex; justify-content: center; align-items: center}
.srater_container span {margin-left: 5px; font-family: 'Roboto Slab', serif; color:#8d8d8d; font-weight:100; font-size: 12px}


#loadmore {
    display: block;
    width: 180px;
    padding: 10px 18px;
    margin: 30px auto 20px;
    box-sizing: border-box;

    color: #fff;
    background: var(--browse-accent, #75656f);
    border: 1px solid var(--browse-accent, #75656f);
    border-radius: 999px;

    text-align: center;
    text-decoration: none;
    font-family: 'Roboto Slab', serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.3;

    cursor: pointer;
    box-shadow: 0 5px 14px rgba(73, 56, 67, 0.14);
    transition: background-color .18s ease,
                border-color .18s ease,
                transform .18s ease;
}

#loadmore:visited {
    color: #fff;
}

#loadmore:hover {
    color: #fff;
    background: var(--browse-accent-dark, #62545d);
    border-color: var(--browse-accent-dark, #62545d);
    transform: translateY(-1px);
}

#colour_group {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
}

.colour_filter {
display:flex;
flex-direction: row;
flex: 1 50%;
max-width: 50%;
align-items: center;
margin-bottom: 10px;
cursor:pointer;
}
.colour_filter:hover .colourcode {
opacity:1.0
}

.colour_filter .colourcode {
border-radius:50%; height:16px; width:16px; display:inline-block; margin-right:4px; border:1px solid #979797; opacity:0.7; box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

.colour_White, .colour_Null {
background-color: #fff
}
.colour_Black {
background-color: #000
}
.colour_Green {
background-color: #008000
}
.colour_Yellow {
background-color:#FFFF00
}
.colour_Cream {
background-color: #FFFDD0
}
.colour_Blue {
background-color:#0000FF
}
.colour_Red {
background-color:#FF0000
}
.colour_Orange {
background-color:#ff8c00
}
.colour_Brown {
background-color: #a52a2a
}
.colour_Purple {
background-color: #800080
}
.colour_Pink {
background-color: #ff1493
}
.colour_Silver {
background-color:silver
}
.colour_Bronze {
background-color: #Cd7f32
}
.colour_Grey {
background-color: #ccc
}
.colour_Transparent {
background: radial-gradient(circle at 18.7% 37.8%, rgb(250, 250, 250) 0%, rgb(225, 234, 238) 90%);
}
.colour_Gold {
background-color:gold
}
.colour_Multi-colour {
background: linear-gradient(
  90deg,
  rgba(255, 0, 0, 1) 0%,
  rgba(255, 154, 0, 1) 10%,
  rgba(208, 222, 33, 1) 20%,
  rgba(79, 220, 74, 1) 30%,
  rgba(63, 218, 216, 1) 40%,
  rgba(47, 201, 226, 1) 50%,
  rgba(28, 127, 238, 1) 60%,
  rgba(95, 21, 242, 1) 70%,
  rgba(186, 12, 248, 1) 80%,
  rgba(251, 7, 217, 1) 90%,
  rgba(255, 0, 0, 1) 100%
);
}

.filter_wrap .product_filter{
width:100%;
align-items: center;
justify-content: center;
text-align: center;
padding:8px;
box-sizing: border-box;
background-color:#e8e6e7;
font-family: 'Roboto Slab';
font-weight: 250;
margin-top: 5px;
border-radius:8px;
box-shadow: rgba(50, 50, 93, 0.07) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
cursor:pointer
}

.filter_wrap .product_filter img{
width:16px;
height:16px
}

@media (max-width: 1400px) {
#products_wrapper .product_box {
flex: 1 31%;
max-width:31%;
}
}

@media (max-width: 1200px) {
#filter_container {
top: 40px; /* sticky menu clash  */
}
}

@media (max-width: 850px) {

#sale_banner {
font-size: 24px;
}

.icsp {display: none}

#itemscounter {
position:absolute;
bottom:40px;
left: 50%;
transform: translateX(-50%);
}

/* Mobile active-filter summary pills */
#resp_filtertags {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:flex-start;
    gap:7px 8px;
    margin-top:18px;
    padding-left:28px;
    position:relative;
}

/* Keep the original black arrow as the visual anchor. */
#resp_filtertags .filter_arrow {
    display:block;
    position:absolute;
    left:0;
    top:7px;
}

#resp_filtertags .filter_arrow img {
    width:20px;
}

/* Pills size naturally to their text and wrap cleanly. */
#resp_filtertags .ftag {
    display:flex;
    align-items:center;
    flex:0 1 auto;
    width:auto;
    max-width:100%;
    min-height:34px;
    padding:5px 30px 5px 12px;
    margin:0;
    box-sizing:border-box;
    border-radius:20px;
    font-family:'Roboto Slab';
    font-weight:200;
    font-size:13px;
    line-height:1.25;
    color:#fff;
    background-color:#7b7479;
    position:relative;
    cursor:pointer;
    box-shadow:rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
               rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

/* Item Types are distinguished by colour only. */
#resp_filtertags .ftag[data-typeid="item_type"] {
    background-color:#d5d1d5;
    color:#000;
}

/* No extra child arrow inside Item Type pills. */

/* Close icon stays vertically centred regardless of pill height. */
#resp_filtertags .ftag .close {
    position:absolute;
    top:50%;
    right:8px;
    transform:translateY(-50%);
    background-image:url("../../images/close_filter.png");
    background-size:contain;
    width:16px;
    height:16px;
    display:inline-block;
    opacity:0.55;
}

.filter_wrap .product_filter{
display:flex;
}

.filter_wrap .product_filter:hover{
border:1px solid #F7F7F7;
}

.filter_wrap img{
	width:18px;
    height:18px;
    margin-right:8px
}

.filter_notice {
text-align: center;
margin-top: 20px;
font-size: 14px;
font-family: 'Roboto Slab';
font-weight: 200;
color: #808080;
}

.filter_notice a{
color:#808080;
text-decoration: none;
border-bottom:1px dashed #bfbfbf;
padding-bottom:1px
}

#filter_container {
display:none;
background-color:#f7f6f7;
max-width:300px;
min-width:300px;
position: fixed;
top: 0;
bottom: 0;
right: -20px; 
overflow-y: scroll;
padding:30px;
box-sizing: border-box;
z-index: 9999;
}
#filter_selection .filter_item{
background-color: #7b7479;
	color:#fff
}#filter_selection .filter_item:hover {
background-color: #6c666a;
}

#filter_container .hidefiltermenu {
display:block;
position:fixed;
background-color:#f7f6f7;
padding:8px;
box-sizing: border-box;
top:0;
right:298px;
cursor:pointer;
border-bottom-left-radius: 10px;
border-right:1px solid #f7f6f7
}

#filter_container .hidefiltermenu div{
background-image: url("../../images/closemnu.png");
background-size: contain;
width:25px;
height:25px;
}

}

@media (max-width: 500px) {
#sale_banner #ended_notice {
    display: block;
    margin-bottom:10px
}

#sale_banner {
font-size: 18px;
	margin:0 0 15px 0
}
	
#sitecontainer_browse {
padding:20px 10px;
}

#browse_tp h1{
font-size:19px
}

#browse_tp select{
width:140px;
font-size:12px
}

#browse_tp label{
display:none;
}

#browse_tp .label2 {
background:url("../../images/sort.png");
background-size: cover;
display: inline-block;
line-height: 20px;
vertical-align: middle;
height: 20px;
width: 20px;
}

#products_wrapper .product_box {
flex: 1 46%;
max-width:46%;
margin:2%;
}
}

@media (max-width: 400px) {
#sitecontainer_browse {
padding:10px 10px 20px 10px;
}

#products_wrapper .product_box .proddetails h3 {
font-size: 14px
}

#sale_banner #timer {
display: block;
margin-top:5px
}

#sale_banner .oei {
margin-right: 0px;
display: block;
margin-bottom: 5px
}

}

@media (max-width: 359px) {
#filter_container {
  max-width:250px;
  min-width:250px;
}

#filter_container .hidefiltermenu {
right:248px;
}
}

/* =========================================================
   Browse filter UX improvements - desktop selected filters
   and scrollable sticky filter controls
   ========================================================= */

.selected_filters_heading {
    display:none;
    margin: 0 0 8px 2px;
    font-family: 'Roboto Slab', serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #8a8287;
}

/* Item Types are refinements of the selected Product Type,
   so make that relationship visible rather than presenting
   both tags as equal-level selections. */
#filter_selection .filter_item[data-typeid="item_type"] {
    margin-left: 18px;
    width: calc(100% - 18px);
    box-sizing: border-box;
    padding-left: 30px;
    background-color: #f2f2f2;
    border-left: 3px solid #dcdcdc;
    border-radius: 3px 15px 15px 3px;
    box-shadow: none;
    font-size: 11.5px;
}

#filter_selection .filter_item[data-typeid="item_type"]::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 7px;
    width: 14px;
    height: 14px;
    background-image: url("../../images/flilter-arrow.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;

    opacity: 0.6;
}

@media (min-width: 851px) {
    #filter_container {
        display: flex !important;
        flex-direction: column;
        max-height: calc(100vh - 60px);
        overflow: hidden;
    }

    #filter_container > h3,
    #filter_container > hr,
    #filter_selection {
        flex: 0 0 auto;
    }

    /* Keep selected filters and Clear All within reach.
       Only the tag list scrolls if the customer selects lots. */
    #filtered_tags {
        max-height: 170px;
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 4px;
    }

    /* Product Type / Item Type / Price / Colour / Stock scroll
       independently while the filter heading + selections stay put. */
    .filter_options_scroll {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 5px;
        margin-right: -5px;
        overscroll-behavior: contain;

        /* Firefox: keep the desktop scrollbar subtle until hover */
        scrollbar-width: thin;
        scrollbar-color: transparent transparent;
    }

    .filter_options_scroll:hover {
        scrollbar-color: #b8b8b8 transparent;
    }

    /* Chrome / Edge / Safari: hide the thumb until the filter area is hovered */
    .filter_options_scroll::-webkit-scrollbar {
        width: 4px;
    }

    .filter_options_scroll::-webkit-scrollbar-track {
        background: transparent;
    }

    .filter_options_scroll::-webkit-scrollbar-thumb {
        background: transparent;
        border-radius: 10px;
    }

    .filter_options_scroll:hover::-webkit-scrollbar-thumb {
        background: #b8b8b8;
    }

    #filter_container ul#filter_options {
        margin-top: 8px;
        margin-bottom: 4px;
    }
}

/* =========================================================
   Browse catalogue visual refresh
   Preserves the existing sticky desktop filter, mobile drawer
   and product-grid breakpoints while giving them a calmer,
   more consistent Aromaworld finish.
   ========================================================= */

#sitecontainer_browse {
    --browse-ink: #3f383d;
    --browse-muted: #7c7479;
    --browse-accent: #75656f;
    --browse-accent-dark: #62545d;
    --browse-line: #e9e3e7;
    --browse-soft: #f7f4f6;
    --browse-card-shadow: 0 8px 24px rgba(67, 52, 61, 0.07);
}

/* Page heading and sorter */
#browse_tp {
    gap: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9e3e7ab
}

#browse_tp h1 {
    margin: 0;
    color: var(--browse-ink);
    line-height: 1.25;
}

#product_sorter {
    display: flex;
    align-items: center;
    gap: 8px;
}

#product_sorter label {
    color: var(--browse-muted);
}

#product_sorter select {
    min-height: 38px;
    padding: 7px 34px 7px 11px;
    color: var(--browse-ink);
    background-color: #fff;
    border: 1px solid #dcd4d9;
    border-radius: 7px;
    box-shadow: 0 1px 2px rgba(52, 43, 49, 0.04);
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease;
}

#product_sorter select:hover {
    border-color: #bfb3ba;
}

#itemscounter {
    color: #8b8388;
}

/* Desktop filter panel */
#filter_container {
    padding: 17px 16px 15px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--browse-line);
    border-radius: 11px;
    box-shadow: 0 8px 25px rgba(66, 51, 60, 0.08);
}

#filter_container > h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 1px 2px 13px;
    color: var(--browse-ink);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

#filter_container > h3::before {
        content: "";
    width: 3px;
    height: 18px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #d5ccd2;
}

#filter_container > hr {
    width: 100%;
    height: 1px;
    margin: 0 0 11px;
    background: var(--browse-line);
    opacity: 1;
}

#filter_container ul#filter_options {
    margin: 4px 0 0;
}

#filter_container ul#filter_options > li {
    position: relative;
    margin: 0;
    padding: 0;
    background-image: none !important;
    border-top: 1px solid #eee9ec;
}

#filter_container ul#filter_options > li > a.filtactive {
    background-image: none !important;
}

#filter_container ul#filter_options > li:first-child {
    border-top: 0;
}

#filter_container ul#filter_options > li > a {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 43px;
    padding: 10px 29px 10px 3px;
    box-sizing: border-box;
    color: #4c4449;
    font-size: 13.5px;
    font-weight: 350;
    line-height: 1.35;
    text-decoration: none;
    border-radius: 6px;
    transition: color .18s ease, background-color .18s ease;
}

#filter_container ul#filter_options > li > a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 8px;
    width: 7px;
    height: 7px;
    margin-top: -6px;
    border-right: 1.5px solid #8d8389;
    border-bottom: 1.5px solid #8d8389;
    transform: rotate(45deg);
    transition: transform .18s ease, margin-top .18s ease;
}

#filter_container ul#filter_options > li > a:hover {
    color: #282326;
    background-color: #faf8f9;
    text-decoration: none;
}

#filter_container ul#filter_options > li.filtactive > a::after,
#filter_container ul#filter_options > li > a.filtactive::after {
    margin-top: -2px;
    transform: rotate(225deg);
}

#filter_options .filtertoggle {
    margin: 0 0 10px;
    padding: 11px;
    background: #faf8f9;
    border: 1px solid #eee8ec;
    border-radius: 8px;
    box-shadow: inset 0 1px 3px rgba(58, 44, 52, 0.035);
}

.filtertoggle .checkbox_item {
    min-height: 23px;
    margin-bottom: 5px;
    line-height: 1.45;
    cursor: pointer;
}

#filter_options .checkbx {
    width: 16px;
    height: 16px;
    margin: 0 7px 0 0;
    vertical-align: -3px;
    accent-color: var(--browse-accent);
    cursor: pointer;
}

.colour_filter {
    min-height: 29px;
    margin: 0;
    padding: 4px 3px;
    box-sizing: border-box;
    border-radius: 5px;
    transition: background-color .16s ease;
}

.colour_filter:hover {
    background-color: #f2eef1;
}

.colour_filter .colourcode {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-right: 6px;
    opacity: .82;
    box-shadow: 0 1px 3px rgba(45, 36, 41, 0.16);
}

#filter_selection {
    margin: 10px 0 12px;
}

.selected_filters_heading {
    margin-bottom: 7px;
    color: #8a7d85;
    font-size: 10.5px;
    letter-spacing: .07em;
}

#filter_selection .filter_item {
    margin-bottom: 7px;
    padding: 7px 34px 7px 11px;
    color: #4e454a;
    background: #f3eff2;
    border: 1px solid #e6dfe3;
    border-radius: 7px;
    box-shadow: none;
    line-height: 1.4;
    transition: color .16s ease, background-color .16s ease, border-color .16s ease;
    box-shadow: rgb(227 214 221 / 30%) 0px -50px 36px -28px inset;
}

#filter_selection .filter_item:hover {
    color: #332d31;
    background: #ebe5e9;
    border-color: #dbd1d7;
}

#filter_selection .filter_item .closefilter {
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
}

#filter_selection .filter_item .closefilter div {
    width: 15px;
    height: 15px;
    opacity: .5;
}

#filter_selection #clearfilter {
    margin-top: 9px;
    text-align: left;
}

#filter_selection #clearfilter a {
       display: inline-block;
    padding-bottom: 2px;
    margin-top: 6px;
    margin-bottom: 6px;
    color: #756c72;
    border-bottom: 1px solid #e5e5e5;
    text-decoration: none;
}

#slider_val_wrapper {
    align-items: stretch;
    gap: 8px;
}

#value-display {
    flex: 1 1 auto;
    width: auto;
    margin-bottom: 12px;
    padding: 7px 8px;
    color: #4d464a;
    background: #f1edef;
    border: 1px solid #e8e1e5;
    border-radius: 6px;
    box-sizing: border-box;
}

#slider_val_wrapper button {
    width: auto;
    min-width: 60px;
    margin-bottom: 12px;
    padding: 7px 11px;
    background: var(--browse-accent);
    border-radius: 6px;
    font-family: 'Roboto Slab', serif;
    font-size: 12px;
    transition: background-color .18s ease, transform .18s ease;
}

#slider_val_wrapper button:hover {
    background: var(--browse-accent-dark);
}

.slider {
    background-color: #e8e2e6;
}

input.slider_input:checked + .slider {
    background-color: var(--browse-accent);
}

/* Product cards */
#products_wrapper .product_box {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ede8eb;
    border-radius: 11px;
    box-shadow: var(--browse-card-shadow);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

#products_wrapper .product_box .prodimg {
    position: relative;
    overflow: hidden;
    background: #fbfafb4d
}

#products_wrapper .product_box .prodimg img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 7px;
    box-sizing: border-box;
    object-fit: contain;
    transform: none;
    transition: transform .24s ease;
}

#products_wrapper .product_box .proddetails {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 13px 12px 14px;
}

#products_wrapper .product_box .proddetails h3 {
    min-height: 2.75em;
    margin: 0 0 9px;
    color: var(--browse-ink);
    font-size: 14.5px;
    line-height: 1.38;
}

#products_wrapper .product_box .proddetails h3 a {
    color: inherit;
    font-weight: 350;
    transition: color .16s ease;
}

#products_wrapper .product_box .proddetails h3 a:hover {
    color: #6d5c66;
}

#products_wrapper .product_box hr {
    border: 0;
    height: 1px;
    width: 90%;
    background: -webkit-gradient(linear, 0 0, 100% 0, from(transparent), to(transparent), color-stop(50%, #dadada));
    opacity: 0.7;
}

#products_wrapper .product_box .proddetails .prodprice {
    margin: 9px 0 11px;
    color: #4e444a;
    font-size: 17px;
    font-weight: 400;
}

#products_wrapper .product_box .proddetails button.qview {
    align-self: center;
    margin-top: auto;
    margin-bottom: 0;
    padding: 7px 13px;
    color: #6b6066;
    background: #fff;
    border: 1px solid #ddd5da;
    border-radius: 999px;
    box-shadow: none;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

#products_wrapper .product_box .proddetails button.qview:hover {
    color: #fff;
    background: var(--browse-accent);
    border-color: var(--browse-accent);
}

.srater_container span {
    color: #91888e;
}

#loadmore {
    border: 1px solid var(--browse-accent);
    border-radius: 999px;
    background: var(--browse-accent);
    box-shadow: 0 5px 14px rgba(73, 56, 67, 0.14);
    font-family: 'Roboto Slab', serif;
    font-weight: 300;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

#loadmore:hover {
    background: var(--browse-accent-dark);
    border-color: var(--browse-accent-dark);
    transform: translateY(-1px);
}

/* Keyboard users get the same clear state as pointer users. */
#filter_container a:focus-visible,
#product_sorter select:focus-visible,
#products_wrapper a:focus-visible,
#products_wrapper button:focus-visible,
#loadmore:focus-visible,
.filter_wrap .product_filter:focus-visible {
    outline: 3px solid rgba(117, 101, 111, 0.24);
    outline-offset: 2px;
}

@media (hover: hover) and (min-width: 851px) {
    #products_wrapper .product_box:hover {
        transform: translateY(-3px);
        border-color: #ded4da;
        box-shadow: 0 13px 31px rgba(67, 52, 61, 0.12);
    }

    #products_wrapper .product_box:hover .prodimg img {
        transform: scale(1.018);
    }
}

/* Mobile filter launcher and drawer: same behaviour, cleaner surface. */
@media (max-width: 850px) {
    #browse_tp {
        gap: 12px;
        padding-bottom: 10px;
    }

    .filter_wrap .product_filter {
     min-height: 42px;
    margin-top: 9px;
    padding: 9px 14px;
    color: #515151;
    background: #75656f3d;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(67, 52, 61, 0.13);
    font-weight: 350;
    transition: background-color .18s ease, border-color .18s ease;
    }

    .filter_wrap .product_filter:hover {
        background: var(--browse-accent-dark);
        border-color: var(--browse-accent-dark);
    }

    #filter_container {
        padding: 27px 21px 24px;
        background: #fbfafb;
        border: 0;
        border-left: 1px solid #e4dde1;
        border-radius: 0;
        box-shadow: -12px 0 35px rgba(37, 28, 34, 0.16);
    }

    #filter_container > h3 {
        padding-bottom: 14px;
        font-size: 19px;
    }

    #filter_container .hidefiltermenu {
        padding: 9px;
        background: #fff;
        border: 1px solid #e4dde1;
        border-right: 0;
        border-radius: 9px 0 0 9px;
        box-shadow: -5px 3px 14px rgba(45, 34, 41, 0.10);
    }

    #filter_container .hidefiltermenu div {
        width: 23px;
        height: 23px;
        opacity: .72;
    }

    #filter_selection .filter_item {
        color: #493f45;
        background: #f0ebee;
        border-color: #e0d7dc;
    }

    #filter_selection .filter_item:hover {
        color: #312b2e;
        background: #e7dfe4;
    }

    #filter_selection .filter_item[data-typeid="item_type"] {
        background: #e4dde2;
        color: #3f373c;
    }

    #resp_filtertags .ftag {
        min-height: 32px;
        padding: 5px 29px 5px 11px;
        background: var(--browse-accent);
        border: 1px solid rgba(255, 255, 255, 0.38);
        box-shadow: 0 3px 9px rgba(57, 43, 51, 0.13);
    }
}

@media (max-width: 500px) {
    #product_sorter {
        gap: 6px;
    }

    #product_sorter select {
        min-height: 36px;
        padding: 6px 27px 6px 9px;
        border-radius: 6px;
    }

    #products_wrapper .product_box {
        border-radius: 9px;
        box-shadow: 0 6px 18px rgba(67, 52, 61, 0.075);
    }

    #products_wrapper .product_box .prodimg img {
        padding: 4px;
    }

    #products_wrapper .product_box .proddetails {
        padding: 10px 8px 11px;
    }

    #products_wrapper .product_box .proddetails h3 {
        min-height: 2.7em;
        margin-bottom: 7px;
        font-size: 13px;
        line-height: 1.35;
    }

    #products_wrapper .product_box .proddetails .prodprice {
        margin: 7px 0 9px;
        font-size: 16px;
    }

    #products_wrapper .product_box .proddetails button.qview {
        width: 100%;
        padding: 7px 8px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #filter_container *,
    #products_wrapper .product_box,
    #products_wrapper .product_box .prodimg img,
    #loadmore {
        scroll-behavior: auto;
        transition: none !important;
    }
}

@media (max-width: 850px) {
    /* Preserve the existing full-height mobile filter behaviour. */
    .filter_options_scroll {
        overflow: visible;
        min-height: auto;
    }

    #filtered_tags {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    #filter_selection .filter_item[data-typeid="item_type"] {
        margin-left: 14px;
        width: calc(100% - 14px);
        background-color: #e2dde2;
        color:#000;
    }


    #resp_filtertags .ftag[data-typeid="item_type"]::before {
        content:"";
        display:inline-block;
        width:12px;
        height:12px;
        margin-right:6px;
        flex-shrink:0;
        background-image:url("../../images/right-arrow2.png");
        background-repeat:no-repeat;
        background-position:center;
        background-size:contain;
        opacity:0.38;
    }
}

/* Keep the refined selected-item palette after the legacy mobile rules above. */
@media (max-width: 850px) {
    #filter_selection .filter_item[data-typeid="item_type"] {
        background: #e4dde2;
        color: #3f373c;
    }
}
