/* Shared header, drawers, and footer for captured pages.
   Loaded after the theme so these controls keep the same behavior as the shop pages. */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: 64px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  display: block;
  margin: 0;
  width: 100%;
}
header.site-header.scrolled { border-bottom-color: #e4e1db; }
header.site-header .header-inner {
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
}
header.site-header .nav-left,
header.site-header .nav-right { display: flex; align-items: center; gap: 18px; }
header.site-header .nav-right { justify-content: flex-end; }
header.site-header .nav-left a,
header.site-header .drop > button {
  background: none !important;
  border: 0 !important;
  padding: 8px 0 !important;
  margin: 0;
  min-height: 0 !important;
  width: auto !important;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1c1915;
  box-shadow: none !important;
}
header.site-header .drop { position: relative; }
header.site-header .drop-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid #e4e1db;
  padding: 10px 0;
  z-index: 90;
}
header.site-header .drop:hover .drop-panel,
header.site-header .drop:focus-within .drop-panel { display: block; }
header.site-header .drop-panel a {
  display: block;
  padding: 8px 16px !important;
  letter-spacing: 0.08em;
  font-size: 11px;
  text-transform: uppercase;
}
header.site-header .drop-panel a:hover { background: #f6f4f1; }
header.site-header .wordmark {
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 1;
  color: #1c1915;
  text-decoration: none;
}
header.site-header .icon-btn {
  position: relative;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0;
  width: 40px !important;
  height: 40px !important;
  min-height: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #1c1915;
  box-shadow: none !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
header.site-header .icon-btn:hover,
header.site-header .icon-btn:focus-visible { background: #f6f4f1 !important; outline: none; }
header.site-header .nav-left a:hover,
header.site-header .drop > button:hover { opacity: .62; }
header.site-header .icon-btn svg { width: 20px; height: 20px; stroke: #1c1915; fill: none; stroke-width: 1.6; display: block; }
header.site-header .badge {
  position: absolute; top: -2px; right: -4px; background: #1c1915; color: #fff;
  border-radius: 99px; min-width: 16px; height: 16px; font-size: 10px;
  display: none; align-items: center; justify-content: center; padding: 0 4px;
}
header.site-header .badge.on { display: inline-flex; }
header.site-header .burger {
  display: none;
  background: none !important;
  border: 0 !important;
  padding: 6px !important;
  width: 40px !important;
  min-height: 0 !important;
}
header.site-header .burger span { display: block; width: 18px; height: 1.5px; background: #1c1915; margin: 4px 0; }

.announce {
  position: relative;
  height: 36px;
  border-bottom: 1px solid #e4e1db;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #1c1915;
}
.announce a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.announce a:hover { border-bottom-color: #1c1915; }
.announce-item { position: absolute; opacity: 0; transform: translateY(8px); transition: .45s ease; margin: 0; }
.announce-item.active { opacity: 1; transform: none; position: relative; }
.announce-x {
  position: absolute; right: 10px; top: 0; height: 100%;
  border: 0; background: transparent; font-size: 18px; line-height: 1; padding: 0 8px; color: #1c1915;
}

#mainContent { position: relative; z-index: 1; }
#overlayGroup, #loginBox { display: none !important; }

.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(28,25,21,.35); display: none; }
.overlay.show { display: block; }
.rv-drawer.drawer {
  position: fixed !important;
  top: 0; bottom: 0; left: 0;
  width: min(420px, 100%) !important;
  height: 100% !important;
  background: #fff !important;
  z-index: 100;
  transform: translateX(-100%);
  transition: transform .3s ease;
  display: flex !important;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
}
.rv-drawer.drawer.right { left: auto; right: 0; transform: translateX(100%); }
.rv-drawer.drawer.show { transform: none; }
.rv-drawer header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px; border-bottom: 1px solid #e4e1db; background: #fff;
}
.rv-drawer header h2 { margin: 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.rv-drawer header button, .rv-modal header button {
  background: none !important; border: 0 !important; width: auto !important; min-height: 0 !important;
  font-size: 22px; line-height: 1; padding: 4px 8px !important;
}
.rv-drawer nav { padding: 10px 18px 24px; overflow: auto; }
.rv-drawer nav a, .rv-drawer nav button {
  display: block; width: 100% !important; text-align: left;
  background: none !important; border: 0 !important; border-bottom: 1px solid #e4e1db;
  padding: 12px 0 !important; min-height: 0 !important;
  text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: #1c1915;
}
.rv-drawer .sublinks { padding: 0 0 8px 12px; }
.rv-drawer .sublinks a { border: 0; padding: 8px 0 !important; font-size: 11px; color: #6d6962; }
.rv-drawer .body, .rv-modal .body { padding: 16px 18px 22px; }
.rv-modal.modal {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(28,25,21,.35);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 8vh 16px;
}
.rv-modal.modal.show { display: flex; }
.rv-modal .modal-card { background: #fff; width: min(480px, 100%); max-height: 84vh; overflow: auto; }
.rv-modal header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px; border-bottom: 1px solid #e4e1db;
}
.rv-modal header h2 { margin: 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.search-input, .rv-modal .field input, .rv-drawer .field input {
  width: 100%; border: 0; border-bottom: 1px solid #1c1915; background: transparent;
  padding: 10px 0; outline: none; border-radius: 0; font-size: 14px; color: #1c1915;
}
.rv-modal .field, .rv-drawer .field { margin: 0 0 14px; }
.rv-modal label, .rv-drawer label { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.suggest { list-style: none; margin: 12px 0 0; padding: 0; }
.suggest a { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid #e4e1db; color: #1c1915; text-decoration: none; }
.suggest img { width: 48px; height: 60px; object-fit: cover; }
.rv-drawer .btn, .rv-modal .btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: #1c1915 !important; color: #fff !important; border: 1px solid #1c1915 !important;
  min-height: 44px; padding: 0 18px !important; letter-spacing: .12em; text-transform: uppercase;
  font-size: 11px; width: auto;
}
.rv-drawer .btn.full, .rv-modal .btn.full { width: 100% !important; }
.coupon { display: flex; gap: 8px; margin-top: 12px; }
.coupon input { flex: 1; border: 0; border-bottom: 1px solid #1c1915; background: transparent; padding: 8px 0; }
.totals div { display: flex; justify-content: space-between; padding: 4px 0; }

footer.site-footer {
  border-top: 1px solid #e4e1db;
  padding: 40px 0 0;
  margin-top: 48px;
  background: #fff;
  color: #1c1915;
  display: block;
  width: 100%;
}
footer.site-footer .wrap { width: min(1440px, calc(100% - 56px)); margin-inline: auto; }
footer.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(140px, 1fr) minmax(280px, 1.7fr) minmax(180px, 1fr);
  gap: 28px 32px;
  align-items: start;
}
footer.site-footer h3 { margin: 0 0 12px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
footer.site-footer a, footer.site-footer p {
  display: block; font-size: 13px; line-height: 1.4; padding: 4px 0; color: #3f3b36; text-decoration: none;
}
footer.site-footer a:hover { color: #1c1915; }
footer.site-footer .policy-cols { columns: 2; column-gap: 28px; }
footer.site-footer .policy-cols a { break-inside: avoid; }
footer.site-footer .legal {
  margin-top: 28px; padding: 14px 0 18px;
  border-top: 1px solid #e4e1db;
  font-size: 12px; color: #6d6962;
}
.toast {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
  background: #1c1915; color: #fff; padding: 10px 14px; z-index: 120; font-size: 13px; display: none;
}
.toast.show { display: block; }
.cookie {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 85;
  background: #1c1915; color: #fff; padding: 14px 16px;
  display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.cookie p { margin: 0; max-width: 760px; font-size: 13px; color: #fff; }
.cookie .btn { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; text-decoration: none; }

@media (max-width: 989px) {
  header.site-header .nav-left { display: none !important; }
  header.site-header .burger { display: inline-flex !important; flex-direction: column; align-items: center; justify-content: center; }
  header.site-header .wordmark { font-size: 15px; letter-spacing: .18em; }
  footer.site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  footer.site-footer .footer-policies { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  header.site-header .header-inner { width: calc(100% - 16px); }
  header.site-header .wordmark { letter-spacing: .12em; font-size: 13px; }
  footer.site-footer .wrap { width: calc(100% - 32px); }
  footer.site-footer .footer-grid { grid-template-columns: 1fr; }
  footer.site-footer .policy-cols { columns: 1; }
}
