#header #logo img{object-fit:contain}#header .nav-dropdown{z-index:100}#header .menu-item:hover>.nav-dropdown,#header .menu-item:focus-within>.nav-dropdown{opacity:1;visibility:visible;left:auto;display:block}#ontime-mobile-menu{background:#fff;padding:20px;border-bottom:1px solid #ddd}#ontime-mobile-menu[hidden]{display:none!important}#ontime-mobile-menu ul{list-style:none;padding-left:15px}#ontime-mobile-menu li{padding:7px 0}.admin-link{text-align:center;padding:8px;background:#fff;font:12px system-ui}#footer .img-inner img{opacity:1!important}#header .header-logo-sticky{display:none}#header .header-logo-dark{display:none}#header .header_logo{display:block!important}

/* Lesbar kontrast i nedtrekksmenyer og mobilmeny. */
#header .nav-dropdown,
#header .nav-dropdown .sub-menu,
#ontime-mobile-menu {
    background: #fff !important;
    color: #222 !important;
    background-image: none !important;
}

#header .nav-dropdown li,
#ontime-mobile-menu li {
    background: transparent !important;
}

#header .nav-dropdown a,
#ontime-mobile-menu a {
    color: #222 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

#header .nav-dropdown a:hover,
#header .nav-dropdown a:focus-visible,
#ontime-mobile-menu a:hover,
#ontime-mobile-menu a:focus-visible {
    background: #edf2f5 !important;
    color: #111 !important;
}

#header .nav-dropdown {
    border: 1px solid #ddd !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.18) !important;
}

/* La bakgrunnen omslutte alle menykolonnene. */
#header .menu-item:hover > .nav-dropdown,
#header .menu-item:focus-within > .nav-dropdown {
    display: table !important;
    height: auto !important;
    background: #fff !important;
}

#header .nav-dropdown > .nav-dropdown-col {
    vertical-align: top;
}

/* ONTIME_PRODUCT_UI_V1_BEGIN */
/* Scoped to individual product pages. Keep category listings and header intact. */
#main .product[id^="product-"] .product-gallery { min-width:0; }
#main .product[id^="product-"] .woocommerce-product-gallery__wrapper {
  position:relative!important; display:block!important; height:auto!important;
  width:100%!important; transform:none!important; overflow:hidden!important;
}
#main .product[id^="product-"] .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image {
  position:static!important; float:none!important; width:100%!important;
  height:auto!important; transform:none!important; margin:0!important;
  display:none!important;
}
#main .product[id^="product-"] .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child,
#main .product[id^="product-"].otn-product-view .woocommerce-product-gallery__wrapper > .otn-image-active {
  display:block!important;
}
#main .product[id^="product-"].otn-product-view .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image[hidden],
#main .otn-product-view .otn-ui-panel[hidden] { display:none!important; }
#main .otn-product-view .otn-ui-panel:not([hidden]) { display:block!important; opacity:1!important; visibility:visible!important; height:auto!important; }
#main .product[id^="product-"] .woocommerce-product-gallery__image img {
  display:block!important; position:static!important; width:100%!important;
  max-width:100%!important; height:auto!important; object-fit:contain;
}
#main .otn-product-gallery .product-thumbnails {
  display:flex!important; flex-wrap:wrap!important; gap:10px; height:auto!important;
  width:100%!important; margin:14px 0!important; transform:none!important;
}
#main .otn-product-gallery .product-thumbnails > * {
  position:static!important; flex:0 0 80px!important; width:80px!important;
  max-width:80px!important; padding:3px!important; margin:0!important;
  border:2px solid transparent; background:#fff; transform:none!important;
}
#main .otn-product-gallery .product-thumbnails > .is-nav-selected { border-color:#ce5400; }
#main .otn-product-gallery .product-thumbnails a { display:block; cursor:pointer; }
#main .otn-product-gallery .product-thumbnails img { opacity:1!important; width:100%!important; height:auto!important; }
#main .otn-product-view .product-summary { min-width:0; }
#main .otn-product-view .next-prev-thumbs .nav-dropdown { display:none!important; }
#main .otn-product-view .related-products-wrapper,
#main .otn-product-view .upsells { display:none!important; }
#main .otn-product-view .otn-native-tabs { display:block!important; }
#main .otn-product-view .otn-product-tabs {
  display:flex!important; flex-wrap:wrap!important; gap:8px!important;
  list-style:none!important; padding:0!important; margin:24px 0 0!important;
  width:100%!important; height:auto!important;
}
#main .otn-product-view .otn-product-tabs > li {
  flex:1 1 150px!important; width:auto!important; min-width:0;
  margin:0!important; padding:0!important; background:#f1f1f1!important;
  color:#161616!important; text-align:center!important; cursor:pointer;
}
#main .otn-product-view .otn-product-tabs [role="tab"] {
  padding:14px 16px!important; color:#161616!important; display:block!important;
  border:0!important; border-radius:0!important; text-decoration:none!important;
}
#main .otn-product-view .otn-product-tabs [role="tab"] h2 {
  font:inherit!important; color:inherit!important; margin:0!important;
}
#main .otn-product-view .otn-product-tabs > li.active,
#main .otn-product-view .otn-product-tabs [aria-selected="true"] {
  background:#171717!important; color:#fff!important;
}
#main .otn-product-view .otn-ui-panel { padding:20px 16px; border:1px solid #ddd; overflow-x:auto; }
#main .otn-product-view .otn-ui-panel table { max-width:100%; }
#main .otn-product-view [role="tab"]:focus-visible,
#main .otn-product-gallery [role="button"]:focus-visible,
#main .otn-gallery-controls button:focus-visible { outline:3px solid #ce5400!important; outline-offset:3px; }
#main .otn-gallery-controls { display:flex; justify-content:space-between; gap:10px; margin:10px 0; }
#main .otn-gallery-controls button { margin:0; padding:8px 12px; background:#f2f2f2; color:#222; border:1px solid #bbb; font-size:13px; cursor:pointer; }
@media(max-width:549px) {
  #main .otn-product-view .otn-product-tabs > li { flex-basis:100%!important; }
  #main .otn-product-view .otn-ui-panel { padding:14px 10px; }
}
/* ONTIME_PRODUCT_UI_V1_END */

/* ONTIME_PRODUCT_DATA_V1_BEGIN */
#main .otn-repaired-table { overflow-x:auto; }
#main .otn-repaired-table table { width:100%; border-collapse:collapse; }
#main .otn-repaired-table td,#main .otn-repaired-table th { padding:10px 12px; border:1px solid #ddd; vertical-align:top; }
#main .otn-repaired-table td[colspan="3"],#main .otn-repaired-table th { background:#f2f2f2; font-weight:600; }
/* ONTIME_PRODUCT_DATA_V1_END */
