/* deklaiplius.lt header, footer and home page (design 2026-11, task #16347) */
.dk {
  color-scheme: light;
  --ink: #19171a;
  --muted: #56515a;
  --red: #bd0d32;
  --red-hover: #9c0a2a;
  --red-light: #ffc2ce;
  --line: #e5e1e4;
  --surface: #f6f4f5;
  --hero: #211c21;
  --page-gutter: 32px;
  --gutter-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
  --gutter-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
  --wrap: min(1320px, calc(100% - var(--gutter-left) - var(--gutter-right)));
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 100%;
}
.dk, .dk * { box-sizing: border-box; }
.dk { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.dk .wrap > *, .dk .hero > *, .dk .category > *, .dk .product-info, .dk .footer-main > * { min-width: 0; }
.dk .hero-title, .dk h2, .dk .category-name, .dk .product-model, .dk .product-name, .dk .footer-list a, .dk .footer-copyright {
  overflow-wrap: anywhere;
}
.dk { margin: 0; background: #fff; color: var(--ink); font-size: 1rem; line-height: 1.5; }
.dk a { color: inherit; text-decoration: none; }
.dk input, .dk button { color: inherit; font: inherit; }
.dk button { cursor: pointer; }
.dk img { display: block; max-width: 100%; }
.dk .hero-title, .dk h2, .dk p { margin: 0; }
.dk [hidden] { display: none !important; }
.dk :focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.dk .wrap { width: var(--wrap); margin-inline: auto; }
.dk .skip { position: absolute; top: -80px; left: 16px; z-index: 10; padding: 12px 16px; background: #fff; }
.dk .skip:focus { top: 8px; }
.dk .icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dk .utility { color: #fff; background: #211d22; font-size: .875rem; font-weight: 600; }
.dk .utility .wrap, .dk .utility-items, .dk .location, .dk .phone-link {
  display: flex;
  align-items: center;
}
.dk .utility .wrap { justify-content: space-between; gap: 18px; min-height: 42px; }
.dk .utility-items { gap: 26px; }
.dk .location, .dk .phone-link { gap: 8px; }
.dk .location .icon { color: #ff8fa9; }
.dk .utility .icon { width: 17px; height: 17px; }
.dk .utility a:hover { color: var(--red-light); }
.dk .header-main {
  display: grid;
  grid-template-columns: minmax(215px, 1fr) minmax(245px, 550px) minmax(215px, 1fr);
  align-items: center;
  gap: 30px;
  min-height: 92px;
}
.dk .brand { display: block; width: 225px; max-width: 100%; }
.dk .brand img { width: 100%; height: auto; }
.dk .site-search {
  display: flex;
  align-items: center;
  height: 52px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.dk .site-search:focus-within { border-color: var(--red); box-shadow: 0 0 0 2px #bd0d321c; }
.dk .site-search input { flex: 1; min-width: 0; padding: 0 16px; border: 0; outline: 0; background: none; }
.dk .site-search input::placeholder { color: var(--muted); opacity: 1; }
.dk .site-search button { display: grid; place-items: center; height: 100%; width: 53px; flex: 0 0 53px; border: 0; background: none; }
.dk .header-actions { display: flex; justify-content: flex-end; gap: 12px; }
.dk .header-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 5px;
  font-size: .9375rem;
  font-weight: 650;
  white-space: nowrap;
}
.dk .header-actions a:hover, .dk .menu-nav a:hover { color: var(--red); }
.dk .menu-nav { border-block: 1px solid var(--line); }
.dk .nav-row { display: flex; flex-wrap: wrap; align-items: center; column-gap: clamp(16px, 2.35vw, 37px); min-height: 55px; row-gap: 0; }
.dk .nav-row .nav-top { display: inline-flex; align-items: center; min-height: 48px; font-size: .975rem; font-weight: 650; white-space: nowrap; }
.dk .nav-mobile-bar { display: none; }
.dk .menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 6px;
  border: 0;
  background: none;
  font-weight: 700;
}
.dk .menu-toggle .menu-chevron { margin-left: 2px; width: 15px; height: 15px; }
.dk .menu-toggle[aria-expanded="true"] .menu-chevron { transform: rotate(180deg); }
.dk .masthead { margin-top: 24px; }
.dk .hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(0, 42%);
  border-radius: 26px;
  background: var(--hero);
  color: #fff;
}
.dk .hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  min-width: 0;
  padding: 43px clamp(28px, 3.2vw, 48px) 38px clamp(30px, 4.2vw, 60px);
}
.dk .hero-title {
  font-size: clamp(2.75rem, 4.7vw, 4.6rem);
  font-weight: 760;
  letter-spacing: -.055em;
  line-height: 1.02;
}
.dk .finder { max-width: 630px; margin-top: 26px; }
.dk .finder-label { display: block; margin-bottom: 8px; font-size: 1rem; font-weight: 670; }
.dk .finder-row { display: flex; gap: 10px; }
.dk .hero :focus-visible { outline-color: #ff9db3; }
.dk .primary {
  min-height: 60px;
  padding: 0 22px;
  border: 0;
  border-radius: 11px;
  background: var(--red);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 720;
  white-space: nowrap;
}
.dk .primary:hover { background: var(--red-hover); }
.dk .model-help, .dk .scope-label button {
  min-height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: #f0dce1;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: .9375rem;
}
.dk .model-help { margin-top: 3px; }
.dk .model-help:hover, .dk .scope-label button:hover { color: #fff; }
.dk .finder-message, .dk .scope-label { margin-top: 9px; color: var(--red-light); font-size: .9375rem; }
.dk .scope-label button { padding-inline: 6px; }
.dk .hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 32px 0;
  isolation: isolate;
  overflow: hidden;
  border-radius: 0 26px 26px 0;
  background: radial-gradient(ellipse at 54% 48%, #fff0ec 5%, #f5cbd1 100%);
}
.dk .hero-art::before, .dk .hero-art::after {
  position: absolute;
  width: 73%;
  aspect-ratio: 1;
  border: 1px solid #fff9;
  border-radius: 50%;
  content: "";
}
.dk .hero-art::after { width: 93%; }
.dk .hero-art img {
  position: relative;
  z-index: 1;
  width: min(70%, 330px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: rotate(-11deg);
}
.dk .section { margin-top: 48px; }
.dk .section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.dk h2 { font-size: clamp(1.8rem, 3.1vw, 2.55rem); font-weight: 750; line-height: 1.12; letter-spacing: -.045em; }
.dk .subtle-link { color: var(--red); font-weight: 700; font-size: 1rem; }
.dk .subtle-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.dk .categories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dk .category {
  display: grid;
  grid-column: auto;
  grid-template-columns: minmax(0, 1fr) minmax(86px, 42%);
  align-items: center;
  min-height: 128px;
  padding: 13px 12px 13px 19px;
  border: 1px solid #e9e4e8;
  border-radius: 15px;
  background: #f6f4f5;
}
.dk .category:nth-child(3n+2) { background: #f9f1f2; }
.dk .category:hover { border-color: #bd0d3270; }
.dk .category-image { display: grid; grid-column: 2; grid-row: 1; place-items: center; min-width: 0; height: 100px; }
.dk .category-image img { width: 105px; height: 100px; object-fit: contain; mix-blend-mode: multiply; }
.dk .category-name {
  display: flex;
  grid-column: 1;
  grid-row: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  font-weight: 710;
  line-height: 1.2;
}
.dk .arrow {
  position: relative;
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-inline: 3px 2px;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
  color: var(--red);
  vertical-align: .11em;
}
.dk .arrow::before {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  content: "";
  transform: rotate(-45deg);
  transform-origin: right;
}
.dk .products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.dk .product { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; }
.dk .product:hover { border-color: #bd0d3270; }
.dk .product-image { display: grid; place-items: center; height: clamp(170px, 17vw, 234px); background: var(--surface); }
.dk .product-image img { width: 84%; height: 87%; object-fit: contain; mix-blend-mode: multiply; }
.dk .product-info { display: flex; flex: 1; flex-direction: column; padding: 16px 17px 19px; }
.dk .product-model { margin-bottom: 5px; color: var(--muted); font-size: .9375rem; }
.dk .product-name { font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.dk .product-bottom { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 14px; }
.dk .price { font-size: 1.28rem; font-weight: 750; white-space: nowrap; }
.dk .product-bottom .subtle-link { font-size: .9375rem; }
.dk .support {
  display: grid;
  grid-template-columns: 1fr max-content;
  align-items: center;
  gap: 18px;
  margin-top: 48px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}
.dk .support h2 { font-size: 1.6rem; letter-spacing: -.032em; }
.dk .support p { margin-top: 5px; color: var(--muted); }
.dk .support a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding-inline: 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  font-size: 1rem;
  font-weight: 700;
}
.dk .support a:hover { border-color: var(--red); color: var(--red); }
.dk .footer { margin-top: 48px; border-top: 1px solid var(--line); background: #faf8f9; }
.dk .footer-main {
  display: grid;
  grid-template-columns: minmax(290px, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  padding-block: 36px 30px;
}
.dk .footer-heading { margin: 0 0 12px; font-size: 1.125rem; font-weight: 750; line-height: 1.3; }
.dk .footer-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.dk .footer-list a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding-block: 4px;
  color: var(--muted);
}
.dk .footer a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.dk .footer-facebook iframe {
  display: block;
  width: min(300px, 100%);
  height: 240px;
  margin-bottom: 8px;
  border: 0;
  border-radius: 10px;
}
.dk .footer-facebook a { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; color: var(--red); font-weight: 650; }
.dk .footer-bottom { border-top: 1px solid var(--line); }
.dk .footer-bottom .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-block: 18px;
}
.dk .footer-brand img { width: 158px; height: auto; }
.dk .footer-contact { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: .9375rem; }
.dk .footer-copyright { color: var(--muted); font-size: .9375rem; }
.dk dialog { max-height: calc(100dvh - 32px); overflow-y: auto; width: min(480px, calc(100% - 32px)); padding: 25px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); }
.dk dialog::backdrop { background: #211c21a6; }
.dk dialog h2 { margin-bottom: 14px; font-size: 1.6rem; }
.dk dialog p { margin-block: 9px; }
.dk dialog form { margin-top: 18px; }
.dk dialog .primary { min-height: 50px; }
@media (max-width: 1120px) {
.dk { --page-gutter: 24px; }
.dk .header-main {
    grid-template-columns: minmax(177px, 1fr) minmax(230px, 480px) auto;
    gap: 22px;
  }
.dk .brand { width: 205px; }
.dk .header-actions a { justify-content: center; min-width: 44px; }
.dk .header-actions a > span:not(.cart-icon) { display: none; }
.dk .nav-row { column-gap: 24px; }
.dk .category { padding-left: 15px; }
}
@media (max-width: 960px) {
.dk .nav-mobile-bar { display: flex; align-items: center; }
.dk .nav-row { display: none; padding-block: 0 12px; }
.dk .menu-nav[data-open="true"] .nav-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 16px;
  }
.dk .nav-row .nav-top {
    padding: 10px 12px;
    border-radius: 8px;
    white-space: normal;
    line-height: 1.3;
  }
.dk .nav-row .nav-top:hover { background: var(--surface); }
.dk .hero { grid-template-columns: minmax(0, 60%) minmax(0, 40%); }
.dk .hero-content { padding: 30px 26px; }
.dk .hero-title { font-size: clamp(2.1rem, 4.7vw, 3rem); }
.dk .finder-row { flex-direction: column; }
.dk .finder-row .primary { min-height: 54px; white-space: normal; }
.dk .categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dk .category {
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: 104px 1fr;
    min-height: 167px;
    padding: 10px 14px 12px;
  }
.dk .category-image { grid-column: 1; grid-row: 1; height: 100px; }
.dk .category-image img { height: 100px; }
.dk .category-name {
    grid-column: 1;
    grid-row: 2;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 1.0625rem;
  }
.dk .category-name .arrow { flex: 0 0 9px; }
.dk .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dk .product-image { height: 205px; }
.dk .footer-main { grid-template-columns: minmax(260px, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 720px) {
.dk .header-main {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding-block: 14px 12px;
    min-height: auto;
  }
.dk .brand { width: 205px; }
.dk .header-actions { grid-column: 2; grid-row: 1; gap: 4px; }
.dk .site-search { grid-column: 1 / -1; grid-row: 2; }
.dk .utility .wrap { gap: 10px; padding-block: 6px; }
.dk .utility-items { min-width: 0; }
.dk .utility-items > a:not(:first-child) { display: none; }
.dk .location { line-height: 1.3; }
.dk .phone-link { flex-shrink: 0; white-space: nowrap; }
.dk .hero { display: block; }
.dk .hero-content { padding: 28px; }
.dk .hero-art { display: none; }
.dk .hero-title { font-size: clamp(2rem, 6.1vw, 2.75rem); }
.dk .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.dk .footer-facebook { grid-column: 1 / -1; }
.dk .footer-facebook iframe { display: none; }
.dk .footer-list a { min-height: 44px; }
.dk .support { padding: 22px; }
.dk .support h2 { font-size: 1.4rem; }
}
@media (max-width: 640px) {
.dk { --page-gutter: 16px; }
.dk .utility .wrap { font-size: .8125rem; }
.dk .brand { width: min(200px, 100%); }
.dk .site-search { height: 49px; }
.dk .masthead { margin-top: 16px; }
.dk .hero { border-radius: 18px; }
.dk .hero-content { padding: 24px 20px 18px; }
.dk .hero-title { font-size: clamp(2rem, 8.4vw, 3rem); letter-spacing: -.045em; }
.dk .finder-label { margin-bottom: 7px; }
.dk .finder-row { gap: 8px; }
.dk .finder-row .primary { padding-inline: 12px; font-size: 1rem; }
.dk .model-help { min-height: 44px; }
.dk .section { margin-top: 32px; }
.dk .section-title { flex-wrap: wrap; gap: 7px; margin-bottom: 13px; }
.dk .section-title .subtle-link { font-size: .9375rem; }
.dk .categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dk .category {
    grid-template-rows: 84px 1fr;
    min-height: 143px;
    padding: 8px 11px 9px;
  }
.dk .category-image, .dk .category-image img { height: 82px; }
.dk .category-name { font-size: 1rem; }
.dk .products { gap: 10px; }
.dk .product-image { height: clamp(124px, 37vw, 200px); }
.dk .product-info { padding: 12px 11px 14px; }
.dk .product-model { font-size: .875rem; }
.dk .product-name { font-size: 1rem; }
.dk .support {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    gap: 12px;
    margin-top: 32px;
    padding: 19px;
  }
.dk .support h2 { font-size: 1.3rem; }
.dk .footer { margin-top: 32px; }
.dk .footer-main { gap: 20px 16px; padding-block: 24px 22px; }
.dk .footer-list a { overflow-wrap: anywhere; }
.dk .footer-bottom .wrap { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 360px) {
.dk { --page-gutter: 12px; }
.dk .utility .wrap { gap: 8px; }
.dk .hero-content { padding-inline: 16px; }
.dk .menu-nav[data-open="true"] .nav-row { grid-template-columns: minmax(0, 1fr); }
.dk .category { padding-inline: 9px; }
.dk .product-info { padding-inline: 10px; }
.dk .footer-main { grid-template-columns: minmax(0, 1fr); gap: 22px; }
.dk .footer-facebook { grid-column: auto; }
}
.dk .hero-accent { color: var(--red-light); }
.dk .model-picker {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 60px;
  padding: 13px 16px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: #fff;
  color: #5d5460;
  text-align: left;
  font-size: 1.0625rem;
  line-height: 1.35;
}
.dk .model-picker:hover { border-color: #f99bb0; }
.dk .model-picker.has-selection { color: var(--ink); font-weight: 650; }
.dk .model-picker-value { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.dk .model-picker-chevron { width: 17px; height: 17px; color: var(--red); }
.dk .model-picker[aria-expanded="true"] .model-picker-chevron { transform: rotate(180deg); }
html.device-drawer-open, html.device-drawer-open body { overflow: hidden; }
.dk dialog.device-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(520px, 100%);
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0 20px 20px 0;
  background: #fff;
  color: var(--ink);
  box-shadow: 12px 0 50px #211c2130;
}
.dk .device-drawer::backdrop { background: #211c2185; }
.dk .device-drawer-layout { display: grid; grid-template-rows: auto auto minmax(0, 1fr); height: 100%; }
.dk .device-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: max(18px, env(safe-area-inset-top, 0px)) 22px 16px;
  border-bottom: 1px solid var(--line);
}
.dk .device-drawer-header h2 { margin: 0; font-size: 1.55rem; line-height: 1.2; letter-spacing: -.035em; outline: none; }
.dk .device-close, .dk .device-search-clear {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.dk .device-close:hover { color: var(--red); background: #fcf0f3; }
.dk .device-drawer-toolbar { padding: 18px 22px 12px; border-bottom: 1px solid var(--line); }
.dk .device-types { display: flex; gap: 4px; margin-bottom: 12px; padding: 4px; border-radius: 11px; background: var(--surface); }
.dk .device-types[hidden] { display: none; }
.dk .device-types button {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  padding: 6px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: .9375rem;
  font-weight: 650;
  cursor: pointer;
}
.dk .device-types button:hover { color: var(--ink); }
.dk .device-types button[aria-selected="true"] { background: #fff; color: var(--red); box-shadow: 0 1px 3px #19171a1f; }
.dk .device-types.is-searching button[aria-selected="true"] { color: var(--muted); box-shadow: none; background: transparent; }
.dk .device-types button:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; }
.dk .device-brand-type { margin-left: 6px; color: var(--muted); font-weight: 500; }
.dk .device-search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 52px;
  padding: 0 5px 0 14px;
  border: 1px solid #ddd5dc;
  border-radius: 11px;
  background: var(--surface);
}
.dk .device-search-field:focus-within { border-color: var(--red); box-shadow: 0 0 0 2px #bd0d321c; }
.dk .device-search-field > .icon { width: 20px; height: 20px; color: #655966; }
.dk .device-search-field input {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 50px;
  padding: 0;
  border: 0;
  outline: 0;
  background: none;
  font-size: 1rem;
}
.dk .device-search-field input::placeholder { color: #68606b; opacity: 1; }
.dk #device-search::-webkit-search-cancel-button { -webkit-appearance: none; }
.dk .device-search-clear { width: 40px; height: 40px; border: 0; background: transparent; }
.dk .device-drawer-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 14px; margin-top: 10px; }
.dk .device-drawer-status { color: var(--muted); font-size: .875rem; }
.dk .device-reset {
  min-height: 36px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: .875rem;
  font-weight: 650;
}
.dk .device-groups {
  min-height: 0;
  padding: 0 22px max(22px, env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.dk .device-brand { border-bottom: 1px solid var(--line); }
.dk .device-brand > summary {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 59px;
  padding: 12px 3px;
  list-style: none;
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 750;
}
.dk .device-brand > summary::-webkit-details-marker { display: none; }
.dk .device-brand > summary::marker { content: ""; }
.dk .device-brand-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.dk .device-brand-count { color: #736775; font-size: .875rem; font-weight: 500; }
.dk .device-brand > summary > .icon { width: 18px; height: 18px; color: #685c69; }
.dk .device-brand[open] > summary > .icon { transform: rotate(180deg); }
.dk .device-brand:has(.device-model[aria-pressed="true"]) > summary .device-brand-name { color: var(--red); }
.dk .device-model-list { margin: 0; padding: 0 0 10px; list-style: none; }
.dk .device-model {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  font-size: 1rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.dk .device-model:hover { background: var(--surface); border-color: var(--line); }
.dk .device-model[aria-pressed="true"] { background: #fcecf1; color: var(--red); font-weight: 700; }
.dk .device-model .icon { width: 19px; height: 19px; color: var(--red); }
.dk .device-all-link { display: inline-flex; min-height: 48px; align-items: center; gap: 10px; padding: 11px 12px; color: var(--red); font-weight: 650; }
.dk .device-empty { padding: 28px 3px; }
.dk .device-empty h3 { margin: 0 0 8px; font-size: 1.125rem; }
.dk .device-empty p { margin-bottom: 16px; color: var(--muted); }
.dk .device-empty button { min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); font-weight: 650; }
@media (max-width: 640px) {
.dk .model-picker { min-height: 54px; padding: 12px 13px; gap: 9px; font-size: 1rem; }
}
@media (max-width: 520px) {
.dk dialog.device-drawer { width: 100%; border: 0; border-radius: 0; }
.dk .device-drawer-header { padding-inline: 16px; }
.dk .device-drawer-toolbar { padding: 14px 16px 10px; }
.dk .device-groups { padding-inline: 16px; }
.dk .device-drawer-header h2 { font-size: 1.35rem; }
}


/* ---- OpenCart / Journal2 integration ---- */
.dk-site-header { position: relative; z-index: 20; }
.dk .dk-header { background: #fff; border-bottom: 1px solid var(--line); }
.dk-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dk .header-actions .cart-icon { position: relative; display: inline-flex; }
.dk .header-actions .cart-count {
  position: absolute; top: -7px; right: -9px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--red); color: #fff;
  font-size: .6875rem; font-weight: 700; line-height: 18px; text-align: center;
}
.dk .nav-row .nav-top[aria-current="page"] { color: var(--red); }
.dk .price-old { margin-right: 6px; color: var(--muted); font-weight: 500; text-decoration: line-through; }

/* Journal2 base styles reach into the new blocks: reset the ones that do */
.dk input[type="search"], .dk input[type="text"] { height: auto; margin: 0; box-shadow: none; border-radius: 0; }
.dk .site-search input { height: 100%; }
.dk button { height: auto; margin: 0; text-transform: none; letter-spacing: normal; box-shadow: none; }
.dk ul { margin: 0; padding: 0; list-style: none; }
.dk h2 { text-transform: none; }

/* Home page: let the new layout use the full width instead of Journal's boxed container */
.route-common-home #container, .route-common-home .extended-container { max-width: none; width: 100%; padding: 0; background: none; }
.route-common-home #content.dk-home { float: none; width: 100%; margin: 0; padding: 0 0 56px; }

/* Site-wide footer sits outside Journal's boxed container */
footer.dk.footer { margin-top: 48px; }
html.route-common-home body, html.route-common-home .extended-container { background: #fff; }
html.route-common-home .extended-container, html.route-common-home #container { margin-top: 0; }

/* ---- Header menu dropdowns (level 2 in the page, level 3 loaded from common/home/menu) ---- */
.dk .menu-nav { position: relative; }
.dk .nav-item { display: flex; align-items: center; }
.dk .nav-expand { display: none; }
.dk .nav-sub .nav-all { display: none; }
.dk .nav-panel {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 30;
  visibility: hidden; opacity: 0;
  border-top: 2px solid var(--red); border-bottom: 1px solid var(--line);
  background: #fff; box-shadow: 0 18px 32px #19171a1f;
  transition: opacity .12s ease, visibility 0s linear .12s;
}
.dk .nav-item.has-panel:hover > .nav-panel,
.dk .nav-item.has-panel:focus-within > .nav-panel,
.dk .nav-item.is-open > .nav-panel {
  visibility: visible; opacity: 1;
  transition: opacity .12s ease .08s, visibility 0s linear .08s;
}
.dk .nav-item.is-closed > .nav-panel { visibility: hidden; opacity: 0; }
.dk .nav-panel-inner { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: 28px; padding-block: 20px 24px; }
.dk .nav-sub { max-height: min(460px, 62vh); overflow-y: auto; padding-right: 8px; border-right: 1px solid var(--line); }
.dk .nav-sub a {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 7px 10px; border-radius: 8px; font-size: .92rem; font-weight: 600; line-height: 1.3;
}
.dk .nav-sub a:hover, .dk .nav-sub a.is-active { background: var(--surface); color: var(--red); }
.dk .nav-count { flex: none; min-width: 26px; padding: 1px 7px; border-radius: 10px; background: var(--surface); color: var(--muted); font-size: .75rem; font-weight: 600; text-align: center; }
.dk .nav-sub a.is-active .nav-count { background: #fff; }
.dk .nav-third { max-height: min(460px, 62vh); overflow-y: auto; }
.dk .nav-third-title { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0 0 10px; font-size: 1.05rem; font-weight: 750; }
.dk .nav-third-title a { color: var(--red); font-size: .875rem; font-weight: 650; white-space: nowrap; }
.dk .nav-third ul { columns: 4 170px; column-gap: 24px; }
.dk .nav-third li { break-inside: avoid; }
.dk .nav-third li a { display: block; padding: 4px 0; color: var(--muted); font-size: .875rem; line-height: 1.35; }
.dk .nav-third li a:hover { color: var(--red); }
.dk .nav-third-empty { color: var(--muted); font-size: .9rem; }

@media (max-width: 960px) {
  .dk .menu-nav[data-open="true"] .nav-row { display: block; }
  .dk .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .dk .nav-item .nav-top { flex: 1; }
  .dk .nav-expand {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 0; border-radius: 8px; background: none;
  }
  .dk .nav-expand[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .dk .nav-panel, .dk .nav-item.has-panel:hover > .nav-panel, .dk .nav-item.has-panel:focus-within > .nav-panel {
    position: static; display: none; flex-basis: 100%;
    visibility: visible; opacity: 1; border: 0; box-shadow: none; transition: none;
  }
  /* must beat the :hover / :focus-within rule above, which a tap also triggers */
  .dk .nav-row .nav-item.has-panel.is-open > .nav-panel { display: block; }
  .dk .nav-sub .nav-all a { color: var(--red); }
  .dk .nav-panel-inner { display: block; width: auto; padding: 0 0 10px 12px; }
  .dk .nav-sub { max-height: none; overflow: visible; border: 0; padding: 0; }
  .dk .nav-third { display: none; }
  .dk .nav-sub .nav-all { display: block; }
}

/* Drawer: no focus ring after a mouse/touch click (Chrome treats a clicked <summary> as :focus-visible); keyboard keeps it */
.dk .device-groups[data-pointer] :focus-visible { outline: none; }
.dk .device-brand > summary:focus-visible { outline-offset: -3px; border-radius: 8px; }

/* ---- Model finder loading states ---- */
@keyframes dk-spin { to { transform: rotate(360deg); } }
@keyframes dk-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.dk .dk-spinner {
  display: inline-block; width: 22px; height: 22px; flex: none;
  border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: dk-spin .7s linear infinite;
}
.dk .device-skeleton { display: grid; gap: 10px; padding: 14px 4px; }
.dk .device-skeleton span { height: 46px; border-radius: 10px; background: var(--surface); animation: dk-pulse 1.2s ease-in-out infinite; }
.dk .device-skeleton span:nth-child(2n) { animation-delay: .15s; }
.dk .device-drawer-layout { position: relative; }
.dk .device-loading {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 24px; background: #ffffffe6; color: var(--red); text-align: center;
}
.dk .device-loading[hidden] { display: none; }
.dk .device-loading .dk-spinner { width: 36px; height: 36px; border-width: 4px; }
.dk .device-loading-text { color: var(--ink); font-weight: 650; }
.dk .finder.is-loading .primary { position: relative; color: transparent; pointer-events: none; }
.dk .finder.is-loading .primary::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 22px; height: 22px;
  border: 3px solid #fff; border-right-color: transparent; border-radius: 50%;
  animation: dk-spin .7s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .dk .dk-spinner, .dk .finder.is-loading .primary::after { animation-duration: 2s; }
  .dk .device-skeleton span { animation: none; }
}

/* Footer social links (Facebook, Instagram, YouTube), same look as the original Facebook link */
.dk .footer-social-links { display: flex; flex-direction: column; align-items: flex-start; }
