/* CSS */
#wpadminbar{
    z-index: 999;
} 
.rotating-3d-left svg,
.rotating-3d-right svg{
    width: 54px;
    height: 54px;
}


.awards-slider-wrapper{
    display: flex;
    gap: 100px;
    overflow: hidden;
    font-family: "Raleway", Sans-serif;
}

.content-block{
    max-width: 600px;
    width: 100%;
    position: relative;
    z-index: 9;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.content-block.dark .content-block-header h2{
    color: #222;
}

.content-block.dark .content-block-header p{
    color: #222;
}

.content-block-header h2{
    font-size: 4rem;
    color: #fff;
}

.content-block-header p{
    color: #fff;
    font-size: 1.2rem;
}
.bf2-slider,
.static-swiper{
    flex: 1;
    position: relative;
    overflow: hidden;
    z-index: 8;
}

.award{
    display: flex;
    flex-direction: column;
    padding: 40px;
    border-radius: 12px;
    margin: 20px;
    background-color: rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.5);
    min-height: 600px;
}
.award svg{
    width: 50px;
    height: 50px;
}
.award h3{
    font-size: 20px;
    color: #fff;
}
.award p{
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: 300;
}

.award .slide-btn{
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    border-radius: 99px;
    background-color: #fff;
    color: #222;
    padding: 10px 30px;
    font-weight: 600;
    margin-top: auto;
}
  
.award .slide-btn svg{
    width: 16px;
    height: 16px;
    fill: #222;
    stroke: #222;
}

.content-block-nav{
    display: flex;
    align-items: center;
    gap: 20px;
}
.content-block-nav .custom-arrow{
    display: grid;
    place-content: center;
    width: 64px;
    height: 64px;
    cursor: pointer;
    border-radius: 50%;
    background-color: #fff;
}

.content-block-nav .custom-arrow svg{
    width: 34px;
    height: 34px;
    fill: #222;
    stroke: #222;
}

.content-block-nav .custom-arrow.swiper-button-disabled{
    opacity: 0.5;
}
/* visual disabled state for your custom div buttons */
.bf2-prev.disabled,
.bf2-next.disabled,
.pmr-prev.disabled,
.pmr-next.disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none; /* prevents clicks */
  filter: grayscale(0.2);
}


.content-block-nav.dark .custom-arrow{
    display: grid;
    place-content: center;
    width: 64px;
    height: 64px;
    cursor: pointer;
    border-radius: 50%;
    background-color: #222222;
}

.content-block-nav.dark .custom-arrow svg{
    width: 34px;
    height: 34px;
    fill: #fff;
    stroke: #fff;
}

.review-stars {
    display: inline-block;
    margin-bottom: 8px; /* spacing between stars and text */
}

.review-stars .star {
    color: #222; /* gold color for filled stars */
    font-size: 2rem; /* adjust size as needed */
    margin-right: 2px;
}

.review-stars .star.empty {
    color: #ccc; /* grey color for empty stars if needed */
}

.swiper-slide-active .review{
    background-color: #222;
}

.swiper-slide-active .review p{
    color: #fff;
}

.swiper-slide-active .review-stars .star {
    color: gold; 
}

.review{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    border-radius: 12px;
    background-color: #fff;
    min-height: 400px;
}
.review .google-review{
    margin-bottom: 20px;
}
.review .google-review svg{
    width: 50px;
    height: 50px;
    line-height: 0;
}

.review h3{
    font-size: 2rem;
    color: #222;
}
.review p{
    display: block;
    color: #222;
    font-size: 0.825rem;
}

/* Misc */
.bf-border-text{
    display: inline-flex;
    border: 2px solid #222;
    border-radius: 99px;
    padding: 5px 20px;
}

.bf-placeholder-card {
    padding: 8px;
    border-radius: 6px;
    background: #f5f5f5;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;

    /* Shimmer effect */
    background-image: linear-gradient(
        90deg,
        rgba(245,245,245,0.5) 0%,
        rgba(245,245,245,0.8) 50%,
        rgba(245,245,245,0.5) 100%
    );
    background-size: 200% 100%;
    background-repeat: no-repeat;
    animation: loading 1.5s linear infinite;
}

@keyframes loading {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}


.woocommerce .products ul::after, .woocommerce .products ul::before, .woocommerce ul.products::after, .woocommerce ul.products::before{
    content: none;
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{
    width: 100%;
}
#bf-products-wrap{
    padding: 20px 20px 50px 20px;
}
.products.bf-grid{
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr))!important;
  gap: 20px;
  padding: 20px;
  transition: all 0.3s ease;
  max-width: 1450px;
  margin: 0 auto!important;
}
.woocommerce ul.products.bf-grid li.product a img{
    border: 1px solid #eee;
    border-radius: 12px;
    margin: 0;
}

.bf-products h2.woocommerce-loop-product__title{
    color: #222;
}

.bf-products-header{
    padding-block: 10px;
    border-bottom: 1px solid #ececec;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bf-products-header-container{
    max-width: 1450px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Sticky header styles for bf-products-header */
.bf-products-header {
  /* default styling kept as-is; add a background so the fixed header doesn't show content underneath */
  background: #fff; /* change if needed */
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.bf-products-header.bf-fixed {
  position: fixed;
  top: 0;
  z-index: 9999;
  /* left and width will be set inline by JS to match the container */
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* placeholder to maintain layout when header becomes fixed (JS toggles display) */
.bf-header-placeholder {
  display: none;
  width: 100%;
  height: 0;
}
.bf-header-placeholder.active {
  display: block;
}

.bf-products-header .header-left{
    display: flex;
    align-items: center;
    gap: 10px;
}
.bf-products-header .header-left .filter-title{
    font-size: 0.925rem;
    font-weight: bold;
    color: #222;
}

/* Container */
.bf-category-dropdown {
  position: relative;
  display: inline-block;
  min-width: 200px;
  font-size: 14px;
}

/* Toggle button */
.bf-dropdown-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 6px 6px;
  background: #ececec;
  border-radius: 99px;
  cursor: pointer;
  border: none;
  color: #222;
  font-family: "Raleway", Sans-serif;
  font-weight: bold;
  font-size: 0.825rem;
}

.bf-dropdown-label{
    background-color: #fff;
    border-radius: 99px;
    padding: 5px 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.bf-dropdown-toggle:hover{
    background-color: #ececec;
    color: #222;
}
.bf-dropdown-toggle:focus{
    background-color: #ececec;
    color: #222;
}   
/* caret */
.bf-dropdown-caret {
  margin-left: 8px;
  line-height: 0;
}
.bf-dropdown-caret svg{
    width: 24px;
    height: 24px;
    fill: #222222;
    line-height: 0;
}

/* List */
.bf-dropdown-list {
  position: absolute;
  left: 0;
  right: 0;
  margin: 6px 0 0 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  max-height: 260px;
  overflow: auto;
  z-index: 9999;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  display: none; /* toggled by JS */
  font-family: "Raleway", Sans-serif;
}

/* Item */
.bf-dropdown-item {
  padding: 8px 10px;
  cursor: pointer;
  border-radius: 4px;
}

/* Hover and active */
.bf-dropdown-item:hover,
.bf-dropdown-item[aria-selected="true"] {
  background: #f5f5f5;
}

/* When open */
.bf-category-dropdown.open .bf-dropdown-list {
  display: block;
}


.bf-container { display:flex; gap:20px; width:100%; align-items:flex-start; font-family: "Raleway", Sans-serif;}

.bf-sidebar { 
    width: 280px; 
    padding:16px; 
    display:block; 
}

.bf-products { flex:1; }
.bf-pagination { 
    margin-top:18px; 
    display:flex; 
    gap:8px; 
    flex-wrap:wrap;
    justify-content: center;
    padding-block: 40px 20px;
}

.bf-pagination button { 
    padding:6px 10px; 
    border: none !important;; 
    background:#fff; 
    color:#222;
    cursor:pointer; 
    border-radius:4px; 
}
.bf-pagination button:hover{
    background-color: transparent;
}
.bf-pagination button:focus{
    background-color: transparent;
}
.bf-controls { margin-top:12px; display:flex; gap:8px; }
.bf-toggle-btn { padding:8px 12px; border-radius:6px; border:1px solid #333; background:#fff; cursor:pointer; font-size: 0.825rem; font-weight: 600; }
.bf-no-results { padding:20px; text-align:center; color:#666; }

.bf-product-card{
    position: relative;
}

.bf-prod-fav{
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 10px;
    right: 10px;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background-color: #f5f5f5;
}
.bf-prod-fav svg{
    width: 24px;
    height: 24px;
}

.bf-product-card:hover .bf-prod-fav{
    opacity: 1;
    visibility: visible;
}

.bf-product-card .bf-prod-img{
    border-radius:6px;
    border:1px solid #eee;
    width: 100%;
    height: 250px;
    display: flex;
    justify-content: center;
}
.bf-product-card .bf-prod-img img{
    object-fit: contain;
    height: 100%;
}

.bf-product-card .bf-prod-title{
    font-size: 1.1rem;
    color: #222;
    margin: 0;
    padding-top: 10px;
}

.bf-product-card .bf-prod-brand{
    font-size: 0.925rem;
    color: #707070;
}
.bf-product-card .bf-prod-price{
    font-size: 0.925rem;
    color: #222;
    font-weight: bold;
}
.bf-product-card .bf-prod-brand-price{
    display: flex;
    justify-content: space-between;
}

.bf-toggle-btn{
    border-radius: 99px;
    background-color: #222;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
}
.bf-toggle-btn:hover{
    background-color: #222;
}
.bf-toggle-btn:focus{
    background-color: #222;
}

.bf-toggle-btn svg{
    width: 18px;
    height: 18px;
}

.bf-toggle-switch {
    position: relative;
    display: flex;
    background-color: #ececec;
    padding: 6px; /* padding around the slider */
    border-radius: 30px;
    margin-left: 10px;
    width: 232px; /* slightly wider for padding */
    box-sizing: border-box;
    font-family: "Raleway", Sans-serif;
}

.bf-toggle-option {
    flex: 1;
    display: flex; /* new: use flex to center text */
    align-items: center; /* vertical center */
    justify-content: center; /* horizontal center */
    padding: 10px 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
    z-index: 2;
    width: 100px;
    position: relative;
    transition: color 0.3s, font-weight 0.3s;
    color: #222;
}

.bf-toggle-option:hover {
    color: #222;
    background-color: transparent;
}

.bf-toggle-option:focus {
    outline: none;
    background-color: transparent;
    color: #222;
}

.bf-toggle-option.active {
    color: #222;
    font-weight: bold;
}

.bf-toggle-slider {
    position: absolute;
    top: 6px; /* matches container padding */
    left: 6px;
    width: calc(50% - 12px); /* half width minus horizontal padding */
    height: calc(100% - 12px); /* full height minus vertical padding */
    background-color: #fff;
    border-radius: 30px;
    transition: transform 0.3s, width 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    z-index: 1;
}


@media (max-width: 900px) {
    .bf-container { flex-direction:column; }
    .bf-grid { grid-template-columns: repeat(2,1fr); }
    .bf-sidebar { width:100%; }
}

@media (max-width: 480px) {
    .bf-grid { grid-template-columns: repeat(1,1fr); }
}

/* Brands */
.bf-brands-grid{
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr))!important;
  gap: 20px;
  padding: 0;
  transition: all 0.3s ease;
  font-family: "Poppins", Sans-serif;
}

.bf-brand-link{
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.bf-brand-link:hover .bf-brand-overlay{
    display: flex;
}

.bf-brand-overlay{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,0.2);
    display: none;
    transition: all ease-in-out 250ms;
    z-index: 2;
}

.bf-brand-item-container{
    display: flex;
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 20px;
    border-radius: 12px;
    height: 250px;
    overflow: hidden;
}

.bf-brand-item .bf-brand-img{
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 20px;
    border-radius: 50%;
    background-color: #fff;
    z-index: 3;
}
.bf-brand-item .bf-brand-img img{
    object-fit: contain;
    height: 100%;
}

.bf-brand-item .bf-brand-name{
    color: #0D2233;
    font-weight: 700;
	text-transform: capitalize;
}

.bf-brand-item .bf-brand-description{
    color: #7A7A7A;
    font-weight: 300;
    font-size: 12px;
}

/* Product */
.bf-product .add_to_cart_button {
    width: 100%;
    display: none!important;
    justify-content: center;
}


/* FTG technical info table - modern flat look */
/* Container */
.ftg-technical-info-wrapper {
    max-width: 100%;
    margin: 1.5rem 0;
    font-family: "Poppins", Sans-serif;
}

/* Title */
.ftg-technical-info-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
    border-left: 4px solid #222;
    padding-left: 8px;
}

/* Table */
.ftg-technical-info {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

/* Rows */
.ftg-technical-info tbody tr {
    border-bottom: 1px solid #e5e7eb;
}
.ftg-technical-info tbody tr:last-child {
    border-bottom: none;
}

/* Cells */
.ftg-technical-info td.label {
    font-weight: 600;
    color: #1f2937;
    padding: 8px 12px;
    width: 40%;
    background: #f9fafb;
}
.ftg-technical-info td.value {
    color: #374151;
    padding: 8px 12px;
    width: 60%;
}

/* Stripe effect */
.ftg-technical-info tbody tr:nth-child(odd) td.value {
    background: #fefefe;
}
.ftg-technical-info tbody tr:nth-child(even) td.value {
    background: #f7f9fb;
}

/* Responsive */
@media (max-width: 480px) {
    .ftg-technical-info, .ftg-technical-info tbody, .ftg-technical-info tr, .ftg-technical-info td {
        display: block;
        width: 100%;
    }
    .ftg-technical-info td.label {
        background: none;
        padding-left: 0;
        margin-bottom: 4px;
    }
    .ftg-technical-info td.value {
        padding-left: 0;
        text-align: left;
    }
}

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb{
    margin: 0;
}

.bf-fusion-form .gform-theme--foundation .gform_fields{
    row-gap: 10px;
}

.bf-fusion-form .gform_button.button{
    background-color: transparent;
    font-family: "Raleway", Sans-serif;
    font-weight: 600;
    background-image: linear-gradient(31deg, #244158 0%, #244158 49%);
    border-radius: 99px 99px 99px 99px!important;
}
.bf-hours-table tr{
    background-color: transparent;
}
.bf-hours-table tr:hover{
    background-color: transparent;
}
.bf-hours-table td{
    padding: 0;
    border: none;
    background-color: transparent!important;
}

.buy_now_button.button.alt,
.single_add_to_cart_button.button.alt{
    background-color: transparent;
    font-family: "Poppins", Sans-serif;
    font-weight: 600;
    background-image: linear-gradient(31deg, #244158 0%, #244158 49%);
    border-radius: 99px 99px 99px 99px!important;
}
.buy_now_button.button.alt:hover,
.single_add_to_cart_button.button.alt:hover{
    background-image: linear-gradient(31deg, #244158 0%, #244158 49%);
}

/* exact-like Webflow arrow button behavior */
/* vars: tweak pad-right if you changed the anchor padding */
.button-arrow {
    --icon-size: 40px;
    --pad-right: 10px;
    --radius: 1.275rem;
    --pill-radius: 1.125rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 5px var(--pad-right) 5px 10px;
    min-width: 12.5rem;
    height: 50px;
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    color: #0a0a0a;
    transition: color .3s ease, background-color .3s ease;
    text-decoration: none;
        font-family: "Poppins", Sans-serif;
}
.button-arrow.black{
    background: #234159;
    color: #fff;
}
/* content above background */
.button_content { position: relative; z-index: 4; }

/* the small pill at the icon side; anchored to the right */
.button_bg {
    --g1: #244157;
    --g2: #244157;
    background-image: linear-gradient(72deg, var(--g1), var(--g2));
    position: absolute;
    right: 8px;
    top: 50%;
    width: var(--icon-size);
    height: var(--icon-size);
    transform: translateY(-50%);
    border-radius: var(--pill-radius);
    z-index: 2;
    pointer-events: none;
    transition: width 360ms cubic-bezier(.2, .9, .3, 1), height 360ms cubic-bezier(.2, .9, .3, 1), right 360ms cubic-bezier(.2, .9, .3, 1), top 360ms cubic-bezier(.2, .9, .3, 1), transform 360ms cubic-bezier(.2, .9, .3, 1), border-radius 360ms ease;
}

.button-arrow.black .button_bg{
   --g1: #fff;
    --g2: #fff; 
}

.button-arrow.black .button_icon svg {
    fill: #222;
}
.button-arrow.black:hover{
    color: #222;
}

/* icon sits above the pill and stays the same */
.button_icon {
    position: relative;
    z-index: 5;
    width: var(--icon-size);
    height: var(--icon-size);
    display: grid;
    place-items: center;
    pointer-events: none;
}

/* svg uses currentColor so it becomes white on hover */
.button_icon svg { width: 20px; height: 20px; display:block; fill: #fff; }

/* hover: expand pill to cover full button, anchored at right so grows leftwards */
.button-arrow:hover .button_bg {
    /* expand to cover the whole button */
    width: 100%;
    height: 100%;
    /* move to align to the top-right corner (so height 100% sits flush) */
    right: 0;
    top: 0;
    transform: translateY(0);
    border-radius: var(--radius); /* match the button's corners when full */
}

/* flip text & svg color for contrast */
.button-arrow:hover,
.button-arrow:where(.w-variant-4e345832-ff8c-87de-2ddf-5896a31f1940) {
    color: #fff;
}

/* responsive tweak */
@media (max-width: 480px) {
    .button_bg, .button_icon { width: 2.5rem; height: 2.5rem; }
}

.bf-products .bf-product .attachment-woocommerce_thumbnail {
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 10px;
}

   
.bf-product-card-content{
    padding: 20px;
}
 
.bf-card-product-brand {
    font-size: 14px;
    color: #666;
    margin-top: 4px;
    margin-bottom: 8px;
}
 
/* Custom Filters */
/* Takealot-like category filter styles */
.s1-filters{
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: #fbfaf8;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    z-index: 1009;
    transform: translate(-100%);
    transition: all ease-in-out 250ms ;
    padding: 20px;
}
.s1-filters.active{
    transform: translate(0);
}

.s1-mobile-filters-top{
    display: flex;
    justify-content: center;
    padding-block: 10px;
}
.s1-mobile-filters-top h3{
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.925rem;
}
.mobile-filter-btn-wrap{
    width: 50%;
}

.mobile-filter-btn{
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #fff;
    border: none;
    height: 100%;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}
.mobile-filter-btn svg{
    width: 16px;
    height: 16px;
    line-height: 0;
}
.mobile-filter-close-btn{
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    padding: 0;
        font-size: 2em;
}
.mobile-filter-close-btn svg{
    width: 18px;
    height: 18px;
}
.s1-products-top{
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 20px;
}
.woocommerce .woocommerce-ordering, .woocommerce-page .woocommerce-ordering{
    float: none;
    margin: 0;
    width: 50%;
}
.products-count{
    display: none;
}


.s1-filters-wrap{
    color: #222;
    max-width: 100%;
     background: #ffffff;
        border: 1px solid #eaedf0;
        border-radius: 8px;
}
.tl-cat-filter {
    color: #222;
    max-width: 100%;
     background: #ffffff;
        border: 1px solid #eaedf0;
        border-radius: 8px;
}

/* small-screen adjustments */
@media (min-width: 55em) {
    .woocommerce .woocommerce-ordering, .woocommerce-page .woocommerce-ordering{
        width: auto;
    }
    .s1-mobile-filters-top{
        display: none;
    }
    .s1-filters{
        background-color: transparent;
        position: relative;
        top: auto;
        left: auto;
        z-index: 1;
        transform: translate(0);
        height: auto;
        width: auto;
        padding: 0;
    }
    .mobile-filter-close-btn,
    .mobile-filter-btn-wrap{
        display: none;
    }
    .products-count{
        display: flex;
    }
    .s1-filters-wrap{
        background: #ffffff;
        border: 1px solid #eaedf0;
        border-radius: 8px;
        color: #222;
        box-shadow: 0 1px 2px rgba(18,24,33,0.03);
        max-width: 320px;
    }
    .tl-cat-filter {
        background: #ffffff;
        border: 1px solid #eaedf0;
        border-radius: 8px;
        color: #222;
        box-shadow: 0 1px 2px rgba(18,24,33,0.03);
        max-width: 320px;
    }
}

.filter-title{
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f7f4fb;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    letter-spacing: 0.2px;
}

.tl-filter-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f7f4fb;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #4d4d4f;
    letter-spacing: 0.2px;
}

.tl-cat-filter-title {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    letter-spacing: 0.2px;
}

.tl-cat-filter-back {
    font-size: 16px;
    font-weight: 600;
    color: #234159;
    text-decoration: none;
    display: flex;
    gap: 5px;
    align-items: center;
    width: 100%;
    align-items: center;
}

.tl-cat-filter-back svg{
    width: 18px;
    height: 18px;
    line-height: 0;
}

/* list */
.tl-cat-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 320px;
    overflow: auto;
    font-family: 'Poppins', sans-serif;
}

/* item */
.tl-cat-item {
    border-radius: 6px;
}

.tl-cat-item a {
    display: block;
    padding: 10px 12px;
    color: #262626;
    text-decoration: none;
    border-left: 4px solid transparent;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
    font-size: 14px;
    line-height: 1.2;
}

/* hover/active states */
.tl-cat-item a:hover {
    background: #23415912;
    color: #234159;
}

.tl-cat-active a {
    background: #f7f4fb;
    border-left-color: #234159;
    color: #234159;
    font-weight: 700;
}

/* small-screen adjustments */
@media (max-width: 55em) {
    .tl-cat-filter {
        max-width: 100%;
        padding: 10px;
    }
    .tl-cat-filter-list {
        max-height: 220px;
    }
}

/* thin custom scrollbar for WebKit */
.tl-cat-filter-list::-webkit-scrollbar {
    width: 4px;
}
.tl-cat-filter-list::-webkit-scrollbar-track {
    background: transparent;
}
.tl-cat-filter-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

/* Takealot-style stock filter */
.tl-stock-filter { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.tl-stock-checkbox { display:inline-flex; align-items:center; gap:8px; background:transparent; padding:6px 8px; border-radius:6px; cursor:pointer; user-select:none; border:1px solid transparent; transition:background .12s, border-color .12s; }
.tl-stock-checkbox input[type="checkbox"] { width:16px; height:16px; accent-color:#234159; }
.tl-stock-checkbox:hover { background:#f7f4fb; border-color: rgba(100,68,195,0.08); }
.tl-stock-checkbox input[type="checkbox"]:checked + .tl-stock-label { font-weight:700; color:#234159; }
.tl-stock-label { font-size:14px; color:#333; }

/* small screens */
@media (max-width:480px){
  .tl-stock-filter { gap:8px; }
  .tl-stock-checkbox { padding:8px; }
}


/* Brand filter container — limit height and allow scroll */
.tl-brand-filter {
    display: flex;
    flex-direction: column;
    max-height: 220px;
    overflow-y: auto;
}

.tl-brand-checkbox{
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 12px;
    color: #262626;
    cursor: pointer;
    border-left: 2px solid transparent;
}
.tl-category-label{
    font-size: 0.825rem;
}
/* hover/active states */
.tl-brand-checkbox:hover {
    background: #23415912;
    color: #234159;
}

/* Preferred: use :has() to style the label when its checkbox is checked (modern browsers) */
.tl-brand-checkbox:has(input[type="checkbox"]:checked) {
    border-left: 2px solid;
    border-color: #234159;
    background: #23415912;
}

/* Fallback for browsers without :has(): style the adjacent label text to give similar visual feedback */
.tl-brand-checkbox input[type="checkbox"]:checked + .tl-brand-label {
    color: #234159;
    font-weight: 700;
}
.tl-brand-label{
    color: #262626;
    font-size: 14px;
    line-height: 1.2;
}
    

/* Colour swatches */
.ftg-colour-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 20px;
}
.ftg-colour-swatches-label {
    width: 100%;
    font-weight: 600;
    margin-bottom: 4px;
}
.ftg-colour-swatches-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ftg-colour-swatches--mini .ftg-colour-swatch,
.ftg-colour-swatches--mini .ftg-colour-swatch--selected {
    width: 20px;
    height: 20px;
    border-width: 1.5px;
}
.ftg-colour-swatches--mini .ftg-colour-swatch--selected {
    border-width: 2px;
}
.ftg-colour-swatch {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
}
.ftg-colour-swatch:hover {
    border-color: #333;
    transform: scale(1.1);
}
.ftg-colour-swatch--selected {
    border: 3px solid #000;
    box-shadow: 0 0 0 2px #fff inset;
    cursor: default;
    pointer-events: none;
}
/* scrollbar for brands */
.tl-brand-filter::-webkit-scrollbar {
    width: 4px;
}
.tl-brand-filter::-webkit-scrollbar-track {
    background: transparent;
}
.tl-brand-filter::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 6px;
}

/* ensure brand checkboxes wrap nicely on small screens */
@media (max-width: 480px) {
    .tl-brand-filter { max-height: 160px; gap:6px; }
}

.tl-filter-content {
    display: none;
    transition: max-height 0.3s ease;
}
.tl-filter-wrap.active .tl-filter-content {
    display: block;
}
.tl-filter-title {
    cursor: pointer;
}

.s1-box-shadow{
    box-shadow: 0 2px 2px 0 rgba(77, 77, 79, 0.08), 0 0 2px 0 rgba(77, 77, 79, 0.16);
}

/* Refined filter panel */
.s1-filters {
    --bfwc-brand: #234159;
    --bfwc-brand-dark: #173148;
    --bfwc-ink: #1d2c39;
    --bfwc-muted: #6a7480;
    --bfwc-line: #e7edf2;
    background: rgba(255,255,255,0.92) !important;
}

.bfwc-filter-panel {
    width: 100% !important;
    max-width: 330px !important;
    background: #ffffff !important;
    border: 1px solid var(--bfwc-line) !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 18px rgba(35, 65, 89, 0.06) !important;
    overflow: hidden !important;
    font-family: "Poppins", sans-serif !important;
}

.bfwc-filter-panel__header {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 18px 16px 16px !important;
    color: var(--bfwc-brand-dark) !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

.bfwc-filter-panel__icon,
.bfwc-filter-section__icon {
    display: inline-flex !important;
    width: 18px !important;
    height: 18px !important;
    color: var(--bfwc-brand) !important;
}

.bfwc-filter-panel__icon svg,
.bfwc-filter-section__icon svg,
.bfwc-filter-section__chevron svg {
    width: 100% !important;
    height: 100% !important;
}

.bfwc-filter-form {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 16px 16px !important;
}

.bfwc-filter-section {
    border-top: 1px solid var(--bfwc-line) !important;
}

.bfwc-filter-section__toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 16px 0 14px !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--bfwc-brand-dark) !important;
    text-align: left !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

.bfwc-filter-section__label {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
}

.bfwc-filter-section__chevron {
    display: inline-flex !important;
    width: 16px !important;
    height: 16px !important;
    color: var(--bfwc-brand) !important;
    transition: transform 0.2s ease !important;
}

.bfwc-filter-section.is-open .bfwc-filter-section__chevron {
    transform: rotate(180deg) !important;
}

.bfwc-filter-section__content {
    display: none !important;
    padding: 0 0 14px !important;
}

.bfwc-filter-section.is-open .bfwc-filter-section__content {
    display: block !important;
}

.bfwc-filter-links,
.bfwc-filter-options {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    max-height: 260px !important;
    overflow: auto !important;
}

.bfwc-filter-links {
    margin: 0 !important;
    padding: 10px !important;
    list-style: none !important;
}

.bfwc-filter-links-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
    padding: 10px 12px !important;
    border: 1px solid #edf2f6 !important;
    border-radius: 10px !important;
    background: #f9fbfc !important;
}

.bfwc-filter-links-nav__context {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.bfwc-filter-links-nav__caption {
    color: var(--bfwc-muted) !important;
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

.bfwc-filter-links-nav__current {
    color: var(--bfwc-brand-dark) !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

.bfwc-filter-links-nav__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.bfwc-filter-links-nav__link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    border: 1px solid rgba(35,65,89,0.12) !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #234159 !important;
    text-decoration: none !important;
    font-size: 0.84rem !important;
    font-weight: 500 !important;
}

.bfwc-filter-links-nav__link:hover {
    color: #0f2f4a !important;
    border-color: rgba(35,65,89,0.28) !important;
    background: #f8fafb !important;
}

.bfwc-filter-links-nav__link-icon {
    display: inline-flex !important;
    width: 14px !important;
    height: 14px !important;
}

.bfwc-filter-links__item a,
.bfwc-filter-option {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 40px !important;
    padding: 9px 0 !important;
    border-radius: 8px !important;
    color: #2e3d4b !important;
    text-decoration: none !important;
    font-size: 0.93rem !important;
    transition: background-color 0.18s ease, color 0.18s ease !important;
}

.bfwc-filter-links__item.is-active a {
    background: linear-gradient(90deg, rgba(35,65,89,0.08) 0%, rgba(35,65,89,0.02) 100%) !important;
    color: var(--bfwc-brand-dark) !important;
    font-weight: 600 !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
}

.bfwc-filter-links__item a:hover,
.bfwc-filter-option:hover {
    background: rgba(35,65,89,0.05) !important;
}

.bfwc-filter-links__text {
    flex: 1 1 auto !important;
}

.bfwc-filter-links__count {
    margin-left: auto !important;
    color: var(--bfwc-brand-dark) !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
}

.bfwc-filter-option {
    position: relative !important;
    cursor: pointer !important;
}

.bfwc-filter-option__input {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    accent-color: var(--bfwc-brand) !important;
}

.bfwc-filter-option__text {
    color: #3a4652 !important;
    line-height: 1.35 !important;
}

.bfwc-filter-option__count {
    margin-left: auto !important;
    color: var(--bfwc-muted) !important;
    font-size: 0.9em !important;
}

.bfwc-filter-all {
    display: block !important;
    width: 100% !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #3a4652 !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 0.94rem !important;
    text-align: left !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

.bfwc-price-range {
    position: relative !important;
    padding-top: 8px !important;
}

.bfwc-price-range__track {
    position: absolute !important;
    top: 15px !important;
    left: 0 !important;
    right: 0 !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: rgba(35,65,89,0.24) !important;
}

.bfwc-price-range__progress {
    position: absolute !important;
    top: 0 !important;
    height: 100% !important;
    border-radius: inherit !important;
    background: var(--bfwc-brand) !important;
}

.bfwc-price-range__input {
    position: absolute !important;
    left: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    background: transparent !important;
    pointer-events: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.bfwc-price-range__input::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50%;
    background: var(--bfwc-brand);
    pointer-events: auto;
    -webkit-appearance: none;
    appearance: none;
}

.bfwc-price-range__input::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50%;
    background: var(--bfwc-brand);
    pointer-events: auto;
}

.bfwc-price-range__input::-webkit-slider-runnable-track,
.bfwc-price-range__input::-moz-range-track {
    height: 3px;
    background: transparent;
}

.bfwc-price-range__values {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: 28px !important;
    color: #413a33 !important;
    font-size: 0.9rem !important;
    gap: 12px !important;
}

.bfwc-price-range__values span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 82px !important;
    min-height: 36px !important;
    padding: 0 10px !important;
    border: 1px solid var(--bfwc-line) !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--bfwc-brand-dark) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}

.bfwc-filter-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding-top: 14px !important;
    margin-top: 2px !important;
    border-top: 0 !important;
}

.bfwc-filter-actions__apply {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: linear-gradient(180deg, #234159 0%, #173148 100%) !important;
    color: #fff !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

.bfwc-filter-actions__clear {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    color: var(--bfwc-brand-dark) !important;
    text-decoration: none !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
}

.bfwc-filter-actions__clear::before {
    content: "×" !important;
    font-size: 0.92rem !important;
}

.bfwc-filter-actions__clear::before {
    content: "○" !important;
    font-size: 0.74rem !important;
}

.tl-filter-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
}
 
.tl-filter-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 7px 12px !important;
    border: 1px solid #e7ddd1 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #234159 !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
}

.tl-chip-close {
    font-size: 1rem !important;
    line-height: 1 !important;
}

.bfwc-filter-links::-webkit-scrollbar,
.bfwc-filter-options::-webkit-scrollbar {
    width: 4px;
}

.bfwc-filter-links::-webkit-scrollbar-thumb,
.bfwc-filter-options::-webkit-scrollbar-thumb {
    background: #d3dde6;
    border-radius: 999px;
}

@media (min-width: 55em) {
    .s1-filters {
        background: transparent !important;
    }
}
 
@media (max-width: 54.99em) {
    .bfwc-filter-panel {
        max-width: 100% !important;
        margin: 0 auto !important;
    }
}

.wcps-open-btn.black{
    color: #000;
}

.wcps-open-btn.white{
    color: #fff;
}


.woocommerce nav.woocommerce-pagination {
    margin: 32px 0 0 !important;
    text-align: center !important;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    list-style: none !important;
    background: transparent !important;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    list-style: none !important;
}
 
.woocommerce nav.woocommerce-pagination ul.page-numbers li .page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 36px !important;
    height: 36px !important;
    padding: 0 12px !important;
    border: 1px solid #e7e7e7 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #222222 !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}
 
.woocommerce nav.woocommerce-pagination ul.page-numbers li a.page-numbers:hover {
    border-color: #234159 !important;
    color: #234159 !important;
    background: #f7fafc !important;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers li .page-numbers.current {
    background: #234159 !important;
    border-color: #234159 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(35, 65, 89, 0.22) !important;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers li .page-numbers.dots {
    min-width: auto !important;
    padding: 0 6px !important;
    border: 0 !important;
    background: transparent !important;
    color: #666666 !important;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers li .next,
.woocommerce nav.woocommerce-pagination ul.page-numbers li .prev {
    font-size: 18px !important;
    color: #9a9a9a !important;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers li .next:hover,
.woocommerce nav.woocommerce-pagination ul.page-numbers li .prev:hover {
    color: #234159 !important;
}

@media (max-width: 767px) {
    .woocommerce nav.woocommerce-pagination ul.page-numbers {
        gap: 8px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .woocommerce nav.woocommerce-pagination ul.page-numbers li .page-numbers {
        min-width: 34px !important;
        height: 34px !important;
        font-size: 13px !important;
    }
}


.bf-product img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.woocommerce ul.products li.product a img{
    margin: 0;
}

.bf-shipping-notice{
    padding-bottom: 20px;
}

.variations label{
    text-transform: capitalize;
}

/* Leave WooCommerce/FlexSlider sizing alone */
.woocommerce-product-gallery .flex-viewport {
    overflow: hidden;
}

/* Create a square display area */
.woocommerce-product-gallery__image a {
    display: flex;
    align-items: center;
    justify-content: center;
    
    width: 100%;
    height: 500px; /* Adjust to your preferred size */
    
    overflow: hidden;
    background: #fff;
}

/* Fit all images inside the square */
.woocommerce-product-gallery__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    object-position: center center;
    display: block;
}
.flex-control-thumbs{
    gap: 10px;
    display: flex;
}
/* Square thumbnails */
.flex-control-thumbs li {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.flex-control-thumbs li img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.woocommerce-product-gallery .flex-control-thumbs li {
    width: 80px !important;
    height: 80px !important;
    overflow: hidden;
    border-radius: 12px !important;
    border: 1px solid #0D223338 !important;
}

.woocommerce-product-gallery .flex-control-thumbs li img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    object-position: center;
} 
.ftg-datasheet-button{
    color:#0D2233;
    font-family: "Poppins", Sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px dotted #0D2233;
}
.ftg-datasheet-button:hover{
    color: #0D2233;
}       