/* JISULIFE Bangladesh: targeted header, hero and footer enhancements. */

:root {
  --jl-blue: #2563eb;
  --jl-blue-bright: #60a5fa;
  --jl-blue-soft: #bfdbfe;
  --jl-night: #05070f;
  --jl-night-soft: #0a1122;
}

/* Supplied JISULIFE Bangladesh logo */
header a[aria-label*="Home"] img {
  width: auto !important;
  height: 3rem !important;
  filter: none !important;
}

header a[aria-label*="Home"] > span,
#footer .grid > div:first-child .flex > span,
.jl-pre-word > span {
  display: none !important;
}

.jl-pre-word img {
  width: auto !important;
  height: clamp(3rem, 7vw, 5.25rem) !important;
  filter: none !important;
}

/* Premium floating header */
header[class*="fixed"] {
  top: 0.75rem !important;
  right: 0 !important;
  left: 0 !important;
  color: #0b1220 !important;
  background: transparent !important;
  animation: jl-header-enter 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

header > .container-x {
  position: relative;
  isolation: isolate;
  width: calc(100% - 2rem);
  max-width: 1500px;
  min-height: 4.25rem;
  padding: 0.48rem 0.65rem 0.48rem 1.1rem !important;
  overflow: hidden;
  border: 1px solid rgba(147, 197, 253, 0.52);
  border-radius: 1.35rem;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.94), rgba(239, 246, 255, 0.87)) !important;
  box-shadow:
    0 18px 48px rgba(5, 15, 40, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
}

header > .container-x::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -32%;
  z-index: -1;
  width: 24%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.92), transparent);
  transform: skewX(-18deg);
  animation: jl-header-sheen 8s ease-in-out infinite;
  pointer-events: none;
}

header > .container-x::after {
  position: absolute;
  right: 4.9rem;
  bottom: -2rem;
  z-index: -2;
  width: 8rem;
  aspect-ratio: 1;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2), transparent 68%);
  pointer-events: none;
}

header > .container-x > * {
  position: relative;
  z-index: 1;
}

header nav {
  gap: 0.25rem !important;
  padding: 0.25rem;
  border: 1px solid rgba(37, 99, 235, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

header nav a {
  padding: 0.58rem 0.82rem;
  border-radius: 999px;
  color: #18233a;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

header nav a:hover,
header nav a:focus-visible {
  color: var(--jl-blue);
  background: rgba(37, 99, 235, 0.08);
  transform: translateY(-1px);
}

header nav a::after {
  right: 0.82rem !important;
  bottom: 0.32rem !important;
  left: 0.82rem !important;
  width: auto !important;
  height: 2px !important;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--jl-blue), var(--jl-blue-bright)) !important;
}

header #cart-icon {
  display: grid;
  width: 2.85rem;
  height: 2.85rem;
  place-items: center;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 50%;
  color: var(--jl-blue);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.12);
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

header #cart-icon:hover,
header #cart-icon:focus-visible {
  color: #ffffff;
  background: var(--jl-blue);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.34);
  transform: translateY(-2px) rotate(-3deg);
}

header button[aria-label="Menu"] {
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.68);
}

header button[aria-label="Menu"] span {
  background: var(--jl-blue) !important;
}

/* Hero product image and animated specification rail */
.jl-hero-fan {
  width: min(31vw, 440px) !important;
  height: auto;
  image-rendering: auto;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.jl-hero-stage {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(10rem, 11.5rem);
  gap: clamp(0.35rem, 1vw, 1rem);
  align-items: center;
  justify-content: stretch !important;
}

.jl-hero-stage > .relative:not(.hero-glow) {
  min-width: 0;
}

.jl-hero-specs {
  position: relative;
  z-index: 4;
  display: flex;
  width: 100%;
  max-width: 11.5rem;
  flex-direction: column;
  gap: 0.58rem;
  align-self: center;
  perspective: 700px;
}

.jl-hero-specs-title {
  margin: 0 0 0.15rem;
  color: #ffffff;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: clamp(0.88rem, 1.15vw, 1.08rem);
  font-weight: 750;
  line-height: 1.16;
  letter-spacing: -0.025em;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  animation: jl-spec-title-drop 700ms 240ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.jl-hero-spec-card {
  --jl-spec-delay: 420ms;
  position: relative;
  display: grid;
  min-height: 6.3rem;
  place-items: center;
  padding: 0.72rem 0.65rem;
  overflow: hidden;
  border: 1px solid rgba(147, 197, 253, 0.26);
  border-radius: 1.15rem;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(37, 99, 235, 0.075)),
    rgba(4, 8, 18, 0.44);
  box-shadow:
    0 15px 34px rgba(0, 0, 0, 0.23),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(13px) saturate(130%);
  -webkit-backdrop-filter: blur(13px) saturate(130%);
  transform-origin: 50% 0;
  animation-name: jl-spec-drop, jl-spec-float;
  animation-duration: 800ms, 4.8s;
  animation-delay: var(--jl-spec-delay), calc(var(--jl-spec-delay) + 950ms);
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1), ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: both, both;
}

.jl-hero-spec-card::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(147, 197, 253, 0.78), transparent);
}

.jl-spec-symbol {
  display: grid;
  min-width: 3rem;
  height: 2rem;
  place-items: center;
  color: #ffffff;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: 1.55rem;
  font-weight: 750;
  line-height: 1;
  text-shadow: 0 0 20px rgba(96, 165, 250, 0.65);
}

.jl-spec-symbol[data-symbol="h11"] {
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

.jl-spec-symbol[data-symbol="turbo"] {
  position: relative;
  width: 2.75rem;
  min-width: 2.75rem;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-12deg) scaleY(0.48);
}

.jl-spec-symbol[data-symbol="turbo"]::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.25rem;
  aspect-ratio: 1;
  content: "";
  border: 2px solid var(--jl-blue-soft);
  border-left-color: transparent;
  border-radius: 50%;
  transform: translate(-50%, -50%) scaleY(1.45);
}

.jl-spec-copy {
  max-width: 14ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.23;
  text-align: center;
  text-wrap: balance;
}

/* Rebuilt premium footer */
#footer {
  position: relative;
  isolation: isolate;
  padding-top: 6rem !important;
  overflow: hidden;
  border-top: 1px solid rgba(96, 165, 250, 0.18);
  background:
    radial-gradient(circle at 8% 0%, rgba(37, 99, 235, 0.28), transparent 31rem),
    radial-gradient(circle at 96% 60%, rgba(59, 130, 246, 0.22), transparent 34rem),
    linear-gradient(165deg, #071020 0%, #040711 48%, #07101f 100%) !important;
}

#footer::before {
  position: absolute;
  top: 0;
  left: -30%;
  z-index: -1;
  width: 30%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, #60a5fa, #ffffff, transparent);
  box-shadow: 0 0 24px rgba(96, 165, 250, 0.92);
  animation: jl-footer-sweep 7.5s linear infinite;
}

#footer::after {
  position: absolute;
  right: -13rem;
  bottom: -17rem;
  z-index: -2;
  width: min(48vw, 44rem);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(96, 165, 250, 0.17);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16), transparent 66%);
  box-shadow:
    0 0 0 4.5rem rgba(37, 99, 235, 0.032),
    0 0 0 9rem rgba(37, 99, 235, 0.02);
  animation: jl-footer-breathe 9s ease-in-out infinite;
  pointer-events: none;
}

#footer > .container-x {
  position: relative;
  z-index: 1;
  max-width: 1400px;
}

#footer > .container-x:first-child > div {
  position: relative;
  min-height: 11rem;
  overflow: hidden;
  border: 1px solid rgba(147, 197, 253, 0.32);
  border-radius: 2rem !important;
  background:
    linear-gradient(112deg, rgba(37, 99, 235, 0.62), rgba(14, 30, 63, 0.9) 52%, rgba(8, 15, 32, 0.88)) !important;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

#footer > .container-x:first-child > div::before {
  position: absolute;
  top: -11.5rem;
  right: -3rem;
  width: 28rem;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  box-shadow:
    0 0 0 2.6rem rgba(96, 165, 250, 0.08),
    0 0 0 5.2rem rgba(96, 165, 250, 0.04);
  animation: jl-footer-orbit 11s ease-in-out infinite;
  pointer-events: none;
}

#footer > .container-x:first-child > div::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(105deg, transparent 36%, rgba(255, 255, 255, 0.085) 50%, transparent 64%);
  background-size: 220% 100%;
  animation: jl-footer-card-sheen 9s ease-in-out infinite;
  pointer-events: none;
}

#footer > .container-x:first-child > div > div {
  position: relative;
  z-index: 1;
}

#footer > .container-x:first-child h3 {
  color: #ffffff;
  font-size: clamp(2rem, 3.7vw, 3.3rem) !important;
  letter-spacing: -0.045em;
  text-shadow: 0 12px 38px rgba(0, 0, 0, 0.28);
}

#footer > .container-x:first-child p {
  max-width: 46ch;
  font-size: 0.98rem;
  line-height: 1.6;
}

#footer form {
  flex-wrap: wrap;
  padding: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(2, 7, 18, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

#footer form input {
  min-width: 0;
  flex: 1 1 14rem;
  border: 1px solid rgba(255, 255, 255, 0.65) !important;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.18);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

#footer form input:focus {
  border-color: #bfdbfe !important;
  box-shadow: 0 0 0 4px rgba(191, 219, 254, 0.2), 0 10px 34px rgba(0, 0, 0, 0.18);
}

#footer form button {
  min-width: 7.8rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #050914 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
}

#footer form button:hover,
#footer form button:focus-visible {
  color: #0b1220;
  background: #ffffff !important;
  transform: translateY(-1px);
}

#footer > .container-x + .container-x {
  width: calc(100% - 2.5rem);
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.75rem) !important;
  border: 1px solid rgba(147, 197, 253, 0.16);
  border-radius: 2rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(3, 8, 19, 0.58);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

#footer > .container-x + .container-x > .grid {
  gap: clamp(1.75rem, 3vw, 3.25rem);
  padding-bottom: 2.2rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

#footer > .container-x + .container-x > .grid > div:first-child {
  padding-right: clamp(0rem, 4vw, 3rem);
}

#footer > .container-x + .container-x > .grid > div:first-child img {
  width: auto !important;
  height: 4.35rem !important;
  filter: none !important;
}

#footer > .container-x + .container-x > .grid > div:first-child p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.67) !important;
  font-size: 0.92rem;
  line-height: 1.65;
}

#footer > .container-x + .container-x > .grid h4 {
  margin-bottom: 1.05rem !important;
  color: rgba(147, 197, 253, 0.9) !important;
  font-size: 0.78rem !important;
}

#footer > .container-x + .container-x > .grid a {
  width: fit-content;
  padding: 0.28rem 0 !important;
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 0.9rem !important;
  transition: color 180ms ease, transform 180ms ease;
}

#footer > .container-x + .container-x > .grid a::after {
  display: inline-block;
  margin-left: 0.38rem;
  content: "\2192";
  color: var(--jl-blue-bright);
  opacity: 0;
  transform: translateX(-0.3rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

#footer > .container-x + .container-x > .grid a:hover,
#footer > .container-x + .container-x > .grid a:focus-visible {
  color: #ffffff !important;
  transform: translateX(0.25rem);
}

#footer > .container-x + .container-x > .grid a:hover::after,
#footer > .container-x + .container-x > .grid a:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

#footer > .container-x + .container-x > .grid p {
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 0.9rem !important;
  line-height: 1.6;
}

#footer > .container-x + .container-x > .select-none {
  margin-top: 1.4rem;
  padding-top: 0.08em;
  color: transparent !important;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.12), rgba(96, 165, 250, 0.68), rgba(255, 255, 255, 0.18), rgba(96, 165, 250, 0.68));
  background-size: 220% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  font-size: clamp(4rem, 13.2vw, 11rem) !important;
  line-height: 0.78 !important;
  letter-spacing: -0.07em;
  animation: jl-footer-word 10s ease-in-out infinite;
}

#footer .select-none + div {
  gap: 0.55rem;
  padding-top: 1.45rem;
}

#footer .select-none + div > span {
  padding: 0.42rem 0.72rem !important;
  border: 1px solid rgba(147, 197, 253, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72) !important;
  background: rgba(255, 255, 255, 0.065) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

#footer .select-none + div + div {
  padding-bottom: 0 !important;
  border-top: 0;
}

@media (min-width: 768px) {
  #footer > .container-x + .container-x > .grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.72fr) minmax(0, 0.72fr) minmax(0, 1fr);
  }
}

@media (min-width: 1200px) {
  .jl-hero-stage {
    grid-template-columns: minmax(0, 1fr) 11.5rem;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .jl-hero-stage {
    grid-template-columns: minmax(0, 1fr) 7.25rem;
    gap: 0.25rem;
  }

  .jl-hero-fan {
    width: min(27vw, 19rem) !important;
  }

  .jl-hero-specs {
    max-width: 7.25rem;
    gap: 0.38rem;
  }

  .jl-hero-specs-title {
    font-size: 0.72rem;
  }

  .jl-hero-spec-card {
    min-height: 4.65rem;
    padding: 0.45rem 0.35rem;
    border-radius: 0.8rem;
  }

  .jl-spec-symbol {
    height: 1.55rem;
    font-size: 1.12rem;
  }

  .jl-spec-symbol[data-symbol="h11"] {
    font-size: 0.9rem;
  }

  .jl-spec-symbol[data-symbol="turbo"] {
    width: 2.15rem;
    min-width: 2.15rem;
  }

  .jl-spec-copy {
    font-size: 0.59rem;
    line-height: 1.16;
  }
}

@media (max-width: 767px) {
  header[class*="fixed"] {
    top: 0.5rem !important;
  }

  header > .container-x {
    width: calc(100% - 1rem);
    min-height: 3.75rem;
    padding: 0.38rem 0.45rem 0.38rem 0.8rem !important;
    border-radius: 1.1rem;
  }

  header a[aria-label*="Home"] img {
    height: 2.45rem !important;
  }

  header #cart-icon,
  header button[aria-label="Menu"] {
    width: 2.45rem;
    height: 2.45rem;
  }

  .jl-hero-stage {
    display: flex !important;
    flex-direction: column;
    gap: 0.9rem;
  }

  .jl-hero-fan {
    width: min(72vw, 23rem) !important;
  }

  .jl-hero-specs {
    display: grid;
    width: min(100%, 35rem);
    max-width: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .jl-hero-specs-title {
    grid-column: 1 / -1;
    max-width: 24ch;
    margin: 0 auto 0.15rem;
    font-size: 0.92rem;
  }

  .jl-hero-spec-card {
    min-height: 5.75rem;
    padding: 0.58rem 0.35rem;
    border-radius: 0.9rem;
  }

  .jl-spec-symbol {
    height: 1.6rem;
    font-size: 1.2rem;
  }

  .jl-spec-symbol[data-symbol="h11"] {
    font-size: 0.92rem;
  }

  .jl-spec-symbol[data-symbol="turbo"] {
    width: 2.2rem;
    min-width: 2.2rem;
  }

  .jl-spec-copy {
    font-size: 0.62rem;
  }

  #footer {
    padding-top: 4.5rem !important;
  }

  #footer > .container-x:first-child > div {
    min-height: 0;
    padding: 1.8rem !important;
    border-radius: 1.5rem !important;
  }

  #footer > .container-x:first-child > div::before {
    top: -8rem;
    right: -10rem;
    width: 21rem;
  }

  #footer > .container-x:first-child h3 {
    font-size: 2rem !important;
  }

  #footer form {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  #footer form input {
    flex-basis: 100%;
  }

  #footer form button {
    width: 100%;
    justify-content: center;
  }

  #footer > .container-x + .container-x {
    width: calc(100% - 1rem);
    margin-top: 2.5rem;
    padding: 1.35rem !important;
    border-radius: 1.5rem;
  }

  #footer > .container-x + .container-x > .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #footer > .container-x + .container-x > .grid > div:first-child {
    grid-column: 1 / -1;
  }

  #footer > .container-x + .container-x > .grid > div:first-child img {
    height: 3.8rem !important;
  }

  #footer > .container-x + .container-x > .select-none {
    margin-top: 1rem;
    font-size: clamp(3.1rem, 18vw, 6rem) !important;
  }

  #footer .select-none + div + div {
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .jl-hero-specs {
    grid-template-columns: 1fr;
  }

  .jl-hero-spec-card {
    min-height: 4.7rem;
    grid-template-columns: 3rem minmax(0, 1fr);
  }

  .jl-spec-copy {
    max-width: none;
    text-align: left;
  }

  #footer > .container-x + .container-x > .grid {
    grid-template-columns: 1fr;
  }

  #footer > .container-x + .container-x > .grid > div:first-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  header[class*="fixed"],
  header > .container-x::before,
  .jl-hero-specs-title,
  .jl-hero-spec-card,
  #footer::before,
  #footer::after,
  #footer > .container-x:first-child > div::before,
  #footer > .container-x:first-child > div::after,
  #footer > .container-x + .container-x > .select-none {
    animation: none !important;
  }

  header nav a,
  header #cart-icon,
  #footer a {
    transition: none !important;
  }
}

@keyframes jl-header-enter {
  from { opacity: 0; transform: translateY(-1.25rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes jl-header-sheen {
  0%, 55% { transform: translateX(0) skewX(-18deg); opacity: 0; }
  65% { opacity: 0.8; }
  82%, 100% { transform: translateX(580%) skewX(-18deg); opacity: 0; }
}

@keyframes jl-spec-title-drop {
  from { opacity: 0; transform: translateY(-1rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes jl-spec-drop {
  from { opacity: 0; transform: translateY(-1.4rem) rotateX(-12deg) scale(0.96); }
  to { opacity: 1; transform: translateY(0) rotateX(0) scale(1); }
}

@keyframes jl-spec-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.35rem); }
}

@keyframes jl-footer-sweep {
  0% { transform: translateX(0); opacity: 0; }
  12% { opacity: 1; }
  82% { opacity: 1; }
  100% { transform: translateX(435%); opacity: 0; }
}

@keyframes jl-footer-breathe {
  0%, 100% { transform: translate3d(0, 0, 0) scale(0.96); opacity: 0.72; }
  50% { transform: translate3d(-1.5rem, -1rem, 0) scale(1.04); opacity: 1; }
}

@keyframes jl-footer-orbit {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-1.4rem, 1rem, 0) rotate(10deg); }
}

@keyframes jl-footer-card-sheen {
  0%, 58% { background-position: 180% 0; }
  82%, 100% { background-position: -80% 0; }
}

@keyframes jl-footer-word {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Premium product search and left-weighted navigation */
.jl-header-layout {
  justify-content: flex-start !important;
  gap: clamp(0.55rem, 0.9vw, 0.9rem);
}

.jl-header-layout > a[aria-label*="Home"] {
  flex: 0 0 auto;
}

.jl-header-layout > nav {
  min-width: 0;
  flex: 0 1 40%;
  justify-content: center;
  margin-left: clamp(0.15rem, 0.8vw, 0.8rem);
}

.jl-header-layout > div:last-child {
  flex: 0 0 auto;
  gap: 0.55rem !important;
}

.jl-site-search {
  position: relative;
  width: auto;
  min-width: 0;
  max-width: 31rem;
  flex: 1 1 34%;
  margin-left: auto;
}

.jl-search-field {
  position: relative;
  display: flex;
  width: 100%;
  height: 3rem;
  align-items: center;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.96)) padding-box,
    linear-gradient(110deg, rgba(96, 165, 250, 0.78), rgba(255, 255, 255, 0.9), rgba(37, 99, 235, 0.46)) border-box;
  box-shadow:
    0 10px 28px rgba(37, 99, 235, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.jl-search-field:focus-within {
  border-color: transparent;
  background:
    linear-gradient(100deg, #ffffff, #f8fbff) padding-box,
    linear-gradient(110deg, var(--jl-blue), #93c5fd, var(--jl-blue)) border-box;
  box-shadow:
    0 0 0 4px rgba(37, 99, 235, 0.09),
    0 14px 34px rgba(37, 99, 235, 0.18);
  transform: translateY(-1px);
}

.jl-search-field-icon,
.jl-search-mobile-trigger {
  color: var(--jl-blue);
}

.jl-search-field-icon {
  display: grid;
  width: 2.7rem;
  flex: 0 0 2.7rem;
  place-items: center;
}

.jl-search-field svg,
.jl-search-mobile-trigger svg {
  width: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.jl-search-field input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  color: #111827;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 650;
}

.jl-search-field input::placeholder {
  color: #79869d;
}

.jl-search-field input::-webkit-search-cancel-button {
  display: none;
}

.jl-search-shortcut {
  flex: 0 0 auto;
  margin-right: 0.52rem;
  padding: 0.26rem 0.42rem;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 0.48rem;
  color: #667085;
  background: rgba(239, 246, 255, 0.9);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.58rem;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.jl-search-submit {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 2.35rem;
  place-items: center;
  margin-right: 0.28rem;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
  box-shadow: 0 7px 17px rgba(37, 99, 235, 0.3);
  font-size: 1rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.jl-search-submit:hover,
.jl-search-submit:focus-visible {
  outline: 0;
  box-shadow: 0 9px 22px rgba(37, 99, 235, 0.38);
  transform: translateX(2px);
}

.jl-search-mobile-trigger {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.1);
}

.jl-header-articles {
  display: inline-flex;
  height: 2.85rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0 0.78rem;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  color: #24436f;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.09);
  font-size: 0.75rem;
  font-weight: 800;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.jl-header-articles svg {
  width: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jl-header-articles:hover,
.jl-header-articles:focus-visible {
  color: #ffffff;
  outline: 0;
  background: var(--jl-blue);
  box-shadow: 0 11px 25px rgba(37, 99, 235, 0.28);
  transform: translateY(-1px);
}

.jl-search-results {
  position: fixed;
  z-index: 120;
  max-height: min(31rem, calc(100vh - 7rem));
  padding: 0.5rem;
  overflow-y: auto;
  border: 1px solid rgba(147, 197, 253, 0.5);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 26px 70px rgba(8, 18, 43, 0.24);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  animation: jl-search-pop 180ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.jl-search-result {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  gap: 0.72rem;
  align-items: center;
  padding: 0.52rem;
  border-radius: 0.92rem;
  color: #101828;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.jl-search-result:hover,
.jl-search-result:focus-visible {
  color: var(--jl-blue);
  outline: 0;
  background: linear-gradient(100deg, rgba(219, 234, 254, 0.66), rgba(239, 246, 255, 0.86));
  transform: translateX(2px);
}

.jl-search-result-image {
  display: grid;
  width: 3rem;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 0.75rem;
  background: linear-gradient(145deg, #f8fafc, #eff6ff);
}

.jl-search-result-image img {
  width: 100%;
  height: 100%;
  padding: 0.2rem;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.jl-search-result-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.16rem;
}

.jl-search-result-info strong {
  overflow: hidden;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jl-search-result-info > span {
  overflow: hidden;
  color: #667085;
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jl-search-result-arrow {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: #eff6ff;
  font-size: 0.9rem;
}

.jl-search-state {
  padding: 1.15rem;
  color: #667085;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.5;
  text-align: center;
}

.jl-search-state.is-loading::before {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  margin-right: 0.45rem;
  content: "";
  border: 2px solid #bfdbfe;
  border-top-color: var(--jl-blue);
  border-radius: 50%;
  animation: jl-spin 700ms linear infinite;
}

/* Four single-row, bidirectional product collections */
.jl-product-collections {
  position: relative;
  isolation: isolate;
  padding: clamp(4.5rem, 7vw, 7.5rem) 0;
  overflow: hidden;
  border-top: 1px solid rgba(37, 99, 235, 0.08);
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
  background:
    radial-gradient(circle at 8% 10%, rgba(96, 165, 250, 0.15), transparent 27rem),
    radial-gradient(circle at 94% 80%, rgba(37, 99, 235, 0.11), transparent 31rem),
    linear-gradient(180deg, #fbfdff, #f5f9ff 48%, #ffffff);
}

.jl-product-collections::before {
  position: absolute;
  top: 8rem;
  right: -7rem;
  z-index: -1;
  width: 20rem;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(37, 99, 235, 0.025), 0 0 0 6rem rgba(37, 99, 235, 0.015);
}

.jl-product-collections-intro {
  margin-bottom: clamp(2.7rem, 5vw, 5rem);
  text-align: center;
}

.jl-product-collections-intro .h-display {
  margin-top: 0.7rem;
  font-size: clamp(2rem, 5vw, 3.7rem);
  letter-spacing: -0.045em;
}

.jl-category-rail + .jl-category-rail {
  margin-top: clamp(4.3rem, 7vw, 7rem);
}

.jl-category-rail-heading {
  display: flex;
  width: min(calc(100% - 2.5rem), 1320px);
  margin: 0 auto 1.4rem;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.jl-rail-eyebrow {
  color: var(--jl-blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.jl-category-rail h2 {
  margin-top: 0.45rem;
  color: #0f172a;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 750;
  letter-spacing: -0.035em;
}

.jl-rail-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.jl-rail-meta > span {
  color: #7b879d;
  font-size: 0.7rem;
  font-weight: 650;
}

.jl-rail-meta a {
  padding: 0.58rem 0.82rem;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  color: var(--jl-blue);
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
  font-weight: 800;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.jl-rail-meta a:hover,
.jl-rail-meta a:focus-visible {
  color: #ffffff;
  outline: 0;
  background: var(--jl-blue);
  transform: translateY(-1px);
}

.jl-category-scroller {
  display: flex;
  width: min(calc(100% - 2.5rem), 1320px);
  margin-right: auto;
  margin-left: auto;
  padding: 0.75rem 0 1.4rem;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scrollbar-width: none;
  touch-action: pan-y;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.12) 0.8rem, #000 4.75rem, #000 calc(100% - 4.75rem), rgba(0, 0, 0, 0.12) calc(100% - 0.8rem), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.12) 0.8rem, #000 4.75rem, #000 calc(100% - 4.75rem), rgba(0, 0, 0, 0.12) calc(100% - 0.8rem), transparent 100%);
}

.jl-category-scroller::-webkit-scrollbar {
  display: none;
}

.jl-category-scroller.is-dragging {
  cursor: grabbing;
}

.jl-rail-segment {
  display: flex;
  flex: 0 0 auto;
  gap: 1rem;
}

.jl-rail-segment + .jl-rail-segment {
  margin-left: 1rem;
}

.jl-rail-product {
  width: clamp(15rem, 22vw, 19rem);
  min-width: clamp(15rem, 22vw, 19rem);
  flex: 0 0 clamp(15rem, 22vw, 19rem) !important;
  cursor: pointer;
  user-select: none;
}

.jl-rail-product img {
  pointer-events: none;
}

.jl-live-product-card {
  position: relative;
}

.jl-live-card-media {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.jl-live-card-quick {
  position: absolute;
  bottom: 0.85rem;
  left: 50%;
  z-index: 3;
  padding: 0.42rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(9, 18, 40, 0.88);
  box-shadow: 0 8px 22px rgba(10, 23, 52, 0.22);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translate(-50%, 0.6rem);
  transition: opacity 200ms ease, transform 200ms ease;
  white-space: nowrap;
}

.jl-live-card-media:hover .jl-live-card-quick,
.jl-live-card-media:focus-visible .jl-live-card-quick {
  opacity: 1;
  transform: translate(-50%, 0);
}

.jl-live-card-media:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: -3px;
}

.jl-live-card-short {
  display: -webkit-box;
  min-height: 2.6rem;
  margin-top: 0.45rem;
  overflow: hidden;
  color: #7b879d;
  font-size: 0.7rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.jl-live-card-stock {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 800;
}

html.jl-qv-open {
  overflow: hidden;
}

.jl-live-quick-view {
  position: fixed;
  inset: 0;
  z-index: 410;
  display: grid;
  padding: clamp(0.75rem, 3vw, 2rem);
  place-items: center;
  animation: jl-qv-in 220ms ease both;
}

.jl-live-quick-view.is-closing {
  animation: jl-qv-out 180ms ease both;
}

.jl-live-qv-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(4, 9, 21, 0.7);
  backdrop-filter: blur(9px) saturate(110%);
  -webkit-backdrop-filter: blur(9px) saturate(110%);
}

.jl-live-qv-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 65rem);
  max-height: min(90vh, 46rem);
  overflow: hidden;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: clamp(1.4rem, 3vw, 2.4rem);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 40px 100px rgba(1, 8, 24, 0.4), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transform-origin: 50% 55%;
  animation: jl-qv-panel-in 430ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.is-closing .jl-live-qv-panel {
  animation: jl-qv-panel-out 160ms ease both;
}

.jl-live-qv-close {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  z-index: 4;
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 50%;
  place-items: center;
  color: #526078;
  background: rgba(15, 23, 42, 0.055);
  font-size: 1.55rem;
  line-height: 1;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.jl-live-qv-close:hover,
.jl-live-qv-close:focus-visible {
  color: #0f172a;
  outline: 0;
  background: rgba(15, 23, 42, 0.1);
  transform: rotate(6deg);
}

.jl-live-qv-media {
  position: relative;
  display: grid;
  min-height: 37rem;
  padding: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 42% 37%, rgba(255, 255, 255, 0.98) 0 14%, transparent 42%),
    linear-gradient(145deg, #eef5ff, #f8fbff 60%, #e7f0ff);
}

.jl-live-qv-media::before,
.jl-live-qv-media::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}

.jl-live-qv-media::before {
  width: 22rem;
  height: 22rem;
  border: 1px solid rgba(37, 99, 235, 0.09);
  box-shadow: 0 0 0 3rem rgba(37, 99, 235, 0.025), 0 0 0 6rem rgba(37, 99, 235, 0.017);
}

.jl-live-qv-media::after {
  bottom: 8%;
  width: 56%;
  height: 1.15rem;
  background: rgba(33, 63, 116, 0.13);
  filter: blur(11px);
}

.jl-live-qv-media img {
  position: relative;
  z-index: 2;
  width: min(100%, 27rem);
  max-height: 28rem;
  object-fit: contain;
  filter: drop-shadow(0 24px 20px rgba(36, 62, 103, 0.18));
  animation: jl-qv-float 4.8s ease-in-out infinite;
}

.jl-live-qv-sale {
  position: absolute;
  top: 1.6rem;
  left: 1.6rem;
  z-index: 3;
  padding: 0.48rem 0.76rem;
  border-radius: 999px;
  color: #ffffff;
  background: var(--jl-blue);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.26);
  font-size: 0.76rem;
  font-weight: 900;
}

.jl-live-qv-content {
  display: flex;
  min-width: 0;
  padding: clamp(2.2rem, 4vw, 3.4rem) clamp(1.5rem, 4vw, 3rem);
  overflow-y: auto;
  flex-direction: column;
  background:
    radial-gradient(circle at 100% 0, rgba(37, 99, 235, 0.07), transparent 18rem),
    rgba(255, 255, 255, 0.95);
}

.jl-live-qv-kicker {
  padding-right: 3.3rem;
  color: var(--jl-blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.jl-live-qv-content h2 {
  margin-top: 1rem;
  color: #090f1d;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.jl-live-qv-summary {
  margin-top: 1.15rem;
  color: #667085;
  font-size: 0.94rem;
  line-height: 1.65;
}

.jl-live-qv-chips {
  display: flex;
  margin-top: 1rem;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.jl-live-qv-chips span {
  padding: 0.42rem 0.68rem;
  border: 1px solid #e3e9f2;
  border-radius: 999px;
  color: #5c687d;
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.7rem;
}

.jl-live-qv-price {
  display: flex;
  margin-top: 1.45rem;
  align-items: baseline;
  gap: 0.75rem;
}

.jl-live-qv-price strong {
  color: #0b1120;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.55rem);
  font-weight: 850;
  letter-spacing: -0.04em;
}

.jl-live-qv-price del {
  color: #98a2b3;
  font-size: 0.95rem;
}

.jl-live-qv-fields {
  display: grid;
  margin-top: 1.55rem;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.jl-live-qv-fields .jlqo-select {
  height: 3.5rem;
  border-color: #dde4ee;
  border-radius: 1rem;
  font-size: 0.88rem;
}

.jl-live-qv-actions {
  display: grid;
  margin-top: auto;
  padding-top: 1.1rem;
  gap: 0.7rem;
}

.jl-live-qv-add,
.jl-live-qv-whatsapp {
  display: flex;
  min-height: 3.5rem;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-size: 0.91rem;
  font-weight: 850;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.jl-live-qv-add {
  border: 1px solid var(--jl-blue);
  color: #ffffff;
  background: linear-gradient(135deg, #3478ff, #1756df);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.25);
}

.jl-live-qv-add:hover:not(:disabled),
.jl-live-qv-add:focus-visible:not(:disabled) {
  outline: 0;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.34);
}

.jl-live-qv-add.is-added {
  border-color: #059669;
  background: #059669;
  box-shadow: 0 15px 30px rgba(5, 150, 105, 0.22);
}

.jl-live-qv-add:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.jl-live-qv-whatsapp {
  border: 1.5px solid #dfe6f0;
  color: #172033;
  background: #ffffff;
}

.jl-live-qv-whatsapp:hover,
.jl-live-qv-whatsapp:focus-visible {
  border-color: #16a46b;
  color: #087a4e;
  outline: 0;
  background: #f4fff9;
  transform: translateY(-1px);
}

@keyframes jl-qv-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes jl-qv-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes jl-qv-panel-in {
  from { opacity: 0; transform: translateY(2rem) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes jl-qv-panel-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(0.7rem) scale(0.98); }
}

@keyframes jl-qv-float {
  0%, 100% { transform: translateY(0) rotate(-0.45deg); }
  50% { transform: translateY(-0.65rem) rotate(0.45deg); }
}

@media (max-width: 760px) {
  .jl-live-qv-panel {
    max-height: 94vh;
    overflow-y: auto;
    grid-template-columns: 1fr;
  }

  .jl-live-qv-media {
    min-height: 17.5rem;
    padding: 2rem 3rem;
  }

  .jl-live-qv-media::before {
    width: 13rem;
    height: 13rem;
  }

  .jl-live-qv-media img {
    width: min(82%, 17rem);
    max-height: 14rem;
  }

  .jl-live-qv-content {
    overflow: visible;
    padding: 1.5rem;
  }

  .jl-live-qv-content h2 {
    margin-top: 0.65rem;
  }

  .jl-live-qv-summary {
    margin-top: 0.75rem;
    line-height: 1.45;
  }

  .jl-live-qv-chips {
    display: none;
  }

  .jl-live-qv-price {
    margin-top: 0.9rem;
  }

  .jl-live-qv-fields {
    margin-top: 1rem;
  }

  .jl-live-qv-actions {
    padding-top: 0.9rem;
  }
}

@media (max-width: 430px) {
  .jl-live-quick-view {
    padding: 0.45rem;
  }

  .jl-live-qv-panel {
    border-radius: 1.4rem;
  }

  .jl-live-qv-close {
    top: 0.8rem;
    right: 0.8rem;
    width: 2.45rem;
    height: 2.45rem;
  }

  .jl-live-qv-media {
    min-height: 14rem;
    padding: 1.4rem 3rem;
  }

  .jl-live-qv-media img {
    max-height: 11.5rem;
  }

  .jl-live-qv-fields {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .jl-live-qv-fields .jlqo-select {
    height: 3rem;
  }
}

/* Live 32-product catalog and premium product detail surface */
.jl-live-catalog-grid {
  align-items: stretch;
}

.jl-live-catalog-count {
  margin: 0 0 1rem;
  color: #718096;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.jl-live-pdp {
  min-height: 100vh;
  color: #101828;
  background: #ffffff;
}

.jl-live-pdp-hero {
  position: relative;
  padding: clamp(7.2rem, 11vw, 9.2rem) 0 clamp(4rem, 7vw, 7rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 16%, rgba(61, 125, 255, 0.13), transparent 27rem),
    radial-gradient(circle at 8% 80%, rgba(147, 197, 253, 0.13), transparent 26rem),
    linear-gradient(180deg, #f7faff, #ffffff 52%);
}

.jl-live-pdp-hero::before {
  position: absolute;
  top: 5rem;
  left: 50%;
  width: min(92vw, 72rem);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.2), transparent);
  transform: translateX(-50%);
}

.jl-live-pdp-breadcrumb {
  display: flex;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
  align-items: center;
  gap: 0.55rem;
  color: #8491a6;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.jl-live-pdp-breadcrumb a {
  color: var(--jl-blue);
}

.jl-live-pdp-breadcrumb span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.jl-live-pdp-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(23rem, 0.97fr);
  align-items: start;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.jl-live-pdp-gallery {
  position: sticky;
  top: 7.5rem;
  min-width: 0;
}

.jl-live-pdp-main-image {
  position: relative;
  display: grid;
  min-height: min(42rem, 62vw);
  padding: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: clamp(1.7rem, 3vw, 3rem);
  place-items: center;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.98) 0 17%, transparent 48%),
    linear-gradient(145deg, #eef5ff, #f9fbff 60%, #e8f1ff);
  box-shadow: 0 34px 75px rgba(38, 82, 152, 0.13), 0 1px 0 #ffffff inset;
}

.jl-live-pdp-main-image::before {
  position: absolute;
  width: 65%;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(37, 99, 235, 0.085);
  border-radius: 50%;
  box-shadow: 0 0 0 3.2rem rgba(37, 99, 235, 0.025), 0 0 0 6.2rem rgba(37, 99, 235, 0.014);
}

.jl-live-pdp-main-image > span {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  z-index: 3;
  padding: 0.48rem 0.78rem;
  border-radius: 999px;
  color: #ffffff;
  background: var(--jl-blue);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.25);
  font-size: 0.72rem;
  font-weight: 900;
}

.jl-live-pdp-main-image img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 36rem;
  max-height: 32rem;
  object-fit: contain;
  filter: drop-shadow(0 28px 23px rgba(34, 65, 112, 0.2));
  animation: jl-pdp-float 5.2s ease-in-out infinite;
}

.jl-live-pdp-swatches {
  display: flex;
  margin-top: 1rem;
  overflow-x: auto;
  gap: 0.75rem;
  scrollbar-width: none;
}

.jl-live-pdp-swatches::-webkit-scrollbar {
  display: none;
}

.jl-live-pdp-swatches button {
  display: grid;
  min-width: 6.2rem;
  padding: 0.45rem;
  border: 1px solid #e4eaf3;
  border-radius: 1rem;
  grid-template-columns: 2.3rem auto;
  align-items: center;
  gap: 0.45rem;
  color: #667085;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(34, 65, 112, 0.06);
  font-size: 0.66rem;
  font-weight: 750;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.jl-live-pdp-swatches button:hover,
.jl-live-pdp-swatches button:focus-visible,
.jl-live-pdp-swatches button.is-active {
  border-color: var(--jl-blue);
  outline: 0;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}

.jl-live-pdp-swatches img {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.65rem;
  object-fit: contain;
  background: #f4f7fb;
}

.jl-live-pdp-detail {
  padding-top: clamp(0.5rem, 2vw, 1.5rem);
}

.jl-live-pdp-kicker {
  display: inline-flex;
  padding: 0.48rem 0.72rem;
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 999px;
  color: var(--jl-blue);
  background: rgba(239, 246, 255, 0.75);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.jl-live-pdp-detail h1 {
  margin-top: 1.2rem;
  color: #091120;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 850;
  line-height: 0.99;
  letter-spacing: -0.058em;
}

.jl-live-pdp-lead {
  max-width: 52ch;
  margin-top: 1.25rem;
  color: #667085;
  font-size: clamp(0.97rem, 1.4vw, 1.08rem);
  line-height: 1.7;
}

.jl-live-pdp-highlights {
  display: grid;
  margin-top: 1.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.jl-live-pdp-highlights li {
  display: grid;
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid #e5eaf2;
  border-radius: 1rem;
  grid-template-columns: 1.55rem minmax(0, 1fr);
  align-items: center;
  column-gap: 0.5rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 25px rgba(24, 55, 102, 0.045);
}

.jl-live-pdp-highlights li > span {
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  place-items: center;
  color: #ffffff;
  background: var(--jl-blue);
  font-size: 0.7rem;
}

.jl-live-pdp-highlights strong,
.jl-live-pdp-highlights small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jl-live-pdp-highlights strong {
  color: #172033;
  font-size: 0.77rem;
}

.jl-live-pdp-highlights small {
  grid-column: 2;
  color: #98a2b3;
  font-size: 0.62rem;
}

.jl-live-pdp-price {
  display: flex;
  margin-top: 1.7rem;
  align-items: baseline;
  gap: 0.85rem;
}

.jl-live-pdp-price strong {
  color: #0b1120;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 850;
  letter-spacing: -0.04em;
}

.jl-live-pdp-price del {
  color: #98a2b3;
}

.jl-live-pdp-fields {
  display: grid;
  margin-top: 1.45rem;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.jl-live-pdp-fields .jlqo-select {
  height: 3.6rem;
  border-radius: 1rem;
  font-size: 0.86rem;
}

.jl-live-pdp-actions {
  display: grid;
  margin-top: 1rem;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.jl-live-pdp-actions > * {
  display: flex;
  min-height: 3.65rem;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.jl-live-pdp-actions button {
  border: 1px solid var(--jl-blue);
  color: #ffffff;
  background: linear-gradient(135deg, #3478ff, #1756df);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.jl-live-pdp-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.jl-live-pdp-actions a {
  border: 1px solid #dfe6f0;
  color: #162033;
  background: #ffffff;
}

.jl-live-pdp-actions > *:hover:not(:disabled),
.jl-live-pdp-actions > *:focus-visible:not(:disabled) {
  outline: 0;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.18);
}

.jl-live-pdp-assurances {
  display: flex;
  margin-top: 1.1rem;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  color: #667085;
  font-size: 0.68rem;
  font-weight: 700;
}

.jl-live-pdp-info {
  padding-top: clamp(3.7rem, 7vw, 7rem);
  padding-bottom: clamp(5rem, 9vw, 9rem);
}

.jl-live-pdp-tabs {
  display: grid;
  width: min(100%, 46rem);
  margin: 0 auto 2rem;
  padding: 0.45rem;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #e4eaf3;
  border-radius: 999px;
  background: #f5f8fc;
  box-shadow: 0 12px 30px rgba(27, 57, 100, 0.06);
}

.jl-live-pdp-tabs button {
  min-height: 3rem;
  border: 0;
  border-radius: 999px;
  color: #6b778d;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 800;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.jl-live-pdp-tabs button[aria-selected="true"] {
  color: #ffffff;
  background: #111a2b;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
}

.jl-live-pdp-tabs button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.22);
}

.jl-live-pdp-panel {
  width: min(100%, 66rem);
  margin: 0 auto;
  animation: jl-tab-reveal 260ms ease both;
}

.jl-live-pdp-panel[hidden] {
  display: none;
}

.jl-live-pdp-spec-grid {
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #e3e9f2;
  border-radius: 1.7rem;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(28, 61, 111, 0.08);
}

.jl-live-pdp-spec-grid > div {
  display: flex;
  min-height: 4.3rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #edf1f6;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.jl-live-pdp-spec-grid > div:nth-child(odd) {
  border-right: 1px solid #edf1f6;
}

.jl-live-pdp-spec-grid span {
  color: #7a879b;
  font-size: 0.72rem;
}

.jl-live-pdp-spec-grid strong {
  color: #172033;
  font-size: 0.76rem;
  text-align: right;
}

.jl-live-pdp-copy,
.jl-live-pdp-warranty {
  overflow: hidden;
  border: 1px solid #e3e9f2;
  border-radius: 1.7rem;
  background:
    radial-gradient(circle at 95% 10%, rgba(37, 99, 235, 0.08), transparent 22rem),
    #ffffff;
  box-shadow: 0 22px 55px rgba(28, 61, 111, 0.08);
}

.jl-live-pdp-copy {
  padding: clamp(1.6rem, 4vw, 3rem);
}

.jl-live-pdp-copy > span,
.jl-live-pdp-warranty section > span {
  color: var(--jl-blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jl-live-pdp-copy h2,
.jl-live-pdp-warranty h2 {
  margin-top: 0.65rem;
  color: #0e1728;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 820;
  letter-spacing: -0.035em;
}

.jl-live-pdp-copy p,
.jl-live-pdp-warranty p {
  margin-top: 1rem;
  color: #667085;
  line-height: 1.75;
}

.jl-live-pdp-warranty {
  display: grid;
  padding: clamp(1.3rem, 3vw, 2rem);
  grid-template-columns: minmax(8rem, 0.36fr) 1fr;
  align-items: center;
  gap: clamp(1.4rem, 4vw, 3rem);
}

.jl-live-pdp-warranty > div {
  display: grid;
  min-height: 11rem;
  border-radius: 1.25rem;
  place-items: center;
  align-content: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.25), transparent 42%),
    linear-gradient(145deg, #3378ff, #104ac7);
  box-shadow: 0 22px 42px rgba(37, 99, 235, 0.24);
}

.jl-live-pdp-warranty > div strong {
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: 4rem;
  line-height: 0.9;
}

.jl-live-pdp-warranty > div span {
  margin-top: 0.4rem;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

@keyframes jl-pdp-float {
  0%, 100% { transform: translateY(0) rotate(-0.25deg); }
  50% { transform: translateY(-0.7rem) rotate(0.25deg); }
}

@media (max-width: 900px) {
  .jl-live-pdp-shell {
    grid-template-columns: 1fr;
  }

  .jl-live-pdp-gallery {
    position: static;
  }

  .jl-live-pdp-main-image {
    min-height: min(38rem, 85vw);
  }

  .jl-live-pdp-detail h1 {
    max-width: 18ch;
  }
}

@media (max-width: 560px) {
  .jl-live-pdp-hero {
    padding-top: 6.5rem;
  }

  .jl-live-pdp-main-image {
    min-height: 21rem;
    padding: 2.3rem;
    border-radius: 1.6rem;
  }

  .jl-live-pdp-main-image img {
    max-height: 17rem;
  }

  .jl-live-pdp-highlights,
  .jl-live-pdp-fields,
  .jl-live-pdp-actions,
  .jl-live-pdp-spec-grid {
    grid-template-columns: 1fr;
  }

  .jl-live-pdp-spec-grid > div:nth-child(odd) {
    border-right: 0;
  }

  .jl-live-pdp-tabs {
    border-radius: 1.15rem;
  }

  .jl-live-pdp-tabs button {
    min-height: 2.65rem;
    font-size: 0.7rem;
  }

  .jl-live-pdp-warranty {
    grid-template-columns: 1fr;
  }

  .jl-live-pdp-warranty > div {
    min-height: 8.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jl-live-quick-view,
  .jl-live-qv-panel,
  .jl-live-qv-media img,
  .jl-live-pdp-main-image img,
  .jl-live-pdp-panel {
    animation: none !important;
  }
}

.jl-rails-loading {
  display: flex;
  min-height: 14rem;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  color: #667085;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.03em;
}

.jl-rails-loading span {
  width: 1rem;
  height: 1rem;
  border: 2px solid #bfdbfe;
  border-top-color: var(--jl-blue);
  border-radius: 50%;
  animation: jl-spin 700ms linear infinite;
}

/* Product title summary and premium information tabs */
.jl-product-summary {
  position: relative;
  padding: 1rem 1.05rem 1.05rem;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 1.2rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(96, 165, 250, 0.15), transparent 9rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.88));
  box-shadow: 0 16px 38px rgba(15, 40, 85, 0.09), inset 0 1px 0 #ffffff;
  animation: jl-summary-in 540ms 100ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.jl-product-summary::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 38%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--jl-blue), var(--jl-blue-bright), transparent);
}

.jl-product-summary-heading {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  margin-bottom: 0.82rem;
}

.jl-product-summary-heading strong {
  color: #172033;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: 0.9rem;
}

.jl-product-summary-heading > span:last-child {
  margin-left: auto;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  color: var(--jl-blue);
  background: rgba(37, 99, 235, 0.08);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.jl-summary-mark {
  display: grid;
  width: 1.6rem;
  height: 1.6rem;
  place-items: center;
  border-radius: 0.5rem;
  color: #ffffff;
  background: linear-gradient(145deg, var(--jl-blue), #1d4ed8);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
  font-size: 0.68rem;
}

.jl-product-summary ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.8rem;
}

.jl-product-summary li {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 0.45rem;
  color: #59657a;
  font-size: 0.72rem;
  line-height: 1.4;
}

.jl-product-summary li strong {
  color: #1f2937;
}

.jl-summary-check {
  display: grid;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 1.15rem;
  place-items: center;
  margin-top: 0.03rem;
  border-radius: 50%;
  color: #ffffff;
  background: #16a34a;
  font-size: 0.58rem;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.18);
}

.jl-product-tabs-section {
  padding-top: clamp(2.8rem, 5vw, 4.8rem) !important;
  padding-bottom: clamp(2.8rem, 5vw, 4.8rem) !important;
}

.jl-product-tabs {
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.13);
  border-radius: 1.65rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 65px rgba(15, 40, 85, 0.1);
}

.jl-product-tablist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.6rem;
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
  background: linear-gradient(120deg, #f8fbff, #eff6ff);
}

.jl-product-tab {
  position: relative;
  min-height: 3.15rem;
  padding: 0.65rem 1rem;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 1rem;
  color: #536078;
  background: transparent;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: clamp(0.78rem, 1.5vw, 0.98rem);
  font-weight: 750;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.jl-product-tab:hover,
.jl-product-tab:focus-visible {
  color: var(--jl-blue);
  outline: 0;
  background: rgba(255, 255, 255, 0.74);
}

.jl-product-tab[aria-selected="true"] {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(120deg, var(--jl-blue), #1d4ed8);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.jl-product-panel {
  padding: clamp(1rem, 2.5vw, 1.7rem);
  animation: jl-panel-in 280ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.jl-product-panel[hidden] {
  display: none !important;
}

.jl-product-panel > .grad-border {
  border-color: rgba(37, 99, 235, 0.12);
  border-radius: 1.1rem;
  box-shadow: 0 12px 34px rgba(15, 40, 85, 0.055);
}

.jl-tab-copy-card,
.jl-tab-warranty-card {
  min-height: 13rem;
  border: 1px solid rgba(37, 99, 235, 0.11);
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(96, 165, 250, 0.14), transparent 15rem),
    linear-gradient(145deg, #ffffff, #f8fbff);
}

.jl-tab-copy-card {
  padding: clamp(1.4rem, 3vw, 2.3rem);
}

.jl-tab-copy-card h3,
.jl-tab-warranty-card h3 {
  color: #131c2e;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  font-weight: 750;
  letter-spacing: -0.025em;
}

.jl-tab-copy-card p,
.jl-tab-warranty-card p {
  max-width: 70ch;
  margin-top: 0.75rem;
  color: #667085;
  font-size: 0.9rem;
  line-height: 1.7;
}

.jl-tab-copy-card .jl-tab-lead {
  color: var(--jl-blue);
  font-size: 1rem;
  font-weight: 700;
}

.jl-tab-warranty-card {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 4vw, 3.2rem);
  padding: clamp(1.4rem, 4vw, 3rem);
}

.jl-warranty-badge {
  display: grid;
  width: clamp(7rem, 16vw, 10rem);
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-content: center;
  border: 1px solid rgba(147, 197, 253, 0.52);
  border-radius: 50%;
  color: #ffffff;
  background:
    radial-gradient(circle at 35% 24%, rgba(255, 255, 255, 0.2), transparent 38%),
    linear-gradient(145deg, #3b82f6, #1d4ed8);
  box-shadow: 0 22px 45px rgba(37, 99, 235, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  text-align: center;
}

.jl-warranty-badge span {
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: clamp(2.3rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 0.9;
}

.jl-warranty-badge small {
  margin-top: 0.45rem;
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.jl-tab-kicker {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: var(--jl-blue);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .jl-header-layout > nav a {
    padding-right: 0.62rem;
    padding-left: 0.62rem;
    font-size: 0.82rem;
  }

  .jl-site-search {
    width: clamp(11rem, 17vw, 14rem);
    flex-basis: 22%;
  }

  .jl-search-shortcut {
    display: none;
  }

  .jl-header-articles {
    width: 2.75rem;
    padding: 0;
  }

  .jl-header-articles span {
    display: none;
  }
}

@media (max-width: 1000px) {
  .jl-site-search {
    width: 2.75rem;
    max-width: 2.75rem;
    flex: 0 0 2.75rem;
  }

  .jl-search-mobile-trigger {
    display: grid;
  }

  .jl-site-search > .jl-search-field {
    display: none;
  }

  .jl-site-search.is-open > .jl-search-field {
    position: fixed;
    top: 5.7rem;
    right: 1rem;
    left: 1rem;
    z-index: 130;
    display: flex;
    width: auto;
    height: 3.25rem;
    box-shadow: 0 24px 65px rgba(8, 18, 43, 0.24);
  }

  .jl-search-open {
    overflow: visible !important;
  }
}

@media (max-width: 767px) {
  .jl-header-layout {
    gap: 0.42rem;
  }

  .jl-header-layout > .jl-site-search {
    margin-left: auto;
  }

  .jl-search-mobile-trigger {
    width: 2.45rem;
    height: 2.45rem;
  }

  .jl-site-search {
    width: 2.45rem;
  }

  .jl-site-search.is-open > .jl-search-field {
    top: 5rem;
    right: 0.5rem;
    left: 0.5rem;
  }

  .jl-category-rail-heading {
    width: calc(100% - 1rem);
    align-items: flex-start;
  }

  .jl-rail-meta > span {
    display: none;
  }

  .jl-rail-meta a {
    white-space: nowrap;
  }

  .jl-category-scroller {
    width: calc(100% - 1rem);
    padding-right: 0;
    padding-left: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 2.4rem, #000 calc(100% - 2.4rem), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 2.4rem, #000 calc(100% - 2.4rem), transparent);
  }

  .jl-rail-product {
    width: min(76vw, 17rem);
    min-width: min(76vw, 17rem);
    flex-basis: min(76vw, 17rem) !important;
  }

  .jl-product-summary ul {
    grid-template-columns: 1fr;
  }

  .jl-product-tablist {
    gap: 0.25rem;
    padding: 0.4rem;
  }

  .jl-product-tab {
    min-height: 2.85rem;
    padding: 0.55rem 0.35rem;
    border-radius: 0.78rem;
    font-size: 0.72rem;
  }

  .jl-tab-warranty-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 390px) {
  .jl-header-layout > a[aria-label*="Home"] img {
    height: 2.1rem !important;
  }

  .jl-category-rail-heading {
    gap: 0.7rem;
  }

  .jl-rail-meta a {
    padding: 0.48rem 0.62rem;
    font-size: 0.64rem;
  }

  .jl-product-tabs {
    border-radius: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jl-search-results,
  .jl-search-state.is-loading::before,
  .jl-rails-loading span,
  .jl-product-summary,
  .jl-product-panel {
    animation: none !important;
  }

  .jl-search-field,
  .jl-search-result,
  .jl-rail-meta a,
  .jl-product-tab {
    transition: none !important;
  }
}

@keyframes jl-search-pop {
  from { opacity: 0; transform: translateY(-0.45rem) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes jl-spin {
  to { transform: rotate(360deg); }
}

@keyframes jl-summary-in {
  from { opacity: 0; transform: translateY(0.8rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes jl-panel-in {
  from { opacity: 0; transform: translateY(0.35rem); }
  to { opacity: 1; transform: translateY(0); }
}

/* Cooling Journal */
.jl-reading-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 190;
  height: 3px;
  background: rgba(37, 99, 235, 0.08);
}

.jl-reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #93c5fd, #ffffff);
  box-shadow: 0 0 14px rgba(96, 165, 250, 0.8);
}

.jl-blog-main {
  color: #111827;
  background: #ffffff;
}

.jl-blog-hero {
  position: relative;
  isolation: isolate;
  min-height: 46rem;
  padding: 9.5rem 0 5rem;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 76% 45%, rgba(37, 99, 235, 0.55), transparent 28rem),
    radial-gradient(circle at 12% 0%, rgba(59, 130, 246, 0.22), transparent 26rem),
    linear-gradient(135deg, #050813 0%, #08142a 54%, #0b2e6d 100%);
}

.jl-blog-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(147, 197, 253, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 197, 253, 0.14) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

.jl-blog-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 1.1fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}

.jl-blog-kicker {
  color: #93c5fd;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.jl-blog-hero h1 {
  margin-top: 1.2rem;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: clamp(3.8rem, 8.5vw, 8rem);
  font-weight: 760;
  line-height: 0.86;
  letter-spacing: -0.075em;
}

.jl-blog-hero h1 span {
  color: #72aefc;
}

.jl-blog-hero-copy > p {
  max-width: 38rem;
  margin-top: 2rem;
  color: rgba(226, 232, 240, 0.72);
  font-size: 1.08rem;
  line-height: 1.75;
}

.jl-blog-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2rem;
}

.jl-blog-hero-actions a,
.jl-blog-inline-cta,
.jl-blog-cta > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border-radius: 999px;
  font-weight: 800;
}

.jl-blog-hero-actions a {
  min-height: 3.25rem;
  padding: 0 1.25rem;
  color: #071225;
  background: #ffffff;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.24);
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.jl-blog-hero-actions a:hover,
.jl-blog-hero-actions a:focus-visible {
  color: #ffffff;
  outline: 0;
  background: #2563eb;
  transform: translateY(-2px);
}

.jl-blog-hero-actions > span {
  max-width: 16rem;
  color: rgba(226, 232, 240, 0.58);
  font-size: 0.75rem;
  line-height: 1.45;
}

.jl-blog-hero-visual {
  position: relative;
  display: grid;
  min-height: 34rem;
  place-items: center;
}

.jl-blog-hero-visual::after {
  position: absolute;
  bottom: 3.4rem;
  left: 50%;
  width: 58%;
  height: 2rem;
  content: "";
  border-radius: 50%;
  background: rgba(3, 8, 20, 0.72);
  filter: blur(1rem);
  transform: translateX(-50%);
}

.jl-blog-hero-visual img {
  position: relative;
  z-index: 3;
  width: min(30rem, 78%);
  max-height: 35rem;
  object-fit: contain;
  filter: drop-shadow(0 2.5rem 3rem rgba(0, 0, 0, 0.42));
  animation: jl-journal-fan 6s ease-in-out infinite;
}

.jl-blog-orbit {
  position: absolute;
  left: 50%;
  z-index: 1;
  aspect-ratio: 1;
  border: 1px solid rgba(147, 197, 253, 0.28);
  border-radius: 50%;
  transform: translateX(-50%);
}

.jl-blog-orbit::before,
.jl-blog-orbit::after {
  position: absolute;
  width: 0.55rem;
  aspect-ratio: 1;
  content: "";
  border-radius: 50%;
  background: #93c5fd;
  box-shadow: 0 0 1.2rem #60a5fa;
}

.jl-blog-orbit::before { top: 12%; left: 14%; }
.jl-blog-orbit::after { right: 8%; bottom: 19%; }
.jl-blog-orbit-one { width: min(32rem, 86%); animation: jl-journal-orbit 14s linear infinite; }
.jl-blog-orbit-two { width: min(25rem, 66%); animation: jl-journal-orbit 11s linear reverse infinite; }

.jl-blog-air-label {
  position: absolute;
  right: 2%;
  bottom: 12%;
  z-index: 4;
  color: rgba(191, 219, 254, 0.6);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.5;
}

.jl-blog-index {
  padding-top: clamp(5rem, 8vw, 8rem);
  padding-bottom: clamp(5rem, 8vw, 8rem);
}

.jl-blog-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.jl-blog-section-head .jl-blog-kicker,
.jl-blog-cta .jl-blog-kicker {
  color: #2563eb;
}

.jl-blog-section-head h2,
.jl-blog-article header h2,
.jl-blog-cta h2 {
  font-family: var(--font-display), system-ui, sans-serif;
  font-weight: 760;
  letter-spacing: -0.045em;
}

.jl-blog-section-head h2 {
  margin-top: 0.55rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.jl-blog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.jl-blog-filters button {
  min-height: 2.5rem;
  padding: 0 0.9rem;
  border: 1px solid #dbe4f1;
  border-radius: 999px;
  color: #59657a;
  background: #ffffff;
  font-size: 0.75rem;
  font-weight: 750;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.jl-blog-filters button:hover,
.jl-blog-filters button:focus-visible,
.jl-blog-filters button.is-active {
  color: #ffffff;
  border-color: #2563eb;
  outline: 0;
  background: #2563eb;
}

.jl-blog-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.jl-blog-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(9rem, 0.75fr) minmax(0, 1.25fr);
  min-height: 18rem;
  overflow: hidden;
  border: 1px solid #dbe5f3;
  border-radius: 1.6rem;
  color: #111827;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 40, 85, 0.08);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.jl-blog-card-featured {
  grid-row: span 2;
  grid-template-columns: 1fr;
}

.jl-blog-card:hover,
.jl-blog-card:focus-visible {
  border-color: rgba(37, 99, 235, 0.46);
  outline: 0;
  box-shadow: 0 26px 66px rgba(15, 40, 85, 0.15);
  transform: translateY(-4px);
}

.jl-blog-card-image {
  display: grid;
  min-height: 100%;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(96, 165, 250, 0.2), transparent 55%),
    linear-gradient(145deg, #f8fbff, #eaf2ff);
}

.jl-blog-card-image img {
  width: 100%;
  height: 100%;
  padding: 9%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.jl-blog-card:hover .jl-blog-card-image img {
  transform: scale(1.06) rotate(-1deg);
}

.jl-blog-card-featured .jl-blog-card-image {
  min-height: 25rem;
}

.jl-blog-card-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.jl-blog-card-meta {
  color: #2563eb;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jl-blog-card-content strong {
  margin-top: 0.65rem;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 760;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.jl-blog-card-content > span:not(.jl-blog-card-meta) {
  margin-top: 0.75rem;
  color: #667085;
  font-size: 0.86rem;
  line-height: 1.65;
}

.jl-blog-card-content b {
  margin-top: 1.3rem;
  color: #2563eb;
  font-size: 0.78rem;
}

.jl-blog-card[hidden] {
  display: none !important;
}

.jl-blog-reading {
  display: grid;
  gap: clamp(4rem, 8vw, 8rem);
  padding-bottom: clamp(5rem, 9vw, 9rem);
}

.jl-blog-article {
  scroll-margin-top: 7rem;
  padding: clamp(1.5rem, 4vw, 4rem);
  border: 1px solid #dce6f4;
  border-radius: 2rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(96, 165, 250, 0.12), transparent 24rem),
    #ffffff;
  box-shadow: 0 22px 65px rgba(15, 40, 85, 0.08);
}

.jl-blog-article header {
  max-width: 55rem;
}

.jl-blog-article header h2 {
  margin-top: 0.65rem;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
}

.jl-blog-article header > p {
  margin-top: 1rem;
  color: #667085;
  font-size: 1rem;
  line-height: 1.75;
}

.jl-blog-article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2.25rem;
}

.jl-blog-article-grid > div {
  padding: 1.4rem;
  border: 1px solid #e2e8f0;
  border-radius: 1.2rem;
  background: rgba(248, 251, 255, 0.82);
}

.jl-blog-article-grid > div > span,
.jl-blog-checklist > p > span {
  color: #2563eb;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.67rem;
  font-weight: 850;
}

.jl-blog-article-grid h3 {
  margin-top: 0.55rem;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 750;
}

.jl-blog-article-grid p,
.jl-blog-checklist p,
.jl-blog-flow-steps p {
  margin-top: 0.55rem;
  color: #667085;
  font-size: 0.88rem;
  line-height: 1.7;
}

.jl-blog-inline-cta {
  min-height: 3rem;
  margin-top: 1.6rem;
  padding: 0 1.1rem;
  color: #ffffff;
  background: #2563eb;
}

.jl-blog-article-dark {
  color: #ffffff;
  border-color: rgba(96, 165, 250, 0.22);
  background:
    radial-gradient(circle at 92% 12%, rgba(37, 99, 235, 0.45), transparent 25rem),
    linear-gradient(140deg, #071020, #0b1831 62%, #102c61);
  box-shadow: 0 28px 80px rgba(4, 10, 24, 0.22);
}

.jl-blog-article-dark header > p,
.jl-blog-article-dark .jl-blog-checklist p {
  color: rgba(226, 232, 240, 0.7);
}

.jl-blog-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2rem;
}

.jl-blog-checklist > p {
  margin: 0;
  padding: 1.35rem;
  border: 1px solid rgba(147, 197, 253, 0.18);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.045);
}

.jl-blog-checklist strong {
  display: block;
  margin-top: 0.55rem;
  color: #ffffff;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: 1rem;
}

.jl-blog-flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2rem;
}

.jl-blog-flow-steps > div {
  min-height: 12rem;
  padding: 1.35rem;
  border-left: 3px solid #2563eb;
  border-radius: 0 1rem 1rem 0;
  background: #f7faff;
}

.jl-blog-flow-steps b {
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: 1.05rem;
}

.jl-blog-cta {
  display: flex;
  margin-bottom: clamp(5rem, 9vw, 9rem);
  padding: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid #bfdbfe;
  border-radius: 2rem;
  background: linear-gradient(120deg, #eff6ff, #ffffff 58%, #dbeafe);
}

.jl-blog-cta h2 {
  max-width: 48rem;
  margin-top: 0.45rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.jl-blog-cta > a {
  min-height: 3.25rem;
  flex: 0 0 auto;
  padding: 0 1.25rem;
  color: #ffffff;
  background: #111827;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.18);
}

@media (max-width: 900px) {
  .jl-blog-hero {
    min-height: 0;
  }

  .jl-blog-hero-grid {
    grid-template-columns: 1fr;
  }

  .jl-blog-hero-copy {
    position: relative;
    z-index: 5;
  }

  .jl-blog-hero-visual {
    min-height: 27rem;
  }

  .jl-blog-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .jl-blog-filters {
    justify-content: flex-start;
  }

  .jl-blog-cards {
    grid-template-columns: 1fr;
  }

  .jl-blog-card-featured {
    grid-row: auto;
    grid-template-columns: minmax(9rem, 0.75fr) minmax(0, 1.25fr);
  }

  .jl-blog-card-featured .jl-blog-card-image {
    min-height: 100%;
  }
}

@media (max-width: 767px) {
  header.jl-blog-menu-open > .container-x {
    overflow: visible;
  }

  header.jl-blog-menu-open nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    left: 0;
    display: flex !important;
    align-items: stretch;
    flex-direction: column;
    gap: 0.25rem !important;
    padding: 0.65rem;
    border: 1px solid rgba(147, 197, 253, 0.55);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 65px rgba(8, 18, 43, 0.24);
  }

  header.jl-blog-menu-open nav a {
    padding: 0.75rem 0.9rem;
  }
}

@media (max-width: 640px) {
  .jl-header-articles {
    width: 2.45rem;
    height: 2.45rem;
  }

  .jl-blog-hero {
    padding-top: 7.5rem;
  }

  .jl-blog-hero h1 {
    font-size: clamp(3.25rem, 18vw, 5.2rem);
  }

  .jl-blog-hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .jl-blog-hero-visual {
    min-height: 22rem;
  }

  .jl-blog-card,
  .jl-blog-card-featured {
    grid-template-columns: 1fr;
  }

  .jl-blog-card-image,
  .jl-blog-card-featured .jl-blog-card-image {
    min-height: 16rem;
  }

  .jl-blog-article,
  .jl-blog-cta {
    border-radius: 1.35rem;
  }

  .jl-blog-article-grid,
  .jl-blog-checklist,
  .jl-blog-flow-steps {
    grid-template-columns: 1fr;
  }

  .jl-blog-cta {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (prefers-reduced-motion: reduce) {
  .jl-blog-hero-visual img,
  .jl-blog-orbit-one,
  .jl-blog-orbit-two {
    animation: none !important;
  }
}

@keyframes jl-journal-fan {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-0.7rem) rotate(1deg); }
}

@keyframes jl-journal-orbit {
  to { transform: translateX(-50%) rotate(360deg); }
}
