.custom-google-btn {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1px solid #dadce0;
  border-radius: 10px;
  background: #fff;
  color: #3c4043;
  font:
    500 14px/1.2 system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    sans-serif;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.custom-google-btn:hover {
  background: #f8f9fa;
  border-color: #c6c6c6;
}

.custom-google-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.2);
}

.custom-google-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.custom-google-btn__text {
  white-space: nowrap;
}
.latest-cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* pushes price to right edge */
  gap: 8px;
  font-size: 14px;
  padding: 4px 0;
}

.latest-cart-thumb {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
}

.latest-cart-name {
  flex: 1;
  /* take available space */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.latest-cart-price {
  font-weight: 600;
  color: #333;
  margin-left: 8px;
}

/* ========== Top nav: menu & dropdowns ========== */
.nt-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  /* larger hover area */
}

.has-sub > .nt-link:hover {
  transform: none;
}

/* avoid jiggle on trigger */

.nt-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0;
  /* no gap */
  display: none;
  flex-direction: column;
  min-width: 180px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 1000;
}

.nt-item:hover .nt-submenu,
.nt-item:focus-within .nt-submenu,
.nt-submenu:hover {
  display: flex;
}

.nt-subitem {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  color: #222;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.nt-subitem:hover {
  background: #f7f7f7;
}

/* ========== Left cluster (logo + menu) ========== */
.nt-left {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0;
  min-width: 0;
}

.nt-logo-link { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; text-decoration: none; }
.nt-beta-badge { color: #34434c; background: #e9eef0; border-radius: 4px; padding: 3px 5px; font-size: 9px; font-weight: 600; line-height: 1.2; letter-spacing: .06em; }

.nt-logo {
  height: 40px;
  width: auto;
  display: block;
}

.nt-menu {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nt-link {
  font-size: 14px;
  font-weight: 500;
  color: #222;
  white-space: nowrap;
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.nt-link:hover {
  color: #000;
  transform: scale(1.05);
}

.nt-link:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.1);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ========== Middle (search-first) ========== */
.nt-middle {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: stretch;
  min-width: 220px;
  position: relative;
}

.nt-search {
  display: flex;
  align-items: center;
  justify-content: stretch;
  height: 46px;
  width: 100%;
}

.nt-middle > .nt-search:not(.nt-search-primary) {
  display: none;
}

.nt-search-shell {
  position: relative;
  width: 100%;
}

.nt-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  display: inline-flex;
  pointer-events: none;
  z-index: 1;
}

.nt-search-input {
  height: 100%;
  padding: 0 46px 0 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  width: 100%;
  max-width: none;
  background: #f1f1f1;
  color: #222;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.nt-search-input:focus {
  width: 100%;
  background: #fff;
  border-color: #dedede;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
  outline: none;
}

.nt-search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #666;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}

.nt-search-clear:hover,
.nt-search-clear:focus-visible {
  background: #ececec;
  color: #111;
  outline: none;
}

.nt-search-clear[hidden] {
  display: none !important;
}

.nt-search-panel[hidden] {
  display: none !important;
}

.nt-search-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
  border: 1px solid #e8e8e8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
  z-index: 2500;
}

.nt-search-discovery,
.nt-search-mode {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: nt-search-panel-fade 0.16s ease;
}

.nt-search-discovery[hidden],
.nt-search-mode[hidden] {
  display: none !important;
}

.nt-search-mode {
  gap: 14px;
}

@keyframes nt-search-panel-fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nt-search-panel__intro {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nt-search-panel__intro strong {
  color: #171717;
  font-size: 15px;
}

.nt-search-panel__intro span {
  color: #777;
  font-size: 13px;
}

.nt-search-panel__section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.nt-search-panel__section h3 {
  margin: 0 0 4px;
  color: #777;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nt-discovery-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.nt-discovery-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #ededed;
  border-radius: 16px;
  background: #fbfbfb;
  color: #222;
  text-decoration: none;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.nt-discovery-card:hover,
.nt-discovery-card:focus-visible {
  background: #fff;
  border-color: #dedede;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.nt-discovery-card__visual {
  position: relative;
  width: 64px;
  height: 58px;
  flex: 0 0 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.nt-discovery-card__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.nt-discovery-card__fallback {
  position: relative;
  z-index: 0;
}

.nt-discovery-card__visual--esports {
  background: linear-gradient(145deg, #1f2937, #4f46e5);
}

.nt-discovery-card__visual--basketball {
  background: linear-gradient(145deg, #552b13, #b65b22);
}

.nt-discovery-card__visual--moto {
  background: linear-gradient(145deg, #20332b, #24705b);
}

.nt-discovery-card__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.nt-discovery-card__body strong {
  color: #181818;
  font-size: 14px;
  line-height: 1.2;
}

.nt-discovery-card__body > span:not(.nt-discovery-card__chips) {
  color: #666;
  font-size: 12px;
  line-height: 1.3;
}

.nt-discovery-card__chips,
.nt-search-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nt-discovery-card__chips span,
.nt-search-chip-list a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  background: #fff;
  color: #444;
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}

.nt-search-chip-list a:hover,
.nt-search-chip-list a:focus-visible {
  border-color: #d6d6d6;
  background: #f7f7f7;
  color: #111;
  outline: none;
}

.nt-search-empty {
  color: #777;
  font-size: 12px;
  line-height: 1.4;
}

.nt-search-result-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nt-search-result-item {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 9px;
  border-radius: 10px;
  color: #222;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}

.nt-search-result-item:hover,
.nt-search-result-item:focus-visible {
  background: #f5f5f5;
  color: #111;
  outline: none;
}

.nt-search-panel {
  max-height: min(72vh, 620px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.nt-search-input::-webkit-search-cancel-button,
.nt-mobile-search-input::-webkit-search-cancel-button {
  display: none;
  -webkit-appearance: none;
}

.nt-search-assistant-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.nt-search-assistant-section {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
}

.nt-search-assistant-section h3 {
  margin: 0;
  padding: 3px 10px 5px;
  color: #777;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nt-search-assistant-row,
.nt-search-browse-all {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #202020;
  text-decoration: none;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.nt-search-assistant-row:hover,
.nt-search-assistant-row:focus-visible,
.nt-search-assistant-row.is-active,
.nt-search-browse-all:hover,
.nt-search-browse-all:focus-visible {
  background: #f3f3f3;
  color: #080808;
  outline: none;
}

.nt-search-assistant-row--primary {
  min-height: 42px;
  background: #f8f8f8;
  font-weight: 750;
}

.nt-search-assistant-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #ececec;
  color: #454545;
  font-size: 14px;
  font-weight: 800;
}

.nt-search-assistant-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.nt-search-assistant-copy strong,
.nt-search-assistant-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-search-assistant-copy strong {
  font-size: 13px;
  line-height: 1.25;
}

.nt-search-assistant-copy small {
  color: #737373;
  font-size: 11px;
  line-height: 1.3;
}

.nt-search-assistant-row--design {
  min-height: 54px;
}

.nt-search-assistant-thumb {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #ededed;
  border-radius: 9px;
  background: #f4f4f4;
  color: #777;
  font-size: 12px;
  font-weight: 800;
}

.nt-search-assistant-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nt-search-assistant-status {
  margin: 0;
  padding: 8px 10px 4px;
  color: #777;
  font-size: 12px;
  line-height: 1.4;
}

.nt-search-browse-all {
  width: fit-content;
  color: #505050;
  font-size: 13px;
  font-weight: 700;
}

.nt-search-panel__lower {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.nt-creator-discovery-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nt-creator-discovery-list a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px;
  border-radius: 12px;
  color: #222;
  text-decoration: none;
}

.nt-creator-discovery-list a:hover,
.nt-creator-discovery-list a:focus-visible {
  background: #f7f7f7;
  outline: none;
}

.nt-creator-avatar {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ececec;
  color: #333;
  font-size: 11px;
  font-weight: 800;
}

.nt-creator-avatar--image {
  overflow: hidden;
  background: #f0f0f0;
}

.nt-creator-avatar--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nt-creator-discovery-list small {
  display: block;
  margin-top: 1px;
  color: #777;
  font-size: 11px;
  line-height: 1.2;
}

/* ========== Right cluster (socials, cart, login) ========== */
.nt-right {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
}

.cart-wrap {
  position: relative;
  display: inline-block;
}

.cart-wrap.has-cart-count {
  margin-right: 4px;
}

.nt-cart {
  position: relative;
  /* anchor point for badge */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid transparent;
  color: #222;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.cart-widget {
  position: absolute;
  top: 110%;
  right: 0;
  width: 300px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 2000;
}

.cart-widget::before {
  content: "";
  position: absolute;
  top: -6px;
  /* overlap slightly with the widget */
  right: 14px;
  /* adjust to point near the cart */
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid #ddd;
  border-top: 1px solid #ddd;
  transform: rotate(45deg);
  box-shadow: -2px -2px 3px rgba(0, 0, 0, 0.05);
  z-index: -1;
  /* keeps it behind the widget so border radius still works */
}

.drop-it-cart:hover .cart-widget {
  display: block;
}

.cart-widget ul {
  margin: 8px 0;
  padding: 0;
  list-style: none;
}

.cart-widget li {
  font-size: 14px;
  margin: 4px 0;
}

.view-cart-btn {
  display: inline-block;
  background: #222;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
}

.view-cart-btn:hover {
  background: #444;
}

.cart-count {
  font-family: "MyFont-Light";

  position: absolute;
  top: -6px;
  right: -5px;
  background: black;
  color: rgb(255, 255, 255);
  font-size: 12px;
  font-weight: bold;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 50%;
  /* perfect circle */
  display: flex;
  align-items: center;
  /* vertical center */
  justify-content: center;
  /* horizontal center */
  z-index: 10;
}

.nt-cart:hover {
  transform: scale(1.05);
}

.nt-cart:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.1);
  outline-offset: 2px;
  border-radius: 8px;
}

.nt-login {
  font-size: 14px;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  height: 36px;
  cursor: pointer;
  line-height: 1;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.nt-login:hover {
  color: #000;
  transform: scale(1.05);
}

.nt-login:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.1);
  outline-offset: 2px;
  border-radius: 8px;
}

.user-avatar-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  line-height: 0;
}

.user-avatar-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: #f4f4f4;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.08);
  object-fit: cover;
  display: block;
}

/* Account dropdown (default hidden; JS may portal to <body>) */
.user-wrap {
  position: relative;
  display: inline-flex;
  /* flex instead of inline-block */
  align-items: center;
  /* vertical centering */
  height: 50px;
}

.user-menu {
  position: absolute;
  top: 100%;
  width: 250px;
  max-width: min(250px, calc(100vw - 16px));
  display: none;
  /* hidden by default */
  flex-direction: column;
  min-width: 180px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  z-index: 2000;
}

.user-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  /* place above menu */
  right: 16px;
  /* adjust to align with username */
  width: 21px;
  height: 21px;
  background: #fff;
  border-left: 1px solid #e5e5e5;
  border-top: 1px solid #e5e5e5;
  transform: rotate(45deg);
  /* makes it a diamond */
  z-index: -1;
  /* keep behind menu border */
}

.um-item {
  display: block;
  padding: 10px 12px;
  text-align: left;
  font-size: 14px;
  color: #222;
  background: #fff;
  border: 0;
  outline: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.um-item:hover {
  background: #f7f7f7;
}

.um-item:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.08);
  outline-offset: -2px;
}

.um-item.danger {
  color: #b00;
}

.um-item.danger:hover {
  background: #f6ecec;
}

/* ========== Responsive controls (burger, search icon, drawer) ========== */
.nt-burger,
.nt-search-btn,
.nt-mobile-login-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #222;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}

.nt-burger:hover,
.nt-search-btn:hover,
.nt-mobile-login-button:hover,
.nt-mobile-login-button:focus-visible {
  background: #f7f7f7;
  border-color: #e5e5e5;
  transform: scale(1.03);
  outline: none;
}

.nt-mobile-login-button {
  width: auto;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
}

body.nt-overlay-lock {
  overflow: hidden;
}

/* Drawer */
.nt-drawer[hidden] {
  display: none !important;
}

.nt-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  z-index: 2147483645;
  display: block;
}

.nt-drawer[aria-hidden="true"] {
  display: none;
}

.nt-drawer-panel {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(88vw, 360px);
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nt-mobile-account {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  border: 1px solid #eeeeee;
  border-radius: 14px;
  background: #fbfbfb;
}

.nt-mobile-account__eyebrow {
  color: #777;
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nt-mobile-account strong {
  color: #1d1d1d;
  font-size: 15px;
  line-height: 1.3;
}

.nt-mobile-logout-btn {
  align-self: flex-start;
  min-height: 34px;
  margin-top: 6px;
  padding: 0 13px;
  border: 1px solid rgba(163, 51, 51, 0.22);
  border-radius: 999px;
  background: #fff;
  color: #a33;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.nt-mobile-logout-btn:hover,
.nt-mobile-logout-btn:focus-visible {
  background: #f8eeee;
  outline: none;
}

.nt-mobile-login-action {
  align-self: flex-start;
  min-height: 34px;
  margin-top: 4px;
  padding: 0 12px;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  background: #fff;
  color: #222;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.nt-mobile-login-action:hover,
.nt-mobile-login-action:focus-visible {
  background: #f4f4f4;
  outline: none;
}

.nt-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
}

.nt-drawer-close {
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.nt-drawer-search {
  display: flex;
  position: relative;
}

.nt-drawer-input {
  flex: 1;
  height: 38px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  padding: 0 38px 0 12px;
  font-size: 15px;
}

.nt-drawer-search-clear {
  position: absolute;
  top: 50%;
  right: 5px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #666;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.nt-drawer-search-clear:hover,
.nt-drawer-search-clear:focus-visible {
  background: #ececec;
  color: #111;
  outline: none;
}

.nt-drawer-search-clear[hidden] {
  display: none !important;
}

.nt-drawer-discovery {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nt-drawer-discovery a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #eeeeee;
  border-radius: 14px;
  background: #fbfbfb;
  color: #222;
  text-decoration: none;
}

.nt-drawer-discovery__icon {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  overflow: hidden;
  background: #222;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.nt-drawer-discovery__icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.nt-drawer-discovery__icon span {
  position: relative;
  z-index: 0;
}

.nt-drawer-discovery strong,
.nt-drawer-discovery small {
  display: block;
}

.nt-drawer-discovery strong {
  font-size: 13px;
}

.nt-drawer-discovery small {
  margin-top: 2px;
  color: #777;
  font-size: 12px;
}


/* Drawer container */
.nt-drawer-nav {
  display: flex;
  flex-direction: column;
}

/* Section headers */
.nt-drawer-nav summary {
  display: block;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 15px;
  color: #222;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.nt-drawer-nav summary::-webkit-details-marker {
  display: none;
}

/* Submenu links (indented) */
.nt-drawer-nav details > a {
  display: block;
  padding: 10px 24px;
  /* indent for children only */
  font-size: 14px;
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid #f1f1f1;
}

.nt-drawer-nav details > a:hover {
  background: #f7f7f7;
}

/* Top-level links (no left indent) */
.nt-toplink {
  display: block;
  padding: 12px 10px;
  /* same as summary, no indent */
  font-weight: 600;
  font-size: 15px;
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}

.nt-toplink:hover {
  background: #f7f7f7;
}

.nt-toplink-button {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.nt-toplink-button.danger {
  color: #a33;
}

.nt-mobile-search-overlay[hidden] {
  display: none !important;
}

.nt-mobile-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  background: rgba(255, 255, 255, 0.98);
}

.nt-mobile-search-overlay[aria-hidden="true"] {
  display: none;
}

.nt-mobile-search-panel {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.nt-mobile-search-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #eeeeee;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.nt-mobile-search-form {
  position: relative;
  flex: 1;
  height: 42px;
}

.nt-mobile-search-input {
  width: 100%;
  height: 100%;
  padding: 0 42px 0 42px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f1f1f1;
  color: #222;
  font-size: 15px;
  outline: none;
}

.nt-mobile-search-input:focus {
  background: #fff;
  border-color: #dedede;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.nt-mobile-search-clear,
.nt-mobile-search-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #555;
  cursor: pointer;
}

.nt-mobile-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  border-radius: 50%;
  font-size: 22px;
}

.nt-mobile-search-clear:hover,
.nt-mobile-search-clear:focus-visible,
.nt-mobile-search-close:hover,
.nt-mobile-search-close:focus-visible {
  background: #ececec;
  color: #111;
  outline: none;
}

.nt-mobile-search-clear[hidden] {
  display: none !important;
}

.nt-mobile-search-close {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
}

.nt-mobile-search-content {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 14px 14px 28px;
  min-width: 0;
  overscroll-behavior: contain;
}

.nt-mobile-search-content .nt-search-mode,
.nt-mobile-search-content .nt-search-assistant-list {
  min-width: 0;
}

.nt-mobile-search-content .nt-search-assistant-list {
  max-height: calc(100dvh - 92px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.nt-mobile-discovery-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.nt-mobile-discovery-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #eeeeee;
  border-radius: 14px;
  background: #fbfbfb;
  color: #222;
  text-decoration: none;
}

.nt-mobile-discovery-list strong,
.nt-mobile-discovery-list small {
  display: block;
}

.nt-mobile-discovery-list strong {
  font-size: 13px;
}

.nt-mobile-discovery-list small {
  margin-top: 2px;
  color: #777;
  font-size: 12px;
}

/* For AFFILIATE / CONTACT top-links */
.nt-acc.top-link summary {
  cursor: default;
  /* no expand behavior */
  padding: 12px 16px;
}

.nt-acc.top-link summary a {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: #222;
  text-decoration: none;
}

.nt-acc.top-link summary a:hover {
  background: #f7f7f7;
}

.nt-acc {
  padding: 2px 0;
}

.nt-acc > summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 8px;
  border-radius: 6px;
}

.nt-acc > summary::-webkit-details-marker {
  display: none;
}

.nt-acc[open] > summary {
  background: #f7f7f7;
}

.nt-acc > a {
  margin-left: 10px;
}

/* Drawer socials (hidden by default; drawer is hidden on desktop anyway) */
.nt-drawer-social {
  display: none;
  /* will show on small screens */
  gap: 10px;
  padding: 6px 0 8px;
}

.user-text {
  position: relative;
  display: inline-block;
  /* default length */
  --user-ch: 12ch;
  max-width: var(--user-ch);
  padding-right: 1.2em;
  /* space for chevron */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}

/* Show arrow only when .has-arrow is present */
.user-text.has-arrow::after {
  content: "▾";
  position: absolute;
  right: 0.2em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8em;
  color: #666;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
  pointer-events: none;
}

.user-wrap[aria-expanded="true"] .user-text.has-arrow::after {
  transform: translateY(-50%) rotate(180deg);
  color: #000;
}

.nt-drawer .user-wrap {
  width: 100%;
  height: auto;
}

.nt-drawer .nt-login {
  width: 100%;
  padding: 12px 10px;
}

.nt-drawer .user-menu {
  position: static;
  box-shadow: none;
  border-radius: 0;
  border: 0;
}

/* ========== USER INSIDE DRAWER ========== */
.nt-drawer .user-wrap {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column; /* 🔑 stack children */
  align-items: stretch;
}

/* Username row */
.nt-drawer .nt-login {
  width: 100%;
  padding: 12px 10px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Disable hover dropdown in drawer */
.nt-drawer .drop-it-user:hover .user-menu {
  display: none;
}

/* Drawer-style menu (collapsed by default) */
.nt-drawer .user-menu {
  position: static;
  display: none;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  margin: 0;
  width: 100%;
}

/* Expanded state */
.nt-drawer .user-wrap.is-open .user-menu {
  display: flex;
  flex-direction: column;
}

/* Menu items look like drawer links */
.nt-drawer .um-item {
  padding: 12px 10px;
  border-bottom: 1px solid #eee;
}

/* Arrow rotation */
.nt-drawer .user-text.has-arrow::after {
  transition: transform 0.2s ease;
}

.nt-drawer .user-wrap.is-open .user-text.has-arrow::after {
  transform: rotate(180deg);
}

@media (max-width: 400px) {
  .nt-left {
    gap: 10px;
  }
  .cart-widget {
    width: 260px;
  }
}

/* <= 500px: move socials into drawer; hide them from top bar */
@media (max-width: 500px) {
  /* Hide socials in the main right cluster */
  .nt-right .nt-social {
    display: none;
  }

  /* Show socials in the drawer */
  .nt-drawer-social {
    display: flex;
  }

  /* Slightly larger tap target for drawer socials */
  .nt-drawer-social .nt-social {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 1180px) {
  .nt-discovery-cards,
  .nt-search-panel__lower {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ========== Breakpoint: tablet / medium search-first layout ========== */
@media (min-width: 769px) and (max-width: 1024px) {
  .nt-left {
    flex-shrink: 0;
  }

  .nt-logo {
    height: 36px;
  }

  .nt-middle {
    flex: 1 1 320px;
    min-width: 280px;
  }

  .nt-search {
    height: 42px;
  }

  .nt-search-input {
    font-size: 14px;
    padding-left: 40px;
    padding-right: 40px;
  }

  .nt-search-icon {
    left: 14px;
  }

  .nt-search-clear {
    right: 7px;
    width: 28px;
    height: 28px;
  }

  .nt-search-panel {
    max-height: min(74vh, 680px);
    overflow-y: auto;
    padding: 16px;
  }

  .nt-right {
    gap: 8px;
    flex-shrink: 0;
  }

  .nt-cart {
    width: 34px;
    height: 34px;
  }

  .user-wrap {
    height: 42px;
  }

  .nt-login {
    font-size: 13px;
    gap: 5px;
    height: 34px;
  }

  .user-avatar-trigger {
    width: 34px;
    height: 34px;
  }

  .user-avatar-img {
    width: 32px;
    height: 32px;
  }

  .user-text {
    --user-ch: 8ch;
    padding-right: 1em;
  }

  .user-text.has-arrow::after {
    right: 0;
  }
}

@media (min-width: 769px) and (max-width: 900px) {
  .nt-discovery-cards,
  .nt-search-panel__lower {
    grid-template-columns: 1fr;
  }
}

/* ========== Breakpoint: mobile switch ========== */
@media (max-width: 768px) {
  .user-text {
    max-width: none; /* remove char limit */
    overflow: visible; /* allow full text */
    text-overflow: unset; /* remove ellipsis */
    white-space: normal; /* allow wrapping */
    padding-right: 0; /* optional: remove arrow spacing */
  }

  .user-menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .user-text.has-arrow::after {
    content: none;
  }
  .user-menu::before {
    content: none; /* completely disables the arrow */
  }

  .user-text {
    padding-right: 0;
  }

  #user-desktop-slot {
    display: none;
  }

  .cart-widget {
    display: none !important;
  }

  .drop-it-cart:hover .cart-widget {
    display: none !important;
  }

  .nt-burger,
  .nt-search-btn,
  .nt-mobile-login-button {
    display: inline-flex;
  }

  /* show icons */
  .nt-menu {
    display: none;
  }

  /* hide desktop nav */
  .nt-middle {
    display: none;
  }

  /* hide center search */
  .nt-right {
    gap: 8px;
  }

  /* tighter spacing */
}

/* ========== Reduced motion ========== */
@media (prefers-reduced-motion: reduce) {
  .nt-link,
  .nt-cart,
  .nt-login,
  .nt-social,
  .nt-burger,
  .nt-search-btn,
  .nt-mobile-login-button {
    transition: none;
  }

  .nt-link:hover,
  .nt-cart:hover,
  .nt-login:hover,
  .nt-social:hover {
    transform: none;
  }
}
.top-notif {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  opacity: 0;
  z-index: 9999;

  padding: 10px 14px;
  min-width: 220px;
  max-width: 420px;

  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);

  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);

  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.top-notif.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.top-notif.success {
  background: rgba(241, 248, 244, 0.95);
  color: #2f6b45;
  border-color: rgba(47, 107, 69, 0.12);
}

.top-notif.error {
  background: rgba(252, 243, 243, 0.95);
  color: #9f3a38;
  border-color: rgba(159, 58, 56, 0.12);
}

.top-notif.warning {
  background: rgba(253, 247, 240, 0.95);
  color: #9a6530;
  border-color: rgba(154, 101, 48, 0.12);
}

.top-notif.info {
  background: rgba(245, 247, 250, 0.95);
  color: #4c5a67;
  border-color: rgba(76, 90, 103, 0.12);
}

/* Public seller/creator search suggestion portraits. */
.nt-search-assistant-avatar { border-radius: 50%; overflow: hidden; }
.nt-search-assistant-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
