/* Approved visual changes will be added here. */

/* Review 1: selected utility strip matches the live site's top header bar. */
body.v3.pdp-page header.hd .hd-util {
  background: #8123da;
}

/* Review 2: white text throughout the top utility strip. */
body.v3.pdp-page header.hd .hd-util,
body.v3.pdp-page header.hd .hd-util a,
body.v3.pdp-page header.hd .hd-util button,
body.v3.pdp-page header.hd .hd-util span {
  color: #fff;
  opacity: 1;
}

/* Review 5: original live-site purple gradient, rendered entirely in CSS. */
body.v3.pdp-page header.hd .hd-main {
  background: radial-gradient(circle at 15% 30%, #7333b5 20%, #2b0058 40%);
}

/* Review 6: soft separation below the top utility strip; no image asset. */
body.v3.pdp-page header.hd .hd-util {
  position: relative;
  z-index: 2;
  box-shadow: 0 5px 10px rgba(20, 0, 40, 0.4);
}

/* Review 7: exact original logo-panel gradient; CSS only. */
body.v3.pdp-page header.hd a.drape::before {
  background: radial-gradient(at 50% 40%, #7a2ec7 10%, #390068 68%);
}

/* Review 8: neutral browser canvas and toolbar colour. */
html { background-color: #f2f2f2; }
body.v3.pdp-page header.hd { background-color: #f2f2f2; }
/* Safari extends sticky header colours into browser chrome.
   Keep the header in normal flow to retain neutral browser chrome. */
body.v3.pdp-page header.hd { position: relative; top: auto; }

/* Review 9: white Publications pill outline. */
body.v3.pdp-page header.hd .hd-util a.pill {
  border-color: #fff;
  color: #fff;
}

/* Review 10: compact, prominent, labelled search trigger. */
body.v3.pdp-page header.hd .tools .search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: auto;
  min-width: 96px;
  height: 44px;
  padding: 0 13px;
  border: 1px solid #fff;
  border-radius: 24px;
  background: #fff;
  color: #390068;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
body.v3.pdp-page header.hd .tools .search-btn .icon { width: 20px; height: 20px; }
body.v3.pdp-page header.hd .tools .search-btn:hover { background: #f0e8f7; }
body.v3.pdp-page header.hd .tools .search-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  body.v3.pdp-page header.hd .tools .search-btn { min-width: 44px; padding: 0 10px; }
  body.v3.pdp-page header.hd .tools .search-btn__label { display: none; }
}

/* Review 11: neutral grey surfaces and dividers against the white product band. */
body.v3.pdp-page {
  --ve-surface: #f7f7f7;
  --ve-surface-2: #eeeeee;
  --ve-surface-3: #e3e3e3;
  --ve-line: #d5d5d5;
}

/* Review 12: original light background tone, neutralised from #f5f2f1. */
body.v3.pdp-page main#content > .band.first-band {
  background: #f3f3f3;
}

/* Review 13: quieter search treatment between icon-only and solid pill. */
body.v3.pdp-page header.hd .tools .search-btn {
  min-width: 82px;
  height: 34px;
  gap: 5px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}
body.v3.pdp-page header.hd .tools .search-btn .icon { width: 18px; height: 18px; }
body.v3.pdp-page header.hd .tools .search-btn:hover { background: rgba(255, 255, 255, 0.16); }
@media (max-width: 600px) {
  body.v3.pdp-page header.hd .tools .search-btn { min-width: 44px; height: 44px; }
}

/* Review 14: softly tinted search, distinct from the Publications pill. */
body.v3.pdp-page header.hd .tools .search-btn {
  background: rgba(255, 255, 255, 0.15);
  border-color: transparent;
  border-radius: 6px;
}
body.v3.pdp-page header.hd .tools .search-btn:hover,
body.v3.pdp-page header.hd .tools .search-btn:focus-visible {
  background: rgba(255, 255, 255, 0.25);
}

/* Review 16: broken Publications outline; retain current colour and dimensions. */
body.v3.pdp-page header.hd .hd-util a.pill {
  border-style: dashed;
}

/* Review 17: main displayed product price in VE Purple. */
body.v3.pdp-page article.pdp .price-block__price {
  color: #6900af;
}

/* Review 18: replace the house gold-brown detail accent with VE Avocado. */
body.v3.pdp-page { --ve-detail: #92936a; }

/* Review 19: restore VE Persian Pink to the product purchase button. */
body.v3.pdp-page #add_to_cart_form_778 .buy-actions .btn--buy {
  background: #ff69c4;
  border-color: #ff69c4;
}

/* Review 20: replace display serif with Libre Caslon Condensed Medium. */
@font-face {
  font-family: 'Libre Caslon Condensed';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/static/libre-caslon-condensed-variable.woff2') format('woff2');
}
body.v3.pdp-page {
  --f-display: 'Libre Caslon Condensed', 'Iowan Old Style', Georgia, serif;
}
body.v3.pdp-page :is(h1,h2,h3,.display,.prose h4,.prose h5,.card-p__title,.tile__label,.disclosure summary,.line-item h4,.range__big,.summary .total strong,.buy-bar .amount,.price-row .amount,.price-block__price,.ft .phone,.drawer .site-nav a,.mega__all) {
  font-weight: 410;
}

/* Review 21: selected product heading at regular weight. */
body.v3.pdp-page main#content article.pdp h1 { font-weight: 400; }

/* Review 22: only the product title returns to Libre Caslon Display. */
body.v3.pdp-page main#content article.pdp h1 {
  font-family: 'Libre Caslon Display', 'Iowan Old Style', Georgia, serif;
  font-weight: 410;
}

/* Review 23: newsletter title case, white decorative arrow and monochrome social logos. */
body.v3.pdp-page .ft__news .news-email-wrap {
  position: relative;
  min-width: 0;
  display: block;
}
body.v3.pdp-page .ft__news #news-email { width: 100%; padding-right: 53px; }
body.v3.pdp-page .ft__news .news-arrow {
  position: absolute;
  width: 34px;
  height: 22px;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  pointer-events: none;
}
body.v3.pdp-page .ft__social { gap: 12px; align-items: center; }
body.v3.pdp-page .ft__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
}
body.v3.pdp-page .ft__social img { width: 21px; height: 21px; object-fit: contain; filter: brightness(0) invert(1); opacity: .8; }
body.v3.pdp-page .ft__social a:hover img { opacity: 1; }

/* Review 24: align first three helpline lines to the unchanged hours reference. */
body.v3.pdp-page .helpline-width-reference { display: inline-block; white-space: nowrap; }
body.v3.pdp-page .ft__top > .stack:first-child :is(h2,.eyebrow,.phone) {
  display: block;
  white-space: nowrap;
}

/* Review 25: supplied Trade Society logo aligned to the title lettering. */
body.v3.pdp-page .ft__base .trade .mark .trade-society-logo {
  display: inline-block;
  height: .88em;
  width: auto;
  margin-right: .4em;
  vertical-align: -.16em;
}

/* Review 26: quieter purple newsletter action with legible white lettering. */
body.v3.pdp-page .ft__news form > .btn--light {
  background: #49345e;
  border-color: #49345e;
  color: #fff;
}
body.v3.pdp-page .ft__news form > .btn--light:hover {
  background: #594270;
  border-color: #594270;
}

/* Review 27: monochrome linked payment logos. */
body.v3.pdp-page .ft__base .pay { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
body.v3.pdp-page .ft__base .pay a { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 36px; }
body.v3.pdp-page .ft__base .pay img { width: 45px; height: 28px; object-fit: contain; filter: grayscale(1) brightness(0) invert(1); opacity: .78; }
body.v3.pdp-page .ft__base .pay a:last-child img { width: 58px; }
body.v3.pdp-page .ft__base .pay a:hover img { opacity: 1; }
body.v3.pdp-page .ft__base .pay a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Review 28: reordered helpline information with quieter greeting. */
body.v3.pdp-page .ft__top > .stack:first-child h2 { margin: 8px 0 12px; }
body.v3.pdp-page .ft__top > .stack:first-child .helpline-hours { margin: 0; }
body.v3.pdp-page .ft__top > .stack:first-child .phone { margin-top: 16px; margin-bottom: 0; }

/* Review 29: halve helpline spacing and match arrow to placeholder. */
body.v3.pdp-page .helpline-contact-intro { display: block; margin-bottom: .5lh; }
body.v3.pdp-page .ft__top > .stack:first-child .phone { margin-top: 4px; }
body.v3.pdp-page .ft__news .news-arrow { color: var(--ve-on-brand-3); }
@media (max-width: 600px) {
  body.v3.pdp-page .ft__news form { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; }
  body.v3.pdp-page .ft__news form > .btn--light { justify-self: start; white-space: nowrap; min-width: 110px; }
}

/* Review 30: one lightweight ornament turn, only on deliberate pointer hover. */
.logo-ornament { transform-box: view-box; transform-origin: 85px 16px; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .drape:hover .logo-ornament { animation: ve-ornament-turn 700ms ease-in-out 1; }
}
@keyframes ve-ornament-turn {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}
.drape svg.drape__full { display:block; width:124px; height:auto; margin:8px auto; }
.is-scrolled .drape svg.drape__full { display:none; }
@media (max-width:900px) { .drape svg.drape__full { display:none; } }

/* Review 31: illustration only; retain original 74px diagram and 62px section boxes.
   Existing calculator still repeats the section elements and controls their width. */
.range--radiator .rad-diagram { border-bottom-color:transparent; }
.range--radiator .rad-diagram .rad-diagram__body i {
  background:none;
  border-radius:0;
}
.range--radiator .rad-diagram .rad-diagram__body i::before {
  content:"";
  position:absolute;
  inset:0 0 -8px;
  background:url('/static/radiator-section.svg') center / 100% 100% no-repeat;
}
.range--radiator .rad-diagram .rad-diagram__body i::after {
  content:"";
  left:auto;
  right:-3px;
  top:12px;
  bottom:auto;
  width:5px;
  height:45px;
  border-radius:0;
  background:linear-gradient(to bottom,#536c72 0,#829699 2px,#465f65 4px,transparent 4px,transparent 40px,#536c72 40px,#829699 42px,#465f65 44px,transparent 44px);
}
.range--radiator .rad-diagram .rad-diagram__body i:last-child::after { content:none; }

/* Review 32: reference-led cast iron profile, within the same section boxes. */
.range--radiator .rad-diagram .rad-diagram__body i::before {
  background-image:url('/static/radiator-section-heritage.svg');
}

/* Review 33: user's supplied artwork, three small transparent image pieces.
   Existing repeated elements, dimensions and all calculator logic retained. */
.range--radiator .rad-diagram .rad-diagram__body i::before {
  background-image:url('/static/radiator-supplied-middle.webp');
}
.range--radiator .rad-diagram .rad-diagram__body i:first-child::before {
  background-image:url('/static/radiator-supplied-start.webp');
}
.range--radiator .rad-diagram .rad-diagram__body i:last-child::before {
  background-image:url('/static/radiator-supplied-end.webp');
}
.range--radiator .rad-diagram .rad-diagram__body i::after { content:none; }
.range--radiator .rad-diagram__body { gap:0; }
/* Allow for the end caps while keeping the actual columns equally wide. */
.range--radiator .rad-diagram .rad-diagram__body i:first-child { flex-grow:1.241; max-width:27.3px; }
.range--radiator .rad-diagram .rad-diagram__body i:last-child { flex-grow:1.343; max-width:29.5px; }

/* Review 34: coordinate the footer around the requested deep purple. */
body.v3.pdp-page footer.ft { background:#2b0057; }
body.v3.pdp-page .ft__news input { background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.18); }
body.v3.pdp-page .ft__news form > .btn--light { background:#523366; border-color:#523366; color:#fff; }
body.v3.pdp-page .ft__news form > .btn--light:hover,
body.v3.pdp-page .ft__news form > .btn--light:focus-visible { background:#65477a; border-color:#65477a; }
body.v3.pdp-page .ft__base { border-top-color:rgba(255,255,255,.16); }

/* Review 35: derive the newsletter button tint from the footer purple. */
body.v3.pdp-page .ft__news form > .btn--light { background:#553379; border-color:#553379; color:#fff; }
body.v3.pdp-page .ft__news form > .btn--light:hover,
body.v3.pdp-page .ft__news form > .btn--light:focus-visible { background:#684d8a; border-color:#684d8a; }

/* Review 36: requested product information headings only. */
body.v3.pdp-page .disclosure-title-display {
  font-family:'Libre Caslon Display', 'Iowan Old Style', Georgia, serif;
  font-weight:400;
}
body.v3.pdp-page #product-details .disclosure-title-display { font-weight:400; }

/* Review 37: solid Publications outline with a deeper purple fill. */
body.v3.pdp-page header.hd .hd-util a.pill {
  border-style:solid;
  background:#611aa4;
}
body.v3.pdp-page header.hd .hd-util a.pill:hover,
body.v3.pdp-page header.hd .hd-util a.pill:focus-visible {
  background:#53168e;
}

/* Review 38: finer Publications outline. */
body.v3.pdp-page header.hd .hd-util a.pill { border-width:.5px; }

/* Review 39: midpoint between Publications fill and utility bar. */
body.v3.pdp-page header.hd .hd-util a.pill { background:#711fc0; }

/* Review 40: circular icon-only search with the existing tinted background. */
body.v3.pdp-page header.hd .tools .search-btn {
  width:34px; min-width:34px; height:34px; padding:0; border-radius:50%;
}
body.v3.pdp-page header.hd .tools .search-btn__label { display:none; }
@media (max-width:600px) {
  body.v3.pdp-page header.hd .tools .search-btn { width:44px; min-width:44px; height:44px; }
}

/* Review 41: match the supplied radiator silhouette to the light grey reference track. */
.range--radiator .rad-diagram .rad-diagram__body i::before {
  filter: brightness(0) saturate(100%) invert(65%);
}
