/* Wire Monkey Black Friday 2026: scoped, accessible modal for the gift guide. */
.wm-bf-dialog {
  width: min(860px, calc(100vw - 28px));
  max-width: min(860px, calc(100vw - 28px));
  max-height: min(88dvh, 850px);
  margin: auto;
  padding: 0;
  border: 1px solid #c5a066;
  border-radius: 19px;
  color: #2d2119;
  background: #fcf7ef;
  box-shadow: 0 28px 90px rgba(11, 7, 4, .44);
  overflow: auto;
  overscroll-behavior: contain;
  font-family: "Karla", system-ui, sans-serif;
  scrollbar-width: thin;
}
.wm-bf-dialog::backdrop {
  background: rgba(20, 12, 8, .73);
  backdrop-filter: blur(3px);
}
.wm-bf-dialog * { box-sizing: border-box; }
.wm-bf-layout { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 62%); }
.wm-bf-photo-panel {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #26180f;
}
.wm-bf-hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: 50% 44%;
}
.wm-bf-photo-panel::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(19, 11, 5, .65));
  pointer-events: none;
}
.wm-bf-photo-label {
  position: absolute;
  z-index: 1;
  left: 20px;
  bottom: 22px;
  font-size: 12px;
  letter-spacing: .085em;
  text-transform: uppercase;
  font-weight: 800;
  color: #fff5db;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
}
.wm-bf-content { padding: 30px 31px 22px; min-width: 0; }
.wm-bf-heading-row { display: flex; align-items: center; gap: 13px; margin-bottom: 10px; }
.wm-bf-logo {
  display: block;
  flex: none;
  width: 66px;
  height: 66px;
  object-fit: contain;
  border: 1px solid #e7d7bd;
  background: white;
  border-radius: 50%;
  padding: 5px;
}
.wm-bf-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .11em; color: #925423; }
.wm-bf-dialog h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(25px, 3vw, 35px);
  line-height: 1.15;
  letter-spacing: -.028em;
  color: #39241a;
  margin: 4px 0 9px;
}
.wm-bf-dialog h2 span { color: #934227; }
.wm-bf-discount {
  margin: 0 0 11px;
  font-size: clamp(27px, 3.6vw, 42px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.045em;
  color: #832e21;
}
.wm-bf-discount span {
  display: block;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: .03em;
  font-weight: 650;
  color: #6b5b50;
}
.wm-bf-endorsement { color: #55483d; font-size: 14px; line-height: 1.51; margin: 0 0 13px; }
.wm-bf-deals { display: grid; gap: 8px; margin: 13px 0 16px; }
.wm-bf-deal {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff;
  padding: 7px 11px 7px 7px;
  border: 1px solid #e8dcd0;
  border-radius: 12px;
  min-width: 0;
}
.wm-bf-deal img {
  display: block;
  flex: none;
  width: 59px;
  height: 59px;
  object-fit: contain;
  background: #fff;
  border-radius: 7px;
}
.wm-bf-deal-name { display: grid; flex: 1; min-width: 0; gap: 1px; }
.wm-bf-deal-name strong { color: #322119; font-size: 14px; }
.wm-bf-deal-name span { font-size: 13px; font-weight: 800; }
.wm-bf-deal-name del { font-weight: 450; color: #756f67; margin-right: 4px; }
.wm-bf-save {
  flex: none;
  font-size: 12px;
  color: #8c2e1e;
  background: #fff0dc;
  border: 1px solid #e7bd81;
  border-radius: 999px;
  padding: 5px 8px;
  white-space: nowrap;
}
.wm-bf-cta {
  display: flex;
  width: 100%;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9px;
  text-align: center;
  padding: 11px 14px;
  background: #224939;
  color: #fff !important;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 4px 0 #112b20;
  transition: transform .16s ease, background .16s ease;
}
.wm-bf-cta:hover { background: #30644d; transform: translateY(-1px); }
.wm-bf-cta:focus-visible, .wm-bf-close:focus-visible { outline: 3px solid #b96c1f; outline-offset: 3px; }
.wm-bf-deadline { text-align: center; font-size: 12px; margin: 12px 0 6px; font-weight: 800; color: #6c3f27; }
.wm-bf-fine, .wm-bf-affiliate {
  margin: 0 0 5px;
  font-size: 11px;
  line-height: 1.4;
  color: #6b625a;
  text-align: center;
}
.wm-bf-close {
  position: sticky;
  z-index: 9;
  top: 10px;
  float: right;
  width: 43px;
  height: 43px;
  margin: 11px 10px -54px 0;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: 1px solid #c9ae8a;
  border-radius: 50%;
  background: #fffaf2;
  color: #37281e;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.wm-bf-close:hover { background: #f4e9d7; }
@media (max-width: 660px) {
  .wm-bf-dialog {
    max-height: 89dvh;
    width: calc(100vw - 24px);
    border-radius: 14px;
  }
  .wm-bf-layout { grid-template-columns: 1fr; }
  .wm-bf-photo-panel { min-height: 144px; height: 144px; }
  .wm-bf-hero-photo { min-height: 144px; height: 144px; object-position: 50% 48%; }
  .wm-bf-photo-label { left: 16px; bottom: 10px; font-size: 10px; }
  .wm-bf-content { padding: 16px 18px 20px; }
  .wm-bf-heading-row { margin-bottom: 7px; }
  .wm-bf-logo { width: 47px; height: 47px; }
  .wm-bf-eyebrow { font-size: 10px; }
  .wm-bf-dialog h2 { font-size: clamp(24px, 6.4vw, 31px); margin: 3px 0 9px; }
  .wm-bf-discount { font-size: clamp(31px, 9vw, 38px); margin-bottom: 8px; }
  .wm-bf-endorsement { font-size: 13px; margin-bottom: 10px; }
  .wm-bf-deals { margin: 8px 0 13px; }
  .wm-bf-deal { padding: 5px 7px 5px 5px; gap: 8px; }
  .wm-bf-deal img { width: 49px; height: 49px; }
  .wm-bf-save { padding: 4px 6px; font-size: 11px; }
  .wm-bf-close { margin-top: 8px; margin-right: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .wm-bf-cta { transition: none; }
}
