html,
.pdf-product-body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  overflow-x: clip !important;
  overscroll-behavior-x: none;
}

.pdf-product-body {
  position: relative;
  touch-action: pan-y pinch-zoom;
}

.pdf-product-body .pdf-product-description,
.pdf-product-body .pdf-product-summary,
.pdf-product-body .pdf-related-content,
.pdf-product-body .pdf-product-support {
  min-width: 0;
  overflow-wrap: anywhere;
}

.pdf-product-page {
  --pdf-ink: #171c23;
  --pdf-muted: #665f53;
  --pdf-milk: #f4eedf;
  --pdf-sand: #e4d0ad;
  --pdf-navy: #071438;
  --pdf-green: #2f754b;
  --pdf-line: rgba(70, 57, 38, .18);
  --pdf-shadow: 0 10px 26px rgba(53, 45, 32, .11);
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 22px 54px;
  color: var(--pdf-ink);
}

.pdf-product-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--pdf-muted);
  font-size: 14px;
}

.pdf-product-breadcrumbs a {
  color: #275a78;
  text-decoration: none;
}

.pdf-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, .97fr);
  overflow: hidden;
  border: 1px solid var(--pdf-line);
  border-radius: 14px;
  background: linear-gradient(145deg, #f8f3e8, var(--pdf-milk));
  box-shadow: var(--pdf-shadow);
}

.pdf-product-gallery {
  min-width: 0;
  padding: 22px;
  border-right: 1px solid rgba(70, 57, 38, .16);
  background: #eee5d2;
}

.pdf-product-main-image {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(70, 57, 38, .12);
  border-radius: 12px;
  background: #fff;
  cursor: zoom-in;
  text-decoration: none;
}

.pdf-product-main-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdf-product-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 84px));
  justify-content: start;
  gap: 10px;
  margin-top: 12px;
}

.pdf-product-gallery--single .pdf-product-thumbs {
  display: grid;
  grid-template-columns: 84px;
}

.pdf-product-thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(70, 57, 38, .22);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.pdf-product-thumb[aria-current="true"] {
  border-color: #2b6d8f;
  box-shadow: 0 0 0 2px rgba(43, 109, 143, .18);
}

.pdf-product-thumb:hover {
  border-color: rgba(43, 109, 143, .55);
}

.pdf-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdf-product-summary {
  display: flex;
  flex-direction: column;
  padding: 42px 38px 34px;
}

.pdf-product-kicker {
  margin: 0 0 10px;
  color: #786547;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pdf-product-summary h1 {
  max-width: 22ch;
  margin: 0;
  font-size: clamp(29px, 3.1vw, 45px);
  line-height: 1.08;
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: balance;
}

.pdf-product-lead {
  margin: 22px 0 0;
  color: #45413a;
  font-size: 17px;
  line-height: 1.6;
}

.pdf-product-price {
  margin: 25px 0 0;
  color: #075b89;
  font-size: 28px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.pdf-product-price-note {
  display: block;
  margin-top: 6px;
  color: var(--pdf-muted);
  font-size: 13px;
  font-weight: 500;
}

.pdf-product-assurances {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.pdf-product-assurances li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #3f3a32;
  font-size: 14px;
  line-height: 1.4;
}

.pdf-product-assurances svg {
  flex: 0 0 18px;
  margin-top: 1px;
  padding: 2px;
  border-radius: 3px;
  background: #3d8b60;
  color: #fff;
}

.pdf-product-technologies {
  margin-top: 19px;
  padding: 13px 0;
  border-top: 1px solid var(--pdf-line);
  border-bottom: 1px solid var(--pdf-line);
}

.pdf-product-tech-label {
  margin: 0 0 9px;
  color: var(--pdf-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.pdf-product-tech-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pdf-product-tech-button {
  display: inline-flex;
  min-width: 0;
  min-height: 44px;
  padding: 7px 12px 7px 8px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(7, 20, 56, .24);
  border-radius: 8px;
  background: #17223b;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  transform: none !important;
  transition: border-color .18s ease, background-color .18s ease;
}

.pdf-product-tech-button:hover,
.pdf-product-tech-button[aria-expanded="true"] {
  border-color: #2d789d;
  background: #22324e;
  transform: none !important;
}

.pdf-product-tech-button img {
  display: block;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  object-fit: contain;
}

.pdf-product-tech-panel {
  margin-top: 11px;
  padding: 13px 15px;
  border: 1px solid rgba(70, 57, 38, .15);
  border-radius: 8px;
  background: rgba(255, 255, 255, .58);
  color: #3f3a32;
}

.pdf-product-tech-panel strong {
  color: var(--pdf-ink);
  font-size: 14px;
}

.pdf-product-tech-panel p {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.55;
}

.pdf-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 28px;
}

.pdf-product-actions a,
.pdf-product-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  box-sizing: border-box;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transform: none !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.pdf-product-actions > * {
  min-width: 0;
}

.pdf-product-cart {
  gap: 9px;
  border: 1px solid #3e8a5b;
  background: var(--pdf-green);
  color: #fff;
}

.pdf-product-cart:hover {
  background: #285f40;
}

.pdf-product-cart-icon {
  flex: 0 0 20px;
}

.pdf-product-contact {
  border: 1px solid rgba(7, 20, 56, .28);
  background: transparent;
  color: var(--pdf-navy);
}

.pdf-product-contact:hover {
  border-color: rgba(7, 20, 56, .48);
  background: rgba(255, 255, 255, .42);
}

.pdf-product-thumb:focus-visible,
.pdf-product-main-image:focus-visible,
.pdf-product-tech-button:focus-visible,
.pdf-product-actions a:focus-visible,
.pdf-product-actions button:focus-visible {
  outline: 3px solid rgba(43, 109, 143, .38);
  outline-offset: 3px;
}

.pdf-product-description {
  max-width: 960px;
  margin: 34px auto 0;
  padding: 34px clamp(20px, 4vw, 48px);
  border: 1px solid rgba(70, 57, 38, .17);
  border-radius: 16px;
  background: rgba(248, 243, 232, .83);
  box-shadow: 0 8px 24px rgba(53, 45, 32, .08);
}

.pdf-product-description h2,
.pdf-product-description h3 {
  margin: 28px 0 12px;
  color: var(--pdf-ink);
  line-height: 1.25;
}

.pdf-product-description h2:first-child,
.pdf-product-description h3:first-child {
  margin-top: 0;
}

.pdf-product-description > h2:first-child {
  margin: 0 auto 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--pdf-line);
  color: var(--pdf-ink);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.2;
}

.pdf-product-description p,
.pdf-product-description li {
  color: #34322e;
  font-size: 17px;
  line-height: 1.76;
}

.pdf-product-description > p {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.pdf-product-description > h2,
.pdf-product-description > h3,
.pdf-product-description > ul,
.pdf-product-description > ol {
  width: 100%;
  max-width: 760px;
  box-sizing: border-box;
  margin-right: auto;
  margin-left: auto;
}

.pdf-product-description p + p {
  margin-top: 18px;
}

.pdf-product-description p + h2,
.pdf-product-description p + h3,
.pdf-product-description ul + h2,
.pdf-product-description ul + h3 {
  margin-top: 34px;
}

.pdf-product-description li + li {
  margin-top: 10px;
}

.pdf-product-page > .toto-cart-widget-unique-2024 > .product-contact-socials {
  display: flex;
  width: min(100%, 960px);
  margin: 22px auto -10px;
  padding: 14px 18px 12px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--pdf-line);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: rgba(248, 243, 232, .83);
}

.product-contact-socials a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  transition: transform .16s ease, opacity .16s ease;
}

.product-contact-socials a:hover,
.product-contact-socials a:focus-visible {
  opacity: .86;
  transform: translateY(-1px);
}

.product-contact-socials img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.pdf-product-page > .toto-cart-widget-unique-2024 > .buttons-container {
  display: grid;
  width: min(100%, 960px);
  margin: 22px auto 0;
  padding: 18px;
  grid-template-columns: repeat(2, minmax(148px, 180px));
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 12px;
  background: rgba(248, 243, 232, .83);
  box-shadow: 0 4px 14px rgba(53, 45, 32, .06);
}

.pdf-product-page > .toto-cart-widget-unique-2024 > .buttons-container .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  box-sizing: border-box;
  gap: 10px;
  border-radius: 8px;
  font-size: 15px !important;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.pdf-product-page > .toto-cart-widget-unique-2024 > .buttons-container .call-btn {
  text-align: center;
  line-height: 1 !important;
  gap: 12px;
}

.pdf-product-page > .toto-cart-widget-unique-2024 > .buttons-container .call-btn svg {
  position: static;
  display: block;
  margin: 0;
  transform: none;
}

.pdf-product-page > .toto-cart-widget-unique-2024 > .buttons-container .call-btn span {
  display: block;
  line-height: 1;
}

.pdf-product-page > .toto-cart-widget-unique-2024 > .buttons-container .btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.pdf-product-page > .toto-cart-widget-unique-2024 > .buttons-container .max-btn {
  color: #fff !important;
  background: linear-gradient(135deg, #471aff 0%, #6e1aff 48%, #00bfff 100%) !important;
  border: 0 !important;
  outline: 0;
  background-clip: padding-box;
  box-shadow: 0 4px 10px rgba(13, 0, 26, .16);
}

.pdf-product-page > .toto-cart-widget-unique-2024 > .buttons-container .max-btn:hover,
.pdf-product-page > .toto-cart-widget-unique-2024 > .buttons-container .max-btn:focus-visible {
  color: #fff !important;
  filter: brightness(.96);
}

.pdf-product-page > .toto-cart-widget-unique-2024 > .buttons-container .max-btn:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .42), 0 4px 10px rgba(13, 0, 26, .16);
}

.pdf-product-page > .toto-cart-widget-unique-2024 > .buttons-container .max-btn img {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 6px;
}

.pdf-product-description ul,
.pdf-product-description ol {
  padding-left: 24px;
}

.pdf-description-link {
  color: #205875;
  text-decoration: underline;
  text-decoration-color: rgba(32, 88, 117, .34);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.pdf-description-link:hover {
  color: #123e60;
  text-decoration-color: currentColor;
}

.pdf-related-products {
  max-width: 1048px;
  margin: 34px auto 0;
  padding: 30px clamp(18px, 3vw, 34px) 34px;
  border: 1px solid rgba(70, 57, 38, .17);
  border-radius: 16px;
  background: rgba(248, 243, 232, .83);
  box-shadow: 0 8px 24px rgba(53, 45, 32, .08);
}

.pdf-related-products > h2 {
  margin: 0 0 20px;
  color: var(--pdf-ink);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
}

.pdf-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pdf-related-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(70, 57, 38, .16);
  border-radius: 12px;
  background: #f4ead8;
  color: var(--pdf-ink);
  text-decoration: none;
  box-shadow: 0 5px 14px rgba(53, 45, 32, .07);
  transform: none !important;
}

.pdf-related-card:hover {
  border-color: rgba(43, 109, 143, .38);
  color: var(--pdf-ink);
  transform: none !important;
}

.pdf-related-image {
  display: grid;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  place-items: center;
  border-bottom: 1px solid rgba(70, 57, 38, .13);
  background: #faf7ef;
}

.pdf-related-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdf-related-content {
  display: flex;
  min-height: 168px;
  padding: 16px 14px;
  flex: 1 1 auto;
  flex-direction: column;
}

.pdf-related-content strong {
  font-size: 18px;
  line-height: 1.34;
}

.pdf-related-content > span {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 8px;
  color: var(--pdf-muted);
  font-size: 15px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.pdf-related-content b {
  margin-top: auto;
  padding-top: 12px;
  color: #075b89;
  font-size: 17px;
}

/* Keep the original warm TOTO palette consistent across every rebuilt route.
   Product pixels remain untouched inside neutral white image wells. */
body.pdf-product-body {
  background: #e9e1cf !important;
}

/* Bootstrap's negative row gutters extended the legacy footer by one pixel on
   narrow screens, which made the whole page draggable sideways. */
body.pdf-product-body > footer .row {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.pdf-product-page {
  background: transparent !important;
}

.pdf-product-hero,
.pdf-product-summary,
.pdf-product-description,
.pdf-related-products,
.pdf-related-card,
.pdf-product-page > .toto-cart-widget-unique-2024 > .buttons-container {
  background: #f4eedf !important;
}

.pdf-product-gallery {
  background: #eee5d2 !important;
}

.pdf-product-main-image,
.pdf-product-thumb {
  background: #fff !important;
}

.pdf-related-image {
  background: #faf7ef !important;
}

.pdf-product-facts {
  display: grid;
  gap: 0;
  margin: 20px 0 22px;
  padding: 0;
  overflow: hidden;
  border-top: 1px solid var(--pdf-line);
  border-bottom: 1px solid var(--pdf-line);
}

.pdf-product-facts > div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  padding: 10px 2px;
}

.pdf-product-facts > div + div {
  border-top: 1px solid rgba(70, 57, 38, .1);
}

.pdf-product-facts dt,
.pdf-product-facts dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}

.pdf-product-facts dt {
  color: var(--pdf-muted);
  font-weight: 600;
}

.pdf-product-facts dd {
  color: var(--pdf-ink);
  font-weight: 700;
}

.pdf-product-support {
  display: flex;
  max-width: 1048px;
  min-height: 96px;
  margin: 28px auto 0;
  padding: 22px 24px;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: #20292e;
  color: #fff;
  box-shadow: 0 8px 20px rgba(34, 38, 40, .12);
}

.pdf-product-support div {
  display: grid;
  gap: 6px;
}

.pdf-product-support strong {
  font-size: 17px;
  line-height: 1.25;
}

.pdf-product-support span {
  color: #e6e1d8;
  font-size: 15px;
  line-height: 1.45;
}

.pdf-product-support a {
  display: inline-flex;
  min-width: 210px;
  min-height: 48px;
  padding: 10px 18px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #177eb5;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transform: none !important;
}

.pdf-product-support a:hover,
.pdf-product-support a:focus {
  background: #116c9d;
  color: #fff;
  transform: none !important;
}

@media (max-width: 900px) {
  .pdf-product-page {
    padding: 18px 12px 38px;
  }

  .pdf-product-hero {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }

  .pdf-product-gallery {
    padding: 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(70, 57, 38, .16);
  }

  .pdf-product-summary {
    padding: 26px 20px 24px;
  }

  .pdf-product-summary h1 {
    max-width: none;
    font-size: clamp(26px, 8vw, 36px);
  }

  .pdf-product-lead {
    font-size: 16px;
  }

  .pdf-product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .pdf-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pdf-product-support {
    margin-top: 22px;
  }
}

@media (max-width: 560px) {
  .pdf-product-actions {
    grid-template-columns: 1fr;
  }

  .pdf-product-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 5px;
    scrollbar-width: thin;
  }

  .pdf-product-thumb {
    flex: 0 0 72px;
  }

  .pdf-product-description {
    padding: 26px 18px;
  }

  .pdf-product-page > .toto-cart-widget-unique-2024 > .buttons-container {
    padding: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .pdf-product-page > .toto-cart-widget-unique-2024 > .buttons-container .btn {
    min-height: 46px;
    padding: 10px 12px;
    font-size: 14px !important;
  }

  .pdf-product-description > h2:first-child {
    margin-bottom: 20px;
    padding-bottom: 10px;
    font-size: 23px;
  }

  .pdf-product-actions a,
  .pdf-product-actions button {
    width: 100% !important;
    min-height: 50px !important;
    height: 50px !important;
    padding: 12px 18px !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
  }

  .pdf-related-products {
    padding: 24px 12px 28px;
  }

  .pdf-related-grid {
    gap: 10px;
  }

  .pdf-related-content {
    min-height: 156px;
    padding: 12px 10px;
  }

  .pdf-related-content strong {
    font-size: 15.5px;
  }

  .pdf-related-content > span {
    font-size: 13.5px;
    -webkit-line-clamp: 2;
  }

  .pdf-product-description p,
  .pdf-product-description li {
    font-size: 16px;
    line-height: 1.7;
  }

  .pdf-product-support {
    min-height: 0;
    padding: 20px 18px;
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .pdf-product-support a {
    width: 100%;
    min-width: 0;
  }

  .pdf-product-facts > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

/* Shared responsive header for product pages.  The middle desktop range uses
   two intentional rows, preserving normal type size and single-line labels. */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  body.pdf-product-body > header .navbar > .container-fluid {
    flex-wrap: nowrap !important;
    gap: 12px;
    padding-right: 20px;
    padding-left: 20px;
  }

  body.pdf-product-body > header .navbar-brand {
    flex: 0 0 auto;
    margin-right: 2px !important;
  }

  body.pdf-product-body > header .navbar-brand img {
    width: 78px !important;
    margin-left: 0 !important;
    transform: none !important;
  }

  body.pdf-product-body > header .ffffhon {
    flex: 0 0 auto;
    height: auto !important;
    min-width: max-content;
  }

  body.pdf-product-body > header .phone-link {
    width: max-content;
    min-width: max-content;
    flex-wrap: nowrap;
    white-space: nowrap;
    font-size: 14px !important;
  }

  body.pdf-product-body > header .navbar.navbar-expand-lg .navbar-collapse {
    display: grid !important;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) auto;
    min-width: 0;
    flex: 1 1 auto !important;
    align-items: center;
    gap: 14px;
  }

  body.pdf-product-body > header .navbar .form,
  body.pdf-product-body > header .navbar .search {
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
  }

  body.pdf-product-body > header .navbar .form {
    max-width: none;
    padding: 0 !important;
  }

  body.pdf-product-body > header .navbar-nav {
    flex-wrap: nowrap;
    margin: 0 !important;
    justify-self: center;
  }

  body.pdf-product-body > header .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 8px !important;
    padding-left: 8px !important;
    white-space: nowrap;
    font-size: 14px !important;
  }

  body.pdf-product-body > header .toto-cart-toggle-btn-unique {
    padding: 10px 16px;
    justify-self: end;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  body.pdf-product-body > header .navbar > .container-fluid {
    display: grid !important;
    grid-template-columns: auto auto minmax(220px, 1fr) auto;
    grid-template-rows: 46px 38px;
    column-gap: 14px;
    row-gap: 4px;
    padding: 9px 18px 10px;
    align-items: center;
  }

  body.pdf-product-body > header .navbar-brand {
    grid-column: 1;
    grid-row: 1 / 3;
    margin: 0 !important;
  }

  body.pdf-product-body > header .navbar-brand img {
    width: 82px !important;
    margin: 0 !important;
    transform: none !important;
  }

  body.pdf-product-body > header .ffffhon {
    grid-column: 2;
    grid-row: 1;
    height: auto !important;
    min-width: max-content;
  }

  body.pdf-product-body > header .phone-link {
    width: max-content;
    min-width: max-content;
    flex-wrap: nowrap;
    white-space: nowrap;
    font-size: 14px !important;
  }

  body.pdf-product-body > header .phone-icon {
    width: 19px;
    height: 19px;
    margin-right: 7px;
  }

  body.pdf-product-body > header .navbar.navbar-expand-lg .navbar-collapse {
    display: contents !important;
  }

  body.pdf-product-body > header .navbar .form {
    grid-column: 3;
    grid-row: 1;
    width: 100% !important;
    min-width: 0;
    max-width: 360px;
    margin: 0 !important;
    padding: 0 !important;
    justify-self: start;
  }

  body.pdf-product-body > header .navbar .search {
    width: 100% !important;
    min-height: 42px;
  }

  body.pdf-product-body > header .navbar-nav {
    grid-column: 2 / 5;
    grid-row: 2;
    display: flex;
    flex-wrap: nowrap;
    gap: 3px;
    margin: 0 !important;
    justify-self: end;
  }

  body.pdf-product-body > header .navbar-expand-lg .navbar-nav .nav-link {
    padding: 7px 10px !important;
    white-space: nowrap;
    font-size: 14px !important;
    line-height: 1.2;
  }

  body.pdf-product-body > header .toto-cart-toggle-btn-unique {
    grid-column: 4;
    grid-row: 1;
    padding: 9px 15px;
    justify-self: end;
  }
}

@media (max-width: 991.98px) {
  body.pdf-product-body > header .navbar > .container-fluid {
    flex-wrap: nowrap !important;
    gap: 9px;
    padding-right: 12px;
    padding-left: 12px;
  }

  body.pdf-product-body > header .navbar-brand {
    flex: 0 0 auto;
    margin: 0 !important;
  }

  body.pdf-product-body > header .navbar-brand img {
    width: 60px !important;
    margin: 0 !important;
    transform: none !important;
  }

  body.pdf-product-body > header .ffffhon {
    min-width: 0;
    margin-right: auto;
  }

  body.pdf-product-body > header .phone-link {
    flex-wrap: nowrap;
    white-space: nowrap;
    font-size: 14px !important;
  }

  body.pdf-product-body > header .phone-icon {
    width: 18px;
    height: 18px;
    margin-right: 6px;
  }

  body.pdf-product-body > header .navbar-toggler {
    flex: 0 0 42px;
  }

  body.pdf-product-body > header .navbar-collapse .nav-link {
    white-space: nowrap;
  }
}

@media (max-width: 420px) {
  body.pdf-product-body > header .navbar > .container-fluid {
    gap: 7px;
    padding-right: 9px;
    padding-left: 9px;
  }

  body.pdf-product-body > header .navbar-brand img {
    width: 52px !important;
  }

  body.pdf-product-body > header .phone-link {
    font-size: 12.5px !important;
  }

  body.pdf-product-body > header .phone-icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
  }
}

/* The shared chat artwork is intentionally large on desktop.  On product
   pages it must not obscure the related cards or the support CTA on phones. */
@media (max-width: 767px) {
  body.pdf-product-body #chat-icon {
    right: 12px !important;
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
    width: 56px !important;
    height: 56px !important;
    animation: none !important;
  }

  body.pdf-product-body #chat-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pdf-product-page *,
  .pdf-product-page *::before,
  .pdf-product-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Unified mobile header: product pages follow the catalog composition. */
body.pdf-product-body > header,
body.pdf-product-body > header.header-hidden,
body.pdf-product-body > header.menu-open {
  position: sticky !important;
  top: 0 !important;
  z-index: 1030 !important;
  transform: none !important;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

@media (max-width: 991.98px) {
  body.pdf-product-body[style*="overflow: hidden"] {
    overflow-x: clip !important;
    overflow-y: visible !important;
  }

  body.pdf-product-body > header .navbar > .container-fluid {
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    align-items: center;
    gap: 8px;
    padding: 8px 10px !important;
  }

  body.pdf-product-body > header .navbar-brand {
    grid-column: 1;
    margin: 0 !important;
    justify-self: start;
  }

  body.pdf-product-body > header .navbar-brand img {
    display: block;
    width: 52px !important;
    margin: 0 !important;
    transform: none !important;
  }

  body.pdf-product-body > header .ffffhon {
    grid-column: 2;
    min-width: 0;
    width: 100%;
    height: auto !important;
    margin: 0 !important;
    justify-self: stretch;
  }

  body.pdf-product-body > header .phone-link {
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(13.5px, 3.8vw, 15px) !important;
    font-weight: 500;
    line-height: 1.2;
  }

  body.pdf-product-body > header .phone-icon {
    width: 20px;
    height: 20px;
    margin-right: 7px;
    flex: 0 0 20px;
  }

  body.pdf-product-body > header .navbar-toggler {
    grid-column: 3;
    width: 42px;
    min-width: 42px;
    justify-self: end;
  }

  body.pdf-product-body > header .navbar-collapse {
    top: 68px !important;
    width: min(86vw, 360px) !important;
    max-width: 100vw;
    height: calc(100dvh - 68px) !important;
    max-height: calc(100dvh - 68px);
    overscroll-behavior: contain;
  }
}

@media (max-width: 360px) {
  body.pdf-product-body > header .navbar > .container-fluid {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 6px;
    padding-right: 8px !important;
    padding-left: 8px !important;
  }

  body.pdf-product-body > header .navbar-brand img {
    width: 48px !important;
  }

  body.pdf-product-body > header .phone-link {
    font-size: 13px !important;
  }

  body.pdf-product-body > header .phone-icon {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    flex-basis: 18px;
  }
}
