.nb-cart {
  max-width: 1440px;
  width: 90%;
  margin: 20px auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  font-family: "DM Sans", sans-serif;
}
.nb-cart__main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}
.nb-cart__main-header h1 {
  margin: 0;
  font-family: "DM Sans";
  font-size: 32px;
  font-weight: 700;
}
.nb-cart__aside {
  position: sticky;
  top: 110px;
  align-self: start;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  padding: 12px;
}
.nb-tabs__panel .cart_totals {
  margin-top: 30px;
}

.cart_totals .shop_table {
  width: 100%;
  text-align: left;
}

.nb-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 8px;
}
.nb-tabs__tab {
  flex: 1 1 0;
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  font-family: "DM Sans";
}
.nb-tabs__tab.is-active {
  background: #0b3a4f;
  color: #fff;
  border-color: #0b3a4f;
}
.nb-tabs__panel {
  display: none;
}
.nb-tabs__panel.is-active {
  display: block;
}
.nb-cart__membership {
  max-width: 1440px;
  width: 90%;
  margin: 0 auto 20px auto;
  padding: 16px;
  border: 1px dashed #000;
  border-radius: 10px;
  background: #0b3a4f;
  color: #fff;
}
.nb-cart__membership p {
  text-align: center;
  font-family: "DM Sans";
  font-size: 16px;
  font-weight: 700;
  line-height: 150%;
  color: #fff;
}
.nb-cart__membership a {
  color: #fff;
}
.nb-cart__featured {
  max-width: 1440px;
  width: 90%;
  margin: 30px auto;
}
.nb-cart__featured h2 {
  margin: 0 0 12px;
  font-family: "DM Sans";
}
.nb-cart-list {
  display: grid;
  gap: 12px;
}
.nb-cart-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 25px;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 10px 25px 10px 10px;
  align-items: center;
}
.nb-cart-card__thumb {
  width: 170px;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f5;
}
.nb-cart-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 1/1;
}
.nb-cart-card__body {
  display: grid;
  gap: 8px;
}
.nb-cart-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.nb-cart-card__title {
  margin: 0;
  font: 600 16px/1.3 "DM Sans";
}
.nb-cart-card__title a {
  color: #000;
  text-decoration: none;
}
.nb-cart-card__meta {
  font-size: 13px;
  color: #4f6b79;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nb-cart-color {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.nb-cart-color__label {
  font-weight: 600;
  color: #000;
}
.nb-cart-color__chip {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #dcdcdc;
  display: inline-block;
  background: #f5f5f5;
}
.nb-cart-color__name {
  color: #304751;
}
.nb-cart-card__meta dl.variation {
  margin: 6px 0 0;
}
.nb-cart-card__meta dl.variation dt,
.nb-cart-card__meta dl.variation dd {
  display: inline;
  margin: 0;
}
.nb-cart-card__meta dl.variation dt {
  font-weight: 600;
  color: #000;
}
.nb-cart-card__meta dl.variation dd {
  margin-left: 6px;
  margin-right: 12px;
}
.nb-cart-card__meta dl.variation dd p {
  display: inline-block;
  margin: 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f2f6f8;
  border: 1px solid #e1e8ec;
  font-size: 12px;
  color: #304751;
}
.nb-cart-size {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.nb-cart-size__label {
  font-weight: 600;
  color: #000;
}
.nb-cart-size__chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f2f6f8;
  border: 1px solid #e1e8ec;
  font-size: 12px;
  color: #304751;
}
.nb-cart-card__controls {
  display: grid;
  grid-template-columns: 140px 160px 1fr;
  align-items: center;
  gap: 12px;
}
.nb-cart-card__price {
  font-weight: 700;
}
.nb-cart-card__qty .qty {
  width: 80px;
  padding: 6px 8px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
}
.nb-qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nb-qty__btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid #dcdcdc;
  background: #f7f7f7;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nb-qty__btn:hover {
  background: #eef2f4;
}
.nb-cart-card__subtotal {
  text-align: right;
  font-weight: 700;
}
.nb-cart-card__remove {
  text-decoration: none;
  color: #b33;
  font-size: 22px;
  line-height: 1;
}
.nb-cart-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 12px;
}
.nb-cart-actions .coupon {
  margin-right: auto;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 40px;
}
.nb-cart-actions input.input-text {
  padding: 8px 10px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
}
.nb-cart-actions .button {
  padding: 8px 12px;
  border-radius: 8px;
}
.nb-bigmenu__item > a {
  display: inline-flex;
  align-items: center;
  padding: 14px 10px;
  line-height: 1.3;
}
div.wc-proceed-to-checkout {
  padding-bottom: 0 !important;
}
a.checkout-button {
  width: 100%;
  background: #faa856;
  color: #000;
  border: 1px solid #faa856;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  box-sizing: border-box;
  margin-top: 20px;
  margin-bottom: 0 !important;
}

a.checkout-button:hover {
  background: #fae1b6;
  color: #000;
}

/* Mobile cart responsiveness */
@media (max-width: 900px) {
  .nb-cart {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .nb-cart__aside {
    position: static;
    top: auto;
  }
  .nb-cart__main-header h1 {
    font-size: 26px;
  }
  .nb-cart-card {
    grid-template-columns: 120px 1fr;
    gap: 14px;
    padding: 10px 12px;
    align-items: start;
  }
  .nb-cart-card__thumb {
    width: 120px;
    aspect-ratio: 1/1;
  }
  .nb-cart-card__title {
    font: 600 15px/1.3 "DM Sans";
  }
  .nb-cart-card__controls {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .nb-cart-card__price {
    order: 3;
    grid-column: 1 / 3;
    text-align: left;
  }
  .nb-cart-card__subtotal {
    text-align: right;
  }
  .nb-qty__btn {
    width: 32px;
    height: 32px;
  }
  .nb-cart-card__qty .qty {
    width: 70px;
  }
  .nb-cart-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .nb-cart-actions .coupon {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
  }
  .nb-cart-actions .coupon input.input-text {
    flex: 1 1 auto;
    min-width: 0;
  }
  .nb-cart-actions .button[name="update_cart"] {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .nb-cart-card {
    grid-template-columns: 1fr;
  }
  .nb-cart-card__thumb {
    width: 100%;
    aspect-ratio: 4/3;
  }
  .nb-cart-card__head {
    align-items: flex-start;
  }
  .nb-cart-card__remove {
    font-size: 20px;
  }
  .nb-cart-card__controls {
    grid-template-columns: 1fr 1fr;
  }
  .nb-qty {
    justify-content: flex-start;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  padding-top: 160px;
  overflow-x: hidden;
}

/* 404 page */
.error-404 {
  max-width: 1440px;
  width: 90%;
  margin: 0 auto;
  padding: 80px 0 50px;
  text-align: center;
}
.error-404__animation {
  max-width: 320px;
  margin: 0px auto 0px;
}
.error-404__container {
  margin: 0 auto;
}
.error-404__title {
  display: inline-block;
  font-family: "DM Sans", sans-serif;
  font-weight: 800;
  font-size: 120px;
  color: #0a344c;
  padding: 6px 12px;
  margin-bottom: 8px;
}
.error-404__subtitle {
  margin: 6px 0 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #0a344c;
}
.error-404__text {
  margin: 0 0 14px;
  color: #304751;
  font-family: "DM Sans", sans-serif;
}
.error-404__button {
  display: inline-block;
  border-radius: 999px;
  background: #faa856;
  color: #000;
  border: 1px solid #faa856;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 600;
  font-family: "DM Sans", sans-serif;
}
.error-404__button:hover {
  background: #fae1b6;
  color: #000;
}

/* 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;
  }
}

/* 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;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: all 0.3s ease;
  background: var(--darkBlue);
  z-index: 1002;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.header--scrolled {
  background: var(--darkBlue);
}

/* Hide top bar when scrolled */
.header--scrolled .header__top {
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  transition: height 200ms ease, padding 200ms ease;
}

/* Transparent header: only transparent before scroll */
.header--transparent:not(.header--scrolled) {
  background: var(--darkBlue);
}

.header__top {
  background: black;
  width: 100%;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  transition: height 200ms ease, padding 200ms ease;
}

.header__top-container {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
  max-width: 1440px;
  width: 90%;
  margin: 0 auto;
}

.header__top p {
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 1.122px;
  margin: 0;
}

.header__topImages {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__container {
  max-width: 1440px;
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 20% calc(60% - 80px) 20%;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: sticky;
  top: 0;
  z-index: 1002;
  box-sizing: border-box;
  padding: 10px 0;
  height: 80px;
}

.header__container > div:nth-child(1) {
  display: flex;
  justify-content: flex-start;
}

.header__container > div:nth-child(2) {
  display: flex;
  justify-content: center;
}

.header__container > div:nth-child(3) {
  display: flex;
  justify-content: flex-end;
}

/* Logo Column */
.header__logo {
  display: flex;
  align-items: center;
}

.header__logo .custom-logo-link {
  display: flex;
  align-items: center;
}

.header__logo-link {
  text-decoration: none;
  color: #000;
}

.header__logo-text {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin: 0;
}

.header__logo img {
  max-height: 60px;
  width: auto;
}

.header__bottom {
  position: sticky;
  top: 50px; /* below the container height */
  background: var(--White);
  width: 100%;
  height: 50px;
  z-index: 1001;
}

.header__bottom-container {
  display: flex;
  align-items: center;
  gap: 70px;
  max-width: 1440px;
  width: 90%;
  margin: 0 auto;
  height: 100%;
}

/* Navigation Column */
.header__nav {
  display: flex;
  justify-content: center;
}

.header__menu {
  display: inline-flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 50px;
}

@media (min-width: 1100px) {
  header .header__container > .header__buttons {
    display: none;
  }
}

@media (max-width: 1099px) {
  .header__menu {
    display: none;
  }
}
/* BigMenu */
.nb-bigmenu__item:hover::after,
.nb-bigmenu__item:focus-within::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px; /* bridge the hover gap above the panel */
}
.nb-bigmenu__item > a {
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
}
.nb-bigmenu__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 12px);
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: none;
  padding: 24px;
  z-index: 2000;
  width: 90vw;
  max-width: 1440px;
  box-sizing: border-box;
  margin: 0 auto;
}
.nb-bigmenu__item:hover > .nb-bigmenu__panel,
.nb-bigmenu__item:focus-within > .nb-bigmenu__panel {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 24px;
}
.nb-bigmenu__col--image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.nb-bigmenu__image {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  min-height: 200px;
  background: #f5f5f5 center/cover no-repeat;
  border-radius: 10px;
}
.nb-bigmenu__tree,
.nb-bigmenu__branch {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nb-bigmenu__tree {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 24px;
}
.nb-bigmenu__node {
  margin: 0 0 8px;
}
.nb-bigmenu__node > a {
  font-family: "DM Sans";
  font-weight: 700;
  text-decoration: none;
  color: #000;
  font-size: 16px;
  line-height: 1.4;
  display: block;
  padding: 4px 0;
}
.nb-bigmenu__branch {
  margin-top: 8px;
  display: grid;
  gap: 6px 12px;
  padding-left: 10px;
  border-left: 1px dashed #e5e5e5;
}
.header__menu .nb-bigmenu__branch a {
  text-decoration: none;
  color: #4f6b79;
  font-size: 13px;
  line-height: 1.4;
  display: block;
  padding: 3px 0 3px 6px;
  letter-spacing: 0;
}
.nb-bigmenu__branch a:hover {
  color: #0a344c;
}

.header__menu li {
  margin: 0;
}

.header__menu a {
  color: #000;
  font-family: "DM Sans", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: auto;
  text-transform: capitalize;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* Transparent header keeps white links until scrolled */
.header--transparent:not(.header--scrolled) .header__menu a {
  color: #fff;
}

.header__menu a:active {
  font-weight: 700;
}

.header__menu-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.header__menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff8000;
  transition: width 0.3s ease;
}

.header__menu a:hover::after {
  width: 100%;
}

/* Keep underline on main category while BigMenu is open */
.nb-bigmenu__item:hover > a::after,
.nb-bigmenu__item:focus-within > a::after {
  width: 100%;
}

.header__buttons {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  align-items: center;
}
.header__button--hamburger {
  width: 30px;
  height: 30px;
  position: relative;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.header__hamburger-bars,
.header__hamburger-bars::before,
.header__hamburger-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.header__hamburger-bars {
  top: 14px;
}
.header__hamburger-bars::before {
  top: -8px;
}
.header__hamburger-bars::after {
  top: 8px;
}

/* Side menu */
#nb-side-overlay[hidden] {
  display: none;
}
#nb-side-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 2000;
}
.nb-side[aria-hidden="true"] {
  transform: translateX(100%);
}
.nb-side {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(360px, 86vw);
  background: var(--darkBlue);
  border-left: 1px solid #000;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 2001;
  transform: translateX(0);
  transition: transform 0.25s ease;
}
.nb-side__close {
  position: absolute;
  top: 8px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  color: #fff;
  font-size: 48px;
}
.nb-side__nav {
  padding: 64px 16px 16px;
}
.nb-side__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.nb-side__menu a {
  display: block;
  padding: 10px 8px;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
}
.nb-side__menu a:hover {
  text-decoration: underline;
}

.header__button {
  width: 30px;
}
.header__button--cart {
  position: relative;
}
.header__button--account.has-favorites {
  position: relative;
}
.header__button--account.has-favorites::after {
  content: "!";
  position: absolute;
  right: -8px;
  top: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #d05d38;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}
.header__button svg {
  width: auto;
  max-height: 25px;
}
.nb-cart-count {
  position: absolute;
  right: -8px;
  top: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #d05d38;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

/* Header search */
.header__search {
  position: relative;
  width: 100%;
}
.header__search input[type="search"] {
  width: 30vw;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #dcdcdc;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
}
.header__search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 1003;
  padding: 0;
  max-height: 70vh;
  overflow: auto;
}
.nb-search__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.nb-search__count {
  font-family: "DM Sans";
  font-size: 13px;
  color: #555;
}
.nb-search__all {
  font-family: "DM Sans";
  font-size: 13px;
  font-weight: 600;
  color: var(--darkBlue);
  text-decoration: none;
}
.nb-search__grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
}
.nb-search__col {
  padding: 10px;
  max-height: 60vh;
  overflow: auto;
}
.nb-search__col + .nb-search__col {
  border-left: 1px solid #eee;
}
.nb-search__section {
  margin: 0 0 8px;
}
.nb-search__section h4 {
  margin: 0 0 6px;
  font-family: "DM Sans";
  font-size: 14px;
  font-weight: 700;
  color: #000;
}
.nb-search__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.nb-search__list span {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #000;
}
.nb-search__list a {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 8px;
  align-items: center;
  padding: 6px 6px;
  border-radius: 8px;
  text-decoration: none;
  color: #000;
}
.nb-search__list a:hover {
  background: #f7f7f7;
}
.nb-search__cat-thumb {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 6px;
  background: #f5f5f5;
  border: 1px solid #eee;
}
.nb-search__item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  text-decoration: none;
  color: #000;
}
.nb-search__item:hover {
  background: #f7f7f7;
}
.nb-search__thumb {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #f5f5f5;
}
.nb-search__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.nb-search__products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.nb-search__products li a {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  text-decoration: none;
  color: #000;
}
.nb-search__products li a:hover {
  background: #f7f7f7;
}
.nb-search__prod-thumb {
  width: 54px;
  height: 54px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #f5f5f5;
  display: block;
  overflow: hidden;
}
.nb-search__prod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.nb-search__prod-body {
  display: grid;
  gap: 4px;
  align-items: center;
}
.nb-search__prod-title {
  font-family: "DM Sans";
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: #000;
}
.nb-search__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #000;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.nb-search__card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  background: #f5f5f5;
}
.nb-search__card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nb-search__card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
}
.nb-search__card-title {
  font-family: "DM Sans";
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
@media (max-width: 1200px) {
  .nb-search__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .nb-search__grid {
    grid-template-columns: 1fr;
  }
  .nb-search__col + .nb-search__col {
    border-left: 0;
    border-top: 1px solid #eee;
  }
  .nb-search__cards {
    grid-template-columns: 1fr;
  }
}
.nb-search__meta {
  display: grid;
  gap: 2px;
}
.nb-search__title {
  font-family: "DM Sans";
  font-size: 14px;
  font-weight: 600;
}
.nb-search__price {
  font-family: "DM Sans";
  font-size: 13px;
  color: #404040;
}

/* Search overlay */
#nb-search-overlay[hidden] {
  display: none;
}
#nb-search-overlay {
  position: fixed;
  inset: 90px 0 0 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1001;
  backdrop-filter: blur(1px);
}

/* 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;
}
#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;
}

/* Global Loader removed */

/* Size calculator */
.nb-sizecalc {
  margin: 12px 0 0;
  padding: 12px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fafafa;
}

/* Compare page */
.nb-compare {
  max-width: 1440px;
  width: 90%;
  margin: 0 auto 40px auto;
  font-family: "DM Sans", sans-serif;
}
.nb-compare__title {
  margin: 0 0 14px;
  font: 700 28px/1.2 "DM Sans";
}
.nb-compare__scroll {
  overflow: auto;
  border: 1px solid #eee;
  border-radius: 10px;
}
.nb-compare__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: #fff;
}
.nb-compare__table thead th {
  position: sticky;
  top: 0;
  background: #f9fafb;
  border-bottom: 1px solid #eee;
  padding: 10px;
  text-align: left;
}
.nb-compare__attr-head {
  width: 220px;
}
.nb-compare__table td {
  padding: 10px;
  border-bottom: 1px solid #f2f2f2;
  vertical-align: top;
}
.nb-compare__attr {
  font-weight: 700;
  color: #0a344c;
}
.nb-compare__group td {
  background: #fafafa;
  border-bottom: 0;
}
.nb-compare__group h3 {
  margin: 8px 0 4px;
  font-size: 16px;
  font-weight: 700;
}
.nb-compare__prod {
  display: inline-grid;
  grid-template-columns: 48px 1fr;
  gap: 8px;
  align-items: center;
  text-decoration: none;
  color: #000;
}
.nb-compare__thumb img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.nb-compare__name {
  font-weight: 600;
}

@media (max-width: 900px) {
  .nb-compare__attr-head {
    width: 160px;
  }
}
@media (max-width: 600px) {
  .nb-compare__attr-head {
    width: 140px;
  }
  .nb-compare__prod {
    grid-template-columns: 36px 1fr;
  }
  .nb-compare__thumb img {
    width: 36px;
    height: 36px;
  }
}

/* Footer */
.footer {
  background: #0a344c;
  color: #fff;
}
.footer__container {
  max-width: 1440px;
  width: 90%;
  margin: 0 auto;
  padding: 30px 0 20px;
}
.footer__col {
  margin-bottom: 24px;
}
.footer__logo img {
  max-height: 60px;
  width: auto;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 16px 0 10px;
}
.footer__subtitle {
  margin: 0 0 6px;
  font: 700 18px/1.3 "DM Sans";
}
.footer__text {
  color: #d7e3e8;
  font-family: "DM Sans", sans-serif;
}
.footer__socials {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__socials a {
  display: inline-flex;
  align-items: center;
  font-family: "DM Sans", sans-serif;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}
.footer__socials img {
  width: 20px;
  height: 20px;
}
.footer__cats {
  margin: 10px 0 24px;
}
.footer__cats-title {
  margin: 0 0 8px;
  font: 700 16px/1.3 "DM Sans";
}
.footer__cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__cat-list a {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f7f7f7;
  color: #0a344c;
  text-decoration: none;
  font-family: "DM Sans", sans-serif;
}
.footer__menus {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 10px 0 24px;
}
.footer__menu-title {
  margin: 0 0 6px;
  font: 700 16px/1.3 "DM Sans";
}
.footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__menu a {
  color: #d7e3e8;
  text-decoration: none;
  font-family: "DM Sans", sans-serif;
}
.footer__divider {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 14px 0;
}
.footer__bottom {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  color: #d7e3e8;
  font-family: "DM Sans", sans-serif;
}
.footer__policies {
  list-style: none;
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.footer__policies a {
  color: #fff;
}
@media (max-width: 900px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
  .footer__menus {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
.nb-sizecalc__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 12px;
  align-items: start;
}
.nb-sizecalc__grid label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}
.nb-sizecalc__grid input[type="number"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  font: inherit;
}
.nb-sizecalc__results {
  display: grid;
  gap: 6px;
}
.nb-sizecalc__row {
  font-size: 14px;
  line-height: 1.4;
}
.nb-sizecalc__match {
  color: #0b6;
  font-weight: 600;
}

/* Header: Mobile-first refinements */
@media (max-width: 900px) {
  /* Reduce global offset when the header condenses on mobile */
  body {
    padding-top: 110px; /* account for top bar + main row */
  }

  /* Keep top bar visible on mobile */
  .header__top {
    display: flex;
    height: 40px;
  }

  .header__top-container {
    justify-content: center;
    padding: 10px 0;
  }

  .header__top p {
    display: none;
  }

  /* Collapse BigMenu bar on mobile */
  .header__bottom {
    display: none;
  }

  /* Header main row → 2 columns: logo (left) + actions (right) with search below */
  .header__container {
    grid-template-columns: 1fr auto;
    gap: 12px;
    height: auto;
    padding: 20px 0;
  }

  .header__logo {
    grid-column: 1;
    grid-row: 1;
  }

  .header__buttons {
    grid-column: 2;
    grid-row: 1;
    gap: 12px;
  }

  .header__button svg {
    width: auto;
    max-height: 20px;
  }

  .header__search {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }

  .header__search input[type="search"] {
    width: 100%;
  }

  .header__logo img {
    max-height: 32px; /* thinner to accommodate long logo */
  }

  #nb-header-search {
    width: 100%;
  }

  /* Ensure search overlay starts below condensed header */
  #nb-search-overlay {
    inset: 110px 0 0 0;
  }
}

@media (max-width: 600px) {
  .header__logo img {
    max-height: 18px;
  }
  .header__buttons {
    gap: 10px;
  }
  .header__button {
    width: 32px;
  }
}
