
/* TimberIN Instagram Popup Theme Controller — B2-39 */
/* B2-43: interaction-safe popup/overlay stacking; no backdrop blur. */
:root {
  --timberin-popup-brown: #7a3f20;
  --timberin-popup-brown-dark: #5d2f18;
  --timberin-popup-cream: #fbf4ea;
  --timberin-popup-line: #dfbea0;
  --timberin-popup-ink: #2d241f;
}

html body .sgpb-theme-1-overlay {
  background: rgba(38, 28, 21, 0.78) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  z-index: 2147482000 !important;
}

html body #sgpb-popup-dialog-main-div-wrapper:has(.timberin-social-popup) {
  z-index: 2147483647 !important;
}

html body #sgpb-popup-dialog-main-div-wrapper [class*="sgpb-popup-dialog-main-div-theme-wrapper"]:has(.timberin-social-popup) {
  width: min(680px, calc(100vw - 28px)) !important;
  max-width: min(680px, calc(100vw - 28px)) !important;
  height: auto !important;
  max-height: calc(100vh - 28px) !important;
  max-height: calc(100dvh - 28px) !important;
  box-sizing: border-box !important;
  z-index: 2147482200 !important;
  pointer-events: auto !important;
}

html body #sgpb-popup-dialog-main-div-wrapper .sgpb-theme-1-content:has(.timberin-social-popup) {
  width: 100% !important;
  max-width: 680px !important;
  height: auto !important;
  max-height: calc(100vh - 28px) !important;
  max-height: calc(100dvh - 28px) !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  background: var(--timberin-popup-cream) !important;
  border: 1px solid var(--timberin-popup-line) !important;
  border-bottom: 1px solid var(--timberin-popup-line) !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 70px rgba(28, 19, 13, 0.42) !important;
  pointer-events: auto !important;
}

html body #sgpb-popup-dialog-main-div-wrapper .sgpb-main-html-content-wrapper:has(.timberin-social-popup) {
  width: 100% !important;
  max-height: calc(100vh - 30px) !important;
  max-height: calc(100dvh - 30px) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #a76a45 #f4e8dc;
  pointer-events: auto !important;
}

html body #sgpb-popup-dialog-main-div-wrapper .sgpb-main-html-content-wrapper:has(.timberin-social-popup)::-webkit-scrollbar {
  width: 8px;
}

html body #sgpb-popup-dialog-main-div-wrapper .sgpb-main-html-content-wrapper:has(.timberin-social-popup)::-webkit-scrollbar-track {
  background: #f4e8dc;
}

html body #sgpb-popup-dialog-main-div-wrapper .sgpb-main-html-content-wrapper:has(.timberin-social-popup)::-webkit-scrollbar-thumb {
  background: #a76a45;
  border: 2px solid #f4e8dc;
  border-radius: 999px;
}

html body #sgpb-popup-dialog-main-div-wrapper #sgpb-close-button {
  top: 12px !important;
  right: 12px !important;
  bottom: auto !important;
  left: auto !important;
  display: grid !important;
  place-items: center !important;
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: 24px !important;
  line-height: 1 !important;
  text-shadow: none !important;
  background: var(--timberin-popup-brown) !important;
  border: 2px solid #fff !important;
  border-radius: 999px !important;
  box-shadow: 0 5px 16px rgba(43, 26, 16, 0.3) !important;
  opacity: 1 !important;
  z-index: 2147482300 !important;
  transition: background-color .18s ease, transform .18s ease !important;
}

html body #sgpb-popup-dialog-main-div-wrapper #sgpb-close-button:hover,
html body #sgpb-popup-dialog-main-div-wrapper #sgpb-close-button:focus-visible {
  color: #fff !important;
  background: var(--timberin-popup-brown-dark) !important;
  transform: scale(1.06);
  outline: 3px solid rgba(198, 120, 70, 0.35) !important;
  outline-offset: 2px !important;
}

html body #sgpb-popup-dialog-main-div-wrapper #sgpb-close-button img {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  margin: auto !important;
  filter: brightness(0) invert(1);
}

.timberin-social-popup,
.timberin-social-popup * {
  box-sizing: border-box;
}

.timberin-social-popup {
  width: 100%;
  margin: 0;
  padding: 22px 24px 20px;
  color: var(--timberin-popup-ink);
  font-family: Lato, Arial, Helvetica, sans-serif;
  line-height: 1.5;
  text-align: center;
  background: var(--timberin-popup-cream);
  pointer-events: auto !important;
}

.timberin-social-popup__intro {
  margin: 0 0 14px;
  padding: 18px 54px 16px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--timberin-popup-line);
  border-radius: 13px;
}

.timberin-social-popup__eyebrow {
  margin: 0 0 7px !important;
  color: var(--timberin-popup-brown) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: .12em !important;
}

.timberin-social-popup h2 {
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: var(--timberin-popup-ink) !important;
  font-size: clamp(24px, 3vw, 31px) !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
  letter-spacing: -.02em !important;
}

.timberin-social-popup__intro > p:last-child {
  max-width: 530px;
  margin: 0 auto !important;
  color: #4f433b !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

.timberin-social-popup__feed {
  width: 100%;
  margin: 0 0 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--timberin-popup-line);
  border-radius: 13px;
}

.timberin-social-popup__feed iframe {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  height: 330px !important;
  margin: 0 !important;
  background: #fff;
  border: 0 !important;
  pointer-events: auto !important;
}

.timberin-social-popup__action {
  margin: 0 !important;
  text-align: center;
}

.timberin-social-popup__action a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 22px;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none !important;
  background: var(--timberin-popup-brown);
  border: 1px solid var(--timberin-popup-brown);
  border-radius: 8px;
  box-shadow: 0 7px 18px rgba(76, 39, 20, .2);
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
  pointer-events: auto !important;
}

.timberin-social-popup__action a:hover,
.timberin-social-popup__action a:focus-visible {
  color: #fff !important;
  background: var(--timberin-popup-brown-dark);
  border-color: var(--timberin-popup-brown-dark);
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(76, 39, 20, .28);
  outline: 3px solid rgba(198, 120, 70, .28);
  outline-offset: 2px;
}

body:has(#sgpb-popup-dialog-main-div-wrapper .timberin-social-popup) .mwai-chat,
body:has(#sgpb-popup-dialog-main-div-wrapper .timberin-social-popup) .ti-sticky-button,
body:has(#sgpb-popup-dialog-main-div-wrapper .timberin-social-popup) #provesrc-notification-container,
body:has(#sgpb-popup-dialog-main-div-wrapper .timberin-social-popup) .ht-ctc-chat,
body:has(#sgpb-popup-dialog-main-div-wrapper .timberin-social-popup) #ht-ctc-chat {
  z-index: 2147481000 !important;
}

@media (max-width: 600px) {
  html body #sgpb-popup-dialog-main-div-wrapper [class*="sgpb-popup-dialog-main-div-theme-wrapper"]:has(.timberin-social-popup) {
    width: calc(100vw - 18px) !important;
    max-width: calc(100vw - 18px) !important;
    max-height: calc(100vh - 18px) !important;
    max-height: calc(100dvh - 18px) !important;
  }

  html body #sgpb-popup-dialog-main-div-wrapper .sgpb-theme-1-content:has(.timberin-social-popup) {
    max-height: calc(100vh - 18px) !important;
    max-height: calc(100dvh - 18px) !important;
    border-radius: 14px !important;
  }

  html body #sgpb-popup-dialog-main-div-wrapper .sgpb-main-html-content-wrapper:has(.timberin-social-popup) {
    max-height: calc(100vh - 20px) !important;
    max-height: calc(100dvh - 20px) !important;
  }

  html body #sgpb-popup-dialog-main-div-wrapper #sgpb-close-button {
    top: 9px !important;
    right: 9px !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
  }

  .timberin-social-popup {
    padding: 12px;
  }

  .timberin-social-popup__intro {
    margin-bottom: 10px;
    padding: 14px 43px 13px 13px;
    text-align: left;
  }

  .timberin-social-popup__eyebrow {
    font-size: 10px !important;
  }

  .timberin-social-popup h2 {
    margin-bottom: 6px !important;
    font-size: clamp(21px, 7vw, 26px) !important;
  }

  .timberin-social-popup__intro > p:last-child {
    font-size: 14px !important;
    line-height: 1.42 !important;
  }

  .timberin-social-popup__feed {
    margin-bottom: 10px;
    border-radius: 10px;
  }

  .timberin-social-popup__feed iframe {
    height: min(290px, 43dvh) !important;
    min-height: 230px !important;
  }

  .timberin-social-popup__action a {
    width: 100%;
    min-height: 46px;
    padding: 11px 16px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body #sgpb-popup-dialog-main-div-wrapper #sgpb-close-button,
  .timberin-social-popup__action a {
    transition: none !important;
  }
}

/* B2-45: fully opaque white popup and deterministic top-layer stacking. */
:root {
  --timberin-popup-cream: #fff;
}

html body .sgpb-theme-1-overlay {
  z-index: 2147483645 !important;
}

html body #sgpb-popup-dialog-main-div-wrapper:has(.timberin-social-popup) {
  z-index: 2147483647 !important;
}

html body #sgpb-popup-dialog-main-div-wrapper [class*="sgpb-popup-dialog-main-div-theme-wrapper"]:has(.timberin-social-popup),
html body #sgpb-popup-dialog-main-div-wrapper .sgpb-theme-1-content:has(.timberin-social-popup),
html body #sgpb-popup-dialog-main-div-wrapper .sgpb-main-html-content-wrapper:has(.timberin-social-popup),
html body #sgpb-popup-dialog-main-div-wrapper .sgpb-popup-builder-content-html:has(.timberin-social-popup),
html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup,
html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup__intro,
html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup__feed {
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  background-color: #fff !important;
}

html body #sgpb-popup-dialog-main-div-wrapper [class*="sgpb-popup-dialog-main-div-theme-wrapper"]:has(.timberin-social-popup),
html body #sgpb-popup-dialog-main-div-wrapper .sgpb-theme-1-content:has(.timberin-social-popup) {
  z-index: 2147483647 !important;
}

body:has(#sgpb-popup-dialog-main-div-wrapper .timberin-social-popup) .mwai-chat,
body:has(#sgpb-popup-dialog-main-div-wrapper .timberin-social-popup) .mwai-chatbot-container,
body:has(#sgpb-popup-dialog-main-div-wrapper .timberin-social-popup) .mwai-trigger,
body:has(#sgpb-popup-dialog-main-div-wrapper .timberin-social-popup) .mwai-open-button,
body:has(#sgpb-popup-dialog-main-div-wrapper .timberin-social-popup) .ti-sticky-button,
body:has(#sgpb-popup-dialog-main-div-wrapper .timberin-social-popup) #provesrc-notification-container,
body:has(#sgpb-popup-dialog-main-div-wrapper .timberin-social-popup) .ht-ctc-chat,
body:has(#sgpb-popup-dialog-main-div-wrapper .timberin-social-popup) #ht-ctc-chat,
body:has(#sgpb-popup-dialog-main-div-wrapper .timberin-social-popup) #wpadminbar {
  z-index: 2147480000 !important;
  pointer-events: none !important;
}

/* 2026.08.24-r81-uk-instagram-popup-v1 */
:root {
  --ti-r81-popup-ink: #2a1a12;
  --ti-r81-popup-body: #544f4b;
  --ti-r81-popup-brown: #744124;
  --ti-r81-popup-brown-dark: #5d321d;
  --ti-r81-popup-accent: #b96b33;
  --ti-r81-popup-beige: #f6ecdf;
  --ti-r81-popup-cream: #fbf7f2;
  --ti-r81-popup-line: #dfc4a7;
}

html body .sgpb-theme-1-overlay {
  background: rgba(37, 22, 15, .76) !important;
  opacity: 1 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  z-index: 2147483645 !important;
}

html body #sgpb-popup-dialog-main-div-wrapper:has(.timberin-social-popup) {
  z-index: 2147483647 !important;
}

html body #sgpb-popup-dialog-main-div-wrapper [class*="sgpb-popup-dialog-main-div-theme-wrapper"]:has(.timberin-social-popup) {
  width: min(820px, calc(100vw - 48px)) !important;
  max-width: min(820px, calc(100vw - 48px)) !important;
  height: auto !important;
  max-height: calc(100vh - 40px) !important;
  max-height: calc(100dvh - 40px) !important;
  box-sizing: border-box !important;
  z-index: 2147483647 !important;
  pointer-events: auto !important;
}

html body #sgpb-popup-dialog-main-div-wrapper .sgpb-theme-1-content:has(.timberin-social-popup) {
  width: 100% !important;
  max-width: 820px !important;
  height: auto !important;
  max-height: calc(100vh - 40px) !important;
  max-height: calc(100dvh - 40px) !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  opacity: 1 !important;
  filter: none !important;
  background: #fff !important;
  border: 1px solid var(--ti-r81-popup-line) !important;
  border-radius: 24px !important;
  box-shadow: 0 28px 80px rgba(37, 22, 15, .42) !important;
  pointer-events: auto !important;
}

html body #sgpb-popup-dialog-main-div-wrapper .sgpb-main-html-content-wrapper:has(.timberin-social-popup) {
  width: 100% !important;
  max-height: calc(100vh - 42px) !important;
  max-height: calc(100dvh - 42px) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--ti-r81-popup-brown) #f1e6d9;
  opacity: 1 !important;
  background: #fff !important;
  pointer-events: auto !important;
}

html body #sgpb-popup-dialog-main-div-wrapper .sgpb-main-html-content-wrapper:has(.timberin-social-popup)::-webkit-scrollbar {
  width: 8px;
}

html body #sgpb-popup-dialog-main-div-wrapper .sgpb-main-html-content-wrapper:has(.timberin-social-popup)::-webkit-scrollbar-track {
  background: #f1e6d9;
}

html body #sgpb-popup-dialog-main-div-wrapper .sgpb-main-html-content-wrapper:has(.timberin-social-popup)::-webkit-scrollbar-thumb {
  background: var(--ti-r81-popup-brown);
  border: 2px solid #f1e6d9;
  border-radius: 999px;
}

html body #sgpb-popup-dialog-main-div-wrapper #sgpb-close-button {
  top: 14px !important;
  right: 14px !important;
  bottom: auto !important;
  left: auto !important;
  display: grid !important;
  place-items: center !important;
  width: 46px !important;
  min-width: 46px !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #fff !important;
  background: var(--ti-r81-popup-brown) !important;
  border: 3px solid #fff !important;
  border-radius: 999px !important;
  box-shadow: 0 7px 22px rgba(42, 26, 18, .28) !important;
  opacity: 1 !important;
  z-index: 2147483647 !important;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease !important;
}

html body #sgpb-popup-dialog-main-div-wrapper #sgpb-close-button:hover,
html body #sgpb-popup-dialog-main-div-wrapper #sgpb-close-button:focus-visible {
  color: #fff !important;
  background: var(--ti-r81-popup-brown-dark) !important;
  transform: scale(1.05);
  box-shadow: 0 9px 26px rgba(42, 26, 18, .36) !important;
  outline: 3px solid rgba(185, 107, 51, .38) !important;
  outline-offset: 2px !important;
}

html body #sgpb-popup-dialog-main-div-wrapper #sgpb-close-button img {
  display: block !important;
  width: 17px !important;
  height: 17px !important;
  margin: auto !important;
  filter: brightness(0) invert(1) !important;
}

html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup {
  display: grid !important;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr) !important;
  grid-template-areas:
    "intro feed"
    "action feed" !important;
  gap: 18px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 20px !important;
  color: var(--ti-r81-popup-ink) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  line-height: 1.55 !important;
  text-align: left !important;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  background: #fff !important;
  box-sizing: border-box !important;
  pointer-events: auto !important;
}

html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup,
html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup * {
  box-sizing: border-box !important;
}

html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup__intro {
  grid-area: intro !important;
  position: relative;
  display: flex !important;
  min-width: 0;
  min-height: 302px;
  flex-direction: column;
  justify-content: center;
  margin: 0 !important;
  padding: 34px 30px 30px !important;
  overflow: hidden;
  opacity: 1 !important;
  background: linear-gradient(145deg, #fbf7f2 0%, #f6ecdf 100%) !important;
  border: 1px solid var(--ti-r81-popup-line) !important;
  border-radius: 18px !important;
}

html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup__intro::before {
  content: "" !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 76px;
  height: 5px;
  background: var(--ti-r81-popup-accent);
  border-radius: 0 0 8px 0;
}

html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup__eyebrow {
  margin: 0 0 12px !important;
  color: var(--ti-r81-popup-brown) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  letter-spacing: .15em !important;
  text-transform: uppercase !important;
}

html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup h2 {
  margin: 0 0 16px !important;
  padding: 0 40px 0 0 !important;
  color: var(--ti-r81-popup-ink) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(30px, 3.2vw, 38px) !important;
  font-weight: 750 !important;
  line-height: 1.12 !important;
  letter-spacing: -.035em !important;
}

html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup__intro > p:last-child {
  max-width: 32ch !important;
  margin: 0 !important;
  color: var(--ti-r81-popup-body) !important;
  font-size: 16px !important;
  line-height: 1.62 !important;
}

html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup__intro strong {
  color: var(--ti-r81-popup-brown-dark) !important;
  font-weight: 800 !important;
}

html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup__feed {
  grid-area: feed !important;
  display: flex !important;
  min-width: 0;
  min-height: 382px;
  align-self: stretch;
  margin: 0 !important;
  overflow: hidden !important;
  opacity: 1 !important;
  background: var(--ti-r81-popup-cream) !important;
  border: 1px solid var(--ti-r81-popup-line) !important;
  border-radius: 18px !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7) !important;
}

html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup__feed iframe {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  height: 100% !important;
  min-height: 382px !important;
  margin: 0 !important;
  opacity: 1 !important;
  background: #fff !important;
  border: 0 !important;
  pointer-events: auto !important;
}

html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup__action {
  grid-area: action !important;
  width: 100% !important;
  align-self: end;
  justify-self: stretch !important;
  margin: 0 !important;
  text-align: left !important;
}

html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup__action a {
  display: inline-flex !important;
  width: 100% !important;
  min-height: 52px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  padding: 13px 22px !important;
  color: #fff !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  text-decoration: none !important;
  background: var(--ti-r81-popup-brown) !important;
  border: 1px solid var(--ti-r81-popup-brown) !important;
  border-radius: 12px !important;
  box-shadow: 0 9px 22px rgba(93, 50, 29, .22) !important;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease !important;
  pointer-events: auto !important;
}

html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup__action a:hover,
html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup__action a:focus-visible {
  color: #fff !important;
  background: var(--ti-r81-popup-brown-dark) !important;
  border-color: var(--ti-r81-popup-brown-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(93, 50, 29, .3) !important;
  outline: 3px solid rgba(185, 107, 51, .3) !important;
  outline-offset: 2px !important;
}

body:has(#sgpb-popup-dialog-main-div-wrapper .timberin-social-popup) .mwai-chat,
body:has(#sgpb-popup-dialog-main-div-wrapper .timberin-social-popup) .mwai-chatbot-container,
body:has(#sgpb-popup-dialog-main-div-wrapper .timberin-social-popup) .mwai-trigger,
body:has(#sgpb-popup-dialog-main-div-wrapper .timberin-social-popup) .mwai-open-button,
body:has(#sgpb-popup-dialog-main-div-wrapper .timberin-social-popup) .ti-sticky-button,
body:has(#sgpb-popup-dialog-main-div-wrapper .timberin-social-popup) #provesrc-notification-container,
body:has(#sgpb-popup-dialog-main-div-wrapper .timberin-social-popup) .ht-ctc-chat,
body:has(#sgpb-popup-dialog-main-div-wrapper .timberin-social-popup) #ht-ctc-chat,
body:has(#sgpb-popup-dialog-main-div-wrapper .timberin-social-popup) #wpadminbar {
  z-index: 2147480000 !important;
  pointer-events: none !important;
}

@media (max-width: 700px) {
  html body #sgpb-popup-dialog-main-div-wrapper [class*="sgpb-popup-dialog-main-div-theme-wrapper"]:has(.timberin-social-popup) {
    width: calc(100vw - 18px) !important;
    max-width: calc(100vw - 18px) !important;
    max-height: calc(100vh - 18px) !important;
    max-height: calc(100dvh - 18px) !important;
  }

  html body #sgpb-popup-dialog-main-div-wrapper .sgpb-theme-1-content:has(.timberin-social-popup) {
    max-height: calc(100vh - 18px) !important;
    max-height: calc(100dvh - 18px) !important;
    border-radius: 18px !important;
  }

  html body #sgpb-popup-dialog-main-div-wrapper .sgpb-main-html-content-wrapper:has(.timberin-social-popup) {
    max-height: calc(100vh - 20px) !important;
    max-height: calc(100dvh - 20px) !important;
  }

  html body #sgpb-popup-dialog-main-div-wrapper #sgpb-close-button {
    top: 10px !important;
    right: 10px !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
  }

  html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup {
    display: flex !important;
    flex-direction: column !important;
    gap: 11px !important;
    padding: 10px !important;
  }

  html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup__intro {
    min-height: 0 !important;
    padding: 20px 52px 18px 18px !important;
    border-radius: 14px !important;
  }

  html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup__intro::before {
    width: 58px;
    height: 4px;
  }

  html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup__eyebrow {
    margin-bottom: 8px !important;
    font-size: 10px !important;
    letter-spacing: .13em !important;
  }

  html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup h2 {
    margin-bottom: 10px !important;
    padding-right: 0 !important;
    font-size: clamp(25px, 8vw, 30px) !important;
    line-height: 1.14 !important;
  }

  html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup__intro > p:last-child {
    max-width: none !important;
    font-size: 15px !important;
    line-height: 1.52 !important;
  }

  html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup__feed {
    min-height: min(250px, 36dvh) !important;
    border-radius: 14px !important;
  }

  html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup__feed iframe {
    height: min(250px, 36dvh) !important;
    min-height: 220px !important;
  }

  html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup__action a {
    min-height: 48px !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    border-radius: 11px !important;
  }
}

@media (max-width: 380px) {
  html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup__intro {
    padding: 17px 48px 15px 15px !important;
  }

  html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup h2 {
    font-size: 24px !important;
  }

  html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup__feed,
  html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup__feed iframe {
    min-height: 205px !important;
    height: min(225px, 34dvh) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body #sgpb-popup-dialog-main-div-wrapper #sgpb-close-button,
  html body #sgpb-popup-dialog-main-div-wrapper .timberin-social-popup__action a {
    transition: none !important;
  }
}
