/* Furniture Header Variant */

/* ── Topbar ── */
.fur-header-topbar {
  background: #333;
  color: rgba(255,255,255,.8);
  font-size: 12px;
  padding: 8px 0;
}
.fur-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fur-topbar-promo a,
.fur-topbar-promo span { color: rgba(255,255,255,.85); text-decoration: none; }
.fur-topbar-promo a:hover { color: #fff; text-decoration: underline; }
.fur-topbar-right {
  display: flex; align-items: center; gap: 8px;
}
.fur-topbar-right a { color: rgba(255,255,255,.75); text-decoration: none; font-size: 12px; }
.fur-topbar-right a:hover { color: #fff; }
.fur-topbar-sep { color: rgba(255,255,255,.35); }

/* Topbar dropdown */
.fur-topbar-dd { position: relative; }
.fur-td-toggle {
  background: none; border: none; color: rgba(255,255,255,.75); font-size: 12px;
  cursor: pointer; display: flex; align-items: center; gap: 4px; padding: 0;
}
.fur-td-toggle:hover { color: #fff; }
.fur-td-menu {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff; border: 1px solid #ebebeb;
  min-width: 120px; z-index: 1000; box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.fur-td-menu a {
  display: block; padding: 8px 14px; font-size: 12px;
  color: #555; text-decoration: none;
}
.fur-td-menu a:hover { background: #f5f5f5; color: #333; }
.fur-topbar-dd:hover .fur-td-menu { display: block; }

/* ── Main Header ── */
.fur-header-main {
  background: #fff;
  border-bottom: 1px solid #ebebeb;
  position: sticky; top: 0; z-index: 999;
}
.fur-header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}

/* Logo */
.fur-logo { flex-shrink: 0; text-decoration: none; }
.fur-logo-text {
  font-size: 20px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: #333;
}
.fur-logo svg { height: 40px; width: auto; }

/* Search */
.fur-search-form {
  flex: 1; display: flex; max-width: 560px; margin: 0 auto;
  border: 2px solid #e8e8e8; transition: border-color .2s;
}
.fur-search-form:focus-within { border-color: #c96; }
.fur-search-input {
  flex: 1; padding: 10px 14px; border: none; outline: none;
  font-size: 13px; color: #333; background: #fafafa;
}
.fur-search-input::placeholder { color: #aaa; }
.fur-search-btn {
  padding: 0 18px; background: #333; color: #fff; border: none;
  cursor: pointer; font-size: 15px; transition: background .2s;
}
.fur-search-btn:hover { background: #c96; }

/* Icons */
.fur-header-icons { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.fur-icon-btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; text-decoration: none; color: #333; font-size: 18px;
  transition: color .2s;
}
.fur-icon-btn:hover { color: #c96; }
.fur-icon-badge {
  position: absolute; top: 4px; right: 2px;
  background: #c96; color: #fff;
  font-size: 9px; font-weight: 700; min-width: 16px; height: 16px;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}
.fur-mobile-toggle {
  display: none; background: none; border: none; font-size: 22px;
  color: #333; padding: 4px; cursor: pointer; margin-left: auto;
}

/* ── Navbar ── */
.fur-navbar {
  border-top: 1px solid #ebebeb;
  background: #fff;
}
.fur-navbar-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 48px;
  padding: 0;
}

/* Browse Categories */
.fur-browse-cat { position: relative; flex-shrink: 0; width: 220px; }
.fur-browse-btn {
  width: 100%; height: 100%; padding: 0 20px;
  background: #333; color: #fff; border: none; cursor: pointer;
  font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px;
  white-space: nowrap; transition: background .2s;
}
.fur-browse-btn:hover { background: #c96; }

.fur-cat-dropdown {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid #ebebeb;
  width: 220px; z-index: 1001;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.fur-browse-cat:hover .fur-cat-dropdown { display: block; }

.fur-cat-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; text-decoration: none; color: #333; font-size: 13px;
  position: relative; transition: background .15s, color .15s;
}
.fur-cat-item:hover { background: #f5f5f5; color: #c96; }
.fur-cat-thumb { width: 28px; height: 28px; object-fit: cover; border-radius: 2px; flex-shrink: 0; }
.fur-cat-arrow { margin-left: auto; font-size: 11px; color: #aaa; }

.fur-cat-sub {
  display: none; position: absolute; top: 0; left: 100%;
  background: #fff; border: 1px solid #ebebeb; min-width: 180px;
  box-shadow: 4px 4px 12px rgba(0,0,0,.08); list-style: none; margin: 0; padding: 8px 0;
}
.fur-cat-item.has-sub:hover > .fur-cat-sub { display: block; }
.fur-cat-sub li a {
  display: block; padding: 8px 16px; color: #555; font-size: 13px; text-decoration: none;
}
.fur-cat-sub li a:hover { color: #c96; padding-left: 20px; }

/* Nav links */
.fur-nav { flex: 1; }
.fur-nav ul {
  display: flex; list-style: none; margin: 0; padding: 0; height: 100%; align-items: stretch;
}
.fur-nav ul li { position: relative; }
.fur-nav ul li a {
  display: flex; align-items: center; gap: 4px;
  padding: 0 14px; height: 100%;
  font-size: 13px; font-weight: 600; color: #444; text-decoration: none;
  white-space: nowrap; transition: color .15s;
}
.fur-nav ul li a:hover,
.fur-nav ul li a.active { color: #c96; }
.fur-nav ul li a.active::after {
  content: ''; display: block;
  position: absolute; bottom: 0; left: 14px; right: 14px; height: 2px; background: #c96;
}

/* Dropdown reuseusing molla-nav-dropdown — scoped inside fur-nav */
.fur-nav .molla-nav-dropdown {
  top: 100%; left: 0;
}
.fur-nav li:hover > .molla-nav-dropdown { display: block; }
.fur-nav .molla-nav-dropdown li.has-sub:hover > .molla-nav-dropdown--sub { display: block; }

/* Promo tag */
.fur-nav-promo {
  display: flex; align-items: center;
  padding: 0 14px; margin-left: auto; flex-shrink: 0;
  font-size: 13px; font-weight: 700; color: #e84040; text-decoration: none;
  white-space: nowrap;
}
.fur-nav-promo:hover { color: #c00; }

/* ── Responsive ── */
@media (max-width: 991px) {
  .fur-search-form { max-width: 400px; }
  .fur-navbar { display: none; }
  .fur-mobile-toggle { display: flex; }
  .fur-header-icons .fur-icon-btn:not(.header-cart-icon) { display: none; }
}
@media (max-width: 767px) {
  .fur-header-topbar { display: none; }
  .fur-header-inner { padding: 0 1rem; }
  .fur-search-form .fur-search-input { width: 80px; padding: 8px 10px; font-size: 13px; }
}
@media (max-width: 480px) {
  .fur-search-form { display: none; }
  .fur-header-inner { gap: 10px; }
}
