.dfo-pdp {
  margin: 0 auto;
  padding: 24px 0 0;
  color: var(--storefront-text);
}

/* Breadcrumb */
.dfo-pdp .pdp-breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
  padding: 0;
  font-size: calc(13px + var(--font-bump));
  color: var(--storefront-text);
}

.dfo-pdp .pdp-breadcrumb li::after {
  content: "/";
  margin-left: 6px;
  color: #bbb;
}

.dfo-pdp .pdp-breadcrumb li:last-child::after {
  content: "";
}

.dfo-pdp .pdp-breadcrumb a {
  color: var(--storefront-primary);
  text-decoration: none;
}

.dfo-pdp .pdp-breadcrumb a:hover {
  text-decoration: underline;
}

/* Two-column layout */
.dfo-pdp .product-essential {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "gallery title" "gallery details";
  gap: 0 clamp(32px, 5vw, 72px);
  margin: 0 0 48px;
  padding: 0;
  border: none;
}

/* ── Gallery ─────────────────────────────────────────── */
.dfo-pdp .product-gallery-wrap {
  grid-area: gallery;
  min-width: 0;
  width: auto;
  float: none;
  align-self: start;
  position: sticky;
  top: 24px;
}

/* Large image viewer (mirrors the selected thumbnail) */
.dfo-pdp .gallery-main {
  position: relative;
  background: var(--storefront-background-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 0 0 16px;
  text-align: center;
  touch-action: pan-y;
}

.dfo-pdp .gallery-main-nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid var(--storefront-border-soft);
  border-radius: 50%;
  background: #fff;
  color: var(--storefront-heading);
  cursor: pointer;
  font-size: calc(14px + var(--font-bump));
}

.dfo-pdp .gallery-main-nav[hidden] {
  display: none;
}

.dfo-pdp .gallery-main-nav:hover {
  color: var(--storefront-primary);
}

.dfo-pdp .gallery-main-nav:focus-visible {
  outline: 2px solid var(--storefront-primary);
  outline-offset: 2px;
}

.dfo-pdp .gallery-main-previous {
  left: 8px;
}

.dfo-pdp .gallery-main-next {
  right: 8px;
}

/* Counter stands in for the thumbnail strip, which only shows on wide screens */
.dfo-pdp .gallery-main-counter {
  display: none;
}

.dfo-pdp .gallery-main img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.dfo-pdp .gallery-main:not(:has(img))::before {
  content: "Image unavailable";
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  color: var(--storefront-text-muted);
}

.dfo-pdp .gallery-main-trigger {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: zoom-in;
}

.dfo-pdp .gallery-main-trigger:focus-visible {
  outline: 2px solid var(--storefront-primary);
  outline-offset: 4px;
}

.dfo-pdp .gallery-zoom-icon {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--storefront-text-strong);
  box-shadow: var(--shadow-sm);
  font-size: calc(16px + var(--font-bump));
}

/* Pinterest save and brand logo float in the image's bottom-left corner, opposite the zoom icon */
.dfo-pdp .gallery-meta {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dfo-pdp .pin-it {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #e60023;
  box-shadow: var(--shadow-sm);
  font-size: calc(16px + var(--font-bump));
  text-decoration: none;
}

.dfo-pdp .pin-it:hover,
.dfo-pdp .pin-it:focus-visible {
  background: #e60023;
  color: #fff;
}

.dfo-pdp .gallery-brand-logo {
  display: block;
  box-sizing: border-box;
  height: 36px;
  padding: 6px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.dfo-pdp .gallery-main .gallery-brand-logo img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 140px;
  aspect-ratio: auto;
  object-fit: contain;
  mix-blend-mode: normal;
}

.product-image-viewer {
  width: min(96vw, 1600px);
  height: 94vh;
  max-width: none;
  max-height: none;
  border: 0;
  background: transparent;
  padding: 0;
  overflow: visible;
}

.product-image-viewer::backdrop {
  background: rgba(10, 15, 20, 0.88);
}

.product-image-viewer-content {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-radius: var(--radius);
  background: #fff;
  padding: 52px 68px;
}

.product-image-viewer [data-image-viewer-image] {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-image-viewer button {
  position: absolute;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--storefront-text-strong);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  font-size: calc(18px + var(--font-bump));
}

.product-image-viewer button[hidden] {
  display: none;
}

.product-image-viewer button:hover {
  color: var(--storefront-primary);
}

.product-image-viewer button:focus-visible {
  outline: 2px solid var(--storefront-primary);
  outline-offset: 2px;
}

.product-image-viewer-close {
  top: 10px;
  right: 10px;
}

.product-image-viewer-previous {
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
}

.product-image-viewer-next {
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
}

.product-image-viewer-counter {
  position: absolute;
  bottom: 14px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  color: var(--storefront-text);
  font-size: calc(13px + var(--font-bump));
  font-weight: 700;
}

body.product-image-viewer-open {
  overflow: hidden;
}

/* Thumbnail strip */
.dfo-pdp .product-gallery-slider {
  margin: 0;
  width: auto;
  max-width: none;
  float: none;
}

.dfo-pdp .product-gallery {
  gap: 10px;
  padding: 4px 1px;
  scroll-snap-type: x proximity;
}

.dfo-pdp .product-gallery-slider .home-slider-btn {
  width: 30px;
  height: 30px;
}

.dfo-pdp .product-gallery .picture {
  flex: 0 0 auto;
  width: auto;
  margin: 0;
  border: 1px solid var(--storefront-border);
  border-radius: var(--radius-sm);
  box-shadow: none;
  padding: 6px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.dfo-pdp .product-gallery .picture:hover {
  border-color: var(--storefront-primary);
}

.dfo-pdp .product-gallery .picture.is-active {
  border-color: var(--storefront-primary);
  box-shadow: 0 0 0 1px var(--storefront-primary);
}

/* Fixed 2:1 frame; the photo fills its width. Square catalog photos are mostly white space,
   so their middle band is cropped; photos wider than 2:1 show whole, centered in the frame. */
.dfo-pdp .product-gallery .picture,
.dfo-pdp .option-imagesquares label {
  display: grid;
  place-items: center;
  box-sizing: content-box;
  height: clamp(34px, 4vw, 42px);
}

.dfo-pdp .product-gallery .picture img,
.dfo-pdp .option-imagesquares .option-image-swatch {
  display: block;
  width: calc(clamp(34px, 4vw, 42px) * 2);
  max-width: none;
  height: auto;
  max-height: clamp(34px, 4vw, 42px);
  object-fit: cover;
  object-position: center;
}

/* ── Details column ──────────────────────────────────── */
.dfo-pdp .product-details {
  grid-area: details;
  margin: 0;
  width: auto;
  float: none;
}

.dfo-pdp .product-title {
  font-size: clamp(26px, 2.6vw, 28px);
  font-weight: 400;
  color: var(--storefront-text-strong);
  margin: 6px 0 0;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

/* Price */
.dfo-pdp .prices {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  line-height: 1.2;
}

.dfo-pdp .product-price,
.dfo-pdp [data-product-price] {
  font-size: 24px;
  font-weight: 600;
  color: var(--storefront-danger);
  letter-spacing: -0.04em;
  margin: 0;
}

.dfo-pdp[data-variant-id=""] [data-product-price] {
  font-size: calc(16px + var(--font-bump));
  font-weight: 500;
  color: var(--storefront-danger);
  letter-spacing: normal;
}

.dfo-pdp .product-heading .wishlist-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--storefront-heading);
  font-size: 20px;
  flex-shrink: 0;
  cursor: pointer;
}

.dfo-pdp .product-heading .wishlist-toggle:hover {
  color: var(--storefront-danger-emphasis);
}

.dfo-pdp .product-heading .wishlist-toggle[aria-pressed="true"] {
  color: var(--storefront-danger-emphasis);
}

.dfo-pdp .product-heading .wishlist-toggle[aria-pressed="true"] i {
  font-weight: 900;
}

.dfo-pdp .wishlist-status {
  margin: 0 0 6px;
  font-size: calc(12px + var(--font-bump));
  color: #2e7d32;
}

.dfo-pdp .wishlist-status:empty {
  display: none;
}

.dfo-pdp .old-product-price {
  font-size: calc(14px + var(--font-bump));
  font-weight: 400;
  color: var(--storefront-text-muted);
  text-decoration: line-through;
  margin: 0;
}

.dfo-pdp .discount-badge {
  display: inline-block;
  background: var(--storefront-primary);
  color: #fff;
  font-size: calc(11px + var(--font-bump));
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  border-radius: 2px;
}

.dfo-pdp .installments {
  font-size: calc(12px + var(--font-bump));
  color: var(--storefront-text);
  margin: 0 0 10px;
}

.dfo-pdp .pdp-divider {
  border: none;
  border-top: 1px solid var(--storefront-border);
  margin: 16px 0;
}

/* Options */
.dfo-pdp .product-details fieldset {
  min-inline-size: 0;
  border: none;
  padding: 0;
  margin: 0 0 24px;
}

.dfo-pdp .product-details fieldset legend {
  width: 100%;
  font-size: calc(14px + var(--font-bump));
  font-weight: 600;
  text-transform: none;
  color: var(--storefront-heading);
  margin: 0 0 12px;
  padding: 0;
}

.dfo-pdp .selected-option-value {
  font-weight: 400;
  text-transform: none;
  color: var(--storefront-text);
}

.dfo-pdp .product-details .option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Color swatches */
/* Same treatment as the gallery thumbnails */
/* Fieldsets default to min-inline-size: min-content, which would size the fieldset to the whole strip */
.dfo-pdp .product-details fieldset:has(.option-slider) {
  min-inline-size: 0;
}

.dfo-pdp .option-slider {
  min-width: 0;
}

.dfo-pdp .option-slider .option-list {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: max-content;
  grid-auto-columns: max-content;
  justify-content: start;
  gap: 8px;
  padding: 1px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.dfo-pdp .option-slider .option-list.is-stacked {
  grid-auto-flow: row;
  grid-template-columns: repeat(var(--home-slider-columns), max-content);
  grid-template-rows: repeat(2, max-content);
}

.dfo-pdp .option-slider .option-list::-webkit-scrollbar {
  display: none;
}

.dfo-pdp .option-slider .option-list > li {
  scroll-snap-align: start;
}

.dfo-pdp .option-slider .home-slider-btn {
  width: 30px;
  height: 30px;
}

.dfo-pdp .option-imagesquares label {
  position: relative;
  min-width: 0;
  border: 1px solid var(--storefront-border);
  padding: 6px;
  margin: 0;
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.dfo-pdp .option-imagesquares label:hover {
  border-color: var(--storefront-primary);
}

.dfo-pdp .option-imagesquares label[data-selected="true"] {
  border-color: var(--storefront-primary);
  box-shadow: 0 0 0 1px var(--storefront-primary);
  background: #fff;
}

.dfo-pdp .option-imagesquares .option-image-swatch-placeholder {
  width: calc(clamp(34px, 4vw, 42px) * 2);
  height: clamp(34px, 4vw, 42px);
}


.dfo-pdp .option-imagesquares .option-image-swatch-placeholder {
  background-color: #e5e5e5;
  background-image: linear-gradient(45deg, #d5d5d5 25%, transparent 25%, transparent 75%, #d5d5d5 75%),
    linear-gradient(45deg, #d5d5d5 25%, transparent 25%, transparent 75%, #d5d5d5 75%);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
}

.dfo-pdp .option-imagesquares label > span:last-child {
  display: none; /* swatch image conveys the color */
}

/* Size buttons */
.dfo-pdp .option-radiobuttonlist label,
.dfo-pdp .product-details fieldset:not(.option-imagesquares) label {
  border: 1px solid var(--storefront-border);
  background: #fff;
  padding: 8px 16px;
  margin: 0;
  font-size: calc(14px + var(--font-bump));
  border-radius: 2px;
  color: var(--storefront-heading);
}

.dfo-pdp .product-details fieldset:not(.option-imagesquares) label[data-selected="true"] {
  border-color: var(--storefront-primary);
  background: var(--storefront-primary-muted);
  color: var(--storefront-heading);
  font-weight: 700;
  box-shadow: none;
}

/* Size cards; the same border treatment as the color tiles */
.dfo-pdp .product-details .option-list.size-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 24px) / 4);
  gap: 8px;
  padding: 4px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.dfo-pdp .size-cards li {
  display: flex;
  min-width: 0;
  scroll-snap-align: start;
}

.dfo-pdp .product-details .option-list.size-cards label {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid var(--storefront-border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-weight: 400;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.dfo-pdp .product-details .option-list.size-cards label:hover {
  border-color: var(--storefront-primary);
  background: #fff;
}

.dfo-pdp .product-details .option-list.size-cards label:has(input:focus-visible) {
  box-shadow: var(--shadow-focus);
}

.dfo-pdp .product-details .option-list.size-cards label[data-selected="true"] {
  border-color: var(--storefront-primary);
  background: #fff;
  box-shadow: 0 0 0 1px var(--storefront-primary);
  font-weight: 400;
}

.dfo-pdp .size-cards .size-card-measures {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  font-size: calc(12px + var(--font-bump));
  line-height: 1.25;
  color: var(--storefront-text);
}

.dfo-pdp .size-cards .size-card-measures b {
  font-weight: 500;
  color: #222;
}

.dfo-pdp .size-cards .size-card-badge {
  order: -1;
  align-self: flex-start;
  margin-bottom: 4px;
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  background: var(--storefront-background-subtle);
  color: var(--storefront-heading);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
}

.dfo-pdp .size-cards .size-card-title {
  font-size: calc(13px + var(--font-bump));
  font-weight: 700;
  color: var(--storefront-heading);
}

.dfo-pdp .size-cards .size-guide-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 6px 10px;
  border: 1px dashed var(--storefront-border);
  border-radius: var(--radius-sm);
  color: var(--storefront-primary);
  font-size: calc(12px + var(--font-bump));
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.15s;
}

.dfo-pdp .size-cards .size-guide-card:hover {
  border-color: var(--storefront-primary);
}

.dfo-pdp .size-cards .size-guide-card:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

.dfo-pdp .size-cards .size-guide-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.dfo-pdp .size-cards .size-guide-card i {
  font-size: calc(18px + var(--font-bump));
}

/* Hidden but focusable, so keyboard users keep tab order and a11y state. */
.dfo-pdp .product-details fieldset input[type="radio"],
.dfo-pdp .product-details fieldset input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

/* Mouse clicks leave no ring; keyboard focus gets a thin one. */
.dfo-pdp .product-details fieldset label:focus-within {
  outline: none;
}

.dfo-pdp .product-details fieldset label:has(input:focus-visible) {
  outline: 1px solid var(--storefront-primary);
  outline-offset: 1px;
}

.dfo-pdp .product-details fieldset select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--storefront-border);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: #fff;
}

/* Availability */
.dfo-pdp .availability {
  margin: 20px 0;
  padding: 14px 16px;
  background: var(--storefront-background-subtle);
  border-radius: var(--radius-sm);
  text-align: left;
}

.dfo-pdp .availability .stock {
  font-size: calc(13px + var(--font-bump));
  font-weight: 600;
  color: #247451;
  margin: 0 0 3px;
}

.dfo-pdp .availability .stock[data-available="false"] {
  color: #ff4026;
}

.dfo-pdp .ships-same-day img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 2px;
}

.dfo-pdp .ships-same-day span {
  vertical-align: middle;
  color: var(--storefront-heading);
  font-weight: 600;
  font-size: calc(13px + var(--font-bump));
}

.dfo-pdp .ships-same-day p {
  margin: 6px 0 0;
  font-size: calc(12px + var(--font-bump));
  color: var(--storefront-text);
  line-height: 1.5;
}

.dfo-pdp .handling-time {
  font-size: calc(13px + var(--font-bump));
  color: var(--storefront-text);
}

.dfo-pdp .handling-time[data-delay="true"] {
  color: #dc3545;
}

/* Add to cart */
.dfo-pdp .add-to-cart {
  margin: 18px 0;
}

.dfo-pdp .rx-panel {
  margin: 0 0 10px;
}

.dfo-pdp .rx-launch,
.dfo-pdp [data-add-to-cart] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  background: var(--storefront-primary);
  border: 1px solid var(--storefront-primary);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: calc(15px + var(--font-bump));
  font-weight: 600;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: none;
  cursor: pointer;
  margin: 0;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.dfo-pdp .rx-launch {
  background: var(--storefront-primary);
}

.dfo-pdp .rx-launch:hover {
  background: var(--storefront-primary-strong);
}

.dfo-pdp .rx-launch:disabled {
  background: #aaa;
  border-color: #aaa;
  cursor: not-allowed;
  opacity: 0.65;
  box-shadow: none;
}

.dfo-pdp .rx-launch:active,
.dfo-pdp [data-add-to-cart]:active {
  transform: translateY(1px);
  box-shadow: none;
}

.dfo-pdp .rx-launch:focus-visible,
.dfo-pdp [data-add-to-cart]:focus-visible {
  outline: 2px solid var(--storefront-primary);
  outline-offset: 2px;
}

.dfo-pdp [data-add-to-cart]:hover {
  background: var(--storefront-primary-strong);
  border-color: var(--storefront-primary-strong);
}

.dfo-pdp [data-add-to-cart]:disabled {
  background: #aaa;
  border-color: #aaa;
  cursor: not-allowed;
  opacity: 0.65;
  box-shadow: none;
}

.dfo-pdp .rx-panel + [data-add-to-cart] {
  background: var(--storefront-surface);
  color: var(--storefront-primary);
}

.dfo-pdp .rx-panel + [data-add-to-cart]:hover {
  background: var(--storefront-primary);
  border-color: var(--storefront-primary);
  color: #fff;
}

.dfo-pdp .rx-panel + [data-add-to-cart]:disabled {
  background: var(--storefront-surface);
  color: #aaa;
}

.dfo-pdp .rx-panel-editing + [data-add-to-cart] {
  background: var(--storefront-primary);
  color: #fff;
}

.dfo-pdp .rx-panel-editing + [data-add-to-cart]:hover {
  background: var(--storefront-primary-strong);
  border-color: var(--storefront-primary-strong);
}

.dfo-pdp .rx-panel-editing + [data-add-to-cart]:disabled {
  background: #aaa;
  color: #fff;
}

.dfo-pdp [data-add-to-cart-status] {
  margin: 10px 0 0;
  white-space: pre-line;
  font-size: calc(13px + var(--font-bump));
  color: #2e7d32;
  min-height: 1em;
}

.dfo-pdp [data-add-to-cart-status].is-error {
  font-weight: 600;
  color: var(--storefront-danger);
}

.dfo-pdp #ab-tiny-widget a {
  color: var(--storefront-primary);
  font-weight: 600;
  text-decoration: underline;
}

.dfo-pdp .vto-button {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid var(--storefront-primary);
  border-radius: 999px;
  background: #fff;
  color: var(--storefront-primary);
  font-size: calc(13px + var(--font-bump));
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.dfo-pdp .vto-button:hover {
  background: var(--storefront-background-subtle);
  color: var(--storefront-primary-strong);
  border-color: var(--storefront-primary-strong);
}

.dfo-pdp .vto-button:focus-visible {
  outline: 2px solid var(--storefront-primary);
  outline-offset: 3px;
}

.dfo-pdp .vto-button[hidden],
.dfo-pdp .vto-status[hidden] {
  display: none;
}

.dfo-pdp .vto-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.dfo-pdp .vto-status {
  margin: 12px 0 0;
  font-size: calc(13px + var(--font-bump));
  color: var(--storefront-text);
}

.dfo-pdp .vto-label-short {
  display: none;
}

.dfo-pdp .sezzle-shopify-info-button {
  margin: 0 0 6px;
}

/* Sezzle refocuses its full-width wrapper when the popup closes; fit the ring to the text. */
.dfo-pdp .sezzle-checkout-button-wrapper {
  width: fit-content;
  max-width: 100%;
  border-radius: var(--radius-sm);
}

.dfo-pdp .sezzle-checkout-button-wrapper:focus {
  outline: none;
}

.dfo-pdp .sezzle-checkout-button-wrapper:focus-visible {
  box-shadow: var(--shadow-focus);
}

/* Sezzle's popup is a fixed 358px box around 326px of content, so a window too short for it adds a
   vertical scrollbar that forces a horizontal one. Growing the box by the scrollbar keeps it to one. */
@media (min-width: 769px) {
  body .sezzle-checkout-modal-hidden.sezzle-multi-plan .sezzle-modal {
    width: fit-content;
  }
}

/* Trust badges */
.dfo-pdp .trust-badges {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 16px;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--storefront-border-soft);
  text-align: center;
}

.dfo-pdp .trust-badges .badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: calc(11px + var(--font-bump));
  font-weight: 400;
  color: var(--storefront-text);
  line-height: 1.5;
}

.dfo-pdp .trust-badges i {
  font-size: 20px;
  color: var(--storefront-primary);
}

.dfo-pdp .product-heading {
  grid-area: title;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 6px;
}

.dfo-pdp .product-heading > div {
  flex: 1;
  min-width: 0;
}

.dfo-pdp .product-heading .wishlist-status {
  flex-basis: 100%;
}

.dfo-pdp .pdp-eyebrow {
  color: var(--storefront-primary);
  font-size: calc(12px + var(--font-bump));
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dfo-pdp [data-add-to-cart-status]:empty {
  display: none;
}

.dfo-pdp .pdp-information {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--storefront-border);
}

.dfo-pdp .pdp-information-intro h2 {
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.25;
  margin: 0 0 12px;
}

.dfo-pdp .pdp-disclosure {
  border-bottom: 1px solid var(--storefront-border);
  scroll-margin-top: 24px;
}

.dfo-pdp .pdp-disclosure:first-child {
  border-top: 1px solid var(--storefront-border);
}

.dfo-pdp .pdp-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  color: var(--storefront-heading);
  font-size: calc(15px + var(--font-bump));
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.dfo-pdp .pdp-disclosure summary::-webkit-details-marker {
  display: none;
}

.dfo-pdp .pdp-disclosure summary i {
  color: var(--storefront-primary);
  font-size: calc(14px + var(--font-bump));
}

.dfo-pdp .pdp-disclosure[open] summary i {
  transform: rotate(45deg);
}

.dfo-pdp .pdp-panel {
  padding: 0 0 24px;
  line-height: 1.7;
  font-size: calc(14px + var(--font-bump));
  overflow-wrap: anywhere;
}

.dfo-pdp .pdp-panel h3 {
  font-size: calc(14px + var(--font-bump));
  margin: 16px 0 6px;
}

.dfo-pdp .pdp-panel h3:first-child {
  margin-top: 0;
}

.dfo-pdp .pdp-panel > :last-child {
  margin-bottom: 0;
}

/* Product specifications */
.dfo-pdp .pdp-specs {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 24px;
  margin: 0;
}

.dfo-pdp .pdp-specs dt {
  text-transform: uppercase;
  font-size: calc(12px + var(--font-bump));
  letter-spacing: 0.03em;
  font-weight: 700;
  color: var(--storefront-text);
  margin: 0;
}

.dfo-pdp .pdp-specs dd {
  margin: 0;
  color: var(--storefront-heading);
  font-weight: 700;
  font-size: calc(14px + var(--font-bump));
}

/* Size & fit panel: measurements beside the legacy diagram */
.dfo-pdp .size-fit {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px 40px;
  margin: 0 0 20px;
}

.dfo-pdp .size-fit dl {
  margin: 0;
  min-width: 220px;
}

.dfo-pdp .size-fit dl > div {
  display: flex;
  gap: 6px;
  padding: 0 0 15px;
  font-size: calc(14px + var(--font-bump));
}

.dfo-pdp .size-fit dt {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--storefront-text);
}

.dfo-pdp .size-fit dd {
  margin: 0;
  color: var(--storefront-heading);
}

.dfo-pdp .size-fit img {
  width: 369px;
  max-width: 100%;
  height: auto;
}

/* Brand information */
.dfo-pdp .pdp-brand {
  display: grid;
  grid-template-columns: minmax(140px, 25%) 1fr;
  align-items: start;
  gap: 20px 30px;
  margin: 30px 0 0;
  border-top: 1px solid var(--storefront-border);
  padding: 24px 15px 20px;
  background: #fff;
}

.dfo-pdp .pdp-brand-logo {
  display: block;
  height: 100px;
}

.dfo-pdp .pdp-brand-logo img {
  display: inline-block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.dfo-pdp .pdp-brand h2 {
  font-size: calc(14px + var(--font-bump));
  font-weight: 700;
  text-transform: uppercase;
  color: var(--storefront-text);
  margin: 0 0 12px;
}

.dfo-pdp .pdp-brand p {
  line-height: 1.7;
  font-size: calc(14px + var(--font-bump));
  color: var(--storefront-text);
  margin: 0;
}

@media (max-width: 640px) {
  .dfo-pdp .pdp-brand {
    grid-template-columns: 1fr;
  }
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .dfo-pdp .pdp-breadcrumb {
    display: none;
  }

  .dfo-pdp .product-essential {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas:
      "title"
      "gallery"
      "details";
    gap: 24px;
  }

  .dfo-pdp .product-heading {
    margin-bottom: 0;
  }

  .dfo-pdp .product-gallery-wrap {
    position: relative;
    top: auto;
  }

  .dfo-pdp .vto-button {
    min-height: 36px;
    padding: 4px 9px;
  }

  .dfo-pdp .vto-label-full {
    display: none;
  }

  .dfo-pdp .vto-label-short {
    display: inline;
  }

  .dfo-pdp .product-gallery-slider {
    display: none;
  }

  .dfo-pdp .gallery-main {
    margin-bottom: 0;
  }

  .dfo-pdp .gallery-main .gallery-brand-logo img {
    max-width: 100px;
  }

  /* Sits beside the zoom icon so it stays clear of the bottom-left overlay */
  .dfo-pdp .gallery-main-counter {
    position: absolute;
    right: 52px;
    bottom: 15px;
    display: block;
    margin: 0;
    padding: 3px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--storefront-text);
    box-shadow: var(--shadow-sm);
    font-size: calc(12px + var(--font-bump));
    font-weight: 700;
  }

  .dfo-pdp .gallery-main-counter[hidden] {
    display: none;
  }

  .product-image-viewer {
    width: 100vw;
    height: 100dvh;
  }

  .product-image-viewer-content {
    border-radius: 0;
    padding: 52px 14px 58px;
  }

  .product-image-viewer-previous {
    left: 8px;
  }

  .product-image-viewer-next {
    right: 8px;
  }
}

/* Contact lenses */
.dfo-pdp .prices .price-unit {
  font-size: calc(13px + var(--font-bump));
  color: var(--storefront-text-muted);
}

.dfo-pdp .cl-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.dfo-pdp .cl-specs li {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 12px;
  border: 1px solid var(--storefront-border-soft);
  border-radius: var(--radius-pill);
  background: var(--storefront-background-subtle);
  font-size: calc(12px + var(--font-bump));
  font-weight: 600;
  line-height: 1.4;
  color: var(--storefront-text-strong);
}

.dfo-pdp .cl-prescription {
  margin: 0 0 24px;
}

.dfo-pdp .cl-heading {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--storefront-heading);
}

.dfo-pdp .cl-hint {
  margin: 4px 0 8px;
  font-size: calc(14px + var(--font-bump));
  line-height: 1.5;
  color: var(--storefront-text-muted);
}

.dfo-pdp .cl-same {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin: 0 0 8px;
  font-size: calc(14px + var(--font-bump));
  font-weight: 600;
  line-height: 1.4;
  color: var(--storefront-heading);
  cursor: pointer;
}

/* A switch drawn on the checkbox itself: the knob is a background layer, so it slides with background-position. */
.dfo-pdp .cl-same-input {
  flex: none;
  width: 36px;
  height: 20px;
  margin: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background-color: color-mix(in srgb, var(--storefront-heading) 25%, transparent);
  background-image: radial-gradient(circle, var(--storefront-surface) 7px, transparent 7.5px);
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  cursor: pointer;
  appearance: none;
  transition: background-color var(--dur) var(--ease), background-position var(--dur) var(--ease);
}

.dfo-pdp .cl-same:hover .cl-same-input:not(:checked) {
  background-color: color-mix(in srgb, var(--storefront-heading) 38%, transparent);
}

.dfo-pdp .cl-same-input:checked {
  background-color: var(--storefront-primary);
  background-position: right center;
}

.dfo-pdp .cl-same-input:focus {
  box-shadow: none;
}

.dfo-pdp .cl-same-input:focus-visible {
  outline: 2px solid var(--storefront-primary);
  outline-offset: 2px;
}

@media (forced-colors: active) {
  .dfo-pdp .cl-same-input {
    appearance: auto;
  }
}

.dfo-pdp .cl-grid-wrap {
  border: 1px solid var(--storefront-border);
  border-radius: var(--radius);
  background: var(--storefront-surface);
  overflow: hidden;
}

.dfo-pdp .cl-grid {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.dfo-pdp .cl-grid-labels {
  width: 30%;
}

.dfo-pdp .cl-grid th,
.dfo-pdp .cl-grid td {
  padding: 8px 6px;
  text-align: left;
  vertical-align: middle;
}

.dfo-pdp .cl-grid tr > :first-child {
  padding-left: 16px;
}

.dfo-pdp .cl-grid tr > :last-child {
  padding-right: 14px;
}

.dfo-pdp .cl-grid thead > tr > * {
  padding-top: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--storefront-border);
  vertical-align: top;
}

.dfo-pdp .cl-grid tbody th {
  font-size: calc(14px + var(--font-bump));
  font-weight: 600;
  line-height: 1.3;
  color: var(--storefront-heading);
  overflow-wrap: anywhere;
  transition: color var(--dur) var(--ease);
}

.dfo-pdp .cl-grid tbody tr + tr > * {
  border-top: 1px solid var(--storefront-border-soft);
}

.dfo-pdp .cl-grid-boxes tr > * {
  border-top: 1px solid var(--storefront-border);
}

/* An unchecked eye's column stays usable: picking a value in it checks the eye again. */
.dfo-pdp .cl-grid [data-cl-column] {
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.dfo-pdp .cl-grid:has([data-cl-selected="od"]:checked) [data-cl-column="od"],
.dfo-pdp .cl-grid:has([data-cl-selected="os"]:checked) [data-cl-column="os"] {
  background: color-mix(in srgb, var(--storefront-primary) 6%, transparent);
}

.dfo-pdp .cl-grid:has([data-cl-selected="od"]:checked) th[data-cl-column="od"],
.dfo-pdp .cl-grid:has([data-cl-selected="os"]:checked) th[data-cl-column="os"] {
  box-shadow: inset 0 3px 0 var(--storefront-primary);
}

.dfo-pdp .cl-grid:has([data-cl-selected="od"]:not(:checked)) [data-cl-column="od"],
.dfo-pdp .cl-grid:has([data-cl-selected="os"]:not(:checked)) [data-cl-column="os"] {
  background: var(--storefront-background-subtle);
}

.dfo-pdp .cl-grid td[data-cl-column] > * {
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.dfo-pdp .cl-grid:has([data-cl-selected="od"]:not(:checked)) td[data-cl-column="od"] :is(select, .cl-option, .cl-stepper input),
.dfo-pdp .cl-grid:has([data-cl-selected="os"]:not(:checked)) td[data-cl-column="os"] :is(select, .cl-option, .cl-stepper input) {
  color: var(--storefront-text-strong);
}

.dfo-pdp .cl-eye-toggle input:not(:checked) + .cl-eye-name {
  color: var(--storefront-text-muted);
}

.dfo-pdp .cl-eye-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  font-size: calc(14px + var(--font-bump));
  font-weight: 600;
  line-height: 1.25;
  color: var(--storefront-heading);
  cursor: pointer;
}

.dfo-pdp .cl-eye-toggle input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--storefront-primary);
  cursor: pointer;
}

/* The global input focus shadow draws a square halo around the box, even on click. */
.dfo-pdp .cl-eye-toggle input:focus,
.dfo-pdp .cl-option input:focus {
  box-shadow: none;
}

.dfo-pdp .cl-eye-toggle input:focus-visible,
.dfo-pdp .cl-option input:focus-visible {
  outline: 2px solid var(--storefront-primary);
  outline-offset: 2px;
}

.dfo-pdp .cl-eye-name {
  display: flex;
  flex-wrap: wrap;
  column-gap: 4px;
  min-width: 0;
  transition: color var(--dur) var(--ease);
}

.dfo-pdp .cl-eye-name > span {
  white-space: nowrap;
}

.dfo-pdp .cl-eye-code {
  font-weight: 400;
  color: var(--storefront-text-muted);
}

.dfo-pdp .cl-eye-same {
  display: none;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 0 30px;
  font-size: calc(12px + var(--font-bump));
  font-weight: 400;
  line-height: 1.4;
  color: var(--storefront-primary-strong);
}

.dfo-pdp .cl-prescription:has([data-cl-same]:checked) .cl-eye-same {
  display: flex;
}

.dfo-pdp .cl-eye-same i {
  font-size: 10px;
}

.dfo-pdp .cl-grid select {
  display: block;
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 4px 0 10px;
  border: 1px solid var(--storefront-border);
  border-radius: var(--radius-sm);
  background-color: var(--storefront-surface);
  font-size: calc(15px + var(--font-bump));
  color: var(--storefront-heading);
  cursor: pointer;
}

.dfo-pdp .cl-grid select:hover:not(:disabled) {
  border-color: var(--storefront-primary);
}

.dfo-pdp .cl-grid select:disabled {
  border-style: dashed;
  background-color: var(--storefront-background-subtle);
  color: var(--storefront-text-strong);
  opacity: 1;
  cursor: not-allowed;
}

.dfo-pdp .cl-options {
  display: grid;
  border-radius: var(--radius-sm);
}

.dfo-pdp .cl-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0;
  font-size: calc(14px + var(--font-bump));
  line-height: 1.3;
  color: var(--storefront-heading);
  overflow-wrap: anywhere;
  cursor: pointer;
}

.dfo-pdp .cl-option input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--storefront-primary);
}

.dfo-pdp .cl-option:has(input:disabled) {
  color: var(--storefront-text-strong);
  cursor: not-allowed;
}

.dfo-pdp .cl-row-hint {
  display: block;
  margin-top: 2px;
  font-size: calc(12px + var(--font-bump));
  font-weight: 400;
  color: var(--storefront-text-muted);
}

.dfo-pdp .cl-stepper {
  height: 44px;
  background: var(--storefront-surface);
}

.dfo-pdp .cl-stepper button {
  flex-basis: 40px;
  color: var(--storefront-heading);
  font-size: calc(12px + var(--font-bump));
}

.dfo-pdp .cl-stepper button[aria-disabled="true"],
.dfo-pdp .cl-stepper button[aria-disabled="true"]:hover {
  background-color: var(--storefront-background-subtle);
  color: var(--storefront-heading);
  opacity: 0.4;
  cursor: default;
}

.dfo-pdp .cl-stepper input {
  font-size: calc(15px + var(--font-bump));
  font-weight: 600;
  color: var(--storefront-heading);
  background: var(--storefront-surface);
}

.dfo-pdp .cl-grid select[aria-invalid="true"],
.dfo-pdp .cl-grid .is-invalid .cl-stepper {
  border-color: var(--storefront-danger);
  box-shadow: 0 0 0 1px var(--storefront-danger);
}

.dfo-pdp .cl-grid select[aria-invalid="true"]:focus,
.dfo-pdp .cl-grid .is-invalid .cl-stepper:focus-within {
  box-shadow: 0 0 0 1px var(--storefront-danger), 0 0 0 4px color-mix(in srgb, var(--storefront-danger) 18%, transparent);
}

.dfo-pdp .cl-options[aria-invalid="true"],
.dfo-pdp .cl-eye-toggle input[aria-invalid="true"] {
  outline: 2px solid var(--storefront-danger);
  outline-offset: 2px;
}

.dfo-pdp .cl-grid tbody tr:has(.is-invalid) > th,
.dfo-pdp .cl-eye-toggle input[aria-invalid="true"] + .cl-eye-name {
  color: var(--storefront-danger);
}

.dfo-pdp .cl-summary {
  margin: 16px 0 0;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--storefront-background-subtle);
  font-size: calc(14px + var(--font-bump));
  color: var(--storefront-text-strong);
}

.dfo-pdp .cl-summary .checkout-summary-row {
  gap: 16px;
}

.dfo-pdp .cl-summary dd {
  flex: none;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--storefront-heading);
}

.dfo-pdp .cl-summary .is-total {
  margin-top: 6px;
  border-top: 1px solid var(--storefront-border);
  font-size: calc(16px + var(--font-bump));
  color: var(--storefront-heading);
}

.dfo-pdp .cl-summary .is-total dd {
  font-weight: 700;
}

.dfo-pdp .cl-errors {
  margin: 16px 0 0;
  font-size: calc(14px + var(--font-bump));
  line-height: 1.5;
}

.dfo-pdp .cl-errors-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  font-weight: 700;
}

.dfo-pdp .cl-errors ul {
  margin: 0;
  padding: 0 0 0 36px;
  list-style: disc;
}

.dfo-pdp .cl-errors li + li {
  margin-top: 2px;
}

@media (max-width: 640px) {
  .dfo-pdp .cl-grid-labels {
    width: 28%;
  }

  .dfo-pdp .cl-grid th,
  .dfo-pdp .cl-grid td {
    padding-right: 4px;
    padding-left: 4px;
  }

  .dfo-pdp .cl-grid tr > :first-child {
    padding-left: 12px;
  }

  .dfo-pdp .cl-grid tr > :last-child {
    padding-right: 10px;
  }

  .dfo-pdp .cl-grid tbody th,
  .dfo-pdp .cl-eye-toggle {
    font-size: calc(13px + var(--font-bump));
  }

  .dfo-pdp .cl-eye-toggle {
    gap: 8px;
  }

  .dfo-pdp .cl-eye-same {
    margin-left: 0;
  }

  .dfo-pdp .cl-grid select {
    padding-left: 8px;
  }

  .dfo-pdp .cl-stepper button {
    flex-basis: 36px;
  }

  .dfo-pdp .cl-summary {
    padding: 10px 14px;
  }
}

@media (max-width: 900px) {
  .dfo-pdp .pdp-information {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 28px;
  }

  .dfo-pdp .product-essential {
    gap: 20px;
    margin-bottom: 32px;
  }

}

@media (max-width: 480px) {
  .dfo-pdp {
    padding-top: 20px;
  }

  .dfo-pdp .gallery-main {
    padding: 16px 8px 24px;
  }

  .dfo-pdp .product-title {
    font-size: 26px;
  }

  .dfo-pdp .trust-badges {
    gap: 8px;
  }
}

/* Lens replacement: a service hero in place of the gallery */
.dfo-pdp .product-essential:has(> .lr-hero) {
  grid-template-rows: auto;
  grid-template-areas: "hero details";
}

.dfo-pdp .lr-hero {
  grid-area: hero;
  align-self: start;
  display: grid;
  gap: 16px;
  min-width: 0;
}

/* The frame form opens the details column, level with the top of the hero. */
.dfo-pdp .product-essential:has(> .lr-hero) .add-to-cart {
  margin-top: 0;
}

.dfo-pdp .lr-hero-intro {
  padding: clamp(24px, 3.2vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--storefront-background-subtle);
}

.dfo-pdp .lr-hero-image {
  display: block;
  width: 100%;
  max-height: 260px;
  margin: 0 0 24px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.dfo-pdp .lr-hero-eyebrow {
  margin: 0 0 10px;
  font-size: calc(12px + var(--font-bump));
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--storefront-primary-strong);
}

.dfo-pdp .lr-hero-headline {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--storefront-heading);
  text-wrap: balance;
}

.dfo-pdp .lr-hero-text {
  max-width: 46ch;
  margin: 14px 0 0;
  font-size: calc(15px + var(--font-bump));
  line-height: 1.6;
  color: var(--storefront-text);
}

.dfo-pdp .lr-hero-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 24px 0 0;
  font-size: calc(14px + var(--font-bump));
  color: var(--storefront-text);
}

.dfo-pdp .lr-hero-price strong {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--storefront-heading);
}

.dfo-pdp .lr-steps {
  padding: 24px clamp(20px, 3.2vw, 40px);
  border: 1px solid var(--storefront-border);
  border-radius: var(--radius-lg);
  background: var(--storefront-surface);
}

.dfo-pdp .lr-steps-title {
  margin: 0 0 18px;
  font-size: calc(18px + var(--font-bump));
  font-weight: 700;
  color: var(--storefront-heading);
}

.dfo-pdp .lr-steps-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: lr-step;
}

.dfo-pdp .lr-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 0 0 20px;
  counter-increment: lr-step;
}

.dfo-pdp .lr-step:last-child {
  padding-bottom: 0;
}

.dfo-pdp .lr-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 50px;
  bottom: 6px;
  left: 21px;
  width: 2px;
  border-radius: var(--radius-pill);
  background: var(--storefront-border);
}

.dfo-pdp .lr-step-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--storefront-primary-subtle);
  color: var(--storefront-primary-strong);
  font-size: calc(18px + var(--font-bump));
}

.dfo-pdp .lr-step-title {
  margin: 2px 0;
  font-size: calc(15px + var(--font-bump));
  font-weight: 600;
  line-height: 1.4;
  color: var(--storefront-heading);
}

.dfo-pdp .lr-step-title::before {
  content: counter(lr-step) ". ";
}

.dfo-pdp .lr-step p {
  margin: 0;
  font-size: calc(14px + var(--font-bump));
  line-height: 1.55;
  color: var(--storefront-text);
}

.dfo-pdp .lr-turnaround {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--storefront-background-subtle);
  font-size: calc(13px + var(--font-bump));
  line-height: 1.5;
  color: var(--storefront-text-strong);
}

.dfo-pdp .lr-turnaround i {
  margin-top: 2px;
  font-size: calc(15px + var(--font-bump));
  color: var(--storefront-primary);
}

.dfo-pdp .lr-process,
.dfo-pdp .lr-needs {
  margin: 0;
  padding: 0 0 0 20px;
}

.dfo-pdp .lr-process > li + li,
.dfo-pdp .lr-needs > li + li {
  margin-top: 14px;
}

.dfo-pdp .lr-process > li::marker {
  font-weight: 600;
  color: var(--storefront-heading);
}

.dfo-pdp .lr-process h3 {
  margin: 0 0 4px;
}

.dfo-pdp .lr-process p {
  margin: 0;
}

.dfo-pdp .lr-options {
  margin: 8px 0 0;
  padding: 0 0 0 18px;
}

.dfo-pdp .lr-options > li + li {
  margin-top: 6px;
}

.dfo-pdp .lr-needs strong,
.dfo-pdp .lr-options strong {
  font-weight: 600;
  color: var(--storefront-heading);
}

.dfo-pdp .lr-needs a,
.dfo-pdp .pdp-link {
  font-weight: 600;
  color: var(--storefront-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dfo-pdp .lr-needs a:hover,
.dfo-pdp .pdp-link:hover {
  color: var(--storefront-primary-hover);
}

.dfo-pdp .lr-needs a:focus-visible,
.dfo-pdp .pdp-link:focus-visible {
  outline: 2px solid var(--storefront-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

@media (max-width: 900px) {
  /* The steps move under the frame form so its button comes first. */
  .dfo-pdp .product-essential:has(> .lr-hero) {
    grid-template-areas: "intro" "details" "steps";
  }

  .dfo-pdp .lr-hero {
    display: contents;
  }

  .dfo-pdp .lr-hero-intro {
    grid-area: intro;
    padding: 20px;
  }

  .dfo-pdp .lr-steps {
    grid-area: steps;
  }

  /* Phones keep the headline and price; the steps under the form carry the rest. */
  .dfo-pdp .lr-hero-image,
  .dfo-pdp .lr-hero-text {
    display: none;
  }

  .dfo-pdp .lr-hero-headline {
    font-size: 26px;
  }

  .dfo-pdp .lr-hero-price {
    margin-top: 12px;
  }
}
