/**
 * @file
 * keystone_compare.css
 *
 * Mobile-first. Brand colours: #292929 / #e0ded9 / #b36e33.
 * Font: "Libre Franklin", sans-serif.
 * Desktop breakpoint: 1024px.
 *
 * kc-selector-btn IS the only tab/column switcher — no kc-grid-tabs.
 */

/* ── RESET / SCOPE ────────────────────────────────────────────────────────── */
.kc-section *,
.kc-lightbox *,
.kc-matterport-modal * {
  box-sizing: border-box;
}

/* ── EMPTY STATE ──────────────────────────────────────────────────────────── */
.kc-empty {
  padding: 40px 20px;
  text-align: center;
  font-family: "Libre Franklin", sans-serif;
}
.kc-empty p {
  margin-bottom: 24px;
  font-size: 12px;
  color: #292929;
}
.kc-empty a {
  display: inline-block;
  color: #292929;
  text-decoration: none;
  border-radius: 5px;
  padding: 15px 30px;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  border: solid 2px #292929;
}
.kc-empty a:hover {
  background-color: #b36e33;
  border-color: #b36e33;
  color: #e0ded9;
}

/* ── SHARED BUTTON STYLES ─────────────────────────────────────────────────── */
.kc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 5px;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.kc-btn--add {
  background-color: #292929;
  color: #e0ded9;
  border: 2px solid #292929;
}
.kc-btn--add:hover {
  background-color: #b36e33;
  border-color: #b36e33;
  color: #e0ded9;
}
.kc-btn--remove {
  background-color: transparent;
  color: #292929;
  border: 2px solid #292929;
}
.kc-btn--remove:hover {
  background-color: #292929;
  color: #e0ded9;
}
.kc-btn--maxed {
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  color: #94928c;
  border: 2px solid #94928c;
  cursor: not-allowed;
  padding: 10px 18px;
  border-radius: 5px;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
}
/* kc-btn--clear removed — replaced by kc-action-link */
.kc-view-compare-link {
  display: inline-block;
  margin-left: 12px;
  color: #b36e33;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-decoration: underline;
  vertical-align: middle;
}
.kc-view-compare-link:hover { color: #292929; }

/* ── ADD BUTTON WRAP (legacy — kept for safety) ───────────────────────────── */
.kc-add-btn-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0;
  font-family: "Libre Franklin", sans-serif;
}

/* ── ICON BAR — sits inside .floorplan-icons on node pages ───────────────── */
/*
 * .floorplan-icons is already:
 *   display: flex; align-items: center; justify-content: end; gap: 20px;
 *   font-size: 28px;
 * .kc-icon-bar adds itself as a flex item with its own inner flex row.
 */
.kc-icon-bar {
  display: contents; /* children participate directly in .floorplan-icons flex */
}

/* Each icon button — matches the size/colour of the existing fa-* icons */
.kc-icon-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: black;           /* matches .floorplan-icons a { color: black } */
  font-size: 12px;        /* matches .floorplan-icons font-size */
  line-height: 1;
  text-decoration: none;
  transition: color .2s ease;
  font-family: "Libre Franklin", sans-serif;
}
.kc-icon-btn:hover {
  color: #b36e33;         /* matches .floorplan-icons a:hover */
}
.kc-icon-btn svg {
  width: 1em;
  height: 1em;
  display: block;
}
.kc-title-link {
  border-bottom: 1px solid #b36e33;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
}
.kc-title-link:hover {
  border-bottom: 1px solid black;
}
.kc-title-top {
  padding-top: 75px;
  padding-bottom: 20px;
}
.kc-title-top a {
  color:#b36e33;
  text-decoration: none;
}
.kc-title-top a:hover {
    color: black;
}
.kc-title-top a::before {
  font-family: FontAwesome;
  content: "\f060";
  font-size: 12px;
  padding-right: 5px;
}
.kc-title-top h2 {
  padding-top: 20px;
}
/* Label text under the icon */
.kc-icon-label {
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
}
.kc-icon-count {
  font-weight: 400;
}

/* "Added" state — orange icon to confirm selection */
.kc-icon-btn--added {
  color: #b36e33;
}
.kc-icon-btn--added:hover {
  color: #292929;
}

/* "Full" state — muted */
.kc-icon-btn--maxed {
  color: #94928c;
  cursor: not-allowed;
}
.kc-icon-btn--maxed:hover { color: #94928c; }

/* "View Compare" link — hidden until JS shows it */
.kc-icon-btn--view-hidden {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* SECTION 1 — STICKY SELECTOR STRIP                                          */
/* ══════════════════════════════════════════════════════════════════════════ */
.kc-section--selector {
  padding: 10px 16px;
  position: sticky;
  top: 70px;
  z-index: 100;
  background: #e0ded9;
}
.kc-selector-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 1320px;
  margin: 0 auto;
}
.kc-selector-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 10px;
  border-bottom: 1px solid #CDCBC6;
}
.kc-selector-buttons::-webkit-scrollbar { display: none; }

/* The selector button IS the tab control */
.kc-selector-btn {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: rgba(255,255,255,0.08);
  border: 1px solid rgba(224,222,217,0.2);
  border-radius: 5px;
  padding: 6px 12px;
  cursor: pointer;
  text-align: left;
  transition: background-color .2s, border-color .2s;
  min-width: 90px;
  max-width: 180px;
  background-color: white;

}
.kc-selector-btn:hover {
  background-color: rgba(179,110,51,0.3);
  border-color: rgba(179,110,51,0.6);
}
.kc-selector-btn--active {
  background-color: #b36e33 !important;
  border-color: #b36e33 !important;
  color: #e0ded9;
}
.kc-selector-brand {
  font-family: "Libre Franklin", sans-serif;
  font-weight: 900;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: black;
  line-height: 1.2;
}
.kc-selector-btn--active .kc-selector-brand {
  color: rgba(255,255,255,0.75);
}
.kc-selector-title {
  font-family: "Libre Franklin", sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 156px;
}
.kc-selector-actions {
  display: flex;
  align-items: center;
  justify-content: right;
  gap: 20px;
  padding-top: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid #CDCBC6;
}

/* Shared style for Clear All and Share links in the selector strip */
.kc-selector-action {
  display: flex;
}
.kc-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: black;
  /*color: #94928c;*/
  transition: color .2s ease;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.kc-action-link svg {
  flex-shrink: 0;
  opacity: 0.7;
}
.kc-action-link:hover {
  color: #e0ded9;
}
.kc-action-link:hover svg {
  opacity: 1;
}
.kc-action-link--clear {

}
.kc-action-link--share {
  margin-left: auto;
}
.kc-action-link--print {

}
.kc-action-link--clear:hover,
.kc-action-link--share:hover,
.kc-action-link--print:hover {
  color: #b36e33;
}

/* kc-share-toast removed — share panel handles feedback inline */

/* ══════════════════════════════════════════════════════════════════════════ */
/* SECTION 2 — FLOORPLAN CARDS                                                */
/* Phone: one visible at a time (controlled by selector strip).               */
/* Desktop: injected as a strip above the grid by JS.                         */
/* ══════════════════════════════════════════════════════════════════════════ */
.kc-section--card {
  background-color: white;
  padding: 20px 10px 30px 10px;
  border-bottom: 1px solid #cdcbc7;
  margin: 10px 10px 0 10px;
}
/* Phone: show only the active card */
.kc-section--card[hidden] {
  display: none;
}

/* Phone: the card header (brand + title) is already shown in the sticky
   selector strip above, so hide it here to prevent the visual repeat. */
.kc-card-header {
  display: block;
  padding: 16px 16px 10px;
}
.kc-card-header-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.kc-card-brand {
  font-family: "Libre Franklin", sans-serif;
  font-weight: 900;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b36e33;
  margin: 0 0 2px;
}
.kc-card-segment {
  font-family: "Libre Franklin", sans-serif;
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;   
  color: #e0ded9;
  background-color: #292929;
  padding: 2px 7px;
  border-radius: 3px;
}
.kc-card-title {
  font-family: "Libre Franklin", sans-serif;
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  color: #292929;
  margin: 0;
}
.kc-card-title a { color: inherit; text-decoration: none; }
.kc-card-title a:hover { color: #b36e33; }

/* Image */
.kc-card-image-wrap {
  position: relative;  
  margin: 0 25px 14px 25px;
  border-radius: 2px;
  overflow: hidden;
  border-bottom: 1px solid #cdcbc7;
  padding-bottom: 40px;
}
.kc-zoom-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  position: relative;
}
.kc-card-image {
  width: 97%;
  height: auto;
  display: block;
  transition: transform .3s ease;
  padding: 5px;
}
.kc-zoom-trigger:hover .kc-card-image { transform: scale(1.03); }
.kc-zoom-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(41,41,41,0.7);
  color: #e0ded9;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Tagline / highlights */
.kc-card-highlights {
  margin-bottom: 30px;
}
.kc-card-highlights .fpfeat {
  padding: 20px 25px;
}
/* 3-button action row */
.kc-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-left: 20px;
  padding-right: 20px;
}
.kc-action-btn {
  flex: 1;
  min-width: 80px;
  text-align: center;
  padding: 12px 10px;
  border-radius: 5px;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 900;
  font-size: 8px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.kc-action-btn--shop a:hover {
  color: black;
}
.kc-action-btn--remove,
.kc-action-btn--360 {
  background-color: transparent;
  color: #b36e33;
  border: 2px solid #b36e33;
}
.kc-action-btn--remove:hover,
.kc-action-btn--360:hover {
  border-color: black;
  color: black;
}
.kc-action-btn--disabled {
  opacity: .35;
  cursor: not-allowed;
}
.kc-action-btn--shop {
  background-color: #b36e33;
  color: #e0ded9;
  border: 2px solid #b36e33;
}
.kc-action-btn--shop:hover {
  background-color: #b36e33;
  border-color: black;
  color: black;
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* SECTION 3 — SPEC GRID                                                      */
/* ══════════════════════════════════════════════════════════════════════════ */
.kc-section--grid {
  padding: 0 0 60px;
  font-family: "Libre Franklin", sans-serif;
  margin-left: 10px;
  margin-right: 10px;
}

/* Desktop header row — hidden on phone */
.kc-grid-header { display: none; }

/* Data rows — phone: 2 columns (label | one value) */
.kc-grid-row {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 44px;
}

/* Alternating row colours */
.kc-grid-row--odd  .kc-grid-cell--label { background-color: #292929; color: #e0ded9; border:1px solid #414141; }
.kc-grid-row--odd  .kc-grid-cell--value { background-color: #ffffff;  color: #292929; border:1px solid #414141; }
.kc-grid-row--even .kc-grid-cell--label { background-color: #414141; color: #e0ded9; border:1px solid #414141; }
.kc-grid-row--even .kc-grid-cell--value { background-color: #f0efed;  color: #414141; border:1px solid #414141; }

/* Cells */
.kc-grid-cell {
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.4;
  display: flex;
  align-items: center;
}
.kc-grid-cell--label {
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  word-break: break-word;
}

/* Phone: hide all value cells; JS adds .kc-active-col to the selected one */
.kc-grid-cell--value        { display: none; }
.kc-grid-cell--value.kc-active-col { display: flex; }

/* ── LIGHTBOX ───────────────────────────────────────────────────────────── */
.kc-lightbox,
.kc-matterport-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kc-lightbox[hidden],
.kc-matterport-modal[hidden] { display: none; }

.kc-lightbox-backdrop,
.kc-matterport-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(41,41,41,0.92);
}
.kc-lightbox-inner,
.kc-matterport-inner {
  position: relative;
  z-index: 1;
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.kc-lightbox-close,
.kc-matterport-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #e0ded9;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
.kc-lightbox-close:hover,
.kc-matterport-close:hover { color: #b36e33; }

.kc-lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  display: block;
}
.kc-lightbox-caption {
  color: #e0ded9;
  font-family: "Libre Franklin", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 12px;
  text-align: center;
}
.kc-matterport-frame-wrap {
  width: 90vw;
  height: 70vh;
  border-radius: 8px;
  overflow: hidden;
}
.kc-matterport-frame {
  width: 100%;
  height: 100%;
  border: none;
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* DESKTOP — 1024px+                                                          */
/* ══════════════════════════════════════════════════════════════════════════ */
@media screen and (min-width: 1024px) {

  /* Selector strip: one row on desktop */
  .kc-selector-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .kc-selector-buttons {
    flex-wrap: nowrap;
    overflow-x: auto;
    flex: 1;
  }
  .kc-selector-btn { 
    max-width: 200px; 
  }
  .kc-selector-actions {
    flex-shrink: 0;
    padding-top: 0;
    gap: 16px;
  }

  /* Section 2 phone cards hidden on desktop (JS builds desktop strip) */
  .kc-section--card { display: none !important; }

  /* Desktop spec-grid wrapper */
  .kc-section--grid {
    max-width: 1320px;
    margin: 0 auto;
  }

  /* All value columns visible on desktop */
  .kc-grid-cell--value { display: flex !important; }

  /* Header row */
  .kc-grid-header {
    display: grid;
    background-color: #292929;
    position: sticky;
    top: 70px;
    z-index: 89;
    grid-template-columns: 25% repeat(var(--kc-col-count, 1), 1fr);
  }
  .kc-grid-cell--label-head {
    background-color: #292929;
    color: #e0ded9;
    font-weight: 900;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 14px 16px;
  }
  .kc-grid-cell--val-head {
    background-color: #292929;
    color: #e0ded9;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
  }
  .kc-grid-brand-head {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #b36e33;
  }
  .kc-grid-title-head {
    font-size: 18px;
    font-weight: 700;
  }

  /* Data rows */
  .kc-grid-row {
    grid-template-columns: 25% repeat(var(--kc-col-count, 1), 1fr);
  }
  .kc-grid-cell {
    padding: 12px 16px;
    font-size: 14px;
  }
  .kc-grid-cell--label { font-size: 12px; }

  /* ── Desktop card strip ─────────────────────────────────────────────── */
  .kc-desktop-cards {
    display: flex;
    gap: 0;
    border-bottom: 3px solid #cdcbc7;
    background-color: #e0ded9;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0 0;
    /* Indent by label column width so cards align with their grid columns */
    padding-left: 25%;
    max-width: 1320px;
    margin: 0 auto 0;
  }
  .kc-desktop-card {
    flex: 1;
    min-width: 180px;
    padding: 0 12px 16px;
    border-left: 1px solid #cdcbc7;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .kc-desktop-card:first-child { border-left: none; }

  .kc-desktop-card-brand {
    font-family: "Libre Franklin", sans-serif;
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b36e33;
    margin: 0;
  }
  .kc-desktop-card-title {
    font-family: "Libre Franklin", sans-serif;
    font-weight: 900;
    font-size: 22px;
    text-transform: uppercase;
    color: #292929;
    margin: 0;
  }
  .kc-desktop-card-title a { color: inherit; text-decoration: none; }
  .kc-desktop-card-title a:hover { color: #b36e33; }

  .kc-desktop-card-image-wrap {
    overflow: hidden;
    border-bottom: 1px solid #cdcbc7;
    padding-bottom: 40px;    
  }
  .kc-desktop-card-image-wrap .kc-card-image {
    width: 100%;
    height: 150px;
    object-fit: contain;
  }
  .kc-desktop-card-tagline {
    font-size: 12px;
    color: #292929;
    border-left: 2px solid #b36e33;
    padding-left: 8px;
    margin: 0;
    line-height: 1.4;
  }
  .kc-desktop-card-actions {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
  }
  .kc-desktop-card-actions .kc-action-btn {
    flex: 1;
    font-size: 11px;
    padding: 8px 5px;
    min-width: 55px;
  }

} /* end 1024px */

/* ══════════════════════════════════════════════════════════════════════════ */
/* SHARE MODAL                                                                */
/* ══════════════════════════════════════════════════════════════════════════ */
.kc-share-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kc-share-modal[hidden] { display: none; }

.kc-share-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(41,41,41,0.85);
  cursor: pointer;
}

.kc-share-modal__box {
  position: relative;
  z-index: 1;
  background-color: #f5f4f2;
  border-radius: 10px;
  padding: 28px 24px 24px;
  width: 90vw;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  animation: kc-modal-in 0.2s ease;
}

@keyframes kc-modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.kc-share-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.kc-share-panel__heading {
  font-family: "Libre Franklin", sans-serif;
  font-weight: 900;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #292929;
  margin: 0;
}
.kc-share-modal__close {
  background: none;
  border: none;
  cursor: pointer;
  color: #94928c;
  padding: 4px;
  line-height: 1;
  display: flex;
  align-items: center;
  border-radius: 50%;
  transition: color .2s, background-color .2s;
}
.kc-share-modal__close:hover {
  color: #292929;
  background-color: rgba(0,0,0,0.06);
}

/* URL copy row */
.kc-share-panel__url-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  align-items: center;
}
.kc-share-panel__url-input {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid #cdcbc7;
  border-radius: 4px;
  font-size: 12px;
  color: #94928c;
  background: #fff;
  font-family: "Libre Franklin", sans-serif;
  min-width: 0;
}
.kc-share-panel__copy-btn {
  flex-shrink: 0;
  padding: 8px 14px;
  background-color: #292929;
  color: #e0ded9;
  border: none;
  border-radius: 4px;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s;
  white-space: nowrap;
}
.kc-share-panel__copy-btn:hover { background-color: #b36e33; }

/* Email form */
.kc-share-panel__field-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}
.kc-share-panel__field-row label {
  font-family: "Libre Franklin", sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #292929;
}
.kc-share-panel__field-row input,
.kc-share-panel__field-row textarea {
  padding: 8px 10px;
  border: 1px solid #cdcbc7;
  border-radius: 4px;
  font-size: 13px;
  font-family: "Libre Franklin", sans-serif;
  background: #fff;
  color: #292929;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .2s;
}
.kc-share-panel__field-row input:focus,
.kc-share-panel__field-row textarea:focus {
  outline: none;
  border-color: #b36e33;
  box-shadow: 0 0 0 3px rgba(179,110,51,0.15);
}
.kc-share-panel__field-row textarea { resize: vertical; }

.kc-share-panel__actions { margin-top: 12px; }
.kc-share-panel__send-btn {
  padding: 10px 22px;
  background-color: #b36e33;
  color: #e0ded9;
  border: none;
  border-radius: 5px;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s;
}
.kc-share-panel__send-btn:hover  { background-color: #96591f; }
.kc-share-panel__send-btn:disabled { opacity: .6; cursor: not-allowed; }

/* Status messages */
.kc-share-panel__status {
  margin-top: 10px;
  font-family: "Libre Franklin", sans-serif;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 4px;
  min-height: 0;
}
.kc-share-panel__status:empty { display: none; }
.kc-share-panel__status--success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}
.kc-share-panel__status--error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* Share modal is full-screen overlay — no desktop override needed */

/* Icon-only action buttons — desktop card strip only (built by JS) */
.kc-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  transition: background-color .2s, color .2s;
  background: none;
  padding: 0;
  color: #b36e33;
}
.kc-action-icon--zoom {
  color: #b36e33;
}
.kc-action-icon--zoom:hover {
  color: #292929;
}
.kc-action-icon--remove {
  color: #b36e33;
}
.kc-action-icon--remove:hover {
  color: #292929;
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* DESKTOP SIDEBAR — Live Chat + selector actions                              */
/* ══════════════════════════════════════════════════════════════════════════ */
@media screen and (min-width: 1024px) {

  /* Wrapper that holds sidebar + card strip side by side */
  .kc-desktop-layout {
    display: flex;
    max-width: 1320px;
    margin: 0 auto;
  }

  #kc-desktop-sidebar {
    width: 25%;
    flex-shrink: 0;
    background-color: white;
    border-right: 1px solid #cdcbc7;
    display: flex;
    flex-direction: column;
    padding: 20px 14px 16px;
    gap: 20px;
    align-self: stretch;
  }

  /* Live Chat section */
  .kc-desktop-sidebar__chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .kc-desktop-sidebar__chat-label {
    font-family: "Libre Franklin", sans-serif;
    font-weight: 900;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #292929;
    margin: 0;
  }
  .kc-desktop-sidebar__chat-widget {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 80px;
  }
  .kc-desktop-sidebar__chat-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    background-color: #292929;
    color: #e0ded9;
    font-family: "Libre Franklin", sans-serif;
    font-weight: 900;
    font-size: 11px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color .2s;
    width: 100%;
    box-sizing: border-box;
  }
  .kc-desktop-sidebar__chat-cta:hover {
    background-color: #b36e33;
  }
  .chat-div-cont h2 {
    font-size: 22px;
  }
  .chat-div-cont {
    display: block !important;
  }
  .chat-div-cont .chat-btn {
    display: inline-block;
  }
  .chat-div-cont .chat-btn a {
    font-size: 16px;
    padding: 10px 25px;
  }
  .chat-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;   
  }
  

  /* Cloned selector actions at bottom of sidebar */
  .kc-desktop-sidebar__actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
    border-top: 1px solid #cdcbc7;
    padding-top: 14px;
  }
  .kc-desktop-sidebar__actions .kc-action-link {
    font-size: 11px;
    justify-content: flex-start;
  }
  .kc-action-link--share {
    /*margin-left: 0;*/
  }
  a.kc-desktop-card-brand-link {
    color: #b36e33;
    font-size: 12px;
    align-content: center;
  }
  a.kc-desktop-card-brand-link:hover {
    color: black;
  }
  /* Desktop card strip sits next to the sidebar */
  #kc-desktop-strip.kc-desktop-cards {
    padding-left: 0;   /* sidebar takes the 220px slot instead */
    flex: 1;
    margin: 0;
  }

  /* Desktop card icon row */
  .kc-desktop-card-icons {
    display: flex;
    gap: 6px;
    margin-top: 4px;
  }
  .kc-desktop-card-icons .kc-action-icon {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
.kc-action-icon:nth-child(2) {
  margin-left: auto;
}
  /* Desktop card highlights */
  .kc-desktop-card-highlights {
    font-size: 11px;
    color: #292929;
    display: none;
  }
  .kc-desktop-card-highlights .fpfeat {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 8px;
  }
  .kc-desktop-card-highlights .kc-card-highlight-label {
    font-size: 10px;
  }

} /* end desktop sidebar */

/* Layout wrapper: sidebar left, card strip right */
@media screen and (min-width: 1024px) {
  .kc-desktop-layout-wrap {
    display: flex;
    align-items: stretch;
    max-width: 1320px;
    margin: 0 auto;
    border-bottom: 3px solid #cdcbc7;
  }
  /* Strip no longer needs its own border-bottom since the wrapper has it */
  .kc-desktop-layout-wrap #kc-desktop-strip.kc-desktop-cards {
    padding-left: 0;
    border-bottom: none;
    margin: 0;
    flex: 1;
    overflow-x: auto;
    background-color: white;
  }
  /* Also fix the grid label column to account for sidebar being separate */
  .kc-section--grid .kc-grid-header,
  .kc-section--grid .kc-grid-row {
    grid-template-columns: 25% repeat(var(--kc-col-count, 1), 1fr);
  }
}
