/* =============================================================
   Highland Cabinetry — Global Stylesheet
   Loaded after Bootstrap 5 (CDN). This file contains only what
   Bootstrap does not cover: HC design tokens, brand typography
   overrides, navbar, footer, section headings, category nav,
   and HC-specific components.
   ============================================================= */

/* ─── 1. Design Tokens ────────────────────────────────────────
   Single source of truth for brand colours, radii, shadows.
   Bootstrap variables are set via CDN so these CSS custom props
   coexist — templates may use either var(--hc-*) or BS utilities.
   ──────────────────────────────────────────────────────────── */
:root {
  /* Palette */
  --hc-bg: #f8f4ee;
  --hc-warm: #ede6da;
  --hc-white: #ffffff;
  --hc-dark: #262c35;
  --hc-dark2: #1e222a;
  --hc-body: #3a3f4a;
  --hc-muted: #6e7485;
  --hc-accent: #ab672b;
  --hc-accent-d: #8e5522;
  --hc-border: #e2dbd1;

  /* Radii */
  --hc-r: 6px;
  --hc-r-lg: 14px;
  --hc-r-xl: 18px;

  /* Shadows */
  --hc-sh: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --hc-sh-md: 0 4px 8px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --hc-sh-lg: 0 12px 28px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.05);

  /* Typography scale */
  --hc-text-xs: 11px;
  --hc-text-sm: 13px;
  --hc-text-md: 15px;
  --hc-text-lg: 17px;
  --hc-text-xl: 20px;

  /* Spacing */
  --hc-section-py: 88px;

  /* Short aliases */
  --bg: var(--hc-bg);
  --warm: var(--hc-warm);
  --white: var(--hc-white);
  --dark: var(--hc-dark);
  --dark2: var(--hc-dark2);
  --body: var(--hc-body);
  --muted: var(--hc-muted);
  --accent: var(--hc-accent);
  --accent-d: var(--hc-accent-d);
  --border: var(--hc-border);
  --r: var(--hc-r);
  --r-lg: var(--hc-r-lg);
  --r-xl: var(--hc-r-xl);
  --sh: var(--hc-sh);
  --sh-md: var(--hc-sh-md);
  --sh-lg: var(--hc-sh-lg);
}

/* ─── 2. Bootstrap Base Overrides ─────────────────────────────
   Bring Bootstrap's defaults in line with HC's brand.
   ──────────────────────────────────────────────────────────── */
body {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--hc-dark);
  background: var(--hc-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--hc-dark);
  line-height: 1.2;
  letter-spacing: -0.3px;
}

/* Bootstrap Reboot resets list-style — restore only when lists are inside
   content areas, not nav/UI lists where we want no bullets. */
.entry-content ul,
.entry-content ol {
  padding-left: 1.5rem;
}
.entry-content ul {
  list-style: disc;
}
.entry-content ol {
  list-style: decimal;
}

/* Bootstrap sets a:color to the primary/link colour — align to HC brand. */
a {
  color: inherit;
}
a:hover {
  color: inherit;
}

/* ─── 3. Bootstrap Component Overrides ───────────────────────
   Fine-tune Bootstrap components to match HC brand identity.
   ──────────────────────────────────────────────────────────── */

/* Buttons — Bootstrap's .btn already handles the base; we adjust
   the primary/outline-primary colours to the HC amber.           */
.btn-primary {
  --bs-btn-bg: var(--hc-accent);
  --bs-btn-border-color: var(--hc-accent);
  --bs-btn-hover-bg: var(--hc-accent-d);
  --bs-btn-hover-border-color: var(--hc-accent-d);
  --bs-btn-active-bg: var(--hc-accent-d);
  --bs-btn-active-border-color: var(--hc-accent-d);
  --bs-btn-disabled-bg: var(--hc-accent);
  --bs-btn-disabled-border-color: var(--hc-accent);
  color: var(--hc-bg);
}
.btn-primary:hover,
.btn-primary:active,
.btn-primary.active {
  color: var(--hc-bg);
}

.btn-outline-primary {
  --bs-btn-color: var(--hc-accent);
  --bs-btn-border-color: var(--hc-accent);
  --bs-btn-hover-bg: var(--hc-accent);
  --bs-btn-hover-border-color: var(--hc-accent);
  --bs-btn-active-bg: var(--hc-accent);
  --bs-btn-active-border-color: var(--hc-accent);
}
.btn-outline-primary:hover,
.btn-outline-primary:active {
  color: var(--hc-bg);
}

/* Ghost button — no Bootstrap equivalent */
.btn-ghost {
  background: transparent;
  color: var(--hc-accent);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover {
  color: var(--hc-accent-d);
}

/* General button sizing to match HC spec */
.btn {
  padding: 13px 26px;
  font-size: var(--hc-text-md);
  font-weight: 500;
  border-width: 1.5px;
  border-radius: var(--hc-r);
  transition:
    background 0.18s,
    border-color 0.18s,
    color 0.18s;
}
.btn-sm {
  padding: 9px 18px;
  font-size: var(--hc-text-sm);
}

/* Card — lift on hover, HC border/radius */
.card {
  border-color: var(--hc-border);
  border-radius: var(--hc-r-lg);
  background: #fff;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hc-sh-lg);
}

/* Forms */
.form-control,
.form-select {
  border-width: 1.5px;
  border-color: var(--hc-border);
  border-radius: var(--hc-r);
  font-size: 15px;
  padding: 10px 14px;
  color: var(--hc-dark);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--hc-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hc-accent) 12%, transparent);
}
.form-label {
  font-size: var(--hc-text-sm);
  font-weight: 500;
  color: var(--hc-body);
}

/* Dropdown */
.dropdown-menu {
  border-color: var(--hc-border);
  border-radius: var(--hc-r-lg);
  box-shadow: var(--hc-sh-lg);
  padding: 8px;
}
.dropdown-item {
  border-radius: var(--hc-r);
  font-size: 14px;
  color: var(--hc-body);
  padding: 8px 10px;
  transition:
    background 0.15s,
    color 0.15s;
}
.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--hc-warm);
  color: var(--hc-dark);
}
.dropdown-item.active,
.dropdown-item:active {
  background: var(--hc-warm);
  color: var(--hc-dark);
}
.dropdown-divider {
  border-color: var(--hc-border);
}

/* ─── 4. Layout Utilities ─────────────────────────────────────
   .section / .section-sm — vertical section padding.
   Use Bootstrap's .container for horizontal centering.
   ──────────────────────────────────────────────────────────── */
.section {
  padding: var(--hc-section-py) 0;
}
.section-sm {
  padding: 52px 0;
}

/* Max-width cap matching Bootstrap's xl container (1200 px) */
.container,
.container-xl,
.container-xxl {
  max-width: 1200px;
}

/* ─── 5. Section Headings ─────────────────────────────────────
   .sec-label  — eyebrow text above a section heading
   .sec-title  — main h2 of a section
   .sec-sub    — subtitle paragraph
   .sec-head   — wrapper; add .center for centred layout
   ──────────────────────────────────────────────────────────── */
.sec-label {
  display: block;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: var(--hc-text-xs);
  font-weight: 600;
  color: var(--hc-accent);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 10px;
}
.sec-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--hc-dark);
  line-height: 1.2;
  letter-spacing: -0.3px;
}
.sec-sub {
  font-size: 16px;
  color: var(--hc-muted);
  margin-top: 10px;
  max-width: 520px;
  line-height: 1.65;
}
.sec-head {
  margin-bottom: 52px;
}
.sec-head.center {
  text-align: center;
}
.sec-head.center .sec-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ─── 6. HC Feature Chips ─────────────────────────────────────
   Small pill tags used in hero and other sections.
   Named .hc-chip to avoid collision with Bootstrap's .badge.
   ──────────────────────────────────────────────────────────── */
.hc-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: #fff;
  border: 1px solid var(--hc-border);
  border-radius: 100px;
  font-size: var(--hc-text-sm);
  font-weight: 500;
  color: var(--hc-body);
  box-shadow: var(--hc-sh);
}
.hc-chip svg {
  color: var(--hc-accent);
  flex-shrink: 0;
}

/* ─── 7. Navigation ───────────────────────────────────────────
   Bootstrap .navbar base + HC sticky/blur/brand overrides.
   ──────────────────────────────────────────────────────────── */
.hc-navbar {
  background: rgba(248, 244, 238, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hc-border);
  min-height: 68px;
  padding-top: 0;
  padding-bottom: 0;
}

.hc-navbar .navbar-brand {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--hc-dark);
  gap: 10px;
}
.hc-navbar .navbar-brand:hover {
  color: var(--hc-dark);
}

.hc-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--hc-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.hc-navbar .nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--hc-body);
  border-radius: var(--hc-r);
  padding: 8px 13px;
  transition:
    background 0.15s,
    color 0.15s;
}
.hc-navbar .nav-link:hover,
.hc-navbar .nav-link:focus {
  background: var(--hc-warm);
  color: var(--hc-dark);
}
.hc-navbar .nav-link.show,
.hc-navbar .nav-link.active {
  color: var(--hc-dark);
}

/* Shop dropdown — "All Products" accent row */
.hc-navbar .dropdown-item.hc-dd-all {
  font-weight: 600;
  color: var(--hc-accent);
  border-bottom: 1px solid var(--hc-border);
  margin-bottom: 4px;
  padding-bottom: 10px;
}
.hc-navbar .dropdown-item.hc-dd-all:hover {
  background: color-mix(in srgb, var(--hc-accent) 8%, transparent);
  color: var(--hc-accent-d);
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Group header (e.g. "Cabinets") */
.hc-dd-group-header {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--hc-dark);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 6px 10px 4px;
  pointer-events: none;
}

/* Sub-category indented list */
.hc-dd-sub {
  margin: 0 8px 6px 18px;
  padding-left: 10px;
  border-left: 2px solid var(--hc-border);
}
.hc-dd-sub .dropdown-item {
  font-size: 13px;
  color: var(--hc-muted);
  padding: 6px 10px;
}

/* Desktop: truly centre the nav links on the page using absolute positioning.
   The .container is the positioning context; the nav sits at 50% left so it
   is centred regardless of the brand or CTA button widths. */
@media (min-width: 992px) {
  .hc-navbar .container {
    position: relative;
  }
  .hc-navbar .navbar-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Mobile collapse styling */
@media (max-width: 991.98px) {
  .hc-navbar .navbar-collapse {
    background: #fff;
    border-top: 1px solid var(--hc-border);
    padding: 8px 16px 16px;
    box-shadow: var(--hc-sh-md);
  }
  .hc-navbar .dropdown-menu {
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--hc-border);
    border-radius: 0;
    background: transparent;
    padding: 4px 0 4px 0;
    margin-top: 0;
    position: static;
    transform: none;
  }
  .hc-dd-sub {
    margin-left: 8px;
  }
}

/* ─── 8. Footer ───────────────────────────────────────────────
   Bootstrap .row/.col grid + HC dark brand colours.
   ──────────────────────────────────────────────────────────── */
.hc-footer {
  background: var(--hc-dark2);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 36px;
}

.hc-footer .hc-footer-brand .navbar-brand {
  color: #fff;
  padding: 0;
  margin-bottom: 14px;
}
.hc-footer .hc-logo-mark {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hc-footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  max-width: 210px;
}

.hc-footer-contact {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hc-footer-contact a {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: var(--hc-text-sm);
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.15s;
}
.hc-footer-contact a:hover {
  color: #fff;
}

.hc-footer-col h4 {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: var(--hc-text-xs);
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.hc-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hc-footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.15s;
}
.hc-footer-col a:hover {
  color: #fff;
}

.hc-footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 28px;
}
.hc-footer-bar p,
.hc-footer-bar a {
  font-size: var(--hc-text-sm);
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
  text-decoration: none;
}
.hc-footer-bar a:hover {
  color: rgba(255, 255, 255, 0.65);
}

/* ─── 9. Shop Category Navigation ────────────────────────────
   Pill-button row above product grid — no Bootstrap equivalent.
   ──────────────────────────────────────────────────────────── */
.hc-cat-nav {
  margin-bottom: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--hc-border);
  border-bottom: 1px solid var(--hc-border);
}
.hc-cat-nav__row {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hc-cat-nav__row--sub {
  margin-top: 14px;
  gap: 8px;
}

a.hc-cat-nav__btn,
.hc-cat-nav__btn {
  display: inline-flex !important;
  align-items: center;
  padding: 10px 22px;
  border-radius: 100px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--hc-dark) !important;
  background: #fff !important;
  border: 1.5px solid var(--hc-border) !important;
  text-decoration: none !important;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s,
    box-shadow 0.15s;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
a.hc-cat-nav__btn:hover,
.hc-cat-nav__btn:hover {
  border-color: var(--hc-accent) !important;
  color: var(--hc-accent) !important;
  background: #fff !important;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--hc-accent) 15%, transparent);
}
a.hc-cat-nav__btn--active,
.hc-cat-nav__btn--active {
  background: var(--hc-accent) !important;
  border-color: var(--hc-accent) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--hc-accent) 30%, transparent);
}
a.hc-cat-nav__btn--active:hover,
.hc-cat-nav__btn--active:hover {
  background: var(--hc-accent-d) !important;
  border-color: var(--hc-accent-d) !important;
  color: #fff !important;
}

a.hc-cat-nav__sub,
.hc-cat-nav__sub {
  display: inline-flex !important;
  align-items: center;
  padding: 7px 16px;
  border-radius: 100px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: var(--hc-muted) !important;
  background: transparent !important;
  border: 1px solid var(--hc-border) !important;
  text-decoration: none !important;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
  white-space: nowrap;
}
a.hc-cat-nav__sub:hover,
.hc-cat-nav__sub:hover {
  border-color: var(--hc-accent) !important;
  color: var(--hc-accent) !important;
  background: color-mix(in srgb, var(--hc-accent) 5%, transparent) !important;
}
a.hc-cat-nav__sub--active,
.hc-cat-nav__sub--active {
  background: var(--hc-warm) !important;
  border-color: var(--hc-accent) !important;
  color: var(--hc-accent) !important;
  font-weight: 600;
}

@media (max-width: 768px) {
  .hc-cat-nav__row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .hc-cat-nav__row::-webkit-scrollbar {
    display: none;
  }
}

/* ─── 10. Misc ────────────────────────────────────────────────
   Sidebar widget titles and text utilities.
   ──────────────────────────────────────────────────────────── */
.widget-title {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--hc-dark);
  margin-bottom: 14px;
}

.text-accent {
  color: var(--hc-accent) !important;
}

/* ─── Predictive product search (header) ─────────────────────────────────── */
.hc-search-wrap {
  position: relative;
}
/* Search icon buttons — identical style for desktop toggle and mobile button */
.hc-search-toggle,
.hc-mob-search-btn,
.hc-account-btn,
.hc-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: var(--hc-r);
  color: var(--hc-dark);
  cursor: pointer;
  transition:
    border-color 0.15s,
    color 0.15s,
    background 0.15s;
  flex-shrink: 0;
}
.hc-search-toggle:hover,
.hc-search-toggle[aria-expanded="true"],
.hc-mob-search-btn:hover,
.hc-mob-search-btn[aria-expanded="true"],
.hc-account-btn:hover,
.hc-account-btn[aria-expanded="true"],
.hc-cart-btn:hover {
  color: var(--hc-accent);
}

/* Cart icon — position: relative so the count badge can anchor to it */
.hc-cart-btn {
  position: relative;
  text-decoration: none;
}
.hc-cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--hc-accent);
  color: #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 600;
}
.hc-cart-count--empty {
  display: none;
}

.hc-search {
  position: relative;
  width: 100%;
  max-width: 320px;
}
/* Desktop: the field is a dropdown panel opened by the icon (no menu overlap). */
@media (min-width: 992px) {
  .hc-search {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 340px;
    max-width: none;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--hc-border);
    border-radius: var(--hc-r-lg);
    box-shadow: var(--hc-sh-lg);
    z-index: 1;
    display: none;
  }
  .hc-search.is-open {
    display: block;
  }
}
.hc-search__box .hc-search__icon {
  background: #fff;
  border-right: 0;
  color: var(--hc-muted);
  padding-inline: 10px;
}
.hc-search__input.form-control {
  border-left: 0;
  box-shadow: none;
}
.hc-search__input.form-control:focus {
  border-color: var(--hc-border);
  box-shadow: none;
}
.hc-search__box:focus-within {
  outline: 2px solid var(--hc-accent);
  outline-offset: 1px;
  border-radius: var(--hc-r);
}

.hc-search__suggest {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 1080;
  max-height: 70vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-r-lg);
  box-shadow: var(--hc-sh-lg);
  padding: 6px;
}
.hc-search__group {
  font-size: var(--hc-text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hc-muted);
  padding: 10px 10px 4px;
}
.hc-search__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--hc-r);
  color: var(--hc-dark);
  text-decoration: none;
  line-height: 1.3;
}
.hc-search__item:hover,
.hc-search__item.is-active {
  background: var(--hc-warm);
  color: var(--hc-dark);
}
.hc-search__thumb {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: var(--hc-r);
  flex: 0 0 auto;
  background: var(--hc-bg);
}
.hc-search__label {
  flex: 1 1 auto;
  font-size: 14px;
}
.hc-search__price {
  font-size: var(--hc-text-sm);
  font-weight: 600;
  color: var(--hc-accent);
  white-space: nowrap;
}
.hc-search__count {
  font-size: 12px;
  color: var(--hc-muted);
  background: var(--hc-warm);
  border-radius: 999px;
  padding: 1px 8px;
  white-space: nowrap;
}
.hc-search__empty {
  padding: 14px 12px;
  font-size: var(--hc-text-sm);
  color: var(--hc-muted);
}
.hc-search__viewall {
  display: block;
  margin-top: 4px;
  padding: 10px;
  border-top: 1px solid var(--hc-border);
  font-size: var(--hc-text-sm);
  font-weight: 600;
  text-align: center;
  color: var(--hc-accent);
  text-decoration: none;
  border-radius: 0 0 var(--hc-r-lg) var(--hc-r-lg);
}
.hc-search__viewall:hover,
.hc-search__viewall.is-active {
  background: var(--hc-warm);
}

/* Mobile: suggestions render in-flow inside the mobile panel */
@media (max-width: 991.98px) {
  .hc-search {
    max-width: 100%;
  }
  .hc-search__suggest {
    position: static;
    margin-top: 6px;
    box-shadow: none;
  }
}

/* Mobile search panel — full-width bar below the navbar */
.hc-mob-search {
  flex-basis: 100%; /* wrap to own row inside the navbar flex container */
  width: 100%;
  background: #fff;
  border-top: 1px solid var(--hc-border);
  box-shadow: var(--hc-sh-md);
}
.hc-mob-search .hc-search {
  max-width: 100%;
}
.hc-mob-search .hc-search__suggest {
  position: static;
  margin-top: 6px;
  box-shadow: none;
  border-color: var(--hc-border);
}

/* Mobile account panel — full-width below the navbar */
.hc-mob-account {
  flex-basis: 100%;
  width: 100%;
  background: #fff;
  border-top: 1px solid var(--hc-border);
  box-shadow: var(--hc-sh-md);
}
.hc-mob-account__inner {
  /* max-width: 480px; */
  padding: 8px 12px 12px;
}

/* ─── Product search results toolbar ─────────────────────────────────────── */
.hc-search-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hc-search-toolbar__count {
  margin: 0;
  font-size: var(--hc-text-sm);
  color: var(--hc-muted);
}
.hc-search-toolbar__sort {
  margin: 0;
}
.hc-search-toolbar__sort .form-select {
  min-width: 200px;
  border-color: var(--hc-border);
}

/* ─── Navbar Account Dropdown ─────────────────────────────────────────────── */
.hc-account-dd {
  min-width: 230px;
  padding: 8px;
}

/* Logged-in: user info header */
.hc-account-dd__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 10px;
}
.hc-account-dd__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--hc-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0;
}
.hc-account-dd__info {
  min-width: 0;
}
.hc-account-dd__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--hc-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hc-account-dd__email {
  font-size: 11px;
  color: var(--hc-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Logout item — red tint */
.hc-account-dd__logout {
  color: #dc2626 !important;
}
.hc-account-dd__logout:hover,
.hc-account-dd__logout:focus {
  background: #fef2f2 !important;
  color: #b91c1c !important;
}

/* Not-logged-in guest prompt */
.hc-account-dd__guest {
  padding: 10px 14px 4px;
}
.hc-account-dd__guest-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--hc-dark);
  margin: 0 0 3px;
}
.hc-account-dd__guest-sub {
  font-size: 12px;
  color: var(--hc-muted);
  margin: 0 0 12px;
  line-height: 1.4;
}

/* Active account menu item */
.hc-account-dd .dropdown-item.active {
  background: var(--hc-warm);
  color: var(--hc-accent);
  font-weight: 500;
}
