/* Help and support screen restoration */
#sc-help {
  display: flex !important;
  flex-direction: column;
  background: #fef1ee !important;
  color: #1c1410 !important;
}

#sc-help .tbar.dark {
  display: flex !important;
  align-items: center;
  flex: 0 0 64px;
  width: 100%;
  height: 64px !important;
  box-sizing: border-box;
  padding: 0 8px !important;
  background: linear-gradient(110deg, #1c1410 0%, #6f2b0d 62%, #e8500a 145%) !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

#sc-help .tbar.dark .back-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px;
  color: #fff !important;
}

#sc-help .tbar-title.w {
  display: block !important;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 8px;
  color: #fff !important;
  font-family: 'Google Sans', 'DM Sans', sans-serif !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  line-height: 1.2;
}

#sc-help .scroll {
  display: block !important;
  flex: 1 1 0 !important;
  min-height: 0;
  padding: 0 0 52px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: #fef1ee !important;
}

#sc-help .scroll > div:first-child {
  box-sizing: border-box;
  padding: 30px 20px 28px !important;
  border-radius: 0 0 28px 28px !important;
  background: linear-gradient(155deg, #1c1410 0%, #382012 62%, #a83c10 145%) !important;
  color: #fff !important;
  text-align: center;
}

#sc-help .scroll > div:first-child h1 {
  display: block !important;
  margin: 0 0 8px !important;
  color: #fff !important;
  font-family: 'Google Sans', 'DM Sans', sans-serif !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  line-height: 1.15;
}

#sc-help .scroll > div:first-child p {
  max-width: 330px;
  margin: 0 auto !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 14px !important;
  line-height: 1.5;
}

#sc-help .scroll > div:nth-child(2) {
  padding: 18px 16px 0 !important;
}

#sc-help #help-search {
  min-width: 0;
  color: #1c1410 !important;
}

#sc-help .scroll > div:nth-child(2) > div {
  box-sizing: border-box;
  padding: 12px 14px !important;
  border: 1px solid rgba(28, 20, 16, 0.1) !important;
  border-radius: 16px !important;
  background: #fffaf7 !important;
  box-shadow: 0 8px 22px rgba(28, 20, 16, 0.06) !important;
}

#sc-help .scroll > div:nth-child(2) svg {
  display: block;
  width: 18px !important;
  height: 18px !important;
  max-width: 18px;
  max-height: 18px;
}

#sc-help .scroll > div:nth-child(3) {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px !important;
  padding: 18px 16px 8px !important;
}

#sc-help .scroll > div:nth-child(3) > div {
  min-width: 0;
  box-sizing: border-box;
  min-height: 104px;
  padding: 16px 8px !important;
  border: 1px solid rgba(28, 20, 16, 0.08) !important;
  border-radius: 16px !important;
  background: #fffaf7 !important;
  box-shadow: 0 8px 20px rgba(28, 20, 16, 0.06) !important;
}

#sc-help .scroll > div:nth-child(3) > div > div:first-child {
  height: 22px !important;
  margin-bottom: 10px !important;
}

#sc-help .scroll > div:nth-child(3) > div > div:nth-child(2) {
  color: #1c1410 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2;
}

#sc-help .scroll > div:nth-child(3) > div > div:last-child {
  margin-top: 4px !important;
  color: #857370 !important;
  font-size: 11px !important;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

#sc-help .scroll > div:nth-child(4) {
  padding: 22px 16px 12px !important;
  color: #1c1410 !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  line-height: 1.2;
}

#sc-help .faq-card {
  margin: 0 16px 20px !important;
  border: 1px solid rgba(28, 20, 16, 0.08) !important;
  border-radius: 16px !important;
  background: #fffaf7 !important;
  box-shadow: 0 6px 18px rgba(28, 20, 16, 0.05) !important;
}

#sc-help .faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  box-sizing: border-box;
  padding: 16px !important;
  color: #1c1410 !important;
  font-size: 14px;
  font-weight: 600;
}

#sc-help .faq-chv,
#sc-help .faq-chv svg,
#sc-help .faq-chev,
#sc-help .faq-chev svg {
  display: block;
  flex: 0 0 20px;
  width: 20px !important;
  height: 20px !important;
  max-width: 20px;
  max-height: 20px;
  color: #e8500a;
}

#sc-help .faq-a {
  padding: 0 16px 16px !important;
  color: #6b6259 !important;
  font-size: 13px !important;
  line-height: 1.55;
}

#sc-help .faq-item.open .faq-a {
  display: block !important;
}

#sc-help .scroll > div:first-child,
#sc-help .scroll > div:nth-child(2),
#sc-help .scroll > div:nth-child(3),
#sc-help .scroll > div:nth-child(4),
#sc-help .faq-card,
#sc-help .contact-card {
  max-width: 760px;
  margin-right: auto !important;
  margin-left: auto !important;
}

#sc-help .scroll > div:nth-child(3) {
  padding-right: 16px !important;
  padding-left: 16px !important;
}

#sc-help .scroll > div:nth-child(3) {
  display: block !important;
  width: 100% !important;
  grid-template-columns: none !important;
  white-space: nowrap !important;
}

#sc-help .scroll > div:nth-child(3) > span {
  display: block !important;
  white-space: nowrap !important;
}

#sc-help .scroll > div:nth-child(3) > div {
  min-height: 116px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

#sc-help .scroll > div:nth-child(3) > div:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(28, 20, 16, 0.1) !important;
}

@media (max-width: 520px) {
  #sc-help .scroll > div:nth-child(3) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 360px) {
  #sc-help .scroll > div:nth-child(3) { grid-template-columns: 1fr !important; }
}

#sc-help .contact-card {
  margin: 0 16px 20px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#sc-help .contact-card > div[onclick] {
  box-sizing: border-box;
  margin-bottom: 10px !important;
  padding: 14px !important;
  border: 1px solid rgba(28, 20, 16, 0.08) !important;
  border-radius: 16px !important;
  background: #fffaf7 !important;
  box-shadow: 0 6px 16px rgba(28, 20, 16, 0.05) !important;
}

#sc-help .contact-card:has(> .support-message-card) {
  display: block !important;
  width: 100% !important;
  grid-template-columns: none !important;
}

#sc-help .contact-card > .support-message-card {
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
#sc-help .contact-card svg {
  display: block;
  width: 24px !important;
  height: 24px !important;
  max-width: 24px;
  max-height: 24px;
}

@media (max-width: 380px) {
  #sc-help .scroll > div:nth-child(3) {
    gap: 7px !important;
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  #sc-help .scroll > div:nth-child(3) > div {
    padding-right: 5px !important;
    padding-left: 5px !important;
  }
}

/* Keep the help masthead readable over the shared dark gradient. */
#sc-help.screen.active > .tbar.dark > .tbar-title.w,
#sc-help.screen.active > .tbar.dark > .back-btn {
  color: #fff !important;
}

#sc-help.screen.active > .tbar.dark > .back-btn {
  background: transparent !important;
}

#sc-help.screen.active > .scroll > div:first-child h1 {
  color: #fff !important;
}

/* Modern ecommerce support finish. */
html body #shell #sc-help > .tbar.dark {
  background: linear-gradient(115deg, #1c1410 0%, #47200f 66%, #a83c10 145%) !important;
  border-bottom: 0 !important;
  box-shadow: 0 12px 28px rgba(28, 20, 16, 0.18) !important;
}

html body #shell #sc-help > .tbar.dark > .back-btn {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
}

html body #shell #sc-help > .tbar.dark > .tbar-title.w {
  color: #fff !important;
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif !important;
  font-size: 20px !important;
  font-weight: 800 !important;
}

html body #shell #sc-help > .scroll {
  padding: 0 0 48px !important;
  background:
    radial-gradient(circle at 100% 24%, rgba(255, 174, 91, 0.12), transparent 26%),
    #f8f4ef !important;
}

html body #shell #sc-help > .scroll > div:first-child {
  min-height: 214px;
  box-sizing: border-box !important;
  padding: 34px 26px 36px !important;
  border-radius: 0 0 34px 34px !important;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 194, 116, 0.30), transparent 25%),
    linear-gradient(145deg, #211510 0%, #472312 58%, #a64b18 145%) !important;
  box-shadow: 0 18px 34px rgba(67, 34, 15, 0.20) !important;
}

html body #shell #sc-help > .scroll > div:first-child h1 {
  margin: 0 0 10px !important;
  color: #fff8ef !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
}

html body #shell #sc-help > .scroll > div:first-child p {
  max-width: 310px !important;
  color: rgba(255, 248, 239, 0.78) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

/* Quick contact tiles. */
html body #shell #sc-help > .scroll > div:nth-child(2) {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  padding: 18px 16px 4px !important;
}

html body #shell #sc-help > .scroll > div:nth-child(2) > div {
  min-height: 92px !important;
  padding: 15px 12px !important;
  border: 1px solid rgba(110, 68, 35, 0.10) !important;
  border-radius: 18px !important;
  background: #fffdf9 !important;
  box-shadow: 0 8px 20px rgba(74, 44, 22, 0.06) !important;
  transition: transform 160ms ease, background 160ms ease !important;
}

html body #shell #sc-help > .scroll > div:nth-child(2) > div:hover {
  background: #fff2e5 !important;
  transform: translateY(-2px);
}

html body #shell #sc-help > .scroll > div:nth-child(2) > div > div:nth-child(2) {
  color: #2d1b12 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

html body #shell #sc-help > .scroll > div:nth-child(2) > div > div:last-child {
  color: #927a6d !important;
  font-size: 10px !important;
}

/* Section headings. */
html body #shell #sc-help > .scroll > div:nth-child(3),
html body #shell #sc-help > .scroll > div:nth-child(5) {
  padding: 20px 20px 10px !important;
  color: #8a5a38 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase;
}

html body #shell #sc-help .faq-card {
  margin: 0 16px 12px !important;
  overflow: hidden !important;
  border: 1px solid rgba(110, 68, 35, 0.10) !important;
  border-radius: 21px !important;
  background: #fffdf9 !important;
  box-shadow: 0 8px 22px rgba(74, 44, 22, 0.06) !important;
}

html body #shell #sc-help .faq-item {
  border-bottom: 1px solid rgba(110, 68, 35, 0.08) !important;
}

html body #shell #sc-help .faq-item:last-child {
  border-bottom: 0 !important;
}

html body #shell #sc-help .faq-q {
  min-height: 64px !important;
  padding: 16px 18px !important;
  color: #2d1b12 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

html body #shell #sc-help .faq-q:hover {
  background: #fff2e5 !important;
}

html body #shell #sc-help .faq-a {
  padding: 0 18px 17px !important;
  color: #88766d !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
}

html body #shell #sc-help .faq-chv,
html body #shell #sc-help .faq-chv svg,
html body #shell #sc-help .faq-chev,
html body #shell #sc-help .faq-chev svg {
  color: #d36318 !important;
}

html body #shell #sc-help .contact-card {
  margin: 0 16px 12px !important;
}

html body #shell #sc-help .contact-card > div[onclick] {
  min-height: 66px !important;
  margin-bottom: 9px !important;
  padding: 11px 12px !important;
  border: 1px solid rgba(211, 99, 24, 0.08) !important;
  border-radius: 16px !important;
  background: #fff2e5 !important;
  box-shadow: none !important;
}

html body #shell #sc-help .contact-card > div[onclick]:hover {
  background: #ffe8d3 !important;
}

html body #shell #sc-help .contact-card > div[onclick] strong,
html body #shell #sc-help .contact-card > div[onclick] div {
  color: #2d1b12 !important;
}

html body #shell #sc-help .contact-card > .support-message-card {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 20px !important;
  border: 1px solid rgba(245, 158, 11, 0.22) !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fff8ed 100%) !important;
  box-shadow: 0 18px 36px rgba(232, 80, 10, 0.12) !important;
  display: flex !important;
  gap: 18px !important;
  align-items: flex-start !important;
}

html body #shell #sc-help .support-message-icon {
  flex: 0 0 42px !important;
  width: 42px !important;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 14px !important;
  background: #fff0df !important;
}

html body #shell #sc-help .support-message-icon svg {
  width: 20px !important;
  height: 20px !important;
}

html body #shell #sc-help .support-message-body {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

html body #shell #sc-help .support-message-title {
  color: #2d1b12 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

html body #shell #sc-help .support-message-copy {
  color: #88766d !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

html body #shell #sc-help .support-message-input {
  width: 100% !important;
  box-sizing: border-box !important;
  min-height: 100px !important;
  margin-top: 14px !important;
  border: 1px solid rgba(110, 68, 35, 0.14) !important;
  border-radius: 14px !important;
  background: #fff8f1 !important;
  outline: none !important;
  box-shadow: none !important;
}

html body #shell #sc-help .support-message-input:focus {
  border-color: rgba(211, 99, 24, 0.28) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 3px rgba(211, 99, 24, 0.08) !important;
}

html body #shell #sc-help .support-message-button {
  border-radius: 999px !important;
  background: #d36318 !important;
  color: #fff !important;
  font-weight: 800 !important;
}

@media (prefers-reduced-motion: no-preference) {
  html body #shell #sc-help > .scroll > div:first-child,
  html body #shell #sc-help > .scroll > div:nth-child(2),
  html body #shell #sc-help .faq-card,
  html body #shell #sc-help .contact-card {
    animation: help-enter 420ms var(--md-easing-emph) both;
  }
}

@keyframes help-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
