.jg-product-page-title-sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.jg-product-recommendations {
  display: grid;
  gap: 24px;
  width: 100%;
  margin: 30px 0;
}
.jg-product-recommendations[hidden] { display: none !important; }
.jg-related-rail {
  min-width: 0;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15,23,42,.05);
}
.jg-related-rail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.jg-related-rail__head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 20px;
  line-height: 1.25;
}
.jg-related-rail__nav { display: flex; gap: 7px; }
.jg-related-rail__nav button {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  background: #fff;
  color: #0f172a;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.jg-related-rail.is-scrollable .jg-related-rail__nav button { display: inline-grid; place-items: center; }
.jg-related-rail__nav button:disabled { opacity: .35; cursor: default; }
.jg-related-rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
  align-items: start;
}
.jg-related-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  scroll-snap-align: start;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.jg-related-card:hover {
  transform: translateY(-2px);
  border-color: #c4b5fd;
  box-shadow: 0 10px 24px rgba(15,23,42,.1);
}
.jg-related-card__media {
  display: grid;
  place-items: center;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  padding: 12px;
  overflow: hidden;
  border-radius: 9px;
  background: linear-gradient(145deg,#f8fafc,#eef2f7);
}
.jg-related-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
.jg-related-card__name {
  display: -webkit-box;
  min-height: 0;
  overflow: hidden;
  color: #1e293b;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 750;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.jg-related-card__reviews { color: #b45309; font-size: 11px; font-weight: 750; }
.jg-related-card__price { display: flex; flex-direction: column; margin-top: 2px; }
.jg-related-card__price small { color: #64748b; font-size: 10px; }
.jg-related-card__price strong { color: #0f172a; font-size: 15px; }
.jg-related-card__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 3px;
  padding-top: 8px;
  border-top: 1px solid #eef2f7;
  color: #d7192d;
  font-size: 12px;
  font-weight: 850;
}

@media (min-width: 1100px) {
  .jg-related-rail__track { grid-auto-columns: calc((100% - 60px) / 6); }
}
@media (max-width: 768px) {
  .jg-product-recommendations { gap: 16px; margin: 22px 0; }
  body.jg-kv-page > .container > .jg-product-recommendations {
    order: 21;
  }
  .jg-related-rail { padding: 14px 10px; border-radius: 14px; }
  .jg-related-rail__head { padding: 0 4px; margin-bottom: 10px; }
  .jg-related-rail__head h2 { font-size: 17px; }
  .jg-related-rail__nav { display: none; }
  .jg-related-rail__track {
    grid-auto-columns: minmax(156px, 72vw);
    gap: 10px;
    margin-right: -10px;
    padding-right: 18px;
    -webkit-overflow-scrolling: touch;
  }
  .jg-related-card__media { aspect-ratio: 4 / 5; }
}

.product-head[hidden] {
  display: none !important;
}

.jg-product-catalog-nav {
  position: relative;
  z-index: 2090;
  border-top: 1px solid #e8edf3;
  border-bottom: 1px solid #dfe6ee;
  background: #fff;
}

.jg-product-catalog-nav__inner {
  display: flex;
  align-items: center;
  width: min(100%, 1440px);
  min-height: 42px;
  margin: 0 auto;
  padding: 0 18px;
}

.jg-product-catalog-nav__all {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 13px;
  border: 0;
  border-right: 1px solid #dfe6ee;
  background: transparent;
  color: #0f172a;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.jg-product-catalog-nav__all .fa-chevron-down {
  font-size: 9px;
  transition: transform .16s ease;
}

.jg-product-catalog-nav.is-open .jg-product-catalog-nav__all .fa-chevron-down {
  transform: rotate(180deg);
}

.jg-product-catalog-nav__quick {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  overflow-x: auto;
  padding-left: 8px;
  scrollbar-width: none;
}

.jg-product-catalog-nav__scroll {
  display: inline-flex;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #d8e0e9;
  border-radius: 50%;
  background: #fff;
  color: #334155;
  font-size: 10px;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(15, 23, 42, .08);
}

.jg-product-catalog-nav__scroll:hover:not(:disabled) {
  border-color: #94a3b8;
  color: #b91c1c;
}

.jg-product-catalog-nav__scroll:disabled {
  opacity: .35;
  cursor: default;
}

.jg-product-catalog-nav__scroll[hidden] {
  display: none !important;
}

.jg-product-catalog-nav__quick::-webkit-scrollbar {
  display: none;
}

.jg-product-catalog-nav__category-label {
  flex: 0 0 auto;
  padding: 0 9px 0 4px;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.jg-product-catalog-nav__quick-link {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 7px;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.jg-product-catalog-nav__quick-link:hover {
  background: #f1f5f9;
  color: #b91c1c;
}

.jg-product-catalog-nav__quick-link.is-current {
  background: #fef2f2;
  color: #b91c1c;
  font-weight: 900;
}

.jg-product-catalog-panel {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #d8e0e9;
  background: #fff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, .15);
  max-height: calc(100vh - 180px);
  overflow-y: auto;
}

.jg-product-catalog-panel[hidden] {
  display: none !important;
}

.jg-product-catalog-panel__inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr .8fr .9fr;
  align-items: stretch;
  gap: 18px;
  width: min(100%, 1380px);
  margin: 0 auto;
  padding: 20px 24px 24px;
}

.jg-product-catalog-panel__category {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e6ebf1;
  border-radius: 10px;
  background: #fff;
}

.jg-product-catalog-panel__category h3 {
  margin: 0;
  padding: 9px 10px;
  border-bottom: 1px solid #e6ebf1;
  background: #f8fafc;
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
}

.jg-product-catalog-panel__links {
  display: grid;
  align-content: start;
  flex: 1 1 auto;
  grid-template-columns: 1fr;
  gap: 2px 10px;
  padding: 7px 10px 9px;
}

.jg-product-catalog-panel__category.has-many-products .jg-product-catalog-panel__links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jg-product-catalog-panel__link {
  padding: 4px 0;
  color: #475569;
  font-size: 12px;
  line-height: 1.35;
  text-decoration: none;
}

.jg-product-catalog-panel__link:hover {
  color: #b91c1c;
  text-decoration: underline;
}

.jg-product-drawer-catalog {
  display: none;
}

@media (max-width: 768px) {
  .jg-product-catalog-nav {
    display: block;
    /* Keep the catalog and its dropdown above page content, but below the
       active storefront header layer (z-index: 1000) while scrolling. */
    z-index: 900;
  }

  .jg-product-catalog-nav__inner {
    gap: 5px;
    min-height: 40px;
    padding: 4px 8px;
  }

  .jg-product-catalog-nav__all {
    justify-content: space-between;
    flex: 0 0 112px;
    width: 112px;
    min-height: 34px;
    padding: 0 8px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    font-size: 12px;
  }

  .jg-product-catalog-nav__scroll {
    display: none !important;
  }

  .jg-product-catalog-nav__quick {
    display: flex !important;
    flex: 1 1 auto;
    gap: 2px;
    padding: 0;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .jg-product-catalog-nav__category-label {
    display: none;
  }

  .jg-product-catalog-nav__quick-link {
    min-height: 32px;
    padding: 8px 10px;
    border: 1px solid transparent;
    font-size: 10.5px;
    scroll-snap-align: start;
  }

  .jg-product-catalog-nav__quick-link.is-current {
    border-color: #fecaca;
  }

  .jg-product-catalog-panel {
    position: absolute;
    max-height: calc(100vh - 150px);
    border-top: 0;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .18);
  }

  .jg-product-catalog-panel__inner {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 10px 12px 18px;
  }

  .jg-product-catalog-panel__category {
    height: auto;
  }

  .jg-product-catalog-panel__category h3 {
    padding: 10px 11px;
    font-size: 13px;
  }

  .jg-product-catalog-panel__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 7px 11px 10px;
  }

  .jg-product-catalog-panel__category.has-many-products .jg-product-catalog-panel__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jg-product-catalog-panel__link {
    padding: 5px 0;
    font-size: 11px;
  }

  .header-nav-drawer header nav li.jg-product-drawer-catalog {
    display: block;
    width: 100%;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(15, 23, 42, .1);
  }

  .jg-product-drawer-catalog__all,
  .jg-product-drawer-category__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 0;
    background: transparent;
    color: #0f172a;
    font: inherit;
    text-align: left;
    cursor: pointer;
  }

  .jg-product-drawer-catalog__all {
    min-height: 46px;
    padding: 0 2px;
    color: #b91c1c;
    font-size: 16px;
    font-weight: 900;
  }

  .jg-product-drawer-catalog__all span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
  }

  .jg-product-drawer-catalog__all[aria-expanded="true"] > .fa-chevron-down {
    transform: rotate(180deg);
  }

  .jg-product-drawer-catalog__categories {
    display: grid;
    gap: 3px;
    padding: 5px 0 0 8px;
  }

  .jg-product-drawer-catalog__categories[hidden],
  .jg-product-drawer-category__links[hidden] {
    display: none !important;
  }

  .jg-product-drawer-category {
    border-top: 1px solid rgba(15, 23, 42, .07);
  }

  .jg-product-drawer-category__button {
    min-height: 42px;
    padding: 0 4px;
    font-size: 13px;
    font-weight: 800;
  }

  .jg-product-drawer-category__button[aria-expanded="true"] .fa-chevron-right {
    transform: rotate(90deg);
  }

  .jg-product-drawer-category__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px 8px;
    padding: 2px 0 10px 10px;
  }

  .header-nav-drawer header nav a.jg-product-drawer-category__link {
    padding: 6px 0;
    color: #475569;
    font-size: 12px;
    line-height: 1.3;
    text-transform: none;
  }
}

body.dark-mode .jg-product-catalog-nav,
body.dark-mode .jg-product-catalog-panel {
  border-color: rgba(255,255,255,.12);
  background: #0b0b0b;
}

body.dark-mode .jg-product-catalog-panel__category,
body.dark-mode .jg-product-catalog-panel__category h3,
body.dark-mode .jg-product-catalog-nav__scroll {
  border-color: rgba(255,255,255,.12);
  background: #111;
}

body.dark-mode .jg-product-catalog-nav__all,
body.dark-mode .jg-product-catalog-nav__quick-link,
body.dark-mode .jg-product-catalog-panel__category h3,
body.dark-mode .jg-product-drawer-catalog__all,
body.dark-mode .jg-product-drawer-category__button {
  color: #f8fafc;
}

body.dark-mode .jg-product-catalog-panel__link,
body.dark-mode .jg-product-drawer-category__link {
  color: #cbd5e1;
}

body.dark-mode .jg-product-catalog-nav__category-label {
  color: #94a3b8;
}
