/* custom overrides (loaded last) */
@media (max-width: 767px) {
  .headerAndNavContainer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
  }
  /* eyebrow (secondary nav) collapses on scroll to reclaim space */
  .secondaryNav {
    overflow: hidden;
    max-height: 300px;
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }
  .secondaryNav.eyebrow-collapsed {
    max-height: 0 !important;
    opacity: 0 !important;
  }
}

/* Direct service tabs restored from the original Jonesboro site. */
@media (min-width: 768px) {
  .navContent > #navTopLevel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }
  .navContent > #navTopLevel > li {
    margin: 0 !important;
  }
  .navContent > #navTopLevel > li > a.button {
    min-width: 0;
    padding: 11px 14px;
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
  }
  .navContent > #navTopLevel > li:focus-within > .subNav {
    display: block;
    opacity: 1;
    visibility: visible;
  }
}
.navContent a:focus-visible {
  outline: 3px solid #6caddf;
  outline-offset: 3px;
}

/* Original homepage promotions and an unframed, photo-only gift carousel. */
.shoppe-gallery {
  --gallery-blue: #003e7e;
  --gallery-light: #c2d8f0;
  --gallery-paper: #fafcfe;
  clear: both;
  box-sizing: border-box;
  max-width: 1120px;
  margin: 44px auto;
  padding: 0 24px;
  color: #27251f;
}
.shoppe-gallery *, .shoppe-gallery *::before, .shoppe-gallery *::after { box-sizing: border-box; }
.shoppe-gallery .shoppe-gallery__heading {
  margin: 0 0 22px;
  color: var(--gallery-blue);
  font-family: inherit;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
  text-align: center;
}
.shoppe-gallery__viewport { overflow: hidden; background: transparent; border: 0; touch-action: pan-y; }
.shoppe-gallery__track { display: flex; align-items: flex-start; width: 100%; }
.shoppe-gallery.is-ready { --gallery-visible: 3; }
.shoppe-gallery.is-ready .shoppe-gallery__slide { flex: 0 0 calc(100% / var(--gallery-visible)); min-width: 0; padding: 0 8px; }
.shoppe-gallery__track.is-sliding { transition: transform 650ms cubic-bezier(.22,.61,.36,1); }
.shoppe-gallery__slide { margin: 0; }
.shoppe-gallery__slide[hidden] { display: none !important; }
.shoppe-gallery__slide + .shoppe-gallery__slide { margin-top: 24px; }
.shoppe-gallery.is-ready .shoppe-gallery__slide { margin-top: 0; }
.shoppe-gallery__slide > a { display: block; color: inherit; text-decoration: none; }
.shoppe-gallery__slide img {
  display: block;
  width: 100%;
  height: clamp(220px, 26vw, 320px);
  object-fit: contain;
  background: transparent;
}
#products-slideshow .shoppe-gallery__slide img {
  object-fit: cover;
  border-radius: 16px;
}
.shoppe-gallery .shoppe-gallery__caption {
  display: block;
  margin: 0;
  padding: 18px 16px 20px;
  background: var(--gallery-blue);
  color: var(--gallery-paper);
  text-align: center;
  min-height: 126px;
}
.shoppe-gallery .shoppe-gallery__caption h3 {
  margin: 0 0 8px;
  color: inherit;
  font-family: inherit;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.3;
}
.shoppe-gallery .shoppe-gallery__caption p { margin: 0; color: inherit; line-height: 1.6; font-size: 16px; }
.shoppe-gallery__slide > a:hover .shoppe-gallery__caption h3 { text-decoration: underline; text-underline-offset: 4px; }
.shoppe-gallery__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 0 0;
}
.shoppe-gallery__controls[hidden] { display: none !important; }
.shoppe-gallery .shoppe-gallery__control,
.shoppe-gallery .shoppe-gallery__dot {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--gallery-blue);
  border-radius: 3px;
  background: var(--gallery-paper);
  color: var(--gallery-blue);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
}
.shoppe-gallery .shoppe-gallery__control:hover,
.shoppe-gallery .shoppe-gallery__dot:hover { background: #e5eff8; }
.shoppe-gallery :focus-visible { outline: 3px solid #1674ba; outline-offset: 4px; }
.shoppe-gallery__dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; max-width: 252px; }
.shoppe-gallery .shoppe-gallery__dot { min-width: 24px; width: 24px; min-height: 28px; border: 0; padding: 7px; background: transparent; }
.shoppe-gallery__dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--gallery-blue); background: transparent; }
.shoppe-gallery__dot[aria-current="true"]::before { background: var(--gallery-blue); }
.shoppe-gallery__status { font-size: 14px; color: var(--gallery-blue); min-width: 62px; text-align: center; }
.shoppe-gallery__help { margin: 12px 0 0; font-size: 13px; line-height: 1.5; text-align: center; }
.shoppe-gallery__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Match the original fixed-height, cover-photo hero and 45% dark overlay.
   Separate markup avoids the old template's exterior-background block rules. */
.shoppe-gallery.shoppe-gallery--hero {
  position: relative;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  --gallery-visible: 1;
}
.shoppe-gallery.shoppe-gallery--hero.is-ready { --gallery-visible: 1; }
.shoppe-gallery--hero .shoppe-gallery__viewport { position: relative; }
.shoppe-gallery--hero .shoppe-gallery__slide { position: relative; }
.shoppe-gallery--hero.is-ready .shoppe-gallery__slide { padding: 0; }
.shoppe-gallery--hero .shoppe-gallery__slide img {
  width: 100%;
  height: 515px;
  object-fit: cover;
  object-position: center;
}
.shoppe-gallery--hero .shoppe-gallery__caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 40px max(56px, calc((100% - 1100px) / 2));
  background: rgba(0, 0, 0, .45);
  color: #fff;
  text-align: left;
}
.shoppe-gallery--hero .shoppe-gallery__caption h3 {
  margin: 0 0 .25em;
  color: inherit;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.25;
}
.shoppe-gallery--hero .shoppe-gallery__caption p { font-size: 24px; line-height: 1.5; }
.shoppe-gallery--hero .shoppe-gallery__controls { padding: 0; }
.shoppe-gallery--hero .shoppe-gallery__arrow {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 56px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.shoppe-gallery__arrow--previous { left: 0; }
.shoppe-gallery__arrow--next { right: 0; }
.shoppe-gallery__arrow::before {
  content: "";
  display: inline-block;
  width: 17px;
  height: 17px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: rotate(45deg);
}
.shoppe-gallery__arrow--previous::before { transform: rotate(-135deg); }
.shoppe-gallery--hero .shoppe-gallery__dots {
  position: absolute;
  z-index: 3;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  flex-wrap: nowrap;
}
.shoppe-gallery--hero .shoppe-gallery__dot { width: 28px; min-width: 28px; min-height: 32px; }
.shoppe-gallery--hero .shoppe-gallery__dot::before { width: 10px; height: 10px; border-color: #fff; }
.shoppe-gallery--hero .shoppe-gallery__dot[aria-current="true"]::before { background: #fff; }
.shoppe-gallery--hero .shoppe-gallery__control:hover,
.shoppe-gallery--hero .shoppe-gallery__dot:hover { background: rgba(0, 0, 0, .18); }
.shoppe-gallery--hero .shoppe-gallery__pause {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 12px;
  min-height: 32px;
  padding: 5px 10px;
  border-color: rgba(255,255,255,.6);
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 12px;
}
@media (min-width: 1024px) {
  .shoppe-gallery--hero .shoppe-gallery__caption h3,
  .shoppe-gallery--hero .shoppe-gallery__caption p { max-width: 50%; }
}
@media (max-width: 767px) {
  .shoppe-gallery--hero .shoppe-gallery__slide img { height: 400px; }
  .shoppe-gallery--hero .shoppe-gallery__caption { padding: 36px 56px 64px; }
  .shoppe-gallery--hero .shoppe-gallery__caption h3 { font-size: 32px; }
  .shoppe-gallery--hero .shoppe-gallery__caption p { font-size: 18px; }
  .shoppe-gallery--hero .shoppe-gallery__pause { bottom: 48px; }
}
@media (max-width: 1023px) {
  .shoppe-gallery.is-ready { --gallery-visible: 2; }
}
@media (max-width: 639px) {
  .shoppe-gallery.is-ready { --gallery-visible: 1; }
  .shoppe-gallery { margin-top: 32px; padding: 0 16px; }
  .shoppe-gallery .shoppe-gallery__caption { padding: 18px 16px; min-height: 155px; }
  .shoppe-gallery__dots { order: 5; flex-basis: 100%; max-width: 252px; }
  .shoppe-gallery__slide img { height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .shoppe-gallery__track.is-sliding { transition: none; }
}
@media print {
  .shoppe-gallery__controls, .shoppe-gallery__help { display: none !important; }
  .shoppe-gallery__track { display: block; transform: none !important; }
  .shoppe-gallery [data-gallery-clone] { display: none !important; }
  .shoppe-gallery__slide[hidden] { display: block !important; }
  .shoppe-gallery .shoppe-gallery__slide { break-inside: avoid; width: 100%; }
}
