/* LAIZO */
/*************** ANTI-FLASH: HIDE OLD HEADER ON DESKTOP INSTANTLY ***************/
@media (min-width: 1025px) {
  .nasa-header .header-middle,
  .nasa-header .header-main,
  .nasa-header .nasa-main-header,
  .nasa-header .nasa-wrap-center,
  .site-header .header-middle,
  .site-header .header-main,
  #header .header-middle,
  #header .header-main,
  .laizo-old-header-hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
}

/*************** ANNOUNCEMENT BAR ***************/
.laizo-announcement-bar {
  width: 100%;
  background: #f2f2f2;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
  font-family: inherit;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.laizo-announcement-track {
  display: inline-block;
  padding-left: 100%;
  animation: laizo-slide 40s linear infinite;
}

.laizo-announcement-bar:hover .laizo-announcement-track {
  animation-play-state: paused;
}

.laizo-announcement-item {
  display: inline-block;
  margin-right: 100px;
  font-size: 13px;
  font-weight: 300;
  color: #333;
  text-decoration: none;
  letter-spacing: 0.3px;
}

.laizo-announcement-item:hover {
  text-decoration: underline;
}

@keyframes laizo-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.laizo-announcement {
  width: 100%;
  height: 96px;
  background: #e5e5e5;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* ===== LAIZO FIX: single page scrollbar only =====
   IMPORTANT: do NOT set body overflow-x:hidden + overflow-y:visible —
   CSS computes visible→auto when the other axis is hidden, so body AND
   html both scroll (= thick “double” scrollbar). */
html {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #b5b5b5 transparent;
}

body {
  overflow: hidden !important; /* html is the only scrollport */
  height: auto !important;
  max-height: none !important;
}

/* Slimmer, cleaner scrollbar (Chromium / Safari) */
html::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb {
  background-color: #b5b5b5;
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: content-box;
}

html::-webkit-scrollbar-thumb:hover {
  background-color: #8f8f8f;
}

/* Kill sticky header placeholder that can flash a second scrollbar on load */
@media (min-width: 1025px) {
  body::before {
    content: none !important;
    display: none !important;
    height: 0 !important;
  }
}

/* ===== Homepage: theme New Arrivals full-width (match custom section) ===== */
body.home .elementor-element-537048e5 > .elementor-container {
  max-width: none !important;
  width: 100% !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

body.home .elementor-element-537048e5 .nasa-sc.products,
body.home .elementor-element-537048e5 .products.woocommerce {
  width: 100% !important;
  max-width: none !important;
}

/* Theme Foundation .row is hard-capped at 1200px — unlock it here */
body.home .elementor-element-537048e5 .nasa-sc.products > .row,
body.home .elementor-element-537048e5 .nasa-row-child-clear-none {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ===== Single product: full-width like homepage ===== */
body.single-product .nasa-product-details-page > .row,
body.single-product .nasa-product-details-page .row.focus-info,
body.single-product .related-product.row,
body.single-product .related.products.row {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

/* ===== Shop / Store / category archive: full-width ===== */
body.woocommerce-shop .row.fullwidth.category-page,
body.woocommerce-shop .row.nasa-store-page,
body.post-type-archive-product .row.fullwidth.category-page,
body.post-type-archive-product .row.nasa-store-page,
body.tax-product_cat .row.fullwidth.category-page,
body.tax-product_cat .row.nasa-store-page,
body.tax-product_tag .row.fullwidth.category-page,
body.tax-product_tag .row.nasa-store-page,
body.woocommerce.archive .row.fullwidth.category-page,
body.woocommerce.archive .row.nasa-store-page {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

body.woocommerce-shop .nasa-archive-product-content,
body.woocommerce-shop .nasa-archive-product-warp,
body.woocommerce-shop .nasa-content-page-products,
body.post-type-archive-product .nasa-archive-product-content,
body.post-type-archive-product .nasa-archive-product-warp,
body.post-type-archive-product .nasa-content-page-products,
body.tax-product_cat .nasa-archive-product-content,
body.tax-product_cat .nasa-archive-product-warp,
body.tax-product_cat .nasa-content-page-products,
body.tax-product_tag .nasa-archive-product-content,
body.tax-product_tag .nasa-archive-product-warp,
body.tax-product_tag .nasa-content-page-products,
body.woocommerce.archive .nasa-archive-product-content,
body.woocommerce.archive .nasa-archive-product-warp,
body.woocommerce.archive .nasa-content-page-products {
  width: 100% !important;
  max-width: none !important;
}

/* Top shop toolbar / filters row under #content */
body.woocommerce-shop #content > .row,
body.post-type-archive-product #content > .row,
body.tax-product_cat #content > .row,
body.tax-product_tag #content > .row,
body.woocommerce.archive #content > .row {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}


/* Hero: reserve space so page doesn't jump/blank while images load */
#laizoNikeHeroV2,
.laizo-nike-hero-v2 {
  overflow: hidden !important;
}

#laizoNikeHeroV2 .laizo-nike-v2-image img,
.laizo-nike-v2-image img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  display: block !important;
  background: #111;
}

/* ===== Premium centered slider controls ===== */
#laizoNikeHeroV2 .laizo-nike-v2-controls {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

#laizoNikeHeroV2 .laizo-nike-v2-pause,
#laizoNikeHeroV2 .laizo-nike-v2-prev,
#laizoNikeHeroV2 .laizo-nike-v2-next {
  position: relative !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  border: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
  overflow: hidden !important;
  cursor: pointer !important;
}

#laizoNikeHeroV2 .laizo-nike-v2-prev,
#laizoNikeHeroV2 .laizo-nike-v2-next {
  background: #2b2b2b !important;
  color: #fff !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.18) !important;
}

#laizoNikeHeroV2 .laizo-nike-v2-prev:hover,
#laizoNikeHeroV2 .laizo-nike-v2-next:hover {
  background: #111 !important;
}

#laizoNikeHeroV2 .laizo-nike-v2-prev .laizo-arrow-icon,
#laizoNikeHeroV2 .laizo-nike-v2-next .laizo-arrow-icon {
  width: 16px !important;
  height: 16px !important;
  display: block !important;
  fill: currentColor !important;
  stroke: none !important;
  flex-shrink: 0 !important;
  transform: none !important;
  position: static !important;
}

#laizoNikeHeroV2 .laizo-nike-v2-pause {
  background: transparent !important;
}

#laizoNikeHeroV2 .laizo-nike-v2-pause > svg {
  position: absolute !important;
  inset: 0 !important;
  width: 38px !important;
  height: 38px !important;
  display: block !important;
}

#laizoNikeHeroV2 .laizo-nike-v2-pause .laizo-icon {
  position: absolute !important;
  inset: 0 !important;
  width: 38px !important;
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #111 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  z-index: 2 !important;
}

/* WPCode applies absolute+rotate to ALL pause svgs — keep that on the ring only */
#laizoNikeHeroV2 .laizo-nike-v2-pause .laizo-icon svg,
#laizoNikeHeroV2 .laizo-nike-v2-pause .laizo-icon-pause,
#laizoNikeHeroV2 .laizo-nike-v2-pause .laizo-icon-play {
  position: static !important;
  inset: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: 12px !important;
  height: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  transform: none !important;
  pointer-events: none !important;
  fill: currentColor !important;
}

#laizoNikeHeroV2 .laizo-nike-v2-pause .laizo-icon-play {
  width: 13px !important;
  height: 13px !important;
  margin-left: 1px !important; /* optical center for triangle */
}

/* ===== Hero slider titles: sharp, not fat/blurry =====
   Theme style-font-weight-500.css forces all h2 to 500, and
   Jost 900 is not loaded — that made titles look soft and stretched. */
#laizoNikeHeroV2 .laizo-nike-v2-track,
.laizo-nike-hero-v2 .laizo-nike-v2-track {
  /* Avoid persistent layer promotion that softens large type */
  will-change: auto !important;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#laizoNikeHeroV2 .laizo-nike-v2-content,
.laizo-nike-hero-v2 .laizo-nike-v2-content {
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: geometricPrecision !important;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#laizoNikeHeroV2 .laizo-nike-v2-content h2,
.laizo-nike-hero-v2 .laizo-nike-v2-content h2 {
  font-family: "Jost", Arial, Helvetica, sans-serif !important;
  font-weight: 600 !important;
  font-synthesis: none !important;
  font-stretch: normal !important;
  font-size: 68px !important;
  letter-spacing: 0.01em !important;
  line-height: 1.1 !important;
  text-rendering: geometricPrecision !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-shadow: none !important;
  filter: none !important;
  transform: none !important;
  scale: none !important;
}

#laizoNikeHeroV2 .laizo-nike-v2-content p,
.laizo-nike-hero-v2 .laizo-nike-v2-content p {
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
  text-rendering: geometricPrecision !important;
  -webkit-font-smoothing: antialiased !important;
  opacity: 1 !important;
  color: #111 !important;
}

#laizoNikeHeroV2 .laizo-nike-v2-image img,
.laizo-nike-v2-image img {
  image-rendering: auto !important;
  -ms-interpolation-mode: bicubic;
}

@media (max-width: 767px) {
  #laizoNikeHeroV2 .laizo-nike-v2-content h2,
  .laizo-nike-hero-v2 .laizo-nike-v2-content h2 {
    font-size: 34px !important;
    letter-spacing: 0 !important;
    line-height: 1.12 !important;
    font-weight: 600 !important;
  }
}

/* Desktop only: wishlist drawer above sticky premium header (cart already boosted). */
@media (min-width: 1025px) {
  #nasa-wishlist-sidebar,
  #nasa-wishlist-sidebar.nasa-static-sidebar,
  #nasa-wishlist-sidebar.nasa-active {
    z-index: 999999 !important;
  }
}