::root {
  --White: #ffffff;
  --Black: #000000;
  --Orange: #faa856;
  --darkBlue: #0a344c;
}

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #f9f9f9;
}

/* Page fade transitions */
body.nb-fade {
  opacity: 0;
  transition: opacity 300ms ease;
}
body.nb-fade.is-entering {
  opacity: 1;
}
body.nb-fade.is-exiting {
  opacity: 0;
}

/* Global Woo notice modal */
#nb-notice-overlay[hidden],
#nb-notice[hidden] {
  display: none;
}
#nb-notice-overlay ~ .woocommerce-notices-wrapper,
#nb-notice-overlay ~ .woocommerce-message,
#nb-notice-overlay ~ .woocommerce-error,
#nb-notice-overlay ~ .woocommerce-info {
  display: none !important;
}

/* Hide Woo success messages (we show a toast instead). Keep errors visible. */
.woocommerce-message {
  display: none !important;
}

/* Toast (bottom-right) */
#nb-toast-root {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2500;
  display: grid;
  gap: 10px;
  pointer-events: none;
}
.nb-toast {
  pointer-events: auto;
  background: rgba(15, 15, 15, 0.92);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
  min-width: min(320px, calc(100vw - 32px));
  max-width: min(380px, calc(100vw - 32px));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  font: 600 14px/1.35 "DM Sans", sans-serif;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}
.nb-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.nb-toast__title {
  font-weight: 800;
}
.nb-toast__body {
  opacity: 0.92;
}

@media (max-width: 560px) {
  #nb-toast-root {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .nb-toast {
    min-width: 0;
    max-width: none;
    width: 100%;
  }
}
#nb-notice-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 2000;
}
#nb-notice {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2001;
}
.nb-notice__card {
  width: min(560px, 92vw);
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 18px;
  font-family: "DM Sans", sans-serif;
}
.nb-notice__content {
  font-size: 15px;
  color: #0a344c;
}
.nb-notice__actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.nb-notice__checkout {
  background: #faa856;
  color: #000;
  border: 1px solid #faa856;
  border-radius: 999px;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 600;
}
.nb-notice__checkout:hover {
  background: #fae1b6;
  color: #000;
}
.nb-notice__continue {
  background: #f7f7f7;
  color: #000;
  border: 1px solid #dcdcdc;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
}
/* Empty state (archive/shop) */
.nb-empty {
  text-align: center;
  max-width: 900px;
  width: 90%;
  margin: 40px auto 50px;
  padding: 20px 10px;
}
.nb-empty__anim {
  width: 260px;
  max-width: 70vw;
  height: auto;
  margin: 0 auto 10px;
}
.nb-empty__title {
  margin: 6px 0 6px;
  font-family: "DM Sans", sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #0a344c;
}
.nb-empty__text {
  margin: 0 0 14px;
  font-family: "DM Sans", sans-serif;
  color: #304751;
}
.nb-empty__actions {
  display: inline-flex;
  gap: 8px;
}
.nb-btn {
  display: inline-block;
  border-radius: 999px;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 600;
  font-family: "DM Sans", sans-serif;
  border: 1px solid transparent;
}
.nb-btn--primary {
  background: #faa856;
  color: #000;
  border-color: #faa856;
}
.nb-btn--primary:hover {
  background: #fae1b6;
  color: #000;
}
.nb-btn--ghost {
  background: #f7f7f7;
  color: #000;
  border-color: #dcdcdc;
}
.nb-btn--ghost:hover {
  background: #eef2f4;
}

@media (max-width: 900px) {
  .error-404 {
    padding: 90px 0 60px;
  }
  .error-404__title {
    font-size: 50px;
  }
  .error-404__subtitle {
    font-size: 24px;
  }
}
@media (max-width: 600px) {
  .error-404 {
    padding: 70px 0 50px;
  }
  .error-404__title {
    font-size: 50px;
  }
}
