:root {
  --nb-ink: #172831;
  --nb-muted: #637279;
  --nb-blue: #3985d2;
  --nb-blue-dark: #2369ae;
  --nb-green: #688b53;
  --nb-paper: #f5f6f2;
  --nb-line: #dfe5e1;
  --nb-navy: #162b35;
}

html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--nb-ink); background: var(--nb-paper); font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 15px; line-height: 1.55; }
#container { position: relative; min-height: 100vh; margin-bottom: 0; }
#content, #column-left, #column-right { padding-bottom: 0; }
footer.nb-footer { position: static; inset: auto; width: 100%; border: 0; }
a { color: var(--nb-blue-dark); }
a:hover { color: var(--nb-blue); }
button, .btn { border-radius: 10px; }
.container { width: min(1180px,calc(100% - 44px)); max-width: 1180px; margin-inline: auto; padding-inline: 0; }

#top { margin-bottom: 0; padding: 4px 0; color: #d7e2e5; background: var(--nb-navy); border: 0; font-size: .72rem; }
#top .list-inline-item > a, #top .list-inline-item .dropdown > a, #top .list-inline-item .dropdown > span { color: #e7eff2; font-size: 1em; line-height: 1.5; padding: 0; }
#top a, #top .dropdown-toggle { color: #eef4f5; text-decoration: none; }
#top a:hover { color: #fff; }
#top ul { margin: 0; }
#top .dropdown-menu a { color: var(--nb-ink); }
.nb-header { background: rgba(245,246,242,.98); border-bottom: 1px solid rgba(23,40,49,.09); }
.nb-header-row { position: relative; min-height: 78px; display: grid; grid-template-columns: 165px minmax(300px,1.25fr) minmax(180px,.9fr) 175px; align-items: center; gap: 16px; padding-top: 13px; padding-bottom: 13px; }
#logo.nb-brand { margin: 0; text-align: left; }
#logo.nb-brand img { width: 165px; max-width: 100%; height: auto; }
.nb-brand img { display: block; width: 165px; max-width: 100%; height: auto; }
.nb-navigation { min-width: 0; }
.nb-search form { margin: 0 !important; }
.nb-search .form-control { height: 45px; border: 1px solid #d6dfdc; border-radius: 24px 0 0 24px; background: #fff; box-shadow: none; font-size: .85rem; }
.nb-search .btn { height: 45px; padding: 0 18px; border: 1px solid var(--nb-blue); border-radius: 0 24px 24px 0; color: #fff; background: var(--nb-blue); }
#cart.nb-cart { min-width: 0; margin: 0; }
#cart.nb-cart .dropdown { display: block !important; }
#cart.nb-cart .dropdown > .btn { display: block; width: 100%; min-height: 44px; padding: 10px 13px; border: 0; border-radius: 24px; color: #fff; background: var(--nb-navy); font-size: .78rem; font-weight: 750; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#cart.nb-cart .dropdown-menu { width: min(420px,calc(100vw - 30px)); min-width: 0; border: 1px solid var(--nb-line); border-radius: 14px; background: #fff; box-shadow: 0 16px 35px rgba(20,43,54,.12); }
#cart.nb-cart .dropdown-menu li { min-width: 0; }
#menu.nb-main-nav { min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; color: #4f5d64; background: transparent; background-image: none; box-shadow: none; font-size: .78rem; font-weight: 750; }
.nb-nav-list { display: flex; align-items: center; justify-content: flex-end; gap: 15px; margin: 0; padding: 0; list-style: none; }
.nb-nav-list > li > a, .nb-menu-dropdown > summary { display: block; padding: 8px 0; color: #4f5d64; text-decoration: none; white-space: nowrap; cursor: pointer; }
.nb-nav-list > li > a:hover, .nb-menu-dropdown > summary:hover { color: var(--nb-blue-dark); }
.nb-menu-dropdown { position: static; }
.nb-menu-dropdown > summary { list-style: none; }
.nb-menu-dropdown > summary::-webkit-details-marker { display: none; }
.nb-menu-dropdown > summary::after { margin-left: 5px; color: var(--nb-blue-dark); content: "⌄"; }
.nb-mega-menu { position: absolute; top: 100%; left: 180px; right: 0; z-index: 40; width: auto; max-width: 900px; max-height: min(70vh,520px); display: none; grid-template-columns: repeat(auto-fit,minmax(145px,1fr)); gap: 18px; overflow: auto; padding: 20px; border: 1px solid var(--nb-line); border-radius: 15px; background: #fff; box-shadow: 0 18px 44px rgba(20,43,54,.14); }
.nb-menu-dropdown:hover .nb-mega-menu, .nb-menu-dropdown:focus-within .nb-mega-menu, .nb-menu-dropdown[open] .nb-mega-menu { display: grid; }
.nb-mega-column { display: grid; align-content: start; gap: 8px; }
.nb-mega-column a { color: #5c6a70; font-size: .74rem; text-decoration: none; }
.nb-mega-column a:hover { color: var(--nb-blue-dark); }
.nb-mega-column .nb-mega-title { margin-bottom: 3px; color: var(--nb-ink); font-size: .78rem; font-weight: 800; }
.nb-menu-empty { grid-column: 1 / -1; margin: 0; color: var(--nb-muted); font-size: .8rem; }

.nb-hero { overflow: hidden; padding: 62px 0 70px; background: var(--nb-paper); }
.nb-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 54px; }
.nb-eyebrow { margin: 0; color: var(--nb-blue-dark); font-size: .68rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.nb-hero h1 { max-width: 630px; margin: 15px 0 17px; color: var(--nb-ink); font-size: clamp(2.8rem,5.5vw,4.8rem); font-weight: 830; letter-spacing: -.065em; line-height: .99; }
.nb-hero h1 span { color: var(--nb-blue); }
.nb-hero-description { max-width: 560px; margin: 0; color: #5c6a70; font-size: 1rem; }
.nb-hero-tagline { margin: 15px 0 0; font-size: .87rem; font-weight: 780; }
.nb-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.nb-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border: 1px solid transparent; border-radius: 24px; font-size: .79rem; font-weight: 800; text-decoration: none; transition: transform .18s, box-shadow .18s; }
.nb-button:hover { transform: translateY(-2px); }
.nb-button-primary { color: #fff; background: var(--nb-navy); box-shadow: 0 9px 20px rgba(22,43,53,.13); }
.nb-button-primary:hover { color: #fff; background: #213d49; }
.nb-button-light { border-color: #d6e0e5; color: var(--nb-ink); background: rgba(255,255,255,.76); }
.nb-button-light:hover { color: var(--nb-blue-dark); background: #fff; }
.nb-business-areas { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 21px; }
.nb-business-areas span { padding: 5px 10px; border: 1px solid rgba(23,40,49,.09); border-radius: 20px; color: #4f5f66; background: rgba(255,255,255,.65); font-size: .68rem; font-weight: 700; }
.nb-hero-art { position: relative; min-height: 380px; display: grid; place-items: center; }
.nb-hero-orbit { position: absolute; width: min(365px,92%); aspect-ratio: 1; border: 1px solid rgba(57,133,210,.2); border-radius: 50%; transform: rotate(-15deg); }
.nb-hero-orbit::before { position: absolute; inset: 24px; border: 1px dashed rgba(104,139,83,.28); border-radius: 50%; content: ""; }
.nb-hero-card { position: relative; z-index: 1; width: 264px; min-height: 255px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 26px; border: 1px solid rgba(23,40,49,.07); border-radius: 28px; background: rgba(255,255,255,.95); box-shadow: 0 18px 48px rgba(20,43,54,.1); text-align: center; transform: rotate(-3deg); }
.nb-emblem { width: 100px; height: 100px; display: grid; place-items: center; margin-bottom: 17px; border: 10px solid #e8f2fb; border-radius: 31px; color: #fff; background: var(--nb-blue); font-size: 3rem; font-weight: 850; line-height: 1; }
.nb-hero-card strong { font-size: .75rem; letter-spacing: .13em; }
.nb-hero-card small { margin-top: 5px; color: var(--nb-muted); font-size: .68rem; }
.nb-art-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid rgba(23,40,49,.07); border-radius: 13px; background: rgba(255,255,255,.97); box-shadow: 0 9px 24px rgba(23,40,49,.08); }
.nb-art-chip strong, .nb-art-chip small { display: block; }
.nb-art-chip strong { font-size: .64rem; }
.nb-art-chip small { color: var(--nb-muted); font-size: .6rem; }
.nb-chip-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: var(--nb-blue-dark); background: #e8f2fb; font-size: .75rem; font-weight: 850; }
.nb-art-chip-two .nb-chip-mark { color: var(--nb-green); background: #edf4e8; }
.nb-art-chip-one { top: 28px; left: 0; }
.nb-art-chip-two { right: 0; bottom: 35px; }
.nb-category-section { padding: 57px 0; background: #fff; }
.nb-category-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.nb-category-heading h2 { margin: 8px 0 0; font-size: clamp(1.8rem,3vw,2.55rem); font-weight: 810; letter-spacing: -.05em; }
.nb-category-heading > p { max-width: 375px; margin: 0; color: var(--nb-muted); font-size: .84rem; }
.nb-category-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 13px; }
.nb-category-card { position: relative; min-height: 155px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 17px; border: 1px solid #e5eae6; border-radius: 17px; background: #fbfcfa; }
.nb-category-card::after { position: absolute; top: -36px; right: -24px; width: 100px; height: 100px; border-radius: 50%; background: var(--nb-halo); content: ""; }
.nb-category-icon { position: relative; z-index: 1; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: var(--nb-accent); background: var(--nb-icon-bg); }
.nb-category-icon svg { width: 22px; height: 22px; }
.nb-category-card h3 { position: relative; z-index: 1; max-width: 175px; margin: 18px 0 0; font-size: .88rem; line-height: 1.3; }
.nb-cat-blue { --nb-halo:#e8f2fb; --nb-icon-bg:#eaf3fb; --nb-accent:#2369ae; }
.nb-cat-green { --nb-halo:#edf4e8; --nb-icon-bg:#edf4e8; --nb-accent:#688b53; }
.nb-cat-sand { --nb-halo:#f3eee6; --nb-icon-bg:#f3eee6; --nb-accent:#9a704a; }
.nb-cat-lilac { --nb-halo:#f0edf7; --nb-icon-bg:#f0edf7; --nb-accent:#7566a0; }
.nb-home-catalog { padding: 52px 0 70px; background: #f5f6f2; }
.nb-section-heading { margin-bottom: 25px; }
.nb-section-heading h2 { margin: 8px 0; font-size: clamp(1.8rem,3vw,2.55rem); font-weight: 810; letter-spacing: -.05em; }
.nb-section-heading h2, .nb-category-card h3 { color: var(--nb-ink); }
.nb-section-heading > p:last-child { color: var(--nb-muted); font-size: .84rem; }
.nb-home-catalog > .container > .row { margin-inline: 0; }
.nb-home-catalog .carousel .carousel-control-prev { left: 0; opacity: .65; }
.nb-home-catalog .carousel .carousel-control-next { right: 0; opacity: .65; }
#common-home #content { min-width: 0; padding-inline: 0; }
#common-home .product-thumb { overflow: hidden; height: 100%; border: 1px solid #e3e8e5; border-radius: 16px; background: #fff; transition: transform .2s, box-shadow .2s; }
#common-home .product-thumb:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(20,43,54,.09); }
.product-thumb .image img { border-radius: 12px; }
.product-thumb .content { padding: 15px; }
.product-thumb h4 { font-size: .9rem; font-weight: 750; }
.product-thumb .price { color: var(--nb-ink); font-weight: 800; }
.nb-home-catalog .product-thumb { display: flex; flex-direction: column; }
.nb-home-catalog .product-thumb .image { display: grid; place-items: center; min-height: 180px; padding: 15px; background: #eef5fa; }
.nb-home-catalog .product-thumb .image img { max-height: 180px; object-fit: contain; }
.nb-home-catalog .product-thumb .content { flex: 1; display: flex; flex-direction: column; padding: 16px; }
.nb-home-catalog .product-thumb .description { padding: 0; margin-bottom: 16px; }
.nb-home-catalog .product-thumb .description > p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; color: var(--nb-muted); font-size: .78rem; }
.nb-home-catalog .product-thumb .content > form { margin-top: auto; }
.nb-home-catalog .product-thumb .button { position: static; display: flex; gap: 8px; width: auto; margin: 0; border: 0; }
.nb-home-catalog .product-thumb .button button { width: 34px; height: 34px; border: 0; border-radius: 50%; color: var(--nb-ink); background: #eef2f2; line-height: 34px; }
.nb-home-catalog .product-thumb .button button:first-child { color: #fff; background: var(--nb-navy); }
.nb-home-catalog .product-thumb .button button:hover { color: #fff; background: var(--nb-blue); }
#button-cart { border-color: var(--nb-blue); color: #fff; background: var(--nb-blue); }
.btn-primary { border-color: var(--nb-blue); background: var(--nb-blue); }
.btn-primary:hover, .btn-primary:focus { border-color: var(--nb-blue-dark); background: var(--nb-blue-dark); }
.breadcrumb { padding: 12px 15px; border-radius: 12px; background: #edf2f3; }
#product-category h1, #product-info h1 { font-weight: 800; letter-spacing: -.035em; }
#product-category .img-thumbnail, #product-info .img-thumbnail { border-color: var(--nb-line); border-radius: 14px; }

.nb-info-band { padding: 29px 0; color: #fff; background: var(--nb-navy); }
.nb-info-band-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nb-info-band strong { font-size: 1rem; }
.nb-info-band p { margin: 4px 0 0; color: #cfdbde; font-size: .79rem; }
.nb-info-band .nb-button { flex: 0 0 auto; color: #fff; background: var(--nb-blue); }
.nb-footer { margin-top: 0; padding: 43px 0 20px; color: var(--nb-ink); background: #f1f3ef; }
.nb-footer-grid { display: grid; grid-template-columns: 1.35fr repeat(4,1fr); gap: 26px; padding-bottom: 30px; }
.nb-footer-brand img { display: block; width: 140px; max-width: 100%; height: auto; }
.nb-footer-brand p { max-width: 250px; margin: 13px 0 0; color: var(--nb-muted); font-size: .76rem; }
.nb-footer-column h2 { margin: 0 0 12px; color: var(--nb-ink); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.nb-footer-column ul { display: grid; gap: 8px; margin: 0; }
.nb-footer-column a { color: #5c6a70; font-size: .76rem; text-decoration: none; }
.nb-footer-column a:hover { color: var(--nb-blue-dark); text-decoration: underline; }
.nb-footer-bottom { display: flex; justify-content: space-between; gap: 14px; padding-top: 16px; border-top: 1px solid #dfe5e1; color: var(--nb-muted); font-size: .68rem; }
.nb-footer-bottom a { color: var(--nb-muted); }

@media (max-width: 991.98px) {
  .nb-header-row { grid-template-columns: 165px minmax(0,1fr) 160px; grid-template-areas: "brand nav cart" "search search search"; gap: 12px; }
  .nb-brand { grid-area: brand; }
  .nb-navigation { grid-area: nav; }
  .nb-search { grid-area: search; }
  .nb-cart { grid-area: cart; }
  .nb-mega-menu { left: 0; right: 0; max-width: none; }
  .nb-brand img { width: 165px; }
  .nb-hero-grid { gap: 24px; }
  .nb-category-grid { grid-template-columns: repeat(3,1fr); }
  .nb-footer-grid { grid-template-columns: repeat(3,1fr); }
  .nb-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
  .container { width: min(560px,calc(100% - 30px)); }
  #top { font-size: .7rem; }
  #top .col-4 { width: auto; }
  #top .col.text-end { flex: 1; }
  #top .list-inline-item { margin-right: .35rem !important; }
  .nb-header-row { grid-template-columns: 1fr auto; grid-template-areas: "brand cart" "nav nav" "search search"; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .nb-brand img { width: 165px; }
  .nb-search { grid-area: search; }
  .nb-cart { grid-area: cart; }
  #cart.nb-cart .dropdown > .btn { min-height: 39px; padding: 7px 12px; font-size: .72rem; }
  .nb-nav-list { justify-content: flex-start; flex-wrap: wrap; gap: 13px; }
  .nb-mega-menu { position: absolute; top: 100%; left: 0; right: 0; width: auto; max-height: 55vh; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 0; padding: 14px; }
  .nb-hero { padding: 40px 0 42px; }
  .nb-hero-grid { grid-template-columns: 1fr; }
  .nb-hero h1 { font-size: clamp(2.55rem,11vw,3.8rem); }
  .nb-hero-art { min-height: 290px; margin-top: 3px; }
  .nb-hero-orbit { width: 270px; }
  .nb-hero-card { width: 215px; min-height: 205px; }
  .nb-emblem { width: 72px; height: 72px; font-size: 2.2rem; }
  .nb-art-chip-one { top: 18px; left: -2px; }
  .nb-art-chip-two { right: -2px; bottom: 17px; }
  .nb-home-catalog { padding: 40px 0 52px; }
  .nb-category-section { padding: 42px 0; }
  .nb-category-heading { align-items: start; flex-direction: column; gap: 12px; }
  .nb-category-grid { grid-template-columns: repeat(2,1fr); gap: 9px; }
  .nb-category-card { min-height: 140px; padding: 14px; }
  .nb-info-band-row { align-items: start; flex-direction: column; }
  .nb-footer-grid { grid-template-columns: repeat(2,1fr); gap: 24px 16px; }
  .nb-footer-brand { grid-column: 1 / -1; }
  .nb-footer-bottom { flex-direction: column; }
}
@media (max-width: 420px) {
  #cart.nb-cart .dropdown > .btn { max-width: 145px; }
  .nb-footer-grid { grid-template-columns: 1fr 1fr; }
}
