/*
 * ToolsEngg Product Page 1.0.0
 * Presentation-only redesign of Journal 3's product page. No data, option, price, cart or checkout behaviour is changed.
 * Everything is scoped to html.route-product-product:not(.popup), i.e. the normal product page, never the Quick View dialog.
 */

html.route-product-product:not(.popup) {
  --te-navy: #10263f;
  --te-ink: #1b2b3c;
  --te-muted: #5d6e80;
  --te-line: #e2e8ef;
  --te-soft: #f5f8fb;
  --te-green: #1fa971;
  --te-green-deep: #0f8a5a;
  --te-blue: #277cd9;
  --te-red: #da0a22;
  --te-radius: 16px;
  --te-font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* The page heading (<h1>) is Journal's own title band, visible on every screen size. The buy box does not repeat it. */
html.route-product-product:not(.popup) #product-product #product.product-details > .title.page-title { display: none !important; }

html.route-product-product:not(.popup) #product-product {
  width: 100%;
  min-width: 0;
  max-width: 1380px;
  margin: 0 auto;
  padding: 8px 28px 0;
  box-sizing: border-box;
  font-family: var(--te-font);
  color: var(--te-ink);
}
html.route-product-product:not(.popup) #product-product .row { margin: 0; }
html.route-product-product:not(.popup) #product-product #content { padding: 0; }

/* ---------- Two-column layout ---------- */
html.route-product-product:not(.popup) #product-product .product-info {
  display: grid;
  grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
  column-gap: 56px;
  align-items: start;
  padding: 10px 0 26px;
}
html.route-product-product:not(.popup) #product-product .product-info > .product-left { grid-column: 1; grid-row: 1; }
html.route-product-product:not(.popup) #product-product .product-info > .product-right { grid-column: 2; grid-row: 1; }
html.route-product-product:not(.popup) #product-product .product-info > #pn-nav { grid-column: 1 / -1; grid-row: 2; }

/* ---------- Gallery ---------- */
html.route-product-product:not(.popup) #product-product .product-left {
  position: sticky;
  top: 72px;
  width: auto;
  min-width: 0;
  padding: 0;
}
html.route-product-product:not(.popup) #product-product .product-image .main-image {
  position: relative;
  padding: 22px;
  border: 1px solid var(--te-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 50px -34px rgba(16, 38, 63, .55);
  overflow: hidden;
}
html.route-product-product:not(.popup) #product-product .product-image .main-image img { border-radius: 10px; }
html.route-product-product:not(.popup) #product-product .product-labels {
  box-sizing: border-box;
  padding: 14px;
  z-index: 3;
}
html.route-product-product:not(.popup) #product-product .product-labels .product-label-default b {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 6px 14px -6px rgba(16, 38, 63, .45);
}
html.route-product-product:not(.popup) #product-product .additional-images { margin: 14px -5px 0; }
html.route-product-product:not(.popup) #product-product .additional-images .additional-image { padding: 5px; }
html.route-product-product:not(.popup) #product-product .additional-images img {
  border: 1.5px solid var(--te-line);
  border-radius: 12px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
html.route-product-product:not(.popup) #product-product .additional-images img:hover {
  border-color: var(--te-green);
  box-shadow: 0 6px 16px -8px rgba(31, 169, 113, .7);
}
html.route-product-product:not(.popup) #product-product .product-blocks.blocks-image { margin-top: 22px; }
html.route-product-product:not(.popup) #product-product .product-blocks.blocks-image .module-item { margin: 0 0 14px; }
html.route-product-product:not(.popup) #product-product .product-blocks.blocks-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--te-line);
  transition: transform .2s ease, box-shadow .2s ease;
}
html.route-product-product:not(.popup) #product-product .product-blocks.blocks-image a:hover img {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -18px rgba(16, 38, 63, .55);
}

/* ---------- Buy box: one flex column ordered for reading ---------- */
html.route-product-product:not(.popup) #product-product .product-right { width: auto; min-width: 0; padding: 0; }
html.route-product-product:not(.popup) #product-product #product.product-details {
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  align-content: flex-start;
  column-gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
html.route-product-product:not(.popup) #product-product #product.product-details > * {
  flex: 0 0 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 0;
  margin-bottom: 0;
  order: 60;
}
/* Free the stats list items so they can be placed individually. */
html.route-product-product:not(.popup) #product-product #product .product-stats,
html.route-product-product:not(.popup) #product-product #product .product-stats > ul { display: contents; }

/* Brand: shown as a card in the product information grid (below), not above the title */
html.route-product-product:not(.popup) #product-product #product .brand-image.product-manufacturer {
  order: 20;
  flex: 0 0 calc(50% - 4px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 8px;
  padding: 12px 15px;
  float: none;
  border-radius: 12px;
  background: var(--te-soft);
  text-align: left;
}
html.route-product-product:not(.popup) #product-product #product .brand-image a {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: none !important;
  text-decoration: none;
}
html.route-product-product:not(.popup) #product-product #product .brand-image img {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  margin: 0;
  object-fit: contain;
  border: 1px solid var(--te-line);
  border-radius: 10px;
  background: #fff;
}
html.route-product-product:not(.popup) #product-product #product .brand-image span {
  display: inline;
  padding: 0;
  text-align: left;
  background: none !important;
  color: var(--te-navy);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
}
html.route-product-product:not(.popup) #product-product #product .brand-image a:hover span { color: var(--te-green-deep); }

/* Title */
html.route-product-product:not(.popup) #product-product #product > .title.page-title {
  display: block !important;
  order: 2;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: none !important;
  color: var(--te-navy);
  font-size: clamp(24px, 2.1vw, 31px);
  font-weight: 750;
  line-height: 1.22;
  letter-spacing: -.012em;
  text-align: left;
  text-transform: none;
  white-space: normal;
  overflow: visible;
}
html.route-product-product:not(.popup) #product-product #product > .title.page-title::after,
html.route-product-product:not(.popup) #product-product #product > .title.page-title > span::after { content: none; }

/* Stock / model / MPN chips */
html.route-product-product:not(.popup) #product-product #product li.product-stock,
html.route-product-product:not(.popup) #product-product #product li.product-model,
html.route-product-product:not(.popup) #product-product #product li.product-mpn {
  order: 3;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  padding: 6px 13px;
  border: 1px solid var(--te-line);
  border-radius: 999px;
  background: var(--te-soft);
  color: var(--te-ink);
  font-size: 13px;
  line-height: 1.4;
  list-style: none;
}
html.route-product-product:not(.popup) #product-product #product li.product-stock::before,
html.route-product-product:not(.popup) #product-product #product li.product-model::before,
html.route-product-product:not(.popup) #product-product #product li.product-mpn::before { content: none !important; }
html.route-product-product:not(.popup) #product-product #product li.product-stock::before {
  content: "" !important;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c0392b;
}
html.route-product-product:not(.popup) #product-product #product li.product-stock.in-stock::before { background: var(--te-green); box-shadow: 0 0 0 3px rgba(31, 169, 113, .2); }
html.route-product-product:not(.popup) #product-product #product li.product-stock b {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
html.route-product-product:not(.popup) #product-product #product li.product-stock span { color: #0f7a50; font-weight: 700; }
html.route-product-product:not(.popup) #product-product #product li.product-stock:not(.in-stock) span { color: #b03a2e; }
html.route-product-product:not(.popup) #product-product #product li.product-model b,
html.route-product-product:not(.popup) #product-product #product li.product-mpn b {
  color: var(--te-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
html.route-product-product:not(.popup) #product-product #product li.product-model span,
html.route-product-product:not(.popup) #product-product #product li.product-mpn span { font-weight: 650; }

/* Rating */
html.route-product-product:not(.popup) #product-product #product > .rating.rating-page {
  order: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 4px 12px;
  margin: 2px 0 16px;
  color: var(--te-muted);
  font-size: 13px;
}
html.route-product-product:not(.popup) #product-product #product > .rating .rating-stars { color: #f2a51b; }
html.route-product-product:not(.popup) #product-product #product > .rating a { color: var(--te-blue); font-weight: 600; text-decoration: none; }
html.route-product-product:not(.popup) #product-product #product > .rating a:hover { text-decoration: underline; }

/* Price card */
html.route-product-product:not(.popup) #product-product #product > .product-price-group {
  order: 5;
  padding: 20px 24px 22px;
  border: 1px solid var(--te-line);
  border-radius: var(--te-radius);
  background: linear-gradient(180deg, #f9fbfd, #f2f6fa);
  text-align: left;
}
html.route-product-product:not(.popup) #product-product #product .product-price-group .price-group {
  display: flex;
  flex-flow: row wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 4px 16px;
}
html.route-product-product:not(.popup) #product-product #product .product-price-new {
  order: 0;
  color: var(--te-navy);
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
}
html.route-product-product:not(.popup) #product-product #product .product-price-old {
  order: 1;
  color: #7d8c9b;
  font-size: 19px;
  font-weight: 400;
}
/* The saving line carries inline !important colour/size; zoom scales it without touching the text. */
html.route-product-product:not(.popup) #product-product #product .product-price-group .price-wrapper > div:not(.price-group) {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  padding: 4px 16px;
  border: 1px solid #bfe6d2;
  border-radius: 999px;
  background: #e8f7ef;
  font-weight: 600;
  zoom: .78;
}
html.route-product-product:not(.popup) #product-product #product .product-price-group .price-wrapper > br { display: none; }

/* Offer countdown: intentionally not shown on the product page */
html.route-product-product:not(.popup) #product-product #product > .countdown-wrapper { display: none !important; }

/* Delivery destination (Country Sync) */
html.route-product-product:not(.popup) #product-product #product > .te-delivery-banner {
  order: 7;
  margin: 14px 0 0;
  border-color: #dde5ee;
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}
html.route-product-product:not(.popup) #product-product .te-delivery-banner .te-dt-trim { height: 3px; }
html.route-product-product:not(.popup) #product-product .te-delivery-banner .te-dt-main { gap: 14px; padding: 14px 18px 12px; }
html.route-product-product:not(.popup) #product-product .te-delivery-banner .te-dt-flag { flex-basis: 46px; width: 46px; }
html.route-product-product:not(.popup) #product-product .te-delivery-banner .te-dt-heading { margin-bottom: 2px; font-size: 18px; }
html.route-product-product:not(.popup) #product-product .te-delivery-banner .te-dt-description { font-size: 12.5px; line-height: 1.4; }
html.route-product-product:not(.popup) #product-product .te-delivery-banner .te-dt-tax { padding: 10px 18px; font-size: 12px; line-height: 1.45; }
html.route-product-product:not(.popup) #product-product .te-delivery-banner .te-dt-foot { padding: 8px 18px; font-size: 12px; }

/* Options */
html.route-product-product:not(.popup) #product-product #product > .product-options {
  order: 8;
  margin: 16px 0 0;
  padding: 22px 22px 6px;
  border: 1px solid var(--te-line);
  border-radius: var(--te-radius);
  background: #fff;
}
html.route-product-product:not(.popup) #product-product #product .product-options > h3.options-title {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  color: var(--te-muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
html.route-product-product:not(.popup) #product-product #product .product-options > h3.options-title::after { content: none; }
html.route-product-product:not(.popup) #product-product #product .product-options .form-group { margin: 0 0 20px; padding: 0; }
html.route-product-product:not(.popup) #product-product #product .product-options .control-label {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  color: var(--te-navy);
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.4;
  text-align: left;
  text-transform: none;
}
html.route-product-product:not(.popup) #product-product #product .product-options .required > .control-label::after { content: " *"; color: var(--te-red); }
html.route-product-product:not(.popup) #product-product #product .product-options .push-option > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
html.route-product-product:not(.popup) #product-product #product .product-options .push-option > div > div { flex: 0 0 auto; width: auto; }
html.route-product-product:not(.popup) #product-product #product .product-options .push-option .radio,
html.route-product-product:not(.popup) #product-product #product .product-options .push-option .checkbox { margin: 0 !important; padding: 0 !important; }
html.route-product-product:not(.popup) #product-product #product .product-options .push-option .option-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1.5px solid #ccd6e1;
  border-radius: 12px;
  background: #fff;
  color: var(--te-ink);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
html.route-product-product:not(.popup) #product-product #product .product-options .push-option label:hover .option-value { border-color: var(--te-navy); }
html.route-product-product:not(.popup) #product-product #product .product-options .push-option input:checked + .option-value {
  border-color: var(--te-green-deep);
  background: #eefaf4;
  color: var(--te-navy);
  box-shadow: 0 0 0 3px rgba(31, 169, 113, .22);
}
html.route-product-product:not(.popup) #product-product #product .product-options .option-price { color: var(--te-green-deep); font-size: 12.5px; font-weight: 700; }
html.route-product-product:not(.popup) #product-product #product .product-options select.form-control {
  width: 100%;
  max-width: none;
  height: 50px;
  padding: 0 42px 0 16px;
  border: 1.5px solid #ccd6e1;
  border-radius: 12px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5 7 7l5.5-5.5' fill='none' stroke='%2310263f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
  box-shadow: none;
  color: var(--te-ink);
  font-size: 14px;
  -webkit-appearance: none;
  appearance: none;
}
html.route-product-product:not(.popup) #product-product #product .product-options select.form-control:focus,
html.route-product-product:not(.popup) #product-product #product .product-options .form-control:focus {
  border-color: var(--te-green-deep);
  box-shadow: 0 0 0 3px rgba(31, 169, 113, .22);
  outline: 0;
}
html.route-product-product:not(.popup) #product-product #product .product-options .form-group input.form-control,
html.route-product-product:not(.popup) #product-product #product .product-options .form-group textarea.form-control {
  width: 100%;
  max-width: none;
  min-height: 48px;
  padding: 10px 16px;
  border: 1.5px solid #ccd6e1;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  color: var(--te-ink);
  font-size: 14px;
}
html.route-product-product:not(.popup) #product-product #product .product-options .form-group input.form-control:focus,
html.route-product-product:not(.popup) #product-product #product .product-options .form-group textarea.form-control:focus {
  border-color: var(--te-green-deep);
  box-shadow: 0 0 0 3px rgba(31, 169, 113, .22);
  outline: 0;
}
html.route-product-product:not(.popup) #product-product #product .product-options .form-group .input-group { width: 100%; }
html.route-product-product:not(.popup) #product-product #product .product-options .form-group .input-group .form-control { border-radius: 12px 0 0 12px; }
html.route-product-product:not(.popup) #product-product #product .product-options .form-group .input-group .btn { min-height: 48px; border-radius: 0 12px 12px 0; }

/* Purchase actions */
html.route-product-product:not(.popup) #product-product #product > .button-group-page {
  order: 9;
  position: static;
  width: auto;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
html.route-product-product:not(.popup) #product-product #product .button-group-page .buttons-wrapper {
  display: grid;
  gap: 14px;
  margin: 0;
}
html.route-product-product:not(.popup) #product-product #product .button-group-page .stepper-group.cart-group {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  margin: 0;
}
html.route-product-product:not(.popup) #product-product #product .button-group-page .stepper {
  display: flex;
  width: 100%;
  min-width: 0;
  height: 56px;
  overflow: hidden;
  border: 1.5px solid #ccd6e1;
  border-radius: 12px;
  background: #fff;
}
html.route-product-product:not(.popup) #product-product #product .button-group-page .stepper input.form-control {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--te-navy);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}
html.route-product-product:not(.popup) #product-product #product .button-group-page #button-cart.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  margin: 0;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: var(--te-green-deep);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 14px 28px -16px rgba(15, 138, 90, .9);
  transition: background-color .06s linear;
}
html.route-product-product:not(.popup) #product-product #product .button-group-page #button-cart.btn:hover { background: #0b7048 !important; }
html.route-product-product:not(.popup) #product-product #product .button-group-page .extra-group {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
}
html.route-product-product:not(.popup) #product-product #product .button-group-page .extra-group .btn-extra {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  margin: 0;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: background-color .06s linear, border-color .06s linear, color .06s linear;
}
html.route-product-product:not(.popup) #product-product #product .button-group-page .btn-extra-46.btn {
  border: 1.5px solid var(--te-navy);
  background: var(--te-navy);
  color: #fff;
}

html.route-product-product:not(.popup) #product-product #product .button-group-page .btn-extra-93.btn {
  border: 1.5px solid var(--te-navy);
  background: #fff;
  color: var(--te-navy);
}
html.route-product-product:not(.popup) #product-product #product .button-group-page .btn-extra-46.btn:hover,
html.route-product-product:not(.popup) #product-product #product .button-group-page .btn-extra-46.btn:focus-visible,
html.route-product-product:not(.popup) #product-product #product .button-group-page .btn-extra-93.btn:hover,
html.route-product-product:not(.popup) #product-product #product .button-group-page .btn-extra-93.btn:focus-visible {
  border-color: var(--te-blue) !important;
  background: var(--te-blue) !important;
  color: #fff !important;
}
html.route-product-product:not(.popup) #product-product #product .button-group-page .wishlist-compare {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin: 0 !important;
  text-align: center;
}
html.route-product-product:not(.popup) #product-product #product .button-group-page .wishlist-compare .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto !important;
  height: auto;
  margin: 0;
  padding: 4px 0;
  border: 0;
  background: none !important;
  color: var(--te-muted) !important;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: none;
}
html.route-product-product:not(.popup) #product-product #product .button-group-page .wishlist-compare .btn .btn-text { display: inline; }
html.route-product-product:not(.popup) #product-product #product .button-group-page .wishlist-compare .btn:hover { color: var(--te-navy) !important; }
html.route-product-product:not(.popup) #product-product #product a.agree.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  margin: 14px 0 0;
  border: 1.5px solid #ccd6e1;
  border-radius: 12px;
  background: #fff;
  color: var(--te-navy);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
html.route-product-product:not(.popup) #product-product #product a.agree.btn:hover { border-color: var(--te-navy); background: var(--te-soft) !important; color: var(--te-navy) !important; }

/* Product information: the remaining catalogue fields as a tidy grid */
html.route-product-product:not(.popup) #product-product #product::before {
  content: "Product information";
  order: 19;
  flex: 0 0 100%;
  margin: 30px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--te-line);
  color: var(--te-muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
html.route-product-product:not(.popup) #product-product #product li.product-weight,
html.route-product-product:not(.popup) #product-product #product li.product-sku,
html.route-product-product:not(.popup) #product-product #product li.product-upc,
html.route-product-product:not(.popup) #product-product #product li.product-ean,
html.route-product-product:not(.popup) #product-product #product li.product-jan,
html.route-product-product:not(.popup) #product-product #product li.product-isbn,
html.route-product-product:not(.popup) #product-product #product li.product-location {
  order: 20;
  flex: 0 0 calc(50% - 4px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  margin: 0 0 8px;
  padding: 12px 15px;
  border-radius: 12px;
  background: var(--te-soft);
  text-align: left;
  list-style: none;
}
html.route-product-product:not(.popup) #product-product #product li.product-weight::before,
html.route-product-product:not(.popup) #product-product #product li.product-sku::before,
html.route-product-product:not(.popup) #product-product #product li.product-upc::before,
html.route-product-product:not(.popup) #product-product #product li.product-ean::before,
html.route-product-product:not(.popup) #product-product #product li.product-jan::before,
html.route-product-product:not(.popup) #product-product #product li.product-isbn::before,
html.route-product-product:not(.popup) #product-product #product li.product-location::before { content: none !important; }
html.route-product-product:not(.popup) #product-product #product li.product-weight b,
html.route-product-product:not(.popup) #product-product #product li.product-sku b,
html.route-product-product:not(.popup) #product-product #product li.product-upc b,
html.route-product-product:not(.popup) #product-product #product li.product-ean b,
html.route-product-product:not(.popup) #product-product #product li.product-jan b,
html.route-product-product:not(.popup) #product-product #product li.product-isbn b,
html.route-product-product:not(.popup) #product-product #product li.product-location b {
  color: var(--te-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
html.route-product-product:not(.popup) #product-product #product li.product-weight span,
html.route-product-product:not(.popup) #product-product #product li.product-sku span,
html.route-product-product:not(.popup) #product-product #product li.product-upc span,
html.route-product-product:not(.popup) #product-product #product li.product-ean span,
html.route-product-product:not(.popup) #product-product #product li.product-jan span,
html.route-product-product:not(.popup) #product-product #product li.product-isbn span,
html.route-product-product:not(.popup) #product-product #product li.product-location span {
  color: var(--te-navy);
  font-size: 15px;
  font-weight: 650;
}

/* Trust blocks under the buy box */
html.route-product-product:not(.popup) #product-product .product-right > .product-blocks.blocks-bottom { margin-top: 26px; }
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .grid-cols { display: grid; gap: 16px; }
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .grid-col { width: auto; max-width: none; padding: 0; }
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-info_blocks .info-blocks {
  padding: 18px 20px;
  border: 1px solid var(--te-line);
  border-radius: 14px;
  background: var(--te-soft);
}
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .info-block-title {
  color: var(--te-navy);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .info-block-text { color: var(--te-muted); font-size: 13.5px; line-height: 1.55; }
/* The block's text ends with stray <br> tags that leave an empty band at the bottom of the card. */
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .info-block-text br { display: none; }
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-info_blocks .module-item { margin: 0; padding: 18px 20px; }
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-info_blocks .info-block { margin: 0; padding: 0; min-height: 0; }
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-info_blocks .info-block-content { padding: 0; min-height: 0; }
/* Guarantee and payment badges: one tidy "trust" card instead of loose images */
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners {
  padding: 20px 20px 22px;
  border: 1px solid var(--te-line);
  border-radius: var(--te-radius);
  background: #fff;
}
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners .module-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: auto;
  margin: 0;
  padding: 0;
}
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners .module-body::before,
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners .module-item-9::before {
  display: block;
  color: var(--te-muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners .module-body::before {
  content: "Buy with confidence";
  grid-column: 1 / -1;
  margin: 0 0 2px;
}
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners .module-item-9::before {
  content: "Secure payments";
  margin: 10px 0 12px;
  padding-top: 18px;
  border-top: 1px solid var(--te-line);
}
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners .module-item {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners .module-item-4,
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners .module-item-7 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 12px 14px;
  border: 1px solid var(--te-line);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f7fafc);
}
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners .module-item-4:hover,
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners .module-item-7:hover {
  border-color: var(--te-green);
  box-shadow: 0 12px 24px -18px rgba(16, 38, 63, .6);
}
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners .module-item-4 a,
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners .module-item-7 a { display: block; width: 100%; }
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners .module-item-4 img,
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners .module-item-7 img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 62px;
  margin: 0 auto;
  border-radius: 0;
}
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners .module-item-9 {
  grid-column: 1 / -1;
  text-align: center;
}
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners .module-item-9::before { text-align: left; }
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners .module-item-9 img {
  display: block;
  width: auto;
  max-width: min(100%, 330px);
  height: auto;
  max-height: 64px;
  margin: 0 auto;
  border-radius: 0;
}
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-blocks .shipping-container { max-width: none; }
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-blocks select,
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-blocks .form-control {
  width: 100%;
  max-width: none;
  height: 50px;
  border: 1.5px solid #ccd6e1;
  border-radius: 12px;
  box-shadow: none;
}

/* Previous / next product */
html.route-product-product:not(.popup) #product-product .pn-nav { margin: 24px 0 0; gap: 14px; }
html.route-product-product:not(.popup) #product-product .pn-nav .pn-btn {
  border: 1px solid var(--te-line);
  border-radius: 14px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
html.route-product-product:not(.popup) #product-product .pn-nav .pn-btn:hover {
  border-color: var(--te-green);
  box-shadow: 0 14px 28px -20px rgba(16, 38, 63, .6);
}

/* ---------- Tabs and content ---------- */
html.route-product-product:not(.popup) #product-product .product-blocks.blocks-default { margin-top: 28px; }
html.route-product-product:not(.popup) #product-product .tabs-container > ul.nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--te-line);
  background: none;
}
html.route-product-product:not(.popup) #product-product .tabs-container > ul.nav-tabs > li { float: none; flex: 0 0 auto; width: auto; margin: 0 0 -1px; background: none; }
html.route-product-product:not(.popup) #product-product .tabs-container > ul.nav-tabs > li::before,
html.route-product-product:not(.popup) #product-product .tabs-container > ul.nav-tabs > li::after { content: none !important; }
html.route-product-product:not(.popup) #product-product .tabs-container > ul.nav-tabs > li > a,
html.route-product-product:not(.popup) #product-product .tabs-container > ul.nav-tabs > li.active > a,
html.route-product-product:not(.popup) #product-product .tabs-container > ul.nav-tabs > li > a:hover {
  position: relative;
  display: block;
  padding: 16px 22px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: none !important;
  color: var(--te-muted);
  font-family: var(--te-font);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  transition: color .15s ease, border-color .15s ease;
}
html.route-product-product:not(.popup) #product-product .tabs-container > ul.nav-tabs > li > a::after,
html.route-product-product:not(.popup) #product-product .tabs-container > ul.nav-tabs > li > a::before { content: none; }
html.route-product-product:not(.popup) #product-product .tabs-container > ul.nav-tabs > li > a:hover { color: var(--te-navy); }
html.route-product-product:not(.popup) #product-product .tabs-container > ul.nav-tabs > li.active > a,
html.route-product-product:not(.popup) #product-product .tabs-container > ul.nav-tabs > li.active > a:hover {
  border-bottom-color: var(--te-green);
  color: var(--te-navy);
}
html.route-product-product:not(.popup) #product-product .tabs-container > .tab-content { padding: 28px 0 8px; }
html.route-product-product:not(.popup) #product-product .tab-content table {
  width: 100% !important;
  border: 1px solid var(--te-line) !important;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  font-size: 13.5px;
}
html.route-product-product:not(.popup) #product-product .tab-content table th,
html.route-product-product:not(.popup) #product-product .tab-content table td {
  padding: 11px 14px;
  border: 0;
  border-bottom: 1px solid var(--te-line);
  border-right: 1px solid var(--te-line);
  text-align: center;
}
html.route-product-product:not(.popup) #product-product .tab-content table tr > *:last-child { border-right: 0; }
html.route-product-product:not(.popup) #product-product .tab-content table tr:last-child > * { border-bottom: 0; }
html.route-product-product:not(.popup) #product-product .tab-content table th {
  background: #eef3f8;
  color: var(--te-navy);
  font-weight: 700;
}
html.route-product-product:not(.popup) #product-product .tab-content table tbody tr:nth-child(even) td { background: #fafcfe; }
html.route-product-product:not(.popup) #product-product .tab-content img {
  display: block;
  max-width: min(100%, 980px);
  height: auto;
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px;
}
html.route-product-product:not(.popup) #product-product .tab-content table img { display: inline-block; margin: 0; border-radius: 6px; }
html.route-product-product:not(.popup) #product-product .tab-content iframe { max-width: 100%; border-radius: 14px; }
html.route-product-product:not(.popup) #product-product .tabs-container > .tab-content .block-content { max-width: 1120px; margin-left: auto; margin-right: auto; }
/* Journal's wrapper is a flex row; without min-width:0 wide content (tables, banners) stretched it past the screen. */
html.route-product-product:not(.popup) #product-product .tab-content .block-wrapper,
html.route-product-product:not(.popup) #product-product .tab-content .block-content,
html.route-product-product:not(.popup) #product-product .tab-content .block-body { min-width: 0; max-width: 100%; box-sizing: border-box; }
html.route-product-product:not(.popup) #product-product .tab-content .block-content { width: 100%; overflow-wrap: break-word; }
html.route-product-product:not(.popup) #product-product .tab-content img { max-width: 100% !important; height: auto !important; }
html.route-product-product:not(.popup) #product-product .tab-content table img { max-width: none !important; }
html.route-product-product:not(.popup) #product-product .tab-content div, html.route-product-product:not(.popup) #product-product .tab-content p, html.route-product-product:not(.popup) #product-product .tab-content h1, html.route-product-product:not(.popup) #product-product .tab-content h2, html.route-product-product:not(.popup) #product-product .tab-content h3 { max-width: 100%; }
html.route-product-product:not(.popup) #product-product .tab-content iframe { width: 100% !important; max-width: 100%; height: auto !important; aspect-ratio: 16 / 9; border: 0; }
html.route-product-product:not(.popup) #product-product .tab-content select, html.route-product-product:not(.popup) #product-product .tab-content input, html.route-product-product:not(.popup) #product-product .tab-content textarea { max-width: 100%; }

/* Tags: refined pill style on every screen size */
@media all {
  html.route-product-product:not(.popup) #product-product .tags {
    margin: 28px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid var(--te-line);
    color: var(--te-muted);
    font-size: 12.5px;
  }
  html.route-product-product:not(.popup) #product-product .tags a {
    display: inline-block;
    margin: 0 6px 8px 0;
    padding: 4px 12px;
    border: 1px solid var(--te-line);
    border-radius: 999px;
    background: var(--te-soft);
    color: var(--te-muted);
    text-decoration: none;
  }
  html.route-product-product:not(.popup) #product-product .tags a:hover { border-color: var(--te-green); color: var(--te-navy); }

}

/* ---------- Modules below the product (related products, banners): desktop only; tablet and phone keep the live rendering ---------- */
@media (min-width: 992px) {
  html.route-product-product:not(.popup) #bottom {
    max-width: 1380px;
    margin: 0 auto;
    padding: 8px 28px 0;
    box-sizing: border-box;
    font-family: var(--te-font);
  }
  html.route-product-product:not(.popup) #bottom .module-title,
  html.route-product-product:not(.popup) #bottom .module-products .tab-container > ul.nav-tabs > li > a {
    color: var(--te-navy);
    font-family: var(--te-font);
    font-size: 20px;
    font-weight: 750;
    letter-spacing: -.01em;
    text-transform: none;
  }
  html.route-product-product:not(.popup) #bottom .module-products .tab-container > ul.nav-tabs { border: 0; background: none; }
  html.route-product-product:not(.popup) #bottom .module-products .tab-container > ul.nav-tabs > li > a { padding: 6px 0 12px; background: none !important; border-radius: 0; }
  html.route-product-product:not(.popup) #bottom .module-banners img { display: block; width: 100%; height: auto; border-radius: 16px; }
  html.route-product-product:not(.popup) #bottom .module-products .product-thumb {
    border: 1px solid var(--te-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: none;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
  html.route-product-product:not(.popup) #bottom .module-products .product-thumb:hover {
    transform: translateY(-3px);
    border-color: #cdd9e5;
    box-shadow: 0 22px 36px -24px rgba(16, 38, 63, .55);
  }
  html.route-product-product:not(.popup) #bottom .module-products .product-thumb .caption { padding: 14px 16px 16px; text-align: left; }
  html.route-product-product:not(.popup) #bottom .module-products .product-thumb .name a {
    color: var(--te-navy);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: 0;
  }
  html.route-product-product:not(.popup) #bottom .module-products .product-thumb .price,
  html.route-product-product:not(.popup) #bottom .module-products .product-thumb .price-normal,
  html.route-product-product:not(.popup) #bottom .module-products .product-thumb .price-new {
    color: var(--te-navy);
    font-size: 17px;
    font-weight: 800;
  }
  html.route-product-product:not(.popup) #bottom .module-products .product-thumb .btn-cart.btn {
    border-radius: 10px;
    background: var(--te-green-deep);
    font-weight: 700;
  }
  html.route-product-product:not(.popup) #bottom .module-products .product-thumb .btn-cart.btn:hover { background: #0b7048 !important; }

}

/* Trust badges (MGS Guarantee, Purchase Protection, PayPal / Razorpay): instant hover. Journal fades the banner link, image and overlay over 0.15-0.2s. */
html.route-product-product:not(.popup) #product-product .product-blocks .module-banners .module-item,
html.route-product-product:not(.popup) #product-product .product-blocks .module-banners .module-item > a,
html.route-product-product:not(.popup) #product-product .product-blocks .module-banners .module-item > a::before,
html.route-product-product:not(.popup) #product-product .product-blocks .module-banners .module-item > a::after,
html.route-product-product:not(.popup) #product-product .product-blocks .module-banners .module-item > a img { transition: none !important; }

/* Specification tables, all sizes: one rounded frame around the table (on its scroll wrapper) and light inner dividers.
   The table itself is square, so the rounded corners can never cut through cell borders. */
html.route-product-product:not(.popup) #product-product .tab-content .te-responsive-table-scroll { border: 1px solid var(--te-line); border-radius: 14px; background: #fff; overflow-x: auto; overflow-y: hidden; }
html.route-product-product:not(.popup) #product-product .tab-content table { border: 0 !important; border-radius: 0 !important; border-collapse: collapse !important; overflow: visible; }
html.route-product-product:not(.popup) #product-product .tab-content table th,
html.route-product-product:not(.popup) #product-product .tab-content table td { border: 0 !important; border-bottom: 1px solid var(--te-line) !important; border-right: 1px solid #edf1f6 !important; }
html.route-product-product:not(.popup) #product-product .tab-content table tr > *:last-child { border-right: 0 !important; }
html.route-product-product:not(.popup) #product-product .tab-content table tr:last-child > * { border-bottom: 0 !important; }

/* Trust images: the two badges fill their cards edge to edge with minimal padding, same width, cards of equal height */
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners { padding: 18px 18px 22px; }
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners .module-body { gap: 12px; align-items: stretch; }
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners .module-item-4,
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners .module-item-7 { min-height: 0; padding: 6px; border-radius: 12px; }
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners .module-item-4 img,
html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners .module-item-7 img { width: 100%; max-width: 100%; max-height: none; }
@media (min-width: 992px) {
  html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners .module-item-9 img { max-width: min(100%, 460px); max-height: 92px; }
  html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners .module-body::before,
  html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners .module-item-9::before { font-size: 12.5px; }
}

/* ---------- Tablet and phone: same arrangement as the live site ---------- */
@media (max-width: 991px) {
  /* Tags below the tabs: the live site's own typeface and spacing on tablet and phone. */
  /* Same 20px side margins as the live site on tablet and phone. */
  html.route-product-product:not(.popup) #product-product { padding: 8px 20px 0; }
  html.route-product-product:not(.popup) #product-product .product-info { padding-bottom: 0; }
  html.route-product-product:not(.popup) #product-product .product-right > .product-blocks.blocks-bottom { margin-top: 20px; }
  html.route-product-product:not(.popup) #product-product .pn-nav { margin: 8px 0 12px; }
  /* Journal puts the page title across the top here, so the buy-box title is not repeated. */
  html.route-product-product:not(.popup) #product-product #product > .title.page-title { display: none !important; }
  /* Tablet keeps two columns (photos and banners left, details right), as on the live site. */
  html.route-product-product:not(.popup) #product-product .product-info { grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); column-gap: 28px; }
  html.route-product-product:not(.popup) #product-product .product-left { position: static; }
  html.route-product-product:not(.popup) #product-product .product-image .main-image { padding: 12px; border-radius: 16px; }
  /* Details follow the page's own order: facts first, then price, delivery, options, buttons. */
  html.route-product-product:not(.popup) #product-product #product.product-details > *,
  html.route-product-product:not(.popup) #product-product #product li,
  html.route-product-product:not(.popup) #product-product #product .brand-image.product-manufacturer { order: 0 !important; }
  html.route-product-product:not(.popup) #product-product #product::before { display: none !important; }
  html.route-product-product:not(.popup) #product-product #product li.product-stock,
  html.route-product-product:not(.popup) #product-product #product li.product-model,
  html.route-product-product:not(.popup) #product-product #product li.product-mpn,
  html.route-product-product:not(.popup) #product-product #product li.product-weight,
  html.route-product-product:not(.popup) #product-product #product li.product-sku,
  html.route-product-product:not(.popup) #product-product #product li.product-upc,
  html.route-product-product:not(.popup) #product-product #product li.product-ean,
  html.route-product-product:not(.popup) #product-product #product li.product-jan,
  html.route-product-product:not(.popup) #product-product #product li.product-isbn,
  html.route-product-product:not(.popup) #product-product #product li.product-location,
  html.route-product-product:not(.popup) #product-product #product .brand-image.product-manufacturer {
    flex: 0 0 calc(50% - 4px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    margin: 0 0 8px;
    padding: 12px 15px;
    border: 0;
    border-radius: 12px;
    background: var(--te-soft);
    text-align: left;
  }
  html.route-product-product:not(.popup) #product-product #product li.product-stock::before { content: none !important; }
  html.route-product-product:not(.popup) #product-product #product li.product-stock b { position: static; width: auto; height: auto; overflow: visible; clip: auto; color: var(--te-muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
  html.route-product-product:not(.popup) #product-product #product li.product-model b,
  html.route-product-product:not(.popup) #product-product #product li.product-mpn b { font-size: 11px; }
  html.route-product-product:not(.popup) #product-product #product li.product-stock span,
  html.route-product-product:not(.popup) #product-product #product li.product-model span,
  html.route-product-product:not(.popup) #product-product #product li.product-mpn span { color: var(--te-navy); font-size: 15px; font-weight: 650; }
  html.route-product-product:not(.popup) #product-product #product li.product-stock.in-stock span { color: #0f7a50; font-weight: 700; }
  html.route-product-product:not(.popup) #product-product #product > .rating.rating-page { margin: 8px 0 14px; }
  html.route-product-product:not(.popup) #product-product #product > .product-price-group { margin-top: 6px; }
}
@media (max-width: 639px) {
  /* Phones: one column. Order: photos, delivery-country selector, tool banners, product details (facts, price, delivery,
     options, buttons), shipping timeline and trust badges, then previous / next, tabs and tags. */
  html.route-product-product:not(.popup) #product-product { padding: 4px 20px 0; }
  html.route-product-product:not(.popup) #product-product .product-info { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; padding: 0; }
  html.route-product-product:not(.popup) #product-product .product-info > .product-left,
  html.route-product-product:not(.popup) #product-product .product-info > .product-right,
  html.route-product-product:not(.popup) #product-product .product-right > .product-blocks.blocks-bottom,
  html.route-product-product:not(.popup) #product-product .product-blocks-bottom,
  html.route-product-product:not(.popup) #product-product .product-blocks-bottom .grid-row,
  html.route-product-product:not(.popup) #product-product .product-blocks-bottom .grid-cols,
  html.route-product-product:not(.popup) #product-product .product-blocks-bottom .grid-col,
  html.route-product-product:not(.popup) #product-product .product-blocks-bottom .grid-items,
  html.route-product-product:not(.popup) #product-product .product-blocks-bottom .grid-item { display: contents !important; }
  html.route-product-product:not(.popup) #product-product .product-image { order: 1; width: 100%; min-width: 0; max-width: 100%; overflow: hidden; }
  html.route-product-product:not(.popup) #product-product .product-image > .swiper { min-width: 0; width: 100%; }
  html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-blocks { order: 2; margin: 18px 0 0; }
  html.route-product-product:not(.popup) #product-product .product-left > .product-blocks.blocks-image { order: 3; margin: 18px 0 0; }
  html.route-product-product:not(.popup) #product-product #product.product-details { order: 4; margin: 18px 0 0; }
  html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-info_blocks { order: 5; margin: 20px 0 0; }
  html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners { order: 6; margin: 14px 0 0; }
  html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-blocks .shipping-container,
  html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-blocks .shipping-hint { margin-bottom: 0; }
  html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-blocks .block-body { margin-bottom: 0; }
  html.route-product-product:not(.popup) #product-product #product .product-options .push-option > div { gap: 8px; }
  html.route-product-product:not(.popup) #product-product #product .product-options .push-option .radio,
  html.route-product-product:not(.popup) #product-product #product .product-options .push-option .checkbox { width: auto !important; max-width: 100%; flex: 0 0 auto !important; }
  html.route-product-product:not(.popup) #product-product #product .product-options .push-option .radio label,
  html.route-product-product:not(.popup) #product-product #product .product-options .push-option .checkbox label { margin: 0 !important; }
  html.route-product-product:not(.popup) #product-product #product .product-options .push-option .option-value { margin: 0 !important; }
  html.route-product-product:not(.popup) #product-product .tabs-container > ul.nav-tabs { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 4px !important; padding: 0 !important; border: 0 !important; overflow: visible !important; }
  html.route-product-product:not(.popup) #product-product .tabs-container > ul.nav-tabs > li { min-width: 0; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
  html.route-product-product:not(.popup) #product-product .tabs-container > ul.nav-tabs > li::before,
  html.route-product-product:not(.popup) #product-product .tabs-container > ul.nav-tabs > li::after { display: none !important; }
  html.route-product-product:not(.popup) #product-product .tabs-container > ul.nav-tabs > li > a,
  html.route-product-product:not(.popup) #product-product .tabs-container > ul.nav-tabs > li > a:hover,
  html.route-product-product:not(.popup) #product-product .tabs-container > ul.nav-tabs > li.active > a {
    display: flex !important; align-items: center; justify-content: center; box-sizing: border-box; height: 100%; min-height: 58px;
    padding: 10px 12px !important; border: 1.5px solid var(--te-line) !important; border-radius: 12px !important; background: #fff !important;
    color: var(--te-ink) !important; text-align: center; white-space: normal !important; overflow-wrap: break-word; font-size: 13px; font-weight: 650; line-height: 1.3;
  }
  html.route-product-product:not(.popup) #product-product .tabs-container > ul.nav-tabs > li.active > a,
  html.route-product-product:not(.popup) #product-product .tabs-container > ul.nav-tabs > li.active > a:hover { border-color: var(--te-navy) !important; background: var(--te-navy) !important; color: #fff !important; }
  /* Specification tables: tidy framed card; wide tables scroll sideways inside it */
  html.route-product-product:not(.popup) #product-product .tab-content .te-responsive-table-scroll { border: 1px solid var(--te-line); border-radius: 12px; background: #fff; }
  html.route-product-product:not(.popup) #product-product .tab-content table { width: max-content !important; min-width: 100%; margin: 0; border: 0 !important; border-radius: 0; font-size: 13px; }
  html.route-product-product:not(.popup) #product-product .tab-content table th,
  html.route-product-product:not(.popup) #product-product .tab-content table td { min-width: 54px; max-width: 230px; padding: 12px 14px 12px 10px; border: 0 !important; border-bottom: 1px solid var(--te-line) !important; border-right: 1px solid #edf1f6 !important; white-space: normal; text-align: center; vertical-align: middle; line-height: 1.4; }
  html.route-product-product:not(.popup) #product-product .tab-content table th { background: #eef3f8; color: var(--te-navy); font-size: 12px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
  html.route-product-product:not(.popup) #product-product .tab-content table tr > *:last-child { border-right: 0 !important; }
  html.route-product-product:not(.popup) #product-product .tab-content table tr:last-child > * { border-bottom: 0 !important; }
  html.route-product-product:not(.popup) #product-product .tab-content table td:first-child,
  html.route-product-product:not(.popup) #product-product .tab-content table th:first-child { min-width: 54px; max-width: 230px; }
  html.route-product-product:not(.popup) #product-product .tab-content table tbody tr:nth-child(even) td { background: #fafcfe; }
  html.route-product-product:not(.popup) #product-product #product .brand-image.product-manufacturer { flex-basis: 100%; }
  html.route-product-product:not(.popup) #product-product #product > .product-price-group { padding: 16px 18px; }
  html.route-product-product:not(.popup) #product-product #product > .product-options { padding: 18px 16px 4px; }
  html.route-product-product:not(.popup) #product-product #product .button-group-page .stepper-group.cart-group { grid-template-columns: 112px minmax(0, 1fr); }
  html.route-product-product:not(.popup) #product-product #product .button-group-page .extra-group { grid-template-columns: 1fr; }
  html.route-product-product:not(.popup) #product-product .product-blocks-bottom .module-banners .module-body { grid-template-columns: 1fr; }
  html.route-product-product:not(.popup) #product-product #product .button-group-page .wishlist-compare { gap: 6px 18px; }
  html.route-product-product:not(.popup) #product-product #product .button-group-page .wishlist-compare .btn { font-size: 12px; letter-spacing: 0; gap: 6px; }
  html.route-product-product:not(.popup) #product-product .tabs-container > .tab-content { padding-top: 20px; }
  /* Wide specification tables keep readable columns and scroll sideways inside their own frame. */
  html.route-product-product:not(.popup) #product-product .tab-content h1 { font-size: 22px; line-height: 1.25; }
  html.route-product-product:not(.popup) #product-product .tab-content h2 { font-size: 19px; line-height: 1.3; }
  html.route-product-product:not(.popup) #product-product .tab-content h3 { font-size: 16px; line-height: 1.35; }
  html.route-product-product:not(.popup) #product-product .tab-content .form-horizontal .col-sm-2, html.route-product-product:not(.popup) #product-product .tab-content .form-horizontal .col-sm-10 { width: 100%; float: none; text-align: left; }
  html.route-product-product:not(.popup) #product-product .tab-content .form-horizontal .control-label { margin-bottom: 6px; padding-top: 0; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html.route-product-product:not(.popup) #product-product * { transition: none !important; }
}
