/* ==============================================
   HABIBI SCHAWARMA – DESIGN SYSTEM v2
   Mobile-first. Class prefix: hb-
   ============================================== */

/* ─── DESIGN TOKENS ─────────────────────────── */
:root {
  /* Brand */
  --hb-red: #D91F26;
  --hb-red-dark: #B01820;
  --hb-red-light: #FDECEA;
  --hb-black: #1A1A1A;
  --hb-white: #FFFFFF;
  --hb-off-white: #FAF8F5;
  --hb-gold: #F5A623;
  --hb-gold-light: #FEF6E4;

  /* Neutrals */
  --hb-gray-50: #F9F9F8;
  --hb-gray-100: #F0EFEC;
  --hb-gray-200: #E5E4E0;
  --hb-gray-300: #C8C7C4;
  --hb-gray-400: #9B9A97;
  --hb-gray-500: #7E7D7A;
  --hb-gray-600: #666462;
  --hb-gray-800: #333231;

  /* Typography */
  --hb-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --hb-font-display: 'Dancing Script', cursive;

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-7: 1.75rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Layout */
  --hb-container: 1320px;
  --hb-radius-xs: 4px;
  --hb-radius-sm: 8px;
  --hb-radius-md: 14px;
  --hb-radius-lg: 22px;
  --hb-radius-full: 9999px;
  --hb-header-h: 76px;
  --hb-cart-w: 320px;
  --hb-restaurant-bar-h: 72px;
  /* mobile/tablet default — meta row hidden below 1024px */

  /* Shadows */
  --hb-shadow-xs: 0 1px 3px rgba(0, 0, 0, .07);
  --hb-shadow-sm: 0 2px 8px rgba(0, 0, 0, .09);
  --hb-shadow-md: 0 4px 18px rgba(0, 0, 0, .12);
  --hb-shadow-lg: 0 10px 40px rgba(0, 0, 0, .16);

  /* Transitions */
  --hb-transition: 0.2s ease;
}

/* Desktop: full restaurant bar with meta row visible */
@media (min-width: 1024px) {
  :root {
    --hb-restaurant-bar-h: 88px;
  }
}

/* ─── RESET & BASE ───────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--hb-font);
  background: var(--hb-off-white);
  color: var(--hb-black);
  line-height: 1.6;
  overflow-x: hidden;
  /* Sticky footer: body fills viewport, main grows, footer stays at bottom */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* All <main> elements flex-grow to push footer to viewport bottom */
main {
  flex: 1 0 auto;
}

/* Footer never shrinks below its natural height */
.hb-footer {
  flex-shrink: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul,
ol {
  list-style: none;
}

textarea {
  font-family: inherit;
}

/* ─── LAYOUT ─────────────────────────────────── */
.hb-container {
  width: 100%;
  max-width: var(--hb-container);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

@media (min-width: 768px) {
  .hb-container {
    padding: 0 var(--sp-8);
  }
}

@media (min-width: 1024px) {
  .hb-container {
    padding: 0 var(--sp-10);
  }
}

/* ─── BUTTONS ────────────────────────────────── */
.hb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--hb-font);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.6rem 1.35rem;
  border-radius: var(--hb-radius-full);
  transition: background var(--hb-transition), color var(--hb-transition),
    transform var(--hb-transition), box-shadow var(--hb-transition);
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: .01em;
}

.hb-btn--primary {
  background: var(--hb-red);
  color: var(--hb-white);
  box-shadow: 0 2px 12px rgba(217, 31, 38, .32);
}

.hb-btn--primary:hover {
  background: var(--hb-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(217, 31, 38, .42);
}

.hb-btn--primary:active {
  transform: translateY(0);
}

.hb-btn--outline {
  background: transparent;
  color: var(--hb-white);
  border: 2px solid rgba(255, 255, 255, .55);
}

.hb-btn--outline:hover {
  background: rgba(255, 255, 255, .12);
  border-color: var(--hb-white);
}

.hb-btn--outline-dark {
  background: transparent;
  color: var(--hb-red);
  border: 2px solid var(--hb-red);
}

.hb-btn--outline-dark:hover {
  background: var(--hb-red-light);
}

.hb-btn--lg {
  font-size: 1.02rem;
  padding: 0.8rem 1.9rem;
}

.hb-btn--sm {
  font-size: 0.82rem;
  padding: 0.42rem 1rem;
}

.hb-btn--full {
  width: 100%;
}

/* ─── SECTION HEADERS ────────────────────────── */
.hb-section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.hb-section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hb-red);
  margin-bottom: var(--sp-3);
}

.hb-section-label--light {
  color: var(--hb-gold);
}

.hb-section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--hb-black);
  letter-spacing: -.02em;
}

.hb-section-title--light {
  color: var(--hb-white);
}

.hb-section-sub {
  margin-top: var(--sp-4);
  color: var(--hb-gray-600);
  font-size: 1rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ─── HEADER ─────────────────────────────────── */
.hb-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--hb-header-h);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hb-gray-200);
  transition: box-shadow var(--hb-transition);
}

.hb-header.is-scrolled {
  box-shadow: var(--hb-shadow-md);
}

.hb-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--sp-6);
}

/* Logo */
.hb-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.hb-logo__img,
.hb-logo .custom-logo {
  height: 50px;         /* mobile base */
  width: auto;          /* proportional to height */
  max-width: 220px;     /* cap very wide logos from overflowing the header */
  object-fit: contain;  /* never distort if WP outputs fixed width/height attrs */
  display: block;
}

.hb-logo__fallback {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.hb-logo__text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--hb-black);
  letter-spacing: -.025em;
}

.hb-logo__accent {
  color: var(--hb-red);
}

/* Desktop Nav */
.hb-nav {
  display: none;
}

@media (min-width: 1024px) {
  .hb-nav {
    display: flex;
    align-items: center;
    gap: var(--sp-7);
  }
}

.hb-nav__link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--hb-gray-800);
  transition: color var(--hb-transition);
  position: relative;
  padding-bottom: 2px;
}

.hb-nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--hb-red);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--hb-transition);
}

.hb-nav__link:hover {
  color: var(--hb-red);
}

.hb-nav__link:hover::after {
  transform: scaleX(1);
}

/* Header Actions */
.hb-header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.hb-header__cta {
  display: none;
}

@media (min-width: 640px) {
  .hb-header__cta {
    display: inline-flex;
  }
}

/* Hamburger */
.hb-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  padding: 0;
}

@media (min-width: 1024px) {
  .hb-hamburger {
    display: none;
  }
}

.hb-hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--hb-black);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

.hb-hamburger.is-open span:nth-child(1) {
  transform: translateY(9.75px) rotate(45deg);
}

.hb-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hb-hamburger.is-open span:nth-child(3) {
  transform: translateY(-9.75px) rotate(-45deg);
}

/* ─── MOBILE MENU ────────────────────────────── */
.hb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .48);
  z-index: 800;
}

.hb-overlay.is-visible {
  display: block;
}

.hb-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100dvh;
  background: var(--hb-white);
  z-index: 850;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: var(--hb-shadow-lg);
}

.hb-mobile-menu.is-open {
  transform: translateX(0);
}

.hb-mobile-menu__inner {
  padding: var(--sp-6) var(--sp-6) var(--sp-10);
  flex: 1;
}

.hb-mobile-menu__close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: var(--sp-8);
  font-size: 1.4rem;
  color: var(--hb-gray-600);
  transition: color var(--hb-transition);
}

.hb-mobile-menu__close:hover {
  color: var(--hb-red);
}

.hb-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.hb-mobile-nav__link {
  display: block;
  padding: var(--sp-3) var(--sp-4);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--hb-black);
  border-radius: var(--hb-radius-sm);
  transition: background var(--hb-transition), color var(--hb-transition);
}

.hb-mobile-nav__link:hover {
  background: var(--hb-red-light);
  color: var(--hb-red);
}

.hb-mobile-menu__info {
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--hb-gray-200);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  font-size: 0.9rem;
  color: var(--hb-gray-600);
}

.hb-mobile-menu__info a {
  color: var(--hb-red);
  font-weight: 500;
}

/* ─── HERO – VOLLBILD-MEDIA ──────────────────── */
/*
  HINTERGRUNDBILD:
  Sobald assets/images/hero-food.jpg vorhanden ist, diese Zeile
  in .hb-hero aktivieren:
    background-image: url('assets/images/hero-food.jpg');

  HINWEIS: Die Placeholder-Styles (Gradient-Hintergrund) bleiben
  im Fallback erhalten, solange keine Datei vorhanden ist.
*/
.hb-hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--hb-header-h);

  /* ── Placeholder-Hintergrund (solange kein Bild/Video vorhanden) ── */
  background-color: #1A1A1A;
  background-image:
    radial-gradient(ellipse 80% 60% at 65% 40%, rgba(217, 31, 38, .30) 0%, transparent 65%),
    radial-gradient(ellipse 60% 80% at 20% 70%, rgba(180, 10, 10, .20) 0%, transparent 60%),
    linear-gradient(160deg, #1A1A1A 0%, #2C0A0B 55%, #1A1A1A 100%);

  /* ── Echtes Bild: diese Zeile einkommentieren ──────────────────── */
  /* background-image: url('assets/images/hero-food.jpg'); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  .hb-hero {
    min-height: 700px;
  }
}

@media (min-width: 1024px) {
  .hb-hero {
    min-height: 760px;
  }
}

/* ── Media-Ebene (Hintergrundbild / Video-Container) ── */
.hb-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/*
  VIDEO-ELEMENT
  Wenn das <video>-Tag einkommentiert wird, deckt es den gesamten
  Hintergrund ab. object-fit: cover sorgt für korrektes Zuschneiden.
*/
.hb-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Kein pointer-events, damit Klicks auf Buttons durchgehen */
  pointer-events: none;
}

/* ── Static background image (ACF hero image field) ── */
.hb-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ── Overlay: dunkle Schicht für Textlesbarkeit ── */
/*
  Stärke anpassen, sobald echtes Food-Foto vorhanden ist.
  Aktuell etwas transparenter, da der Placeholder selbst dunkel ist.
*/
.hb-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(0, 0, 0, .55) 0%,
      rgba(0, 0, 0, .45) 50%,
      rgba(0, 0, 0, .65) 100%);
}

/*
  ── Container über den Medien ──
  .hb-container übernimmt Zentrierung + seitliche Abstände.
  Er bekommt position:relative + z-index:2, damit er über
  Overlay (z-index:1) und Media-Ebene (z-index:0) liegt.
*/
.hb-hero>.hb-container {
  position: relative;
  z-index: 2;
  padding-top: var(--sp-16);
  padding-bottom: calc(var(--sp-20) + 48px);
  /* Raum für Wellen-SVG */
  width: 100%;
}

/* ── Textblock: linksbündig, max. 620px breit ── */
.hb-hero__content {
  max-width: 620px;
}

/* Badge */
.hb-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(245, 166, 35, .15);
  border: 1px solid rgba(245, 166, 35, .38);
  color: var(--hb-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--hb-radius-full);
  margin-bottom: var(--sp-6);
}

/* Hauptüberschrift */
.hb-hero__headline {
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.07;
  color: var(--hb-white);
  letter-spacing: -.03em;
  margin-bottom: var(--sp-5);
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}

.hb-hero__accent {
  color: var(--hb-red);
}

/* Untertext */
.hb-hero__sub {
  font-size: 1.04rem;
  color: rgba(255, 255, 255, .78);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: var(--sp-8);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .30);
}

/* CTA-Zeile */
.hb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

/* Info-Zeile */
.hb-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, .52);
}

/* Wellen-Übergang */
.hb-hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
}

.hb-hero__wave svg {
  width: 100%;
  display: block;
}

/* ── Mobile ── */
@media (max-width: 639px) {
  .hb-hero {
    min-height: 580px;
    align-items: flex-end;
  }

  .hb-hero>.hb-container {
    padding-top: var(--sp-12);
    padding-bottom: calc(var(--sp-16) + 48px);
  }

  .hb-hero__content {
    max-width: 100%;
  }

  .hb-hero__headline {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
  }

  .hb-hero__sub {
    font-size: 0.96rem;
  }
}

/* ─── HIGHLIGHTS ─────────────────────────────── */
.hb-highlights {
  background: var(--hb-off-white);
  padding: var(--sp-24) 0;
}

/* 1 col → 2 col at 540px → 3 col at 900px */
.hb-highlights__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

@media (min-width: 540px) {
  .hb-highlights__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-5);
  }
}

@media (min-width: 900px) {
  .hb-highlights__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
  }
}

/* Dish card */
.hb-dish-card {
  background: var(--hb-white);
  border-radius: var(--hb-radius-md);
  overflow: hidden;
  box-shadow: var(--hb-shadow-xs);
  border: 1px solid var(--hb-gray-200);
  transition: transform var(--hb-transition), box-shadow var(--hb-transition);
  display: flex;
  flex-direction: column;
}

.hb-dish-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hb-shadow-md);
  border-color: transparent;
}

/* Square image */
.hb-dish-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

/* [WP: WooCommerce featured image — replace .hb-placeholder with <img> tag] */
.hb-dish-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hb-dish-card__body {
  padding: var(--sp-5);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hb-dish-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--sp-2);
  color: var(--hb-black);
  line-height: 1.25;
}

.hb-dish-card__desc {
  font-size: 0.84rem;
  color: var(--hb-gray-600);
  line-height: 1.5;
  margin-bottom: var(--sp-4);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hb-dish-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--hb-gray-100);
}

.hb-dish-card__price {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--hb-red);
}

.hb-highlights__cta {
  text-align: center;
  margin-top: var(--sp-12);
}

/* ─── IMAGE PLACEHOLDERS ─────────────────────── */
.hb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
}

.hb-placeholder--warm {
  background: linear-gradient(135deg, #FEF0E7 0%, #FDD9C0 100%);
}

.hb-placeholder--golden {
  background: linear-gradient(135deg, #FEF9E4 0%, #FDECC0 100%);
}

.hb-placeholder--green {
  background: linear-gradient(135deg, #EDF8F1 0%, #C9EDD9 100%);
}

.hb-placeholder--cream {
  background: linear-gradient(135deg, #FEF9F0 0%, #F5E6C8 100%);
}

.hb-placeholder--red {
  background: linear-gradient(135deg, #FDECEA 0%, #F5C5C3 100%);
}

.hb-placeholder--orange {
  background: linear-gradient(135deg, #FEF3E8 0%, #FCDDB4 100%);
}

/* Product card thumbnails get a smaller emoji */
.hb-product-card__img .hb-placeholder {
  font-size: 1.6rem;
}

/* ─── ORDERING SECTION ───────────────────────── */
.hb-ordering {
  background: var(--hb-gray-50);
  padding-top: var(--hb-header-h);
  padding-bottom: var(--sp-24);
}

/* Restaurant info bar */
.hb-restaurant-bar {
  background: var(--hb-white);
  border-bottom: 2px solid var(--hb-gray-100);
  padding: var(--sp-5) 0;
  position: sticky;
  top: var(--hb-header-h);
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

.hb-restaurant-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
}

.hb-restaurant-bar__name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--hb-black);
  margin-bottom: var(--sp-1);
  letter-spacing: -.025em;
}

.hb-restaurant-bar__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-6);
  font-size: 0.875rem;
  color: var(--hb-gray-600);
}

.hb-restaurant-bar__meta a:hover {
  color: var(--hb-red);
}

.hb-restaurant-bar__badges {
  display: flex;
  gap: var(--sp-2);
  align-items: center;
  flex-shrink: 0;
}

/* Mobile/tablet: hide verbose meta row so bar height is predictable for sticky offset */
@media (max-width: 1023px) {
  .hb-restaurant-bar__meta {
    display: none;
  }

  .hb-restaurant-bar__name {
    font-size: 1.1rem;
  }
}

/* Small mobile: hide gray service badges, keep green Geöffnet badge visible */
@media (max-width: 639px) {
  :root {
    --hb-restaurant-bar-h: 80px;
  }

  .hb-restaurant-bar__badges .hb-badge--gray {
    display: none;
  }
}

.hb-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--hb-radius-full);
  letter-spacing: .01em;
}

.hb-badge--green {
  background: #E6F9EF;
  color: #1B7A3F;
  border: 1px solid #B8EDD0;
}

.hb-badge--gray {
  background: var(--hb-gray-100);
  color: var(--hb-gray-600);
  border: 1px solid var(--hb-gray-200);
}

/* Desktop: menu area + cart */
.hb-ordering__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  padding-top: var(--sp-6);
  align-items: start;
}

@media (min-width: 1024px) {
  /* ── ORDERING PAGE LAYOUT WIDTH ─────────────────────────────────────────
     Previous patch set max-width:1200px which created ~360px dead space on
     each side at 1920px and ~120px at 1440px — the "huge whitespace" issue.

     Fix: 1480px cap fills 1280px and 1440px screens completely (24px gutter
     only), leaves only ~220px on each side at 1920px.

     Both selectors listed: body.page-ordering (theme body class, specificity
     0-3-1) is the primary anchor; .hb-ordering .hb-container (0-2-0) is the
     fallback if the body class is absent for any reason. ────────────────── */
  body.page-ordering .hb-ordering .hb-container,
  .hb-ordering .hb-container {
    max-width: 1480px;
    padding-left: var(--sp-6);
    padding-right: var(--sp-6);
  }

  body.page-ordering .hb-ordering__layout,
  .hb-ordering__layout {
    grid-template-columns: minmax(0, 1fr) var(--hb-cart-w);
    gap: 28px;
  }
}

/* ─── CATEGORY TABS ──────────────────────────── */
.hb-category-tabs {
  background: var(--hb-white);
  border-radius: var(--hb-radius-md);
  box-shadow: var(--hb-shadow-xs);
  border: 1px solid var(--hb-gray-200);
  margin-bottom: var(--sp-6);
  position: sticky;
  top: calc(var(--hb-header-h) + var(--hb-restaurant-bar-h));
  z-index: 150;
  overflow: hidden;
}

.hb-category-tabs::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 36px;
  pointer-events: none;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--hb-white));
  z-index: 1;
  display: none;
}

@media (max-width: 767px) {
  .hb-category-tabs::after {
    display: block;
  }
}

.hb-category-tabs__scroll {
  display: flex;
  overflow-x: auto;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5);
  scrollbar-width: none;
}

.hb-category-tabs__scroll::-webkit-scrollbar {
  display: none;
}

.hb-cat-tab {
  flex-shrink: 0;
  padding: var(--sp-2) var(--sp-7);
  border-radius: var(--hb-radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--hb-gray-600);
  background: transparent;
  transition: background var(--hb-transition), color var(--hb-transition), box-shadow var(--hb-transition);
  white-space: nowrap;
}

.hb-cat-tab:hover {
  background: var(--hb-gray-100);
  color: var(--hb-black);
}

.hb-cat-tab.active {
  background: var(--hb-red);
  color: var(--hb-white);
  box-shadow: 0 3px 10px rgba(217, 31, 38, .35);
}

/* ─── MENU CATEGORY BLOCK ────────────────────── */
.hb-menu-category {
  margin-bottom: var(--sp-12);
}

.hb-menu-category.is-hidden {
  display: none;
}

.hb-menu-category__title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--hb-black);
  letter-spacing: -.02em;
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 2px solid var(--hb-gray-100);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

/* ─── PRODUCT GRID ───────────────────────────── */
.hb-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}

@media (min-width: 600px) {
  .hb-product-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
  }
}

/* ─── PRODUCT CARD ───────────────────────────── */
.hb-product-card {
  background: var(--hb-white);
  border-radius: var(--hb-radius-md);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
  display: flex;
  align-items: stretch;
  transition: box-shadow var(--hb-transition), transform var(--hb-transition), border-color var(--hb-transition);
  border: 1px solid var(--hb-gray-200);
  min-height: 112px;
}

.hb-product-card:hover {
  box-shadow: var(--hb-shadow-md);
  transform: translateY(-3px);
  border-color: rgba(217, 31, 38, .18);
}

/* Thumbnail */
.hb-product-card__img {
  position: relative;
  width: 120px;
  flex-shrink: 0;
  overflow: hidden;
  align-self: stretch;
}

/* [WP: WooCommerce product thumbnail — replace .hb-placeholder with <img> tag] */
.hb-product-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Card body */
.hb-product-card__body {
  flex: 1;
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-width: 0;
}

.hb-product-card__info {
  flex: 1;
  min-width: 0;
}

.hb-product-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hb-black);
  margin-bottom: var(--sp-1);
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hb-product-card__desc {
  font-size: 0.82rem;
  color: var(--hb-gray-600);
  line-height: 1.5;
  margin-bottom: var(--sp-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Allergen as subtle pill */
.hb-allergen {
  display: inline-block;
  font-size: 0.69rem;
  font-weight: 500;
  color: var(--hb-gray-400);
  background: var(--hb-gray-50);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-xs);
  padding: 1px 6px;
  letter-spacing: .02em;
}

.hb-allergen:empty {
  display: none;
}

/* hides ghost pill when no allergen content */

/* Price + button column */
.hb-product-card__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-3);
  flex-shrink: 0;
  align-self: stretch;
  padding: var(--sp-3) 0;
}

.hb-product-card__price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--hb-red);
  letter-spacing: -.01em;
  white-space: nowrap;
}

/* Circle + add button */
.hb-add-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--hb-red);
  color: var(--hb-white);
  font-size: 1.5rem;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--hb-transition), transform var(--hb-transition), box-shadow var(--hb-transition);
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(217, 31, 38, .35);
  line-height: 1;
}

.hb-add-btn:hover {
  background: var(--hb-red-dark);
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(217, 31, 38, .42);
}

.hb-add-btn:active {
  transform: scale(0.94);
}

.hb-add-btn:focus-visible {
  outline: 3px solid var(--hb-red);
  outline-offset: 3px;
}

/* ─── ALLERGEN LEGEND ────────────────────────── */
.hb-allergen-legend {
  background: var(--hb-white);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-md);
  padding: var(--sp-5) var(--sp-6);
  margin-top: var(--sp-6);
}

.hb-allergen-legend h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--hb-gray-600);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: var(--sp-4);
}

.hb-allergen-legend__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2) var(--sp-6);
  font-size: 0.78rem;
  color: var(--hb-gray-600);
  line-height: 1.5;
}

@media (min-width: 640px) {
  .hb-allergen-legend__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hb-allergen-legend__grid b {
  color: var(--hb-black);
  font-weight: 700;
}

/* ─── CART SIDEBAR ───────────────────────────── */
.hb-cart-sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .hb-cart-sidebar {
    display: block;
    position: sticky;
    top: calc(var(--hb-header-h) + var(--hb-restaurant-bar-h) + 12px);
    height: calc(100vh - var(--hb-header-h) - var(--hb-restaurant-bar-h) - 32px);
    max-height: calc(100vh - var(--hb-header-h) - var(--hb-restaurant-bar-h) - 32px);
  }
}

.hb-cart {
  background: var(--hb-white);
  border-radius: var(--hb-radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .10);
  border: 1px solid var(--hb-gray-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: inherit;
}

.hb-cart__header {
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 2px solid var(--hb-gray-100);
  background: var(--hb-gray-50);
}

.hb-cart__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--hb-black);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.hb-cart__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-12) var(--sp-6);
  gap: var(--sp-3);
}

.hb-cart__empty-icon {
  font-size: 2.8rem;
  opacity: .35;
}

.hb-cart__empty-text {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--hb-gray-800);
  letter-spacing: -.01em;
}

.hb-cart__empty-sub {
  font-size: 0.81rem;
  color: var(--hb-gray-400);
  line-height: 1.55;
  max-width: 200px;
}

.hb-cart__items {
  flex: 1;
  overflow-y: auto;
  padding: var(--sp-3) var(--sp-4);
}

.hb-cart-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  border-radius: var(--hb-radius-sm);
  transition: background var(--hb-transition);
  border-bottom: 1px solid var(--hb-gray-100);
}

.hb-cart-item:last-child {
  border-bottom: none;
}

.hb-cart-item:hover {
  background: var(--hb-gray-50);
}

.hb-cart-item__qty-ctrl {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--hb-gray-100);
  border-radius: var(--hb-radius-full);
  padding: var(--sp-1) var(--sp-2);
  flex-shrink: 0;
}

.hb-cart-item__qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--hb-white);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--hb-transition);
  box-shadow: var(--hb-shadow-xs);
  line-height: 1;
}

.hb-cart-item__qty-btn:hover {
  background: var(--hb-red-light);
}

.hb-cart-item__qty-btn--remove:hover {
  background: var(--hb-red);
  color: white;
}

.hb-cart-item__qty-val {
  font-size: 0.88rem;
  font-weight: 700;
  min-width: 1.2ch;
  text-align: center;
}

.hb-cart-item__info {
  flex: 1;
  min-width: 0;
}

.hb-cart-item__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hb-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hb-cart-item__unit {
  font-size: 0.75rem;
  color: var(--hb-gray-400);
  margin-top: 1px;
}

.hb-cart-item__price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--hb-black);
  flex-shrink: 0;
}

.hb-cart__footer {
  padding: var(--sp-5) var(--sp-6);
  border-top: 2px solid var(--hb-gray-100);
  background: var(--hb-gray-50);
  flex-shrink: 0;
}

.hb-cart__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: var(--sp-2);
}

.hb-cart__note {
  text-align: center;
  margin-bottom: var(--sp-4);
  color: var(--hb-gray-400);
  font-size: 0.75rem;
}

.hb-cart__disclaimer {
  text-align: center;
  font-size: 0.74rem;
  color: var(--hb-gray-400);
  margin-top: var(--sp-3);
}

/* ─── WHY US ─────────────────────────────────── */
.hb-why-us {
  background: linear-gradient(135deg, #1A1A1A 0%, #2B0A0B 100%);
  padding: var(--sp-24) 0;
}

.hb-why-us__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

@media (min-width: 768px) {
  .hb-why-us__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-6);
  }
}

.hb-why-card {
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--hb-radius-md);
  transition: background var(--hb-transition), transform var(--hb-transition);
}

.hb-why-card:hover {
  background: rgba(255, 255, 255, .09);
  transform: translateY(-4px);
}

.hb-why-card__icon {
  font-size: 2.4rem;
  margin-bottom: var(--sp-4);
  display: block;
}

.hb-why-card__title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--hb-white);
  margin-bottom: var(--sp-3);
  letter-spacing: -.01em;
}

.hb-why-card__text {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, .60);
  line-height: 1.6;
}

/* ─── LOCATION ───────────────────────────────── */
.hb-location {
  background: var(--hb-white);
  padding: var(--sp-24) 0;
}

.hb-location__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: start;
}

@media (min-width: 768px) {
  .hb-location__inner {
    grid-template-columns: 1fr 1fr;
  }
}

.hb-location__details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}

.hb-location__item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}

.hb-location__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.hb-location__item strong {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: var(--sp-1);
}

.hb-location__item p {
  font-size: 0.9rem;
  color: var(--hb-gray-600);
  line-height: 1.55;
}

.hb-location__link {
  color: var(--hb-red);
  font-weight: 500;
}

.hb-location__link:hover {
  text-decoration: underline;
}

.hb-hours-table {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  margin-top: var(--sp-2);
}

.hb-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--hb-gray-600);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--hb-radius-xs);
  background: var(--hb-gray-50);
  gap: var(--sp-6);
}

.hb-hours-time {
  font-weight: 700;
  color: var(--hb-black);
}

.hb-hours-row--closed {
  opacity: .65;
}

.hb-hours-closed {
  color: var(--hb-red);
  font-weight: 600;
}

.hb-location__platforms {
  margin-top: var(--sp-8);
}

.hb-location__platforms p {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--hb-gray-600);
  margin-bottom: var(--sp-3);
}

.hb-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.hb-platform-badge {
  background: var(--hb-gray-100);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-full);
  padding: var(--sp-2) var(--sp-4);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--hb-gray-800);
  transition: background var(--hb-transition);
}

.hb-platform-badge:hover {
  background: var(--hb-gray-200);
}

.hb-map-placeholder {
  background: var(--hb-gray-100);
  border-radius: var(--hb-radius-md);
  border: 2px dashed var(--hb-gray-200);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hb-map-placeholder__inner {
  text-align: center;
  padding: var(--sp-8);
  color: var(--hb-gray-600);
}

.hb-map-placeholder__pin {
  font-size: 3rem;
  display: block;
  margin-bottom: var(--sp-4);
}

.hb-map-placeholder__inner strong {
  display: block;
  font-size: 1.05rem;
  color: var(--hb-black);
  margin-bottom: var(--sp-2);
}

.hb-map-placeholder__inner p {
  font-size: 0.88rem;
  margin-bottom: var(--sp-6);
  line-height: 1.5;
}

/* ─── FOOTER ─────────────────────────────────── */
.hb-footer {
  background: var(--hb-white);
  color: var(--hb-gray-600);
  border-top: 1px solid var(--hb-gray-200);
}

/* Grid: 1-col mobile → 2-col tablet → 4-col desktop */
.hb-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  padding-top: var(--sp-12);
  padding-bottom: var(--sp-10);
}

@media (min-width: 640px) {
  .hb-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }
}

@media (min-width: 1024px) {
  .hb-footer__inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--sp-12);
    padding-top: var(--sp-20);
    padding-bottom: var(--sp-16);
  }
}

/* Brand column: span full width on 2-col tablet so it sits above the 3 menu cols */
@media (min-width: 640px) and (max-width: 1023px) {
  .hb-footer__brand {
    grid-column: 1 / -1;
  }
}

/* Logo */
.hb-footer__logo {
  margin-bottom: var(--sp-4);
}

.hb-footer__logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.hb-footer__logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--hb-black);
  display: block;
}

/* Description */
.hb-footer__description {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--sp-6);
  color: var(--hb-gray-500);
  max-width: 300px;
}

/* Social icon buttons */
.hb-footer__socials {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.hb-footer__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-sm);
  color: var(--hb-gray-500);
  background: transparent;
  transition: color var(--hb-transition), border-color var(--hb-transition), background var(--hb-transition);
  flex-shrink: 0;
}

.hb-footer__social-btn:hover {
  color: var(--hb-black);
  border-color: var(--hb-gray-400);
  background: var(--hb-gray-100);
}

.hb-footer__social-btn .hb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.hb-footer__social-btn .hb-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Menu columns */
.hb-footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--hb-black);
  margin-bottom: var(--sp-5);
}

.hb-footer__menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.hb-footer__menu-list a {
  font-size: 0.9rem;
  color: var(--hb-gray-500);
  transition: color var(--hb-transition);
}

.hb-footer__menu-list a:hover,
.hb-footer__menu-list .current-menu-item > a {
  color: var(--hb-red);
}

/* Bottom bar */
.hb-footer__bottom {
  border-top: 1px solid var(--hb-gray-200);
  padding: var(--sp-6) 0;
}

.hb-footer__copyright {
  text-align: center;
  font-size: 0.82rem;
  color: var(--hb-gray-400);
  line-height: 1.6;
}

/* ─── PRODUCT MODAL ──────────────────────────── */
.hb-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .58);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

@media (min-width: 640px) {
  .hb-modal-overlay {
    align-items: center;
    padding: var(--sp-6);
  }
}

.hb-modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.hb-modal-overlay.is-open .hb-modal {
  transform: translateY(0) scale(1);
}

.hb-modal {
  background: var(--hb-white);
  border-radius: var(--hb-radius-lg) var(--hb-radius-lg) 0 0;
  width: 100%;
  max-width: 560px;
  max-height: 92svh;
  overflow-y: auto;
  transform: translateY(30px) scale(.99);
  transition: transform .3s ease;
  position: relative;
}

@media (min-width: 640px) {
  .hb-modal {
    border-radius: var(--hb-radius-lg);
    max-height: 88vh;
  }
}

.hb-modal__close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--hb-shadow-sm);
  color: var(--hb-gray-800);
  transition: background var(--hb-transition), color var(--hb-transition);
  font-weight: 600;
}

.hb-modal__close:hover {
  background: var(--hb-gray-100);
  color: var(--hb-black);
}

/* Modal image */
.hb-modal__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--hb-radius-lg) var(--hb-radius-lg) 0 0;
  position: relative;
}

.hb-modal__img-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #FEF0E7 0%, #FDD9C0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hb-modal__img-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hb-modal__emoji {
  font-size: 5.5rem;
}

/* Modal body */
.hb-modal__body {
  padding: var(--sp-6) var(--sp-7) var(--sp-7);
}

.hb-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-3);
}

.hb-modal__title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--hb-black);
  line-height: 1.2;
  letter-spacing: -.02em;
}

.hb-modal__price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--hb-red);
  flex-shrink: 0;
}

.hb-modal__desc {
  font-size: 0.92rem;
  color: var(--hb-gray-600);
  line-height: 1.65;
  margin-bottom: var(--sp-3);
}

/* Allergen pill in modal */
.hb-modal__allergen {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--hb-gray-600);
  background: var(--hb-gray-50);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-xs);
  padding: 3px 10px;
  margin-bottom: var(--sp-6);
  letter-spacing: .01em;
}

/* Divider before notes */
.hb-modal__divider {
  height: 1px;
  background: var(--hb-gray-100);
  margin: var(--sp-5) 0;
}

.hb-modal__notes {
  margin-top: var(--sp-1);
}

.hb-modal__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--hb-black);
  margin-bottom: var(--sp-2);
  letter-spacing: -.01em;
}

.hb-modal__textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-sm);
  font-size: 0.88rem;
  color: var(--hb-black);
  resize: none;
  transition: border-color var(--hb-transition), background var(--hb-transition);
  background: var(--hb-gray-50);
  line-height: 1.55;
}

.hb-modal__textarea:focus {
  outline: none;
  border-color: var(--hb-red);
  background: var(--hb-white);
}

.hb-modal__textarea::placeholder {
  color: var(--hb-gray-400);
}

.hb-modal__footer {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
  flex-wrap: wrap;
}

/* Quantity control */
.hb-qty-control {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: var(--hb-gray-100);
  border-radius: var(--hb-radius-full);
  padding: var(--sp-2) var(--sp-3);
  flex-shrink: 0;
}

.hb-qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--hb-white);
  font-size: 1.3rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--hb-shadow-xs);
  transition: background var(--hb-transition);
  line-height: 1;
  color: var(--hb-black);
}

.hb-qty-btn:hover {
  background: var(--hb-red-light);
}

.hb-qty-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.hb-qty-value {
  font-size: 1.05rem;
  font-weight: 700;
  min-width: 1.5ch;
  text-align: center;
}

#hb-modal-add-btn {
  flex: 1;
  min-width: 200px;
  font-size: 0.92rem;
  font-weight: 700;
}

/* ─── MOBILE CART BAR ────────────────────────── */
.hb-mobile-cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: var(--sp-3) var(--sp-4) calc(var(--sp-3) + env(safe-area-inset-bottom, 0px));
  background: var(--hb-white);
  box-shadow: 0 -8px 24px rgba(26, 26, 26, 0.08);
}

@media (min-width: 1024px) {
  .hb-mobile-cart-bar {
    display: none !important;
  }
}

.hb-mobile-cart-bar__btn {
  width: 100%;
  background: var(--hb-red);
  color: var(--hb-white);
  font-size: 0.96rem;
  font-weight: 700;
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--hb-radius-full);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  box-shadow: var(--hb-shadow-lg);
  transition: background var(--hb-transition);
}

.hb-mobile-cart-bar__btn:hover {
  background: var(--hb-red-dark);
}

.hb-mobile-cart-bar__count {
  background: rgba(255, 255, 255, .25);
  border-radius: var(--hb-radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 2px 10px;
  min-width: 28px;
  text-align: center;
}

.hb-mobile-cart-bar__total {
  font-weight: 800;
}

/* Mobile cart drawer */
.hb-mobile-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}

.hb-mobile-cart-drawer.is-open {
  pointer-events: all;
}

.hb-mobile-cart-drawer.is-open .hb-mobile-cart-drawer__inner {
  transform: translateY(0);
}

.hb-mobile-cart-drawer__inner {
  background: var(--hb-white);
  border-radius: var(--hb-radius-lg) var(--hb-radius-lg) 0 0;
  width: 100%;
  max-height: 80svh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform .3s ease;
  box-shadow: var(--hb-shadow-lg);
}

.hb-mobile-cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6) var(--sp-4);
  border-bottom: 1px solid var(--hb-gray-200);
}

.hb-mobile-cart-drawer__header h3 {
  font-size: 1.08rem;
  font-weight: 700;
}

.hb-mobile-cart-drawer__close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--hb-gray-100);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--hb-transition);
}

.hb-mobile-cart-drawer__close:hover {
  background: var(--hb-gray-200);
}

.hb-mobile-cart-drawer__items {
  padding: var(--sp-4) var(--sp-5);
  min-height: 100px;
}

.hb-mobile-cart-drawer__footer {
  padding: var(--sp-5) var(--sp-6) var(--sp-6);
  border-top: 1px solid var(--hb-gray-200);
}

.hb-mobile-cart-drawer__footer .hb-btn {
  margin-top: var(--sp-4);
}

/* Drag handle indicator */
.hb-mobile-cart-drawer__inner::before {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: var(--hb-gray-200);
}

/* ─── SCROLLBARS ─────────────────────────────── */
.hb-cart__items::-webkit-scrollbar,
.hb-mobile-cart-drawer__inner::-webkit-scrollbar {
  width: 4px;
}

.hb-cart__items::-webkit-scrollbar-track,
.hb-mobile-cart-drawer__inner::-webkit-scrollbar-track {
  background: transparent;
}

.hb-cart__items::-webkit-scrollbar-thumb,
.hb-mobile-cart-drawer__inner::-webkit-scrollbar-thumb {
  background: var(--hb-gray-200);
  border-radius: 4px;
}

/* ─── UTILITY ────────────────────────────────── */
.hb-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

body.hb-locked {
  overflow: hidden;
}

/* ═══════════════════════════════════════════════
   MULTI-PAGE ADDITIONS — PHASE 1
   ═══════════════════════════════════════════════ */

/* ─── FORMS ──────────────────────────────────── */
.hb-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.hb-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.hb-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--hb-black);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  line-height: 1.4;
}

.hb-label__req {
  color: var(--hb-red);
}

.hb-input,
.hb-textarea,
.hb-select {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-sm);
  font-family: var(--hb-font);
  font-size: 0.92rem;
  color: var(--hb-black);
  background: var(--hb-white);
  transition: border-color var(--hb-transition), box-shadow var(--hb-transition);
  outline: none;
}

.hb-input:focus,
.hb-textarea:focus,
.hb-select:focus {
  border-color: var(--hb-red);
  box-shadow: 0 0 0 3px rgba(217, 31, 38, .10);
}

.hb-input:hover:not(:focus),
.hb-textarea:hover:not(:focus),
.hb-select:hover:not(:focus) {
  border-color: var(--hb-gray-400);
}

.hb-input--error {
  border-color: var(--hb-red) !important;
  background: var(--hb-red-light) !important;
}

.hb-input::placeholder,
.hb-textarea::placeholder {
  color: var(--hb-gray-400);
}

.hb-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.55;
}

.hb-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239B9A97' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-4) center;
  padding-right: var(--sp-10);
}

.hb-field-error {
  font-size: 0.8rem;
  color: var(--hb-red);
  margin-top: var(--sp-1);
  line-height: 1.45;
}

.hb-field-hint {
  font-size: 0.78rem;
  color: var(--hb-gray-400);
  line-height: 1.5;
}

.hb-check {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--hb-black);
  line-height: 1.5;
  user-select: none;
}

.hb-check input[type="checkbox"],
.hb-check input[type="radio"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid var(--hb-gray-200);
  border-radius: 4px;
  appearance: none;
  cursor: pointer;
  transition: border-color var(--hb-transition), background var(--hb-transition);
  margin-top: 2px;
  flex-shrink: 0;
}

.hb-check input[type="radio"] {
  border-radius: 50%;
}

.hb-check input:checked {
  background: var(--hb-red);
  border-color: var(--hb-red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.hb-check input[type="radio"]:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='5' fill='white'/%3E%3C/svg%3E");
  background-size: 8px;
}

.hb-field-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

@media (max-width: 480px) {
  .hb-field-group {
    grid-template-columns: 1fr;
  }
}

/* ─── HOW TO ORDER – 3 STEPS ─────────────────── */
.hb-how-order {
  background: var(--hb-white);
  padding: var(--sp-24) 0;
}

.hb-how-order__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  margin-bottom: var(--sp-12);
}

@media (min-width: 640px) {
  .hb-how-order__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
  }
}

.hb-step {
  position: relative;
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
  background: var(--hb-off-white);
  border-radius: var(--hb-radius-md);
  border: 1px solid var(--hb-gray-100);
  transition: transform var(--hb-transition), box-shadow var(--hb-transition);
}

.hb-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--hb-shadow-md);
}

.hb-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--hb-red);
  color: var(--hb-white);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 auto var(--sp-4);
}

.hb-step__icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: var(--sp-3);
}

.hb-step__title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--hb-black);
  margin-bottom: var(--sp-2);
  letter-spacing: -.01em;
}

.hb-step__text {
  font-size: 0.86rem;
  color: var(--hb-gray-600);
  line-height: 1.55;
}

@media (min-width: 640px) {
  .hb-step:not(:last-child)::after {
    content: '›';
    position: absolute;
    right: calc(-1 * var(--sp-4) - 2px);
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--hb-gray-200);
    pointer-events: none;
  }
}

.hb-how-order__cta {
  text-align: center;
}

/* ─── MENU CATEGORY PREVIEW ──────────────────── */
.hb-menu-preview {
  background: var(--hb-off-white);
  padding: var(--sp-24) 0;
}

.hb-menu-preview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

@media (min-width: 540px) {
  .hb-menu-preview__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .hb-menu-preview__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--sp-5);
  }
}

.hb-category-card {
  background: var(--hb-white);
  border-radius: var(--hb-radius-md);
  border: 1.5px solid var(--hb-gray-200);
  padding: var(--sp-7) var(--sp-4);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: inherit;
  transition: transform var(--hb-transition), box-shadow var(--hb-transition), border-color var(--hb-transition);
}

.hb-category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hb-shadow-md);
  border-color: var(--hb-red);
}

.hb-category-card__icon {
  font-size: 2.4rem;
}

.hb-category-card__name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--hb-black);
  line-height: 1.3;
}

.hb-category-card__count {
  font-size: 0.75rem;
  color: var(--hb-gray-400);
}

.hb-menu-preview__cta {
  text-align: center;
  margin-top: var(--sp-12);
}

/* ─── EXTENDED BADGE VARIANTS ────────────────── */
.hb-badge--hot {
  background: #FFF3E0;
  color: #BF360C;
}

.hb-badge--new {
  background: var(--hb-red-light);
  color: var(--hb-red-dark);
}

.hb-badge--veg {
  background: #E8F5E9;
  color: #2E7D32;
}

.hb-badge--spicy {
  background: #FCE4EC;
  color: #C62828;
}

.hb-badge--pickup {
  background: var(--hb-gold-light);
  color: #7B5800;
}

.hb-badge--delivery {
  background: #E3F2FD;
  color: #1565C0;
}

/* ─── MINIMAL FOOTER (ordering / thank-you page) ── */
.hb-footer--minimal .hb-footer__inner {
  display: none;
}

.hb-footer--minimal .hb-footer__bottom {
  border-top: 1px solid var(--hb-gray-200);
  padding: var(--sp-6) 0;
}

/* ─── DESIGN SYSTEM PAGE ─────────────────────── */
.hb-ds {
  padding-top: var(--hb-header-h);
}

.hb-ds__hero {
  background: var(--hb-black);
  padding: var(--sp-12) 0;
  border-bottom: 3px solid var(--hb-red);
}

.hb-ds__hero h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--hb-white);
  letter-spacing: -.025em;
  margin-bottom: var(--sp-2);
}

.hb-ds__hero p {
  color: rgba(255, 255, 255, .5);
  font-size: 0.9rem;
}

.hb-ds-toc {
  background: var(--hb-white);
  border-bottom: 1px solid var(--hb-gray-200);
  padding: var(--sp-4) 0;
  position: sticky;
  top: var(--hb-header-h);
  z-index: 100;
}

.hb-ds-toc__inner {
  display: flex;
  gap: var(--sp-6);
  overflow-x: auto;
  scrollbar-width: none;
}

.hb-ds-toc__inner::-webkit-scrollbar {
  display: none;
}

.hb-ds-toc__inner a {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--hb-gray-600);
  white-space: nowrap;
  transition: color var(--hb-transition);
  padding: 2px 0;
}

.hb-ds-toc__inner a:hover {
  color: var(--hb-red);
}

.hb-ds-section {
  padding: var(--sp-16) 0;
  border-bottom: 1px solid var(--hb-gray-100);
}

.hb-ds-section:last-child {
  border-bottom: none;
  padding-bottom: var(--sp-24);
}

.hb-ds-section__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hb-red);
  margin-bottom: var(--sp-2);
}

.hb-ds-section__title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--hb-black);
  letter-spacing: -.02em;
  margin-bottom: var(--sp-8);
}

/* Swatches */
.hb-ds-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
}

.hb-swatch {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.hb-swatch__color {
  width: 84px;
  height: 84px;
  border-radius: var(--hb-radius-sm);
  border: 1px solid rgba(0, 0, 0, .08);
}

.hb-swatch__name {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--hb-black);
}

.hb-swatch__val {
  font-size: 0.68rem;
  color: var(--hb-gray-400);
  font-family: 'Courier New', monospace;
}

/* Type table */
.hb-ds-type-list {
  display: flex;
  flex-direction: column;
}

.hb-ds-type-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: var(--sp-6);
  align-items: center;
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--hb-gray-100);
}

.hb-ds-type-row:last-child {
  border-bottom: none;
}

.hb-ds-type-meta {
  font-size: 0.7rem;
  color: var(--hb-gray-400);
  font-family: monospace;
  line-height: 1.7;
}

/* Spacing scale */
.hb-ds-spaces {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.hb-ds-space-row {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.hb-ds-space-bar {
  background: var(--hb-red);
  height: 20px;
  border-radius: 2px;
  flex-shrink: 0;
  opacity: .6;
}

.hb-ds-space-label {
  font-size: 0.78rem;
  color: var(--hb-gray-600);
  font-family: monospace;
  white-space: nowrap;
}

/* Radius samples */
.hb-ds-radii {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  align-items: flex-end;
}

.hb-ds-radius-item {
  text-align: center;
}

.hb-ds-radius-box {
  background: var(--hb-gray-100);
  border: 2px solid var(--hb-gray-200);
  width: 72px;
  height: 72px;
  margin-bottom: var(--sp-2);
}

.hb-ds-radius-label {
  font-size: 0.7rem;
  color: var(--hb-gray-600);
  font-family: monospace;
}

/* Shadow samples */
.hb-ds-shadows {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
}

.hb-ds-shadow-box {
  width: 130px;
  height: 70px;
  background: var(--hb-white);
  border-radius: var(--hb-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--hb-gray-400);
  text-align: center;
  padding: var(--sp-3);
  font-family: monospace;
}

/* Row helpers */
.hb-ds-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: flex-start;
  margin-bottom: var(--sp-6);
}

.hb-ds-form-demo {
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.hb-ds-card-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-5);
}

/* ══════════════════════════════════════════════════
   PHASE 2 — WARENKORB · KASSE · DANKE · KONTAKT · ÜBER UNS
   ══════════════════════════════════════════════════ */

/* ─── PAGE HERO (inner pages) ────────────────── */
.hb-page-hero {
  background: linear-gradient(135deg, #1A1A1A 0%, #2B0A0B 60%, #1A1A1A 100%);
  padding: calc(var(--hb-header-h) + var(--sp-12)) 0 var(--sp-12);
  text-align: center;
}

.hb-page-hero__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hb-gold);
  margin-bottom: var(--sp-3);
}

.hb-page-hero__title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--hb-white);
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: var(--sp-4);
}

.hb-page-hero__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, .65);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ─── CART PAGE ──────────────────────────────── */
.hb-cart-page {
  background: var(--hb-off-white);
  padding: var(--sp-10) 0 var(--sp-24);
}

.hb-cart-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-6);
  align-items: start;
}

@media (min-width: 1024px) {
  .hb-cart-page__layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}

.hb-cart-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-5);
}

.hb-cart-section__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--hb-black);
  letter-spacing: -.02em;
}

.hb-cart-table {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.hb-cart-table-row {
  background: var(--hb-white);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-md);
  padding: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  transition: box-shadow var(--hb-transition);
}

.hb-cart-table-row:hover {
  box-shadow: var(--hb-shadow-sm);
}

.hb-cart-table-row__thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--hb-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.hb-cart-table-row__thumb .hb-placeholder {
  font-size: 1.8rem;
  border-radius: var(--hb-radius-sm);
}

.hb-cart-table-row__info {
  flex: 1;
  min-width: 0;
}

.hb-cart-table-row__name {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--hb-black);
  margin-bottom: var(--sp-1);
  line-height: 1.3;
}

.hb-cart-table-row__meta {
  font-size: 0.8rem;
  color: var(--hb-gray-400);
}

.hb-cart-table-row__right {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-shrink: 0;
}

.hb-cart-table-row__price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--hb-black);
  min-width: 52px;
  text-align: right;
}

.hb-cart-table-row__remove {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--hb-gray-100);
  color: var(--hb-gray-400);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--hb-transition), color var(--hb-transition);
  flex-shrink: 0;
}

.hb-cart-table-row__remove:hover {
  background: var(--hb-red);
  color: var(--hb-white);
}

/* Empty cart state */
.hb-cart-empty-state {
  background: var(--hb-white);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-md);
  padding: var(--sp-20) var(--sp-8);
  text-align: center;
}

.hb-cart-empty-state__icon {
  font-size: 3.5rem;
  opacity: .22;
  display: block;
  margin-bottom: var(--sp-5);
}

.hb-cart-empty-state__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--hb-black);
  margin-bottom: var(--sp-3);
  letter-spacing: -.02em;
}

.hb-cart-empty-state__sub {
  font-size: 0.9rem;
  color: var(--hb-gray-600);
  margin-bottom: var(--sp-8);
  line-height: 1.6;
}

/* ─── ORDER SUMMARY CARD (cart + checkout shared) ─ */
.hb-order-card {
  background: var(--hb-white);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-md);
  box-shadow: var(--hb-shadow-sm);
  overflow: hidden;
}

.hb-order-card__header {
  background: var(--hb-gray-50);
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--hb-gray-200);
}

.hb-order-card__header h3 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--hb-black);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.hb-order-card__body {
  padding: var(--sp-5);
}

.hb-order-card__items {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--hb-gray-100);
  margin-bottom: var(--sp-4);
}

.hb-order-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--hb-gray-600);
  gap: var(--sp-3);
  padding: var(--sp-1) 0;
}

.hb-order-card__row span:last-child {
  font-weight: 600;
  color: var(--hb-black);
  white-space: nowrap;
}

.hb-order-card__row--muted span {
  color: var(--hb-gray-400) !important;
  font-weight: 400 !important;
}

.hb-order-card__divider {
  border: none;
  border-top: 1px solid var(--hb-gray-100);
  margin: var(--sp-3) 0;
}

.hb-order-card__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--hb-black);
  padding-top: var(--sp-2);
}

.hb-order-card__total-amount {
  color: var(--hb-red);
}

.hb-order-card__footer {
  padding: var(--sp-4) var(--sp-5) var(--sp-5);
  border-top: 1px solid var(--hb-gray-100);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.hb-order-card__continue {
  display: block;
  text-align: center;
  font-size: 0.86rem;
  color: var(--hb-gray-600);
  transition: color var(--hb-transition);
}

.hb-order-card__continue:hover {
  color: var(--hb-red);
}

.hb-order-card__note {
  font-size: 0.76rem;
  color: var(--hb-gray-400);
  text-align: center;
  line-height: 1.55;
}

/* ─── CHECKOUT PAGE ──────────────────────────── */
.hb-checkout {
  background: var(--hb-off-white);
  padding: var(--sp-10) 0 var(--sp-24);
}

.hb-checkout__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-6);
  align-items: start;
}

@media (min-width: 1024px) {
  .hb-checkout__layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}

.hb-form-section {
  background: var(--hb-white);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-md);
  padding: var(--sp-6) var(--sp-6) var(--sp-7);
}

.hb-form-section+.hb-form-section {
  margin-top: var(--sp-4);
}

.hb-form-section__head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.hb-form-section__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--hb-red);
  color: var(--hb-white);
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hb-form-section__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--hb-black);
  letter-spacing: -.02em;
}

.hb-form-section__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

/* Radio option cards */
.hb-radio-card-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

@media (max-width: 420px) {
  .hb-radio-card-group {
    grid-template-columns: 1fr;
  }
}

.hb-radio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-2);
  padding: var(--sp-5) var(--sp-4);
  border: 2px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-md);
  cursor: pointer;
  transition: border-color var(--hb-transition), background var(--hb-transition), box-shadow var(--hb-transition);
  background: var(--hb-white);
  user-select: none;
}

.hb-radio-card:hover {
  border-color: var(--hb-red);
  background: var(--hb-red-light);
}

.hb-radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Visual selected state — :has() supported in all modern browsers */
.hb-radio-card:has(input:checked) {
  border-color: var(--hb-red);
  background: var(--hb-red-light);
  box-shadow: 0 0 0 3px rgba(217, 31, 38, .10);
}

.hb-radio-card__icon {
  font-size: 2rem;
  display: block;
}

.hb-radio-card__title {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--hb-black);
}

.hb-radio-card__sub {
  font-size: 0.78rem;
  color: var(--hb-gray-600);
  line-height: 1.4;
}

.hb-checkout-cta {
  background: var(--hb-white);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-md);
  padding: var(--sp-6);
  margin-top: var(--sp-4);
}

.hb-checkout-sidebar {}

@media (min-width: 1024px) {
  .hb-checkout-sidebar {
    position: sticky;
    top: calc(var(--hb-header-h) + var(--sp-6));
  }
}

/* ─── FULFILLMENT MODAL ──────────────────────── */
.hb-fulfillment-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--sp-5);
}

.hb-fulfillment-modal.is-open {
  display: flex;
}

.hb-fulfillment-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}

.hb-fulfillment-modal__dialog {
  position: relative;
  background: var(--hb-white);
  border-radius: var(--hb-radius-lg, 16px);
  padding: var(--sp-10) var(--sp-7) var(--sp-8);
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
  text-align: center;
}

.hb-fulfillment-modal__close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  background: transparent;
  border: none;
  font-size: 1.1rem;
  color: var(--hb-gray-400);
  cursor: pointer;
  padding: var(--sp-2);
  line-height: 1;
  border-radius: var(--hb-radius-sm);
  transition: color var(--hb-transition);
}

.hb-fulfillment-modal__close:hover {
  color: var(--hb-black);
}

.hb-fulfillment-modal__title {
  font-size: clamp(1.1rem, 4vw, 1.35rem);
  font-weight: 800;
  color: var(--hb-black);
  letter-spacing: -.02em;
  margin-bottom: var(--sp-2);
}

.hb-fulfillment-modal__sub {
  font-size: 0.875rem;
  color: var(--hb-gray-600);
  margin-bottom: var(--sp-6);
  line-height: 1.5;
}

.hb-fulfillment-modal__options {
  margin-bottom: var(--sp-6);
}

.hb-fulfillment-modal__confirm:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.hb-fulfillment-modal__error {
  font-size: 0.82rem;
  color: var(--hb-red);
  text-align: center;
  margin-top: var(--sp-3);
  line-height: 1.5;
}

/* ─── CHECKOUT FULFILLMENT BANNER ────────────── */
.hb-fulfillment-banner {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: var(--hb-red-light, #FFF5F5);
  border: 1px solid rgba(217, 31, 38, .15);
  border-radius: var(--hb-radius-md);
  margin-bottom: var(--sp-5);
  font-size: 0.875rem;
}

.hb-fulfillment-banner--warn {
  background: #FFFBE6;
  border-color: rgba(200, 150, 0, .2);
}

.hb-fulfillment-banner__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
}

.hb-fulfillment-banner__text {
  color: var(--hb-gray-800);
  flex: 1;
}

.hb-fulfillment-banner__text strong {
  font-weight: 700;
  color: var(--hb-black);
}

.hb-fulfillment-banner__change {
  flex-shrink: 0;
  font-size: 0.78rem;
  color: var(--hb-red);
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}

.hb-fulfillment-banner__change:hover {
  text-decoration: none;
}

/* ─── PICKUP ADDRESS INFO ────────────────────── */
.hb-pickup-info {
  padding: var(--sp-4) var(--sp-5);
  background: var(--hb-white);
  border: 1px solid var(--hb-gray-200);
  border-left: 4px solid var(--hb-red);
  border-radius: var(--hb-radius-md);
  margin-bottom: var(--sp-5);
}

.hb-pickup-info__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--hb-black);
  margin-bottom: var(--sp-1);
}

.hb-pickup-info__address {
  font-size: 0.85rem;
  color: var(--hb-gray-600);
  line-height: 1.55;
}

/* ─── THANK YOU PAGE ─────────────────────────── */
.hb-thankyou {
  background: var(--hb-off-white);
  padding: calc(var(--hb-header-h) + var(--sp-16)) 0 var(--sp-24);
  min-height: 80vh;
}

.hb-thankyou__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.hb-success-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  color: var(--hb-white);
  font-size: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-7);
  box-shadow: 0 6px 28px rgba(76, 175, 80, .35);
}

.hb-thankyou__title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--hb-black);
  letter-spacing: -.03em;
  margin-bottom: var(--sp-4);
  line-height: 1.15;
}

.hb-thankyou__sub {
  font-size: 1rem;
  color: var(--hb-gray-600);
  line-height: 1.65;
  margin-bottom: var(--sp-8);
}

.hb-confirmation-card {
  background: var(--hb-white);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-md);
  overflow: hidden;
  margin-bottom: var(--sp-7);
  text-align: left;
  box-shadow: var(--hb-shadow-xs);
}

.hb-confirmation-card__num {
  background: var(--hb-gray-50);
  border-bottom: 1px solid var(--hb-gray-200);
  padding: var(--sp-4) var(--sp-5);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--hb-black);
  letter-spacing: .01em;
}

.hb-confirmation-card__body {
  padding: var(--sp-2) var(--sp-5) var(--sp-4);
}

.hb-confirmation-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  color: var(--hb-gray-600);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--hb-gray-100);
  gap: var(--sp-4);
}

.hb-confirmation-card__row:last-child {
  border-bottom: none;
}

.hb-confirmation-card__row span:last-child {
  font-weight: 600;
  color: var(--hb-black);
  text-align: right;
}

.hb-confirmation-card__row--total {
  font-weight: 800;
  font-size: 1rem;
  color: var(--hb-black);
}

.hb-confirmation-card__row--total span:last-child {
  color: var(--hb-red);
  font-size: 1.1rem;
}

.hb-thankyou__note {
  font-size: 0.9rem;
  color: var(--hb-gray-600);
  margin-bottom: var(--sp-8);
  line-height: 1.6;
}

.hb-thankyou__note a {
  color: var(--hb-red);
  font-weight: 600;
}

.hb-thankyou__note a:hover {
  text-decoration: underline;
}

.hb-thankyou__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
}

/* ─── CONTACT PAGE ───────────────────────────── */
.hb-contact {
  background: var(--hb-off-white);
  padding: var(--sp-10) 0 var(--sp-24);
}

.hb-contact__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  align-items: start;
}

@media (min-width: 1024px) {
  .hb-contact__layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-12);
  }
}

.hb-contact-cards {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.hb-contact-card {
  background: var(--hb-white);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-md);
  padding: var(--sp-5) var(--sp-6);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  transition: box-shadow var(--hb-transition), border-color var(--hb-transition);
}

.hb-contact-card:hover {
  box-shadow: var(--hb-shadow-sm);
  border-color: var(--hb-gray-400);
}

.hb-contact-card__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.hb-contact-card__body {
  flex: 1;
}

.hb-contact-card__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .10em;
  color: var(--hb-red);
  margin-bottom: var(--sp-2);
  display: block;
}

.hb-contact-card__content {
  font-size: 0.92rem;
  color: var(--hb-gray-800);
  line-height: 1.6;
}

.hb-contact-card__content a {
  color: var(--hb-red);
  font-weight: 500;
  transition: text-decoration var(--hb-transition);
}

.hb-contact-card__content a:hover {
  text-decoration: underline;
}

.hb-contact-card__content .hb-hours-table {
  margin-top: var(--sp-2);
}

.hb-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.hb-contact-form-col__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--hb-black);
  letter-spacing: -.02em;
  margin-bottom: var(--sp-6);
}

.hb-contact-form-card {
  background: var(--hb-white);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-md);
  padding: var(--sp-7) var(--sp-6);
}

/* ─── ABOUT PAGE ─────────────────────────────── */
.hb-story {
  background: var(--hb-white);
  padding: var(--sp-20) 0;
}

.hb-story__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
}

@media (min-width: 768px) {
  .hb-story__inner {
    grid-template-columns: 1fr 1fr;
  }
}

.hb-story__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hb-red);
  margin-bottom: var(--sp-3);
}

.hb-story__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--hb-black);
  letter-spacing: -.025em;
  line-height: 1.2;
  margin-bottom: var(--sp-6);
}

.hb-story__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  font-size: 0.96rem;
  color: var(--hb-gray-600);
  line-height: 1.75;
}

.hb-story__img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--hb-radius-lg);
  overflow: hidden;
  background: var(--hb-gray-100);
}

.hb-story__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hb-story__img-wrap .hb-placeholder {
  font-size: 5rem;
  height: 100%;
}

.hb-story__img-chip {
  position: absolute;
  bottom: var(--sp-4);
  left: var(--sp-4);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--hb-radius-full);
  padding: var(--sp-2) var(--sp-4);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--hb-black);
  letter-spacing: .04em;
  box-shadow: var(--hb-shadow-sm);
  pointer-events: none;
}

.hb-about-cta {
  background: linear-gradient(135deg, #1A1A1A 0%, #2B0A0B 60%, #1A1A1A 100%);
  padding: var(--sp-20) 0;
  text-align: center;
}

.hb-about-cta__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--hb-white);
  letter-spacing: -.03em;
  margin-bottom: var(--sp-4);
  line-height: 1.15;
}

.hb-about-cta__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, .65);
  margin-bottom: var(--sp-8);
  line-height: 1.6;
}

.hb-about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
}

/* ─── ABOUT PAGE — editable content section ─── */

.hb-about-page {
  background: var(--hb-white);
  padding: var(--sp-20) 0;
}

/* ── Two-column grid: content (1fr) + image (420px) ─────────────────────── */
.hb-about-page__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
}

@media (min-width: 768px) {
  .hb-about-page__grid {
    grid-template-columns: 1fr 420px;
    gap: var(--sp-16);
  }
}

/* ── Left column ──────────────────────────────────────────────────────────── */
.hb-about-page__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hb-red);
  margin-bottom: var(--sp-4);
}

.hb-about-page__heading {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--hb-black);
  letter-spacing: -.03em;
  line-height: 1.18;
  margin-bottom: var(--sp-6);
}

.hb-about-page__text {
  font-size: 0.96rem;
  color: var(--hb-gray-600);
  line-height: 1.8;
  margin-bottom: var(--sp-8);
}

.hb-about-page__text p {
  margin-bottom: var(--sp-4);
}

.hb-about-page__text p:last-child {
  margin-bottom: 0;
}

/* ── Highlights row ───────────────────────────────────────────────────────── */
.hb-about-page__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6) var(--sp-10);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--hb-gray-200);
}

.hb-about-page__highlight {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.hb-about-page__highlight strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--hb-black);
  letter-spacing: -.03em;
  line-height: 1;
}

.hb-about-page__highlight span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--hb-gray-500);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Right column — image card ────────────────────────────────────────────── */
.hb-about-page__image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--hb-radius-lg);
  overflow: hidden;
  background: var(--hb-gray-100);
  box-shadow: var(--hb-shadow-md);
}

.hb-about-page__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hb-about-page__image .hb-placeholder {
  font-size: 5rem;
  height: 100%;
}

/* ── Badge overlay ────────────────────────────────────────────────────────── */
.hb-about-page__badge {
  position: absolute;
  bottom: var(--sp-4);
  left: var(--sp-4);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--hb-radius-full);
  padding: var(--sp-2) var(--sp-4);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--hb-black);
  letter-spacing: .04em;
  box-shadow: var(--hb-shadow-sm);
  pointer-events: none;
}

/* ── Mobile adjustments (≤ 767px) ────────────────────────────────────────── */
@media (max-width: 767px) {
  .hb-about-page {
    padding: var(--sp-12) 0;
  }

  .hb-about-page__image {
    aspect-ratio: 3/2;
  }

  .hb-about-page__highlights {
    gap: var(--sp-4) var(--sp-8);
  }

  .hb-about-page__highlight strong {
    font-size: 1.3rem;
  }
}

/* ─── ABOUT VALUES — Warum Habibi? / Unsere Werte ─── */

.hb-about-values {
  background: var(--hb-off-white);
  padding: var(--sp-20) 0;
}

.hb-about-values__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--sp-12);
}

.hb-about-values__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hb-red);
  margin-bottom: var(--sp-4);
}

.hb-about-values__title {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 800;
  color: var(--hb-black);
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: var(--sp-4);
}

.hb-about-values__text {
  font-size: 0.96rem;
  color: var(--hb-gray-600);
  line-height: 1.7;
}

.hb-about-values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

@media (min-width: 600px) {
  .hb-about-values__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .hb-about-values__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hb-about-values__card {
  background: var(--hb-white);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-md);
  padding: var(--sp-8);
  box-shadow: var(--hb-shadow-sm);
  transition: transform var(--hb-transition), box-shadow var(--hb-transition);
}

.hb-about-values__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--hb-shadow-md);
}

.hb-about-values__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  font-size: 1.5rem;
  background: var(--hb-red-light);
  border-radius: var(--hb-radius-sm);
  margin-bottom: var(--sp-5);
}

.hb-about-values__card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hb-black);
  margin-bottom: var(--sp-3);
  line-height: 1.3;
}

.hb-about-values__card-text {
  font-size: 0.9rem;
  color: var(--hb-gray-600);
  line-height: 1.7;
}

@media (max-width: 599px) {
  .hb-about-values {
    padding: var(--sp-12) 0;
  }
}

/* ═══════════════════════════════════════════════
   PHASE 3 — LEGAL PAGES
   impressum | datenschutz | agb | zahlung | widerruf
═══════════════════════════════════════════════ */

/* ─── LEGAL PAGE WRAPPER ─────────────────────── */
.hb-legal {
  background: var(--hb-off-white);
  padding: var(--sp-10) 0 var(--sp-24);
}

.hb-legal__container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

/* ─── TABLE OF CONTENTS ──────────────────────── */
.hb-legal__toc {
  background: var(--hb-white);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-md);
  padding: var(--sp-5) var(--sp-6);
  margin-bottom: var(--sp-10);
}

.hb-legal__toc-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .10em;
  color: var(--hb-red);
  margin-bottom: var(--sp-3);
}

.hb-legal__toc ol {
  margin: 0;
  padding-left: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hb-legal__toc li a {
  font-size: 0.9rem;
  color: var(--hb-gray-700);
  transition: color var(--hb-transition);
}

.hb-legal__toc li a:hover {
  color: var(--hb-red);
}

/* ─── SECTIONS ───────────────────────────────── */
.hb-legal__section {
  margin-bottom: var(--sp-10);
  scroll-margin-top: calc(var(--hb-header-h) + var(--sp-6));
}

.hb-legal__section-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--hb-black);
  letter-spacing: -.015em;
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 2px solid var(--hb-red);
}

/* ─── CARDS ──────────────────────────────────── */
.hb-legal__card {
  background: var(--hb-white);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-md);
  padding: var(--sp-7) var(--sp-8);
  margin-bottom: var(--sp-4);
}

@media (max-width: 639px) {
  .hb-legal__card {
    padding: var(--sp-5) var(--sp-5);
  }
}

.hb-legal__card:last-child {
  margin-bottom: 0;
}

.hb-legal__card-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .10em;
  color: var(--hb-red);
  margin-bottom: var(--sp-3);
}

/* ─── BODY COPY ───────────────────────────────── */
.hb-legal p {
  font-size: 0.94rem;
  color: var(--hb-gray-700);
  line-height: 1.8;
  margin-bottom: var(--sp-4);
}

.hb-legal p:last-child {
  margin-bottom: 0;
}

.hb-legal strong {
  color: var(--hb-black);
  font-weight: 700;
}

.hb-legal em {
  font-style: italic;
}

.hb-legal a {
  color: var(--hb-red);
  font-weight: 500;
}

.hb-legal a:hover {
  text-decoration: underline;
}

.hb-legal ul,
.hb-legal ol {
  font-size: 0.94rem;
  color: var(--hb-gray-700);
  line-height: 1.8;
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-4);
}

.hb-legal li {
  margin-bottom: var(--sp-1);
}

.hb-legal h3 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--hb-black);
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-2);
}

.hb-legal h3:first-child {
  margin-top: 0;
}

.hb-legal h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--hb-black);
  letter-spacing: -.02em;
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
}

.hb-legal h2:first-child {
  margin-top: 0;
}

/* ─── WP EDITOR CONTENT BLOCKS ───────────────── */
/* H2 sections get a light top separator so the long doc scans more easily */
.hb-legal__content h2 {
  padding-top: var(--sp-8);
  border-top: 1px solid var(--hb-gray-100);
}

.hb-legal__content h2:first-child {
  padding-top: 0;
  border-top: none;
}

/* Anchor-jump offset: prevents the fixed header from covering headings */
.hb-legal__content h2,
.hb-legal__content h3 {
  scroll-margin-top: calc(var(--hb-header-h) + var(--sp-6));
}

/* ─── ADMIN HINT (visible only to logged-in editors) ── */
.hb-legal__admin-hint {
  font-size: 0.9rem;
  color: var(--hb-gray-500);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: var(--sp-3);
}

.hb-legal__admin-hint--sub {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.hb-legal__admin-hint a {
  color: var(--hb-red);
  font-weight: 500;
  font-style: normal;
}

/* ─── NOTE / REVIEW BAR ──────────────────────── */
.hb-legal__note {
  border-left: 3px solid var(--hb-gray-300);
  background: var(--hb-gray-50);
  padding: var(--sp-3) var(--sp-4);
  border-radius: 0 var(--hb-radius-sm) var(--hb-radius-sm) 0;
  font-size: 0.84rem;
  color: var(--hb-gray-500);
  line-height: 1.65;
  margin: var(--sp-4) 0;
  font-style: italic;
}

.hb-legal__note:last-child {
  margin-bottom: 0;
}

.hb-legal__note--warn {
  border-left-color: #e0a000;
  background: #fffbef;
  color: #7a5900;
  font-style: normal;
}

/* ─── INLINE PLACEHOLDERS ────────────────────── */
.hb-legal__placeholder {
  display: inline-block;
  background: #fffbef;
  border: 1px dashed #d4920a;
  border-radius: 4px;
  padding: 1px 7px;
  font-size: 0.81rem;
  font-style: italic;
  color: #7a5900;
}

/* ─── TABLE ──────────────────────────────────── */
.hb-legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-bottom: var(--sp-2);
  overflow-x: auto;
  display: block;
}

.hb-legal-table thead {
  display: table-header-group;
}

.hb-legal-table tbody {
  display: table-row-group;
}

.hb-legal-table tr {
  display: table-row;
}

.hb-legal-table th,
.hb-legal-table td {
  display: table-cell;
  text-align: left;
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--hb-gray-200);
  vertical-align: top;
}

.hb-legal-table th {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--hb-gray-50);
  color: var(--hb-black);
  white-space: nowrap;
}

.hb-legal-table td {
  color: var(--hb-gray-700);
  line-height: 1.6;
}

.hb-legal-table tr:last-child td {
  border-bottom: none;
}

/* ─── STAND / LAST UPDATED ───────────────────── */
.hb-legal__stand {
  font-size: 0.8rem;
  color: var(--hb-gray-400);
  text-align: right;
  margin-top: var(--sp-10);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--hb-gray-200);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   PHASE 5D — PAGE TEMPLATES
   Minimal prose wrapper for WP editor content.
   Used by page-ueber-uns.php inside .hb-story.
═══════════════════════════════════════════════ */

/* ─── PROSE ──────────────────────────────────── */
.hb-prose p {
  font-size: 0.95rem;
  color: var(--hb-gray-700);
  line-height: 1.8;
  margin-bottom: var(--sp-4);
}

.hb-prose p:last-child {
  margin-bottom: 0;
}

.hb-prose h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--hb-black);
  letter-spacing: -.02em;
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
}

.hb-prose h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hb-black);
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-3);
}

.hb-prose h2:first-child,
.hb-prose h3:first-child {
  margin-top: 0;
}

.hb-prose ul,
.hb-prose ol {
  font-size: 0.95rem;
  color: var(--hb-gray-700);
  line-height: 1.8;
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-4);
}

.hb-prose li {
  margin-bottom: var(--sp-1);
}

.hb-prose strong {
  color: var(--hb-black);
  font-weight: 700;
}

.hb-prose em {
  font-style: italic;
}

.hb-prose a {
  color: var(--hb-red);
  font-weight: 500;
}

.hb-prose a:hover {
  text-decoration: underline;
}

.hb-prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--hb-radius-sm);
  margin-bottom: var(--sp-4);
  display: block;
}

/* ═══════════════════════════════════════════════
   ACCESSIBILITY UTILITIES
═══════════════════════════════════════════════ */
.hb-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ═══════════════════════════════════════════════
   PHASE 4D — WOOCOMMERCE INTEGRATION STYLES
   Styles for WC-generated markup inside Habibi
   cart, checkout, and thank-you templates.
   Selector specificity kept high enough to win
   over WooCommerce defaults without !important.
═══════════════════════════════════════════════ */

/* ─── WC NOTICES ─────────────────────────────── */
.woocommerce-notices-wrapper {
  margin-bottom: var(--sp-6);
}

.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  list-style: none;
  border-radius: var(--hb-radius-sm);
  padding: var(--sp-4) var(--sp-5);
  font-size: 0.92rem;
  font-family: var(--hb-font);
  margin: 0 0 var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.woocommerce-message {
  background: #edfae1;
  border: 1px solid #7bc67a;
  color: #246a22;
}

.woocommerce-error {
  background: var(--hb-red-light);
  border: 1px solid var(--hb-red);
  color: var(--hb-red);
}

.woocommerce-info {
  background: #e8f4fd;
  border: 1px solid #6db4e8;
  color: #1a5f8e;
}

.woocommerce-message a,
.woocommerce-error a,
.woocommerce-info a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

/* ─── CART: .cart_totals (sidebar) ──────────── */
/* Mirrors .hb-order-card visual appearance. */
.hb-cart-page__sidebar .cart_totals {
  background: var(--hb-white);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-md);
  overflow: hidden;
  box-shadow: var(--hb-shadow-xs);
}

.hb-cart-page__sidebar .cart_totals h2 {
  background: var(--hb-gray-50);
  border-bottom: 1px solid var(--hb-gray-200);
  padding: var(--sp-4) var(--sp-5);
  font-size: 0.97rem;
  font-weight: 800;
  color: var(--hb-black);
  letter-spacing: -.015em;
  margin: 0;
}

.hb-cart-page__sidebar .cart_totals table.shop_table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--hb-font);
}

.hb-cart-page__sidebar .cart_totals table.shop_table th,
.hb-cart-page__sidebar .cart_totals table.shop_table td {
  padding: var(--sp-3) var(--sp-5);
  font-size: 0.9rem;
  color: var(--hb-gray-600);
  border-bottom: 1px solid var(--hb-gray-100);
  text-align: left;
  vertical-align: middle;
}

.hb-cart-page__sidebar .cart_totals table.shop_table th {
  font-weight: 600;
  color: var(--hb-black);
  width: 40%;
}

.hb-cart-page__sidebar .cart_totals table.shop_table td {
  font-weight: 600;
  color: var(--hb-black);
  text-align: right;
}

.hb-cart-page__sidebar .cart_totals table.shop_table tr:last-child th,
.hb-cart-page__sidebar .cart_totals table.shop_table tr:last-child td {
  border-bottom: none;
}

/* Order total row */
.hb-cart-page__sidebar .cart_totals table.shop_table .order-total th,
.hb-cart-page__sidebar .cart_totals table.shop_table .order-total td {
  padding-top: var(--sp-4);
  padding-bottom: var(--sp-4);
  font-weight: 800;
  font-size: 1rem;
  color: var(--hb-black);
  border-top: 2px solid var(--hb-gray-200);
}

.hb-cart-page__sidebar .cart_totals table .order-total td .amount {
  color: var(--hb-red);
  font-size: 1.1rem;
}

/* Proceed to checkout button */
.hb-cart-page__sidebar .wc-proceed-to-checkout {
  padding: var(--sp-5);
}

.hb-cart-page__sidebar .wc-proceed-to-checkout a.checkout-button {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--hb-red);
  color: var(--hb-white);
  font-family: var(--hb-font);
  font-weight: 700;
  font-size: 1rem;
  padding: var(--sp-4) var(--sp-6);
  border-radius: var(--hb-radius-full);
  border: none;
  text-decoration: none;
  transition: background var(--hb-transition), transform var(--hb-transition);
  cursor: pointer;
}

.hb-cart-page__sidebar .wc-proceed-to-checkout a.checkout-button:hover {
  background: var(--hb-red-dark);
  transform: translateY(-1px);
}

/* Cross-sells — hidden in sidebar context */
.cross-sells {
  display: none;
}

/* ─── CART: quantity input ───────────────────── */
.hb-cart-table .quantity {
  display: flex;
  align-items: center;
}

.hb-cart-table .quantity input[type="number"],
.hb-cart-table .quantity .qty {
  width: 64px;
  height: 38px;
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-sm);
  padding: 0 var(--sp-2);
  font-family: var(--hb-font);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--hb-black);
  text-align: center;
  background: var(--hb-white);
  outline: none;
  transition: border-color var(--hb-transition);
  -moz-appearance: textfield;
}

.hb-cart-table .quantity input[type="number"]::-webkit-outer-spin-button,
.hb-cart-table .quantity input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.hb-cart-table .quantity input[type="number"]:focus,
.hb-cart-table .quantity .qty:focus {
  border-color: var(--hb-red);
  box-shadow: 0 0 0 3px rgba(217, 31, 38, .10);
}

/* ─── CHECKOUT: form fields ──────────────────── */
/* WC renders <p class="form-row"> wrappers.
   form-row-wide = full width,
   form-row-first + form-row-last = two columns. */

#customer_details .form-row {
  position: relative;
  margin: 0;
  padding: 0;
}

#customer_details .form-row label {
  display: block;
  font-family: var(--hb-font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--hb-gray-600);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: var(--sp-1);
}

#customer_details .form-row label .required {
  color: var(--hb-red);
  margin-left: 2px;
}

/* Grid for side-by-side fields */
#customer_details .woocommerce-billing-fields__field-wrapper,
#customer_details .woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

#customer_details .form-row-wide {
  grid-column: 1 / -1;
}

@media (max-width: 540px) {

  #customer_details .woocommerce-billing-fields__field-wrapper,
  #customer_details .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: 1fr;
  }

  #customer_details .form-row-wide {
    grid-column: auto;
  }
}

/* Input / select / textarea */
#customer_details .woocommerce-input-wrapper {
  display: block;
}

#customer_details .woocommerce-input-wrapper input.input-text,
#customer_details .woocommerce-input-wrapper input[type="text"],
#customer_details .woocommerce-input-wrapper input[type="email"],
#customer_details .woocommerce-input-wrapper input[type="tel"],
#customer_details .woocommerce-input-wrapper select,
#customer_details .woocommerce-input-wrapper textarea {
  width: 100%;
  display: block;
  border: 1.5px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-sm);
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--hb-font);
  font-size: 0.95rem;
  color: var(--hb-black);
  background: var(--hb-white);
  outline: none;
  transition: border-color var(--hb-transition), box-shadow var(--hb-transition);
  appearance: none;
  -webkit-appearance: none;
}

#customer_details .woocommerce-input-wrapper input.input-text:focus,
#customer_details .woocommerce-input-wrapper input[type="text"]:focus,
#customer_details .woocommerce-input-wrapper input[type="email"]:focus,
#customer_details .woocommerce-input-wrapper input[type="tel"]:focus,
#customer_details .woocommerce-input-wrapper select:focus,
#customer_details .woocommerce-input-wrapper textarea:focus {
  border-color: var(--hb-red);
  box-shadow: 0 0 0 3px rgba(217, 31, 38, .10);
}

/* Validation states */
#customer_details .form-row.woocommerce-invalid .woocommerce-input-wrapper input,
#customer_details .form-row.woocommerce-invalid .woocommerce-input-wrapper select {
  border-color: var(--hb-red);
}

#customer_details .form-row.woocommerce-validated .woocommerce-input-wrapper input,
#customer_details .form-row.woocommerce-validated .woocommerce-input-wrapper select {
  border-color: #4caf50;
}

/* Inline validation error text */
#customer_details .woocommerce-input-wrapper .woocommerce-error,
#customer_details .form-row .woocommerce-error {
  font-size: 0.78rem;
  color: var(--hb-red);
  background: none;
  border: none;
  padding: var(--sp-1) 0 0;
  margin: 0;
  display: block;
  font-weight: 500;
}

/* Select custom arrow */
#customer_details .woocommerce-input-wrapper select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%239B9A97'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-4) center;
  padding-right: var(--sp-8);
  cursor: pointer;
}

/* "Ship to a different address?" checkbox row */
#ship-to-different-address label {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--hb-black);
  cursor: pointer;
}

#ship-to-different-address input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--hb-red);
  cursor: pointer;
}

/* Order notes textarea */
#order_comments {
  min-height: 100px;
  resize: vertical;
}

/* ─── CHECKOUT: order review table ───────────── */
table.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--hb-font);
}

table.woocommerce-checkout-review-order-table thead th {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--hb-gray-400);
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--hb-gray-200);
  text-align: left;
}

table.woocommerce-checkout-review-order-table thead th:last-child {
  text-align: right;
}

table.woocommerce-checkout-review-order-table tbody td {
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.9rem;
  color: var(--hb-black);
  border-bottom: 1px solid var(--hb-gray-100);
  vertical-align: middle;
}

table.woocommerce-checkout-review-order-table tbody td.product-name {
  font-weight: 500;
}

table.woocommerce-checkout-review-order-table tbody td.product-name .product-quantity {
  color: var(--hb-gray-400);
  font-weight: 400;
  font-size: 0.82rem;
  display: block;
}

table.woocommerce-checkout-review-order-table tbody td.product-total {
  text-align: right;
  font-weight: 600;
}

table.woocommerce-checkout-review-order-table tfoot th,
table.woocommerce-checkout-review-order-table tfoot td {
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.9rem;
  color: var(--hb-gray-600);
  border-bottom: 1px solid var(--hb-gray-100);
  font-weight: 500;
}

table.woocommerce-checkout-review-order-table tfoot td {
  text-align: right;
  font-weight: 600;
  color: var(--hb-black);
}

table.woocommerce-checkout-review-order-table tfoot .order-total th,
table.woocommerce-checkout-review-order-table tfoot .order-total td {
  font-weight: 800;
  font-size: 1rem;
  color: var(--hb-black);
  border-top: 2px solid var(--hb-gray-200);
  border-bottom: none;
  padding-top: var(--sp-4);
  padding-bottom: var(--sp-4);
}

table.woocommerce-checkout-review-order-table tfoot .order-total td .amount {
  color: var(--hb-red);
}

/* ─── CHECKOUT: payment methods ─────────────── */
#payment {
  background: none;
  padding: 0;
  border-radius: 0;
}

#payment .wc_payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

#payment .wc_payment_method>label {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border: 1.5px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-sm);
  font-family: var(--hb-font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--hb-black);
  cursor: pointer;
  transition: border-color var(--hb-transition), background var(--hb-transition);
  background: var(--hb-white);
  margin: 0;
}

#payment .wc_payment_method>label:hover {
  border-color: var(--hb-red);
  background: var(--hb-red-light);
}

#payment .wc_payment_method input[type="radio"] {
  accent-color: var(--hb-red);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

#payment .wc_payment_method:has(input:checked)>label {
  border-color: var(--hb-red);
  background: var(--hb-red-light);
  box-shadow: 0 0 0 3px rgba(217, 31, 38, .08);
}

#payment .payment_box {
  padding: var(--sp-2) var(--sp-4);
  font-family: var(--hb-font);
  font-size: 0.88rem;
  color: var(--hb-gray-600);
  border: 1.5px solid var(--hb-gray-200);
  border-top: none;
  border-radius: 0 0 var(--hb-radius-sm) var(--hb-radius-sm);
  background: var(--hb-gray-50);
}

/* Privacy policy text */
.woocommerce-privacy-policy-text {
  font-size: 0.8rem;
  color: var(--hb-gray-400);
  line-height: 1.6;
  margin: 0 var(--sp-5) var(--sp-4);
}

.woocommerce-privacy-policy-text a {
  color: var(--hb-red);
  font-weight: 500;
}

/* Germanized / legal checkboxes */
.wc-gzd-checkout-checkboxes,
.woocommerce-terms-and-conditions-wrapper {
  padding: 0 var(--sp-5) var(--sp-4);
  font-size: 0.82rem;
  color: var(--hb-gray-600);
  line-height: 1.6;
}

.wc-gzd-checkout-checkboxes label,
.woocommerce-terms-and-conditions-wrapper label {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  cursor: pointer;
}

.wc-gzd-checkout-checkboxes input[type="checkbox"],
.woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--hb-red);
  flex-shrink: 0;
}

/* ─── CHECKOUT: place order button ──────────── */
#payment #place_order,
.woocommerce #payment #place_order {
  display: block;
  width: calc(100% - var(--sp-10));
  margin: 0 var(--sp-5) var(--sp-5);
  background: var(--hb-red);
  color: var(--hb-white);
  font-family: var(--hb-font);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.01em;
  padding: var(--sp-4) var(--sp-6);
  border: none;
  border-radius: var(--hb-radius-full);
  cursor: pointer;
  transition: background var(--hb-transition), transform var(--hb-transition);
  text-align: center;
}

#payment #place_order:hover,
.woocommerce #payment #place_order:hover {
  background: var(--hb-red-dark);
  transform: translateY(-1px);
}

#payment #place_order:disabled,
.woocommerce #payment #place_order:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.woocommerce #payment div.form-row.place-order {
  padding: 0;
  margin: 0;
}

/* ─── CHECKOUT: login / coupon collapse ──────── */
.woocommerce-form-login,
.woocommerce-form-coupon {
  background: var(--hb-white);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-sm);
  padding: var(--sp-5);
  margin-bottom: var(--sp-4);
  font-family: var(--hb-font);
  font-size: 0.9rem;
}

/* ─── WC BLOCK OVERLAY ───────────────────────── */
.blockUI.blockOverlay {
  background: rgba(255, 255, 255, .7) !important;
}

/* ─── THANK-YOU: plugin hook output ──────────── */
/* Content appended by woocommerce_thankyou hook
   (Germanized legal notices, gateway confirmations). */
.hb-thankyou .woocommerce-order-details,
.hb-thankyou .woocommerce-customer-details {
  max-width: 560px;
  margin: var(--sp-6) auto 0;
  text-align: left;
  background: var(--hb-white);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-md);
  padding: var(--sp-5);
  font-family: var(--hb-font);
  font-size: 0.9rem;
  color: var(--hb-gray-600);
}

/* ==============================================
   V2-C HOMEPAGE — NEW COMPONENTS
   Scoped additions only. No global token changes.
   ============================================== */

/* ─── HERO V2 ────────────────────────────────── */
.hb-hero-v2 {
  background-color: #1A1A1A;
  background-image:
    radial-gradient(ellipse 70% 60% at 60% 35%, rgba(217, 31, 38, .28) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 10% 75%, rgba(180, 10, 10, .18) 0%, transparent 60%),
    linear-gradient(160deg, #1A1A1A 0%, #2C0A0B 55%, #1A1A1A 100%);
  padding-top: var(--hb-header-h);
  overflow: hidden;
}

.hb-hero-v2__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  padding: var(--sp-12) 0 var(--sp-16);
  align-items: center;
}

@media (min-width: 900px) {
  .hb-hero-v2__inner {
    grid-template-columns: 1fr 480px;
    gap: var(--sp-12);
    padding: var(--sp-16) 0 var(--sp-20);
    min-height: calc(680px - var(--hb-header-h));
  }
}

.hb-hero-v2__content {
  max-width: 600px;
}

.hb-hero-v2__headline {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.07;
  color: var(--hb-white);
  letter-spacing: -.03em;
  margin-bottom: var(--sp-5);
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}

.hb-hero-v2__accent {
  color: var(--hb-red);
}

.hb-hero-v2__script {
  font-family: var(--hb-font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--hb-gold);
  display: block;
  margin-bottom: var(--sp-5);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .30);
  line-height: 1.2;
}

.hb-hero-v2__sub {
  font-size: 1.04rem;
  color: rgba(255, 255, 255, .75);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: var(--sp-8);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .25);
}

.hb-hero-v2__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: var(--sp-2);
}

.hb-hero-v2__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hb-hero-v2__stat strong {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--hb-white);
  letter-spacing: -.01em;
}

.hb-hero-v2__stat span {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, .52);
  letter-spacing: .01em;
}

/* Right visual column */
.hb-hero-v2__visual {
  display: none;
  position: relative;
}

@media (min-width: 900px) {
  .hb-hero-v2__visual {
    display: block;
  }
}

.hb-hero-v2__img-card {
  border-radius: var(--hb-radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .50), 0 0 0 1px rgba(255, 255, 255, .07);
  position: relative;
}

.hb-hero-v2__img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hb-hero-v2__img-card .hb-placeholder {
  width: 100%;
  height: 100%;
  min-height: 380px;
  font-size: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}

.hb-hero-v2__spice-badge {
  position: absolute;
  bottom: var(--sp-5);
  left: calc(-1 * var(--sp-5));
  background: var(--hb-red);
  color: var(--hb-white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--hb-radius-full);
  box-shadow: 0 4px 16px rgba(217, 31, 38, .45);
  white-space: nowrap;
}

@media (max-width: 899px) {
  .hb-hero-v2__inner {
    padding: var(--sp-10) 0 var(--sp-12);
  }

  .hb-hero-v2__headline {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .hb-hero-v2__sub {
    font-size: 0.96rem;
  }
}

/* ─── HOME INFO STRIP ────────────────────────── */
.hb-home-strip {
  background: var(--hb-white);
  border-bottom: 1px solid var(--hb-gray-200);
  padding: var(--sp-3) 0;
}

.hb-home-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.hb-home-strip__text {
  font-size: 0.88rem;
  color: var(--hb-gray-600);
  line-height: 1.5;
}

.hb-home-strip__text strong {
  color: var(--hb-black);
  font-weight: 600;
}

.hb-home-strip__actions {
  display: flex;
  gap: var(--sp-2);
  flex-shrink: 0;
}

/* ─── FEATURE STRIP (replaces dark benefits) ── */
.hb-feature-strip {
  background: var(--hb-off-white);
  padding: var(--sp-16) 0;
}

.hb-feature-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}

@media (min-width: 640px) {
  .hb-feature-strip__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-5);
  }
}

.hb-feature-card {
  background: var(--hb-white);
  border-radius: var(--hb-radius-md);
  padding: var(--sp-6) var(--sp-5);
  border: 1px solid var(--hb-gray-100);
  box-shadow: var(--hb-shadow-xs);
  transition: transform var(--hb-transition), box-shadow var(--hb-transition);
}

.hb-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--hb-shadow-sm);
}

.hb-feature-card__icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: var(--sp-4);
  line-height: 1;
}

.hb-feature-card__title {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--hb-black);
  margin-bottom: var(--sp-2);
  letter-spacing: -.01em;
}

.hb-feature-card__text {
  font-size: 0.84rem;
  color: var(--hb-gray-600);
  line-height: 1.55;
}

/* ─── STORY V2 ───────────────────────────────── */
.hb-story-v2 {
  background: var(--hb-black);
  padding: var(--sp-24) 0;
  overflow: hidden;
}

.hb-story-v2__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
}

@media (min-width: 900px) {
  .hb-story-v2__inner {
    grid-template-columns: 1fr 420px;
    gap: var(--sp-16);
  }
}

.hb-story-v2__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--hb-gold);
  margin-bottom: var(--sp-4);
}

.hb-story-v2__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--hb-white);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: var(--sp-6);
}

.hb-story-v2__title em {
  font-style: normal;
  color: var(--hb-red);
}

.hb-story-v2__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, .68);
  line-height: 1.72;
  max-width: 500px;
  margin-bottom: var(--sp-10);
}

.hb-story-v2__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6) var(--sp-10);
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255, 255, 255, .10);
}

.hb-story-v2__stat strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--hb-red);
  line-height: 1.1;
  margin-bottom: 3px;
  letter-spacing: -.02em;
}

.hb-story-v2__stat span {
  font-size: 0.80rem;
  color: rgba(255, 255, 255, .50);
  letter-spacing: .01em;
}

/* Right visual */
.hb-story-v2__visual {
  position: relative;
}

.hb-story-v2__img-card {
  border-radius: var(--hb-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}

.hb-story-v2__img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hb-story-v2__img-card .hb-placeholder {
  width: 100%;
  height: 100%;
  min-height: 360px;
  font-size: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}

/* ─── VISIT V2 (location) ────────────────────── */
.hb-visit-v2 {
  background: var(--hb-off-white);
  padding: var(--sp-24) 0;
}

.hb-visit-v2__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
}

@media (min-width: 900px) {
  .hb-visit-v2__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
    align-items: start;
  }
}

.hb-visit-v2__eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--hb-red);
  margin-bottom: var(--sp-3);
}

.hb-visit-v2__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--hb-black);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: var(--sp-8);
}

.hb-visit-v2__cards {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.hb-visit-v2__card {
  background: var(--hb-white);
  border-radius: var(--hb-radius-md);
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--hb-gray-100);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  box-shadow: var(--hb-shadow-xs);
}

.hb-visit-v2__card-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.hb-visit-v2__card-body {
  flex: 1;
}

.hb-visit-v2__card-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--hb-gray-400);
  margin-bottom: var(--sp-1);
}

.hb-visit-v2__card-value {
  font-size: 0.92rem;
  color: var(--hb-black);
  line-height: 1.5;
}

.hb-visit-v2__card-value a {
  color: var(--hb-red);
  font-weight: 500;
}

.hb-visit-v2__card-value a:hover {
  text-decoration: underline;
}

.hb-visit-v2__hours {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-1) var(--sp-5);
  font-size: 0.88rem;
}

.hb-visit-v2__hours-day {
  color: var(--hb-gray-600);
  font-weight: 500;
}

.hb-visit-v2__hours-time {
  color: var(--hb-black);
}

.hb-visit-v2__hours-closed {
  color: var(--hb-gray-400);
}

.hb-visit-v2__cta {
  margin-top: var(--sp-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.hb-visit-v2__map {
  background: var(--hb-white);
  border-radius: var(--hb-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--hb-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--sp-3);
  box-shadow: var(--hb-shadow-sm);
  text-align: center;
  padding: var(--sp-8);
}

.hb-visit-v2__map-pin {
  font-size: 2.8rem;
  line-height: 1;
}

.hb-visit-v2__map-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hb-black);
}

.hb-visit-v2__map-address {
  font-size: 0.84rem;
  color: var(--hb-gray-600);
}

/* ─── RESPONSIVE: mobile overrides ───────────── */
@media (max-width: 640px) {
  .hb-cart-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hb-cart-actions__right {
    width: 100%;
  }

  .hb-cart-actions__right .hb-btn {
    width: 100%;
    justify-content: center;
  }

  .hb-cart-coupon__row {
    flex-direction: column;
  }

  .hb-cart-coupon__row .hb-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hb-thankyou__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hb-thankyou__actions .hb-btn {
    width: 100%;
    text-align: center;
  }
}

/* ==============================================
   V2.1 HOMEPAGE POLISH — ENHANCED COMPONENTS
   Additions for upgraded template-parts.
   No global token changes.
   ============================================== */

/* ─── HERO V2.1 — Visual stack & float card ── */
.hb-hero-v2__visual-stack {
  position: relative;
}

.hb-hero-v2__float-card {
  position: absolute;
  top: var(--sp-6);
  right: calc(-1 * var(--sp-5));
  background: var(--hb-white);
  border-radius: var(--hb-radius-md);
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .18), 0 0 0 1px rgba(0, 0, 0, .05);
  z-index: 2;
  white-space: nowrap;
}

.hb-hero-v2__float-star {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.hb-hero-v2__float-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hb-hero-v2__float-info strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--hb-black);
  line-height: 1.1;
}

.hb-hero-v2__float-info span {
  font-size: 0.70rem;
  color: var(--hb-gray-400);
  line-height: 1.2;
}

/* ─── HOME INFO STRIP V2.1 ───────────────────── */
.hb-info-strip {
  background: var(--hb-white);
  border-bottom: 1px solid var(--hb-gray-100);
  padding: var(--sp-3) 0;
}

.hb-info-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.hb-info-strip__left {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  min-width: 0;
}

.hb-info-strip__status {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.80rem;
  font-weight: 700;
  color: #15803d;
  white-space: nowrap;
  flex-shrink: 0;
}

.hb-info-strip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  display: inline-block;
  flex-shrink: 0;
  animation: hb-dot-pulse 2.2s ease-in-out infinite;
}

@keyframes hb-dot-pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .5;
    transform: scale(1.35);
  }
}

.hb-info-strip__chips {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.hb-info-strip__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--hb-gray-600);
  background: var(--hb-off-white);
  border: 1px solid var(--hb-gray-100);
  border-radius: var(--hb-radius-full);
  padding: 3px 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--hb-transition), border-color var(--hb-transition), color var(--hb-transition);
}

a.hb-info-strip__chip:hover {
  background: var(--hb-red-light);
  border-color: var(--hb-red);
  color: var(--hb-red);
}

.hb-info-strip__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .hb-info-strip__chip--hide-md {
    display: none;
  }
}

@media (max-width: 539px) {
  .hb-info-strip__chip--hide-sm {
    display: none;
  }

  .hb-info-strip__status {
    font-size: 0.74rem;
  }

  .hb-info-strip__actions .hb-btn--sm {
    padding: 0.35rem 0.75rem;
  }
}

/* ─── FEATURE CARDS — icon backgrounds ──────── */
.hb-feature-card__icon-bg {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
  flex-shrink: 0;
  background: var(--hb-red-light);
}

/* Reset margin on the emoji when it sits inside the icon-bg */
.hb-feature-card__icon-bg .hb-feature-card__icon {
  font-size: 1.65rem;
  display: block;
  margin-bottom: 0;
}

/* ─── CATEGORY CARDS — icon wrap & arrow ────── */
.hb-category-card__icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--hb-off-white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--hb-transition), transform var(--hb-transition);
}

.hb-category-card:hover .hb-category-card__icon-wrap {
  background: var(--hb-red-light);
  transform: scale(1.08);
}

.hb-category-card__arrow {
  font-size: 1rem;
  color: var(--hb-gray-400);
  margin-top: auto;
  line-height: 1;
  transition: transform var(--hb-transition), color var(--hb-transition);
}

.hb-category-card:hover .hb-category-card__arrow {
  color: var(--hb-red);
  transform: translateX(4px);
}

/* ─── STORY V2.1 — column swap & quality chip ── */
/* Desktop: visual LEFT (450px), content RIGHT (1fr) */
@media (min-width: 900px) {
  .hb-story-v2__inner {
    grid-template-columns: 450px 1fr;
  }
}

.hb-story-v2__quality-chip {
  position: absolute;
  bottom: var(--sp-5);
  right: calc(-1 * var(--sp-4));
  background: var(--hb-white);
  color: var(--hb-black);
  font-size: 0.77rem;
  font-weight: 600;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--hb-radius-full);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .18);
  white-space: nowrap;
  z-index: 2;
}

/* ─── VISIT V2.1 — hours block ───────────────── */
.hb-visit-v2__hours-block {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-7);
}

.hb-visit-v2__hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-4);
  background: var(--hb-white);
  border-radius: var(--hb-radius-sm);
  border: 1px solid var(--hb-gray-100);
  gap: var(--sp-4);
}

.hb-visit-v2__hours-row--closed {
  opacity: .6;
}

/* Ensure correct look in the new row context */
.hb-visit-v2__hours-row .hb-visit-v2__hours-day {
  font-size: 0.88rem;
  color: var(--hb-gray-600);
  font-weight: 600;
}

/* .hb-visit-v2__hours-time already defined; strengthen weight here */
.hb-visit-v2__hours-row .hb-visit-v2__hours-time {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--hb-black);
}

.hb-visit-v2__hours-closed-label {
  font-size: 0.85rem;
  color: var(--hb-gray-400);
  font-style: italic;
}

/* ─── VISIT V2.1 — contact grid ──────────────── */
.hb-visit-v2__contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

@media (max-width: 480px) {
  .hb-visit-v2__contact-grid {
    grid-template-columns: 1fr;
  }
}

.hb-visit-v2__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  background: var(--hb-white);
  border-radius: var(--hb-radius-sm);
  padding: var(--sp-4);
  border: 1px solid var(--hb-gray-100);
  box-shadow: var(--hb-shadow-xs);
}

.hb-visit-v2__contact-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
  line-height: 1;
}

.hb-visit-v2__contact-label {
  display: block;
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--hb-gray-400);
  margin-bottom: 4px;
}

.hb-visit-v2__contact-value {
  font-size: 0.88rem;
  color: var(--hb-black);
  line-height: 1.5;
  margin: 0;
}

.hb-visit-v2__phone-link {
  color: var(--hb-red);
  font-weight: 600;
  text-decoration: none;
}

.hb-visit-v2__phone-link:hover {
  text-decoration: underline;
}

/* ─── VISIT V2.1 — map placeholder upgrade ───── */
/* Override base map card for richer placeholder content */
.hb-visit-v2__map {
  aspect-ratio: auto;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 340px;
  gap: var(--sp-4);
}

.hb-visit-v2__map-header {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  width: 100%;
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--hb-gray-100);
}

/* .hb-visit-v2__map-pin already sized at 2.8rem; refine for header */
.hb-visit-v2__map-header .hb-visit-v2__map-pin {
  font-size: 2rem;
  flex-shrink: 0;
  margin-top: 3px;
}

/* .hb-visit-v2__map-name and .hb-visit-v2__map-address already defined */

.hb-visit-v2__map-grid {
  width: 100%;
  flex: 1;
  min-height: 110px;
  border-radius: var(--hb-radius-sm);
  background-color: #ebe5db;
  background-image:
    linear-gradient(rgba(0, 0, 0, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, .06) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .25) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 8px 8px, 8px 8px;
  border: 1px solid var(--hb-gray-200);
}

.hb-visit-v2__map-status {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.77rem;
  font-weight: 600;
  color: #15803d;
  background: #dcfce7;
  border-radius: var(--hb-radius-full);
  padding: 4px 12px;
  width: fit-content;
}

.hb-visit-v2__map-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  display: inline-block;
  flex-shrink: 0;
}

/* ─── VISIT V2.1 — live map iframe ───────────── */
.hb-visit-v2__map-iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: var(--hb-radius-md);
  display: block;
  flex: 1;
}

/* ==============================================
   V2.2 VISUAL FIDELITY PATCH — Homepage Scale
   Fixes 10 specific visual issues: global width,
   header, hero, info strip, feature cards,
   category section, featured products, story,
   location, footer.
   Appended last — highest cascade priority.
   ============================================== */

/* ── 1 & 2. HEADER + CONTAINER ───────────────── */

/* Taller header on desktop for a more premium feel */
@media (min-width: 1024px) {
  :root {
    --hb-header-h: 88px;
  }

  /* Logo: taller in the 88px desktop header */
  .hb-logo__img,
  .hb-logo .custom-logo {
    height: 64px;
  }

  .hb-nav__link {
    font-size: 1rem;
  }

  .hb-nav {
    gap: var(--sp-8);
  }
}

/* Reduce horizontal container padding at large viewports
   so content fills closer to screen width */
@media (min-width: 1280px) {
  .hb-container {
    padding-left: var(--sp-8);
    padding-right: var(--sp-8);
  }
}

/* ── 3. HERO V2 — taller, wider right column, larger type ── */

/* Wider visual column + more padding + taller inner area */
@media (min-width: 900px) {
  .hb-hero-v2__inner {
    grid-template-columns: 1fr 520px;
    gap: var(--sp-16);
    padding: var(--sp-20) 0 var(--sp-24);
    min-height: calc(920px - var(--hb-header-h));
  }
}

/* Larger headline — the centrepiece of the hero */
.hb-hero-v2__headline {
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
}

/* Larger script accent line */
.hb-hero-v2__script {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
}

/* Sub-text: slightly larger for readability */
.hb-hero-v2__sub {
  font-size: 1.1rem;
}

/* Right image card: taller aspect ratio, more dramatic */
.hb-hero-v2__img-card {
  aspect-ratio: 5/7;
}

.hb-hero-v2__img-card .hb-placeholder {
  min-height: 500px;
  font-size: 7rem;
}

/* Stats row: stronger value text */
.hb-hero-v2__stat strong {
  font-size: 1.25rem;
}

.hb-hero-v2__stat span {
  font-size: 0.84rem;
}

/* Float rating card: deeper shadow for more pop */
.hb-hero-v2__float-card {
  box-shadow: 0 14px 44px rgba(0, 0, 0, .24), 0 0 0 1px rgba(0, 0, 0, .06);
}

.hb-hero-v2__float-info strong {
  font-size: 1.02rem;
}

/* ── 4. INFO STRIP — more height and readability ── */
.hb-info-strip {
  padding: var(--sp-4) 0;
}

.hb-info-strip__chip {
  font-size: 0.84rem;
  padding: 5px 14px;
}

.hb-info-strip__status {
  font-size: 0.88rem;
}

/* ── 5. FEATURE CARDS — more generous, premium feel ── */
.hb-feature-strip {
  padding: var(--sp-20) 0;
}

.hb-feature-strip__grid {
  gap: var(--sp-6);
}

.hb-feature-card {
  padding: var(--sp-8) var(--sp-7);
}

.hb-feature-card__icon-bg {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: var(--sp-5);
}

.hb-feature-card__icon-bg .hb-feature-card__icon {
  font-size: 2rem;
}

.hb-feature-card__title {
  font-size: 1.05rem;
  margin-bottom: var(--sp-3);
}

.hb-feature-card__text {
  font-size: 0.9rem;
}

/* ── 6. CATEGORY SECTION — premium cards, bigger type ── */
.hb-section-title {
  font-size: clamp(2rem, 4vw, 3rem);
}

.hb-category-card {
  padding: var(--sp-8) var(--sp-5) var(--sp-6);
}

.hb-category-card__icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 18px;
}

.hb-category-card__icon {
  font-size: 2rem;
}

.hb-category-card__name {
  font-size: 0.92rem;
}

.hb-category-card__count {
  font-size: 0.78rem;
}

/* ── 7. FEATURED PRODUCTS — 4-col desktop, white bg, premium cards ── */

/* White background creates better contrast after off-white sections */
.hb-highlights {
  background: var(--hb-white);
  padding: var(--sp-24) 0;
}

/* 4-column grid on desktop */
@media (min-width: 1024px) {
  .hb-highlights__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-5);
  }
}

/* Dish card: slightly elevated shadow and larger text */
.hb-dish-card {
  box-shadow: var(--hb-shadow-sm);
}

.hb-dish-card__body {
  padding: var(--sp-5);
}

.hb-dish-card__name {
  font-size: 1.08rem;
}

.hb-dish-card__price {
  font-size: 1.22rem;
}

/* ── 8. STORY SECTION — taller image column, larger typography ── */
/* Override V2.1's 450px column → 500px, wider gap */
@media (min-width: 900px) {
  .hb-story-v2__inner {
    grid-template-columns: 500px 1fr;
    gap: var(--sp-20);
  }
}

/* Bigger section headline */
.hb-story-v2__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

/* Body text: easier to read */
.hb-story-v2__text {
  font-size: 1.05rem;
}

/* Stat numbers: bolder presence */
.hb-story-v2__stat strong {
  font-size: 2.2rem;
}

.hb-story-v2__stat span {
  font-size: 0.85rem;
}

/* Image card: taller placeholder */
.hb-story-v2__img-card .hb-placeholder {
  min-height: 460px;
  font-size: 6.5rem;
}

/* ── 9. LOCATION SECTION — 55/45 split, wider gap ── */
/* Extra vertical room — replaces sp-24 with sp-24 + sp-4 */
.hb-visit-v2 {
  padding: calc(var(--sp-24) + var(--sp-4)) 0;
}

/* Info column slightly wider than map column */
@media (min-width: 900px) {
  .hb-visit-v2__inner {
    grid-template-columns: 55fr 45fr;
    gap: var(--sp-20);
  }
}

/* Larger section title */
.hb-visit-v2__title {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
}

/* Taller map card */
.hb-visit-v2__map {
  min-height: 400px;
}

.hb-visit-v2__map-iframe {
  min-height: 360px;
}

/* ── 10. FOOTER — V3 styles defined in the primary footer block above ── */

/* ============================================================
   V2.3 — Homepage Layout Parity
   T1+T7: wide containers · T3: hero card-2 ·
   T5: story cards · T6: location 3-col
   ============================================================ */

/* ── T1 + T7: WIDE CONTAINERS — homepage sections only ─────────────────────
   Raises the 1320px cap to 1440px only for homepage section containers so
   the order page and all other templates are unaffected.               */
.hb-header__inner,
.hb-hero-v2 .hb-container,
.hb-info-strip .hb-container,
.hb-feature-strip .hb-container,
.hb-menu-preview .hb-container,
.hb-highlights .hb-container,
.hb-story-v2 .hb-container,
.hb-visit-v2 .hb-container {
  max-width: 1440px;
}

/* ── T3: HERO — second image card ──────────────────────────────────────── */
/* visual-stack must be relative so absolute children position correctly   */
.hb-hero-v2__visual-stack {
  position: relative;
}

.hb-hero-v2__img-card-2 {
  position: absolute;
  bottom: -20px;
  left: -28px;
  width: 158px;
  height: 148px;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--hb-shadow-lg);
  z-index: 2;
}

.hb-hero-v2__img-card-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hb-hero-v2__img-card-2 .hb-placeholder {
  min-height: 148px;
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── T5: STORY — secondary overlapping card ─────────────────────────────── */
/* visual wrapper needs relative positioning for absolute children          */
.hb-story-v2__visual {
  position: relative;
}

.hb-story-v2__img-card-2 {
  position: absolute;
  bottom: -16px;
  left: -16px;
  width: 148px;
  height: 130px;
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid var(--hb-white);
  box-shadow: var(--hb-shadow-md);
  z-index: 2;
}

.hb-story-v2__img-card-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hb-story-v2__img-card-2 .hb-placeholder {
  min-height: 130px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── T5: STORY — amber review card ─────────────────────────────────────── */
.hb-story-v2__review-card {
  position: absolute;
  top: 20px;
  right: -16px;
  background: #FFD230;
  color: #1a1108;
  border-radius: 14px;
  padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--hb-shadow-md);
  z-index: 3;
  min-width: 126px;
  text-align: center;
  line-height: 1.2;
}

.hb-story-v2__review-card__stars {
  font-size: 1rem;
  display: block;
  margin-bottom: 2px;
}

.hb-story-v2__review-card__rating {
  font-size: 1.7rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.hb-story-v2__review-card__label {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  display: block;
  margin-top: 3px;
  opacity: 0.8;
}

/* ── T6: LOCATION — 3-column layout ────────────────────────────────────── */
/* Overrides V2.2's 55fr/45fr 2-col via cascade (this block is later).    */
@media (min-width: 900px) {
  .hb-visit-v2__inner {
    grid-template-columns: 1fr 1fr 1.4fr;
    gap: var(--sp-10);
    align-items: start;
  }
}

.hb-visit-v2__col-hours,
.hb-visit-v2__col-contact,
.hb-visit-v2__col-map {
  display: flex;
  flex-direction: column;
}

.hb-visit-v2__col-map {
  min-height: 300px;
}

.hb-visit-v2__col-map .hb-visit-v2__map {
  flex: 1;
  min-height: 280px;
}

.hb-visit-v2__col-contact .hb-visit-v2__contact-item + .hb-visit-v2__contact-item {
  margin-top: var(--sp-5);
}

/* ── QA Fix 1: Spice badge above secondary image card ────────────────────── */
/* .hb-hero-v2__img-card-2 has z-index:2; raise the badge above it.          */
.hb-hero-v2__spice-badge {
  z-index: 4;
}

/* ==============================================
   CHECKOUT REFINEMENT — PHASE 6
   Fixes: Abholung field visibility, layout polish,
   payment labels, German labels, mobile spacing.
   ============================================== */

/* ─── CHECKOUT: Constrained container ────────── */
.hb-checkout .hb-container {
  max-width: 1200px;
}

/* ─── CHECKOUT: 2-column layout ──────────────── */
@media (min-width: 1024px) {
  .hb-checkout__layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
  }
}

/* ─── CHECKOUT: Form section card ────────────── */
.hb-form-section {
  padding: var(--sp-7) var(--sp-6) var(--sp-8);
  box-shadow: var(--hb-shadow-xs);
}

.hb-form-section + .hb-form-section {
  margin-top: var(--sp-5);
}

.hb-form-section__head {
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--hb-gray-100);
  margin-bottom: var(--sp-6);
}

.hb-form-section__num {
  width: 34px;
  height: 34px;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.hb-form-section__title {
  font-size: 1.05rem;
  letter-spacing: -.025em;
}

/* ─── CHECKOUT: Field labels ─────────────────── */
#customer_details .form-row label {
  font-size: 0.80rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: .01em;
  margin-bottom: var(--sp-2);
}

/* ─── CHECKOUT: Input height + radius ────────── */
#customer_details .woocommerce-input-wrapper input.input-text,
#customer_details .woocommerce-input-wrapper input[type="text"],
#customer_details .woocommerce-input-wrapper input[type="email"],
#customer_details .woocommerce-input-wrapper input[type="tel"],
#customer_details .woocommerce-input-wrapper select {
  height: 48px;
  font-size: 0.97rem;
  border-radius: var(--hb-radius-sm);
}

#customer_details .woocommerce-input-wrapper textarea {
  height: auto;
  min-height: 100px;
  font-size: 0.97rem;
  border-radius: var(--hb-radius-sm);
}

/* ─── CHECKOUT: Field grid gap ───────────────── */
#customer_details .woocommerce-billing-fields__field-wrapper,
#customer_details .woocommerce-shipping-fields__field-wrapper {
  gap: var(--sp-4) var(--sp-5);
}

/* ─── CHECKOUT: Order card sidebar ───────────── */
.hb-checkout-sidebar .hb-order-card {
  box-shadow: var(--hb-shadow-sm);
}

.hb-checkout-sidebar .hb-order-card__header h3 {
  font-size: 1rem;
  font-weight: 800;
}

/* ─── CHECKOUT: Payment section label ────────── */
.hb-checkout-payment-header {
  border-top: 1px solid var(--hb-gray-100);
  margin-top: var(--sp-2);
}

.hb-checkout-payment-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .10em;
  color: var(--hb-gray-400);
  padding: var(--sp-4) var(--sp-5) var(--sp-2);
  margin: 0;
}

/* ─── CHECKOUT: Payment method cards ─────────── */
#payment .wc_payment_methods {
  padding: 0 var(--sp-3) var(--sp-2);
}

#payment .wc_payment_method > label {
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--hb-radius-md);
  font-size: 0.95rem;
  gap: var(--sp-3);
}

#payment .payment_box {
  margin: 0 var(--sp-3);
  border-radius: 0 0 var(--hb-radius-sm) var(--hb-radius-sm);
}

/* ─── CHECKOUT: Place order CTA ──────────────── */
#payment #place_order,
.woocommerce #payment #place_order {
  width: calc(100% - var(--sp-6));
  margin: 0 var(--sp-3) var(--sp-5);
  padding: var(--sp-4) var(--sp-6);
  font-size: 1.08rem;
  box-shadow: 0 4px 18px rgba(217, 31, 38, .32);
  border-radius: var(--hb-radius-full);
}

/* ─── CHECKOUT: Fulfillment banner description ── */
.hb-fulfillment-banner__text small {
  display: block;
  font-size: 0.75rem;
  color: var(--hb-gray-600);
  font-weight: 400;
  margin-top: 3px;
  line-height: 1.4;
}

/* ─── CHECKOUT: Pickup info card ─────────────── */
.hb-pickup-info {
  border-radius: var(--hb-radius-md);
}

/* ─── CHECKOUT: Mobile ───────────────────────── */
@media (max-width: 767px) {
  .hb-checkout {
    padding: var(--sp-6) 0 var(--sp-16);
  }

  .hb-form-section {
    padding: var(--sp-5) var(--sp-5) var(--sp-6);
  }

  .hb-form-section__head {
    margin-bottom: var(--sp-5);
  }

  #customer_details .woocommerce-billing-fields__field-wrapper,
  #customer_details .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  #customer_details .form-row-wide {
    grid-column: auto;
  }

  #payment #place_order,
  .woocommerce #payment #place_order {
    width: calc(100% - var(--sp-4));
    margin: 0 var(--sp-2) var(--sp-4);
    font-size: 1rem;
  }
}

/* ==============================================
   HERO — FULL-BACKGROUND VIDEO  (polish pass)
   Scoped to .hb-hero-video only.
   Replaces .hb-hero-v2 split layout on front page.
   ============================================== */

/* ── Section wrapper ─────────────────────────── */
.hb-hero-video {
  position: relative;
  width: 100%;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--hb-black);
  padding-top: var(--hb-header-h);
}

/* ── Media layer — fills section, behind content ─ */
.hb-hero-video__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hb-hero-video__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Image fallback: covers section like the video would */
.hb-hero-video__fallback {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--hb-black);
}

/* Warm placeholder used when no video or image is set */
.hb-hero-video__fallback--placeholder {
  background:
    radial-gradient(ellipse 80% 60% at 65% 40%, rgba(180, 10, 10, .32) 0%, transparent 65%),
    linear-gradient(160deg, #1a1a1a 0%, #2c0a0b 55%, #1a1a1a 100%);
}

/* ── Overlay — centered dark gradient for centered content ────── */
.hb-hero-video__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(0,0,0,.78) 0%, rgba(0,0,0,.52) 60%, rgba(0,0,0,.28) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.40) 0%, rgba(0,0,0,.30) 100%);
  pointer-events: none;
}

/* ── Inner container — above overlay ────────── */
.hb-hero-video__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: var(--sp-12);
  padding-bottom: var(--sp-16);
}

/* Use standard theme container width */
.hb-hero-video .hb-container {
  max-width: 1320px;
}

/* ── Content column — centered layout ───────── */
.hb-hero-video__content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

/* ── Headline ────────────────────────────────── */
.hb-hero-video__headline {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.04em;
  color: var(--hb-white);
  margin: 0;
  text-shadow: 0 2px 28px rgba(0, 0, 0, .40);
}

/* Red highlight line — slightly smaller than main headline */
.hb-hero-video__highlight {
  color: var(--hb-red);
  display: block;
  font-size: clamp(2.25rem, 4.75vw, 4.25rem);
}

/* ── Script accent line ──────────────────────── */
.hb-hero-video__script {
  display: block;
  font-family: var(--hb-font-display);
  font-size: clamp(1.75rem, 2.75vw, 2.625rem);
  color: var(--hb-gold);
  margin-top: var(--sp-3);
  line-height: 1.2;
}

/* ── Sub-text ────────────────────────────────── */
.hb-hero-video__sub {
  font-size: 1.05rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, .82);
  margin-top: var(--sp-5);
  margin-left: auto;
  margin-right: auto;
  max-width: 580px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .28);
}

/* ── CTA buttons — scoped premium sizing ─────── */
.hb-hero-video__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.hb-hero-video__actions .hb-btn--lg {
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.875rem 2.125rem;
}

.hb-hero-video__actions .hb-btn--primary {
  box-shadow: 0 3px 22px rgba(217, 31, 38, .52);
}

.hb-hero-video__actions .hb-btn--primary:hover {
  box-shadow: 0 5px 30px rgba(217, 31, 38, .64);
}

.hb-hero-video__actions .hb-btn--outline {
  border-color: rgba(255, 255, 255, .72);
}

.hb-hero-video__actions .hb-btn--outline:hover {
  background: rgba(255, 255, 255, .14);
  border-color: var(--hb-white);
}

/* ── Stats row ───────────────────────────────── */
.hb-hero-video__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6) var(--sp-10);
  margin-top: var(--sp-10);
  padding-top: var(--sp-7);
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.hb-hero-video__stat {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.hb-hero-video__stat strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--hb-white);
  letter-spacing: -.025em;
  line-height: 1;
}

.hb-hero-video__stat span {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .65);
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* ── Tablet (768–1023 px) ────────────────────── */
@media (min-width: 768px) and (max-width: 1023px) {
  .hb-hero-video {
    min-height: 600px;
  }

  .hb-hero-video__inner {
    padding-top: var(--sp-14);
    padding-bottom: var(--sp-16);
  }

  .hb-hero-video__content {
    max-width: 680px;
  }
}

/* ── Desktop (≥ 1024 px) ─────────────────────── */
@media (min-width: 1024px) {
  .hb-hero-video {
    min-height: 1080px;
  }

  .hb-hero-video__inner {
    padding-top: var(--sp-20);
    padding-bottom: var(--sp-24);
  }
}

/* ── Mobile (≤ 639 px) ───────────────────────── */
@media (max-width: 639px) {
  .hb-hero-video {
    min-height: 580px;
    align-items: center;
  }

  .hb-hero-video__inner {
    padding-top: var(--sp-10);
    padding-bottom: var(--sp-12);
  }

  .hb-hero-video__content {
    max-width: 100%;
  }

  .hb-hero-video__sub {
    max-width: 100%;
    font-size: 0.95rem;
  }

  .hb-hero-video__actions {
    flex-direction: column;
    gap: var(--sp-3);
  }

  .hb-hero-video__actions .hb-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hb-hero-video__actions .hb-btn--lg {
    padding: 0.8rem 1.75rem;
  }

  .hb-hero-video__stats {
    gap: var(--sp-4) var(--sp-6);
  }

  .hb-hero-video__stat strong {
    font-size: 1.35rem;
  }
}

/* ── Info strip — clean edge after dark hero ─── */
.hb-hero-video + .hb-info-strip {
  border-top: 1px solid var(--hb-gray-200);
}

/* ==============================================
   KONTAKT PAGE — PHASE D2
   Map card component + contact page helpers
   ============================================== */

/* ─── Map section (below contact grid) ───────── */
.hb-contact-map-section {
  background: var(--hb-off-white);
  padding-bottom: var(--sp-20);
}

/* ─── Contact info column classes ────────────── */
.hb-contact__col-info,
.hb-contact__col-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

/* ─── Sunday hours / muted note in contact card ─ */
.hb-contact-card__hours-note {
  color: var(--hb-gray-500);
}

/* ─── Admin-only hint in form card ───────────── */
.hb-contact-admin-hint {
  font-size: 0.875rem;
  color: var(--hb-gray-500);
  line-height: 1.6;
  margin: 0;
}

.hb-contact-admin-hint code {
  background: var(--hb-gray-100);
  border-radius: var(--hb-radius-xs);
  padding: 1px 6px;
  font-size: 0.82rem;
  color: var(--hb-gray-800);
}

/* ─── Reusable DSGVO-safe map card ───────────── */
.hb-map-card {
  background: var(--hb-white);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-lg);
  box-shadow: var(--hb-shadow-sm);
  overflow: hidden;
}

/* ── Consent layer ── */
.hb-map-card__consent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--sp-4);
  padding: var(--sp-16) var(--sp-8);
  background: var(--hb-gray-50);
  min-height: 280px;
}

.hb-map-card__pin {
  font-size: 2.8rem;
  line-height: 1;
}

.hb-map-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hb-black);
  margin: 0;
}

.hb-map-card__address {
  font-size: 0.875rem;
  color: var(--hb-gray-600);
  margin: 0;
}

.hb-map-card__consent-text {
  font-size: 0.82rem;
  color: var(--hb-gray-500);
  max-width: 380px;
  line-height: 1.55;
  margin: 0;
}

/* ── Iframe wrapper (revealed after consent) ── */
.hb-map-card__iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

/* ── Static placeholder (no embed URL) ── */
.hb-map-card__placeholder {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-8);
  background: var(--hb-gray-50);
  min-height: 280px;
}

.hb-map-card__placeholder-header {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--hb-gray-100);
}

.hb-map-card__placeholder-header .hb-map-card__pin {
  font-size: 2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.hb-map-card__grid {
  width: 100%;
  flex: 1;
  min-height: 120px;
  background-image:
    linear-gradient(var(--hb-gray-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--hb-gray-200) 1px, transparent 1px);
  background-size: 32px 32px;
  background-color: var(--hb-white);
  border-radius: var(--hb-radius-sm);
  border: 1px solid var(--hb-gray-200);
}

.hb-map-card__status {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.82rem;
  color: var(--hb-gray-600);
  background: var(--hb-white);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-full);
  padding: 3px var(--sp-4);
  width: fit-content;
}

.hb-map-card__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  flex-shrink: 0;
}

/* ── External link actions row ── */
.hb-map-card__actions {
  padding: var(--sp-4) var(--sp-6);
  border-top: 1px solid var(--hb-gray-100);
  background: var(--hb-white);
}

/* ─── Responsive ──────────────────────────────── */
@media (max-width: 640px) {
  .hb-map-card__iframe {
    height: 280px;
  }

  .hb-map-card__consent {
    padding: var(--sp-10) var(--sp-6);
    min-height: 240px;
  }

  .hb-map-card__placeholder {
    min-height: 220px;
  }
}

/* ─── Form card intro text ────────────────────── */
.hb-contact-form-card__intro {
  font-size: 0.9rem;
  color: var(--hb-gray-600);
  line-height: 1.6;
  margin: 0 0 var(--sp-6);
}

/* ==============================================
   KONTAKT PAGE — PHASE D2 POLISH
   Map card blank-space fix + CF7 form styles
   ============================================== */

/* ─── Map card: iframe hidden by CSS until consent ─
   The iframe wrapper is hidden via CSS (display:none),
   not the HTML hidden attribute, so no WordPress CSS
   reset can accidentally reveal it before consent. ── */
.hb-map-card__iframe-wrap {
  display: none;
}

/* ─── Map card: consent layer grid background ──
   Direct background-image on the element itself —
   no ::before pseudo-element, no z-index stacking,
   no overflow:hidden that can clip flex children. ─ */
.hb-map-card__consent {
  background-color: var(--hb-gray-50);
  background-image:
    linear-gradient(var(--hb-gray-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--hb-gray-200) 1px, transparent 1px);
  background-size: 40px 40px;
  min-height: 360px;
}

/* ─── Contact Form 7 — scoped to Kontakt form card
   All selectors prefixed with .hb-contact-form-card
   so these styles never affect other CF7 forms. ─── */

/* Form layout: consistent gaps between field rows */
.hb-contact-form-card .wpcf7-form > p {
  margin-top: 0;
  margin-bottom: var(--sp-4);
}

.hb-contact-form-card .wpcf7-form > p:last-child {
  margin-bottom: 0;
}

/* Labels */
.hb-contact-form-card .wpcf7-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hb-gray-800);
  margin-bottom: var(--sp-2);
}

/* Control wrap: ensure full width */
.hb-contact-form-card .wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* Text / email / tel / number inputs + select */
.hb-contact-form-card .wpcf7-form input[type="text"],
.hb-contact-form-card .wpcf7-form input[type="email"],
.hb-contact-form-card .wpcf7-form input[type="tel"],
.hb-contact-form-card .wpcf7-form input[type="url"],
.hb-contact-form-card .wpcf7-form input[type="number"],
.hb-contact-form-card .wpcf7-form select {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 var(--sp-4);
  background: var(--hb-white);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--hb-gray-800);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  box-sizing: border-box;
}

/* Select: custom chevron arrow */
.hb-contact-form-card .wpcf7-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%239B9A97' d='M5 7l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-3) center;
  background-size: 20px 20px;
  padding-right: var(--sp-10);
  cursor: pointer;
}

/* Textarea */
.hb-contact-form-card .wpcf7-form textarea {
  display: block;
  width: 100%;
  min-height: 160px;
  padding: var(--sp-4);
  background: var(--hb-white);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--hb-gray-800);
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  box-sizing: border-box;
}

/* Focus state — red ring */
.hb-contact-form-card .wpcf7-form input[type="text"]:focus,
.hb-contact-form-card .wpcf7-form input[type="email"]:focus,
.hb-contact-form-card .wpcf7-form input[type="tel"]:focus,
.hb-contact-form-card .wpcf7-form input[type="url"]:focus,
.hb-contact-form-card .wpcf7-form input[type="number"]:focus,
.hb-contact-form-card .wpcf7-form select:focus,
.hb-contact-form-card .wpcf7-form textarea:focus {
  border-color: var(--hb-red);
  box-shadow: 0 0 0 3px rgba(217, 31, 38, .12);
}

/* Submit button — Habibi primary style */
.hb-contact-form-card .wpcf7-form input[type="submit"],
.hb-contact-form-card .wpcf7-form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 var(--sp-8);
  background: var(--hb-red);
  color: var(--hb-white);
  border: none;
  border-radius: var(--hb-radius-full);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}

.hb-contact-form-card .wpcf7-form input[type="submit"]:hover,
.hb-contact-form-card .wpcf7-form .wpcf7-submit:hover {
  background: var(--hb-red-dark);
  transform: translateY(-2px);
  box-shadow: var(--hb-shadow-md);
}

.hb-contact-form-card .wpcf7-form input[type="submit"]:active,
.hb-contact-form-card .wpcf7-form .wpcf7-submit:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Disabled/loading state during submit */
.hb-contact-form-card .wpcf7-form.submitting input[type="submit"],
.hb-contact-form-card .wpcf7-form.submitting .wpcf7-submit {
  opacity: 0.65;
  pointer-events: none;
  cursor: not-allowed;
}

/* Acceptance checkbox row */
.hb-contact-form-card .wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin: 0;
}

.hb-contact-form-card .wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  flex-shrink: 0;
  margin: 2px 0 0;
  accent-color: var(--hb-red);
  cursor: pointer;
}

.hb-contact-form-card .wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 0.875rem;
  color: var(--hb-gray-600);
  line-height: 1.55;
  cursor: pointer;
}

/* Field-level validation error */
.hb-contact-form-card .wpcf7-not-valid-tip {
  display: block;
  font-size: 0.78rem;
  color: var(--hb-red);
  margin-top: var(--sp-1);
}

.hb-contact-form-card .wpcf7-form input.wpcf7-not-valid,
.hb-contact-form-card .wpcf7-form select.wpcf7-not-valid,
.hb-contact-form-card .wpcf7-form textarea.wpcf7-not-valid {
  border-color: var(--hb-red);
  background-color: var(--hb-red-light);
}

/* Response output banner (success / error) */
.hb-contact-form-card .wpcf7-response-output {
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--hb-radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  margin: var(--sp-4) 0 0;
  border: none;
}

.hb-contact-form-card .wpcf7-mail-sent-ok {
  background: #dcfce7;
  color: #166534;
  border-left: 4px solid #16a34a;
}

.hb-contact-form-card .wpcf7-mail-sent-ng,
.hb-contact-form-card .wpcf7-aborted,
.hb-contact-form-card .wpcf7-spam-blocked,
.hb-contact-form-card .wpcf7-validation-errors {
  background: var(--hb-red-light);
  color: #991b1b;
  border-left: 4px solid var(--hb-red);
}

/* ─── Kontakt page spacing polish ─────────────── */

/* More breathing room in the form card */
.hb-contact-form-card {
  padding: var(--sp-8);
}

/* Tighten gap between contact section top and hero */
.hb-contact {
  padding-top: var(--sp-16);
}

/* Map section: reduce top gap (hero padding already gives space) */
.hb-contact-map-section {
  padding-top: var(--sp-4);
}

/* ─── Responsive CF7 polish ───────────────────── */
@media (max-width: 640px) {
  .hb-contact-form-card .wpcf7-form input[type="submit"],
  .hb-contact-form-card .wpcf7-form .wpcf7-submit {
    width: 100%;
  }
}

/* ==============================================
   CHECKOUT — PAYMENT BOX CLEANUP (Phase 7)
   Compact payment cards, tighter order summary
   row spacing, mobile overflow guard.
   Scoped: #payment, .woocommerce-checkout-
           review-order-table.
   ============================================== */

/* ─── Payment list: tighten inter-card gap ───────── */
#payment .wc_payment_methods {
  gap: var(--sp-1);
}

/* ─── Payment label: compact + consistent 8 px radius */
#payment .wc_payment_method > label {
  padding: 10px var(--sp-4);
  font-size: 0.9rem;
  border-width: 1px;
  border-radius: var(--hb-radius-sm);
}

/* ─── Payment description: muted + tight ────────── */
#payment .payment_box {
  padding: 7px var(--sp-4);
  font-size: 0.8rem;
  color: var(--hb-gray-500);
  border-width: 1px;
  border-radius: 0 0 var(--hb-radius-sm) var(--hb-radius-sm);
}

/* ─── Payment radio: slightly smaller ───────────── */
#payment .wc_payment_method input[type="radio"] {
  width: 14px;
  height: 14px;
}

/* ─── Selected gateway: softer shadow ───────────── */
#payment .wc_payment_method:has(input:checked) > label {
  box-shadow: 0 0 0 2px rgba(217, 31, 38, .12);
}

/* ─── Order summary: tighter body row padding ────── */
table.woocommerce-checkout-review-order-table tbody td {
  padding: 10px var(--sp-4);
}

/* ─── Order summary: tighter footer row padding ──── */
table.woocommerce-checkout-review-order-table tfoot th,
table.woocommerce-checkout-review-order-table tfoot td {
  padding: 9px var(--sp-4);
}

/* ─── Order summary: Gesamt row breathing room ───── */
table.woocommerce-checkout-review-order-table tfoot .order-total th,
table.woocommerce-checkout-review-order-table tfoot .order-total td {
  padding-top: var(--sp-3);
  padding-bottom: var(--sp-3);
}

/* ─── Order summary: quantity inline with name ───── */
table.woocommerce-checkout-review-order-table tbody td.product-name .product-quantity {
  display: inline;
  margin-left: 3px;
  font-size: 0.82rem;
}

/* ─── Order summary: mobile overflow guard ───────── */
@media (max-width: 640px) {
  table.woocommerce-checkout-review-order-table {
    table-layout: fixed;
    word-break: break-word;
  }

  table.woocommerce-checkout-review-order-table tbody td.product-name {
    width: 65%;
  }

  table.woocommerce-checkout-review-order-table tbody td.product-total {
    width: 35%;
  }
}

/* ─── Checkout: suppress WooCommerce "Billing details" h3 ───────────────────
   form-checkout.php already renders its own section heading inside
   .hb-form-section__head. The stock WC <h3> inside .woocommerce-billing-fields
   is redundant and duplicates the visible heading.                             */
.woocommerce-billing-fields > h3 {
  display: none;
}

/* =============================================================================
   HABIBI ICON SYSTEM
   SVG icons inlined from assets/icons/habibi/ — all use stroke="currentColor".
   Color is controlled entirely via the CSS `color` property on .hb-icon.
   All icons default to the site primary brand red (--hb-red).
   Never modifies generic img/svg tags — all rules are scoped to .hb-icon.
   ============================================================================= */

/* ── Base icon — inline SVG span, brand red by default ─────────────────────── */
.hb-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  vertical-align: middle;
  color: var(--hb-red);
}

/* SVG inside the span fills the container */
.hb-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Size modifiers ────────────────────────────────────────────────────────── */
.hb-icon--sm    { width: 1em;      height: 1em;      }
.hb-icon--md    { width: 1.5em;    height: 1.5em;    }
.hb-icon--lg    { width: 2em;      height: 2em;      }
.hb-icon--card  { width: 2.25rem;  height: 2.25rem;  }
.hb-icon--badge { width: 1.125em;  height: 1.125em;  }

/* ── Icon box wrapper — unified brand background ───────────────────────────── */
.hb-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  flex-shrink: 0;
  background-color: var(--hb-red-light);
}

/* ── Feature card icon — sized for the 52 px icon-bg box ───────────────────── */
.hb-feature-card__icon-bg .hb-icon {
  width: 2.25rem;
  height: 2.25rem;
}

/* ── Contact card icon ─────────────────────────────────────────────────────── */
.hb-contact-card__icon .hb-icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* ── About values icon — sits inside .hb-about-values__icon (3 rem box) ────── */
.hb-about-values__icon .hb-icon {
  width: 2rem;
  height: 2rem;
}

/* ── Map card pin icon ─────────────────────────────────────────────────────── */
.hb-map-card__pin .hb-icon {
  width: 1.75rem;
  height: 1.75rem;
}

/* ── Category tab icon ─────────────────────────────────────────────────────── */
.hb-cat-tab .hb-icon {
  width: 1.125em;
  height: 1.125em;
  margin-right: 0.25em;
  vertical-align: -0.15em;
}

/* ==============================================
   HOMEPAGE V3 REDESIGN
   All styles scoped to V3 homepage classes.
   No modifications to shared/global components.
   Responsive breakpoints: 375, 768, 900, 1280px.
   Root cause fixes vs previous V3:
     - Story + Why panels are now CONTAINED CARDS
       (not full-width red sections).
     - Visit section is centered header + 3-col
       contact row + full-width map below.
     - Hero image frame is 4:3 (not rigid 1:1).
   ============================================== */

/* ─── HERO V3 — Light Split Hero ────────────── */
.hb-hero-v3 {
  background: var(--hb-off-white);
  padding-top: var(--hb-header-h);
  overflow: visible;
  position: relative;
}

.hb-hero-v3__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  padding: var(--sp-12) 0 var(--sp-12);
  align-items: center;
  position: relative;
}

@media (min-width: 900px) {
  .hb-hero-v3__inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: var(--sp-16) 0 var(--sp-10);
    min-height: clamp(440px, 48vw, 580px);
    align-items: start;
  }
  .hb-hero-v3__content {
    max-width: none;
  }
  .hb-hero-v3__visual {
    position: absolute;
    right: 0;
    bottom: -200px;
    top: auto;

    z-index: 2;
    pointer-events: none;
    display: block;
    align-self: unset;
  }
}

/* Left content column */
.hb-hero-v3__content {
  max-width: none;
}

/* Open status pill */
.hb-hero-v3__status {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: #E6F9EF;
  border: 1px solid #B8EDD0;
  color: #1B7A3F;
  font-size: 0.82rem;
  font-weight: 700;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--hb-radius-full);
  margin-bottom: var(--sp-5);
}

.hb-hero-v3__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  display: inline-block;
  flex-shrink: 0;
  animation: hb-dot-pulse 2.2s ease-in-out infinite;
}

/* Main headline */
.hb-hero-v3__headline {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.07;
  color: var(--hb-black);
  letter-spacing: -.03em;
  margin-bottom: var(--sp-3);
}

.hb-hero-v3__headline-line {
  display: block;
}

.hb-hero-v3__headline-line--accent {
  color: var(--hb-red);
}

/* Description */
.hb-hero-v3__sub {
  font-size: 1rem;
  color: var(--hb-gray-600);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: var(--sp-8);
}

/* CTA row */
.hb-hero-v3__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

/* Right visual column */
.hb-hero-v3__visual {
  position:absolute;
  bottom: -410px;
  right: -110px;
}



/* Image frame: floating food composition — no card, no background box */
.hb-hero-v3__img-frame {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hb-hero-v3__img-el {
  width: auto;
  height: 930px;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}

.hb-hero-v3__img-frame .hb-placeholder {
  width: 100%;
  min-height: 320px;
  font-size: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Decorative overlay images: circular */
.hb-hero-v3__decor {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  width: auto;
  height: 160px;
}

.hb-hero-v3__decor img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hb-hero-v3__decor--1 {
  bottom: var(--sp-4);
  left: calc(-1 * var(--sp-4));
}

.hb-hero-v3__decor--2 {
  top: var(--sp-4);
  right: calc(9 * var(--sp-4));
}

/* Mobile: collapse absolute positioning, compact image, no decor items */
@media (max-width: 899px) {
  .hb-hero-v3__visual {
    position: relative;
    bottom: auto;
    top: auto;
  }
  .hb-hero-v3__img-frame {
    max-width: 100%;
  }
  .hb-hero-v3__img-el {
    height: auto;
    max-height: 320px;
  }
  .hb-hero-v3__decor {
    display: none;
  }
  .hb-hero-v3__headline {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
  .hb-hero-v3__headline-line {
    display: block;
  }
}

@media (max-width: 480px) {
  .hb-hero-v3__inner {
    padding: var(--sp-8) 0 var(--sp-8);
  }
}

/* ─── STORY V3 — Contained Red Card ─────────── */
/* Section background is off-white. The red element is a
   contained card with rounded corners — not a full-width band.
   position:relative anchors the absolute bottom-float image.
   Generous bottom padding gives the image room to protrude. */
.hb-story-v3 {
  background: var(--hb-off-white);
  padding: var(--sp-4) 0 clamp(80px, 7vw, 110px);
  overflow: visible;
  position: relative;
  margin-top: 120px;
}

/* The red card */
.hb-story-v3__card {
  background: var(--hb-red);
  border-radius: var(--hb-radius-lg);
  padding: var(--sp-10) var(--sp-8);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  position: relative;
  overflow: hidden;
}

@media (min-width: 900px) {
  .hb-story-v3__card {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0;
    padding: 140px 60px;
    align-items: start;
    min-height: 220px;
  }
  .hb-story-v3__content {
    grid-column: 1 / span 6;
  }
  .hb-story-v3__aside {
    grid-column: 8 / span 5;
  }
}

/* LEFT: label + headline */
.hb-story-v3__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
  margin-bottom: var(--sp-4);
}

.hb-story-v3__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--hb-white);
  line-height: 1.1;
  letter-spacing: -.02em;
}

.hb-story-v3__title em {
  font-style: normal;
  color: rgba(255, 255, 255, .80);
}

/* RIGHT: body text + stats */
.hb-story-v3__aside {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  justify-content: center;
}

.hb-story-v3__text {
  font-size: 0.97rem;
  color: rgba(255, 255, 255, .82);
  line-height: 1.7;
}

.hb-story-v3__stats {
  display: flex;
  gap: var(--sp-8) var(--sp-12);
  flex-wrap: wrap;
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, .25);
}

.hb-story-v3__stat strong {
  display: block;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--hb-white);
  line-height: 1.1;
  margin-bottom: 4px;
  letter-spacing: -.02em;
}

.hb-story-v3__stat span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, .65);
  font-weight: 500;
}

/* Bottom floating image: absolute, centered in the story section's bottom
   padding zone so it straddles the lower edge of the red card. */
.hb-story-v3__bottom-float {
  position: absolute;
  left: 45%;
  bottom: clamp(0px, 4vw, 10px);
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}

.hb-story-v3__bottom-img {
  width:auto;
  height: 320px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .20));
  border-radius: var(--hb-radius-lg);
}

@media (max-width: 899px) {
  .hb-story-v3 {
    padding-bottom: var(--sp-12);
  }
  .hb-story-v3__card {
    grid-template-columns: 1fr;
    padding: 56px 24px;
  }
  .hb-story-v3__content,
  .hb-story-v3__aside {
    grid-column: 1;
  }
  .hb-story-v3__bottom-float {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: clamp(140px, 45vw, 200px);
    z-index: auto;
    pointer-events: auto;
    display: block;
    margin: var(--sp-6) auto 0;
  }
  .hb-story-v3__bottom-img {
    max-width: 100%;
  }
}

/* ─── HIGHLIGHTS V3 MODIFIER ─────────────────── */
/* 4-col grid at desktop on the V3 popular section */
.hb-highlights--v3 {
  background: var(--hb-white);
  padding: var(--sp-20) 0;
}

@media (min-width: 1100px) {
  .hb-highlights--v3 .hb-highlights__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ─── WHY HABIBI V3 — Contained Red Card ─────── */
/* Section background is white. The red element is a
   contained card with rounded corners — not a full-width band. */
.hb-why-habibi-v3 {
  background: var(--hb-white);
  padding: 0 0 var(--sp-20);
}

/* The red card */
.hb-why-habibi-v3__card {
  background: var(--hb-red);
  border-radius: var(--hb-radius-lg);
  padding: var(--sp-10) var(--sp-8);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}

@media (min-width: 900px) {
  .hb-why-habibi-v3__card {
    grid-template-columns: 1fr 1.5fr;
    gap: var(--sp-12);
    padding: var(--sp-12) var(--sp-12);
    align-items: center;
  }
}

@media (max-width: 899px) {
  .hb-why-habibi-v3__card {
    padding: var(--sp-8) var(--sp-6);
  }
}

/* LEFT: intro text */
.hb-why-habibi-v3__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hb-white);
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: var(--hb-radius-full);
  padding: 5px 14px;
  margin-bottom: var(--sp-5);
}

.hb-why-habibi-v3__title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--hb-white);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: var(--sp-5);
}

.hb-why-habibi-v3__text {
  font-size: 0.97rem;
  color: rgba(255, 255, 255, .82);
  line-height: 1.7;
}

/* RIGHT: 2×2 flat benefit grid */
.hb-why-habibi-v3__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10) var(--sp-8);
}

@media (max-width: 480px) {
  .hb-why-habibi-v3__cards {
    grid-template-columns: 1fr;
  }
}

/* Flat benefit blocks directly on the red background */
.hb-why-card-v3 {
  background: transparent;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  box-shadow: none;
}

/* Icon wrapper */
.hb-why-card-v3__icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: var(--sp-2);
}

.hb-why-card-v3__icon-wrap .hb-icon {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--hb-white);
}

.hb-why-card-v3__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hb-white);
  letter-spacing: -.01em;
  line-height: 1.3;
}

.hb-why-card-v3__text {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, .78);
  line-height: 1.6;
}

/* ─── VISIT V3 — Centered Layout ─────────────── */
/* Centered header + 3 horizontal contact cards +
   full-width map below. Previous 2-col layout removed. */
.hb-visit-v3 {
  background: var(--hb-off-white);
  padding: var(--sp-20) 0 var(--sp-20);
}

/* Centered section header */
.hb-visit-v3__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--sp-12);
}

.hb-visit-v3__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--hb-red);
  margin-bottom: var(--sp-3);
}

.hb-visit-v3__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--hb-black);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: var(--sp-4);
}

.hb-visit-v3__helper {
  font-size: 0.96rem;
  color: var(--hb-gray-600);
  line-height: 1.65;
}

/* Three contact cards in a horizontal row */
.hb-visit-v3__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

@media (min-width: 600px) {
  .hb-visit-v3__cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hb-visit-v3__card {
  background: var(--hb-white);
  border-radius: var(--hb-radius-md);
  padding: var(--sp-6) var(--sp-6);
  border: 1px solid var(--hb-gray-100);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  box-shadow: var(--hb-shadow-xs);
  transition: box-shadow var(--hb-transition);
}

.hb-visit-v3__card:hover {
  box-shadow: var(--hb-shadow-sm);
}

.hb-visit-v3__card-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
  line-height: 1;
}

.hb-visit-v3__card-body {
  flex: 1;
}

.hb-visit-v3__card-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--hb-red);
  margin-bottom: var(--sp-2);
}

.hb-visit-v3__card-value {
  font-size: 0.93rem;
  color: var(--hb-black);
  line-height: 1.55;
}

.hb-visit-v3__card-closed {
  color: var(--hb-gray-500);
  font-size: 0.87rem;
}

.hb-visit-v3__link {
  color: var(--hb-red);
  font-weight: 500;
  transition: text-decoration var(--hb-transition);
}

.hb-visit-v3__link:hover {
  text-decoration: underline;
}

/* CTA buttons row — centered */
.hb-visit-v3__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  margin-bottom: var(--sp-10);
}

/* Full-width map below the cards */
.hb-visit-v3__map-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.hb-visit-v3__map-iframe {
  width: 100%;
  aspect-ratio: 21 / 9;
  border: 0;
  border-radius: var(--hb-radius-lg);
  box-shadow: var(--hb-shadow-md);
  display: block;
}

/* Static map placeholder — full width, wide aspect */
.hb-visit-v3__map-placeholder {
  background: var(--hb-white);
  border-radius: var(--hb-radius-lg);
  border: 1px solid var(--hb-gray-100);
  box-shadow: var(--hb-shadow-sm);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.hb-visit-v3__map-header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-6);
  background: var(--hb-white);
  z-index: 1;
  position: relative;
}

.hb-visit-v3__map-pin {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
}

.hb-visit-v3__map-name {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--hb-black);
  margin-bottom: 2px;
}

.hb-visit-v3__map-address {
  font-size: 0.82rem;
  color: var(--hb-gray-600);
}

.hb-visit-v3__map-grid {
  flex: 1;
  background:
    linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  background-color: #E8EEF4;
}

.hb-visit-v3__map-status {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  background: var(--hb-white);
  border-top: 1px solid var(--hb-gray-100);
  font-size: 0.82rem;
  color: var(--hb-gray-600);
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.hb-visit-v3__map-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  display: inline-block;
  flex-shrink: 0;
  animation: hb-dot-pulse 2.2s ease-in-out infinite;
}

.hb-visit-v3__map-link {
  align-self: flex-start;
}

/* Mobile: narrow viewports */
@media (max-width: 640px) {
  .hb-visit-v3__cta {
    flex-direction: column;
    align-items: center;
  }
  .hb-visit-v3__cta .hb-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .hb-visit-v3__map-iframe,
  .hb-visit-v3__map-placeholder {
    aspect-ratio: 4 / 3;
  }
}

/* ==============================================
   WOOCOMMERCE MY ACCOUNT V3
   Scoped to .woocommerce-account and .hb-account.
   No modifications to cart, checkout, or product logic.
   Design tokens: --hb-red, --hb-off-white, --hb-white,
   --hb-gray-*, --hb-radius-*, --hb-shadow-*, --sp-*.
   ============================================== */

/* ── ACCOUNT PAGE BACKGROUND ───────────────────── */
/* page.php adds .hb-legal--account when is_account_page() */
.hb-legal--account {
  background: var(--hb-off-white);
  /* Push below the fixed navbar (--hb-header-h: 76px mobile, 88px desktop)
     plus visual breathing room. Uses the same token as hb-page-hero. */
  padding-top: calc(var(--hb-header-h) + var(--sp-8));
  padding-bottom: var(--sp-20);
}

/* Neutralise the inner hb-wc-wrapper added by the
   woocommerce_before_main_content hook — it must not
   add extra padding inside the account layout. */
.woocommerce-account .hb-wc-wrapper {
  padding-left: 0;
  padding-right: 0;
  max-width: none;
}

/* ── TWO-COLUMN LAYOUT ─────────────────────────── */
.hb-account {
  width: 100%;
}

.hb-account__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  align-items: start;
}

@media (min-width: 900px) {
  .hb-account__layout {
    grid-template-columns: 220px 1fr;
    gap: var(--sp-8);
  }
}

@media (min-width: 1100px) {
  .hb-account__layout {
    grid-template-columns: 240px 1fr;
    gap: var(--sp-10);
  }
}

/* ── NAV CARD (left sidebar) ───────────────────── */
.hb-account__nav {
  background: var(--hb-white);
  border-radius: var(--hb-radius-lg);
  border: 1px solid var(--hb-gray-100);
  box-shadow: var(--hb-shadow-xs);
  overflow: hidden;
}

@media (min-width: 900px) {
  .hb-account__nav {
    position: sticky;
    top: calc(var(--hb-header-h) + var(--sp-6));
  }
}

/* WooCommerce nav markup — navigation.php */
.hb-account__nav .woocommerce-MyAccount-navigation {
  margin: 0;
}

.hb-account__nav .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: var(--sp-2) 0;
}

.hb-account__nav .woocommerce-MyAccount-navigation li {
  margin: 0;
  border-bottom: 1px solid var(--hb-gray-100);
}

.hb-account__nav .woocommerce-MyAccount-navigation li:last-child {
  border-bottom: none;
}

.hb-account__nav .woocommerce-MyAccount-navigation li a {
  display: block;
  padding: var(--sp-3) var(--sp-5);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--hb-gray-700);
  text-decoration: none;
  transition: background var(--hb-transition), color var(--hb-transition), padding-left var(--hb-transition);
}

.hb-account__nav .woocommerce-MyAccount-navigation li a:hover {
  background: var(--hb-off-white);
  color: var(--hb-red);
  padding-left: calc(var(--sp-5) + 4px);
}

.hb-account__nav .woocommerce-MyAccount-navigation li.is-active a,
.hb-account__nav .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--active a {
  background: var(--hb-red-light);
  color: var(--hb-red);
  font-weight: 700;
  border-left: 3px solid var(--hb-red);
  padding-left: calc(var(--sp-5) - 3px);
}

/* Logout link — subtle red tint on hover */
.hb-account__nav .woocommerce-MyAccount-navigation-link--customer-logout a {
  color: var(--hb-gray-500);
}

.hb-account__nav .woocommerce-MyAccount-navigation-link--customer-logout a:hover {
  color: var(--hb-red);
  background: var(--hb-red-light);
}

/* ── CONTENT CARD (right panel) ────────────────── */
.hb-account__content {
  background: var(--hb-white);
  border-radius: var(--hb-radius-lg);
  border: 1px solid var(--hb-gray-100);
  box-shadow: var(--hb-shadow-xs);
  padding: var(--sp-8);
  min-width: 0;
}

@media (max-width: 639px) {
  .hb-account__content {
    padding: var(--sp-5);
  }
}

/* WooCommerce wraps endpoint output in .woocommerce-MyAccount-content — reset it */
.hb-account__content .woocommerce-MyAccount-content {
  margin: 0;
  padding: 0;
}

/* ── WC NOTICES WITHIN ACCOUNT ─────────────────── */
.hb-account__content .woocommerce-message,
.hb-account__content .woocommerce-info,
.hb-account__content .woocommerce-error {
  border-radius: var(--hb-radius-md);
  font-size: 0.92rem;
  margin-bottom: var(--sp-5);
  padding: var(--sp-3) var(--sp-5);
}

.hb-account__content .woocommerce-message {
  background: #dcfce7;
  color: #166534;
  border-left: 4px solid #16a34a;
  border-top: none;
}

.hb-account__content .woocommerce-info {
  background: #eff6ff;
  color: #1e40af;
  border-left: 4px solid #3b82f6;
  border-top: none;
}

.hb-account__content .woocommerce-error {
  background: var(--hb-red-light);
  color: #991b1b;
  border-left: 4px solid var(--hb-red);
  border-top: none;
}

/* ── DASHBOARD ─────────────────────────────────── */
.hb-account-dashboard__greeting {
  margin-bottom: var(--sp-8);
}

.hb-account-dashboard__hi {
  font-size: 1.05rem;
  color: var(--hb-gray-800);
  margin-bottom: var(--sp-2);
  line-height: 1.55;
}

.hb-account-dashboard__hi strong {
  color: var(--hb-black);
}

.hb-account-dashboard__hi a {
  color: var(--hb-gray-500);
  font-size: 0.85rem;
  margin-left: var(--sp-2);
}

.hb-account-dashboard__sub {
  font-size: 0.92rem;
  color: var(--hb-gray-500);
  margin: 0;
}

/* Dashboard quick-access cards grid */
.hb-account-dashboard__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}

@media (min-width: 540px) {
  .hb-account-dashboard__cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hb-account-dash-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-5) var(--sp-4);
  background: var(--hb-off-white);
  border: 1px solid var(--hb-gray-100);
  border-radius: var(--hb-radius-md);
  text-decoration: none;
  transition: background var(--hb-transition), border-color var(--hb-transition), box-shadow var(--hb-transition), transform var(--hb-transition);
  text-align: center;
}

.hb-account-dash-card:hover {
  background: var(--hb-red-light);
  border-color: var(--hb-red);
  box-shadow: var(--hb-shadow-sm);
  transform: translateY(-2px);
}

.hb-account-dash-card__icon {
  font-size: 1.8rem;
  line-height: 1;
  display: block;
}

.hb-account-dash-card__label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--hb-gray-700);
  line-height: 1.3;
}

.hb-account-dash-card:hover .hb-account-dash-card__label {
  color: var(--hb-red);
}

/* ── ORDERS TABLE ──────────────────────────────── */
.woocommerce-account .woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.woocommerce-account .woocommerce-orders-table thead {
  background: var(--hb-off-white);
  border-bottom: 2px solid var(--hb-gray-200);
}

.woocommerce-account .woocommerce-orders-table thead th {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--hb-gray-500);
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
}

.woocommerce-account .woocommerce-orders-table tbody tr {
  border-bottom: 1px solid var(--hb-gray-100);
  transition: background var(--hb-transition);
}

.woocommerce-account .woocommerce-orders-table tbody tr:hover {
  background: var(--hb-off-white);
}

.woocommerce-account .woocommerce-orders-table tbody td {
  padding: var(--sp-3) var(--sp-4);
  color: var(--hb-gray-700);
  vertical-align: middle;
}

/* Order number link */
.woocommerce-account .woocommerce-orders-table__cell-order-number a {
  font-weight: 700;
  color: var(--hb-red);
  text-decoration: none;
}

.woocommerce-account .woocommerce-orders-table__cell-order-number a:hover {
  text-decoration: underline;
}

/* Order action buttons */
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button,
.woocommerce-account .woocommerce-orders-table__cell-order-actions a.button {
  display: inline-block;
  padding: 6px var(--sp-4);
  background: var(--hb-red);
  color: var(--hb-white);
  border: none;
  border-radius: var(--hb-radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--hb-transition);
  cursor: pointer;
}

.woocommerce-account .woocommerce-orders-table__cell-order-actions .button:hover,
.woocommerce-account .woocommerce-orders-table__cell-order-actions a.button:hover {
  background: var(--hb-red-dark);
}

/* ORDER STATUS BADGES */
.woocommerce-account mark.order-status,
.woocommerce-account .woocommerce-orders-table__cell-order-status mark {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--hb-radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: var(--hb-gray-100);
  color: var(--hb-gray-700);
}

.woocommerce-account mark.status-completed    { background: #dcfce7; color: #166534; }
.woocommerce-account mark.status-processing   { background: #dbeafe; color: #1e40af; }
.woocommerce-account mark.status-on-hold      { background: #fef9c3; color: #854d0e; }
.woocommerce-account mark.status-cancelled    { background: #fee2e2; color: #991b1b; }
.woocommerce-account mark.status-refunded     { background: #f3e8ff; color: #6b21a8; }
.woocommerce-account mark.status-failed       { background: #fee2e2; color: #991b1b; }
.woocommerce-account mark.status-pending      { background: var(--hb-gray-100); color: var(--hb-gray-600); }

/* Orders pagination */
.woocommerce-account .woocommerce-pagination {
  margin-top: var(--sp-6);
  text-align: center;
}

.woocommerce-account .woocommerce-pagination ul {
  display: inline-flex;
  gap: var(--sp-1);
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-account .woocommerce-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--hb-radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--hb-gray-700);
  background: var(--hb-white);
  border: 1px solid var(--hb-gray-200);
  text-decoration: none;
  transition: background var(--hb-transition), color var(--hb-transition), border-color var(--hb-transition);
}

.woocommerce-account .woocommerce-pagination .page-numbers:hover {
  background: var(--hb-off-white);
  border-color: var(--hb-gray-300);
}

.woocommerce-account .woocommerce-pagination .page-numbers.current {
  background: var(--hb-red);
  color: var(--hb-white);
  border-color: var(--hb-red);
}

/* Orders: mobile horizontal scroll */
@media (max-width: 639px) {
  .woocommerce-account .woocommerce-orders-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ── VIEW ORDER ────────────────────────────────── */
.woocommerce-account .woocommerce-order-details {
  margin-top: var(--sp-6);
}

.woocommerce-account .woocommerce-order-details__title,
.woocommerce-account .woocommerce-column__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hb-black);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--hb-gray-100);
}

.woocommerce-account .woocommerce-customer-details address {
  font-style: normal;
  line-height: 1.7;
  color: var(--hb-gray-700);
  font-size: 0.92rem;
}

/* ── DOWNLOADS ─────────────────────────────────── */
.woocommerce-account .woocommerce-MyAccount-downloads-file {
  color: var(--hb-red);
  font-weight: 600;
  text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-downloads-file:hover {
  text-decoration: underline;
}

/* Empty state */
.woocommerce-account .woocommerce-MyAccount-content > p:only-child,
.woocommerce-account .woocommerce-info:only-child {
  text-align: center;
  padding: var(--sp-12) var(--sp-6);
  color: var(--hb-gray-500);
  font-size: 0.95rem;
}

/* ── ADDRESS CARDS (my-address.php) ───────────── */
.woocommerce-account .woocommerce-MyAccount-addresses {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

@media (min-width: 640px) {
  .woocommerce-account .woocommerce-MyAccount-addresses {
    grid-template-columns: repeat(2, 1fr);
  }
}

.woocommerce-account .woocommerce-Address {
  background: var(--hb-off-white);
  border: 1px solid var(--hb-gray-100);
  border-radius: var(--hb-radius-md);
  padding: var(--sp-5) var(--sp-6);
}

.woocommerce-account .woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--hb-gray-200);
}

.woocommerce-account .woocommerce-Address-title h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--hb-black);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.woocommerce-account .woocommerce-Address-title .edit {
  font-size: 0.8rem;
  color: var(--hb-red);
  text-decoration: none;
  font-weight: 600;
}

.woocommerce-account .woocommerce-Address-title .edit:hover {
  text-decoration: underline;
}

.woocommerce-account .woocommerce-Address address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--hb-gray-700);
}

/* ── EDIT ADDRESS & ACCOUNT DETAILS FORMS ─────── */
.woocommerce-account .woocommerce-EditAccountForm,
.woocommerce-account .woocommerce-address-fields {
  margin-top: var(--sp-4);
}

/* WooCommerce form rows */
.woocommerce-account .form-row {
  margin-bottom: var(--sp-4);
}

.woocommerce-account .form-row label {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--hb-gray-800);
  margin-bottom: var(--sp-2);
}

.woocommerce-account .form-row .required {
  color: var(--hb-red);
}

/* Input/select/textarea in account forms — use hb-input style */
.woocommerce-account .form-row .input-text,
.woocommerce-account .form-row input[type="text"],
.woocommerce-account .form-row input[type="email"],
.woocommerce-account .form-row input[type="tel"],
.woocommerce-account .form-row input[type="password"],
.woocommerce-account .form-row select,
.woocommerce-account .form-row textarea {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 var(--sp-4);
  background: var(--hb-white);
  border: 1.5px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--hb-gray-800);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  box-sizing: border-box;
  appearance: none;
}

.woocommerce-account .form-row textarea {
  height: auto;
  min-height: 120px;
  padding: var(--sp-3) var(--sp-4);
}

.woocommerce-account .form-row .input-text:focus,
.woocommerce-account .form-row input[type="text"]:focus,
.woocommerce-account .form-row input[type="email"]:focus,
.woocommerce-account .form-row input[type="tel"]:focus,
.woocommerce-account .form-row input[type="password"]:focus,
.woocommerce-account .form-row select:focus,
.woocommerce-account .form-row textarea:focus {
  border-color: var(--hb-red);
  box-shadow: 0 0 0 3px rgba(217, 31, 38, .10);
  outline: none;
}

/* Password strength meter */
.woocommerce-account .woocommerce-password-strength {
  font-size: 0.78rem;
  font-weight: 700;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--hb-radius-xs);
  margin-top: var(--sp-2);
  text-align: center;
}

/* Field error tip */
.woocommerce-account .woocommerce-invalid .input-text {
  border-color: var(--hb-red);
  background: var(--hb-red-light);
}

/* Form fieldset (password change block) */
.woocommerce-account .woocommerce-EditAccountForm fieldset {
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-md);
  padding: var(--sp-5) var(--sp-6);
  margin-top: var(--sp-6);
}

.woocommerce-account .woocommerce-EditAccountForm fieldset legend {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--hb-gray-700);
  padding: 0 var(--sp-2);
}

/* Save / submit buttons in account forms */
.woocommerce-account .woocommerce-EditAccountForm .button,
.woocommerce-account .woocommerce-address-fields .button,
.woocommerce-account p > .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem var(--sp-8);
  background: var(--hb-red);
  color: var(--hb-white);
  border: none;
  border-radius: var(--hb-radius-full);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background var(--hb-transition), transform var(--hb-transition), box-shadow var(--hb-transition);
  text-decoration: none;
}
.page-id-13 .woocommerce-Button.button {
  margin-top: var(--sp-4);
}
.woocommerce-account .woocommerce-EditAccountForm .button:hover,
.woocommerce-account .woocommerce-address-fields .button:hover,
.woocommerce-account p > .button:hover {
  background: var(--hb-red-dark);
  transform: translateY(-2px);
  box-shadow: var(--hb-shadow-md);
}

/* ── LOGIN / REGISTER — card layout (form-login.php) ── */

/* Outer wrapper — fills the (now transparent) .hb-account__content area */
.hb-auth__container {
  width: 100%;
}

/* Page-level heading + intro above the two cards */
.hb-auth__header {
  text-align: center;
  margin-bottom: var(--sp-8);
}

.hb-auth__page-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--hb-black);
  letter-spacing: -.03em;
  margin: 0 0 var(--sp-3);
  line-height: 1.15;
}

.hb-auth__page-sub {
  font-size: 1rem;
  color: var(--hb-gray-500);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Two-column card grid */
.hb-auth__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  align-items: start;
}

@media (min-width: 768px) {
  .hb-auth__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-8);
  }
}

/* Single-column when registration is disabled */
.hb-auth__container--single .hb-auth__grid {
  grid-template-columns: 1fr;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Individual auth card */
.hb-auth__card {
  background: var(--hb-white);
  border: 1px solid var(--hb-gray-100);
  border-radius: var(--hb-radius-xl);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  padding: var(--sp-8);
}

@media (max-width: 479px) {
  .hb-auth__card { padding: var(--sp-6) var(--sp-5); }
}

/* Card heading */
.hb-auth__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--hb-black);
  margin: 0 0 var(--sp-2);
  letter-spacing: -.02em;
}

/* Helper text below heading */
.hb-auth__helper {
  font-size: 0.875rem;
  color: var(--hb-gray-500);
  margin: 0 0 var(--sp-6);
  line-height: 1.55;
}

/* Field groups */
.hb-auth__field-group {
  margin-bottom: var(--sp-4);
}

.hb-auth__field-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--hb-gray-700);
  margin-bottom: var(--sp-2);
}

.hb-auth__field-group .required {
  color: var(--hb-red);
  margin-left: 2px;
}

.hb-auth__field-group .hb-input {
  width: 100%;
  height: 48px;
  padding: 0 var(--sp-4);
  border: 1.5px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-md);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--hb-gray-800);
  background: var(--hb-white);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  box-sizing: border-box;
  display: block;
  appearance: none;
}

.hb-auth__field-group .hb-input:focus {
  border-color: var(--hb-red);
  box-shadow: 0 0 0 3px rgba(217, 31, 38, 0.10);
  outline: none;
}

/* Login card footer: checkbox + lost-pw on one row */
.hb-auth__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-4);
}

.hb-auth__remember {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.85rem;
  color: var(--hb-gray-600);
  cursor: pointer;
  user-select: none;
}

.hb-auth__remember input[type="checkbox"] {
  accent-color: var(--hb-red);
  width: 16px;
  height: 16px;
  cursor: pointer;
  flex-shrink: 0;
}

.hb-auth__lost-pw-link {
  font-size: 0.83rem;
  color: var(--hb-gray-500);
  text-decoration: none;
  transition: color var(--hb-transition);
}

.hb-auth__lost-pw-link:hover {
  color: var(--hb-red);
  text-decoration: underline;
}

/* Full-width submit button */
.hb-auth__submit--full {
  width: 100%;
  justify-content: center;
}

/* Register card action row */
.hb-auth__actions {
  margin-top: var(--sp-2);
}

.hb-auth__actions--register {
  margin-top: var(--sp-5);
}

/* Info note — auto-generated password message */
.hb-auth__info-note {
  font-size: 0.875rem;
  color: var(--hb-gray-600);
  background: var(--hb-off-white);
  border-radius: var(--hb-radius-sm);
  border-left: 3px solid var(--hb-gray-300);
  padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-4);
  line-height: 1.5;
}

/* Privacy policy text rendered by woocommerce_register_form hook */
.hb-auth__card--register .woocommerce-privacy-policy-text {
  font-size: 0.8rem;
  color: var(--hb-gray-400);
  margin-top: var(--sp-4);
  line-height: 1.55;
}

.hb-auth__card--register .woocommerce-privacy-policy-text a {
  color: var(--hb-gray-500);
  text-decoration: underline;
}

.hb-auth__card--register .woocommerce-privacy-policy-text a:hover {
  color: var(--hb-red);
}

/* WC notices inside the auth container */
.hb-auth__container .woocommerce-error,
.hb-auth__container .woocommerce-message,
.hb-auth__container .woocommerce-info {
  border-radius: var(--hb-radius-md);
  margin-bottom: var(--sp-5);
  padding: var(--sp-3) var(--sp-5);
  border-top: none;
}

/* Backward-compat: old .hb-auth__panel class (password reset form reuses field-group styles) */
.hb-auth__panel { padding: 0; }

/* Old lost-pw paragraph link style — kept for form-lost-password.php */
.hb-auth__lost-pw {
  margin-top: var(--sp-4);
  font-size: 0.83rem;
}

.hb-auth__lost-pw a {
  color: var(--hb-gray-500);
  text-decoration: none;
}

.hb-auth__lost-pw a:hover {
  color: var(--hb-red);
  text-decoration: underline;
}

/* Generic info notice — used by old shortcode template and password notice */
.hb-auth__notice {
  font-size: 0.88rem;
  color: var(--hb-gray-500);
  background: var(--hb-off-white);
  border-radius: var(--hb-radius-sm);
  padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-4);
  border-left: 3px solid var(--hb-gray-300);
}

.hb-auth__submit {
  flex-shrink: 0;
}

/* ── LOST PASSWORD ──────────────────────────────── */
.woocommerce-account .lost_reset_password .form-row {
  margin-bottom: var(--sp-4);
}

/* ── ACCOUNT PAGE: logged-out (login/register only) ─ */
/* Collapse the empty nav aside and center the auth card */
.woocommerce-account:not(.logged-in) .hb-account__nav {
  display: none;
}

.woocommerce-account:not(.logged-in) .hb-account__layout {
  grid-template-columns: 1fr;
}

/* Strip the white card from the logged-out wrapper — each auth card is its own visual unit */
.woocommerce-account:not(.logged-in) .hb-account__content {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* ── RESPONSIVE: stack layout below 900px ──────── */
@media (max-width: 899px) {
  .hb-account__nav .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-1);
    padding: var(--sp-3);
  }

  .hb-account__nav .woocommerce-MyAccount-navigation li {
    border-bottom: none;
  }

  .hb-account__nav .woocommerce-MyAccount-navigation li a {
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--hb-radius-full);
    font-size: 0.84rem;
    background: var(--hb-off-white);
    border: 1px solid var(--hb-gray-100);
  }

  .hb-account__nav .woocommerce-MyAccount-navigation li a:hover {
    padding-left: var(--sp-4);
    background: var(--hb-red-light);
  }

  .hb-account__nav .woocommerce-MyAccount-navigation li.is-active a,
  .hb-account__nav .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--active a {
    border-left: none;
    padding-left: var(--sp-4);
  }
}

/* ==========================================================================
   WOOCOMMERCE VIEW ORDER — BESTELLDETAILS V3
   Extends the My Account V3 block above.
   Covers: order header card, status badges, items table,
   action buttons, customer address cards, order notes.
   All selectors scoped to .woocommerce-account.
   ========================================================================== */

/* ── ORDER HEADER CARD ──────────────────────────── */
.hb-order-header {
  background: var(--hb-off-white);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-md);
  padding: var(--sp-5) var(--sp-6);
  margin-bottom: var(--sp-5);
}

.hb-order-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--hb-gray-200);
}

.hb-order-header__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--hb-black);
  margin: 0;
  letter-spacing: -.02em;
}

/* ── STATUS BADGES (order header) ───────────────── */
.hb-order-header__status {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: var(--hb-radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  background: var(--hb-gray-100);
  color: var(--hb-gray-600);
}

.hb-status-completed  { background: #dcfce7; color: #166534; }
.hb-status-processing { background: #dbeafe; color: #1e40af; }
.hb-status-on-hold    { background: #fef9c3; color: #854d0e; }
.hb-status-pending    { background: var(--hb-gray-100); color: var(--hb-gray-600); }
.hb-status-cancelled  { background: #fee2e2; color: #991b1b; }
.hb-status-refunded   { background: #f3e8ff; color: #6b21a8; }
.hb-status-failed     { background: #fee2e2; color: #991b1b; }

/* ── ORDER HEADER META (definition list) ─────────── */
.hb-order-header__meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4) var(--sp-6);
  margin: 0;
}

.hb-order-header__meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hb-order-header__meta dt {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--hb-gray-400);
}

.hb-order-header__meta dd {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--hb-black);
  margin: 0;
}

/* ── ORDER NOTES ────────────────────────────────── */
.hb-order-notes {
  background: var(--hb-white);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-md);
  padding: var(--sp-5) var(--sp-6);
  margin-bottom: var(--sp-5);
}

.hb-order-notes__title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--hb-gray-500);
  margin: 0 0 var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--hb-gray-100);
}

.hb-order-notes .woocommerce-OrderUpdates {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.hb-order-notes .woocommerce-OrderUpdate {
  background: var(--hb-off-white);
  border-radius: var(--hb-radius-sm);
  padding: var(--sp-3) var(--sp-4);
}

.hb-order-notes .woocommerce-OrderUpdate-meta {
  font-size: 0.74rem;
  color: var(--hb-gray-400);
  margin: 0 0 4px;
}

.hb-order-notes .woocommerce-OrderUpdate-description p {
  font-size: 0.9rem;
  color: var(--hb-gray-700);
  margin: 0;
}

/* ── ORDER DETAILS SECTION ──────────────────────── */
.woocommerce-account .woocommerce-order-details {
  background: var(--hb-white);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-md);
  padding: var(--sp-5) var(--sp-6);
  margin-top: 0;
  margin-bottom: var(--sp-5);
  overflow: hidden;
}

.woocommerce-account .woocommerce-order-details__title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--hb-gray-500);
  margin: 0 0 var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--hb-gray-100);
}

/* ── ORDER ITEMS TABLE ──────────────────────────── */
.woocommerce-account .woocommerce-table--order-details {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.woocommerce-account .woocommerce-table--order-details thead {
  background: var(--hb-off-white);
}

.woocommerce-account .woocommerce-table--order-details thead th {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--hb-gray-500);
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  border-bottom: 2px solid var(--hb-gray-200);
}

.woocommerce-account .woocommerce-table--order-details thead th.product-total {
  text-align: right;
}

/* Body rows */
.woocommerce-account .woocommerce-table--order-details tbody .woocommerce-table__line-item {
  border-bottom: 1px solid var(--hb-gray-100);
  transition: background var(--hb-transition);
}

.woocommerce-account .woocommerce-table--order-details tbody .woocommerce-table__line-item:hover {
  background: var(--hb-off-white);
}

.woocommerce-account .woocommerce-table--order-details tbody td {
  padding: var(--sp-3) var(--sp-4);
  vertical-align: middle;
}

.woocommerce-account .woocommerce-table--order-details .product-name {
  font-weight: 600;
  color: var(--hb-black);
}

.woocommerce-account .woocommerce-table--order-details .product-name a {
  color: var(--hb-black);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--hb-transition);
}

.woocommerce-account .woocommerce-table--order-details .product-name a:hover {
  color: var(--hb-red);
}

.woocommerce-account .woocommerce-table--order-details .product-quantity {
  color: var(--hb-gray-500);
  font-weight: 500;
  font-size: 0.87rem;
}

.woocommerce-account .woocommerce-table--order-details .product-total {
  text-align: right;
  color: var(--hb-gray-700);
  font-variant-numeric: tabular-nums;
}

/* Tfoot — subtotals and totals */
.woocommerce-account .woocommerce-table--order-details tfoot tr {
  border-top: 1px solid var(--hb-gray-100);
}

.woocommerce-account .woocommerce-table--order-details tfoot th,
.woocommerce-account .woocommerce-table--order-details tfoot td {
  padding: var(--sp-2) var(--sp-4);
  font-size: 0.88rem;
}

.woocommerce-account .woocommerce-table--order-details tfoot th {
  font-weight: 600;
  color: var(--hb-gray-600);
  text-align: left;
}

.woocommerce-account .woocommerce-table--order-details tfoot td {
  text-align: right;
  color: var(--hb-gray-700);
  font-variant-numeric: tabular-nums;
}

/* Grand total row */
.woocommerce-account .woocommerce-table--order-details tfoot .order-total th,
.woocommerce-account .woocommerce-table--order-details tfoot .order-total td {
  font-size: 1rem;
  font-weight: 800;
  color: var(--hb-black);
  padding-top: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-top: 2px solid var(--hb-gray-200);
}

.woocommerce-account .woocommerce-table--order-details tfoot .order-total td {
  color: var(--hb-red);
}

/* Actions tfoot */
.woocommerce-account .woocommerce-table--order-details .order-actions--heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--hb-gray-500);
}

.woocommerce-account .woocommerce-table--order-details tfoot td.order-actions {
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
}

/* ── ACTION BUTTONS ─────────────────────────────── */
.woocommerce-account .woocommerce-button.button,
.woocommerce-account a.order-actions-button {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  border-radius: var(--hb-radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background var(--hb-transition), transform var(--hb-transition), box-shadow var(--hb-transition);
  line-height: 1.2;
}

/* Pay — primary red */
.woocommerce-account .woocommerce-button.button.pay {
  background: var(--hb-red);
  color: var(--hb-white);
}

.woocommerce-account .woocommerce-button.button.pay:hover {
  background: var(--hb-red-dark);
  transform: translateY(-1px);
  box-shadow: var(--hb-shadow-sm);
}

/* Order again — outlined */
.woocommerce-account .woocommerce-button.button.order-again {
  background: transparent;
  color: var(--hb-red);
  border: 1.5px solid var(--hb-red);
}

.woocommerce-account .woocommerce-button.button.order-again:hover {
  background: var(--hb-red-light);
}

/* Cancel — neutral */
.woocommerce-account .woocommerce-button.button.cancel {
  background: var(--hb-gray-100);
  color: var(--hb-gray-700);
}

.woocommerce-account .woocommerce-button.button.cancel:hover {
  background: var(--hb-gray-200);
}

/* ── CUSTOMER DETAILS ───────────────────────────── */
.woocommerce-account .woocommerce-customer-details {
  margin-bottom: var(--sp-5);
}

/* Two-column layout when shipping address is shown */
.woocommerce-account .woocommerce-columns--addresses {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

.woocommerce-account .woocommerce-column {
  background: var(--hb-off-white);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-md);
  padding: var(--sp-5) var(--sp-6);
}

/* Billing-only layout: section > h2 + address (no column wrapper) */
.woocommerce-account .woocommerce-customer-details:not(:has(.woocommerce-columns)) {
  background: var(--hb-off-white);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-md);
  padding: var(--sp-5) var(--sp-6);
}

.woocommerce-account .woocommerce-column__title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--hb-gray-500);
  margin: 0 0 var(--sp-3);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--hb-gray-100);
}

.woocommerce-account .woocommerce-customer-details address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--hb-gray-700);
}

.woocommerce-account .woocommerce-customer-details--phone,
.woocommerce-account .woocommerce-customer-details--email {
  font-size: 0.88rem;
  color: var(--hb-gray-600);
  margin: var(--sp-2) 0 0;
  display: block;
}

/* ── MOBILE RESPONSIVE ──────────────────────────── */
@media (min-width: 600px) {
  .hb-order-header__meta {
    grid-template-columns: repeat(4, 1fr);
  }

  .woocommerce-account .woocommerce-columns--addresses {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 599px) {
  .hb-order-header {
    padding: var(--sp-4) var(--sp-4);
  }

  .hb-order-notes {
    padding: var(--sp-4) var(--sp-4);
  }

  .woocommerce-account .woocommerce-order-details {
    padding: var(--sp-4) 0;
    border-left: none;
    border-right: none;
    border-radius: 0;
  }

  /* Horizontal scroll on narrow screens */
  .woocommerce-account .woocommerce-table--order-details {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .woocommerce-account .woocommerce-customer-details:not(:has(.woocommerce-columns)) {
    padding: var(--sp-4) var(--sp-4);
  }

  .woocommerce-account .woocommerce-column {
    padding: var(--sp-4) var(--sp-4);
  }
}

/* ==========================================================================
   PASSWORD FORMS — LOST PASSWORD + RESET PASSWORD V3
   Extends the My Account V3 block.
   Scoped to .hb-pwd-form and .woocommerce-account .lost_reset_password.
   ========================================================================== */

/* ── Form title + intro ─────────────────────────── */
.hb-pwd-form__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--hb-black);
  margin: 0 0 var(--sp-3);
  letter-spacing: -.02em;
}

.hb-pwd-form__intro {
  font-size: 0.92rem;
  color: var(--hb-gray-600);
  line-height: 1.65;
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--hb-gray-100);
}

/* ── Submit area ────────────────────────────────── */
.hb-pwd-form__actions {
  margin-top: var(--sp-5);
}

/* ── Back-to-login link ─────────────────────────── */
.hb-pwd-form__back {
  margin-top: var(--sp-5);
  font-size: 0.84rem;
}

.hb-pwd-form__back a {
  color: var(--hb-gray-500);
  text-decoration: none;
  transition: color var(--hb-transition);
}

.hb-pwd-form__back a:hover {
  color: var(--hb-red);
  text-decoration: underline;
}

/* ── WC form-row fallback (hook-injected fields) ── */
.woocommerce-account .lost_reset_password .form-row,
.woocommerce-account .lost_reset_password .woocommerce-form-row {
  margin-bottom: var(--sp-4);
}

.woocommerce-account .lost_reset_password .woocommerce-form-row label {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--hb-gray-800);
  margin-bottom: var(--sp-2);
}

/* Style any WC default inputs that arrive via hook or override */
.woocommerce-account .lost_reset_password .woocommerce-Input--text,
.woocommerce-account .lost_reset_password input.input-text {
  width: 100%;
  height: 48px;
  padding: 0 var(--sp-4);
  border: 1.5px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--hb-gray-800);
  background: var(--hb-white);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  box-sizing: border-box;
  display: block;
  -webkit-appearance: none;
  appearance: none;
}

.woocommerce-account .lost_reset_password .woocommerce-Input--text:focus,
.woocommerce-account .lost_reset_password input.input-text:focus {
  border-color: var(--hb-red);
  box-shadow: 0 0 0 3px rgba(217, 31, 38, .10);
  outline: none;
}

/* ── Password strength meter (WC JS-injected) ───── */
.woocommerce-password-strength {
  display: block;
  margin-top: var(--sp-2);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--hb-radius-xs);
  font-size: 0.76rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background var(--hb-transition), color var(--hb-transition);
  background: var(--hb-gray-100);
  color: var(--hb-gray-500);
}

.woocommerce-password-strength.short  { background: #fee2e2; color: #991b1b; }
.woocommerce-password-strength.bad    { background: #fef9c3; color: #854d0e; }
.woocommerce-password-strength.good   { background: #dbeafe; color: #1e40af; }
.woocommerce-password-strength.strong { background: #dcfce7; color: #166534; }

/* ── Password hint (WC output) ──────────────────── */
.woocommerce-password-hint {
  display: block;
  font-size: 0.76rem;
  color: var(--hb-gray-500);
  margin-top: var(--sp-2);
  line-height: 1.55;
}

/* ── Mobile: full-width submit button ───────────── */
@media (max-width: 639px) {
  .hb-pwd-form__submit {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   MY ACCOUNT NOTICES — V3 IMPROVEMENTS
   Fixes flex vs. block for multi-item notice lists.
   Applies inside .hb-account__content only.
   ========================================================================== */

/* Override global display:flex — notice containers are often <ul> with
   multiple <li> items; flex puts them in a row which breaks multi-error lists */
.hb-account__content .woocommerce-message,
.hb-account__content .woocommerce-info,
.hb-account__content .woocommerce-error,
.hb-account__content .woocommerce-notices-wrapper .woocommerce-message,
.hb-account__content .woocommerce-notices-wrapper .woocommerce-info,
.hb-account__content .woocommerce-notices-wrapper .woocommerce-error {
  display: block;
  list-style: none;
}

/* Separator between multiple notice items */
.hb-account__content .woocommerce-message li + li,
.hb-account__content .woocommerce-info li + li,
.hb-account__content .woocommerce-error li + li {
  margin-top: var(--sp-2);
  padding-top: var(--sp-2);
  border-top: 1px solid rgba(0, 0, 0, .06);
}

/* Inline notice action buttons (e.g. "View Cart", "Pay") */
.hb-account__content .woocommerce-message .button,
.hb-account__content .woocommerce-info .button,
.hb-account__content .woocommerce-error .button {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  margin-top: var(--sp-3);
  border-radius: var(--hb-radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--hb-red);
  color: var(--hb-white);
  border: none;
  cursor: pointer;
  transition: background var(--hb-transition);
}

.hb-account__content .woocommerce-message .button:hover,
.hb-account__content .woocommerce-info .button:hover,
.hb-account__content .woocommerce-error .button:hover {
  background: var(--hb-red-dark);
}

/* ── Empty state polish ──────────────────────────── */
/* Applies when a single info notice is the only content (no orders, etc.) */
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info:only-child,
.woocommerce-account .woocommerce-MyAccount-content > p:only-child {
  display: block;
  background: var(--hb-off-white);
  border: 1px dashed var(--hb-gray-300);
  border-left: 4px solid var(--hb-gray-300);
  border-radius: var(--hb-radius-md);
  color: var(--hb-gray-500);
  font-size: 0.95rem;
  text-align: center;
  padding: var(--sp-10) var(--sp-6);
  /* Reset notice colors set by generic rule */
  background-color: var(--hb-off-white);
  color: var(--hb-gray-500);
}

/* Empty-state links inside the info notice */
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info:only-child a,
.woocommerce-account .woocommerce-MyAccount-content > p:only-child a {
  color: var(--hb-red);
  font-weight: 600;
  text-decoration: underline;
}


/* =============================================================================
   ACCOUNT ICON — header + mobile menu (Task D)
   ============================================================================= */

/* ── Desktop / header account link ────────────────────────────────────────── */
.hb-header__account {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--hb-black);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--hb-radius-md);
  transition: color var(--hb-transition), background var(--hb-transition);
  white-space: nowrap;
}

.hb-header__account:hover {
  color: var(--hb-red);
  background: rgba(0, 0, 0, 0.04);
}

.hb-header__account-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.hb-header__account-icon svg {
  width: 20px;
  height: 20px;
}

/* Hide text label on very small screens — icon only to save space */
@media (max-width: 479px) {
  .hb-header__account-label { display: none; }
}

/* ── Mobile menu account section ───────────────────────────────────────────── */
.hb-mobile-menu__account {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: var(--sp-3) 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.hb-mobile-account__link {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  color: var(--hb-black);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--hb-radius-md);
  transition: background var(--hb-transition), color var(--hb-transition);
}

.hb-mobile-account__link:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--hb-red);
}

.hb-mobile-account__link--register {
  color: var(--hb-red);
}

.hb-mobile-account__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.hb-mobile-account__icon svg {
  width: 20px;
  height: 20px;
}


/* =============================================================================
   REGISTRATION PAGE — [habibi_register_form] shortcode (Task D)
   ============================================================================= */

.hb-register {
  max-width: 480px;
  margin: 0 auto;
  padding: var(--sp-8) var(--sp-4);
}

.hb-register__panel {
  background: var(--hb-white);
  border-radius: var(--hb-radius-xl);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  padding: var(--sp-10);
}

@media (max-width: 479px) {
  .hb-register__panel { padding: var(--sp-6) var(--sp-5); }
}

.hb-register__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hb-black);
  margin: 0 0 var(--sp-6);
}

.hb-register__actions {
  margin-top: var(--sp-6);
}

.hb-register__submit {
  width: 100%;
  justify-content: center;
}

.hb-register__login-link {
  margin-top: var(--sp-5);
  text-align: center;
  font-size: 0.875rem;
  color: var(--hb-gray-600);
}

.hb-register__login-link a {
  color: var(--hb-red);
  font-weight: 600;
  text-decoration: none;
}

.hb-register__login-link a:hover {
  text-decoration: underline;
}

/* Registration disabled state */
.hb-register-disabled {
  text-align: center;
  padding: var(--sp-12) var(--sp-6);
}

.hb-register-disabled__msg {
  color: var(--hb-gray-600);
  margin-bottom: var(--sp-4);
}

/* ==========================================================================
   ACCOUNT DETAILS FORM (form-edit-account.php override — V3)
   Vorname + Nachname two-column row, helper text, submit row, fieldset polish.
   ========================================================================== */

/* Two-column grid for Vorname / Nachname */
.hb-account-form__row--two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

@media (max-width: 600px) {
  .hb-account-form__row--two-col {
    grid-template-columns: 1fr;
  }
}

/* Helper / hint text under a field (e.g. below Anzeigename) */
.hb-account-form__helper {
  display: block;
  font-size: 0.79rem;
  font-style: italic;
  color: var(--hb-gray-500);
  margin-top: var(--sp-1);
  line-height: 1.55;
}

/* Submit row — dividing line above the save button */
.hb-account-form__submit-row {
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--hb-gray-100);
}

/* Submit button minimum width so it doesn't look too narrow */
.hb-account-form__submit {
  min-width: 200px;
}

/* Fieldset inner fields: consistent bottom spacing, no trailing gap */
.woocommerce-account .woocommerce-EditAccountForm fieldset .hb-auth__field-group {
  margin-bottom: var(--sp-4);
}

.woocommerce-account .woocommerce-EditAccountForm fieldset .hb-auth__field-group:last-child {
  margin-bottom: 0;
}

/* Ensure two-col row children don't double-add bottom margin */
.hb-account-form__row--two-col > .hb-auth__field-group {
  margin-bottom: var(--sp-4);
}

/* No horizontal overflow at any breakpoint */
.woocommerce-account .woocommerce-EditAccountForm {
  max-width: 100%;
  overflow: hidden;
}

/* ══════════════════════════════════════════════
   DELIVERY AREA GATE POPUP
   Scoped to .hb-delivery-gate — no global
   style pollution.
   ══════════════════════════════════════════════ */

/* ── Overlay container ───────────────────────── */
.hb-delivery-gate {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--sp-5);
}

.hb-delivery-gate.is-open {
  display: flex;
}

/* ── Backdrop ─────────────────────────────────── */
.hb-delivery-gate__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  cursor: pointer;
}

/* ── Dialog card ──────────────────────────────── */
.hb-delivery-gate__dialog {
  position: relative;
  background: var(--hb-white);
  border-radius: var(--hb-radius-lg);
  padding: var(--sp-10) var(--sp-7) var(--sp-8);
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--hb-shadow-lg);
  text-align: center;
}

/* ── Close button ─────────────────────────────── */
.hb-delivery-gate__close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  background: transparent;
  border: none;
  font-size: 1rem;
  color: var(--hb-gray-400);
  cursor: pointer;
  padding: var(--sp-2);
  line-height: 1;
  border-radius: var(--hb-radius-sm);
  transition: color var(--hb-transition);
}
.hb-delivery-gate__close:hover,
.hb-delivery-gate__close:focus-visible {
  color: var(--hb-black);
  outline: 2px solid var(--hb-red);
  outline-offset: 2px;
}

/* ── Icon ─────────────────────────────────────── */
.hb-delivery-gate__icon {
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: var(--sp-3);
  display: block;
}

/* ── Title ────────────────────────────────────── */
.hb-delivery-gate__title {
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  font-weight: 800;
  color: var(--hb-black);
  letter-spacing: -.02em;
  margin-bottom: var(--sp-3);
  line-height: 1.25;
}

/* ── Intro text ───────────────────────────────── */
.hb-delivery-gate__text {
  font-size: 0.875rem;
  color: var(--hb-gray-600);
  line-height: 1.6;
  margin-bottom: var(--sp-5);
}

/* ── Delivery areas list ──────────────────────── */
.hb-delivery-gate__areas {
  background: var(--hb-gray-50);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-md);
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-5);
  text-align: left;
}

.hb-delivery-gate__areas-heading {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--hb-gray-500);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: var(--sp-3);
}

.hb-delivery-gate__areas-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.hb-delivery-gate__area-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  background: var(--hb-white);
  border: 1px solid var(--hb-gray-200);
  border-radius: var(--hb-radius-full);
  padding: 2px var(--sp-3);
  font-size: 0.8rem;
  color: var(--hb-gray-800);
}

.hb-delivery-gate__area-plz {
  font-weight: 700;
  color: var(--hb-red);
}

.hb-delivery-gate__area-name {
  color: var(--hb-gray-600);
}

/* ── Postcode input row ───────────────────────── */
.hb-delivery-gate__input-row {
  margin-bottom: var(--sp-3);
}

.hb-delivery-gate__input {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid var(--hb-gray-300);
  border-radius: var(--hb-radius-sm);
  font-family: var(--hb-font);
  font-size: 1rem;
  color: var(--hb-black);
  background: var(--hb-white);
  transition: border-color var(--hb-transition), box-shadow var(--hb-transition);
  text-align: center;
  letter-spacing: .05em;
}
.hb-delivery-gate__input::placeholder {
  color: var(--hb-gray-400);
  letter-spacing: normal;
}
.hb-delivery-gate__input:focus {
  outline: none;
  border-color: var(--hb-red);
  box-shadow: 0 0 0 3px rgba(217, 31, 38, .15);
}

/* ── Result message ───────────────────────────── */
.hb-delivery-gate__result {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  border-radius: var(--hb-radius-sm);
  padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-4);
  text-align: center;
}

.hb-delivery-gate__result--success {
  background: #EBF7EF;
  color: #1A6B35;
  border: 1px solid rgba(26, 107, 53, .2);
}

.hb-delivery-gate__result--error {
  background: var(--hb-red-light);
  color: var(--hb-red-dark);
  border: 1px solid rgba(217, 31, 38, .2);
}

.hb-delivery-gate__result--warn {
  background: #FFFBE6;
  color: #7A5C00;
  border: 1px solid rgba(200, 150, 0, .2);
}

/* ── Actions ──────────────────────────────────── */
.hb-delivery-gate__actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: center;
}

.hb-delivery-gate__submit {
  width: 100%;
}

.hb-delivery-gate__skip {
  background: transparent;
  border: none;
  font-family: var(--hb-font);
  font-size: 0.82rem;
  color: var(--hb-gray-500);
  cursor: pointer;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--hb-radius-xs);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color var(--hb-transition), text-decoration-color var(--hb-transition);
  line-height: 1.4;
}
.hb-delivery-gate__skip:hover,
.hb-delivery-gate__skip:focus-visible {
  color: var(--hb-gray-800);
  text-decoration-color: var(--hb-gray-400);
  outline: 2px solid var(--hb-gray-300);
  outline-offset: 2px;
}

/* ── Checkout: delivery area hint under postcode ─ */
.woocommerce-checkout .woocommerce-input-wrapper .description,
#billing_postcode_field .description {
  display: block;
  font-size: 0.775rem;
  color: var(--hb-gray-500);
  margin-top: var(--sp-1);
  line-height: 1.45;
  font-style: normal;
}

/* ── Mobile responsive ────────────────────────── */
@media (max-width: 480px) {
  .hb-delivery-gate__dialog {
    padding: var(--sp-8) var(--sp-5) var(--sp-6);
    border-radius: var(--hb-radius-md);
    margin-inline: var(--sp-2);
  }

  .hb-delivery-gate {
    padding: var(--sp-3);
    align-items: flex-end;
  }

  .hb-delivery-gate__dialog {
    max-width: 100%;
    width: 100%;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-inline: 0;
  }

  .hb-delivery-gate__areas-list {
    gap: var(--sp-1);
  }
}

/* ══════════════════════════════════════════════════
   404 — SEITE NICHT GEFUNDEN
   ══════════════════════════════════════════════════ */
.hb-404 {
  background: linear-gradient(135deg, #1A1A1A 0%, #2B0A0B 60%, #1A1A1A 100%);
  padding: calc(var(--hb-header-h) + var(--sp-12)) 0 var(--sp-16);
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.hb-404 .hb-container {
  width: 100%;
}

.hb-404__code {
  display: block;
  font-size: clamp(5rem, 16vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, .18);
  user-select: none;
  margin-bottom: var(--sp-4);
}

.hb-404__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}

@media (max-width: 480px) {
  .hb-404__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-inline: auto;
  }
}
