/* styles.css */
/*
Theme Name: Qnected Theme
Author: C.R. Nanninga
Description: Custom WordPress theme for Qnected.
Version: 1.0
*/

@theme {
  --font-sans: InterVariable, sans-serif;
}

body {
  font-family: 'Inter', sans-serif !important;
}

.qnected-footer-portrait {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin-top: 24px;
  border-radius: 8px;
}

.screen-reader-text:not(:focus) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.qnected-empty-cart {
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 24px 80px;
  text-align: center;
  color: #111827;
}

.qnected-empty-cart__icon {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #f0efff;
  color: #6054ff;
}

.qnected-empty-cart__icon svg {
  width: 40px;
  height: 40px;
}

.qnected-empty-cart__eyebrow {
  margin: 0 0 8px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
}

.qnected-empty-cart h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.qnected-empty-cart__description {
  max-width: 460px;
  margin: 16px auto 28px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.7;
}

.qnected-empty-cart__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 6px;
  background: #6054ff;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.qnected-empty-cart__button:hover {
  background: #4f43e6;
}

.qnected-empty-cart__button:focus-visible {
  outline: 2px solid #6054ff;
  outline-offset: 4px;
}

.qnected-empty-cart__button svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 640px) {
  .qnected-empty-cart {
    padding: 40px 20px 48px;
  }
}

@media (max-width: 640px) {
    .dgwt-wcas-voice-search {
        z-index:1 !important;
    }

  .hwrap {
    width: 100%;
    overflow: hidden;
  }

  .hmove {
    display: flex;
    position: relative; /* nog nodig om .hslide's in de stroom te houden */
    top: 0;
    /* In plaats van 'right: 0' gebruiken we hieronder 'transform: translateX' in de keyframes. */
    animation: slideh 10s linear infinite;
  }

  .hmove:hover {
    animation-play-state: paused; /* Hover-pauze (optioneel) */
  }

  .hslide {
    width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
    text-align: center;
    font-size: 14px; /* eventueel 16px als je wilt */
    padding: 0;
  }

  @keyframes slideh {
    /* 
      Drie slides. 
      0-30% : Slide 1 op positie 0% 
      33-63%: Slide 2 op positie -100% 
      66-97%: Slide 3 op positie -200% 
      100%   : Terug naar 0% 
    */

    0%, 30% {
      transform: translateX(0);
    }
    33%, 63% {
      transform: translateX(-100%);
    }
    66%, 97% {
      transform: translateX(-200%);
    }
    100% {
      transform: translateX(0);
    }
  }
}

.single-product .mobile-searchbar {
  display:none;
}

/* Price styling for regular and sale prices */
.price del {
  color: #9ca3af; /* text-gray-400 */
  text-decoration: line-through;
  font-size: 0.875rem; /* text-sm */
}

.price ins {
  color: #111827; /* text-gray-900 */
  font-weight: 600; /* font-semibold */
  text-decoration: none;
}

/* Product cards use their own neutral surface; do not inherit WooCommerce's
 * legacy black loop borders. */
.qnected-product-grid {
    align-items: stretch;
    border: 0;
    gap: 1rem;
}

.qnected-product-card {
    --qnected-card-accent: var(--color-indigo-600, #4f46e5);
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: .75rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.qnected-product-card:hover {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.qnected-product-card .price del {
    margin-right: 0.35rem;
    color: #64748b;
    font-size: .875rem;
}

.qnected-product-card img {
    display: block;
    width: 100%;
    height: auto;
}

.qnected-card-image {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: .75rem;
    background: #f8fafc;
}
.qnected-card-image-note {
    position: absolute;
    right: .5rem;
    bottom: .5rem;
    padding: .2rem .4rem;
    border-radius: .25rem;
    background: rgb(15 23 42 / .78);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
}
.qnected-card-badge {
    position: absolute;
    top: .625rem;
    left: .625rem;
    z-index: 1;
    padding: .25rem .55rem;
    border-radius: 999px;
    background: var(--qnected-card-accent);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
}
.qnected-card-title {
    min-height: 2.8rem;
    margin: .9rem 0 .25rem;
    overflow: hidden;
    color: #111827;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.qnected-card-title a { color: inherit; text-decoration: none; }
.qnected-card-family { min-height: 2.8em; margin: .7rem 0 0; color: #64748b; font-size: .72rem; font-weight: 700; line-height: 1.4; }
.qnected-card-family span { color: #94a3b8; }
.qnected-card-rating {
    min-height: 1.25rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    color: #374151;
    font-size: .75rem;
}
.qnected-card-stars {
    position: relative;
    display: inline-block;
    color: #d1d5db;
    letter-spacing: -.08em;
    font-size: .9rem;
    line-height: 1;
}
.qnected-card-stars span {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    color: var(--qnected-card-accent);
    white-space: nowrap;
}
.qnected-card-review-count { color: #6b7280; }
.qnected-card-specs {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin: .85rem 0 0;
    padding: 0;
    list-style: none;
}
.qnected-card-specs li {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: .4rem;
    min-height: 0;
    padding: .45rem 0;
    overflow: hidden;
    border: 0;
    border-bottom: 1px solid #eef2f6;
    border-radius: 0;
    color: #374151;
    font-size: .7rem;
    line-height: 1.25;
}
.qnected-card-specs svg {
    flex: 0 0 1rem;
    width: 1rem;
    height: 1rem;
    color: var(--qnected-card-accent);
}
.qnected-card-specs li > span { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: .4rem; min-width: 0; width: 100%; overflow-wrap: anywhere; }
.qnected-card-spec-label {
    display: block;
    margin: 0;
    color: #6b7280;
    font-size: .65rem;
}
.qnected-card-specs strong { display: block; color: #111827; font-weight: 650; }
.qnected-card-footer {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    padding-top: .9rem;
}
.qnected-stock {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 .35rem;
    color: #64748b;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.5;
}
.qnected-stock--product { margin: 0 0 .5rem; font-size: 1rem; }
.qnected-stock--cart { margin: 14px 0 0; }
.qnected-stock-indicator {
    position: relative;
    display: inline-flex;
    flex: 0 0 .5rem;
    width: .5rem;
    height: .5rem;
}
.qnected-stock-dot, .qnected-stock-ping {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: currentColor;
}
.qnected-stock-ping { opacity: 0; }
.qnected-stock.qnected-stock--instock { color: #15803d; }
.qnected-stock.qnected-stock--outofstock { color: #dc2626; }
.qnected-stock.qnected-stock--onbackorder,
.qnected-stock.qnected-stock--limited { color: #b45309; }
.qnected-stock--instock .qnected-stock-ping,
.qnected-stock--limited .qnected-stock-ping,
.qnected-stock--outofstock .qnected-stock-ping { animation: qnected-stock-pulse 1.8s ease-out infinite; }
@keyframes qnected-stock-pulse {
    0% { transform: scale(1); opacity: .45; }
    80%, 100% { transform: scale(2.2); opacity: 0; }
}
[data-qnected-gallery-stage].qnected-gallery-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}
.qnected-gallery-slider::-webkit-scrollbar { display: none; }
.qnected-gallery-slide {
    flex: 0 0 100%;
    min-width: 0;
    height: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}
@media (prefers-reduced-motion: reduce) {
    .qnected-stock .qnected-stock-ping { animation: none; }
}
.qnected-card-price { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.qnected-card-price .price { color: #111827; font-size: 1.15rem; font-weight: 800; }
.qnected-card-price .price ins { font-weight: 800; }
.qnected-card-price small { color: #6b7280; font-size: .65rem; white-space: nowrap; }
.qnected-card-action { margin-top: .75rem; }
.qnected-card-action .button,
.qnected-card-action .added_to_cart {
    width: 100%;
    box-sizing: border-box;
}

.qnected-card-action .button,
.qnected-card-action .added_to_cart {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 0;
    padding: .65rem .8rem;
    border: 0;
    border-radius: .375rem;
    background: var(--qnected-card-accent);
    color: #fff;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.qnected-card-action .button svg { width: 1.05rem; height: 1.05rem; margin-right: .4rem; }
.qnected-card-action .button:hover,
.qnected-card-action .added_to_cart:hover { background: #4338ca; }
.qnected-card-action .button.loading { opacity: .65; }
.qnected-card-action .added_to_cart { background: var(--qnected-card-accent); color: #fff; }
.qnected-product-card a:focus-visible {
    outline: 3px solid #818cf8;
    outline-offset: 3px;
}
.qnected-card-details {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: .65rem;
    color: #4b5563;
    font-size: .75rem;
    font-weight: 650;
    text-align: center;
    text-decoration: none;
}
.qnected-card-details span { margin-left: .25rem; color: var(--qnected-card-accent); font-size: 1rem; }
.qnected-card-unavailable { margin: .55rem 0 0; color: #64748b; font-size: .75rem; font-weight: 700; }
.qnected-card-title a:hover,
.qnected-card-details:hover { color: #4338ca; }

@media (max-width: 639px) {
    .qnected-product-grid { gap: .75rem; }
    .qnected-product-card { padding: .65rem; border-radius: .8rem; }
    .qnected-card-details { min-height: 44px; display: flex; align-items: center; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .qnected-product-card {
        transition: none;
    }
    .qnected-stock .qnected-stock-ping { display: none; animation: none; }
}

/* HDMI category editorial shell. Kept outside Tailwind so it is present in the
 * production stylesheet even when utility output is rebuilt independently. */
.qnected-hdmi-hero { background: #f8fafc; border-bottom: 1px solid #e2e8f0; }
.qnected-hdmi-hero__inner { max-width: 1328px; margin: 0 auto; padding: 38px 32px 42px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(480px, .92fr); gap: 72px; align-items: start; }
.qnected-breadcrumb { display: flex; gap: 10px; color: #64748b; font-size: .78rem; margin-bottom: 34px; }
.qnected-breadcrumb a { color: #475569; text-decoration: none; }.qnected-breadcrumb a:hover { color: #4f46e5; }
.qnected-eyebrow { color: #4f46e5; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 10px; }
.qnected-hdmi-hero h1 { color: #0f172a; font-size: clamp(2.35rem, 4vw, 3.6rem); font-weight: 750; line-height: 1.08; letter-spacing: -.045em; margin: 0; }
.qnected-hdmi-hero__intro,
.qnected-hdmi-hero__description { max-width: 550px; color: #475569; font-size: 1.05rem; line-height: 1.7; margin: 20px 0 0; }
.qnected-hdmi-hero__description > :first-child { margin-top: 0; }
.qnected-hdmi-hero__description > :last-child { margin-bottom: 0; }
.qnected-hdmi-hero__description p,
.qnected-category-description p { margin: 0 0 .8em; }
.qnected-category-description { color: #475569; font-size: 1rem; line-height: 1.75; }
.qnected-category-description > :first-child { margin-top: 0; }
.qnected-category-description > :last-child { margin-bottom: 0; }
.qnected-choice-guide { border: 1px solid #e2e6ee; border-radius: 20px; background: #f0f2f7; padding: 25px; }
.qnected-choice-guide__heading { display: flex; justify-content: space-between; gap: 16px; }.qnected-choice-guide__heading h2 { color: #172554; font-size: 1.3rem; letter-spacing: -.025em; margin: 0; }.qnected-choice-guide__heading p:last-child { color: #64748b; font-size: .84rem; margin: 7px 0 0; }.qnected-choice-guide__heading > span { color: #6366f1; font-size: 1.7rem; }
.qnected-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }.qnected-guide-card { min-height: 128px; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; border: 1px solid #dbe2ef; border-radius: 15px; background: #fff; color: #1e293b; text-decoration: none; }.qnected-guide-card:hover,.qnected-guide-card:focus-visible { border-color: #818cf8; box-shadow: 0 5px 14px rgb(79 70 229 / .12); }.qnected-guide-card__icon { color: #4f46e5; font-size: 1.45rem; line-height: 1; }.qnected-guide-card strong { display: block; font-size: .8rem; }.qnected-guide-card small { display: block; color: #64748b; font-size: .72rem; margin-top: 3px; }.qnected-guide-card__arrow { align-self: flex-end; color: #4f46e5; font-size: 1.15rem; }.qnected-guide-cta { display: inline-flex; gap: 10px; align-items: center; margin-top: 18px; color: #4338ca; font-size: .85rem; font-weight: 800; text-decoration: none; }.qnected-guide-cta:hover { text-decoration: underline; }
.qnected-support-wrap { padding: 56px 32px 72px; background: #fff; }.qnected-support { max-width: 1328px; margin: 0 auto; padding: 48px; border-radius: 30px; background: linear-gradient(135deg,#eef2ff 0%,#f5f3ff 100%); display: grid; grid-template-columns: minmax(0,1.1fr) minmax(330px,.8fr); gap: 50px; }.qnected-support h2 { max-width: 620px; color: #172554; font-size: clamp(1.8rem,3vw,2.7rem); line-height: 1.12; letter-spacing: -.04em; margin: 0; }.qnected-support__intro { max-width: 580px; color: #64748b; line-height: 1.65; }.qnected-assistance-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 30px; }.qnected-assistance-card { min-height: 210px; display: flex; flex-direction: column; padding: 19px; border-radius: 17px; background: #fff; color: #172554; text-decoration: none; box-shadow: 0 3px 12px rgb(30 41 59 / .04); }.qnected-assistance-card:hover,.qnected-assistance-card:focus-visible { transform: translateY(-2px); box-shadow: 0 9px 20px rgb(79 70 229 / .12); }.qnected-assistance-card__icon { color: #6366f1; font-size: 2rem; line-height: 1; margin-bottom: 30px; }.qnected-assistance-card strong { font-size: .95rem; }.qnected-assistance-card p { color: #64748b; font-size: .78rem; line-height: 1.45; margin: 6px 0 auto; }.qnected-assistance-card__link { color: #4f46e5; font-size: .78rem; font-weight: 800; margin-top: 18px; }.qnected-contact-panel { padding: 25px; border-radius: 19px; background: #fff; box-shadow: 0 4px 14px rgb(30 41 59 / .05); }.qnected-contact-panel__mark { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: #e0e7ff; color: #4f46e5; font-size: 1.8rem; font-weight: 800; }.qnected-contact-panel h3 { color: #172554; font-size: 1.3rem; margin: 8px 0; }.qnected-contact-panel p:not(.qnected-eyebrow) { color: #64748b; font-size: .85rem; line-height: 1.55; }.qnected-contact-panel a { display: inline-flex; gap: 10px; color: #4f46e5; font-size: .82rem; font-weight: 800; text-decoration: none; }.qnected-faq-list { margin-top: 28px; }.qnected-faq-list details { border-bottom: 1px solid #dbe2ef; }.qnected-faq-list summary { display: flex; align-items: center; gap: 10px; min-height: 57px; cursor: pointer; list-style: none; color: #172554; font-weight: 750; font-size: .84rem; }.qnected-faq-list summary::-webkit-details-marker { display:none; }.qnected-faq-list__icon { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 8px; background: #e0e7ff; color: #4f46e5; }.qnected-faq-list small { display: block; color: #64748b; font-size: .7rem; font-weight: 400; margin-top: 2px; }.qnected-faq-list summary b { margin-left: auto; color: #4f46e5; }.qnected-faq-list details > div { padding: 0 0 14px 35px; font-size: .78rem; }.qnected-faq-list a { color: #4f46e5; font-weight: 700; text-decoration: none; }.qnected-service-strip { grid-column: 1/-1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid #dbe2ef; color: #64748b; font-size: .73rem; }
.qnected-guide-card:focus-visible,.qnected-guide-cta:focus-visible,.qnected-assistance-card:focus-visible,.qnected-contact-panel a:focus-visible,.qnected-faq-list summary:focus-visible { outline: 3px solid #818cf8; outline-offset: 3px; }
@media (max-width: 900px) { .qnected-hdmi-hero__inner { grid-template-columns: 1fr; gap: 32px; }.qnected-support { grid-template-columns: 1fr; }.qnected-support__aside { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }.qnected-faq-list { margin-top: 0; } }
@media (max-width: 639px) { .qnected-hdmi-hero__inner { padding: 25px 16px 30px; }.qnected-breadcrumb { margin-bottom: 24px; }.qnected-hdmi-hero__intro, .qnected-hdmi-hero__description { font-size: .94rem; }.qnected-choice-guide { padding: 18px; border-radius: 19px; }.qnected-guide-grid { grid-template-columns: 1fr; }.qnected-guide-card { min-height: 76px; flex-direction: row; align-items: center; gap: 12px; }.qnected-guide-card__icon { width: 30px; }.qnected-guide-card__arrow { margin-left: auto; }.qnected-support-wrap { padding: 28px 12px 44px; }.qnected-support { padding: 25px 18px; border-radius: 22px; gap: 30px; }.qnected-assistance-grid { grid-template-columns: 1fr; }.qnected-assistance-card { min-height: 145px; }.qnected-assistance-card__icon { margin-bottom: 18px; }.qnected-support__aside { display: block; }.qnected-faq-list { margin-top: 26px; }.qnected-service-strip { display: grid; gap: 7px; } }

/* Explicit editorial typography, line icons and native choice disclosure. */
.qnected-hdmi-hero, .qnected-support {
    --category-purple: var(--color-indigo-600, #4f46e5);
}
.qnected-hdmi-hero__inner { gap: 48px; }
.qnected-hdmi-hero .qnected-eyebrow,
.qnected-support .qnected-eyebrow { color: var(--category-purple); }
.qnected-choice-guide__heading h2 { font-weight: 750; line-height: 1.35; }
.qnected-guide-card__icon { display: block; color: var(--category-purple); }
.qnected-guide-card__icon svg { width: 30px; height: 30px; }
.qnected-guide-card {
    min-width: 0;
    min-height: 108px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18px;
    grid-template-rows: 30px 1fr;
    grid-template-areas: "icon ." "text arrow";
    align-items: center;
    gap: 8px;
    padding: 12px;
}
.qnected-guide-card__icon { grid-area: icon; }
.qnected-guide-card__text { grid-area: text; min-width: 0; overflow-wrap: anywhere; }
.qnected-guide-card__arrow { grid-area: arrow; align-self: center; justify-self: end; margin: 0; line-height: 1; }
.qnected-guide-cta {
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--category-purple);
    color: #fff;
    cursor: pointer;
    list-style: none;
}
.qnected-guide-cta::-webkit-details-marker { display: none; }
.qnected-guide-cta:hover { background: var(--color-indigo-700, #4338ca); text-decoration: none; }
.qnected-choice-steps[open] .qnected-guide-cta > span { transform: rotate(45deg); }
.qnected-choice-steps { scroll-margin-top: 24px; }
.qnected-choice-steps > div { padding-top: 20px; color: #475569; font-size: .85rem; line-height: 1.6; }
.qnected-choice-steps ol { padding-left: 20px; list-style: decimal; }
.qnected-choice-steps li + li { margin-top: 12px; }
.qnected-choice-steps strong { display: block; color: #1e293b; }
.qnected-choice-steps a { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; margin-top: 8px; font-weight: 750; color: var(--category-purple); }
.qnected-support-wrap { max-width: 1328px; margin: 0 auto; }
.qnected-support { padding: 40px; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: 32px; }
.qnected-support h2 { font-size: clamp(1.8rem, 2.6vw, 2.35rem); font-weight: 750; line-height: 1.18; }
.qnected-support__intro { margin: 16px 0 0; font-size: .94rem; }
.qnected-assistance-card { min-height: 245px; padding: 20px 16px; border: 1px solid #e5e7f0; }
.qnected-assistance-card__icon { color: var(--category-purple); margin-bottom: 22px; }
.qnected-assistance-card__icon svg { width: 38px; height: 38px; }
.qnected-assistance-card__link { display: flex; align-items: center; justify-content: space-between; gap: 5px; min-height: 24px; color: var(--category-purple); }
.qnected-contact-panel { display: flex; align-items: flex-start; gap: 18px; padding: 24px; background: #e3e7fc; box-shadow: none; }
.qnected-contact-panel__mark { flex: 0 0 56px; background: #fff; color: var(--category-purple); border-radius: 18px; }
.qnected-contact-panel__mark svg { width: 32px; height: 32px; }
.qnected-contact-panel .qnected-eyebrow { font-size: .62rem; letter-spacing: .1em; }
.qnected-contact-panel h3 { font-size: 1.1rem; font-weight: 750; line-height: 1.35; }
.qnected-contact-panel a { margin-top: 12px; min-height: 30px; color: var(--category-purple); }
.qnected-faq-list { margin-top: 16px; }
.qnected-faq-list summary { min-height: 57px; }
.qnected-faq-list__icon { width: 30px; height: 30px; background: transparent; color: var(--category-purple); }
.qnected-faq-list__icon svg { width: 21px; height: 21px; }
.qnected-faq-list details[open] summary b { transform: rotate(45deg); }
.qnected-faq-list details > div { line-height: 1.65; color: #475569; padding-left: 40px; }
.qnected-faq-list details p { margin: 0 0 8px; }
.qnected-faq-list details a { display: inline-block; padding: 5px 0; color: var(--category-purple); }
.qnected-service-strip { align-items: center; font-size: .72rem; }
.qnected-service-strip a { display: flex; align-items: center; gap: 9px; min-height: 36px; color: #475569; text-decoration: none; }
.qnected-service-strip svg { width: 21px; height: 21px; flex-shrink: 0; color: var(--category-purple); }
.qnected-hdmi-hero :focus-visible, .qnected-support :focus-visible { outline: 3px solid #818cf8; outline-offset: 4px; }
.hf-products > .flex { border-color: #e2e8f0; }
@media (max-width: 1023px) {
    .qnected-hdmi-hero__inner { grid-template-columns: 1fr; gap: 28px; }
    .qnected-support { grid-template-columns: 1fr; }
    .qnected-support__aside { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
    .qnected-faq-list { margin-top: 0; }
}
@media (max-width: 639px) {
    .qnected-support { padding: 28px 18px; gap: 28px; }
    .qnected-support__aside { display: block; }
    .qnected-faq-list { margin-top: 20px; }
    .qnected-guide-card { min-height: 76px; grid-template-columns: 30px minmax(0, 1fr) 18px; grid-template-rows: auto; grid-template-areas: "icon text arrow"; gap: 12px; }
    .qnected-assistance-card { min-height: 180px; padding: 20px; }
    .qnected-assistance-card__icon { margin-bottom: 16px; }
    .qnected-contact-panel { display: block; padding: 22px; }
    .qnected-contact-panel__mark { margin-bottom: 18px; }
    .qnected-service-strip { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .qnected-assistance-card:hover { transform: none; }
}

/* Desktop navigation panels stay attached to their trigger. The invisible
 * hover gap that caused flicker is intentionally not used. */
.qnected-desktop-menu {
    position: relative;
    z-index: 40;
}

.qnected-menu-item {
    display: flex;
    align-items: center;
}

.qnected-menu-panel {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    z-index: 50;
    display: none;
    width: min(760px, calc(100vw - 2rem));
    border: 1px solid #e2e8f0;
    border-top: 2px solid #4f46e5;
    background: #fff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
}

.qnected-desktop-menu:not(.is-enhanced) .qnected-menu-item:hover .qnected-menu-panel,
.qnected-desktop-menu:not(.is-enhanced) .qnected-menu-item:focus-within .qnected-menu-panel,
.qnected-menu-item.is-open .qnected-menu-panel {
    display: block;
}

.qnected-menu-panel[hidden] { display: none; }
.qnected-desktop-menu { min-height: 56px; }
.qnected-desktop-menu > div { gap: 0 1.5rem; }
.qnected-desktop-menu a { min-height: 44px; }
.qnected-menu-item > a { min-height: 56px; }
.qnected-menu-toggle {
    min-width: 36px;
    min-height: 44px;
    color: #4338ca;
    cursor: pointer;
    border-radius: .25rem;
}
.qnected-menu-toggle:hover { background: #e0e7ff; }
.qnected-menu-toggle:focus-visible { outline: 2px solid #4f46e5; outline-offset: 2px; }
.qnected-menu-toggle[aria-expanded="true"] span { display: inline-block; transform: rotate(180deg); }

.qnected-menu-panel a:focus-visible,
.qnected-menu-item > a:focus-visible {
    position: relative;
    z-index: 1;
    outline: 2px solid #4f46e5;
    outline-offset: 2px;
}

/* Dropdown styling */
.qnected-dropdown-container {
  position: relative;
}

#dropdownLength {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.25rem;
  z-index: 50;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

#dropdownLength li a {
  display: block;
  padding: 0.5rem 1rem;
  transition: background-color 0.2s;
}

#dropdownLength li a:hover {
  background-color: #f3f4f6;
}

#dropdownLength li a.active {
  background-color: #e0e7ff;
  color: #4f46e5;
  font-weight: 500;
}

/* Scoped to the reviewed specification blocks, not reviews or product cards. */
.qnected-spec-overview table,
.qnected-specifications table {
    table-layout: fixed;
    white-space: normal;
    width: 100%;
}
.qnected-spec-overview td,
.qnected-specifications td,
.qnected-specifications th {
    overflow-wrap: anywhere;
    vertical-align: top;
}
.qnected-spec-overview td:first-child,
.qnected-spec-table th:first-child {
    width: 38%;
}
.qnected-specifications { margin-top: 2.5rem; border-top: 1px solid #e5e7eb; color: #172340; }
.qnected-spec-nav { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1.5rem 0; }
.qnected-spec-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .8rem; border: 1px solid #d9dcec; border-radius: .4rem; background: #f6f5fc; font-size: .875rem; color: #4338ca; }
.qnected-spec-nav a:focus-visible,
.qnected-spec-faq summary:focus-visible { outline: 2px solid #4338ca; outline-offset: 3px; }
.qnected-spec-section { padding: 1.5rem 0; border-top: 1px solid #e5e7eb; }
.qnected-spec-section h2 { margin: 0 0 1rem; font-size: 1.25rem; font-weight: 700; scroll-margin-top: 2rem; }
.qnected-spec-table { border-collapse: collapse; line-height: 1.6; }
.qnected-spec-table th,
.qnected-spec-table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid #e9eaf1; }
.qnected-spec-table th { font-weight: 600; }
.qnected-spec-table tbody tr:nth-child(odd) { background: #f7f8fc; }
.qnected-spec-modes th:first-child { width: 27%; }
.qnected-spec-modes th:nth-child(2) { width: 23%; }
.qnected-spec-modes thead { background: #edf0f8; }
.qnected-spec-note { margin: 1rem 0; max-width: 95ch; font-size: .875rem; line-height: 1.7; color: #475569; }
.qnected-spec-faq { border-bottom: 1px solid #e5e7eb; }
.qnected-spec-faq summary { min-height: 44px; padding: 1rem .5rem; cursor: pointer; font-weight: 600; }
.qnected-spec-faq > div { padding: 0 .5rem 1.25rem; max-width: 85ch; line-height: 1.7; }
@media (max-width: 600px) {
    .qnected-spec-table th,
    .qnected-spec-table td { padding: .7rem .6rem; font-size: .875rem; }
    .qnected-spec-modes th:first-child { width: 29%; }
    .qnected-spec-modes th:nth-child(2) { width: 24%; }
    .qnected-spec-modes th,
    .qnected-spec-modes td { padding: .7rem .35rem; font-size: .8125rem; }
}
