/* Kimbion Signature Collection Experience — Architectural Atelier Split + Visual Sub-Category Ribbon + Elevated Lumpaz Sidebar */
body.template-collection,
.kmb-col-hero-section,
.kmb-col-grid {
  --kmb-canvas: #f9f6f0;
  --kmb-surface: #ffffff;
  --kmb-card-bg: #f3eee6;
  --kmb-espresso: #171411;
  --kmb-espresso-2: #241f1a;
  --kmb-linen: #efe8dc;
  --kmb-linen-border: #dfd4c3;
  --kmb-gold: #c69f5c;
  --kmb-gold-soft: #e6cfa4;
  --kmb-bronze: #8e693c;
  --kmb-ink: #1e1b18;
  --kmb-muted: #675e54;
  --kmb-border: #e3dbce;
  --kmb-hover: #efe8dc;
  --kmb-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
}

body.template-collection,
body.template-collection #MainContent {
  background-color: var(--kmb-canvas, #f9f6f0) !important;
}

/* ==================== 1. SIGNATURE ASYMMETRIC ARCHITECTURAL SPLIT HERO ==================== */
.kmb-col-hero-wrap {
  max-width: 1420px;
  margin: 22px auto 0;
  padding: 0 24px;
}

.kmb-sig-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(430px, 46%) 1fr;
  min-height: 416px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(30, 25, 20, 0.09);
  box-shadow: 0 22px 54px rgba(25, 21, 18, 0.08);
}

/* Dual-Mood Palette: Lighting (Obsidian Espresso & Champagne) vs Bedding (Sunlit Linen & Bronze) */
.kmb-sig-hero--lighting {
  background: var(--kmb-espresso);
  color: #f7f3ec;
  --hero-accent: #d9ba82;
  --hero-muted: rgba(244, 237, 226, 0.72);
  --hero-hairline: rgba(244, 237, 226, 0.14);
  --hero-pill-bg: rgba(255, 255, 255, 0.055);
  --hero-pill-border: rgba(255, 255, 255, 0.17);
  --hero-pill-text: #f3ede3;
  --hero-pill-active-bg: #f6f0e4;
  --hero-pill-active-text: #181410;
  --hero-coupon-bg: rgba(255, 255, 255, 0.06);
  --hero-coupon-btn-bg: #f6efe2;
  --hero-coupon-btn-text: #181410;
}

.kmb-sig-hero--bedding {
  background: var(--kmb-linen);
  color: #1f1a15;
  border-color: var(--kmb-linen-border);
  box-shadow: 0 18px 46px rgba(56, 44, 28, 0.07);
  --hero-accent: #8f693c;
  --hero-muted: #5a5146;
  --hero-hairline: rgba(45, 35, 24, 0.12);
  --hero-pill-bg: rgba(255, 255, 255, 0.65);
  --hero-pill-border: rgba(110, 88, 60, 0.24);
  --hero-pill-text: #2a231c;
  --hero-pill-active-bg: #1f1a15;
  --hero-pill-active-text: #faf6ef;
  --hero-coupon-bg: rgba(255, 255, 255, 0.72);
  --hero-coupon-btn-bg: #1f1a15;
  --hero-coupon-btn-text: #faf6ef;
}

/* Left Atelier Editorial Panel */
.kmb-sig-hero__panel {
  position: relative;
  z-index: 2;
  padding: 30px 38px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.kmb-sig-hero--lighting .kmb-sig-hero__panel {
  background:
    radial-gradient(circle at 12% 8%, rgba(217, 186, 130, 0.09) 0%, transparent 48%),
    linear-gradient(165deg, #1b1713 0%, #14110e 100%);
}

.kmb-sig-hero--bedding .kmb-sig-hero__panel {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.55) 0%, transparent 52%),
    linear-gradient(165deg, #f3ede2 0%, #eae1d2 100%);
}

.kmb-sig-hero__top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hero-hairline);
}

.kmb-sig-hero__crumb {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--hero-muted);
}
.kmb-sig-hero__crumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.16s ease;
}
.kmb-sig-hero__crumb a:hover {
  color: var(--hero-accent);
}

.kmb-sig-hero__archive-id {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hero-accent);
  white-space: nowrap;
}

.kmb-sig-hero__body {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.kmb-sig-hero__title {
  margin: 0;
  font-family: var(--kmb-serif);
  font-size: clamp(34px, 3.1vw, 48px) !important;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.018em;
  color: inherit !important;
}

.kmb-sig-hero__subtitle {
  margin: 0;
  padding-left: 13px;
  border-left: 2px solid var(--hero-accent);
  font-family: var(--kmb-serif);
  font-style: italic;
  font-size: clamp(17.5px, 1.45vw, 21px);
  line-height: 1.3;
  color: var(--hero-accent);
}

.kmb-sig-hero__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--hero-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.kmb-sig-hero__desc p {
  margin: 0;
  color: inherit;
}

/* Promo & Stats Row */
.kmb-sig-hero__offer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
}

.kmb-sig-hero__coupon {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 6px 5px 13px;
  border-radius: 999px;
  background: var(--hero-coupon-bg);
  border: 1px solid var(--hero-pill-border);
}
.kmb-sig-hero__coupon-lbl {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hero-muted);
}
.kmb-sig-hero__coupon code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: inherit;
  background: transparent;
}
.kmb-sig-hero__coupon-btn {
  padding: 6px 13px;
  border-radius: 999px;
  border: 0;
  background: var(--hero-coupon-btn-bg);
  color: var(--hero-coupon-btn-text);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.kmb-sig-hero__coupon-btn:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}
.kmb-sig-hero__coupon .sbf-status {
  display: none;
}

.kmb-sig-hero__count {
  font-size: 12px;
  color: var(--hero-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.kmb-sig-hero__count strong {
  color: inherit;
  font-weight: 600;
}
.kmb-sig-hero__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--hero-accent);
  opacity: 0.8;
}

/* Style / Related Pills inside Left Panel */
.kmb-sig-hero__styles {
  padding-top: 12px;
  border-top: 1px solid var(--hero-hairline);
}
.kmb-sig-hero__styles-lbl {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hero-muted);
  margin-bottom: 8px;
}
.kmb-sig-hero__styles-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.kmb-style-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--hero-pill-text);
  background: var(--hero-pill-bg);
  border: 1px solid var(--hero-pill-border);
  text-decoration: none;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.kmb-style-pill:hover {
  border-color: var(--hero-accent);
  color: var(--hero-accent);
}
.kmb-style-pill.is-active {
  background: var(--hero-pill-active-bg);
  color: var(--hero-pill-active-text);
  border-color: var(--hero-pill-active-bg);
  font-weight: 600;
}

/* Right Unobstructed Gallery Photo Window */
.kmb-sig-hero__stage {
  position: relative;
  overflow: hidden;
  min-height: 416px;
  background: #231e19;
}
.kmb-sig-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.kmb-sig-hero__img--center {
  object-position: center center;
}
.kmb-sig-hero__img--right {
  object-position: 78% center;
}
.kmb-sig-hero:hover .kmb-sig-hero__img {
  transform: scale(1.025);
}

/* Ultra-subtle edge vignette only for legibility of floating corner chips — ZERO dark overlay on subject */
.kmb-sig-hero__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(16, 13, 10, 0.12) 0%, transparent 26%, transparent 68%, rgba(16, 13, 10, 0.34) 100%);
}

.kmb-sig-hero__stage-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(20, 17, 14, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(230, 207, 164, 0.42);
  color: #f8f2e6;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.kmb-sig-hero__stage-badge strong {
  color: #e9cf9c;
  font-weight: 700;
}

/* Signature Floating Glass Atelier Spec Vignette (Bottom-Right) */
.kmb-sig-hero__spec-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  max-width: 310px;
  padding: 11px 15px;
  border-radius: 12px;
  background: rgba(20, 17, 14, 0.56);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #faf6ef;
  box-shadow: 0 12px 28px rgba(15, 12, 9, 0.22);
}
.kmb-sig-hero__spec-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e8cfa0;
  margin-bottom: 3px;
}
.kmb-sig-hero__spec-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e8cfa0;
  box-shadow: 0 0 8px rgba(232, 207, 160, 0.85);
}
.kmb-sig-hero__spec-val {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(250, 246, 239, 0.94);
  font-weight: 400;
}

/* ==================== 2. VISUAL SUB-COLLECTION PHOTO-THUMBNAIL RIBBON ==================== */
.kmb-sig-ribbon {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.kmb-sig-ribbon__item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 11px 7px 7px;
  border-radius: 12px;
  background: var(--kmb-surface);
  border: 1px solid var(--kmb-border);
  text-decoration: none;
  color: var(--kmb-ink);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  min-width: 0;
}
.kmb-sig-ribbon__item:hover {
  transform: translateY(-2px);
  border-color: var(--kmb-gold);
  box-shadow: 0 8px 20px rgba(25, 21, 18, 0.06);
}
.kmb-sig-ribbon__item.is-current {
  border-color: var(--kmb-ink);
  background: #f5efe4;
  box-shadow: 0 6px 16px rgba(25, 21, 18, 0.07);
}
.kmb-sig-ribbon__thumb {
  width: 50px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  object-position: 75% center;
  flex: none;
  background: #231e19;
  display: block;
}
.kmb-sig-ribbon__thumb--center {
  object-position: center center;
}
.kmb-sig-ribbon__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.kmb-sig-ribbon__name {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--kmb-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kmb-sig-ribbon__sub {
  font-size: 10.5px;
  line-height: 1.2;
  color: var(--kmb-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==================== 3. COLLECTION GRID + ELEVATED LUMPAZ SIDEBAR ==================== */
.kmb-col-grid {
  background-color: var(--kmb-canvas) !important;
  padding-top: 24px !important;
  padding-bottom: 56px !important;
}
.kmb-col-grid > collection-init > .container-fluid,
.kmb-col-grid > collection-init > .container {
  max-width: 1420px !important;
  margin-inline: auto !important;
  padding-inline: 24px !important;
}

/* Hide unused storefront vendor/price, column switchers, native raw-ID active facets, and empty auto-collection filter trigger */
.kmb-col-grid :is(.filter-vendor, .filter-price, .f-collection-toolbar--column-switcher, #ActiveFacets, .f-active-facets) {
  display: none !important;
}
.kmb-col-grid.kmb-auto-collection .f-sidebar--open {
  display: none !important;
}

/* Elevated Lumpaz-style left sidebar */
.kmb-col-grid .f-sidebar--title {
  font-family: var(--kmb-serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--kmb-ink);
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--kmb-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 8px;
}

.kmb-active-count-badge {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex: none;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--kmb-ink);
  color: #faf6ef;
}

.kmb-col-grid .f-filter--widget {
  border-bottom: 1px solid var(--kmb-border);
  padding-block: 11px;
  margin-bottom: 0;
}
.kmb-col-grid .f-filter--widget-title {
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #2c2722 !important;
}
.kmb-col-grid .f-filter--widget :is(a, button):focus-visible,
.kmb-col-grid .f-sidebar--open:focus-visible {
  outline: 2px solid var(--kmb-gold);
  outline-offset: 2px;
}

.kmb-col-grid .f-collection-tag-filter-ul {
  padding-top: 4px;
}
.kmb-col-grid .f-collection-tag-filter-ul .f-facet--item {
  border-radius: 6px;
  transition: background-color 0.14s ease;
  padding: 4px 7px;
  margin-bottom: 2px;
}
.kmb-col-grid .f-collection-tag-filter-ul .f-facet--item:is(:hover, :focus-within) {
  background: var(--kmb-hover);
}
.kmb-col-grid .f-collection-tag-filter-ul .f-facet--item.active {
  background: #ebe2d2;
  font-weight: 600;
}
.kmb-col-grid .f-collection-tag-filter-ul .f-facet--checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: #312c26;
}
.kmb-col-grid .f-collection-tag-filter-ul .filter-tag-input {
  display: block !important;
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0;
  padding: 0;
  opacity: 0 !important;
  clip-path: inset(50%);
}
.kmb-col-grid .f-collection-tag-filter-ul .f-facet--checkbox svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: #93897b;
}
.kmb-col-grid .f-collection-tag-filter-ul .f-facet--item.active .f-facet--checkbox svg {
  color: var(--kmb-espresso);
}
.kmb-col-grid .f-collection-tag-filter-ul .f-facet--label {
  flex: 1;
  line-height: 1.35;
}

/* Tactile 14px Color Swatch Dots with subtle halo */
.kmb-col-grid .f-filter-tag-box[data-kmb-group="kmb_shared_color"] [data-tag-default-filter] > label::after {
  content: "";
  order: 2;
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(50, 42, 33, 0.28);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
  background: var(--kmb-swatch, transparent);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.kmb-col-grid .f-filter-tag-box[data-kmb-group="kmb_shared_color"] .f-facet--item.active > label::after {
  transform: scale(1.12);
  box-shadow: 0 0 0 2px #f9f6f0, 0 0 0 3.5px var(--kmb-bronze);
}
.kmb-col-grid [data-tag-default-filter="black"] { --kmb-swatch: #1e1d1b; }
.kmb-col-grid [data-tag-default-filter="white"] { --kmb-swatch: #fffefb; }
.kmb-col-grid [data-tag-default-filter="gold"] { --kmb-swatch: linear-gradient(135deg, #dec078, #b68a3e); }
.kmb-col-grid [data-tag-default-filter="silver"] { --kmb-swatch: linear-gradient(135deg, #e1e4e7, #b1b6bc); }
.kmb-col-grid [data-tag-default-filter="gray"] { --kmb-swatch: #8c8a88; }
.kmb-col-grid [data-tag-default-filter="brown"] { --kmb-swatch: #77523a; }
.kmb-col-grid [data-tag-default-filter="beige"] { --kmb-swatch: #d8c6aa; }
.kmb-col-grid [data-tag-default-filter="cream"] { --kmb-swatch: #f3ead8; }
.kmb-col-grid [data-tag-default-filter="green"] { --kmb-swatch: #597a5d; }
.kmb-col-grid [data-tag-default-filter="blue"] { --kmb-swatch: #50789c; }
.kmb-col-grid [data-tag-default-filter="pink"] { --kmb-swatch: #dfb0b5; }
.kmb-col-grid [data-tag-default-filter="red"] { --kmb-swatch: #b3423a; }
.kmb-col-grid [data-tag-default-filter="yellow"] { --kmb-swatch: #e2bd56; }
.kmb-col-grid [data-tag-default-filter="amber"] { --kmb-swatch: #cc8832; }
.kmb-col-grid [data-tag-default-filter="clear"] { --kmb-swatch: linear-gradient(135deg, #fff 44%, #aaa8a1 48% 54%, #fff 58%); }

/* Sidebar Bottom Atelier Sizing / Styling Tip Card */
.kmb-sidebar-tip {
  margin-top: 16px;
  padding: 13px 14px;
  border-radius: 10px;
  background: #f2ece0;
  border: 1px solid #e2d8c6;
  border-left: 3px solid var(--kmb-gold);
}
.kmb-sidebar-tip__kicker {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kmb-bronze);
  margin-bottom: 4px;
}
.kmb-sidebar-tip__text {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #463e36;
}

@media (min-width: 1280px) {
  body.template-collection,
  body.template-collection #main-content,
  body.template-collection .main-content,
  .kmb-col-grid,
  .kmb-col-grid > collection-init,
  .kmb-col-grid > collection-init > .container-fluid,
  .kmb-col-grid > collection-init > .container {
    overflow-x: clip !important;
    overflow-y: visible !important;
  }
  .kmb-col-grid .f-collection--wrapper.f-sidebar--leftColumn {
    align-items: flex-start;
    overflow: visible !important;
  }
  /* Sticky MUST live on the direct flex item <f-accordion-tag>, not just inner .f-sidebar */
  .kmb-col-grid .f-collection--wrapper.f-sidebar--leftColumn > f-accordion-tag {
    display: block;
    flex: 0 0 clamp(244px, 19.5vw, 278px);
    width: clamp(244px, 19.5vw, 278px);
    position: -webkit-sticky;
    position: sticky;
    top: 92px;
    align-self: flex-start;
    z-index: 4;
  }
  .kmb-col-grid .f-sidebar[data-type="leftColumn"] {
    width: 100% !important;
    padding-inline-end: 20px !important;
    position: static;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: transparent !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(138, 127, 114, 0.32) transparent;
  }
  .kmb-col-grid .f-sidebar[data-type="leftColumn"]::-webkit-scrollbar,
  .kmb-col-grid .f-collection-tag-filter-ul::-webkit-scrollbar {
    width: 4px;
  }
  .kmb-col-grid .f-sidebar[data-type="leftColumn"]::-webkit-scrollbar-track,
  .kmb-col-grid .f-collection-tag-filter-ul::-webkit-scrollbar-track {
    background: transparent;
  }
  .kmb-col-grid .f-sidebar[data-type="leftColumn"]::-webkit-scrollbar-thumb,
  .kmb-col-grid .f-collection-tag-filter-ul::-webkit-scrollbar-thumb {
    background: rgba(138, 127, 114, 0.32);
    border-radius: 999px;
  }
  .kmb-col-grid .f-sidebar[data-type="leftColumn"] .f-sidebar--content {
    background: transparent !important;
  }
}

/* Toolbar & Active Filter Selection Pills */
.kmb-col-grid #CollectionProductGrid {
  scroll-margin-top: 96px;
}
.kmb-col-grid .f-collection-toolbar {
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--kmb-border);
  align-items: center;
}
.kmb-col-grid .f-sidebar--open {
  border: 1px solid var(--kmb-border);
  background: var(--kmb-surface);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--kmb-ink);
}
.kmb-col-grid .f-select-custom {
  border-radius: 8px;
}

.kmb-tag-selections {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: -6px 0 18px;
}
.kmb-tag-selections a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #d5c7b2;
  background: #ffffff;
  color: #2b241d;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
}
.kmb-tag-selections a:hover {
  background: var(--kmb-hover);
  border-color: var(--kmb-gold);
}
.kmb-tag-selections a.kmb-tag-clear {
  border-color: transparent;
  background: transparent;
  color: var(--kmb-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.kmb-tag-selections a.kmb-tag-clear:hover {
  color: var(--kmb-ink);
  background: transparent;
}

/* Guard desktop 4-column grid against stale mobile f-cols-2 state saved by collection.js */
@media screen and (min-width: 1024px) {
  .kmb-col-grid .f-collection-products.f-cols-2 .f-product-item {
    width: 25% !important;
    max-width: 25% !important;
  }
}

/* ==================== 4. GALLERY-GRADE PRODUCT CARDS ==================== */
.kmb-col-grid .f-product-card {
  background: transparent;
  transition: transform 0.25s ease;
}
.kmb-col-grid .f-product-card:hover {
  transform: translateY(-3px);
}
.kmb-col-grid .f-product-card__media,
.kmb-col-grid .f-product-card__img-wrap,
.kmb-col-grid .f-card__media {
  background-color: var(--kmb-card-bg) !important;
  border-radius: 10px !important;
  border: 1px solid rgba(30, 25, 20, 0.05);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.kmb-col-grid .f-product-card:hover .f-product-card__media,
.kmb-col-grid .f-product-card:hover .f-product-card__img-wrap,
.kmb-col-grid .f-product-card:hover .f-card__media {
  border-color: rgba(198, 159, 92, 0.45);
  box-shadow: 0 12px 26px rgba(25, 21, 18, 0.07);
}
.kmb-col-grid .f-product-card img {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.kmb-col-grid .f-product-card:hover img {
  transform: scale(1.035);
}
.kmb-col-grid .f-product-card__title,
.kmb-col-grid .f-product-card__name {
  font-size: 13.5px !important;
  line-height: 1.45 !important;
  color: var(--kmb-ink) !important;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.kmb-col-grid .f-product-card__price,
.kmb-col-grid .f-price {
  font-size: 13.5px !important;
  font-weight: 600;
  color: var(--kmb-ink);
}

/* ==================== 5. THE KIMBION STANDARD (3-PILLAR ATELIER BAND) + EXPLORE ==================== */
.kmb-sig-standard {
  max-width: 1420px;
  margin: 48px auto 0;
  padding: 0 24px;
}
.kmb-sig-standard__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 26px 30px;
  border-radius: 16px;
  background: #f2ece0;
  border: 1px solid #e2d8c7;
}
.kmb-sig-standard__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-right: 12px;
}
.kmb-sig-standard__item:not(:last-child) {
  border-right: 1px solid rgba(142, 105, 60, 0.18);
}
.kmb-sig-standard__num {
  font-family: var(--kmb-serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  color: var(--kmb-bronze);
  flex: none;
  padding-top: 2px;
}
.kmb-sig-standard__title {
  margin: 0 0 4px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--kmb-ink);
}
.kmb-sig-standard__desc {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--kmb-muted);
}

.kmb-col-explore {
  max-width: 1420px;
  margin: 34px auto 0;
  padding: 26px 24px 12px;
}
.kmb-col-explore__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 20px;
}
.kmb-col-explore__eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kmb-bronze);
  margin-bottom: 5px;
}
.kmb-col-explore__title {
  margin: 0;
  font-family: var(--kmb-serif);
  font-size: clamp(26px, 2.3vw, 34px);
  font-weight: 500;
  color: var(--kmb-ink);
}
.kmb-col-explore__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.kmb-col-explore__card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--kmb-espresso);
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(25, 21, 18, 0.07);
}
.kmb-col-explore__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
}
.kmb-col-explore__card img.kmb-pos-right {
  object-position: 78% center;
}
.kmb-col-explore__card:hover img {
  transform: scale(1.055);
}
.kmb-col-explore__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 18, 14, 0.04) 28%, rgba(22, 18, 14, 0.8) 100%);
}
.kmb-col-explore__card-meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  color: #ffffff;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}
.kmb-col-explore__card-name {
  display: block;
  font-family: var(--kmb-serif);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.15;
}
.kmb-col-explore__card-cta {
  display: inline-block;
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--kmb-gold-soft);
}
.kmb-col-explore__arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #ffffff;
  flex: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.kmb-col-explore__card:hover .kmb-col-explore__arrow {
  transform: translateX(3px);
  background: var(--kmb-gold);
  border-color: var(--kmb-gold);
  color: #181410;
}

/* Fix injected bottom editorial cards border-radius bleed & spacing */
body.template-collection [class*="guide"] [class*="card"],
body.template-collection .geo-guide-card {
  overflow: hidden !important;
  border-color: var(--kmb-border) !important;
  background-color: var(--kmb-surface) !important;
}
body.template-collection #MainContent {
  padding-bottom: 24px;
}

/* ==================== 6. TABLET & MOBILE RESPONSIVE ==================== */
@media (max-width: 1120px) {
  .kmb-sig-hero {
    grid-template-columns: minmax(360px, 48%) 1fr;
  }
  .kmb-sig-ribbon {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .kmb-sig-hero {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-height: auto;
  }
  .kmb-sig-hero__panel,
  .kmb-sig-hero__stage,
  .kmb-sig-hero__body,
  .kmb-sig-hero__styles {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .kmb-sig-hero__stage {
    order: -1;
    width: 100%;
    min-height: 290px;
  }
  .kmb-sig-standard__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .kmb-sig-standard__item:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid rgba(142, 105, 60, 0.16);
    padding-bottom: 14px;
    padding-right: 0;
  }
  .kmb-col-explore__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .kmb-col-hero-wrap {
    margin-top: 12px;
    padding: 0 14px;
  }
  .kmb-sig-hero {
    border-radius: 14px;
  }
  .kmb-sig-hero__stage {
    min-height: 220px;
    height: 220px;
  }
  .kmb-sig-hero__img--right {
    object-position: 86% center;
  }
  .kmb-sig-hero__stage-badge {
    display: none;
  }
  .kmb-sig-hero__spec-card {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    padding: 7px 11px;
    border-radius: 10px;
  }
  .kmb-sig-hero__spec-val {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .kmb-sig-hero__panel {
    padding: 16px 16px 18px;
    gap: 10px;
  }
  .kmb-sig-hero__top-row {
    padding-bottom: 8px;
  }
  .kmb-sig-hero__title {
    font-size: 30px !important;
  }
  .kmb-sig-hero__subtitle {
    font-size: 16px;
    padding-left: 10px;
  }
  .kmb-sig-hero__styles-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .kmb-sig-hero__styles-list::-webkit-scrollbar {
    display: none;
  }
  .kmb-style-pill {
    flex: none;
  }
  .kmb-sig-ribbon {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    margin-top: 12px;
    padding-bottom: 2px;
  }
  .kmb-sig-ribbon::-webkit-scrollbar {
    display: none;
  }
  .kmb-sig-ribbon__item {
    flex: 0 0 auto;
    min-width: 158px;
    padding: 6px 10px 6px 6px;
  }
  .kmb-sig-ribbon__thumb {
    width: 42px;
    height: 38px;
  }
  .kmb-col-grid > collection-init > .container-fluid,
  .kmb-col-grid > collection-init > .container {
    padding-inline: 14px !important;
  }
  .kmb-sig-standard {
    padding: 0 14px;
    margin-top: 32px;
  }
  .kmb-sig-standard__inner {
    padding: 18px 16px;
  }
  .kmb-col-explore {
    padding: 20px 14px 8px;
    margin-top: 20px;
  }
  .kmb-col-explore__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
