/**
 * Help Scout Help Center Stylesheet
 *
 * @description Custom stylesheet for Doodle Design Co. Help Scout Help Center
 * @author Will S.
 * @version 5.2.0
 * @date 2025-04-15
 * @company Doodle Design Company
 * @website https://sharpsticker.store
 * @platform Help Scout
 */

/* ==========================================================================
   1. CSS Custom Properties
   ========================================================================== */

:root {
  /* ── Brand Core ────────────────────────────────────────────────────────── */
  --color-primary:              #333333;   /* charcoal — text, headings, buttons  */
  --color-primary-dark:         #2a2a2a;
  --color-primary-light:        #4a4a4a;

  --color-secondary:            #1b4d3e;   /* deep teal — secondary actions        */
  --color-secondary-dark:       #163d31;
  --color-secondary-light:      #2a6654;

  --color-accent:               #777777;   /* mid-charcoal — highlights, hover dots */
  --color-accent-dark:          #555555;
  --color-accent-light:         #999999;

  /* ── Alert / Semantic Colors ───────────────────────────────────────────── */
  --color-info:                 #5c73e0;
  --color-info-bg:              #eef0fd;
  --color-info-border:          #c3caf7;

  --color-warning:              #ee9441;   /* reuses brand accent */
  --color-warning-bg:           #fef4e8;
  --color-warning-border:       #f5c484;

  --color-success:              #1b4d3e;   /* reuses brand secondary */
  --color-success-bg:           #e8f3ee;
  --color-success-border:       #a3cebf;

  --color-danger:               #c35037;
  --color-danger-bg:            #fdf1ee;
  --color-danger-border:        #e8a898;

  /* ── Neutrals ──────────────────────────────────────────────────────────── */
  --color-grey-extra-light:     rgba(51, 51, 51, 0.10);
  --color-grey-light:           rgba(51, 51, 51, 0.22);
  --color-grey:                 rgba(51, 51, 51, 0.52);
  --color-grey-dark:            rgba(51, 51, 51, 0.60);
  --color-grey-extra-dark:      rgba(51, 51, 51, 0.72);

  /* ── Base ──────────────────────────────────────────────────────────────── */
  --color-black:                #333333;
  --color-white:                #ffffff;
  --color-surface:              #ffffff;

  /* ── Backgrounds ───────────────────────────────────────────────────────── */
  --color-bg:                   #ffffff;
  --color-background-primary:   #ffffff;

  /* ── Legacy Aliases (backward compat) ─────────────────────────────────── */
  --color-blue:                 var(--color-primary);
  --color-blue-dark:            var(--color-primary-dark);
  --color-blue-extra-dark:      var(--color-primary-dark);
  --color-green:                var(--color-secondary);
  --color-green-dark:           var(--color-secondary-dark);
  --color-red-light:            var(--color-accent-light);
  --color-red:                  var(--color-danger);
  --color-red-dark:             var(--color-danger);
  --color-background-grey:      var(--color-bg);
  --color-background-yellow:    var(--color-bg);
  --color-background-pink:      var(--color-bg);
  --color-background-info-blue: var(--color-info-bg);
  --color-background-error-red: var(--color-danger-bg);
  --color-background-warning-yellow: var(--color-warning-bg);
  --color-dark-grey:            var(--color-grey-extra-dark);

  /* ── Typography ────────────────────────────────────────────────────────── */
  --font-family-primary:        "Sentient-Variable", system-ui, sans-serif;
  --font-family-secondary:      "Moulay-Bold", Georgia, serif;
  --font-family-display:        "Moulay-Regular", Georgia, serif;
  --font-family-text:           var(--font-family-primary);
  --font-family-headline:       var(--font-family-secondary);
  --font-family-nav:            var(--font-family-display);
  --font-family-mono:           "SF Mono", "Fira Code", Consolas, monospace;

  /* Font Sizes — Body */
  --font-size-extra-small:      12px;
  --font-size-small:            14px;
  --font-size-normal:           16px;
  --font-size-large:            18px;

  /* Line Heights — Body */
  --font-line-height-extra-small: 18px;
  --font-line-height-small:     20px;
  --font-line-height-normal:    24px;
  --font-line-height-large:     28px;

  /* Font Sizes — Headings */
  --font-size-headline-small:   40px;
  --font-size-headline-normal:  80px;
  --font-size-headline-large:   120px;

  /* Line Heights — Headings */
  --font-line-height-headline-small:  52px;
  --font-line-height-headline-normal: 90px;
  --font-line-height-headline-large:  124px;

  /* Font Sizes — Sub-Headings (article & page headings) */
  --font-size-sub-headline-small:  19px;   /* h3 in articles */
  --font-size-sub-headline-normal: 23px;   /* h2 in articles */
  --font-size-sub-headline-large:  30px;   /* h1 / page titles */

  /* Line Heights — Sub-Headings */
  --font-line-height-sub-headline-small:  27px;
  --font-line-height-sub-headline-normal: 32px;
  --font-line-height-sub-headline-large:  40px;

  /* ── Spacing ───────────────────────────────────────────────────────────── */
  --spacing-xs:    4px;
  --spacing-sm:    8px;
  --spacing-md:    12px;
  --spacing-lg:    16px;
  --spacing-xl:    24px;
  --spacing-2xl:   32px;
  --spacing-3xl:   40px;
  --spacing-4xl:   64px;
  --spacing-5xl:   96px;
  --spacing-6xl:   128px;
  --spacing-7xl:   192px;

  /* Legacy spacing aliases */
  --spacing-4:     var(--spacing-xs);
  --spacing-8:     var(--spacing-sm);
  --spacing-12:    var(--spacing-md);
  --spacing-16:    var(--spacing-lg);
  --spacing-24:    var(--spacing-xl);
  --spacing-32:    var(--spacing-2xl);
  --spacing-40:    var(--spacing-3xl);
  --spacing-64:    var(--spacing-4xl);
  --spacing-96:    var(--spacing-5xl);
  --spacing-128:   var(--spacing-6xl);
  --spacing-192:   var(--spacing-7xl);

  /* ── Border Radius ─────────────────────────────────────────────────────── */
  --border-radius-xs:   4px;
  --border-radius-sm:   8px;
  --border-radius-md:   10px;
  --border-radius-lg:   12px;
  --border-radius-xl:   16px;
  --border-radius-pill: 30px;
  --border-radius-full: 50%;

  /* Legacy */
  --border-radius-extra-small: var(--border-radius-md);
  --border-radius-small:       var(--border-radius-md);
  --border-radius-large:       var(--border-radius-md);

  /* ── Shadows ───────────────────────────────────────────────────────────── */
  --shadow-sm: 0px 1px 3px rgba(51, 51, 51, 0.08), 0px 1px 2px rgba(51, 51, 51, 0.04);
  --shadow-md: 0px 4px 12px rgba(51, 51, 51, 0.10), 0px 2px 4px rgba(51, 51, 51, 0.06);
  --shadow-lg: 0px 12px 24px rgba(51, 51, 51, 0.10), 0px 4px 8px rgba(51, 51, 51, 0.06);

  --drop-shadow-small: var(--shadow-sm);
  --drop-shadow-large: var(--shadow-lg);

  /* ── Transitions ───────────────────────────────────────────────────────── */
  --transition-fast:   0.1s ease-in-out;
  --transition-normal: 0.2s ease-in-out;
  --transition-slow:   0.3s ease-in-out;

  /* ── Z-Index ───────────────────────────────────────────────────────────── */
  --z-index-dropdown:       1000;
  --z-index-sticky:         1020;
  --z-index-fixed:          1030;
  --z-index-modal-backdrop: 1040;
  --z-index-modal:          1050;

  /* ── Article Readability ───────────────────────────────────────────────── */
  /* Research-backed: 66 characters per line is the sweet spot for readability */
  --article-max-width: 70ch;
  --article-line-height: 1.75;
  --article-paragraph-spacing: 1.25em;
}


/* ==========================================================================
   2. Font Declarations
   ========================================================================== */

@font-face {
  font-family: "Moulay-Bold";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://cdn.shopify.com/s/files/1/0684/1162/1687/files/Moulay-Bold_8fc5573d-1009-4831-97b7-a9ebd1263b22.ttf?v=1773629213") format("truetype");
}

@font-face {
  font-family: "Moulay-Regular";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://cdn.shopify.com/s/files/1/0684/1162/1687/files/Moulay-Regular_b48cf787-023b-443f-8ee6-0c503f841d0a.ttf?v=1773629473") format("truetype");
}

@font-face {
  font-family: "Sentient-Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("https://cdn.shopify.com/s/files/1/0684/1162/1687/files/Sentient-Variable.ttf?v=1771712417") format("truetype");
}


/* ==========================================================================
   3. Accessibility — Skip Link & Focus Styles
   ========================================================================== */

/* Skip to main content — keyboard navigation */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: var(--border-radius-md);
  font-family: var(--font-family-text);
  font-size: var(--font-size-normal);
  z-index: var(--z-index-modal);
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 16px;
}

/* Visible focus ring — keyboard navigation (WCAG 2.4.7) */
:focus-visible {
  outline: 2.5px solid var(--color-accent) !important;
  outline-offset: 3px !important;
  border-radius: 3px;
}

/* Remove outline for mouse users only */
:focus:not(:focus-visible) {
  outline: none;
}


/* ==========================================================================
   4. Base Styles
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg) !important;
  font-family: var(--font-family-text);
  font-size: var(--font-size-normal);
  line-height: var(--font-line-height-normal);
  color: var(--color-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* Prevent iOS from auto-inflating font sizes */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-headline);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--font-size-sub-headline-large);
  line-height: var(--font-line-height-sub-headline-large);
}

h2 {
  font-size: var(--font-size-sub-headline-normal);
  line-height: var(--font-line-height-sub-headline-normal);
}

h3, h4, h5 {
  font-size: var(--font-size-sub-headline-small);
  line-height: var(--font-line-height-sub-headline-small);
}

p {
  font-family: var(--font-family-text);
  color: var(--color-black);
  margin-bottom: var(--article-paragraph-spacing);
}

p:last-child {
  margin-bottom: 0;
}

hr {
  height: 1px;
  background-color: var(--color-grey-extra-light);
  border: none;
}

a {
  color: var(--color-primary);
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.container-fluid {
  max-width: 1200px;
}

#contentArea {
  padding: 0 24px;
}

@media (max-width: 768px) {
  #contentArea     { padding: 0 8px; }
  .container-fluid { padding-left: 16px; padding-right: 16px; }
  #main-content    { padding: 0 16px; }
  .contentWrapper  { padding: 0 16px; }
}


/* ==========================================================================
   5. Hero / Search Section
   ========================================================================== */

#docsSearch {
  background-color: var(--color-bg) !important;
  background-image: none !important;
  min-height: 260px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 48px 24px 36px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(51, 51, 51, 0.06);
}

#docsSearch h1 {
  font-family: var(--font-family-headline) !important;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.1;
  margin: 0 0 28px;
  color: var(--color-black);
  font-weight: 700;
  letter-spacing: -0.02em;
}

#docsSearch #searchBar {
  width: 560px !important;
  display: flex;
  align-items: center;
  position: relative;
  /* Shadow lifts the search bar off the page */
  filter: drop-shadow(0 4px 12px rgba(51, 51, 51, 0.12));
}

/* Search input */
#docsSearch .search-query {
  border: 1.5px solid var(--color-grey-extra-light) !important;
  border-radius: var(--border-radius-pill) !important;
  background: var(--color-surface) !important;
  color: var(--color-black) !important;
  height: 58px !important;
  font-family: var(--font-family-text) !important;
  font-size: 17px !important;
  padding-left: 22px !important;
  padding-right: 148px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

#docsSearch .search-query::placeholder {
  color: var(--color-grey);
  opacity: 1;
}

#docsSearch .search-query:hover {
  border-color: var(--color-grey-light) !important;
}

#docsSearch .search-query:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.10) !important;
  outline: none;
}

/* Search button — Moulay-Regular */
#docsSearch #searchBar button {
  background: var(--color-primary);
  color: var(--color-white);
  height: 48px;
  border-radius: var(--border-radius-pill);
  border: none;
  font-family: var(--font-family-nav) !important;
  font-size: 17px;
  font-weight: 400;
  padding: 0 28px;
  line-height: 1;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  position: absolute;
  right: 5px;
  top: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  /* WCAG touch target */
  min-height: 44px;
}

#docsSearch #searchBar button .icon-search::before {
  content: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIg\a         ZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldm\a         Vub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00IDExQzQgNy4xMzQwMSA3LjEzNDAxIDQgMTEgNEMxNC44NjYg\a         NCAxOCA3LjEzNDAxIDE4IDExQzE4IDE0Ljg2NiAxNC44NjYgMTggMTEgMThDNy4xMzQwMSAxOCA0IDE0Ljg2NiA0ID\a         ExWk0xMSAyQzYuMDI5NDQgMiAyIDYuMDI5NDQgMiAxMUMyIDE1Ljk3MDYgNi4wMjk0NCAyMCAxMSAyMEMxMy4xMjUg\a         MjAgMTUuMDc4IDE5LjI2MzUgMTYuNjE3NyAxOC4wMzE5TDIwLjI5MjkgMjEuNzA3MUMyMC42ODM0IDIyLjA5NzYgMj\a         EuMzE2NiAyMi4wOTc2IDIxLjcwNzEgMjEuNzA3MUMyMi4wOTc2IDIxLjMxNjYgMjIuMDk3NiAyMC42ODM0IDIxLjcw\a         NzEgMjAuMjkyOUwxOC4wMzE5IDE2LjYxNzdDMTkuMjYzNSAxNS4wNzggMjAgMTMuMTI1IDIwIDExQzIwIDYuMDI5ND\a         QgMTUuOTcwNiAyIDExIDJaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K");
}

#docsSearch #searchBar button:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

#docsSearch #searchBar button:active {
  transform: translateY(0);
}

#docsSearch textarea,
#docsSearch input[type=text] {
  box-shadow: none;
  -webkit-appearance: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

/* Autocomplete dropdown */
#docsSearch #serp-dd {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  top: 68px;
  margin-top: 8px;
  border: 1px solid var(--color-grey-extra-light);
  background: var(--color-surface);
  overflow: hidden;
}

#docsSearch #serp-dd .noResults {
  padding: 16px 24px;
  font-size: var(--font-size-normal);
  color: var(--color-grey);
  font-family: var(--font-family-text);
}

#docsSearch #serp-dd a {
  color: var(--color-primary);
  font-size: var(--font-size-normal);
  font-family: var(--font-family-text);
  padding: 14px 18px;
  display: block;
  transition: background var(--transition-fast);
}

#docsSearch #serp-dd a:hover {
  background: var(--color-grey-extra-light);
}

@media (max-width: 768px) {
  #docsSearch {
    height: auto;
    min-height: 220px;
    padding: 32px 16px 24px;
    margin-bottom: 16px;
  }

  #docsSearch h1 {
    font-size: clamp(1.9rem, 7vw, 2.8rem);
    text-align: center;
    line-height: 1.1;
    margin-bottom: 18px;
    padding: 0 8px;
    word-wrap: break-word;
  }

  #docsSearch #searchBar {
    width: 100% !important;
    max-width: 540px;
    filter: none;
  }

  #docsSearch #searchBar button {
    padding: 0 20px;
    height: 44px;
    font-size: 15px;
  }

  #docsSearch .search-query {
    padding-right: 120px !important;
    height: 54px !important;
  }
}

@media (max-width: 480px) {
  #docsSearch .search-query {
    padding-right: 106px !important;
    font-size: 16px !important;
  }

  #docsSearch #searchBar button {
    padding: 0 14px;
    font-size: 14px;
  }
}


/* ==========================================================================
   5b. Rotating Placeholder
   ========================================================================== */

.hs-placeholder-rotator {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-family-text) !important;
  font-size: 17px;
  color: var(--color-grey);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  z-index: 1;
  white-space: nowrap;
  overflow: hidden;
  max-width: calc(100% - 165px);
  will-change: opacity, transform;
  transition: opacity 0.2s ease;
}

.hs-placeholder-rotator.hs-ph-in {
  animation: hs-ph-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hs-placeholder-rotator.hs-ph-out {
  animation: hs-ph-out 0.35s ease-in both;
}

@keyframes hs-ph-in {
  from { opacity: 0; transform: translateY(calc(-50% + 8px)); }
  to   { opacity: 1; transform: translateY(-50%); }
}

@keyframes hs-ph-out {
  from { opacity: 1; transform: translateY(-50%); }
  to   { opacity: 0; transform: translateY(calc(-50% - 6px)); }
}

@media (max-width: 768px) {
  .hs-placeholder-rotator { font-size: 15px; max-width: calc(100% - 132px); }
}

@media (max-width: 480px) {
  .hs-placeholder-rotator { font-size: 14px; max-width: calc(100% - 118px); }
}


/* ==========================================================================
   6. Navbar
   ========================================================================== */

.navbar {
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: var(--color-bg) !important;
  position: sticky;
  top: 0;
  z-index: var(--z-index-sticky);
  box-shadow: none;
  transition: padding 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  will-change: padding, box-shadow;
}

/* Scrolled state — compact + frosted glass */
.navbar.is-scrolled {
  padding-top: 6px;
  padding-bottom: 6px;
  box-shadow: 0 4px 24px rgba(51, 51, 51, 0.08);
  background-color: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Scrolled-down state — cross-fade to icon, no width change */
.navbar.is-scrolled-down .hs-logo--text {
  opacity: 0;
  transform: translateY(-50%) translateX(-6px);
}
.navbar.is-scrolled-down .hs-logo--icon {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.navbar .navbar-inner {
  background: none !important;
  box-shadow: none !important;
}

.navbar .brand {
  padding: 0;
  height: 52px;
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  /* Fixed width = widest logo (text). Icon is smaller but centered in same space */
  width: 148px;
  flex-shrink: 0;
}

.navbar .brand span,
.navbar .brand::before,
.navbar .brand::after {
  display: none !important;
}

/* Hide default HelpScout logo img */
.navbar .brand img:not(.hs-logo) {
  display: none !important;
}

/* ── JS-injected logo images — Anthropic-style cross-fade ───────────────── */
/* Both logos absolutely stacked, left-aligned, centered vertically */
.hs-logo {
  position: absolute;
  top: 50%;
  left: 0;
  pointer-events: none;
  will-change: opacity, transform;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Text wordmark — shows at top / scrolling up */
.hs-logo--text {
  height: 22px;
  width: auto;
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Icon mark — hidden at top, cross-fades in on scroll down */
.hs-logo--icon {
  height: 32px;
  width: 32px;
  opacity: 0;
  transform: translateY(-50%) translateX(8px);
}

/* Nav links — Moulay-Regular */
.navbar .nav a {
  font-family: var(--font-family-nav) !important;
  font-size: 16px;
  line-height: 1;
  color: var(--color-black) !important;
  padding: 0 20px 0 0 !important;
  text-decoration: none !important;
  transition: color var(--transition-fast);
  letter-spacing: 0.01em;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.navbar .nav a [class^=icon-] {
  color: var(--color-black) !important;
}

.navbar .nav a:hover {
  color: var(--color-accent) !important;
  opacity: 1;
}

.navbar .nav .active .caret {
  display: none !important;
}

/* Hamburger bars */
.navbar .icon-bar {
  background: var(--color-black) !important;
  box-shadow: none !important;
  width: 22px !important;
}

/* Polaris-style toggle */
.navbar .navbar-toggle {
  position: relative;
  min-width: 44px;
  min-height: 44px;
}

.navbar .navbar-toggle::before {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 5H17.5M2.5 10H17.5M2.5 15H17.5' stroke='%23333333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-position: center;
  width: 20px;
  height: 20px;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.navbar .navbar-toggle .icon-bar {
  display: none !important;
}

.navbar .nav-collapse {
  padding-top: var(--spacing-32);
}

/* Store CTA button — Moulay-Regular */
.navbar .nav .store-btn {
  background-color: var(--color-primary);
  color: #ffffff !important;
  padding: 10px 20px !important;
  border-radius: var(--border-radius-pill);
  text-decoration: none !important;
  font-family: var(--font-family-nav) !important;
  font-weight: 400;
  font-size: 15px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
  margin-left: auto;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  min-height: 40px;
}

.navbar .nav .store-btn:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--color-white) !important;
  opacity: 1;
}

.navbar .nav .store-btn:focus-visible {
  outline: 2.5px solid var(--color-accent) !important;
  outline-offset: 3px !important;
}

.navbar .nav .store-btn::after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 12L10 8L6 4' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 16px 16px;
  background-repeat: no-repeat;
  background-position: center;
  width: 16px;
  height: 16px;
  display: inline-block;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .navbar { padding-bottom: 0; }

  .navbar .brand { height: 48px; width: 130px; }

  .hs-logo--text { height: 19px !important; }
  .hs-logo--icon { height: 28px !important; width: 28px !important; }

  /* placeholder so the trailing mobile block closes cleanly */
  .navbar .brand::after {
    display: none !important;
    content: "" !important;
  }

  .navbar .navbar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .navbar .navbar-header .store-btn {
    order: 2;
    margin-left: auto;
    margin-right: 12px;
    padding: 8px 16px !important;
    font-size: 13px;
  }

  .navbar .navbar-toggle { order: 3; }

  .navbar .nav { margin: 0; }

  .navbar .nav li a {
    font-size: var(--font-size-large);
    margin: 0;
    padding: 0 0 var(--spacing-32) !important;
  }

  .navbar .nav .store-btn {
    margin-left: auto;
    margin-right: 12px;
    padding: 10px 20px !important;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .navbar .brand { height: 44px; width: 110px; }
  .hs-logo--text { height: 17px !important; }
  .hs-logo--icon { height: 26px !important; width: 26px !important; }

  .navbar .nav a { padding: 0 16px 16px 0 !important; font-size: 16px; }
}


/* ==========================================================================
   7. Category / Collection Cards
   ========================================================================== */

.collection-category {
  color: var(--color-black);
}

.collection-category:first-of-type h2 {
  margin-top: 24px;
}

.collection-category h2 {
  text-align: center;
  font-family: var(--font-family-headline) !important;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  pointer-events: none;
  cursor: default;
  color: var(--color-black);
  text-decoration: none;
  margin-bottom: 20px;
  margin-top: 56px;
  line-height: 1.2;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.category {
  background-repeat: no-repeat !important;
  background-position: center top 24px !important;
  background-color: var(--color-surface) !important;
  border: 1px solid rgba(51, 51, 51, 0.07);
  border-radius: var(--border-radius-xl) !important;
  padding-top: 252px !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  box-sizing: border-box;
  width: 31% !important;
  transition: box-shadow var(--transition-normal), transform var(--transition-normal) !important;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.category h3 {
  color: var(--color-black);
  font-family: var(--font-family-headline) !important; /* Moulay-Bold for card titles */
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0 20px 20px;
  font-weight: 700;
  letter-spacing: 0;
}

.category .article-count,
.category p {
  display: none;
}

.category:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .category { width: 46% !important; }
  .collection-category h2 { font-size: 1.35rem; }
}

@media (max-width: 600px) {
  .category { width: 100% !important; margin-bottom: 0 !important; }
}

@media (max-width: 480px) {
  .category { width: 100% !important; }
}


/* ==========================================================================
   8. Category Background Images
   ========================================================================== */

#category-5 {
  background-size: 200px 200px;
  background-image: url(https://cdn.shopify.com/s/files/1/0684/1162/1687/files/returns_Icon_538f793e-2046-4852-bc09-0fd5205b0ef5.svg?v=1754153300);
}

#category-33 {
  background-size: 200px 200px;
  background-image: url(https://cdn.shopify.com/s/files/1/0684/1162/1687/files/product_info.svg?v=1754363867);
}

#category-20 {
  background-size: 200px 200px;
  background-image: url(https://cdn.shopify.com/s/files/1/0684/1162/1687/files/Product_Icon_b5f463f1-741d-449f-939c-da7d8723fe4a.svg?v=1754154124);
}

#category-21 {
  background-size: 200px 200px;
  background-image: url(https://cdn.shopify.com/s/files/1/0684/1162/1687/files/Sticker_icon_1a39a916-0b20-44f9-8f19-82cf53144707.svg?v=1754364347);
}

#category-407, #category-585 {
  background-size: 200px 200px;
  background-image: url(https://s3.amazonaws.com/helpscout.net/docs/assets/5769525d9033601c8a8ec820/images/6137837a00c03d6720754967/file-GGrVX3UuPS.png);
}

#category-411, #category-586 {
  background-size: 200px 200px;
  background-image: url(https://s3.amazonaws.com/helpscout.net/docs/assets/5769525d9033601c8a8ec820/images/613783982b380503dfdeebca/file-s4sX3roUYN.png);
}

#category-410, #category-588 {
  background-size: 200px 200px;
  background-image: url(https://s3.amazonaws.com/helpscout.net/docs/assets/5769525d9033601c8a8ec820/images/6137836012c07c18afdd19fe/file-TfdpZunZ1P.png);
}

#category-713 {
  background-size: 200px 200px;
  background-image: url(https://s3.amazonaws.com/helpscout.net/docs/assets/5769525d9033601c8a8ec820/images/613679c012c07c18afdd167a/file-oUhm3wt4HO.png);
  width: 75% !important;
  margin-top: 25px !important;
}

#category-673 {
  background-size: 200px 200px;
  background-image: url(https://s3.amazonaws.com/helpscout.net/docs/assets/5769525d9033601c8a8ec820/images/613679c012c07c18afdd167a/file-oUhm3wt4HO.png);
}

#category-674 {
  background-size: 200px 200px;
  background-image: url(https://s3.amazonaws.com/helpscout.net/docs/assets/5769525d9033601c8a8ec820/images/613783d22b380503dfdeebcc/file-in5dPp2E52.png);
}

#category-675 {
  background-size: 200px 200px;
  background-image: url(https://s3.amazonaws.com/helpscout.net/docs/assets/5769525d9033601c8a8ec820/images/613783fd2bd60b76c2e6c00f/file-8Xn6TsitJS.png);
}

#category-677 {
  background-size: 200px 200px;
  background-image: url(https://s3.amazonaws.com/helpscout.net/docs/assets/5769525d9033601c8a8ec820/images/613783e36c65aa15b87d7e16/file-mkJu8TtPjW.png);
}

#category-735 {
  background-size: 200px 200px;
  background-image: url(https://s3.amazonaws.com/helpscout.net/docs/assets/5769525d9033601c8a8ec820/images/613783f400c03d672075496a/file-staRQuy3Tm.png);
  order: -1;
}

#category-714 {
  background-size: 200px 200px;
  background-image: url(https://s3.amazonaws.com/helpscout.net/docs/assets/5769525d9033601c8a8ec820/images/613783982b380503dfdeebca/file-s4sX3roUYN.png);
  width: 75% !important;
  margin-top: 25px !important;
}

#collection-category-308,
#support-center {
  display: none;
}


/* ==========================================================================
   9. Sidebar
   ========================================================================== */

#sidebar {
  margin-top: 40px;
}

#sidebar #searchBar {
  margin-bottom: 40px;
}

#sidebar #searchBar.sm button {
  height: 48px;
  min-height: 44px;
}

#sidebar .search-query {
  border: 1.5px solid var(--color-grey-extra-light) !important;
  border-radius: var(--border-radius-lg) !important;
  background: var(--color-surface) !important;
  color: var(--color-black) !important;
  height: 52px !important;
  font-family: var(--font-family-text) !important;
  font-size: var(--font-size-normal) !important;
  padding-left: 16px !important;
  padding-right: 48px !important;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

#sidebar .search-query:hover {
  border-color: var(--color-grey-light) !important;
}

#sidebar .search-query:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.08) !important;
  outline: none;
}

#sidebar textarea,
#sidebar input[type=text] {
  box-shadow: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast) !important;
}

#sidebar form button {
  right: 16px;
  min-height: 44px;
}

#sidebar .icon-search::before {
  content: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIg\a             ZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldm\a             Vub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00IDExQzQgNy4xMzQwMSA3LjEzNDAxIDQgMTEgNEMxNC44NjYg\a             NCAxOCA3LjEzNDAxIDE4IDExQzE4IDE0Ljg2NiAxNC44NjYgMTggMTEgMThDNy4xMzQwMSAxOCA0IDE0Ljg2NiA0ID\a             ExWk0xMSAyQzYuMDI5NDQgMiAyIDYuMDI5NDQgMiAxMUMyIDE1Ljk3MDYgNi4wMjk0NCAyMCAxMSAyMEMxMy4xMjUg\a             MjAgMTUuMDc4IDE5LjI2MzUgMTYuNjE3NyAxOC4wMzE5TDIwLjI5MjkgMjEuNzA3MUMyMC42ODM0IDIyLjA5NzYgMj\a             EuMzE2NiAyMi4wOTc2IDIxLjcwNzEgMjEuNzA3MUMyMi4wOTc2IDIxLjMxNjYgMjIuMDk3NiAyMC42ODM0IDIxLjcw\a             NzEgMjAuMjkyOUwxOC4wMzE5IDE2LjYxNzdDMTkuMjYzNSAxNS4wNzggMjAgMTMuMTI1IDIwIDExQzIwIDYuMDI5ND\a             QgMTUuOTcwNiAyIDExIDJaIiBmaWxsPSJibGFjayIvPgo8L3N2Zz4K");
  width: 24px;
  height: 24px;
  opacity: 0.50;
}

#sidebar #serp-dd {
  top: 60px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-grey-extra-light);
  overflow: hidden;
}

#sidebar #serp-dd .noResults {
  padding: 16px 24px;
  font-size: var(--font-size-normal);
  color: var(--color-grey);
  font-family: var(--font-family-text);
}

#sidebar #serp-dd a {
  color: var(--color-primary);
  font-size: var(--font-size-normal);
  padding: 12px 20px;
  display: block;
  transition: background var(--transition-fast);
}

#sidebar #serp-dd a:hover {
  background: var(--color-grey-extra-light);
}

#sidebar h3 {
  display: none;
}

#sidebar .nav-list li {
  margin: 0;
}

#sidebar .nav-list a {
  color: var(--color-black);
  font-family: var(--font-family-text);
  font-size: var(--font-size-normal);
  line-height: 1.4 !important;
  padding: 10px 8px !important;
  text-shadow: none !important;
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
  min-height: 44px;
  display: flex;
  align-items: center;
}

#sidebar .nav-list a:hover {
  color: var(--color-primary) !important;
  background: var(--color-grey-extra-light);
}

#sidebar .nav-list a:focus {
  color: var(--color-grey-extra-dark);
}

#sidebar .nav-list .active a {
  color: var(--color-primary);
  font-weight: 600 !important;
  background: rgba(51, 51, 51, 0.08);
}

#sidebar .nav-list .active a i {
  visibility: hidden;
}

#sidebar .nav-list .active a::before {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 6L12 10L8 14' stroke='%23777777' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 16px 16px;
  background-repeat: no-repeat;
  background-position: center;
  width: 16px;
  height: 16px;
  display: inline-block;
  margin-right: 8px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  #sidebar {
    margin-top: 32px;
    padding-bottom: 32px;
  }

  #sidebar .search-query {
    height: 48px !important;
    font-size: 16px !important;
  }
}


/* ==========================================================================
   10. Category Head / Sort
   ========================================================================== */

#categoryHead {
  margin-bottom: 32px;
}

#categoryHead h1 {
  font-size: var(--font-size-sub-headline-large);
  line-height: var(--font-line-height-sub-headline-large);
  color: var(--color-black);
  margin-right: 224px;
  margin-bottom: 8px;
}

#categoryHead .sort {
  top: 0;
}

#categoryHead #sortBy {
  border: 1.5px solid var(--color-grey-extra-light);
  border-radius: var(--border-radius-lg);
  padding: 0 12px;
  width: 220px;
  height: 48px;
  margin: 0;
  color: var(--color-black);
  font-family: var(--font-family-text);
  font-size: var(--font-size-normal);
  -webkit-appearance: none;
  background-color: var(--color-surface);
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACeSURBVHgB7dZbCsMwDATR2aln51mCl9CGtoISEvqInVjkHhD4S5r5swQAAAAAF1DmqfNMr3e2/Y/Ft7dpeaQsdld1UBdHWpUoK3sndeCVQ3tLlI2dVidWuxKHhw/W/hKnhQ/W/yVODx+s30sMEz5Y35cYLnywPpcYNnywtksMHz5Y60FThA9W4vDBShw+WInDB+v5KatKGB4AAAC4gDvnIpU1Nol5ewAAAABJRU5ErkJggg==");
  background-position: right 10px center;
  background-repeat: no-repeat;
  background-size: 24px 24px;
  cursor: pointer;
  padding-right: 36px;
  transition: border-color var(--transition-fast);
}

#categoryHead #sortBy:hover {
  border-color: var(--color-grey-light) !important;
}

#categoryHead #sortBy:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.08) !important;
  outline: 0;
}


/* ==========================================================================
   11. Main Content & Article Wrapper
   ========================================================================== */

#main-content {
  background-image: none;
  padding-top: 40px;
}

@media (max-width: 768px) {
  #main-content { padding-top: 16px; }
}

.contentWrapper {
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none !important;
  padding: var(--spacing-40) 0;
}

.contentWrapper a {
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
  font-weight: 500;
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

.contentWrapper a:hover {
  color: var(--color-accent);
}

.related {
  border-radius: var(--border-radius-lg);
  margin-top: 40px;
}

@media (max-width: 768px) {
  .contentWrapper { padding: 16px 0; }
}

.articleList li {
  margin-top: 18px;
  margin-bottom: 18px;
  padding-left: 24px !important;
}


/* ==========================================================================
   12. Search Results Page (#serp)
   ========================================================================== */

#serp h1 {
  color: var(--color-black);
  font-family: var(--font-family-headline);
  font-size: var(--font-size-sub-headline-large);
  line-height: var(--font-line-height-sub-headline-large);
  margin-bottom: 12px !important;
}

#serp .articlesFound {
  color: var(--color-grey) !important;
  margin-bottom: 24px;
  font-size: var(--font-size-normal);
  font-family: var(--font-family-text);
}

#serp ul { margin-bottom: 0; }

#serp li {
  margin: 24px 0;
  max-width: 600px;
}

#serp li:first-of-type { margin-top: 0; }
#serp li:last-of-type  { margin-bottom: 0; }

#serp li a {
  font-size: var(--font-size-normal) !important;
  font-weight: 600;
  color: var(--color-primary) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#serp li a:hover {
  color: var(--color-accent) !important;
}

#serp li p {
  color: var(--color-grey-dark);
  margin-left: 0;
  margin-top: 6px;
  font-size: var(--font-size-small);
  line-height: var(--font-line-height-small);
  font-family: var(--font-family-text);
}


/* ==========================================================================
   13. Article Content
   ========================================================================== */

/* Research: 70ch line length = ~66 characters = optimal readability */
#fullArticle {
  max-width: var(--article-max-width);
}

#fullArticle h1,
#fullArticle h2,
#fullArticle h3,
#fullArticle h4,
#fullArticle h5,
#fullArticle strong,
#fullArticle p,
#fullArticle i {
  color: var(--color-black);
}

#fullArticle h1,
#fullArticle .title {
  font-family: var(--font-family-headline);
  font-size: var(--font-size-sub-headline-large);
  font-weight: 700;
  line-height: var(--font-line-height-sub-headline-large);
  margin-bottom: var(--spacing-lg);
  margin-top: 0;
}

#fullArticle h2 {
  font-family: var(--font-family-headline);
  font-size: var(--font-size-sub-headline-normal);
  line-height: var(--font-line-height-sub-headline-normal);
  font-weight: 700;
  margin-top: 2.5em;
  margin-bottom: 0.6em;
  /* Subtle accent underline on h2 */
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-grey-extra-light);
}

#fullArticle h3 {
  font-family: var(--font-family-headline);
  font-size: var(--font-size-sub-headline-small);
  line-height: var(--font-line-height-sub-headline-small);
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 0.5em;
}

#fullArticle h4 {
  font-family: var(--font-family-headline);
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 1.75em;
  margin-bottom: 0.4em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-grey-dark);
}

/* Body copy — research-backed: 1.75 line-height, 16px min */
#fullArticle p,
#fullArticle ul,
#fullArticle ol,
#fullArticle li,
#fullArticle blockquote,
#fullArticle dd,
#fullArticle table {
  color: var(--color-black);
  font-family: var(--font-family-text);
  font-size: var(--font-size-normal);
  line-height: var(--article-line-height);
}

#fullArticle p {
  margin-bottom: var(--article-paragraph-spacing);
}

#fullArticle strong {
  font-weight: 700;
}

/* Images with lightbox support */
#fullArticle img,
#fullArticle .lightbox img {
  border: 1px solid var(--color-grey-extra-light);
  border-radius: var(--border-radius-md);
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5em 0;
}

#fullArticle .lightbox {
  cursor: zoom-in;
  display: inline-block;
}

#fullArticle hr {
  border: none;
  border-top: 1px solid var(--color-grey-extra-light);
  margin: var(--spacing-40) 0;
}

#fullArticle article {
  margin-bottom: 32px;
}

/* Inline code */
#fullArticle code {
  font-family: var(--font-family-mono);
  font-size: 0.875em;
  background: rgba(51, 51, 51, 0.06);
  color: var(--color-primary);
  border: 1px solid var(--color-grey-extra-light);
  border-radius: var(--border-radius-xs);
  padding: 2px 6px;
}

/* Code blocks */
#fullArticle pre {
  background: #f7f3f0;
  border: 1px solid var(--color-grey-extra-light);
  border-radius: var(--border-radius-md);
  padding: 20px 24px;
  overflow-x: auto;
  margin: 1.5em 0;
  line-height: 1.65;
}

#fullArticle pre code {
  font-family: var(--font-family-mono);
  font-size: 14px;
  background: none;
  border: none;
  padding: 0;
  color: var(--color-primary);
}

/* Blockquote */
#fullArticle blockquote {
  border-left: 3px solid var(--color-grey-light) !important;
  background: rgba(51, 51, 51, 0.04);
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  margin: 1.5em 0;
  padding: 16px 20px !important;
  font-style: italic;
  color: var(--color-grey-extra-dark) !important;
}

/* Tables */
#fullArticle table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 1.5em 0;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

#fullArticle th {
  font-family: var(--font-family-headline);
  background: rgba(51, 51, 51, 0.06);
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--color-grey-extra-light);
  font-size: 14px;
}

#fullArticle td {
  padding: 12px 16px;
  border: 1px solid var(--color-grey-extra-light);
  vertical-align: top;
  font-size: 15px;
}

#fullArticle tr:nth-child(even) td {
  background: rgba(51, 51, 51, 0.02);
}

/* Lists */
#fullArticle ul {
  list-style: none;
  margin-left: 24px;
  padding: 0;
}

#fullArticle li {
  margin-bottom: 10px;
  line-height: var(--article-line-height);
}

#fullArticle li:last-of-type {
  margin-bottom: 0;
}

#fullArticle li strong + p {
  margin-top: 0;
}

#fullArticle ul li::before {
  content: "•";
  color: var(--color-accent);   /* warm amber bullet */
  font-weight: bold;
  display: inline-block;
  width: 20px;
  margin-left: -20px;
}

/* Definition lists */
#fullArticle dl { margin: var(--spacing-32) 0; }

#fullArticle dt {
  color: var(--color-black);
  background: none;
  font-size: var(--font-size-normal);
  font-weight: 700;
  padding: 0 0 4px;
  text-align: left;
  width: 32px;
}

#fullArticle dt::after { content: "."; }

#fullArticle dd {
  padding-top: var(--spacing-4);
  margin-left: var(--spacing-40);
  margin-bottom: var(--spacing-16);
}

#fullArticle dd h1, #fullArticle dd h2, #fullArticle dd h3,
#fullArticle dd h4, #fullArticle dd h5, #fullArticle dd h6 {
  margin: 0 0 4px;
  font-size: var(--font-size-large);
  line-height: var(--font-line-height-large);
  font-weight: 600;
  color: var(--color-black);
}

#fullArticle dd p { margin: 0; }
#fullArticle dd img { margin: 16px 0 24px; }

/* Callout classes inside articles — inherit semantic colors from section 14 */
#fullArticle .callout-blue,
#fullArticle .callout-yellow,
#fullArticle .callout-warning,
#fullArticle .callout-grey,
#fullArticle .callout-gray,
#fullArticle .callout-red,
#fullArticle .callout-green {
  border-radius: var(--border-radius-md);
  border-left: none !important;
  padding: 20px 24px !important;
  font-family: var(--font-family-text);
  font-size: var(--font-size-normal);
  line-height: var(--font-line-height-normal);
  color: var(--color-black);
}

.articleFoot {
  display: none;
}


/* ==========================================================================
   14. Callout Boxes — Semantic Colors
   ========================================================================== */

/* Base callout — nuclear reset for all HelpScout callout variants */
.callout,
[class*="callout"],
[class^="callout"] {
  border-radius: var(--border-radius-md) !important;
  border: none !important;
  border-left: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 20px 24px !important;
  margin: 1.5em 0;
}

.callout {
  background: rgba(51, 51, 51, 0.05) !important;
}

.callout h3 {
  margin: 0 0 8px !important;
  font-family: var(--font-family-headline) !important;
  font-size: 1.05rem !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  color: var(--color-info) !important;
}

.callout p {
  font-size: var(--font-size-normal) !important;
  font-family: var(--font-family-text);
  color: var(--color-black);
  margin-bottom: 0;
}

/* Warning — amber */
.callout.yellow,
.callout-yellow {
  background: var(--color-warning-bg) !important;
  border: none !important;
  border-radius: var(--border-radius-md) !important;
  padding: 20px 24px !important;
}
.callout.yellow h3, .callout-yellow h3 { color: var(--color-warning) !important; }

/* Caution / error */
.callout.warning,
.callout-warning {
  background: var(--color-danger-bg) !important;
  border: none !important;
  border-radius: var(--border-radius-md) !important;
  padding: 20px 24px !important;
}
.callout.warning h3, .callout-warning h3 { color: var(--color-danger) !important; }

/* Grey / neutral */
.callout.grey,
.callout.gray,
.callout-grey,
.callout-gray {
  background: rgba(51, 51, 51, 0.05) !important;
  border: none !important;
  border-radius: var(--border-radius-md) !important;
  padding: 20px 24px !important;
}
.callout.grey h3, .callout.gray h3 { color: var(--color-grey-extra-dark) !important; }

/* Blue / info */
.callout-blue {
  background: var(--color-info-bg) !important;
  border: none !important;
  border-radius: var(--border-radius-md) !important;
  padding: 20px 24px !important;
}

/* Green / success */
.callout-green {
  background: var(--color-success-bg) !important;
  border: none !important;
  border-radius: var(--border-radius-md) !important;
  padding: 20px 24px !important;
}

/* Red / danger */
.callout-red {
  background: var(--color-danger-bg) !important;
  border: none !important;
  border-radius: var(--border-radius-md) !important;
  padding: 20px 24px !important;
}


/* ==========================================================================
   15. Quick Answers Accordion
   ========================================================================== */

.quick-answers {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-left: none !important;
  border-radius: var(--border-radius-lg);
  padding: 32px !important;
}

.quick-anwsers-heading {
  color: var(--color-white) !important;
}

.quick-answers details {
  margin: 0 0 10px 0;
  outline: none;
}

.quick-answers details summary {
  background: var(--color-bg);
  color: var(--color-primary);
  padding: 18px 24px;
  font-size: var(--font-size-normal);
  font-weight: 600;
  font-family: var(--font-family-text);
  border-radius: var(--border-radius-md);
  outline: none;
  cursor: pointer;
  list-style: none;
  transition: background var(--transition-normal), color var(--transition-normal);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.quick-answers details summary:hover {
  background: rgba(51, 51, 51, 0.06);
  color: var(--color-accent);
}

.quick-answers details[open] {
  background: var(--color-surface);
  border-radius: var(--border-radius-md);
  padding: 20px 24px;
  margin: 8px 0 12px;
  outline: none;
}

.quick-answers details[open] summary {
  padding: 0 0 14px;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
  outline: none;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-grey-extra-light);
  margin-bottom: 12px;
}

.quick-answers details p {
  margin-left: 0;
  color: var(--color-primary);
  font-family: var(--font-family-text);
  font-size: var(--font-size-normal);
  line-height: var(--article-line-height);
}


/* ==========================================================================
   16. Tabs Component
   ========================================================================== */

.tabs {
  display: flex;
  flex-wrap: wrap;
  border: 2px solid var(--color-grey-extra-light);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tabs input[type=radio] {
  display: none;
}

.tabs input + label {
  flex-grow: 3;
}

.tabs label {
  background: rgba(51, 51, 51, 0.04);
  order: 1;
  outline: none;
  display: flex;
  padding: 14px 24px;
  margin: 0;
  width: auto;
  color: var(--color-grey-dark);
  font-size: var(--font-size-normal);
  font-family: var(--font-family-text);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.tabs label:hover {
  color: var(--color-primary);
  background: rgba(51, 51, 51, 0.06);
}

.tabs [id^=tab]:checked + label {
  background: var(--color-bg);
  color: var(--color-primary);
  font-weight: 700;
  border-bottom-color: var(--color-accent);
}

.tabs [id^=tab]:checked + label + .tab-content {
  display: block;
  width: 100%;
}

.tabs .tab-content {
  background: var(--color-bg);
  display: none;
  flex-grow: 1;
  order: 99;
  padding: 24px 28px;
  font-family: var(--font-family-text);
  font-size: var(--font-size-normal);
  line-height: var(--article-line-height);
}

@media (max-width: 768px) {
  .tabs label { width: 100%; }
}


/* ==========================================================================
   17. Related Articles (HelpScout BEM Components)
   ========================================================================== */

.c-RelatedArticles {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-grey-extra-light);
}

.c-RelatedArticles__title {
  font-family: var(--font-family-headline);
  font-size: var(--font-size-sub-headline-small);
  color: var(--color-black);
  margin-bottom: 20px;
  font-weight: 700;
}

.c-RelatedArticles__card {
  background: var(--color-surface);
  border: 1px solid var(--color-grey-extra-light);
  border-radius: var(--border-radius-md);
  padding: 16px 20px;
  margin-bottom: 10px;
  display: block;
  text-decoration: none !important;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.c-RelatedArticles__card:hover {
  border-color: var(--color-grey-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.c-RelatedArticles__card-title {
  font-family: var(--font-family-text);
  font-size: var(--font-size-normal);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.c-RelatedArticles__card:hover .c-RelatedArticles__card-title {
  color: var(--color-accent);
}


/* ==========================================================================
   18. User Guides Grid
   ========================================================================== */

.userGuides ul {
  display: flex;
  flex-wrap: wrap;
  margin-left: 0 !important;
  margin-bottom: 0 !important;
  gap: 0;
}

.userGuides li {
  width: 29%;
  border-top: 2px solid var(--color-grey-extra-light);
  padding: 12px 0 40px;
  margin-left: 2% !important;
  margin-right: 2% !important;
  margin-bottom: 24px !important;
  transition: border-color var(--transition-fast);
}

.userGuides li:hover {
  border-top-color: var(--color-accent);
}

.userGuides a {
  text-decoration: none;
  word-break: break-word !important;
  color: var(--color-primary);
  font-family: var(--font-family-text);
  transition: color var(--transition-fast);
}

.userGuides a:hover {
  color: var(--color-accent);
}

.userGuides li::before {
  content: "" !important;
  width: 0 !important;
  margin: 0 !important;
}

@media (max-width: 768px) {
  .userGuides li { width: 100%; }
}


/* ==========================================================================
   19. Article Ratings
   ========================================================================== */

.articleRatings {
  box-shadow: none;
  border-radius: var(--border-radius-sm);
  border-color: var(--color-grey-light);
  margin-top: 64px;
  padding: 20px 0;
  border-top: 1px solid var(--color-grey-extra-light);
}

.beaconContent {
  display: none;
}


/* ==========================================================================
   20. Icons
   ========================================================================== */

.icon-print,
a.icon-print,
a[href*="print"] {
  display: none !important;
}

.icon-article-doc {
  opacity: 0.60;
  position: relative;
  top: 6px;
  margin-right: 8px !important;
}

.icon-article-doc::before {
  content: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIg\a         ZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldm\a         Vub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xOCAzSDZDNS40NDc3MiAzIDUgMy40NDc3MiA1IDRWMjBDNSAy\a         MC41NTIzIDUuNDQ3NzIgMjEgNiAyMUgxOEMxOC41NTIzIDIxIDE5IDIwLjU1MjMgMTkgMjBWNEMxOSAzLjQ0NzcyID\a         E4LjU1MjMgMyAxOCAzWk02IDFDNC4zNDMxNSAxIDMgMi4zNDMxNSAzIDRWMjBDMyAyMS42NTY5IDQuMzQzMTUgMjMg\a         NiAyM0gxOEMxOS42NTY5IDIzIDIxIDIxLjY1NjkgMjEgMjBWNEMyMSAyLjM0MzE1IDE5LjY1NjkgMSAxOCAxSDZaIi\a         BmaWxsPSJibGFjayIvPgo8cGF0aCBkPSJNNyA3QzcgNi40NDc3MiA3LjQ0NzcyIDYgOCA2SDE2QzE2LjU1MjMgNiAx\a         NyA2LjQ0NzcyIDE3IDdDMTcgNy41NTIyOCAxNi41NTIzIDggMTYgOEg4QzcuNDQ3NzIgOCA3IDcuNTUyMjggNyA3Wi\a         IgZmlsbD0iYmxhY2siLz4KPHBhdGggZD0iTTcgMTFDNyAxMC40NDc3IDcuNDQ3NzIgMTAgOCAxMEgxNkMxNi41NTIz\a         IDEwIDE3IDEwLjQ0NzcgMTcgMTFDMTcgMTEuNTUyMyAxNi41NTIzIDEyIDE2IDEySDhDNy40NDc3MiAxMiA3IDExLj\a         U1MjMgNyAxMVoiIGZpbGw9ImJsYWNrIi8+CjxwYXRoIGQ9Ik03IDE1QzcgMTQuNDQ3NyA3LjQ0NzcyIDE0IDggMTRI\a         MTRDMTQuNTUyMyAxNCAxNSAxNC40NDc3IDE1IDE1QzE1IDE1LjU1MjMgMTQuNTUyMyAxNiAxNCAxNkg4QzcuNDQ3Nz\a         IgMTYgNyAxNS41NTIzIDcgMTVaIiBmaWxsPSJibGFjayIvPgo8L3N2Zz4K");
}


/* ==========================================================================
   21. Contact Modal
   ========================================================================== */

#contactModal {
  border: none !important;
  border-radius: var(--border-radius-lg);
  padding: 28px !important;
}

#contactModal h2 {
  border: none;
  color: var(--color-black);
  font-family: var(--font-family-headline);
  font-size: var(--font-size-sub-headline-normal);
  font-weight: 700;
  padding: 0;
}

#contactModal .form-horizontal .control-label {
  width: 100px;
  text-align: left;
  font-size: var(--font-size-normal);
  font-family: var(--font-family-text);
  color: var(--color-black);
}

#contactModal .controls input {
  font-family: var(--font-family-text);
  font-size: var(--font-size-normal);
  color: var(--color-black);
  border-radius: var(--border-radius-md);
  border: 1.5px solid var(--color-grey-extra-light);
  padding: 10px 14px;
  min-height: 44px;
  transition: border-color var(--transition-fast);
}

#contactModal .controls input:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.08);
}


/* ==========================================================================
   22. Modal Overlay
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(51, 51, 51, 0.55);
  align-items: center;
  justify-content: center;
  z-index: var(--z-index-modal-backdrop);
  backdrop-filter: blur(4px);
  display: none;
}

.modal-content {
  background-color: var(--color-bg);
  padding: 36px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  max-width: 460px;
  width: 90%;
  text-align: center;
  position: relative;
  z-index: var(--z-index-modal);
  font-family: var(--font-family-text);
}

.modal-content h2 {
  font-family: var(--font-family-headline);
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--color-black);
}

.modal-content p {
  font-size: var(--font-size-normal);
  line-height: 1.65;
  margin-bottom: 28px;
  color: var(--color-black);
  font-family: var(--font-family-text);
}

.modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.modal-btn {
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--border-radius-pill);
  border: 1.5px solid var(--color-primary);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-text);
  transition: all var(--transition-normal);
  min-height: 44px;
}

#modal-continue-btn {
  background-color: var(--color-primary);
  color: var(--color-white);
}

#modal-continue-btn:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

#modal-cancel-btn {
  background-color: transparent;
  color: var(--color-primary);
}

#modal-cancel-btn:hover {
  background-color: rgba(51, 51, 51, 0.06);
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .modal-buttons { flex-direction: column; gap: 10px; }
  .modal-content { padding: 28px 20px; }
}


/* ==========================================================================
   23. Footer — Dark branded footer
   ========================================================================== */

footer {
  background-color: #333333;
  margin-top: 80px;
  padding: 56px 40px 40px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-family-text);
  text-align: center;
  position: relative;
  /* Break out of container to go full-width */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  box-sizing: border-box;
}

/* Brand logo centred above footer content */
footer::before {
  content: "";
  display: block;
  width: 160px;
  height: 36px;
  margin: 0 auto 24px;
  background-image: url("https://cdn.shopify.com/s/files/1/0684/1162/1687/files/WHT_Doodle_Text_Logo_e9bc0603-110f-4079-8de7-290349a77002.svg?v=1767744550");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

footer p,
footer span {
  color: rgba(255, 255, 255, 0.42) !important;
  font-size: 13px;
  font-family: var(--font-family-text);
  letter-spacing: 0.01em;
}

footer a {
  color: rgba(255, 255, 255, 0.5) !important;
  text-decoration: none;
  font-size: 13px;
  font-family: var(--font-family-text);
  transition: color 0.2s ease;
}

footer a:hover {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Hide "Powered by Help Scout" link */
footer a[href*="helpscout.com"],
footer a[href*="helpscout.net"] {
  display: none !important;
}

footer .footerPoweredBy {
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.3) !important;
}

@media (max-width: 768px) {
  footer { padding: 40px 24px 32px; margin-top: 48px; }
  footer::before { width: 120px; height: 28px; }
}
