/* Nanolab mobile header, 2026-11-27.
 * Keep the logo/tools and search in one stable layout. The product-detail
 * compact class may still toggle, but must not move individual header items.
 * Desktop and the checkout's existing search visibility are left to the theme.
 */
@media (max-width: 767px) {
  html body .top-navigation-bar,
  html.nl-mpd body .top-navigation-bar {
    position: sticky !important;
    top: 0 !important;
    height: 56px !important;
    min-height: 56px !important;
    transform: none !important;
    transition: none !important;
    background: #fff;
    z-index: 55 !important;
  }

  html body #header,
  html.nl-mpd body #header {
    position: sticky !important;
    top: 56px !important;
    height: auto !important;
    min-height: 0 !important;
    transform: none !important;
    transition: none !important;
    background: #fff;
    z-index: 55 !important;
  }

  html body .top-navigation-bar > .container,
  html body .top-navigation-tools,
  html body .responsive-tools,
  html.nl-mpd body .responsive-tools {
    height: 56px !important;
    min-height: 56px !important;
  }

  html body .responsive-tools,
  html.nl-mpd body .responsive-tools {
    position: relative !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  html body #header .header-top,
  html.nl-mpd body #header .header-top {
    height: auto !important;
    min-height: 0 !important;
  }

  html body #header .site-name,
  html.nl-mpd body.nl-mpd-compact #header .site-name {
    position: absolute !important;
    top: -56px !important;
    left: 12px !important;
    right: auto !important;
    height: 56px !important;
    width: calc(100% - 168px) !important;
    max-width: 160px;
    display: flex !important;
    align-items: center !important;
    transform: none !important;
  }

  html body #header .site-name a {
    display: flex;
    align-items: center;
    max-width: 100%;
    height: 56px;
  }

  html body #header .site-name img,
  html.nl-mpd body.nl-mpd-compact #header .site-name img {
    display: block;
    width: auto !important;
    max-width: 100% !important;
    max-height: 42px !important;
    object-fit: contain;
  }

  html body #header .navigation-wrapper .navigation-buttons a.cart-count,
  html.nl-mpd body.nl-mpd-compact #header .navigation-buttons a.cart-count {
    position: absolute !important;
    top: -56px !important;
    right: 48px !important;
    width: 44px !important;
    height: 56px !important;
    min-height: 56px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    transform: none !important;
  }

  html body #header .navigation-buttons a.cart-count::before {
    position: static !important;
    display: block !important;
    margin: 0 !important;
    line-height: 1 !important;
  }

  html body #header .navigation-buttons a.cart-count i {
    top: 26px !important;
    left: auto !important;
    right: 0 !important;
    margin: 0 !important;
  }

  html body .responsive-tools > [data-target="login"],
  html body .responsive-tools > [data-target="navigation"] {
    position: absolute !important;
    top: 6px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
  }

  html body .responsive-tools > [data-target="login"] {
    right: 96px !important;
  }

  html body.ordering-process .responsive-tools > [data-target="login"] {
    right: 48px !important;
  }

  html body .responsive-tools > [data-target="navigation"] {
    right: 0 !important;
    flex-direction: column;
  }

  html body .responsive-tools > [data-target="navigation"]::before {
    position: static !important;
    display: block !important;
    height: 28px !important;
    line-height: 28px !important;
    margin: 0 !important;
  }

  html body .responsive-tools > [data-target="navigation"]::after {
    position: static !important;
    display: block !important;
    height: 12px !important;
    line-height: 12px !important;
  }

  html body .responsive-tools > [data-target="search"],
  html.nl-mpd body.nl-mpd-compact .responsive-tools > [data-target="search"] {
    display: none !important;
  }

  html.nl-mpd body #header .search,
  html.nl-mpd body.nl-mpd-compact #header .header-top .search {
    display: block !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
  }

  /* No transformed ancestor: the fixed navigation uses the viewport again. */
  html body #navigation,
  html.nl-mpd body #navigation,
  html body #navigation::before,
  html.nl-mpd body #navigation::before {
    top: 56px !important;
    height: calc(100vh - 56px) !important;
    height: calc(100dvh - 56px) !important;
  }
}

/* Mobile product quantity: show Shoptet's existing sign spans consistently. */
@media (max-width: 767px) {
  html.nl-mpd body.type-detail #content .buy-box .quantity button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #162329 !important;
    background: #f4f7f8 !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
  }

  html.nl-mpd body.type-detail #content .buy-box .quantity button::before {
    content: none !important;
    display: none !important;
  }

  html.nl-mpd body.type-detail #content .buy-box .quantity .increase__sign,
  html.nl-mpd body.type-detail #content .buy-box .quantity .decrease__sign {
    display: block !important;
    color: inherit !important;
    font: inherit;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none;
  }

  html.nl-mpd body.type-detail #content .buy-box .quantity button:hover,
  html.nl-mpd body.type-detail #content .buy-box .quantity button:focus,
  html.nl-mpd body.type-detail #content .buy-box .quantity button:active {
    color: #162329 !important;
    background: #e9f8fc !important;
  }

  html.nl-mpd body.type-detail #content .buy-box .quantity .amount {
    color: #162329;
    font-size: 16px;
    font-weight: 600;
  }

  /* Keep the existing delivery action and its dynamically calculated date. */
  html.nl-mpd body.type-detail #content .availability-value .nl-mpd-delivery {
    flex: 0 0 100%;
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    margin: 3px 0 6px;
    padding: 8px 12px;
    border: 1px solid #bde8f0;
    border-radius: 8px;
    background: #e9f8fc;
    color: #162329;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    text-align: left;
    text-decoration: none;
    white-space: normal;
    justify-content: flex-start;
  }

  html.nl-mpd body.type-detail #content .availability-value .nl-mpd-delivery:hover,
  html.nl-mpd body.type-detail #content .availability-value .nl-mpd-delivery:focus {
    background: #dff3f8;
    color: #162329;
  }
}

/* Mobile header search: the submit button shares the input's exact edges. */
@media (max-width: 767px) {
  html body #header #formSearchForm button[type="submit"] {
    top: 0 !important;
    right: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    line-height: normal !important;
    transform: none !important;
  }
}

/* Homepage product sliders: separate finger-sized controls, 2026-11-27. */
@media (max-width: 767px) {
  body.in-index #content .homepage-group-title[class*="homepage-products-heading-"] {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 48px;
    padding-right: 120px;
    margin-bottom: 12px;
    line-height: 1.25;
  }

  body.in-index #content .homepage-group-title + .products.slick-slider > .slick-arrow {
    top: -60px !important;
    left: auto !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px;
    min-height: 48px;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transform: none !important;
    touch-action: manipulation;
  }

  body.in-index #content .homepage-group-title + .products.slick-slider > .slick-prev {
    right: 72px !important;
  }

  body.in-index #content .homepage-group-title + .products.slick-slider > .slick-next {
    right: 12px !important;
  }
}

/* Keep long headings intact on the narrowest phones. */
@media (max-width: 359px) {
  body.in-index #content .homepage-group-title[class*="homepage-products-heading-"] {
    min-height: 0;
    padding-right: 0;
    margin-bottom: 72px;
  }
}

/* Add-to-cart confirmation: a clear status and a highlighted shipping goal. */
#colorbox .advanced-order > .h1:not(.advanced-order-suggestion) {
  position: relative;
  margin: 0;
  padding: 0 0 0 72px;
  color: #162329;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
}
#colorbox .advanced-order > .h1:not(.advanced-order-suggestion)::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #178a56;
  color: #fff;
  font-size: 20px;
  line-height: 56px;
  text-align: center;
  transform: none;
}
#colorbox .advanced-order > .h2 {
  margin: 6px 0 26px;
  padding: 0 0 0 72px;
  color: #42565f;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
#colorbox .advanced-order > .extras-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin: 0 -8px;
  padding: 0 0 24px;
  background: transparent;
}
#colorbox .advanced-order > .extras-wrap > .do-obchodu,
#colorbox .advanced-order > .extras-wrap > .extra.step {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}
#colorbox .advanced-order > .extras-wrap > .extra.delivery {
  display: block;
  order: 0;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid #bde8f0;
  border-top: 4px solid #27c0dc;
  border-radius: 14px;
  background: #e9f8fc;
  color: #263e47;
  text-align: center;
}
#colorbox .advanced-order .extra.delivery > span {
  display: block;
  width: 100%;
  color: #263e47;
  font-size: 16px;
  line-height: 1.5;
}
#colorbox .advanced-order .extra.delivery > span::before {
  position: relative;
  top: 3px;
  left: 0;
  margin: 0 8px 0 0;
  color: #0d8298;
  font-size: 24px;
  line-height: 1;
}
#colorbox .advanced-order .extra.delivery strong {
  color: #086479;
  font-size: inherit;
  font-weight: 700;
  text-transform: none;
  white-space: nowrap;
}
#colorbox .advanced-order .extra.delivery strong:first-of-type {
  display: block;
  margin: 4px 0 5px;
  color: #162329;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
}
#colorbox .advanced-order .extra.delivery strong:only-of-type {
  white-space: normal;
}
#colorbox .advanced-order .extra.delivery .price-range {
  width: 100%;
  height: 10px;
  margin: 14px 0 0;
  border: 0;
  border-radius: 99px;
  background: #c8e7ee;
  overflow: hidden;
}
#colorbox .advanced-order .extra.delivery .price-range > div {
  height: 100%;
  border-radius: inherit;
  background: #27c0dc;
}
#colorbox .advanced-order > .advanced-order-suggestion {
  margin: 0 -8px;
  padding-top: 24px;
  border-top: 1px solid #e1eaed;
}
@media (min-width: 768px) and (max-width: 1023px) {
  #colorbox .advanced-order > .extras-wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  #colorbox .advanced-order > .extras-wrap > .extra.delivery {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  #colorbox .advanced-order > .extras-wrap > .do-obchodu {
    grid-column: 1;
    grid-row: 2;
  }
  #colorbox .advanced-order > .extras-wrap > .extra.step {
    grid-column: 2;
    grid-row: 2;
  }
}
@media (max-width: 767px) {
  #colorbox .advanced-order > .h1:not(.advanced-order-suggestion) {
    padding: 60px 0 0;
    font-size: 22px;
    text-align: center;
  }
  #colorbox .advanced-order > .h1:not(.advanced-order-suggestion)::before {
    left: 50%;
    width: 48px;
    height: 48px;
    font-size: 18px;
    line-height: 48px;
    transform: translateX(-50%);
  }
  #colorbox .advanced-order > .h2 {
    margin: 6px 0 20px;
    padding: 0;
    font-size: 16px;
    text-align: center;
  }
  #colorbox .advanced-order > .extras-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 20px;
  }
  #colorbox .advanced-order > .extras-wrap > .extra.delivery {
    order: -1;
    padding: 16px;
  }
  #colorbox .advanced-order .extra.delivery strong:first-of-type {
    font-size: 26px;
  }
}
@media (max-width: 359px) {
  #colorbox .advanced-order .extra.delivery > span { font-size: 15px; }
}

/* Nanolab SK: do not offer ReBox, including AJAX cart updates. */
body.in-kosik.sk .fvDoplnek-upsell .fvDoplnek-category:has(.fvcontent[code="3067"]),
body.in-kosik.sk .fvDoplnek-upsell .nl-a1-rebox {
  display:none!important;
}

/* ReBox is not offered on the Slovak storefront. */
body.sk #footer li.footer-link:has(> a[href="https://www.nanolab.cz/rebox/"]) {
  display:none!important;
}

/* Cart CZ/SK: shipping goal and delivery date. Native amounts and dates stay dynamic. */
body.in-kosik #content .cart-content .extras-wrap > .extra.delivery {
  display:block;
  box-sizing:border-box;
  width:100%;
  min-width:0;
  max-width:none;
  margin:0 0 16px;
  padding:20px;
  border:1px solid #bde8f0;
  border-top:4px solid #38bddd;
  border-radius:14px;
  background:#e9f8fc;
  color:#263e47;
  text-align:center;
}
body.in-kosik #content .cart-content .extra.delivery > span {
  display:block;
  width:100%;
  min-width:0;
  padding:0;
  color:inherit;
  font-size:16px;
  line-height:1.5;
  overflow-wrap:anywhere;
}
body.in-kosik #content .cart-content .extra.delivery > span::before {
  display:inline-block;
  position:relative;
  top:0;
  left:0;
  width:40px;
  height:40px;
  margin:0 8px 6px 0;
  border-radius:10px;
  background:#fff;
  color:#0d8298;
  font-size:26px;
  line-height:40px;
  text-align:center;
  vertical-align:middle;
  transform:none;
}
body.in-kosik #content .cart-content .extra.delivery > span > strong {
  color:#086479;
  font-weight:700;
  text-transform:none;
}
body.in-kosik #content .cart-content .extra.delivery > span > strong:first-of-type:not(:only-of-type) {
  display:block;
  margin:4px 0 6px;
  color:#162329;
  font-size:28px;
  line-height:1.2;
  white-space:nowrap;
}
body.in-kosik #content .cart-content .extra.delivery .price-range {
  width:100%;
  height:10px;
  margin:16px 0 0;
  border:0;
  border-radius:99px;
  background:#c8e7ee;
  overflow:hidden;
}
body.in-kosik #content .cart-content .extra.delivery .price-range > div {
  height:100%;
  border-radius:inherit;
  background:#38bddd;
}
body.in-kosik #content .cart-content .extras-wrap > .extra.delivery:not(:has(.price-range)) {
  border-color:#bddfc5;
  border-top-color:#25824d;
  background:#edf8ee;
}
body.in-kosik #content .cart-content .extra.delivery:not(:has(.price-range)) > span::before {
  color:#217a45;
}
body.in-kosik #content .cart-content .extra.delivery > span > strong:only-of-type {
  display:block;
  margin:2px 0 0;
  color:#217a45;
  font-size:22px;
  line-height:1.35;
  white-space:normal;
}
body.in-kosik #content .cart-content > .delivery-time[data-testid="deliveryTime"],
body.in-kosik #content .cart-content .extras-wrap > .delivery-time[data-testid="deliveryTime"] {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:4px 8px;
  box-sizing:border-box;
  width:100%;
  min-width:0;
  max-width:none;
  margin:0 0 24px;
  padding:18px 20px;
  border:1px solid #bde8f0;
  border-top:4px solid #38bddd;
  border-radius:14px;
  background:#e9f8fc;
  color:#263e47;
  font-size:15px;
  font-weight:500;
  line-height:1.5;
}
body.in-kosik #content .cart-content > .delivery-time[data-testid="deliveryTime"] {
  max-width:520px;
  margin:20px 0 24px auto;
}
body.in-kosik #content .cart-content > .delivery-time[data-testid="deliveryTime"] > strong,
body.in-kosik #content .cart-content .extras-wrap > .delivery-time[data-testid="deliveryTime"] > strong {
  color:#162329;
  font-size:22px;
  font-weight:700;
  line-height:1.25;
  white-space:nowrap;
}
body.in-kosik #content .cart-content .extras-wrap > .extra.delivery:has(+ .delivery-time[data-testid="deliveryTime"]) {
  margin-bottom:0;
  border-bottom:0;
  border-radius:14px 14px 0 0;
}
body.in-kosik #content .cart-content .extras-wrap > .extra.delivery + .delivery-time[data-testid="deliveryTime"] {
  margin-top:0;
  border-top-width:1px;
  border-top-color:#bde8f0;
  border-radius:0 0 14px 14px;
  background:#fff;
}
body.in-kosik #content .cart-content .extras-wrap > .extra.delivery:not(:has(.price-range)) + .delivery-time[data-testid="deliveryTime"] {
  border-color:#bddfc5;
}
@media (max-width:767px) {
  body.in-kosik #content .cart-content .extras-wrap > .extra.delivery {
    padding:16px;
  }
  body.in-kosik #content .cart-content .extra.delivery > span > strong:first-of-type:not(:only-of-type) {
    font-size:26px;
  }
  body.in-kosik #content .cart-content > .delivery-time[data-testid="deliveryTime"],
  body.in-kosik #content .cart-content .extras-wrap > .delivery-time[data-testid="deliveryTime"] {
    max-width:none;
    padding:16px;
  }
  body.in-kosik #content .cart-content > .delivery-time[data-testid="deliveryTime"] {
    margin:20px 0 24px;
  }
}

/* Cart desktop: compact shipping summary; mobile remains unchanged. */
@media (min-width:768px) {
  body.in-kosik #content .cart-content .extras-wrap > .extra.delivery {
    margin-bottom:12px;
    padding:10px 14px;
    border:1px solid #dce8eb;
    border-radius:8px;
    background:#f6fbfc;
    text-align:left;
  }
  body.in-kosik #content .cart-content .extra.delivery > span {
    font-size:14px;
    line-height:1.45;
    overflow-wrap:normal;
  }
  body.in-kosik #content .cart-content .extra.delivery > span::before {
    width:22px;
    height:22px;
    margin:0 7px 0 0;
    border-radius:0;
    background:transparent;
    font-size:21px;
    line-height:22px;
    vertical-align:-4px;
  }
  body.in-kosik #content .cart-content .extra.delivery > span > strong:first-of-type:not(:only-of-type) {
    display:inline;
    margin:0;
    font-size:16px;
    line-height:inherit;
  }
  body.in-kosik #content .cart-content .extra.delivery .price-range {
    height:6px;
    margin-top:8px;
    background:#e1ecef;
  }
  body.in-kosik #content .cart-content .extras-wrap > .extra.delivery:not(:has(.price-range)) {
    border-color:#d5e8db;
    background:#f4faf5;
  }
  body.in-kosik #content .cart-content .extra.delivery > span > strong:only-of-type {
    display:inline;
    margin:0;
    font-size:16px;
    line-height:inherit;
  }
  body.in-kosik #content .cart-content > .delivery-time[data-testid="deliveryTime"],
  body.in-kosik #content .cart-content .extras-wrap > .delivery-time[data-testid="deliveryTime"] {
    margin-bottom:18px;
    padding:9px 14px;
    border:1px solid #dce8eb;
    border-radius:8px;
    background:#f6fbfc;
    font-size:14px;
    line-height:1.4;
  }
  body.in-kosik #content .cart-content > .delivery-time[data-testid="deliveryTime"] {
    margin-top:14px;
  }
  body.in-kosik #content .cart-content > .delivery-time[data-testid="deliveryTime"] > strong,
  body.in-kosik #content .cart-content .extras-wrap > .delivery-time[data-testid="deliveryTime"] > strong {
    font-size:16px;
    line-height:1.4;
  }
  body.in-kosik #content .cart-content .extras-wrap > .extra.delivery:has(+ .delivery-time[data-testid="deliveryTime"]) {
    margin-bottom:0;
    border-bottom:0;
    border-radius:8px 8px 0 0;
  }
  body.in-kosik #content .cart-content .extras-wrap > .extra.delivery + .delivery-time[data-testid="deliveryTime"] {
    margin-top:0;
    border-top-color:#dce8eb;
    border-radius:0 0 8px 8px;
    background:#fff;
  }
  body.in-kosik #content .cart-content .extras-wrap > .extra.delivery:not(:has(.price-range)) + .delivery-time[data-testid="deliveryTime"] {
    border-color:#d5e8db;
  }
}

/* Cart mobile: slightly tighter spacing, same readable amounts and dates. */
@media (max-width:767px) {
  body.in-kosik #content .cart-content .extras-wrap > .extra.delivery {
    padding:12px 16px;
  }
  body.in-kosik #content .cart-content .extra.delivery > span::before {
    width:32px;
    height:32px;
    margin:0 8px 4px 0;
    border-radius:8px;
    font-size:23px;
    line-height:32px;
  }
  body.in-kosik #content .cart-content .extra.delivery > span > strong:first-of-type:not(:only-of-type) {
    margin:2px 0 4px;
  }
  body.in-kosik #content .cart-content .extra.delivery .price-range {
    height:8px;
    margin:10px 0 0;
  }
  body.in-kosik #content .cart-content > .delivery-time[data-testid="deliveryTime"],
  body.in-kosik #content .cart-content .extras-wrap > .delivery-time[data-testid="deliveryTime"] {
    padding:10px 16px;
  }
}

/* Cart mobile: an additional 5–9% vertical reduction; typography unchanged. */
@media (max-width:767px) {
  body.in-kosik #content .cart-content .extras-wrap > .extra.delivery {
    padding:8px 16px;
  }
  body.in-kosik #content .cart-content .extra.delivery > span::before {
    width:30px;
    height:30px;
    font-size:22px;
    line-height:30px;
  }
  body.in-kosik #content .cart-content .extra.delivery .price-range {
    margin:8px 0 0;
  }
  body.in-kosik #content .cart-content > .delivery-time[data-testid="deliveryTime"],
  body.in-kosik #content .cart-content .extras-wrap > .delivery-time[data-testid="deliveryTime"] {
    padding:8px 16px;
  }
}

/* CZ/SK: the existing coupon follows the complete native shipping/date block. */
body.in-kosik #content .cart-summary .extras-wrapper.nl-coupon-layout {
  align-items:flex-start;
  flex-wrap:wrap;
}
body.in-kosik #content .cart-summary .nl-coupon-layout > .extras-col.nl-coupon-empty {
  display:none;
}
body.in-kosik #content .cart-summary .extras-col.nl-coupon-column {
  display:block;
  flex:1 1 100%;
  width:100%;
  min-width:0;
  max-width:100%;
  padding:0;
}
body.in-kosik #content .cart-summary .nl-coupon-column > .extras-wrap.nl-coupon-stack {
  display:block;
  box-sizing:border-box;
  width:50%;
  min-width:min(360px,100%);
  max-width:100%;
  margin:0 0 0 auto;
  padding:0;
}
body.in-kosik #content .cart-summary .nl-coupon-stack > .discount-coupon.nl-coupon-card {
  width:100%;
  min-width:0;
  max-width:100%;
}
@media(max-width:767px) {
  body.in-kosik #content .cart-summary .extras-wrapper.nl-coupon-layout {
    box-sizing:border-box;
    padding:0;
  }
  body.in-kosik #content .cart-summary .nl-coupon-column > .extras-wrap.nl-coupon-stack {
    width:100%;
    min-width:0;
    margin:0;
  }
}

/* Nanolab coupon, approved variant 1. Native Shoptet form stays intact. */
body.in-kosik #content .discount-coupon.nl-coupon-card {
  position:relative;
  isolation:isolate;
  display:block;
  box-sizing:border-box;
  width:100%;
  min-width:0;
  max-width:none;
  min-height:132px;
  margin:18px 0 0;
  padding:18px 14px 16px 96px;
  border:1px solid #d8f1f5;
  border-radius:24px;
  background:
    radial-gradient(ellipse 134px 100px at 108% -8%,#86d5df80 0 65%,transparent 66%),
    radial-gradient(ellipse 230px 42px at 14% 111%,#8de0ec8c 0 66%,transparent 68%),
    linear-gradient(112deg,#f7fcfd 0%,#edfafd 48%,#c8f3fb 100%);
  color:#08556a;
  font-family:Quicksand,sans-serif;
  text-align:left;
  overflow:visible;
}
body.in-kosik #content .nl-coupon-card > .kupon-odkaz {
  display:none!important;
}
body.in-kosik #content .nl-coupon-card > .nl-coupon-art {
  position:absolute;
  z-index:0;
  top:-7px;
  left:-2px;
  display:block;
  width:98px;
  height:134px;
  background:url('/user/documents/upload/Codex/cq2711.svg') center / contain no-repeat;
  pointer-events:none;
  user-select:none;
}
body.in-kosik #content .nl-coupon-card > .nl-coupon-title {
  position:relative;
  z-index:1;
  display:block;
  width:auto;
  min-width:0;
  margin:0 0 13px;
  padding:0;
  color:#08556a;
  font-family:inherit;
  font-size:21px;
  font-weight:500;
  line-height:1.3;
  text-align:left;
  cursor:text;
}
body.in-kosik #content .nl-coupon-title > strong {
  position:relative;
  display:inline-block;
  color:#07323e;
  font:inherit;
  font-weight:700;
  white-space:nowrap;
}
body.in-kosik #content .nl-coupon-title > strong::after {
  content:'';
  position:absolute;
  z-index:-1;
  left:4%;
  right:-1%;
  bottom:-3px;
  height:5px;
  border-radius:60% 45% 50% 50%;
  background:linear-gradient(90deg,#dff4a8,#b1df22 74%);
  transform:rotate(-2deg);
  pointer-events:none;
}
body.in-kosik #content .nl-coupon-card > form.compact-form {
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:0;
  box-sizing:border-box;
  width:100%;
  min-width:0;
  max-width:none;
  min-height:52px;
  margin:0;
  padding:3px;
  border:1px solid #a8e4ef;
  border-radius:999px;
  background:#fff;
  box-shadow:0 5px 12px #07728b0c;
  float:none;
  overflow:visible;
}
body.in-kosik #content .nl-coupon-card > form.compact-form:focus-within {
  border-color:#159ab5;
  box-shadow:0 0 0 3px #159ab51f;
}
body.in-kosik #content .nl-coupon-card > form.compact-form > input.form-control {
  position:static!important;
  flex:1 1 0%;
  box-sizing:border-box;
  display:block;
  float:none;
  width:0;
  min-width:0;
  max-width:none;
  height:44px;
  min-height:44px;
  margin:0!important;
  padding:10px 8px 10px 13px!important;
  border:0!important;
  border-radius:999px 0 0 999px;
  outline:none;
  background:transparent;
  box-shadow:none!important;
  color:#163b46;
  font-family:inherit;
  font-size:16px;
  font-weight:500;
  line-height:24px;
}
body.in-kosik #content .nl-coupon-card > form.compact-form > input.form-control::placeholder {
  color:#79878d;
  font-family:inherit;
  font-size:16px;
  font-weight:400;
  opacity:1;
}
body.in-kosik #content .nl-coupon-card > form.compact-form > button[type='submit'] {
  position:static!important;
  inset:auto!important;
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  width:auto!important;
  min-width:90px;
  height:44px;
  min-height:44px;
  margin:0!important;
  padding:8px 14px!important;
  border:0!important;
  border-radius:999px!important;
  background:linear-gradient(115deg,#3cc2df,#1bbbd5)!important;
  box-shadow:0 4px 9px #08728c20;
  color:#fff!important;
  font-family:inherit;
  font-size:17px;
  font-weight:700;
  line-height:24px;
  letter-spacing:0;
  text-align:center;
  text-transform:none;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
  touch-action:manipulation;
  transform:none!important;
}
body.in-kosik #content .nl-coupon-card > form.compact-form > button[type='submit']::before,
body.in-kosik #content .nl-coupon-card > form.compact-form > button[type='submit']::after {
  content:none;
}
body.in-kosik #content .nl-coupon-card > form.compact-form > button[type='submit']:hover {
  background:linear-gradient(115deg,#22b3d1,#0ca8c4)!important;
}
body.in-kosik #content .nl-coupon-card > form.compact-form > button[type='submit']:focus-visible {
  outline:2px solid #086479;
  outline-offset:3px;
}
body.in-kosik #content .nl-coupon-card > form.compact-form > button[type='submit']:disabled {
  opacity:.6;
  cursor:default;
}
body.in-kosik #content .nl-coupon-card > form.compact-form > input.form-control[aria-invalid='true'] {
  color:#a02829;
}
body.in-kosik #content .nl-coupon-card > form.compact-form:has(input[aria-invalid='true']) {
  border-color:#b54b4c;
}
@media (max-width:767px) {
  body.in-kosik #content .discount-coupon.nl-coupon-card {
    min-height:128px;
    margin-top:16px;
    padding:16px 12px 16px 86px;
    border-radius:22px;
  }
  body.in-kosik #content .nl-coupon-card > .nl-coupon-art {
    top:-6px;
    left:-4px;
    width:91px;
    height:128px;
  }
  body.in-kosik #content .nl-coupon-card > .nl-coupon-title {
    margin-bottom:12px;
    font-size:20px;
  }
  body.in-kosik #content .nl-coupon-card > form.compact-form > button[type='submit'] {
    min-width:84px;
    padding-right:11px!important;
    padding-left:11px!important;
    font-size:16px;
  }
}
@media (max-width:359px) {
  body.in-kosik #content .discount-coupon.nl-coupon-card {
    padding-left:76px;
    padding-right:9px;
  }
  body.in-kosik #content .nl-coupon-card > .nl-coupon-art {
    left:-5px;
    width:81px;
  }
  body.in-kosik #content .nl-coupon-card > .nl-coupon-title {
    font-size:18px;
  }
  body.in-kosik #content .nl-coupon-card > form.compact-form > input.form-control {
    padding-left:10px!important;
  }
  body.in-kosik #content .nl-coupon-card > form.compact-form > button[type='submit'] {
    min-width:80px;
    padding-right:9px!important;
    padding-left:9px!important;
  }
}

/* Cart mobile: continuous free-shipping text with natural wrapping. */
@media (max-width:767px) {
  body.in-kosik #content .cart-content .extra.delivery > span {
    font-size:15px;
    line-height:22px;
    overflow-wrap:normal;
    white-space:normal;
  }
  body.in-kosik #content .cart-content .extra.delivery > span::before {
    width:22px;
    height:22px;
    margin:0 6px 0 0;
    border-radius:0;
    background:transparent;
    font-size:21px;
    line-height:22px;
    vertical-align:-4px;
  }
  body.in-kosik #content .cart-content .extra.delivery > span > strong:first-of-type:not(:only-of-type) {
    display:inline;
    margin:0;
    font-size:16px;
    line-height:inherit;
    white-space:nowrap;
  }
  body.in-kosik #content .cart-content .extra.delivery > span > strong:only-of-type {
    display:inline;
    margin:0;
    font-size:16px;
    line-height:inherit;
  }
}

/* Desktop cart: help, delivery, coupon and total share the right column. */
@media (min-width:992px) {
  body.in-kosik #content .cart-summary.nl-coupon-summary-empty {
    display:none;
  }
  body.in-kosik #content .sidebar-in-cart > .cart-content.nl-cart-sidebar-extras {
    display:block;
    box-sizing:border-box;
    width:100%;
    min-width:0;
    max-width:none;
    margin:20px 0 0;
    padding:0;
    border:0;
    background:transparent;
    box-shadow:none;
  }
  body.in-kosik #content .nl-cart-sidebar-extras > .extras-wrap.nl-coupon-stack {
    display:block;
    box-sizing:border-box;
    width:100%;
    min-width:0;
    max-width:100%;
    margin:0;
    padding:0;
  }
  body.in-kosik #content .nl-cart-sidebar-extras > .extras-wrap > .delivery-time[data-testid="deliveryTime"] {
    margin-bottom:0;
  }
  body.in-kosik #content .nl-coupon-in-sidebar > .discount-coupon.nl-coupon-card {
    min-height:0;
    margin-top:16px;
    padding:12px;
    border-radius:20px;
  }
  body.in-kosik #content .nl-coupon-in-sidebar .nl-coupon-card > .nl-coupon-art {
    top:-9px;
    left:8px;
    width:58px;
    height:70px;
  }
  body.in-kosik #content .nl-coupon-in-sidebar .nl-coupon-card > .nl-coupon-title {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    align-content:center;
    gap:0 .25em;
    box-sizing:border-box;
    min-height:40px;
    margin:0 0 9px;
    padding:0 0 0 56px;
    font-size:18px;
    line-height:23px;
  }
  body.in-kosik #content .nl-coupon-in-sidebar .nl-coupon-card > form.compact-form {
    width:100%;
    min-width:0;
    margin:0;
  }
  body.in-kosik #content .nl-coupon-in-sidebar .nl-coupon-card > form.compact-form > button[type='submit'] {
    min-width:84px;
    padding-right:11px!important;
    padding-left:11px!important;
    font-size:16px;
  }
  body.in-kosik #content .nl-cart-sidebar-extras + .summary-wrapper {
    margin-top:20px;
  }
  /* The upsell add-on sets descriptions to 150% width; keep them in the left column. */
  body.in-kosik #content .fvDoplnek-upsell .fvDoplnek-alignCenter > .fvcontent {
    min-width:0;
    max-width:100%;
  }
  body.in-kosik #content .fvDoplnek-upsell .fvcontent > .fvDoplnek-description {
    box-sizing:border-box;
    width:100%;
    max-width:100%;
    white-space:normal;
    overflow-wrap:break-word;
  }
  body.in-kosik #content .fvDoplnek-upsell .fvDoplnek-text > .price,
  body.in-kosik #content .fvDoplnek-upsell .fvDoplnek-text > .common_price {
    white-space:nowrap;
  }
}

/* Cart CZ/SK: consistent card corners and the approved pale cyan palette.
   Scope is the first cart step only; native controls and calculations stay intact. */
body.in-kosik #content {
  --nl-cart-card-radius:20px;
}
body.in-kosik #content .cart-content.checkout-box-wrapper,
body.in-kosik #content .cart-content.summary-wrapper {
  border-color:#c7eaf3;
  border-radius:var(--nl-cart-card-radius);
  background:linear-gradient(125deg,#fff 0%,#f5fcfe 60%,#eaf9fd 100%);
  box-shadow:0 4px 16px rgba(23,117,140,.04);
}
body.in-kosik #content .cart-content.checkout-box-wrapper > .box,
body.in-kosik #content .cart-content.summary-wrapper > .box,
body.in-kosik #content .checkout-box-wrapper .contact-box > ul {
  background:transparent;
}
body.in-kosik #content .fvDoplnek-upsell .fvDoplnek-produkt,
body.in-kosik #content .discount-coupon.nl-coupon-card,
body.in-kosik #content .nl-coupon-in-sidebar > .discount-coupon.nl-coupon-card {
  border-radius:var(--nl-cart-card-radius);
}

/* Shipping and its date are two native elements that form one rounded card. */
body.in-kosik #content .cart-content .extras-wrap > .extra.delivery,
body.in-kosik #content .cart-content > .delivery-time[data-testid="deliveryTime"],
body.in-kosik #content .cart-content .extras-wrap > .delivery-time[data-testid="deliveryTime"] {
  border-radius:var(--nl-cart-card-radius);
}
body.in-kosik #content .cart-content .extras-wrap > .extra.delivery:has(+ .delivery-time[data-testid="deliveryTime"]) {
  border-radius:var(--nl-cart-card-radius) var(--nl-cart-card-radius) 0 0;
}
body.in-kosik #content .cart-content .extras-wrap > .extra.delivery + .delivery-time[data-testid="deliveryTime"] {
  border-radius:0 0 var(--nl-cart-card-radius) var(--nl-cart-card-radius);
}

/* Desktop has one product table; mobile has a separate card for each item. */
@media (min-width:768px) {
  body.in-kosik #content .cart-table {
    border-collapse:separate;
    border-spacing:0;
    border-radius:var(--nl-cart-card-radius);
    background:linear-gradient(125deg,#fff 0%,#fbfeff 70%,#f4fcfe 100%);
    box-shadow:inset 0 0 0 1px #d1e9f0;
  }
  body.in-kosik #content .cart-table > tbody > tr > td {
    background:transparent;
  }
  body.in-kosik #content .cart-table > tbody > tr[data-micro-sku]:not(.related-visible):has(~ tr[data-micro-sku]) > td,
  body.in-kosik #content .cart-table > tbody > tr.related:has(~ tr[data-micro-sku]) > td {
    border-bottom:1px solid #e4e4e4;
  }
  body.in-kosik #content .cart-table > tbody > tr[data-micro-sku]:not(:has(~ tr[data-micro-sku])) > td,
  body.in-kosik #content .cart-table > tbody > tr.related:last-child > td {
    border-bottom:0;
  }
}
@media (max-width:767px) {
  body.in-kosik #content .cart-table > tbody > tr[data-micro-sku] {
    border-radius:var(--nl-cart-card-radius);
  }
}

/* Cart CZ/SK: tablet uses the same full-width stack as the mobile cart.
   The right sidebar starts at 992px in both the CSS and existing rv35.js. */
@media (max-width:991px) {
  body.in-kosik #content .cart-summary .extras-wrapper.nl-coupon-layout {
    box-sizing:border-box;
    padding:0;
  }
  body.in-kosik #content .cart-summary .nl-coupon-column > .extras-wrap.nl-coupon-stack {
    width:100%;
    min-width:0;
    margin:0;
  }
}

@media (min-width:768px) and (max-width:991px) {
  body.in-kosik #content .cart-summary {
    padding-left:0;
    padding-right:0;
  }
  body.in-kosik #content .cart-summary .extras-wrapper.nl-coupon-layout {
    margin-bottom:0;
  }
}

/* Allow the help heading to wrap without overlapping its next line. */
body.in-kosik #content .checkout-box-wrapper h2 {
  line-height:1.25!important;
}

/* The add-on's 150% description width must be corrected on tablet too. */
body.in-kosik #content .fvDoplnek-upsell .fvDoplnek-alignCenter > .fvcontent {
  min-width:0;
  max-width:100%;
}
body.in-kosik #content .fvDoplnek-upsell .fvcontent > .fvDoplnek-description {
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  white-space:normal;
  overflow-wrap:break-word;
}
body.in-kosik #content .fvDoplnek-upsell .fvDoplnek-text > .price,
body.in-kosik #content .fvDoplnek-upsell .fvDoplnek-text > .common_price {
  white-space:nowrap;
}

/* Cart CZ/SK: sharper, consistent corners. */
body.in-kosik #content {
  --nl-cart-card-radius:12px;
}

/* Keep the name and contact links together instead of a separate padded band. */
body.in-kosik #content .cart-content.checkout-box-wrapper {
  padding:20px;
}
body.in-kosik #content .checkout-box-wrapper .contact-box > h2 {
  margin-bottom:4px;
}
body.in-kosik #content .checkout-box-wrapper .contact-box > strong {
  margin-bottom:0;
}
body.in-kosik #content .checkout-box-wrapper .contact-box > ul {
  margin:10px 0 0;
  padding:0;
}

/* ReBox mobile: retain the 44px information control and switch hit area. */
@media (max-width:767px) {
  body.in-kosik.cs #content .fvDoplnek-upsell .nl-a1-rebox {
    padding:8px 10px!important;
  }
  body.in-kosik.cs #content .fvDoplnek-upsell .nl-a1-rebox form.fvDoplnek-alignCenter {
    grid-template-columns:52px minmax(0,1fr) 48px!important;
    gap:4px 8px!important;
  }
  body.in-kosik.cs #content .fvDoplnek-upsell .nl-a1-rebox .nl-a1-photo,
  body.in-kosik.cs #content .fvDoplnek-upsell .nl-a1-rebox .nl-a1-photo .fvDoplnek-product-image {
    width:52px!important;
    height:52px!important;
  }
  body.in-kosik.cs #content .fvDoplnek-upsell .nl-a1-rebox .nl-a1-short {
    line-height:18px;
  }
  body.in-kosik.cs #content .fvDoplnek-upsell .nl-a1-rebox .nl-a1-prices {
    row-gap:0;
    line-height:18px;
  }
  body.in-kosik.cs #content .fvDoplnek-upsell .nl-a1-rebox .nl-a1-info-panel {
    margin-top:6px;
    padding:10px;
  }
}

/* Compact the native desktop/tablet ReBox without changing its controls. */
@media (min-width:768px) {
  body.in-kosik.cs #content .fvDoplnek-upsell .fvDoplnek-produkt:has(.fvcontent[code="3067"]) {
    padding:8px 12px!important;
  }
  body.in-kosik.cs #content .fvDoplnek-upsell .fvDoplnek-produkt:has(.fvcontent[code="3067"]) .fvDoplnek-product-image {
    width:48px!important;
    height:48px!important;
    margin-right:12px!important;
    flex:0 0 48px;
    object-fit:contain;
  }
  body.in-kosik.cs #content .fvDoplnek-upsell .fvcontent[code="3067"] > .header {
    line-height:22px;
  }
  body.in-kosik.cs #content .fvDoplnek-upsell .fvcontent[code="3067"] > .fvDoplnek-description {
    font-size:13px;
    line-height:18px;
  }
}

/* The mobile cart's Heureka panel opens only after an explicit action.
   Keep the existing certificate artwork and the provider's review iframe. */
@media (max-width:767px) {
  body.in-kosik #heurekaIfrBoxleft { display:none !important; }
  body.in-kosik #nl-cart-heureka-slot {
    height:68px !important;
    padding:0;
  }
  body.in-kosik #nl-cart-heureka-slot.nl-heureka-open {
    height:385px !important;
  }
  body.in-kosik #nl-cart-heureka-slot > div {
    position:absolute !important;
    top:20px !important;
    right:auto !important;
    bottom:auto !important;
    left:0 !important;
    width:320px !important;
    max-width:100%;
    height:auto !important;
    padding-top:36px;
    z-index:auto !important;
  }
  body.in-kosik #nl-cart-heureka-slot #heurekaTableft {
    left:0 !important;
    cursor:pointer;
  }
  body.in-kosik #nl-cart-heureka-slot #heurekaTableft:focus-visible {
    outline:2px solid #08748c;
    outline-offset:3px;
  }
  body.in-kosik #nl-cart-heureka-slot #heurekaIfrBoxleft {
    display:none !important;
    position:relative !important;
    float:none !important;
    top:0 !important;
    left:0 !important;
    width:100% !important;
    max-width:320px;
    height:317px;
    overflow-x:auto !important;
    overflow-y:hidden !important;
  }
  body.in-kosik #nl-cart-heureka-slot.nl-heureka-open #heurekaIfrBoxleft {
    display:block !important;
  }
  body.in-kosik #nl-cart-heureka-slot #iframe-widgetleft {
    display:block;
    float:none !important;
    width:320px !important;
    height:317px !important;
  }
}
@media (max-width:335px) {
  body.in-kosik #nl-cart-heureka-slot.nl-heureka-open { height:400px !important; }
  body.in-kosik #nl-cart-heureka-slot #heurekaIfrBoxleft { height:332px; }
}
@media print {
  body.in-kosik #nl-cart-heureka-slot,
  body.in-kosik #hw-87kwowifjjowiklsadh666left {
    display:none !important;
  }
}

/* Nanolab — product question and watchdog dialogs, CZ/SK, 2026-11-28.
   Presentation only: native fields, validation, CAPTCHA and submission remain intact. */
#colorbox:has(#formProductQuestion, #watchdog-form) {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  width: min(600px, calc(100% - 32px)) !important;
  height: auto !important;
  max-width: none;
  padding: 0;
  border: 1px solid #c8e4eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 70px rgba(16, 54, 68, .24);
  z-index: 2147483000 !important;
}
body:has(#colorbox #formProductQuestion, #colorbox #watchdog-form) #cboxOverlay {
  background: #142f39;
  opacity: .48 !important;
  z-index: 2147482999 !important;
}
#colorbox:has(#formProductQuestion, #watchdog-form) #cboxWrapper {
  position: relative;
  width: 100% !important;
  height: auto !important;
  overflow: visible;
}
#colorbox:has(#formProductQuestion, #watchdog-form) :is(#cboxTopLeft, #cboxTopCenter, #cboxTopRight, #cboxMiddleLeft, #cboxMiddleRight, #cboxBottomLeft, #cboxBottomCenter, #cboxBottomRight, #cboxTitle) {
  display: none !important;
}
#colorbox:has(#formProductQuestion, #watchdog-form) #cboxContent {
  position: relative;
  float: none !important;
  width: 100% !important;
  height: auto !important;
  margin: 0;
  border: 0;
  border-radius: 11px;
  overflow: hidden;
  background: #fff;
}
#colorbox:has(#formProductQuestion, #watchdog-form) #cboxLoadedContent {
  width: 100% !important;
  height: auto !important;
  max-height: calc(100vh - 34px);
  max-height: calc(100dvh - 34px);
  margin: 0;
  padding: 0;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
}
#colorbox .content-modal:has(#formProductQuestion, #watchdog-form) {
  padding: 24px;
  color: #243a43;
  font-size: 15px;
  line-height: 1.5;
}
#colorbox .content-modal:has(#formProductQuestion) > h1,
#colorbox #watchdog-form > .watchdog-title {
  display: block;
  width: auto;
  margin: -24px -24px 20px;
  padding: 20px 72px 20px 24px;
  border-top: 4px solid #21bad2;
  border-bottom: 1px solid #d4eaf0;
  background: linear-gradient(110deg, #effbfe, #e1f5fa);
  color: #163e4b;
  font-family: inherit;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}
#colorbox #watchdog-form > .watchdog-title strong {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}
#colorbox:has(#formProductQuestion, #watchdog-form) #cboxClose {
  position: absolute;
  top: 13px;
  right: 12px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid #c8e2e9;
  border-radius: 8px;
  background: #fff;
  color: #285462;
  font-size: 0;
  line-height: 1;
  text-indent: 0;
  box-shadow: none;
}
#colorbox:has(#formProductQuestion, #watchdog-form) #cboxClose::before,
#colorbox:has(#formProductQuestion, #watchdog-form) #cboxClose::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 12px;
  width: 18px;
  height: 2px;
  margin: 0;
  background: currentColor;
  transform: rotate(45deg);
}
#colorbox:has(#formProductQuestion, #watchdog-form) #cboxClose::after {
  transform: rotate(-45deg);
}
#colorbox:has(#formProductQuestion, #watchdog-form) #cboxClose:hover {
  border-color: #8fcbd8;
  background: #eefafd;
}
#colorbox :is(#formProductQuestion, #watchdog-form) {
  width: 100%;
  margin: 0;
  padding: 0;
}
#colorbox :is(#formProductQuestion, #watchdog-form) .form-legend { display: none; }
#colorbox #formProductQuestion > fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
#colorbox #formProductQuestion > fieldset > :is(.form-group, fieldset) { grid-column: 1 / -1; }
#colorbox #formProductQuestion > fieldset > .form-group:has(#productQuestionEmail) { grid-column: 1; }
#colorbox #formProductQuestion > fieldset > .form-group:has(#productQuestionPhone) { grid-column: 2; }
#colorbox :is(#formProductQuestion, #watchdog-form) .form-group {
  display: block;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 0;
}
#colorbox :is(#formProductQuestion, #watchdog-form) .form-group > label {
  display: block;
  position: static;
  float: none;
  width: auto;
  max-width: none;
  height: auto;
  margin: 0 0 6px;
  padding: 0;
  color: #2e4853;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
  transform: none;
}
#colorbox :is(#formProductQuestion, #watchdog-form) .form-control-wrapper {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}
#colorbox :is(#formProductQuestion, #watchdog-form) .form-control {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: 46px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #b8d2dc;
  border-radius: 8px;
  background: #fff;
  color: #203a45;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: none;
}
#colorbox :is(#formProductQuestion, #watchdog-form) .form-control:focus {
  border-color: #07889d;
  outline: 3px solid rgba(20, 173, 197, .18);
  outline-offset: 1px;
}
#colorbox #formProductQuestion textarea.form-control {
  height: 120px;
  min-height: 104px;
  resize: vertical;
}
#colorbox :is(#formProductQuestion, #watchdog-form) .required-asterisk::after { color: #c73b57; }
#colorbox :is(#formProductQuestion, #watchdog-form) .consents {
  margin: 0;
  padding: 0;
  text-align: left;
}
#colorbox :is(#formProductQuestion, #watchdog-form) .consents .label {
  display: block;
  margin: 0;
  padding: 0;
  color: #586b74;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  white-space: normal;
}
#colorbox :is(#formProductQuestion, #watchdog-form) .consents a {
  color: #087d92;
  text-decoration: underline;
  text-underline-offset: 2px;
}
#colorbox :is(#formProductQuestion, #watchdog-form) .submit-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid #dcebf0;
}
#colorbox :is(#formProductQuestion, #watchdog-form) .submit-wrapper .btn:not(.btn-plain) {
  min-width: 168px;
  min-height: 46px;
  margin: 0;
  padding: 11px 24px;
  border: 1px solid #087e93;
  border-radius: 8px;
  background: #087e93;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: none;
  box-shadow: 0 3px 9px rgba(7, 126, 147, .14);
}
#colorbox :is(#formProductQuestion, #watchdog-form) .submit-wrapper .btn:not(.btn-plain):hover {
  border-color: #066b7e;
  background: #066b7e;
}
#colorbox:has(#formProductQuestion, #watchdog-form) :is(button, a):focus-visible {
  outline: 3px solid #07889d;
  outline-offset: 3px;
}
/* Keep the native challenge visible if Shoptet supplies one. */
#colorbox #formProductQuestion > fieldset > fieldset {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 8px 16px;
  align-items: end;
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid #d8e7ed;
  border-radius: 8px;
  background: #f5fafb;
}
#colorbox #formProductQuestion > fieldset > fieldset > h2 {
  grid-column: 1 / -1;
  margin: 0;
  color: #2e4853;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
#colorbox #formProductQuestion .captcha-image { align-self: end; padding-bottom: 3px; }
#colorbox #formProductQuestion .captcha-image img { width: 150px; height: 40px; max-width: 100%; }
/* Native watchdog choices stay real checkboxes with their original labels. */
#colorbox #watchdog-form > .form-group { margin-bottom: 16px; }
#colorbox #watchdog-form > .form-group:has(> .watchdog-checkbox) {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 0;
  align-items: center;
  margin-bottom: 10px;
  padding: 6px 12px;
  border: 1px solid #d7e6ec;
  border-radius: 8px;
  background: #f8fbfc;
}
#colorbox #watchdog-form > .form-group:has(> .watchdog-checkbox:checked) {
  border-color: #3eafc2;
  background: #edfafd;
}
#colorbox #watchdog-form > .form-group:has(> .watchdog-checkbox:disabled) {
  background: #f5f7f8;
  border-color: #e1e7ea;
}
#colorbox #watchdog-form > .form-group:has(> #drop) {
  grid-template-columns: 20px minmax(0, 1fr) 104px;
  margin-bottom: 18px;
}
#colorbox #watchdog-form .watchdog-checkbox {
  display: block;
  position: static;
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  opacity: 1;
  clip: auto;
  clip-path: none;
  transform: none;
  accent-color: #087e93;
  cursor: pointer;
}
#colorbox #watchdog-form .watchdog-checkbox + label {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}
#colorbox #watchdog-form .watchdog-checkbox + label::before,
#colorbox #watchdog-form .watchdog-checkbox + label::after { content: none; }
#colorbox #watchdog-form .watchdog-checkbox:disabled,
#colorbox #watchdog-form .watchdog-checkbox:disabled + label { color: #64747c; cursor: default; }
#colorbox #watchdog-form .disclaimer:not(.hidden) {
  grid-column: 2 / -1;
  display: block;
  margin: -5px 0 6px;
  color: #64747c;
  font-size: 12px;
  line-height: 1.4;
}
#colorbox #watchdog-form #priceUnder { width: 104px; height: 44px; }
#colorbox #watchdog-form .watchdog-messages:empty { display: none; }
#colorbox #watchdog-form > .submit-wrapper { margin-bottom: 0; }
@media (max-width: 540px) {
  #colorbox:has(#formProductQuestion, #watchdog-form) {
    width: calc(100% - 24px) !important;
  }
  #colorbox:has(#formProductQuestion, #watchdog-form) #cboxLoadedContent {
    max-height: calc(100vh - 26px);
    max-height: calc(100dvh - 26px);
  }
  #colorbox .content-modal:has(#formProductQuestion, #watchdog-form) { padding: 16px; }
  #colorbox .content-modal:has(#formProductQuestion) > h1,
  #colorbox #watchdog-form > .watchdog-title {
    margin: -16px -16px 18px;
    padding: 18px 68px 18px 16px;
    font-size: 22px;
  }
  #colorbox #formProductQuestion > fieldset { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  #colorbox #formProductQuestion > fieldset > .form-group:has(#productQuestionEmail),
  #colorbox #formProductQuestion > fieldset > .form-group:has(#productQuestionPhone) { grid-column: 1; }
  #colorbox #formProductQuestion > fieldset > fieldset { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  #colorbox :is(#formProductQuestion, #watchdog-form) .submit-wrapper .btn:not(.btn-plain) { width: 100%; }
  #colorbox #watchdog-form > .form-group:has(> #drop) { grid-template-columns: 20px minmax(0, 1fr) 84px; }
  #colorbox #watchdog-form #priceUnder { width: 84px; }
}

/* Preserve the native Shoptet error-field and validator messages. */
#colorbox :is(#formProductQuestion, #watchdog-form) .form-control.error-field,
#colorbox :is(#formProductQuestion, #watchdog-form) .form-control[aria-invalid="true"] { border-color:#c43a50; background:#fffafb; }
#colorbox :is(#formProductQuestion, #watchdog-form) .form-control.error-field:focus { outline-color:rgba(196,58,80,.2); }
#colorbox :is(#formProductQuestion, #watchdog-form) .validator-msg.msg-error { margin-top:6px; color:#b32b42; font-size:13px; line-height:1.4; }

/* Neutralize legacy clearfix pseudo-elements inside these two form layouts. */
#colorbox :is(#formProductQuestion, #watchdog-form) .form-group::before,
#colorbox :is(#formProductQuestion, #watchdog-form) .form-group::after { display:none; content:none; }
#colorbox :is(#formProductQuestion, #watchdog-form) .submit-wrapper { padding-top:16px !important; }
#colorbox #watchdog-form .watchdog-checkbox { grid-column:1; grid-row:1; }
#colorbox #watchdog-form .watchdog-checkbox + label { grid-column:2; grid-row:1; }
#colorbox #watchdog-form .watchdog-checkbox:disabled + label { opacity:1; }
#colorbox #watchdog-form #priceUnder { grid-column:3; grid-row:1; }
#colorbox #watchdog-form .disclaimer:not(.hidden) { grid-row:2; }
/* Inline, wrapping validation messages: native desktop tooltips would be clipped. */
#colorbox :is(#formProductQuestion, #watchdog-form) .validator-msg.msg-error { position:static !important; float:none; inset:auto; display:block; width:auto; max-width:100%; min-height:0; height:auto; margin:6px 0 0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; white-space:normal; text-align:left; transform:none; }
#colorbox :is(#formProductQuestion, #watchdog-form) .validator-msg.msg-error::before,
#colorbox :is(#formProductQuestion, #watchdog-form) .validator-msg.msg-error::after { display:none; content:none; }

/* Pause floating review/lead-generation overlays only while a product form is open. */
body:has(#colorbox #formProductQuestion, #colorbox #watchdog-form) :is(#hw-87kwowifjjowiklsadh666left, .LEAD_GENERATION) { display:none !important; }

/* Keep the dialog title and close control visible when a short viewport scrolls. */
#colorbox .content-modal:has(#formProductQuestion) > h1,
#colorbox #watchdog-form > .watchdog-title { position:sticky; top:0; z-index:2; }
#colorbox:has(#formProductQuestion, #watchdog-form) #cboxClose { z-index:3; }
#colorbox:has(#formProductQuestion, #watchdog-form) #cboxLoadedContent { scroll-padding-top:100px; }
@media (max-width:540px) { #colorbox:has(#formProductQuestion, #watchdog-form) #cboxLoadedContent { scroll-padding-top:116px; } }

/* Nanolab product forms — native turquoise actions and focused watchdog UX. */
#colorbox :is(#formProductQuestion, #watchdog-form) .submit-wrapper .btn:not(.btn-plain) {
  border-color: var(--color-primary, #27c0dc);
  background: var(--color-primary, #27c0dc);
  color: #fff;
  box-shadow: 0 3px 10px rgba(39, 192, 220, .16);
}
#colorbox :is(#formProductQuestion, #watchdog-form) .submit-wrapper .btn:not(.btn-plain):hover,
#colorbox :is(#formProductQuestion, #watchdog-form) .submit-wrapper .btn:not(.btn-plain):active {
  border-color: var(--color-primary-hover, #129fb8);
  background: var(--color-primary-hover, #129fb8);
  color: #fff;
}
#colorbox #watchdog-form.nl-watchdog-designed > .watchdog-title {
  margin-bottom: 14px;
}
#colorbox #watchdog-form .nl-watchdog-product {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid #d7eaf0;
  border-radius: 8px;
  background: #f3fbfd;
}
#colorbox #watchdog-form .nl-watchdog-product img {
  flex: 0 0 44px;
  width: 44px;
  height: 48px;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
}
#colorbox #watchdog-form .nl-watchdog-product > div { min-width: 0; }
#colorbox #watchdog-form .nl-watchdog-product-label {
  display: block;
  margin-bottom: 2px;
  color: #607983;
  font-size: 12px;
  line-height: 1.4;
}
#colorbox #watchdog-form .nl-watchdog-product-name {
  display: block;
  color: #193e4b;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
#colorbox #watchdog-form .nl-watchdog-intro {
  margin: 0 0 12px;
  color: #3c5965;
  font-size: 15px;
  line-height: 1.5;
}
#colorbox #watchdog-form.nl-watchdog-designed > .form-group:has(> .watchdog-checkbox) {
  margin-bottom: 8px;
  padding: 4px 12px;
  border-color: #d3e3e9;
  background: #fff;
}
#colorbox #watchdog-form.nl-watchdog-designed > .form-group:has(> .watchdog-checkbox:checked) {
  border-color: var(--color-primary, #27c0dc);
  background: #eefafd;
  box-shadow: 0 0 0 1px rgba(39, 192, 220, .12);
}
#colorbox #watchdog-form.nl-watchdog-designed > .form-group:has(> .watchdog-checkbox:disabled) {
  border-color: #e0e9ed;
  background: #f7f9fa;
  box-shadow: none;
}
#colorbox #watchdog-form.nl-watchdog-designed .watchdog-checkbox {
  accent-color: var(--color-primary, #27c0dc);
}
#colorbox #watchdog-form.nl-watchdog-designed .watchdog-checkbox + label {
  min-height: 44px;
  color: #294953;
  font-size: 15px;
}
#colorbox #watchdog-form.nl-watchdog-designed .watchdog-checkbox:disabled + label {
  color: #667a82;
}
#colorbox #watchdog-form.nl-watchdog-designed .disclaimer:not(.hidden) {
  margin: -2px 0 6px;
}
#colorbox #watchdog-form.nl-watchdog-designed > .form-group:has(> #drop) {
  grid-template-columns: 20px minmax(0, 1fr);
  margin-bottom: 18px;
}
#colorbox #watchdog-form.nl-watchdog-designed > .form-group:has(> #drop):is(:has(> #drop:checked), :has(> .disclaimer:not(.hidden))) {
  grid-template-columns: 20px minmax(0, 1fr) 160px;
}
#colorbox #watchdog-form.nl-watchdog-designed #priceUnder {
  display: none;
  grid-column: 3;
  grid-row: 1;
  width: 100%;
  height: 44px;
  padding-right: 40px;
  font-weight: 600;
}
#colorbox #watchdog-form .nl-watchdog-currency {
  display: none;
  grid-column: 3;
  grid-row: 1;
  z-index: 1;
  justify-self: end;
  margin-right: 12px;
  color: #47636f;
  font-size: 14px;
  font-weight: 600;
  pointer-events: none;
}
#colorbox #watchdog-form.nl-watchdog-designed .form-group:has(> #drop):is(:has(> #drop:checked), :has(> .disclaimer:not(.hidden))) > :is(#priceUnder, .nl-watchdog-currency) {
  display: block;
}
#colorbox #watchdog-form.nl-watchdog-designed .form-group:has(> #drop) > .validator-msg {
  grid-column: 2 / -1;
  grid-row: auto;
}
#colorbox #watchdog-form.nl-watchdog-designed .form-group:has(> #drop) > .disclaimer:not(.hidden) {
  color: #b32b42;
}
#colorbox #watchdog-form.nl-watchdog-designed .form-group:has(> #drop):has(> .disclaimer:not(.hidden)) #priceUnder {
  border-color: #c43a50;
}
#colorbox #watchdog-form.nl-watchdog-designed .form-group:has(> #watchdogNotificationEmail),
#colorbox #watchdog-form.nl-watchdog-designed .form-group:has(> .form-control-wrapper > #watchdogNotificationEmail) {
  margin-bottom: 12px;
}
#colorbox #watchdog-form.nl-watchdog-designed > .consents { margin-bottom: 14px; }
#colorbox #watchdog-form.nl-watchdog-designed > .submit-wrapper {
  padding-top: 14px !important;
}
#colorbox #watchdog-form.nl-watchdog-designed #watchdog-submit {
  width: 100%;
  min-height: 48px;
}
#colorbox #watchdog-form.nl-watchdog-designed .watchdog-messages:not(:empty) {
  margin: 0 0 12px;
}
@media (max-width: 540px) {
  #colorbox #watchdog-form.nl-watchdog-designed > .form-group:has(> #drop):is(:has(> #drop:checked), :has(> .disclaimer:not(.hidden))) {
    grid-template-columns: 20px minmax(0, 1fr);
    padding-bottom: 12px;
    row-gap: 4px;
  }
  #colorbox #watchdog-form.nl-watchdog-designed #priceUnder,
  #colorbox #watchdog-form .nl-watchdog-currency {
    grid-column: 2;
    grid-row: 2;
  }
  #colorbox #watchdog-form.nl-watchdog-designed .form-group:has(> #drop) > .disclaimer:not(.hidden) {
    grid-column: 2;
    grid-row: 3;
    margin: 2px 0 0;
  }
  #colorbox #watchdog-form .nl-watchdog-product { padding: 10px; }
}

/* Watchdog: show either the stock alert or the current native stock status. */
#colorbox #watchdog-form.nl-watchdog-designed > .form-group:has(> #onStock:disabled):has(> .nl-watchdog-stock-status:not(.hidden)) { grid-template-columns:minmax(0,1fr); }
#colorbox #watchdog-form.nl-watchdog-designed > .form-group:has(> #onStock:disabled):has(> .nl-watchdog-stock-status:not(.hidden)) > :is(#onStock, label[for="onStock"]) { display:none; }
#colorbox #watchdog-form.nl-watchdog-designed > .form-group:has(> #onStock:disabled) > .nl-watchdog-stock-status:not(.hidden) { display:flex; align-items:center; grid-column:1 / -1; grid-row:1; min-height:44px; margin:0; color:#397348; font-size:15px; font-weight:700; }
