/* Topmarkt sticky purchase bar v3. Includes v2 appearance and sidebar-aware layout. */
body.type-detail #js-plugin-header.tm-sticky-v2 {
  box-sizing:border-box; position:fixed; z-index:10;
  top:auto!important; bottom:calc(14px + env(safe-area-inset-bottom,0px))!important;
  left:50%!important; right:auto!important; width:calc(100% - 32px); max-width:1220px;
  margin:0; padding:0; border:1px solid #c8e0ed; border-radius:24px;
  background:#e4f2fa; color:#073e52; box-shadow:0 8px 32px rgba(6,70,93,.18);
  transform:translate(-50%,calc(100% + 80px)); visibility:hidden; pointer-events:none;
  transition:transform .2s ease,visibility .2s;
}
body.type-detail #js-plugin-header.tm-sticky-v2.active {
  top:auto!important; bottom:calc(14px + env(safe-area-inset-bottom,0px))!important;
  transform:translate(-50%,0); visibility:visible; pointer-events:auto;
}
body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__container {
  box-sizing:border-box; display:grid; grid-template-columns:52px minmax(0,1fr) auto minmax(190px,250px);
  align-items:center; gap:18px; width:100%; max-width:none; margin:0; padding:13px 18px;
}
body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__image {
  display:flex; align-items:center; justify-content:center; width:52px; height:52px;
  padding:3px; border:1px solid #d2e7f1; border-radius:14px; background:#fff; overflow:hidden;
}
body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__img {
  display:block; width:auto; height:auto; max-width:100%; max-height:100%; object-fit:contain;
}
body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__name {
  display:block; width:auto; min-width:0; font-size:17px; font-weight:600; line-height:1.3;
}
body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-title {
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2;
  overflow:hidden; overflow-wrap:anywhere;
}
body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__availability {
  display:block; width:auto; margin-top:4px; padding:0;
  color:var(--tm-sticky-availability,#496779); font-size:13px; font-weight:600; line-height:1.3;
}
body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__price {
  display:block; width:auto; min-width:0; max-width:220px; text-align:right;
  color:#073e52; font-size:30px; font-weight:700; line-height:1.15; letter-spacing:-.4px;
}
body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-current-price { display:block; overflow-wrap:anywhere; }
body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-mobile-availability { display:none; }
body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__basket { width:100%; min-width:0; padding:0; text-align:center; }
body.type-detail #js-plugin-header.tm-sticky-v2 #js-plugin-fixed-header-add-to-cart {
  box-sizing:border-box; display:flex!important; align-items:center; justify-content:center;
  width:100%!important; min-width:0; height:auto; min-height:54px; margin:0; padding:12px 16px!important;
  border:1px solid transparent!important; border-radius:999px!important;
  background:#168000!important; color:#fff!important; box-shadow:0 4px 12px rgba(22,128,0,.13);
  font-family:inherit; font-size:18px; font-weight:700; line-height:1.25!important;
  letter-spacing:0; text-transform:none; text-align:center; white-space:normal;
}
body.type-detail #js-plugin-header.tm-sticky-v2 #js-plugin-fixed-header-add-to-cart::before,
body.type-detail #js-plugin-header.tm-sticky-v2 #js-plugin-fixed-header-add-to-cart::after { content:none!important; }
body.type-detail #js-plugin-header.tm-sticky-v2 #js-plugin-fixed-header-add-to-cart:focus-visible { outline:3px solid #007eaf; outline-offset:3px; }
body.type-detail #js-plugin-header.tm-sticky-v2 #js-plugin-fixed-header-add-to-cart:disabled {
  background:#d6dde1!important; color:#435661!important; box-shadow:none; cursor:not-allowed;
}
@media (hover:hover) {
  body.type-detail #js-plugin-header.tm-sticky-v2 #js-plugin-fixed-header-add-to-cart:not(:disabled):hover { background:#116700!important; }
}
@media (max-width:991px) and (min-width:768px) {
  body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__container { grid-template-columns:44px minmax(0,1fr) auto 190px; gap:12px; padding:12px 14px; }
  body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__image { width:44px; height:44px; }
  body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__name { font-size:15px; }
  body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__price { font-size:26px; }
  body.type-detail #js-plugin-header.tm-sticky-v2 #js-plugin-fixed-header-add-to-cart { font-size:16px; }
}
@media (max-width:767px) {
  body.type-detail #js-plugin-header.tm-sticky-v2,
  body.type-detail #js-plugin-header.tm-sticky-v2.active {
    width:calc(100% - 16px); bottom:calc(8px + env(safe-area-inset-bottom,0px))!important; border-radius:20px;
  }
  body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__container {
    grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr); gap:10px; padding:10px 12px;
  }
  body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__image,
  body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__name { display:none; }
  body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__price { max-width:none; font-size:28px; text-align:left; }
  body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-mobile-availability {
    display:block; margin-top:4px; color:var(--tm-sticky-availability,#496779);
    font-size:12px; font-weight:600; line-height:1.25; letter-spacing:0;
  }
  body.type-detail #js-plugin-header.tm-sticky-v2 #js-plugin-fixed-header-add-to-cart { min-height:50px; padding:10px 12px!important; font-size:16px; }
}
@media (max-width:359px) {
  body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__container { padding:9px 10px; gap:8px; }
  body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__price { font-size:24px; }
  body.type-detail #js-plugin-header.tm-sticky-v2 #js-plugin-fixed-header-add-to-cart { font-size:15px; }
}
@media (prefers-reduced-motion:reduce) { body.type-detail #js-plugin-header.tm-sticky-v2 { transition:none; } }
@media print { body.type-detail #js-plugin-header.tm-sticky-v2 { display:none!important; } }

/* Quantity and supplementary information use the live product form. */
body.type-detail #js-plugin-header.tm-sticky-v2 { max-width:1280px; }
body.type-detail #js-plugin-header.tm-sticky-v2 [hidden] { display:none!important; }
body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__container {
  grid-template-columns:52px minmax(0,1fr) auto minmax(320px,390px); gap:10px 16px;
}
body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__price { font-size:30px; max-width:180px; }
body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-tax,
body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-measure {
  display:block; margin-top:4px; color:#607682; font-size:12px; font-weight:400; line-height:1.3; letter-spacing:0;
}
body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__basket {
  display:grid; grid-template-columns:116px minmax(0,1fr); align-items:center; gap:10px;
}
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-no-quantity .plugin-fixed-header__basket { grid-template-columns:minmax(0,1fr); }
body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-quantity {
  display:grid; grid-template-columns:36px minmax(0,1fr) 36px; align-items:center;
  box-sizing:border-box; width:116px; height:48px; padding:4px;
  border:1px solid #c9dbe4; border-radius:999px; background:#fff;
}
body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-quantity button {
  display:flex; align-items:center; justify-content:center; box-sizing:border-box;
  width:36px; height:36px; margin:0; padding:0; border:0; border-radius:50%;
  background:#edf4f7; color:#073e52; font-family:inherit; font-size:24px; font-weight:500; line-height:1;
}
body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-quantity button::before,
body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-quantity button::after { content:none; }
body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-amount {
  box-sizing:border-box; width:100%; min-width:0; height:38px; min-height:0;
  margin:0; padding:0; border:0; border-radius:6px; box-shadow:none; background:transparent;
  color:#073e52; font-family:inherit; font-size:16px; font-weight:600; line-height:1.2; text-align:center;
  appearance:textfield; -moz-appearance:textfield;
}
body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-amount::-webkit-inner-spin-button,
body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-amount::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-quantity button:disabled { opacity:.4; cursor:not-allowed; }
body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-amount:disabled { opacity:.6; }
body.type-detail #js-plugin-header.tm-sticky-v2 #js-plugin-fixed-header-add-to-cart { flex-wrap:wrap; gap:4px 0; font-size:17px; }
body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-button-mobile-label { display:none; }
body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-total {
  margin-left:8px; padding-left:8px; border-left:1px solid rgba(255,255,255,.4);
  font-size:14px; font-weight:700; white-space:nowrap;
}
body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-details { grid-column:1 / -1; min-width:0; margin:0; padding:0; }
body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-details>summary { display:none; }
body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-details-content {
  display:flex; align-items:center; flex-wrap:wrap; gap:10px 18px; padding:10px 0 0; border-top:1px solid #c8e0ed;
  color:#334e5f; font-size:13px; font-weight:400; line-height:1.4;
}
body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-extra-prices { display:none; }
body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-delivery { display:flex; flex-wrap:wrap; align-items:center; gap:10px 22px; min-width:0; }
body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-delivery .tm-delivery-row { display:flex; align-items:center; gap:8px; min-width:0; }
body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-delivery svg { width:19px; height:19px; flex:0 0 19px; color:#007eaf; }
body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-details a { color:#006c9a; text-decoration:underline; text-underline-offset:3px; }
body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-options { margin-left:auto; font-weight:600; }
body.type-detail #js-plugin-header.tm-sticky-v2 :is(input,button,a,summary):focus-visible { outline:3px solid #007eaf; outline-offset:2px; }
@media (min-width:768px) and (max-width:991px) {
  body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__container { grid-template-columns:minmax(0,1fr) minmax(320px,1.8fr); }
  body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__image,
  body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__name { display:none; }
  body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__price { text-align:left; }
  body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-mobile-availability { display:block; font-size:12px; margin-top:4px; color:var(--tm-sticky-availability,#496779); font-weight:600; letter-spacing:0; }
}
@media (max-width:767px) {
  body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__container {
    grid-template-columns:minmax(58px,1fr) 104px minmax(100px,1.6fr); gap:7px 8px; padding:10px;
  }
  body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__price { grid-column:1; grid-row:1; font-size:25px; max-width:none; }
  body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-tax,
  body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-measure { display:none; }
  body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__basket { display:contents; }
  body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-quantity {
    grid-column:2; grid-row:1; width:104px; height:44px; padding:3px; grid-template-columns:32px minmax(0,1fr) 32px;
  }
  body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-quantity button { width:32px; height:32px; font-size:22px; }
  body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-amount { height:36px; font-size:15px; }
  body.type-detail #js-plugin-header.tm-sticky-v2 #js-plugin-fixed-header-add-to-cart {
    grid-column:3; grid-row:1; min-height:52px; flex-direction:column; gap:3px; padding:8px!important; font-size:15px;
  }
  body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-button-label { display:none; }
  body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-button-mobile-label { display:inline; }
  body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-total { margin:0; padding:0; border:0; font-size:12px; }
  body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-details { grid-row:2; }
  body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-details>summary { display:list-item; width:fit-content; margin:0 auto; padding:3px 4px; color:#006c9a; font-size:12px; line-height:20px; cursor:pointer; }
  body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-details-content { padding-top:10px; margin-top:5px; max-height:35vh; overflow:auto; align-items:flex-start; }
  body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-extra-prices { display:grid; gap:3px; flex-basis:100%; color:#607682; font-size:12px; }
  body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-delivery { gap:10px; }
  body.type-detail #js-plugin-header.tm-sticky-v2 .tm-sticky-options { margin-left:0; padding:6px 0; }
  body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-no-quantity .plugin-fixed-header__container { grid-template-columns:minmax(0,1fr) minmax(0,1.6fr); }
  body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-no-quantity #js-plugin-fixed-header-add-to-cart { grid-column:2; }
}
@media (max-width:359px) {
  body.type-detail #js-plugin-header.tm-sticky-v2 .plugin-fixed-header__price { font-size:22px; }
  body.type-detail #js-plugin-header.tm-sticky-v2 #js-plugin-fixed-header-add-to-cart { font-size:14px; }
}

/* Actual available width, measured by the companion script, not a fixed sidebar guess. */
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-beside-cart {
  left:var(--tm-sticky-left)!important;
  right:auto!important;
  width:var(--tm-sticky-width)!important;
  transform:translateY(calc(100% + 80px));
}
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-beside-cart.active { transform:translateY(0); }
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-no-room { visibility:hidden!important; pointer-events:none!important; }

/* Narrow desktop column: price, quantity and action remain on the first row. */
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-compact .plugin-fixed-header__container {
  grid-template-columns:minmax(90px,.9fr) minmax(290px,1.7fr);
  gap:10px 12px;
  padding:12px 14px;
}
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-compact .plugin-fixed-header__image,
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-compact .plugin-fixed-header__name { display:none; }
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-compact .plugin-fixed-header__price {
  max-width:none; font-size:27px; text-align:left;
}
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-compact .tm-sticky-mobile-availability {
  display:block; margin-top:4px; font-size:12px; font-weight:600;
  line-height:1.3; letter-spacing:0; color:var(--tm-sticky-availability,#496779);
}
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-compact .plugin-fixed-header__basket {
  grid-template-columns:108px minmax(0,1fr); gap:9px;
}
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-compact .tm-sticky-quantity { width:108px; }
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-compact #js-plugin-fixed-header-add-to-cart { font-size:16px; padding:10px!important; }
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-compact .tm-sticky-details-content { gap:8px 12px; font-size:12px; }

/* Very narrow remaining column: use the compact controls and expandable details. */
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-small .plugin-fixed-header__container {
  grid-template-columns:minmax(58px,1fr) 104px minmax(100px,1.6fr);
  gap:7px 8px; padding:10px;
}
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-small .plugin-fixed-header__price {
  grid-column:1; grid-row:1; font-size:24px;
}
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-small .plugin-fixed-header__basket { display:contents; }
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-small .tm-sticky-quantity {
  grid-column:2; grid-row:1; width:104px; height:44px;
  padding:3px; grid-template-columns:32px minmax(0,1fr) 32px;
}
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-small .tm-sticky-quantity button { width:32px; height:32px; font-size:22px; }
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-small .tm-sticky-amount { height:36px; font-size:15px; }
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-small #js-plugin-fixed-header-add-to-cart {
  grid-column:3; grid-row:1; min-height:52px; flex-direction:column; gap:3px;
  padding:8px!important; font-size:15px;
}
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-small .tm-sticky-button-label,
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-small .tm-sticky-tax,
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-small .tm-sticky-measure { display:none; }
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-small .tm-sticky-button-mobile-label { display:inline; }
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-small .tm-sticky-total { margin:0; padding:0; border:0; font-size:12px; }
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-small .tm-sticky-details { grid-row:2; }
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-small .tm-sticky-details > summary {
  display:list-item; width:fit-content; margin:0 auto; padding:3px 4px;
  color:#006c9a; font-size:12px; line-height:20px; cursor:pointer;
}
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-small .tm-sticky-details-content {
  max-height:35vh; overflow:auto; margin-top:5px; align-items:flex-start;
}
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-small .tm-sticky-extra-prices { display:grid; gap:3px; flex-basis:100%; color:#607682; }
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-small .tm-sticky-delivery { gap:10px; }
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-small .tm-sticky-options { margin-left:0; padding:6px 0; }
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-compact.tm-sticky-no-quantity .plugin-fixed-header__basket { grid-template-columns:minmax(0,1fr); }
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-small.tm-sticky-no-quantity .plugin-fixed-header__container { grid-template-columns:minmax(0,1fr) minmax(0,1.6fr); }
body.type-detail #js-plugin-header.tm-sticky-v2.tm-sticky-small.tm-sticky-no-quantity #js-plugin-fixed-header-add-to-cart { grid-column:2; }
