/* ============================================================
   DELTA HYDRO SYSTEM — main.css
   Design tokens · Reset · Base typography · Utilities
   ============================================================ */

/* START: google-fonts */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600&display=swap');
/* END: google-fonts */

/* START: design-tokens */
:root {
  --clr-bg: #F7F5F2;
  --clr-surface: #FFFFFF;
  --clr-surface-2: #EFEDE8;
  --clr-border: #D8D4CC;
  --clr-accent: #A41C42;
  --clr-accent-h: #C02050;
  --clr-text: #1A1A1A;
  --clr-text-muted: #6B6560;
  --clr-text-inv: #FFFFFF;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
  --fs-hero: clamp(3.5rem, 7vw, 7rem);
  --fs-h1: clamp(2.5rem, 4vw, 4rem);
  --fs-h2: clamp(1.75rem, 3vw, 2.75rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.75rem);
  --fs-base: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 2rem;
  --sp-lg: 4rem;
  --sp-xl: 8rem;
  --header-topbar-h: 34px;
  --header-main-h: 78px;
  --header-nav-h: 42px;
  --header-total-h: calc(var(--header-topbar-h) + var(--header-main-h) + var(--header-nav-h));
  --header-h: var(--header-total-h);
  --header-sticky-h: var(--header-total-h);
  --transition: 0.25s ease;
}
/* END: design-tokens */

/* START: css-reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

img,
video {
  max-width: 100%;
  display: block;
}
/* END: css-reset */

/* START: base-typography */
body {
  font-family: var(--font-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--clr-text);
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  max-width: 72ch;
}
/* END: base-typography */

/* START: utility-classes */
.dh-container {
  max-width: 1698px;
  margin: auto;
  padding-inline: clamp(1rem, 4vw, 3rem);
}

.dh-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  background: var(--clr-accent);
  color: var(--clr-text-inv);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  border-radius: 2px;
}

.dh-btn:hover {
  background: var(--clr-accent-h);
}

.dh-btn--ghost {
  background: transparent;
  color: var(--clr-text);
  border: 1px solid var(--clr-border);
}

.dh-btn--ghost:hover {
  background: transparent;
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

.dh-label {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}
/* END: utility-classes */

/* START: animation-base */
.dh-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.dh-animate.is-visible {
  opacity: 1;
  transform: none;
}

.dh-animate--d1 {
  transition-delay: 0.1s;
}

.dh-animate--d2 {
  transition-delay: 0.2s;
}

.dh-animate--d3 {
  transition-delay: 0.3s;
}

.dh-animate--d4 {
  transition-delay: 0.4s;
}

.dh-animate--d5 {
  transition-delay: 0.5s;
}
/* END: animation-base */

/* START: scrollbar-styling */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--clr-border) var(--clr-bg);
}

*::-webkit-scrollbar {
  width: 6px;
}

*::-webkit-scrollbar-track {
  background: var(--clr-bg);
}

*::-webkit-scrollbar-thumb {
  background: var(--clr-border);
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--clr-accent);
}
/* END: scrollbar-styling */

/* ── HEADER ── */

.dh-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: var(--clr-surface);
  box-shadow: 0 1px 0 var(--clr-border);
}

.dh-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(13, 13, 13, 0.08);
}

.dh-topbar {
  background: #EFEFEF;
  border-bottom: 1px solid var(--clr-border);
  font-size: var(--fs-xs);
  color: var(--clr-text);
}

.dh-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-topbar-h);
  gap: var(--sp-sm);
}

.dh-topbar__contact a {
  color: inherit;
  text-decoration: none;
}

.dh-topbar__contact a:hover {
  color: var(--clr-accent);
}

.dh-topbar__links {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.dh-topbar__links a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.dh-topbar__links a:hover {
  color: var(--clr-accent);
}

.dh-header__main {
  background: var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
}

/* START: header-alignment */
.dh-header__inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: var(--sp-sm);
  min-height: var(--header-main-h);
  padding-block: 0.5rem;
}

.dh-header__logo {
  flex-shrink: 0;
  display: block;
  line-height: 0;
  margin-right: auto;
}
/* END: header-alignment */

.dh-header__logo img {
  display: block;
  width: 175px;
  height: auto;
  max-width: auto;
}

.dh-header__search {
  flex: 1;
  max-width: 560px;
  position: relative;
  margin-inline: auto;
}

.dh-header__search-input {
  width: 100%;
  background: var(--clr-surface);
  border: 1px solid var(--clr-accent);
  color: var(--clr-text);
  font-family: var(--font-body);
  padding: 0.65rem 2.75rem 0.65rem 1rem;
  font-size: var(--fs-sm);
  border-radius: 2px;
}

.dh-header__search-input:focus {
  border-color: var(--clr-accent);
  outline: none;
}

.dh-header__search-input::placeholder {
  color: var(--clr-text-muted);
}

.dh-header__search-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--clr-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0;
  transition: color var(--transition);
}

.dh-header__search-btn:hover {
  color: var(--clr-accent);
}

/* START: search-suggest */
.dh-search-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  max-height: 62vh;
  overflow-y: auto;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.dh-search-suggest__item {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--clr-border);
  color: var(--clr-text);
  text-decoration: none;
}

.dh-search-suggest__item:hover {
  background: var(--clr-surface-2);
}

.dh-search-suggest__thumb {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  object-fit: cover;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
}

.dh-search-suggest__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.dh-search-suggest__code {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.05em;
  color: var(--clr-accent);
}

.dh-search-suggest__name {
  font-size: var(--fs-sm);
  color: var(--clr-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dh-search-suggest__price {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  color: var(--clr-text);
}

.dh-search-suggest__all {
  display: block;
  padding: 0.7rem 0.85rem;
  text-align: center;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  color: var(--clr-accent);
  text-decoration: none;
}

.dh-search-suggest__all:hover {
  background: var(--clr-surface-2);
}

.dh-search-suggest__empty {
  margin: 0;
  padding: 0.85rem;
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}

.dh-drawer__search .dh-search-suggest {
  background: #ffffff;
  border-color: #e0e0e0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.dh-drawer__search .dh-search-suggest__item {
  border-bottom-color: #eee;
  color: #1a1a1a;
}

.dh-drawer__search .dh-search-suggest__item:hover {
  background: #f5f5f5;
}

.dh-drawer__search .dh-search-suggest__thumb {
  background: #f5f5f5;
  border-color: #e0e0e0;
}

.dh-drawer__search .dh-search-suggest__name,
.dh-drawer__search .dh-search-suggest__price {
  color: #1a1a1a;
}

.dh-drawer__search .dh-search-suggest__empty {
  color: #666;
}
/* END: search-suggest */

.dh-header__auth {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  font-size: var(--fs-xs);
  color: var(--clr-text);
  white-space: nowrap;
}

.dh-header__auth a:hover {
  color: var(--clr-accent);
}

.dh-header__auth-sep {
  color: var(--clr-text-muted);
}

.dh-header__quote-btn {
  flex-shrink: 0;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.dh-header__notifications-btn {
  position: relative;
  flex-shrink: 0;
  padding: 0.64rem 1.25rem;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.dh-header__notifications-icon {
  display: none;
}

.dh-header__notifications-btn .dh-header__badge--btn {
  top: -4px;
  right: -6px;
}

.dh-header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  flex-shrink: 0;
}

.dh-header__action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--clr-text);
  padding: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}

.dh-header__action:hover {
  color: var(--clr-accent);
}

.dh-header__badge {
  position: absolute;
  background: var(--clr-accent);
  color: #fff;
  font-size: 10px;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 2px;
  right: 2px;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1;
  padding: 0 3px;
}

.dh-header__badge[hidden] {
  display: none;
}

.dh-header__notify-wrap {
  position: relative;
}

.dh-notification-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(320px, calc(100vw - 2rem));
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  box-shadow: 0 12px 32px rgba(13, 13, 13, 0.12);
  z-index: 1300;
}

.dh-notification-panel[hidden] {
  display: none;
}

.dh-notification-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-sm);
  padding: var(--sp-sm);
  border-bottom: 1px solid var(--clr-border);
  font-size: var(--fs-sm);
}

.dh-notification-panel__head button {
  background: none;
  border: none;
  color: var(--clr-accent);
  font-size: var(--fs-xs);
  cursor: pointer;
  font-family: var(--font-body);
}

.dh-notification-list {
  max-height: 280px;
  overflow-y: auto;
}

.dh-notification-item {
  display: block;
  padding: var(--sp-sm);
  border-bottom: 1px solid var(--clr-border);
  font-size: var(--fs-xs);
  color: var(--clr-text);
}

.dh-notification-item:hover {
  background: var(--clr-surface-2);
}

.dh-notification-item strong {
  display: block;
  font-size: var(--fs-sm);
  margin-bottom: 0.15rem;
}

.dh-notification-item span {
  display: block;
  color: var(--clr-text-muted);
}

.dh-notification-item.is-read {
  opacity: 0.65;
}

button.dh-notification-item {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid var(--clr-border);
  font-family: var(--font-body);
  cursor: pointer;
}

button.dh-notification-item em {
  display: block;
  margin-top: 0.25rem;
  font-style: normal;
  color: var(--clr-text-muted);
  font-size: var(--fs-xs);
}

.dh-notification-item.is-unread {
  border-left: 2px solid var(--clr-accent);
  padding-left: calc(var(--sp-sm) - 2px);
}

.dh-notification-panel__foot {
  display: block;
  padding: var(--sp-sm);
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--clr-accent);
  border-top: 1px solid var(--clr-border);
}

.dh-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.dh-header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--clr-text);
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.dh-header__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.dh-header__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.dh-header__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.dh-nav {
  background: var(--clr-accent);
  display: flex;
  justify-content: center;
}

.dh-nav__inner {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  width: 1600px;
  min-height: var(--header-nav-h);
}

.dh-nav__item {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  gap: 0.4rem;
  transition: background var(--transition), color var(--transition);
  background: none;
  border: none;
  border-left: 1px solid color-mix(in srgb, #fff 22%, var(--clr-accent));
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  border-right: 1px solid color-mix(in srgb, #fff 22%, var(--clr-accent));
}



.dh-nav__item:hover,
.dh-nav__item--mega[aria-expanded="true"] {
  background: var(--clr-accent-h);
  color: #fff;
}

.dh-mega {
  position: fixed;
  top: var(--header-total-h);
  left: 0;
  right: 0;
  background: var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
  z-index: 1190;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: visibility 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.dh-mega.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: all;
}

.dh-mega__inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp-md);
  padding: var(--sp-md) 0;
}

.dh-mega__col {
  min-width: 0;
}

.dh-mega__cat-link {
  display: block;
}

.dh-mega__cat-link:hover .dh-mega__cat-img {
  filter: none;
}

.dh-mega__cat-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter var(--transition);
}

.dh-mega__cat-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--clr-text);
  display: block;
  margin-top: var(--sp-xs);
}

.dh-mega__subs {
  list-style: none;
  margin-top: var(--sp-xs);
}

.dh-mega__subs li a {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  display: block;
  padding: 0.2rem 0;
  transition: color var(--transition);
}

.dh-mega__subs li a:hover {
  color: var(--clr-accent);
}

.dh-mega__close {
  position: absolute;
  top: var(--sp-sm);
  right: var(--sp-sm);
  background: none;
  border: none;
  color: var(--clr-text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  transition: color var(--transition);
}

.dh-mega__close:hover {
  color: var(--clr-text);
}

/* START: mobile-drawer */
.dh-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(360px, 85vw);
  background: #ffffff;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1), visibility 280ms;
  overflow: hidden;
  visibility: hidden;
}

.dh-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  width: 100%;
}

.dh-drawer__head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-sm);
  height: 56px;
  min-height: 56px;
  padding: 0 16px;
  background: #A41C42;
}

.dh-drawer__label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.dh-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s ease;
}

.dh-drawer__close:hover,
.dh-drawer__close:focus-visible {
  opacity: 0.85;
}

.dh-drawer__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--sp-sm);
}

.dh-drawer__search {
  position: relative;
  margin: 16px;
}

.dh-drawer__search-input {
  width: 100%;
  padding: 12px 44px 12px 16px;
  background: #ffffff;
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  color: #1a1a1a;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  transition: border-color 0.2s ease;
}

.dh-drawer__search-input::placeholder {
  color: #888888;
}

.dh-drawer__search-input:focus {
  outline: none;
  border-color: #A41C42;
}

.dh-drawer__search-btn {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #A41C42;
  cursor: pointer;
  padding: 0.25rem;
  transition: opacity 0.2s ease;
}

.dh-drawer__search-btn:hover {
  opacity: 0.75;
}

.dh-drawer__section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #A41C42;
  margin: 20px 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e0e0;
  max-width: none;
}

.dh-drawer__nav,
.dh-drawer__pages {
  display: flex;
  flex-direction: column;
}

.dh-drawer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  background: #ffffff;
  border: none;
  border-bottom: 1px solid #f0f0f0;
  color: #1a1a1a;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
  transition: background 0.2s ease;
}

.dh-drawer__row:hover,
.dh-drawer__row:focus-visible {
  background: #fef5f7;
}

.dh-drawer__row-label {
  flex: 1 1 auto;
  min-width: 0;
}

.dh-drawer__chevron {
  flex-shrink: 0;
  color: #A41C42;
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.dh-drawer__row--toggle.is-expanded .dh-drawer__chevron {
  transform: rotate(90deg);
}

.dh-drawer__sub-panel {
  background: #ffffff;
}

.dh-drawer__sub-row {
  display: block;
  padding: 12px 16px 12px 32px;
  border-bottom: 1px solid #f0f0f0;
  color: #1a1a1a;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease;
}

.dh-drawer__sub-row:hover,
.dh-drawer__sub-row:focus-visible {
  background: #fef5f7;
}

.dh-drawer__foot {
  flex-shrink: 0;
  padding: 16px;
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
}

.dh-drawer__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 16px;
  background: #A41C42;
  border: none;
  border-radius: 4px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease;
}

.dh-drawer__cta:hover,
.dh-drawer__cta:focus-visible {
  background: #C02050;
  color: #ffffff;
}

.dh-drawer__phone {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: #888888;
  text-align: center;
  text-decoration: none;
  transition: color 0.2s ease;
}

.dh-drawer__phone:hover {
  color: #A41C42;
}

body.dh-drawer-open {
  overflow: hidden;
}
/* END: mobile-drawer */

.dh-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1250;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.dh-overlay.is-visible {
  opacity: 1;
  pointer-events: all;
}

@media (max-width: 1200px) {
  .dh-header__auth {
    display: none;
  }

  .dh-header__quote-btn {
    padding: 0.55rem 0.9rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 1023px) {
  :root {
    --header-sticky-h: var(--header-main-h);
  }

  .dh-topbar {
    display: none;
  }

  .dh-header__search {
    display: none;
  }

  .dh-header__quote-btn {
    display: none;
  }

  .dh-nav {
    display: none;
  }

  .dh-mega {
    display: none;
  }

  .dh-header__burger {
    display: flex;
  }

  .dh-header__inner {
    gap: var(--sp-xs);
  }

  .dh-header__notifications-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0.25rem;
    background: none;
    border: none;
    color: var(--clr-text);
  }

  .dh-header__notifications-btn:hover {
    background: none;
    border: none;
    color: var(--clr-accent);
  }

  .dh-header__notifications-label {
    display: none;
  }

  .dh-header__notifications-icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .dh-header__notifications-btn .dh-header__badge--btn {
    top: 2px;
    right: 2px;
  }

  .dh-notification-panel {
    position: fixed;
    top: calc(var(--header-sticky-h) + 8px);
    right: var(--sp-sm);
    left: auto;
    width: min(320px, calc(100vw - 2 * var(--sp-sm)));
  }

  .dh-notification-list {
    max-height: min(280px, calc(100dvh - var(--header-sticky-h) - 10rem));
  }
}

@media (max-width: 479px) {
  .dh-header__logo img {
    width: 150px;
  }

  .dh-header__actions,
  .dh-header__inner {
    gap: 0.25rem;
  }
}

/* ── FOOTER ── */

.dh-footer {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  margin-top: var(--sp-lg);
}

.dh-footer__inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-md);
  padding-block: var(--sp-lg);
}

.dh-footer__brand img {
  width: 140px;
  height: auto;
  margin-bottom: var(--sp-sm);
}

.dh-footer__brand p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-sm);
  max-width: none;
}

.dh-footer__brand address {
  font-style: normal;
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.6;
}

.dh-footer__col .dh-label,
.dh-footer__newsletter .dh-label {
  display: block;
  margin-bottom: var(--sp-sm);
}

.dh-footer__col ul {
  list-style: none;
}

.dh-footer__col ul li + li {
  margin-top: 0.35rem;
}

.dh-footer__col a,
.dh-footer__bottom-links a {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  transition: color var(--transition);
}

.dh-footer__col a:hover,
.dh-footer__bottom-links a:hover {
  color: var(--clr-accent);
}

.dh-footer__newsletter p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-sm);
  max-width: none;
}

.dh-footer__newsletter-form {
  display: flex;
  gap: var(--sp-xs);
}

.dh-footer__email-input {
  flex: 1;
  min-width: 0;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  font-family: var(--font-body);
  padding: 0.6rem 1rem;
  font-size: var(--fs-sm);
  border-radius: 2px;
}

.dh-footer__email-input:focus {
  border-color: var(--clr-accent);
  outline: none;
}

.dh-footer__email-input::placeholder {
  color: var(--clr-text-muted);
}

.dh-footer__newsletter-form .dh-btn {
  flex-shrink: 0;
  padding: 0.6rem 1.25rem;
}

.dh-footer__bottom {
  border-top: 1px solid var(--clr-border);
  padding-block: var(--sp-sm);
}

.dh-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

.dh-footer__copyright {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
}

.dh-footer__bottom-links {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.dh-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  z-index: 1000;
}

.dh-mobile-bar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  position: relative;
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  transition: color var(--transition);
}

.dh-mobile-bar__item svg {
  display: block;
}

.dh-mobile-bar__item.is-active,
.dh-mobile-bar__item:hover {
  color: var(--clr-accent);
}

.dh-mobile-bar__badge {
  position: absolute;
  top: 4px;
  right: calc(50% - 22px);
  background: var(--clr-accent);
  color: #fff;
  font-size: 9px;
  min-width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1;
}

@media (max-width: 1023px) {
  .dh-mobile-bar {
    display: flex;
  }

  body {
    padding-bottom: 56px;
  }

  body.has-compare-bar {
    padding-bottom: 112px;
  }

  .dh-compare-bar {
    bottom: 56px;
  }

  .dh-compare-bar__assist {
    display: none;
  }

  .dh-compare-bar__inner {
    gap: var(--sp-sm);
  }
}

@media (max-width: 1023px) and (min-width: 768px) {
  .dh-footer__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .dh-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .dh-footer__inner {
    grid-template-columns: 1fr;
  }

  .dh-footer__newsletter-form {
    flex-direction: column;
  }

  .dh-footer__newsletter-form .dh-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── HOMEPAGE ── */

/* START: hero-grid */
.dh-hero-grid {
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
  padding: var(--sp-sm) 0 var(--sp-md);
}

.dh-hero-grid__inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: 565px;
}

.dh-hero-cats {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: stretch;
}

.dh-hero-cats__list {
  width: 220px;
  flex-shrink: 0;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  display: flex;
  flex-direction: column;
}

.dh-hero-cats__list .side-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.35rem 1rem;
  border: none;
  border-bottom: 1px solid var(--clr-border);
  background: transparent;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-text);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}

.dh-hero-cats__list .side-cat::after {
  content: '›';
  color: var(--clr-text-muted);
  font-size: 1rem;
  line-height: 1;
}

.dh-hero-cats__list .side-cat:hover,
.dh-hero-cats__list .side-cat.is-active,
.dh-hero-cats__list .side-cat:focus-visible {
  color: var(--clr-accent);
  background: var(--clr-surface-2);
  outline: none;
}

.dh-hero-cats__list .side-cat--link::after {
  content: none;
}

/* START: hero-subcategory-links */
.dh-hero-cats__list--subs .side-cat {
  flex: 1 1 auto;
  padding: 0.75rem var(--sp-sm);
  text-decoration: none;
}

.dh-hero-cats__list--subs .side-cat:last-child {
  border-bottom: none;
}

.dh-hero-cats__list--subs .side-cat--all {
  color: var(--clr-accent);
}
/* END: hero-subcategory-links */

.dh-hero-cats__flyout {
  position: absolute;
  left: 100%;
  top: 0;
  width: min(420px, calc(100vw - 260px));
  min-height: 100%;
  background: #E6E6E6;
  border: 1px solid var(--clr-border);
  border-left: none;
  padding: var(--sp-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.dh-hero-cats__flyout.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.dh-hero-cats__flyout-title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: 1.05;
  margin-bottom: var(--sp-xs);
}

.dh-hero-cats__flyout-sub {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-md);
}

.dh-hero-cats__flyout-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-sm);
  margin-bottom: var(--sp-md);
}

.dh-hero-flyout__card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
  text-decoration: none;
  color: var(--clr-text);
}

.dh-hero-flyout__image {
  aspect-ratio: 1 / 1;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dh-hero-flyout__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
}

.dh-hero-flyout__placeholder {
  width: 42%;
  height: 42%;
  border: 1px solid var(--clr-border);
  background: linear-gradient(135deg, transparent 45%, var(--clr-border) 45%, var(--clr-border) 55%, transparent 55%);
  opacity: 0.45;
}

.dh-hero-flyout__label {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.dh-hero-cats__flyout-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-sm);
  color: var(--clr-text);
  text-decoration: underline;
  transition: color var(--transition);
}

.dh-hero-cats__flyout-link::after {
  content: '›';
}

.dh-hero-cats__flyout-link:hover {
  color: var(--clr-accent);
}

.dh-hero-grid__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dh-hero-feature {
  position: relative;
  display: block;
  flex: 1;
  min-height: 360px;
  overflow: hidden;
  background: #F0F0F0;
  border: 1px solid var(--clr-border);
  text-decoration: none;
  color: inherit;
}

.dh-hero-feature__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.dh-hero-feature__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  padding: var(--sp-lg);
  max-width: 52%;
  background: linear-gradient(to right, rgba(247, 245, 242, 0.98) 0%, rgba(247, 245, 242, 0.82) 65%, transparent 100%);
}

.dh-hero-feature__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 0.95;
  color: var(--clr-text);
  margin-bottom: var(--sp-md);
  max-width: 12ch;
}

.dh-hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
}

.dh-hero-mini {
  position: relative;
  display: block;
  min-height: 148px;
  overflow: hidden;
  background: #F0F0F0;
  border: 1px solid var(--clr-border);
  text-decoration: none;
  color: inherit;
}

.dh-hero-mini__img,
.dh-hero-mini__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.dh-hero-mini__img {
  object-fit: cover;
  object-position: center right;
}

.dh-hero-mini__placeholder {
  background: linear-gradient(135deg, #ececec 0%, #f7f7f7 100%);
}

.dh-hero-mini__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  padding: var(--sp-md);
  max-width: 72%;
  background: linear-gradient(to right, rgb(247, 245, 242) 50%, rgba(247, 245, 242, 0.55) 62%, transparent 100%);
}

.dh-hero-mini__title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.05;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dh-hero-mini__cta {
  margin-top: var(--sp-xs);
  pointer-events: none;
  align-self: flex-start;
  padding: 0.35rem 0.75rem;
  font-size: var(--fs-xs);
}
/* END: hero-grid */

.dh-hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--clr-bg);
}

.dh-hero__track {
  display: flex;
  height: 100%;
  position: relative;
}

.dh-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.dh-hero__slide.is-active {
  opacity: 1;
}

.dh-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dh-hero__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(247, 245, 242, 0.92) 0%, rgba(247, 245, 242, 0.55) 55%, transparent 100%);
  pointer-events: none;
}

.dh-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-top: 0;
}

.dh-hero__heading {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  line-height: 0.95;
  color: var(--clr-text);
  max-width: 12ch;
  margin-bottom: var(--sp-sm);
}

.dh-hero__sub {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  max-width: 52ch;
  margin-bottom: var(--sp-md);
}

.dh-hero__btns {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

.dh-hero__controls {
  position: absolute;
  bottom: var(--sp-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.dh-hero__arrow {
  position: relative;
  background: transparent;
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  width: 48px;
  height: 48px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  border-radius: 2px;
}

.dh-hero__arrow:hover {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: var(--clr-text-inv);
}

.dh-hero__dots {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
}

.dh-hero__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  background: var(--clr-border);
  cursor: pointer;
  transition: background var(--transition);
  border-radius: 0;
}

.dh-hero__dot.is-active {
  background: var(--clr-accent);
}

.dh-teasers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.dh-teaser {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: block;
}

.dh-teaser__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.dh-teaser:hover .dh-teaser__img {
  transform: scale(1.04);
}

.dh-teaser__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-md);
  background: linear-gradient(to top, rgba(247, 245, 242, 0.95), transparent);
}

.dh-teaser__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  color: var(--clr-text);
  display: block;
  margin-top: var(--sp-xs);
  font-weight: 400;
}

.dh-teaser__cta {
  margin-top: var(--sp-sm);
  pointer-events: none;
}

.dh-section {
  padding: var(--sp-lg) 0;
}

.dh-section__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-md);
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

.dh-section__head h2 {
  font-size: var(--fs-h2);
}

/* START: home-category-grid */
.dh-section--categories h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--sp-md);
}

.dh-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-sm);
}

.dh-cat-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--clr-text);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  transition: border-color var(--transition);
}

.dh-cat-card:hover {
  border-color: var(--clr-accent);
}

.dh-cat-card__image {
  display: block;
  aspect-ratio: 480 / 280;
  background: #ECECEC;
  overflow: hidden;
}

.dh-cat-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.dh-cat-card:hover .dh-cat-card__image img {
  transform: scale(1.03);
}

.dh-cat-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, transparent 46%, #D8D8D8 46%, #D8D8D8 54%, transparent 54%),
    linear-gradient(45deg, transparent 46%, #D8D8D8 46%, #D8D8D8 54%, transparent 54%),
    #ECECEC;
  opacity: 0.55;
}

.dh-cat-card__name {
  display: block;
  padding: var(--sp-sm) var(--sp-xs);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.1;
  text-align: center;
  letter-spacing: 0.02em;
}
/* END: home-category-grid */

/* START: home-support-section */
.dh-support {
  position: relative;
  overflow: hidden;
  padding: var(--sp-lg) 0;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.dh-support::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      color-mix(in srgb, var(--clr-border) 50%, transparent) 39px,
      color-mix(in srgb, var(--clr-border) 50%, transparent) 40px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      color-mix(in srgb, var(--clr-border) 35%, transparent) 39px,
      color-mix(in srgb, var(--clr-border) 35%, transparent) 40px
    );
  opacity: 0.25;
  pointer-events: none;
}

.dh-support__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
}

.dh-support__panel {
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  border-left: 4px solid var(--clr-accent);
  padding: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.dh-support__eyebrow {
  color: var(--clr-accent);
}

.dh-support__panel h2 {
  font-size: var(--fs-h2);
  line-height: 1;
  max-width: 14ch;
}

.dh-support__lead {
  color: var(--clr-text-muted);
  max-width: 46ch;
}

.dh-support__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-top: var(--sp-xs);
}

.dh-support__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-sm);
  margin-top: var(--sp-sm);
  padding-top: var(--sp-sm);
  border-top: 1px solid var(--clr-border);
}

.dh-support__facts dt {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.dh-support__facts dd {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.dh-support__facts a {
  color: inherit;
  transition: color var(--transition);
}

.dh-support__facts a:hover {
  color: var(--clr-accent);
}

.dh-support__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-sm);
}

.dh-support__card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: var(--sp-md) var(--sp-sm);
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
  min-height: 100%;
  transition: border-color var(--transition), transform var(--transition);
}

.dh-support__card:hover {
  border-color: var(--clr-accent);
  transform: translateY(-2px);
}

.dh-support__card-icon {
  display: flex;
  color: var(--clr-accent);
}

.dh-support__card h3 {
  font-size: 1.05rem;
  line-height: 1.1;
}

.dh-support__card p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  max-width: none;
  line-height: 1.5;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .dh-support__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .dh-support__inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: var(--sp-lg);
    align-items: stretch;
  }

  .dh-support__panel {
    padding: var(--sp-md) var(--sp-md) var(--sp-md) calc(var(--sp-md) - 4px);
  }

  .dh-support__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .dh-support__facts {
    grid-template-columns: 1fr;
  }
}
/* END: home-support-section */

@media (max-width: 767px) {
  .dh-hero-grid {
    padding: 0px;
    background: var(--clr-surface);
    border-bottom: 0px solid var(--clr-border);
  }

  .dh-hero-grid .dh-container {
    padding-inline: 0;
  }

  .dh-hero-grid__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0;
  }

  /* Categories live in the burger drawer on mobile; the hero sidebar
     would otherwise stack as a full-width list between header and hero. */
  .dh-hero-cats {
    display: none;
  }

  .dh-hero-grid__content {
    gap: 0;
  }

  .dh-hero-feature {
    min-height: 280px;
    border-left: none;
    border-right: none;
    border-top: none;
  }

  .dh-hero-feature__body {
    max-width: 100%;
    padding: var(--sp-md);
  }

  .dh-hero-mini-grid {
    grid-template-columns: 1fr;
  }

  .dh-hero-mini {
    border-left: none;
    border-right: none;
  }

  .dh-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dh-teasers__grid {
    grid-template-columns: 1fr;
  }
}

/* ── PRODUCT CARDS ── */

.dh-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-sm);
}

.dh-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  transition: border-color var(--transition);
}

.dh-card:hover {
  border-color: var(--clr-accent);
}

.dh-card__img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--clr-surface-2);
}

.dh-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform 0.35s ease;
}

.dh-card:hover .dh-card__img {
  transform: scale(1.04);
}

.dh-card__badge {
  position: absolute;
  top: var(--sp-xs);
  left: var(--sp-xs);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  padding: 3px 8px;
  background: var(--clr-accent);
  color: #fff;
  text-transform: uppercase;
  z-index: 1;
}

.dh-card__badge--limited {
  background: #7A5C00;
}

/* START: bilanc-product-card-badge-position */
/* Badge is a sibling of the image wrap in bilanc-shop.js. Pull it out of
   flow and pin it to the top-left of the image area (first in-flow block). */
.dh-product-card {
  position: relative;
}

.dh-product-card__img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--clr-surface-2);
  display: block;
}

.dh-product-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.dh-product-card__badge {
  position: absolute;
  top: var(--sp-xs);
  left: var(--sp-xs);
  z-index: 2;
  width: max-content;
  max-width: calc(100% - var(--sp-xs) - var(--sp-xs));
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  padding: 3px 8px;
  background: var(--clr-accent);
  color: #fff;
  text-transform: uppercase;
  pointer-events: none;
}

.dh-badge--green {
  background: #2E7D32;
}

.dh-badge--yellow {
  background: #7A5C00;
}

.dh-badge--red {
  background: var(--clr-accent);
}
/* END: bilanc-product-card-badge-position */

.dh-card__actions {
  position: absolute;
  top: var(--sp-xs);
  right: var(--sp-xs);
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 1;
}

.dh-card:hover .dh-card__actions {
  opacity: 1;
}

.dh-card__actions button {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  border-radius: 2px;
  padding: 0;
}

.dh-card__actions button:hover,
.dh-card__actions button.is-active {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: #fff;
}

.dh-card__body {
  padding: var(--sp-sm);
}

.dh-card__body a {
  display: block;
}

.dh-card__code {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  color: var(--clr-text-muted);
  display: block;
  margin-bottom: 2px;
}

.dh-card__title {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-text);
  line-height: 1.3;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dh-card__meta {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  margin-top: 4px;
  display: block;
}

.dh-card__price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--clr-text);
  display: block;
  margin-top: var(--sp-xs);
}

.dh-card__unit {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
}

.dh-card__stock {
  font-size: var(--fs-xs);
  margin-top: 2px;
  display: block;
}

.dh-card__stock.--in-stock {
  color: #4CAF50;
}

.dh-card__stock.--limited {
  color: #FF9800;
}

.dh-card__stock.--out {
  color: var(--clr-text-muted);
}

.dh-card__footer {
  display: flex;
  gap: var(--sp-xs);
  padding: var(--sp-xs) var(--sp-sm) var(--sp-sm);
  border-top: 1px solid var(--clr-border);
}

.dh-card__footer .dh-btn {
  flex: 1;
  justify-content: center;
  font-size: var(--fs-xs);
  padding: 0.5rem 0.75rem;
}

.dh-card__footer .dh-btn--ghost {
  flex: 0 0 auto;
  padding: 0.5rem 0.75rem;
}

/* ── PRODUCTS PAGE ── */

.dh-page-hero {
  background: var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
  padding: var(--sp-md) 0;
}

.dh-page-hero h1 {
  font-size: var(--fs-h2);
  margin: 0;
}

.dh-page-hero p {
  margin-top: var(--sp-xs);
  color: var(--clr-text-muted);
  max-width: none;
}

.dh-products-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--sp-lg);
  padding-top: var(--sp-lg);
  padding-bottom: var(--sp-lg);
  position: relative;
}

/* START: filters-scroll */
.dh-filters {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: var(--sp-md);
  align-self: start;
  position: sticky;
  top: calc(var(--header-total-h) + var(--sp-sm));
  max-height: calc(100vh - var(--header-total-h) - var(--sp-md));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--clr-accent) transparent;
}

.dh-filters::-webkit-scrollbar {
  width: 6px;
}

.dh-filters::-webkit-scrollbar-track {
  background: transparent;
}

.dh-filters::-webkit-scrollbar-thumb {
  background: var(--clr-accent);
}
/* END: filters-scroll */

.dh-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-sm);
}

.dh-filter-group {
  margin-top: var(--sp-md);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--clr-border);
}

.dh-filter-group__label {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  color: var(--clr-text);
  display: block;
  margin-bottom: var(--sp-xs);
}

.dh-filter-group__check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  cursor: pointer;
  padding: 4px 0;
}

.dh-filter-group__check input {
  accent-color: var(--clr-accent);
}

.dh-filters__reset {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  color: var(--clr-accent);
  background: none;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .dh-filters__reset {
    margin-right: 30px;
  }
}

.dh-filters__close {
  display: none;
}

.dh-price-range {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  color: var(--clr-text-muted);
}

.dh-price-input {
  width: 80px;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  padding: 4px 8px;
  font-size: var(--fs-sm);
  border-radius: 2px;
}

.dh-price-input:focus {
  border-color: var(--clr-accent);
  outline: none;
}

.dh-products-main {
  min-width: 0;
}

.dh-products-toolbar {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  margin-bottom: var(--sp-md);
}

.dh-products-search {
  flex: 1;
  min-width: 200px;
}

.dh-products-search .dh-header__search-input {
  width: 100%;
  padding-left: 1rem;
}

.dh-sort-select {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  padding: 0.5rem 1rem;
  border-radius: 2px;
  cursor: pointer;
}

.dh-sort-select:focus {
  border-color: var(--clr-accent);
  outline: none;
}

.dh-results-count {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin-left: auto;
  display: none;
}

/* START: shop-view-toggle */
.dh-view-toggle {
  display: none;
  align-items: stretch;
  gap: 4px;
}

.dh-view-toggle__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 36px;
  height: 36px;
  padding: 0 0.6rem;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-muted);
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.dh-view-toggle__btn:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

.dh-view-toggle__btn.is-active {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: #fff;
}

.dh-view-toggle__btn:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 2px;
}

.dh-view-toggle__label {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .dh-view-toggle {
    display: inline-flex;
  }

  .dh-product-grid.dh-product-grid--cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .dh-product-grid.dh-product-grid--cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .dh-product-grid.dh-product-grid--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dh-product-grid--cols-5 .dh-card__footer {
    flex-wrap: wrap;
  }

  .dh-product-grid--cols-5 .dh-card__footer .dh-btn {
    flex: 1 1 auto;
    padding-inline: 0.5rem;
  }

  /* Quick Shop: one product per row, everything laid out horizontally. */
  .dh-product-grid.dh-product-grid--list {
    grid-template-columns: 1fr;
    gap: var(--sp-xs);
  }

  .dh-product-grid--list .dh-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    align-items: stretch;
  }

  .dh-product-grid--list .dh-card__img-wrap {
    border-right: 1px solid var(--clr-border);
  }

  .dh-product-grid--list .dh-card__img {
    padding: var(--sp-xs);
  }

  .dh-product-grid--list .dh-card__badge {
    padding: 2px 6px;
  }

  .dh-product-grid--list .dh-card__body {
    display: flex;
    align-items: center;
    padding: var(--sp-sm) var(--sp-md);
  }

  .dh-product-grid--list .dh-card__body a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: var(--sp-md);
    align-items: center;
    width: 100%;
  }

  .dh-product-grid--list .dh-card__code,
  .dh-product-grid--list .dh-card__title,
  .dh-product-grid--list .dh-card__meta {
    grid-column: 1;
  }

  .dh-product-grid--list .dh-card__title {
    min-height: 0;
    font-size: var(--fs-base);
  }

  .dh-product-grid--list .dh-card__price {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin-top: 0;
    white-space: nowrap;
  }

  .dh-product-grid--list .dh-card__footer {
    align-items: center;
    padding: var(--sp-sm);
    border-top: 0;
    border-left: 1px solid var(--clr-border);
  }

  .dh-product-grid--list .dh-card__footer .dh-btn {
    flex: 0 0 auto;
  }

  .dh-product-grid--list .dh-card__footer .dh-btn:not(.dh-btn--ghost) {
    min-width: 7rem;
  }

  .dh-product-grid--list .dh-product-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    align-items: center;
  }

  .dh-product-grid--list .dh-product-card__body {
    padding: var(--sp-sm) var(--sp-md);
  }

  .dh-product-grid--list .dh-product-card__actions {
    display: flex;
    gap: var(--sp-xs);
    padding: var(--sp-sm);
  }
}
/* END: shop-view-toggle */

.dh-cat-chips {
  display: flex;
  gap: var(--sp-xs);
  overflow-x: auto;
  padding-bottom: var(--sp-xs);
  scrollbar-width: none;
  margin-bottom: var(--sp-md);
}

.dh-cat-chips::-webkit-scrollbar {
  display: none;
}

.dh-cat-chip {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  padding: 4px 12px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  border-radius: 2px;
}

.dh-cat-chip.is-active {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: #fff;
}

/* START: infinite-scroll-sentinel */
.dh-load-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xs);
  margin-top: var(--sp-md);
  margin-bottom: var(--sp-lg);
  padding: var(--sp-md) 0;
  border-top: 1px solid var(--clr-border);
}

.dh-load-more[hidden] {
  display: none;
}

.dh-load-more__dots {
  display: flex;
  gap: 8px;
}

.dh-load-more__dots span {
  width: 7px;
  height: 7px;
  background: var(--clr-accent);
  opacity: 0.2;
  animation: dh-load-more-pulse 900ms ease-in-out infinite;
}

.dh-load-more__dots span:nth-child(2) {
  animation-delay: 150ms;
}

.dh-load-more__dots span:nth-child(3) {
  animation-delay: 300ms;
}

.dh-load-more__text {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

.dh-load-more.is-loading .dh-load-more__text {
  color: var(--clr-accent);
}

@keyframes dh-load-more-pulse {
  0%,
  100% {
    opacity: 0.2;
    transform: translateY(0);
  }
  35% {
    opacity: 1;
    transform: translateY(-3px);
  }
  60% {
    opacity: 0.2;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dh-load-more__dots span {
    animation: none;
    opacity: 0.6;
  }
}
/* END: infinite-scroll-sentinel */

.dh-filters-toggle {
  display: none;
  align-items: center;
  gap: 0.4rem;
}

.dh-filters-overlay {
  display: none;
}

@media (max-width: 1023px) {
  .dh-products-layout {
    grid-template-columns: 1fr;
  }

  .dh-filters {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1200;
    width: 280px;
    max-height: none;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    align-self: auto;
  }

  .dh-filters.is-open {
    transform: none;
  }

  .dh-filters__close {
    display: block;
    position: absolute;
    top: var(--sp-sm);
    right: var(--sp-sm);
    background: none;
    border: none;
    color: var(--clr-text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
    padding: 0px;
  }

  .dh-filters-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .dh-filters-overlay.is-visible {
    opacity: 1;
    pointer-events: all;
  }

  .dh-filters-toggle {
    display: flex;
  }
}

/* ── SINGLE PRODUCT ── */

.dh-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  padding: var(--sp-sm) 0;
  flex-wrap: wrap;
}

.dh-breadcrumb__sep {
  color: var(--clr-border);
}

.dh-breadcrumb span:last-child {
  color: var(--clr-text);
}

.dh-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  padding-top: var(--sp-lg);
  padding-bottom: var(--sp-lg);
}

.dh-gallery__main {
  aspect-ratio: 1 / 1;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  cursor: zoom-in;
}

.dh-gallery__main img {
  object-fit: contain;
  padding: 2rem;
  width: 100%;
  height: 100%;
}

.dh-gallery__thumbs {
  display: flex;
  gap: var(--sp-xs);
  margin-top: var(--sp-xs);
  overflow-x: auto;
  scrollbar-width: none;
}

.dh-gallery__thumbs::-webkit-scrollbar {
  display: none;
}

.dh-gallery__thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border: 1px solid var(--clr-border);
  cursor: pointer;
  background: var(--clr-surface);
  padding: 0;
  overflow: hidden;
  transition: border-color var(--transition);
}

.dh-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.25rem;
}

.dh-gallery__thumb.is-active {
  border-color: var(--clr-accent);
}

.dh-gallery__datasheet {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin-top: var(--sp-sm);
  text-decoration: underline;
  transition: color var(--transition);
}

.dh-gallery__datasheet:hover {
  color: var(--clr-accent);
}

.dh-product-info {
  min-width: 0;
}

.dh-product-info h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  margin-bottom: var(--sp-sm);
  line-height: 1.05;
}

.dh-product-info .dh-card__code {
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-xs);
}

.dh-product-stock {
  display: inline-flex;
  padding: 2px 10px;
  border: 1px solid currentColor;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  font-family: var(--font-display);
  text-transform: uppercase;
  margin-bottom: var(--sp-sm);
}

.dh-product-stock.--in-stock {
  color: #4CAF50;
}

.dh-product-stock.--limited {
  color: #FF9800;
}

.dh-product-stock.--out {
  color: var(--clr-text-muted);
}

.dh-product-price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--clr-text);
  margin-bottom: var(--sp-sm);
}

.dh-product-price__currency {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin-left: 0.25rem;
}

.dh-unit-pills {
  display: flex;
  gap: var(--sp-xs);
  margin: var(--sp-sm) 0;
  flex-wrap: wrap;
}

.dh-unit-pill {
  border: 1px solid var(--clr-border);
  padding: 4px 12px;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  cursor: pointer;
  background: transparent;
  color: var(--clr-text-muted);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  border-radius: 2px;
}

.dh-unit-pill.is-active,
.dh-unit-pill:has(input:checked) {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: #fff;
}

.dh-qty-input {
  width: 80px;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  padding: 0.5rem 0.75rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  border-radius: 2px;
  margin-bottom: var(--sp-sm);
}

.dh-qty-input:focus {
  border-color: var(--clr-accent);
  outline: none;
}

.dh-product-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  margin-top: var(--sp-md);
}

.dh-product-ctas .dh-btn {
  width: 100%;
  justify-content: center;
}

.dh-product-ctas .dh-btn--whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.dh-product-actions {
  display: flex;
  gap: var(--sp-md);
  margin-top: var(--sp-md);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--clr-border);
}

.dh-product-actions button {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  cursor: pointer;
  padding: 0;
  transition: color var(--transition);
}

.dh-product-actions button:hover,
.dh-product-actions button.is-active {
  color: var(--clr-accent);
}

.dh-product-skeleton {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.dh-skeleton-block {
  background: linear-gradient(90deg, var(--clr-surface) 25%, var(--clr-surface-2) 50%, var(--clr-surface) 75%);
  background-size: 200% 100%;
  animation: dh-skeleton-shimmer 1.2s ease-in-out infinite;
  border-radius: 2px;
}

.dh-skeleton-block--code {
  width: 40%;
  height: 14px;
}

.dh-skeleton-block--title {
  width: 90%;
  height: 36px;
}

.dh-skeleton-block--price {
  width: 50%;
  height: 32px;
}

.dh-skeleton-block--units {
  width: 70%;
  height: 28px;
}

.dh-skeleton-block--cta {
  width: 100%;
  height: 48px;
}

@keyframes dh-skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.dh-specs-section {
  padding-bottom: var(--sp-lg);
}

.dh-specs-section h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--sp-md);
}

.dh-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.dh-specs-table td {
  padding: var(--sp-xs) var(--sp-sm);
  font-size: var(--fs-sm);
  border-bottom: 1px solid var(--clr-border);
}

.dh-specs-table tr:nth-child(even) td {
  background: var(--clr-surface);
}

.dh-specs-table td:first-child {
  color: var(--clr-text-muted);
  width: 40%;
}

.dh-engineer-banner {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: var(--sp-lg) 0;
  margin-top: var(--sp-xl);
}

.dh-engineer-banner .dh-container {
  max-width: 600px;
}

.dh-engineer-banner h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--sp-xs);
}

.dh-engineer-banner p {
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-md);
  max-width: none;
}

.dh-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.2s ease, opacity 0.2s ease;
  padding: var(--sp-md);
}

.dh-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.dh-modal__panel {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: 50px 25px 50px 25px;
  width: 100%;
  max-width: 520px;
  position: relative;
  z-index: 1;
}

.dh-modal__close {
  position: absolute;
  top: var(--sp-sm);
  right: var(--sp-sm);
  background: none;
  border: none;
  color: var(--clr-text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}

.dh-modal__fields {
  margin-bottom: var(--sp-md);
}

.dh-modal__input {
  width: 100%;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-xs);
  border-radius: 2px;
}

.dh-modal__input:focus {
  border-color: var(--clr-accent);
  outline: none;
}

.dh-modal__textarea {
  resize: vertical;
  min-height: 100px;
}

.dh-modal .dh-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.dh-auth-gate__text {
  margin: var(--sp-xs) 0 0;
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  max-width: none;
}

.dh-auth-gate__actions {
  display: flex;
  gap: var(--sp-xs);
  flex-wrap: wrap;
  margin-top: var(--sp-md);
  justify-content: space-between;
  width: 100%;
}

.dh-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1900;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.2s ease, opacity 0.2s ease;
}

.dh-lightbox.is-open {
  visibility: visible;
  opacity: 1;
}

.dh-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.dh-lightbox__close {
  position: absolute;
  top: var(--sp-md);
  right: var(--sp-md);
  background: none;
  border: none;
  color: var(--clr-text);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1;
}

.dh-lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  width: 48px;
  height: 48px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  border-radius: 2px;
}

.dh-lightbox__arrow:hover {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
}

.dh-lightbox__arrow--prev {
  left: var(--sp-md);
}

.dh-lightbox__arrow--next {
  right: var(--sp-md);
}

#dh-related-products {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1023px) {
  .dh-product-layout {
    grid-template-columns: 1fr;
  }

  #dh-related-products {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

/* ── PREVENTIV ── */

.dh-preventiv-page h1 {
  font-size: var(--fs-h1);
  padding: var(--sp-md) 0 var(--sp-sm);
  margin: 0;
}

.dh-preventiv-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--sp-lg);
  padding-bottom: var(--sp-xl);
}

.dh-preventiv-table-wrap {
  overflow-x: auto;
}

.dh-preventiv-table {
  width: 100%;
  border-collapse: collapse;
}

.dh-preventiv-table th {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: var(--fs-sm);
  text-align: left;
  padding: var(--sp-xs) var(--sp-sm);
  border-bottom: 2px solid var(--clr-accent);
  color: var(--clr-text-muted);
  text-transform: uppercase;
}

.dh-preventiv-table td {
  padding: var(--sp-xs) var(--sp-sm);
  border-bottom: 1px solid var(--clr-border);
  font-size: var(--fs-sm);
  vertical-align: middle;
}

.dh-cart-item {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  min-width: 200px;
}

.dh-cart-item__thumb {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  padding: 2px;
}

.dh-cart-item__code {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  color: var(--clr-text-muted);
  display: block;
}

.dh-cart-item__name {
  font-weight: 500;
  color: var(--clr-text);
  line-height: 1.3;
  display: block;
}

.dh-cart-qty {
  width: 64px;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  padding: 4px 8px;
  font-size: var(--fs-sm);
  border-radius: 2px;
}

.dh-cart-unit {
  display: block;
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  margin-top: 2px;
}

.dh-cart-remove {
  background: none;
  border: none;
  color: var(--clr-text-muted);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0px 20px 0px 0px;
  transition: color var(--transition);
}

.dh-cart-remove:hover {
  color: var(--clr-accent);
}

.dh-cart-empty {
  text-align: center;
  padding: var(--sp-lg) var(--sp-md);
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
}

.dh-cart-empty p {
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-md);
  max-width: none;
}

.dh-preventiv-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  margin-top: var(--sp-md);
}

.dh-preventiv-clear {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  color: var(--clr-accent);
  background: none;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

.dh-preventiv-totals {
  border-top: 2px solid var(--clr-border);
  padding-top: var(--sp-sm);
  margin-top: var(--sp-sm);
  text-align: right;
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

.dh-preventiv-totals__row,
.dh-preventiv-totals__grand {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: var(--sp-sm);
}

.dh-preventiv-totals__row + .dh-preventiv-totals__row,
.dh-preventiv-totals__grand {
  margin-top: 0.35rem;
}

.dh-preventiv-totals strong {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  color: var(--clr-text);
}

.dh-preventiv-totals__grand {
  margin-top: var(--sp-sm);
  padding-top: var(--sp-sm);
  border-top: 1px solid var(--clr-border);
}

.dh-preventiv-totals__grand strong {
  font-size: 1.5rem;
}

.dh-preventiv-labor {
  margin-top: var(--sp-md);
  max-width: 320px;
}

.dh-preventiv-labor .dh-label {
  display: block;
  margin-bottom: var(--sp-xs);
}

.dh-preventiv-labor__field {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
}

.dh-preventiv-labor__field .dh-modal__input {
  flex: 1;
  min-width: 0;
}

.dh-preventiv-labor__currency {
  flex-shrink: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-text-muted);
}

.dh-preventiv-labor__hint {
  margin: var(--sp-xs) 0 0;
  font-size: var(--fs-xs);
}

/* START: quotation-mode */
.dh-preventiv-totals__row--discount strong {
  color: var(--clr-accent);
}

.dh-preventiv-mode {
  margin-top: var(--sp-md);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--clr-border);
}

.dh-preventiv-mode .dh-label {
  display: block;
  margin-bottom: var(--sp-sm);
}

.dh-preventiv-mode__buttons {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

.dh-preventiv-mode__btn {
  flex: 1 1 auto;
  min-width: 140px;
}

.dh-preventiv-mode__btn.is-active {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: var(--clr-text-inv);
}

.dh-preventiv-mode__btn.is-active:hover {
  background: var(--clr-accent-h);
  border-color: var(--clr-accent-h);
  color: var(--clr-text-inv);
}

.dh-preventiv-mode__custom {
  margin-top: var(--sp-sm);
  max-width: 320px;
}

.dh-preventiv-mode__custom .dh-label {
  margin-bottom: var(--sp-xs);
}

.dh-preventiv-mode__custom-field {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
}

.dh-preventiv-mode__custom-field .dh-modal__input {
  flex: 1;
  min-width: 0;
}

.dh-preventiv-mode__custom-field span {
  flex-shrink: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-text-muted);
}

.dh-preventiv-mode__error {
  margin: var(--sp-sm) 0 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-accent-h);
}

.dh-discount-approval__text {
  margin: var(--sp-sm) 0 var(--sp-md);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--clr-text);
}

.dh-discount-approval__actions {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}
/* END: quotation-mode */

.dh-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--sp-md);
  color: #25D366;
  border-color: #25D366;
}

.dh-whatsapp-btn:hover {
  background: #25D366;
  color: #fff;
}

.dh-preventiv-form {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: var(--sp-md);
  position: sticky;
  top: calc(var(--header-total-h) + var(--sp-sm));
  max-height: calc(120vh - var(--header-total-h) - var(--sp-md));
  overflow-y: auto;
  align-self: start;
}

.dh-preventiv-form h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--sp-md);
}

.dh-form-field {
  margin-bottom: var(--sp-sm);
}

.dh-form-field label,
.dh-form-field__label {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  color: var(--clr-text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.dh-form-field__hint {
  margin: 4px 0 0;
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
}

.dh-form-field__error {
  margin: 4px 0 0;
  font-size: var(--fs-xs);
  color: #d64545;
}

.dh-form-field.is-invalid .dh-modal__input,
.dh-form-field.is-invalid .dh-modal__input--file {
  border-color: #d64545;
}

.dh-modal__input--file {
  padding: 8px;
  background: var(--clr-surface);
}

.dh-radio-pills {
  display: flex;
  gap: var(--sp-xs);
  flex-wrap: wrap;
}

.dh-radio-pill {
  border: 1px solid var(--clr-border);
  padding: 6px 14px;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  cursor: pointer;
  color: var(--clr-text-muted);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  border-radius: 2px;
}

.dh-radio-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dh-radio-pill:has(input:checked) {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: #fff;
}

.dh-company-info {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  border-top: 1px solid var(--clr-border);
  padding-top: var(--sp-sm);
  margin-top: var(--sp-sm);
  margin-bottom: var(--sp-sm);
}

.dh-preventiv-submit,
.dh-preventiv-pdf {
  width: 100%;
  justify-content: center;
}

.dh-preventiv-pdf {
  margin-top: 0.5rem;
}

.dh-quote-success {
  background: #0D2B0D;
  border: 1px solid #25D366;
  padding: var(--sp-sm);
  color: #4CAF50;
  font-size: var(--fs-sm);
  margin-top: var(--sp-sm);
}

.dh-quote-success p {
  max-width: none;
  margin: 0;
}

.dh-quote-success p + p {
  margin-top: 0.25rem;
}

@media (max-width: 1023px) {
  .dh-preventiv-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
    padding-bottom: var(--sp-lg);
  }

  .dh-preventiv-page h1 {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    padding: var(--sp-sm) 0;
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .dh-preventiv-form {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .dh-preventiv-table-wrap {
    overflow-x: visible;
    border: 1px solid var(--clr-border);
    background: var(--clr-surface);
  }

  .dh-preventiv-table {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .dh-preventiv-table thead {
    display: none;
  }

  .dh-preventiv-table tbody {
    display: block;
  }

  .dh-preventiv-table tr {
    display: block;
    position: relative;
    padding: var(--sp-sm);
    border-bottom: 1px solid var(--clr-border);
  }

  .dh-preventiv-table tr:last-child {
    border-bottom: none;
  }

  .dh-preventiv-table td {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
  }

  .dh-preventiv-table td:nth-child(1) {
    padding-right: 2rem;
  }

  .dh-preventiv-table td:nth-child(2) {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: var(--sp-sm);
    row-gap: 0.15rem;
    align-items: center;
    margin-top: var(--sp-xs);
  }

  .dh-preventiv-table td:nth-child(2)::before {
    content: 'Sasia';
    grid-row: 1 / -1;
    align-self: center;
    flex-shrink: 0;
    min-width: 3.25rem;
    font-family: var(--font-display);
    font-size: var(--fs-xs);
    letter-spacing: 0.08em;
    color: var(--clr-text-muted);
    text-transform: uppercase;
  }

  .dh-preventiv-table td:nth-child(2) .dh-cart-qty {
    grid-column: 2;
    grid-row: 1;
  }

  .dh-preventiv-table td:nth-child(2) .dh-cart-unit {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
  }

  .dh-preventiv-table td:nth-child(3),
  .dh-preventiv-table td:nth-child(4) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-sm);
    margin-top: 0.35rem;
    font-size: var(--fs-sm);
  }

  .dh-preventiv-table td:nth-child(3)::before {
    content: 'Çmimi';
    font-family: var(--font-display);
    font-size: var(--fs-xs);
    letter-spacing: 0.08em;
    color: var(--clr-text-muted);
    text-transform: uppercase;
  }

  .dh-preventiv-table td:nth-child(4)::before {
    content: 'Totali';
    font-family: var(--font-display);
    font-size: var(--fs-xs);
    letter-spacing: 0.08em;
    color: var(--clr-text-muted);
    text-transform: uppercase;
  }

  .dh-preventiv-table td:nth-child(5) {
    position: absolute;
    top: var(--sp-sm);
    right: 0;
    width: auto;
  }

  .dh-cart-item {
    min-width: 0;
    align-items: flex-start;
  }

  .dh-cart-item__name {
    line-height: 1.35;
    word-break: break-word;
  }

  .dh-cart-qty {
    width: 72px;
    flex-shrink: 0;
  }

  .dh-preventiv-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .dh-preventiv-actions .dh-btn,
  .dh-whatsapp-btn {
    width: 100%;
    justify-content: center;
  }

  .dh-preventiv-clear {
    align-self: flex-end;
    order: -1;
    margin-bottom: var(--sp-xs);
  }

  .dh-preventiv-totals {
    text-align: left;
  }

  .dh-preventiv-submit,
  .dh-preventiv-pdf {
    width: 100%;
    justify-content: center;
  }

  .dh-compare-wrap {
    -webkit-overflow-scrolling: touch;
    border-radius: 0;
  }

  .dh-page-hero--compact h1 {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    overflow-wrap: anywhere;
  }

  #dh-main,
  .dh-preventiv-page,
  .dh-product-page,
  .dh-wishlist-page,
  .dh-compare-page,
  .dh-account-page,
  .dh-invoice,
  .dh-products-page {
    overflow-x: clip;
    max-width: 100%;
  }

  .dh-preventiv-page .dh-container,
  .dh-wishlist-page .dh-container,
  .dh-compare-page .dh-container,
  .dh-account-page .dh-container,
  .dh-product-page .dh-container,
  .dh-invoice .dh-container,
  .dh-products-page .dh-container {
    padding-inline: clamp(0.875rem, 4vw, 1.25rem);
  }
}

/* ── ACCOUNT ── */

.dh-account-page {
  padding: var(--sp-xl) 0;
}

.dh-account-layout {
  min-height: 400px;
}

.dh-auth {
  max-width: 480px;
  margin: 0 auto;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: var(--sp-lg);
}

.dh-auth__tabs {
  display: flex;
  border-bottom: 2px solid var(--clr-border);
  margin-bottom: var(--sp-md);
}

.dh-auth__tab {
  flex: 1;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  font-size: var(--fs-sm);
  background: none;
  border: none;
  color: var(--clr-text-muted);
  padding: var(--sp-sm);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--transition), border-color var(--transition);
}

.dh-auth__tab.is-active {
  color: var(--clr-accent);
  border-bottom-color: var(--clr-accent);
}

.dh-auth__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  margin-top: var(--sp-sm);
}

.dh-auth__forgot {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  transition: color var(--transition);
}

.dh-auth__forgot:hover {
  color: var(--clr-accent);
}

.dh-auth__error {
  margin-top: var(--sp-sm);
  padding: var(--sp-xs) var(--sp-sm);
  background: rgba(164, 28, 66, 0.15);
  border: 1px solid var(--clr-accent);
  color: var(--clr-accent);
  font-size: var(--fs-sm);
}

.dh-auth__form .dh-btn {
  width: 100%;
  justify-content: center;
  margin-top: var(--sp-sm);
}

.dh-auth--register {
  max-width: 520px;
  margin: var(--sp-lg) auto;
}

.dh-auth__title {
  font-size: var(--fs-h2);
  margin-bottom: var(--sp-xs);
}

.dh-auth__lead {
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-md);
  max-width: none;
}

.dh-auth__switch {
  margin-top: var(--sp-md);
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  max-width: none;
}

.dh-auth__switch a {
  color: var(--clr-accent);
  text-decoration: underline;
}

.dh-radio-pills--stack {
  flex-direction: column;
  align-items: stretch;
}

.dh-radio-pills--stack .dh-radio-pill {
  width: 100%;
}

.dh-dash-panel {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: var(--sp-md);
}

.dh-dash-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-top: var(--sp-md);
}

.dh-account-stats .dashboard-box strong {
  display: block;
  margin-bottom: 0.2rem;
}

.dh-account-stats .dashboard-box span {
  display: block;
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}

.dh-account-empty {
  padding: var(--sp-md);
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
}

.dh-account-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
}

.dh-account-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.dh-account-table th,
.dh-account-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--clr-border);
  text-align: left;
  vertical-align: middle;
}

.dh-account-table th {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  color: var(--clr-text-muted);
  background: var(--clr-surface-2);
}

.dh-account-table tbody tr:last-child td {
  border-bottom: none;
}

.dh-account-table tbody tr:hover {
  background: var(--clr-surface-2);
}

.dh-status-pill {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--clr-border);
  font-size: var(--fs-xs);
  white-space: nowrap;
}

.dh-status-pill.status-pill--pending {
  border-color: var(--clr-text-muted);
  color: var(--clr-text-muted);
}

.dh-status-pill.status-pill--approved {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

.dh-status-pill.status-pill--paid {
  border-color: var(--clr-text);
  color: var(--clr-text);
}

.dh-status-pill.status-pill--rejected {
  border-color: var(--clr-border);
  color: var(--clr-text-muted);
  opacity: 0.8;
}

.dh-btn--sm {
  padding: 0.45rem 0.75rem;
  font-size: var(--fs-xs);
}

.dh-account-quotes {
  margin-top: var(--sp-md);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--clr-border);
}

.dh-account-quotes h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--sp-sm);
}

.dh-account-quotes__list {
  display: grid;
  gap: var(--sp-xs);
}

.dh-account-quotes__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: var(--sp-sm);
  align-items: center;
  padding: var(--sp-xs) var(--sp-sm);
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
  text-decoration: none;
  color: inherit;
}

.dh-account-quotes__item strong,
.dh-account-quotes__item em {
  white-space: nowrap;
}

.dh-account-quotes__item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dh-account-quotes__item:hover {
  border-color: var(--clr-accent);
}

.dh-account-quotes__item.is-unread {
  border-color: var(--clr-accent);
}

.dh-link-btn {
  background: none;
  border: none;
  color: var(--clr-accent);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.admin-quote-reply {
  display: grid;
  gap: var(--sp-xs);
  min-width: 220px;
}

.admin-quote-reply textarea {
  width: 100%;
  min-height: 72px;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  padding: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  border-radius: 2px;
}

.admin-quote-replies {
  margin-top: var(--sp-xs);
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
}

.admin-quote-replies p {
  max-width: none;
  margin: 0.25rem 0 0;
}

.admin-quote-review__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: var(--sp-md);
  align-items: start;
}

.admin-quote-review__items h3,
.admin-quote-review__sidebar h3 {
  margin: 0 0 var(--sp-sm);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-quote-discount__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
  margin-bottom: var(--sp-sm);
}

.admin-quote-discount__actions .small-btn.is-active {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: var(--clr-text-inv);
}

.admin-quote-discount__custom {
  margin-bottom: var(--sp-md);
}

.admin-quote-discount__custom-field {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
}

.admin-quote-discount__custom-field input {
  width: 88px;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  padding: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  border-radius: 2px;
}

.admin-quote-discount__custom-field span {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
}

.admin-quote-summary {
  display: grid;
  gap: 0.65rem;
  padding: var(--sp-sm);
  border: 1px solid var(--clr-border);
  background: var(--clr-surface-2);
  margin-bottom: var(--sp-md);
}

.admin-quote-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-sm);
  font-size: var(--fs-sm);
}

.admin-quote-summary__row--discount strong {
  color: var(--clr-accent);
}

.admin-quote-summary__row--total {
  padding-top: 0.65rem;
  border-top: 1px solid var(--clr-border);
  font-size: var(--fs-base);
}

.admin-quote-send {
  display: grid;
  gap: var(--sp-xs);
}

.admin-quote-send textarea {
  width: 100%;
  min-height: 96px;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  padding: 0.65rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  border-radius: 2px;
}

.admin-quote-send .muted {
  margin: 0;
}

.dh-invoice__totals-row--discount strong {
  color: var(--clr-accent);
}

@media (max-width: 1023px) {
  .admin-quote-review__grid {
    grid-template-columns: 1fr;
  }
}

.dh-dashboard:not([hidden]) {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: var(--sp-lg);
}

.dh-dashboard__sidebar {
  border-right: 1px solid var(--clr-border);
  padding-right: var(--sp-lg);
  min-width: 0;
}

.dh-dashboard__user {
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid var(--clr-border);
  margin-bottom: var(--sp-md);
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}

.dh-dashboard__user strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  color: var(--clr-text);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  overflow-wrap: anywhere;
}

.dh-dashboard__user span {
  display: block;
  overflow-wrap: anywhere;
}

/* START: profile-information */
.dh-dashboard__avatar,
.dh-profile__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  flex-shrink: 0;
}

.dh-dashboard__avatar {
  width: 56px;
  height: 56px;
  margin-bottom: var(--sp-xs);
}

.dh-profile__avatar {
  position: relative;
  width: 112px;
  height: 112px;
}

.dh-profile__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dh-profile__avatar-initials {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  letter-spacing: 0.05em;
  color: var(--clr-text-muted);
}

.dh-profile__avatar.is-uploading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--clr-bg);
  opacity: 0.55;
}

.dh-profile__photo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-sm);
  padding: var(--sp-md) 0;
  border-bottom: 1px solid var(--clr-border);
}

.dh-profile__photo-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.dh-profile__name {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  letter-spacing: 0.05em;
  color: var(--clr-text);
  overflow-wrap: anywhere;
}

.dh-profile__role {
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-accent);
}

.dh-profile__upload-field {
  margin-top: var(--sp-xs);
  margin-bottom: 0;
}

.dh-profile__upload {
  display: inline-flex;
  width: max-content;
  cursor: pointer;
}

.dh-profile__file {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.dh-profile__upload-field:has(.dh-profile__file:focus-visible) .dh-profile__upload {
  outline: 2px solid var(--clr-accent);
  outline-offset: 2px;
}

.dh-profile__form {
  padding: var(--sp-md) 0;
}

.dh-profile__heading {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  letter-spacing: 0.05em;
  margin: 0 0 var(--sp-sm);
}

.dh-profile__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 var(--sp-sm);
}

.dh-profile__grid .dh-modal__input {
  width: 100%;
}

.dh-profile__grid .dh-modal__input[readonly] {
  color: var(--clr-text-muted);
  cursor: not-allowed;
}

.dh-profile__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
  margin-top: var(--sp-sm);
}

.dh-profile__security {
  padding-top: var(--sp-md);
  border-top: 1px solid var(--clr-border);
}

.dh-profile__security-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-sm);
}

.dh-profile__security-head .dh-profile__heading {
  margin-bottom: 0.25rem;
}

.dh-profile__muted {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin: 0;
}

.dh-profile__security .dh-profile__form {
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .dh-profile__photo {
    flex-direction: row;
    align-items: center;
    gap: var(--sp-md);
  }

  .dh-profile__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dh-profile__security-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
/* END: profile-information */

.dh-dashboard__nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.dh-dash-nav__item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  padding: var(--sp-xs) 0;
  padding-left: var(--sp-xs);
  cursor: pointer;
  border-left: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.dh-dash-nav__item:hover {
  color: var(--clr-text);
}

.dh-dash-nav__item.is-active {
  color: var(--clr-text);
  border-left-color: var(--clr-accent);
}

.dh-dash-nav__item--danger:hover {
  color: var(--clr-accent);
}

a.dh-dash-nav__item {
  text-decoration: none;
}

.dh-dash-panel__head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-md);
}

.dh-dash-panel__head-row h2 {
  margin-bottom: 0.25rem;
}

.dh-dash-panel__head-row p {
  max-width: none;
  margin: 0;
}

/* START: notifications-page */
.dh-notifications-page {
  padding: var(--sp-lg) 0 var(--sp-xl);
}

.dh-notifications-layout {
  max-width: 1700px;
}

.dh-notifications-page__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-md);
  margin-bottom: var(--sp-lg);
}

.dh-notifications-page__head h1 {
  font-size: var(--fs-h1);
  margin-bottom: var(--sp-xs);
}

.dh-notifications-page__lead {
  max-width: none;
  color: var(--clr-text-muted);
}

.dh-notifications-page__list {
  display: grid;
  gap: var(--sp-xs);
}

.dh-notifications-page__list--compact {
  margin-top: var(--sp-sm);
}

.dh-notifications-page__item {
  display: grid;
  gap: 0.25rem;
  padding: var(--sp-sm) var(--sp-md);
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
  color: inherit;
  text-decoration: none;
  text-align: left;
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color var(--transition);
}

button.dh-notifications-page__item {
  width: 100%;
}

.dh-notifications-page__item:hover {
  border-color: var(--clr-accent);
}

.dh-notifications-page__item.is-unread {
  border-left: 3px solid var(--clr-accent);
}

.dh-notifications-page__item strong {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.dh-notifications-page__item span {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
}

.dh-notifications-page__item em {
  font-style: normal;
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
}

.dh-notifications-page__empty,
.dh-notifications-page__guest {
  padding: var(--sp-lg);
  text-align: center;
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
}

.dh-reply-modal__panel {
  max-width: 560px;
}

.dh-reply-modal__meta {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-sm);
  max-width: none;
}

.dh-reply-modal__body {
  margin-bottom: var(--sp-md);
}

.dh-reply-modal__message {
  padding: var(--sp-md);
  border: 1px solid var(--clr-border);
  background: var(--clr-surface-2);
}

.dh-reply-modal__message p {
  max-width: none;
  margin: 0;
  white-space: pre-wrap;
}

.dh-reply-modal__loading {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
}

.dh-reply-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  justify-content: flex-end;
}
/* END: notifications-page */

.dh-dashboard__content {
  min-width: 0;
}

.dh-note {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  font-style: italic;
  margin-bottom: var(--sp-sm);
  max-width: none;
}

@media (max-width: 1023px) {
  .dh-account-page {
    padding: var(--sp-md) 0 var(--sp-xl);
  }

  .dh-dashboard:not([hidden]) {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-md);
  }

  .dh-dashboard__sidebar {
    border-right: none;
    border-bottom: 1px solid var(--clr-border);
    padding-right: 0;
    padding-bottom: var(--sp-sm);
  }

  .dh-dashboard__user {
    padding-bottom: var(--sp-sm);
    margin-bottom: var(--sp-sm);
  }

  .dh-dashboard__nav {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: var(--sp-xs);
    padding-bottom: var(--sp-xs);
    scrollbar-width: none;
  }

  .dh-dashboard__nav::-webkit-scrollbar {
    display: none;
  }

  .dh-dash-nav__item {
    width: auto;
    white-space: nowrap;
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: var(--sp-xs) var(--sp-sm);
    flex-shrink: 0;
  }

  .dh-dash-nav__item.is-active {
    border-left-color: transparent;
    border-bottom-color: var(--clr-accent);
  }

  .dh-dash-panel {
    padding: var(--sp-sm);
  }

  .dh-account-table th,
  .dh-account-table td {
    white-space: nowrap;
    padding: 0.65rem 0.75rem;
  }

  .dh-dash-panel__head-row .dh-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .dh-dash-panel__actions .dh-btn {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
  }
}

/* ── WISHLIST + COMPARE ── */

.dh-wishlist-page,
.dh-compare-page {
  padding-bottom: var(--sp-xl);
}

.dh-page-hero--compact {
  padding: var(--sp-md) 0;
  background: transparent;
  border-bottom: none;
}

.dh-page-hero--compact h1 {
  font-size: var(--fs-h1);
  margin: 0;
}

.dh-compare-note {
  margin-top: var(--sp-xs);
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  max-width: none;
}

.dh-list-empty {
  text-align: center;
  padding: var(--sp-xl) var(--sp-md);
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
  margin-top: var(--sp-md);
}

.dh-list-empty p {
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-md);
  max-width: none;
}

.dh-card--wishlist .dh-card__footer .dh-btn[data-add-cart] {
  flex: 1;
}

.dh-card--wishlist .dh-card__footer .dh-btn[data-wishlist-remove] {
  flex: 0 0 auto;
  color: var(--clr-accent);
  border-color: var(--clr-accent);
}

.dh-compare-wrap {
  overflow-x: auto;
  margin-top: var(--sp-md);
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
}

.dh-compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.dh-compare-table th,
.dh-compare-table td {
  padding: var(--sp-xs) var(--sp-sm);
  border-bottom: 1px solid var(--clr-border);
  font-size: var(--fs-sm);
  vertical-align: middle;
  text-align: left;
}

.dh-compare-table th {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  color: var(--clr-text-muted);
  background: var(--clr-surface-2);
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 140px;
}

.dh-compare-table td:first-child,
.dh-compare-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--clr-surface);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  color: var(--clr-text-muted);
}

.dh-compare-table th:first-child {
  background: var(--clr-surface-2);
  z-index: 3;
}

.dh-compare-product {
  text-align: center;
  min-width: 160px;
}

.dh-compare-product img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto var(--sp-xs);
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  padding: 0.25rem;
}

.dh-compare-product__name {
  display: block;
  font-weight: 500;
  color: var(--clr-text);
  margin-bottom: var(--sp-xs);
}

.dh-compare-remove {
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--clr-accent);
  cursor: pointer;
  padding: 0;
}

.dh-compare-add {
  margin-top: var(--sp-xs);
}

#dh-compare-wrap:empty,
.dh-compare-page.has-items #dh-compare-empty {
  display: none;
}

.dh-compare-page:not(.has-items) #dh-compare-wrap {
  display: none;
}

/* START: compare-bar */
.dh-compare-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  box-shadow: 0 -8px 24px rgba(13, 13, 13, 0.08);
}

.dh-compare-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  min-height: 56px;
  padding: 15px;
}

.dh-compare-bar__assist {
  flex-shrink: 0;
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  white-space: nowrap;
}

.dh-compare-bar__main {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
}

.dh-compare-bar__title {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dh-compare-bar__count {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  white-space: nowrap;
}

.dh-compare-bar__items {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  flex-wrap: wrap;
  min-width: 0;
}

.dh-compare-bar__item {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid var(--clr-border);
  font-size: var(--fs-xs);
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-surface-2);
  white-space: nowrap;
}

.dh-compare-bar__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  flex-shrink: 0;
}

.dh-compare-bar__actions .dh-btn {
  padding: 0.45rem 0.9rem;
  font-size: var(--fs-xs);
}

body.has-compare-bar {
  padding-bottom: 56px;
}

.dh-compare-product__code {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--clr-text-muted);
  margin-bottom: 0.15rem;
}
/* END: compare-bar */

/* START: toast */
.dh-toast {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: 1rem;
  z-index: 1200;
  min-width: 220px;
  max-width: min(360px, calc(100vw - 2rem));
  padding: 0.75rem 1rem;
  background: var(--clr-text);
  color: var(--clr-text-inv);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  line-height: 1.4;
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(13, 13, 13, 0.15);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.dh-toast:empty {
  display: none;
}

.dh-toast.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

body.has-compare-bar .dh-toast {
  bottom: calc(56px + 0.75rem);
}

@media (max-width: 1023px) {
  .dh-toast {
    bottom: calc(56px + 0.75rem);
  }

  body.has-compare-bar .dh-toast {
    bottom: calc(112px + 0.75rem);
  }
}
/* END: toast */

/* START: quick-modal */
.quick-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--sp-md);
}

.quick-modal.is-open {
  display: flex;
}

.quick-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 13, 0.55);
}

.quick-modal__card {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: calc(100vh - var(--sp-lg));
  overflow-y: auto;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: var(--sp-md);
}

.quick-modal__close {
  position: absolute;
  top: var(--sp-xs);
  right: var(--sp-xs);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}

.quick-modal__close:hover {
  color: var(--clr-accent);
  border-color: var(--clr-accent);
}

.quick-view {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
}

@media (min-width: 768px) {
  .quick-view {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: start;
  }
}

.quick-view img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-top: var(--sp-sm);
}
/* END: quick-modal */

#toast,
.toast:not(.dh-toast) {
  display: none !important;
}

/* ── INVOICE ── */

/* START: invoice-actions */
.dh-invoice-actions {
  position: relative;
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
  padding: var(--sp-xs) var(--sp-sm);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
  justify-content: center;
  z-index: 10;
}

@media (min-width: 1024px) {
  .dh-invoice-actions {
    position: sticky;
    top: var(--header-total-h);
  }
}
/* END: invoice-actions */

.dh-invoice {
  background: transparent;
  padding: var(--sp-md) var(--sp-sm) var(--sp-xl);
}

.dh-invoice,
.dh-invoice * {
  font-family: var(--font-body);
}

.dh-invoice__paper {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #d0d0d0;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
  line-height: 1.5;
}

/* Header bar — dark brand background, avatar left, title right */

.dh-invoice__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 128px;
  padding: 20px 32px;
  background: #A41C42;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.dh-invoice__issuer-block {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.dh-invoice__issuer-avatar {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.dh-invoice__issuer-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.dh-invoice__issuer-name {
  margin: 0;
  width: 88px;
  height: 88px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 50%;
  border: 3px solid #fff;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #A41C42;
}

.dh-invoice__title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  text-align: right;
  line-height: 1.05;
}

/* Company info (left) + invoice meta box (right) */

.dh-invoice__info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 32px 0;
}

.dh-invoice__company-block {
  flex: 1 1 auto;
  min-width: 0;
  padding-bottom: 8px;
}

.dh-invoice__company-name {
  font-weight: 700;
  font-size: 14px;
  color: #1a1a1a;
  line-height: 1.25;
  margin-bottom: 6px;
}

.dh-invoice__company-address {
  font-size: 12px;
  color: #7a7a7a;
  line-height: 1.5;
}

.dh-invoice__meta-box {
  flex: 0 0 260px;
  max-width: 260px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  padding: 14px 16px;
}

.dh-invoice__meta-caption {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: #8a8a8a;
}

.dh-invoice__meta-number {
  font-size: 22px;
  font-weight: 800;
  color: #A41C42;
  font-variant-numeric: tabular-nums;
  margin: 2px 0 10px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.dh-invoice__meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  border-top: 1px solid #e8e8e8;
}

.dh-invoice__meta-label {
  font-size: 12px;
  font-weight: 600;
  color: #6f6f6f;
}

.dh-invoice__meta-value {
  font-size: 12px;
  font-weight: 700;
  color: #1a1a1a;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* Client + details boxes */

.dh-invoice__parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 24px 32px;
}

.dh-invoice__party-box {
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  padding: 16px;
}

.dh-invoice__section-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: #A41C42;
  margin-bottom: 10px;
}

.dh-invoice__client-block,
.dh-invoice__details-block {
  font-size: 12px;
  color: #1a1a1a;
  line-height: 1.55;
}

.dh-invoice__client-name {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.dh-invoice__client-line {
  color: #1a1a1a;
  margin-bottom: 3px;
}

.dh-invoice__details-block p {
  margin: 0 0 4px;
  max-width: none;
}

/* Products table */

.dh-invoice__table-section {
  padding: 0 32px;
  page-break-inside: avoid;
  break-inside: avoid;
}

.dh-invoice__table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #d0d0d0;
  table-layout: fixed;
}

.dh-invoice__table thead th {
  background: #1a1a1a;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 10px 12px;
  border: 0;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.dh-invoice__table thead th:first-child {
  width: 46px;
}

.dh-invoice__table thead th.is-center {
  text-align: center;
}

.dh-invoice__table thead th.is-left {
  text-align: left;
}

.dh-invoice__table thead th.is-right {
  text-align: right;
}

.dh-invoice__table tbody td {
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid #e8e8e8;
  font-size: 12px;
  color: #1a1a1a;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.dh-invoice__table tbody tr:nth-child(odd) {
  background: #fff;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.dh-invoice__table tbody tr:nth-child(even) {
  background: #f9f9f9;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.dh-invoice__table tbody td.is-center {
  text-align: center;
}

.dh-invoice__table tbody td.is-left {
  text-align: left;
}

.dh-invoice__table tbody td.is-right {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

/* Sasia column is emitted by JS as .is-center; spec requires numeric columns right-aligned */
.dh-invoice__table tbody td:nth-child(5) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Notes (left) + totals (right) */

.dh-invoice__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin: 24px 32px 0;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.dh-invoice__bottom-left {
  flex: 1 1 auto;
  min-width: 0;
}

.dh-invoice__notes-label {
  color: #1a1a1a;
}

.dh-invoice__notes-text {
  color: #7a7a7a;
  font-size: 12px;
  line-height: 1.55;
}

.dh-invoice__bottom-right {
  flex: 0 0 280px;
  min-width: 280px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  overflow: hidden;
}

.dh-invoice__totals-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid #e8e8e8;
  color: #6f6f6f;
  font-size: 12px;
}

.dh-invoice__totals-row strong {
  color: #1a1a1a;
  font-variant-numeric: tabular-nums;
}

.dh-invoice__totals-divider {
  display: none;
}

.dh-invoice__total-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 16px;
  background: #A41C42;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.dh-invoice__total-bar strong {
  color: #fff;
  font-variant-numeric: tabular-nums;
}

/* Footer */

.dh-invoice__footer {
  margin: 28px 32px 0;
  padding: 14px 0 24px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 11px;
  color: #8a8a8a;
}

.dh-invoice__footer-left {
  color: #8a8a8a;
}

.dh-invoice__footer-right {
  color: #8a8a8a;
  text-align: right;
}

/* Empty state + admin replies (rendered by JS outside the paper) */

.dh-invoice__empty {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #d0d0d0;
  color: #1a1a1a;
  padding: var(--sp-lg);
  text-align: center;
}

.dh-invoice__replies {
  max-width: 820px;
  margin: var(--sp-md) auto 0;
  background: #fff;
  border: 1px solid #d0d0d0;
  color: #1a1a1a;
  padding: 24px 32px;
}

.dh-invoice__replies h2 {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #1a1a1a;
}

.dh-invoice__reply {
  padding: 12px 0;
  border-bottom: 1px solid #e8e8e8;
  font-size: 12px;
}

.dh-invoice__reply time {
  margin-left: 8px;
  font-size: 11px;
  color: #8a8a8a;
}

.dh-invoice__reply p {
  max-width: none;
  margin-top: 4px;
  color: #555;
  font-size: 12px;
}

@media (max-width: 767px) {
  .dh-invoice__header {
    padding: 16px 18px;
    min-height: 104px;
  }

  .dh-invoice__title {
    font-size: 1.4rem;
  }

  .dh-invoice__issuer-avatar,
  .dh-invoice__issuer-name {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
  }

  .dh-invoice__info {
    flex-direction: column;
    padding: 18px 18px 0;
  }

  .dh-invoice__meta-box {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
  }

  .dh-invoice__parties {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .dh-invoice__table-section {
    padding: 0 18px;
    overflow-x: auto;
  }

  .dh-invoice__table {
    min-width: 560px;
  }

  .dh-invoice__bottom {
    flex-direction: column;
    margin: 18px 18px 0;
  }

  .dh-invoice__bottom-right {
    flex-basis: auto;
    width: 100%;
    min-width: 0;
  }

  .dh-invoice__footer {
    margin: 18px 18px 0;
    padding-bottom: 18px;
    flex-wrap: wrap;
  }
}

@media print {
  body {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: #fff !important;
  }

  .dh-header,
  .dh-footer,
  .dh-mobile-bar,
  .dh-compare-bar,
  .dh-toast,
  .quick-modal,
  .dh-invoice-actions,
  .dh-nav {
    display: none !important;
  }

  .dh-invoice {
    padding: 0;
  }

  .dh-invoice__paper {
    max-width: none;
    margin: 0;
    border: 0;
    box-shadow: none !important;
  }

  .dh-invoice__issuer-avatar,
  .dh-invoice__issuer-name {
    box-shadow: none !important;
  }

  .dh-invoice__header,
  .dh-invoice__table thead th,
  .dh-invoice__table tbody tr:nth-child(odd),
  .dh-invoice__table tbody tr:nth-child(even),
  .dh-invoice__total-bar {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  @page {
    size: A4;
    margin: 15mm;
  }
}

/* ── ADMIN ── */

.dh-admin-login-page {
  background: var(--clr-bg);
  min-height: 100vh;
}

.dh-admin-login {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-lg) var(--sp-md);
}

.dh-admin-login__logo {
  margin-bottom: var(--sp-lg);
  line-height: 0;
}

.dh-admin-login__card {
  width: 100%;
  max-width: 420px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: var(--sp-lg);
}

.dh-admin-login__card h1 {
  font-size: var(--fs-h2);
  margin-bottom: var(--sp-xs);
}

.dh-admin-login__lead {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-md);
  max-width: none;
}

.dh-admin-login__submit {
  width: 100%;
  justify-content: center;
  margin-top: var(--sp-sm);
}

.dh-admin-login__error {
  margin-top: var(--sp-sm);
  font-size: var(--fs-sm);
  color: var(--clr-accent);
  min-height: 1.25rem;
}

.dh-admin-login__note {
  margin-top: var(--sp-md);
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  max-width: none;
}

.dh-admin-login__copyright {
  margin-top: var(--sp-lg);
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
}

.dh-admin-login-success {
  margin-bottom: var(--sp-sm);
  padding: var(--sp-xs) var(--sp-sm);
  border: 1px solid #25D366;
  background: rgba(37, 211, 102, 0.1);
  color: #4CAF50;
  font-size: var(--fs-sm);
}

.dh-admin-login-success a {
  color: var(--clr-accent);
}

.dh-admin-shell {
  padding: 0;
}

.dh-admin-page {
  min-height: calc(100vh - var(--header-total-h));
  display: grid;
  grid-template-columns: 220px 1fr;
}

.dh-admin-sidebar {
  background: var(--clr-surface);
  border-right: 1px solid var(--clr-border);
  padding: var(--sp-md);
  position: sticky;
  top: var(--header-total-h);
  height: calc(100vh - var(--header-total-h));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.dh-admin-sidebar__logo {
  display: block;
  margin-bottom: var(--sp-md);
  line-height: 0;
}

.dh-admin-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.dh-admin-nav__item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  padding: var(--sp-xs);
  padding-left: var(--sp-xs);
  cursor: pointer;
  border-left: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.dh-admin-nav__item:hover {
  color: var(--clr-text);
}

.dh-admin-nav__item.is-active {
  color: var(--clr-text);
  border-left-color: var(--clr-accent);
}

.dh-admin-nav__item--danger:hover {
  color: var(--clr-accent);
}

.dh-admin-sidebar__footer {
  margin-top: var(--sp-md);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--clr-border);
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}

.dh-admin-nav__link {
  width: 100%;
  justify-content: center;
}

.dh-admin-content {
  padding: var(--sp-lg);
  min-width: 0;
}

.dh-admin-content .admin-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-md);
  margin-bottom: var(--sp-md);
  flex-wrap: wrap;
}

.dh-admin-content .admin-section-head h2 {
  font-size: var(--fs-h2);
  margin-bottom: 0.25rem;
}

.dh-admin-content .admin-section-head p,
.dh-admin-content .muted {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
  max-width: none;
}

.dh-admin-content .admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--sp-sm);
  margin-bottom: var(--sp-md);
}

.dh-admin-content .dashboard-box {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: var(--sp-sm);
}

.dh-admin-content .dashboard-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--clr-text);
}

.dh-admin-content .dashboard-box span {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
}

.dh-admin-content .admin-two-col,
.dh-admin-content .admin-db-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
  margin-bottom: var(--sp-md);
}

.dh-admin-content .admin-mini-panel {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: var(--sp-md);
}

.dh-admin-content .admin-mini-panel h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--sp-sm);
}

.dh-admin-content .admin-mini-row {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-sm);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--clr-border);
  font-size: var(--fs-sm);
}

.dh-admin-content .admin-connect-note {
  padding: var(--sp-sm);
  border: 1px solid var(--clr-border);
  background: var(--clr-surface-2);
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}

.dh-admin-content .admin-toolbar {
  display: flex;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-md);
  flex-wrap: wrap;
}

.dh-admin-content .admin-toolbar input {
  flex: 1;
  min-width: 200px;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  padding: 0.5rem 1rem;
  font-size: var(--fs-sm);
  border-radius: 2px;
}

.dh-admin-content .admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--clr-border);
}

.dh-admin-content .admin-table {
  width: 100%;
  border-collapse: collapse;
}

.dh-admin-content .admin-table th {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: var(--fs-sm);
  text-align: left;
  padding: var(--sp-xs) var(--sp-sm);
  border-bottom: 2px solid var(--clr-accent);
  color: var(--clr-text-muted);
  background: var(--clr-surface-2);
  cursor: pointer;
  white-space: nowrap;
}

.dh-admin-content .admin-table td {
  padding: var(--sp-xs) var(--sp-sm);
  font-size: var(--fs-sm);
  border-bottom: 1px solid var(--clr-border);
  vertical-align: middle;
}

.dh-admin-content .admin-table tr:nth-child(even) td {
  background: var(--clr-surface);
}

.dh-admin-content .admin-table small {
  display: block;
  color: var(--clr-text-muted);
  font-size: var(--fs-xs);
  margin-top: 2px;
}

.dh-admin-content .admin-actions-cell {
  vertical-align: middle;
  white-space: normal;
}

.dh-admin-content .admin-actions-cell .small-btn,
.dh-admin-content .admin-actions-cell .ghost-btn,
.dh-admin-content .admin-actions-cell .remove-btn {
  display: inline-flex;
  vertical-align: middle;
  margin: 0.15rem 0.35rem 0.15rem 0;
}

.dh-admin-content .small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  background: var(--clr-accent);
  color: var(--clr-text-inv);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  border-radius: 2px;
  text-decoration: none;
}

.dh-admin-content .small-btn:hover {
  background: var(--clr-accent-h);
}

.dh-admin-content .ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  background: transparent;
  color: var(--clr-text);
  border: 1px solid var(--clr-border);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  border-radius: 2px;
  text-decoration: none;
}

.dh-admin-content .ghost-btn:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  background: transparent;
}

.dh-admin-content .remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  background: transparent;
  color: var(--clr-text-muted);
  border: 1px solid var(--clr-border);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  border-radius: 2px;
}

.dh-admin-content .remove-btn:hover {
  border-color: #c62828;
  color: #c62828;
  background: rgba(198, 40, 40, 0.08);
}

.dh-admin-content .admin-form {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: var(--sp-md);
  margin-bottom: var(--sp-md);
}

.dh-admin-content .admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-sm);
}

.dh-admin-content .admin-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
}

.dh-admin-content .admin-form-grid input,
.dh-admin-content .admin-form-grid textarea,
.dh-admin-content .admin-form-grid select,
.dh-admin-content #admin-db-json {
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  padding: 0.5rem 0.75rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  border-radius: 2px;
}

.dh-admin-content .admin-span-2 {
  grid-column: span 2;
}

.dh-admin-content .admin-form-actions {
  display: flex;
  gap: var(--sp-xs);
  flex-wrap: wrap;
  margin-top: var(--sp-sm);
}

.dh-admin-content #admin-db-json {
  width: 100%;
  min-height: 280px;
  font-family: monospace;
  margin-bottom: var(--sp-sm);
}

@media (max-width: 1023px) {
  .dh-admin-page {
    grid-template-columns: 1fr;
  }

  .dh-admin-sidebar {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--clr-border);
  }

  .dh-admin-sidebar__nav {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .dh-admin-sidebar__nav::-webkit-scrollbar {
    display: none;
  }

  .dh-admin-nav__item {
    white-space: nowrap;
    border-left: none;
    border-bottom: 2px solid transparent;
    flex-shrink: 0;
  }

  .dh-admin-nav__item.is-active {
    border-left-color: transparent;
    border-bottom-color: var(--clr-accent);
  }

  .dh-admin-content .admin-two-col,
  .dh-admin-content .admin-db-grid,
  .dh-admin-content .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .dh-admin-content .admin-span-2 {
    grid-column: span 1;
  }
}

/* ── FINAL POLISH: MOBILE + A11Y + PRINT ── */

@media (max-width: 767px) {
  .dh-hero__heading {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .dh-preventiv-layout,
  .dh-product-layout,
  .dh-account-layout {
    grid-template-columns: 1fr;
  }

  .dh-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-xs);
  }

  .dh-card__title {
    font-size: var(--fs-sm);
  }

  .dh-card__footer {
    flex-wrap: wrap;
  }

  .dh-card__footer .dh-btn {
    flex: 1 1 auto;
    min-width: 0;
    padding-inline: 0.5rem;
    font-size: var(--fs-xs);
  }

  .dh-products-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .dh-products-search {
    width: 100%;
  }

  .dh-cat-chips {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .dh-cat-chips::-webkit-scrollbar {
    display: none;
  }

  /* START: invoice-actions-mobile */
  .dh-invoice-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-xs);
    padding: var(--sp-sm) var(--sp-sm) 0;
    border-bottom: 0;
  }

  .dh-invoice-actions .dh-btn,
  .dh-invoice-actions a {
    width: 100%;
    min-width: 0;
    padding-inline: var(--sp-xs);
    justify-content: center;
    text-align: center;
    font-size: var(--fs-sm);
    white-space: nowrap;
  }

  .dh-invoice-actions .dh-invoice-actions__save-image {
    grid-column: 1 / -1;
    font-size: var(--fs-base);
    white-space: normal;
  }
  /* END: invoice-actions-mobile */

  .dh-product-ctas {
    flex-direction: column;
  }

  .dh-product-ctas .dh-btn {
    width: 100%;
    justify-content: center;
  }

  .dh-engineer-banner .dh-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-sm);
  }

  .dh-engineer-banner .dh-btn {
    width: 100%;
    justify-content: center;
  }

  .dh-dashboard:not([hidden]) {
    grid-template-columns: minmax(0, 1fr);
  }

  input,
  select,
  textarea,
  .dh-header__search-input,
  .dh-modal__input,
  .dh-footer__email-input,
  .dh-price-input,
  .dh-cart-qty,
  .dh-qty-input,
  .dh-sort-select {
    font-size: 16px;
  }
}

@media (max-width: 639px) {
  .dh-teasers__grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .dh-mobile-bar {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .dh-mega,
  .dh-mega.is-open {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .dh-filters {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1200;
    width: 100%;
    max-height: none;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    align-self: auto;
  }

  .dh-filters.is-open {
    transform: none;
  }
}

.dh-newsletter-confirmation {
  margin-top: var(--sp-xs);
  font-size: var(--fs-sm);
  color: #4CAF50;
  max-width: none;
}

:where(
  a,
  button,
  input,
  select,
  textarea,
  summary,
  [tabindex]:not([tabindex="-1"])
):focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .dh-animate {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .dh-animate.is-visible {
    opacity: 1;
    transform: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  body {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: #fff !important;
    color: #000 !important;
  }

  .dh-header,
  .dh-nav,
  .dh-footer,
  .dh-mobile-bar,
  .dh-invoice-actions,
  .dh-mega,
  .dh-drawer,
  .dh-overlay {
    display: none !important;
  }

  button,
  .dh-btn {
    display: none !important;
  }

  .dh-invoice {
    display: block !important;
    max-width: none;
    margin: 0;
    padding: 0;
    background: #fff !important;
    border: none !important;
  }

  @page {
    size: A4;
    margin: 15mm;
  }
}

