:root {
  --oc-ink: #161616;
  --oc-paper: #f5f1e9;
  --oc-warm-white: #fbf9f5;
  --oc-gold: #b78a3d;
  --oc-line: rgba(22, 22, 22, 0.16);
}

.oc-finish-visual-module:not(:has(.oc-finish-visual)) {
  display: none;
}

.oc-finish-visual {
  background: #eee9df;
  border: 1px solid rgba(22, 22, 22, 0.14);
  box-shadow: 0 14px 32px rgba(22, 22, 22, 0.08);
  color: var(--oc-ink);
  margin-top: 22px;
  padding: 14px;
}

.oc-finish-visual-heading {
  padding: 2px 2px 12px;
}

.oc-finish-visual-heading > span,
.oc-finish-visual-card figcaption span {
  color: var(--oc-gold);
  display: block;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.oc-finish-visual-heading > strong {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
  margin-top: 4px;
}

.oc-finish-visual-heading p {
  color: #625e56;
  font-size: 13px;
  line-height: 1.45;
  margin: 6px 0 0;
}

.oc-finish-visual-card {
  background: var(--oc-warm-white);
  border: 1px solid rgba(22, 22, 22, 0.12);
  margin: 0;
  min-width: 0;
}

.oc-finish-visual-card.is-selected {
  border-color: var(--oc-gold);
  box-shadow: 0 0 0 2px var(--oc-gold);
}

.oc-finish-visual-card img {
  aspect-ratio: 3 / 2;
  display: block;
  object-fit: cover;
  width: 100%;
}

.oc-finish-visual-card figcaption {
  min-height: 58px;
  padding: 9px 10px 10px;
}

.oc-finish-visual-card figcaption strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
  margin-top: 3px;
}

.oc-finish-visual-summary {
  border-top: 1px solid rgba(22, 22, 22, 0.14);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin: 12px 2px 0;
  padding-top: 10px;
}

@media (min-width: 981px) {
  .oc-product-template .et_pb_row:has(.oc-finish-visual) {
    align-items: stretch;
    display: flex !important;
  }

  .oc-product-template .et_pb_row:has(.oc-product-configurator-panel) > .et_pb_column:first-child {
    margin-right: 0 !important;
    width: 60% !important;
  }

  .oc-product-template .et_pb_row:has(.oc-product-configurator-panel) > .oc-product-configurator-panel {
    margin-left: 0 !important;
    width: 40% !important;
  }

  .oc-product-template .et_pb_column:has(.oc-finish-visual) {
    align-self: stretch;
  }

  .oc-product-template .oc-finish-visual-module {
    align-self: flex-start;
    height: fit-content;
    position: sticky !important;
    top: 124px;
    z-index: 2;
  }
}

@media (max-width: 980px) {
  .oc-product-template .oc-finish-visual-module {
    display: none !important;
  }
}

.oc-size-configurator {
  margin: 18px 0;
}

.oc-variation-choice-cards-source {
  display: none;
}

.oc-variation-choice-cards-source.is-ready {
  border: 0;
  display: block;
  margin: 0;
  padding: 0;
  position: relative;
}

.oc-variation-choice-cards-source legend {
  color: #24211e;
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 9px;
  padding: 0;
  width: 100%;
}

.oc-variation-choice-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.oc-variation-choice-grid button {
  align-items: center;
  background: #fff;
  border: 1px solid #d7d1c8;
  border-radius: 3px;
  color: #24211e;
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  gap: 10px;
  justify-content: flex-start;
  line-height: 1.3;
  min-height: 50px;
  padding: 11px 14px;
  text-align: left;
  width: 100%;
}

.oc-variation-choice-grid button::before {
  background: #fff;
  border: 1px solid #8c877e;
  border-radius: 50%;
  content: '';
  flex: 0 0 14px;
  height: 14px;
  width: 14px;
}

.oc-variation-choice-grid button[aria-pressed="true"] {
  border-color: var(--oc-gold);
  box-shadow: inset 3px 0 0 var(--oc-gold);
}

.oc-variation-choice-grid button[aria-pressed="true"]::before {
  background: var(--oc-gold);
  border-color: var(--oc-gold);
  box-shadow: inset 0 0 0 3px #fff;
}

.oc-variation-choice-grid button:focus-visible {
  outline: 3px solid rgba(183, 138, 61, 0.55);
  outline-offset: 2px;
}

.oc-native-variation-card-select {
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

.oc-variation-cards-row > th[hidden] {
  display: none !important;
}

.oc-variation-cards-row > td.value {
  padding-bottom: 12px !important;
  width: 100% !important;
}

.oc-has-variation-choice-cards table.variations {
  margin-bottom: 8px !important;
}

.oc-has-variation-choice-cards .oc-form-order-finish {
  margin-top: 8px;
  padding-top: 16px;
}

.oc-sumo-configurator {
  background: #f7f4ee;
  border: 1px solid rgba(22, 22, 22, 0.14);
  display: grid;
  gap: 22px;
  margin: 0 0 22px;
  padding: 22px;
}

.oc-sumo-heading p {
  color: #625e56;
  font-size: 14px;
  line-height: 1.5;
  margin: 4px 0 0;
}

.oc-sumo-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.oc-sumo-columns,
.oc-sumo-process-counts {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.oc-sumo-process-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.oc-sumo-choice-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.oc-sumo-quantity-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.oc-sumo-choice-grid label {
  cursor: pointer;
  margin: 0;
}

.oc-sumo-choice-grid input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.oc-sumo-choice-grid span {
  align-items: center;
  background: #fff;
  border: 1px solid #d7d1c8;
  color: var(--oc-ink);
  display: flex;
  font-size: 14px;
  font-weight: 650;
  justify-content: center;
  min-height: 44px;
  padding: 8px 10px;
  text-align: center;
}

.oc-sumo-choice-grid input:checked + span {
  background: var(--oc-ink);
  border-color: var(--oc-ink);
  color: #fff;
}

.oc-sumo-choice-grid input:focus-visible + span {
  outline: 3px solid rgba(183, 138, 61, 0.55);
  outline-offset: 2px;
}

.oc-sumo-process-counts label,
.oc-sumo-process-row > label,
.oc-painted-colour {
  color: var(--oc-ink);
  display: grid;
  font-size: 14px;
  gap: 7px;
}

.oc-sumo-process-counts select,
.oc-sumo-process-row select {
  background: #fff;
  border: 1px solid rgba(22, 22, 22, 0.28);
  border-radius: 0;
  color: var(--oc-ink);
  font-size: 15px;
  min-height: 46px;
  padding: 8px 34px 8px 10px;
  width: 100%;
}

.oc-sumo-process-counts small,
.oc-sumo-note,
.oc-sumo-process-status {
  color: #625e56;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.oc-sumo-process {
  border-top: 1px solid rgba(22, 22, 22, 0.14);
  padding-top: 18px;
}

.oc-sumo-process .oc-sumo-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.oc-sumo-process[hidden],
.oc-painted-colour[hidden],
[data-oc-process-colour][hidden] {
  display: none;
}

.oc-sumo-process-status {
  background: #e8eee6;
  border-left: 3px solid #60775b;
  padding: 10px 12px;
}

.oc-sumo-process-status.is-error {
  background: #f5e6e1;
  border-left-color: #9a3e2e;
  color: #762f23;
}

.oc-sumo-cart-form > .quantity {
  display: none !important;
}

.oc-coloured-board-configurator {
  margin: 0 0 18px;
}

.oc-coloured-board-note,
.oc-coloured-board-guidance {
  color: #625e56;
  font-size: 13px;
  line-height: 1.5;
  margin: 8px 0 0;
}

.oc-coloured-board-variations {
  margin-bottom: 12px !important;
}

.oc-coloured-board-variations th.label {
  min-width: 92px;
  vertical-align: top !important;
}

.oc-coloured-board-variations td.value {
  padding-bottom: 18px !important;
}

.oc-coloured-board-variations tr:last-child td.value,
.oc-coloured-board-variations tr:last-child th.label {
  padding-bottom: 0 !important;
}

.oc-coloured-board-variations select {
  background: #fff;
  border: 1px solid rgba(22, 22, 22, 0.28);
  border-radius: 0;
  color: var(--oc-ink);
  font-size: 15px;
  min-height: 46px;
  padding: 8px 34px 8px 10px;
  width: 100%;
}

.oc-coloured-board-size-slot .oc-size-configurator {
  margin: 0;
}

.oc-coloured-board-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.oc-coloured-board-choice-grid,
.oc-coloured-board-colour-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.oc-coloured-board-colour-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.oc-coloured-board-choice-grid label,
.oc-coloured-board-colour-choice {
  cursor: pointer;
  margin: 0;
}

.oc-coloured-board-choice-grid input,
.oc-coloured-board-colour-choice > input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.oc-coloured-board-choice-grid label > span,
.oc-coloured-board-colour-choice > span {
  align-items: center;
  background: #fff;
  border: 1px solid #d7d1c8;
  color: var(--oc-ink);
  display: flex;
  font-size: 14px;
  font-weight: 650;
  gap: 10px;
  min-height: 44px;
  padding: 8px 10px;
}

.oc-coloured-board-choice-grid label > span {
  justify-content: center;
  text-align: center;
}

.oc-coloured-board-choice-grid input:checked + span,
.oc-coloured-board-colour-choice > input:checked + span {
  border-color: var(--oc-gold);
  box-shadow: inset 0 0 0 2px var(--oc-gold);
}

.oc-coloured-board-choice-grid input:focus-visible + span,
.oc-coloured-board-colour-choice > input:focus-visible + span {
  outline: 3px solid rgba(183, 138, 61, 0.55);
  outline-offset: 2px;
}

.oc-coloured-board-colour-photo {
  background: #dedbd4;
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
  flex: 0 0 54px;
  height: 42px;
  overflow: hidden;
}

.oc-coloured-board-preview {
  background: #fff;
  border: 1px solid #d7d1c8;
  margin: 10px 0 0;
  overflow: hidden;
}

.oc-coloured-board-preview-media {
  height: 160px;
  overflow: hidden;
}

.oc-coloured-board-preview img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.oc-coloured-board-preview figcaption {
  color: #625e56;
  font-size: 12px;
  line-height: 1.4;
  padding: 7px 9px;
}

.oc-foil-choice-grid {
  display: grid;
  gap: 12px 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.oc-foil-choice {
  cursor: pointer;
  margin: 0;
  min-width: 0;
}

.oc-foil-choice > input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.oc-foil-choice > span {
  align-items: center;
  color: var(--oc-ink);
  display: flex;
  flex-direction: column;
  font-size: 10px;
  gap: 6px;
  min-width: 0;
  text-align: center;
}

.oc-foil-choice img,
.oc-foil-custom-swatch {
  background: #fff;
  border: 2px solid transparent;
  box-sizing: border-box;
  display: block;
  height: 68px;
  object-fit: cover;
  padding: 3px;
  width: 68px;
}

.oc-foil-custom-swatch {
  align-items: center;
  background: linear-gradient(135deg, #d8d4ca, #fff 48%, #b68a3c 52%, #4b4a46);
  color: #171716;
  display: flex;
  font-size: 28px;
  font-weight: 400;
  justify-content: center;
}

.oc-foil-choice > input:checked + span img,
.oc-foil-choice > input:checked + span .oc-foil-custom-swatch {
  border-color: var(--oc-gold);
}

.oc-foil-choice > input:focus-visible + span img,
.oc-foil-choice > input:focus-visible + span .oc-foil-custom-swatch {
  outline: 3px solid rgba(183, 138, 61, 0.55);
  outline-offset: 2px;
}

.oc-foil-choice strong {
  font-size: 10px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.oc-coloured-board-guidance {
  border-top: 1px solid rgba(22, 22, 22, 0.14);
  padding-top: 12px;
}

.oc-coloured-board-guidance a {
  color: #745522;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.oc-coloured-board-cart-form > .quantity {
  display: none !important;
}

.oc-laser-triplex-cart-form > .quantity {
  display: none !important;
}

.oc-laser-triplex-size-slot .oc-size-configurator {
  margin: 0;
}

.oc-laser-triplex-family-grid label > span {
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
  justify-content: center;
  text-align: left;
}

.oc-laser-triplex-family-grid small {
  color: #6b675f;
  display: block;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.oc-laser-triplex-colour-grid[hidden] {
  display: none !important;
}

.oc-laser-triplex-colour-grid .oc-coloured-board-colour-choice > span > strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.oc-paper-colour-swatch {
  background-color: var(--oc-paper-swatch, #777);
  background-image: linear-gradient(115deg, rgba(255,255,255,.12), rgba(0,0,0,.08)), repeating-linear-gradient(95deg, rgba(255,255,255,.06) 0 1px, transparent 1px 4px);
  box-shadow: inset 0 0 0 1px rgba(22, 22, 22, .16);
  display: block;
  flex: 0 0 54px;
  height: 42px;
}

.oc-laser-triplex-preview img {
  object-position: center;
}

.oc-size-configurator .oc-option-label,
.oc-size-configurator label {
  color: var(--oc-ink);
  display: block;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.04em;
  margin-bottom: 7px;
}

.oc-size-configurator input {
  background: #fff;
  border: 1px solid rgba(22, 22, 22, 0.28);
  border-radius: 0;
  color: var(--oc-ink);
  font-size: 16px;
  min-height: 48px;
  padding: 10px 12px;
  width: 100%;
}

.oc-native-size-select {
  display: none !important;
}

.oc-product-configurator-panel table.variations td.value span::after {
  content: none !important;
  display: none !important;
}

.oc-size-choices {
  border: 0;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}

.oc-size-choices .oc-option-label {
  grid-column: 1 / -1;
}

.oc-size-choices button {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(22, 22, 22, 0.24);
  border-radius: 0;
  color: var(--oc-ink);
  cursor: pointer;
  display: flex;
  font-size: 14px;
  justify-content: center;
  line-height: 1.2;
  min-height: 44px;
  padding: 8px;
  text-align: center;
  width: 100%;
}

.oc-size-choices button[aria-pressed="true"] {
  background: var(--oc-ink);
  border-color: var(--oc-ink);
  color: #fff;
}

.oc-size-choices button:focus-visible {
  outline: 3px solid rgba(183, 138, 61, 0.55);
  outline-offset: 2px;
}

.oc-custom-dimensions {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
}

.oc-custom-dimensions[hidden] {
  display: none;
}

.oc-size-help {
  color: #5b5852;
  font-size: 14px;
  line-height: 1.55;
  margin: 10px 0 0;
}

.oc-edge-configurator {
  border: 0;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.oc-edge-configurator > label {
  align-items: flex-start;
  background: #fff;
  border: 1px solid #d7d1c8;
  border-radius: 3px;
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: 18px 1fr;
  padding: 12px 14px;
}

.oc-edge-configurator > .oc-painted-colour:not([hidden]) {
  background: #f7f4ee;
  cursor: default;
  display: grid;
  grid-template-columns: 1fr;
}

.oc-edge-colour-grid {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.oc-edge-colour-grid label {
  align-items: center;
  background: #fff;
  border: 1px solid #d7d1c8;
  cursor: pointer;
  display: grid;
  font-size: 13px;
  gap: 7px;
  grid-template-columns: 16px 1fr;
  line-height: 1.3;
  padding: 8px;
}

.oc-edge-colour-grid label:has(input:checked) {
  border-color: var(--oc-gold);
  box-shadow: inset 0 0 0 1px var(--oc-gold);
}

.oc-edge-colour-grid input {
  margin: 0;
}

.oc-edge-configurator > label:has(input:checked) {
  border-color: var(--oc-gold);
  box-shadow: inset 0 0 0 1px var(--oc-gold);
}

.oc-edge-configurator input {
  accent-color: var(--oc-gold);
  margin-top: 4px;
}

.oc-edge-configurator label span {
  display: grid;
  gap: 2px;
}

.oc-edge-configurator label strong {
  color: #24211e;
  font-size: 15px;
  line-height: 1.35;
}

.oc-edge-configurator label small,
.oc-edge-configurator > p {
  color: #625e56;
  font-size: 13px;
  line-height: 1.45;
}

.oc-edge-configurator > p {
  margin: 4px 0 0;
}

.oc-configured-price {
  align-items: flex-start;
  background: #fff;
  border: 1px solid rgba(22, 22, 22, 0.18);
  border-left: 3px solid var(--oc-gold);
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 20px 0 12px;
  padding: 14px 16px;
  width: 100%;
}

.oc-configured-price {
  display: none;
}

.oc-product-configurator-panel .et_pb_wc_price {
  background: #f0ede6;
  position: sticky !important;
  top: 124px;
  z-index: 6;
}

.oc-form-order-section {
  width: 100%;
}

.oc-form-order-finish {
  border-top: 1px solid rgba(22, 22, 22, 0.14);
  margin-top: 20px;
  padding-top: 20px;
}

.oc-form-order-label {
  color: #24211e;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.oc-form-order-finish .oc-edge-configurator {
  margin: 0;
}

.oc-print-sides {
  border: 0;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.oc-print-sides legend {
  color: #24211e;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.oc-print-sides label {
  margin: 0;
}

.oc-print-sides label span {
  align-items: center;
  background: #fff;
  border: 1px solid #d7d1c8;
  color: #24211e;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 650;
  min-height: 44px;
  padding: 9px 12px 9px 40px;
}

.oc-print-sides input {
  margin: 15px 0 0 14px;
  position: absolute;
  z-index: 1;
}

.oc-print-sides input:checked + span {
  border-color: var(--oc-gold);
  box-shadow: inset 3px 0 0 var(--oc-gold);
}

.oc-print-sides input:focus-visible + span {
  outline: 3px solid rgba(183, 138, 61, 0.55);
  outline-offset: 2px;
}

.oc-print-sides p {
  color: #625e56;
  font-size: 13px;
  line-height: 1.45;
  margin: 2px 0 0;
}

.oc-sides-row > th,
.oc-sides-row > td {
  padding-top: 12px !important;
  vertical-align: top !important;
}

.oc-configured-price-label {
  color: #625e56;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.oc-configured-price-values {
  color: var(--oc-ink);
  font-size: 15px;
  line-height: 1.4;
}

.oc-configured-price .oc-price-amount {
  color: var(--oc-ink);
  font-size: 22px;
  font-weight: 750;
}

.oc-configured-price .oc-price-line-gross .oc-price-amount {
  color: #5b5852;
  font-size: 18px;
}

.oc-size-row > th,
.oc-size-row > td,
.oc-edge-row > th,
.oc-edge-row > td {
  padding-top: 12px !important;
  vertical-align: top !important;
}

.oc-product-template {
  background: var(--oc-warm-white);
}

.oc-product-configurator-panel {
  background: #f0ede6;
  border-top: 3px solid var(--oc-gold);
  padding: 34px 32px 38px !important;
}

.oc-product-configurator-panel p:has(> a[href$="/contact-us/"]),
.oc-product-configurator-panel .et_pb_button_module_wrapper:has(> a[href$="/contact-us/"]) {
  display: none !important;
}

.oc-artwork-help {
  background: var(--oc-ink);
  color: #f8f5ef;
  margin-top: 20px;
  padding: 26px 28px;
}

.oc-artwork-help fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.oc-artwork-help legend {
  color: #fff;
  font-size: 22px;
  font-weight: 750;
  line-height: 1.2;
  margin: 0 0 10px;
}

.oc-artwork-help p {
  color: #d8d2c7;
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 16px;
}

.oc-artwork-help fieldset > label,
.oc-artwork-help-route {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff !important;
  cursor: pointer;
  display: flex;
  font-size: 15px;
  gap: 12px;
  margin-top: 10px;
  padding: 14px 16px;
  text-decoration: none;
}

.oc-artwork-help fieldset > label:has(input:checked) {
  background: rgba(183, 138, 61, 0.18);
  border-color: var(--oc-gold);
}

.oc-artwork-help fieldset > label input {
  accent-color: var(--oc-gold);
  flex: 0 0 auto;
  margin: 4px 0 0;
}

.oc-artwork-help fieldset > label span,
.oc-artwork-help-route span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.oc-artwork-help fieldset > label strong,
.oc-artwork-help-route strong {
  color: #fff;
  display: block;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
}

.oc-artwork-help fieldset > label small,
.oc-artwork-help-route span {
  color: #d8d2c7;
  font-size: 14px;
  line-height: 1.45;
}

.oc-artwork-help-route {
  border-color: rgba(183, 138, 61, 0.72);
  display: block;
  margin-top: 14px;
}

.oc-artwork-help-route:hover {
  background: rgba(183, 138, 61, 0.13);
  border-color: var(--oc-gold);
}

.oc-artwork-help fieldset > label:focus-within,
.oc-artwork-help-route:focus-visible {
  outline: 3px solid rgba(183, 138, 61, 0.7);
  outline-offset: 4px;
}

.oc-artwork-help .oc-artwork-production-note {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #d8d2c7;
  margin: 18px 0 0;
  padding-top: 16px;
}

.oc-artwork-help .oc-artwork-choice-message {
  color: #fff;
  font-weight: 650;
  margin: 10px 0 0;
}

.oc-artwork-help[data-artwork-route="send-later"] .oc-artwork-choice-message {
  color: #d9c18f;
}

.oc-artwork-upload-is-hidden {
  display: none !important;
}

.oc-product-configurator-panel .cpf-upload-wrap {
  background: #fbf9f5;
  border: 1px solid rgba(22, 22, 22, 0.2);
  display: block;
  padding: 8px;
}

.oc-product-configurator-panel input[type="file"].tmcp-upload {
  color: #5b5852;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  max-width: 100%;
  width: 100%;
}

.oc-product-configurator-panel input[type="file"].tmcp-upload::file-selector-button {
  background: var(--oc-gold);
  border: 1px solid var(--oc-gold);
  border-radius: 0;
  color: var(--oc-ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 750;
  margin-right: 14px;
  min-height: 44px;
  padding: 10px 18px;
}

.oc-product-configurator-panel input[type="file"].tmcp-upload:hover::file-selector-button {
  background: #c59a50;
  border-color: #c59a50;
}

.oc-product-configurator-panel input[type="file"].tmcp-upload:focus-visible {
  outline: 3px solid rgba(183, 138, 61, 0.55);
  outline-offset: 3px;
}

.oc-price-comparison {
  display: inline-flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
  line-height: 1.25;
  white-space: nowrap;
}

.oc-price-values {
  align-items: baseline;
  display: flex;
  flex-wrap: nowrap;
  gap: 4px 10px;
}

.oc-price-line {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
}

@media (min-width: 981px) {
  .woocommerce-cart-form .product-price,
  .woocommerce-cart-form .product-subtotal {
    min-width: 280px;
  }
}

.oc-price-prefix {
  color: #716d65;
  font-size: max(12px, 0.7em);
  font-weight: 650;
}

.oc-price-line-gross::before {
  color: var(--oc-gold);
  content: "·";
  font-size: 0.9em;
  font-weight: 800;
  margin-right: 5px;
}

.oc-price-comparison small {
  align-self: baseline;
  color: #625e56;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: none;
}

.oc-preview-price {
  color: #625e56 !important;
  display: inline-block;
  font-size: 16px !important;
  font-weight: 650;
  line-height: 1.4;
}

.oc-price-line-gross .oc-price-amount {
  color: #5b5852;
  font-size: max(14px, 0.76em);
}

.oc-product-story,
.oc-real-project {
  color: var(--oc-ink);
  font-size: 17px;
  line-height: 1.72;
}

.oc-product-story h2,
.oc-real-project h2 {
  color: var(--oc-ink);
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 22px;
}

.oc-product-story h3,
.oc-real-project h3 {
  color: var(--oc-ink);
  font-size: 22px;
  line-height: 1.22;
  margin: 0 0 12px;
}

.oc-kicker,
.oc-product-story .oc-kicker {
  color: var(--oc-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.oc-product-story > section,
.oc-project-spec-section,
.oc-project-narrative > section,
.oc-project-gallery,
.oc-project-cta,
.oc-related-guides {
  margin: 0 auto;
  max-width: 1180px;
  padding: 74px 28px;
}

.oc-product-spec-grid,
.oc-project-spec-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  margin: 38px 0 0;
}

.oc-product-spec-grid > div,
.oc-project-spec-grid > div {
  background: #fff;
  border: 1px solid var(--oc-line);
  margin: -1px 0 0 -1px;
  min-height: 132px;
  padding: 22px;
}

.oc-product-spec-grid dt,
.oc-project-spec-grid dt {
  color: #716d65;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 13px;
  text-transform: uppercase;
}

.oc-product-spec-grid dd,
.oc-project-spec-grid dd {
  color: var(--oc-ink);
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
}

.oc-editorial-split {
  align-items: start;
  display: grid;
  gap: clamp(32px, 6vw, 84px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.oc-editorial-card {
  background: var(--oc-paper);
  border-left: 3px solid var(--oc-gold);
  padding: 30px;
}

.oc-editorial-card ul,
.oc-product-story ul {
  margin: 0;
  padding-left: 19px;
}

.oc-editorial-card li,
.oc-product-story li {
  margin-bottom: 10px;
}

.oc-project-preview {
  background: var(--oc-ink);
  color: #f8f5ef;
  max-width: none !important;
}

.oc-project-preview .oc-editorial-split {
  margin: 0 auto;
  max-width: 1180px;
}

.oc-project-preview h2,
.oc-project-preview h3 {
  color: #fff;
}

.oc-project-preview img {
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  opacity: 1 !important;
  visibility: visible !important;
  width: 100%;
}

.oc-project-hero {
  align-items: stretch;
  background: var(--oc-ink);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: 640px;
}

.oc-project-hero-copy {
  align-self: center;
  color: #ece7dd;
  padding: clamp(44px, 5vw, 76px);
}

.oc-project-hero h1 {
  color: #fff;
  font-size: clamp(42px, 4.6vw, 62px);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0 0 26px;
}

.oc-project-hero figure {
  margin: 0;
  min-height: 100%;
}

.oc-project-hero img {
  height: 100%;
  object-fit: cover;
  opacity: 1 !important;
  visibility: visible !important;
  width: 100%;
}

.oc-project-spec-section {
  padding-bottom: 48px;
}

.oc-project-narrative > section:nth-child(even) {
  background: var(--oc-paper);
  max-width: none;
  padding-left: max(28px, calc((100vw - 1124px) / 2));
  padding-right: max(28px, calc((100vw - 1124px) / 2));
}

.oc-project-gallery {
  max-width: 1320px;
}

.oc-project-gallery-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(12, 1fr);
}

.oc-project-gallery-item {
  grid-column: span 6;
  margin: 0;
  overflow: hidden;
}

.oc-project-gallery-item-1,
.oc-project-gallery-item-4 {
  grid-column: span 12;
}

.oc-project-gallery img {
  aspect-ratio: 3 / 2;
  display: block;
  height: 100%;
  object-fit: cover;
  opacity: 1 !important;
  transition: transform 500ms ease;
  visibility: visible !important;
  width: 100%;
}

.oc-project-gallery-item:hover img {
  transform: scale(1.018);
}

.oc-project-cta {
  align-items: end;
  background: var(--oc-paper);
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  max-width: 1180px;
}

.oc-project-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.oc-related-guides {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  padding-top: 42px;
}

.oc-related-guides .oc-kicker {
  flex-basis: 100%;
}

.oc-related-guides a {
  border-bottom: 1px solid var(--oc-gold);
  color: var(--oc-ink);
  font-weight: 650;
  text-decoration: none;
}

.oc-project-index-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.oc-project-index-card {
  background: #fff;
  border: 1px solid var(--oc-line);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.oc-project-index-image {
  background: var(--oc-ink);
  display: block;
  overflow: hidden;
}

.oc-project-index-image img {
  aspect-ratio: 3 / 2;
  display: block;
  height: auto;
  object-fit: cover;
  opacity: 1 !important;
  transition: transform 500ms ease;
  visibility: visible !important;
  width: 100%;
}

.oc-project-index-card:hover .oc-project-index-image img {
  transform: scale(1.018);
}

.oc-project-index-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(24px, 4vw, 40px);
}

.oc-project-index-copy h2 {
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.08;
  margin: 0 0 16px;
}

.oc-project-index-copy h3 {
  color: #171717;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.1vw, 32px);
  line-height: 1.12;
  margin: 0;
}

.oc-project-index-copy h3 a {
  color: inherit;
  text-decoration: none;
}

.oc-core-catalogue-grid {
  margin-top: 34px;
}

.oc-catalogue-group + .oc-catalogue-group {
  border-top: 1px solid var(--oc-line);
  margin-top: clamp(58px, 8vw, 104px);
  padding-top: clamp(52px, 7vw, 88px);
}

.oc-catalogue-group-header {
  max-width: 780px;
}

.oc-catalogue-group-header h3 {
  color: var(--oc-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  margin: 8px 0 16px;
}

.oc-catalogue-group-header > p:not(.oc-kicker) {
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}

.oc-project-index-copy h4 {
  color: var(--oc-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.1vw, 32px);
  line-height: 1.12;
  margin: 0;
}

.oc-project-index-copy h4 a {
  color: inherit;
  text-decoration: none;
}

.oc-project-index-copy h2 a,
.oc-project-index-link {
  color: var(--oc-ink);
  text-decoration: none;
}

.oc-product-preview-notice {
  align-items: end;
  background: var(--oc-paper);
  border-top: 3px solid var(--oc-gold);
  display: grid;
  gap: 36px 56px;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
}

.oc-product-preview-notice h2,
.oc-product-preview-notice p {
  grid-column: 1;
}

.oc-product-preview-notice .oc-project-cta-actions {
  grid-column: 2;
  grid-row: 1 / span 3;
}

.oc-project-index-copy > p:not(.oc-kicker) {
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 24px;
}

.oc-project-index-link {
  border-bottom: 1px solid var(--oc-gold);
  font-weight: 650;
  margin-top: auto;
  width: max-content;
}

/* Homepage featured evidence ------------------------------------------- */

.oc-home-featured-evidence {
  color: #ece7dd;
}

.oc-home-featured-grid {
  align-items: center;
  display: grid;
  gap: clamp(38px, 6vw, 78px);
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
}

.oc-home-featured-copy h2 {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4.5vw, 58px);
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0 0 22px;
}

.oc-home-featured-copy h2 a {
  color: inherit;
  text-decoration: none;
}

.oc-home-featured-summary {
  color: #d8d2c7;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.oc-home-featured-facts {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.oc-home-featured-facts > div {
  border-top: 1px solid #4b4942;
  display: grid;
  gap: 8px 18px;
  grid-template-columns: 112px minmax(0, 1fr);
  padding-top: 12px;
}

.oc-home-featured-facts span {
  color: var(--oc-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.oc-home-featured-facts strong {
  color: #d8d2c7;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.oc-home-featured-link {
  margin: 28px 0 0;
}

.oc-home-featured-link a {
  border-bottom: 1px solid var(--oc-gold);
  color: #f8f5ef;
  font-weight: 700;
  text-decoration: none;
}

.oc-home-featured-image {
  margin: 0;
  overflow: hidden;
}

.oc-home-featured-image img {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.oc-product-story .oc-btn-secondary,
.oc-real-project .oc-btn-secondary {
  border: 1px solid var(--oc-ink);
  color: var(--oc-ink) !important;
}

@media (max-width: 980px) {
	.oc-product-configurator-panel .et_pb_wc_price {
		top: 112px;
	}

  .oc-product-spec-grid,
  .oc-project-spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .oc-project-hero,
  .oc-project-cta,
  .oc-product-preview-notice,
  .oc-home-featured-grid {
    grid-template-columns: 1fr;
  }

  .oc-product-preview-notice h2,
  .oc-product-preview-notice p,
  .oc-product-preview-notice .oc-project-cta-actions {
    grid-column: 1;
    grid-row: auto;
  }

  .oc-project-hero {
    min-height: auto;
  }

  .oc-project-hero figure {
    min-height: 430px;
  }
}

@media (max-width: 640px) {
	body.woocommerce-checkout .woocommerce-checkout-review-order-table {
		max-width: 100%;
		table-layout: fixed;
		width: 100% !important;
	}

	body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
	body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
		min-width: 0;
		overflow-wrap: anywhere;
		word-break: normal;
	}

	body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name {
		width: 60%;
	}

	body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total {
		width: 40%;
	}

	body.woocommerce-checkout .woocommerce-checkout-review-order-table .oc-price-comparison,
	body.woocommerce-checkout .woocommerce-checkout-review-order-table .oc-price-values,
	body.woocommerce-checkout .woocommerce-checkout-review-order-table .oc-price-line {
		align-items: flex-end;
		display: flex;
		flex-direction: column;
		gap: 1px;
		max-width: 100%;
		white-space: normal;
	}

	.oc-project-index-grid {
		grid-template-columns: 1fr;
	}

	.oc-product-configurator-panel {
		padding: 26px 20px 30px !important;
	}

	.oc-artwork-help {
		padding: 24px 20px;
	}

  .oc-product-story,
  .oc-real-project {
    font-size: 16px;
  }

  .oc-product-story > section,
  .oc-project-spec-section,
  .oc-project-narrative > section,
  .oc-project-gallery,
  .oc-project-cta,
  .oc-related-guides {
    padding: 52px 20px;
  }

  .oc-editorial-split,
  .oc-product-spec-grid,
  .oc-project-spec-grid,
  .oc-custom-dimensions,
  .oc-sumo-columns,
  .oc-sumo-process-counts,
  .oc-sumo-process-row {
    grid-template-columns: 1fr;
  }

  .oc-sumo-configurator {
    padding: 18px;
  }

  .oc-coloured-board-configurator {
    margin-bottom: 14px;
  }

  .oc-sumo-quantity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oc-coloured-board-colour-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oc-size-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oc-project-hero-copy {
    padding: 56px 22px;
  }

  .oc-project-hero figure {
    min-height: 320px;
  }

  .oc-project-gallery-item,
  .oc-project-gallery-item-1,
  .oc-project-gallery-item-4 {
    grid-column: span 12;
  }
}

@media (prefers-reduced-motion: reduce) {
  .oc-project-gallery img {
    transition: none;
  }
}

/* Product gallery layout stability ---------------------------------------
   Measured timeline at 390 px: the gallery is a stable 218 px until 2.41 s,
   then WooCommerce moves the wrapper into .flex-viewport and the active slide
   is briefly laid out at full track width (~3900 px). The image keeps its
   aspect ratio, so it renders 2614 px tall for roughly 100 ms and pushes the
   summary column from 490 px to 4259 px before settling at 661 px. Measured
   cumulative layout shift was 0.199 to 0.584 at 390 px against 0.033 on
   desktop.

   The gallery container and its viewport keep a stable width throughout, so
   constraining their height by aspect ratio removes the overshoot regardless
   of how wide the inner track is at any moment. Stylesheet only: no markup,
   module, template or Divi layout changes, and the product template stays
   editable in the Divi 5 builder. */
.woocommerce-product-gallery--with-images > .woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery--with-images > .flex-viewport {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.woocommerce-product-gallery--with-images > .flex-viewport > .woocommerce-product-gallery__wrapper {
  aspect-ratio: auto;
  height: 100%;
}

.woocommerce-product-gallery--with-images .woocommerce-product-gallery__image {
  max-height: 100%;
}

.woocommerce-product-gallery--with-images .woocommerce-product-gallery__image img {
  max-height: 100%;
  width: 100%;
  object-fit: contain;
}
