/**
 * Keshri Scientific - Main Theme Stylesheet
 *
 * @package Keshri_Scientific
 * @version 1.0.0
 */

/* ==========================================================================
   GLOBAL UTILITIES & BUTTONS
   ========================================================================== */

.ks-section-padding {
    padding: 70px 0;
}

.ks-section-header {
    margin-bottom: 45px;
}

.ks-section-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ks-primary);
    margin-bottom: 8px;
}

.ks-section-title {
    font-size: 2.1rem;
    color: var(--ks-navy);
    font-weight: 700;
    margin-bottom: 12px;
}

.ks-section-desc {
    color: var(--ks-text-muted);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
}

.ks-title-underline {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--ks-primary), var(--ks-secondary));
    border-radius: var(--ks-radius-full);
    margin: 14px auto 0;
}

.ks-title-underline.ks-align-left {
    margin-left: 0;
}

/* Button Styles */
.ks-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--ks-font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: var(--ks-radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--ks-transition);
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}

.ks-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.ks-btn-primary {
    background: var(--ks-primary);
    color: #ffffff !important;
    border-color: var(--ks-primary);
    box-shadow: 0 4px 10px rgba(8, 120, 190, 0.25);
}

.ks-btn-primary:hover {
    background: var(--ks-primary-dark);
    border-color: var(--ks-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(8, 120, 190, 0.35);
}

.ks-btn-secondary {
    background: #e2e8f0;
    color: var(--ks-navy) !important;
}

.ks-btn-secondary:hover {
    background: #cbd5e1;
    color: var(--ks-navy-dark) !important;
}

.ks-btn-outline {
    background: transparent;
    color: var(--ks-primary) !important;
    border-color: var(--ks-primary);
}

.ks-btn-outline:hover {
    background: var(--ks-primary);
    color: #ffffff !important;
}

.ks-btn-outline-white {
    background: transparent;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.5);
}

.ks-btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff !important;
}

.ks-btn-white {
    background: #ffffff;
    color: var(--ks-primary) !important;
    box-shadow: var(--ks-shadow-md);
}

.ks-btn-white:hover {
    background: #f8fafc;
    color: var(--ks-navy) !important;
    transform: translateY(-2px);
}

.ks-btn-accent {
    background: var(--ks-accent);
    color: #ffffff !important;
    border-color: var(--ks-accent);
}

.ks-btn-accent:hover {
    background: var(--ks-accent-hover);
    border-color: var(--ks-accent-hover);
    transform: translateY(-2px);
}

.ks-btn-whatsapp {
    background: #25D366;
    color: #ffffff !important;
    border-color: #25D366;
}

.ks-btn-whatsapp:hover {
    background: #1eb956;
    color: #ffffff !important;
}

.ks-btn-large {
    padding: 13px 28px;
    font-size: 1.05rem;
    border-radius: var(--ks-radius-md);
}

.ks-btn-sm {
    padding: 7px 15px;
    font-size: 0.85rem;
}

.ks-btn-block {
    width: 100%;
}

/* ==========================================================================
   HEADER DESIGN (THREE-LEVEL HEADER)
   ========================================================================== */

.ks-site-header {
    position: relative;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Level 1: Top Information Bar */
.ks-topbar {
    background: var(--ks-navy);
    color: #cbd5e1;
    font-size: 0.825rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ks-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.ks-topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ks-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #cbd5e1;
    transition: var(--ks-transition);
}

.ks-topbar-item:hover {
    color: #ffffff;
}

.ks-topbar-item svg.ks-icon {
    width: 14px;
    height: 14px;
    color: var(--ks-secondary);
}

.ks-topbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ks-topbar-bulk-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.09);
    padding: 3px 12px;
    border-radius: var(--ks-radius-full);
    font-size: 0.775rem;
    color: #e2e8f0;
}

.ks-pulse-dot {
    width: 7px;
    height: 7px;
    background-color: var(--ks-accent);
    border-radius: 50%;
    animation: ksPulse 2s infinite;
}

@keyframes ksPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 191, 165, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(0, 191, 165, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 191, 165, 0);
    }
}

/* Level 2: Main Header */
.ks-main-header {
    padding: 16px 0;
    background: #ffffff;
}

.ks-main-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.ks-header-branding {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.custom-logo-link img,
.custom-logo {
    max-height: 65px;
    width: auto;
    object-fit: contain;
    transition: var(--ks-transition);
}

.ks-custom-logo-fallback {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.ks-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.ks-logo-title {
    font-family: var(--ks-font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--ks-navy);
    letter-spacing: 0.5px;
}

.ks-logo-sub {
    font-family: var(--ks-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ks-primary);
    letter-spacing: 2px;
    margin-top: 1px;
}

.ks-logo-tagline {
    font-size: 0.7rem;
    color: var(--ks-text-muted);
    font-weight: 500;
    margin-top: 2px;
}

/* Search Bar */
.ks-header-search {
    flex: 1;
    max-width: 580px;
}

.ks-search-form {
    width: 100%;
}

.ks-search-input-wrap {
    display: flex;
    align-items: center;
    border: 2px solid #cbd5e1;
    border-radius: var(--ks-radius-full);
    overflow: hidden;
    background: #f8fafc;
    transition: var(--ks-transition);
}

.ks-search-input-wrap:focus-within {
    border-color: var(--ks-primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(8, 120, 190, 0.12);
}

.ks-search-field {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 18px;
    font-size: 0.925rem;
    color: var(--ks-text-main);
    outline: none;
}

.ks-search-submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--ks-primary);
    color: #ffffff;
    border: none;
    padding: 10px 22px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--ks-transition);
}

.ks-search-submit svg {
    width: 17px;
    height: 17px;
}

.ks-search-submit:hover {
    background: var(--ks-navy);
}

/* Header Action Items */
.ks-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ks-header-action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ks-navy);
    text-decoration: none;
    padding: 6px 8px;
    border-radius: var(--ks-radius-sm);
    transition: var(--ks-transition);
}

.ks-header-action-item:hover {
    color: var(--ks-primary);
    background: var(--ks-primary-light);
}

.ks-action-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--ks-navy);
    transition: var(--ks-transition);
}

.ks-header-action-item:hover .ks-action-icon {
    background: var(--ks-primary);
    color: #ffffff;
}

.ks-action-icon svg {
    width: 18px;
    height: 18px;
}

.ks-action-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.ks-action-label {
    font-size: 0.72rem;
    color: var(--ks-text-muted);
}

.ks-action-sub {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ks-navy);
}

.ks-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--ks-danger);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    border-radius: var(--ks-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.ks-btn-enquiry {
    border-radius: var(--ks-radius-full);
}

/* User Added Custom Header Button */
.ks-header-custom-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: var(--ks-radius-full);
    text-decoration: none;
    transition: var(--ks-transition);
    white-space: nowrap;
    cursor: pointer;
    line-height: 1.2;
}

.ks-header-custom-btn svg,
.ks-custom-btn-icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.ks-btn-style-whatsapp {
    background-color: #25D366;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.28);
}

.ks-btn-style-whatsapp:hover {
    background-color: #1eb857;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.38);
}

.ks-btn-style-primary {
    background-color: var(--ks-primary);
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(8, 117, 201, 0.25);
}

.ks-btn-style-primary:hover {
    background-color: var(--ks-navy);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.ks-btn-style-secondary {
    background-color: var(--ks-navy);
    color: #ffffff !important;
}

.ks-btn-style-secondary:hover {
    background-color: var(--ks-primary);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.ks-btn-style-accent {
    background-color: #f97316;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.28);
}

.ks-btn-style-accent:hover {
    background-color: #ea580c;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.ks-btn-style-outline {
    background-color: transparent;
    border: 2px solid var(--ks-primary);
    color: var(--ks-primary) !important;
}

.ks-btn-style-outline:hover {
    background-color: var(--ks-primary);
    color: #ffffff !important;
}

.ks-desktop-only {
    display: inline-flex;
}

/* Drawer User Action Cards (Mobile Responsive) */
.ks-drawer-user-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ks-border);
}

.ks-drawer-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid var(--ks-border);
    padding: 8px 12px;
    border-radius: var(--ks-radius-md);
    text-decoration: none;
    transition: var(--ks-transition);
}

.ks-drawer-user-card:hover {
    background: var(--ks-primary-light);
    border-color: var(--ks-primary);
}

.ks-duc-icon {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ks-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.ks-duc-icon svg {
    width: 16px;
    height: 16px;
}

.ks-duc-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.ks-duc-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ks-navy);
}

.ks-duc-sub {
    font-size: 0.72rem;
    color: var(--ks-text-muted);
    font-weight: 500;
}

/* Mobile Toggle Hamburger */
.ks-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: var(--ks-radius-sm);
}

.ks-hamburger-bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--ks-navy);
    border-radius: 2px;
    transition: var(--ks-transition);
}

/* Level 3: Navigation Menu Bar */
.ks-navbar {
    background: var(--ks-navy);
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ks-navbar.ks-sticky-active {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(8, 45, 85, 0.25);
    animation: ksSlideDown 0.3s ease-out;
}

@keyframes ksSlideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.ks-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Categories Trigger Dropdown */
.ks-categories-dropdown-wrap {
    position: relative;
}

.ks-categories-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--ks-primary);
    color: #ffffff;
    border: none;
    padding: 14px 22px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--ks-transition);
}

.ks-categories-trigger svg.ks-icon {
    width: 18px;
    height: 18px;
}

.ks-categories-trigger svg.ks-arrow-down {
    width: 14px;
    height: 14px;
    margin-left: 6px;
    transition: transform 0.2s ease;
}

.ks-categories-dropdown-wrap:hover .ks-arrow-down,
.ks-categories-dropdown-wrap.ks-active .ks-arrow-down {
    transform: rotate(180deg);
}

.ks-categories-menu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 270px;
    background: #ffffff;
    box-shadow: var(--ks-shadow-xl);
    border-radius: 0 0 var(--ks-radius-md) var(--ks-radius-md);
    border: 1px solid var(--ks-border);
    border-top: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--ks-transition);
    z-index: 1050;
    padding: 10px 0;
}

.ks-categories-dropdown-wrap:hover .ks-categories-menu-dropdown,
.ks-categories-dropdown-wrap.ks-active .ks-categories-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ks-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ks-categories-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--ks-navy);
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
    transition: var(--ks-transition);
}

.ks-categories-list li:last-child a {
    border-bottom: none;
}

.ks-categories-list li a:hover {
    background: var(--ks-primary-light);
    color: var(--ks-primary);
    padding-left: 24px;
}

.ks-cat-icon-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--ks-primary);
}

.ks-cat-count {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--ks-text-light);
}

/* Primary Navigation Menu */
.ks-primary-nav-wrap {
    flex: 1;
    margin-left: 20px;
}

.ks-main-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.ks-main-menu li {
    position: relative;
}

.ks-main-menu li a {
    display: block;
    padding: 15px 16px;
    color: #e2e8f0;
    font-size: 0.925rem;
    font-weight: 600;
    transition: var(--ks-transition);
    text-decoration: none;
}

.ks-main-menu li a:hover,
.ks-main-menu li.current-menu-item>a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/* Dropdown Menu */
.ks-main-menu li ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: var(--ks-radius-md);
    box-shadow: var(--ks-shadow-lg);
    border: 1px solid var(--ks-border);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--ks-transition);
    z-index: 1050;
    list-style: none;
}

.ks-main-menu li:hover>ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ks-main-menu li ul.sub-menu li a {
    padding: 9px 18px;
    color: var(--ks-navy);
    font-weight: 500;
    font-size: 0.875rem;
}

.ks-main-menu li ul.sub-menu li a:hover {
    background: var(--ks-primary-light);
    color: var(--ks-primary);
}

/* Right Nav Badge */
.ks-bulk-quote-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 7px 16px;
    border-radius: var(--ks-radius-full);
    font-size: 0.825rem;
    font-weight: 600;
    transition: var(--ks-transition);
    text-decoration: none;
}

.ks-bulk-quote-badge:hover {
    background: var(--ks-primary);
    color: #ffffff;
}

.ks-bulk-quote-badge svg {
    width: 15px;
    height: 15px;
}

/* ==========================================================================
   OFF-CANVAS MOBILE DRAWER
   ========================================================================== */

.ks-mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    visibility: hidden;
    transition: visibility 0.3s ease;
}

.ks-mobile-drawer.ks-drawer-open {
    visibility: visible;
}

.ks-drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 45, 85, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ks-mobile-drawer.ks-drawer-open .ks-drawer-overlay {
    opacity: 1;
}

.ks-drawer-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 310px;
    max-width: 85%;
    height: 100%;
    background: #ffffff;
    box-shadow: var(--ks-shadow-xl);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.ks-mobile-drawer.ks-drawer-open .ks-drawer-panel {
    transform: translateX(0);
}

.ks-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: var(--ks-navy);
    color: #ffffff;
}

.ks-drawer-title {
    font-weight: 700;
    font-size: 1.05rem;
}

.ks-drawer-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.ks-drawer-search {
    padding: 10px 18px;
    background: #f8fafc;
    border-bottom: 1px solid var(--ks-border);
}

.ks-drawer-search form {
    display: flex;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--ks-radius-md);
    overflow: hidden;
}

.ks-drawer-search input {
    flex: 1;
    border: none;
    padding: 8px 12px;
    outline: none;
    font-size: 0.88rem;
}

.ks-drawer-search button {
    background: var(--ks-primary);
    border: none;
    color: #ffffff;
    padding: 0 12px;
    cursor: pointer;
}

.ks-drawer-body {
    padding: 14px 18px;
    flex: 1;
}

.ks-mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ks-mobile-menu-list li a {
    display: block;
    padding: 9px 0;
    color: var(--ks-navy);
    font-weight: 600;
    font-size: 0.92rem;
    border-bottom: 1px solid #f1f5f9;
}

.ks-drawer-quick-cta {
    margin: 20px 0;
}

.ks-drawer-contact {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--ks-border);
    font-size: 0.875rem;
}

.ks-drawer-section-title {
    font-size: 0.9rem;
    color: var(--ks-navy);
    margin-bottom: 10px;
}

/* ==========================================================================
   HOMEPAGE SECTION 3: HERO BANNER (TWO-COLUMN SPLIT LAYOUT)
   ========================================================================== */

.ks-hero-split-section {
    background-color: #F1F1F1;
    padding: 30px 0;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
}

.ks-hero-split-grid {
    display: flex;
    gap: 24px;
    align-items: stretch;
    width: 100%;
}

/* --- Left Column: Featured Product Card (~27% width) --- */
.ks-hero-product-col {
    width: 27%;
    min-width: 280px;
    max-width: 330px;
    flex-shrink: 0;
    display: flex;
}

.ks-featured-prod-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(16, 43, 70, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    min-height: 480px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ks-featured-prod-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(16, 43, 70, 0.09);
}

.ks-fpc-image-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px 24px;
    background: #ffffff;
    min-height: 240px;
}

.ks-fpc-image-wrap a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.ks-fpc-img {
    max-height: 230px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.ks-featured-prod-card:hover .ks-fpc-img {
    transform: scale(1.04);
}

/* Orange Promotional Information Panel (Overlapping bottom with white border) */
.ks-fpc-orange-panel {
    background: #F39800;
    border: 3.5px solid #ffffff;
    border-radius: 16px;
    margin: 0 14px 14px 14px;
    padding: 20px 16px 16px;
    position: relative;
    box-shadow: 0 4px 16px rgba(243, 152, 0, 0.28);
    color: #ffffff;
}

/* Small Blue Cart Badge Overlapping Top-Left */
.ks-fpc-cart-badge {
    position: absolute;
    top: -19px;
    left: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #35AFFF;
    border: 3px solid #ffffff;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(53, 175, 255, 0.45);
    z-index: 2;
}

.ks-fpc-cart-badge svg {
    width: 18px;
    height: 18px;
}

.ks-fpc-promo-tag {
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4px;
}

.ks-fpc-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.28;
    margin: 4px 0 6px 0;
    font-family: var(--ks-font-heading);
}

.ks-fpc-title a {
    color: #ffffff !important;
    text-decoration: none;
    transition: opacity 0.2s;
}

.ks-fpc-title a:hover {
    opacity: 0.9;
}

.ks-fpc-price-wrap {
    margin-bottom: 12px;
}

.ks-fpc-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.2px;
}

.ks-fpc-btn-wrap {
    margin-top: 4px;
}

.ks-fpc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #082D55 !important;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ks-fpc-btn .ks-fpc-btn-cart,
.ks-fpc-btn svg {
    width: 15px;
    height: 15px;
    stroke: #35AFFF;
    flex-shrink: 0;
    transition: transform 0.2s ease, stroke 0.2s ease;
}

.ks-fpc-btn:hover {
    background: #082D55;
    color: #ffffff !important;
}

.ks-fpc-btn:hover .ks-fpc-btn-cart,
.ks-fpc-btn:hover svg {
    stroke: #ffffff;
    transform: scale(1.1);
}

/* --- Right Column: Main Hero Banner / Slider (~73% width) --- */
.ks-hero-slider-col {
    flex: 1;
    min-width: 0;
    display: flex;
}

.ks-hero-slider-col.ks-full-width {
    width: 100%;
}

.ks-hero-slider-container {
    background: #F8FAFC;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    position: relative;
    width: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(16, 43, 70, 0.05);
}

.ks-hero-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    flex: 1;
}

.ks-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s ease;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.ks-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 2;
}

.ks-slide-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 45px 50px 65px;
    gap: 30px;
}

.ks-slide-content {
    flex: 1;
    max-width: 520px;
    z-index: 3;
}

.ks-slide-badge {
    display: inline-block;
    background: rgba(53, 175, 255, 0.14);
    color: #0284C7;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
    border: 1px solid rgba(53, 175, 255, 0.25);
}

.ks-slide-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #102B46;
    line-height: 1.15;
    margin: 0 0 14px 0;
    letter-spacing: -0.5px;
    font-family: var(--ks-font-heading);
}

.ks-slide-desc {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 26px 0;
    max-width: 440px;
}

.ks-slide-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ks-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #35AFFF;
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 13px 30px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(53, 175, 255, 0.38);
    transition: all 0.25s ease;
}

.ks-slide-btn:hover {
    background: #0875C9;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(8, 117, 201, 0.45);
}

.ks-slide-btn svg {
    width: 18px;
    height: 18px;
}

.ks-slide-media {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 450px;
}

.ks-slide-equip-img {
    max-height: 360px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s ease;
}

.ks-hero-slide.is-active .ks-slide-equip-img {
    transform: scale(1.02);
}

/* 3 Navigation Indicators at Bottom */
.ks-slider-dots {
    position: absolute;
    bottom: 22px;
    left: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.ks-slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #334155;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.ks-slider-dot.is-active {
    width: 28px;
    height: 9px;
    border-radius: 5px;
    background: #35AFFF;
    opacity: 1;
}

.ks-slider-dot:hover {
    opacity: 1;
}

/* --- Full Panoramic Image Banner Slider & Fluid Proportions --- */
.ks-hero-full-slider-wrapper {
    width: 100%;
    margin-bottom: 25px;
}

.ks-hero-full-slider-wrapper .ks-hero-slider-container {
    aspect-ratio: 1024 / 225;
    height: auto;
    min-height: unset;
    max-height: 320px;
    width: 100%;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(16, 43, 70, 0.05);
}

.ks-hero-full-slider-wrapper .ks-hero-slider-container.ks-height-custom {
    aspect-ratio: unset !important;
}

.ks-hero-full-slider-wrapper .ks-hero-slider-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.ks-hero-slider-container.ks-is-full-width {
    border-radius: 0;
    border-left: none;
    border-right: none;
}

.ks-hero-slide.ks-slide-type-banner {
    padding: 0;
    margin: 0;
    overflow: hidden;
    background-color: #F8FAFC;
    align-items: stretch;
    justify-content: stretch;
}

.ks-hero-full-slider-wrapper .ks-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: unset;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.ks-hero-full-slider-wrapper .ks-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    position: absolute;
    z-index: 2;
}

.ks-slide-banner-link,
.ks-slide-banner-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.ks-slide-banner-picture,
.ks-slide-banner-link picture,
.ks-slide-banner-wrapper picture {
    display: block;
    width: 100%;
    height: 100%;
}

.ks-slide-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (max-width: 991px) {
    .ks-hero-full-slider-wrapper .ks-hero-slider-container,
    .elementor-element.elementor-element-ks_hero_slider_widget .ks-hero-slider-container,
    .ks-hero-slider-container {
        aspect-ratio: 1024 / 225 !important;
        height: auto !important;
        min-height: unset !important;
        max-height: none !important;
        border-radius: 12px !important;
    }
}

@media (max-width: 768px) {
    .ks-hero-split-section,
    .ks-hero-split-section.full_slider {
        padding: 10px 0 8px !important;
    }

    .elementor-element.elementor-element-ks_sec_hero {
        padding-top: 10px !important;
        padding-bottom: 8px !important;
    }

    .ks-hero-full-slider-wrapper,
    .elementor-element.elementor-element-ks_hero_slider_widget {
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    .ks-hero-full-slider-wrapper .ks-hero-slider-container,
    .elementor-element.elementor-element-ks_hero_slider_widget .ks-hero-slider-container,
    .ks-hero-slider-container {
        aspect-ratio: 1024 / 225 !important;
        height: auto !important;
        min-height: unset !important;
        max-height: none !important;
        border-radius: 10px !important;
        margin-bottom: 0 !important;
        overflow: hidden !important;
        display: block !important;
        position: relative !important;
        background: #F8FAFC !important;
        box-shadow: 0 2px 10px rgba(16, 43, 70, 0.06) !important;
    }

    .ks-hero-full-slider-wrapper .ks-hero-slider-track,
    .elementor-element.elementor-element-ks_hero_slider_widget .ks-hero-slider-track,
    .ks-hero-slider-track {
        height: 100% !important;
        min-height: unset !important;
        position: relative !important;
        width: 100% !important;
    }

    .ks-hero-full-slider-wrapper .ks-hero-slide,
    .elementor-element.elementor-element-ks_hero_slider_widget .ks-hero-slide,
    .ks-hero-slide.ks-slide-type-banner {
        height: 100% !important;
        min-height: unset !important;
        width: 100% !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .ks-hero-full-slider-wrapper .ks-slide-banner-link,
    .ks-hero-full-slider-wrapper .ks-slide-banner-wrapper,
    .ks-slide-banner-link,
    .ks-slide-banner-wrapper {
        height: 100% !important;
        width: 100% !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .ks-hero-full-slider-wrapper picture,
    .ks-slide-banner-picture,
    .ks-slide-banner-link picture {
        height: 100% !important;
        width: 100% !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .ks-slide-banner-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
    }

    /* Mobile Sleek Arrows */
    .ks-hero-slider-container .ks-slider-arrow,
    .ks-hero-full-slider-wrapper .ks-slider-arrow {
        width: 26px !important;
        height: 26px !important;
        background: rgba(255, 255, 255, 0.92) !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 10 !important;
        padding: 0 !important;
    }

    .ks-hero-slider-container .ks-slider-arrow.prev,
    .ks-hero-full-slider-wrapper .ks-slider-arrow.prev {
        left: 5px !important;
    }

    .ks-hero-slider-container .ks-slider-arrow.next,
    .ks-hero-full-slider-wrapper .ks-slider-arrow.next {
        right: 5px !important;
    }

    .ks-hero-slider-container .ks-slider-arrow svg,
    .ks-hero-full-slider-wrapper .ks-slider-arrow svg {
        width: 12px !important;
        height: 12px !important;
        stroke: #102B46 !important;
    }

    /* Mobile Slide Counter Badge */
    .ks-hero-slider-container .ks-slider-counter,
    .ks-hero-full-slider-wrapper .ks-slider-counter {
        bottom: 5px !important;
        right: 6px !important;
        padding: 2px 6px !important;
        font-size: 9px !important;
        line-height: 1 !important;
        border-radius: 6px !important;
        background: rgba(16, 43, 70, 0.75) !important;
        color: #FFFFFF !important;
        backdrop-filter: blur(4px) !important;
        z-index: 10 !important;
    }
}

@media (max-width: 480px) {
    .ks-hero-full-slider-wrapper .ks-hero-slider-container,
    .elementor-element.elementor-element-ks_hero_slider_widget .ks-hero-slider-container,
    .ks-hero-slider-container {
        aspect-ratio: 1024 / 225 !important;
        height: auto !important;
        min-height: unset !important;
        max-height: none !important;
        border-radius: 8px !important;
    }
}

.ks-hero-slide.is-active .ks-slide-banner-img {
    transform: scale(1.01);
}

.ks-slide-banner-caption {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 60px;
    background: linear-gradient(90deg, rgba(16, 43, 70, 0.88) 0%, rgba(16, 43, 70, 0.5) 60%, rgba(16, 43, 70, 0) 100%);
    color: #ffffff;
    max-width: 650px;
    z-index: 5;
}

.ks-banner-caption-badge {
    display: inline-block;
    align-self: flex-start;
    background: #F36B21;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.ks-banner-caption-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 10px;
    font-family: var(--ks-font-heading);
}

.ks-banner-caption-desc {
    font-size: 1rem;
    color: #E2E8F0;
    line-height: 1.5;
    margin: 0 0 20px;
}

.ks-banner-caption-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #F36B21;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 26px;
    border-radius: 6px;
    align-self: flex-start;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(243, 107, 33, 0.35);
}

.ks-banner-caption-btn:hover {
    background: #e05a12;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(243, 107, 33, 0.45);
}

/* Slider Previous & Next Navigation Arrows */
.ks-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.8);
    color: #102B46;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(16, 43, 70, 0.12);
    transition: all 0.25s ease;
    padding: 0;
}

.ks-slider-arrow:hover {
    background: #F36B21;
    color: #ffffff;
    border-color: #F36B21;
    box-shadow: 0 6px 18px rgba(243, 107, 33, 0.35);
    transform: translateY(-50%) scale(1.08);
}

.ks-slider-arrow.prev {
    left: 20px;
}

.ks-slider-arrow.next {
    right: 20px;
}

.ks-slider-arrow svg {
    width: 20px;
    height: 20px;
}

/* Dots Alignment Options */
.ks-slider-dots.dots-center {
    left: 50%;
    transform: translateX(-50%);
}

.ks-slider-dots.dots-right {
    left: auto;
    right: 50px;
}

/* Slide Counter Pill Badge (like reference design) */
.ks-slider-counter {
    position: absolute;
    bottom: 14px;
    right: 18px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    z-index: 10;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    line-height: 1.4;
    user-select: none;
    pointer-events: none;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .ks-hero-split-grid {
        gap: 16px;
    }

    .ks-hero-product-col {
        width: 30%;
        min-width: 250px;
    }

    .ks-slide-title {
        font-size: 2rem;
    }

    .ks-slide-inner {
        padding: 35px 30px 55px;
        gap: 20px;
    }

    .ks-slider-dots {
        left: 30px;
    }

    .ks-slide-equip-img {
        max-height: 280px;
    }
}

@media (max-width: 768px) {
    .ks-hero-split-section {
        padding: 20px 0;
    }

    .ks-hero-split-grid {
        flex-direction: column;
        gap: 20px;
    }

    .ks-hero-product-col {
        width: 100%;
        max-width: 100%;
        order: 1;
        /* Featured product card stacked above main banner */
    }

    .ks-hero-slider-col {
        width: 100%;
        order: 2;
    }

    .ks-hero-split-grid .ks-hero-slider-container {
        min-height: 400px;
    }

    .ks-slide-inner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px 50px;
    }

    .ks-slide-content {
        max-width: 100%;
    }

    .ks-slide-title {
        font-size: 1.75rem;
    }

    .ks-slide-desc {
        font-size: 0.95rem;
        margin-left: auto;
        margin-right: auto;
    }

    .ks-slide-actions {
        justify-content: center;
    }

    .ks-slider-dots {
        left: 50%;
        transform: translateX(-50%);
        bottom: 16px;
    }

    .ks-slide-equip-img {
        max-height: 200px;
    }

    .ks-fpc-image-wrap {
        min-height: 200px;
    }

    .ks-fpc-img {
        max-height: 190px;
    }
}

/* Fallback Full-width Hero Banner */
.ks-hero-section {
    position: relative;
    background: #ffffff;
    color: var(--ks-text-main);
    padding: 70px 0 80px;
    overflow: hidden;
    border-bottom: 1px solid var(--ks-border-light);
}

.ks-hero-section.ks-hero-with-bg {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 95px 0 85px;
}

.ks-hero-section.ks-hero-with-bg .ks-hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 43, 70, 0.94) 0%, rgba(8, 117, 201, 0.88) 100%);
    pointer-events: none;
    z-index: 1;
}

.ks-hero-section.ks-hero-with-bg .ks-hero-content {
    position: relative;
    z-index: 2;
    max-width: 880px;
    text-align: center;
    margin: 0 auto;
}

.ks-hero-section.ks-hero-with-bg .ks-hero-title {
    color: #ffffff;
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.ks-hero-section.ks-hero-with-bg .ks-hero-desc {
    color: #e2e8f0;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.ks-hero-section.ks-hero-with-bg .ks-hero-badge {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.ks-hero-section.ks-hero-with-bg .ks-hero-btn-group {
    justify-content: center;
    margin-bottom: 40px;
}

.ks-hero-trust-pills {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.ks-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.ks-tp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--ks-accent);
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: bold;
}

/* ==========================================================================
   HOMEPAGE SECTION 2: TRUST HIGHLIGHTS (4 COLUMNS)
   ========================================================================== */

.ks-trust-highlights-section {
    background: #ffffff;
    padding: 35px 0;
    box-shadow: 0 4px 20px rgba(8, 45, 85, 0.05);
    position: relative;
    z-index: 10;
    margin-top: -30px;
    border-radius: var(--ks-radius-lg);
}

.ks-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ks-trust-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-radius: var(--ks-radius-md);
    transition: var(--ks-transition);
}

.ks-trust-card:hover {
    background: var(--ks-bg-light);
    transform: translateY(-2px);
}

.ks-trust-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--ks-radius-md);
    background: var(--ks-primary-light);
    color: var(--ks-primary);
    flex-shrink: 0;
}

.ks-trust-icon-box svg {
    width: 24px;
    height: 24px;
}

.ks-trust-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ks-navy);
    margin-bottom: 5px;
}

.ks-trust-desc {
    font-size: 0.85rem;
    color: var(--ks-text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   HOMEPAGE SECTION 4: SHOP BY CATEGORIES (6 CATEGORY CARDS)
   ========================================================================== */

.ks-categories-section {
    background-color: var(--ks-bg-light);
}

.ks-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ks-categories-grid.ks-grid-6 {
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

/* ==========================================================================
   CATEGORIES SLIDER / CAROUSEL
   ========================================================================== */

.ks-categories-slider-container {
    position: relative;
    width: 100%;
}

.ks-categories-slider-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.ks-categories-slider-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 15px 4px 22px;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.ks-categories-slider-track::-webkit-scrollbar {
    display: none;
}

/* Slide Cards: Exactly 4 categories per view on desktop */
.ks-categories-slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 15px 4px 22px;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.ks-categories-slider-track::-webkit-scrollbar {
    display: none;
}

.ks-categories-slider-track .ks-slide-item.ks-category-card {
    /* Exactly 4 items visible on desktop */
    flex: 0 0 calc((100% - (20px * 3)) / 4) !important;
    width: calc((100% - (20px * 3)) / 4) !important;
    max-width: calc((100% - (20px * 3)) / 4) !important;
    min-width: 230px;
    scroll-snap-align: start;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .ks-categories-slider-track .ks-slide-item.ks-category-card {
        /* 3 items on tablets */
        flex: 0 0 calc((100% - (16px * 2)) / 3) !important;
        width: calc((100% - (16px * 2)) / 3) !important;
        max-width: calc((100% - (16px * 2)) / 3) !important;
        min-width: 190px;
    }

    .ks-categories-slider-track {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .ks-categories-slider-track .ks-slide-item.ks-category-card {
        /* 2 items on mobile */
        flex: 0 0 calc((100% - 14px) / 2) !important;
        width: calc((100% - 14px) / 2) !important;
        max-width: calc((100% - 14px) / 2) !important;
        min-width: 150px;
        padding: 18px 12px;
    }

    .ks-categories-slider-track {
        gap: 14px;
        padding: 10px 2px 18px;
    }
}

@media (max-width: 480px) {
    .ks-categories-slider-track .ks-slide-item.ks-category-card {
        flex: 0 0 82% !important;
        width: 82% !important;
        max-width: 82% !important;
        min-width: 210px;
    }
}

/* Duplicate Header Prevention: Never show header twice if section already has heading */
.elementor-widget-shortcode .ks-categories-slider-container .ks-section-header,
.elementor-widget-keshri_category_grid .ks-categories-slider-container .ks-section-header,
.elementor-section .elementor-widget-heading~.elementor-widget-shortcode .ks-section-header,
.elementor-section .elementor-widget-heading+* .ks-section-header {
    display: none !important;
}

/* Category Slider Nav Arrows */
.ks-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid var(--ks-border-light);
    color: var(--ks-navy);
    box-shadow: 0 6px 18px rgba(8, 45, 85, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    padding: 0;
}

.ks-slider-arrow svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.ks-slider-prev {
    left: -22px;
}

.ks-slider-next {
    right: -22px;
}

.ks-slider-arrow:hover {
    background: var(--ks-primary);
    color: #ffffff;
    border-color: var(--ks-primary);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 22px rgba(8, 120, 190, 0.4);
}

.ks-slider-arrow:active {
    transform: translateY(-50%) scale(0.96);
}

.ks-slider-arrow.ks-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 768px) {
    .ks-slider-prev {
        left: -8px;
    }

    .ks-slider-next {
        right: -8px;
    }

    .ks-slider-arrow {
        width: 38px;
        height: 38px;
    }

    .ks-slider-arrow svg {
        width: 18px;
        height: 18px;
    }
}

/* Slider Dots Pagination */
.ks-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    width: 100%;
}

.ks-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
    outline: none;
}

.ks-slider-dot:hover {
    background: #94a3b8;
}

.ks-slider-dot.ks-active {
    width: 28px;
    border-radius: 8px;
    background: var(--ks-primary);
    box-shadow: 0 2px 8px rgba(8, 120, 190, 0.4);
}

/* Also support WooCommerce [product_categories] shortcode sliding in .ks-categories-section */
.ks-categories-section .woocommerce ul.products {
    display: flex !important;
    gap: 16px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    padding-bottom: 18px !important;
    scrollbar-width: none !important;
}

.ks-categories-section .woocommerce ul.products::-webkit-scrollbar {
    display: none !important;
}

.ks-categories-section .woocommerce ul.products li.product-category {
    flex: 0 0 calc((100% - (16px * 4)) / 5) !important;
    min-width: 200px !important;
    scroll-snap-align: start !important;
    margin: 0 !important;
}

.ks-category-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 14px 14px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    box-shadow: 0 4px 18px rgba(8, 45, 85, 0.06);
    border: 1px solid #e2e8f0;
    transition: var(--ks-transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    height: 100%;
}

.ks-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(8, 45, 85, 0.12);
    border-color: #cbd5e1;
}

/* Big Image Box */
.ks-cat-image-box {
    width: 100%;
    aspect-ratio: 1.05 / 1;
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f1f5f9;
    box-sizing: border-box;
}

.ks-cat-big-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 11px;
    transition: transform 0.35s ease;
}

.ks-category-card:hover .ks-cat-big-image {
    transform: scale(1.05);
}

.ks-cat-placeholder-box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.ks-cat-placeholder-svg {
    width: 55%;
    height: 55%;
    max-width: 90px;
    max-height: 90px;
}

/* Category Info: Title & Count Only (No Description) */
.ks-cat-info {
    width: 100%;
    text-align: left;
    padding: 2px 2px 0;
}

.ks-cat-name {
    font-family: var(--ks-font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ks-navy);
    margin: 0;
    line-height: 1.35;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.ks-category-card:hover .ks-cat-name {
    color: var(--ks-primary);
}

/* Yellow highlighted count badge matching screenshot */
.ks-cat-count-inline {
    font-weight: 700;
    font-size: 0.95rem;
    color: #102B46;
    background: #facc15;
    padding: 1px 6px;
    border-radius: 4px;
    display: inline-block;
    line-height: 1.25;
    margin-left: 2px;
}

.ks-category-card .ks-cat-desc,
.ks-category-card .ks-cat-count-badge {
    display: none !important;
}

/* ==========================================================================
   HOMEPAGE SECTION 4: POPULAR PRODUCTS (WOOCOMMERCE SHORTCODES)
   ========================================================================== */

.ks-products-section {
    background-color: #ffffff;
}

.ks-wc-missing-notice {
    background: var(--ks-bg-light);
    border: 1px dashed #cbd5e1;
    padding: 40px 20px;
    border-radius: var(--ks-radius-md);
    color: var(--ks-text-muted);
}

/* ==========================================================================
   HOMEPAGE SECTION 5: BULK ORDER CTA BANNER
   ========================================================================== */

.ks-bulk-banner-section {
    padding: 30px 0 60px;
}

.ks-bulk-banner-card {
    background: linear-gradient(135deg, #082D55 0%, #084c8a 100%);
    border-radius: var(--ks-radius-lg);
    padding: 50px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: #ffffff;
    box-shadow: var(--ks-shadow-lg);
}

.ks-bulk-banner-content {
    flex: 1;
}

.ks-bulk-tag {
    display: inline-block;
    background: rgba(0, 191, 165, 0.2);
    color: #00BFA5;
    font-weight: 700;
    font-size: 0.825rem;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--ks-radius-full);
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.ks-bulk-title {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 12px;
}

.ks-bulk-desc {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 650px;
}

.ks-bulk-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #e2e8f0;
}

.ks-bulk-banner-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.ks-bulk-phone-note {
    font-size: 0.825rem;
    color: #94a3b8;
}

.ks-bulk-phone-note strong {
    color: #ffffff;
}

/* ==========================================================================
   HOMEPAGE SECTION 6: ABOUT US + WHY CHOOSE US (2 COLUMNS)
   ========================================================================== */

.ks-about-why-section {
    background-color: #ffffff;
    border-top: 1px solid var(--ks-border-light);
}

.ks-about-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.ks-about-col {
    display: flex;
    flex-direction: column;
}

.ks-about-media {
    margin-bottom: 25px;
    border-radius: var(--ks-radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(8, 45, 85, 0.08);
    border: 1px solid var(--ks-border-light);
    background: var(--ks-bg-light);
}

.ks-about-media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.ks-about-text .ks-about-heading {
    font-size: 1.85rem;
    color: var(--ks-navy);
    font-weight: 700;
    margin: 8px 0 16px;
    line-height: 1.3;
}

.ks-about-text p {
    color: var(--ks-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.ks-about-text .ks-btn {
    margin-top: 10px;
}

/* ==========================================================================
   HOMEPAGE SECTION 7: WHY CHOOSE US (5 BENEFITS WITH ICONS)
   ========================================================================== */

.ks-why-section {
    background-color: var(--ks-bg-light);
}

.ks-why-5-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.ks-why-5-card {
    background: #ffffff;
    border-radius: var(--ks-radius-lg);
    padding: 30px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--ks-border-light);
    box-shadow: var(--ks-shadow-sm);
    transition: var(--ks-transition);
    position: relative;
}

.ks-why-5-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ks-shadow-lg);
    border-color: var(--ks-primary);
}

.ks-why-5-icon {
    font-size: 2.2rem;
    line-height: 1;
    width: 60px;
    height: 60px;
    background: var(--ks-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: var(--ks-transition);
}

.ks-why-5-card:hover .ks-why-5-icon {
    transform: scale(1.1);
    background: var(--ks-primary);
    color: #ffffff;
}

.ks-why-5-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ks-navy);
    margin-bottom: 8px;
    line-height: 1.3;
}

.ks-why-5-desc {
    font-size: 0.85rem;
    color: var(--ks-text-muted);
    line-height: 1.55;
    margin: 0;
}

/* ==========================================================================
   HOMEPAGE SECTION 8: BULK ORDER BANNER
   ========================================================================== */

.ks-bulk-banner-section {
    padding: 30px 0 60px;
}

.ks-bulk-banner-card {
    background: linear-gradient(135deg, #102B46 0%, #0875C9 100%);
    border-radius: var(--ks-radius-lg);
    padding: 50px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: #ffffff;
    box-shadow: var(--ks-shadow-lg);
}

.ks-bulk-banner-content {
    flex: 1;
}

.ks-bulk-tag {
    display: inline-block;
    background: rgba(0, 191, 165, 0.2);
    color: #00BFA5;
    font-weight: 700;
    font-size: 0.825rem;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--ks-radius-full);
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.ks-bulk-title {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 12px;
}

.ks-bulk-desc {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 650px;
}

.ks-bulk-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #e2e8f0;
}

.ks-bulk-banner-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.ks-bulk-phone-note {
    font-size: 0.825rem;
    color: #94a3b8;
}

.ks-bulk-phone-note strong {
    color: #ffffff;
}

/* ==========================================================================
   HOMEPAGE SECTION 10: TRUSTED BRANDS / PARTNERS
   ========================================================================== */

.ks-brands-section {
    background-color: #ffffff;
    padding: 50px 0;
    border-top: 1px solid var(--ks-border-light);
    border-bottom: 1px solid var(--ks-border-light);
}

.ks-brands-header {
    margin-bottom: 30px;
}

.ks-brands-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--ks-text-light);
}

.ks-brands-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
    align-items: center;
}

.ks-brand-item {
    padding: 14px 10px;
    background: var(--ks-bg-light);
    border-radius: var(--ks-radius-sm);
    text-align: center;
    border: 1px solid var(--ks-border-light);
    transition: var(--ks-transition);
}

.ks-brand-item span {
    font-family: var(--ks-font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #64748b;
    transition: var(--ks-transition);
}

.ks-brand-item:hover {
    background: #ffffff;
    border-color: var(--ks-primary);
    box-shadow: var(--ks-shadow-sm);
}

.ks-brand-item:hover span {
    color: var(--ks-primary);
}

/* ==========================================================================
   HOMEPAGE SECTION 11: NEWSLETTER SUBSCRIPTION
   ========================================================================== */

.ks-newsletter-section {
    background: linear-gradient(135deg, #102B46 0%, #0875C9 100%);
    padding: 65px 0;
    color: #ffffff;
}

.ks-newsletter-card {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.ks-newsletter-tag {
    display: inline-block;
    background: rgba(0, 191, 165, 0.2);
    color: #00BFA5;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: var(--ks-radius-full);
    margin-bottom: 12px;
    letter-spacing: 1.5px;
}

.ks-newsletter-title {
    font-size: 2.3rem;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 12px;
}

.ks-newsletter-desc {
    color: #e2e8f0;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.ks-newsletter-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 580px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.ks-newsletter-input {
    flex: 1;
    min-width: 280px;
    padding: 13px 22px;
    border-radius: var(--ks-radius-full);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: #ffffff;
    font-size: 0.95rem;
    color: var(--ks-text-main);
    outline: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ks-newsletter-input:focus {
    border-color: var(--ks-accent);
    box-shadow: 0 0 0 3px rgba(0, 191, 165, 0.3);
}

.ks-newsletter-btn {
    padding: 13px 30px;
    border-radius: var(--ks-radius-full);
    background: var(--ks-accent);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--ks-transition);
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 191, 165, 0.3);
}

.ks-newsletter-btn:hover {
    background: var(--ks-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 191, 165, 0.4);
}

/* ==========================================================================
   HOMEPAGE SECTION 10 & FOOTER
   ========================================================================== */

.ks-site-footer {
    background: #051c36;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.ks-footer-main {
    padding: 70px 0 50px;
}

.ks-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 40px;
}

.ks-footer-grid.ks-footer-cols-4 {
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
}

.ks-footer-grid.ks-footer-cols-3 {
    grid-template-columns: 1.4fr 1.1fr 1.3fr;
}

.ks-footer-grid.ks-footer-cols-2 {
    grid-template-columns: 1.2fr 1fr;
}

.ks-footer-grid.ks-footer-cols-1 {
    grid-template-columns: 1fr;
    max-width: 680px;
}

.ks-footer-logo-wrap {
    margin-bottom: 18px;
    display: inline-block;
}

.ks-footer-logo {
    display: inline-block;
    text-decoration: none;
    line-height: 1;
}

.ks-footer-logo-img {
    display: block;
    height: auto;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.ks-footer-logo-img:hover {
    opacity: 0.9;
}

.ks-logo-text-bold {
    font-family: var(--ks-font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
}

.ks-logo-text-light {
    font-family: var(--ks-font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--ks-secondary);
    margin-left: 4px;
}

.ks-footer-about-text {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 18px;
}

.ks-footer-trust-badge {
    background: rgba(255, 255, 255, 0.06);
    padding: 8px 12px;
    border-radius: var(--ks-radius-sm);
    font-size: 0.775rem;
    color: #e2e8f0;
    margin-bottom: 20px;
}

.ks-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ks-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    transition: var(--ks-transition);
}

.ks-social-icon svg {
    width: 17px;
    height: 17px;
}

.ks-social-icon:hover {
    background: var(--ks-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.ks-footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.ks-footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--ks-primary);
}

.ks-footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ks-footer-links-list li {
    margin-bottom: 10px;
}

.ks-footer-links-list li a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--ks-transition);
}

.ks-footer-links-list li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.ks-footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ks-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ks-footer-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--ks-radius-sm);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ks-secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

.ks-footer-icon svg {
    width: 16px;
    height: 16px;
}

.ks-footer-label {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
}

.ks-footer-val {
    color: #e2e8f0;
    font-size: 0.875rem;
    font-weight: 500;
}

a.ks-footer-val:hover {
    color: var(--ks-secondary);
}

.ks-footer-gst-tag {
    margin-top: 20px;
    background: rgba(8, 120, 190, 0.15);
    border: 1px solid rgba(8, 120, 190, 0.3);
    padding: 7px 12px;
    border-radius: var(--ks-radius-sm);
    font-size: 0.775rem;
    color: #93c5fd;
}

/* Bottom Footer */
.ks-footer-bottom {
    background: #031224;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.825rem;
}

.ks-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.ks-copyright p {
    margin: 0;
    color: #64748b;
}

.ks-policy-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ks-policy-nav a {
    color: #94a3b8;
}

.ks-policy-nav a:hover {
    color: #ffffff;
}

.ks-sep {
    color: #475569;
}

/* ==========================================================================
   WHOLESALE ENQUIRY MODAL POPUP
   ========================================================================== */

.ks-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ks-modal.ks-modal-open {
    opacity: 1;
    visibility: visible;
}

.ks-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 45, 85, 0.75);
    backdrop-filter: blur(4px);
}

.ks-modal-dialog {
    position: relative;
    background: #ffffff;
    border-radius: var(--ks-radius-lg);
    width: 100%;
    max-width: 600px;
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px rgba(8, 45, 85, 0.25);
    z-index: 2;
    overflow: hidden;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.ks-modal.ks-modal-open .ks-modal-dialog {
    transform: translateY(0) scale(1);
}

.ks-modal-header {
    background: var(--ks-navy);
    color: #ffffff;
    padding: 22px 28px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.ks-modal-title {
    color: #ffffff;
    font-size: 1.35rem;
    margin-bottom: 4px;
}

.ks-modal-subtitle {
    color: #94a3b8;
    font-size: 0.85rem;
    margin: 0;
}

.ks-modal-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
}

.ks-modal-form {
    padding: 24px 28px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.ks-form-group {
    margin-bottom: 16px;
}

.ks-form-group label {
    display: block;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--ks-navy);
    margin-bottom: 6px;
}

.ks-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ks-form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--ks-border);
    border-radius: var(--ks-radius-sm);
    font-size: 0.9rem;
    color: var(--ks-text-main);
    background: #f8fafc;
    transition: var(--ks-transition);
}

.ks-form-control:focus {
    background: #ffffff;
    border-color: var(--ks-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(8, 120, 190, 0.15);
}

.ks-form-control[readonly] {
    background: #e2e8f0;
    font-weight: 600;
    color: var(--ks-navy);
}

.ks-modal-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.ks-form-status {
    padding: 10px 14px;
    border-radius: var(--ks-radius-sm);
    font-size: 0.85rem;
    margin-bottom: 14px;
}

.ks-form-status.ks-status-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.ks-form-status.ks-status-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Back to Top */
.ks-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--ks-primary);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--ks-shadow-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--ks-transition);
    z-index: 990;
}

.ks-back-to-top.ks-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ks-back-to-top:hover {
    background: var(--ks-navy);
}

.ks-back-to-top svg {
    width: 20px;
    height: 20px;
}

/* Breadcrumbs */
.ks-breadcrumbs-bar {
    background: #f8fafc;
    border-bottom: 1px solid var(--ks-border);
    padding: 12px 0;
    font-size: 0.85rem;
}

.ks-breadcrumbs-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.ks-crumb-sep {
    color: #94a3b8;
}

.ks-current {
    color: var(--ks-navy);
    font-weight: 600;
}

/* ==========================================================================
   ADMIN NOTICE BOX
   ========================================================================== */
.ks-notice-box {
    background: #ffffff;
    border-left: 4px solid var(--ks-primary);
    box-shadow: var(--ks-shadow-md);
    padding: 18px 24px;
    border-radius: var(--ks-radius-md);
    display: flex;
    align-items: center;
    gap: 20px;
}

.ks-notice-icon {
    font-size: 2rem;
}

.ks-notice-text strong {
    color: var(--ks-navy);
    font-size: 1rem;
    display: block;
    margin-bottom: 4px;
}

.ks-notice-text p {
    color: var(--ks-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN (BREAKPOINTS)
   ========================================================================== */

/* Laptop / Desktop (max-width: 1280px) */
@media (max-width: 1280px) {
    .ks-brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
    .ks-hero-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .ks-hero-content-col {
        max-width: 100%;
    }

    .ks-hero-btn-group {
        justify-content: center;
    }

    .ks-hero-trust-list {
        justify-content: center;
    }

    .ks-about-why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ks-categories-grid,
    .ks-categories-grid.ks-grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }

    .ks-why-5-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ks-footer-grid,
    .ks-footer-grid.ks-footer-cols-4,
    .ks-footer-grid.ks-footer-cols-3 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 36px 28px !important;
    }

    .ks-bulk-banner-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .ks-contact-banner-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .ks-contact-info-strip {
        justify-content: center;
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    .ks-desktop-only {
        display: none !important;
    }

    .ks-topbar-left {
        display: none;
    }

    .ks-topbar-inner {
        justify-content: center;
    }

    /* Mobile Header: Row 1 = Logo + Actions; Row 2 = Full-Width Search Bar */
    .ks-main-header {
        padding: 10px 0 12px !important;
    }

    .ks-main-header-inner {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0 !important;
    }

    .ks-header-branding {
        order: 1 !important;
        flex: 0 0 auto !important;
    }

    .ks-header-branding .custom-logo-link img,
    .ks-header-branding .custom-logo {
        max-height: 68px;
        max-width: 200px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .ks-header-actions {
        order: 2 !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin-left: auto !important;
    }

    /* Product Search Bar: Full-Width directly below header row */
    .ks-header-search {
        display: block !important;
        order: 3 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin: 10px 0 2px !important;
        position: relative !important;
    }

    .ks-header-search .ks-search-form {
        width: 100% !important;
        display: block !important;
    }

    .ks-header-search .ks-search-input-wrap {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        height: 40px !important;
        background: #F8FAFC !important;
        border: 1.5px solid #CBD5E1 !important;
        border-radius: 8px !important;
        padding: 0 4px 0 12px !important;
        box-shadow: 0 1px 3px rgba(16, 43, 70, 0.04) !important;
        box-sizing: border-box !important;
        transition: all 0.2s ease !important;
    }

    .ks-header-search .ks-search-input-wrap:focus-within {
        border-color: #0878BE !important;
        background: #FFFFFF !important;
        box-shadow: 0 0 0 3px rgba(8, 120, 190, 0.12) !important;
    }

    .ks-header-search .ks-search-field {
        flex: 1 !important;
        border: none !important;
        background: transparent !important;
        font-size: 13.5px !important;
        color: #102B46 !important;
        padding: 0 8px 0 0 !important;
        outline: none !important;
        box-shadow: none !important;
        height: 100% !important;
    }

    .ks-header-search .ks-search-field::placeholder {
        color: #94A3B8 !important;
        font-size: 13px !important;
    }

    .ks-header-search .ks-search-submit {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 32px !important;
        padding: 0 12px !important;
        background: #F36B21 !important;
        color: #FFFFFF !important;
        border: none !important;
        border-radius: 6px !important;
        cursor: pointer !important;
        font-weight: 600 !important;
        transition: background 0.2s ease !important;
    }

    .ks-header-search .ks-search-submit svg {
        width: 15px !important;
        height: 15px !important;
        stroke: #FFFFFF !important;
    }

    .ks-header-search .ks-search-submit .ks-search-btn-text {
        display: none !important;
    }

    .ks-header-action-item {
        padding: 3px;
    }

    .ks-action-icon {
        width: 36px;
        height: 36px;
    }

    .ks-header-actions .ks-action-text {
        display: none;
    }

    .ks-mobile-toggle {
        display: flex;
    }

    .ks-navbar {
        display: none;
    }

    .ks-hero-title {
        font-size: 2.1rem;
    }

    .ks-categories-grid,
    .ks-categories-grid.ks-grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }

    .ks-why-5-grid {
        grid-template-columns: 1fr;
    }

    .ks-newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .ks-newsletter-input {
        width: 100%;
    }

    .ks-newsletter-btn {
        width: 100%;
    }

    .ks-brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ks-footer-main {
        padding: 45px 0 30px !important;
    }

    .ks-footer-grid,
    .ks-footer-grid.ks-footer-cols-4,
    .ks-footer-grid.ks-footer-cols-3,
    .ks-footer-grid.ks-footer-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .ks-footer-logo-img {
        max-width: 100% !important;
        height: auto !important;
    }

    .ks-footer-about-text {
        font-size: 0.88rem !important;
        line-height: 1.65 !important;
        word-break: break-word !important;
    }

    .ks-footer-trust-badge {
        max-width: 100% !important;
        word-break: break-word !important;
    }

    .ks-social-links {
        flex-wrap: wrap !important;
        gap: 12px !important;
    }

    .ks-social-icon {
        width: 40px !important;
        height: 40px !important;
    }

    .ks-footer-heading {
        font-size: 1.05rem !important;
        margin-bottom: 16px !important;
    }

    .ks-footer-links-list li {
        margin-bottom: 8px !important;
    }

    .ks-footer-links-list li a {
        display: inline-block !important;
        padding: 4px 0 !important;
        font-size: 0.9rem !important;
    }

    .ks-footer-contact-info {
        gap: 14px !important;
    }

    .ks-footer-contact-item {
        gap: 12px !important;
    }

    .ks-footer-val {
        font-size: 0.88rem !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    .ks-footer-gst-tag {
        margin-top: 16px !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        line-height: 1.5 !important;
    }

    .ks-form-row {
        grid-template-columns: 1fr;
    }

    .ks-footer-bottom {
        padding: 20px 0 !important;
    }

    .ks-footer-bottom-inner {
        flex-direction: column !important;
        text-align: center !important;
        gap: 14px !important;
    }

    .ks-copyright p {
        text-align: center !important;
        font-size: 0.825rem !important;
        line-height: 1.5 !important;
    }

    .ks-policy-nav {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px 12px !important;
    }

    .ks-policy-nav li a {
        font-size: 0.8rem !important;
        padding: 2px !important;
    }
}

/* Small Mobile (375px & 430px) */
@media (max-width: 430px) {
    .ks-logo-tagline {
        display: none;
    }

    .ks-logo-title {
        font-size: 1.25rem;
    }

    .ks-header-actions {
        gap: 5px;
    }

    .ks-action-icon {
        width: 32px;
        height: 32px;
    }

    .ks-action-icon svg {
        width: 16px;
        height: 16px;
    }

    .ks-hero-title {
        font-size: 1.85rem;
    }

    .ks-hero-btn-group {
        flex-direction: column;
        width: 100%;
    }

    .ks-hero-btn-group .ks-btn {
        width: 100%;
    }

    .ks-contact-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .ks-contact-cta-actions .ks-btn {
        width: 100%;
    }

    /* Footer on Small Mobile */
    .ks-footer-main {
        padding: 35px 0 25px !important;
    }

    .ks-policy-nav .ks-sep {
        display: none !important;
    }

    .ks-policy-nav {
        gap: 6px 14px !important;
    }

    /* Modal Responsive */
    .ks-modal {
        padding: 12px;
    }

    .ks-modal-dialog {
        max-height: calc(100vh - 24px);
        border-radius: var(--ks-radius-md);
    }

    .ks-modal-header {
        padding: 16px 18px;
    }

    .ks-modal-title {
        font-size: 1.18rem;
    }

    .ks-modal-subtitle {
        font-size: 0.8rem;
    }

    .ks-modal-form {
        padding: 16px 18px;
    }

    .ks-modal-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .ks-modal-actions .ks-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   STANDARD INNER PAGES (ABOUT US, CONTACT US, ETC.)
   ========================================================================== */

.ks-standard-page {
    background-color: #F8FAFC;
    min-height: 60vh;
}

.ks-page-header {
    background: #ffffff;
    border: 1px solid var(--ks-border-light);
    border-radius: var(--ks-radius-lg);
    padding: 30px 35px;
    margin-bottom: 30px;
    box-shadow: var(--ks-shadow-sm);
}

.ks-page-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--ks-navy);
    margin: 0;
    line-height: 1.25;
}

.ks-page-content-box {
    background: #ffffff;
    border: 1px solid var(--ks-border-light);
    border-radius: var(--ks-radius-lg);
    padding: 40px;
    box-shadow: var(--ks-shadow-sm);
    line-height: 1.75;
    color: var(--ks-text);
}

.ks-page-content-box p {
    margin-bottom: 1.25rem;
}

.ks-page-content-box h2 {
    color: var(--ks-navy);
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.ks-page-content-box h3 {
    color: var(--ks-navy);
    font-size: 1.35rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.ks-about-page-wrap,
.ks-contact-page-wrap {
    width: 100%;
}

/* ==========================================================================
   WHOLESALE ALERT BANNER (RESPONSIVE)
   ========================================================================== */
.ks-shop-wholesale-banner {
    background: #ffffff;
    border-left: 4px solid var(--ks-accent, #EA580C);
    box-shadow: 0 4px 16px rgba(8, 45, 85, 0.07);
    padding: 16px 22px;
    border-radius: var(--ks-radius-md, 12px);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #edf2f7;
    border-left: 4px solid var(--ks-accent, #EA580C);
}

.ks-swb-content-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.ks-swb-icon {
    font-size: 2.2rem;
    line-height: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ks-swb-text {
    flex: 1;
    min-width: 0;
}

.ks-swb-text strong {
    display: block;
    color: var(--ks-navy, #102B46);
    font-family: var(--ks-font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.35;
    word-break: normal;
}

.ks-swb-text span {
    color: var(--ks-text-muted, #64748b);
    font-size: 0.88rem;
    line-height: 1.5;
    display: block;
}

.ks-shop-wholesale-banner .ks-open-enquiry-modal {
    flex-shrink: 0;
    white-space: nowrap;
    background: var(--ks-accent, #EA580C);
    color: #ffffff;
    border: none;
    padding: 11px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(234, 88, 12, 0.28);
    transition: all 0.25s ease;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ks-shop-wholesale-banner .ks-open-enquiry-modal:hover {
    background: #c2410c;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.38);
}

@media (max-width: 860px) {
    .ks-shop-wholesale-banner {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 16px 18px !important;
        gap: 14px !important;
        margin-bottom: 22px !important;
    }

    .ks-swb-content-wrap {
        width: 100% !important;
        gap: 14px !important;
        align-items: flex-start !important;
    }

    .ks-swb-icon {
        font-size: 2rem !important;
        margin-top: 2px !important;
    }

    .ks-swb-text {
        width: 100% !important;
    }

    .ks-swb-text strong {
        font-size: 1rem !important;
        margin-bottom: 4px !important;
    }

    .ks-swb-text span {
        font-size: 0.85rem !important;
        line-height: 1.45 !important;
    }

    .ks-shop-wholesale-banner .ks-open-enquiry-modal {
        width: 100% !important;
        padding: 12px 18px !important;
        font-size: 0.95rem !important;
    }
}

@media (max-width: 480px) {
    .ks-shop-wholesale-banner {
        padding: 14px 14px !important;
        gap: 12px !important;
        border-radius: 10px !important;
        border-left-width: 4px !important;
    }

    .ks-swb-content-wrap {
        gap: 10px !important;
    }

    .ks-swb-icon {
        font-size: 1.7rem !important;
    }

    .ks-swb-text strong {
        font-size: 0.95rem !important;
        line-height: 1.35 !important;
    }

    .ks-swb-text span {
        font-size: 0.82rem !important;
        line-height: 1.45 !important;
    }

    .ks-shop-wholesale-banner .ks-open-enquiry-modal {
        padding: 11px 16px !important;
        font-size: 0.9rem !important;
    }
}

/* ==========================================================================
   CURRENCY SWITCHER (HEADER, TOPBAR, MOBILE DRAWER)
   ========================================================================== */
.ks-currency-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-family: inherit;
}

.ks-currency-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: inherit;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    user-select: none;
}

.ks-currency-flag {
    font-size: 1.1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.ks-currency-code {
    font-weight: 700;
    letter-spacing: 0.3px;
}

.ks-currency-symbol {
    font-size: 0.8rem;
    opacity: 0.85;
}

.ks-currency-caret {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
    margin-left: 2px;
    opacity: 0.7;
}

.ks-currency-switcher.ks-open .ks-currency-caret {
    transform: rotate(180deg);
}

/* Topbar Context */
.ks-currency-topbar .ks-currency-btn {
    color: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.78rem;
}

.ks-currency-topbar .ks-currency-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.45);
}

/* Main Header Context */
.ks-currency-header {
    margin-right: 6px;
}

.ks-currency-header .ks-currency-btn {
    color: var(--ks-navy, #082D55);
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
}

.ks-currency-header .ks-currency-btn:hover {
    color: var(--ks-primary, #0875c9);
    border-color: var(--ks-primary, #0875c9);
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(8, 117, 201, 0.12);
}

/* Mobile Drawer Context */
.ks-drawer-currency-wrap {
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
    width: 100%;
}

.ks-currency-drawer {
    width: 100%;
    display: block;
}

.ks-currency-drawer .ks-currency-btn {
    width: 100%;
    justify-content: space-between;
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #0f172a;
    font-size: 0.86rem;
    height: 40px;
    box-sizing: border-box;
}

.ks-currency-drawer .ks-currency-btn:hover {
    background: #f1f5f9;
    border-color: var(--ks-primary, #0875c9);
}

.ks-currency-drawer .ks-currency-dropdown {
    position: static !important;
    width: 100% !important;
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    margin-top: 6px !important;
    transform: none !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.ks-currency-drawer.ks-open .ks-currency-dropdown {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Dropdown Menu Popup */
.ks-currency-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    z-index: 1050;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.ks-currency-switcher.ks-open .ks-currency-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.ks-currency-dropdown-header {
    padding: 6px 14px 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    border-bottom: 1px solid #f1f5f9;
}

.ks-currency-list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
    max-height: 290px;
    overflow-y: auto;
}

.ks-currency-item {
    margin: 0;
    padding: 0;
}

.ks-currency-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.86rem;
    transition: background 0.15s ease, color 0.15s ease;
}

.ks-currency-link:hover {
    background: #f0f7ff;
    color: var(--ks-primary, #0875c9);
}

.ks-currency-item.is-active .ks-currency-link {
    background: #e8f3fc;
    color: var(--ks-primary, #0875c9);
    font-weight: 600;
}

.ks-currency-name {
    flex: 1;
    font-size: 0.84rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ks-currency-tag {
    font-size: 0.75rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.ks-currency-check {
    width: 14px;
    height: 14px;
    color: var(--ks-primary, #0875c9);
    flex-shrink: 0;
}

.ks-currency-switcher.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ==========================================================================
   CURRENCY SWITCHER RESPONSIVE STYLES (TABLET & MOBILE)
   ========================================================================== */

/* Tablet & Mobile Screens (<= 991px) */
@media (max-width: 991px) {
    .ks-currency-header {
        margin-right: 0;
        display: inline-flex !important;
    }

    .ks-currency-header .ks-currency-btn {
        padding: 6px 10px;
        font-size: 0.82rem;
        height: 38px;
    }

    .ks-currency-dropdown {
        min-width: 200px;
        max-width: 280px;
    }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {

    /* Main Header Layout Adjustments */
    .ks-main-header {
        padding: 10px 0;
    }

    .ks-main-header-inner {
        gap: 8px;
    }

    .ks-header-branding {
        min-width: 0;
        flex-shrink: 1;
    }

    .custom-logo-link img,
    .custom-logo {
        max-height: 42px;
        max-width: 135px;
        height: auto;
    }

    .ks-custom-logo-fallback .ks-logo-symbol svg {
        width: 30px;
        height: 30px;
    }

    .ks-custom-logo-fallback .ks-logo-title {
        font-size: 1.15rem;
    }

    .ks-custom-logo-fallback .ks-logo-sub {
        font-size: 0.78rem;
    }

    .ks-custom-logo-fallback .ks-logo-tagline {
        display: none;
    }

    /* Currency in Main Header on Mobile */
    .ks-currency-header {
        display: inline-flex !important;
        margin-right: 0;
        flex-shrink: 0;
    }

    .ks-currency-header .ks-currency-btn {
        height: 36px;
        padding: 5px 8px;
        font-size: 0.78rem;
        gap: 4px;
        border-radius: 6px;
        background: #f8fafc;
        border: 1px solid #cbd5e1;
        color: var(--ks-navy, #082D55);
        box-sizing: border-box;
    }

    .ks-currency-header .ks-currency-btn:hover,
    .ks-currency-header.ks-open .ks-currency-btn {
        background: #ffffff;
        border-color: var(--ks-primary, #0875c9);
        color: var(--ks-primary, #0875c9);
    }

    .ks-currency-header .ks-currency-flag {
        font-size: 1.05rem;
    }

    .ks-currency-header .ks-currency-code {
        font-size: 0.76rem;
        font-weight: 700;
        letter-spacing: 0.2px;
    }

    .ks-currency-header .ks-currency-symbol {
        display: none;
        /* Keeps the mobile header button clean & uncluttered */
    }

    .ks-currency-header .ks-currency-caret {
        width: 10px;
        height: 10px;
    }

    /* Header Actions Alignment */
    .ks-header-actions {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
    }

    /* Dropdown Positioning on Mobile */
    .ks-currency-header .ks-currency-dropdown {
        position: absolute;
        top: calc(100% + 8px);
        right: -30px;
        min-width: 210px;
        max-width: min(290px, calc(100vw - 20px));
        border-radius: 12px;
        box-shadow: 0 12px 35px rgba(8, 45, 85, 0.22), 0 4px 12px rgba(0, 0, 0, 0.08);
        border: 1px solid #cbd5e1;
        z-index: 1050;
    }

    .ks-currency-list {
        max-height: 250px;
        -webkit-overflow-scrolling: touch;
    }

    .ks-currency-link {
        padding: 10px 14px;
        font-size: 0.88rem;
    }

    /* Topbar on Mobile */
    .ks-topbar {
        padding: 5px 0;
    }

    .ks-topbar-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .ks-topbar-right {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        width: 100%;
    }

    .ks-currency-topbar .ks-currency-btn {
        padding: 3px 7px;
        font-size: 0.74rem;
        height: 24px;
        border-radius: 4px;
    }

    .ks-currency-topbar .ks-currency-flag {
        font-size: 0.95rem;
    }

    .ks-currency-topbar .ks-currency-dropdown {
        right: 0;
        top: calc(100% + 4px);
        min-width: 190px;
        max-width: min(260px, calc(100vw - 20px));
    }

    .ks-topbar-bulk-pill {
        font-size: 0.7rem;
        padding: 2px 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 60%;
    }

    .ks-bulk-text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Small Smartphone Devices (<= 480px) */
@media (max-width: 480px) {

    /* Hide Account and Wishlist in the header row on small screens (they are prominently available at the top of the mobile drawer!) */
    .ks-header-actions .ks-account-btn,
    .ks-header-actions .ks-wishlist-btn {
        display: none !important;
    }

    .ks-header-actions {
        gap: 6px;
    }

    .ks-currency-header .ks-currency-dropdown {
        right: -42px;
    }

    /* Minimal Topbar on small screens */
    .ks-topbar-bulk-pill {
        display: none;
    }

    .ks-topbar-left {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .ks-topbar-item.ks-topbar-location,
    .ks-topbar-item[href^="mailto:"] {
        display: none;
    }

    .ks-topbar-item {
        font-size: 0.74rem;
    }

    .ks-topbar-inner {
        justify-content: space-between;
    }

    .ks-topbar-right {
        width: auto;
    }
}

/* ==========================================================================
   HOMEPAGE PRODUCT CARDS (REFERENCE SPECIFICATION)
   ========================================================================== */

/* Header Tab Strip (Matching reference image) */
.ks-supplies-header-wrap {
    margin-bottom: 22px;
    border-bottom: 2px solid #E5E7EB;
    position: relative;
}

.ks-supplies-tabs {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ks-supplies-tab-btn {
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ks-navy, #082D55);
    padding: 0 0 12px 0;
    position: relative;
    cursor: pointer;
    line-height: 1.2;
    letter-spacing: -0.2px;
}

.ks-supplies-tab-btn .ks-tab-indicator {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #EB6C2C;
    border-radius: 2px;
}

/* 6-Column Grid */
.ks-product-grid-6,
ul.products.columns-6,
.columns-6 ul.products {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 12px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 30px 0 !important;
}

/* 5-Column Grid */
.ks-product-grid-5,
ul.products.columns-5,
.columns-5 ul.products {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 12px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 30px 0 !important;
}

/* Base Product Card Style (Compact Reference Design) */
ul.products li.product.ks-product-card,
ul.products li.product,
.ks-product-card {
    background: #ffffff !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 10px !important;
    padding: 9px 10px 10px !important;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease !important;
    position: relative !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

ul.products li.product.ks-product-card:hover,
ul.products li.product:hover,
.ks-product-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.08) !important;
    border-color: #CBD5E1 !important;
}

/* 1. Image Area */
.ks-pc-image-wrap {
    width: 100%;
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    background: #ffffff;
    overflow: hidden;
}

.ks-pc-image-wrap a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.ks-pc-img,
ul.products li.product a img.ks-pc-img,
ul.products li.product a img {
    max-height: 115px !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 auto !important;
    border-radius: 0 !important;
    transition: transform 0.25s ease !important;
}

ul.products li.product:hover .ks-pc-img,
ul.products li.product:hover a img,
.ks-product-card:hover .ks-pc-img {
    transform: scale(1.03) !important;
}

/* 2. Rating Badge */
.ks-pc-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #FEF9C3;
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 6px;
    width: fit-content;
    line-height: 1.1;
}

.ks-pc-rating-score {
    font-size: 0.70rem;
    font-weight: 700;
    color: #111827;
}

.ks-pc-rating-star {
    font-size: 0.72rem;
    color: #16A34A;
    line-height: 1;
}

.ks-pc-review-count {
    font-size: 0.65rem;
    font-weight: 600;
    color: #4B5563;
}

/* 3. Product Title - Compact 2-Line Clamped Display with Ellipsis */
.ks-pc-title,
ul.products li.product h3.ks-pc-title,
ul.products li.product .woocommerce-loop-product__title {
    font-family: inherit !important;
    font-size: 0.80rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: #1F2937 !important;
    margin: 0 0 6px 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    text-align: left !important;
}

.ks-pc-title a,
ul.products li.product .woocommerce-loop-product__title a {
    color: #1F2937 !important;
    text-decoration: none !important;
    display: inline !important;
    transition: color 0.18s ease !important;
}

.ks-pc-title a:hover,
ul.products li.product .woocommerce-loop-product__title a:hover {
    color: #EB6C2C !important;
}

/* 4. Price Row */
.ks-pc-price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 7px;
    flex-wrap: wrap;
}

.ks-pc-price,
ul.products li.product .ks-pc-price,
ul.products li.product .price {
    font-size: 0.98rem !important;
    font-weight: 800 !important;
    color: #111827 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 2px !important;
    letter-spacing: -0.2px !important;
}

.ks-pc-price .woocommerce-Price-currencySymbol {
    font-weight: 800 !important;
}

.ks-pc-mrp {
    font-size: 0.70rem;
    font-weight: 500;
    color: #6B7280;
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
}

.ks-pc-mrp del,
ul.products li.product .ks-pc-mrp del,
ul.products li.product .price del {
    color: #9CA3AF !important;
    font-size: 0.70rem !important;
    font-weight: 500 !important;
    text-decoration: line-through !important;
}

/* 5. Add to Cart Button (Solid Vibrant Orange, Compact Height) */
.ks-pc-action-wrap {
    width: 100%;
    margin-top: auto;
}

.ks-pc-add-to-cart-btn,
ul.products li.product .ks-pc-add-to-cart-btn,
ul.products li.product a.button.ks-pc-add-to-cart-btn,
ul.products li.product .button {
    display: block !important;
    width: 100% !important;
    background: #EB6C2C !important;
    color: #FFFFFF !important;
    font-family: inherit !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    text-align: center !important;
    padding: 7px 0 !important;
    border-radius: 6px !important;
    border: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background 0.18s ease, transform 0.12s ease !important;
    box-sizing: border-box !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.ks-pc-add-to-cart-btn:hover,
ul.products li.product .ks-pc-add-to-cart-btn:hover,
ul.products li.product a.button.ks-pc-add-to-cart-btn:hover,
ul.products li.product .button:hover {
    background: #D9531E !important;
    color: #FFFFFF !important;
    transform: translateY(-1px) !important;
}

/* 6. Delivery Estimate Row */
.ks-pc-delivery-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    margin-top: 5px;
    font-size: 0.68rem;
    font-weight: 500;
    color: #4B5563;
}

.ks-pc-truck-icon {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: #4B5563;
}

.ks-pc-delivery-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive Grid */
@media (max-width: 1280px) {

    .ks-product-grid-6,
    ul.products.columns-6,
    .columns-6 ul.products,
    .ks-product-grid-5,
    ul.products.columns-5,
    .columns-5 ul.products {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 10px !important;
    }
}

@media (max-width: 992px) {

    .ks-product-grid-6,
    ul.products.columns-6,
    .columns-6 ul.products,
    .ks-product-grid-5,
    ul.products.columns-5,
    .columns-5 ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
    }
}

@media (max-width: 768px) {

    .ks-product-grid-6,
    ul.products.columns-6,
    .columns-6 ul.products,
    .ks-product-grid-5,
    ul.products.columns-5,
    .columns-5 ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    ul.products li.product.ks-product-card,
    ul.products li.product,
    .ks-product-card {
        padding: 8px !important;
        border-radius: 8px !important;
    }

    .ks-pc-image-wrap {
        height: 110px;
    }

    .ks-pc-img,
    ul.products li.product a img {
        max-height: 100px !important;
    }

    .ks-pc-title,
    ul.products li.product .woocommerce-loop-product__title {
        font-size: 0.78rem !important;
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
    }

    .ks-pc-price {
        font-size: 0.92rem !important;
    }

    .ks-pc-add-to-cart-btn,
    ul.products li.product .button {
        padding: 6px 0 !important;
        font-size: 0.70rem !important;
    }

    .ks-pc-delivery-row {
        font-size: 0.64rem;
    }
}

@media (max-width: 480px) {
    .ks-product-grid-6,
    ul.products.columns-6,
    .columns-6 ul.products,
    .ks-product-grid-5,
    ul.products.columns-5,
    .columns-5 ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }
}

/* ==========================================================================
   POLISHED MEDICAL SINGLE PRODUCT PAGE (KESHRI SCIENTIFIC)
   ========================================================================== */

/* Main Page Container */
html {
    scroll-behavior: smooth;
}

body.single-product {
    overflow-x: clip !important;
}

.single-product .ks-woocommerce-page {
    padding-top: 25px !important;
    padding-bottom: 60px !important;
    background: #FFFFFF;
    overflow-x: clip !important;
}

.single-product div.product.ks-sp-container {
    display: block !important;
    width: 100% !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    padding: 0 15px;
    font-family: var(--ks-font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    color: #1E293B;
}

/* 1. Breadcrumb Navigation */
.ks-sp-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    color: #64748B;
    margin-bottom: 24px;
    padding: 0 2px;
    line-height: 1.4;
}
.ks-sp-breadcrumb a {
    color: #64748B;
    text-decoration: none;
    transition: color 0.2s ease;
}
.ks-sp-breadcrumb a:hover {
    color: #F36B21;
}
.ks-sp-bc-sep {
    color: #CBD5E1;
    font-size: 0.95rem;
    font-weight: 600;
}
.ks-sp-bc-current {
    color: #102B46;
    font-weight: 600;
}

/* 2. Top 3-Column Layout Grid */
.ks-sp-layout-grid {
    display: grid !important;
    grid-template-columns: 400px 1fr 340px !important;
    gap: 32px !important;
    align-items: start !important;
    margin-bottom: 45px !important;
    width: 100% !important;
}

/* --------------------------------------------------------------------------
   COLUMN 1: PRODUCT GALLERY (STICKY / FIXED UNTIL HIGHLIGHTS END)
   -------------------------------------------------------------------------- */
.ks-sp-gallery-col {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 96px !important;
    z-index: 10;
    align-self: start !important;
    width: 100%;
    transition: top 0.25s ease;
    will-change: transform, top;
}

body.admin-bar .ks-sp-gallery-col {
    top: 128px !important;
}

@media (max-height: 640px) {
    .ks-sp-gallery-col {
        top: 60px !important;
    }
}

.ks-sp-main-image-wrap {
    position: relative;
    background: #ffffff;
    border: 1px solid #E5EAF0;
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    min-height: 410px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(16, 43, 70, 0.04);
    transition: box-shadow 0.25s ease;
}
.ks-sp-main-image-wrap:hover {
    box-shadow: 0 6px 22px rgba(16, 43, 70, 0.08);
}

.ks-sp-image-brand-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #F36B21;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(243, 107, 33, 0.25);
}

.ks-sp-main-img-box {
    width: 100%;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: zoom-in;
}
.ks-sp-main-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}
.ks-sp-main-img-box:hover img {
    transform: scale(1.03);
}

.ks-sp-zoom-hint {
    position: absolute;
    bottom: 4px;
    left: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(16, 43, 70, 0.65);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
    opacity: 0.75;
    transition: opacity 0.2s;
    pointer-events: none;
}
.ks-sp-main-img-box:hover .ks-sp-zoom-hint {
    opacity: 1;
}

.ks-sp-img-actions {
    position: absolute;
    bottom: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}
.ks-sp-img-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #E5EAF0;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(16, 43, 70, 0.08);
    transition: all 0.2s ease;
    padding: 0;
}
.ks-sp-img-btn:hover {
    color: #F36B21;
    border-color: #F36B21;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 107, 33, 0.2);
}
.ks-sp-img-btn.is-active svg {
    fill: #EF4444;
    stroke: #EF4444;
}

/* Thumbnail Carousel Row */
.ks-sp-thumbnails-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    width: 100%;
}
.ks-sp-thumb-arrow {
    width: 30px;
    height: 56px;
    background: #F8FAFC;
    border: 1px solid #E5EAF0;
    border-radius: 6px;
    color: #102B46;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}
.ks-sp-thumb-arrow:hover {
    background: #102B46;
    color: #ffffff;
    border-color: #102B46;
}
.ks-sp-thumbnails-slider {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-grow: 1;
}
.ks-sp-thumbnails-slider::-webkit-scrollbar {
    display: none;
}
.ks-sp-thumb-item {
    position: relative;
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 6px;
    border: 1.5px solid #E5EAF0;
    background: #ffffff;
    padding: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ks-sp-thumb-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.ks-sp-thumb-item:hover {
    border-color: #CBD5E1;
    transform: translateY(-1px);
}
.ks-sp-thumb-item.is-active {
    border-color: #F36B21;
    box-shadow: 0 0 0 2px rgba(243, 107, 33, 0.25);
}
.ks-sp-thumb-video {
    position: relative;
}
.ks-sp-video-play-badge {
    position: absolute;
    inset: 0;
    background: rgba(220, 38, 38, 0.85);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}
.ks-sp-thumb-video:hover .ks-sp-video-play-badge {
    background: rgba(185, 28, 28, 0.95);
}

/* Product Video Player Stage in Main Gallery Box */
.ks-sp-main-img-box.ks-has-video-active {
    cursor: default;
    background: #000000;
}
.ks-sp-video-stage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}
.ks-sp-video-stage iframe.ks-sp-video-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    display: block;
}
.ks-sp-video-stage video.ks-sp-video-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
    border-radius: 8px;
    display: block;
}

/* Lightbox Modal */
.ks-sp-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(16, 43, 70, 0.88);
    backdrop-filter: blur(5px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.ks-sp-lightbox.is-visible {
    opacity: 1;
    pointer-events: auto;
}
.ks-sp-lightbox-overlay {
    position: absolute;
    inset: 0;
}
.ks-sp-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 2;
}
.ks-sp-lightbox-img {
    max-width: 85vw;
    max-height: 80vh;
    object-fit: contain;
    display: block;
}
.ks-sp-lightbox-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 36px;
    height: 36px;
    background: #102B46;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: background 0.2s;
}
.ks-sp-lightbox-close:hover {
    background: #F36B21;
}

/* --------------------------------------------------------------------------
   COLUMN 2: PRODUCT INFO & SPECS
   -------------------------------------------------------------------------- */
.ks-sp-info-col {
    min-width: 0;
}

.ks-sp-category-tag {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748B;
    margin-bottom: 8px;
}
.ks-sp-category-tag a {
    color: #64748B;
    text-decoration: none;
    transition: color 0.15s ease;
}
.ks-sp-category-tag a:hover {
    color: #F36B21;
}

.ks-sp-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #102B46 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.01em;
    margin: 0 0 10px 0 !important;
    word-break: break-word !important;
}

.ks-sp-ratings-social-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.ks-sp-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #FEF9C3;
    border: 1px solid #FEF08A;
    padding: 3px 9px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    color: #102B46;
    transition: all 0.15s ease;
}
.ks-sp-rating-badge:hover {
    background: #FEF08A;
    transform: translateY(-1px);
}
.ks-sp-star-icon {
    color: #16A34A;
    font-size: 0.95rem;
}

.ks-sp-social-proof-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F8FAFC;
    border: 1px solid #E5EAF0;
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
}

.ks-sp-brand-row {
    font-size: 0.95rem;
    color: #64748B;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}
.ks-sp-brand-title {
    color: #102B46;
    font-weight: 700;
}
a.ks-sp-brand-title,
a.ks-sp-brand-link {
    text-decoration: none;
    color: #102B46;
    transition: color 0.15s ease;
}
a.ks-sp-brand-title:hover,
a.ks-sp-brand-link:hover {
    color: #F36B21;
    text-decoration: underline;
}
.ks-sp-brand-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.76rem;
    font-weight: 600;
    color: #059669;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    padding: 2px 7px;
    border-radius: 4px;
    margin-left: 6px;
}

/* Price Box */
.ks-sp-price-box {
    background: #F8FAFC;
    border: 1px solid #E5EAF0;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 20px;
}
.ks-sp-price-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 6px;
}
.ks-sp-current-price,
.ks-sp-current-price .amount,
.ks-sp-price-line > .price,
.ks-sp-price-line > .price .amount,
.ks-sp-price-line > .ks-sp-current-price,
.ks-sp-price-line > .ks-sp-current-price .amount {
    font-size: 1.65rem !important;
    font-weight: 700 !important;
    color: #102B46 !important;
    line-height: 1.1 !important;
}
.ks-sp-mrp-price {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 5px !important;
    font-size: 0.95rem !important;
    color: #64748B !important;
}
.ks-sp-mrp-label {
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    color: #64748B !important;
}
.ks-sp-mrp-price del,
.ks-sp-original-price,
.ks-sp-price-box del {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    color: #64748B !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
}
.ks-sp-mrp-price del .amount,
.ks-sp-mrp-price del .woocommerce-Price-amount,
.ks-sp-mrp-price del bdi,
.ks-sp-mrp-price del .woocommerce-Price-currencySymbol,
.ks-sp-original-price .amount,
.ks-sp-original-price .woocommerce-Price-amount,
.ks-sp-original-price bdi,
.ks-sp-original-price .woocommerce-Price-currencySymbol,
.ks-sp-price-box del .amount {
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    color: #64748B !important;
    line-height: 1.1 !important;
    text-decoration: none !important;
}
.ks-sp-mrp-price del::after,
.ks-sp-original-price::after,
.ks-sp-price-box del::after {
    content: "" !important;
    position: absolute !important;
    left: -2px !important;
    right: -2px !important;
    top: 50% !important;
    height: 1.5px !important;
    background-color: #64748B !important;
    transform: translateY(-50%) !important;
    pointer-events: none !important;
    z-index: 2 !important;
}
.ks-sp-discount-tag {
    display: inline-flex !important;
    align-items: center !important;
    color: #059669 !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    margin-left: 2px !important;
}
.ks-sp-tax-label {
    font-size: 0.78rem;
    color: #64748B;
}
.ks-sp-price-sub {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
}
.ks-sp-gst-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ECFDF5;
    color: #047857;
    border: 1px solid #A7F3D0;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
}

/* Variation Pills */
.ks-sp-option-section {
    margin-bottom: 18px;
}
.ks-sp-option-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #102B46;
    margin-bottom: 8px;
}
.ks-sp-option-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ks-sp-pill-btn {
    padding: 7px 15px;
    border: 1.5px solid #CBD5E1;
    border-radius: 6px;
    background: #ffffff;
    color: #1E293B;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.ks-sp-pill-btn:hover {
    border-color: #F36B21;
    color: #F36B21;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(243, 107, 33, 0.12);
}
.ks-sp-pill-btn.is-selected {
    border: 2px solid #102B46;
    color: #102B46;
    font-weight: 700;
    background: #F8FAFC;
    box-shadow: 0 2px 5px rgba(16, 43, 70, 0.1);
}

/* Pack Selection Cards */
.ks-sp-pack-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.ks-sp-pack-card {
    position: relative;
    padding: 11px 18px;
    border: 1.5px solid #CBD5E1;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 125px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.ks-sp-pack-card:hover {
    border-color: #F36B21;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(243, 107, 33, 0.1);
}
.ks-sp-pack-card.is-selected {
    border: 2px solid #F36B21;
    background: #FFF7ED;
}
.ks-sp-pack-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #102B46;
}
.ks-sp-pack-sub {
    font-size: 0.75rem;
    color: #64748B;
    margin-top: 2px;
}
.ks-sp-pack-saving {
    position: absolute;
    top: -9px;
    right: 8px;
    background: #FFEDD5;
    color: #C2410C;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.ks-sp-pack-unit-price {
    font-size: 0.75rem;
    color: #64748B;
    margin-top: 3px;
    font-weight: 600;
}

/* Highlights Specs Box */
.ks-sp-highlights-box {
    background: #F8FAFC;
    border: 1px solid #E5EAF0;
    border-radius: 8px;
    padding: 18px 20px;
    margin-top: 22px;
}
.ks-sp-highlights-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}
.ks-sp-highlights-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #102B46;
    margin: 0;
}
.ks-sp-highlights-badge {
    background: #E0F2FE;
    color: #0369A1;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 4px;
    padding: 2px 8px;
}
.ks-sp-highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}
.ks-sp-highlights-list li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px solid #EEF2F6;
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.5;
}
.ks-sp-highlights-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.ks-hl-dot {
    color: #059669;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 0.85rem;
}
.ks-sp-highlights-list li strong {
    color: #102B46;
    min-width: 140px;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   COLUMN 3: BUY BOX & AVAILABILITY
   -------------------------------------------------------------------------- */
.ks-sp-buybox-col {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 96px !important;
    z-index: 10;
    align-self: start !important;
    transition: top 0.25s ease;
    will-change: transform, top;
}

body.admin-bar .ks-sp-buybox-col {
    top: 128px !important;
}

@media (max-height: 640px) {
    .ks-sp-buybox-col {
        top: 60px !important;
    }
}
.ks-sp-buybox-card {
    background: #ffffff;
    border: 1px solid #E5EAF0;
    border-radius: 10px;
    padding: 16px 18px;
    box-shadow: 0 4px 20px rgba(16, 43, 70, 0.06);
}
.ks-sp-cart-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}
.ks-sp-btn-addtocart {
    width: 100% !important;
    height: 42px !important;
    background: #F36B21 !important;
    border: 1px solid #F36B21 !important;
    color: #ffffff !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.4px !important;
    text-transform: uppercase !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-shadow: 0 3px 10px rgba(243, 107, 33, 0.22) !important;
}
.ks-sp-btn-addtocart svg {
    width: 16px !important;
    height: 16px !important;
}
.ks-sp-btn-addtocart:hover {
    background: #D95610 !important;
    border-color: #D95610 !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(243, 107, 33, 0.3) !important;
}
.ks-sp-btn-buynow {
    width: 100%;
    height: 40px;
    background: #ffffff;
    border: 1.5px solid #102B46;
    color: #102B46;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.ks-sp-btn-buynow svg {
    width: 15px;
    height: 15px;
}
.ks-sp-btn-buynow:hover {
    background: #102B46;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(16, 43, 70, 0.16);
}

/* Trust Badges 2x2 */
.ks-sp-trust-grid {
    background: #F8FAFC;
    border: 1px solid #E5EAF0;
    border-radius: 6px;
    padding: 8px 10px;
    margin: 12px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.ks-sp-trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 600;
    color: #334155;
    letter-spacing: 0.2px;
}
.ks-sp-trust-icon {
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Pincode & Delivery Section */
.ks-sp-pincode-section {
    margin-bottom: 10px;
}
.ks-sp-pincode-heading {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #102B46;
    margin-bottom: 6px;
}
.ks-sp-pincode-input-row {
    display: flex;
    align-items: center;
    border: 1.5px solid #CBD5E1;
    border-radius: 5px;
    background: #ffffff;
    overflow: hidden;
    margin-bottom: 8px;
    transition: border-color 0.2s;
}
.ks-sp-pincode-input-row:focus-within {
    border-color: #102B46;
}
.ks-sp-pincode-input-row input {
    flex-grow: 1;
    border: none;
    padding: 6px 10px;
    font-size: 0.78rem;
    outline: none;
    color: #102B46;
    font-weight: 600;
}
.ks-sp-pincode-input-row button {
    background: #102B46;
    color: #ffffff;
    border: none;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 6px 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.ks-sp-pincode-input-row button:hover {
    background: #F36B21;
}
.ks-sp-pincode-status {
    font-size: 0.74rem;
    margin-bottom: 8px;
    padding: 5px 8px;
    border-radius: 5px;
    line-height: 1.35;
}
.ks-sp-pincode-status.is-success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}
.ks-sp-pincode-status.is-error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* Delivery Details List */
.ks-sp-delivery-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.75rem;
    color: #334155;
    margin-top: 8px;
    line-height: 1.35;
}
.ks-sp-del-row {
    display: flex;
    align-items: center;
    gap: 6px;
}
.ks-sp-del-icon {
    font-size: 0.85rem;
}
.ks-sp-timer-dot {
    color: #DC2626;
    font-size: 0.95rem;
    line-height: 1;
}
.ks-sp-del-timer strong {
    color: #DC2626;
}

/* Wholesale Quick Link */
.ks-sp-wholesale-quick-link {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #CBD5E1;
}
.ks-sp-enquiry-link-btn {
    width: 100%;
    background: #F0F9FF;
    border: 1px solid #BAE6FD;
    color: #0369A1;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 7px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.ks-sp-enquiry-link-btn:hover {
    background: #E0F2FE;
    color: #0284C7;
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   MIDDLE SECTIONS: AUTHENTICITY GUARANTEE & DESCRIPTION
   -------------------------------------------------------------------------- */
.ks-sp-authenticity-banner {
    background: #F8FAFC;
    border: 1px solid #E5EAF0;
    border-left: 4px solid #F36B21;
    border-radius: 8px;
    padding: 24px 28px;
    margin: 36px 0;
}
.ks-sp-auth-inner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.ks-sp-auth-shield-icon {
    font-size: 2rem;
    line-height: 1;
}
.ks-sp-auth-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #102B46;
    margin: 0 0 6px 0;
}
.ks-sp-auth-text {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

/* Description Card */
.ks-sp-details-section {
    margin-bottom: 45px;
}
.ks-sp-desc-card {
    background: #ffffff;
    border: 1px solid #E5EAF0;
    border-radius: 10px;
    padding: 28px 32px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(16, 43, 70, 0.03);
}
.ks-sp-desc-heading {
    font-size: 1.35rem;
    font-weight: 800;
    color: #102B46;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #EEF2F6;
}
.ks-sp-desc-content {
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.75;
    position: relative;
    max-height: 220px;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.ks-sp-desc-content.is-expanded {
    max-height: none;
}
.ks-sp-desc-subheading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #102B46;
    margin: 20px 0 10px 0;
}
.ks-sp-desc-bullets {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ks-sp-desc-bullets li {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.ks-bullet-check {
    color: #059669;
    font-weight: bold;
    flex-shrink: 0;
}
.ks-sp-desc-toggle {
    margin-top: 14px;
    background: none;
    border: none;
    color: #F36B21;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    transition: color 0.15s;
}
.ks-sp-desc-toggle:hover {
    color: #D95610;
    text-decoration: underline;
}

/* WooCommerce Tabs (Reviews, Technical Specs, Wholesale Policy) */
.ks-sp-tabs-wrap .description_tab,
.ks-sp-tabs-wrap #tab-description {
    display: none !important;
}

.ks-sp-tabs-wrap .woocommerce-tabs {
    background: #ffffff;
    border: 1px solid #E5EAF0;
    border-radius: 10px;
    padding: 26px 32px;
    box-shadow: 0 2px 8px rgba(16, 43, 70, 0.03);
    margin-top: 24px;
}
.ks-sp-tabs-wrap ul.wc-tabs {
    display: flex;
    gap: 20px;
    border-bottom: 2px solid #E5EAF0;
    margin: 0 0 24px 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}
.ks-sp-tabs-wrap ul.wc-tabs li {
    margin: 0;
    padding: 0;
    position: relative;
    top: 2px;
}
.ks-sp-tabs-wrap ul.wc-tabs li a {
    display: block;
    padding: 10px 18px;
    font-size: 0.98rem;
    font-weight: 700;
    color: #64748B;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}
.ks-sp-tabs-wrap ul.wc-tabs li.active a,
.ks-sp-tabs-wrap ul.wc-tabs li a:hover {
    color: #F36B21;
    border-bottom-color: #F36B21;
}

/* --------------------------------------------------------------------------
   SECTION 6A: FAQ ACCORDION
   -------------------------------------------------------------------------- */
.ks-sp-faq-section {
    margin-bottom: 45px;
}
.ks-sp-faq-card {
    background: #ffffff;
    border: 1px solid #E5EAF0;
    border-radius: 10px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(16, 43, 70, 0.03);
}
.ks-sp-faq-header {
    margin-bottom: 24px;
}
.ks-sp-section-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: #F36B21;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}
.ks-sp-faq-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #102B46;
    margin: 0 0 6px 0;
}
.ks-sp-faq-subtitle {
    font-size: 0.9rem;
    color: #64748B;
    margin: 0;
}
.ks-sp-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ks-faq-item {
    border: 1px solid #E5EAF0;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.ks-faq-item.is-open {
    border-color: #CBD5E1;
}
.ks-faq-question {
    width: 100%;
    text-align: left;
    padding: 16px 20px;
    background: #ffffff;
    border: none;
    font-size: 0.95rem;
    font-weight: 700;
    color: #102B46;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.ks-faq-question:hover {
    background: #F8FAFC;
    color: #F36B21;
}
.ks-faq-icon {
    font-size: 1.25rem;
    font-weight: 700;
    color: #F36B21;
    flex-shrink: 0;
}
.ks-faq-answer {
    padding: 0 20px 18px 20px;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.7;
    background: #ffffff;
}
.ks-faq-answer p {
    margin: 0;
}

/* --------------------------------------------------------------------------
   SECTION 6B: INSTITUTIONAL PROCUREMENT CALLOUT BANNER
   -------------------------------------------------------------------------- */
.ks-sp-institutional-cta-section {
    margin-bottom: 50px;
}
.ks-sp-cta-card {
    background: linear-gradient(135deg, #102B46 0%, #0B1E32 100%);
    border-radius: 10px;
    padding: 34px 38px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    box-shadow: 0 6px 24px rgba(16, 43, 70, 0.15);
}
.ks-sp-cta-badge {
    color: #F36B21;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}
.ks-sp-cta-heading {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
}
.ks-sp-cta-desc {
    font-size: 0.92rem;
    color: #94A3B8;
    max-width: 620px;
    margin: 0;
    line-height: 1.6;
}
.ks-sp-cta-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.ks-btn-cta-quote {
    background: #F36B21;
    color: #ffffff;
    padding: 13px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(243, 107, 33, 0.35);
}
.ks-btn-cta-quote:hover {
    background: #D95610;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(243, 107, 33, 0.45);
}
.ks-btn-cta-phone {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 13px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.ks-btn-cta-phone:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   SECTION 7: BASED ON YOUR BROWSING HISTORY (RELATED PRODUCTS)
   -------------------------------------------------------------------------- */
.ks-sp-browsing-history-section {
    margin-top: 40px;
}
.ks-sp-history-header {
    margin-bottom: 22px;
}
.ks-sp-history-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #102B46;
    margin: 0 0 4px 0;
}
.ks-sp-history-sub {
    font-size: 0.88rem;
    color: #64748B;
    margin: 0;
}

/* Clean up WooCommerce defaults */
.single-product .related.products > h2,
.single-product section.related > h2 {
    display: none !important;
}

/* --------------------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
    .ks-sp-layout-grid {
        grid-template-columns: 360px 1fr !important;
        gap: 26px !important;
    }
    .ks-sp-buybox-col {
        grid-column: 1 / -1 !important;
        position: static !important;
    }
}

@media (max-width: 768px) {
    .ks-sp-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }
    .ks-sp-gallery-col {
        position: static !important;
        top: auto !important;
    }
    .ks-sp-main-image-wrap {
        min-height: 290px;
        padding: 16px;
    }
    .ks-sp-main-img-box {
        height: 260px;
    }
    .ks-sp-title {
        font-size: 1.15rem !important;
    }
    .ks-sp-current-price,
    .ks-sp-current-price .amount,
    .ks-sp-price-line > .price,
    .ks-sp-price-line > .price .amount,
    .ks-sp-price-line > .ks-sp-current-price,
    .ks-sp-price-line > .ks-sp-current-price .amount {
        font-size: 1.35rem !important;
    }
    .ks-sp-mrp-price del,
    .ks-sp-original-price,
    .ks-sp-price-box del,
    .ks-sp-mrp-price del .amount {
        font-size: 0.95rem !important;
    }
    .ks-sp-discount-tag {
        font-size: 0.95rem !important;
    }
    .ks-sp-buybox-card {
        padding: 18px 16px;
    }
    .ks-sp-authenticity-banner,
    .ks-sp-desc-card,
    .ks-sp-faq-card,
    .ks-sp-cta-card {
        padding: 22px 18px;
    }
    .ks-sp-cta-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .ks-sp-cta-actions {
        width: 100%;
        flex-direction: column;
    }
    .ks-btn-cta-quote,
    .ks-btn-cta-phone {
        width: 100%;
        justify-content: center;
    }
    .ks-sp-highlights-list li {
        flex-direction: column;
        gap: 2px;
    }
    .ks-sp-highlights-list li strong {
        min-width: 0;
    }
}



/* ==========================================================================
   CATEGORY & SHOP ARCHIVE LAYOUT (MATCHING REFERENCE DESIGN)
   ========================================================================== */

.ks-category-archive-page {
    background-color: #FFFFFF;
    padding-top: 18px;
    padding-bottom: 60px;
    font-family: var(--ks-font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    color: #1E293B;
}

.ks-cat-container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 1. Breadcrumbs */
.ks-cat-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.84rem;
    color: #64748B;
    margin-bottom: 20px;
    line-height: 1.4;
}
.ks-cat-bc-link {
    color: #64748B;
    text-decoration: none;
    transition: color 0.15s ease;
}
.ks-cat-bc-link:hover {
    color: #F36B21;
}
.ks-cat-bc-sep {
    color: #94A3B8;
    font-size: 0.95rem;
    font-weight: 600;
}
.ks-cat-bc-current {
    color: #102B46;
    font-weight: 600;
}

/* 2. Hero Section (Customizable Category Banner - Disabled) */
.ks-cat-hero-banner {
    display: none !important;
}

/* 3. Sub-heading & Sorting Bar */
.ks-cat-subbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    padding-bottom: 12px;
    border-bottom: 1px solid #E2E8F0;
}

.ks-cat-subbar-headline {
    flex: 1 1 auto;
}

.ks-cat-headline-text {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #102B46 !important;
    margin: 0 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em;
}

.ks-cat-subbar-sort {
    flex: 0 0 auto;
}

.ks-cat-sort-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ks-cat-sort-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
}

.ks-cat-sort-wrapper form.woocommerce-ordering {
    margin: 0 !important;
    float: none !important;
}

.ks-cat-sort-wrapper select.orderby {
    background: #FFFFFF url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23475569" stroke-width="2.5"><polyline points="6 9 12 15 18 9"/></svg>') no-repeat right 12px center !important;
    background-size: 12px !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 6px !important;
    padding: 7px 34px 7px 12px !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    color: #1E293B !important;
    outline: none !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ks-cat-sort-wrapper select.orderby:hover,
.ks-cat-sort-wrapper select.orderby:focus {
    border-color: #102B46 !important;
    box-shadow: 0 0 0 2px rgba(16, 43, 70, 0.08) !important;
}

/* 4. Two-Column Body Layout */
.ks-cat-body-layout {
    display: grid !important;
    grid-template-columns: 240px 1fr !important;
    gap: 28px !important;
    align-items: start !important;
    width: 100% !important;
}

/* --------------------------------------------------------------------------
   LEFT COLUMN: SIDEBAR FILTERS
   -------------------------------------------------------------------------- */
.ks-cat-sidebar-card {
    background: #FFFFFF;
    border: 1px solid #E5EAF0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(16, 43, 70, 0.03);
    overflow: hidden;
}

.ks-filter-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    background: #F8FAFC;
    border-bottom: 1px solid #E5EAF0;
}

.ks-filter-main-title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #102B46 !important;
    margin: 0 !important;
    letter-spacing: 0.2px;
}

.ks-filter-reset-btn {
    background: none;
    border: none;
    color: #F36B21;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 0.15s;
}
.ks-filter-reset-btn:hover {
    background: #FFF7ED;
}

/* Filter Groups (Accordion) */
.ks-filter-group {
    border-bottom: 1px solid #E5EAF0;
}
.ks-filter-group:last-of-type {
    border-bottom: none;
}

.ks-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s ease;
}
.ks-filter-header:hover {
    background: #F8FAFC;
}

.ks-filter-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: #102B46;
}

.ks-filter-arrow {
    font-size: 0.75rem;
    color: #64748B;
    transition: transform 0.2s ease;
    display: inline-block;
}
.ks-filter-group.is-open .ks-filter-arrow {
    transform: rotate(180deg);
}

.ks-filter-body {
    padding: 6px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ks-filter-checkbox-row,
.ks-filter-radio-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 0.86rem;
    color: #334155;
    transition: color 0.15s ease;
}
.ks-filter-checkbox-row:hover,
.ks-filter-radio-row:hover {
    color: #F36B21;
}

.ks-checkbox-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ks-filter-input {
    cursor: pointer;
    accent-color: #F36B21;
    width: 15px;
    height: 15px;
    margin: 0;
}

.ks-filter-name {
    font-weight: 500;
}

.ks-filter-count {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748B;
    background: #F1F5F9;
    padding: 2px 7px;
    border-radius: 10px;
}

.ks-filter-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #334155;
    font-size: 0.86rem;
    padding: 3px 0;
    transition: color 0.15s;
}
.ks-filter-cat-link:hover,
.ks-filter-cat-link.is-active {
    color: #F36B21;
    font-weight: 600;
}

/* Institutional Wholesale Callout in Sidebar */
.ks-filter-wholesale-box {
    background: linear-gradient(135deg, #102B46 0%, #0F3B66 100%);
    color: #FFFFFF;
    padding: 16px;
    margin: 12px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(16, 43, 70, 0.12);
}
.ks-fwb-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.92rem;
    margin-bottom: 6px;
}
.ks-filter-wholesale-box p {
    font-size: 0.8rem;
    color: #E2E8F0;
    line-height: 1.4;
    margin: 0 0 10px 0;
}
.ks-fwb-btn {
    width: 100%;
    background: #F36B21;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}
.ks-fwb-btn:hover {
    background: #d95713;
}

/* --------------------------------------------------------------------------
   RIGHT COLUMN: 4-COLUMN PRODUCT GRID
   -------------------------------------------------------------------------- */
.ks-cat-products-col {
    width: 100%;
}

.ks-cat-products-col ul.products,
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.ks-cat-products-col ul.products::before,
.ks-cat-products-col ul.products::after {
    display: none !important;
}

/* Product Card Format (Matches Reference Exactly) */
.ks-cat-products-col li.product.ks-product-card,
.woocommerce ul.products li.product.ks-product-card {
    background: #FFFFFF !important;
    border: 1px solid #E5EAF0 !important;
    border-radius: 8px !important;
    padding: 14px 14px 12px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    position: relative !important;
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    box-shadow: 0 2px 8px rgba(16, 43, 70, 0.03) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}
.ks-cat-products-col li.product.ks-product-card:hover,
.woocommerce ul.products li.product.ks-product-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 18px rgba(16, 43, 70, 0.08) !important;
    border-color: #CBD5E1 !important;
}

/* Card Image Box */
.ks-pc-image-wrap {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    margin-bottom: 10px;
    overflow: hidden;
}
.ks-pc-image-wrap a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.ks-pc-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}
.ks-product-card:hover .ks-pc-img {
    transform: scale(1.05);
}

/* Rating Badge Pill */
.ks-pc-rating-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #FEF9C3;
    border: 1px solid #FEF08A;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #102B46;
    margin-bottom: 8px;
    line-height: 1.2;
}
.ks-pc-rating-star {
    color: #16A34A;
    font-size: 0.85rem;
}
.ks-pc-review-count {
    color: #64748B;
    font-weight: 600;
    font-size: 0.75rem;
}

/* Card Title */
.ks-pc-title {
    font-size: 0.80rem !important;
    font-weight: 600 !important;
    color: #1F2937 !important;
    line-height: 1.35 !important;
    margin: 0 0 6px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
}
.ks-pc-title a {
    color: #1E293B !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
}
.ks-pc-title a:hover {
    color: #F36B21 !important;
}

/* Price Row */
.ks-pc-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.ks-pc-price,
.ks-pc-price .amount {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #102B46 !important;
}
.ks-pc-mrp {
    font-size: 0.82rem !important;
    color: #64748B !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
}
.ks-pc-mrp del,
.ks-pc-mrp .amount,
ul.products li.product .ks-pc-mrp del {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: 0.82rem !important;
    color: #94A3B8 !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-decoration: none !important;
}
.ks-pc-mrp del::after,
ul.products li.product .ks-pc-mrp del::after {
    content: "" !important;
    position: absolute !important;
    left: -1px !important;
    right: -1px !important;
    top: 50% !important;
    height: 1.2px !important;
    background-color: #94A3B8 !important;
    transform: translateY(-50%) !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

/* Add To Cart Button (Solid Orange) */
.ks-pc-action-wrap {
    width: 100%;
    margin-bottom: 8px;
}
.ks-pc-add-to-cart-btn {
    width: 100% !important;
    background: #F36B21 !important;
    border: 1px solid #F36B21 !important;
    color: #FFFFFF !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    padding: 9px 12px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    text-align: center !important;
    display: block !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 3px 10px rgba(243, 107, 33, 0.22) !important;
}
.ks-pc-add-to-cart-btn:hover {
    background: #d95713 !important;
    border-color: #d95713 !important;
    box-shadow: 0 5px 14px rgba(243, 107, 33, 0.32) !important;
    color: #FFFFFF !important;
    transform: translateY(-1px) !important;
}

/* Delivery Estimate Row */
.ks-pc-delivery-row {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    color: #4B5563;
    border-top: none;
    padding-top: 0;
    margin-top: 6px;
}
.ks-pc-truck-icon {
    width: 13px;
    height: 13px;
    color: #4B5563;
    flex-shrink: 0;
}
.ks-pc-delivery-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* No Products Found message */
.ks-cat-no-match-alert {
    grid-column: 1 / -1;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    color: #475569;
}
.ks-cat-no-match-alert h4 {
    margin: 0 0 8px 0;
    color: #102B46;
}

/* --------------------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
    .ks-cat-products-col ul.products,
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 991px) {
    .ks-cat-body-layout {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .ks-cat-sidebar-col {
        order: 1;
    }
    .ks-cat-products-col {
        order: 2;
    }
    .ks-cat-products-col ul.products,
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .ks-cat-hero-banner {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 20px 22px !important;
        gap: 16px !important;
    }
    .ks-cat-hero-title {
        font-size: 1.75rem !important;
    }
    .ks-cat-hero-subtitle {
        font-size: 0.95rem !important;
    }
    .ks-cat-hero-image-wrap {
        width: 100% !important;
        justify-content: center !important;
    }
    .ks-cat-hero-img {
        max-height: 120px !important;
    }
    .ks-cat-subbar-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .ks-cat-sort-wrapper {
        width: 100% !important;
        justify-content: space-between !important;
    }
    .ks-cat-sort-wrapper select.orderby {
        flex: 1 !important;
    }
    .ks-cat-products-col ul.products,
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
    .ks-pc-image-wrap {
        height: 145px !important;
    }
    .ks-pc-title {
        font-size: 0.78rem !important;
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
    }
    .ks-pc-price,
    .ks-pc-price .amount {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .ks-cat-container {
        padding: 0 12px !important;
    }
    .ks-cat-hero-banner {
        padding: 16px 16px !important;
        border-radius: 8px !important;
    }
    .ks-cat-hero-title {
        font-size: 1.45rem !important;
    }
    .ks-cat-headline-text {
        font-size: 1rem !important;
    }
    .ks-cat-products-col ul.products,
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .ks-cat-products-col li.product.ks-product-card,
    .woocommerce ul.products li.product.ks-product-card {
        padding: 10px 10px 8px !important;
    }
    .ks-pc-image-wrap {
        height: 125px !important;
    }
    .ks-pc-add-to-cart-btn {
        padding: 7px 8px !important;
        font-size: 0.78rem !important;
    }
}


/* ==========================================================================
   HOMEPAGE BRANDS SLIDER / CAROUSEL (REFERENCE MATCHING)
   ========================================================================== */

.ks-brands-slider-section {
    background-color: #FFFFFF;
    position: relative;
    padding: 35px 0 45px;
}

.ks-brands-slider-container {
    position: relative;
    width: 100%;
}

.ks-brands-slider-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.ks-brands-slider-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 15px 4px 22px;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.ks-brands-slider-track::-webkit-scrollbar {
    display: none;
}

/* Slide Cards: 6 brand cards visible per view on desktop */
.ks-brands-slider-track .ks-slide-item.ks-brand-slide-card {
    flex: 0 0 calc((100% - (18px * 5)) / 6) !important;
    width: calc((100% - (18px * 5)) / 6) !important;
    max-width: calc((100% - (18px * 5)) / 6) !important;
    min-width: 155px;
    scroll-snap-align: start;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: #FFFFFF;
    border: 1.5px solid #E5EAF0;
    border-radius: 12px;
    padding: 16px 12px 14px;
    text-decoration: none;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(16, 43, 70, 0.03);
}

.ks-brands-slider-track .ks-slide-item.ks-brand-slide-card:hover {
    transform: translateY(-5px);
    border-color: #F36B21;
    box-shadow: 0 12px 28px rgba(16, 43, 70, 0.1);
}

.ks-bsc-logo-box {
    width: 100%;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FAFCFE;
    border-radius: 8px;
    padding: 8px;
    overflow: hidden;
    transition: background-color 0.2s ease;
}

.ks-brand-slide-card:hover .ks-bsc-logo-box {
    background: #FFFFFF;
}

.ks-bsc-logo-img {
    max-height: 94px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.04));
}

.ks-brand-slide-card:hover .ks-bsc-logo-img {
    transform: scale(1.04);
}

.ks-bsc-monogram-box {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #EEF4FA;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ks-bsc-monogram-text {
    font-size: 18px;
    font-weight: 800;
    color: #102B46;
}

.ks-bsc-info {
    width: 100%;
    margin-top: 10px;
    text-align: center;
}

/* Brand Section Header & Heading Titles (compact & balanced) */
.elementor-element-ks_brands_heading .elementor-heading-title,
.elementor-element-ks_brands_heading h2,
.elementor-element-ks_sec_brands_slider .elementor-element-ks_brands_heading .elementor-heading-title,
.ks-brands-slider-section .ks-section-title,
.ks-brands-slider-container .ks-section-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: #102B46 !important;
    margin: 0 0 6px !important;
    letter-spacing: -0.2px !important;
}

.elementor-element-ks_brands_subtitle .elementor-heading-title,
.elementor-element-ks_brands_subtitle h5,
.elementor-element-ks_sec_brands_slider .elementor-element-ks_brands_subtitle .elementor-heading-title,
.ks-brands-slider-section .ks-section-subtitle,
.ks-brands-slider-container .ks-section-subtitle {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    color: #0875C9 !important;
    margin: 0 0 4px !important;
}

.elementor-element-ks_brands_desc,
.elementor-element-ks_brands_desc p,
.elementor-element-ks_sec_brands_slider .elementor-element-ks_brands_desc p,
.ks-brands-slider-section .ks-section-desc,
.ks-brands-slider-container .ks-section-desc {
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    color: #64748B !important;
    margin: 0 auto 16px !important;
    max-width: 600px !important;
}

/* Brand Slide Card Title (make compact & clean) */
.ks-brands-slider-container .ks-bsc-name,
.ks-brands-slider-track .ks-bsc-name,
.ks-brand-slide-card .ks-bsc-name,
h4.ks-bsc-name,
.ks-bsc-info h4 {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #102B46 !important;
    margin: 0 0 4px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    letter-spacing: -0.1px !important;
    transition: color 0.2s ease;
}

.ks-brand-slide-card:hover .ks-bsc-name,
.ks-brand-slide-card:hover h4.ks-bsc-name {
    color: #F36B21 !important;
}

.ks-bsc-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    white-space: nowrap;
}

.ks-badge-count {
    background-color: #FFF2EB;
    color: #F36B21;
}

.ks-badge-partner {
    background-color: #EEF4FA;
    color: #2F6592;
}

/* Arrow controls matching theme */
.ks-brands-slider-wrap .ks-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    color: #102B46;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(16, 43, 70, 0.12);
    transition: all 0.2s ease;
}

.ks-brands-slider-wrap .ks-slider-arrow:hover {
    background: #102B46;
    color: #FFFFFF;
    border-color: #102B46;
}

.ks-brands-slider-wrap .ks-slider-arrow svg {
    width: 18px;
    height: 18px;
}

.ks-brands-slider-wrap .ks-slider-prev {
    left: -18px;
}

.ks-brands-slider-wrap .ks-slider-next {
    right: -18px;
}

.ks-brands-slider-wrap .ks-slider-arrow.ks-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

/* Dots */
.ks-brands-slider-container .ks-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.ks-brands-slider-container .ks-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: #CBD5E1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ks-brands-slider-container .ks-slider-dot.ks-active {
    width: 24px;
    background: #F36B21;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .ks-brands-slider-track .ks-slide-item.ks-brand-slide-card {
        flex: 0 0 calc((100% - (16px * 4)) / 5) !important;
        width: calc((100% - (16px * 4)) / 5) !important;
        max-width: calc((100% - (16px * 4)) / 5) !important;
    }
}

@media (max-width: 992px) {
    .ks-brands-slider-track .ks-slide-item.ks-brand-slide-card {
        flex: 0 0 calc((100% - (14px * 3)) / 4) !important;
        width: calc((100% - (14px * 3)) / 4) !important;
        max-width: calc((100% - (14px * 3)) / 4) !important;
        min-width: 140px;
    }
    .ks-bsc-logo-box {
        height: 95px;
    }
    .ks-bsc-logo-img {
        max-height: 80px;
    }
    .ks-brands-slider-wrap .ks-slider-prev {
        left: -8px;
    }
    .ks-brands-slider-wrap .ks-slider-next {
        right: -8px;
    }
}

@media (max-width: 768px) {
    .ks-brands-slider-track .ks-slide-item.ks-brand-slide-card {
        flex: 0 0 calc((100% - (12px * 2)) / 3) !important;
        width: calc((100% - (12px * 2)) / 3) !important;
        max-width: calc((100% - (12px * 2)) / 3) !important;
        min-width: 130px;
    }
    .ks-bsc-logo-box {
        height: 85px;
    }
    .ks-bsc-logo-img {
        max-height: 70px;
    }
}

@media (max-width: 480px) {
    .ks-brands-slider-track .ks-slide-item.ks-brand-slide-card {
        flex: 0 0 calc((100% - 10px) / 2) !important;
        width: calc((100% - 10px) / 2) !important;
        max-width: calc((100% - 10px) / 2) !important;
        min-width: 130px;
        padding: 12px 8px 10px;
    }
    .ks-bsc-logo-box {
        height: 80px;
    }
    .ks-bsc-logo-img {
        max-height: 65px;
    }
}


/* ==========================================================================
   HEADER LIVE AJAX SEARCH & PRODUCT SUGGESTIONS DROPDOWN
   ========================================================================== */

.ks-header-search {
    position: relative !important;
}

.ks-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

/* Spinner indicator inside search field when typing */
.ks-search-spinner {
    display: none;
    position: absolute;
    right: 90px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(16, 43, 70, 0.15);
    border-top-color: #F36B21;
    border-radius: 50%;
    animation: ksSearchSpin 0.6s linear infinite;
    pointer-events: none;
    z-index: 5;
}

@keyframes ksSearchSpin {
    to { transform: translateY(-50%) rotate(360deg); }
}

.ks-header-search.is-loading .ks-search-spinner {
    display: block !important;
}

/* ==========================================================================
   HEADER LIVE AJAX SEARCH & PRODUCT SUGGESTIONS DROPDOWN
   ========================================================================== */

.ks-header-search {
    position: relative !important;
}

.ks-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

/* Spinner indicator inside search field when typing */
.ks-search-spinner {
    display: none;
    position: absolute;
    right: 90px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(16, 43, 70, 0.15);
    border-top-color: #F36B21;
    border-radius: 50%;
    animation: ksSearchSpin 0.6s linear infinite;
    pointer-events: none;
    z-index: 5;
}

@keyframes ksSearchSpin {
    to { transform: translateY(-50%) rotate(360deg); }
}

.ks-header-search.is-loading .ks-search-spinner {
    display: block !important;
}

/* Dropdown Menu Container */
.ks-search-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border: 1.5px solid #102B46;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(16, 43, 70, 0.18), 0 4px 12px rgba(16, 43, 70, 0.08);
    z-index: 999999;
    overflow: hidden;
    max-height: 490px;
    display: flex;
    flex-direction: column;
    animation: ksDropdownSlide 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

@keyframes ksDropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header inside dropdown */
.ks-sd-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #F8FAFC;
    border-bottom: 1px solid #E5EAF0;
}

.ks-sd-title {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748B;
}

.ks-sd-title mark {
    background: #FEF08A;
    color: #102B46;
    font-weight: 800;
    padding: 0 3px;
    border-radius: 2px;
}

.ks-sd-count {
    font-size: 11.5px;
    font-weight: 600;
    color: #0875C9;
    background: #EBF4FC;
    padding: 2px 8px;
    border-radius: 10px;
}

/* Scrollable Suggestions List */
.ks-sd-list {
    overflow-y: auto;
    max-height: 380px;
    padding: 4px 0;
    margin: 0;
    list-style: none;
    scrollbar-width: thin;
    scrollbar-color: #CBD5E1 #F1F5F9;
}

.ks-sd-list::-webkit-scrollbar {
    width: 6px;
}

.ks-sd-list::-webkit-scrollbar-track {
    background: #F8FAFC;
}

.ks-sd-list::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

/* Single Suggestion Item */
.ks-sd-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #F1F5F9;
    border-left: 3px solid transparent;
    transition: all 0.18s ease;
    cursor: pointer;
}

.ks-sd-item:last-child {
    border-bottom: none;
}

.ks-sd-item:hover,
.ks-sd-item.is-selected {
    background-color: #F0F7FF;
    border-left-color: #F36B21;
    text-decoration: none;
}

/* Thumbnail */
.ks-sd-img-wrap {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 8px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 4px;
    box-sizing: border-box;
}

.ks-sd-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.ks-sd-item:hover .ks-sd-img,
.ks-sd-item.is-selected .ks-sd-img {
    transform: scale(1.08);
}

/* Product Info */
.ks-sd-info {
    flex: 1 1 auto;
    min-width: 0;
}

.ks-sd-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
    flex-wrap: wrap;
}

.ks-sd-cat {
    font-size: 10.5px;
    font-weight: 600;
    color: #64748B;
    background: #F1F5F9;
    padding: 1px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.ks-sd-brand {
    font-size: 10.5px;
    font-weight: 700;
    color: #0875C9;
    white-space: nowrap;
}

.ks-sd-item-title {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #1E293B !important;
    margin: 0 0 3px !important;
    line-height: 1.4 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.18s ease;
}

.ks-sd-item:hover .ks-sd-item-title,
.ks-sd-item.is-selected .ks-sd-item-title {
    color: #F36B21 !important;
}

.ks-sd-item-title mark {
    background: #FEF3C7;
    color: #0F172A;
    font-weight: 600;
    padding: 0 2px;
    border-radius: 2px;
}

/* Stock status */
.ks-sd-stock {
    font-size: 11px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ks-sd-stock.instock {
    color: #059669;
}

.ks-sd-stock.outofstock {
    color: #DC2626;
}

.ks-sd-stock-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
    display: inline-block;
}

/* Price Column */
.ks-sd-price-col {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    text-align: right;
    padding-left: 14px;
}

.ks-sd-price {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #102B46 !important;
    line-height: 1.25 !important;
    white-space: nowrap;
}

.ks-sd-price .woocommerce-Price-amount,
.ks-sd-price bdi {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #102B46 !important;
}

.ks-sd-price .woocommerce-Price-currencySymbol {
    font-size: 12px !important;
    font-weight: 500 !important;
}

.ks-sd-mrp {
    font-size: 11px !important;
    font-weight: 400 !important;
    color: #94A3B8 !important;
    margin-top: 2px;
    white-space: nowrap;
}

.ks-sd-mrp del,
.ks-sd-mrp .woocommerce-Price-amount,
.ks-sd-mrp bdi {
    font-size: 11px !important;
    font-weight: 400 !important;
    color: #94A3B8 !important;
    text-decoration: line-through;
}

.ks-sd-arrow {
    display: inline-block;
    color: #CBD5E1;
    font-size: 13px;
    font-weight: 400;
    margin-top: 3px;
    transition: transform 0.18s ease, color 0.18s ease;
}

.ks-sd-item:hover .ks-sd-arrow,
.ks-sd-item.is-selected .ks-sd-arrow {
    color: #F36B21;
    transform: translateX(3px);
}

/* Footer / View All Link */
.ks-sd-footer {
    background: #F8FAFC;
    border-top: 1px solid #E5EAF0;
    padding: 9px 16px;
    text-align: center;
}

.ks-sd-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #F36B21;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ks-sd-view-all:hover {
    color: #102B46;
    text-decoration: underline;
}

.ks-sd-view-all svg {
    width: 15px;
    height: 15px;
    transition: transform 0.2s ease;
}

.ks-sd-view-all:hover svg {
    transform: translateX(4px);
}

/* Empty State */
.ks-sd-empty {
    padding: 30px 20px;
    text-align: center;
}

.ks-sd-empty-icon svg {
    width: 36px;
    height: 36px;
    stroke: #94A3B8;
    margin-bottom: 10px;
}

.ks-sd-empty-title {
    font-size: 14px;
    font-weight: 700;
    color: #102B46;
    margin: 0 0 6px;
}

.ks-sd-empty-title strong {
    color: #F36B21;
}

.ks-sd-empty-sub {
    font-size: 12px;
    color: #64748B;
    margin: 0;
    line-height: 1.5;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ks-search-dropdown-menu {
        max-height: 380px;
    }
    .ks-sd-img-wrap {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
    }
    .ks-sd-item-title {
        font-size: 12px !important;
    }
    .ks-sd-price,
    .ks-sd-price .woocommerce-Price-amount,
    .ks-sd-price bdi {
        font-size: 12.5px !important;
    }
}
