/* ============================================================
   TONE DISTRIBUTION — Full CSS (All animations from knobsshop.store)
   Font: DM Sans | Colors: #252525, #fff, #f8f8f8
   Accent hover: #000000 (black) matching knobsshop
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
    --primary-color: #252525;
    --primary-hover: #000000;
    --accent-color: #000000;
    --secondary-color: #f8f8f8;
    --text-dark: #252525;
    --text-muted: #ADADAD;
    --border-color: #DFDFDF;
    --success-color: #4CAF50;
    --danger-color: #f44336;
    --focus-glow: rgba(37, 37, 37, 0.12);
    --input-bg: #f8f8f8;
    --transition-speed: 0.3s;
}

/* ── Global Reset ──────────────────────────────────────────── */
*:focus {
    outline: none !important;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif !important;
    background-color: #fff;
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
button,
span,
input,
select,
textarea,
label {
    font-family: 'DM Sans', sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-dark) !important;
}

a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--accent-color);
}

hr {
    margin: 0.25rem 0 !important;
    border-color: var(--border-color);
    opacity: 1;
}

/* ───────────────────────────────────────────────────────────
   KEYFRAME ANIMATIONS (exact matches from knobsshop.store)
   ─────────────────────────────────────────────────────────── */

/* Navbar section entry animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Top bar slide-in */
@keyframes fadeInTop {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dropdown open animation */
@keyframes fadeInDropdown {
    0% {
        opacity: 0;
        transform: translateY(-5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll-reveal up */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Left slide */
@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translate(-40px);
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }
}

/* Right slide */
@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translate(40px);
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }
}

/* Page-level entry fade */
@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Brands / section fade-in on scroll */
@keyframes fadeInUpBrands {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Rotate (used by image circles on reference site) */
@keyframes rotateBackground {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Icon bounce (scroll indicator) */
@keyframes icon-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* Ticker (mobile marquee) */
@keyframes ticker {
    0% {
        transform: translate(0);
    }

    100% {
        transform: translate(-100%);
    }
}

/* Loader spinner */
@keyframes l10-0 {

    0%,
    34.99% {
        transform: scaley(1);
    }

    35%,
    70% {
        transform: scaley(-1);
    }

    90%,
    100% {
        transform: scaley(-1) rotate(180deg);
    }
}

@keyframes l10-1 {

    0%,
    10%,
    70%,
    100% {
        transform: translateY(-100%) rotate(calc(var(--s, 1) * 135deg));
    }

    35% {
        transform: translateY(0%) rotate(0deg);
    }
}

/* ── Page entry ────────────────────────────────────────── */
.page-fade {
    animation: fadeInPage 0.4s ease;
}

/* ── Header ────────────────────────────────────────────── */
.site-header {
    background: #fff;
    box-shadow: 0 1px 0 var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: fadeInTop 0.6s ease-in-out;
}

.top-bar {
    padding: 12px 0;
    animation: fadeIn 0.5s ease forwards;
}

/* ── Logo ──────────────────────────────────────────────── */
.navbar-brand-logo {
    height: 100px;
    margin-left: -13%;
    margin-bottom: -3%;
    width: auto;
    object-fit: contain;
    display: block;
}

/* ── Search box — pill shape matching reference ────────── */
.search-input-wrapper {
    position: relative;
    display: flex;
}

.search-input-wrapper input {
    width: 100%;
    padding: 9px 15px;
    border-top-left-radius: 22px;
    border-bottom-left-radius: 22px;
    border: 1px solid var(--border-color);
    background-color: var(--input-bg);
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: border-color var(--transition-speed) ease;
}

.search-input-wrapper input:focus {
    border-color: transparent;
    background: #fff;
}

.search-input-wrapper input::placeholder {
    color: var(--text-muted);
}

.search-input-wrapper button {
    background: #000;
    color: #fff;
    border: 1.5px solid #000;
    border-top-right-radius: 22px;
    border-bottom-right-radius: 22px;
    padding: 9px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease;
    white-space: nowrap;
}

.search-input-wrapper button:hover {
    background: #444;
}

/* ── Header Icons ──────────────────────────────────────── */
.header-icons .icon-link {
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 800;
    position: relative;
    margin-left: 18px;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.header-icons .icon-link:hover {
    color: var(--accent-color);
    transform: scale(1.2);
}

.badge-counter {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #222;
    color: #fff !important;
    font-size: 0.68rem;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    line-height: 1;
    min-width: 18px;
    text-align: center;
}

/* ── Nav Bar ───────────────────────────────────────────── */
.nav-bar {
    background: #fff;
    border-top: 1px solid var(--border-color);
    animation: fadeIn 0.5s ease forwards;
}

.all-categories-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: background var(--transition-speed) ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.all-categories-btn:hover {
    background: var(--primary-hover);
    color: #fff;
}

/* Nav links — underline animation on hover (knobsshop style) */
.nav-links a {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    padding: 14px 16px;
    display: inline-block;
    position: relative;
    transition: color var(--transition-speed) ease;
    animation: fadeIn 0.5s ease forwards;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 16px;
    right: 16px;
    height: 1.5px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform var(--transition-speed) ease;
    transform-origin: center;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

/* ── Dropdown Menu — exact knobsshop.store style ────────── */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 30px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 10px 0;
    z-index: 10000000 !important;
    min-width: 150px;
    animation: fadeInDropdown 0.3s ease forwards;
}

.a-tag-text-icon:hover .dropdown-menu,
.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    padding: 8px 20px;
    font-size: 14px;
    color: #000;
    font-family: 'DM Sans', sans-serif;
    white-space: nowrap;
    transition: background-color 0.3s ease;
    cursor: pointer;
    background: transparent;
}

/* ON HOVER — orange accent matching knobsshop */
.dropdown-item:hover {
    background-color: #f2f2f2;
    color: var(--accent-color) !important;
}

/* ON FOCUS */
.dropdown-item:focus {
    background-color: #f2f2f2;
    color: var(--accent-color) !important;
    outline: none;
    box-shadow: none;
}

/* ACTIVE */
.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--primary-color);
    color: #fff;
}

/* BLUR — restore to default naturally via CSS cascade */

/* ── Form Controls Focus States ────────────────────────── */
.form-select {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: #fff;
    color: var(--text-dark);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    padding: 9px 36px 9px 12px;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    cursor: pointer;
}

.form-select:hover {
    border-color: #aaaaaa;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--focus-glow);
    background-color: #fff;
}

.form-select:not(:focus) {
    box-shadow: none;
}

.form-control {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--input-bg);
    color: var(--text-dark);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    padding: 9px 14px;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease, background var(--transition-speed) ease;
}

.form-control:hover {
    border-color: #aaaaaa;
}

.form-control:focus {
    background: #fff;
    border-color: transparent;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15);
}

.form-control:not(:focus) {
    box-shadow: none;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn,
.btn-primary,
.ctn {
    background-color: #212121;
    border-color: #212121;
    color: #fff;
    border-radius: 3px;
    font-weight: 400;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 8px 12px !important;
    transition: all 0.2s ease-in-out;
    animation: fadeIn 0.5s ease forwards;
}

.btn:hover,
.btn-primary:hover,
.ctn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 2px 4px 10px rgba(34, 34, 34, 0.2);
    transform: translateY(-2px);
    color: #fff;
}

.btn:focus,
.btn-primary:focus {
    box-shadow: 0 0 0 3px var(--focus-glow) !important;
}

/* Big CTA button (pill shaped like knobsshop) */
.big-ctn {
    background: #000;
    color: #fff !important;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 3px;
    animation: fadeIn 0.5s ease forwards;
    transition: background 0.3s ease;
}

.big-ctn:hover {
    background: #444;
}

/* Outline dark */
.btn-outline-dark {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    border-radius: 3px;
    transition: all var(--transition-speed) ease;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
    background-color: var(--primary-color);
    color: #fff;
}

/* Add to cart / View detail pill buttons */
.card-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.card-buttons button {
    padding: 0.6rem 1.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
    border-radius: 50px;
}

.Addtocart {
    background-color: #000 !important;
    border: 1px solid #000 !important;
    color: #fff !important;
    transition: all 0.2s ease-in-out;
    border-radius: 3px;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 8px 12px !important;
}

.Addtocart:hover {
    background-color: #222 !important;
    border-color: #222 !important;
    box-shadow: 2px 4px 10px rgba(34, 34, 34, 0.2);
    transform: translateY(2%);
    color: #fff !important;
}

.card-buttons .View-detail {
    border: 1px solid #434343;
    background: #fff;
    transition: all 0.3s ease-in-out;
}

.card-buttons .View-detail:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 2px 4px 10px rgba(34, 34, 34, 0.2);
    transform: translateY(4%);
    color: #fff;
}

/* ── Product Card — exact knobsshop.store style ────────── */
.product-card {
    border: none !important;
    border-radius: 0 !important;
    overflow: hidden;
    position: relative;
    background: var(--secondary-color);
    filter: drop-shadow(2px 2px 6px #dfdfdf);
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 20px;
}

/* Bottom accent bar that slides in on hover (exact knobsshop animation) */
.product-card::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 0%;
    background-color: var(--accent-color);
    transition: width 0.8s ease-in;
}

.product-card:hover::after {
    width: 100%;
}

/* Product image hover: lift + zoom */
.product-card:hover {
    transform: translateY(-4px);
}

/* Image wrapper with hover transition */
.image-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--secondary-color);
    user-select: none;
    transition: all 0.5s ease-in-out;
}

.image-wrapper .default-img,
.image-wrapper .hover-img {
    z-index: 1;
    position: relative;
    transition: all 0.5s ease-in-out;
}

.default-img {
    display: block;
    user-select: none;
}

.hover-img {
    opacity: 0;
    user-select: none;
    pointer-events: none;
}

.image-wrapper:hover .hover-img {
    opacity: 1;
}

.image-wrapper:hover .default-img {
    opacity: 0;
}

/* Product card image */
.product-card .card-img-top,
.product-image {
    background-color: var(--secondary-color);
    height: 280px;
    width: 100%;
    object-fit: contain;
    object-position: center center;
}

/* Hover button that slides up from bottom */
.hover-button-wrapper {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%) translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 3;
}

.image-wrapper:hover .hover-button-wrapper {
    transform: translate(-50%) translateY(0);
    opacity: 1;
}

.hover-button {
    background-color: #fff;
    color: #434343;
    padding: 0.7rem 2.3rem;
    font-size: 1rem;
    white-space: nowrap;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.hover-button:hover {
    color: #f8f8f8;
    background: #222;
}

/* Product card body */
.product-card .card-body {
    padding: 0.2rem 1rem 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card .card-title,
.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #222 !important;
    max-width: 250px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-brand {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
}

.original-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-right: 8px;
}

/* Discount badge */
.discount-badge,
.product-card .badge {
    font-size: 0.85rem;
    padding: 8px 15px;
    font-weight: 500;
    background: #212121;
    color: #fff;
    margin-top: -80%;
}

/* Icons row below product image */
.icons {
    display: flex;
    gap: 12px;
    min-height: 48px;
    margin-bottom: 0.5rem;
    justify-content: space-around;
}

.icon {
    border: 1px solid #212121;
    border-radius: 50%;
    cursor: pointer;
    padding: 10px;
    position: relative;
    display: inline-block;
    transition: border 0.3s ease;
}

.icon:hover {
    border-color: var(--accent-color);
}

.icon img {
    height: 32px;
    transition: filter 0.3s ease;
}

.icon:hover img {
    filter: brightness(0) saturate(100%) sepia(80%) hue-rotate(10deg) saturate(800%) brightness(90%);
}

/* Wishlist icon */
.wishlist-icon {
    transition: transform 0.2s ease, color 0.3s ease;
    cursor: pointer;
    font-size: 1.25rem;
}

.wishlist-icon:hover {
    transform: scale(1.2);
}

.wishlist-icon.active {
    color: #d9534f;
}

/* ── Filter Sidebar ────────────────────────────────────── */
.filter-sidebar {
    background: #fff;
    padding: 20px;
}

.filter-title {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-sidebar ul li a {
    color: var(--text-muted);
    font-size: 14px;
    display: block;
    padding: 5px 0;
    transition: all 0.18s;
}

.filter-sidebar ul li a:hover,
.filter-sidebar ul li a.fw-bold {
    color: var(--text-dark) !important;
    padding-left: 6px;
    font-weight: 500;
}

/* ── Category nav bottom row items ─────────────────────── */
.navbar-bottom-text-icon,
.a-tag-text-icon {
    display: flex !important;
    align-items: center;
    gap: 10px;
    animation: fadeIn 0.5s ease forwards;
    position: relative;
}

.navbar-bottom-text-icon i,
.a-tag-text-icon i {
    margin: 3px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.navbar-bottom-text-icon:hover p,
.navbar-bottom-text-icon:hover i,
.a-tag-text-icon:hover a,
.a-tag-text-icon:hover i {
    color: var(--accent-color) !important;
}

.navbar-bottom-text-icon:hover i,
.a-tag-text-icon:hover i {
    transform: rotate(180deg);
}

/* ── Service Cards (hover lift) ────────────────────────── */
.service-image-heading-para-content {
    align-items: center;
    cursor: pointer;
    user-select: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-image-heading-para-content:hover {
    transform: translateY(-5px);
}

.service-image-heading-para-content img {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-image-heading-para-content:hover img {
    transform: scale(1.1);
}

/* ── Testimonial Card hover ─────────────────────────────── */
.testimonial-card {
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* ── Brands section — fade in on scroll reveal ──────────── */
.brands-container {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpBrands 1s ease forwards;
}

.brands-container img {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    object-fit: contain;
    background-color: #f0f0f0;
    border-radius: 10px;
}

.brands-container img:hover {
    transform: scale(1.05);
}

/* ── FAQ hover ──────────────────────────────────────────── */
.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #222;
    transition: transform 0.3s ease;
}

.faq-question:hover {
    transform: translateY(-2px);
}

.faq-image {
    transition: transform 0.4s ease;
}

.faq-image:hover {
    transform: scale(1.02);
}

/* ── Loader ─────────────────────────────────────────────── */
.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.loader {
    width: 80px;
    height: 80px;
    background-image: url('../images/tone-logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: logoPulse 1.5s infinite ease-in-out;
}

@keyframes logoPulse {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.8;
    }
}

/* ── Global Loader Overlay ──────────────────────────────── */
#global-loader {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#global-loader.active {
    display: flex;
}

/* ── Accordion ──────────────────────────────────────────── */
.accordion-button:not(.collapsed) {
    background-color: #fff !important;
    color: var(--text-dark) !important;
    box-shadow: inset 0 -1px 0 var(--border-color) !important;
}

.accordion-button:focus,
.accordion-button:active {
    border-color: transparent !important;
    box-shadow: none !important;
}

/* ── Mobile Bottom Nav ──────────────────────────────────── */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 62px;
    background: #fff;
    box-shadow: 0 -1px 0 var(--border-color);
    z-index: 1050;
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 0.72rem;
    text-decoration: none;
    flex: 1;
    transition: color var(--transition-speed) ease;
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.2rem;
    margin-bottom: 3px;
    color: var(--text-muted);
    transition: color var(--transition-speed) ease;
}

.mobile-bottom-nav .nav-item span {
    font-weight: 500;
}

.mobile-bottom-nav .nav-item:active i,
.mobile-bottom-nav .nav-item:active span,
.mobile-bottom-nav .nav-item.active i {
    color: var(--primary-color);
}

.badge-nav {
    position: absolute;
    top: -5px;
    right: -10px;
    background: #222;
    color: #fff;
    font-size: 0.62rem;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

/* ── Mobile Header ──────────────────────────────────────── */
.mobile-header {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* ── Offcanvas Filters ──────────────────────────────────── */
#filterSidebar .offcanvas-body {
    padding: 0;
}

#mobile-filter-container {
    padding: 15px;
    margin: 2%;
}

#mobile-filter-container #filterForm {
    display: block !important;
}

#mobile-filter-container .filter-title {
    margin-top: 20px;
    padding-bottom: 8px !important;
    font-size: 0.82rem;
}

#mobile-filter-container .filter-title:first-of-type {
    margin-top: 0;
}

#mobile-filter-container .form-check {
    padding-left: 1.5rem;
    margin-bottom: 8px;
}

#mobile-filter-container .form-check-input {
    margin-left: -1.5rem;
    width: 1rem;
    height: 1rem;
}

#mobile-filter-container .form-check-label {
    padding-top: 0;
    font-size: 0.83rem;
}

#mobile-filter-container .filter-sidebar {
    padding: 0;
    box-shadow: none;
    border: none;
}

/* ── Mobile Menu ────────────────────────────────────────── */
#mobileMenu {
    width: 85%;
    max-width: 340px;
}

.mobile-menu-content .nav-link {
    color: var(--text-dark);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    transition: background 0.18s;
    display: block;
}

.mobile-menu-content .nav-link:hover {
    background-color: var(--secondary-color);
    color: var(--accent-color);
}

/* Mobile category item */
.mobile-nav-item-header {
    cursor: pointer;
}

.mobile-nav-item-header i {
    transition: transform 0.3s ease;
}

.mobile-nav-item-header i.rotate {
    transform: rotate(180deg);
}

.mobile-subitems {
    animation: fadeInDropdown 0.3s ease forwards;
}

.mobile-subitems .dropdown-item:hover {
    color: var(--accent-color);
}

/* ── Mobile menu content reveal ────────────────────────── */
.mobile-navbar-content {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 99;
    animation: fadeInDropdown 0.3s ease forwards;
}

/* ── Category menu ──────────────────────────────────────── */
.category-item {
    transition: background 0.18s;
    font-size: 0.9rem;
}

.category-item:hover {
    background-color: var(--secondary-color);
}

.category-menu-list h6 {
    letter-spacing: 0.5px;
    margin-top: 10px;
    font-size: 0.78rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ── Scroll hidden scrollbar ────────────────────────────── */
.cart-items-list {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.cart-items-list::-webkit-scrollbar {
    display: none;
}

/* ── Cart table mobile ──────────────────────────────────── */
@media (max-width: 991.98px) {
    .mobile-sticky-checkout {
        position: fixed;
        bottom: 60px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 14px 16px;
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
        z-index: 1030;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid var(--border-color);
    }

    .mobile-sticky-checkout .total-label {
        font-weight: 600;
        font-size: 0.85rem;
        color: var(--text-muted);
    }

    .mobile-sticky-checkout .total-amount {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--text-dark);
    }

    .mobile-sticky-checkout .btn-checkout {
        width: 60%;
        margin-top: 0 !important;
    }

    .cart-totals-card {
        margin-bottom: 120px;
    }

    body {
        padding-bottom: 70px;
    }

    .product-card {
        margin-bottom: 14px;
    }

    .top-bar {
        display: none;
    }

    body,
    .main-wrapper,
    .offcanvas-body {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    body::-webkit-scrollbar,
    .main-wrapper::-webkit-scrollbar,
    .offcanvas-body::-webkit-scrollbar {
        display: none;
    }

    .table thead {
        display: none;
    }

    .table,
    .table tbody,
    .table tr,
    .table td {
        display: block;
        width: 100%;
    }

    .table tr {
        margin-bottom: 18px;
        border: 1px solid var(--border-color) !important;
        border-radius: 8px;
        padding: 14px;
        position: relative;
    }

    .table td {
        text-align: right;
        padding: 8px 0;
        border: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .table td::before {
        content: attr(data-label);
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.78rem;
        color: var(--text-muted);
    }

    .card-buttons button {
        padding: 0.7rem 1.1rem;
    }
}

/* ── Form check styles ──────────────────────────────────── */
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    border-color: rgba(37, 37, 37, 0.4);
    box-shadow: 0 0 0 3px var(--focus-glow);
}

/* ── Pagination ─────────────────────────────────────────── */
.page-link {
    color: var(--text-dark);
    border-color: var(--border-color);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    transition: all var(--transition-speed) ease;
}

.page-link:hover {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    border-color: #d0d0d0;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.page-link:focus {
    box-shadow: 0 0 0 3px var(--focus-glow);
}

/* ── Form range ─────────────────────────────────────────── */
.form-range {
    accent-color: var(--primary-color);
}

/* ── Price inputs ────────────────────────────────────────── */
.price-inputs .form-control {
    background: var(--input-bg);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed) ease;
}

.price-inputs .form-control:focus {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--focus-glow);
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
    background: #f8f8f8;
    border-top: 1px solid var(--border-color) !important;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: 'DM Sans', sans-serif;
}

.footer a:hover {
    color: var(--accent-color);
}

/* ── Swiper custom arrows ────────────────────────────────── */
.custom-swiper-button-prev,
.custom-swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #333;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.custom-swiper-button-prev:hover,
.custom-swiper-button-next:hover {
    background-color: #fff;
    color: var(--accent-color);
}

.custom-swiper-button-prev {
    left: 10px;
}

.custom-swiper-button-next {
    right: 10px;
}

/* ── btn-animation helper ───────────────────────────────── */
.btn-animation {
    transition: all 0.4s ease-in-out;
}

.btn-animation:hover {
    background-color: #444;
    transform: translateY(4%) !important;
    color: #fff;
}

/* ── Phone/SMS links ────────────────────────────────────── */
.phone-link,
.sms-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.phone-link:hover {
    color: var(--accent-color);
}

/* ── Search results dropdown ────────────────────────────── */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 300px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    overflow-y: auto;
    z-index: 99999;
    margin-top: 5px;
    padding: 0;
    list-style: none;
}

.search-results-dropdown li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
    border-bottom: 1px solid #eee;
}

.search-results-dropdown li:hover {
    background-color: #f5f5f5;
}

.search-results-dropdown img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

/* ── AOS overrides for seamless use ─────────────────────── */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* -- Knobsshop Specific Overrides ------------------------------------- */
/* Background removed as requested */

.hero-section>.container {
    position: relative;
    z-index: 1;
}

.btn-pill {
    border-radius: 50px !important;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.btn-pill:hover {
    transform: scale(1.05);
}

.custom-outline-btn {
    background-color: #fff !important;
    color: #000 !important;
    border: 2px solid #000 !important;
}

.custom-outline-btn:hover {
    background-color: #000 !important;
    color: #fff !important;
}

.category-card .style-category {
    background-color: #F8F8F8;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.category-card:hover .style-category {
    background-color: #f0f0f0;
}

.category-card:hover .category-img {
    transform: scale(1.15);
}

.hover-scale:hover {
    transform: scale(1.1);
}

.group-hover-scale {
    transition: transform 0.3s ease;
}


/* -- Knobsshop Circular Hero Banner -------------------------- */
.carousel-hero-container {
    height: 600px;
    position: relative;
    overflow: hidden;
    background: #fdfdfd;
}

.knobs-circle-bg {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 450px;
    height: 450px;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.8s ease;
}

.knobs-circle-dotted {
    position: absolute;
    right: calc(5% - 20px);
    top: 50%;
    transform: translateY(-50%);
    width: 490px;
    height: 490px;
    border-radius: 50%;
    border: 2px dashed #ccc;
    z-index: 0;
    animation: rotateBackground 60s linear infinite;
}

.knobs-product-img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    z-index: 2;
    transition: transform 0.5s ease;
}

.knobs-circle-bg:hover .knobs-product-img {
    transform: scale(1.08);
}

.knobs-side-counter {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 80px;
    background: #111;
    color: #fff;
    border-top-left-radius: 80px;
    border-bottom-left-radius: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    z-index: 10;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.carousel-item.active .animate-slide-up {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.5s;
}

.delay-4 {
    transition-delay: 0.7s;
}



/* -- Mobile Fixes ----------------------------------------- */
@media (max-width: 991.98px) {
    .side-cart-footer {
        padding-bottom: calc(1rem + 62px) !important;
    }

    .carousel-hero-container {
        height: auto !important;
        min-height: 650px;
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* ── Floating Contact Widget ──────────────────────────────── */
.floating-contact-widget {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-contact-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none !important;
}

.floating-contact-btn:hover {
    transform: scale(1.15) translateY(-5px);
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.floating-contact-btn.whatsapp {
    background-color: #25d366;
}

.floating-contact-btn.call {
    background-color: var(--primary-color);
}

/* Animation for the buttons */
.floating-contact-btn {
    animation: floatIn 0.5s ease-out backwards;
}

.floating-contact-btn.whatsapp {
    animation-delay: 0.8s;
}

.floating-contact-btn.call {
    animation-delay: 1s;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Product Page Contact Buttons ───────────────────────────── */
.product-contact-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-contact {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 15px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.btn-whatsapp-outline {
    background-color: #e8faf0;
    color: #25d366;
    border: 1.5px solid #25d366;
}

.btn-whatsapp-outline:hover {
    background-color: #25d366;
    color: #fff;
}

.btn-call-outline {
    background-color: #f4f5f9;
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
}

.btn-call-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

@media (max-width: 576px) {
    .floating-contact-widget {
        right: 20px;
        bottom: 85px;
        /* Adjust for mobile bottom nav */
    }

    .floating-contact-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .product-contact-actions {
        flex-direction: column;
    }
}