/* Interactive surfaces loaded after the visual stylesheet. */
[hidden] {
  display: none !important;
}

body.interaction-modal-open {
  overflow: hidden;
}

/* The original stylesheet hides this drawer on desktop; the open rule intentionally wins. */
.search-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(64px, 12vh, 140px) 24px 32px;
  background: rgba(14, 16, 18, .68);
  overscroll-behavior: contain;
}

.search-drawer.open {
  display: flex !important;
}

.search-drawer .drawer-inner {
  width: min(620px, 100%);
  max-height: min(720px, calc(100dvh - 96px));
  overflow: auto;
  position: relative;
  padding: 34px 34px 30px;
  color: #171717;
  background: #fff;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .24);
}

.search-drawer .drawer-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  color: #555;
  background: transparent;
  font-size: 28px;
  line-height: 1;
}

.search-drawer .drawer-close:hover,
.search-drawer .drawer-close:focus-visible {
  color: #9b7c52;
}

.interaction-search-type {
  width: 100%;
  height: 44px;
  margin: 12px 0 10px;
  padding: 0 12px;
  border: 1px solid #d7d3cc;
  border-radius: 2px;
  color: #444;
  background: #fff;
}

.search-drawer .drawer-inner input {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 0;
  border-bottom: 1px solid #9b9b9b;
  outline: 0;
  color: #222;
  background: #fff;
}

.search-drawer .drawer-inner input:focus,
.interaction-search-type:focus {
  border-color: #9f845e;
  box-shadow: 0 0 0 2px rgba(159, 132, 94, .16);
}

.search-drawer .drawer-submit {
  min-height: 40px;
  margin-top: 18px;
  padding: 0 24px;
  border: 0;
  color: #fff;
  background: #c7aa7f;
}

.search-drawer .drawer-submit:hover,
.search-drawer .drawer-submit:focus-visible {
  background: #ad8c63;
}

.search-results {
  margin-top: 22px;
}

.search-count,
.search-state {
  margin: 0 0 12px;
  color: #777;
  font-size: 13px;
}

.search-state {
  padding: 24px 0 8px;
  text-align: center;
}

.search-result {
  width: 100%;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border: 0;
  border-top: 1px solid #e7e4df;
  color: #171717;
  background: transparent;
  text-align: left;
}

.search-result:hover,
.search-result:focus-visible {
  color: #9b7c52;
  background: #faf8f4;
}

.search-result img {
  width: 76px;
  height: 56px;
  flex: 0 0 76px;
  object-fit: cover;
}

.search-result__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.search-result__copy small,
.search-result__copy em {
  color: #8b8b8b;
  font-size: 10px;
  font-style: normal;
}

.search-result__copy strong {
  overflow: hidden;
  font-family: var(--serif, serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Generic preview/status dialog. */
.interaction-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(56px, 11vh, 120px) 24px 32px;
  overflow: auto;
  background: rgba(14, 16, 18, .68);
  overscroll-behavior: contain;
}

.interaction-modal__panel {
  width: min(620px, 100%);
  position: relative;
  padding: 34px 34px 30px;
  color: #171717;
  background: #fff;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .24);
}

.interaction-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  color: #555;
  background: transparent;
  font-size: 28px;
  line-height: 1;
}

.interaction-modal__close:hover,
.interaction-modal__close:focus-visible {
  color: #9b7c52;
}

.interaction-modal__eyebrow {
  margin: 0 0 12px;
  color: #a78c67;
  font-family: var(--display, sans-serif);
  font-size: 11px;
  letter-spacing: 2px;
}

.interaction-modal__title {
  max-width: calc(100% - 20px);
  margin: 0 0 20px;
  font-family: var(--serif, serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.4;
}

.interaction-modal__body {
  color: #505050;
  font-size: 14px;
  line-height: 1.8;
}

.interaction-copy {
  margin: 0;
}

.interaction-copy--muted {
  color: #777;
}

.interaction-preview__image {
  width: 100%;
  max-height: min(360px, 48vh);
  display: block;
  margin: 0 0 18px;
  object-fit: cover;
}

.interaction-preview__meta {
  margin: 0 0 14px;
  color: #9a8061;
  font-family: var(--display, sans-serif);
  font-size: 11px;
  letter-spacing: .4px;
}

.interaction-preview__summary {
  margin: 0;
  color: #555;
  line-height: 1.9;
}

.interaction-modal__actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.interaction-modal__action {
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid #c7aa7f;
  color: #80633f;
  background: #fff;
}

.interaction-modal__action:hover,
.interaction-modal__action:focus-visible {
  color: #fff;
  background: #c7aa7f;
}

.track-controls button:disabled {
  cursor: not-allowed;
  opacity: .35;
}

.track-dots i[role="button"] {
  cursor: pointer;
  outline: 0;
}

.track-dots i[role="button"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(159, 132, 94, .25);
}

.newsletter-status {
  max-width: 1140px;
  margin: -44px auto 0;
  padding: 0 max(calc((100% - 1140px) / 2), 6vw) 28px;
  color: #777;
  font-size: 11px;
}

.search-drawer :focus-visible,
.interaction-modal :focus-visible,
.main-nav a:focus-visible,
.mobile-bottom-nav a:focus-visible {
  outline: 2px solid #9f845e;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .search-drawer {
    padding: 76px 14px 68px;
  }

  .search-drawer .drawer-inner,
  .interaction-modal__panel {
    padding: 30px 20px 24px;
  }

  .search-result__copy strong {
    font-size: 15px;
  }

  .interaction-modal {
    padding: 60px 14px 65px;
  }

  .interaction-preview__image {
    max-height: 240px;
  }

  .newsletter-status {
    margin: -25px 0 0;
    padding: 0 20px 24px;
  }
}
