:root {
  --nhd-yellow: #ffd43b;
  --nhd-yellow-strong: #ffcf24;
  --nhd-ink: #0d1b31;
  --nhd-muted: #60718a;
  --nhd-border: #e6ebf2;
  --nhd-soft: #f7f9fb;
  --nhd-dark: #101b27;
  --nhd-shadow: 0 4px 18px rgba(14, 29, 50, .07);
  --nhd-container: 920px;
}

body.nhd-home-template,
body.nhd-home-template button,
body.nhd-home-template input {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body.nhd-home-template {
  margin: 0;
  color: var(--nhd-ink);
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
}

body.nhd-home-template * { box-sizing: border-box; }
body.nhd-home-template a { color: inherit; text-decoration: none; }
body.nhd-home-template img { max-width: 100%; display: block; }
body.nhd-home-template button { color: inherit; }
body.nhd-home-template .nhd-container { width: min(var(--nhd-container), calc(100% - 64px)); margin-inline: auto; }
body.nhd-home-template .nhd-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
body.nhd-home-template .nhd-svg-sprite { position: absolute; overflow: hidden; }
body.nhd-home-template .nhd-mobile-only { display: none; }

/* top bar */
body.nhd-home-template .nhd-utility-bar { background: linear-gradient(90deg, #161d24, #0d1319); color: #fff; font-size: 10px; }
body.nhd-home-template .nhd-utility-inner { height: 34px; display: flex; align-items: center; justify-content: space-between; }
body.nhd-home-template .nhd-utility-left { display: flex; gap: 38px; opacity: .96; }
body.nhd-home-template .nhd-utility-left span::first-letter { color: var(--nhd-yellow); }
body.nhd-home-template .nhd-utility-right { display: flex; gap: 12px; opacity: .9; }

/* header */
body.nhd-home-template .nhd-header { background: #fff; border-bottom: 1px solid #f2f3f6; }
body.nhd-home-template .nhd-header-main { min-height: 77px; display: grid; grid-template-columns: 130px 1fr auto; gap: 28px; align-items: center; }
body.nhd-home-template .nhd-logo img { width: 108px; height: auto; }
body.nhd-home-template .nhd-search { height: 37px; border: 1px solid #e2e7ee; border-radius: 22px; display: flex; align-items: center; background: #fbfcfd; overflow: hidden; box-shadow: inset 0 1px 3px rgba(10, 28, 48, .02); }
body.nhd-home-template .nhd-search input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; padding: 0 14px; color: #42516a; font-size: 11px; }
body.nhd-home-template .nhd-search input::placeholder { color: #6e7f98; opacity: 1; }
body.nhd-home-template .nhd-search-leading { display: none; }
body.nhd-home-template .nhd-search-submit { width: 42px; height: 100%; border: 0; background: var(--nhd-yellow); display: grid; place-items: center; cursor: pointer; }
body.nhd-home-template .nhd-header-actions { display: flex; align-items: center; gap: 22px; }
body.nhd-home-template .nhd-phone { display: flex; align-items: center; gap: 10px; }
body.nhd-home-template .nhd-phone > .nhd-icon { width: 24px; height: 24px; color: var(--nhd-yellow-strong); stroke-width: 2.2; }
body.nhd-home-template .nhd-phone span { display: flex; flex-direction: column; line-height: 1.25; }
body.nhd-home-template .nhd-phone strong { font-size: 10px; }
body.nhd-home-template .nhd-phone small { font-size: 8px; color: #61708a; }
body.nhd-home-template .nhd-header-icon { min-width: 35px; display: flex; flex-direction: column; align-items: center; gap: 2px; position: relative; font-size: 8px; font-weight: 600; }
body.nhd-home-template .nhd-header-icon .nhd-icon { width: 25px; height: 25px; }
body.nhd-home-template .nhd-cart-badge { position: absolute; top: -5px; right: 1px; min-width: 16px; height: 16px; padding: 0 4px; display: grid; place-items: center; border-radius: 9px; background: var(--nhd-yellow); font-size: 9px; line-height: 1; }
body.nhd-home-template .nhd-menu-toggle,
body.nhd-home-template .nhd-mobile-search-trigger,
body.nhd-home-template .nhd-mobile-search-row { display: none; }

/* nav */
body.nhd-home-template .nhd-navbar { background: #fff; }
body.nhd-home-template .nhd-nav-inner { height: 37px; display: flex; align-items: center; gap: 40px; font-size: 11px; font-weight: 700; }
body.nhd-home-template .nhd-nav-inner a { height: 100%; display: flex; align-items: center; gap: 5px; position: relative; }
body.nhd-home-template .nhd-nav-inner a.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 4px; background: var(--nhd-yellow); }

/* hero desktop */
body.nhd-home-template .nhd-hero { background: linear-gradient(90deg, #fbfcfe 0%, #fff 50%, #f8fafc 100%); }
body.nhd-home-template .nhd-hero-card { min-height: 300px; display: grid; grid-template-columns: 43% 57%; overflow: hidden; }
body.nhd-home-template .nhd-hero-copy { padding: 38px 0 34px; position: relative; z-index: 2; }
body.nhd-home-template .nhd-eyebrow { font-size: 10px; color: #64738a; margin-bottom: 8px; }
body.nhd-home-template .nhd-hero h1 { margin: 0 0 12px; max-width: 410px; font-size: 31px; line-height: 1.30; letter-spacing: -.045em; font-weight: 800; }
body.nhd-home-template .nhd-highlight { background: var(--nhd-yellow); border-radius: 8px; padding: 0 .08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
body.nhd-home-template .nhd-hero p { margin: 0 0 18px; color: #3f4e66; font-size: 13px; line-height: 1.7; }
body.nhd-home-template .nhd-hero-actions { display: flex; gap: 14px; }
body.nhd-home-template .nhd-btn { min-height: 39px; padding: 0 20px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; font-size: 11px; font-weight: 800; transition: transform .2s ease; }
body.nhd-home-template .nhd-btn:hover { transform: translateY(-1px); }
body.nhd-home-template .nhd-btn-primary { background: var(--nhd-yellow); color: #151b25; }
body.nhd-home-template .nhd-btn-outline { background: #fff; border-color: #24324a; }
body.nhd-home-template .nhd-hero-media { height: 300px; }
body.nhd-home-template .nhd-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* service row */
body.nhd-home-template .nhd-service-strip { background: #fff; border-top: 1px solid #f0f2f4; border-bottom: 1px solid #f0f2f4; }
body.nhd-home-template .nhd-service-grid { min-height: 98px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
body.nhd-home-template .nhd-service-item { min-height: 50px; display: flex; align-items: center; gap: 14px; padding: 0 18px; border-right: 1px solid #eceff3; }
body.nhd-home-template .nhd-service-item:first-child { padding-left: 0; }
body.nhd-home-template .nhd-service-item:last-child { padding-right: 0; border-right: 0; }
body.nhd-home-template .nhd-icon-service { width: 34px; height: 34px; flex: 0 0 auto; }
body.nhd-home-template .nhd-service-item > div { display: flex; flex-direction: column; }
body.nhd-home-template .nhd-service-item strong { font-size: 11px; line-height: 1.35; }
body.nhd-home-template .nhd-service-item span { margin-top: 3px; color: #607089; font-size: 9px; line-height: 1.45; }

/* common sections */
body.nhd-home-template .nhd-section { padding-top: 30px; }
body.nhd-home-template .nhd-section-head { margin-bottom: 20px; display: flex; align-items: flex-end; justify-content: space-between; }
body.nhd-home-template .nhd-section-head h2,
body.nhd-home-template .nhd-brands h2 { margin: 0; font-size: 23px; line-height: 1.1; letter-spacing: -.03em; }
body.nhd-home-template .nhd-title-line { display: block; width: 36px; height: 4px; margin-top: 10px; border-radius: 4px; background: var(--nhd-yellow); }
body.nhd-home-template .nhd-section-subtitle,
body.nhd-home-template .nhd-brands-copy p { margin: 6px 0 0; color: #61708a; font-size: 9px; }
body.nhd-home-template .nhd-section-more { display: flex; align-items: center; gap: 8px; color: #506079; font-size: 9px; white-space: nowrap; }

/* categories */
body.nhd-home-template .nhd-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
body.nhd-home-template .nhd-category-card { overflow: hidden; border: 1px solid var(--nhd-border); border-radius: 9px; background: #fff; box-shadow: var(--nhd-shadow); transition: transform .2s ease, box-shadow .2s ease; }
body.nhd-home-template .nhd-category-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(16, 28, 47, .09); }
body.nhd-home-template .nhd-category-image { height: 94px; overflow: hidden; background: #f8f9fb; }
body.nhd-home-template .nhd-category-image img { width: 100%; height: 100%; object-fit: cover; }
body.nhd-home-template .nhd-category-bottom { min-height: 72px; padding: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
body.nhd-home-template .nhd-category-bottom strong { font-size: 11px; line-height: 1.35; }
body.nhd-home-template .nhd-round-arrow { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid #e7ebf1; border-radius: 50%; font-size: 15px; font-weight: 400; }

/* products */
body.nhd-home-template .nhd-products-section { padding-top: 34px; }
body.nhd-home-template .nhd-products-shell { position: relative; }
body.nhd-home-template .nhd-product-track { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
body.nhd-home-template .nhd-product-card { min-width: 0; padding: 8px 10px 11px; display: flex; flex-direction: column; border: 1px solid var(--nhd-border); border-radius: 9px; background: #fff; box-shadow: var(--nhd-shadow); }
body.nhd-home-template .nhd-product-image { height: 83px; display: grid; place-items: center; overflow: hidden; margin-bottom: 4px; }
body.nhd-home-template .nhd-product-image img { width: 100%; height: 100%; object-fit: cover; }
body.nhd-home-template .nhd-product-name { min-height: 28px; margin: 2px 0 5px; color: #43516a; font-size: 9px; line-height: 1.45; }
body.nhd-home-template .nhd-price { margin-bottom: 10px; font-size: 11px; font-weight: 800; }
body.nhd-home-template .nhd-cart-btn { margin-top: auto; min-height: 28px; border-radius: 7px; background: var(--nhd-yellow); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 8px; font-weight: 800; }
body.nhd-home-template .nhd-cart-btn .nhd-icon { width: 14px; height: 14px; }
body.nhd-home-template .nhd-slider-arrow { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); border: 0; background: transparent; font-size: 26px; cursor: pointer; }
body.nhd-home-template .nhd-slider-prev { left: -30px; }
body.nhd-home-template .nhd-slider-next { right: -30px; }
body.nhd-home-template .nhd-mobile-dots { display: none; }

/* B2B */
body.nhd-home-template .nhd-b2b { padding-top: 28px; }
body.nhd-home-template .nhd-b2b-card { min-height: 126px; overflow: hidden; display: grid; grid-template-columns: 30% 40% 30%; align-items: center; border-radius: 10px; background: linear-gradient(90deg, #f5f7fa, #fbfcfd); }
body.nhd-home-template .nhd-b2b-media { height: 126px; }
body.nhd-home-template .nhd-b2b-media img { width: 100%; height: 100%; object-fit: cover; }
body.nhd-home-template .nhd-b2b-copy { padding: 18px 26px; }
body.nhd-home-template .nhd-b2b-copy h2 { margin: 0 0 6px; font-size: 17px; line-height: 1.2; letter-spacing: -.02em; }
body.nhd-home-template .nhd-b2b-copy p { margin: 0 0 13px; color: #607089; font-size: 9px; }
body.nhd-home-template .nhd-btn-small { min-height: 31px; padding-inline: 16px; font-size: 9px; }
body.nhd-home-template .nhd-b2b-list { padding: 7px 25px; display: flex; flex-direction: column; gap: 7px; border-left: 1px solid #dde2e9; color: #53637d; font-size: 9px; }

/* brands */
body.nhd-home-template .nhd-brands { padding: 28px 0 31px; }
body.nhd-home-template .nhd-brands-row { display: grid; grid-template-columns: 34% 66%; align-items: center; gap: 10px; }
body.nhd-home-template .nhd-brands h2 { font-size: 16px; }
body.nhd-home-template .nhd-brands-image img { width: 100%; height: 48px; object-fit: contain; }

/* footer desktop */
body.nhd-home-template .nhd-footer { background: linear-gradient(110deg, #10171f, #121b25 60%, #0d151e); color: #eef2f7; padding: 27px 0 24px; }
body.nhd-home-template .nhd-footer-inner { position: relative; display: grid; grid-template-columns: 1.4fr 1.15fr 1.1fr 1.1fr .8fr; gap: 30px; align-items: start; }
body.nhd-home-template .nhd-footer-logo { width: 106px; margin-bottom: 8px; }
body.nhd-home-template .nhd-footer-brand p { margin: 0; max-width: 205px; color: #c4cdd8; font-size: 10px; line-height: 1.7; }
body.nhd-home-template .nhd-footer h3 { margin: 0 0 11px; color: #fff; font-size: 9px; }
body.nhd-home-template .nhd-footer-contact,
body.nhd-home-template .nhd-footer-links { display: flex; flex-direction: column; gap: 7px; color: #c7ced7; font-size: 8px; }
body.nhd-home-template .nhd-footer-contact a,
body.nhd-home-template .nhd-footer-contact > span { display: flex; align-items: center; gap: 8px; }
body.nhd-home-template .nhd-footer-contact .nhd-icon { width: 13px; height: 13px; }
body.nhd-home-template .nhd-footer-social > div { display: flex; gap: 13px; }
body.nhd-home-template .nhd-footer-social a { font-size: 16px; font-weight: 800; }
body.nhd-home-template .nhd-footer-divider { display: none; }
body.nhd-home-template .nhd-footer-copy { grid-column: 5; margin-top: 14px; color: #aeb8c4; font-size: 7px; white-space: nowrap; }
body.nhd-home-template .nhd-back-top { display: none; }

@media (max-width: 900px) and (min-width: 768px) {
  body.nhd-home-template .nhd-container { width: min(100% - 36px, 720px); }
  body.nhd-home-template .nhd-utility-left { gap: 16px; }
  body.nhd-home-template .nhd-utility-left span:nth-child(2) { display: none; }
  body.nhd-home-template .nhd-header-main { grid-template-columns: 105px 1fr auto; gap: 14px; }
  body.nhd-home-template .nhd-phone { display: none; }
  body.nhd-home-template .nhd-nav-inner { gap: 22px; }
  body.nhd-home-template .nhd-hero-card { grid-template-columns: 48% 52%; }
  body.nhd-home-template .nhd-hero h1 { font-size: 28px; }
  body.nhd-home-template .nhd-category-grid { grid-template-columns: repeat(2, 1fr); }
  body.nhd-home-template .nhd-product-track { grid-template-columns: repeat(3, 1fr); }
  body.nhd-home-template .nhd-slider-arrow { display: none; }
  body.nhd-home-template .nhd-b2b-card { grid-template-columns: 31% 69%; }
  body.nhd-home-template .nhd-b2b-list { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #dde2e9; display: grid; grid-template-columns: repeat(2, 1fr); padding: 14px 22px; }
  body.nhd-home-template .nhd-brands-row { grid-template-columns: 1fr; }
  body.nhd-home-template .nhd-footer-inner { grid-template-columns: repeat(3, 1fr); }
  body.nhd-home-template .nhd-footer-copy { grid-column: 1 / -1; }
}

/* mobile - mockup fidelity */
@media (max-width: 767px) {
  body.nhd-home-template { background: #fff; font-size: 13px; }
  body.nhd-home-template .nhd-container { width: calc(100% - 28px); }
  body.nhd-home-template .nhd-desktop-only,
  body.nhd-home-template .nhd-desktop-only-link { display: none !important; }
  body.nhd-home-template .nhd-mobile-only { display: block; }

  body.nhd-home-template .nhd-utility-bar { display: none; }
  body.nhd-home-template .nhd-header { border-bottom: 0; padding-top: 7px; }
  body.nhd-home-template .nhd-header-main { min-height: 74px; grid-template-columns: 112px 1fr; gap: 8px; }
  body.nhd-home-template .nhd-logo img { width: 101px; }
  body.nhd-home-template .nhd-header-main > .nhd-search { display: none; }
  body.nhd-home-template .nhd-header-actions { justify-self: end; gap: 15px; }
  body.nhd-home-template .nhd-phone { display: none; }
  body.nhd-home-template .nhd-mobile-search-trigger,
  body.nhd-home-template .nhd-menu-toggle { display: grid; place-items: center; width: 28px; height: 36px; padding: 0; border: 0; background: transparent; }
  body.nhd-home-template .nhd-mobile-search-trigger .nhd-icon,
  body.nhd-home-template .nhd-menu-toggle .nhd-icon { width: 25px; height: 25px; stroke-width: 2; }
  body.nhd-home-template .nhd-header-icon { min-width: 28px; gap: 0; }
  body.nhd-home-template .nhd-header-icon .nhd-icon { width: 25px; height: 25px; }
  body.nhd-home-template .nhd-header-icon > span:last-child { display: none; }
  body.nhd-home-template .nhd-cart-badge { top: -2px; right: -1px; min-width: 17px; height: 17px; border-radius: 10px; font-size: 9px; }
  body.nhd-home-template .nhd-mobile-search-row { display: block; padding-bottom: 12px; }
  body.nhd-home-template .nhd-search-mobile { width: 100%; height: 45px; border-radius: 11px; background: #fff; box-shadow: 0 2px 10px rgba(16, 31, 50, .035); }
  body.nhd-home-template .nhd-search-mobile .nhd-search-leading { display: block; width: 18px; height: 18px; margin-left: 14px; flex: 0 0 auto; }
  body.nhd-home-template .nhd-search-mobile input { padding-left: 10px; font-size: 12px; }
  body.nhd-home-template .nhd-navbar { display: none; border-top: 1px solid #eef1f4; border-bottom: 1px solid #eef1f4; }
  body.nhd-home-template .nhd-navbar.is-open { display: block; }
  body.nhd-home-template .nhd-nav-inner { width: calc(100% - 28px); height: auto; padding: 7px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; font-size: 11px; }
  body.nhd-home-template .nhd-nav-inner a { min-height: 38px; padding: 0 8px; }
  body.nhd-home-template .nhd-nav-inner a.is-active::after { display: none; }

  body.nhd-home-template .nhd-hero { padding: 4px 0 0; background: #fff; }
  body.nhd-home-template .nhd-hero-card { width: calc(100% - 20px); min-height: 384px; position: relative; display: block; border-radius: 11px; overflow: hidden; background: #f8fafc; box-shadow: 0 2px 10px rgba(18, 34, 55, .035); }
  body.nhd-home-template .nhd-hero-media { position: absolute; inset: 0; height: 100%; z-index: 0; }
  body.nhd-home-template .nhd-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.96) 34%, rgba(255,255,255,.69) 57%, rgba(255,255,255,.04) 83%); }
  body.nhd-home-template .nhd-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 64% center; transform: scale(1.13); transform-origin: center right; }
  body.nhd-home-template .nhd-hero-copy { width: 72%; padding: 22px 0 20px 18px; position: relative; z-index: 1; }
  body.nhd-home-template .nhd-eyebrow { margin-bottom: 6px; font-size: 9px; }
  body.nhd-home-template .nhd-hero h1 { max-width: 275px; margin-bottom: 12px; font-size: 26px; line-height: 1.30; letter-spacing: -.04em; }
  body.nhd-home-template .nhd-highlight { border-radius: 5px; padding: 0 .08em; line-height: 1.2; }
  body.nhd-home-template .nhd-hero p { max-width: 245px; margin-bottom: 16px; font-size: 11px; line-height: 1.55; }
  body.nhd-home-template .nhd-hero-actions { flex-direction: column; align-items: flex-start; gap: 8px; }
  body.nhd-home-template .nhd-btn { min-height: 37px; padding: 0 17px; border-radius: 18px; font-size: 10px; }
  body.nhd-home-template .nhd-btn-outline { background: rgba(255,255,255,.86); }

  body.nhd-home-template .nhd-service-strip { margin: 12px 0 0; border-top: 0; border-bottom: 0; }
  body.nhd-home-template .nhd-service-grid { width: calc(100% - 20px); min-height: 112px; grid-template-columns: repeat(4, 1fr); align-items: stretch; }
  body.nhd-home-template .nhd-service-item { min-width: 0; padding: 10px 7px 6px; flex-direction: column; justify-content: flex-start; gap: 7px; text-align: center; border-right: 1px solid #e9edf2; }
  body.nhd-home-template .nhd-service-item:first-child { padding-left: 7px; }
  body.nhd-home-template .nhd-service-item:last-child { padding-right: 7px; }
  body.nhd-home-template .nhd-icon-service { width: 31px; height: 31px; }
  body.nhd-home-template .nhd-service-item > div { align-items: center; }
  body.nhd-home-template .nhd-service-item strong { font-size: 9px; line-height: 1.35; }
  body.nhd-home-template .nhd-service-item span { margin-top: 3px; font-size: 8px; line-height: 1.55; }

  body.nhd-home-template .nhd-section { padding-top: 26px; }
  body.nhd-home-template .nhd-section-head { margin-bottom: 14px; align-items: flex-start; }
  body.nhd-home-template .nhd-section-head h2 { font-size: 20px; letter-spacing: -.035em; }
  body.nhd-home-template .nhd-title-line { width: 35px; height: 3px; margin-top: 7px; }
  body.nhd-home-template .nhd-section-subtitle { display: none; }
  body.nhd-home-template .nhd-section-more { margin-top: 5px; color: #0c1a30; font-size: 9px; font-weight: 700; }

  body.nhd-home-template .nhd-category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  body.nhd-home-template .nhd-category-card { border-radius: 9px; box-shadow: 0 3px 14px rgba(18, 33, 53, .055); }
  body.nhd-home-template .nhd-category-image { height: 95px; }
  body.nhd-home-template .nhd-category-bottom { min-height: 61px; padding: 10px 10px 11px; }
  body.nhd-home-template .nhd-category-bottom strong { font-size: 10px; line-height: 1.35; }
  body.nhd-home-template .nhd-round-arrow { width: 24px; height: 24px; font-size: 14px; }

  body.nhd-home-template .nhd-products-section { padding-top: 34px; }
  body.nhd-home-template .nhd-products-section .nhd-section-head { margin-bottom: 14px; }
  body.nhd-home-template .nhd-products-shell { margin-inline: -2px; }
  body.nhd-home-template .nhd-product-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 17px 5px; margin: 0 -17px; }
  body.nhd-home-template .nhd-product-track::-webkit-scrollbar { display: none; }
  body.nhd-home-template .nhd-product-card { flex: 0 0 calc(50% - 6px); min-width: 0; min-height: 207px; padding: 8px 10px 11px; scroll-snap-align: start; border-radius: 9px; }
  body.nhd-home-template .nhd-product-saci { order: -2; }
  body.nhd-home-template .nhd-product-manusi { order: -1; }
  body.nhd-home-template .nhd-product-image { height: 100px; margin-bottom: 4px; }
  body.nhd-home-template .nhd-product-image img { object-fit: contain; }
  body.nhd-home-template .nhd-product-name { min-height: 37px; margin: 0 0 3px; color: #17233a; font-size: 9px; }
  body.nhd-home-template .nhd-price { margin-bottom: 9px; font-size: 11px; }
  body.nhd-home-template .nhd-cart-btn { min-height: 34px; border-radius: 16px; font-size: 9px; }
  body.nhd-home-template .nhd-cart-btn .nhd-icon { width: 15px; height: 15px; }
  body.nhd-home-template .nhd-slider-arrow { display: block; top: 51%; font-size: 30px; pointer-events: auto; }
  body.nhd-home-template .nhd-slider-prev { left: -14px; }
  body.nhd-home-template .nhd-slider-next { right: -14px; }
  body.nhd-home-template .nhd-mobile-dots { margin: 7px 0 0; display: flex; justify-content: center; gap: 4px; }
  body.nhd-home-template .nhd-mobile-dots span { width: 6px; height: 6px; border-radius: 50%; background: #e1e6ed; }
  body.nhd-home-template .nhd-mobile-dots span.is-active { background: #0b1728; }

  body.nhd-home-template .nhd-b2b { padding-top: 28px; }
  body.nhd-home-template .nhd-b2b-card { min-height: 238px; position: relative; display: block; border-radius: 11px; overflow: hidden; }
  body.nhd-home-template .nhd-b2b-media { position: absolute; inset: 0; height: 100%; z-index: 0; }
  body.nhd-home-template .nhd-b2b-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(248,250,252,.99) 0%, rgba(248,250,252,.94) 42%, rgba(248,250,252,.5) 65%, rgba(248,250,252,.04) 88%); }
  body.nhd-home-template .nhd-b2b-media img { width: 100%; height: 100%; object-fit: cover; object-position: 71% center; }
  body.nhd-home-template .nhd-b2b-copy { width: 61%; padding: 26px 0 22px 21px; position: relative; z-index: 1; }
  body.nhd-home-template .nhd-b2b-copy h2 { margin-bottom: 10px; font-size: 21px; line-height: 1.08; letter-spacing: -.03em; }
  body.nhd-home-template .nhd-b2b-copy p { max-width: 230px; margin-bottom: 16px; font-size: 10px; line-height: 1.55; color: #28405e; }
  body.nhd-home-template .nhd-b2b-list { display: none; }
  body.nhd-home-template .nhd-btn-small { min-height: 36px; padding-inline: 16px; border-radius: 18px; font-size: 9px; }

  body.nhd-home-template .nhd-brands { padding: 36px 0 24px; }
  body.nhd-home-template .nhd-brands-row { display: block; }
  body.nhd-home-template .nhd-brands h2 { font-size: 21px; }
  body.nhd-home-template .nhd-brands-copy p { display: none; }
  body.nhd-home-template .nhd-brands-image { margin-top: 16px; }
  body.nhd-home-template .nhd-brands-image img { width: 100%; height: auto; object-fit: contain; }

  body.nhd-home-template .nhd-mobile-extra-services { padding: 6px 0 23px; }
  body.nhd-home-template .nhd-mobile-extra-grid { padding: 24px 19px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 24px; border-radius: 10px; background: linear-gradient(135deg, #f8fafc, #f6f8fb); }
  body.nhd-home-template .nhd-mobile-extra-grid > div { display: grid; grid-template-columns: 35px 1fr; align-items: center; gap: 10px; min-width: 0; }
  body.nhd-home-template .nhd-mobile-extra-grid .nhd-icon { width: 30px; height: 30px; }
  body.nhd-home-template .nhd-mobile-extra-grid span { color: #34506e; font-size: 9px; line-height: 1.55; }

  body.nhd-home-template .nhd-mobile-cleaning { padding: 0 0 12px; }
  body.nhd-home-template .nhd-mobile-cleaning img { width: 100%; border-radius: 10px; box-shadow: 0 2px 10px rgba(12, 28, 45, .025); }

  body.nhd-home-template .nhd-footer { margin: 0 14px 20px; padding: 26px 0 20px; border-radius: 12px; overflow: hidden; }
  body.nhd-home-template .nhd-footer-inner { width: calc(100% - 42px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 17px; }
  body.nhd-home-template .nhd-footer-brand { grid-column: 1 / -1; }
  body.nhd-home-template .nhd-footer-logo { width: 95px; margin-bottom: 8px; }
  body.nhd-home-template .nhd-footer-brand p { max-width: 310px; margin-bottom: 15px; font-size: 9px; line-height: 1.65; }
  body.nhd-home-template .nhd-footer-contact { grid-column: 1 / -1; gap: 7px; padding-bottom: 19px; }
  body.nhd-home-template .nhd-footer-contact h3 { display: none; }
  body.nhd-home-template .nhd-footer-contact a,
  body.nhd-home-template .nhd-footer-contact > span { font-size: 9px; }
  body.nhd-home-template .nhd-footer-contact .nhd-icon { width: 13px; height: 13px; }
  body.nhd-home-template .nhd-footer-divider { grid-column: 1 / -1; grid-row: 3; display: block; height: 1px; margin-bottom: 18px; background: rgba(194, 207, 221, .35); }
  body.nhd-home-template .nhd-footer-info { grid-column: 1; grid-row: 4; }
  body.nhd-home-template .nhd-footer-b2b { grid-column: 2; grid-row: 4; }
  body.nhd-home-template .nhd-footer-social { grid-column: 3; grid-row: 4; }
  body.nhd-home-template .nhd-footer h3 { margin-bottom: 8px; font-size: 9px; }
  body.nhd-home-template .nhd-footer-links { gap: 6px; font-size: 8px; }
  body.nhd-home-template .nhd-footer-social > div { gap: 12px; }
  body.nhd-home-template .nhd-footer-social a { font-size: 16px; }
  body.nhd-home-template .nhd-footer-copy { grid-column: 1 / span 2; grid-row: 5; margin-top: 28px; font-size: 7px; white-space: nowrap; }
  body.nhd-home-template .nhd-back-top { grid-column: 3; grid-row: 5; justify-self: end; align-self: end; width: 34px; height: 34px; margin-top: 18px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--nhd-yellow); color: #0c1727; font-size: 16px; cursor: pointer; }
}

@media (max-width: 390px) {
  body.nhd-home-template .nhd-header-actions { gap: 12px; }
  body.nhd-home-template .nhd-hero-card { min-height: 373px; }
  body.nhd-home-template .nhd-hero h1 { font-size: 24px; }
  body.nhd-home-template .nhd-hero-copy { width: 74%; }
  body.nhd-home-template .nhd-service-item { padding-inline: 4px; }
  body.nhd-home-template .nhd-service-item strong { font-size: 8px; }
  body.nhd-home-template .nhd-service-item span { font-size: 7.5px; }
  body.nhd-home-template .nhd-product-card { min-height: 200px; }
  body.nhd-home-template .nhd-b2b-copy h2 { font-size: 19px; }
  body.nhd-home-template .nhd-mobile-extra-grid { gap: 22px 15px; padding-inline: 15px; }
  body.nhd-home-template .nhd-footer-inner { width: calc(100% - 34px); gap: 0 10px; }
}

/* =========================================================
   NHD v2.1.0 - rafinare desktop + mobil, fara redesign
   ========================================================= */

/* Highlight mai organic, tip marker, pastrand galbenul de brand */
body.nhd-home-template .nhd-highlight {
  padding: 0 .14em .03em;
  border-radius: 12px 5px 13px 6px / 48% 35% 58% 42%;
  background: linear-gradient(177deg, transparent 7%, rgba(255, 212, 59, .94) 7%, rgba(255, 212, 59, .94) 90%, transparent 90%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

body.nhd-home-template .nhd-hero-media picture,
body.nhd-home-template .nhd-category-image picture,
body.nhd-home-template .nhd-b2b-media picture,
body.nhd-home-template .nhd-brands-image picture,
body.nhd-home-template .nhd-mobile-cleaning picture {
  display: block;
  width: 100%;
  height: 100%;
}

@media (min-width: 901px) {
  body.nhd-home-template .nhd-container {
    width: min(1320px, calc(100% - 56px));
  }

  /* Header mai bine proportionat pe desktop. Aceste reguli dubleaza intentionat
     shell-ul global deoarece nhd-home.css se incarca dupa nhd-global.css. */
  body.nhd-home-template .nhd-utility-inner { height: 35px; }
  body.nhd-home-template .nhd-utility-left { gap: 46px; }
  body.nhd-home-template .nhd-header-main {
    min-height: 88px;
    grid-template-columns: 150px minmax(280px, 1fr) auto;
    gap: 32px;
  }
  body.nhd-home-template .nhd-logo img { width: 122px; }
  body.nhd-home-template .nhd-search { height: 42px; border-radius: 24px; }
  body.nhd-home-template .nhd-search input { padding: 0 18px; font-size: 12.5px; }
  body.nhd-home-template .nhd-search-submit { width: 48px; }
  body.nhd-home-template .nhd-header-actions { gap: 24px; }
  body.nhd-home-template .nhd-phone strong { font-size: 11px; }
  body.nhd-home-template .nhd-phone small { font-size: 8.5px; }
  body.nhd-home-template .nhd-header-icon { min-width: 42px; font-size: 9px; }
  body.nhd-home-template .nhd-header-icon .nhd-icon { width: 27px; height: 27px; }
  body.nhd-home-template .nhd-nav-inner { height: 44px; gap: 46px; font-size: 12px; }

  /* Hero foloseste mult mai bine latimea monitorului */
  body.nhd-home-template .nhd-hero-card {
    min-height: 390px;
    grid-template-columns: 47% 53%;
  }
  body.nhd-home-template .nhd-hero-copy {
    padding: 56px 24px 50px 0;
  }
  body.nhd-home-template .nhd-eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
  }
  body.nhd-home-template .nhd-hero h1 {
    max-width: 610px;
    margin-bottom: 16px;
    font-size: clamp(40px, 3.1vw, 48px);
    line-height: 1.30;
    letter-spacing: -.045em;
  }
  body.nhd-home-template .nhd-hero p {
    margin-bottom: 24px;
    font-size: 14.5px;
    line-height: 1.6;
  }
  body.nhd-home-template .nhd-hero-actions { gap: 14px; }
  body.nhd-home-template .nhd-btn {
    min-height: 46px;
    padding: 0 25px;
    border-radius: 24px;
    font-size: 12px;
  }
  body.nhd-home-template .nhd-hero-media {
    height: 390px;
  }
  body.nhd-home-template .nhd-hero-media img {
    object-position: center right;
  }

  /* Beneficii mai lizibile pe latimea noua */
  body.nhd-home-template .nhd-service-grid { min-height: 96px; }
  body.nhd-home-template .nhd-service-item { gap: 16px; padding-inline: 24px; }
  body.nhd-home-template .nhd-icon-service { width: 36px; height: 36px; }
  body.nhd-home-template .nhd-service-item strong { font-size: 11.5px; }
  body.nhd-home-template .nhd-service-item span { font-size: 9.5px; }

  body.nhd-home-template .nhd-section { padding-top: 34px; }
  body.nhd-home-template .nhd-section-head { margin-bottom: 18px; }
  body.nhd-home-template .nhd-section-head h2,
  body.nhd-home-template .nhd-brands h2 { font-size: 24px; }
  body.nhd-home-template .nhd-section-subtitle,
  body.nhd-home-template .nhd-brands-copy p { font-size: 14px; }
  body.nhd-home-template .nhd-section-more { font-size: 14px; font-weight: 600; }

  /* Categorii mai mari, dar tot 4 pe rand */
  body.nhd-home-template .nhd-category-grid { gap: 20px; }
  body.nhd-home-template .nhd-category-card { border-radius: 12px; }
  body.nhd-home-template .nhd-category-image { height: 132px; }
  body.nhd-home-template .nhd-category-bottom { min-height: 78px; padding: 15px 16px; }
  body.nhd-home-template .nhd-category-bottom strong { font-size: 12.5px; }
  body.nhd-home-template .nhd-round-arrow { width: 29px; height: 29px; }

  /* 4 produse vizibile pe desktop; restul raman accesibile cu sagetile */
  body.nhd-home-template .nhd-products-section { padding-top: 38px; }
  body.nhd-home-template .nhd-product-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 5px;
  }
  body.nhd-home-template .nhd-product-track::-webkit-scrollbar { display: none; }
  body.nhd-home-template .nhd-product-card {
    flex: 0 0 calc((100% - 54px) / 4);
    min-height: 255px;
    padding: 12px 14px 14px;
    border-radius: 12px;
    scroll-snap-align: start;
  }
  body.nhd-home-template .nhd-product-image { height: 142px; margin-bottom: 7px; }
  body.nhd-home-template .nhd-product-image img { object-fit: contain; }
  body.nhd-home-template .nhd-product-name {
    min-height: 38px;
    margin: 2px 0 5px;
    color: #18263b;
    font-size: 11.5px;
    line-height: 1.4;
  }
  body.nhd-home-template .nhd-price { margin-bottom: 11px; font-size: 13px; }
  body.nhd-home-template .nhd-cart-btn {
    min-height: 38px;
    border-radius: 20px;
    font-size: 10.5px;
  }
  body.nhd-home-template .nhd-cart-btn .nhd-icon { width: 16px; height: 16px; }
  body.nhd-home-template .nhd-slider-prev { left: -27px; }
  body.nhd-home-template .nhd-slider-next { right: -27px; }

  body.nhd-home-template .nhd-b2b { padding-top: 30px; }
  body.nhd-home-template .nhd-b2b-card {
    min-height: 160px;
    grid-template-columns: 32% 39% 29%;
    border-radius: 12px;
  }
  body.nhd-home-template .nhd-b2b-media { height: 160px; }
  body.nhd-home-template .nhd-b2b-copy { padding: 22px 30px; }
  body.nhd-home-template .nhd-b2b-copy h2 { font-size: 20px; }
  body.nhd-home-template .nhd-b2b-copy p { font-size: 10px; }
  body.nhd-home-template .nhd-b2b-list { gap: 8px; font-size: 9.5px; }

  body.nhd-home-template .nhd-brands { padding: 30px 0 34px; }
  body.nhd-home-template .nhd-brands-row { grid-template-columns: 30% 70%; }
  body.nhd-home-template .nhd-brands h2 { font-size: 20px; }
  body.nhd-home-template .nhd-brands-image img { height: 58px; }
}

@media (max-width: 767px) {
  /* Hero cu ~11-12% mai scund, pastrand continutul si cele doua CTA-uri */
  body.nhd-home-template .nhd-hero-card {
    min-height: 340px;
  }
  body.nhd-home-template .nhd-hero-media img {
    object-position: 65% center;
    transform: scale(1.10);
  }
  body.nhd-home-template .nhd-hero-copy {
    width: 74%;
    padding: 17px 0 14px 18px;
  }
  body.nhd-home-template .nhd-eyebrow { margin-bottom: 5px; font-size: 8.5px; }
  body.nhd-home-template .nhd-hero h1 {
    max-width: 270px;
    margin-bottom: 9px;
    font-size: 23.5px;
    line-height: 1.04;
  }
  body.nhd-home-template .nhd-highlight {
    border-radius: 10px 4px 11px 5px / 50% 34% 60% 42%;
    padding: 0 .13em .02em;
  }
  body.nhd-home-template .nhd-hero p {
    max-width: 240px;
    margin-bottom: 11px;
    font-size: 10px;
    line-height: 1.45;
  }
  body.nhd-home-template .nhd-hero-actions { gap: 6px; }
  body.nhd-home-template .nhd-btn {
    min-height: 34px;
    padding: 0 15px;
    font-size: 9.5px;
  }

  /* Cele 4 beneficii raman pe un singur rand, cu text mai aerisit */
  body.nhd-home-template .nhd-service-strip { margin-top: 9px; }
  body.nhd-home-template .nhd-service-grid {
    min-height: 102px;
  }
  body.nhd-home-template .nhd-service-item {
    padding: 8px 4px 5px;
    gap: 5px;
  }
  body.nhd-home-template .nhd-service-item:first-child { padding-left: 4px; }
  body.nhd-home-template .nhd-service-item:last-child { padding-right: 4px; }
  body.nhd-home-template .nhd-icon-service { width: 28px; height: 28px; }
  body.nhd-home-template .nhd-service-item > div {
    width: 100%;
    min-width: 0;
  }
  body.nhd-home-template .nhd-service-item strong {
    max-width: 88px;
    font-size: 8.5px;
    line-height: 1.25;
    text-wrap: balance;
  }
  body.nhd-home-template .nhd-service-item span {
    max-width: 92px;
    margin-top: 2px;
    font-size: 7.2px;
    line-height: 1.35;
    text-wrap: balance;
  }

  body.nhd-home-template .nhd-home {
    max-width: 100%;
    overflow-x: clip;
  }
}

@media (max-width: 390px) {
  body.nhd-home-template .nhd-hero-card { min-height: 330px; }
  body.nhd-home-template .nhd-hero-copy { width: 75%; padding-top: 15px; }
  body.nhd-home-template .nhd-hero h1 { font-size: 22px; }
  body.nhd-home-template .nhd-hero p { font-size: 9.5px; }
  body.nhd-home-template .nhd-service-item strong { font-size: 8px; }
  body.nhd-home-template .nhd-service-item span { font-size: 6.9px; }
}

/* =========================================================
   NHD v2.2.0 - final design feedback, no redesign
   ========================================================= */
@media (min-width: 901px) {
  /* Keep homepage header aligned with the global header. */
  body.nhd-home-template .nhd-header-main {
    min-height: 88px;
    grid-template-columns: 170px minmax(280px, 1fr) auto;
  }

  body.nhd-home-template .nhd-logo img {
    width: 144px;
    max-height: 64px;
    object-fit: contain;
  }

  /* Slightly stronger hero supporting copy and a little more CTA breathing room. */
  body.nhd-home-template .nhd-hero p {
    margin-bottom: 30px;
    color: #34445d;
    font-size: 15.5px;
    line-height: 1.62;
  }

  /* Subtle clarity boost for category artwork. */
  body.nhd-home-template .nhd-category-image img {
    filter: contrast(1.06) saturate(1.04);
  }
}

@media (max-width: 767px) {
  /* More compact hero while keeping all content and image visible. */
  body.nhd-home-template .nhd-hero {
    padding-top: 0;
  }

  body.nhd-home-template .nhd-hero-card {
    min-height: 316px;
  }

  body.nhd-home-template .nhd-hero-media img {
    object-position: 70% 54%;
    transform: scale(1.06);
    transform-origin: center right;
  }

  body.nhd-home-template .nhd-hero-copy {
    width: 78%;
    padding: 14px 0 12px 16px;
  }

  body.nhd-home-template .nhd-eyebrow {
    margin-bottom: 4px;
  }

  /* Let the headline wrap naturally into 3-4 balanced lines. */
  body.nhd-home-template .nhd-hero h1 {
    max-width: 292px;
    margin-bottom: 8px;
    font-size: clamp(21.5px, 5.65vw, 24px);
    line-height: 1.04;
    text-wrap: balance;
  }

  body.nhd-home-template .nhd-hero h1 br {
    display: none;
  }

  body.nhd-home-template .nhd-hero p {
    max-width: 252px;
    margin-bottom: 10px;
    color: #34445d;
    font-size: clamp(10.4px, 2.75vw, 11.3px);
    line-height: 1.46;
  }

  /* On wider phones/small tablets the CTAs may sit side by side. */
  body.nhd-home-template .nhd-hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  body.nhd-home-template .nhd-btn {
    min-height: 35px;
    padding: 0 15px;
    font-size: 9.8px;
    white-space: nowrap;
  }

  /* Benefits become a readable 2 x 2 grid. */
  body.nhd-home-template .nhd-service-strip {
    margin-top: 4px;
  }

  body.nhd-home-template .nhd-service-grid {
    width: calc(100% - 20px);
    min-height: 0;
    padding: 3px 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  body.nhd-home-template .nhd-service-item,
  body.nhd-home-template .nhd-service-item:first-child,
  body.nhd-home-template .nhd-service-item:last-child {
    min-height: 58px;
    padding: 8px 10px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    text-align: left;
    border-right: 0;
    border-bottom: 0;
  }

  body.nhd-home-template .nhd-service-item:nth-child(odd) {
    border-right: 1px solid #e9edf2;
  }

  body.nhd-home-template .nhd-service-item:nth-child(-n+2) {
    border-bottom: 1px solid #e9edf2;
  }

  body.nhd-home-template .nhd-icon-service {
    width: 27px;
    height: 27px;
  }

  body.nhd-home-template .nhd-service-item > div {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    align-items: flex-start;
  }

  body.nhd-home-template .nhd-service-item strong {
    max-width: none;
    font-size: 9.5px;
    line-height: 1.22;
  }

  body.nhd-home-template .nhd-service-item span {
    max-width: none;
    margin-top: 2px;
    font-size: 7.9px;
    line-height: 1.3;
  }

  /* Bring Popular Categories up sooner after the benefits. */
  body.nhd-home-template #nhd-categorii {
    padding-top: 18px;
  }

  body.nhd-home-template #nhd-categorii .nhd-section-head {
    margin-bottom: 12px;
  }
}

@media (max-width: 430px) {
  body.nhd-home-template .nhd-hero-card {
    min-height: 312px;
  }

  body.nhd-home-template .nhd-hero-copy {
    width: 79%;
  }

  /* Narrow phones: CTAs stack with coherent tap targets. */
  body.nhd-home-template .nhd-hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  body.nhd-home-template .nhd-hero-actions .nhd-btn {
    width: 180px;
    max-width: 100%;
    justify-content: center;
  }
}

@media (max-width: 390px) {
  body.nhd-home-template .nhd-hero-card {
    min-height: 306px;
  }

  body.nhd-home-template .nhd-hero-copy {
    width: 80%;
    padding-top: 13px;
  }

  body.nhd-home-template .nhd-hero h1 {
    max-width: 270px;
    font-size: 21.5px;
  }

  body.nhd-home-template .nhd-hero p {
    max-width: 238px;
    font-size: 10.2px;
  }
}

@media (max-width: 360px) {
  body.nhd-home-template .nhd-hero-card {
    min-height: 302px;
  }

  body.nhd-home-template .nhd-hero-copy {
    width: 81%;
    padding-left: 14px;
  }

  body.nhd-home-template .nhd-hero h1 {
    max-width: 252px;
    font-size: 21px;
  }

  body.nhd-home-template .nhd-hero p {
    max-width: 224px;
    font-size: 10px;
  }

  body.nhd-home-template .nhd-hero-actions .nhd-btn {
    width: 174px;
    min-height: 34px;
    font-size: 9.5px;
  }

  body.nhd-home-template .nhd-service-item,
  body.nhd-home-template .nhd-service-item:first-child,
  body.nhd-home-template .nhd-service-item:last-child {
    padding-inline: 8px;
  }

  body.nhd-home-template .nhd-service-item strong {
    font-size: 9px;
  }

  body.nhd-home-template .nhd-service-item span {
    font-size: 7.5px;
  }
}

/* =========================================================
   NHD v2.3.0 - singura corectie pe homepage:
   textul din butonul produselor recomandate ramane vizibil la hover.
   ========================================================= */
body.nhd-home-template .nhd-products-section .nhd-cart-btn,
body.nhd-home-template .nhd-products-section .nhd-cart-btn:hover,
body.nhd-home-template .nhd-products-section .nhd-cart-btn:focus,
body.nhd-home-template .nhd-products-section .nhd-cart-btn:active {
  color: #0b1728 !important;
  background: var(--nhd-yellow) !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-indent: 0 !important;
  overflow: visible !important;
  box-shadow: none !important;
}

body.nhd-home-template .nhd-products-section .nhd-cart-btn .nhd-icon,
body.nhd-home-template .nhd-products-section .nhd-cart-btn:hover .nhd-icon,
body.nhd-home-template .nhd-products-section .nhd-cart-btn:focus .nhd-icon {
  color: #0b1728 !important;
  fill: currentColor !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* NHD v2.4.0 - branduri cerute de client si imagini de categorie reale. */
body.nhd-home-template .nhd-category-image img {
  object-fit: contain !important;
  object-position: center !important;
  padding: 7px;
  background: #fff;
}
body.nhd-home-template .nhd-brands-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
}
body.nhd-home-template .nhd-brands-list span {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  border: 1px solid #edf0f3;
  border-radius: 8px;
  background: #fff;
  color: #152239;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.01em;
  text-align: center;
}
@media (max-width: 767px) {
  body.nhd-home-template .nhd-brands-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
  }
  body.nhd-home-template .nhd-brands-list span {
    min-height: 38px;
    font-size: 10px;
  }
}


/* NHD v2.4.3 - Produse recomandate: imagine sursa necropata + afisare integrala. */
body.nhd-home-template .nhd-products-section .nhd-product-image {
  overflow: hidden;
  padding: 8px !important;
  background: #fff;
}
body.nhd-home-template .nhd-products-section .nhd-product-image img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/* =========================================================
   NHD v2.4.4 - Produse recomandate: imagine 100% vizibila
   ========================================================= */
body.nhd-home-template .nhd-products-section .nhd-product-image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  padding: 12px !important;
  background: #fff !important;
}
body.nhd-home-template .nhd-products-section .nhd-product-image .nhd-recommended-product-image,
body.nhd-home-template .nhd-products-section .nhd-product-image > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  margin: 0 !important;
}


/* =========================================================
   NHD v2.4.8 - Homepage footer readability
   Overrides the older compact 8-9px homepage footer rules.
   ========================================================= */
body.nhd-home-template .nhd-footer-contact,
body.nhd-home-template .nhd-footer-links,
body.nhd-home-template .nhd-footer-contact a,
body.nhd-home-template .nhd-footer-links a {
  font-size: 11px !important;
  line-height: 1.5 !important;
}
body.nhd-home-template .nhd-footer h3 {
  font-size: 11px !important;
}

/* =========================================================
   NHD v2.5.1 - homepage-only micro refinements
   1) Benefits copy slightly larger on desktop.
   2) Mobile recommended-products arrows smaller + 15px side breathing room.
   3) Trusted brands: supplied logo images only.
   ========================================================= */

/* Benefits: only the title + description text requested, desktop only. */
@media (min-width: 901px) {
  body.nhd-home-template .nhd-service-item strong {
    font-size: 14px;
    line-height: 1.32;
  }

  body.nhd-home-template .nhd-service-item span {
    font-size: 12.5px;
    line-height: 1.45;
  }
}

/* Trusted brands: supplied logos only, no extra brand names. */
body.nhd-home-template .nhd-brands-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

body.nhd-home-template .nhd-brand-logo-card {
  min-width: 0;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px 12px;
  border: 1px solid #edf0f3;
  border-radius: 9px;
  background: #fff;
}

body.nhd-home-template .nhd-brand-logo-card img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 150px;
  max-height: 50px;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 767px) {
  /* 15px real breathing room left/right for the product carousel. */
  body.nhd-home-template .nhd-products-shell {
    margin-inline: 0;
  }

  body.nhd-home-template .nhd-product-track {
    margin-inline: 0;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Smaller, less intrusive carousel arrows on mobile. */
  body.nhd-home-template .nhd-slider-arrow {
    width: 34px;
    height: 34px;
    padding: 0 !important;
    display: grid;
    place-items: center;
    top: 51%;
    font-size: 22px;
    line-height: 1;
  }

  body.nhd-home-template .nhd-slider-prev { left: 2px; }
  body.nhd-home-template .nhd-slider-next { right: 2px; }

  /* Five logos only, clean mobile grid. */
  body.nhd-home-template .nhd-brands-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
  }

  body.nhd-home-template .nhd-brand-logo-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 5px);
    justify-self: center;
  }

  body.nhd-home-template .nhd-brand-logo-card {
    height: 70px;
    padding: 8px 10px;
  }

  body.nhd-home-template .nhd-brand-logo-card img {
    max-width: 135px;
    max-height: 54px;
  }
}
/* NHD Black Friday 2026 — doar imaginea din hero, restul paginii ramane intact. */
body.nhd-home-template .nhd-hero-promo {
  display: block;
  background: #080808;
  overflow: hidden;
  cursor: pointer;
}
body.nhd-home-template .nhd-hero-promo picture {
  display: block;
  height: 100%;
  width: 100%;
}
body.nhd-home-template .nhd-hero-promo img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}
body.nhd-home-template .nhd-hero-promo:focus-visible {
  outline: 3px solid #e2ae00;
  outline-offset: -3px;
}
@media (max-width: 767px) {
  /* Nu suprapunem titlul existent peste textul din bannerul mobil. */
  body.nhd-home-template .nhd-hero-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto;
  }
  body.nhd-home-template .nhd-hero-promo {
    position: relative;
    inset: auto;
    order: -1;
    z-index: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  body.nhd-home-template .nhd-hero-promo::after {
    display: none;
  }
  body.nhd-home-template .nhd-hero-promo img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
    transform: none;
  }
  body.nhd-home-template .nhd-hero-copy {
    width: 100%;
    padding: 16px 18px 20px;
    background: #f8fafc;
  }
}

/* Footer ANPC: regulile homepage mai vechi foloseau randul 5 pentru copyright;
 * rezervam acum randul 5 logo-urilor ANPC si randul 6 pentru copyright. */
@media (max-width: 767px) {
  body.nhd-home-template .nhd-footer-copy,
  body.nhd-home-template .nhd-back-top {
    grid-row: 6;
  }
}
