/* ==========================================================================
   1. ORIGINAL THEME (Fallback Base — Keep this active)
   ========================================================================== */
:root {
  --font-family: 'Montserrat', sans-serif;

  /* Core Colors */
  --primary-color: #0054A6;
  --accent-soft: #87c5ff;
  --nav-hover-color: #6d99d2;
  --sidebar-heading-color: #4f90cf;
  --sidebar-active-color: #91b9e0;
  --sidebar-contact-color: #b3b3b3;
  --sidebar-link-hover: #6e6e6e;

  /* Holiday Feature Toggles */
  --snow-display: none;
  --holiday-banner-display: none;
  --holiday-lights-display: none;

  /* Page & Navbar */
  --body-bg: linear-gradient(to bottom, #000000, #1f1f1f, #414141);
  --navbar-bg: #000000;
  --navbar-border-top: none;
  --navbar-border-image: none;
  --navbar-border-bottom: none;
  --brand-logo-filter: none;

  /* Back-to-Site Button */
  --btn-bg: #0054A6;
  --btn-bg-hover: #00407f;
  --btn-border: 1px solid rgba(255, 255, 255, 0.2);
  --btn-shadow: none;
  --btn-hover-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

  /* Search Hero & Bar */
  --docs-search-bg-image: url('https://cdn.shopify.com/s/files/1/1239/9256/files/support_banner.png?v=1739373929');
  --docs-search-bg-color: #000000;
  --docs-search-border-bottom: 1px solid #000000;
  --docs-search-shadow: none;
  --docs-search-h1-shadow: none;
  --search-placeholder-color: #316ba4;
  --search-bar-border: 1px solid #699fd7;
  --search-bar-shadow: 0 1px 50px #76b3ed;
  --search-btn-bg: linear-gradient(to bottom, #005db8, #00407f, #0b2c4e);
  --search-btn-hover-bg: linear-gradient(to bottom, #005db8, #00407f, #0b2c4e);
  --search-btn-border-left: none;

  /* Category Cards */
  --category-heading-color: #ffffff;
  --category-heading-shadow: 2px 2px 8px rgb(0 0 0 / 86%);
  --card-bg: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.05));
  --card-hover-bg: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.05));
  --card-border: 1px solid rgb(56 56 56);
  --card-border-top: 1px solid rgb(56 56 56);
  --card-hover-border: 1px solid rgb(0 122 255);
  --card-hover-border-top: 1px solid rgb(0 122 255);
  --card-radius: 8px;
  --card-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  --card-hover-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  --card-title-shadow: none;

  /* Article Content, Sidebar & Callouts */
  --content-bg: linear-gradient(to top, #ffffff, #ffffff);
  --content-border: 2px solid #0054A6;
  --content-outline: none;
  --content-outline-offset: 0px;
  --content-shadow: none;
  --article-text-color: #414141;
  --article-img-padding: 4px;
  --article-img-radius: 4px;
  --article-img-border: 1px solid #ffffff;
  --article-img-shadow: none;
  --article-h1-border: none;
  --article-h1-padding: 0px;
  --article-hr-height: auto;
  --article-hr-bg: transparent;
  --article-hr-border-top: 1px solid #0054a61f;
  --article-hr-border-bottom: 1px solid #fff;
  --sidebar-input-border: 1px solid #D0D0D0;
  --sidebar-input-radius: 3px;
  --sidebar-input-color: #666;
  --sidebar-h3-border: none;
  --sidebar-h3-padding: 0px;
  --sidebar-h3-margin: 4px;
  --sidebar-link-hover-transform: none;
  --serp-link-color: inherit;
  --serp-text-color: #585858;

  --callout-yellow-bg: linear-gradient(to left, #ffffff, #ffeb3ba3);
  --callout-yellow-border: #e7dca4;
  --callout-blue-bg: linear-gradient(to left, #ffffff, #007cd470);
  --callout-blue-border: #3892f6;
  --callout-green-bg: linear-gradient(to left, #ffffff00, #adeeaf);
  --callout-green-border: #bbdaaf;
  --callout-red-bg: linear-gradient(to left, #ffffff, #f436366b);
  --callout-red-border: #e7aaaa;
  --callout-default-bg: linear-gradient(to left, #ffffff, #e1e1e1);
  --callout-default-border: #cfcfcf;
  --private-note-bg: #fffcd5 url(../img/lock.png) no-repeat top right;
  --private-note-border: #e7dca4;
}

/* ==========================================================================
   2. CHRISTMAS THEME OVERRIDE
   Delete or comment out this entire :root block after the holidays to
   instantly restore the Original Theme above.
   ========================================================================== */
:root {
  /* Core Colors */
  --primary-color: #b81d24;
  --accent-soft: #f6d87a;
  --nav-hover-color: #f6d87a;
  --sidebar-heading-color: #f6d87a;
  --sidebar-active-color: #f6d87a;
  --sidebar-contact-color: #c8d6ce;
  --sidebar-link-hover: #f6d87a;

  /* Holiday Feature Toggles */
  --snow-display: block;
  --holiday-banner-display: block;
  --holiday-lights-display: block;

  /* Page & Navbar */
  --body-bg: radial-gradient(circle at top center, #18422c 0%, #0d281a 50%, #05120b 100%);
  --navbar-bg: #071910;
  --navbar-border-top: 5px solid transparent;
  --navbar-border-image: repeating-linear-gradient(
    -45deg,
    #b81d24 0px,
    #b81d24 10px,
    #ffffff 10px,
    #ffffff 20px
  ) 5;
  --navbar-border-bottom: 2px solid #d4af37;
  --brand-logo-filter: drop-shadow(0 0 14px rgba(246, 216, 122, 0.25));

  /* Back-to-Site Button */
  --btn-bg: linear-gradient(135deg, #d92b32, #b81d24, #8a1117);
  --btn-bg-hover: linear-gradient(135deg, #e0353c, #d92b32, #b81d24);
  --btn-border: 2px solid #f6d87a;
  --btn-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  --btn-hover-shadow: 0 0 22px rgba(246, 216, 122, 0.65), 0 4px 16px rgba(184, 29, 36, 0.6);

  /* Search Hero & Bar */
  --docs-search-bg-image:
    radial-gradient(circle at center, rgba(24, 66, 44, 0.35), rgba(7, 25, 16, 0.72)),
    url('https://cdn.shopify.com/s/files/1/1239/9256/files/support_banner.png?v=1739373929');
  --docs-search-bg-color: #071910;
  --docs-search-border-bottom: 3px solid #d4af37;
  --docs-search-shadow: inset 0 -10px 25px rgba(212, 175, 55, 0.18);
  --docs-search-h1-shadow:
    0 0 20px rgba(246, 216, 122, 0.75),
    0 2px 12px rgba(7, 25, 16, 0.95);
  --search-placeholder-color: #2d6a4f;
  --search-bar-border: 2px solid #d4af37;
  --search-bar-shadow:
    0 0 35px rgba(246, 216, 122, 0.65),
    0 4px 18px rgba(184, 29, 36, 0.35);
  --search-btn-bg: linear-gradient(to bottom, #d92b32, #b81d24, #7a0f14);
  --search-btn-hover-bg: linear-gradient(to bottom, #e63940, #c9242b, #8a1117);
  --search-btn-border-left: 1px solid rgba(246, 216, 122, 0.5);

  /* Category Cards */
  --category-heading-color: #f6d87a;
  --category-heading-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 16px rgba(246, 216, 122, 0.35);
  --card-bg: linear-gradient(160deg, rgba(24, 66, 44, 0.82), rgba(7, 25, 16, 0.92));
  --card-hover-bg: linear-gradient(160deg, rgba(184, 29, 36, 0.82), rgba(24, 66, 44, 0.92));
  --card-border: 1.5px solid rgba(246, 216, 122, 0.45);
  --card-border-top: 4px solid rgba(255, 255, 255, 0.85);
  --card-hover-border: 1.5px solid #f6d87a;
  --card-hover-border-top: 4px solid #ffffff;
  --card-radius: 10px;
  --card-shadow:
    0 8px 18px rgba(0, 0, 0, 0.45),
    inset 0 8px 14px -6px rgba(255, 255, 255, 0.45);
  --card-hover-shadow:
    0 10px 26px rgba(246, 216, 122, 0.35),
    0 0 18px rgba(184, 29, 36, 0.45),
    inset 0 8px 14px -6px rgba(255, 255, 255, 0.65);
  --card-title-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);

  /* Article Content, Sidebar & Callouts */
  --content-bg: linear-gradient(to top, #ffffff, #fffdf8);
  --content-border: 3px solid #b81d24;
  --content-outline: 2px solid #d4af37;
  --content-outline-offset: -7px;
  --content-shadow: 0 12px 34px rgba(0, 0, 0, 0.5), 0 0 24px rgba(246, 216, 122, 0.2);
  --article-text-color: #2b3831;
  --article-img-padding: 5px;
  --article-img-radius: 6px;
  --article-img-border: 2px solid #d4af37;
  --article-img-shadow: 0 4px 12px rgba(24, 66, 44, 0.15);
  --article-h1-border: 2px solid rgba(212, 175, 55, 0.45);
  --article-h1-padding: 8px;
  --article-hr-height: 2px;
  --article-hr-bg: linear-gradient(to right, transparent, #b81d24, #d4af37, #2d6a4f, transparent);
  --article-hr-border-top: none;
  --article-hr-border-bottom: none;
  --sidebar-input-border: 1.5px solid #d4af37;
  --sidebar-input-radius: 5px;
  --sidebar-input-color: #2b3831;
  --sidebar-h3-border: 1px solid rgba(184, 29, 36, 0.65);
  --sidebar-h3-padding: 6px;
  --sidebar-h3-margin: 8px;
  --sidebar-link-hover-transform: translateX(3px);
  --serp-link-color: #b81d24;
  --serp-text-color: #495850;

  --callout-yellow-bg: linear-gradient(to left, #ffffff, #fff3b0);
  --callout-yellow-border: #d4af37;
  --callout-blue-bg: linear-gradient(to left, #ffffff, #d8f3dc);
  --callout-blue-border: #52b788;
  --callout-green-bg: linear-gradient(to left, #ffffff, #b7e4c7);
  --callout-green-border: #40916c;
  --callout-red-bg: linear-gradient(to left, #ffffff, #f8d7da);
  --callout-red-border: #b81d24;
  --callout-default-bg: linear-gradient(to left, #ffffff, #f5f0e6);
  --callout-default-border: #d8ccb8;
  --private-note-bg: #fff8dc url(../img/lock.png) no-repeat top right;
  --private-note-border: #d4af37;
}

/* ==========================================================================
   3. BASE STYLES & LAYOUT
   ========================================================================== */

* {
  /* font-family: var(--font-family); */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
  /* margin: 0; */
  padding: 0;
}

body {
  background: var(--body-bg);
  color: #ffffff;
  font-size: 12px;
  background-attachment: fixed;
  position: relative;
}

/* Randomized multi-layer CSS snowfall (controlled by --snow-display) */
body::before,
body::after {
  content: "";
  display: var(--snow-display);
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}

body::before {
  background-image:
    radial-gradient(circle at 23px 41px, rgba(255, 255, 255, 0.95) 0px, rgba(255, 255, 255, 0.45) 2.5px, transparent 5px),
    radial-gradient(circle at 147px 89px, rgba(255, 255, 255, 0.9) 0px, rgba(255, 255, 255, 0.35) 3px, transparent 6px),
    radial-gradient(circle at 283px 193px, rgba(255, 255, 255, 0.85) 0px, rgba(255, 255, 255, 0.3) 2px, transparent 4.5px),
    radial-gradient(circle at 71px 211px, rgba(246, 216, 122, 0.85) 0px, rgba(246, 216, 122, 0.25) 2px, transparent 4.5px),
    radial-gradient(circle at 359px 67px, rgba(255, 255, 255, 0.92) 0px, rgba(255, 255, 255, 0.4) 3px, transparent 6.5px),
    radial-gradient(circle at 199px 317px, rgba(255, 255, 255, 0.88) 0px, rgba(255, 255, 255, 0.3) 2.5px, transparent 5px),
    radial-gradient(circle at 113px 139px, rgba(255, 255, 255, 0.8) 0px, transparent 4px),
    radial-gradient(circle at 421px 271px, rgba(255, 255, 255, 0.9) 0px, rgba(255, 255, 255, 0.35) 2.5px, transparent 5.5px);
  background-size:
    211px 317px,
    373px 257px,
    419px 389px,
    193px 283px,
    467px 353px,
    293px 431px,
    337px 229px,
    509px 401px;
  animation: snowfall-random-fg 13.7s linear infinite;
}

body::after {
  background-image:
    radial-gradient(circle at 59px 73px, rgba(255, 255, 255, 0.75) 0px, transparent 3px),
    radial-gradient(circle at 211px 131px, rgba(255, 255, 255, 0.7) 0px, transparent 2.5px),
    radial-gradient(circle at 317px 241px, rgba(255, 255, 255, 0.8) 0px, transparent 3px),
    radial-gradient(circle at 103px 199px, rgba(246, 216, 122, 0.65) 0px, transparent 2.5px),
    radial-gradient(circle at 389px 97px, rgba(255, 255, 255, 0.7) 0px, transparent 3px),
    radial-gradient(circle at 167px 331px, rgba(255, 255, 255, 0.75) 0px, transparent 2.5px),
    radial-gradient(circle at 269px 53px, rgba(255, 255, 255, 0.65) 0px, transparent 2px),
    radial-gradient(circle at 433px 293px, rgba(255, 255, 255, 0.75) 0px, transparent 3px);
  background-size:
    251px 349px,
    311px 233px,
    401px 313px,
    179px 269px,
    443px 379px,
    277px 419px,
    359px 241px,
    487px 367px;
  animation: snowfall-random-bg 23.3s linear infinite;
}

@keyframes snowfall-random-fg {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
  }
  100% {
    background-position:
      211px 634px,
      -373px 257px,
      419px 389px,
      -193px 566px,
      467px 353px,
      -293px 431px,
      337px 458px,
      -509px 401px;
  }
}

@keyframes snowfall-random-bg {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
  }
  100% {
    background-position:
      -251px 349px,
      311px 466px,
      -401px 313px,
      179px 538px,
      -443px 379px,
      277px 419px,
      -359px 482px,
      487px 367px;
  }
}

@keyframes holiday-lights-twinkle {
  0%, 100% {
    opacity: 1;
    filter: brightness(1.2) drop-shadow(0 3px 6px rgba(255, 209, 102, 0.45));
  }
  50% {
    opacity: 0.78;
    filter: brightness(0.95) drop-shadow(0 2px 4px rgba(255, 59, 63, 0.45));
  }
}

/* Back to Website Button Styling */
.back-to-site-btn {
    display: table;
    margin: 20px auto 20px auto;
    position: relative;
    z-index: 9999;
    
    padding: clamp(8px, 0.8vw, 12px) clamp(16px, 1.5vw, 24px);
    background: var(--btn-bg);
    color: #ffffff !important;
    text-decoration: none !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: BOLD;
    font-size: clamp(10px, 1.1vw, 16px);
    
    border-radius: 0.5vw;
    transition: background 0.5s ease, transform 0.4s ease, box-shadow 0.4s ease;
    border: var(--btn-border);
    box-shadow: var(--btn-shadow);
    text-transform: uppercase;
    letter-spacing: 0.1vw;
}

.back-to-site-btn:hover {
    background: var(--btn-bg-hover);
    text-decoration: none !important;
    transform: scale(1.05);
    box-shadow: var(--btn-hover-shadow);
}

/* Mobile Adjustment: Centers button properly on small screens */
@media only screen and (max-width: 768px) {
    .back-to-site-btn {
        position: relative;
        display: block;
        left: auto;
        right: auto;
        top: 10px;
        margin: 0 auto 20px auto;
        width: fit-content;
        text-align: center;
    }
}

.container-fluid {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Navbar & Festive Top Holiday Banner */
.navbar {
  position: relative;
  z-index: 100;
  overflow: visible !important;
  margin-bottom: 0;
}

.navbar::before {
  content: "❄   MERRY CHRISTMAS & HAPPY HOLIDAYS   ❄";
  display: var(--holiday-banner-display);
  width: 100%;
  padding: 9px 14px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #ffffff;
  background: linear-gradient(90deg, #6e0d12 0%, #b81d24 25%, #18422c 50%, #b81d24 75%, #6e0d12 100%);
  border-bottom: 2px solid #d4af37;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75), 0 0 10px rgba(246, 216, 122, 0.5);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.25);
}

.navbar .nav {
  display: none !important; /* Hides all navbar links */
}

#searchBar .search-query::placeholder {
  color: var(--search-placeholder-color);
  font-size: 14px;
  opacity: 0.8;
  font-style: italic;
  text-shadow: 1px 1px 3px rgb(0 0 0 / 12%);
}

.navbar .brand {
    margin: 0 auto !important;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
    padding-top: 0;
    color: #ffffff !important;
}

.navbar .brand img {
  width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: var(--brand-logo-filter);
}

.navbar .navbar-inner {
  background-color: var(--navbar-bg) !important;
  position: relative;
  overflow: visible !important;
  border-top: var(--navbar-border-top);
  border-image: var(--navbar-border-image);
  border-bottom: var(--navbar-border-bottom);
}

/* Glowing Christmas string lights draped below the navbar */
.navbar .navbar-inner::after {
  content: "";
  display: var(--holiday-lights-display);
  position: absolute;
  left: 0;
  right: 0;
  bottom: -26px;
  height: 26px;
  pointer-events: none;
  z-index: 101;
  background-image:
    linear-gradient(to bottom, #0b2417 0px, #0b2417 2.5px, transparent 2.5px),
    radial-gradient(ellipse 5px 8px at 16px 12px, #ff3b3f 0%, #c9181e 60%, rgba(255, 59, 63, 0.45) 75%, transparent 100%),
    radial-gradient(ellipse 5px 8px at 52px 14px, #ffe066 0%, #e09f1f 60%, rgba(255, 224, 102, 0.45) 75%, transparent 100%),
    radial-gradient(ellipse 5px 8px at 88px 12px, #2ee67a 0%, #159947 60%, rgba(46, 230, 122, 0.45) 75%, transparent 100%),
    radial-gradient(ellipse 5px 8px at 124px 14px, #5ce1ff 0%, #1d8cf8 60%, rgba(92, 225, 255, 0.45) 75%, transparent 100%),
    radial-gradient(ellipse 5px 8px at 160px 12px, #ff66b3 0%, #c9186a 60%, rgba(255, 102, 179, 0.45) 75%, transparent 100%);
  background-size:
    100% 26px,
    180px 26px,
    180px 26px,
    180px 26px,
    180px 26px,
    180px 26px;
  background-repeat: repeat-x;
  animation: holiday-lights-twinkle 2.2s ease-in-out infinite;
}

.navbar .nav li a {
  color: #ffffff !important;
  font-weight: 100;
  font-size: 0.1px;
  font-size: clamp(1px, 1vw, 1px);
  transition: color 0.3s ease-in-out;
  white-space: nowrap;
}

/* Hover Effect */
.navbar .nav li a:hover,
.navbar .nav li a:focus {
  color: var(--nav-hover-color) !important;
}

#fullArticle blockquote,
#fullArticle dd,
#fullArticle div,
#fullArticle li,
#fullArticle ol,
#fullArticle p,
#fullArticle table,
#fullArticle ul {
    font-size: 14px;
    color: var(--article-text-color);
    line-height: 1.48em;
    margin-bottom: 1.1em;
}

#fullArticle img {
    display: block;
    margin: 1em 0 2em 0;
    padding: var(--article-img-padding);
    border-radius: var(--article-img-radius);
    border: var(--article-img-border);
    box-shadow: var(--article-img-shadow);
    box-sizing: border-box;
}

#fullArticle h1 {
    margin-bottom: .65em;
    padding-bottom: var(--article-h1-padding);
    color: var(--primary-color);
    border-bottom: var(--article-h1-border);
    text-shadow: 2px 1px 6px rgb(0 0 0 / 12%);
    font-weight: 600;
}

#fullArticle hr {
    border: 0;
    height: var(--article-hr-height);
    background: var(--article-hr-bg);
    border-top: var(--article-hr-border-top);
    border-bottom: var(--article-hr-border-bottom);
    margin: 30px auto 20px auto;
}

#fullArticle .callout-yellow {
    background: var(--callout-yellow-bg);
    border-color: var(--callout-yellow-border);
}

#fullArticle .callout-blue {
    background: var(--callout-blue-bg);
    border-color: var(--callout-blue-border);
}

#fullArticle .callout-green {
    background: var(--callout-green-bg);
    border-color: var(--callout-green-border);
}

#fullArticle .callout-red {
    background: var(--callout-red-bg);
    border-color: var(--callout-red-border);
}

#fullArticle .callout {
    background: var(--callout-default-bg);
    border-color: var(--callout-default-border);
}

#fullArticle .private-note {
    background: var(--private-note-bg);
    border-color: var(--private-note-border);
}

#serp .articleList>li a {
    font-size: 14px;
    font-weight: 800;
    color: var(--serp-link-color);
    display: inline-block;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgb(0 0 0 / 12%);
}

#serp p {
    font-size: 12px;
    color: var(--serp-text-color);
    line-height: 1.55em;
    margin-bottom: 1.5em;
}

/* Search Area with Background Image */
#docsSearch {
  display: flex;
  filter: drop-shadow(1px 1px 15px rgb(0 0 0));
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: var(--docs-search-bg-image);
  background-size: cover;
  background-position: right;
  background-repeat: repeat;
  background-color: var(--docs-search-bg-color);
  border-bottom: var(--docs-search-border-bottom);
  box-shadow: var(--docs-search-shadow);
  padding: 200px 2%;
  text-align: center;
  position: relative;
  width: auto;
  z-index: 2;
}

#docsSearch h1 {
  font-size: 40px;
  font-weight: 200;
  text-align: center;
  margin-top: .1em;
  margin-bottom: 10px;
  padding: 10px;
  color: #ffffff;
  text-shadow: var(--docs-search-h1-shadow);
}

/* Search Bar (Centered) */
#searchBar {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 700px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: var(--search-bar-shadow);
  border: var(--search-bar-border);
  height: 48px;
  overflow: hidden;
  margin: 0 auto !important;
}

#searchBar .search-query {
  flex: 1;
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: none;
  outline: none;
  font-size: 14px;
  border-radius: 8px 0 0 8px;
}

#searchBar button {
  height: 52px;
  font-weight: 200;
  text-shadow: 2px 2px 8px rgb(0 0 0);
  min-width: 100px;
  background: var(--search-btn-bg);
  color: #ffffff;
  border-left: var(--search-btn-border-left);
  border-top: none;
  border-right: none;
  border-bottom: none;
  padding: 0 15px;
  font-size: 24px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow: none;
  margin: 0;
  position: relative;
  top: -1px;
  transition: background 0.3s ease;
}

#searchBar button:hover {
  background: var(--search-btn-hover-bg);
}

/* Category Section */
.collection-category h2 a {
  color: var(--category-heading-color);
  text-decoration: none;
  font-weight: 200;
  font-size: 30px;
  margin: 120px;
  text-align: left;
  text-shadow: var(--category-heading-shadow);
}

.category-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(289px, 1fr));
  gap: 50px;
  padding: 10px;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  justify-items: left;
}

.category-list .category {
  width: 100%;
  min-width: 220px;
  max-width: 600px;
  border: var(--card-border);
  border-top: var(--card-border-top);
  border-radius: var(--card-radius);
  background: var(--card-bg);
  background-size: 50% auto;
  background-position: center;
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 10px;
  height: 190px;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease-in-out;
}

.category-list .category h3 {
  margin-top: 10px;
  color: var(--accent-soft);
  font-size: 24px;
  font-weight: 300;
  z-index: 2;
  position: relative;
  text-shadow: var(--card-title-shadow);
}

.category-list .category .article-count {
  color: rgba(255, 255, 255, 0.45);
  font-size: 1px;
  margin-top: 1px;
  font-weight: 100;
}

.category-list .category:hover {
  box-shadow: var(--card-hover-shadow);
  transform: scale(1.05);
  border: var(--card-hover-border);
  border-top: var(--card-hover-border-top);
  background: var(--card-hover-bg);
}

/* Remove all icon-based ::before elements */
.category-list .category::before {
  content: none !important;
}

.category-list .category::after {
  content: '';
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background-image: url('https://cdn.shopify.com/s/files/1/1239/9256/files/hexwhite.png?v=1749130970');
  background-size: 15% auto;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.06;
  pointer-events: none;
  z-index: 1;
}

.articleFoot {
    margin-top: 4em;
    clear: both;
}

.articleFoot p,
.articleFoot time {
    color: var(--primary-color);
    display: inline-block;
    font-size: 13px;
    font-style: normal;
    font-family: "Montserrat", sans-serif;
}

.articleFoot p.lu,
.articleFoot time.lu {
    float: right;
    margin-top: 2px;
}

.contentWrapper {
    background: var(--content-bg);
    border: var(--content-border);
    outline: var(--content-outline);
    outline-offset: var(--content-outline-offset);
    box-shadow: var(--content-shadow);
    color: #222;
    min-height: 460px;
    padding: 55px 45px;
    position: relative;
    border-radius: 20px;
}

#sidebar {
    margin: 32px 0 0 0;
}

#sidebar form {
    position: relative;
    margin: 0 0 40px 0;
}

#sidebar form .search-query {
    display: block;
    width: 100%;
    margin: 0;
    padding-right: 35px;
    font-size: 14px;
    line-height: 18px;
    height: 40px;
    border: var(--sidebar-input-border);
    box-sizing: border-box;
    border-radius: var(--sidebar-input-radius);
    color: var(--sidebar-input-color);
}

#sidebar form .search-query::placeholder {
    color: #9aa59f;
}

#sidebar form button {
    position: absolute;
    top: 10px;
    right: 12px;
    margin: 0;
    padding: 0;
    line-height: 16px;
    border: 0;
}

#sidebar h3 {
    text-transform: uppercase;
    font-size: 20px;
    color: var(--sidebar-heading-color);
    border-bottom: var(--sidebar-h3-border);
    padding-bottom: var(--sidebar-h3-padding);
    margin-bottom: var(--sidebar-h3-margin);
}

#sidebar .nav-list {
    padding: 0;
    margin-bottom: 34px;
}

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

#sidebar .nav-list a {
    display: inline-block;
    color: #ffffff;
    font-size: 1.2em;
    padding: 6px 15px 6px 0;
    line-height: 20px;
    margin-left: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

#sidebar .nav-list a:focus,
#sidebar .nav-list a:hover {
    color: var(--sidebar-link-hover);
    transform: var(--sidebar-link-hover-transform);
    background: 0 0;
}

#sidebar .nav-list a .icon-arrow {
    display: none;
}

#sidebar .nav-list .active a,
#sidebar .nav-list .active a:focus,
#sidebar .nav-list .active a:hover {
    font-weight: 700;
    color: var(--sidebar-active-color);
    background: 0 0;
}

#sidebar .nav-list .active a .icon-arrow,
#sidebar .nav-list .active a:focus .icon-arrow,
#sidebar .nav-list .active a:hover .icon-arrow {
    display: inline-block;
}

#sidebar .contactUs {
    color: var(--sidebar-contact-color);
}

/* Responsive Adjustments */
@media only screen and (max-width: 768px) {
  .category-list {
    flex-direction: column;
    align-items: center;
    padding: 10px;
    gap: 10px;
  }

  .category-list .category {
    width: 90%;
    height: auto;
  }
}

@media only screen and (max-width: 1924px) {
  .navbar .nav {
    gap: 10px;
  }

  .navbar .nav li {
    margin: 0 1px;
  }
}

@media only screen and (max-width: 768px) {
  .navbar .nav {
    flex-direction: column;
    align-items: center;
  }

  .navbar .nav li {
    margin: 5px 0;
  }
}

/* --- Targeted Mobile Adjustment for Screen Widths under 800px --- */
@media only screen and (max-width: 800px) {
    .navbar::before {
        font-size: 9px;
        letter-spacing: 1.2px;
        padding: 7px 8px;
    }

    /* 1. Resize the background image */
    #docsSearch {
        background-image: url('https://cdn.shopify.com/s/files/1/1239/9256/files/support_banner.png?v=1739373929') !important;
        background-size: contain !important; 
        background-position: center top !important;
        background-repeat: no-repeat !important;
        padding: 25vw 5% 20px 5% !important; 
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; 
        text-align: center !important;
    }

    /* 2. Position the Button and decrease size by 50% */
    .back-to-site-btn {
        position: relative !important; 
        display: table !important;
        margin: 10px auto 20px auto !important;
        font-size: 7px !important;
        padding: 5px 10px !important;
        letter-spacing: 0.5px !important;
        border-radius: 4px !important;
        width: fit-content !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
    }

    /* Tighten Logo for mobile */
    .navbar .brand img {
        width: 150px !important;
        margin: 0 auto !important;
    }

    /* 3. Center Search Bar and Headlines */
    #searchBar {
        margin: 0 auto !important;
        max-width: 95% !important;
    }

    #docsSearch h1 {
        font-size: 24px !important;
        margin: 15px auto !important;
    }

    /* 4. Category Section Header */
    .collection-category h2 a {
        font-size: 18px !important;
        margin: 15px auto !important;
        text-align: center !important;
        display: block !important;
        width: 100% !important;
    }

    /* 5. Individual Category Card Text - Scaled for 2 Columns */
    .category-list .category h3 {
        font-size: 13px !important;
        margin-top: 0 !important;
        line-height: 1.1 !important;
        padding: 0 5px !important;
        z-index: 2;
    }

    .category-list .category .article-count {
        font-size: 10px !important;
        margin-top: 2px !important;
    }

    /* 6. Grid Layout Fix for Mobile (Two Columns) */
    .category-list {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; 
        gap: 12px !important;
        padding: 0 10px !important;
        width: 100% !important;
        align-items: stretch !important;
    }

    .category-list .category {
        height: auto !important; 
        min-height: 135px !important;
        width: 100% !important;
        min-width: unset !important;
        padding: 15px 5px 10px 5px !important; 
        justify-content: center !important; 
        display: flex !important;
        flex-direction: column !important;
        overflow: visible !important;
    }
}