/* koebslinje-4 (26/11-2026): trin 5 i nemsugs nye version. Kun mobil, kun produktsider, kun store 6.
   Lavere billede, servicebokse paa en linje og en slank fast koebslinje med Skift (styres af koebslinje-4.js). */
@media (max-width: 767px) {
  /* Lavere billede: 4:3 i stedet for kvadrat */
  .catalog-product-view #gallery .lg\:hidden .aspect-square { aspect-ratio: 4 / 3; }

  /* Serviceboksene som en linje */
  .catalog-product-view .ns-pdp__trust-grid {
    display: flex !important; flex-wrap: wrap; gap: 4px 14px;
    padding: 0; margin-top: 4px; border: 0; background: none;
  }
  .catalog-product-view .ns-pdp__trust {
    display: flex; align-items: center; gap: 5px;
    padding: 0 !important; border: 0 !important; background: none !important; min-height: 0 !important;
  }
  .catalog-product-view .ns-pdp__trust-icon { width: 16px; height: 16px; padding: 0 !important; background: none !important; }
  .catalog-product-view .ns-pdp__trust-icon svg { width: 14px; height: 14px; }
  .catalog-product-view .ns-pdp__trust-title { font-size: 12px; font-weight: 600; line-height: 1.3; }
  .catalog-product-view .ns-pdp__trust-sub { display: none; }

  /* Fast koebslinje over bundmenuen. Ingen glideanimation: enten helt fremme eller helt vaek */
  .ns-kl {
    position: fixed; left: 0; right: 0; bottom: 64px; z-index: 40;
    display: none; align-items: center; gap: 12px;
    padding: 8px 16px; background: #fff; border-top: 1px solid rgba(0,0,0,.1);
    box-shadow: 0 -4px 14px rgba(0,0,0,.06);
  }
  .ns-kl.is-on { display: flex; }
  .ns-kl__navn { font-size: 12px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .75; }
  .ns-kl__info { flex: 1; min-width: 0; }
  .ns-kl__pris { min-width: 0; display: flex; align-items: baseline; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; font-size: 17px; line-height: 1.2; white-space: nowrap; }
  .ns-kl__pris span { flex: none; }
  .ns-kl__pris small { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-family: Inter, system-ui, sans-serif; font-weight: 600; font-size: 13px; }
  .ns-kl__skift { flex: none; margin-left: 8px; padding: 0; border: 0; background: none; font-family: Inter, system-ui, sans-serif; font-size: 13px; font-weight: 600; color: rgb(18, 101, 83); text-decoration: underline; }
  .ns-kl__knap {
    flex: none; height: 44px; padding: 0 18px; border: 0; border-radius: 6px;
    background: rgb(18, 101, 83); color: #fff; font-family: inherit; font-weight: 600; font-size: 15px;
  }
  .ns-kl__knap:disabled { opacity: .85; }
  .ns-kl .lfb-btnp { display: none !important; } /* pakkescriptet saetter pris paa alle kurvknapper; prisen staar allerede til venstre */
  body.ns-kl-aaben .ns-cart-fab { transform: translateY(calc(-1 * var(--ns-kl-h, 64px))); }
}
@media (min-width: 768px) { .ns-kl { display: none !important; } }
