:root {
    --kb-bg: #fbfaf7;
    --kb-surface: #ffffff;
    --kb-surface-soft: #f6f2ed;
    --kb-text: #171717;
    --kb-muted: #6c6a67;
    --kb-line: #e6e0d9;
    --kb-line-dark: #d6cec5;
    --kb-primary: #7a2d43;
    --kb-primary-dark: #5f2032;
    --kb-primary-soft: #f4e8eb;
    --kb-footer: #9d1f66;
    --kb-footer-deep: #7d174f;
    --kb-success: #2e7d32;
    --kb-danger: #b43b3b;
    --kb-radius: 4px;
    --kb-shadow: 0 14px 40px rgba(40, 28, 20, .08);
    --kb-font: 'Poppins', Arial, Helvetica, sans-serif;
}

html { scroll-behavior: smooth; }
body.kb-theme {
    margin: 0;
    background: var(--kb-bg);
    color: var(--kb-text);
    font-family: var(--kb-font) !important;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.kb-theme *, body.kb-theme *::before, body.kb-theme *::after { box-sizing: border-box; }
body.kb-theme a { color: inherit; text-decoration: none; }
body.kb-theme img { max-width: 100%; }
body.kb-theme button, body.kb-theme input, body.kb-theme select, body.kb-theme textarea { font: inherit; }
body.kb-theme .kb-site-main { min-height: 48vh; }
body.kb-theme .container-fluid.kb-home-width,
body.kb-theme .container-fluid.kb-page-width {
    width: min(100%, 1480px);
    margin: 0 auto;
    padding-left: 28px;
    padding-right: 28px;
}

/* Shared buttons */
.kb-btn {
    min-height: 44px;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
    transition: .2s ease;
    cursor: pointer;
}
.kb-btn:disabled { opacity: .55; cursor: not-allowed; }
.kb-btn-primary { background: var(--kb-primary); color: #fff !important; border-color: var(--kb-primary); }
.kb-btn-primary:hover { background: var(--kb-primary-dark); border-color: var(--kb-primary-dark); }
.kb-btn-light { background: #fff; color: var(--kb-text) !important; border-color: #fff; }
.kb-btn-light:hover { background: #f4f1ed; border-color: #f4f1ed; }

.kb-section { padding: 58px 0; }
.kb-section-soft { background: #f7f3ee; }
.kb-section-title { margin-bottom: 28px; }
.kb-section-title h2,
.kb-section-heading-row h2 {
    margin: 0;
    font-size: clamp(24px, 2vw, 34px);
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -.025em;
}
.kb-section-kicker,
.kb-eyebrow,
.kb-promo-kicker {
    display: block;
    margin-bottom: 7px;
    color: var(--kb-primary);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.kb-section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}
.kb-view-all { font-size: 12px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.kb-view-all span { margin-left: 5px; }

/* Header */
.kb-header {
    position: sticky;
    top: 0;
    z-index: 1035;
    background: rgba(252, 251, 248, .97);
    border-bottom: 1px solid rgba(219, 214, 207, .75);
    backdrop-filter: blur(14px);
}
.kb-header-shell {
    min-height: 70px;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}
.kb-header-left,
.kb-header-right,
.kb-header-links,
.kb-header-icons { display: flex; align-items: center; }
.kb-header-left { gap: 24px; justify-content: flex-start; min-width: 0; }
.kb-header-right { justify-content: flex-end; gap: 24px; min-width: 0; }
.kb-header-links { gap: 24px; }
.kb-header-icons { gap: 10px; }
.kb-nav-link {
    position: relative;
    border: 0;
    background: transparent;
    color: #242424;
    padding: 25px 0 23px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.kb-nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 18px;
    height: 1px;
    background: var(--kb-primary);
    transition: right .2s ease;
}
.kb-nav-link:hover::after,
.kb-nav-link.active::after { right: 0; }
.kb-nav-button { display: flex; align-items: center; gap: 5px; }
.kb-nav-button svg { width: 9px; height: 6px; transition: .2s ease; }
.kb-nav-dropdown.show .kb-nav-button svg { transform: rotate(180deg); }
.kb-category-menu,
.kb-account-menu {
    min-width: 220px;
    margin-top: 0 !important;
    padding: 10px;
    border: 1px solid var(--kb-line);
    border-radius: 2px;
    box-shadow: var(--kb-shadow);
    background: #fff;
}
.kb-category-menu .dropdown-item,
.kb-account-menu .dropdown-item {
    padding: 9px 11px;
    border-radius: 2px;
    font-size: 12px;
    color: var(--kb-text);
}
.kb-category-menu .dropdown-item:hover,
.kb-account-menu .dropdown-item:hover { background: var(--kb-surface-soft); }
.kb-account-name { padding: 7px 11px 10px; border-bottom: 1px solid var(--kb-line); margin-bottom: 5px; font-size: 12px; font-weight: 600; }
.kb-brand {
    width: 190px;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.kb-brand img { max-width: 175px; max-height: 44px; object-fit: contain; position: relative; z-index: 2; }
.kb-brand-fallback { position: absolute; font-size: 20px; font-weight: 700; letter-spacing: -.04em; color: #18202b; z-index: 1; }
.kb-brand img[src*="placeholder"] + .kb-brand-fallback,
.kb-brand img[src=""] + .kb-brand-fallback { z-index: 3; background: var(--kb-bg); padding: 3px 8px; }
.kb-icon-btn,
.kb-mobile-menu-btn {
    border: 0;
    background: transparent;
    color: #171717;
    padding: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
    cursor: pointer;
}
.kb-icon-btn svg,
.kb-mobile-menu-btn svg { width: 19px; height: 19px; }
.kb-cart-btn { position: relative; gap: 6px; }
.kb-cart-count {
    position: absolute;
    top: -1px;
    left: 22px;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    border-radius: 50px;
    background: var(--kb-primary);
    color: #fff;
    font-size: 9px;
    line-height: 15px;
    text-align: center;
}
.kb-cart-word { font-size: 12px; font-weight: 500; }
.kb-mobile-menu-btn { padding: 0; justify-self: start; }
.kb-mobile-menu .offcanvas-header { border-bottom: 1px solid var(--kb-line); }
.kb-mobile-menu-title { font-size: 17px; font-weight: 600; }
.kb-mobile-nav { display: flex; flex-direction: column; }
.kb-mobile-nav > a { padding: 13px 0; border-bottom: 1px solid var(--kb-line); font-size: 14px; }
.kb-mobile-category-list { margin-top: 28px; display: grid; gap: 10px; }
.kb-mobile-category-heading { color: var(--kb-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.kb-mobile-category-list a { font-size: 13px; }
.kb-search-modal .modal-content { border: 0; border-radius: 4px; box-shadow: var(--kb-shadow); }
.kb-search-modal .modal-title { font-size: 18px; font-weight: 600; }
.kb-search-input-wrap { display: flex; align-items: center; gap: 11px; border: 1px solid var(--kb-line-dark); min-height: 52px; padding: 0 15px; background: #fff; }
.kb-search-input-wrap svg { width: 20px; height: 20px; flex: 0 0 auto; }
.kb-search-input-wrap input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 13px; }

/* Hero */
.kb-home-hero { padding: 22px 0 0; }
.kb-hero-card { height: clamp(340px, 36vw, 520px); position: relative; overflow: hidden; background: #d9d2ca; }
.kb-hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.kb-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28, 20, 17, .48) 0%, rgba(28,20,17,.12) 45%, rgba(28,20,17,0) 72%); }
.kb-hero-content { position: absolute; left: clamp(28px, 6vw, 94px); top: 50%; transform: translateY(-50%); width: min(430px, 44%); color: #fff; }
.kb-hero-content .kb-eyebrow { color: #fff; opacity: .9; }
.kb-hero-content h1 { margin: 0 0 12px; font-size: clamp(34px, 4.5vw, 68px); line-height: 1.02; font-weight: 500; letter-spacing: -.04em; }
.kb-hero-content p { margin: 0 0 22px; max-width: 400px; font-size: 13px; line-height: 1.7; }

/* Category tiles */
.kb-shop-category-section { padding-top: 34px; }
.kb-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kb-category-tile { position: relative; height: clamp(170px, 16vw, 245px); overflow: hidden; background: #ddd3c9; }
.kb-category-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.kb-category-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.48) 100%); }
.kb-category-title { position: absolute; left: 50%; bottom: 21px; transform: translateX(-50%); color: #fff; font-size: 14px; font-weight: 500; text-align: center; white-space: nowrap; text-shadow: 0 1px 10px rgba(0,0,0,.28); }
.kb-category-tile:hover img { transform: scale(1.035); }

/* Promo */
.kb-home-promo-section { padding: 6px 0 34px; }
.kb-home-promo {
    min-height: 310px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255, 247, 241, .98) 0%, rgba(252,239,232,.92) 48%, rgba(252,239,232,.12) 72%),
        var(--kb-promo-image) center right / cover no-repeat;
}
.kb-home-promo-copy { width: min(520px, 58%); padding: 45px clamp(25px, 5vw, 70px); }
.kb-home-promo-copy h2 { margin: 0 0 11px; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.06; font-weight: 600; letter-spacing: -.04em; }
.kb-home-promo-copy p { margin: 0 0 20px; max-width: 430px; color: #5e5550; font-size: 13px; line-height: 1.7; }

/* Product cards */
.kb-home-product-grid,
.kb-related-grid,
.kb-listing-grid { display: grid; gap: 18px; }
.kb-home-product-grid,
.kb-related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kb-product-card { min-width: 0; background: #fff; border: 1px solid var(--kb-line); transition: box-shadow .2s ease, transform .2s ease; }
.kb-product-card:hover { box-shadow: 0 10px 28px rgba(51, 40, 29, .08); transform: translateY(-1px); }
.kb-product-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #eee9e3; }
.kb-product-image-link { display: block; width: 100%; height: 100%; }
.kb-product-image-link img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.kb-product-card:hover .kb-product-image-link img { transform: scale(1.018); }
.kb-product-badge { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 5px 8px; background: #eaf1ea; color: #345337; font-size: 9px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.kb-product-badge-sale { background: #fff1f0; color: #9f3a3a; }
.kb-wishlist-btn { position: absolute; top: 9px; right: 9px; z-index: 2; width: 31px; height: 31px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: #3a3a3a; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 12px rgba(0,0,0,.07); }
.kb-wishlist-btn svg { width: 16px; height: 16px; }
.kb-wishlist-btn.active { color: var(--kb-primary); }
.kb-wishlist-btn.active svg path { fill: currentColor; }
.kb-product-card-body { padding: 12px 12px 13px; }
.kb-product-name { display: block; min-height: 38px; color: #2a2928; font-size: 12px; font-weight: 500; line-height: 1.55; }
.kb-product-summary { margin: 4px 0 0; min-height: 30px; color: #8a8580; font-size: 10px; line-height: 1.5; }
.kb-product-price-row { display: flex; align-items: center; gap: 8px; margin-top: 7px; min-height: 26px; }
.kb-product-price { font-size: 14px; font-weight: 500; }
.kb-product-price-row del { color: #9a9590; font-size: 10px; }
.kb-card-cart-form { margin: 0; }
.kb-card-cart-btn { width: 100%; min-height: 35px; margin-top: 10px; border: 1px solid #bdb7b0; background: #fff; color: #282828; font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; transition: .2s ease; }
.kb-card-cart-btn:hover:not(:disabled) { background: var(--kb-primary); color: #fff; border-color: var(--kb-primary); }
.kb-card-cart-btn:disabled { opacity: .5; }
.kb-product-card-compact { border: 0; background: transparent; }
.kb-product-card-compact:hover { box-shadow: none; transform: none; }
.kb-product-card-compact .kb-product-card-body { padding-left: 0; padding-right: 0; }
.kb-product-card-compact .kb-product-name { min-height: 0; }
.kb-product-card-compact .kb-product-summary { display: none; }
.kb-product-card-compact .kb-product-media { aspect-ratio: 3.6 / 4.4; }
.kb-product-card-compact .kb-wishlist-btn { display: none; }

/* Service strip */
.kb-service-strip { padding: 28px 0; border-top: 1px solid var(--kb-line); border-bottom: 1px solid var(--kb-line); background: #fff; }
.kb-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kb-service-item { display: flex; align-items: center; justify-content: center; gap: 13px; padding: 8px 22px; border-right: 1px solid var(--kb-line); }
.kb-service-item:last-child { border-right: 0; }
.kb-service-item svg { width: 28px; height: 28px; color: var(--kb-primary); flex: 0 0 auto; }
.kb-service-item strong { display: block; margin-bottom: 3px; font-size: 12px; font-weight: 600; }
.kb-service-item span { display: block; color: var(--kb-muted); font-size: 10px; }

/* Reviews / newsletter */
.kb-review-section { background: #faf8f4; }
.kb-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kb-review-card { min-height: 210px; padding: 24px; background: #fff; border: 1px solid var(--kb-line); }
.kb-review-stars { margin-bottom: 15px; color: #a77c38; font-size: 13px; letter-spacing: 3px; }
.kb-review-card > p { min-height: 74px; margin: 0 0 18px; color: #57524e; font-size: 12px; line-height: 1.75; }
.kb-review-author strong { display: block; font-size: 11px; }
.kb-review-author span { display: block; margin-top: 3px; color: var(--kb-muted); font-size: 9px; }
.kb-newsletter-banner-section { padding: 26px 0 52px; }
.kb-newsletter-banner { padding: 34px 42px; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 35px; background: linear-gradient(90deg, #fbefef, #f4e7e4); }
.kb-newsletter-banner h2 { margin: 0 0 7px; font-size: 23px; font-weight: 500; }
.kb-newsletter-banner p { margin: 0; color: var(--kb-muted); font-size: 11px; }
.kb-inline-newsletter { display: flex; width: 100%; }
.kb-inline-newsletter input { flex: 1 1 auto; min-width: 0; height: 42px; border: 1px solid #d8cdc7; border-right: 0; background: #fff; padding: 0 13px; outline: 0; font-size: 11px; }
.kb-inline-newsletter button { width: 115px; border: 0; background: var(--kb-primary); color: #fff; font-size: 10px; font-weight: 600; text-transform: uppercase; }

/* Footer */
.kb-footer { position: relative; overflow: hidden; background: linear-gradient(110deg, var(--kb-footer-deep), var(--kb-footer) 45%, #a52a73); color: rgba(255,255,255,.9); }
.kb-footer::before,
.kb-footer::after { content: ''; position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; pointer-events: none; }
.kb-footer::before { width: 420px; height: 420px; right: -160px; bottom: -220px; }
.kb-footer::after { width: 300px; height: 300px; left: -160px; top: -180px; }
.kb-footer-container { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 22px; }
.kb-footer-brand { display: inline-flex; align-items: center; min-height: 40px; margin-bottom: 15px; color: #fff; font-size: 18px; font-weight: 700; }
.kb-footer-brand img { max-width: 155px; max-height: 42px; object-fit: contain; }
.kb-footer-brand span { display: none; }
.kb-footer-summary { max-width: 285px; margin: 0 0 18px; color: rgba(255,255,255,.76); font-size: 10px; line-height: 1.75; }
.kb-footer-contact-list,
.kb-footer-links { list-style: none; margin: 0; padding: 0; }
.kb-footer-contact-list { display: grid; gap: 10px; }
.kb-footer-contact-list li { display: flex; align-items: flex-start; gap: 8px; color: rgba(255,255,255,.82); font-size: 9px; line-height: 1.5; }
.kb-footer-contact-list svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 1px; }
.kb-footer-heading { margin: 5px 0 18px; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.kb-footer-links { display: grid; gap: 10px; }
.kb-footer-links a { color: rgba(255,255,255,.75); font-size: 9px; transition: .2s ease; }
.kb-footer-links a:hover { color: #fff; padding-left: 2px; }
.kb-footer-newsletter-copy { margin: 0 0 12px; max-width: 235px; color: rgba(255,255,255,.78); font-size: 9px; line-height: 1.6; }
.kb-footer-newsletter { display: grid; grid-template-columns: 1fr; gap: 7px; max-width: 235px; }
.kb-footer-newsletter input { height: 35px; border: 0; background: #fff; color: #222; padding: 0 10px; font-size: 9px; outline: 0; }
.kb-footer-newsletter button { height: 33px; border: 0; background: rgba(63,17,36,.75); color: #fff; font-size: 9px; text-transform: uppercase; font-weight: 600; }
.kb-footer-socials { display: flex; gap: 8px; margin-top: 13px; }
.kb-footer-socials a { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: #fff; font-size: 9px; }
.kb-footer-bottom { margin-top: 36px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; gap: 16px; color: rgba(255,255,255,.62); font-size: 8px; }
.kb-footer-bottom-links { display: flex; gap: 18px; }

/* Listing */
.kb-listing-hero { padding: 42px 0 10px; }
.kb-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 17px; color: #918b85; font-size: 9px; }
.kb-breadcrumb a:hover { color: var(--kb-primary); }
.kb-listing-title-wrap h1 { margin: 0 0 4px; font-size: clamp(31px, 3vw, 46px); font-weight: 600; letter-spacing: -.035em; }
.kb-listing-title-wrap p { max-width: 580px; margin: 0; color: #77716b; font-size: 11px; line-height: 1.65; }
.kb-listing-section { padding: 22px 0 55px; }
.kb-collection-toolbar,
.kb-listing-toolbar { min-height: 54px; margin-bottom: 18px; border-top: 1px solid var(--kb-line); border-bottom: 1px solid var(--kb-line); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.kb-collection-filter-buttons { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.kb-filter-label { margin-right: 6px; color: #908a85; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.kb-collection-filter-buttons button { min-width: 77px; height: 32px; padding: 0 11px; border: 1px solid transparent; background: transparent; color: #3a3836; font-size: 10px; text-align: left; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; }
.kb-collection-filter-buttons button:hover { border-color: var(--kb-line-dark); }
.kb-collection-sort { display: flex; align-items: center; gap: 20px; color: #88827d; font-size: 9px; }
.kb-collection-sort label,
.kb-sort-select-wrap { display: flex; align-items: center; gap: 7px; color: #77716c; font-size: 9px; }
.kb-sort-select { border: 0; outline: 0; background: transparent; color: #333; font-size: 10px; min-width: 105px; }
.kb-collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px 16px; }
.kb-new-arrivals-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 16px; }
.kb-toolbar-new-arrivals { margin-top: 0; border-top: 0; }
.kb-result-count { color: #77716b; font-size: 10px; }
.kb-filter-mobile-btn { border: 1px solid var(--kb-line-dark); background: #fff; min-height: 34px; padding: 6px 11px; font-size: 10px; display: inline-flex; align-items: center; gap: 7px; }
.kb-filter-mobile-btn svg { width: 15px; height: 15px; }
.kb-empty-state { padding: 45px 20px; text-align: center; color: var(--kb-muted); font-size: 12px; }
.kb-empty-state-wide { grid-column: 1 / -1; min-height: 280px; border: 1px solid var(--kb-line); background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.kb-empty-state h2 { margin: 0 0 7px; color: var(--kb-text); font-size: 20px; }
.kb-empty-state p { margin: 0 0 18px; }
.kb-pagination-wrap { margin-top: 35px; display: flex; justify-content: center; }
.kb-pagination-wrap .pagination { gap: 5px; }
.kb-pagination-wrap .page-link { min-width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--kb-line); border-radius: 2px !important; background: #fff; color: #494541; font-size: 10px; box-shadow: none !important; }
.kb-pagination-wrap .page-item.active .page-link { background: var(--kb-primary); border-color: var(--kb-primary); color: #fff; }

/* Existing filter engine restyle */
.kb-theme .filter-sidebar { background: #fff; border: 1px solid var(--kb-line); padding: 17px 16px; }
.kb-theme .filter-sidebar .fsh-border-bottom { border-color: var(--kb-line) !important; }
.kb-theme .filter-sidebar .al-title-18px { font-family: var(--kb-font) !important; font-size: 12px !important; font-weight: 600 !important; }
.kb-theme .filter-sidebar .category-nav-link,
.kb-theme .filter-sidebar .form-checkbox-label,
.kb-theme .filter-sidebar .al-subtitle-14px { font-family: var(--kb-font) !important; font-size: 10px !important; color: #625d58 !important; }
.kb-theme .filter-sidebar .category-nav-link { display: flex; justify-content: space-between; gap: 10px; }
.kb-theme .filter-sidebar .category-nav-link.active { color: var(--kb-primary) !important; font-weight: 600; }
.kb-theme .filter-sidebar .form-checkbox-input:checked { background-color: var(--kb-primary) !important; border-color: var(--kb-primary) !important; }
.kb-theme #slider-range .ui-widget-header,
.kb-theme #slider-range .ui-slider-handle { background: var(--kb-primary) !important; }
.kb-theme .filter-offcanvas.offcanvas { max-width: 340px; }
.kb-theme .filter-offcanvas.offcanvas .offcanvas-body { padding: 14px; }
.kb-theme .filter-offcanvas.offcanvas .filter-sidebar { border: 0; padding: 0; }

/* Product detail */
.kb-product-page { padding: 30px 0 46px; }
.kb-product-breadcrumb { margin-bottom: 20px; }
.kb-product-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(310px, .95fr) minmax(230px, .55fr); gap: 26px; align-items: start; }
.kb-product-gallery { min-width: 0; }
.kb-product-main-image-wrap { aspect-ratio: 1.25 / 1; background: #eee9e3; overflow: hidden; }
.kb-product-main-image { width: 100%; height: 100%; object-fit: contain; display: block; cursor: zoom-in; }
.kb-product-thumbnails { margin-top: 10px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.kb-gallery-thumb { aspect-ratio: 1.25 / 1; padding: 0; border: 1px solid var(--kb-line); background: #fff; overflow: hidden; opacity: .72; }
.kb-gallery-thumb.active { border-color: var(--kb-primary); opacity: 1; box-shadow: inset 0 0 0 1px var(--kb-primary); }
.kb-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.kb-product-info-main h1 { margin: 0 0 10px; font-size: clamp(25px, 2.25vw, 38px); line-height: 1.16; font-weight: 500; letter-spacing: -.03em; }
.kb-product-rating-row { display: flex; align-items: center; gap: 7px; margin-bottom: 24px; color: #827d78; font-size: 9px; }
.kb-rating-stars { display: flex; gap: 1px; }
.kb-rating-stars span { color: #d6d2cd; font-size: 12px; }
.kb-rating-stars span.filled { color: #b1786a; }
.kb-rating-divider { width: 1px; height: 12px; background: var(--kb-line-dark); }
.kb-product-rating-row a { text-decoration: underline; text-underline-offset: 2px; }
.kb-product-price-block { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.kb-product-detail-price { font-size: 25px; font-weight: 500; }
.kb-product-price-block del { color: #aaa39d; font-size: 11px; }
.kb-detail-discount { color: var(--kb-primary); font-size: 9px; font-weight: 600; text-transform: uppercase; }
.kb-tax-note { margin: 3px 0 16px; color: #8b8580; font-size: 9px; }
.kb-product-lead { margin: 0 0 22px; color: #615c57; font-size: 11px; line-height: 1.7; }
.kb-option-group { padding: 17px 0; border-top: 1px solid var(--kb-line); }
.kb-option-heading { display: flex; align-items: baseline; gap: 8px; margin-bottom: 11px; font-size: 11px; font-weight: 600; }
.kb-option-heading small { color: #88827d; font-size: 9px; font-weight: 400; }
.kb-size-options { display: flex; flex-wrap: wrap; gap: 7px; }
.kb-size-option { position: relative; margin: 0; }
.kb-size-option input { position: absolute; opacity: 0; pointer-events: none; }
.kb-size-option span { min-width: 39px; height: 32px; padding: 0 9px; border: 1px solid var(--kb-line-dark); background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; cursor: pointer; }
.kb-size-option input:checked + span { border-color: var(--kb-primary); color: var(--kb-primary); box-shadow: inset 0 0 0 1px var(--kb-primary); }
.kb-size-option.disabled span { opacity: .36; text-decoration: line-through; cursor: not-allowed; }
.kb-color-options { display: flex; flex-wrap: wrap; gap: 9px; }
.kb-color-option { display: flex; flex-direction: column; gap: 5px; align-items: center; position: relative; margin: 0; color: #6f6964; font-size: 8px; font-style: normal; }
.kb-color-option input { position: absolute; opacity: 0; pointer-events: none; }
.kb-color-option > span { width: 42px; height: 51px; display: block; border: 1px solid var(--kb-line-dark); background: var(--kb-swatch); box-shadow: inset 0 0 0 3px #fff; cursor: pointer; }
.kb-color-option input:checked + span { border-color: var(--kb-primary); box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--kb-primary); }
.kb-color-option em { font-style: normal; max-width: 60px; text-align: center; }
.kb-color-option.disabled { opacity: .4; }
.kb-product-copy-block { margin-top: 26px; }
.kb-product-copy-block h2 { margin: 0 0 10px; font-size: 13px; font-weight: 600; }
.kb-product-description { color: #59544f; font-size: 10px; line-height: 1.75; }
.kb-product-description p { margin: 0 0 9px; }
.kb-product-description ul { padding-left: 18px; }
.kb-product-details-table { margin: 0; }
.kb-product-details-table > div { display: grid; grid-template-columns: 125px 1fr; gap: 14px; padding: 7px 0; border-bottom: 1px solid #efeae5; }
.kb-product-details-table dt { color: #77716d; font-size: 9px; font-weight: 500; }
.kb-product-details-table dd { margin: 0; color: #433f3c; font-size: 9px; }
.kb-product-buy-column { position: sticky; top: 93px; }
.kb-buy-card { padding: 18px; border: 1px solid var(--kb-line); background: #fff; box-shadow: 0 10px 30px rgba(50, 40, 30, .05); }
.kb-buy-card-price { margin-bottom: 5px; font-size: 16px; font-weight: 600; }
.kb-stock-line { margin-bottom: 14px; font-size: 10px; font-weight: 500; }
.kb-stock-line.in-stock { color: var(--kb-success); }
.kb-stock-line.out-stock { color: var(--kb-danger); }
.kb-quantity-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; color: #5d5853; font-size: 10px; }
.kb-quantity-control { height: 32px; display: grid; grid-template-columns: 30px 34px 30px; border: 1px solid var(--kb-line-dark); background: #fff; }
.kb-quantity-control button { border: 0; background: transparent; font-size: 15px; color: #555; }
.kb-quantity-control input { width: 100%; border: 0; outline: 0; text-align: center; font-size: 10px; background: transparent; appearance: textfield; }
.kb-quantity-control input::-webkit-inner-spin-button { appearance: none; }
.kb-buy-card .kb-btn { min-height: 39px; margin-top: 7px; font-size: 9px; }
.kb-buy-card .kb-btn svg { width: 14px; height: 14px; }
.kb-buy-now-btn { background: #823349; }
.kb-buy-card-meta { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--kb-line); display: grid; gap: 8px; }
.kb-buy-card-meta > div { display: flex; justify-content: space-between; gap: 12px; color: #77716c; font-size: 8px; }
.kb-buy-card-meta strong { color: #484440; font-weight: 500; text-align: right; }
.kb-mobile-buy-panel { padding: 16px 0 4px; border-top: 1px solid var(--kb-line); }
.kb-related-section { padding-top: 48px; border-top: 1px solid var(--kb-line); }
.kb-related-grid { gap: 14px; }
.kb-product-reviews-section { padding: 48px 0 58px; border-top: 1px solid var(--kb-line); background: #faf8f5; }
.kb-product-reviews-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.kb-product-reviews-header h2 { margin: 0; font-size: 27px; font-weight: 500; }
.kb-review-score { display: flex; align-items: baseline; gap: 5px; }
.kb-review-score strong { font-size: 25px; font-weight: 500; }
.kb-review-score span { color: #8d8781; font-size: 9px; }
.kb-ajax-review-area,
.kb-write-review-area { padding: 18px; background: #fff; border: 1px solid var(--kb-line); }
.kb-write-review-area { margin-top: 14px; }

/* Contact */
.kb-contact-page { padding: 72px 0 78px; }
.kb-contact-heading { max-width: 700px; margin: 0 auto 38px; }
.kb-contact-heading h1 { margin: 0 0 9px; font-size: clamp(34px, 4vw, 54px); line-height: 1.1; font-weight: 600; letter-spacing: -.04em; }
.kb-contact-heading p { margin: 0 auto; max-width: 610px; color: #6f6964; font-size: 11px; line-height: 1.7; }
.kb-contact-layout { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: stretch; }
.kb-contact-info-card,
.kb-contact-form-card { border: 1px solid var(--kb-line); background: #fff; }
.kb-contact-info-card { padding: 23px; background: #f5f5f0; }
.kb-contact-info-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.kb-contact-icon { width: 29px; height: 29px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: #53655c; flex: 0 0 auto; }
.kb-contact-icon svg { width: 15px; height: 15px; }
.kb-contact-info-item strong { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 600; }
.kb-contact-info-item a,
.kb-contact-info-item span { display: block; color: #6e6964; font-size: 9px; line-height: 1.55; word-break: break-word; }
.kb-contact-divider { height: 1px; background: var(--kb-line-dark); margin: 7px 0 20px; }
.kb-contact-form-card { padding: 28px; }
.kb-contact-form-card label { display: block; margin-bottom: 7px; color: #373431; font-size: 9px; font-weight: 500; }
.kb-contact-form-card input,
.kb-contact-form-card textarea { width: 100%; border: 1px solid #dedbd5; background: #f9f9f6; padding: 11px 12px; outline: 0; color: #333; font-size: 10px; transition: .2s ease; }
.kb-contact-form-card input { height: 43px; }
.kb-contact-form-card textarea { min-height: 138px; resize: vertical; }
.kb-contact-form-card input:focus,
.kb-contact-form-card textarea:focus { border-color: var(--kb-primary); background: #fff; box-shadow: 0 0 0 2px rgba(122,45,67,.07); }
.kb-contact-submit { min-width: 145px; }

/* About */
.kb-about-page { padding: 26px 0 72px; }
.kb-about-breadcrumb { margin-bottom: 30px; }
.kb-about-layout { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: clamp(35px, 6vw, 82px); align-items: center; }
.kb-about-image-wrap { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: #e8e2db; }
.kb-about-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.kb-about-content h1 { margin: 0 0 20px; max-width: 590px; font-size: clamp(34px, 4vw, 60px); line-height: .99; font-weight: 600; letter-spacing: -.045em; }
.kb-about-content > p { margin: 0 0 14px; color: #5f5a55; font-size: 11px; line-height: 1.75; }
.kb-about-content blockquote { margin: 24px 0; padding: 12px 0 12px 17px; border-left: 2px solid #6f6d66; color: #3e3b38; font-size: 13px; font-style: italic; line-height: 1.55; }
.kb-about-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 22px; }
.kb-about-feature { display: flex; align-items: flex-start; gap: 11px; }
.kb-about-feature-icon { width: 28px; height: 28px; border-radius: 50%; background: #edf2eb; color: #4f6e52; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; font-size: 12px; }
.kb-about-feature strong { display: block; margin-bottom: 3px; font-size: 10px; font-weight: 600; }
.kb-about-feature p { margin: 0; color: #77716b; font-size: 8px; line-height: 1.55; }
.kb-about-shop-btn { margin-top: 24px; min-width: 105px; }

/* Modals / AJAX fragments compatibility */
.kb-theme #quickViewModal .modal-content,
.kb-theme #formModal .modal-content,
.kb-theme #ajaxModal .modal-content { border-radius: 4px; border: 0; box-shadow: var(--kb-shadow); }
.kb-theme #quickViewModal .modal-header,
.kb-theme #formModal .modal-header { position: absolute; right: 0; top: 0; z-index: 5; background: transparent; border: 0; }
.kb-theme #quickViewModal .btn-close,
.kb-theme #formModal .btn-close { filter: none !important; background-color: #fff; opacity: 1; border-radius: 50%; padding: 7px; box-shadow: 0 2px 10px rgba(0,0,0,.1); }
.kb-theme #offcanvasCart { width: min(430px, 94vw); background: #fff; }

/* Mobile bottom navigation */
.kb-mobile-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; height: 58px; padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--kb-line); display: grid; grid-template-columns: repeat(4, 1fr); }
.kb-mobile-bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #756f69; font-size: 8px; }
.kb-mobile-bottom-nav a i { font-size: 16px; line-height: 1; }
.kb-mobile-bottom-nav a.active { color: var(--kb-primary); }

@media (max-width: 1199.98px) {
    .kb-header-shell { padding-left: 22px; padding-right: 22px; gap: 16px; }
    .kb-header-left, .kb-header-links { gap: 15px; }
    .kb-nav-link { font-size: 10px; }
    .kb-brand { width: 160px; }
    .kb-product-layout { grid-template-columns: minmax(0, 1.2fr) minmax(290px, .85fr) 220px; gap: 20px; }
}

@media (max-width: 991.98px) {
    body.kb-theme { padding-bottom: 58px; }
    .kb-header-shell { min-height: 62px; grid-template-columns: 1fr auto 1fr; padding: 0 18px; }
    .kb-brand { width: 165px; min-height: 46px; }
    .kb-brand img { max-width: 150px; max-height: 38px; }
    .kb-header-right { gap: 0; }
    .kb-header-icons { gap: 3px; }
    .kb-icon-btn { min-width: 30px; min-height: 30px; padding: 5px; }
    .kb-icon-btn svg { width: 18px; height: 18px; }
    .kb-cart-count { left: 20px; top: -2px; }

    .kb-home-product-grid,
    .kb-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kb-category-grid { grid-template-columns: repeat(2, 1fr); }
    .kb-category-tile { height: 220px; }
    .kb-review-grid { grid-template-columns: 1fr; }
    .kb-review-card { min-height: 0; }
    .kb-service-grid { grid-template-columns: 1fr; }
    .kb-service-item { border-right: 0; border-bottom: 1px solid var(--kb-line); justify-content: flex-start; padding: 15px 10px; }
    .kb-service-item:last-child { border-bottom: 0; }
    .kb-newsletter-banner { grid-template-columns: 1fr; }

    .kb-collection-grid,
    .kb-new-arrivals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kb-collections-listing .filter-offcanvas.offcanvas { visibility: hidden; }
    .kb-collections-listing .filter-offcanvas.offcanvas.show { visibility: visible; }
    .kb-new-arrivals-listing .filter-offcanvas { width: min(340px, 90vw); }

    .kb-product-layout { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); }
    .kb-product-gallery-column { min-width: 0; }
    .kb-mobile-buy-panel .kb-btn { min-height: 41px; margin-top: 8px; }

    .kb-contact-layout { grid-template-columns: 240px 1fr; }
    .kb-about-layout { grid-template-columns: 1fr; gap: 36px; }
    .kb-about-image-wrap { width: min(620px, 100%); margin: 0 auto; aspect-ratio: 5 / 4; }
}

@media (max-width: 767.98px) {
    body.kb-theme .container-fluid.kb-home-width,
    body.kb-theme .container-fluid.kb-page-width { padding-left: 14px; padding-right: 14px; }

    .kb-header-shell { padding-left: 14px; padding-right: 14px; }
    .kb-brand { width: 145px; }
    .kb-brand img { max-width: 135px; }
    .kb-cart-word { display: none !important; }

    .kb-home-hero { padding-top: 10px; }
    .kb-hero-card { height: 420px; }
    .kb-hero-shade { background: linear-gradient(0deg, rgba(22,16,14,.58) 0%, rgba(22,16,14,.1) 60%); }
    .kb-hero-content { left: 21px; right: 21px; bottom: 24px; top: auto; transform: none; width: auto; }
    .kb-hero-content h1 { font-size: 38px; }
    .kb-hero-content p { font-size: 11px; max-width: 360px; }

    .kb-section { padding: 38px 0; }
    .kb-shop-category-section { padding-top: 25px; }
    .kb-category-grid { gap: 7px; }
    .kb-category-tile { height: 180px; }
    .kb-category-title { font-size: 11px; bottom: 14px; }

    .kb-home-promo-section { padding-top: 0; padding-bottom: 18px; }
    .kb-home-promo { min-height: 300px; align-items: flex-end; background: linear-gradient(0deg, rgba(255,245,239,.98) 0%, rgba(255,245,239,.86) 48%, rgba(255,245,239,.05) 80%), var(--kb-promo-image) center / cover no-repeat; }
    .kb-home-promo-copy { width: 100%; padding: 85px 22px 25px; }
    .kb-home-promo-copy h2 { font-size: 31px; }

    .kb-section-heading-row { align-items: center; }
    .kb-section-heading-row h2 { font-size: 24px; }
    .kb-view-all { font-size: 10px; }
    .kb-home-product-grid,
    .kb-related-grid { gap: 10px; }
    .kb-product-card-body { padding: 9px; }
    .kb-product-name { min-height: 34px; font-size: 10px; }
    .kb-product-summary { display: none; }
    .kb-product-price { font-size: 12px; }
    .kb-card-cart-btn { min-height: 33px; font-size: 9px; }
    .kb-wishlist-btn { width: 28px; height: 28px; }

    .kb-newsletter-banner { padding: 25px 18px; gap: 18px; }
    .kb-inline-newsletter { flex-direction: column; gap: 7px; }
    .kb-inline-newsletter input { border-right: 1px solid #d8cdc7; }
    .kb-inline-newsletter button { width: 100%; height: 40px; }

    .kb-footer-container { padding-top: 36px; }
    .kb-footer-bottom { flex-direction: column; }

    .kb-listing-hero { padding-top: 28px; }
    .kb-listing-title-wrap h1 { font-size: 34px; }
    .kb-collection-toolbar { align-items: flex-start; flex-direction: column; padding: 10px 0; }
    .kb-collection-filter-buttons { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; }
    .kb-collection-filter-buttons::-webkit-scrollbar { display: none; }
    .kb-collection-sort { width: 100%; justify-content: space-between; }
    .kb-collection-grid,
    .kb-new-arrivals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 8px; }
    .kb-listing-toolbar { min-height: 45px; }

    .kb-product-page { padding-top: 20px; }
    .kb-product-layout { grid-template-columns: 1fr; }
    .kb-product-main-image-wrap { aspect-ratio: 1 / 1; }
    .kb-product-thumbnails { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
    .kb-product-info-main h1 { font-size: 27px; margin-top: 5px; }
    .kb-product-detail-price { font-size: 22px; }
    .kb-product-details-table > div { grid-template-columns: 110px 1fr; }
    .kb-related-section { padding-top: 34px; }
    .kb-product-reviews-section { padding: 36px 0; }

    .kb-contact-page { padding: 46px 0 55px; }
    .kb-contact-heading { margin-bottom: 28px; }
    .kb-contact-heading h1 { font-size: 37px; }
    .kb-contact-layout { grid-template-columns: 1fr; gap: 14px; }
    .kb-contact-info-card { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .kb-contact-info-item { margin-bottom: 0; }
    .kb-contact-divider { display: none; }
    .kb-contact-form-card { padding: 20px 16px; }
    .kb-contact-submit { width: 100%; }

    .kb-about-page { padding-top: 20px; padding-bottom: 50px; }
    .kb-about-breadcrumb { margin-bottom: 18px; }
    .kb-about-image-wrap { aspect-ratio: 4 / 4.6; }
    .kb-about-content h1 { font-size: 38px; }
    .kb-about-feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 479.98px) {
    .kb-brand { width: 120px; }
    .kb-brand img { max-width: 112px; }
    .kb-icon-btn { min-width: 28px; }
    .kb-category-tile { height: 148px; }
    .kb-hero-card { height: 365px; }
    .kb-hero-content h1 { font-size: 32px; }
    .kb-home-product-grid,
    .kb-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kb-review-card { padding: 18px; }
    .kb-listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kb-product-badge { top: 6px; left: 6px; font-size: 7px; padding: 4px 6px; }
    .kb-wishlist-btn { top: 5px; right: 5px; }
    .kb-product-card-body { padding: 8px 7px 9px; }
    .kb-product-name { font-size: 9px; line-height: 1.45; }
    .kb-product-price { font-size: 11px; }
    .kb-card-cart-btn { font-size: 8px; }
    .kb-contact-info-card { grid-template-columns: 1fr; }
}

/* Track order / My Orders - styled from reference page 5 while using existing customer.order route */
.kb-track-page {
    padding: 62px 0 78px;
    background: #fbf9f6;
}
.kb-track-shell {
    display: flex;
    justify-content: center;
}
.kb-track-card {
    width: min(100%, 650px);
    background: #fff;
    border: 1px solid #eee8e3;
    border-radius: 4px;
    padding: 42px 44px 38px;
    box-shadow: 0 8px 28px rgba(52, 37, 31, .05);
}
.kb-track-heading {
    text-align: center;
    margin-bottom: 30px;
}
.kb-track-heading h1 {
    margin: 4px 0 10px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    font-weight: 600;
    color: var(--kb-text);
    letter-spacing: -.035em;
}
.kb-track-heading p {
    margin: 0 auto;
    max-width: 470px;
    font-size: 13px;
    line-height: 1.75;
    color: var(--kb-muted);
}
.kb-track-form {
    display: grid;
    gap: 22px;
}
.kb-track-form .kb-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.kb-track-form label {
    font-size: 10px;
    letter-spacing: .08em;
    font-weight: 600;
    color: var(--kb-text);
}
.kb-track-form input {
    width: 100%;
    height: 48px;
    border: 0;
    border-bottom: 1px solid #d8d1cb;
    border-radius: 0;
    padding: 0 10px;
    background: transparent;
    color: var(--kb-text);
    outline: none;
    font-size: 13px;
}
.kb-track-form input:focus { border-color: var(--kb-primary); }
.kb-track-form small {
    padding: 0 10px;
    color: #9b918a;
    font-size: 10px;
}
.kb-track-submit {
    min-height: 53px;
    font-size: 15px;
    margin-top: 1px;
}
.kb-track-submit span { margin-left: 6px; }
.kb-track-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px 0 17px;
    color: #9e948e;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.kb-track-divider::before,
.kb-track-divider::after {
    content: '';
    height: 1px;
    flex: 1;
    background: #eee8e3;
}
.kb-order-list { display: grid; gap: 8px; }
.kb-order-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 13px 15px;
    border: 1px solid #eee8e3;
    color: var(--kb-text);
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.kb-order-row:hover {
    color: var(--kb-text);
    border-color: #d8c6c0;
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(52, 37, 31, .045);
}
.kb-order-row > div { min-width: 0; }
.kb-order-label {
    display: block;
    margin-bottom: 4px;
    font-size: 8px;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #9f958e;
}
.kb-order-row strong {
    display: block;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.kb-order-status {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--kb-order-status, #777) 11%, white);
    color: var(--kb-order-status, #777);
    font-size: 9px;
    font-weight: 600;
    white-space: nowrap;
}
.kb-order-arrow { color: var(--kb-primary); font-size: 17px; }
.kb-orders-pagination { margin-top: 22px; }
.kb-order-empty { padding: 14px 0 2px; }

@media (max-width: 767.98px) {
    .kb-track-page { padding: 34px 0 50px; }
    .kb-track-card { padding: 30px 18px 26px; }
    .kb-track-heading { margin-bottom: 22px; }
    .kb-track-heading h1 { font-size: 34px; }
    .kb-order-row {
        grid-template-columns: 1fr 1fr auto;
        gap: 10px;
    }
    .kb-order-row > div:nth-child(3) { grid-column: 1 / span 2; }
    .kb-order-arrow { grid-row: 1 / span 2; grid-column: 3; }
}

/* =========================================================
   Reference fidelity update v1.1
   About Us + Track Order templates
   ========================================================= */

/* Template text logo used on the About and Track Order references */
.kb-brand-template-text {
    width: auto;
    min-width: 150px;
    min-height: 0;
    overflow: visible;
    color: #172238 !important;
    font-size: 21px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -.045em;
    white-space: nowrap;
}

/* About reference header: Home / Categories / Sale / Retail Outlets | brand | icons */
.kb-header-about .kb-header-shell {
    min-height: 58px;
    padding-left: 28px;
    padding-right: 28px;
}
.kb-header-about .kb-header-left { gap: 25px; }
.kb-header-about .kb-nav-link {
    padding-top: 20px;
    padding-bottom: 19px;
    font-size: 10px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}
.kb-header-about .kb-nav-link::after { bottom: 12px; }
.kb-header-about .kb-header-icons { gap: 8px; }
.kb-header-about .kb-icon-btn svg { width: 17px; height: 17px; }

/* Compact Track Order header from the reference */
.kb-header-compact {
    position: relative;
    top: auto;
    background: #fdfcf9;
    backdrop-filter: none;
}
.kb-header-shell-compact {
    min-height: 55px;
    grid-template-columns: 1fr auto 1fr;
    padding: 0 42px;
    gap: 10px;
}
.kb-header-compact .kb-brand-template-text {
    justify-self: center;
    font-size: 20px;
}
.kb-compact-menu-btn {
    display: inline-flex !important;
    width: 32px;
    height: 32px;
    justify-self: start;
}
.kb-compact-menu-btn svg { width: 17px; height: 17px; }
.kb-header-right-compact {
    width: 100%;
    justify-content: flex-end;
}
.kb-cart-btn-compact {
    min-width: 62px;
    padding-right: 0;
    gap: 5px;
}
.kb-cart-btn-compact svg { width: 17px; height: 17px; }
.kb-cart-btn-compact .kb-cart-word {
    display: inline !important;
    color: #162238;
    font-size: 13px;
    font-weight: 500;
}
.kb-cart-btn-compact .kb-cart-count {
    top: -2px;
    left: 17px;
    transform: scale(.82);
}

/* About Us — reference page 7 */
.kb-about-page {
    padding: 14px 0 55px;
    background: #fdfdfb;
}
.kb-about-breadcrumb {
    max-width: 1240px;
    margin: 0 auto 34px;
    color: #7d7d79;
    font-size: 10px;
}
.kb-about-breadcrumb a { color: #5d5c58; }
.kb-about-breadcrumb span { margin: 0 5px; }
.kb-about-layout {
    max-width: 1240px;
    grid-template-columns: minmax(0, .98fr) minmax(0, 1.07fr);
    gap: clamp(42px, 6vw, 84px);
    align-items: center;
}
.kb-about-image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1.075;
    border-radius: 11px;
    background: #e8e5dd;
    box-shadow: 0 1px 5px rgba(24, 30, 24, .08);
}
.kb-about-image-wrap img {
    object-position: center center;
}
.kb-about-kicker {
    display: block;
    margin-bottom: 11px;
    color: #54705f;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: .04em;
}
.kb-about-content h1 {
    max-width: 560px;
    margin: 0 0 18px;
    color: #101820;
    font-size: clamp(38px, 3.8vw, 58px);
    line-height: .98;
    font-weight: 600;
    letter-spacing: -.045em;
}
.kb-about-content > p {
    max-width: 635px;
    margin-bottom: 13px;
    color: #535a58;
    font-size: 10px;
    line-height: 1.65;
}
.kb-about-content blockquote {
    max-width: 610px;
    margin: 21px 0 19px;
    padding: 10px 16px;
    border-left: 2px solid #819087;
    background: #f7faf7;
    color: #333a37;
    font-size: 12px;
    line-height: 1.55;
    font-style: italic;
}
.kb-about-feature-grid {
    max-width: 610px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 16px;
}
.kb-about-feature {
    gap: 10px;
}
.kb-about-feature-icon {
    width: 27px;
    height: 27px;
    background: #edf4ed;
    color: #55755d;
}
.kb-about-feature-icon svg { width: 15px; height: 15px; }
.kb-about-feature strong {
    margin: 1px 0 3px;
    color: #222a27;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 600;
}
.kb-about-feature p {
    color: #69706d;
    font-size: 8px;
    line-height: 1.5;
}
.kb-about-shop-btn {
    min-width: 106px;
    min-height: 38px;
    margin-top: 22px;
    padding: 10px 19px;
    border: 0;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #6e2b3c;
    color: #fff !important;
    font-size: 9px;
    line-height: 1;
    font-weight: 500;
    transition: .2s ease;
}
.kb-about-shop-btn:hover { background: #572030; }

/* Track Order — reference page 5 */
.kb-track-page {
    padding: 18px 0 34px;
    background: #fbfaf8;
}
.kb-track-shell {
    min-height: 340px;
    align-items: flex-start;
}
.kb-track-card {
    width: min(100%, 372px);
    padding: 20px 18px 18px;
    border: 1px solid #ece9e5;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 5px 14px rgba(38, 37, 34, .07);
}
.kb-track-heading {
    margin-bottom: 17px;
}
.kb-track-heading h1 {
    margin: 0 0 5px;
    color: #17243d;
    font-size: 29px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -.035em;
}
.kb-track-heading p {
    max-width: 330px;
    color: #595c61;
    font-size: 10px;
    line-height: 1.55;
}
.kb-track-form {
    gap: 11px;
}
.kb-track-field {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.kb-track-field label {
    margin-bottom: 2px;
    color: #333b48;
    font-size: 7px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: .12em;
}
.kb-track-field input {
    width: 100%;
    height: 39px;
    padding: 2px 9px 0;
    border: 0;
    border-bottom: 1px solid #d6d7d7;
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: #20252d;
    font-size: 9px;
    box-shadow: none;
}
.kb-track-field input::placeholder { color: #989a9c; opacity: 1; }
.kb-track-field input:focus { border-bottom-color: #6f2d40; }
.kb-track-submit {
    width: 100%;
    min-height: 37px;
    margin-top: 5px;
    border: 0;
    border-radius: 0;
    background: #713246;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    transition: .2s ease;
}
.kb-track-submit:hover { background: #5d2637; }
.kb-track-message {
    margin-top: 12px;
    padding: 9px 11px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 9px;
    line-height: 1.5;
}
.kb-track-message span {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 9px;
    font-weight: 700;
}
.kb-track-message p { margin: 1px 0 0; }
.kb-track-message-error { background: #fff1f2; color: #8a2f3b; }
.kb-track-message-error span { background: #f7d6da; }
.kb-track-switch {
    margin-top: 17px;
    padding-top: 12px;
    border-top: 1px solid #efedeb;
    text-align: center;
    color: #717277;
    font-size: 8px;
    line-height: 1.55;
}
.kb-track-switch span { display: block; }
.kb-track-switch button {
    margin-top: 1px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #253147;
    background: transparent;
    color: #253147;
    font-size: 8px;
    line-height: 1.3;
    font-weight: 600;
}
.kb-track-result {
    margin-top: 14px;
    padding: 13px;
    border: 1px solid #e6e4df;
    background: #fbfbf8;
}
.kb-track-result-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 11px;
    border-bottom: 1px solid #e8e6e1;
}
.kb-track-result-label {
    display: block;
    margin-bottom: 2px;
    color: #96958f;
    font-size: 7px;
    letter-spacing: .1em;
}
.kb-track-result-top strong { font-size: 12px; }
.kb-track-status {
    padding: 5px 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--kb-status-color) 12%, white);
    color: var(--kb-status-color);
    font-size: 8px;
    font-weight: 600;
}
.kb-track-result-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 11px 0 3px;
}
.kb-track-result-grid span,
.kb-track-result-grid strong { display: block; }
.kb-track-result-grid span { margin-bottom: 3px; color: #96958f; font-size: 7px; }
.kb-track-result-grid strong { color: #363a3c; font-size: 8px; line-height: 1.4; font-weight: 600; }
.kb-track-timeline {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e8e6e1;
}
.kb-track-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 13px 1fr;
    gap: 7px;
    padding-bottom: 10px;
}
.kb-track-timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 8px;
    bottom: -2px;
    width: 1px;
    background: #d7ddd7;
}
.kb-track-timeline-dot {
    width: 9px;
    height: 9px;
    margin-top: 2px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #718775;
    box-shadow: 0 0 0 1px #9dab9f;
    z-index: 1;
}
.kb-track-timeline-item strong { display: block; font-size: 8px; }
.kb-track-timeline-item p { margin: 2px 0; color: #6e716e; font-size: 7px; line-height: 1.45; }
.kb-track-timeline-item small { color: #999993; font-size: 6.5px; }
.kb-track-details-link {
    margin-top: 7px;
    display: inline-flex;
    gap: 4px;
    color: #6e2b3c !important;
    font-size: 8px;
    font-weight: 600;
}

/* Footer proportions from the supplied reference */
.kb-footer-container { padding-top: 43px; padding-bottom: 20px; }
.kb-footer-summary { margin-top: 1px; }
.kb-footer-heading { margin-top: 0; }

@media (max-width: 991.98px) {
    .kb-header-about .kb-header-shell { min-height: 58px; }
    .kb-about-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 720px;
    }
    .kb-about-image-wrap {
        width: min(570px, 100%);
        aspect-ratio: 1 / 1.02;
    }
}

@media (max-width: 767.98px) {
    .kb-header-shell-compact { padding: 0 16px; }
    .kb-header-compact .kb-brand-template-text { font-size: 18px; }
    .kb-cart-btn-compact { min-width: 55px; }
    .kb-cart-btn-compact .kb-cart-word { font-size: 12px; }

    .kb-about-page { padding-top: 12px; padding-bottom: 38px; }
    .kb-about-breadcrumb { margin-bottom: 19px; }
    .kb-about-layout { gap: 26px; }
    .kb-about-image-wrap { width: 100%; aspect-ratio: 1 / 1.04; border-radius: 8px; }
    .kb-about-content h1 { font-size: 38px; }
    .kb-about-content > p { font-size: 10.5px; }
    .kb-about-feature-grid { grid-template-columns: 1fr 1fr; column-gap: 12px; }

    .kb-track-page { padding: 18px 0 30px; }
    .kb-track-card { width: min(100%, 372px); padding: 20px 18px 18px; }
    .kb-track-heading h1 { font-size: 27px; }
    .kb-track-heading p { font-size: 9px; }
}

@media (max-width: 479.98px) {
    .kb-header-shell-compact { min-height: 52px; padding: 0 12px; }
    .kb-header-compact .kb-brand-template-text { min-width: 0; font-size: 17px; }
    .kb-compact-menu-btn { width: 28px; }
    .kb-cart-btn-compact { min-width: auto; }
    .kb-cart-btn-compact .kb-cart-word { font-size: 11px; }
    .kb-cart-btn-compact .kb-cart-count { display: none; }

    .kb-about-content h1 { font-size: 34px; }
    .kb-about-content blockquote { font-size: 11px; }
    .kb-about-feature-grid { grid-template-columns: 1fr; }
    .kb-about-shop-btn { width: 100%; }

    .kb-track-card { border-left: 0; border-right: 0; box-shadow: 0 3px 10px rgba(38, 37, 34, .05); }
    .kb-track-result-grid { grid-template-columns: 1fr 1fr; }
    .kb-track-result-grid > div:last-child { grid-column: 1 / -1; }
}

/* Final reference alignment */
.kb-cart-btn-compact .kb-cart-count { display: none !important; }
.kb-footer-bottom { display: none !important; }
.kb-footer-container { padding-bottom: 34px; }

/* =========================================================
   FINAL REFERENCE NAVBAR PATCH
   Matches supplied King Badger navigation screenshot.
   No route changes required.
   ========================================================= */
.kb-reference-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    width: 100%;
    background: #fffdf9;
    border-bottom: 1px solid #eee8df;
    box-shadow: none;
    backdrop-filter: none;
}

.kb-reference-nav-shell {
    width: 100%;
    min-height: 64px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 0;
}

.kb-reference-brand {
    position: relative;
    flex: 0 0 auto;
    width: 154px;
    min-width: 154px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    margin-right: 30px;
    text-decoration: none !important;
}

.kb-reference-brand img {
    position: relative;
    z-index: 2;
    display: block;
    width: auto;
    max-width: 145px;
    max-height: 43px;
    object-fit: contain;
    object-position: left center;
}

.kb-reference-brand-fallback {
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #31231e;
    line-height: 1;
    white-space: nowrap;
}

.kb-reference-brand-fallback strong {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .055em;
}

.kb-reference-brand-fallback small {
    margin-top: 4px;
    color: #d4aaa4;
    font-size: 6.5px;
    font-weight: 500;
    letter-spacing: .23em;
}

.kb-reference-brand img[src=""] + .kb-reference-brand-fallback,
.kb-reference-brand img[src*="placeholder"] + .kb-reference-brand-fallback {
    z-index: 3;
    background: #fffdf9;
    padding-right: 8px;
}

.kb-reference-desktop-nav {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
}

.kb-reference-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 64px;
    padding: 1px 0 0;
    color: #2b2622 !important;
    font-size: 11px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: .055em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: color .18s ease;
}

.kb-reference-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 13px;
    width: 0;
    height: 1px;
    background: #733343;
    transform: translateX(-50%);
    transition: width .18s ease;
}

.kb-reference-link:hover,
.kb-reference-link.active {
    color: #6c3140 !important;
}

.kb-reference-link:hover::after,
.kb-reference-link.active::after {
    width: 100%;
}

.kb-reference-actions {
    flex: 0 0 auto;
    margin-left: auto;
    padding-left: 24px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.kb-reference-icon-btn {
    position: relative;
    width: 31px;
    height: 38px;
    min-width: 31px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #332e2a !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: color .16s ease, transform .16s ease;
}

.kb-reference-icon-btn:hover {
    color: #763747 !important;
    transform: translateY(-1px);
}

.kb-reference-icon-btn svg {
    width: 15px;
    height: 15px;
    display: block;
}

.kb-reference-cart-btn {
    margin-left: 1px;
}

.kb-reference-cart-count {
    position: absolute;
    top: 5px;
    right: -1px;
    min-width: 13px;
    height: 13px;
    padding: 0 3px;
    border-radius: 999px;
    background: #e5a5ad;
    color: #fff;
    border: 1px solid #fffdf9;
    font-size: 7.5px;
    line-height: 11px;
    font-weight: 600;
    text-align: center;
}

.kb-reference-mobile-trigger {
    display: none;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    margin-right: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #302a26;
    align-items: center;
    justify-content: center;
}

.kb-reference-mobile-trigger svg {
    width: 19px;
    height: 19px;
}

.kb-reference-mobile-menu {
    width: min(86vw, 340px) !important;
    background: #fffdf9;
}

.kb-reference-mobile-menu-head {
    min-height: 64px;
    padding: 10px 18px;
    border-bottom: 1px solid #eee8df;
}

.kb-reference-drawer-brand {
    display: flex;
    align-items: center;
    min-width: 0;
    color: #30231e !important;
    text-decoration: none !important;
}

.kb-reference-drawer-brand img {
    max-width: 128px;
    max-height: 38px;
    object-fit: contain;
    object-position: left center;
}

.kb-reference-drawer-brand span {
    display: none;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .04em;
}

.kb-reference-drawer-brand img[src=""] + span,
.kb-reference-drawer-brand img[src*="placeholder"] + span {
    display: block;
}

.kb-reference-mobile-nav {
    display: flex;
    flex-direction: column;
}

.kb-reference-mobile-nav > a {
    position: relative;
    padding: 15px 2px;
    border-bottom: 1px solid #eee8df;
    color: #2f2925 !important;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .055em;
    text-transform: uppercase;
    text-decoration: none !important;
}

.kb-reference-mobile-nav > a.active {
    color: #743546 !important;
}

.kb-reference-mobile-nav > a.active::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    width: 3px;
    height: 22px;
    background: #743546;
    transform: translateY(-50%);
}

@media (max-width: 1280px) {
    .kb-reference-nav-shell {
        padding-left: 22px;
        padding-right: 22px;
    }

    .kb-reference-brand {
        width: 139px;
        min-width: 139px;
        margin-right: 22px;
    }

    .kb-reference-brand img {
        max-width: 132px;
    }

    .kb-reference-desktop-nav {
        gap: 20px;
    }

    .kb-reference-link {
        font-size: 10px;
        letter-spacing: .045em;
    }

    .kb-reference-actions {
        padding-left: 16px;
    }
}

@media (max-width: 1080px) {
    .kb-reference-nav-shell {
        min-height: 60px;
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) auto;
        padding: 0 18px;
    }

    .kb-reference-mobile-trigger {
        display: inline-flex;
        justify-self: start;
        margin-right: 0;
    }

    .kb-reference-brand {
        justify-self: center;
        width: 145px;
        min-width: 0;
        height: 46px;
        margin-right: 0;
        justify-content: center;
    }

    .kb-reference-brand img {
        max-width: 137px;
        max-height: 40px;
        object-position: center;
    }

    .kb-reference-brand-fallback {
        left: 50%;
        transform: translate(-50%, -50%);
        align-items: center;
    }

    .kb-reference-desktop-nav {
        display: none;
    }

    .kb-reference-actions {
        justify-self: end;
        margin-left: 0;
        padding-left: 0;
        gap: 0;
    }

    .kb-reference-account-wrap,
    .kb-reference-account-btn,
    .kb-reference-wishlist-btn {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    .kb-reference-nav-shell {
        min-height: 56px;
        grid-template-columns: 38px minmax(0, 1fr) auto;
        padding: 0 11px;
    }

    .kb-reference-mobile-trigger {
        width: 34px;
        height: 34px;
    }

    .kb-reference-brand {
        width: 124px;
        height: 42px;
    }

    .kb-reference-brand img {
        max-width: 116px;
        max-height: 35px;
    }

    .kb-reference-brand-fallback strong {
        font-size: 15px;
    }

    .kb-reference-brand-fallback small {
        font-size: 5.4px;
    }

    .kb-reference-actions .kb-reference-icon-btn {
        width: 29px;
        min-width: 29px;
        height: 34px;
    }

    .kb-reference-actions .kb-reference-icon-btn svg {
        width: 15px;
        height: 15px;
    }

    .kb-reference-cart-count {
        top: 2px;
        right: -2px;
    }
}

/* ============================================================
   KING BADGER MATERNITY IMAGE FOOTER
   Reference: supplied maternity footer screenshot
   ============================================================ */
.kb-footer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: rgba(255,255,255,.94);
    background:
        linear-gradient(90deg, rgba(112,15,67,.84) 0%, rgba(139,21,84,.80) 48%, rgba(147,24,90,.82) 100%),
        url('../images/footer-maternity.jpg') center center / cover no-repeat;
}

.kb-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border: 0;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(94,12,58,.08), rgba(72,9,45,.18));
}

.kb-footer::after {
    display: none;
}

.kb-footer-container {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    padding-top: 48px;
    padding-bottom: 42px;
}

.kb-footer-summary {
    max-width: 255px;
    margin-bottom: 18px;
    color: rgba(255,255,255,.90);
    font-size: 10px;
    line-height: 1.65;
    text-shadow: 0 1px 2px rgba(0,0,0,.16);
}

.kb-footer-heading {
    margin: 0 0 15px;
    color: #fff;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: .035em;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0,0,0,.16);
}

.kb-footer-contact-list {
    gap: 7px;
}

.kb-footer-contact-list li,
.kb-footer-links a,
.kb-footer-newsletter-copy {
    color: rgba(255,255,255,.90);
    text-shadow: 0 1px 2px rgba(0,0,0,.14);
}

.kb-footer-contact-list li {
    font-size: 9px;
    line-height: 1.45;
}

.kb-footer-links {
    gap: 7px;
}

.kb-footer-links a {
    display: inline-block;
    font-size: 9px;
    line-height: 1.35;
}

.kb-footer-links a:hover {
    color: #fff;
    transform: translateX(2px);
    padding-left: 0;
}

.kb-footer-newsletter-copy {
    max-width: 210px;
    margin-bottom: 10px;
    font-size: 9px;
    line-height: 1.45;
}

.kb-footer-newsletter {
    width: 100%;
    max-width: 215px;
    gap: 6px;
}

.kb-footer-newsletter input {
    height: 33px;
    border: 1px solid rgba(255,255,255,.65);
    background: rgba(255,255,255,.97);
    color: #242424;
    padding: 0 10px;
    font-size: 9px;
    border-radius: 0;
}

.kb-footer-newsletter button {
    height: 31px;
    border: 1px solid rgba(79,12,43,.32);
    background: rgba(76,13,43,.86);
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    transition: background-color .2s ease, transform .2s ease;
}

.kb-footer-newsletter button:hover {
    background: rgba(63,8,36,.96);
    transform: translateY(-1px);
}

.kb-footer-socials {
    gap: 6px;
    margin-top: 11px;
}

.kb-footer-socials a {
    width: 21px;
    height: 21px;
    border: 1px solid rgba(255,255,255,.38);
    background: rgba(86,12,51,.16);
    font-size: 8px;
}

.kb-footer-bottom {
    display: none !important;
}

@media (min-width: 1200px) {
    .kb-footer .row {
        align-items: flex-start;
    }

    .kb-footer-container {
        min-height: 255px;
    }
}

@media (max-width: 991.98px) {
    .kb-footer {
        background-position: 58% center;
        background-image:
            linear-gradient(90deg, rgba(105,13,62,.91), rgba(139,20,84,.88)),
            url('../images/footer-maternity.jpg');
    }

    .kb-footer-container {
        padding-top: 38px;
        padding-bottom: 34px;
    }

    .kb-footer-summary,
    .kb-footer-newsletter-copy,
    .kb-footer-newsletter {
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .kb-footer {
        background-position: 62% center;
        background-image:
            linear-gradient(180deg, rgba(101,12,59,.94), rgba(133,18,79,.92)),
            url('../images/footer-maternity.jpg');
    }

    .kb-footer-container {
        padding-top: 30px;
        padding-bottom: 28px;
    }

    .kb-footer-heading {
        margin-bottom: 11px;
        font-size: 10px;
    }

    .kb-footer-links {
        gap: 6px;
    }

    .kb-footer-contact-list li,
    .kb-footer-links a,
    .kb-footer-newsletter-copy,
    .kb-footer-summary {
        font-size: 9px;
    }
}

/* ============================================================
   KING BADGER FOOTER — FINAL MATERNITY ART BACKGROUND
   Keeps existing footer content/functionality. Only presentation is adjusted.
   ============================================================ */
.kb-footer {
    background-color: #7d174f;
    background-image:
        linear-gradient(90deg, rgba(105, 18, 67, .50) 0%, rgba(132, 27, 84, .42) 48%, rgba(124, 20, 75, .48) 100%),
        url('../images/footer-maternity.jpg');
    background-size: cover;
    background-position: center 48%;
    background-repeat: no-repeat;
}

/* A very light depth layer; image remains clearly visible. */
.kb-footer::before {
    background: linear-gradient(180deg, rgba(45, 7, 29, .04) 0%, rgba(45, 7, 29, .12) 100%);
}

/* Keep content readable over the lighter overlay without hiding the artwork. */
.kb-footer-summary,
.kb-footer-heading,
.kb-footer-contact-list li,
.kb-footer-links a,
.kb-footer-newsletter-copy {
    text-shadow: 0 1px 4px rgba(39, 5, 25, .38);
}

.kb-footer-newsletter input {
    background: rgba(255, 255, 255, .94);
    border-color: rgba(255, 255, 255, .82);
}

.kb-footer-newsletter button {
    background: rgba(75, 11, 43, .78);
}

.kb-footer-socials a {
    background: rgba(75, 11, 43, .22);
    border-color: rgba(255, 255, 255, .52);
}

@media (max-width: 991.98px) {
    .kb-footer {
        background-image:
            linear-gradient(90deg, rgba(105, 18, 67, .58) 0%, rgba(132, 27, 84, .52) 100%),
            url('../images/footer-maternity.jpg');
        background-position: 55% center;
    }
}

@media (max-width: 575.98px) {
    .kb-footer {
        background-image:
            linear-gradient(180deg, rgba(91, 13, 55, .64) 0%, rgba(116, 19, 70, .60) 100%),
            url('../images/footer-maternity.jpg');
        background-position: 56% center;
    }
}

/* ==========================================================
   King Badger home reviews — image-first reference layout
   ========================================================== */
.kb-review-section {
    background: #f7f2ea;
    padding-top: 46px;
    padding-bottom: 54px;
}
.kb-review-heading {
    margin-bottom: 28px;
}
.kb-review-heading h2 {
    margin: 0;
    color: #58362f;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.kb-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}
.kb-review-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 245px;
    flex-direction: column;
    padding: 17px 18px 18px;
    overflow: hidden;
    border: 1px solid rgba(87, 65, 56, .08);
    border-radius: 2px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 7px 20px rgba(56, 42, 35, .055);
    transition: transform .25s ease, box-shadow .25s ease;
}
.kb-review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 11px 26px rgba(56, 42, 35, .09);
}
.kb-review-card-top {
    display: flex;
    min-height: 18px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.kb-review-stars {
    display: inline-flex;
    gap: 2px;
    margin: 0;
    color: #d7c6ae;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0;
}
.kb-review-stars span.is-filled {
    color: #b98943;
}
.kb-review-rating {
    color: #b98778;
    font-size: 9px;
    line-height: 1;
}
.kb-home-review-gallery {
    width: 104px;
    margin-bottom: 13px;
}
.kb-review-photo {
    position: relative;
    display: flex;
    width: 104px;
    height: 86px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    border: 1px solid #e6dfd6;
    background: #e7e6e2;
    text-decoration: none;
}
.kb-review-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease;
}
.kb-review-photo:hover img {
    transform: scale(1.035);
}
.kb-review-photo-count {
    position: absolute;
    right: 5px;
    bottom: 5px;
    min-width: 24px;
    padding: 3px 6px;
    border-radius: 999px;
    background: rgba(31, 23, 20, .76);
    color: #fff;
    font-size: 9px;
    line-height: 1.2;
    text-align: center;
}
.kb-review-extra-photo {
    display: none !important;
}
.kb-review-photo-placeholder {
    flex-direction: column;
    gap: 5px;
    color: #9e9992;
}
.kb-review-photo-placeholder svg {
    width: 24px;
    height: 24px;
}
.kb-review-photo-placeholder span {
    font-size: 8px;
    letter-spacing: .02em;
}
.kb-review-copy,
.kb-review-card > .kb-review-copy {
    min-height: 58px;
    margin: 0 0 10px;
    color: #504b47;
    font-size: 11px;
    line-height: 1.55;
    text-align: left;
}
.kb-review-author {
    margin-top: auto;
    text-align: left;
}
.kb-review-author strong {
    display: block;
    color: #211d1a;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.35;
}
.kb-review-author span {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: #8a817b;
    font-size: 8px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.kb-review-empty {
    padding: 26px;
    border: 1px solid #ebe2d8;
    background: rgba(255,255,255,.68);
    color: #81766f;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 991.98px) {
    .kb-review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .kb-review-section {
        padding-top: 34px;
        padding-bottom: 38px;
    }
    .kb-review-heading {
        margin-bottom: 20px;
    }
    .kb-review-heading h2 {
        font-size: 18px;
    }
    .kb-review-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .kb-review-card {
        min-height: 0;
        padding: 16px;
    }
    .kb-home-review-gallery,
    .kb-review-photo {
        width: 96px;
    }
    .kb-review-photo {
        height: 80px;
    }
    .kb-review-copy,
    .kb-review-card > .kb-review-copy {
        min-height: 0;
        font-size: 11px;
    }
}
