/*
Theme Name: Night Driving Glasses Blocksy Child
Theme URI: https://nightdrivingglasses.co.uk/
Description: Original Blocksy child theme for the Night Driving Glasses UK store.
Author: Night Driving Glasses
Template: blocksy
Version: 1.0.3
Text Domain: ndguk
*/

html:root {
  --ndg-ink: #171918;
  --ndg-ink-soft: #494d49;
  --ndg-grey-900: #252824;
  --ndg-grey-700: #606560;
  --ndg-grey-500: #8b918b;
  --ndg-grey-300: #d9ddd8;
  --ndg-grey-200: #e8ebe7;
  --ndg-grey-100: #f2f4f1;
  --ndg-paper: #fafbf9;
  --ndg-white: #fff;
  --ndg-amber: #d99b1d;
  --ndg-amber-dark: #9a6710;
  --ndg-amber-pale: #f7edcf;
  --ndg-success: #386f4b;
  --ndg-danger: #9d352f;
  --ndg-radius-sm: 4px;
  --ndg-radius-md: 10px;
  --ndg-radius-lg: 18px;
  --ndg-shadow: 0 16px 50px rgba(22, 27, 22, 0.08);
  --ndg-container: min(100% - 40px, 1240px);
  --theme-palette-color-1: var(--ndg-ink);
  --theme-palette-color-2: var(--ndg-amber-dark);
  --theme-palette-color-3: var(--ndg-ink-soft);
  --theme-palette-color-4: var(--ndg-ink);
  --theme-palette-color-5: var(--ndg-grey-700);
  --theme-palette-color-6: var(--ndg-grey-300);
  --theme-palette-color-7: var(--ndg-grey-100);
  --theme-palette-color-8: var(--ndg-white);
  --theme-border-radius: 4px;
  --theme-button-border-radius: 3px;
  --theme-form-field-border-radius: 3px;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ndg-ink);
  background: var(--ndg-paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.home .site-main {
  padding: 0;
}

body,
button,
input,
select,
textarea {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
h2,
h3,
h4,
.site-title {
  color: var(--ndg-ink);
  font-family: "DM Sans", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 650;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.7rem, 6.5vw, 6.6rem);
  line-height: 0.97;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1.02;
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1.2;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(217, 155, 29, 0.5);
  outline-offset: 3px;
}

img {
  height: auto;
}

.screen-reader-text:focus {
  z-index: 999999;
}

.ndguk-container {
  width: var(--ndg-container);
  margin-inline: auto;
}

.ndguk-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--ndg-amber-dark);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ndguk-kicker::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
}

.ndguk-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 4.5rem);
}

.ndguk-section-head h2,
.ndguk-section-head p {
  margin: 0;
}

.ndguk-section-head p {
  max-width: 34rem;
  color: var(--ndg-ink-soft);
  font-size: 1.05rem;
}

.ndguk-button,
.wp-element-button,
button.button,
a.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.ct-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid var(--ndg-ink);
  border-radius: var(--ndg-radius-sm);
  background: var(--ndg-ink);
  box-shadow: none;
  color: var(--ndg-white);
  font-size: 0.88rem;
  font-weight: 730;
  letter-spacing: 0.045em;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.ndguk-button:hover,
.wp-element-button:hover,
button.button:hover,
a.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.ct-button:hover {
  border-color: var(--ndg-amber-dark);
  background: var(--ndg-amber-dark);
  box-shadow: none;
  color: var(--ndg-white);
  transform: none;
}

.ndguk-button--light {
  border-color: var(--ndg-white);
  background: var(--ndg-white);
  color: var(--ndg-ink);
}

.ndguk-button--light:hover {
  border-color: var(--ndg-amber-pale);
  background: var(--ndg-amber-pale);
  color: var(--ndg-ink);
}

.ndguk-button--outline {
  border-color: var(--ndg-grey-900);
  background: transparent;
  color: var(--ndg-ink);
}

.ndguk-button--outline:hover {
  border-color: var(--ndg-ink);
  background: var(--ndg-ink);
  color: var(--ndg-white);
}

.ndguk-button svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

/* Announcement and Blocksy header */
.ndguk-announcement {
  position: relative;
  z-index: 55;
  padding: 0.58rem 20px;
  background: var(--ndg-grey-900);
  color: var(--ndg-white);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.025em;
  line-height: 1.35;
  text-align: center;
}

.ndguk-announcement span + span::before {
  margin: 0 0.8rem;
  color: var(--ndg-grey-500);
  content: "•";
}

#header [data-row="middle"] {
  border-bottom: 1px solid rgba(23, 25, 24, 0.09);
  background: rgba(250, 251, 249, 0.94);
  backdrop-filter: blur(16px);
}

#header .site-title {
  font-size: clamp(1.05rem, 2.1vw, 1.45rem);
  font-weight: 720;
  letter-spacing: -0.045em;
}

#header [data-id="menu"] > ul > li > a,
#header [data-id="menu-secondary"] > ul > li > a {
  color: var(--ndg-ink);
  font-size: 0.84rem;
  font-weight: 660;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

#header [data-id="menu"] > ul > li > a:hover,
#header [data-id="menu"] > ul > li.current-menu-item > a {
  color: var(--ndg-amber-dark);
}

/* Home hero */
.ndguk-hero {
  position: relative;
  min-height: clamp(640px, 83vh, 880px);
  isolation: isolate;
  overflow: hidden;
  background: #e7e9e5;
}

.ndguk-hero__media,
.ndguk-hero__media picture,
.ndguk-hero__media img,
.ndguk-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ndguk-hero__media img {
  object-fit: cover;
  object-position: center 48%;
}

.ndguk-hero__shade {
  z-index: 1;
  background: linear-gradient(90deg, rgba(242, 244, 241, 0.98) 0%, rgba(242, 244, 241, 0.9) 32%, rgba(242, 244, 241, 0.25) 60%, rgba(242, 244, 241, 0) 100%);
}

.ndguk-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: inherit;
  align-items: center;
  padding-block: clamp(5rem, 11vw, 9rem);
}

.ndguk-hero__copy {
  max-width: 690px;
}

.ndguk-hero__brand {
  margin: 0 0 clamp(1.5rem, 4vw, 3.2rem);
  color: var(--ndg-ink);
  font-size: 0.8rem;
  font-weight: 780;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ndguk-hero h1 {
  max-width: 690px;
  margin: 0;
}

.ndguk-hero__lead {
  max-width: 575px;
  margin: 1.7rem 0 0;
  color: var(--ndg-ink-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.55;
}

.ndguk-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: 2rem;
}

.ndguk-hero__price-note {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  padding-inline: 1rem;
  color: var(--ndg-ink-soft);
  font-size: 0.88rem;
  font-weight: 620;
}

.ndguk-hero__price-note strong {
  margin-left: 0.3rem;
  color: var(--ndg-ink);
  font-size: 1.1rem;
}

.ndguk-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.3rem;
  margin: 2.2rem 0 0;
  padding: 0;
  color: var(--ndg-ink-soft);
  font-size: 0.87rem;
  font-weight: 600;
  list-style: none;
}

.ndguk-hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.ndguk-hero__facts li::before {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--ndg-amber);
  content: "";
}

.ndguk-trust-strip {
  border-block: 1px solid var(--ndg-grey-200);
  background: var(--ndg-white);
}

.ndguk-trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.ndguk-trust-strip__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.85rem;
  align-items: center;
  padding: 1.45rem clamp(1rem, 3vw, 2.8rem);
  border-right: 1px solid var(--ndg-grey-200);
}

.ndguk-trust-strip__item:last-child {
  border-right: 0;
}

.ndguk-trust-strip svg {
  grid-row: 1 / span 2;
  width: 25px;
  color: var(--ndg-amber-dark);
}

.ndguk-trust-strip strong {
  font-size: 0.88rem;
  line-height: 1.25;
}

.ndguk-trust-strip span {
  color: var(--ndg-ink-soft);
  font-size: 0.76rem;
  line-height: 1.3;
}

/* Home catalogue */
.ndguk-featured,
.ndguk-shapes,
.ndguk-process,
.ndguk-faq,
.ndguk-content-section {
  padding-block: clamp(5rem, 10vw, 9rem);
}

.ndguk-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
}

.ndguk-product-card {
  min-width: 0;
}

.ndguk-product-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 4.7;
  background: var(--ndg-grey-100);
}

.ndguk-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ndguk-product-card__image picture,
.ndguk-lens-story__media picture,
.ndguk-shape-link picture {
  display: block;
  width: 100%;
  height: 100%;
}

.ndguk-product-card:hover .ndguk-product-card__image img {
  transform: scale(1.025);
}

.ndguk-product-card__sale {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.35rem 0.55rem;
  background: var(--ndg-ink);
  color: var(--ndg-white);
  font-size: 0.66rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.ndguk-product-card__meta {
  padding: 1rem 0.15rem 0;
}

.ndguk-product-card__shape {
  margin: 0 0 0.35rem;
  color: var(--ndg-grey-700);
  font-size: 0.7rem;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ndguk-product-card h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.ndguk-product-card h3 a {
  text-decoration: none;
}

.ndguk-product-card__bottom {
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 0.65rem;
}

.ndguk-product-card__price,
.ndguk-product-card__price .price {
  color: var(--ndg-ink);
  font-size: 0.98rem;
  font-weight: 700;
}

.ndguk-product-card__price del {
  margin-right: 0.25rem;
  color: var(--ndg-grey-500);
  font-size: 0.8rem;
  font-weight: 500;
}

.ndguk-product-card__price ins {
  text-decoration: none;
}

.ndguk-product-card__link {
  border-bottom: 1px solid var(--ndg-grey-500);
  color: var(--ndg-ink-soft);
  font-size: 0.73rem;
  font-weight: 690;
  text-decoration: none;
  text-transform: uppercase;
}

.ndguk-product-card__link:hover {
  border-color: var(--ndg-amber-dark);
  color: var(--ndg-amber-dark);
}

.ndguk-featured__footer {
  margin-top: 3rem;
  text-align: center;
}

/* Lens story */
.ndguk-lens-story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  min-height: 680px;
  background: var(--ndg-grey-900);
  color: var(--ndg-white);
}

.ndguk-lens-story__media {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  background: #daddd7;
}

.ndguk-lens-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ndguk-lens-story__copy {
  display: flex;
  align-items: center;
  padding: clamp(3rem, 7vw, 7rem);
}

.ndguk-lens-story__copy > div {
  max-width: 590px;
}

.ndguk-lens-story h2,
.ndguk-lens-story h3 {
  color: var(--ndg-white);
}

.ndguk-lens-story h2 {
  margin: 0 0 1.5rem;
}

.ndguk-lens-story__lead {
  margin: 0;
  color: #d6dad5;
  font-size: 1.07rem;
}

.ndguk-lens-story__points {
  display: grid;
  gap: 1.25rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.ndguk-lens-story__points li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.9rem;
}

.ndguk-lens-story__points svg {
  margin-top: 0.1rem;
  color: var(--ndg-amber);
}

.ndguk-lens-story__points strong {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--ndg-white);
}

.ndguk-lens-story__points span {
  color: #b8beb8;
  font-size: 0.9rem;
}

.ndguk-disclaimer-inline {
  margin: 2.2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  color: #aab0aa;
  font-size: 0.78rem;
}

/* Shape editorial links */
.ndguk-shape-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.ndguk-shape-link {
  position: relative;
  display: flex;
  min-height: 300px;
  grid-column: span 3;
  align-items: flex-end;
  overflow: hidden;
  padding: 1.6rem;
  background: var(--ndg-grey-100);
  color: var(--ndg-white);
  text-decoration: none;
}

.ndguk-shape-link:first-child,
.ndguk-shape-link:nth-child(4) {
  grid-column: span 3;
}

.ndguk-shape-link:nth-child(2),
.ndguk-shape-link:nth-child(3) {
  grid-column: span 3;
}

.ndguk-shape-link img,
.ndguk-shape-link picture,
.ndguk-shape-link::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ndguk-shape-link img {
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ndguk-shape-link::after {
  background: linear-gradient(180deg, transparent 35%, rgba(16, 19, 17, 0.78));
  content: "";
}

.ndguk-shape-link:hover img {
  transform: scale(1.035);
}

.ndguk-shape-link__text {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  align-items: flex-end;
  justify-content: space-between;
}

.ndguk-shape-link strong {
  display: block;
  color: var(--ndg-white);
  font-family: "DM Sans", Inter, sans-serif;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.ndguk-shape-link small {
  color: #e1e4e0;
}

.ndguk-shape-link svg {
  width: 23px;
}

/* Process */
.ndguk-process {
  background: var(--ndg-grey-100);
}

.ndguk-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 6rem);
  counter-reset: process;
}

.ndguk-process-step {
  position: relative;
  counter-increment: process;
}

.ndguk-process-step::before {
  display: block;
  margin-bottom: 1.8rem;
  color: var(--ndg-amber-dark);
  content: "0" counter(process);
  font-family: "DM Sans", sans-serif;
  font-size: 0.86rem;
  font-weight: 760;
  letter-spacing: 0.12em;
}

.ndguk-process-step:not(:last-child)::after {
  position: absolute;
  top: 0.6rem;
  right: calc(-1 * clamp(1rem, 2.5vw, 3rem));
  width: clamp(2rem, 5vw, 6rem);
  height: 1px;
  background: var(--ndg-grey-300);
  content: "";
}

.ndguk-process-step h3 {
  margin: 0 0 0.7rem;
}

.ndguk-process-step p {
  margin: 0;
  color: var(--ndg-ink-soft);
}

/* FAQ and final */
.ndguk-faq__layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 8vw, 9rem);
}

.ndguk-faq__intro {
  position: sticky;
  top: 130px;
  align-self: start;
}

.ndguk-faq__intro h2,
.ndguk-faq__intro p {
  margin-top: 0;
}

.ndguk-faq__intro p {
  color: var(--ndg-ink-soft);
}

.ndguk-faq__list {
  border-top: 1px solid var(--ndg-grey-300);
}

.ndguk-faq details {
  border-bottom: 1px solid var(--ndg-grey-300);
}

.ndguk-faq summary {
  position: relative;
  padding: 1.45rem 3rem 1.45rem 0;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 620;
  line-height: 1.35;
  list-style: none;
}

.ndguk-faq summary::-webkit-details-marker {
  display: none;
}

.ndguk-faq summary::before,
.ndguk-faq summary::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 15px;
  height: 1px;
  background: var(--ndg-ink);
  content: "";
  transition: transform 180ms ease;
}

.ndguk-faq summary::after {
  transform: rotate(90deg);
}

.ndguk-faq details[open] summary::after {
  transform: rotate(0);
}

.ndguk-faq__answer {
  max-width: 720px;
  padding: 0 3rem 1.5rem 0;
  color: var(--ndg-ink-soft);
}

.ndguk-faq__answer p:last-child {
  margin-bottom: 0;
}

.ndguk-final-cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 10vw, 9rem);
  background: var(--ndg-amber-pale);
}

.ndguk-final-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: end;
}

.ndguk-final-cta h2 {
  max-width: 840px;
  margin: 0;
}

.ndguk-final-cta p {
  max-width: 650px;
  margin: 1.2rem 0 0;
  color: var(--ndg-ink-soft);
}

/* General content pages */
.ndguk-page-wrap {
  width: min(100% - 40px, 900px);
  margin-inline: auto;
  padding-block: clamp(4rem, 9vw, 8rem);
}

.ndguk-page-hero {
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.ndguk-page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5.7rem);
}

.ndguk-page-hero p {
  max-width: 680px;
  margin: 1.4rem 0 0;
  color: var(--ndg-ink-soft);
  font-size: 1.1rem;
}

.ndguk-prose {
  color: var(--ndg-ink-soft);
}

.ndguk-prose > * + * {
  margin-top: 1.2rem;
}

.ndguk-prose h2,
.ndguk-prose h3 {
  margin-top: 3.5rem;
  color: var(--ndg-ink);
}

.ndguk-prose h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.ndguk-prose h3 {
  font-size: 1.25rem;
}

.ndguk-prose a {
  color: var(--ndg-amber-dark);
}

.ndguk-prose ul,
.ndguk-prose ol {
  padding-left: 1.3rem;
}

.ndguk-note,
.ndguk-contact-box {
  margin-block: 2rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  border-left: 3px solid var(--ndg-amber);
  background: var(--ndg-grey-100);
  color: var(--ndg-ink-soft);
}

.ndguk-contact-box {
  border-left: 0;
}

.ndguk-contact-box strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ndg-ink);
}

/* WooCommerce catalogue */
.woocommerce .hero-section[data-type="type-1"],
.woocommerce-page .hero-section[data-type="type-1"] {
  background: var(--ndg-grey-100);
}

.woocommerce .page-title,
.woocommerce-page .page-title {
  letter-spacing: -0.04em;
}

.woocommerce ul.products {
  gap: clamp(1.1rem, 2vw, 2rem);
}

.woocommerce ul.products li.product {
  min-width: 0;
}

.woocommerce ul.products li.product .ct-media-container {
  overflow: hidden;
  background: var(--ndg-grey-100);
}

.woocommerce ul.products li.product img {
  transition: transform 350ms ease;
}

.woocommerce ul.products li.product:hover img {
  transform: scale(1.02);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 1rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.woocommerce ul.products li.product .price {
  color: var(--ndg-ink);
  font-weight: 700;
}

.woocommerce span.onsale {
  min-width: auto;
  min-height: auto;
  padding: 0.42rem 0.58rem;
  border-radius: 0;
  background: var(--ndg-ink);
  color: var(--ndg-white);
  font-size: 0.67rem;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
}

.ndguk-loop-view {
  width: 100%;
  margin-top: 0.65rem;
}

/* PDP */
body.single-product .site-main {
  background: var(--ndg-paper);
}

body.single-product .product-entry-wrapper {
  gap: clamp(2rem, 5vw, 6rem);
}

body.single-product .woocommerce-product-gallery .ct-media-container,
body.single-product .woocommerce-product-gallery__image {
  background: var(--ndg-grey-100);
}

body.single-product .entry-summary .product_title {
  max-width: 720px;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.02;
}

body.single-product .entry-summary .price {
  color: var(--ndg-ink);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 720;
}

body.single-product .entry-summary .price del {
  color: var(--ndg-grey-500);
  font-size: 0.85em;
}

body.single-product .entry-summary .price ins {
  text-decoration: none;
}

.ndguk-pdp-promise {
  display: grid;
  gap: 0.65rem;
  margin: 1.4rem 0 0;
  padding: 1.1rem 0;
  border-block: 1px solid var(--ndg-grey-200);
}

.ndguk-pdp-promise span {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  color: var(--ndg-ink-soft);
  font-size: 0.85rem;
}

.ndguk-pdp-promise svg {
  width: 18px;
  color: var(--ndg-amber-dark);
}

.lens-bird-launcher {
  margin-top: 1.2rem;
}

.lens-bird-launcher__button,
.single_add_to_cart_button {
  width: 100%;
  min-height: 56px !important;
}

body.single-product .ppc-button-wrapper,
body.single-product .ppcp-messages,
body.single-product #ppc-button,
body.single-product .ppcp-button-apm,
body.single-product .paypal-buttons-context-iframe,
body.single-product .wc-stripe-payment-request-wrapper {
  display: none !important;
}

.woocommerce div.product .woocommerce-tabs {
  margin-top: clamp(4rem, 8vw, 8rem);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  overflow-x: auto;
  gap: 0;
  border-bottom: 1px solid var(--ndg-grey-300);
  scrollbar-width: thin;
  --tab-background: var(--ndg-amber-dark);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  padding: 1rem 1.25rem;
  color: var(--ndg-grey-700);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  border-bottom: 2px solid var(--ndg-amber-dark);
  color: var(--ndg-ink);
}

.woocommerce div.product .woocommerce-tabs .panel {
  max-width: 900px;
  margin-inline: auto;
  padding-block: 2.5rem;
  color: var(--ndg-ink-soft);
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.ndguk-spec-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 1.5rem;
  border-top: 1px solid var(--ndg-grey-300);
}

.ndguk-spec-table div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.9rem 1rem 0.9rem 0;
  border-bottom: 1px solid var(--ndg-grey-300);
}

.ndguk-spec-table div:nth-child(odd) {
  margin-right: 2rem;
}

.ndguk-spec-table dt {
  color: var(--ndg-grey-700);
}

.ndguk-spec-table dd {
  margin: 0;
  color: var(--ndg-ink);
  font-weight: 620;
}

.ndguk-mobile-lens-cta {
  display: none;
}

/* Cart and checkout */
.woocommerce-cart .ct-container,
.woocommerce-checkout .ct-container,
.woocommerce-account .ct-container {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-checkout-review-order-table,
.woocommerce-cart .cart_totals {
  border-color: var(--ndg-grey-300);
  background: var(--ndg-white);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container .select2-selection--single {
  min-height: 50px;
  border-color: var(--ndg-grey-300);
  background: var(--ndg-white);
}

/* Cookie consent */
.ndguk-consent {
  position: fixed;
  z-index: 99990;
  right: 18px;
  bottom: 18px;
  display: none;
  width: min(calc(100% - 36px), 440px);
  padding: 1.3rem;
  border: 1px solid var(--ndg-grey-300);
  background: var(--ndg-white);
  box-shadow: var(--ndg-shadow);
}

.ndguk-consent.is-visible {
  display: block;
}

.ndguk-consent h2 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
}

.ndguk-consent p {
  margin: 0;
  color: var(--ndg-ink-soft);
  font-size: 0.84rem;
}

.ndguk-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.ndguk-consent__actions button {
  min-height: 42px;
  padding: 0.6rem 0.9rem;
  font-size: 0.72rem;
}

/* Footer */
.ndguk-prefooter {
  padding-block: 2.2rem;
  border-top: 1px solid var(--ndg-grey-200);
  background: var(--ndg-white);
}

.ndguk-prefooter__inner {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.ndguk-prefooter strong {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 1.05rem;
}

.ndguk-prefooter span {
  color: var(--ndg-ink-soft);
  font-size: 0.83rem;
}

.ndguk-prefooter__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.2rem;
  font-size: 0.78rem;
  font-weight: 650;
  text-transform: uppercase;
}

.ndguk-prefooter__links a {
  text-decoration: none;
}

.ndguk-prefooter__links a:hover {
  color: var(--ndg-amber-dark);
}

#footer [data-row] {
  border-color: rgba(255, 255, 255, 0.11);
  background: var(--ndg-grey-900);
  color: #c9cec9;
}

#footer a,
#footer .ct-footer-copyright {
  color: #c9cec9;
}

/* Motion */
.ndguk-js .ndguk-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ndguk-js .ndguk-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.ndguk-js .ndguk-hero__brand,
.ndguk-js .ndguk-hero h1,
.ndguk-js .ndguk-hero__lead,
.ndguk-js .ndguk-hero__actions,
.ndguk-js .ndguk-hero__facts {
  opacity: 0;
  transform: translateY(14px);
  animation: ndguk-hero-in 700ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.ndguk-js .ndguk-hero h1 { animation-delay: 80ms; }
.ndguk-js .ndguk-hero__lead { animation-delay: 160ms; }
.ndguk-js .ndguk-hero__actions { animation-delay: 240ms; }
.ndguk-js .ndguk-hero__facts { animation-delay: 320ms; }

@keyframes ndguk-hero-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .ndguk-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 3rem;
  }

  .ndguk-lens-story {
    grid-template-columns: 1fr;
  }

  .ndguk-lens-story__media {
    min-height: 520px;
  }

  .ndguk-shape-link,
  .ndguk-shape-link:first-child,
  .ndguk-shape-link:nth-child(2),
  .ndguk-shape-link:nth-child(3),
  .ndguk-shape-link:nth-child(4) {
    grid-column: span 6;
  }

  .ndguk-final-cta__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 767px) {
  :root {
    --ndg-container: min(100% - 28px, 1240px);
  }

  .ndguk-announcement {
    font-size: 0.7rem;
  }

  .ndguk-announcement span:nth-child(3) {
    display: none;
  }

  .ndguk-announcement span + span::before {
    margin-inline: 0.45rem;
  }

  .ndguk-section-head {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ndguk-hero {
    min-height: 740px;
  }

  .ndguk-hero__media img {
    object-position: 66% center;
  }

  .ndguk-hero__shade {
    background: linear-gradient(180deg, rgba(242, 244, 241, 0.97) 0%, rgba(242, 244, 241, 0.9) 50%, rgba(242, 244, 241, 0.16) 82%, transparent 100%);
  }

  .ndguk-hero__inner {
    align-items: flex-start;
    padding-top: 4.5rem;
  }

  .ndguk-hero__brand {
    margin-bottom: 1.5rem;
  }

  .ndguk-hero__lead {
    max-width: 92%;
    font-size: 1rem;
  }

  .ndguk-hero__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .ndguk-hero__price-note {
    min-height: auto;
    padding-inline: 0;
  }

  .ndguk-hero__facts {
    display: grid;
    gap: 0.45rem;
    margin-top: 1.5rem;
  }

  .ndguk-trust-strip__inner {
    grid-template-columns: 1fr;
  }

  .ndguk-trust-strip__item {
    padding: 1rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--ndg-grey-200);
  }

  .ndguk-trust-strip__item:last-child {
    border-bottom: 0;
  }

  .ndguk-product-grid {
    gap: 2rem 0.8rem;
  }

  .ndguk-product-card__meta {
    padding-top: 0.75rem;
  }

  .ndguk-product-card__bottom {
    display: block;
  }

  .ndguk-product-card__link {
    display: inline-block;
    margin-top: 0.5rem;
  }

  .ndguk-lens-story__media {
    min-height: 400px;
  }

  .ndguk-lens-story__copy {
    padding: 3.5rem 20px;
  }

  .ndguk-shape-link,
  .ndguk-shape-link:first-child,
  .ndguk-shape-link:nth-child(2),
  .ndguk-shape-link:nth-child(3),
  .ndguk-shape-link:nth-child(4) {
    min-height: 240px;
    grid-column: span 12;
  }

  .ndguk-process-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .ndguk-process-step::before {
    margin-bottom: 0.8rem;
  }

  .ndguk-process-step::after {
    display: none;
  }

  .ndguk-faq__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ndguk-faq__intro {
    position: static;
  }

  .ndguk-prefooter__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .ndguk-spec-table {
    grid-template-columns: 1fr;
  }

  .ndguk-spec-table div:nth-child(odd) {
    margin-right: 0;
  }

  body.single-product {
    padding-bottom: 76px;
  }

  .ndguk-mobile-lens-cta {
    position: fixed;
    z-index: 9990;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
    gap: 0.7rem;
    align-items: center;
    padding: 0.65rem 14px max(0.65rem, env(safe-area-inset-bottom));
    border-top: 1px solid var(--ndg-grey-300);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
  }

  .ndguk-mobile-lens-cta__price {
    overflow: hidden;
    color: var(--ndg-ink);
    font-size: 0.82rem;
    font-weight: 720;
    white-space: nowrap;
  }

  .ndguk-mobile-lens-cta button {
    min-height: 48px;
    padding-inline: 0.8rem;
    font-size: 0.76rem;
  }

  .ndguk-consent {
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ndguk-js .ndguk-reveal,
  .ndguk-js .ndguk-hero__brand,
  .ndguk-js .ndguk-hero h1,
  .ndguk-js .ndguk-hero__lead,
  .ndguk-js .ndguk-hero__actions,
  .ndguk-js .ndguk-hero__facts {
    opacity: 1;
    transform: none;
  }
}
