/* GXD-UI-V5 — five style blocks from layout.html (orig lines 2041/4498/4866/5079/5128).
   All five originally loaded between the flowbite CSS links and the tailwind CDN script;
   this file is linked at the exact position of the first block, so cascade order is
   unchanged. Pre-framework, post-tailwind, page, and post-content CSS remain inline. */

/* ==================== layout.html line 2041 ==================== */
html body #ghost-watermark-ultimate,
html body div#ghost-watermark-ultimate,
body #ghost-watermark-ultimate,
#ghost-watermark-ultimate {
    position: fixed !important;
    bottom: 10px !important;    
    right: 50px !important;      
    left: auto !important;
    top: auto !important;
    z-index: 2147483647 !important;
    width: 120px !important;
    height: 120px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

/* Mobile positioning */
@media screen and (max-width: 768px) {
    html body #ghost-watermark-ultimate,
    html body div#ghost-watermark-ultimate,
    body #ghost-watermark-ultimate,
    #ghost-watermark-ultimate {
        bottom: 10px !important;    
        right: 30px !important;     
        width: 90px !important;
        height: 90px !important;
    }
}

.enhanced-footer,
.site-footer,
.footer,
nav,
.navigation {
    z-index: 5 !important;
}

#ghost-watermark-ultimate {
    z-index: 2147483647 !important;
}
    /* Add to Basket Button Styling */
    .cta-button, 
    .add-to-basket-button,
    [data-action="add-to-basket"] {
        background: linear-gradient(to right, #0095ff, #21e6ed);
        color: #051628;
        font-weight: bold;
        font-family: 'Orbitron', sans-serif;
        box-shadow: 0 4px 15px rgba(33, 230, 237, 0.3);
        transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
        display: inline-block;
        text-decoration: none;
        border: none;
        letter-spacing: 1px;
        position: relative;
        overflow: hidden;
        z-index: 1;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        text-align: center;
        cursor: pointer;
    }

    .currency-dropdown-container {
    position: relative !important;
    z-index: 2147483646 !important;
}

/* CURRENCY DROPDOWN - Opens downward (fixed in JS) */
    #currency-menu {
    position: fixed !important;
    z-index: 2147483647 !important;
    background-color: #071a33 !important;
    border: 1px solid #21e6ed !important;
    border-radius: 10px !important;
    box-shadow: 0 0 15px rgba(33, 230, 237, 0.3) !important;
    min-width: 120px !important;
    transform: translateZ(0) !important;
    pointer-events: auto !important;
}

#currency-menu ul {
    padding: 8px 0 !important;
    margin: 0 !important;
}

#currency-menu ul li a,
#currency-menu ul li button.gxd-currency-option {
    display: block !important;
    padding: 10px 16px !important;
    color: white !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    font-weight: bold !important;
}

#currency-menu ul li a:hover,
#currency-menu ul li button.gxd-currency-option:hover {
    background-color: transparent !important;
    color: #21e6ed !important;
    transform: translateX(5px) !important;
}

    .cta-button::before, 
    .add-to-basket-button::before,
    [data-action="add-to-basket"]::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        transition: all 0.8s ease;
        z-index: -1;
    }

    .cta-button:hover, 
    .add-to-basket-button:hover,
    [data-action="add-to-basket"]:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(33, 230, 237, 0.5);
    }

    .cta-button:hover::before, 
    .add-to-basket-button:hover::before,
    [data-action="add-to-basket"]:hover::before {
        left: 100%;
    }

    .cta-button:active, 
    .add-to-basket-button:active,
    [data-action="add-to-basket"]:active {
        transform: translateY(-2px);
    }

    .cta-button:disabled, 
    .add-to-basket-button:disabled,
    [data-action="add-to-basket"]:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

    /* Basket Icon Styles */
    .basket-count {
        position: absolute;
        top: -8px;
        right: -8px;
        background: #21e6ed;
        color: #051628;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: bold;
        transition: all 0.3s ease;
    }

    .basket-count.animate-pulse {
        animation: basketPulse 1s ease-in-out;
    }

    @keyframes basketPulse {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.3);
        }
    }

    /* Loading Animation for Buttons */
    .loading-animation {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }

    .loading-dot {
        width: 6px;
        height: 6px;
        background-color: currentColor;
        border-radius: 50%;
        display: inline-block;
        animation: loading 1.4s infinite ease-in-out both;
    }

    .loading-dot:nth-child(1) {
        animation-delay: -0.32s;
    }

    .loading-dot:nth-child(2) {
        animation-delay: -0.16s;
    }

    @keyframes loading {
        0%, 80%, 100% { transform: scale(0); }
        40% { transform: scale(1.0); }
    }

    /* Notification styling */
    .notification-container {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 9999;
        max-width: 300px;
        transition: all 0.3s ease;
    }
    
    .notification {
        padding: 15px 20px;
        margin-bottom: 10px;
        border-radius: 8px;
        color: white;
        display: flex;
        align-items: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transform: translateX(100%);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .notification.show {
        transform: translateX(0);
        opacity: 1;
    }
    
    .notification.success {
        background-color: #071a33;
        border-left: 4px solid #21e6ed;
    }
    
    .notification.error {
        background-color: #071a33;
        border-left: 4px solid #ff006e;
    }
    
    .notification-icon {
        margin-right: 12px;
    }
    
    .notification-text {
        flex: 1;
    }

/* ==================== layout.html line 4498 ==================== */
/* Package: Description gallery + List/Grid toggle - FIXED v2.1 */
.gxd-desc-togglebar{
  display:flex;
  gap:8px;
  align-items:center;
  justify-content:flex-end;
  margin:0 0 16px 0;
  position:relative;
  z-index:5;
}
.gxd-desc-togglebar .gxd-toggle-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  border-radius:12px;
  font-weight:700;
  font-size:12px;
  letter-spacing:0.04em;
  text-transform:uppercase;
  background:linear-gradient(180deg, rgba(10, 22, 40, 0.75) 0%, rgba(7, 16, 32, 0.75) 100%);
  border:1px solid rgba(0, 200, 255, 0.28);
  color:rgba(235,252,255,0.82);
  cursor:pointer;
  user-select:none;
  transition:all 0.2s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}
.gxd-desc-togglebar .gxd-toggle-btn:hover{
  transform:translateY(-2px);
  background:linear-gradient(180deg, rgba(15, 35, 60, 0.85) 0%, rgba(10, 25, 45, 0.85) 100%);
  border-color:rgba(0, 240, 255, 0.48);
  color:#eaffff;
  box-shadow: 0 8px 25px rgba(0,0,0,0.35);
}
.gxd-desc-togglebar .gxd-toggle-btn.is-active{
  background:linear-gradient(135deg, rgba(0, 180, 255, 0.28) 0%, rgba(0, 255, 200, 0.18) 100%);
  border-color:rgba(0, 240, 255, 0.65);
  color:#eaffff;
  box-shadow: 0 8px 30px rgba(0,180,255,0.15), 0 0 20px rgba(0,240,255,0.08), inset 0 1px 0 rgba(255,255,255,0.1);
}
.gxd-desc-togglebar .gxd-toggle-btn svg,
.gxd-desc-togglebar .gxd-toggle-btn .gxd-ico{
  width:15px;height:15px;display:inline-block;opacity:.8;
  flex-shrink:0;
}
.gxd-desc-togglebar .gxd-toggle-btn.is-active svg,
.gxd-desc-togglebar .gxd-toggle-btn.is-active .gxd-ico{
  opacity:1;
}
.gxd-desc-togglebar.is-disabled .gxd-toggle-btn{
  pointer-events:none;
}
.gxd-desc-togglebar.is-hidden{
  display:none !important;
}

/* Gallery container - builds from description images */
.gxd-desc-gallery{
  margin: 20px 0 24px;
}
.gxd-desc-gallery.is-list{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.gxd-desc-gallery.is-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:14px;
}
@media (min-width: 1400px){
  .gxd-desc-gallery.is-grid{ grid-template-columns: repeat(5, minmax(0,1fr)); }
}
@media (max-width: 1200px){
  .gxd-desc-gallery.is-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 900px){
  .gxd-desc-gallery.is-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 640px){
  .gxd-desc-gallery.is-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 480px){
  .gxd-desc-gallery.is-grid{ grid-template-columns: 1fr; }
}

/* Description content images - always rounded */
.cyber-description img,
.gxd-description-content img,
#gxdDescContent img {
  border-radius: 16px !important;
  max-width: 100%;
  height: auto;
}

.gxd-desc-thumb{
  position:relative;
  display:block;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(0, 240, 255, 0.18);
  background:rgba(8,18,32,0.5);
  box-shadow: 0 16px 45px rgba(0,0,0,0.38);
  cursor:pointer;
  transition:all 0.25s ease;
  text-decoration:none;
}
.gxd-desc-thumb:hover{
  border-color:rgba(0, 240, 255, 0.48);
  transform:translateY(-3px);
  box-shadow: 0 22px 55px rgba(0,0,0,0.5), 0 0 30px rgba(0,180,255,0.08);
}
.gxd-desc-thumb img,
.gxd-desc-thumb .gxd-desc-media-img{
  display:block;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  min-width:0 !important;
  border-radius:16px;
}
.gxd-desc-thumb{
  min-width:0;
}
.gxd-desc-gallery.is-grid .gxd-desc-thumb img{
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.gxd-desc-thumb .gxd-thumb-overlay{
  position:absolute;
  inset:auto 14px 14px 14px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  pointer-events:none;
  opacity:0;
  transform:translateY(8px);
  transition:all 0.2s ease;
}
.gxd-desc-thumb:hover .gxd-thumb-overlay{ 
  opacity:1;
  transform:translateY(0);
}
.gxd-desc-thumb .gxd-thumb-chip{
  background:rgba(7,18,34,0.88);
  border:1px solid rgba(0,240,255,0.38);
  color:#eaffff;
  font-size:11px;
  font-weight:700;
  letter-spacing:0.03em;
  padding:7px 14px;
  border-radius:999px;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

/* Package main media: HIDE fullscreen button - click image instead */
.open-lightbox,
button.open-lightbox,
a.open-lightbox {
  display: none !important;
}

/* Make main package images clickable with zoom cursor */
.main-media { position: relative; cursor: zoom-in; }
.main-media img,
.main-media video,
.product-main-image img,
.product-main-image video,
.media-slider img,
.media-slider video {
  cursor: zoom-in !important;
  transition: transform 0.3s ease;
}
.main-media:hover img,
.product-main-image:hover img {
  transform: scale(1.02);
}

/* Click hint on main media hover */
.main-media::after {
  content: '🔍 Click to expand';
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 10px 16px;
  background: rgba(7, 18, 34, 0.92);
  border: 1px solid rgba(0, 240, 255, 0.45);
  border-radius: 12px;
  color: #eaffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10;
  transform: translateY(4px);
}
.main-media:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* Modal (popup, not true fullscreen) */
.gxd-modal-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index:99999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.gxd-modal-backdrop.is-open{ display:flex; }
.gxd-modal{
  width:min(1200px, 96vw);
  max-height:min(92vh, 950px);
  background:linear-gradient(180deg, rgba(7, 18, 36, 0.98) 0%, rgba(4, 12, 26, 0.98) 100%);
  border:1px solid rgba(0, 240, 255, 0.28);
  border-radius:20px;
  overflow:hidden;
  box-shadow: 0 30px 100px rgba(0,0,0,0.65), 0 0 60px rgba(0, 180, 255, 0.08);
  display:flex;
  flex-direction:column;
}
.gxd-modal-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 18px;
  background:rgba(8, 16, 32, 0.65);
  border-bottom:1px solid rgba(0,240,255,0.12);
}
.gxd-modal-title{
  font-weight:800;
  font-size:14px;
  color:#eaffff;
  opacity:.92;
  letter-spacing:0.02em;
}
.gxd-modal-counter{
  font-size:13px;
  color:rgba(234, 255, 255, 0.6);
  font-weight:600;
  margin-left:auto;
  margin-right:16px;
}
.gxd-modal-close{
  border:1px solid rgba(0,240,255,0.22);
  background:rgba(10,22,40,0.65);
  color:#eaffff;
  width:40px;
  height:40px;
  border-radius:12px;
  cursor:pointer;
  font-size:18px;
  transition:all 0.2s ease;
}
.gxd-modal-close:hover{
  background:rgba(255, 80, 80, 0.25);
  border-color:rgba(255, 100, 100, 0.4);
  color:#ff8888;
}
.gxd-modal-body{
  position:relative;
  flex:1;
  padding:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:auto;
  min-height:400px;
}
.gxd-modal-body img, .gxd-modal-body video{
  max-width:100%;
  max-height:75vh;
  border-radius:16px;
  border:1px solid rgba(0,240,255,0.12);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.gxd-modal-nav{
  position:absolute;
  inset:0;
  pointer-events:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 14px;
}
.gxd-modal-nav button{
  pointer-events:auto;
  width:50px;
  height:50px;
  border-radius:14px;
  border:1px solid rgba(0,240,255,0.25);
  background:rgba(10,22,40,0.75);
  color:#eaffff;
  cursor:pointer;
  font-size:24px;
  transition:all 0.2s ease;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.gxd-modal-nav button:hover{
  background:rgba(0, 180, 255, 0.2);
  border-color:rgba(0, 240, 255, 0.5);
  transform:scale(1.05);
}

/* Modal thumbnail strip */
.gxd-modal-thumbs{
  display:flex;
  gap:10px;
  padding:14px 18px 18px;
  background:rgba(8, 16, 32, 0.5);
  border-top:1px solid rgba(0, 240, 255, 0.08);
  overflow-x:auto;
  justify-content:center;
}
.gxd-modal-thumb{
  flex:0 0 auto;
  width:72px;
  height:48px;
  border-radius:10px;
  overflow:hidden;
  border:2px solid rgba(255, 255, 255, 0.1);
  cursor:pointer;
  transition:all 0.2s ease;
  opacity:0.6;
  background:none;
  padding:0;
}
.gxd-modal-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:8px;
}
.gxd-modal-thumb:hover{
  opacity:0.9;
  border-color:rgba(0, 180, 255, 0.4);
}
.gxd-modal-thumb.is-active{
  opacity:1;
  border-color:rgba(0, 240, 255, 0.7);
  box-shadow:0 0 0 2px rgba(0, 240, 255, 0.2);
}

/* Responsive modal */
@media (max-width: 768px){
  .gxd-modal{ width:98vw; max-height:95vh; border-radius:16px; }
  .gxd-modal-body{ padding:14px; }
  .gxd-modal-nav button{ width:42px; height:42px; font-size:20px; }
  .gxd-modal-thumbs{ padding:10px 12px 14px; }
  .gxd-modal-thumb{ width:60px; height:40px; }
}

/* ==================== layout.html line 4866 ==================== */
/* Keep desktop layout unchanged on wide screens; fix overlap on narrower desktop/tablet widths */
@media (max-width: 1400px) {
  .gxd-desktop-nav {
    display: grid !important;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .gxd-nav-logo {
    width: auto !important;
    padding-left: clamp(12px, 2vw, 24px);
  }

  /* Center nav becomes normal flow so it can wrap instead of overlapping logo/actions */
  .gxd-nav-links {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    translate: none !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    white-space: normal !important;
    gap: clamp(8px, 1vw, 18px) !important;
    padding: 0 clamp(10px, 1.5vw, 18px) !important;
  }

  .gxd-nav-links a,
  .gxd-nav-links button {
    font-size: clamp(14px, 1.05vw, 20px) !important;
    line-height: 1.15 !important;
  }

  .gxd-nav-actions {
    width: auto !important;
    min-width: 110px !important;
    padding-right: clamp(12px, 2vw, 24px);
  }

  .gxd-nav-actions > div {
    width: auto !important;
  }

  /* Make basket/login buttons stay consistent when resizing */
  .gxd-action-btn {
    width: clamp(34px, 2.6vw, 44px) !important;
    height: clamp(34px, 2.6vw, 44px) !important;
    flex: 0 0 auto !important;
  }
}

/* Extra safety: never allow the nav container to clip dropdown menus */
.gxd-nav-links,
.nav-dropdown-container {
  overflow: visible !important;
}

/* Mobile dropdowns must push items down (no overlay) */
@media (max-width: 768px) {
  #navbar-default [id^="mobile-menu-"] {
    position: static !important;
    width: 100% !important;
    inset: auto !important;
    transform: none !important;
  }

  /* Mobile: use hamburger only (hide desktop link row) */
  .gxd-nav-links {
    display: none !important;
  }

  /* Mobile: keep header layout stable */
  .gxd-desktop-nav {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
  }

  /* Mobile: make basket/login buttons bigger and easier to tap */
  .gxd-nav-actions {
    min-width: 140px !important;
    padding-right: 12px !important;
  }

  .gxd-action-btn {
    width: clamp(46px, 12vw, 58px) !important;
    height: clamp(46px, 12vw, 58px) !important;
  }

  .gxd-action-btn i {
    font-size: 22px !important;
    line-height: 1 !important;
  }

  .gxd-action-btn svg {
    width: 22px !important;
    height: 22px !important;
  }
}

/* Fallback: if any logo image fails to load, swap to store.logo and enforce a circular presentation */
.gxd-force-logo-circle {
  border-radius: 9999px !important;
  object-fit: contain !important;
  background: rgba(255,255,255,0.02);
}

/* ===== GXD Mobile Header Layout Fixes (v6) ===== */
@media (max-width: 900px) {
  /* Force-hide desktop nav on mobile/tablet widths (Tailwind max-md may not be active) */
  .gxd-desktop-nav { display: none !important; }

  /* Mobile nav container spacing */
  .gxd-main-nav > div { padding-left: 12px !important; padding-right: 12px !important; padding-top: 10px !important; padding-bottom: 10px !important; }

  /* 3-column mobile header: brand (left) + actions (right), with title filling the middle */
  .gxd-mobile-bar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .gxd-mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    cursor: pointer;
  }

  .gxd-mobile-logo {
    width: 44px !important;
    height: 44px !important;
    border-radius: 9999px !important;
    object-fit: cover !important;
    flex: 0 0 auto !important;
  }

  .gxd-mobile-center-title {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: #ffffff;
    font-size: clamp(14px, 4.2vw, 18px);
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 8px;
  }

  /* kept for safety if anything references it */
  .gxd-mobile-title { display: none !important; }

  .gxd-mobile-center-title {
    display: block;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #ffffff;
    font-size: clamp(14px, 4.2vw, 18px);
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 52vw;
  }

  .gxd-mobile-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 0 auto;
  }

  /* Move hamburger next to basket/login and size it like an icon button */
  .gxd-mobile-menu-btn {
    width: clamp(54px, 14vw, 66px) !important;
    height: clamp(54px, 14vw, 66px) !important;
    border-radius: 9999px !important;
    border: 1px solid #3E3E3E !important;
    background: rgba(0,0,0,0.20) !important;
    padding: 0 !important;
  }
  .gxd-mobile-menu-btn svg { width: 26px !important; height: 26px !important; }

  /* Bigger basket + account buttons (tap-friendly) */
  .gxd-mobile-icon {
    width: clamp(54px, 14vw, 66px) !important;
    height: clamp(54px, 14vw, 66px) !important;
    border-radius: 9999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
  }
  .gxd-mobile-icon svg { width: 26px !important; height: 26px !important; }

  /* Ensure the basket count badge stays positioned correctly on larger mobile buttons */
  .gxd-mobile-basket .absolute.inline-flex {
    transform: translate(25%, -25%);
  }
}

@media (min-width: 901px) { .gxd-main-nav { display: none !important; } }

/* ==================== layout.html line 5079 ==================== */
/* Mobile performance: reduce expensive paints (blur/shadows/animations) */
@media (max-width: 900px){
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    filter: none !important;
  }
  /* Stop animations on mobile — 0.001ms trick still fires frames; none does not */
  .hex-pattern,
  .glow-top,
  .glow-center,
  .animate-text-glow,
  .animate-pulse-slow,
  .animate-pulse-slower,
  .animate-ping-slow,
  .animate-float,
  .animate-blink,
  .nav-particle,
  .category-card-button::before {
    animation: none !important;
    transition: color 0.15s ease, border-color 0.15s ease !important;
  }
  /* Kill heavy shadows on mobile */
  .shadow, .shadow-sm, .shadow-md, .shadow-lg, .shadow-xl, .shadow-2xl,
  [class*="shadow"]{
    box-shadow: none !important;
  }
  /* Make sticky/fixed header cheaper to paint */
  .gxd-mobile-bar, .gxd-main-nav, .gxd-navmenu{
    background: rgba(3, 15, 28, 0.96) !important;
    box-shadow: none !important;
  }
  /* Disable snow/particle overlays */
  #snow, .snow, .snowflake, .snowflakes, [id*="snow"], [class*="snow"],
  .blue-background-overlay, .tech-grid-overlay {
    display: none !important;
  }
}
@media (prefers-reduced-motion: reduce){
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ==================== layout.html line 5128 ==================== */
html { scrollbar-gutter: stable both-edges; }
body { min-width: 0; }
.gxd-desktop-nav { width: 100% !important; min-height: 88px !important; height: 88px !important; position: relative !important; }
.gxd-main-nav { width: 100% !important; }
.gxd-nav-logo { width: auto !important; min-width: 0; }
.gxd-nav-logo img { display: block; max-width: 100%; height: auto; }
.gxd-nav-links { position: absolute !important; left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important; display: flex; align-items: center; justify-content: center; gap: 1rem; overflow: visible; }
.site-navigation, .site-navigation a, .site-navigation button { white-space: nowrap; }
.gxd-page-shell { position: relative; width: 100%; }
.gxd-page-main { position: relative; z-index: 10; width: 100%; min-width: 0; min-height: calc(100vh - 220px); }
@media (min-width: 1201px) {
  .gxd-left-rail {
    position: fixed !important;
    left: 18px !important;
    top: 148px !important;
    width: 320px !important;
    max-height: calc(100vh - 172px) !important;
    overflow: auto !important;
    padding-right: 6px !important;
    z-index: 60 !important;
  }
  .gxd-store-sidebar,
  #gxd-store-sidebar {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    max-height: none !important;
    overflow: visible !important;
    transform: none !important;
  }
}
@media (max-width: 1400px) {
  .gxd-nav-links {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
  }
}
@media (max-width: 1200px) {
  .gxd-left-rail,
  .gxd-store-sidebar,
  #gxd-store-sidebar,
  #gxd-modules-toggle { display: none !important; }
}
body.gxd-modules-collapsed .gxd-left-rail,
body.gxd-modules-collapsed .gxd-store-sidebar,
body.gxd-modules-collapsed #gxd-store-sidebar {
  transform: translateX(calc(-100% - 32px)) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ==================== GXD nav techline (restored from legacy, optimized) ====================
   Legacy version animated `left` (layout property -> main-thread reflow every frame).
   This version is compositor-only: transform translateX on a tiny 2px strip,
   contained, pointer-transparent, hidden for reduced-motion users. */
.gxd-nav-techline{
  position:absolute; left:0; right:0; bottom:0; height:2px;
  overflow:hidden; pointer-events:none; z-index:1; contain:strict;
}
.gxd-nav-techline::before{
  content:""; position:absolute; top:0; left:0; height:100%; width:34%;
  background:linear-gradient(90deg, transparent, rgba(33,230,237,.55), transparent);
  transform:translateX(-110%);
  animation:gxd-techline-sweep 12s linear infinite;
  will-change:transform;
}
@keyframes gxd-techline-sweep{ to{ transform:translateX(420%); } }
@media (prefers-reduced-motion: reduce){ .gxd-nav-techline{ display:none; } }