/* Detail-only namespace: shared directory/header/footer styles are not replaced. */

.odp-page {
  --odp-red: #B51F32;
  --odp-ink: #151719;
  --odp-muted: #616870;
  --odp-line: #cbd0d5;

  background: #E9EBED;
  color: var(--odp-ink);
}

.odp-hero.pd-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: var(--pd-banner-height);
  padding: 0;
  gap: 0;
  background: #64696d!important;
}

.odp-page .odp-hero .pd-family-band {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  scroll-margin-top: var(--header-offset,89px);
}

.odp-main a {
  text-decoration: none;
  color: inherit;
}

.odp-direct-contact a {
  text-decoration: underline;
  color: var(--odp-red);
}

.odp-overview-copy a {
  text-decoration: underline;
}

.odp-eyebrow a:hover {
  text-decoration: underline;
}

.odp-page .odp-hero .pd-family>a {
  color: #f5f6f7;
  font-size: 17px;
  line-height: 24px;
  letter-spacing: -.25px;
  gap: 13px;
}

.odp-page .odp-hero .pd-family-arrow {
  color: #e9b1b9;
  font-size: 21px;
}

.odp-page .odp-hero .pd-context {
  display: flex;
  gap: 11px;
  transform: none;
  letter-spacing: 0;
  font-size: 12px;
  line-height: 20px;
  font-weight: 400;
  min-width: 0;
  text-align: left;
}

.odp-page .odp-hero .pd-context>a,.odp-page .odp-hero .pd-context-group {
  color: #e0e3e6;
  font-size: 12px;
}

.odp-page .odp-hero .pd-context .pd-context-term {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.odp-page .pd-search {
  height: 48px;
  min-height: 48px;
  margin-bottom: 20px;
}

.odp-main button,.odp-main input,.odp-main textarea {
  font: inherit;
  border-radius: 0;
}

.odp-page .pd-search input {
  font-size: 13px;
  padding: 12px 8px 12px 13px;
  width: 100%;
}

.odp-main button {
  cursor: pointer;
  color: inherit;
}

.odp-arrows button {
  width: 40px;
  height: 40px;
  border: 1px solid #bfc6cd;
  background: transparent;
  font-size: 21px;
}

.odp-page .pd-search button {
  flex: 0 0 44px;
  padding: 0;
  gap: 0;
}

.odp-page .pd-directory {
  max-height: 560px;
}

.odp-hero.pd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--pd-hero-image);
  background-position: center 65%;
  background-size: cover;
  background-repeat: no-repeat;
  filter: none;
  pointer-events: none;
}

.odp-hero.pd-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(23 25 28 / 62%);
}

.odp-hero[data-banner-mode="product"]::before {
  width: 100%;
  background-image: var(--product-banner-image);
  background-size: cover;
  background-position: center;
  mask-image: none;
}

/* Same fixed, uncropped family fallback; accepted product originals keep their
   existing adaptation behavior. */

@media(width>=900px) and (prefers-reduced-motion:no-preference) {
  .odp-hero:not([data-banner-mode="product"])::before {
    background-attachment: fixed;
    background-size: 100vw auto;
    background-position: center calc(var(--pd-banner-top) + var(--pd-banner-height)*.65 - 65vw / var(--pd-hero-ratio,3));
  }
}

.odp-hero-heading {
  flex: 1;
  min-height: 152px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
}

@media(width<=680px) {
  .odp-hero.pd-hero:not([data-banner-mode="product"])::before {
    background-image: var(--pd-hero-mobile-image,var(--pd-hero-image));
    background-size: contain;
    background-position: center;
    background-attachment: scroll;
  }

  .odp-hero-heading {
    min-height: 112px;
  }
}

.odp-hero-heading .pd-study-kicker {
  margin: 0;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 1.7px;
}

.odp-hero-title {
  margin: 0;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -1px;
}

.odp-hero .pd-family-bar {
  min-height: 66px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.odp-main {
  min-width: 0;

  --odp-red: #B51F32;
  --odp-ink: #151719;
  --odp-muted: #616870;
  --odp-line: #cbd0d5;

  font-size: 14px;
  line-height: 1.55;
}

.odp-main * {
  box-sizing: border-box;
}

.odp-main :is(h1,h2,h3,p,ul,figure) {
  margin: 0;
}

.odp-main button:disabled {
  cursor: default;
}

.odp-main img {
  display: block;
  max-width: 100%;
}

.odp-main [hidden] {
  display: none!important;
}

.odp-main :is(a,button,input,textarea,[tabindex]):focus-visible {
  outline: 2px solid var(--odp-red);
  outline-offset: 3px;
}

.odp-main .odp-back {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--odp-muted);
  font-size: 12px;
  margin-bottom: 16px;
}

.odp-main .odp-back:hover {
  color: var(--odp-red);
}

.odp-overview {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(0,1fr);
  gap: 30px;
  align-items: start;
}

.odp-gallery {
  min-width: 0;
}

.odp-image-stage {
  position: relative;
  background: #fafafa;
  border: 1px solid var(--odp-line);
  padding: 6px;
  margin-top: 22px;
  aspect-ratio: 1.24;
  max-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.odp-page .odp-image-stage {
  aspect-ratio: 16 / 10;
  max-height: none;
}

.odp-image-stage>img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.odp-image-corner {
  position: absolute;
  top: -19px;
  left: 0;
  font-size: 10px;
  letter-spacing: 1.2px;
  color: #737a82;
}

.odp-image-empty {
  color: var(--odp-muted);
  text-align: center;
}

.odp-expand {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 1px solid #d7dce0;
  background: #ffffffed;
  font-size: 22px!important;
}

.odp-expand:focus-visible {
  color: var(--odp-red);
}

@media(hover:hover) {
  .odp-image-stage:hover .odp-expand {
    color: var(--odp-red);
  }
}

.odp-thumbs {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  scrollbar-width: thin;
  margin-top: 12px;
  padding: 3px;
}

.odp-thumb {
  flex: 0 0 62px;
  width: 62px;
  height: 56px;
  border: 1px solid var(--odp-line);
  background: #fafafa;
  padding: 3px;
}

.odp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.odp-thumb[aria-pressed="true"] {
  border-bottom: 3px solid var(--odp-red);
}

.odp-main .odp-image-count {
  margin-top: 7px;
  text-align: right;
  font-size: 11px;
  color: var(--odp-muted);
}

.odp-product-info {
  padding: 4px 0;
  min-width: 0;
}

.odp-eyebrow {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 10px;
  color: var(--odp-red);
  letter-spacing: 1px;
  text-transform: uppercase;
  align-items: center;
}

.odp-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--odp-red);
  margin-right: 4px;
}

.odp-main h1 {
  font-size: 32px;
  line-height: 1.17;
  letter-spacing: -.9px;
  font-weight: 700;
  margin: 15px 0 18px;
  overflow-wrap: anywhere;
}

.odp-summary {
  font-size: 14px;
  color: #555d66;
  line-height: 1.8;
}

.odp-summary p+p {
  margin-top: 12px;
}

.odp-main .odp-highlights {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  color: #5d6268;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.75;
}

.odp-highlights li {
  position: relative;
  padding-left: 14px;
  margin-top: 5px;
  overflow-wrap: anywhere;
}

.odp-highlights li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(.875em - 2px);
  width: 4px;
  height: 4px;
  background: var(--odp-red);
  border-radius: 50%;
}

.odp-enquiry-actions {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--odp-line);
}

.odp-main .odp-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 46px;
  padding: 12px 18px;
  background: #17191C;
  color: #fff;
  border: 0;
  font-weight: 600;
  font-size: 13px;
}

.odp-primary>span {
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
}

.odp-primary:disabled {
  opacity: .5;
}

.odp-enquiry-form>.odp-primary {
  width: 100%;
}

.odp-main .odp-primary:hover {
  background: var(--odp-red);
}

.odp-share {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  flex: none;
}

.odp-main .odp-share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border: 0;
  background: none;
  width: 32px;
  height: 36px;
  padding: 0;
  font: 700 18px/1 Arial,sans-serif;
}

.odp-share-link span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  line-height: 1;
}

.odp-related-action>span {
  font-size: 22px;
  color: var(--odp-red);
  font-weight: 400;
}

.odp-field-grid label>span {
  color: var(--odp-red);
}

.odp-share-link[data-network="facebook"] span {
  background: #527bbd;
  color: #fff;
  border-radius: 50%;
}

.odp-share-link[data-network="x"] span {
  background: #151719;
  color: white;
  font-size: 15px;
}

.odp-share-link[data-network="pinterest"] span {
  color: #d84454;
  font-size: 25px;
  font-family: Georgia,serif;
  font-style: italic;
}

.odp-share-link[data-network="linkedin"] span {
  background: #2289b8;
  color: #fff;
  font-size: 13px;
}

.odp-share-link[data-network="telegram"] span {
  color: #2499c5;
  font-size: 22px;
}

.odp-share-link:hover {
  opacity: .7;
}

.odp-description,.odp-related {
  margin-top: 32px;
  border-top: 1px solid #bec5cc;
  padding-top: 23px;
}

.odp-section-heading {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.5px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.odp-section-heading::before {
  content: "";
  width: 25px;
  height: 2px;
  background: var(--odp-red);
  flex-shrink: 0;
}

.odp-editorial {
  margin-top: 20px;
  line-height: 1.8;
  color: #555d66;
  overflow-wrap: anywhere;
}

.odp-editorial p+p {
  margin-top: 15px;
}

.odp-editorial :is(h2,h3,h4) {
  margin: 24px 0 10px;
  color: var(--odp-ink);
}

.odp-editorial ul,.odp-editorial ol {
  padding-left: 22px;
  margin: 14px 0;
}

.odp-editorial table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
  border-collapse: collapse;
}

.odp-editorial td,.odp-editorial th {
  padding: 8px;
  border: 1px solid var(--odp-line);
}

.odp-editorial iframe,.odp-editorial video {
  max-width: 100%;
}

.odp-related-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.odp-arrows {
  display: flex;
  gap: 8px;
}

.odp-arrows button:disabled {
  opacity: .35;
}

.odp-arrows button:not(:disabled):hover {
  background: var(--odp-red);
  color: #fff;
  border-color: var(--odp-red);
}

.odp-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 5px;
  overscroll-behavior-x: contain;
}

.odp-main .odp-related-card {
  flex: 0 0 calc((100% - 32px)/3);
  scroll-snap-align: start;
  min-width: 0;
  height: 246px;
  border: 1px solid var(--odp-line);
  background: #fafafa;
  display: flex;
  flex-direction: column;
}

.odp-related-photo {
  height: 136px;
  flex-shrink: 0;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid #e0e3e6;
}

.odp-related-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.odp-related-copy {
  padding: 9px 11px 8px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.odp-related-copy small {
  font-size: 11px;
  color: var(--odp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.odp-related-copy h3 {
  font-size: 14px;
  line-height: 18px;
  max-height: 36px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.odp-related-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 30px;
  border-top: 1px solid #dce0e4;
  margin-top: auto;
  font-size: 11px;
  font-weight: 600;
}

.odp-related-card:hover h3 {
  color: var(--odp-red);
}

.odp-rail-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 10px;
  color: var(--odp-muted);
  letter-spacing: .4px;
}

.odp-main dialog {
  position: fixed;
  inset: auto;
  margin: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  border: 0;
  padding: 0;
  width: min(620px,calc(100vw - 28px));
  max-width: calc(100vw - 28px);
  max-height: var(--odp-visible-height,calc(100dvh - 28px));
  overflow: auto;
  background: #f5f6f7;
  color: var(--odp-ink);
  box-shadow: 0 25px 100px #0006;
  overscroll-behavior: contain;
}

.odp-main dialog:not([open]) {
  display: none;
}

.odp-main dialog::backdrop {
  background: #101317b8;
  backdrop-filter: blur(3px);
}

.odp-modal-head {
  padding: 20px 24px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 2px solid var(--odp-red);
}

.odp-modal-head h2 {
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -.6px;
  overflow-wrap: anywhere;
}

.odp-modal-close {
  background: none;
  border: 0;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  font-size: 26px!important;
}

.odp-modal-body {
  padding: 0 24px 24px;
}

.odp-product-reference {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #DFE2E5;
  padding: 12px;
  margin-bottom: 18px;
}

.odp-product-reference img {
  box-sizing: border-box;
  width: 65px;
  height: 52px;
  padding: 3px;
  object-fit: contain;
  background: #fff;
}

.odp-product-reference strong {
  font-size: 14px;
  overflow-wrap: anywhere;
}

.odp-enquiry .odp-modal-head {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f5f6f7;
}

.odp-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.odp-field-grid label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  min-width: 0;
}

.odp-field-grid :is(input,textarea) {
  display: block;
  margin-top: 6px;
  background: #fff;
  border: 1px solid #c9cfd5;
  padding: 10px 12px;
  width: 100%;
  min-height: 44px;
  font-size: 14px;
  color: var(--odp-ink);
}

.odp-field-grid textarea {
  min-height: 88px;
  resize: vertical;
}

.odp-full {
  grid-column: 1/-1;
}

.odp-field-grid small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: var(--odp-muted);
}

.odp-main .odp-form-status {
  font-size: 13px;
  margin: 14px 0;
  overflow-wrap: anywhere;
}

.odp-form-status[data-error="true"] {
  color: var(--error);
}

.odp-direct-contact {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  font-size: 12px;
}

.odp-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.odp-main .odp-lightbox {
  width: min(946px,calc(100vw - 32px));
  max-height: var(--odp-visible-height,calc(100dvh - 40px));
  overflow: hidden;
  background: #fff;
}

.odp-lightbox .odp-modal-head {
  padding: 10px 16px;
  font-size: 13px;
}

.odp-lightbox>img {
  width: 100%;
  height: auto;
  max-height: calc(var(--odp-visible-height,calc(100dvh - 40px)) - var(--odp-header-height,62px));
  object-fit: contain;
  padding: 12px 16px 16px;
}

.odp-notice {
  position: fixed;
  z-index: 1000;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: #17191C;
  color: #fff;
  padding: 12px 18px;
  border-left: 3px solid var(--odp-red);
  max-width: calc(100vw - 30px);
  width: max-content;
  font-size: 12px;
}

.odp-content-sharing {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 18px;
}

.odp-content-sharing-label {
  font-size: 13px;
  line-height: 20px;
  font-weight: 700;
  color: var(--odp-ink);
}

.odp-content-sharing .odp-share {
  margin-top: 0;
}

[class~="odp-content-sharing-label"] {
  position: relative;
}

.odp-content-sharing-label::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  width: 2px;
  height: 12px;
  transform: translateY(-50%);
  background: var(--border-control,#747a81);
  pointer-events: none;
}


@media(width <=1100px) {
  .odp-overview {
    gap: 22px;
  }

  .odp-main h1 {
    font-size: 29px;
  }
}

@media(width <=1000px) {
  .odp-overview {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .odp-image-stage {
    aspect-ratio: 1.4;
    max-height: 340px;
  }

  .odp-product-info {
    padding: 0;
  }

  .odp-main h1 {
    font-size: 32px;
  }

  .odp-main .odp-related-card {
    flex-basis: calc((100% - 16px)/2);
  }
}

@media(width <=680px) {
  .odp-hero-heading {
    height: 112px;
  }

  .odp-hero-title {
    font-size: 33px;
  }

  .odp-hero .pd-family-bar {
    min-height: 90px;
  }

  .odp-overview {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .odp-gallery,.odp-product-info {
    width: 100%;
  }

  .odp-image-stage {
    aspect-ratio: 1.24;
    max-height: none;
  }

  .odp-main h1 {
    font-size: 30px;
  }

  .odp-main .odp-back {
    margin-bottom: 10px;
  }

  .odp-main .odp-related-card {
    flex-basis: 82%;
    height: 262px;
  }

  .odp-related-photo {
    height: 152px;
  }

  .odp-arrows button,.odp-expand,.odp-share-link {
    min-width: 44px;
    min-height: 44px;
  }

  .odp-field-grid {
    grid-template-columns: 1fr;
  }

  .odp-full {
    grid-column: auto;
  }

  .odp-field-grid :is(input,textarea) {
    font-size: 16px;
  }

  .odp-modal-head {
    padding: 15px 16px 10px;
  }

  .odp-modal-body {
    padding: 0 16px 18px;
  }

  .odp-modal-head h2 {
    font-size: 21px;
  }

  .odp-description,.odp-related {
    margin-top: 28px;
    padding-top: 22px;
  }

  .odp-section-heading {
    font-size: 21px;
  }
}

@media(width <=680px) {
  .odp-page .odp-hero .pd-family-bar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-block: 10px;
    min-height: 90px;
  }

  .odp-page .odp-hero .pd-context {
    margin-top: 0;
    gap: 8px;
    flex-wrap: wrap;
  }

  .odp-page .odp-hero .pd-family>a {
    font-size: 16px;
    min-height: 34px;
  }

  .odp-page .odp-hero .pd-context>a {
    min-height: 34px;
  }

  .odp-page .odp-hero .pd-context .pd-context-term {
    font-size: 13px;
  }

  .odp-page .pd-search input {
    font-size: 16px;
  }

  .odp-page .pd-search {
    margin-bottom: 12px;
  }

  .odp-page .odp-detail-layout > .pd-sidebar {
    margin-block: 28px;
  }
}

/* Detail-only mobile rhythm: keep the product primary and sharing a compact tool. */

@media(width <=680px) {
  .odp-image-stage {
    aspect-ratio: 1.35;
  }

  .odp-main h1 {
    font-size: 28px;
    line-height: 1.2;
    margin: 12px 0 14px;
  }

  .odp-enquiry-actions {
    margin-top: 18px;
    padding-top: 14px;
  }

  .odp-description,.odp-related {
    margin-top: 24px;
    padding-top: 20px;
  }

  .odp-content-sharing {
    margin-top: 14px;
    column-gap: 10px;
  }

  .odp-main .odp-related-card {
    height: 262px;
  }

  .odp-related-photo {
    height: 152px;
  }
}

@media(width <=360px) {
  .odp-main h1 {
    font-size: 26px;
  }

  .odp-content-sharing {
    column-gap: 4px;
  }

  .odp-content-sharing-label {
    font-size: 12px;
    letter-spacing: -.2px;
  }

  .odp-content-sharing .odp-share {
    gap: 0;
  }

  .odp-related-top {
    gap: 8px;
  }

  .odp-related .odp-section-heading {
    font-size: 18px;
    letter-spacing: -.4px;
  }

  .odp-related .odp-section-heading::before {
    display: none;
  }

  .odp-arrows {
    gap: 4px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .odp-page * {
    scroll-behavior: auto!important;
    transition: none!important;
  }
}

/* English upload presentation; transparent native input retains keyboard and touch access. */

.odp-upload-control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  padding: 10px;
  background: #fff;
  border: 1px solid #c9cfd5;
  min-height: 64px;
}

.odp-upload-control.upload-enhanced input[type="file"] {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.odp-upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-shrink: 0;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--odp-ink,#191c1f);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.odp-upload-status {
  min-width: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--odp-muted,#626970);
  overflow-wrap: anywhere;
}

.odp-upload-control:focus-within {
  outline: 2px solid var(--odp-red,#c62032);
  outline-offset: 3px;
}

@media(hover:hover) {
  .odp-upload-control:hover .odp-upload-button {
    background: var(--odp-red,#c62032);
  }
}

@media(width <=420px) {
  .odp-upload-control {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .odp-upload-button {
    width: 100%;
  }
}

.odp-main .odp-upload .attachment-box {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0,1fr);
  grid-template-rows: auto auto;
  gap: 0 14px;
  padding: 8px 10px;
  border: 1px solid #c9cfd5;
  background: #fff;
  margin-top: 6px;
  height: auto;
}

.odp-main .odp-upload .attachment-box .odp-upload-control {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  display: flex;
  align-items: center;
  flex-direction: row;
  min-height: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  gap: 0;
  position: relative;
}

.odp-main .odp-upload .attachment-box .odp-upload-button {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  gap: 8px;
  font-size: 12px;
  background: #b51f32;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.odp-main .odp-upload .attachment-box .odp-upload-status {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  font-size: 12px;
  color: #616870;
}

.odp-main .odp-upload .attachment-tools {
  position: absolute;
  right: 0;
  top: -14px;
  display: flex;
  justify-content: flex-end;
  margin: 0;
}

.odp-main .odp-upload .attachment-box .attachment-tools {
  position: static;
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  justify-content: flex-start;
}

.odp-main .odp-upload .attachment-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  border-bottom: 1px solid #cdd1d5;
  height: 88px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.odp-main .odp-upload .attachment-box .attachment-list {
  grid-column: 2;
  grid-row: 1 / span 2;
  height: auto;
  margin: 0;
  border-bottom: 0;
}

.odp-overview-copy ul>li {
  position: relative;
  padding-left: 14px;
  margin-top: 5px;
  overflow-wrap: anywhere;
}

.odp-main .odp-upload .attachment-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border-top: 1px solid #cdd1d5;
  height: 44px;
  min-height: 44px;
}

.odp-main .odp-upload .attachment-box .attachment-list li {
  border: 0;
  min-height: 34px;
  height: 34px;
}

.odp-main .odp-upload button.attachment-name {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 32px;
  min-height: 32px;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  color: #353a3f;
  font-size: 13px;
  font-weight: 400;
  line-height: 32px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.odp-main .odp-upload .attachment-box button.attachment-name {
  font-size: 11px;
  color: #616870;
  min-height: 32px;
  height: 32px;
  line-height: 32px;
}

.odp-main .odp-upload .attachment-info small {
  margin: 0;
  font-size: 11px;
  color: #616870;
  flex-shrink: 0;
}

.odp-main .odp-upload .attachment-box .attachment-info small {
  display: none;
}

.odp-main .odp-upload .attachment-box .attachment-remove {
  min-width: 32px;
  width: 32px;
  min-height: 32px;
  height: 32px;
  padding: 0;
  text-decoration: none;
  font-size: 17px;
  font-weight: 400;
  color: #747b81;
}

.odp-main .odp-upload .attachment-box .attachment-clear {
  min-height: 24px;
  height: 24px;
  padding: 0;
  justify-content: flex-start;
  color: #747b81;
  font-weight: 400;
  font-size: 11px;
}

.odp-main .odp-upload .attachment-box .attachment-hint {
  grid-column: 1/-1;
  grid-row: 2;
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  color: #616870;
  align-self: center;
}

.odp-main .odp-upload .attachment-feedback {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #53575c;
}

.odp-main .odp-upload .attachment-box .attachment-feedback {
  position: absolute;
  left: 152px;
  right: 10px;
  bottom: 8px;
  max-height: 34px;
  overflow: auto;
  height: auto;
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  background: white;
}

.odp-main .odp-upload .attachment-box .attachment-feedback[data-error="false"],.odp-main .odp-upload .attachment-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.odp-main .odp-upload .attachment-box[data-error="true"] .attachment-hint {
  visibility: hidden;
}

.odp-main .odp-upload > small[hidden] {
  display: none;
}

@media(width <=900px) {
  .odp-main .odp-upload .attachment-box {
    grid-template-columns: 102px minmax(0,1fr);
    height: 106px;
    grid-template-rows: 88px;
    gap: 0 8px;
  }

  .odp-main .odp-upload .attachment-box .attachment-list {
    height: 88px;
  }

  .odp-main .odp-upload .attachment-box .attachment-list li {
    height: 44px;
    min-height: 44px;
  }

  .odp-main .odp-upload .attachment-box button.attachment-name {
    height: 44px;
    min-height: 44px;
    line-height: 44px;
  }

  .odp-main .odp-upload .attachment-box .attachment-clear,.odp-main .odp-upload .attachment-box .attachment-remove {
    height: 44px;
    min-height: 44px;
  }

  .odp-main .odp-upload .attachment-box .attachment-remove {
    width: 44px;
    min-width: 44px;
  }

  .odp-main .odp-upload .attachment-box .attachment-feedback {
    left: 120px;
    max-height: 44px;
  }
}

.odp-main .odp-upload {
  min-width: 0;
  max-width: 100%;
}

[class~="odp-main"] .odp-upload {
  position: relative;
}

.odp-main .odp-upload .attachment-tools[hidden],.odp-main .odp-upload .attachment-list[hidden],.odp-main .odp-upload .attachment-feedback[hidden] {
  display: none;
}

.odp-main .odp-upload .attachment-info {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.odp-main .odp-upload button.attachment-name:hover {
  background: none;
  color: #a71d2e;
}

.odp-main .odp-upload button.attachment-name:focus-visible {
  outline: 2px solid #b51f32;
  outline-offset: -2px;
}

.odp-main .odp-upload :is(.attachment-clear,.attachment-remove) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  min-width: 64px;
  height: auto;
  min-height: 44px;
  margin: 0;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: #a71d2e;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.odp-main .odp-upload :is(.attachment-clear,.attachment-remove):hover {
  background: #b51f320c;
  color: #821324;
}

.odp-main .odp-upload :is(.attachment-clear,.attachment-remove):focus-visible {
  outline: 2px solid #b51f32;
  outline-offset: 1px;
}

.odp-main .odp-upload .attachment-feedback[data-error="true"] {
  color: #a71d2e;
}

.odp-main .odp-upload dialog.attachment-filename-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  transform: none;
  width: min(440px,calc(100vw - 40px));
  height: fit-content;
  max-height: calc(100dvh - 48px);
  padding: 24px;
  border: 1px solid #cdd1d5;
  background: #f8f9f9;
  color: #353a3f;
  box-shadow: 0 20px 70px #0005;
  overflow: auto;
}

.odp-main .odp-upload dialog.attachment-filename-dialog::backdrop {
  background: #15171999;
}

.odp-overview-copy p+p {
  margin-top: 10px;
}

.odp-main .odp-upload dialog.attachment-filename-dialog p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.odp-main .odp-upload .attachment-dialog-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  min-height: 44px;
  margin: 0;
  border: 0;
  background: #17191c;
  color: white;
  font-size: 13px;
  cursor: pointer;
}

@media(width <=900px) {
  .odp-main .odp-upload button.attachment-name {
    height: 44px;
    min-height: 44px;
    line-height: 44px;
  }
}

.odp-upload-control:not(.upload-enhanced)>span {
  display: none;
}

/* Maximum three attachments: show every file without a nested scrolling list. */

[class~="odp-main"] .odp-upload .attachment-box .attachment-list {
  overflow: visible;
  scrollbar-gutter: auto;
}

[class~="odp-main"] .odp-upload .attachment-box .attachment-list li {
  height: 22px;
  min-height: 22px;
}

.odp-main .odp-upload .attachment-box .attachment-list button.attachment-name {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  font-size: 11px;
  font-weight: 400;
  height: 22px;
  min-height: 22px;
  line-height: 22px;
}

.odp-main .odp-upload .attachment-box .attachment-list .attachment-remove {
  height: 22px;
  min-height: 22px;
  width: 44px;
  min-width: 44px;
  line-height: 22px;
}

@media(width <=900px) {
  .odp-main .odp-upload .attachment-box {
    height: auto;
    grid-template-rows: auto auto;
  }

  .odp-main .odp-upload .attachment-box .attachment-list {
    height: auto;
  }

  .odp-main .odp-upload .attachment-box .attachment-list li {
    height: 44px;
    min-height: 44px;
  }

  .odp-main .odp-upload .attachment-box .attachment-list button.attachment-name {
    height: 44px;
    min-height: 44px;
    line-height: 44px;
  }

  .odp-main .odp-upload .attachment-box .attachment-list .attachment-remove {
    height: 44px;
    min-height: 44px;
    width: 44px;
    min-width: 44px;
    line-height: 44px;
  }

  .odp-main .odp-upload .attachment-box .attachment-tools {
    align-self: end;
    margin-top: 0;
  }
}

/* Attachment rows occupy space only when selected; controls stay touch sized. */
.odp-main .odp-upload .attachment-box .attachment-list li,
.odp-main .odp-upload .attachment-box .attachment-list button.attachment-name,
.odp-main .odp-upload .attachment-box .attachment-list .attachment-remove,
.odp-main .odp-upload .attachment-box .attachment-clear {
  height: 44px;
  min-height: 44px;
  line-height: 44px;
}

.odp-main .odp-upload .attachment-box .attachment-feedback[data-error="true"] {
  position: static;
  grid-column: 1 / -1;
  grid-row: 3;
  width: auto;
  max-height: none;
  margin-top: 4px;
}

.odp-enquiry .odp-product-reference {
  padding: 8px;
  gap: 10px;
  margin-bottom: 14px;
}

.odp-enquiry .odp-field-grid {
  row-gap: 12px;
}

.odp-enquiry .odp-form-status:empty {
  margin: 0;
}

.odp-main .odp-upload .attachment-stem {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.odp-main .odp-upload .attachment-extension {
  flex: none;
}

.odp-main .odp-upload .attachment-name > span {
  font: inherit;
}

@media (hover: hover) and (pointer: fine) {
  .odp-main .odp-upload .attachment-box .attachment-list :is(li,button.attachment-name,.attachment-remove) {
    height: 22px;
    min-height: 22px;
    line-height: 22px;
  }

  .odp-main .odp-upload .attachment-box .attachment-clear {
    height: 24px;
    min-height: 24px;
    line-height: 24px;
  }
}

/* Flexible overview copy retains the accepted bullet treatment. */

.odp-overview-copy {
  margin: 20px 0;
  color: #5d6268;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.75;
}

.odp-overview-copy ul {
  list-style: none;
  padding: 0;
}

.odp-overview-copy ul>li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(.875em - 2px);
  width: 4px;
  height: 4px;
  background: var(--odp-red);
  border-radius: 50%;
}

.odp-overview-copy ol {
  padding-left: 23px;
}

.odp-overview-copy :is(ul,ol) :is(ul,ol) {
  margin-top: 5px;
}

/* Product-first source order for keyboard users; the desktop grid preserves
   the established directory-left / product-right composition. */
.odp-page .pd-layout.odp-detail-layout {
  grid-template-rows: auto minmax(0,1fr);
  row-gap: 0;
}

.odp-page .odp-detail-layout.has-directory > #owell-product-detail {
  grid-column: 2;
  grid-row: 1;
}

.odp-page .odp-detail-layout.has-directory > .pd-sidebar {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.odp-page .odp-detail-layout.has-directory > .odp-related {
  grid-column: 2;
  grid-row: 2;
}

.odp-page .odp-detail-layout.no-directory > :is(#owell-product-detail,.odp-related) {
  grid-column: 1 / -1;
}

.odp-page .odp-detail-layout > :is(#owell-product-detail,.pd-sidebar,.odp-related) {
  min-width: 0;
}

@media (width <= 1024px), (any-pointer: coarse) {
  .odp-main .odp-back,
  .odp-eyebrow a,
  .odp-arrows button,
  .odp-modal-close {
    position: relative;
  }

  .odp-main .odp-back::after,
  .odp-eyebrow a::after,
  .odp-arrows button::after,
  .odp-expand::after,
  .odp-modal-close::after {
    content: "";
    position: absolute;
    min-width: 44px;
    min-height: 44px;
    width: 100%;
    height: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .odp-field-grid :is(input,textarea) {
    font-size: 16px;
  }
}
