
/* Button base styles */
button {
  border: 1px solid;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 2px;
  font-weight: 600;
  line-height: 1.4;
  position: relative;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0 30px;
  height: 42px;
  font-size: 12px;
  border-radius: var(--radius-small);
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFF;
  transition: all var(--transition-fast);
}

button:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #FFF;
}

/* Input styles */
input[type="text"] {
  background-color: white;
  font-family: inherit;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: none;
  color: var(--color-text);
  display: block;
  font-size: 100%;
  margin: 0;
  padding: 0.48276em;
  height: 42px;
  width: 100%;
}

input[type="text"]:focus {
  background: var(--color-bg-light);
  outline: none;
}

/* Label styles */
label {
  font-size: 1em;
  color: #000000;
  cursor: pointer;
  display: block;
  font-weight: 800;
  margin-bottom: 0.2069em;
}

/* Close button styles */
.nasa-stclose {
  
  width: 36px;
  height: 36px;
  display: inline-block;
  font-size: 0;
  color: transparent;
  border-radius: var(--radius-circle);
  transition: all var(--transition-fast);
}

.nasa-stclose::before,
.nasa-stclose::after {
  content: "";
  width: 16px;
  height: 0;
  position: absolute;
  top: 17px;
  left: 10px;
  border-top: 1px solid var(--color-text);
}

.nasa-stclose::before {
  transform: rotate(-45deg);
}

.nasa-stclose::after {
  transform: rotate(45deg);
}

.nasa-stclose:hover {
  background: var(--color-bg-hover);
}


/* Search Component Styles */
.nasa-search {
  position: relative;
}

.nasa-search-space {
  position: static;
  min-width: 25px;
  width: 100%;
  top: 0;
}

/* Search Form Base Styles */
.nasa-show-search-form {
  z-index: 102;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.nasa-show-search-form form {
  margin-bottom: 0;
  position: relative;
}

.nasa-show-search-form input[name="s"] {
  margin: 0;
  border: none;
  background: transparent;
  height: 44px;
  padding: 0 10px;
  font-size: 100%;
}

.nasa-show-search-form input[name="s"]:focus {
  background: none;
}

.nasa-show-search-form input[name="s"]::placeholder {
  color: var(--color-placeholder);
  opacity: 1;
}

/* Search Icon/Submit Button */
.nasa-icon-submit-page {
  text-transform: capitalize;
  position: absolute;
  left: 0;
  top: 0;
  padding: 0;
  width: 45px;
  height: 100%;
  overflow: hidden;
  background: none;
  border: none;
}

.nasa-icon-submit-page:hover {
  border-color: transparent;
}

.nasa-icon-submit-page::before {
  font-family: "nasa-font";
  content: "\57";
  display: none;
}

.nasa-icon-submit-page > svg,
.nasa-icon-submit-page::before {
  color: #555;
  position: absolute;
  top: 50%;
  right: 0;
  font-size: 180%;
  cursor: pointer;
  transform: translateY(-50%);
}

/* Replace icon font with SVG */
.nasa-icon-submit-page .nasa-submit-search::after {
  content: "";
  display: none;
  position: absolute;
  top: 50%;
  right: 15px;
  width: 1em;
  height: 1em;
  transform: translateY(-50%);
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M15.5 14h-.79l-.28-.27a6.5 6.5 0 0 0 1.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 0 0-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 0 0 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M15.5 14h-.79l-.28-.27a6.5 6.5 0 0 0 1.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 0 0-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 0 0 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Modern fallback for browsers not supporting mask */
@supports not (-webkit-mask: none) {
  .nasa-icon-submit-page .nasa-submit-search::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23555' d='M15.5 14h-.79l-.28-.27a6.5 6.5 0 0 0 1.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 0 0-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 0 0 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") no-repeat center / contain;
    -webkit-mask: none;
    mask: none;
  }
}

/* Close Button in Search */
.nasa-close-search {
  visibility: hidden;
  opacity: 0;
  transition: all var(--transition-medium);
}

.nasa-show-search-form .nasa-close-search {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

/* Modern Search Layout */
.nasa-modern-layout {
  background: #fff;
  width: 100%;
  min-height: 235px;
  max-height: 95%;
  overflow-y: auto;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
  border-radius: 0;
  box-shadow: 0 4px 4px 1px rgba(0, 0, 0, 0.1);
  transform: translateY(-100%);
  transition: all var(--transition-slow);
}

.nasa-modern-layout.nasa-show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}


















/* Button base styles */
button {
  border: 1px solid;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 2px;
  font-weight: 600;
  line-height: 1.4;
  position: relative;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0 30px;
  height: 42px;
  font-size: 12px;
  border-radius: var(--radius-small);
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFF;
  transition: all var(--transition-fast);
}

button:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #FFF;
}

/* Input styles */
input[type="text"] {
  background-color: white;
  font-family: inherit;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: none;
  color: var(--color-text);
  display: block;
  font-size: 100%;
  margin: 0;
  padding: 0.48276em;
  height: 42px;
  width: 100%;
}

input[type="text"]:focus {
  background: var(--color-bg-light);
  outline: none;
}

/* Label styles */
label {
  font-size: 1em;
  color: #000000;
  cursor: pointer;
  display: block;
  font-weight: 800;
  margin-bottom: 0.2069em;
}

/* Close button styles */
.nasa-stclose {
  
  width: 36px;
  height: 36px;
  display: inline-block;
  font-size: 0;
  color: transparent;
  border-radius: var(--radius-circle);
  transition: all var(--transition-fast);
}

.nasa-stclose::before,
.nasa-stclose::after {
  content: "";
  width: 16px;
  height: 0;
  position: absolute;
  top: 17px;
  left: 10px;
  border-top: 1px solid var(--color-text);
}

.nasa-stclose::before {
  transform: rotate(-45deg);
}

.nasa-stclose::after {
  transform: rotate(45deg);
}

.nasa-stclose:hover {
  background: var(--color-bg-hover);
}


/* Search Component Styles */
.nasa-search {
  position: relative;
}

.nasa-search-space {
  position: static;
  min-width: 25px;
  width: 100%;
  top: 0;
}

/* Search Form Base Styles */
.nasa-show-search-form {
  z-index: 102;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.nasa-show-search-form form {
  margin-bottom: 0;
  position: relative;
}

.nasa-show-search-form input[name="s"] {
  margin: 0;
  border: none;
  background: transparent;
  height: 44px;
  padding: 0 10px;
  font-size: 100%;
}

.nasa-show-search-form input[name="s"]:focus {
  background: none;
}

.nasa-show-search-form input[name="s"]::placeholder {
  color: var(--color-placeholder);
  opacity: 1;
}

/* Search Icon/Submit Button */
.nasa-icon-submit-page {
  text-transform: capitalize;
  position: absolute;
  left: 0;
  top: 0;
  padding: 0;
  width: 45px;
  height: 100%;
  overflow: hidden;
  background: none;
  border: none;
}

.nasa-icon-submit-page:hover {
  border-color: transparent;
}

.nasa-icon-submit-page::before {
  font-family: "nasa-font";
  content: "\57";
  display: none;
}

.nasa-icon-submit-page > svg,
.nasa-icon-submit-page::before {
  color: #555;
  position: absolute;
  top: 50%;
  right: 0;
  font-size: 180%;
  cursor: pointer;
  transform: translateY(-50%);
}

/* Replace icon font with SVG */
.nasa-icon-submit-page .nasa-submit-search::after {
  content: "";
  display: none;
  position: absolute;
  top: 50%;
  right: 15px;
  width: 1em;
  height: 1em;
  transform: translateY(-50%);
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M15.5 14h-.79l-.28-.27a6.5 6.5 0 0 0 1.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 0 0-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 0 0 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M15.5 14h-.79l-.28-.27a6.5 6.5 0 0 0 1.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 0 0-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 0 0 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Modern fallback for browsers not supporting mask */
@supports not (-webkit-mask: none) {
  .nasa-icon-submit-page .nasa-submit-search::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23555' d='M15.5 14h-.79l-.28-.27a6.5 6.5 0 0 0 1.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 0 0-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 0 0 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") no-repeat center / contain;
    -webkit-mask: none;
    mask: none;
  }
}

/* Close Button in Search */
.nasa-close-search {
  visibility: hidden;
  opacity: 0;
  transition: all var(--transition-medium);
}

.nasa-show-search-form .nasa-close-search {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

/* Modern Search Layout */
.nasa-modern-layout {
  background: #fff;
  width: 100%;
  min-height: 235px;
  max-height: 95%;
  overflow-y: auto;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
  border-radius: 0;
  box-shadow: 0 4px 4px 1px rgba(0, 0, 0, 0.1);
  transform: translateY(-100%);
  transition: all var(--transition-slow);
}

.nasa-modern-layout.nasa-show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
















.nasa-modern-layout .nasa-close-search {
  all: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 900;
  color: var(--wilddragon-secondary-dark);
  background-color: #fff;
  border: 2px solid var(--wilddragon-secondary-dark);
  box-shadow:
    0.1em 0.1em 0 #000,
    0 4px 12px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
  z-index: 999;
}

/* Centered “×” using pseudo-element */
.nasa-modern-layout .nasa-close-search::before {
  content: "×";
  font-size: 20px;
  color: inherit;
  line-height: 1;
  display: block;
}

/* Hover effect */
.nasa-modern-layout .nasa-close-search:hover {
  background-color: var(--wilddragon-secondary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow:
    0.15em 0.15em 0 #000,
    0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Active (click) effect */
.nasa-modern-layout .nasa-close-search:active {
  transform: translateY(0);
  box-shadow:
    0.05em 0.05em 0 #000,
    0 2px 6px rgba(0, 0, 0, 0.2);
}












.nasa-modern-layout form {
  padding: 60px 10px 0;
  text-align: center;
}

.nasa-modern-layout input[name="s"] {
  border: none;
  border-bottom: 1px solid #e3e7e8;
  background: transparent;
  padding: 0;
  font-size: 200%;
  font-weight: 600;
  max-width: 800px;
  height: 70px;
  line-height: 80px;
  margin: 0 auto;
  border-radius: 0;
}

.nasa-modern-layout input[name="s"]::placeholder {
  color: #c5c5c5;
}

.nasa-modern-layout input[name="s"]:focus {
  border-color: var(--color-text);
}

.nasa-modern-layout .nasa-icon-submit-page {
  display: block;
  position: absolute;
  top: 60px;
  visibility: hidden;
  opacity: 0;
  z-index: 10;
  width: 40px;
  height: 70px;
  cursor: default;
}

.nasa-modern-layout .nasa-icon-submit-page::before {
  left: 0;
  right: -5px;
  bottom: 0;
  font-size: 30px;
  height: 30px;
  color: #666;
  cursor: inherit;
}

.nasa-modern-layout .nasa-icon-submit-page > svg {
  height: 30px;
  width: 30px;
}

/* Hidden Elements */
.hidden-tag {
  display: none;
}

.nasa-over-hide {
  overflow: hidden;
}

.nasa-over-hide.nasa-show-search-form {
  width: 0%;
  opacity: 0;
  visibility: hidden;
  z-index: 10;
}

.nasa-over-hide.nasa-show-search-form.nasa-show {
  visibility: visible;
  width: 100%;
  overflow: inherit;
  opacity: 1;
  z-index: 299;
}



.nasa-over-hide.nasa-show-search-form .nasa-icon-submit-page {
  display: none;
}

/* Responsive Styles */
@media (max-width: 767px) {
  body input {
    font-size: 16px;
  }
  
  .nasa-hide-for-mobile {
    display: none;
  }
}


/* Theme-Specific Overrides */
body a:hover {
  color: var(--color-primary);
}

body button:hover {
  background-color: var(--color-primary-hover);
}

body button {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFF;
}

body button:hover,
body * button:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #FFF;
}

/* Remove border-radius for flat design */
body button:not(.reset_variations),
body input[type="text"] {
  border-radius: 0;
}

/* Header-specific adjustments */
.header-type-1 .nasa-search-space {
  top: 0;
}

/* Recovery guard: search must always sit above home/category tabs and must not stay half-open. */
html body .nasa-search-space,
html body .search-dropdown {
  position: static;
}

html body .nasa-show-search-form,
html body .nasa-modern-layout,
html body .nasa-over-hide.nasa-show-search-form.nasa-modern-layout,
html body .warpper-mobile-search {
  z-index: 2147482600 !important;
}

html body .nasa-over-hide.nasa-show-search-form.nasa-modern-layout:not(.nasa-show):not(.nasa-active),
html body .warpper-mobile-search:not(.nasa-active):not(.nasa-show) {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html body .nasa-over-hide.nasa-show-search-form.nasa-modern-layout.nasa-show,
html body .nasa-over-hide.nasa-show-search-form.nasa-modern-layout.nasa-active,
html body .warpper-mobile-search.nasa-active,
html body .warpper-mobile-search.nasa-show {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

@media (max-width: 767px) {
  html body .warpper-mobile-search {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    padding: calc(env(safe-area-inset-top, 0px) + 12px) 12px 12px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid rgba(17, 17, 20, 0.08) !important;
    box-shadow: 0 16px 40px rgba(17, 17, 20, 0.12) !important;
    transform: translateY(-100%) !important;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease !important;
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
  }

  html body .warpper-mobile-search.nasa-active,
  html body .warpper-mobile-search.nasa-show {
    transform: translateY(0) !important;
  }

  html body .warpper-mobile-search .search-wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 8px;
    align-items: center;
    width: 100%;
  }

  html body .warpper-mobile-search form,
  html body .warpper-mobile-search .twitter-typeahead,
  html body .warpper-mobile-search .live-search-input,
  html body .warpper-mobile-search input.search-input,
  html body .warpper-mobile-search .search-field {
    width: 100% !important;
    min-width: 0 !important;
  }

  html body .warpper-mobile-search .search-field,
  html body .warpper-mobile-search input[name="s"] {
    height: 50px !important;
    padding: 0 16px !important;
    border: 1px solid #e7e8ee !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #111114 !important;
    box-shadow: 0 8px 22px rgba(17, 17, 20, 0.08) !important;
    font-size: 16px !important;
    font-weight: 650 !important;
    letter-spacing: 0 !important;
  }

  html body .warpper-mobile-search .nasa-close-search-mobile {
    display: grid !important;
    place-items: center;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #111114 !important;
    color: #fff !important;
    box-shadow: 0 10px 26px rgba(17, 17, 20, 0.18) !important;
  }
}

#gender-tabs-container,
.home-gender-wrapper,
.wd-style-tabs,
.wd-fit-switch__track {
  z-index: 20;
}

/* WildDragon 2026 active Typeahead search results */
body .nasa-modern-layout .twitter-typeahead {
  display: block !important;
  width: 100% !important;
  position: relative !important;
}

body .nasa-modern-layout input.tt-hint {
  display: none !important;
}

body .nasa-modern-layout .tt-menu {
  left: 0 !important;
  right: 0 !important;
  top: calc(100% + 12px) !important;
  width: 100% !important;
  max-height: min(430px, calc(100vh - 210px));
  overflow: auto;
  padding: 6px !important;
  border: 1px solid var(--wd-search-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(17, 17, 20, 0.16);
  text-align: left;
  z-index: 20 !important;
  overscroll-behavior: contain;
}

body .nasa-modern-layout .tt-menu .tt-dataset,
body .nasa-modern-layout .tt-menu .item-search {
  width: 100%;
}

body .nasa-modern-layout .tt-menu .item-search {
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #f0f1f5 !important;
}

body .nasa-modern-layout .tt-menu .item-search:last-child {
  border-bottom: 0 !important;
}

body .nasa-modern-layout .tt-menu .item-search a {
  display: grid !important;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  width: 100%;
  min-height: 96px;
  padding: 12px 14px !important;
  color: var(--wd-search-ink);
  text-decoration: none;
  overflow: hidden;
  border-radius: 6px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body .nasa-modern-layout .tt-menu .item-search a:hover,
body .nasa-modern-layout .tt-menu .tt-cursor a {
  background: var(--wd-search-soft) !important;
  color: var(--wd-search-ink);
}

body .nasa-modern-layout .tt-menu .item-search a img {
  float: none !important;
  width: 72px !important;
  height: 86px !important;
  max-width: 72px !important;
  margin: 0 !important;
  object-fit: cover;
  border-radius: 6px;
  background: #f5f5f7;
}

body .nasa-modern-layout .tt-menu .item-search a .nasa-item-title-search,
body .nasa-modern-layout .tt-menu .item-search a .nasa_item_title_search {
  float: none !important;
  min-width: 0;
  margin: 0 !important;
}

body .nasa-modern-layout .tt-menu .item-search a p,
body .nasa-modern-layout .tt-menu .item-search a .nasa-title-item {
  margin: 0 0 6px !important;
  padding: 0 !important;
  overflow: hidden;
  color: var(--wd-search-ink) !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .nasa-modern-layout .tt-menu .item-search a .price {
  display: flex !important;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: baseline;
  width: auto !important;
  margin: 0 !important;
  color: var(--wd-search-accent) !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 700;
  line-height: 1.25 !important;
  text-align: left !important;
}

body .nasa-modern-layout .tt-menu .item-search a .price .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body .nasa-modern-layout .tt-menu .item-search a .price del,
body .nasa-modern-layout .tt-menu .item-search a .price ins {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}

body .nasa-modern-layout .tt-menu .item-search a .price del {
  color: #7d828c !important;
  font-weight: 600;
  text-decoration-thickness: 1px;
}

body .nasa-modern-layout .tt-menu .item-search a .price ins {
  color: var(--wd-search-accent) !important;
  font-weight: 800;
  text-decoration: none;
}

body .nasa-modern-layout .tt-menu .item-search a .price .amount {
  white-space: nowrap;
}

body .nasa-modern-layout .tt-menu .empty-message,
body .nasa-modern-layout .tt-menu .nasa-live-search-loader {
  margin: 0;
  padding: 18px 16px;
  color: var(--wd-search-muted);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  text-align: left;
}

@media (max-width: 767px) {
  body .nasa-modern-layout .tt-menu .item-search a {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 11px;
    min-height: 78px;
    padding: 10px !important;
  }

  body .nasa-modern-layout .tt-menu .item-search a img {
    width: 56px !important;
    height: 70px !important;
    max-width: 56px !important;
  }

  body .nasa-modern-layout .tt-menu .item-search a p,
  body .nasa-modern-layout .tt-menu .item-search a .nasa-title-item {
    font-size: 14px !important;
  }

  body .nasa-modern-layout .tt-menu .item-search a .price {
    font-size: 13px !important;
  }
}

/* WildDragon 2026 search overlay refresh */
:root {
  --wd-search-accent: #7b3fc6;
  --wd-search-accent-dark: #5d2fa3;
  --wd-search-ink: #111114;
  --wd-search-muted: #737780;
  --wd-search-line: #e7e8ee;
  --wd-search-surface: #ffffff;
  --wd-search-soft: #f7f7fb;
  --wd-search-shadow: 0 22px 70px rgba(17, 17, 20, 0.14);
}

body .nasa-search-space .nasa-show-search-form.nasa-modern-layout {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  width: 100% !important;
  min-height: min(390px, 82vh) !important;
  max-height: 100vh !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(17, 17, 20, 0.08);
  box-shadow: var(--wd-search-shadow);
  transform: none !important;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}

body .nasa-over-hide.nasa-show-search-form.nasa-modern-layout {
  overflow: hidden !important;
}

body .nasa-over-hide.nasa-show-search-form.nasa-modern-layout.nasa-show {
  overflow: visible !important;
}

body .nasa-modern-layout > .search-wrapper {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

body .nasa-modern-layout form {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(86px, 9vw, 112px) 0 36px !important;
  position: relative;
  text-align: left;
}

body .nasa-modern-layout input[name="s"] {
  width: 100% !important;
  max-width: none !important;
  height: 64px !important;
  margin: 0 !important;
  padding: 0 78px 0 22px !important;
  border: 1px solid var(--wd-search-line) !important;
  border-radius: 8px !important;
  background: var(--wd-search-surface) !important;
  color: var(--wd-search-ink) !important;
  box-shadow: 0 14px 38px rgba(17, 17, 20, 0.08);
  font-size: clamp(22px, 2.35vw, 34px) !important;
  font-weight: 760 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

body .nasa-modern-layout input[name="s"]::placeholder {
  color: #9a9da5 !important;
  opacity: 1;
}

body .nasa-modern-layout input[name="s"]:focus {
  background: #fff !important;
  border-color: rgba(123, 63, 198, 0.52) !important;
  outline: 3px solid rgba(123, 63, 198, 0.14) !important;
  outline-offset: 0;
  box-shadow: 0 18px 44px rgba(17, 17, 20, 0.12);
}

body .nasa-modern-layout .nasa-icon-submit-page {
  display: flex !important;
  align-items: center;
  justify-content: center;
  visibility: visible !important;
  opacity: 1 !important;
  position: absolute !important;
  top: calc(clamp(86px, 9vw, 112px) + 6px) !important;
  right: 6px !important;
  left: auto !important;
  width: 52px !important;
  height: 52px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 8px;
  background: var(--wd-search-ink) !important;
  color: #fff !important;
  cursor: pointer !important;
  overflow: hidden;
  z-index: 5;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

body .nasa-modern-layout .nasa-icon-submit-page:hover {
  background: var(--wd-search-accent) !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(123, 63, 198, 0.28);
}

body .nasa-modern-layout .nasa-icon-submit-page > svg {
  position: static !important;
  width: 22px !important;
  height: 22px !important;
  color: currentColor !important;
  transform: none !important;
  pointer-events: none;
}

body .nasa-modern-layout .nasa-icon-submit-page::before {
  content: none !important;
  display: none !important;
}

body .nasa-modern-layout .nasa-icon-submit-page .nasa-submit-search {
  display: block !important;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

body .nasa-modern-layout .nasa-close-search {
  all: unset;
  box-sizing: border-box;
  display: grid !important;
  place-items: center;
  position: fixed !important;
  top: 22px !important;
  right: 22px !important;
  width: 46px !important;
  height: 46px !important;
  border: 1px solid rgba(17, 17, 20, 0.12) !important;
  border-radius: 50%;
  background: #fff !important;
  color: var(--wd-search-ink) !important;
  box-shadow: 0 12px 32px rgba(17, 17, 20, 0.16);
  cursor: pointer;
  z-index: 50 !important;
  transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body .nasa-modern-layout .nasa-close-search::before,
body .nasa-modern-layout .nasa-close-search::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border: 0 !important;
  border-radius: 999px;
  background: currentColor;
  opacity: 1 !important;
  visibility: visible !important;
}

body .nasa-modern-layout .nasa-close-search::before {
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

body .nasa-modern-layout .nasa-close-search::after {
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}

body .nasa-modern-layout .nasa-close-search:hover {
  color: var(--wd-search-accent) !important;
  border-color: rgba(123, 63, 198, 0.35) !important;
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(17, 17, 20, 0.18);
}

body .wd-search-suggestions {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(clamp(86px, 9vw, 112px) + 74px);
  max-height: min(420px, calc(100vh - 210px));
  overflow: auto;
  border: 1px solid var(--wd-search-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(17, 17, 20, 0.14);
  z-index: 6;
}

body .wd-search-suggestions.is-open {
  display: block;
}

body .wd-search-suggestion,
body .wd-search-suggestion-state {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 12px 14px;
  color: var(--wd-search-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none;
  border-bottom: 1px solid #f0f1f5;
}

body .wd-search-suggestion:last-child {
  border-bottom: 0;
}

body .wd-search-suggestion:hover,
body .wd-search-suggestion:focus {
  background: var(--wd-search-soft);
  color: var(--wd-search-ink);
  outline: none;
}

body .wd-search-suggestion__image {
  width: 72px;
  height: 86px;
  border-radius: 6px;
  overflow: hidden;
  background: #f2f2f5;
}

body .wd-search-suggestion__image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

body .wd-search-suggestion__copy {
  display: block;
  min-width: 0;
  text-align: left;
}

body .wd-search-suggestion__title {
  display: block;
  overflow: hidden;
  color: var(--wd-search-ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: 0;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .wd-search-suggestion__price {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: baseline;
  margin-top: 6px;
  color: var(--wd-search-accent);
  font-family: inherit;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.25;
  text-align: left;
}

body .wd-search-suggestion__price .screen-reader-text,
body .wd-search-suggestion__price del {
  display: none !important;
}

body .wd-search-suggestion__price ins {
  color: var(--wd-search-accent) !important;
  font-weight: 800;
  text-decoration: none;
}

body .wd-search-suggestion__price .amount,
body .wd-search-suggestion__price .woocommerce-Price-amount {
  color: inherit;
  font: inherit;
  white-space: nowrap;
}

body .wd-search-suggestion-state {
  display: block;
  min-height: 58px;
  font-size: 15px;
  color: var(--wd-search-muted);
}

@media (max-width: 767px) {
  body .nasa-modern-layout .nasa-close-search {
    top: 14px !important;
    right: 14px !important;
    width: 42px !important;
    height: 42px !important;
  }
}











.nasa-modern-layout form {
  padding: 60px 10px 0;
  text-align: center;
}

.nasa-modern-layout input[name="s"] {
  border: none;
  border-bottom: 1px solid #e3e7e8;
  background: transparent;
  padding: 0;
  font-size: 200%;
  font-weight: 600;
  max-width: 800px;
  height: 70px;
  line-height: 80px;
  margin: 0 auto;
  border-radius: 0;
}

.nasa-modern-layout input[name="s"]::placeholder {
  color: #c5c5c5;
}

.nasa-modern-layout input[name="s"]:focus {
  border-color: var(--color-text);
}

.nasa-modern-layout .nasa-icon-submit-page {
  display: block;
  position: absolute;
  top: 60px;
  visibility: hidden;
  opacity: 0;
  z-index: 10;
  width: 40px;
  height: 70px;
  cursor: default;
}

.nasa-modern-layout .nasa-icon-submit-page::before {
  left: 0;
  right: -5px;
  bottom: 0;
  font-size: 30px;
  height: 30px;
  color: #666;
  cursor: inherit;
}

.nasa-modern-layout .nasa-icon-submit-page > svg {
  height: 30px;
  width: 30px;
}

/* Hidden Elements */
.hidden-tag {
  display: none;
}

.nasa-over-hide {
  overflow: hidden;
}

.nasa-over-hide.nasa-show-search-form {
  width: 0%;
  opacity: 0;
  visibility: hidden;
  z-index: 10;
}

.nasa-over-hide.nasa-show-search-form.nasa-show {
  visibility: visible;
  width: 100%;
  overflow: inherit;
  opacity: 1;
  z-index: 299;
}



.nasa-over-hide.nasa-show-search-form .nasa-icon-submit-page {
  display: none;
}

/* Responsive Styles */
@media (max-width: 767px) {
  body input {
    font-size: 16px;
  }
  
  .nasa-hide-for-mobile {
    display: none;
  }
}


/* Theme-Specific Overrides */
body a:hover {
  color: var(--color-primary);
}

body button:hover {
  background-color: var(--color-primary-hover);
}

body button {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFF;
}

body button:hover,
body * button:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #FFF;
}

/* Remove border-radius for flat design */
body button:not(.reset_variations),
body input[type="text"] {
  border-radius: 0;
}

/* Header-specific adjustments */
.header-type-1 .nasa-search-space {
  top: 0;
}
