/**
 * Shared Apple header — lock logo + resist OOM woocommerce.css on Cart / Account / Checkout.
 * Layout (nav width, gaps) comes from apple-home.css — do not override here.
 */

body.bth-apple-template {
  --bth-header-height: 64px;
  --header-height: var(--bth-header-height);
}

body.bth-apple-template .site-header.bth-apple-header {
  overflow: visible !important;
}

body.bth-apple-template .bth-apple-header .nav-inner,
body.bth-apple-template .bth-apple-header .nav-actions {
  overflow: visible !important;
}

body.bth-apple-template .bth-apple-header .logo {
  display: flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  height: 48px !important;
  max-width: 160px !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.bth-apple-template .bth-apple-header .logo-img {
  width: auto !important;
  max-width: 160px !important;
  height: 48px !important;
  max-height: 48px !important;
  object-fit: contain !important;
  display: block !important;
}

body.bth-apple-template .bth-apple-header .icon-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  color: #1d1d1f !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  line-height: 0 !important;
}

body.bth-apple-template .bth-apple-header .icon-btn:hover {
  background: rgba(0, 0, 0, 0.05) !important;
  color: #1d1d1f !important;
}

body.bth-apple-template .bth-apple-header .nav-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 8px 16px !important;
  border-radius: 980px !important;
  background: #b91c1c !important;
  color: #fff !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
  border: none !important;
  box-shadow: none !important;
}

body.bth-apple-template .bth-apple-header .nav-cta:hover {
  background: #991b1b !important;
  color: #fff !important;
}

body.bth-apple-template .bth-apple-header .nav-actions {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

/* Typography + layout lock — WooCommerce / Elementor global link styles on cart/checkout */
body.bth-apple-template .site-header.bth-apple-header,
body.bth-apple-template .site-header.bth-apple-header .nav-inner,
body.bth-apple-template .site-header.bth-apple-header .nav-links,
body.bth-apple-template .site-header.bth-apple-header .nav-links li,
body.bth-apple-template .site-header.bth-apple-header .nav-links a,
body.bth-apple-template .site-header.bth-apple-header .nav-actions,
body.bth-apple-template .site-header.bth-apple-header .nav-actions a,
body.bth-apple-template .site-header.bth-apple-header .nav-actions button,
body.bth-apple-template .site-header.bth-apple-header .icon-btn,
body.bth-apple-template .site-header.bth-apple-header .nav-cta {
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}
