/* ═══════════════════════════════════════════════════════════
   Hoşhanlı Bedesten — Header Styles
   Premium kuyumcu teması — beyaz/zarif/temiz
   ═══════════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --hb-gold: #b8860b;
  --hb-gold-light: #d4af37;
  --hb-dark: #2e353b;
  --hb-darker: #1a1e22;
  --hb-text: #333;
  --hb-text-light: #666;
  --hb-border: #e8e8e8;
  --hb-bg: #ffffff;
  --hb-bg-warm: #faf8f2;
  --hb-radius: 4px;
  --hb-radius-lg: 8px;
  --hb-shadow: 0 2px 12px rgba(0,0,0,.08);
  --hb-shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --hb-transition: .25s ease;
  --hb-container-width: 1320px;
  --hb-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --hb-font-display: 'Playfair Display', Georgia, serif;
}

/* ── Announcement Marquee ── */
.hb-announcement-marquee {
  background: var(--hb-dark);
  color: #fff;
  font-size: 12px;
  letter-spacing: .3px;
  overflow: hidden;
  position: relative;
  height: 36px;
  display: flex;
  align-items: center;
}

.hb-marquee-track {
  display: flex;
  white-space: nowrap;
  animation: hbMarquee 60s linear infinite;
  will-change: transform;
}

.hb-mq-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 32px;
  font-weight: 400;
  opacity: .9;
}

.hb-mq-item svg {
  width: 14px;
  height: 14px;
  opacity: .7;
  flex-shrink: 0;
}

@keyframes hbMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Topbar ── */
.hb-topbar {
  background: var(--hb-dark);
  color: rgba(255,255,255,.85);
  font-size: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.hb-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  gap: 16px;
}

.hb-topbar-left,
.hb-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hb-topbar a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: color var(--hb-transition);
}

.hb-topbar a:hover {
  color: var(--hb-gold-light);
}

.hb-topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hb-topbar-phone svg {
  width: 12px;
  height: 12px;
}

.hb-topbar-sep {
  opacity: .35;
  margin: 0 2px;
}

/* ── Header ── */
.hb-header {
  background: var(--hb-bg);
  border-bottom: 1px solid var(--hb-border);
  position: relative;
  z-index: 100;
}

.hb-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  min-height: 90px;
}

/* Hamburger — premium menu trigger.
   Full !important guard list to defeat parent base.css `button { background:#202020 }` leak.
   Spans tapered (22/18/22) for editorial feel; subtle gold tint on hover. */
.hb-hamburger {
  display: none;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 8px !important;
  margin: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  color: #2e353b;
  transition: background-color .25s ease;
}

.hb-hamburger:hover,
.hb-hamburger:focus-visible,
.hb-hamburger:active {
  background: rgba(212, 175, 55, .12) !important;
  background-color: rgba(212, 175, 55, .12) !important;
  outline: none !important;
}

.hb-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #2e353b;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease, width .25s ease;
  pointer-events: none;
}

.hb-hamburger span:nth-child(2) {
  width: 18px;
}

.hb-hamburger:hover span:nth-child(2),
.hb-hamburger:focus-visible span:nth-child(2) {
  width: 22px;
}

/* Logo */
.hb-header-logo {
  flex-shrink: 0;
}

.hb-header-logo a {
  display: inline-block;
}

.hb-header-logo img {
  max-height: 70px;
  width: auto !important;
  height: auto;
  display: block;
  object-fit: contain;
}

.hb-logo-text {
  font-family: var(--hb-font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--hb-dark);
  text-decoration: none;
  letter-spacing: -.5px;
}

/* Search */
.hb-header-search {
  width: 100%;
  max-width: 520px;
  justify-self: center;
}

.hb-search-form {
  display: flex;
  align-items: center;
  border: 1px solid var(--hb-border);
  border-radius: 40px;
  overflow: hidden;
  background: var(--hb-bg-warm);
  transition: border-color var(--hb-transition), box-shadow var(--hb-transition);
}

.hb-search-form:focus-within {
  border-color: var(--hb-gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,.12);
}

.hb-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--hb-text);
  font-family: var(--hb-font-primary);
}

.hb-search-input::placeholder {
  color: #999;
}

.hb-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hb-gold);
  border: none;
  cursor: pointer;
  padding: 10px 16px;
  color: #fff;
  transition: background var(--hb-transition);
}

.hb-search-btn:hover {
  background: var(--hb-gold-light);
}

/* Header Actions */
.hb-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hb-header-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  color: var(--hb-text);
  text-decoration: none;
  border-radius: var(--hb-radius);
  transition: color var(--hb-transition), background var(--hb-transition);
  position: relative;
  font-size: 13px;
  white-space: nowrap;
}

.hb-header-action:hover {
  color: var(--hb-gold);
  background: var(--hb-bg-warm);
}

.hb-header-action svg {
  flex-shrink: 0;
}

.hb-action-label {
  font-size: 12px;
  font-weight: 500;
}

.hb-action-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--hb-gold);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  opacity: 0;
  transform: scale(.8);
  transition: opacity var(--hb-transition), transform var(--hb-transition);
}

.hb-action-badge.hb-badge-active {
  opacity: 1;
  transform: scale(1);
}

.hb-mobile-search-toggle {
  display: none;
}

/* ── Main Navigation ── */
.hb-nav {
  background: var(--hb-bg);
  border-bottom: 1px solid var(--hb-border);
  position: relative;
  z-index: 99;
}

.hb-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hb-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
}

.hb-nav-menu > li {
  position: relative;
}

.hb-nav-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 14px 16px;
  color: var(--hb-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .3px;
  text-transform: uppercase;
  transition: color var(--hb-transition);
  white-space: nowrap;
}

.hb-nav-menu > li > a:hover,
.hb-nav-menu > li:hover > a {
  color: var(--hb-gold);
}

.hb-chevron {
  transition: transform var(--hb-transition);
  opacity: .5;
}

.hb-nav-menu > li:hover .hb-chevron {
  transform: rotate(180deg);
  opacity: .8;
}

/* ── Simple Dropdown ── */
.hb-nav-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--hb-bg);
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius-lg);
  box-shadow: var(--hb-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--hb-transition);
  z-index: 200;
}

.hb-nav-menu > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hb-nav-menu .sub-menu li a {
  display: block;
  padding: 8px 20px;
  color: var(--hb-text);
  text-decoration: none;
  font-size: 13px;
  transition: color var(--hb-transition), background var(--hb-transition);
}

.hb-nav-menu .sub-menu li a:hover {
  color: var(--hb-gold);
  background: var(--hb-bg-warm);
}

/* ── Mega Menu ── */
.hb-mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 860px;
  background: var(--hb-bg);
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius-lg);
  box-shadow: var(--hb-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--hb-transition);
  z-index: 200;
  overflow: hidden;
}

.hb-has-mega:hover > .hb-mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.hb-mega-panel-grouped {
  width: 900px;
}

/* Tabbed Mega */
.hb-mega-tabbed {
  display: grid;
  grid-template-columns: 200px 1fr 220px;
  min-height: 340px;
}

.hb-mega-sidebar {
  list-style: none;
  margin: 0;
  padding: 12px 0;
  background: var(--hb-bg-warm);
  border-right: 1px solid var(--hb-border);
}

.hb-mega-tab {
  cursor: pointer;
}

.hb-mega-tab a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  color: var(--hb-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all var(--hb-transition);
}

.hb-mega-tab:hover a,
.hb-mega-tab.active a {
  color: var(--hb-gold);
  background: var(--hb-bg);
}

.hb-tab-arrow {
  opacity: .4;
  transition: opacity var(--hb-transition);
}

.hb-mega-tab:hover .hb-tab-arrow,
.hb-mega-tab.active .hb-tab-arrow {
  opacity: .8;
}

.hb-mega-panels {
  padding: 20px 24px;
  overflow-y: auto;
}

.hb-mega-tab-panel {
  display: none;
}

.hb-mega-tab-panel.active {
  display: block;
}

.hb-mega-heading {
  font-family: var(--hb-font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--hb-dark);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hb-border);
}

.hb-mega-tab-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.hb-mega-tab-link {
  display: block;
  padding: 7px 10px;
  color: var(--hb-text);
  text-decoration: none;
  font-size: 13px;
  border-radius: var(--hb-radius);
  transition: all var(--hb-transition);
}

.hb-mega-tab-link:hover {
  color: var(--hb-gold);
  background: var(--hb-bg-warm);
}

.hb-mega-tab-all {
  display: inline-block;
  margin-top: 16px;
  color: var(--hb-gold);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.hb-mega-tab-all:hover {
  text-decoration: underline;
}

.hb-mega-tab-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 16px;
  text-align: center;
}

.hb-mega-tab-simple-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--hb-dark);
}

/* Mega Featured/Promo */
.hb-mega-featured {
  padding: 16px;
  display: flex;
  align-items: stretch;
}

.hb-mega-promo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--hb-dark);
  color: #fff;
  padding: 24px 16px;
  border-radius: var(--hb-radius-lg);
  flex: 1;
  gap: 8px;
}

.hb-mega-promo-img {
  margin-bottom: 4px;
}

.hb-mega-promo-icon {
  font-size: 28px;
  opacity: .6;
}

.hb-mega-promo-title {
  font-family: var(--hb-font-display);
  font-size: 15px;
  font-weight: 600;
}

.hb-mega-promo-text {
  font-size: 12px;
  opacity: .8;
  line-height: 1.5;
}

.hb-mega-promo-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 20px;
  background: var(--hb-gold);
  color: var(--hb-dark);
  text-decoration: none;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  transition: background var(--hb-transition);
}

.hb-mega-promo-btn:hover {
  background: var(--hb-gold-light);
  color: var(--hb-dark);
}

/* Flat Mega */
.hb-mega-flat {
  display: grid;
  grid-template-columns: 1fr 240px;
  min-height: 280px;
}

.hb-mega-flat-content {
  padding: 24px;
}

.hb-mega-flat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.hb-mega-flat-link {
  display: block;
  padding: 7px 10px;
  color: var(--hb-text);
  text-decoration: none;
  font-size: 13px;
  border-radius: var(--hb-radius);
  transition: all var(--hb-transition);
}

.hb-mega-flat-link:hover {
  color: var(--hb-gold);
  background: var(--hb-bg-warm);
}

.hb-mega-flat-featured {
  padding: 16px;
  border-left: 1px solid var(--hb-border);
  display: flex;
  align-items: stretch;
}

/* ── Mega Backdrop ── */
.hb-mega-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.3);
  z-index: 98;
}

.hb-mega-backdrop.active {
  display: block;
}

/* ── Mobile Search ── */
.hb-mobile-search {
  display: none;
  background: var(--hb-bg);
  padding: 12px 16px;
  border-bottom: 1px solid var(--hb-border);
}

.hb-mobile-search.active {
  display: block;
}

.hb-mobile-search form {
  display: flex;
  align-items: center;
  border: 1px solid var(--hb-border);
  border-radius: 40px;
  overflow: hidden;
  background: var(--hb-bg-warm);
}

.hb-mobile-search input[type="search"] {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 16px;
  font-size: 14px;
}

.hb-mobile-search button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hb-gold);
  border: none;
  padding: 10px 14px;
  color: #fff;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════
   Mobile Nav — Minimal White Drawer
   Pure typography-led. No dots, no tints, no decoration.
   ═══════════════════════════════════════════════════════════ */
.hb-mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,19,22,.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}

.hb-mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.hb-mobile-nav {
  position: fixed;
  top: 0;
  left: -105%;
  width: 322px;
  max-width: 86vw;
  height: 100%;
  height: 100dvh;
  background: #fff;
  z-index: 1000;
  transition: left .35s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0,0,0,.08);
}

.hb-mobile-nav.active {
  left: 0;
}

/* Header — logo + close, kompakt: tüm L1'lerin scroll'suz sığması için chrome küçük tutulur */
.hb-mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 24px 12px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
  flex-shrink: 0;
}

.hb-mobile-nav-header .custom-logo-link {
  display: flex;
  align-items: center;
  max-width: calc(100% - 56px);
}

.hb-mobile-nav-header img,
.hb-mobile-nav-header .custom-logo-link img {
  max-height: 64px !important;
  width: auto !important;
}

.hb-mobile-nav-title {
  font-family: var(--hb-font-display);
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: .03em;
}

.hb-mobile-nav-close {
  width: 32px;
  height: 32px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  color: #999 !important;
  transition: color .2s ease;
}

.hb-mobile-nav-close svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
}

.hb-mobile-nav-close:hover,
.hb-mobile-nav-close:focus-visible,
.hb-mobile-nav-close:active {
  background: transparent !important;
  color: #1a1a1a !important;
  outline: none;
}

/* Auth pills — outlined: Giriş Yap (gold-accent) + Üye Ol / Hesabım + Çıkış */
.hb-mobile-quick-links {
  display: flex;
  gap: 6px;
  padding: 10px 24px 12px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex-shrink: 0;
  background: #fff;
}

.hb-mobile-quick-links::-webkit-scrollbar {
  display: none;
}

.hb-mobile-quick-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: transparent;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 999px;
  color: #3a3a3a;
  text-decoration: none;
  font-family: var(--hb-font-primary);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color .2s ease, color .2s ease;
}

.hb-mobile-quick-links a svg {
  flex-shrink: 0;
  stroke: currentColor;
}

.hb-mobile-quick-links a:hover,
.hb-mobile-quick-links a:active,
.hb-mobile-quick-links a:focus-visible {
  border-color: #1a1a1a;
  color: #1a1a1a;
  outline: none;
}

.hb-mobile-quick-links .hb-mql-highlight {
  background: transparent !important;
  border-color: var(--hb-gold) !important;
  color: var(--hb-gold) !important;
  font-weight: 600 !important;
}

.hb-mobile-quick-links .hb-mql-highlight:hover,
.hb-mobile-quick-links .hb-mql-highlight:active {
  background: transparent !important;
  border-color: var(--hb-gold-light) !important;
  color: var(--hb-gold-light) !important;
}

/* Scrollable body */
.hb-mobile-nav-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 8px 0 20px;
  background: #fff;
}

/* Menu lists — reset */
.hb-mobile-menu,
.hb-mobile-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

#hbMobileNav .hb-mobile-menu a,
#hbMobileNav .hb-mobile-menu button {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

.hb-mobile-menu > li {
  border-bottom: 1px solid rgba(0,0,0,.06);
  position: relative;
}

.hb-mobile-menu > li:last-child {
  border-bottom: none;
}

/* Level-1 parent — kompakt 14px / 36px min-h: 10 kategori scroll'suz sığar */
.hb-mobile-menu > li > a {
  display: flex;
  align-items: center;
  padding: 9px 48px 9px 24px;
  color: #1a1a1a;
  text-decoration: none;
  font-family: var(--hb-font-primary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .015em;
  line-height: 1.35;
  min-height: 36px;
  transition: color .2s ease, background .2s ease;
}

.hb-mobile-menu > li > a:hover,
.hb-mobile-menu > li > a:active,
.hb-mobile-menu > li > a:focus-visible {
  background: rgba(0,0,0,.018);
  color: var(--hb-gold);
  outline: none;
}

/* Expanded parent — text only shifts (no bg, no border). Medium weight + gold */
.hb-mobile-menu > li.is-expanded > a {
  background: transparent;
  color: var(--hb-gold);
  font-weight: 500;
}

/* Parent tema custom.min.js tüm .menu-item-has-children öğelerine legacy
   .submenu-toggle ekliyor; drawer içinde tek toggle kaynağı bizim button. */
#hbMobileNav .hb-mobile-menu button.submenu-toggle,
#hbMobileNav .hb-mobile-menu .submenu-toggle {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Sub-toggle chevron — hairline-separated rail + outlined micro-control.
   Parent button leak'ini ezen 10-katmanlı !important guard. */
.hb-mobile-sub-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 36px;
  min-height: 36px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-left: 1px solid rgba(0,0,0,.05) !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: pointer;
  color: rgba(46, 53, 59, .52);
  transition: color .25s ease, border-color .25s ease;
  z-index: 2;
}

.hb-mobile-sub-toggle::before,
.hb-mobile-sub-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  pointer-events: none;
}

.hb-mobile-sub-toggle::before {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(46, 53, 59, .12);
  border-radius: 999px;
  background: transparent;
  transform: translate(-50%, -50%) scale(1);
  transition: border-color .25s ease, transform .25s ease;
}

.hb-mobile-sub-toggle::after {
  width: 7px;
  height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translate(-50%, -62%) rotate(45deg);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}

.hb-mobile-sub-toggle:hover,
.hb-mobile-sub-toggle:focus-visible,
.hb-mobile-sub-toggle:active {
  background: transparent !important;
  color: #2e353b;
  border-left-color: rgba(0,0,0,.08) !important;
  outline: none !important;
}

.hb-mobile-sub-toggle:hover::before,
.hb-mobile-sub-toggle:focus-visible::before,
.hb-mobile-sub-toggle:active::before {
  border-color: rgba(46, 53, 59, .22);
  transform: translate(-50%, -50%) scale(1.04);
}

.hb-mobile-sub-toggle:focus-visible::before {
  outline: 2px solid rgba(184, 148, 31, .22);
  outline-offset: 2px;
}

.hb-mobile-sub-toggle.open {
  color: var(--hb-gold);
  border-left-color: rgba(184,148,31,.18) !important;
}

.hb-mobile-sub-toggle.open::before {
  border-color: rgba(184, 148, 31, .34);
}

.hb-mobile-sub-toggle.open::after {
  transform: translate(-50%, -38%) rotate(225deg);
}

.hb-mobile-sub-toggle svg {
  display: none !important;
}

/* Sub-menu — clean soft gray background, display toggle + fade-in */
.hb-mobile-menu .sub-menu {
  display: none;
  background: #fafafa;
}

.hb-mobile-menu .sub-menu.open {
  display: block;
  animation: hbSubMenuSlide .28s cubic-bezier(.4,0,.2,1);
}

@keyframes hbSubMenuSlide {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hb-mobile-menu .sub-menu > li {
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,.05);
}

.hb-mobile-menu .sub-menu > li:last-child {
  border-bottom: none;
}

/* Level-2 anchor — kompakt: accordion açıldığında scroll yapar, ana liste etkilenmez */
.hb-mobile-menu .sub-menu > li > a {
  display: flex;
  align-items: center;
  padding: 9px 48px 9px 36px;
  color: #4a4a4a;
  text-decoration: none;
  font-family: var(--hb-font-primary);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
  min-height: 36px;
  transition: color .2s ease, background .2s ease;
}

.hb-mobile-menu .sub-menu > li > a:hover,
.hb-mobile-menu .sub-menu > li > a:active,
.hb-mobile-menu .sub-menu > li > a:focus-visible {
  background: rgba(0,0,0,.02);
  color: #1a1a1a;
  outline: none;
}

/* Grouped parent (Yüzük inside Altın Takı) — slightly heavier, slightly darker */
.hb-mobile-menu .sub-menu > li.hb-mobile-group > a {
  font-weight: 500;
  color: #1a1a1a;
  font-size: 13.5px;
  letter-spacing: .005em;
  min-height: 38px;
}

.hb-mobile-menu .sub-menu > li.hb-mobile-group.is-expanded > a {
  color: var(--hb-gold);
}

/* Level-3 — grouped grandchildren, lighter gray, deeper indent */
.hb-mobile-menu .sub-menu .sub-menu {
  background: #f5f5f5;
}

.hb-mobile-menu .sub-menu .sub-menu > li {
  border-bottom-color: rgba(0,0,0,.045);
}

.hb-mobile-menu .sub-menu .sub-menu > li > a {
  padding: 8px 48px 8px 48px;
  font-size: 12px;
  font-weight: 400;
  color: #6a6a6a;
  min-height: 32px;
}

.hb-mobile-menu .sub-menu .sub-menu > li > a:hover,
.hb-mobile-menu .sub-menu .sub-menu > li > a:active {
  background: rgba(0,0,0,.025);
  color: #1a1a1a;
}

/* Footer — kompakt utility links + outlined action butonlar */
.hb-mobile-nav-footer {
  padding: 0 24px calc(env(safe-area-inset-bottom, 0px) + 12px);
  border-top: 1px solid rgba(0,0,0,.06);
  background: #fff;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.hb-mnf-utility-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.05);
}

.hb-mnf-utility-link {
  color: #5a5a5a;
  text-decoration: none;
  font-family: var(--hb-font-primary);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .2s ease;
  white-space: nowrap;
}

.hb-mnf-utility-link:hover,
.hb-mnf-utility-link:active,
.hb-mnf-utility-link:focus-visible {
  color: #1a1a1a;
  outline: none;
}

.hb-mnf-utility-sep {
  color: #c8c8c8;
  font-size: 12px;
  user-select: none;
}

.hb-mnf-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 10px;
}

.hb-mnf-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 10px;
  background: transparent;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 4px;
  color: #1a1a1a;
  text-decoration: none;
  font-family: var(--hb-font-primary);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: border-color .2s ease, color .2s ease;
  min-height: 36px;
}

.hb-mnf-item svg {
  width: 12px;
  height: 12px;
  stroke-width: 1.8;
}

.hb-mnf-item:hover,
.hb-mnf-item:active,
.hb-mnf-item:focus-visible {
  border-color: #1a1a1a;
  color: #1a1a1a;
  outline: none;
}

.hb-mnf-whatsapp {
  background: transparent !important;
  border-color: #25d366 !important;
  color: #1a8f47 !important;
}

.hb-mnf-whatsapp:hover,
.hb-mnf-whatsapp:active,
.hb-mnf-whatsapp:focus-visible {
  background: transparent !important;
  border-color: #1fb857 !important;
  color: #107a38 !important;
}

/* Narrow viewport — daha sıkı padding, font-size sabit (kompaktlık zaten max'a yakın) */
@media (max-width: 360px) {
  .hb-mobile-nav {
    width: 302px;
    max-width: 92vw;
  }

  .hb-mobile-menu > li > a {
    font-size: 13.5px;
    padding: 8px 44px 8px 20px;
    min-height: 34px;
  }

  .hb-mobile-menu .sub-menu > li > a {
    padding: 8px 44px 8px 32px;
    min-height: 34px;
    font-size: 12.5px;
  }

  .hb-mobile-menu .sub-menu .sub-menu > li > a {
    padding: 7px 44px 7px 44px;
    min-height: 30px;
    font-size: 11.5px;
  }

  .hb-mobile-sub-toggle {
    width: 44px;
    height: 34px;
    min-height: 34px;
  }

  .hb-mobile-sub-toggle::before {
    width: 26px;
    height: 26px;
  }

  .hb-mobile-sub-toggle::after {
    width: 6px;
    height: 6px;
  }

  .hb-mobile-nav-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .hb-topbar { display: none; }

  .hb-header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding: 10px 0;
  }

  .hb-hamburger {
    display: flex;
    order: -1;
  }

  .hb-header-search {
    display: none;
  }

  .hb-mobile-search-toggle {
    display: inline-flex;
  }

  .hb-action-label {
    display: none;
  }

  .hb-nav {
    display: none;
  }

  .hb-header-logo img {
    max-height: 48px;
  }
}

@media (max-width: 575px) {
  .hb-announcement-marquee {
    height: 30px;
    font-size: 11px;
  }

  .hb-header-inner {
    gap: 8px;
    padding: 8px 0;
  }

  .hb-header-actions {
    gap: 0;
  }

  .hb-header-action {
    padding: 6px;
  }

  .hb-header-action svg {
    width: 20px;
    height: 20px;
  }
}
