/* ==========================================================================
   NORMA – interfata noua (v2). Toate regulile sunt izolate sub body.nx / clase nx-*,
   deci nu afecteaza interfata veche.
   Verde meniu: #30a498 (pastrat din interfata veche)
   ========================================================================== */
body.nx { margin: 0; padding: 0; background: #fff; color: #1f2d2b; }
body.nx .nx-wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.nx-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nx-skip { position: absolute; left: -9999px; top: 0; background: #0f2e36; color: #fff !important; padding: 10px 16px; z-index: 2000; }
.nx-skip:focus { left: 8px; top: 8px; }

/* ---- Antet --------------------------------------------------------------- */
.nx-header { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; line-height: 1.4; position: relative; z-index: 1000; }
.nx-header *, .nx-home *, .nx-footer * { box-sizing: border-box; }
.nx-header ul, .nx-home ul { list-style: none; margin: 0; padding: 0; }
.nx-header li, .nx-home li { margin: 0; padding: 0; line-height: 1.4; background: none; }
.nx-header a, .nx-home a { text-decoration: none; }
.nx-header h3 { margin: 0; line-height: 1.3; }

.nx-topbar { background: #0f2e36; color: #cfe3e0; font-size: 13px; }
.nx-topbar .nx-wrap { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 16px; }
.nx-topbar a { color: #fff; margin-left: 20px; white-space: nowrap; }
.nx-topbar a:hover, .nx-topbar a:focus { color: #7fe0d4; text-decoration: underline; }

.nx-main { background: #fff; border-bottom: 1px solid #e3ebea; }
.nx-main .nx-wrap { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.nx-logo { flex: 0 0 auto; display: block; }
.nx-logo img { display: block; height: 52px; width: auto; max-width: none; }

.nx-header form.nx-search { flex: 1 1 auto; display: flex; margin: 0; max-width: 620px; }
.nx-header .nx-search input[type="text"] {
	flex: 1 1 auto; min-width: 0; height: 46px; margin: 0; padding: 0 16px; font-size: 15px; line-height: 46px; color: #1f2d2b;
	background: #fff; border: 2px solid #30a498; border-right: 0; border-radius: 6px 0 0 6px; box-shadow: none; outline: 0;
}
.nx-header .nx-search input[type="text"]:focus { border-color: #1f7a70; box-shadow: 0 0 0 3px rgba(48, 164, 152, .25); }
.nx-header .nx-search button {
	flex: 0 0 auto; height: 46px; padding: 0 24px; font-size: 15px; font-weight: 700; color: #0f2e36; background: #fdb927;
	border: 2px solid #fdb927; border-radius: 0 6px 6px 0; cursor: pointer;
}
.nx-header .nx-search button:hover, .nx-header .nx-search button:focus { background: #e9a40c; border-color: #e9a40c; color: #0f2e36; }

.nx-account { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nx-header .nx-btn { display: inline-block; height: 46px; line-height: 44px; padding: 0 18px; font-size: 15px; font-weight: 700; border-radius: 6px; border: 1px solid transparent; white-space: nowrap; }
.nx-header .nx-btn-solid { background: #30a498; color: #fff; }
.nx-header .nx-btn-solid:hover, .nx-header .nx-btn-solid:focus { background: #1f7a70; color: #fff; }
.nx-header .nx-btn-ghost { background: #fff; color: #1f2d2b; border-color: #c9d6d4; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.nx-header .nx-btn-ghost:hover, .nx-header .nx-btn-ghost:focus { border-color: #30a498; color: #1f7a70; }
.nx-header .nx-btn-cart { background: #d9534f; color: #fff; }
.nx-header .nx-btn-cart:hover, .nx-header .nx-btn-cart:focus { background: #c0392b; color: #fff; }

.nx-burger { display: none; flex: 0 0 auto; width: 46px; height: 46px; padding: 12px 10px; background: #30a498; border: 0; border-radius: 6px; cursor: pointer; }
.nx-burger span { display: block; height: 3px; margin: 0 0 6px; background: #fff; border-radius: 2px; }
.nx-burger span:last-child { margin-bottom: 0; }

/* ---- Meniu verde ---------------------------------------------------------- */
.nx-nav { background: #30a498; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.nx-nav .nx-wrap { position: relative; display: flex; align-items: center; }
.nx-header a.nx-call { margin-left: auto; padding: 4px 0 4px 16px; color: #fff; line-height: 1.15; text-align: left; white-space: nowrap; }
.nx-call span { display: block; font-size: 12px; opacity: .9; }
.nx-call strong { display: block; font-size: 17px; font-weight: 700; }
.nx-header a.nx-call:hover, .nx-header a.nx-call:focus { color: #fdb927; outline: 0; }
.nx-mega-store .nx-mega-grid { column-count: 4; }
.nx-menu { display: flex; }
.nx-menu > li { position: static; }
.nx-menu > li > a, .nx-menu > li > .nx-toggle {
	font: inherit; font-size: 16px; font-weight: 700; display: block; height: 50px; line-height: 50px; padding: 0 22px; margin: 0;
	color: #fff; background: transparent; border: 0; border-radius: 0; cursor: pointer; white-space: nowrap; text-shadow: none; box-shadow: none;
}
.nx-menu > li > .nx-toggle:after { content: ""; display: inline-block; margin-left: 9px; vertical-align: 3px; border: 5px solid transparent; border-top-color: #fff; border-bottom-width: 0; }
.nx-menu > li > a:hover, .nx-menu > li > a:focus,
.nx-menu > li > .nx-toggle:hover, .nx-menu > li > .nx-toggle:focus,
.nx-menu > li.nx-open > .nx-toggle { background: #1f7a70; color: #fff; outline: 0; }

.nx-panel { display: none; position: absolute; top: 100%; background: #fff; color: #1f2d2b; border-top: 3px solid #1f7a70; border-radius: 0 0 8px 8px; box-shadow: 0 14px 30px rgba(0, 0, 0, .18); z-index: 1001; }
.nx-menu > li.nx-open > .nx-panel { display: block; }
.nx-mega { left: 16px; right: 16px; padding: 22px 24px 12px; max-height: calc(100vh - 160px); overflow-y: auto; }
.nx-mega-grid { column-count: 5; column-gap: 26px; }
.nx-mega-col { break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid; margin: 0 0 16px; }
.nx-panel h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #1f7a70; padding: 0 0 6px; margin: 0 0 6px; border-bottom: 1px solid #e3ebea; }
.nx-panel li a { display: block; padding: 4px 6px; margin: 0 -6px; font-size: 14px; color: #1f2d2b; border-radius: 4px; }
.nx-panel li a:hover, .nx-panel li a:focus { background: #e6f5f3; color: #1f7a70; outline: 0; }
.nx-drop { min-width: 280px; padding: 18px 20px 10px; }
.nx-drop ul { margin-bottom: 12px; }

/* ---- Pagina principala ---------------------------------------------------- */
.nx-home { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; line-height: 1.5; color: #1f2d2b; }
.nx-home h2 { font-size: 24px; line-height: 1.25; font-weight: 700; color: #1f2d2b; margin: 0 0 18px; padding: 0; }
.nx-home h2 span { color: #30a498; }
.nx-section { padding: 34px 0; }
.nx-section-alt { background: #f3f7f7; }

.nx-hero { background: #0f2e36; background: linear-gradient(135deg, #0b2229 0%, #0f2e36 55%, #17464f 100%); padding: 26px 0 32px; }
.nx-home h1.nx-hero-title { margin: 0 0 20px; padding: 0; font-size: 34px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; color: #fff; text-align: center; text-shadow: none; }
.nx-home h1.nx-hero-title span { color: #5fd3c6; }
.nx-hero .nx-carousel { box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }
/* Bannerul este cu 25% mai mic decat latimea paginii (proportional, fara a taia din imagine); pe telefon ramane pe toata latimea. */
.nx-carousel { position: relative; width: 75%; margin: 0 auto; background: #dfe8e7; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 24px rgba(31, 45, 43, .16); }
.nx-slides { position: relative; width: 100%; padding-top: 34.02%; /* 970 x 330 */ }
/* Glisare: bannerul nou intra din stanga si se misca spre dreapta (pozitiile sunt controlate din norma.ui.js). */
.nx-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; visibility: hidden; transform: translateX(-100%); }
.nx-slide.is-active { visibility: visible; transform: translateX(0); }
.nx-slide img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.nx-home .nx-car-btn { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; padding: 0; font-size: 26px; line-height: 40px; text-align: center; color: #fff; background: rgba(31, 45, 43, .55); border: 0; border-radius: 50%; cursor: pointer; }
.nx-home .nx-car-btn:hover, .nx-home .nx-car-btn:focus { background: #30a498; outline: 0; }
.nx-car-prev { left: 14px; }
.nx-car-next { right: 14px; }
.nx-dots { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; line-height: 0; }
.nx-home .nx-dots button { width: 11px; height: 11px; margin: 0 4px; padding: 0; background: rgba(255, 255, 255, .65); border: 1px solid rgba(31, 45, 43, .35); border-radius: 50%; cursor: pointer; }
.nx-home .nx-dots button.is-active { background: #30a498; border-color: #fff; }

.nx-usp { background: #0f2e36; color: #fff; }
.nx-usp ul { display: flex; flex-wrap: wrap; }
.nx-usp li { flex: 1 1 25%; min-width: 220px; padding: 16px 18px; font-size: 14px; border-left: 1px solid rgba(255, 255, 255, .12); }
.nx-usp li:first-child { border-left: 0; }
.nx-usp strong { display: block; font-size: 15px; color: #7fe0d4; }

.nx-promo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.nx-home .nx-promo-grid button { display: block; width: 100%; padding: 0; background: #fff; border: 1px solid #dbe5e4; border-radius: 8px; overflow: hidden; cursor: pointer; transition: box-shadow .2s, transform .2s, border-color .2s; }
.nx-home .nx-promo-grid button:hover, .nx-home .nx-promo-grid button:focus { border-color: #30a498; box-shadow: 0 8px 18px rgba(31, 45, 43, .16); transform: translateY(-2px); outline: 0; }
.nx-promo-grid img { display: block; width: 100%; height: auto; max-width: none; }

.nx-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.nx-cat { background: #fff; border: 1px solid #dbe5e4; border-top: 4px solid #30a498; border-radius: 8px; padding: 14px 16px 12px; }
.nx-home .nx-cat h3 { font-size: 15px; line-height: 1.3; font-weight: 700; color: #1f2d2b; margin: 0 0 8px; padding: 0; }
.nx-cat li a { display: block; padding: 3px 0; font-size: 14px; color: #3c4f4c; }
.nx-cat li a:hover, .nx-cat li a:focus { color: #1f7a70; text-decoration: underline; }
.nx-cat .nx-more { display: none; }
.nx-cat.nx-open .nx-more { display: block; }
.nx-home .nx-cat-all { margin: 6px 0 0; padding: 0; font-size: 13px; font-weight: 700; color: #1f7a70; background: none; border: 0; cursor: pointer; }
.nx-home .nx-cat-all:hover, .nx-home .nx-cat-all:focus { text-decoration: underline; outline: 0; }

.nx-about { display: flex; gap: 40px; align-items: flex-start; }
.nx-about-text { flex: 1 1 50%; }
.nx-about-text p { margin: 0 0 12px; }
.nx-brands { flex: 1 1 50%; display: flex; flex-wrap: wrap; gap: 12px; }
.nx-brand { display: block; height: 76px; background: #fff url(/images/producatori1.jpg) no-repeat; border: 1px solid #dbe5e4; border-radius: 8px; overflow: hidden; text-indent: -9999px; transition: border-color .2s, box-shadow .2s; }
a.nx-brand:hover, a.nx-brand:focus { border-color: #30a498; box-shadow: 0 6px 14px rgba(31, 45, 43, .14); outline: 0; }
.nx-brand-bosma { width: 156px; background-position: -26px -109px; }
.nx-brand-hobi { width: 148px; background-position: -207px -109px; }
.nx-brand-cheeft { width: 180px; background-position: -375px -109px; }
.nx-brand-fristom { width: 193px; background-position: -586px -109px; }

/* ---- Magazin online EUTruckParts ------------------------------------------ */
.nx-store { background: #f3f7f7; }
.nx-store-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 6px; }
.nx-home .nx-store-head h2 { margin: 0; }
.nx-home a.nx-store-btn { display: inline-block; padding: 11px 22px; font-size: 15px; font-weight: 700; color: #0f2e36; background: #fdb927; border-radius: 6px; }
.nx-home a.nx-store-btn:hover, .nx-home a.nx-store-btn:focus { background: #e9a40c; color: #0f2e36; outline: 0; }
.nx-home p.nx-store-intro { margin: 0 0 18px; max-width: 760px; color: #3c4f4c; }
.nx-store-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 0 0 24px; }
.nx-home .nx-store-cats a { display: flex; align-items: center; min-height: 74px; padding: 14px 16px; font-size: 16px; line-height: 1.25; font-weight: 700; color: #fff; background: #0f2e36; border-left: 5px solid #30a498; border-radius: 8px; transition: background .2s, transform .2s; }
.nx-home .nx-store-cats a:hover, .nx-home .nx-store-cats a:focus { background: #17464f; color: #fff; transform: translateY(-2px); outline: 0; }
.nx-home h3.nx-store-sub { margin: 0 0 10px; padding: 0; font-size: 14px; line-height: 1.3; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #1f7a70; }
.nx-home ul.nx-store-links { display: flex; flex-wrap: wrap; gap: 8px; }
.nx-store-links a { display: block; padding: 7px 14px; font-size: 14px; color: #1f2d2b; background: #fff; border: 1px solid #dbe5e4; border-radius: 20px; }
.nx-store-links a:hover, .nx-store-links a:focus { border-color: #30a498; color: #1f7a70; outline: 0; }

/* ---- Subsol (pe coloane, ca in EUTruckParts) ------------------------------- */
.nx-footer { clear: both; margin: 40px 0 0; background: #0f2e36; color: #cfe3e0; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.55; border-top: 4px solid #30a498; }
.nx-footer-cols { display: flex; flex-wrap: wrap; gap: 34px; padding-top: 36px !important; padding-bottom: 30px !important; }
.nx-footer-col { flex: 1 1 220px; min-width: 0; }
.nx-footer h4 { margin: 0 0 14px; padding: 0; font-size: 16px; line-height: 1.3; font-weight: 700; color: #fff; text-align: left; text-transform: none; }
.nx-footer ul { list-style: none; margin: 0; padding: 0; }
.nx-footer li { margin: 0 0 7px; padding: 0; line-height: 1.4; background: none; }
.nx-footer a { color: #cfe3e0; text-decoration: none; }
.nx-footer a:hover, .nx-footer a:focus { color: #fdb927; text-decoration: underline; }
.nx-footer dl { margin: 0; }
.nx-footer dt { margin: 0 0 2px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #5fd3c6; }
.nx-footer dd { margin: 0 0 14px; color: #fff; }
.nx-footer dd a { color: #fff; }
.nx-footer form.nx-footer-login { margin: 0; }
.nx-footer .nx-footer-login label { display: block; margin: 0 0 3px; font-size: 13px; font-weight: 700; color: #cfe3e0; }
.nx-footer .nx-footer-login input[type="text"], .nx-footer .nx-footer-login input[type="password"] { display: block; width: 100%; max-width: 260px; height: 40px; margin: 0 0 10px; padding: 0 12px; font-size: 14px; color: #1f2d2b; background: #fff; border: 1px solid #fff; border-radius: 6px; box-shadow: none; }
.nx-footer .nx-footer-login button { height: 40px; padding: 0 20px; font-size: 14px; font-weight: 700; color: #0f2e36; background: #fdb927; border: 0; border-radius: 6px; cursor: pointer; }
.nx-footer .nx-footer-login button:hover, .nx-footer .nx-footer-login button:focus { background: #e9a40c; }
.nx-footer p.nx-footer-note { margin: 14px 0 0; font-size: 13px; color: #9fbab6; }
.nx-footer-bottom { background: #0b2229; color: #9fbab6; font-size: 13px; text-align: center; }
.nx-footer-bottom .nx-wrap { padding-top: 14px !important; padding-bottom: 14px !important; }

/* ---- Ecrane mici ---------------------------------------------------------- */
@media (max-width: 1100px) {
	.nx-mega-grid { column-count: 4; }
	.nx-store-cats { grid-template-columns: repeat(3, 1fr); }
	.nx-menu > li > a, .nx-menu > li > .nx-toggle { padding: 0 16px; }
	.nx-cats { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
	.nx-topbar-item { display: none; }
	.nx-topbar .nx-wrap { justify-content: center; }
	.nx-topbar a { margin: 0 8px; }
	.nx-main .nx-wrap { flex-wrap: wrap; gap: 12px; }
	.nx-burger { display: block; order: 1; }
	.nx-logo { order: 2; }
	.nx-logo img { height: 42px; }
	.nx-account { order: 3; }
	.nx-header form.nx-search { order: 4; flex: 1 1 100%; max-width: none; }
	.nx-header .nx-btn { height: 42px; line-height: 40px; padding: 0 12px; font-size: 14px; }

	.nx-nav { display: none; }
	.nx-nav.nx-nav-open { display: block; }
	.nx-nav .nx-wrap { padding: 0; display: block; }
	.nx-header a.nx-call { display: block; margin: 0; padding: 12px 18px; border-top: 1px solid rgba(255, 255, 255, .18); }
	.nx-mega-store .nx-mega-grid { column-count: 2; }
	.nx-home h1.nx-hero-title { font-size: 24px; margin-bottom: 16px; }
	.nx-store-cats { grid-template-columns: repeat(2, 1fr); }
	.nx-menu { display: block; }
	.nx-menu > li > a, .nx-menu > li > .nx-toggle { width: 100%; text-align: left; padding: 0 18px; border-top: 1px solid rgba(255, 255, 255, .18); }
	.nx-menu > li > .nx-toggle:after { float: right; margin-top: 23px; }
	.nx-panel { position: static; border-radius: 0; box-shadow: none; max-height: none; }
	.nx-mega { padding: 16px 18px 6px; }
	.nx-mega-grid { column-count: 2; column-gap: 20px; }
	.nx-panel li a { padding: 7px 6px; }

	.nx-carousel { width: 100%; }
	.nx-promo-grid { grid-template-columns: repeat(2, 1fr); }
	.nx-cats { grid-template-columns: repeat(2, 1fr); }
	.nx-about { display: block; }
	.nx-brands { margin-top: 18px; }
	.nx-home .nx-car-btn { width: 36px; height: 36px; margin-top: -18px; font-size: 20px; line-height: 32px; }
	.nx-section { padding: 26px 0; }
	.nx-home h2 { font-size: 20px; }
}
@media (max-width: 520px) {
	.nx-mega-grid, .nx-mega-store .nx-mega-grid { column-count: 1; }
	.nx-store-cats { grid-template-columns: 1fr; }
	.nx-cats { grid-template-columns: 1fr; }
	.nx-usp li { flex-basis: 100%; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
	.nx-header .nx-search button { padding: 0 14px; }
	.nx-dots { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.nx-home .nx-promo-grid button { transition: none; }
}

/* ---- Imaginea produsului: miniatura in lista, imagine mare la clic --------- */
body.nx .img-produs img { max-width: 100px; max-height: 100px; width: auto; height: auto; cursor: zoom-in; border: 1px solid #dbe5e4; border-radius: 6px; background: #fff; transition: border-color .2s, box-shadow .2s; }
body.nx .img-produs img:hover { border-color: #30a498; box-shadow: 0 4px 12px rgba(31, 45, 43, .18); }
.nx-lightbox { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 3000; padding: 56px 20px 20px; background: rgba(11, 34, 41, .88); text-align: center; cursor: zoom-out; }
.nx-lightbox.is-open { display: flex; align-items: center; justify-content: center; }
.nx-lightbox img { display: none; max-width: 100%; max-height: 100%; width: auto; height: auto; background: #fff; border-radius: 8px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); cursor: default; }
.nx-lightbox.is-loaded img { display: block; }
.nx-lightbox:not(.is-loaded):not(.is-error):after { content: "Se încarcă imaginea…"; color: #fff; font: 16px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif; }
.nx-lightbox.is-error:after { content: "Imaginea nu este disponibilă."; color: #fff; font: 16px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif; }
.nx-lightbox .nx-lightbox-close { position: absolute; top: 12px; right: 16px; width: 40px; height: 40px; padding: 0; font-size: 28px; line-height: 36px; color: #fff; background: rgba(255, 255, 255, .15); border: 0; border-radius: 50%; cursor: pointer; }
.nx-lightbox .nx-lightbox-close:hover, .nx-lightbox .nx-lightbox-close:focus { background: #30a498; outline: 0; }
