:root {
    --kb-white: #ffffff;
    --kb-soft: #f5f6f8;
    --kb-light: #eef1f5;
    --kb-text: #18202a;
    --kb-muted: #667085;

    --kb-red: #f0292f;
    --kb-blue: #004b9b;
    --kb-blue-bright: #0987e8;
    --kb-gold: #f4b000;

    --kb-border: rgba(24, 32, 42, 0.08);
    --kb-glass: rgba(255, 255, 255, 0.74);
    --kb-shadow: 0 30px 80px rgba(15, 23, 42, 0.09);
    --kb-shadow-hover: 0 40px 95px rgba(15, 23, 42, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--kb-text);
    background:
        radial-gradient(circle at 15% 10%, rgba(240, 41, 47, 0.08), transparent 28%),
        radial-gradient(circle at 90% 10%, rgba(9, 135, 232, 0.11), transparent 30%),
        radial-gradient(circle at 50% 80%, rgba(244, 176, 0, 0.11), transparent 28%),
        var(--kb-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

p {
    color: var(--kb-muted);
    line-height: 1.8;
}

img {
    max-width: 100%;
}

/* ==============================
   NAVBAR
============================== */

.kb-navbar {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--kb-border);
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.05);
    transition: padding 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.kb-nav-container {
    max-width: 1500px;
    padding-inline: clamp(18px, 3vw, 48px);
}

.nav-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.navbar-brand {
    flex-shrink: 0;
    font-size: 1.28rem;
    font-weight: 950;
    color: var(--kb-blue);
    letter-spacing: -0.045em;
}

.navbar-brand:hover {
    color: var(--kb-blue);
}

.navbar-brand span span {
    color: var(--kb-gold);
}

.kb-main-nav {
    gap: 2px;
}

.nav-link {
    position: relative;
    padding: 0.7rem 0.75rem !important;
    color: var(--kb-text);
    font-weight: 750;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.show {
    color: var(--kb-blue-bright);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.32rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--kb-red), var(--kb-gold));
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover::after,
.nav-link:focus::after,
.nav-link.show::after {
    opacity: 1;
    transform: scaleX(1);
}

.dropdown-toggle::after {
    position: static;
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.35rem;
    vertical-align: 0.16em;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    background: none;
    opacity: 0.75;
    transform: none;
}

.kb-dropdown {
    min-width: 220px;
    padding: 0.65rem;
    border: 1px solid var(--kb-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 65px rgba(15, 23, 42, 0.14);
}

.kb-admin-dropdown {
    min-width: 260px;
    max-height: min(70vh, 620px);
    overflow-y: auto;
}

.kb-dropdown .dropdown-item {
    padding: 0.68rem 0.85rem;
    border-radius: 11px;
    color: var(--kb-text);
    font-size: 0.9rem;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.kb-dropdown .dropdown-item:hover,
.kb-dropdown .dropdown-item:focus {
    color: var(--kb-blue);
    background: rgba(9, 135, 232, 0.08);
    transform: translateX(3px);
}

.kb-dropdown .dropdown-header {
    color: var(--kb-muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.kb-dropdown .dropdown-divider {
    margin: 0.45rem 0;
    border-color: var(--kb-border);
}

.kb-nav-actions {
    flex-shrink: 0;
}

.kb-cart-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0.58rem 0.78rem;
    border-radius: 999px;
    color: var(--kb-text);
    font-size: 0.88rem;
    font-weight: 850;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.kb-cart-link:hover {
    color: var(--kb-blue);
    background: rgba(0, 75, 155, 0.06);
}

.quote-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--kb-red);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 950;
    line-height: 1;
}

.kb-account-btn,
.kb-nav-icon-btn {
    min-height: 42px;
    padding: 0.58rem 0.9rem;
    border: 1px solid rgba(0, 75, 155, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--kb-blue);
    font-size: 0.86rem;
    font-weight: 850;
    white-space: nowrap;
}

.kb-account-btn:hover,
.kb-account-btn:focus,
.kb-nav-icon-btn:hover,
.kb-nav-icon-btn:focus {
    border-color: rgba(9, 135, 232, 0.4);
    background: rgba(9, 135, 232, 0.07);
    color: var(--kb-blue-bright);
}

.kb-quote-cta {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: 1.05rem;
    white-space: nowrap;
}

.navbar-toggler {
    padding: 0.45rem;
    border-radius: 12px;
}

.navbar-toggler:focus-visible {
    outline: 3px solid rgba(9, 135, 232, 0.22);
    outline-offset: 2px;
}

@media (min-width: 1200px) {
    .kb-navbar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

@media (max-width: 1199.98px) {
    .kb-navbar {
        padding: 10px 0;
    }

    .kb-navbar .navbar-collapse {
        margin-top: 12px;
        padding: 14px;
        border: 1px solid var(--kb-border);
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }

    .kb-main-nav {
        margin-bottom: 12px;
    }

    .nav-link {
        padding: 0.72rem 0.8rem !important;
        border-radius: 12px;
    }

    .nav-link:hover,
    .nav-link:focus,
    .nav-link.show {
        background: rgba(9, 135, 232, 0.07);
    }

    .nav-link::after {
        display: none;
    }

    .kb-dropdown {
        margin: 0.25rem 0 0.55rem;
        border: 0;
        border-radius: 14px;
        background: var(--kb-soft);
        box-shadow: none;
    }

    .kb-nav-actions {
        flex-wrap: wrap;
        padding-top: 12px;
        border-top: 1px solid var(--kb-border);
    }

    .kb-cart-link,
    .kb-account-btn,
    .kb-nav-icon-btn,
    .kb-quote-cta {
        flex: 1 1 180px;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .kb-nav-container {
        padding-inline: 14px;
    }

    .navbar-brand {
        font-size: 1.12rem;
    }

    .nav-logo {
        width: 34px;
        height: 34px;
    }

    .kb-nav-actions {
        flex-direction: column;
        align-items: stretch !important;
    }

    .kb-cart-link,
    .kb-account-btn,
    .kb-nav-icon-btn,
    .kb-quote-cta,
    .kb-nav-actions .dropdown {
        width: 100%;
    }

    .kb-nav-actions .dropdown > .btn {
        width: 100%;
    }
}

/* ==============================
   BUTTONS
============================== */

.btn-kb-primary {
    background: linear-gradient(135deg, var(--kb-red), var(--kb-gold));
    border: 0;
    color: var(--kb-white);
    font-weight: 900;
    border-radius: 999px;
    padding: 0.75rem 1.35rem;
    box-shadow: 0 18px 35px rgba(240, 41, 47, 0.2);
    transition: 0.25s ease;
}

.btn-kb-primary:hover {
    color: var(--kb-white);
    transform: translateY(-3px);
    box-shadow: 0 24px 45px rgba(240, 41, 47, 0.28);
}

.btn-kb-outline {
    border: 1px solid rgba(0, 75, 155, 0.18);
    color: var(--kb-blue);
    font-weight: 900;
    border-radius: 999px;
    padding: 0.75rem 1.35rem;
    background: rgba(255, 255, 255, 0.72);
    transition: 0.25s ease;
}

.btn-kb-outline:hover {
    border-color: var(--kb-blue-bright);
    color: var(--kb-blue-bright);
    transform: translateY(-3px);
}

/* ==============================
   GLOBAL SECTIONS
============================== */

.section-panel {
    position: relative;
    padding: 110px 0;
}

.soft-bg {
    background: rgba(245, 246, 248, 0.72);
    border-top: 1px solid var(--kb-border);
    border-bottom: 1px solid var(--kb-border);
}

.glass-card {
    background: var(--kb-glass);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: var(--kb-shadow);
    backdrop-filter: blur(24px);
}

/* ==============================
   EYEBROWS / HEADINGS
============================== */

.eyebrow,
.section-heading span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 75, 155, 0.07);
    color: var(--kb-blue);
    font-weight: 900;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 18px;
}

.eyebrow::before,
.section-heading span::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--kb-red);
    border-radius: 50%;
    box-shadow:
        14px 0 0 var(--kb-blue-bright),
        28px 0 0 var(--kb-gold);
}

.section-heading h1,
.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 950;
    letter-spacing: -0.06em;
    line-height: 1.05;
    color: var(--kb-text);
}

/* ==============================
   HERO
============================== */

.hero-section {
    padding-top: 90px;
}

.hero-section h1 {
    font-size: clamp(3rem, 7vw, 6.5rem);
    letter-spacing: -0.08em;
    line-height: 0.95;
    font-weight: 950;
    color: var(--kb-text);
}

.hero-section h1 span {
    display: block;
    color: var(--kb-blue);
}

.hero-text {
    margin-top: 26px;
    max-width: 640px;
    font-size: 1.12rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-card,
.contact-card {
    padding: 35px;
    border-radius: 38px;
}

.hero-logo {
    width: 100%;
    display: block;
    filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.08));
}

.hero-showcase {
    position: relative;
    overflow: hidden;
}

.floating-tag {
    position: absolute;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.92);
    color: var(--kb-blue);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
    animation: floatTag 4s ease-in-out infinite;
}

.tag-one {
    top: 24px;
    left: 24px;
}

.tag-two {
    right: 24px;
    top: 45%;
    animation-delay: 0.4s;
}

.tag-three {
    bottom: 24px;
    left: 32px;
    animation-delay: 0.8s;
}

@keyframes floatTag {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

/* ==============================
   HERO STATS
============================== */

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 36px;
}

.hero-stats div {
    padding: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--kb-border);
    border-radius: 22px;
    transition: 0.25s ease;
}

.hero-stats div:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.hero-stats strong {
    display: block;
    color: var(--kb-text);
    font-size: 1.05rem;
    font-weight: 900;
}

.hero-stats span {
    color: var(--kb-muted);
    font-size: 0.86rem;
}

/* ==============================
   TRUST STRIP
============================== */

.trust-strip {
    padding: 34px 0;
    border-top: 1px solid var(--kb-border);
    border-bottom: 1px solid var(--kb-border);
    background: rgba(255, 255, 255, 0.64);
}

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

.trust-grid div {
    padding: 18px;
    border-radius: 22px;
    border: 1px solid var(--kb-border);
    background: rgba(255, 255, 255, 0.74);
    transition: 0.25s ease;
}

.trust-grid div:hover {
    transform: translateY(-5px);
    box-shadow: var(--kb-shadow);
}

.trust-grid strong {
    display: block;
    color: var(--kb-text);
    font-weight: 900;
}

.trust-grid span {
    color: var(--kb-muted);
    font-size: 0.88rem;
}

/* ==============================
   ABOUT
============================== */

.image-frame {
    padding: 35px;
    border-radius: 36px;
    background:
        linear-gradient(var(--kb-white), var(--kb-white)) padding-box,
        linear-gradient(
            135deg,
            var(--kb-red),
            var(--kb-blue-bright),
            var(--kb-gold)
        ) border-box;
    border: 2px solid transparent;
    box-shadow: var(--kb-shadow);
    transition: 0.3s ease;
}

.image-frame:hover {
    transform: translateY(-7px) rotate(-1deg);
    box-shadow: var(--kb-shadow-hover);
}

.image-frame img {
    width: 100%;
    display: block;
}

/* ==============================
   SHARED CARDS
============================== */

.mini-card,
.service-card,
.catalog-card,
.product-card,
.faq-item {
    height: 100%;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--kb-border);
    border-radius: 26px;
    padding: 26px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.05);
    transition: 0.25s ease;
}

.mini-card:hover,
.service-card:hover,
.catalog-card:hover,
.product-card:hover,
.faq-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.1);
}

.border-red {
    border-top: 4px solid var(--kb-red);
}

.border-blue {
    border-top: 4px solid var(--kb-blue-bright);
}

.border-gold {
    border-top: 4px solid var(--kb-gold);
}

.mini-card h4,
.service-card h3,
.catalog-card h3,
.product-card h4,
.timeline-item h3,
.faq-item h3 {
    color: var(--kb-text);
    font-weight: 900;
    letter-spacing: -0.03em;
}

/* ==============================
   SERVICES
============================== */

.service-mark {
    width: 44px;
    height: 10px;
    border-radius: 999px;
    margin-bottom: 22px;
}

.red-mark {
    background: var(--kb-red);
}

.blue-mark {
    background: var(--kb-blue-bright);
}

.gold-mark {
    background: var(--kb-gold);
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(9, 135, 232, 0.12),
        transparent 70%
    );
    transition: 0.35s ease;
}

.service-card:hover::after {
    transform: scale(1.35);
}

/* ==============================
   CATALOG SEARCH
============================== */

.catalog-search-wrap {
    max-width: 780px;
    margin: 34px auto 0;
}

.catalog-search-input {
    width: 100%;
    min-height: 68px;
    border: 1px solid rgba(0, 75, 155, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--kb-shadow);
    padding: 0 28px;
    font-size: 1.05rem;
    font-weight: 700;
    outline: none;
    transition: 0.25s ease;
}

.catalog-search-input:focus {
    border-color: var(--kb-blue-bright);
    box-shadow:
        0 25px 70px rgba(9, 135, 232, 0.16),
        0 0 0 4px rgba(9, 135, 232, 0.08);
}

/* ==============================
   CATALOG CARDS
============================== */

.catalog-card {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.catalog-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(9, 135, 232, 0.10), transparent 35%),
        radial-gradient(circle at bottom left, rgba(240, 41, 47, 0.08), transparent 35%);
    opacity: 0;
    transition: 0.3s ease;
}

.catalog-card:hover::before {
    opacity: 1;
}

.catalog-card > * {
    position: relative;
    z-index: 1;
}

.catalog-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
}

.catalog-card-top span {
    font-weight: 950;
    color: var(--kb-muted);
}

.catalog-icon {
    width: 64px;
    height: 64px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    font-size: 2rem;
    background: rgba(0, 75, 155, 0.08);
}

.catalog-mini-links {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.catalog-mini-links a {
    display: inline-flex;
    align-items: center;
    color: var(--kb-blue);
    font-weight: 850;
    transition: 0.25s ease;
}

.catalog-mini-links a:hover {
    color: var(--kb-red);
    transform: translateX(5px);
}

.catalog-detail-link {
    margin-top: auto;
    color: var(--kb-blue-bright);
    font-weight: 900;
}

.main-catalog-frame {
    max-width: 980px;
    margin-inline: auto;
}

.main-catalog-frame iframe {
    background: var(--kb-white);
}

/* ==============================
   FEATURED PRODUCTS
============================== */

.product-card {
    position: relative;
    overflow: hidden;
}

.product-icon {
    width: 68px;
    height: 68px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    font-size: 2.2rem;
    background:
        linear-gradient(
            135deg,
            rgba(0, 75, 155, 0.10),
            rgba(244, 176, 0, 0.12)
        );
    margin-bottom: 18px;
}

.product-card a {
    color: var(--kb-blue);
    font-weight: 900;
}

.product-card a:hover {
    color: var(--kb-red);
}

.product-card::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(240, 41, 47, 0.07);
    transition: 0.35s ease;
}

.product-card:hover::after {
    transform: scale(1.45);
}

/* ==============================
   CATALOG LEGACY SUPPORT
============================== */

.catalog-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.catalog-pill {
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--kb-white);
    border: 1px solid var(--kb-border);
    color: var(--kb-blue);
    font-weight: 900;
    transition: 0.25s ease;
}

.catalog-pill:hover {
    border-color: var(--kb-blue-bright);
    color: var(--kb-blue-bright);
    transform: translateY(-2px);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.catalog-box {
    height: 100%;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--kb-border);
    border-radius: 26px;
    padding: 26px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.05);
    transition: 0.25s ease;
}

.catalog-box:hover {
    transform: translateY(-7px);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.1);
}

.catalog-box span {
    display: block;
    font-weight: 950;
    color: var(--kb-muted);
    margin-bottom: 30px;
}

.catalog-box .btn-link {
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 800;
}

.catalog-box .btn-link:hover {
    color: var(--kb-red);
}

.catalog-box .list-group-item {
    border: none;
    border-left: 4px solid var(--kb-blue-bright);
    margin-bottom: 8px;
    border-radius: 12px;
    background: #f8f9fa;
    transition: 0.25s ease;
}

.catalog-box .list-group-item:hover {
    background: white;
    border-left-color: var(--kb-red);
    transform: translateX(6px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

/* ==============================
   PROCESS TIMELINE
============================== */

.timeline {
    max-width: 880px;
    margin-inline: auto;
    display: grid;
    gap: 18px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 20px;
    align-items: start;
    padding: 26px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--kb-border);
    border-radius: 28px;
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.05);
    transition: 0.25s ease;
}

.timeline-item:hover {
    transform: translateX(6px);
    box-shadow: var(--kb-shadow);
}

.timeline-number {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-weight: 950;
    color: var(--kb-white);
    background: linear-gradient(135deg, var(--kb-blue), var(--kb-blue-bright));
}

/* ==============================
   CONTACT OPTIONS
============================== */

.contact-options {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.contact-options a {
    display: block;
    padding: 16px 18px;
    background: var(--kb-white);
    border: 1px solid var(--kb-border);
    border-left: 4px solid var(--kb-red);
    border-radius: 18px;
    color: var(--kb-text);
    font-weight: 900;
    transition: 0.25s ease;
}

.contact-options a:hover {
    transform: translateX(6px);
    color: var(--kb-blue);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

/* ==============================
   FORMS
============================== */

.form-control {
    min-height: 54px;
    border-radius: 16px;
    border: 1px solid rgba(24, 32, 42, 0.12);
    background: rgba(255, 255, 255, 0.88);
    transition: 0.25s ease;
}

.form-control:focus {
    border-color: var(--kb-blue-bright);
    box-shadow:
        0 0 0 4px rgba(9, 135, 232, 0.08),
        0 12px 28px rgba(9, 135, 232, 0.08);
}

textarea.form-control {
    min-height: 150px;
}

label {
    font-weight: 900;
    font-size: 0.86rem;
    color: var(--kb-text);
    margin-bottom: 8px;
}

/* ==============================
   CONTACT / QUOTE TABS
============================== */

.btn-kb-tab {
    border-radius: 999px !important;
    font-weight: 900;
    padding: 12px 22px;
    color: var(--kb-blue);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--kb-border);
}

.btn-kb-tab.active {
    color: #fff !important;
    background: linear-gradient(135deg, var(--kb-red), var(--kb-gold)) !important;
    box-shadow: 0 14px 30px rgba(240, 41, 47, 0.18);
}

.quote-progress {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}

.quote-progress span {
    text-align: center;
    padding: 10px 8px;
    border-radius: 999px;
    background: rgba(0, 75, 155, 0.07);
    color: var(--kb-blue);
    font-weight: 900;
    font-size: 0.78rem;
}

.quote-progress span.active {
    background: linear-gradient(135deg, var(--kb-red), var(--kb-gold));
    color: #fff;
}

/* =========================================================
   KALEIDOBRANDS — LOCKED PREMIUM BRAND FOOTER
========================================================= */

.kb-footer {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    background: #fff;
}


/* =========================================================
   BRAND SHOWCASE
========================================================= */

.kb-brand-showcase {
    position: relative;
    padding: 82px 0 46px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 10% 5%,
            rgba(22, 116, 239, 0.075),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 20%,
            rgba(230, 57, 70, 0.055),
            transparent 25%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f9fbfe 60%,
            #f4f7fb 100%
        );
}


/* ---------- heading ---------- */

.kb-brand-showcase-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 42px;
}


.kb-brand-showcase-heading {
    max-width: 720px;
}


.kb-brand-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    margin-bottom: 14px;

    color: var(--kb-blue-bright);

    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}


.kb-brand-eyebrow-line {
    width: 34px;
    height: 3px;
    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--kb-red),
            var(--kb-gold)
        );
}


.kb-brand-showcase-heading h2 {
    margin: 0;

    color: var(--kb-text);

    font-size: clamp(2.6rem, 4.7vw, 4.7rem);
    font-weight: 950;
    line-height: 0.96;
    letter-spacing: -0.06em;
}


.kb-brand-showcase-heading h2 span {
    color: var(--kb-blue-bright);
}


.kb-brand-showcase-heading p {
    max-width: 670px;

    margin: 21px 0 0;

    color: #64748b;

    font-size: 1rem;
    line-height: 1.75;
}


/* ---------- count ---------- */

.kb-brand-showcase-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    flex: 0 0 auto;

    padding-bottom: 3px;
}


.kb-brand-showcase-stat strong {
    color: #0b1730;

    font-size: 3rem;
    font-weight: 950;
    line-height: 0.9;
    letter-spacing: -0.065em;
}


.kb-brand-showcase-stat span {
    margin-top: 9px;

    color: #7c8aa0;

    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}


/* =========================================================
   LOGO WALL
========================================================= */

.kb-brand-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}


.kb-brand-logo-card {
    position: relative;
    min-width: 0;

    animation:
        kbBrandReveal 0.55s ease both;

    animation-delay:
        calc(var(--brand-index, 0) * 35ms);
}


.kb-brand-logo-inner {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    height: 100%;
    min-height: 132px;

    padding: 24px;

    overflow: hidden;

    border:
        1px solid rgba(148, 163, 184, 0.2);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.99),
            rgba(248, 250, 253, 0.97)
        );

    box-shadow:
        0 12px 34px rgba(15, 23, 42, 0.055);

    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}


.kb-brand-logo-inner::before {
    content: "";

    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;

    height: 3px;

    border-radius:
        0 0 999px 999px;

    background:
        linear-gradient(
            90deg,
            #1674ef,
            #e63946,
            #f5a623
        );

    opacity: 0;

    transform: scaleX(0.35);

    transition:
        opacity 0.28s ease,
        transform 0.28s ease;
}


.kb-brand-logo-card:hover
.kb-brand-logo-inner {
    transform: translateY(-5px);

    border-color:
        rgba(22, 116, 239, 0.23);

    box-shadow:
        0 20px 46px rgba(15, 23, 42, 0.095);
}


.kb-brand-logo-card:hover
.kb-brand-logo-inner::before {
    opacity: 1;
    transform: scaleX(1);
}


/* ---------- logo ---------- */

.kb-brand-logo-media {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 76px;

    padding: 6px 14px;

    background: transparent;
}


.kb-brand-logo-media img {
    display: block;

    width: auto;
    height: auto;

    max-width: 88%;
    max-height: 64px;

    object-fit: contain;

    transition:
        transform 0.28s ease;
}


.kb-brand-logo-card:hover
.kb-brand-logo-media img {
    transform: scale(1.04);
}


/* ---------- temporary wordmark ---------- */

.kb-brand-wordmark {
    display: flex;
    align-items: center;
    justify-content: center;

    max-width: 94%;

    color: #0b1730;

    font-size:
        clamp(0.9rem, 1.45vw, 1.3rem);

    font-weight: 950;
    line-height: 1.08;

    letter-spacing: -0.035em;
    text-align: center;
    text-transform: uppercase;
}

/*----------------------------
*/
/* Dark presentation surface for light supplier logos */
.kb-brand-logo-media-dark {
    position: relative;

    height: 82px;

    border-radius: 15px;

    background:
        radial-gradient(
            circle at 50% -20%,
            rgba(59, 130, 246, 0.32),
            transparent 62%
        ),
        linear-gradient(
            135deg,
            #08172f 0%,
            #102b5b 52%,
            #091a36 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 7px 18px rgba(15, 23, 42, 0.08);
}

.kb-brand-logo-card:hover
.kb-brand-logo-media-dark {
    background:
        radial-gradient(
            circle at 50% -20%,
            rgba(59, 130, 246, 0.42),
            transparent 62%
        ),
        linear-gradient(
            135deg,
            #0a1b38 0%,
            #143468 52%,
            #0b1e3d 100%
        );
}
/* ---------- More Brands tile ---------- */

.kb-brand-more-card
.kb-brand-logo-inner {
    border:
        1px dashed rgba(22, 116, 239, 0.32);

    background:
        linear-gradient(
            135deg,
            rgba(22, 116, 239, 0.07),
            rgba(255, 255, 255, 0.98) 48%,
            rgba(245, 166, 35, 0.07)
        );
}


.kb-brand-more-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}


.kb-brand-more-plus {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    margin-bottom: 8px;

    border-radius: 50%;

    background: #1674ef;
    color: #fff;

    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
}


.kb-brand-more-inner strong {
    color: #0b1730;

    font-size: 0.86rem;
    font-weight: 950;

    letter-spacing: 0.03em;
    text-transform: uppercase;
}


.kb-brand-more-inner small {
    margin-top: 2px;

    color: #7c8aa0;

    font-size: 0.66rem;
    font-weight: 800;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* =========================================================
   FIVE-VALUE STRIP
========================================================= */

.kb-brand-value-row {
    display: grid;
    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    margin-top: 38px;

    padding: 26px 0 4px;

    border-top:
        1px solid rgba(148, 163, 184, 0.18);
}


.kb-brand-value {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 9px;

    min-width: 0;

    padding: 5px 12px;

    border-right:
        1px solid rgba(148, 163, 184, 0.17);
}


.kb-brand-value:first-child {
    padding-left: 0;
}


.kb-brand-value:last-child {
    padding-right: 0;
    border-right: 0;
}


.kb-brand-value-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 38px;
    height: 38px;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            rgba(22, 116, 239, 0.12),
            rgba(230, 57, 70, 0.07)
        );

    color: #1674ef;

    font-size: 1rem;
}


.kb-brand-value > span:last-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
}


.kb-brand-value strong {
    display: block;

    color: #0b1730;

    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1.2;

    white-space: nowrap;
}


.kb-brand-value small {
    display: block;

    margin-top: 3px;

    color: #7c8aa0;

    font-size: 0.56rem;
    line-height: 1.25;

    white-space: nowrap;
}


/* =========================================================
   DARK LOWER FOOTER
========================================================= */

.kb-footer-main {
    position: relative;
    isolation: isolate;

    min-height: 330px;

    padding:
        104px 0 0;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #07162d 0%,
            #0a1d3c 48%,
            #08182f 100%
        );

    color: #fff;
}

.kb-footer-wave + .kb-footer-main {
    margin-top: 0;
}

/* ---------- layered waves ---------- */

.kb-footer-wave {
    position: absolute;

    left: -5%;
    width: 110%;

    pointer-events: none;

    transform-origin: center;
}


.kb-footer-wave-blue {
    z-index: -1;

    top: -52px;

    height: 125px;

    border-radius: 48% 55% 50% 42%;

    background:
        linear-gradient(
            90deg,
            #0d6efd,
            #1674ef,
            #3b82f6
        );

    transform: rotate(-1.4deg);
}


.kb-footer-wave-red {
    z-index: -2;

    top: -30px;

    height: 110px;

    border-radius: 42% 50% 55% 45%;

    background:
        linear-gradient(
            90deg,
            #d9273d,
            #e63946,
            #f04d5e
        );

    transform: rotate(1.1deg);
}


.kb-footer-wave-gold {
    z-index: -3;

    top: -11px;

    height: 92px;

    border-radius: 50% 43% 50% 57%;

    background:
        linear-gradient(
            90deg,
            #f59e0b,
            #f5a623,
            #ffbd45
        );

    transform: rotate(-0.6deg);
}


/* ---------- content ---------- */

.kb-footer-content {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(280px, 1fr)
        minmax(220px, 0.8fr);

    align-items: start;

    gap: 64px;

    padding-bottom: 54px;
}


.kb-footer-brand {
    max-width: 440px;
}


.kb-footer-logo {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    color: #fff;

    font-size: 1.55rem;
    font-weight: 950;

    letter-spacing: -0.045em;

    text-decoration: none;
}


.kb-footer-logo:hover {
    color: #fff;
}


.kb-footer-logo-k {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            #1674ef,
            #e63946 62%,
            #f5a623
        );

    color: #fff;

    font-size: 1.25rem;
    font-weight: 950;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.18);
}


.kb-footer-brand p {
    max-width: 390px;

    margin: 17px 0 0;

    color: rgba(255, 255, 255, 0.68);

    font-size: 0.86rem;
    line-height: 1.7;
}


/* ---------- footer nav ---------- */

.kb-footer-nav {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px 30px;

    padding-top: 9px;
}


.kb-footer-nav a {
    position: relative;

    width: fit-content;

    color: rgba(255, 255, 255, 0.76);

    font-size: 0.8rem;
    font-weight: 800;

    text-decoration: none;

    transition:
        color 0.22s ease,
        transform 0.22s ease;
}


.kb-footer-nav a:hover {
    color: #fff;
    transform: translateX(3px);
}


/* ---------- connect ---------- */

.kb-footer-connect {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding-top: 7px;
}


.kb-footer-connect-label {
    margin-bottom: 13px;

    color: rgba(255, 255, 255, 0.52);

    font-size: 0.65rem;
    font-weight: 900;

    letter-spacing: 0.13em;
    text-transform: uppercase;
}


.footer-socials {
    display: flex;
    align-items: center;
    gap: 9px;
}


.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 37px;
    height: 37px;

    border:
        1px solid rgba(255, 255, 255, 0.13);

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.075);

    transition:
        transform 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease;
}


.footer-socials a:hover {
    transform: translateY(-3px);

    background:
        rgba(255, 255, 255, 0.14);

    border-color:
        rgba(255, 255, 255, 0.25);
}


.footer-socials img {
    width: 17px;
    height: 17px;

    object-fit: contain;

    filter:
        brightness(0)
        invert(1);

    opacity: 0.92;
}


.kb-footer-location {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    margin-top: 15px;

    color: rgba(255, 255, 255, 0.6);

    font-size: 0.72rem;
    font-weight: 700;
}


.kb-footer-location i {
    color: #f5a623;
}


/* ---------- bottom ---------- */

.footer-bottom {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    padding: 20px 0 24px;

    border-top:
        1px solid rgba(255, 255, 255, 0.1);

    color: rgba(255, 255, 255, 0.48);

    font-size: 0.68rem;
}


.kb-footer-legal {
    display: flex;
    align-items: center;
    gap: 11px;
}


.kb-footer-legal a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
}


.kb-footer-legal a:hover {
    color: #fff;
}


.kb-footer-legal span {
    width: 3px;
    height: 3px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.35);
}


/* =========================================================
   MOTION
========================================================= */

@keyframes kbBrandReveal {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .kb-brand-showcase {
        padding-top: 64px;
    }


    .kb-brand-logo-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }


    .kb-brand-value-row {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 0;
    }


    .kb-brand-value {
        justify-content: flex-start;

        padding: 15px 20px;

        border-bottom:
            1px solid rgba(148, 163, 184, 0.15);
    }


    .kb-brand-value:nth-child(2n) {
        border-right: 0;
    }


    .kb-brand-value:last-child {
        border-bottom: 0;
    }


    .kb-footer-content {
        grid-template-columns:
            1fr 1fr;

        gap: 40px;
    }


    .kb-footer-connect {
        grid-column: 1 / -1;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .kb-brand-showcase {
        padding:
            52px 0 34px;
    }


    .kb-brand-showcase-header {
        flex-direction: column;
        align-items: flex-start;

        gap: 22px;

        margin-bottom: 30px;
    }


    .kb-brand-showcase-stat {
        flex-direction: row;
        align-items: baseline;

        gap: 8px;
    }


    .kb-brand-showcase-stat strong {
        font-size: 2rem;
    }


    .kb-brand-showcase-stat span {
        margin-top: 0;
    }


    .kb-brand-logo-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }


    .kb-brand-logo-inner {
        min-height: 110px;
        padding: 17px;
    }


    .kb-brand-logo-media {
        height: 65px;
    }


    .kb-brand-logo-media img {
        max-height: 52px;
    }


    .kb-brand-value-row {
        grid-template-columns: 1fr;
    }


    .kb-brand-value {
        padding: 14px 0;

        border-right: 0;

        border-bottom:
            1px solid rgba(148, 163, 184, 0.14);
    }


    .kb-footer-main {
        padding-top: 92px;
    }


    .kb-footer-content {
        grid-template-columns: 1fr;

        gap: 32px;

        padding-bottom: 38px;
    }


    .kb-footer-connect {
        grid-column: auto;
    }


    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;

        gap: 12px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 479.98px) {

    .kb-brand-logo-grid {
        grid-template-columns: 1fr;
    }


    .kb-brand-logo-inner {
        min-height: 108px;
    }


    .kb-footer-nav {
        grid-template-columns: 1fr 1fr;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .kb-brand-logo-card {
        animation: none;
    }


    .kb-brand-logo-inner,
    .kb-brand-logo-media img,
    .footer-socials a {
        transition: none;
    }

}


/* Value ribbon */

.kb-brand-value-row {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;

    width: 100%;
    margin-top: 38px;
    padding: 26px 0 22px;

    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.kb-brand-value {
    display: flex;
    align-items: center;
    gap: 10px;

    min-width: 0;
    padding: 4px 14px;

    border-right: 1px solid rgba(148, 163, 184, 0.17);
}

.kb-brand-value:last-child {
    border-right: 0;
}


.kb-brand-value {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 4px 22px;
    border-right: 1px solid rgba(148, 163, 184, 0.16);
}


.kb-brand-value:first-child {
    padding-left: 0;
}


.kb-brand-value:last-child {
    padding-right: 0;
    border-right: 0;
}


.kb-brand-value-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            rgba(22, 116, 239, 0.12),
            rgba(230, 57, 70, 0.07)
        );

    color: #1674ef;

    font-size: 0.9rem;
}


.kb-brand-value > span:last-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
}


.kb-brand-value strong {
    color: var(--kb-text);
    font-size: 0.78rem;
    font-weight: 900;
}


.kb-brand-value small {
    margin-top: 2px;
    color: var(--kb-muted);
    font-size: 0.68rem;
}


/* Entry motion */

@keyframes kbBrandReveal {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Responsive */

@media (max-width: 991.98px) {

    .kb-brand-showcase {
        padding-top: 58px;
    }

    .kb-brand-logo-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .kb-brand-value-row {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .kb-brand-value {
        padding: 14px 18px;
    }

    .kb-brand-value:nth-child(2) {
        border-right: 0;
    }

    .kb-brand-value:nth-child(-n + 2) {
        border-bottom:
            1px solid rgba(148, 163, 184, 0.16);
    }

}


@media (max-width: 767.98px) {

    .kb-brand-showcase-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }

    .kb-brand-showcase-stat {
        align-items: flex-start;
        flex-direction: row;
        gap: 10px;
        padding: 0;
    }

    .kb-brand-showcase-stat strong {
        font-size: 1.8rem;
    }

    .kb-brand-showcase-stat span {
        margin-top: 5px;
    }

}


@media (max-width: 575.98px) {

    .kb-brand-showcase {
        padding: 48px 0 28px;
    }

    .kb-brand-logo-grid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .kb-brand-logo-inner {
        min-height: 150px;
    }

    .kb-brand-logo-media {
        height: 78px;
    }

    .kb-brand-logo-media img {
        max-height: 58px;
    }

    .kb-brand-value-row {
        grid-template-columns: 1fr;
    }

    .kb-brand-value {
        padding: 14px 0;
        border-right: 0;
        border-bottom:
            1px solid rgba(148, 163, 184, 0.14);
    }

    .kb-brand-value:last-child {
        border-bottom: 0;
    }

}


/* Accessibility */

@media (prefers-reduced-motion: reduce) {

    .kb-brand-logo-card {
        animation: none;
    }

    .kb-brand-logo-inner,
    .kb-brand-logo-media img,
    .kb-brand-logo-arrow {
        transition: none;
    }

}

.footer-bottom {
    border-top: 1px solid var(--kb-border);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--kb-muted);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-socials a {
    display: inline-flex;
    margin: 0;
    transition: all 0.3s ease;
}

.footer-socials img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-socials a:hover {
    transform: translateY(-4px) scale(1.1);
    opacity: 0.85;
}

/* ==============================
   SCROLL TOP
============================== */

.scroll-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    color: var(--kb-white);
    background: linear-gradient(135deg, var(--kb-red), var(--kb-gold));
    box-shadow: var(--kb-shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: 0.25s ease;
    z-index: 50;
}

.scroll-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* ==============================
   REVEAL ANIMATIONS
============================== */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* ==============================
   INNER PAGE HELPERS
============================== */

.inner-page {
    padding-top: 90px;
}

.narrow {
    max-width: 860px;
}

.faq-list {
    display: grid;
    gap: 18px;
}

/* ==============================
   RESPONSIVE
============================== */

@media (max-width: 991px) {
    .hero-section h1 {
        font-size: clamp(3rem, 12vw, 5rem);
    }

    .hero-stats,
    .trust-grid,
    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .section-panel {
        padding: 85px 0;
    }

    .floating-tag {
        position: static;
        display: inline-flex;
        margin: 8px 6px 0 0;
        animation: none;
    }

    .hero-showcase {
        text-align: center;
    }
}

@media (max-width: 575px) {
    .hero-actions {
        display: grid;
    }

    .btn-lg {
        width: 100%;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }

    .hero-card,
    .contact-card {
        padding: 22px;
        border-radius: 26px;
    }

    .quote-progress {
        grid-template-columns: 1fr 1fr;
    }

    .catalog-search-input {
        border-radius: 24px;
        padding: 16px 20px;
    }
}

/* ==============================
   PRODUCTS APP
============================== */

.product-category-card,
.product-result-card {
    display: block;
    height: 100%;
    color: var(--kb-text);
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--kb-border);
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.05);
    transition: 0.28s ease;
}

.product-category-card:hover,
.product-result-card:hover {
    color: var(--kb-text);
    transform: translateY(-8px);
    box-shadow: var(--kb-shadow-hover);
}

.product-category-icon {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    font-size: 2.3rem;
    margin-bottom: 20px;
    background: linear-gradient(
        135deg,
        rgba(0, 75, 155, 0.10),
        rgba(244, 176, 0, 0.14)
    );
}

.product-category-card h3 {
    font-weight: 950;
    letter-spacing: -0.04em;
}

.product-result-card {
    padding: 0;
    overflow: hidden;
}

.product-result-image {
    height: 210px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top right, rgba(9, 135, 232, 0.12), transparent 35%),
        #f6f8fb;
}

.product-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-placeholder,
.product-detail-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 28px;
    display: grid;
    place-items: center;
    font-weight: 950;
    font-size: 2rem;
    color: #fff;
    background: linear-gradient(135deg, var(--kb-blue), var(--kb-blue-bright));
    box-shadow: 0 18px 35px rgba(0, 75, 155, 0.2);
}

.product-result-body {
    padding: 22px;
}

.product-result-body small {
    display: block;
    color: var(--kb-blue);
    font-weight: 900;
    margin-bottom: 8px;
}

.product-result-body h4 {
    font-weight: 950;
    letter-spacing: -0.04em;
    color: var(--kb-text);
}

.product-result-body p {
    font-size: 0.95rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid var(--kb-border);
}

.product-meta span {
    color: var(--kb-muted);
    font-weight: 800;
}

.product-meta strong {
    color: var(--kb-red);
    font-weight: 950;
}

.product-detail-image {
    min-height: 520px;
    border-radius: 38px;
    display: grid;
    place-items: center;
    padding: 36px;
}

.product-detail-image img {
    width: 100%;
    max-height: 480px;
    object-fit: contain;
}

.product-detail-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.product-detail-specs div {
    padding: 18px;
    border-radius: 22px;
    border: 1px solid var(--kb-border);
    background: rgba(255, 255, 255, 0.78);
}

.product-detail-specs strong {
    display: block;
    font-weight: 950;
    color: var(--kb-text);
    margin-bottom: 6px;
}

.product-detail-specs span {
    color: var(--kb-muted);
    font-weight: 700;
}

@media (max-width: 768px) {
    .product-detail-specs {
        grid-template-columns: 1fr;
    }

    .product-detail-image {
        min-height: 320px;
    }
}


.live-results{

    background:white;

    border-radius:20px;

    margin-top:12px;

    overflow:hidden;

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

.live-item{

    display:block;

    padding:18px 22px;

    border-bottom:1px solid #eee;

    text-decoration:none;

    color:#222;

    transition:.25s;

}

.live-item:hover{

    background:#f7fbff;

    padding-left:30px;

}

.live-item strong{

    display:block;

}

.live-item small{

    color:#777;

}

.live-results {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.live-item {
    display: block;
    padding: 18px 22px;
    border-radius: 18px;
    background: rgba(255,255,255,.9);
    border: 1px solid var(--kb-border);
    color: var(--kb-text);
    box-shadow: 0 14px 35px rgba(15,23,42,.06);
    transition: .25s ease;
}

.live-item:hover {
    color: var(--kb-blue);
    transform: translateX(6px);
}

.live-item strong {
    display: block;
    font-weight: 900;
}

.live-item small {
    color: var(--kb-muted);
    font-weight: 700;
}

.product-filter-panel {
    background: rgba(255,255,255,.84);
    border: 1px solid var(--kb-border);
    border-radius: 28px;
    padding: 24px;
    box-shadow: var(--kb-shadow);
    margin-top: 34px;
}

.save-product-btn {
    width: 100%;
    margin-top: 16px;
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, var(--kb-blue), var(--kb-blue-bright));
    transition: .25s ease;
}

.save-product-btn:hover,
.save-product-btn.saved {
    background: linear-gradient(135deg, var(--kb-red), var(--kb-gold));
    transform: translateY(-2px);
}

.quote-cart-panel {
    padding: 30px;
    border-radius: 32px;
    max-width: 850px;
    margin: 40px auto 0;
}

.quote-cart-item {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,.86);
    border: 1px solid var(--kb-border);
    margin-bottom: 12px;
}

.quote-cart-item strong {
    display: block;
    font-weight: 950;
}

.quote-cart-item span {
    color: var(--kb-muted);
    font-weight: 700;
}

.quote-cart-item a {
    color: var(--kb-blue);
    font-weight: 900;
}

/* ==============================
   PREMIUM PRODUCT DETAIL
============================== */

.product-breadcrumb-section {
    padding-top: 105px;
    padding-bottom: 0;
}

.product-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--kb-muted);
    font-weight: 800;
}

.product-breadcrumb a {
    color: var(--kb-blue);
}

.product-breadcrumb strong {
    color: var(--kb-text);
}

.product-detail-page {
    padding-top: 45px;
}

.product-gallery {
    border-radius: 38px;
    padding: 26px;
}

.product-main-image {
    min-height: 520px;
    display: grid;
    place-items: center;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(9, 135, 232, 0.12), transparent 35%),
        #f7f9fc;
    overflow: hidden;
}

.product-main-image img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.product-main-image:hover img {
    transform: scale(1.06);
}

.product-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.product-thumb {
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
    border: 2px solid transparent;
    border-radius: 18px;
    padding: 6px;
    background: #fff;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    transition: 0.25s ease;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-thumb.active,
.product-thumb:hover {
    border-color: var(--kb-red);
    transform: translateY(-3px);
}

.product-info-panel {
    position: sticky;
    top: 110px;
}

.product-detail-copy {
    font-size: 1.08rem;
}

.product-price-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 28px 0;
}

.product-price-strip div,
.product-spec-grid div {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255,255,255,.82);
    border: 1px solid var(--kb-border);
}

.product-price-strip small {
    display: block;
    color: var(--kb-muted);
    font-weight: 800;
}

.product-price-strip strong {
    display: block;
    color: var(--kb-red);
    font-size: 1.25rem;
    font-weight: 950;
}

.product-detail-block {
    margin-top: 26px;
}

.product-detail-block h4 {
    font-weight: 950;
    margin-bottom: 12px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-tag {
    display: inline-flex;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(0,75,155,.08);
    color: var(--kb-blue);
    font-weight: 900;
    font-size: .85rem;
}

.color-tag {
    background: rgba(244,176,0,.14);
    color: #8a5a00;
}

.industry-tag {
    background: rgba(240,41,47,.08);
    color: var(--kb-red);
}

.product-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 30px;
}

.product-spec-grid strong {
    display: block;
    color: var(--kb-text);
    font-weight: 950;
}

.product-spec-grid span {
    color: var(--kb-muted);
    font-weight: 700;
}

.product-quote-panel {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

@media (max-width: 991px) {
    .product-info-panel {
        position: static;
    }

    .product-main-image {
        min-height: 340px;
    }

    .product-price-strip,
    .product-spec-grid {
        grid-template-columns: 1fr;
    }
}

.product-placeholder-themed {
    width: 120px;
    height: 120px;
    border-radius: 32px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top right, rgba(240,41,47,.25), transparent 35%),
        linear-gradient(135deg, var(--kb-blue), var(--kb-blue-bright));
    color: #fff;
    box-shadow: 0 22px 45px rgba(0,75,155,.24);
}

.product-placeholder-themed span {
    font-size: 2rem;
    line-height: 1;
}

.product-placeholder-themed strong {
    font-size: 1.5rem;
    font-weight: 950;
    letter-spacing: -.05em;
}

.product-placeholder-themed.large {
    width: 220px;
    height: 220px;
    border-radius: 48px;
}

.product-placeholder-themed.large span {
    font-size: 4rem;
}

.product-placeholder-themed.large strong {
    font-size: 3rem;
}

/* Quote Cart Badge */

.quote-cart-nav{
    display:flex;
    align-items:center;
    gap:8px;
}

.quote-cart-count{
    min-width:22px;
    height:22px;
    padding:0 7px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:999px;

    background:linear-gradient(
        135deg,
        #f0292f,
        #ff7b00
    );

    color:white;

    font-size:.72rem;
    font-weight:900;

    box-shadow:0 6px 15px rgba(240,41,47,.30);
}

.quote-cart-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.remove-cart-item {
    border: 0;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, var(--kb-red), var(--kb-gold));
}

/* ==============================
   PREMIUM PRODUCT DETAIL
============================== */

.product-breadcrumb-section {
    padding-top: 105px;
    padding-bottom: 0;
}

.product-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--kb-muted);
    font-weight: 800;
}

.product-breadcrumb a {
    color: var(--kb-blue);
}

.product-breadcrumb strong {
    color: var(--kb-text);
}

.product-detail-page {
    padding-top: 45px;
}

.product-gallery {
    border-radius: 38px;
    padding: 26px;
}

.product-main-image {
    min-height: 520px;
    display: grid;
    place-items: center;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(9, 135, 232, 0.12), transparent 35%),
        #f7f9fc;
    overflow: hidden;
}

.product-main-image img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.product-main-image:hover img {
    transform: scale(1.06);
}

.product-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.product-thumb {
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
    border: 2px solid transparent;
    border-radius: 18px;
    padding: 6px;
    background: #fff;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    transition: 0.25s ease;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-thumb.active,
.product-thumb:hover {
    border-color: var(--kb-red);
    transform: translateY(-3px);
}

.product-info-panel {
    position: sticky;
    top: 110px;
}

.product-detail-copy {
    font-size: 1.08rem;
}

.product-price-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 28px 0;
}

.product-price-strip div,
.product-spec-grid div {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255,255,255,.82);
    border: 1px solid var(--kb-border);
}

.product-price-strip small {
    display: block;
    color: var(--kb-muted);
    font-weight: 800;
}

.product-price-strip strong {
    display: block;
    color: var(--kb-red);
    font-size: 1.25rem;
    font-weight: 950;
}

.product-detail-block {
    margin-top: 26px;
}

.product-detail-block h4 {
    font-weight: 950;
    margin-bottom: 12px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-tag {
    display: inline-flex;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(0,75,155,.08);
    color: var(--kb-blue);
    font-weight: 900;
    font-size: .85rem;
}

.color-tag {
    background: rgba(244,176,0,.14);
    color: #8a5a00;
}

.industry-tag {
    background: rgba(240,41,47,.08);
    color: var(--kb-red);
}

.product-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 30px;
}

.product-spec-grid strong {
    display: block;
    color: var(--kb-text);
    font-weight: 950;
}

.product-spec-grid span {
    color: var(--kb-muted);
    font-weight: 700;
}

.product-quote-panel {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

@media (max-width: 991px) {
    .product-info-panel {
        position: static;
    }

    .product-main-image {
        min-height: 340px;
    }

    .product-price-strip,
    .product-spec-grid {
        grid-template-columns: 1fr;
    }
}

.quote-cart-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 24px;
}

.quote-cart-header h3 {
    font-weight: 950;
    margin-bottom: 4px;
}

.quote-cart-header p {
    margin-bottom: 0;
}

.quote-cart-page-count {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 950;
    color: #fff;
    background: linear-gradient(135deg, var(--kb-blue), var(--kb-blue-bright));
}

@media (max-width: 600px) {
    .quote-cart-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
.floating-quote-cart {
    position: fixed;
    right: 22px;
    bottom: 84px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    z-index: 60;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg, var(--kb-blue), var(--kb-blue-bright));
    color: #fff;
    font-size: 1.35rem;
    box-shadow: 0 18px 40px rgba(0, 75, 155, .28);
    transition: .25s ease;

    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
}

.floating-quote-cart.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.floating-quote-cart:hover {
    color: #fff;
    transform: translateY(-4px) scale(1.06);
}

.floating-quote-cart span {
    position: absolute;
    top: -6px;
    right: -6px;

    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;

    display: grid;
    place-items: center;

    background: linear-gradient(135deg, var(--kb-red), var(--kb-gold));
    color: #fff;

    font-size: .72rem;
    font-weight: 950;
}

.floating-cart-wrap {
    position: fixed;
    right: 22px;
    bottom: 84px;
    z-index: 70;
}

.floating-cart-wrap .floating-quote-cart {
    position: relative;
    right: auto;
    bottom: auto;
}

.floating-cart-preview {
    position: absolute;
    right: 0;
    bottom: 68px;
    width: 260px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255,255,255,.96);
    border: 1px solid var(--kb-border);
    box-shadow: var(--kb-shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: .25s ease;
}

.floating-cart-wrap:hover .floating-cart-preview {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.floating-cart-preview strong {
    display: block;
    font-weight: 950;
    margin-bottom: 10px;
}

.floating-cart-preview a {
    display: block;
    color: var(--kb-blue);
    font-weight: 800;
    margin-bottom: 7px;
}

.floating-cart-preview small {
    display: block;
    color: var(--kb-muted);
    font-weight: 700;
    margin-top: 8px;
}

.kb-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translate(-50%, 20px);
    z-index: 100;
    padding: 14px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--kb-blue), var(--kb-blue-bright));
    color: #fff;
    font-weight: 900;
    box-shadow: var(--kb-shadow);
    opacity: 0;
    pointer-events: none;
    transition: .25s ease;
}

.kb-toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.saved-products-preview {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(0,75,155,.07);
    border: 1px solid rgba(0,75,155,.12);
}

.saved-products-preview strong {
    color: var(--kb-blue);
    font-weight: 950;
}

.saved-products-preview span {
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff;
    color: var(--kb-text);
    font-weight: 800;
}

.recent-products-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 24px;
}

.recent-product-pill {
    display: block;
    min-width: 210px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255,255,255,.86);
    border: 1px solid var(--kb-border);
    color: var(--kb-text);
    box-shadow: 0 14px 35px rgba(15,23,42,.06);
    transition: .25s ease;
}

.recent-product-pill:hover {
    color: var(--kb-blue);
    transform: translateY(-4px);
}

.recent-product-pill strong {
    display: block;
    font-weight: 950;
}

.recent-product-pill span {
    color: var(--kb-muted);
    font-weight: 700;
}

/* ==============================
   PHASE 2 FINAL POLISH
============================== */

.quote-cart-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.quote-cart-count {
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    font-size: .72rem;
    font-weight: 950;
    background: linear-gradient(135deg, var(--kb-red), var(--kb-gold));
    box-shadow: 0 6px 15px rgba(240,41,47,.30);
}

.floating-cart-wrap {
    position: fixed;
    right: 22px;
    bottom: 84px;
    z-index: 70;
}

.floating-quote-cart {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--kb-blue), var(--kb-blue-bright));
    color: #fff;
    font-size: 1.35rem;
    box-shadow: 0 18px 40px rgba(0,75,155,.28);
    transition: .25s ease;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
}

.floating-quote-cart.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.floating-quote-cart:hover {
    color: #fff;
    transform: translateY(-4px) scale(1.06);
}

.floating-quote-cart span {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--kb-red), var(--kb-gold));
    color: #fff;
    font-size: .72rem;
    font-weight: 950;
}

.floating-cart-preview {
    position: absolute;
    right: 0;
    bottom: 68px;
    width: 260px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255,255,255,.96);
    border: 1px solid var(--kb-border);
    box-shadow: var(--kb-shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: .25s ease;
}

.floating-cart-wrap:hover .floating-cart-preview {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.floating-cart-preview strong,
.quote-cart-header h3,
.quote-cart-item strong {
    display: block;
    font-weight: 950;
}

.floating-cart-preview a {
    display: block;
    color: var(--kb-blue);
    font-weight: 800;
    margin-bottom: 7px;
}

.floating-cart-preview small {
    display: block;
    color: var(--kb-muted);
    font-weight: 700;
    margin-top: 8px;
}

.kb-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translate(-50%, 20px);
    z-index: 100;
    padding: 14px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--kb-blue), var(--kb-blue-bright));
    color: #fff;
    font-weight: 900;
    box-shadow: var(--kb-shadow);
    opacity: 0;
    pointer-events: none;
    transition: .25s ease;
}

.kb-toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.quote-cart-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 24px;
}

.quote-cart-header p {
    margin-bottom: 0;
}

.quote-cart-page-count {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 950;
    color: #fff;
    background: linear-gradient(135deg, var(--kb-blue), var(--kb-blue-bright));
}

.quote-cart-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.remove-cart-item {
    border: 0;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, var(--kb-red), var(--kb-gold));
}

.saved-products-preview {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(0,75,155,.07);
    border: 1px solid rgba(0,75,155,.12);
}

.saved-products-preview strong {
    color: var(--kb-blue);
    font-weight: 950;
}

.saved-products-preview span {
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff;
    color: var(--kb-text);
    font-weight: 800;
}

.recent-products-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 24px;
}

.recent-product-pill {
    display: block;
    min-width: 210px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255,255,255,.86);
    border: 1px solid var(--kb-border);
    color: var(--kb-text);
    box-shadow: 0 14px 35px rgba(15,23,42,.06);
    transition: .25s ease;
}

.recent-product-pill:hover {
    color: var(--kb-blue);
    transform: translateY(-4px);
}

.recent-product-pill strong {
    display: block;
    font-weight: 950;
}

.recent-product-pill span {
    color: var(--kb-muted);
    font-weight: 700;
}

.share-product-btn {
    text-align: center;
}

/* Mobile polish */

@media (max-width: 768px) {
    .floating-cart-wrap {
        right: 16px;
        bottom: 82px;
    }

    .floating-cart-preview {
        display: none;
    }

    .quote-cart-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .quote-cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .quote-cart-actions {
        width: 100%;
        justify-content: space-between;
    }

    .kb-toast {
        width: calc(100% - 32px);
        text-align: center;
        border-radius: 18px;
    }
}

/* ==============================
   PHASE 3 SUPPLIER CATALOG
============================== */

.supplier-hero {
    background:
        radial-gradient(circle at top left, rgba(240,41,47,.08), transparent 28%),
        radial-gradient(circle at top right, rgba(0,75,155,.12), transparent 34%),
        var(--kb-white);
}

.supplier-hero-copy {
    max-width: 680px;
    font-size: 1.08rem;
}

.supplier-search-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    max-width: 720px;
    margin-top: 28px;
}

.supplier-card {
    padding: 34px;
    border-radius: 36px;
    text-align: center;
}

.supplier-card-mark {
    width: 92px;
    height: 92px;
    border-radius: 28px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    font-weight: 950;
    color: #fff;
    background: linear-gradient(135deg, var(--kb-blue), var(--kb-red));
    box-shadow: 0 18px 40px rgba(0,75,155,.22);
}

.supplier-card h3 {
    font-weight: 950;
    letter-spacing: -.04em;
}

.supplier-card-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 24px;
}

.supplier-card-stats div {
    padding: 16px;
    border-radius: 20px;
    background: rgba(255,255,255,.76);
    border: 1px solid var(--kb-border);
}

.supplier-card-stats strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 950;
    color: var(--kb-blue);
}

.supplier-card-stats span {
    color: var(--kb-muted);
    font-weight: 800;
    font-size: .85rem;
}

.supplier-category-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 46px;
}

.supplier-category-strip a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.86);
    border: 1px solid var(--kb-border);
    color: var(--kb-blue);
    font-weight: 900;
    transition: .25s ease;
}

.supplier-category-strip a:hover {
    transform: translateY(-3px);
    color: var(--kb-red);
    box-shadow: 0 14px 32px rgba(15,23,42,.08);
}

.product-card-badges {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 8px;
}

.supplier-mini-badge {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(240,41,47,.08);
    color: var(--kb-red);
    font-size: .68rem;
    font-weight: 950;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .supplier-search-box {
        grid-template-columns: 1fr;
    }

    .supplier-card-stats {
        grid-template-columns: 1fr;
    }

    .product-card-badges {
        flex-direction: column;
    }
}

/* ==============================
   PHASE 3 SUPPLIER SYNC DASHBOARD
============================== */

.supplier-stat-card {
    height: 100%;
    padding: 28px;
    border-radius: 28px;
    background: rgba(255,255,255,.86);
    border: 1px solid var(--kb-border);
    box-shadow: 0 18px 45px rgba(15,23,42,.06);
    text-align: center;
}

.supplier-stat-card span {
    display: block;
    color: var(--kb-muted);
    font-weight: 850;
    margin-bottom: 10px;
}

.supplier-stat-card strong {
    display: block;
    color: var(--kb-blue);
    font-size: 3rem;
    font-weight: 950;
    letter-spacing: -.06em;
}

.supplier-admin-panel {
    height: 100%;
    padding: 28px;
    border-radius: 30px;
    background: rgba(255,255,255,.86);
    border: 1px solid var(--kb-border);
    box-shadow: 0 18px 45px rgba(15,23,42,.06);
}

.supplier-admin-panel h3 {
    font-weight: 950;
    margin-bottom: 20px;
}

.supplier-admin-row,
.sync-log-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border-radius: 18px;
    background: rgba(247,249,252,.88);
    border: 1px solid var(--kb-border);
    margin-bottom: 12px;
}

.supplier-admin-row strong,
.sync-log-row strong {
    display: block;
    font-weight: 950;
}

.supplier-admin-row span,
.sync-log-row span,
.sync-log-row small {
    display: block;
    color: var(--kb-muted);
    font-weight: 700;
    font-size: .86rem;
}

.supplier-admin-row a {
    font-weight: 950;
    color: var(--kb-blue);
}

.sync-status {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 8px 12px;
    color: #fff !important;
    font-weight: 950 !important;
    font-size: .75rem !important;
}

.sync-status.started {
    background: linear-gradient(135deg, var(--kb-blue), var(--kb-blue-bright));
}

.sync-status.success {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

.sync-status.failed {
    background: linear-gradient(135deg, #dc2626, var(--kb-red));
}

.sync-status.partial {
    background: linear-gradient(135deg, var(--kb-gold), #f97316);
}

@media (max-width: 768px) {
    .supplier-admin-row,
    .sync-log-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==============================
   PHASE 3 SUPPLIER CSV UPLOAD
============================== */

.supplier-upload-card {
    max-width: 760px;
    margin: 42px auto 0;
    padding: 34px;
    border-radius: 34px;
}

.supplier-upload-card label {
    font-weight: 950;
    margin-bottom: 10px;
}

.supplier-upload-help {
    margin-top: 18px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(0,75,155,.07);
    border: 1px solid rgba(0,75,155,.12);
    color: var(--kb-muted);
    font-weight: 700;
}

.supplier-upload-help strong {
    color: var(--kb-blue);
}

.supplier-upload-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.supplier-message-wrap {
    max-width: 760px;
    margin: 32px auto 0;
}

.product-gallery{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.product-main-image{
    width:100%;
    border-radius:24px;
    object-fit:cover;
}

.product-thumbnails{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.product-thumbnail{
    width:90px;
    height:90px;
    object-fit:cover;
    border-radius:14px;
    cursor:pointer;
    border:2px solid transparent;
    transition:.25s;
}

.product-thumbnail:hover{
    border-color:var(--kb-red);
    transform:translateY(-2px);
}

/* ==============================
   PHASE 3 SUPPLIER ANALYTICS
============================== */

.supplier-metric-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--kb-border);
}

.supplier-metric-row:last-child {
    border-bottom: 0;
}

.supplier-metric-row span {
    color: var(--kb-muted);
    font-weight: 800;
}

.supplier-metric-row strong {
    color: var(--kb-blue);
    font-weight: 950;
}

/* ==============================
   PHASE 3 SUPPLIER ANALYTICS CHARTS
============================== */

.supplier-chart-box {
    position: relative;
    height: 320px;
    width: 100%;
}

/* ==============================
   PHASE 4 CUSTOMER PORTAL
============================== */

.auth-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 36px;
    border-radius: 34px;
}

.auth-form p {
    margin-bottom: 18px;
}

.auth-form label {
    display: block;
    font-weight: 900;
    color: var(--kb-text);
    margin-bottom: 8px;
}

.auth-form input,
.auth-form textarea,
.auth-form select {
    width: 100%;
    border: 1px solid var(--kb-border);
    border-radius: 16px;
    padding: 13px 15px;
    background: rgba(255,255,255,.9);
    color: var(--kb-text);
    outline: none;
}

.auth-form input:focus,
.auth-form textarea:focus,
.auth-form select:focus {
    border-color: var(--kb-blue);
    box-shadow: 0 0 0 4px rgba(0,75,155,.10);
}

.auth-form .helptext {
    display: block;
    color: var(--kb-muted);
    font-size: .82rem;
    margin-top: 6px;
}

.auth-form ul.errorlist {
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(240,41,47,.08);
    color: var(--kb-red);
    font-weight: 800;
    list-style: none;
}

/* ==============================
   PHASE 4 ORDER TRACKING
============================== */

.order-timeline {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 14px;
}

.order-step {
    text-align: center;
    padding: 18px 10px;
    border-radius: 22px;
    background: rgba(255,255,255,.78);
    border: 1px solid var(--kb-border);
    color: var(--kb-muted);
    font-weight: 900;
    box-shadow: 0 14px 35px rgba(15,23,42,.05);
}

.order-step-dot {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    margin: 0 auto 10px;
    background: rgba(102,112,133,.14);
    color: var(--kb-muted);
}

.order-step.active {
    color: var(--kb-blue);
    background: rgba(0,75,155,.08);
    border-color: rgba(0,75,155,.18);
}

.order-step.active .order-step-dot {
    color: #fff;
    background: linear-gradient(135deg, var(--kb-blue), var(--kb-blue-bright));
}

@media (max-width: 900px) {
    .order-timeline {
        grid-template-columns: 1fr;
    }

    .order-step {
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }

    .order-step-dot {
        margin: 0;
        flex: 0 0 38px;
    }
}























/* Fix order/detail page overlap */
.inner-page {
    padding-top: 110px;
}

.section-panel {
    position: relative;
    overflow: visible;
}

.supplier-admin-panel,
.supplier-stat-card,
.auth-card,
.glass-card {
    position: relative;
    z-index: 1;
}

.supplier-admin-row {
    align-items: flex-start;
    flex-wrap: wrap;
}

.supplier-admin-row > div {
    min-width: 0;
    flex: 1;
}

.supplier-admin-row a,
.supplier-admin-row button {
    flex-shrink: 0;
}

.product-spec-grid,
.supplier-metric-row {
    overflow-wrap: anywhere;
}

.order-timeline {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

@media (max-width: 992px) {
    .inner-page {
        padding-top: 130px;
    }

    .supplier-admin-row {
        flex-direction: column;
        gap: 12px;
    }

    .supplier-admin-row a {
        width: 100%;
        text-align: center;
    }
}

/* ==============================
   PHASE 4 CRM DASHBOARD
============================== */

.crm-pipeline-board {
    display: grid;
    grid-template-columns: repeat(7, minmax(220px, 1fr));
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 16px;
}

.crm-pipeline-column {
    min-height: 420px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255,255,255,.72);
    border: 1px solid var(--kb-border);
}

.crm-pipeline-title {
    padding: 12px 14px;
    border-radius: 16px;
    font-weight: 950;
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, var(--kb-blue), var(--kb-blue-bright));
    margin-bottom: 14px;
}

.crm-lead-card {
    padding: 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--kb-border);
    box-shadow: 0 12px 28px rgba(15,23,42,.06);
    margin-bottom: 12px;
}

.crm-lead-card strong,
.crm-lead-card span,
.crm-lead-card small {
    display: block;
}

.crm-lead-card strong {
    font-weight: 950;
}

.crm-lead-card span {
    color: var(--kb-muted);
    font-weight: 750;
}

.crm-lead-card small {
    color: var(--kb-blue);
    font-weight: 900;
    margin: 8px 0;
}

.crm-lead-card a {
    font-weight: 950;
    color: var(--kb-red);
}

@media (max-width: 900px) {
    .crm-pipeline-board {
        grid-template-columns: 1fr;
    }
}

/* ==============================
   PHASE 4 EXECUTIVE DASHBOARD
============================== */

.executive-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}


/* ==============================
   SUPPLIER INVENTORY DASHBOARD
============================== */
.product-card-description {
    display: -webkit-box;
    overflow: hidden;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    line-clamp: 3;      /* Add this */

    min-height: 4.8em;
    line-height: 1.6;
}
.inventory-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 900;
    white-space: nowrap;
}

.inventory-in_stock {
    color: #067647;
    background: rgba(18, 183, 106, .12);
}

.inventory-low_stock {
    color: #b54708;
    background: rgba(247, 144, 9, .14);
}

.inventory-out_of_stock {
    color: #b42318;
    background: rgba(240, 68, 56, .12);
}

.inventory-discontinued {
    color: #475467;
    background: rgba(102, 112, 133, .14);
}

.inventory-unknown {
    color: #344054;
    background: rgba(152, 162, 179, .14);
}

.table-responsive .table {
    min-width: 920px;
}

.table-responsive .table th {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--kb-muted);
}

.table-responsive .table td {
    vertical-align: middle;
}

/* ==============================
   SHIPMENT TRACKING
============================== */

.auth-form input,
.auth-form select,
.auth-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 12px;
    background: #ffffff;
}

.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.12);
}

.shipment-tracking-link {
    font-weight: 800;
    text-decoration: none;
}

.shipment-tracking-link:hover {
    text-decoration: underline;
}

/* =========================================
   MARKETPLACE PRODUCT CARD 
========================================= */

.marketplace-page .product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--kb-border);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.marketplace-page .product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(9, 135, 232, 0.22);
    box-shadow: 0 28px 65px rgba(15, 23, 42, 0.12);
}

.marketplace-page .product-card-image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--kb-soft);
}

.marketplace-page .product-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    padding: 18px;
    transition: transform 0.35s ease;
}

.marketplace-page .product-card:hover .product-card-image img {
    transform: scale(1.045);
}

.marketplace-page .product-card-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    pointer-events: none;
}

.marketplace-page .featured-ribbon,
.marketplace-page .product-status {
    position: static;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1;
}

.marketplace-page .featured-ribbon {
    background: linear-gradient(
        135deg,
        var(--kb-red),
        var(--kb-gold)
    );
    color: #fff;
}

.marketplace-page .product-status {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.94);
    color: var(--kb-blue);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
}

.marketplace-page .product-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.marketplace-page .product-card-meta {
    margin-bottom: 8px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.marketplace-page .product-card-meta a,
.marketplace-page .product-card-meta span {
    color: var(--kb-blue-bright);
}

.marketplace-page .product-card-title {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1.3;
}

.marketplace-page .product-card-title a {
    color: var(--kb-text);
    text-decoration: none;
}

.marketplace-page .product-card-title a:hover {
    color: var(--kb-blue);
}

.marketplace-page .product-card-description {
    display: -webkit-box;
    overflow: hidden;
    margin: 12px 0 18px;
    min-height: 4.8em;
    font-size: 0.88rem;
    line-height: 1.6;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.marketplace-page .product-card-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: auto;
}

.marketplace-page .product-card-summary > div {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--kb-border);
    border-radius: 15px;
    background: var(--kb-soft);
}

.marketplace-page .product-card-summary small,
.marketplace-page .product-card-lead-time span {
    display: block;
    margin-bottom: 4px;
    color: var(--kb-muted);
    font-size: 0.68rem;
    font-weight: 800;
}

.marketplace-page .product-card-summary strong {
    display: block;
    overflow: hidden;
    color: var(--kb-text);
    font-size: 0.84rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.marketplace-page .product-card-lead-time {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 12px;
    padding: 10px 2px;
    border-bottom: 1px solid var(--kb-border);
}

.marketplace-page .product-card-lead-time span {
    margin: 0;
}

.marketplace-page .product-card-lead-time strong {
    color: var(--kb-text);
    font-size: 0.76rem;
    text-align: right;
}

.marketplace-page .product-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px 44px;
    gap: 8px;
    margin-top: 18px;
}

.marketplace-page .product-card-primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.65rem 1rem;
    font-size: 0.80rem;
}

.marketplace-page .product-card-icon-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(0, 75, 155, 0.16);
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    color: var(--kb-blue);
    font-size: 1.05rem;
    font-weight: 900;
    transition:
        transform .20s ease,
        background .20s ease,
        border-color .20s ease;
}

.marketplace-page .product-card-icon-action:hover,
.marketplace-page .product-card-icon-action:focus {
    border-color: var(--kb-blue-bright);
    background: rgba(9,135,232,.08);
    color: var(--kb-blue-bright);
    transform: translateY(-2px);
}

.marketplace-page .product-card-icon-action[aria-pressed="true"] {
    border-color: var(--kb-gold);
    background: rgba(244,176,0,.12);
    color: #9a6b00;
}

@media (max-width: 575.98px) {

    .marketplace-page .product-card-content {
        padding: 18px;
    }

    .marketplace-page .product-card-summary {
        grid-template-columns: 1fr;
    }

    .marketplace-page .product-card-actions {
        grid-template-columns: 1fr 44px 44px;
    }

    .marketplace-page .product-card-description {
        min-height: auto;
    }

}


/* =========================================================
   KALEIDOBRANDS HOME — MARKETPLACE RESTRUCTURE
========================================================= */

.home-section-copy {
    max-width: 760px;
}


/* HERO MARKETPLACE SHOWCASE */

.hero-marketplace-showcase {
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-showcase-heading {
    max-width: 500px;
    margin-bottom: 26px;
}

.hero-showcase-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--kb-blue-bright);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-showcase-heading h2 {
    margin-bottom: 12px;
    color: var(--kb-text);
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 950;
    letter-spacing: -0.055em;
    line-height: 1.05;
}

.hero-showcase-heading p {
    margin-bottom: 0;
}

.hero-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.hero-category-tile {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 17px;
    border: 1px solid var(--kb-border);
    border-radius: 21px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--kb-text);
    transition: 0.25s ease;
}

.hero-category-tile:hover {
    color: var(--kb-text);
    border-color: rgba(9, 135, 232, 0.22);
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.hero-category-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background:
        linear-gradient(
            135deg,
            rgba(0, 75, 155, 0.10),
            rgba(244, 176, 0, 0.14)
        );
    font-size: 1.45rem;
}

.hero-category-tile strong {
    display: block;
    color: var(--kb-text);
    font-size: 0.94rem;
    font-weight: 950;
}

.hero-category-tile span {
    display: block;
    margin-top: 3px;
    color: var(--kb-muted);
    font-size: 0.76rem;
    line-height: 1.35;
}

.hero-marketplace-footer {
    margin-top: 22px;
}

.hero-marketplace-footer a {
    color: var(--kb-blue);
    font-weight: 950;
}

.hero-marketplace-footer a:hover {
    color: var(--kb-red);
}


/* SEARCH */

.home-search-section {
    position: relative;
    z-index: 5;
    margin-top: -54px;
    padding-bottom: 35px;
}

.home-search-panel {
    max-width: 1050px;
    margin-inline: auto;
    padding: 40px;
    border-radius: 34px;
}

.home-search-panel .section-heading h2 {
    font-size: clamp(1.8rem, 3vw, 2.75rem);
}

.home-marketplace-search {
    max-width: 820px;
    margin: 28px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.home-marketplace-search .catalog-search-input {
    margin: 0;
}

.home-popular-searches {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    margin-top: 20px;
    color: var(--kb-muted);
    font-size: 0.85rem;
}

.home-popular-searches strong {
    color: var(--kb-text);
}

.home-popular-searches a {
    color: var(--kb-blue);
    font-weight: 850;
}

.home-popular-searches a:hover {
    color: var(--kb-red);
}


/* CATEGORY CARDS */

.kb-home .product-category-card {
    position: relative;
    display: flex;
    flex-direction: column;
}

.kb-home .product-category-card p {
    flex: 1;
}

.home-card-link {
    display: block;
    margin-top: 18px;
    color: var(--kb-blue);
    font-size: 0.88rem;
    font-weight: 950;
}

.home-view-all-card {
    background:
        radial-gradient(
            circle at top right,
            rgba(244, 176, 0, 0.14),
            transparent 35%
        ),
        rgba(255, 255, 255, 0.88);
}


/* INDUSTRIES */

.kb-home .trust-grid {
    grid-template-columns: repeat(4, 1fr);
}

.home-industry-card {
    display: block;
    padding: 22px;
    border: 1px solid var(--kb-border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--kb-text);
    transition: 0.25s ease;
}

.home-industry-card:hover {
    color: var(--kb-text);
    transform: translateY(-5px);
    box-shadow: var(--kb-shadow);
}

.home-industry-card strong {
    display: block;
    color: var(--kb-text);
    font-weight: 950;
}

.home-industry-card span {
    display: block;
    margin-top: 5px;
    color: var(--kb-muted);
    font-size: 0.86rem;
    line-height: 1.55;
}


/* COLLECTIONS */

.home-collection-card {
    display: flex;
    flex-direction: column;
    color: var(--kb-text);
}

.home-collection-card:hover {
    color: var(--kb-text);
}

.home-collection-card p {
    flex: 1;
}


/* MARKETPLACE CTA */

.home-marketplace-cta {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto;
    align-items: center;
    gap: 45px;
    padding: 46px;
    border-radius: 38px;
}

.home-marketplace-cta p {
    max-width: 720px;
    margin-bottom: 0;
}

.home-marketplace-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


/* FINAL CTA */

.home-final-cta {
    max-width: 1000px;
    margin-inline: auto;
    padding: 60px;
    border-radius: 42px;
    text-align: center;
}

.home-final-cta > p {
    max-width: 700px;
    margin: 20px auto 0;
    font-size: 1.05rem;
}

.home-contact-mini {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
    color: var(--kb-muted);
}

.home-contact-mini a {
    color: var(--kb-blue);
    font-weight: 900;
}

.home-contact-mini a:hover {
    color: var(--kb-red);
}


/* RESPONSIVE */

@media (max-width: 991px) {

    .hero-marketplace-showcase {
        min-height: auto;
    }

    .kb-home .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-marketplace-cta {
        grid-template-columns: 1fr;
    }

    .home-marketplace-cta-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}


@media (max-width: 575px) {

    .hero-category-grid {
        grid-template-columns: 1fr;
    }

    .home-search-section {
        margin-top: -20px;
    }

    .home-search-panel {
        padding: 26px 20px;
        border-radius: 28px;
    }

    .home-marketplace-search {
        grid-template-columns: 1fr;
    }

    .kb-home .trust-grid {
        grid-template-columns: 1fr;
    }

    .home-marketplace-cta {
        padding: 30px 22px;
        border-radius: 30px;
    }

    .home-marketplace-cta-actions {
        display: grid;
    }

    .home-final-cta {
        padding: 40px 22px;
        border-radius: 32px;
    }
}

/* =========================================================
   HOME PRODUCT SECTIONS
========================================================= */

.home-section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 24px;
}

.home-section-header .section-heading {
    max-width: 760px;
}

.home-section-header .section-heading span {
    margin-bottom: 16px;
}

.home-section-header .section-heading h2 {
    margin-bottom: 0;
}

.home-section-header .home-section-copy {
    margin-bottom: 0;
}

.home-section-header > .btn {
    flex-shrink: 0;
}


/* Give homepage marketplace cards breathing room */

.kb-home .marketplace-page {
    margin-top: 10px;
}


/* Keep product images polished on homepage */

.kb-home .marketplace-page .product-card-image {
    background:
        radial-gradient(
            circle at top right,
            rgba(9, 135, 232, 0.08),
            transparent 38%
        ),
        var(--kb-soft);
}


/* Empty/future supplier imagery stays intentional */

.kb-home .marketplace-page .product-card-image img {
    object-fit: contain;
}


/* Responsive */

@media (max-width: 767.98px) {

    .home-section-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-section-header > .btn {
        width: auto;
    }
}


/* =========================================================
   HOMEPAGE — INDUSTRY ICONS
   ========================================================= */

.kb-home .home-industry-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            rgba(9, 135, 232, 0.10),
            rgba(240, 41, 47, 0.08)
        );

    border: 1px solid rgba(0, 75, 155, 0.10);

    color: var(--kb-blue);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.kb-home .home-industry-icon i {
    font-size: 1.35rem;
    line-height: 1;
}

.kb-home .home-industry-card:hover .home-industry-icon {
    transform: translateY(-3px) scale(1.06);

    background:
        linear-gradient(
            135deg,
            rgba(240, 41, 47, 0.12),
            rgba(244, 176, 0, 0.12)
        );

    color: var(--kb-red);
}


/* =========================================================
   HOMEPAGE — INDUSTRY SECTION SOFT GRADIENT
   ========================================================= */

.kb-home #industries {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(9, 135, 232, 0.10),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 25%,
            rgba(240, 41, 47, 0.07),
            transparent 30%
        ),
        radial-gradient(
            circle at 55% 100%,
            rgba(244, 176, 0, 0.08),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f7faff 45%,
            #fffaf1 100%
        );
}


.kb-home #industries .home-industry-card {
    background: rgba(255, 255, 255, 0.76);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(255, 255, 255, 0.85);
}


/* =========================================================
   PRODUCT CARDS — SAVE & COMPARE ICON ACTIONS
   ========================================================= */

.marketplace-page .product-card-icon-action {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(0, 75, 155, 0.12);

    color: var(--kb-blue);

    box-shadow: 0 6px 18px rgba(24, 32, 42, 0.06);

    transition:
        transform 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease,
        box-shadow 0.22s ease;
}

.marketplace-page .product-card-icon-action i {
    font-size: 1.15rem;
    line-height: 1;
}

/* Hover */
.marketplace-page .product-card-icon-action:hover {
    transform: translateY(-2px);

    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(240, 41, 47, 0.25);

    color: var(--kb-red);

    box-shadow: 0 10px 24px rgba(24, 32, 42, 0.10);
}

/* Saved product */
.marketplace-page .save-product-btn.is-saved {
    color: var(--kb-red);
    background: rgba(240, 41, 47, 0.08);
    border-color: rgba(240, 41, 47, 0.20);
}

/* Product already added to compare */
.marketplace-page .product-compare-btn[aria-pressed="true"] {
    color: var(--kb-blue);
    background: rgba(9, 135, 232, 0.10);
    border-color: rgba(9, 135, 232, 0.22);
}

/* Keyboard accessibility */
.marketplace-page .product-card-icon-action:focus-visible {
    outline: 3px solid rgba(9, 135, 232, 0.22);
    outline-offset: 3px;
}

/* Saved product visual state */
.marketplace-page .save-product-btn.is-saved {
    color: var(--kb-red);
    background: rgba(240, 41, 47, 0.08);
    border-color: rgba(240, 41, 47, 0.20);
}

.marketplace-page .save-product-btn.is-saved i::before {
    content: "\f415";
}

/* =========================================================
   PRODUCT CARDS — COMPARE ACTIVE STATE
   ========================================================= */

.marketplace-page .product-compare-btn[aria-pressed="true"] {
    color: var(--kb-blue);
    background: rgba(9, 135, 232, 0.12);
    border-color: rgba(9, 135, 232, 0.28);
    box-shadow: 0 8px 22px rgba(9, 135, 232, 0.12);
}

.marketplace-page .product-compare-btn[aria-pressed="true"] i {
    transform: scale(1.08);
}

.marketplace-page .product-compare-btn i {
    transition:
        transform 0.22s ease,
        color 0.22s ease;
}


.kb-cart-page {
    --kb-cart-blue: #0568d8;
    --kb-cart-blue-dark: #004fa9;
    --kb-cart-red: #ff3d4f;
    --kb-cart-orange: #ffa800;
    --kb-cart-ink: #172131;
    --kb-cart-muted: #68768b;
    --kb-cart-border: #e7edf5;
    --kb-cart-soft: #f7faff;
}


/* =========================================================
   MAIN CARDS
   ========================================================= */

.kb-cart-card,
.kb-cart-summary {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--kb-cart-border);
    border-radius: 24px;
    box-shadow:
        0 18px 50px rgba(28, 52, 84, 0.08);
}

.kb-cart-card {
    padding: 24px;
}

.kb-cart-summary {
    padding: 24px;
    position: sticky;
    top: 105px;
}


/* =========================================================
   CARD HEADINGS
   ========================================================= */

.kb-cart-card-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.kb-cart-heading-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    background: linear-gradient(
        135deg,
        #176ce8,
        #0099e9
    );
    box-shadow:
        0 10px 24px rgba(5, 104, 216, 0.22);
}

.kb-cart-heading-icon.is-red {
    background: linear-gradient(
        135deg,
        #ff3858,
        #ff6840
    );
    box-shadow:
        0 10px 24px rgba(255, 61, 79, 0.20);
}

.kb-cart-kicker {
    display: block;
    margin-bottom: 2px;
    color: #66768d;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.kb-cart-card-heading h2 {
    margin: 0;
    color: var(--kb-cart-ink);
    font-size: 1.35rem;
    font-weight: 800;
}

.kb-cart-card-heading p {
    margin: 3px 0 0;
    color: var(--kb-cart-muted);
    font-size: 0.82rem;
}


/* =========================================================
   PRODUCT CARD
   ========================================================= */

.kb-cart-product {
    display: grid;
    grid-template-columns: 135px minmax(0, 1fr);
    gap: 20px;
    padding: 18px;
    margin-top: 16px;
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fbfdff 100%
        );
    border: 1px solid var(--kb-cart-border);
    border-radius: 20px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.kb-cart-product:hover {
    transform: translateY(-2px);
    border-color: #d9e6f6;
    box-shadow:
        0 15px 35px rgba(28, 52, 84, 0.08);
}


/* =========================================================
   PRODUCT IMAGE
   ========================================================= */

.kb-cart-product-image {
    width: 135px;
    height: 135px;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f7fc;
    border: 1px solid #edf1f7;
    text-decoration: none;
}

.kb-cart-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    background: #ffffff;
}

.kb-cart-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8da3bd;
    font-size: 2rem;
    background:
        linear-gradient(
            135deg,
            #eef5ff,
            #f9fbff
        );
}


/* =========================================================
   PRODUCT CONTENT
   ========================================================= */

.kb-cart-product-content {
    min-width: 0;
}

.kb-cart-product-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.kb-cart-product-info {
    min-width: 0;
}

.kb-cart-category {
    display: block;
    margin-bottom: 4px;
    color: var(--kb-cart-red);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.kb-cart-product-name {
    display: inline-block;
    color: #0758ae;
    font-size: 1.05rem;
    line-height: 1.3;
    font-weight: 800;
    text-decoration: none;
}

.kb-cart-product-name:hover {
    color: var(--kb-cart-blue);
}

.kb-cart-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px;
    margin-top: 7px;
    color: var(--kb-cart-muted);
    font-size: 0.76rem;
}

.kb-cart-product-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}


/* =========================================================
   LINE TOTAL
   ========================================================= */

.kb-cart-line-total {
    flex: 0 0 auto;
    text-align: right;
}

.kb-cart-line-total span {
    display: block;
    color: var(--kb-cart-muted);
    font-size: 0.7rem;
    font-weight: 700;
}

.kb-cart-line-total strong {
    display: block;
    margin-top: 2px;
    color: var(--kb-cart-ink);
    font-size: 1.15rem;
    font-weight: 800;
}


/* =========================================================
   PRICE STRIP
   ========================================================= */

.kb-cart-price-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.kb-cart-price-strip > div {
    min-width: 120px;
    padding: 9px 12px;
    border: 1px solid #e8edf4;
    border-radius: 12px;
    background: #f8fafd;
}

.kb-cart-price-strip span {
    display: block;
    margin-bottom: 2px;
    color: #77859a;
    font-size: 0.66rem;
    font-weight: 700;
}

.kb-cart-price-strip strong {
    display: block;
    color: var(--kb-cart-ink);
    font-size: 0.82rem;
    font-weight: 800;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.kb-cart-product-actions {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid #edf1f6;
}

.kb-cart-quantity-form label {
    display: block;
    margin-bottom: 5px;
    color: #48586e;
    font-size: 0.7rem;
    font-weight: 800;
}

.kb-cart-quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.kb-cart-quantity-controls input {
    width: 85px;
    height: 40px;
    border-radius: 11px;
    border: 1px solid #dce5ef;
}

.kb-cart-update,
.kb-cart-view,
.kb-cart-remove {
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 800;
    text-decoration: none;
    transition: 0.2s ease;
}

.kb-cart-update {
    border: 1px solid #d8e5f4;
    background: #ffffff;
    color: #0758ae;
}

.kb-cart-update:hover {
    background: #f1f7ff;
}

.kb-cart-secondary-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.kb-cart-view {
    color: #0758ae;
    border: 1px solid #dce7f5;
    background: #ffffff;
}

.kb-cart-view:hover {
    background: #f3f8ff;
    color: var(--kb-cart-blue);
}

.kb-cart-remove {
    color: #e84052;
    border: 1px solid #ffd5da;
    background: #fff5f6;
}

.kb-cart-remove:hover {
    color: #cf2538;
    background: #ffecef;
}


/* =========================================================
   SUMMARY
   ========================================================= */

.kb-cart-summary-lines {
    margin-top: 8px;
}

.kb-cart-summary-lines > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #edf1f6;
    color: #65758a;
    font-size: 0.82rem;
}

.kb-cart-summary-lines strong {
    color: var(--kb-cart-ink);
}

.kb-cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 18px 0;
}

.kb-cart-summary-total span {
    display: block;
    color: var(--kb-cart-ink);
    font-weight: 800;
}

.kb-cart-summary-total small {
    display: block;
    margin-top: 2px;
    color: #7a8798;
    font-size: 0.67rem;
}

.kb-cart-summary-total > strong {
    color: #0758ae;
    font-size: 1.35rem;
    font-weight: 900;
}


/* =========================================================
   SUMMARY ACTIONS
   ========================================================= */

.kb-cart-summary-actions {
    display: grid;
    gap: 10px;
}

.kb-cart-continue,
.kb-cart-checkout {
    width: 100%;
    min-height: 46px;
    padding: 11px 16px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.kb-cart-continue {
    color: #0758ae;
    border: 1px solid #dce6f2;
    background: #ffffff;
}

.kb-cart-continue:hover {
    background: #f5f9ff;
    color: var(--kb-cart-blue);
}

.kb-cart-checkout {
    color: #ffffff;
    border: 0;
    background:
        linear-gradient(
            100deg,
            #ff3549,
            #ff7a18,
            #ffb000
        );
    box-shadow:
        0 10px 25px rgba(255, 92, 48, 0.18);
}

.kb-cart-checkout:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow:
        0 13px 30px rgba(255, 92, 48, 0.25);
}


/* =========================================================
   SECURITY NOTE
   ========================================================= */

.kb-cart-security {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid #edf1f6;
}

.kb-cart-security > i {
    color: #22a765;
    font-size: 1rem;
}

.kb-cart-security strong,
.kb-cart-security span {
    display: block;
}

.kb-cart-security strong {
    color: #425168;
    font-size: 0.72rem;
}

.kb-cart-security span {
    margin-top: 2px;
    color: #7b8798;
    font-size: 0.65rem;
    line-height: 1.45;
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.kb-cart-empty {
    padding: 55px 25px;
    text-align: center;
    border: 1px dashed #dce6f2;
    border-radius: 18px;
    background: #fbfdff;
}

.kb-cart-empty-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1474df;
    background: #eaf4ff;
    font-size: 1.25rem;
}

.kb-cart-empty h3 {
    margin-bottom: 6px;
    color: var(--kb-cart-ink);
    font-size: 1rem;
    font-weight: 800;
}

.kb-cart-empty p {
    margin: 0 auto 18px;
    max-width: 420px;
    color: var(--kb-cart-muted);
    font-size: 0.8rem;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {

    .kb-cart-summary {
        position: static;
    }

}

@media (max-width: 767.98px) {

    .kb-cart-card,
    .kb-cart-summary {
        padding: 18px;
        border-radius: 20px;
    }

    .kb-cart-product {
        grid-template-columns: 95px minmax(0, 1fr);
        gap: 14px;
        padding: 14px;
    }

    .kb-cart-product-image {
        width: 95px;
        height: 95px;
    }

    .kb-cart-product-top {
        display: block;
    }

    .kb-cart-line-total {
        margin-top: 10px;
        text-align: left;
    }

    .kb-cart-product-actions {
        display: block;
    }

    .kb-cart-secondary-actions {
        margin-top: 12px;
    }

}

@media (max-width: 575.98px) {

    .kb-cart-product {
        display: block;
    }

    .kb-cart-product-image {
        width: 100%;
        height: 190px;
        margin-bottom: 14px;
    }

    .kb-cart-product-actions,
    .kb-cart-secondary-actions,
    .kb-cart-quantity-controls {
        width: 100%;
    }

    .kb-cart-secondary-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .kb-cart-quantity-controls input {
        flex: 1;
        width: auto;
    }

}

/* =========================================================
   KALEIDOBRANDS — FINAL DARK FOOTER
========================================================= */

.kb-footer-main {
    position: relative;
    background:
        radial-gradient(
            circle at 18% 10%,
            rgba(22, 116, 239, 0.11),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #06152d 0%,
            #071b38 52%,
            #06162e 100%
        );

    color: #ffffff;
    padding: 44px 0 24px;
}


/* Main three-column layout */

.kb-footer-main-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 0.9fr;
    align-items: start;
    gap: 70px;
}


/* =========================================================
   BRAND — LEFT
========================================================= */

.kb-footer-brand {
    min-width: 0;
}

.kb-footer-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;
}

.kb-footer-k-logo {
    display: block;

    width: 39px;
    height: 39px;

    object-fit: contain;
}


/* Actual KaleidoBrands name */

.kb-footer-brand-name {
    display: inline-flex;
    align-items: center;

    font-size: 1.55rem;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.055em;
}

.kb-footer-kaleido {
    color: #ffffff;
}

.kb-footer-brands {
    color: #ffb000;
}


/* Tagline */

.kb-footer-tagline {
    margin: 18px 0 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: 0.93rem;
    font-weight: 500;
    line-height: 1.65;
}


/* =========================================================
   NAVIGATION — CENTER
========================================================= */

.kb-footer-nav {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 18px 70px;

    padding-top: 8px;
}

.kb-footer-nav-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.kb-footer-nav a {
    color: rgba(255, 255, 255, 0.92);

    font-size: 0.83rem;
    font-weight: 750;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.kb-footer-nav a:hover {
    color: #ffffff;
    transform: translateX(3px);
}


/* =========================================================
   CONNECT — RIGHT
========================================================= */

.kb-footer-connect {
    justify-self: end;
    min-width: 205px;
}

.kb-footer-connect-title {
    display: block;

    margin-bottom: 15px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 0.63rem;
    font-weight: 900;
    letter-spacing: 0.18em;

    text-transform: uppercase;
}


/* Social buttons */

.kb-footer-socials {
    display: flex;
    align-items: center;
    gap: 13px;
}

.kb-footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 8px;

    background: #ffffff;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.12);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.kb-footer-socials a:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.2);
}

.kb-footer-socials img {
    display: block;

    width: 21px;
    height: 21px;

    object-fit: contain;
}


/* Location */

.kb-footer-location {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-top: 14px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 0.72rem;
    font-weight: 650;
}

.kb-footer-location i {
    color: #ffb000;
}


/* =========================================================
   BOTTOM COPYRIGHT / LEGAL
========================================================= */

.kb-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-top: 48px;
    padding-top: 20px;

    border-top:
        1px solid rgba(255, 255, 255, 0.07);

    color: rgba(255, 255, 255, 0.43);

    font-size: 0.67rem;
}

.kb-footer-legal {
    display: flex;
    align-items: center;
    gap: 10px;
}

.kb-footer-legal a {
    color: rgba(255, 255, 255, 0.58);
    text-decoration: none;
}

.kb-footer-legal a:hover {
    color: #ffffff;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .kb-footer-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 42px;
    }

    .kb-footer-connect {
        justify-self: start;
    }
}


@media (max-width: 650px) {

    .kb-footer-main {
        padding-top: 38px;
    }

    .kb-footer-main-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .kb-footer-nav {
        justify-content: start;
        gap: 55px;
    }

    .kb-footer-connect {
        justify-self: start;
    }

    .kb-footer-bottom {
        flex-direction: column;
        align-items: flex-start;

        margin-top: 38px;
    }
}

/* =========================================================
   KALEIDOBRANDS FOOTER COLOR TRANSITION
========================================================= */

.kb-footer-wave {
    position: relative;

    width: 100%;
    height: 74px;

    overflow: hidden;

    background: #f5f8fc;
}


/* BLUE MAIN BAND */

.kb-footer-wave-blue {
    position: absolute;

    left: -2%;
    right: -2%;
    top: 0;

    height: 66px;

    background:
        linear-gradient(
            90deg,
            #0878ff 0%,
            #1674ef 45%,
            #2586ee 100%
        );

    clip-path: polygon(
        0 0,
        100% 0,
        100% 20%,
        82% 45%,
        62% 66%,
        40% 82%,
        18% 91%,
        0 72%
    );
}


/* RED BAND */

.kb-footer-wave-red {
    position: absolute;

    left: -2%;
    right: -2%;
    bottom: 0;

    height: 37px;

    background:
        linear-gradient(
            90deg,
            #ff8a00 0%,
            #ff4b2b 38%,
            #ff3156 100%
        );

    clip-path: polygon(
        0 80%,
        18% 72%,
        40% 62%,
        63% 48%,
        82% 31%,
        100% 0,
        100% 100%,
        0 100%
    );
}


/* SMALL GOLD ACCENT */

.kb-footer-wave-gold {
    position: absolute;

    left: 29%;
    bottom: 5px;

    width: 190px;
    height: 4px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #ffb000,
            #ff7a00,
            transparent
        );

    transform: rotate(-1.5deg);
}

/* =========================================================
   KALEIDOBRANDS — PREMIUM FOOTER SWOOSH
========================================================= */

.kb-footer-ribbon {
    position: relative;
    width: 100%;
    height: 76px;
    margin: 0;
    overflow: hidden;
    background: #071a35;
}


.kb-footer-ribbon-blue {
    position: absolute;
    top: -96px;
    left: -4%;

    width: 108%;
    height: 130px;

    background: linear-gradient(
        90deg,
        #087cff 0%,
        #1479f5 48%,
        #328eea 100%
    );

    border-radius: 0 0 50% 50% / 0 0 30% 28%;
    transform: rotate(-0.55deg);

    z-index: 3;
}


/* GOLD — subtle highlight */
.kb-footer-ribbon-gold {
    position: absolute;
    left: 27%;
    bottom: 30px;

    width: 38%;
    height: 3px;

    border-radius: 999px;

    background: linear-gradient(
        90deg,
        transparent 0%,
        #ffc400 20%,
        #ff9d00 72%,
        transparent 100%
    );

    transform: rotate(-0.7deg);

    z-index: 5;
}


/* RED — thin finishing accent */
.kb-footer-ribbon-red {
    position: absolute;
    left: 37%;
    right: -4%;
    bottom: 12px;

    height: 13px;

    background: linear-gradient(
        90deg,
        #ff8a00 0%,
        #ff6438 38%,
        #ff3158 100%
    );

    border-radius: 70% 0 0 0 / 100% 0 0 0;

    transform: rotate(-0.65deg);
    transform-origin: right center;

    z-index: 4;
}

/* =========================================================
   KALEIDOBRANDS — REAL PRODUCT INDUSTRY CARDS
========================================================= */

.home-industry-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;

    min-height: 360px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(248, 250, 255, 0.96)
        );

    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;

    text-decoration: none;
    color: inherit;

    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.home-industry-product-card:hover {
    transform: translateY(-8px);

    border-color: rgba(37, 99, 235, 0.22);

    box-shadow:
        0 28px 65px rgba(15, 23, 42, 0.14);
}


/* ---------------------------------------------------------
   PRODUCT IMAGE
--------------------------------------------------------- */

.home-industry-product-media {
    position: relative;

    width: 100%;
    height: 205px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #f8fafc,
            #eef4ff
        );
}


.home-industry-product-media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    padding: 18px;

    transition:
        transform 0.45s ease;
}


.home-industry-product-card:hover
.home-industry-product-media img {
    transform: scale(1.06);
}


/* ---------------------------------------------------------
   INDUSTRY BADGE
--------------------------------------------------------- */

.home-industry-product-badge {
    position: absolute;

    left: 16px;
    bottom: 14px;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 11px;

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.94);

    border:
        1px solid rgba(255, 255, 255, 0.8);

    box-shadow:
        0 8px 24px rgba(15, 23, 42, 0.12);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    color: #0b5ed7;

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.03em;
}


.home-industry-product-badge i {
    font-size: 0.95rem;
}


/* ---------------------------------------------------------
   FALLBACK
--------------------------------------------------------- */

.home-industry-product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    font-size: 3rem;

    color: #0b5ed7;

    background:
        radial-gradient(
            circle at 30% 25%,
            rgba(59, 130, 246, 0.18),
            transparent 45%
        ),
        linear-gradient(
            135deg,
            #f8fbff,
            #eef4ff
        );
}


/* ---------------------------------------------------------
   CONTENT
--------------------------------------------------------- */

.home-industry-product-content {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 20px 20px 18px;
}


.home-industry-product-content > strong {
    display: block;

    margin-bottom: 7px;

    color: #101828;

    font-size: 1.05rem;
    font-weight: 850;

    line-height: 1.25;
}


.home-industry-product-content > span {
    display: block;

    min-height: 42px;

    color: #667085;

    font-size: 0.83rem;
    line-height: 1.55;
}


/* ---------------------------------------------------------
   FEATURED PRODUCT NAME
--------------------------------------------------------- */

.home-industry-featured-product {
    display: block;

    margin-top: 13px;
    padding-top: 12px;

    border-top:
        1px solid rgba(15, 23, 42, 0.07);

    color: #344054;

    font-size: 0.74rem;
    font-weight: 650;

    line-height: 1.4;
}


/* ---------------------------------------------------------
   CARD FOOTER
--------------------------------------------------------- */

.home-industry-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin-top: auto;
    padding-top: 16px;
}


.home-industry-product-footer > small {
    color: #98a2b3;

    font-size: 0.72rem;
    font-weight: 700;
}


.home-industry-product-footer > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    color: #0b5ed7;

    font-size: 0.76rem;
    font-weight: 800;

    transition:
        gap 0.25s ease;
}


.home-industry-product-card:hover
.home-industry-product-footer > span {
    gap: 9px;
}


/* ---------------------------------------------------------
   GRID
--------------------------------------------------------- */

#industries .trust-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 22px;
}


/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 1100px) {

    #industries .trust-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 650px) {

    #industries .trust-grid {
        grid-template-columns: 1fr;
    }

    .home-industry-product-card {
        min-height: 340px;
    }

    .home-industry-product-media {
        height: 220px;
    }

}