/* Additions for the Next.js version (loaded after the original theme CSS). */

/* Logo sizes (originally printed inline by the theme on every page) */
.trx_addons_inline_logo_header img.logo_image,
.trx_addons_inline_logo_mobile img.logo_image { max-height: 70px; }
.trx_addons_inline_logo_footer img.logo_image { max-height: 26px; }

/* Emoji images fallback (from WordPress core) */
img.wp-smiley, img.emoji {
  display: inline !important; border: none !important; box-shadow: none !important;
  height: 1em !important; width: 1em !important; margin: 0 0.07em !important;
  vertical-align: -0.1em !important; background: none !important; padding: 0 !important;
}

/* ---------- Products gallery lightbox ---------- */
.gs-lightbox {
  position: fixed; inset: 0; z-index: 2147483000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0; transition: opacity 0.25s ease;
  -webkit-user-select: none; user-select: none;
}
.gs-lightbox.is-open { opacity: 1; }
.gs-lightbox__stage {
  margin: 0; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 60px 80px;
}
.gs-lightbox__stage img {
  max-width: calc(100vw - 160px); max-height: calc(100vh - 120px); width: auto; height: auto;
  object-fit: contain; border-radius: 12px;
  opacity: 0; transition: opacity 0.25s ease;
}
.gs-lightbox__stage img.is-loaded { opacity: 1; }
.gs-lightbox button {
  position: absolute; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0; margin: 0;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); color: #fff; cursor: pointer;
  transition: background 0.2s ease;
}
.gs-lightbox button:hover, .gs-lightbox button:focus-visible { background: rgba(255, 255, 255, 0.2); }
.gs-lightbox button svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.gs-lightbox__close { top: 16px; right: 16px; }
.gs-lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.gs-lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.gs-lightbox--single .gs-lightbox__nav { display: none; }
.gs-lightbox__counter {
  position: absolute; top: 28px; left: 24px; z-index: 2;
  color: rgba(255, 255, 255, 0.8); font-size: 14px; letter-spacing: 0.04em;
}
@media (max-width: 767px) {
  .gs-lightbox__stage { padding: 70px 12px; }
  .gs-lightbox__stage img { max-width: calc(100vw - 24px); max-height: calc(100vh - 160px); }
  .gs-lightbox__nav { top: auto !important; bottom: 16px; transform: none !important; }
}

/* The fixed header row only exists on desktop; hide its spacer wherever the row is hidden */
@media (max-width: 767px) {
  .elementor .elementor-hidden-mobile + .sc_layouts_row_fixed_placeholder { display: none !important; }
}
@media (min-width: 768px) and (max-width: 1279px) {
  .elementor .elementor-hidden-tablet + .sc_layouts_row_fixed_placeholder { display: none !important; }
}

/* Empty image captions were hidden by the theme script */
figcaption.widget-image-caption:empty { display: none; }
