:root {
  --opq-navy: #13253a;
  --opq-navy-dark: #0a1624;
  --opq-brick: #a8443a;
  --opq-charcoal: #20262d;
  --opq-grey-700: #4f5b67;
  --opq-grey-500: #7b8793;
  --opq-grey-300: #d5dbe1;
  --opq-grey-200: #e3e7eb;
  --opq-grey-100: #f2f4f6;
  --opq-off-white: #faf9f7;
  --opq-white: #ffffff;
  --opq-green: #187b4f;
  --opq-red: #a13731;
  --opq-whatsapp: #25d366;
}

.op-quote-page,
.op-quote-page * {
  box-sizing: border-box;
}

.op-quote-page {
  width: 100%;
  overflow: clip;
  color: var(--opq-charcoal);
  background: var(--opq-white);
  font-family: "Source Sans 3", Arial, sans-serif;
}

.op-quote-page h1,
.op-quote-page h2,
.op-quote-page h3,
.op-quote-page strong,
.op-quote-page button,
.op-quote-page a,
.op-quote-page legend {
  font-family: "IBM Plex Sans", Arial, sans-serif;
}

.op-quote-page h1,
.op-quote-page h2,
.op-quote-page p,
.op-quote-page ol,
.op-quote-page ul,
.op-quote-page fieldset {
  margin-top: 0;
}

.op-quote-container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.op-quote-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--opq-brick);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.op-quote-eyebrow::before {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  background: currentColor;
  content: "";
}

.op-quote-hero {
  padding: 46px 0 62px;
  border-bottom: 1px solid var(--opq-grey-200);
  background: var(--opq-off-white);
}

.op-quote-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: clamp(52px, 8vw, 108px);
  align-items: center;
}

.op-quote-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 38px;
  color: var(--opq-grey-500);
  font-size: 0.84rem;
}

.op-quote-breadcrumb a {
  color: var(--opq-navy);
  text-decoration: none;
}

.op-quote-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.op-quote-hero__copy h1 {
  max-width: 680px;
  margin-bottom: 23px;
  color: var(--opq-navy);
  font-size: clamp(2.65rem, 5.2vw, 4.75rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.op-quote-hero__copy > p:last-child {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--opq-grey-700);
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.68;
}

.op-quote-process {
  margin: 0;
  padding: 0;
  border-top: 4px solid var(--opq-brick);
  background: var(--opq-navy);
  box-shadow: 18px 18px 0 var(--opq-grey-200);
  list-style: none;
}

.op-quote-process li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 19px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--opq-white);
}

.op-quote-process li:last-child {
  border-bottom: 0;
}

.op-quote-process > li > span {
  color: #d5a19c;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.op-quote-process strong,
.op-quote-process small {
  display: block;
}

.op-quote-process strong {
  margin-bottom: 3px;
  font-size: 0.98rem;
  font-weight: 600;
}

.op-quote-process small {
  color: rgba(255, 255, 255, 0.7);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 0.88rem;
  line-height: 1.45;
}

.op-quote-content {
  padding: 72px 0 88px;
  background: var(--opq-white);
}

.op-quote-content__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(42px, 6vw, 78px);
  align-items: start;
}

.op-quote-form-panel {
  min-width: 0;
}

.op-quote-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 28px;
  padding: 17px 18px;
  border: 1px solid #b9dfcb;
  border-left: 4px solid var(--opq-green);
  color: #174b33;
  background: #f1faf5;
}

.op-quote-notice--error {
  display: block;
  border-color: #e3c1be;
  border-left-color: var(--opq-red);
  color: #762c27;
  background: #fff6f5;
}

.op-quote-notice svg {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
}

.op-quote-notice strong,
.op-quote-notice span {
  display: block;
}

.op-quote-notice strong {
  margin-bottom: 3px;
  font-size: 1rem;
}

.op-quote-notice span {
  font-size: 0.94rem;
  line-height: 1.5;
}

.op-quote-form {
  display: grid;
  gap: 28px;
}

.op-quote-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.op-quote-section {
  min-width: 0;
  margin: 0;
  padding: 0 0 30px;
  border: 0;
  border-bottom: 1px solid var(--opq-grey-200);
}

.op-quote-section legend {
  display: grid;
  width: 100%;
  grid-template-columns: 34px auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 0 0 22px;
  padding: 0;
  color: var(--opq-navy);
}

.op-quote-section legend > span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--opq-white);
  background: var(--opq-brick);
  font-size: 0.84rem;
  font-weight: 700;
}

.op-quote-section legend strong {
  font-size: 1.24rem;
  font-weight: 600;
}

.op-quote-section legend small {
  justify-self: end;
  color: var(--opq-grey-500);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 0.88rem;
}

.op-quote-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.op-quote-form label {
  display: grid;
  min-width: 0;
  gap: 7px;
  margin: 0;
}

.op-quote-form label > span:first-child {
  color: var(--opq-navy);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
}

.op-quote-form label b {
  color: var(--opq-brick);
}

.op-quote-page .op-quote-form input[type="text"],
.op-quote-page .op-quote-form input[type="tel"],
.op-quote-page .op-quote-form input[type="email"],
.op-quote-page .op-quote-form input[type="number"],
.op-quote-page .op-quote-form input[type="date"],
.op-quote-page .op-quote-form select,
.op-quote-page .op-quote-form textarea {
  width: 100% !important;
  min-height: 47px;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid var(--opq-grey-300) !important;
  border-radius: 4px !important;
  outline: 0;
  color: var(--opq-charcoal) !important;
  background: var(--opq-white) !important;
  box-shadow: none !important;
  font-family: "Source Sans 3", Arial, sans-serif !important;
  font-size: 0.96rem !important;
  line-height: 1.35 !important;
}

.op-quote-page .op-quote-form textarea {
  min-height: 132px;
  resize: vertical;
}

.op-quote-page .op-quote-form input:focus,
.op-quote-page .op-quote-form select:focus,
.op-quote-page .op-quote-form textarea:focus {
  border-color: var(--opq-navy) !important;
  box-shadow: 0 0 0 3px rgba(19, 37, 58, 0.09) !important;
}

.op-quote-field--wide {
  grid-column: 1 / -1;
}

.op-quote-routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.op-quote-routes > div {
  padding: 14px 16px;
  border-left: 3px solid var(--opq-brick);
  background: var(--opq-grey-100);
}

.op-quote-routes strong,
.op-quote-routes span {
  display: block;
}

.op-quote-routes strong {
  margin-bottom: 3px;
  color: var(--opq-navy);
  font-size: 0.91rem;
}

.op-quote-routes span {
  color: var(--opq-grey-700);
  font-size: 0.84rem;
  line-height: 1.45;
}

.op-quote-items {
  display: grid;
  gap: 10px;
}

.op-quote-item {
  display: grid;
  grid-template-columns: minmax(210px, 1.3fr) 76px minmax(180px, 1fr) 34px;
  gap: 10px;
  align-items: end;
}

.op-quote-item--head {
  align-items: center;
  padding: 0 3px 2px;
  color: var(--opq-grey-500);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.op-quote-item label > span {
  display: none;
}

.op-quote-item .op-quote-product-field {
  position: relative;
}

.op-quote-item label > .op-quote-product-search {
  position: relative;
  display: block;
}

.op-quote-product-results {
  position: absolute;
  z-index: 80;
  top: calc(100% + 5px);
  left: 0;
  display: grid;
  width: min(520px, calc(100vw - 48px));
  max-height: 330px;
  overflow-y: auto;
  border: 1px solid var(--opq-grey-300);
  background: var(--opq-white);
  box-shadow: 0 12px 30px rgba(19, 37, 58, 0.16);
}

.op-quote-product-results[hidden] {
  display: none !important;
}

.op-quote-page .op-quote-product-result,
.op-quote-product-result {
  display: grid !important;
  width: 100% !important;
  min-height: 66px !important;
  grid-template-columns: 54px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 8px 12px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--opq-grey-200) !important;
  border-radius: 0 !important;
  color: var(--opq-charcoal) !important;
  background: var(--opq-white) !important;
  box-shadow: none !important;
  text-align: left !important;
  cursor: pointer;
}

.op-quote-product-result:hover,
.op-quote-product-result:focus {
  background: var(--opq-grey-100) !important;
  outline: 2px solid var(--opq-navy);
  outline-offset: -2px;
}

.op-quote-product-result img {
  width: 54px;
  height: 50px;
  object-fit: contain;
  background: var(--opq-off-white);
}

.op-quote-product-result span,
.op-quote-product-result strong,
.op-quote-product-result small {
  display: block;
}

.op-quote-product-result strong {
  margin-bottom: 3px;
  color: var(--opq-navy);
  font-size: 0.88rem;
  line-height: 1.3;
}

.op-quote-product-result small {
  color: var(--opq-grey-500);
  font-size: 0.76rem;
  line-height: 1.35;
}

.op-quote-product-empty {
  display: block !important;
  padding: 13px 14px;
  color: var(--opq-grey-700);
  font-size: 0.85rem;
  line-height: 1.4;
}

.op-quote-item label > .op-quote-product-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 8px;
  align-items: center;
  margin-top: 5px;
  color: var(--opq-grey-500);
  font-size: 0.74rem;
  line-height: 1.3;
}

.op-quote-product-selected[hidden] {
  display: none !important;
}

.op-quote-product-selected strong {
  color: var(--opq-green);
  font-size: inherit;
}

.op-quote-product-selected a {
  color: var(--opq-navy);
  font-size: inherit;
  font-weight: 600;
}

.op-quote-page .op-quote-item__remove,
.op-quote-item__remove {
  display: inline-grid !important;
  width: 34px !important;
  min-width: 34px !important;
  height: 47px !important;
  min-height: 47px !important;
  place-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--opq-grey-300) !important;
  border-radius: 4px !important;
  color: var(--opq-grey-700) !important;
  background: var(--opq-white) !important;
  box-shadow: none !important;
  font-size: 1.45rem !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  cursor: pointer;
}

.op-quote-item__remove:hover,
.op-quote-item__remove:focus {
  border-color: var(--opq-brick) !important;
  color: var(--opq-brick) !important;
  background: #fff7f6 !important;
}

.op-quote-item:only-of-type .op-quote-item__remove {
  visibility: hidden;
}

.op-quote-item__remove[hidden] {
  display: none !important;
}

.op-quote-page .op-quote-add-item,
.op-quote-add-item {
  display: inline-flex !important;
  width: auto !important;
  min-height: 42px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 14px 0 0 !important;
  padding: 9px 14px !important;
  border: 1px solid var(--opq-navy) !important;
  border-radius: 4px !important;
  color: var(--opq-navy) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  cursor: pointer;
}

.op-quote-add-item:hover,
.op-quote-add-item:focus {
  background: var(--opq-grey-100) !important;
}

.op-quote-upload {
  padding: 16px;
  border: 1px dashed var(--opq-grey-300);
  background: var(--opq-off-white);
}

.op-quote-upload input[type="file"] {
  width: 100%;
  color: var(--opq-grey-700);
  font-size: 0.9rem;
}

.op-quote-upload small,
.op-quote-upload output {
  color: var(--opq-grey-500);
  font-size: 0.82rem;
  line-height: 1.45;
}

.op-quote-upload output {
  display: block;
  color: var(--opq-navy);
}

.op-quote-upload output.is-error {
  color: var(--opq-red);
  font-weight: 600;
}

.op-quote-consent {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px !important;
  align-items: start;
}

.op-quote-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--opq-navy);
}

.op-quote-consent span {
  color: var(--opq-grey-700) !important;
  font-family: "Source Sans 3", Arial, sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  line-height: 1.5;
}

.op-quote-consent a {
  color: var(--opq-navy);
  font-weight: 600;
  text-underline-offset: 2px;
}

.op-quote-submit {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.op-quote-page .op-quote-submit button,
.op-quote-submit button {
  display: inline-flex !important;
  min-height: 50px !important;
  flex: 0 0 auto;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 13px 20px !important;
  border: 1px solid var(--opq-navy) !important;
  border-radius: 4px !important;
  color: var(--opq-white) !important;
  background: var(--opq-navy) !important;
  box-shadow: none !important;
  font-size: 0.96rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  cursor: pointer;
}

.op-quote-submit button:hover,
.op-quote-submit button:focus {
  border-color: var(--opq-navy-dark) !important;
  background: var(--opq-navy-dark) !important;
}

.op-quote-submit button svg {
  width: 18px;
  height: 18px;
}

.op-quote-submit p {
  max-width: 340px;
  margin: 0;
  color: var(--opq-grey-500);
  font-size: 0.83rem;
  line-height: 1.5;
}

.op-quote-sidebar {
  display: grid;
  gap: 20px;
}

.op-quote-sidebar__block,
.op-quote-sidebar__note {
  padding: 25px;
  border: 1px solid var(--opq-grey-200);
  background: var(--opq-white);
}

.op-quote-sidebar__block h2 {
  margin-bottom: 18px;
  color: var(--opq-navy);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.op-quote-sidebar__block ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.op-quote-sidebar__block li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--opq-grey-700);
  font-size: 0.92rem;
  line-height: 1.45;
}

.op-quote-sidebar__block li svg {
  width: 19px;
  height: 19px;
  color: var(--opq-brick);
}

.op-quote-sidebar__help {
  border-top: 4px solid var(--opq-brick);
  background: var(--opq-navy);
}

.op-quote-sidebar__help h2,
.op-quote-sidebar__help p {
  color: var(--opq-white);
}

.op-quote-sidebar__help p {
  margin-bottom: 17px;
  opacity: 0.76;
  font-size: 0.91rem;
  line-height: 1.55;
}

.op-quote-sidebar__icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 15px;
  color: var(--opq-white);
  background: rgba(255, 255, 255, 0.1);
}

.op-quote-sidebar__icon svg {
  width: 21px;
  height: 21px;
}

.op-quote-sidebar__help > a {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--opq-white);
  font-size: 0.91rem;
  font-weight: 600;
  text-decoration: none;
}

.op-quote-sidebar__help > a svg {
  width: 18px;
  height: 18px;
}

.op-quote-sidebar__help > a:hover {
  color: #d5a19c;
}

.op-quote-sidebar__note {
  background: var(--opq-off-white);
}

.op-quote-sidebar__note strong {
  display: block;
  margin-bottom: 7px;
  color: var(--opq-navy);
  font-size: 0.94rem;
}

.op-quote-sidebar__note p {
  margin: 0;
  color: var(--opq-grey-700);
  font-size: 0.87rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .op-quote-hero__grid,
  .op-quote-content__grid {
    grid-template-columns: 1fr;
  }

  .op-quote-hero__grid {
    gap: 44px;
  }

  .op-quote-process {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    box-shadow: 12px 12px 0 var(--opq-grey-200);
  }

  .op-quote-process li:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
  }

  .op-quote-content__grid {
    gap: 44px;
  }

  .op-quote-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .op-quote-sidebar__note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .op-quote-container {
    width: min(100% - 28px, 1180px);
  }

  .op-quote-hero {
    padding: 29px 0 44px;
  }

  .op-quote-breadcrumb {
    margin-bottom: 26px;
  }

  .op-quote-hero__copy h1 {
    margin-bottom: 18px;
    font-size: clamp(2.25rem, 12vw, 3.25rem);
  }

  .op-quote-process {
    display: block;
    box-shadow: 8px 8px 0 var(--opq-grey-200);
  }

  .op-quote-process li:nth-child(odd) {
    border-right: 0;
  }

  .op-quote-content {
    padding: 50px 0 64px;
  }

  .op-quote-form {
    gap: 24px;
  }

  .op-quote-section {
    padding-bottom: 25px;
  }

  .op-quote-section legend {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
  }

  .op-quote-section legend small {
    grid-column: 2;
    justify-self: start;
  }

  .op-quote-fields {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .op-quote-routes {
    grid-template-columns: 1fr;
  }

  .op-quote-field--wide {
    grid-column: auto;
  }

  .op-quote-item--head {
    display: none;
  }

  .op-quote-item {
    position: relative;
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--opq-grey-200);
    background: var(--opq-off-white);
  }

  .op-quote-item label:first-child,
  .op-quote-item label:nth-child(3) {
    grid-column: 1 / -1;
  }

  .op-quote-item label > span {
    display: block;
  }

  .op-quote-product-results {
    width: 100%;
    max-width: none;
  }

  .op-quote-item__remove {
    position: absolute !important;
    right: 8px;
    top: 8px;
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
  }

  .op-quote-submit {
    display: grid;
    gap: 12px;
  }

  .op-quote-submit button {
    width: 100% !important;
  }

  .op-quote-submit p {
    max-width: none;
  }

  .op-quote-sidebar {
    grid-template-columns: 1fr;
  }

  .op-quote-sidebar__note {
    grid-column: auto;
  }
}

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