.jw-glx-addons { max-width: 1200px; margin: 0 auto; padding: 60px 20px; box-sizing: border-box; }
.jw-glx-addons .jw-glx-addons-heading { font-size: 32px !important; text-align: center; margin: 0 0 32px; }
.jw-glx-addons-grid { display: grid; grid-template-columns: repeat(var(--jw-glx-cols, 4), minmax(0, 1fr)); gap: 24px; }
.jw-glx-addon {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column;
  background: #fff; color: #1a1a1a; border: 1px solid #e5e5e5; border-radius: 8px; overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease; font-family: inherit; text-align: left;
}
.jw-glx-addon:hover { box-shadow: 0 6px 20px rgba(0,0,0,.12); transform: translateY(-2px); }
.jw-glx-addon:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
.jw-glx-addon-media { display: block; aspect-ratio: 4 / 3; background: #f3f3f3; overflow: hidden; }
.jw-glx-addon-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jw-glx-addon-name { display: block; padding: 14px 16px 0; font-size: 16px; font-weight: 600; line-height: 1.35; }
.jw-glx-addon-sub { display: block; padding: 4px 16px 0; font-size: 13px; color: #666; line-height: 1.4; }
.jw-glx-addon-price { display: block; padding: 10px 16px 16px; margin-top: auto; font-size: 18px; font-weight: 700; }
.jw-glx-addon-price small, .jw-glx-lb-price small { font-size: .7em; font-weight: 400; color: #666; margin-left: 2px; }

html.jw-glx-lb-open { overflow: hidden; }
.jw-glx-lb[hidden] { display: none; }
.jw-glx-lb {
  position: fixed; inset: 0; z-index: 100000; background: rgba(0,0,0,.8);
  display: flex; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box;
}
.jw-glx-lb-panel {
  position: relative; background: #fff; color: #1a1a1a; border-radius: 10px; width: 100%; max-width: 1000px;
  max-height: calc(100vh - 40px); overflow-y: auto; font-family: 'Montserrat', sans-serif;
}
.jw-glx-lb-body { padding: 44px 60px; }
.jw-glx-lb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.jw-glx-lb-image img { width: 100%; height: auto; max-height: 70vh; object-fit: contain; display: block; border-radius: 6px; background: #f3f3f3; }
.jw-glx-lb .jw-glx-lb-title { font-size: 26px !important; margin: 0 0 6px; line-height: 1.25; }
.jw-glx-lb-sub { color: #666; margin: 0 0 10px; font-size: 15px; }
.jw-glx-lb-price { font-size: 22px; font-weight: 700; margin: 0 0 16px; }
.jw-glx-lb-desc { font-size: 15px; line-height: 1.6; }
.jw-glx-lb-desc p { margin: 0 0 12px; }
.jw-glx-lb .jw-glx-lb-heading { font-size: 15px !important; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin: 22px 0 8px; }
.jw-glx-lb-specs { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; }
.jw-glx-lb-specs th, .jw-glx-lb-specs td { text-align: left; padding: 6px 8px 6px 0; border-bottom: 1px solid #eee; vertical-align: top; border-left: 0; border-right: 0; border-top: 0; }
.jw-glx-lb-specs th { font-weight: 600; width: 40%; }
.jw-glx-lb-list { margin: 0 0 0 18px; padding: 0; font-size: 14px; line-height: 1.6; }
.jw-glx-lb-list ul { margin: 2px 0 2px 18px; }
.jw-glx-lb-close {
  all: unset; position: absolute; top: 10px; right: 14px; font-size: 32px; line-height: 1; cursor: pointer; color: #333; z-index: 2;
}
.jw-glx-lb-nav {
  all: unset; position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,.06); color: #111; font-size: 28px; line-height: 38px; text-align: center; cursor: pointer;
}
.jw-glx-lb-nav:hover { background: rgba(0,0,0,.14); }
.jw-glx-lb-prev { left: 6px; }
.jw-glx-lb-next { right: 6px; }
.jw-glx-lb-close:focus-visible, .jw-glx-lb-nav:focus-visible { outline: 2px solid #111; }

@media (max-width: 900px) {
  .jw-glx-addons-grid { grid-template-columns: repeat(min(var(--jw-glx-cols, 4), 2), minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 700px) {
  .jw-glx-lb { padding: 0; align-items: stretch; }
  .jw-glx-lb-panel { max-height: 100vh; border-radius: 0; }
  .jw-glx-lb-body { padding: 52px 20px 28px; }
  .jw-glx-lb-grid { grid-template-columns: 1fr; gap: 20px; }
  .jw-glx-lb-nav { top: 8px; transform: none; }
  .jw-glx-lb-prev { left: 10px; }
  .jw-glx-lb-next { left: 58px; right: auto; }
  .jw-glx-addon-name { font-size: 14px; padding: 10px 12px 0; }
  .jw-glx-addon-sub { padding: 3px 12px 0; }
  .jw-glx-addon-price { font-size: 16px; padding: 8px 12px 12px; }
}
.jw-glx-addons--dark .jw-glx-addons-heading { color: #fff !important; }
.jw-glx-addons--light .jw-glx-addons-heading { color: #0d141a !important; }
/* Theme button styles (GLX) use !important backgrounds; keep the lightbox controls plain. */
.jw-glx-lb .jw-glx-lb-close { background: transparent !important; color: #333 !important; border: 0 !important; box-shadow: none !important; padding: 0 6px !important; width: auto; height: auto; }
.jw-glx-lb .jw-glx-lb-nav { background: rgba(0,0,0,.06) !important; color: #111 !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.jw-glx-lb .jw-glx-lb-nav:hover { background: rgba(0,0,0,.14) !important; }
.jw-glx-addons .jw-glx-addon { background: #fff !important; color: #1a1a1a !important; padding: 0 !important; border: 1px solid #e5e5e5 !important; box-shadow: none; text-transform: none !important; letter-spacing: normal !important; }
.jw-glx-addons .jw-glx-addon:hover { box-shadow: 0 6px 20px rgba(0,0,0,.25); }
/* Section background: light = full-width white band (painted past the 1200px box without widening the layout). */
.jw-glx-addons--light { background: #fff; box-shadow: 0 0 0 100vmax #fff; clip-path: inset(0 -100vmax); }
