/* ══════════════════════════════════════════════════════════════════
   Gifts for Him UK — Main Stylesheet
   giftsforhim.uk · Created by Nicely Personalised
   ══════════════════════════════════════════════════════════════════ */

/* ── Root variables ──────────────────────────────────────────────
   Brand palette — Nicely Personalised V5
   NP Blue  = Trust & professionalism (primary)
   NP Red   = Passion & urgency       (price / sale accent)
   NP Oak   = Warmth & family         (warm backgrounds)
   NP Steel = Sleek & modern          (neutrals / text)
   ──────────────────────────────────────────────────────────────── */
:root {
  /* Page backgrounds */
  --color-bg:           #f7f0eb;  /* NP Oak −5 — main page background */
  --color-bg-alt:       #e9decc;  /* NP Oak −2 — content boxes / alt sections */
  --color-bg-cream:     #fbf7ef;  /* NP Oak −6 — alternating cream sections */

  /* Text */
  --color-dark:         #000B24;  /* NP Rich Black — strong headings */
  --color-text:         #646464;  /* NP SS+3 — body text */
  --color-muted:        #9B9B9B;  /* NP SS+1 — muted / captions */

  /* Brand blue (primary) */
  --color-primary:      #012169;  /* NP Base Brand Blue — logo / nav / brand */
  --color-primary-dk:   #001545;  /* NP Midnight — active states */
  --color-primary-soft: #D9E3F2;  /* NP Pale Mist — soft hover backgrounds */
  --color-cta:          #334D87;  /* NP Cobalt — primary buttons (Add to Basket) */
  --color-cta-dk:       #001545;  /* button hover / active */

  /* Brand red (accent — price & urgency) */
  --color-accent:       #cB102e;  /* NP Base Red — sale price */
  --color-accent-dk:    #940C22;  /* NP Brick Red — hover */
  --color-accent-soft:  #F7D2D8;  /* NP Pale Blush — soft red backgrounds */

  /* Brand green (trust / secure checkout) */
  --color-trust:        #004B44;  /* NP Emerald Forest — trust badges */
  --color-trust-soft:   #CCEBE8;  /* NP Mint Whisper — success backgrounds */

  /* Backwards-compatible aliases (legacy variable names) */
  --color-burgundy:     var(--color-primary);
  --color-burgundy-dk:  var(--color-primary-dk);

  /* Neutral borders & white */
  --color-border:       #E6E6E6;  /* NP SS−4 */
  --color-white:        #FFFFFF;
  --font-heading:       'Rajdhani', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:          'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm:          0.5rem;
  --radius-md:          0.75rem;
  --radius-lg:          1rem;
  --radius-xl:          1.5rem;
  --shadow-sm:          0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:          0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:          0 12px 40px rgba(0,0,0,0.12);
  --shadow-hero:        0 20px 60px rgba(0,0,0,0.14);
  --transition:         0.25s ease;
  --container:          72rem;
}

/* ── Reset & base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background-color: var(--color-bg); color: var(--color-text); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: var(--color-dark); line-height: 1.1; letter-spacing: 0.015em; }

/* ── Layout helpers ─────────────────────────────────────────────── */
.gfhuk-container { max-width: var(--container); margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 640px)  { .gfhuk-container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .gfhuk-container { padding-inline: 2rem; } }

.gfhuk-section { padding-block: 4rem; }
@media (min-width: 768px) { .gfhuk-section { padding-block: 5rem; } }

.gfhuk-section__header { text-align: center; margin-bottom: 2.5rem; }
.gfhuk-section__title  { font-size: clamp(1.75rem,4vw,2.5rem); font-weight: 600; margin-block: 0.4rem 0.75rem; }
.gfhuk-section__subtitle { font-size: 1rem; color: var(--color-text); max-width: 40rem; margin-inline: auto; }
.gfhuk-section__cta-row { text-align: center; margin-top: 2.5rem; }

/* ── Typography helpers ─────────────────────────────────────────── */
.gfhuk-label { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-burgundy); }
.gfhuk-label--light { color: var(--color-burgundy); }
.gfhuk-required { color: #e53e3e; }
.gfhuk-optional { font-weight: 400; color: var(--color-muted); font-size: 0.85em; }

/* ── Buttons ────────────────────────────────────────────────────── */
.gfhuk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.75rem 1.75rem; border-radius: var(--radius-md);
  font-family: var(--font-body); font-weight: 700; font-size: 0.9rem;
  cursor: pointer; text-decoration: none; transition: all var(--transition);
  white-space: nowrap; border: 2px solid transparent;
}
.gfhuk-btn--primary { background: var(--color-cta); color: var(--color-white); }
.gfhuk-btn--primary:hover { background: var(--color-cta-dk); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.gfhuk-btn--ghost { background: transparent; color: var(--color-dark); border-color: var(--color-border); }
.gfhuk-btn--ghost:hover { border-color: var(--color-dark); background: var(--color-dark); color: var(--color-white); }
.gfhuk-btn--outline { background: transparent; color: var(--color-cta); border-color: var(--color-cta); }
.gfhuk-btn--outline:hover { background: var(--color-cta); color: var(--color-white); }
.gfhuk-btn--burgundy { background: var(--color-burgundy); color: var(--color-white); }
.gfhuk-btn--burgundy:hover { background: var(--color-burgundy-dk); }
.gfhuk-btn--large { padding: 1rem 2rem; font-size: 1rem; }
.gfhuk-btn--block { width: 100%; }
.gfhuk-btn--sm { font-size: 0.8rem; padding: 0.5rem 1rem; }

/* ── Form inputs ────────────────────────────────────────────────── */
.gfhuk-input, .gfhuk-textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border); border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 0.9rem; color: var(--color-dark);
  background: var(--color-white); transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.gfhuk-input:focus, .gfhuk-textarea:focus { outline: none; border-color: var(--color-burgundy); box-shadow: 0 0 0 3px rgba(114,47,55,0.12); }
.gfhuk-input.gfhuk-input--error { border-color: #e53e3e; }
.gfhuk-textarea { resize: vertical; min-height: 5rem; }
.gfhuk-field-group { margin-bottom: 1.25rem; }
.gfhuk-field-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.35rem; color: var(--color-dark); }
.gfhuk-char-note { font-size: 0.75rem; color: var(--color-muted); margin-top: 0.25rem; display: block; text-align: right; }

/* ── Error messages ─────────────────────────────────────────────── */
.gfhuk-error-msg { display: flex; align-items: center; gap: 0.3rem; color: #c53030; font-size: 0.8rem; margin-top: 0.4rem; font-weight: 600; }
.gfhuk-error-msg::before { content: '!'; display: inline-flex; align-items: center; justify-content: center; width: 1rem; height: 1rem; background: #c53030; color: white; border-radius: 50%; font-size: 0.65rem; font-weight: 800; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════════════ */
.gfhuk-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}
.gfhuk-nav.gfhuk-nav--scrolled { box-shadow: var(--shadow-sm); }
.gfhuk-nav__inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; gap: 1rem; }
.gfhuk-nav__logo-img { height: 2.25rem; width: auto; }
.gfhuk-nav__logo img { height: 2.25rem; width: auto; }
.gfhuk-nav__links { display: none; }
@media (min-width: 1024px) {
  .gfhuk-nav__links { display: flex; align-items: center; gap: 1.5rem; }
  .gfhuk-nav__links a { font-size: 0.875rem; font-weight: 500; color: var(--color-text); transition: color var(--transition); }
  .gfhuk-nav__links a:hover { color: var(--color-burgundy); }
}
.gfhuk-nav__cta { display: none; font-size: 0.875rem; padding: 0.6rem 1.25rem; }
@media (min-width: 768px) { .gfhuk-nav__cta { display: inline-flex; } }
.gfhuk-nav__hamburger { display: flex; flex-direction: column; gap: 5px; padding: 0.5rem; }
.gfhuk-nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--color-dark); border-radius: 2px; transition: var(--transition); }
@media (min-width: 768px) { .gfhuk-nav__hamburger { display: none; } }
.gfhuk-nav__mobile { padding: 0.5rem 1rem 1rem; border-top: 1px solid var(--color-bg-alt); background: white; }
.gfhuk-nav__mobile-link { display: block; padding: 0.75rem 0; font-size: 0.875rem; font-weight: 500; color: var(--color-text); border-bottom: 1px solid var(--color-bg-alt); }
.gfhuk-nav__mobile-link:last-of-type { border-bottom: none; }
.gfhuk-nav__mobile-link:hover { color: var(--color-burgundy); }
.gfhuk-nav__mobile-cta { display: block; margin-top: 0.75rem; text-align: center; }

/* ══════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════ */
.gfhuk-hero { position: relative; background: var(--color-bg); overflow: hidden; padding-block: 2.5rem 3rem; }
.gfhuk-hero__bg-grad { position: absolute; inset: 0; background: radial-gradient(circle at 75% 15%, #EAE6DF 0%, transparent 60%); opacity: 0.5; pointer-events: none; }
.gfhuk-hero__inner { position: relative; display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 1024px) {
  .gfhuk-hero { padding-block: 4rem 5rem; }
  .gfhuk-hero__inner { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .gfhuk-hero__media { order: 2; }
  .gfhuk-hero__content { order: 1; }
}
.gfhuk-hero__video-wrap {
  position: relative;
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-hero); background: var(--color-white);
  max-height: 280px;
}
@media (min-width: 640px) { .gfhuk-hero__video-wrap { max-height: 380px; } }
@media (min-width: 1024px) { .gfhuk-hero__video-wrap { max-height: none; } }
.gfhuk-hero__video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 1024px) { .gfhuk-hero__video { object-fit: contain; height: auto; } }
.gfhuk-hero__trust-chips { display: none; justify-content: center; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
@media (min-width: 640px) { .gfhuk-hero__trust-chips { display: flex; } }
.gfhuk-trust-chip { display: flex; align-items: center; gap: 0.5rem; background: #ffffff; border: 1px solid rgba(1,33,105,0.16); border-radius: var(--radius-md); padding: 0.52rem 0.95rem; font-size: 0.82rem; font-weight: 600; color: var(--color-primary); box-shadow: 0 6px 18px rgba(0,11,36,0.08); }
.gfhuk-hero__video-brand-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: block;
  width: 136px;
  max-width: 27%;
  height: auto;
  background: #fff;
  border: 1px solid rgba(1,33,105,0.15);
  border-radius: 0.35rem;
  padding: 0.25rem 0.35rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  z-index: 2;
}
@media (max-width: 640px) {
  .gfhuk-hero__video-brand-badge { width: 104px; top: 0.5rem; right: 0.5rem; }
}
.gfhuk-hero__trust-chips .gfhuk-trust-chip {
  min-height: 2.55rem;
  justify-content: center;
  white-space: nowrap;
}
.gfhuk-hero__trust-chips img,
.gfhuk-trust-chip img,
.gfhuk-trust-chip__badge {
  width: auto !important;
  max-width: 96px !important;
  height: 28px !important;
  max-height: 28px !important;
  object-fit: contain !important;
  display: inline-block !important;
}


.gfhuk-hero__badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.85rem; background: rgba(114,47,55,0.1); color: var(--color-burgundy); border-radius: 999px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.gfhuk-hero__heading { font-size: clamp(2rem,5vw,3.5rem); font-weight: 700; color: var(--color-dark); line-height: 1.1; margin-bottom: 1rem; }
.gfhuk-hero__sub { font-size: 1rem; color: var(--color-text); line-height: 1.7; margin-bottom: 1.25rem; max-width: 32rem; }
@media (min-width: 640px) { .gfhuk-hero__sub { font-size: 1.075rem; } }
.gfhuk-hero__price { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.gfhuk-hero__price-now { font-size: 2.5rem; font-weight: 800; color: var(--color-accent); letter-spacing: -0.02em; }
.gfhuk-hero__price-meta { display: flex; flex-direction: column; }
.gfhuk-hero__price-was { font-size: 0.9rem; color: var(--color-muted); text-decoration: line-through; }
.gfhuk-hero__price-label { font-size: 0.7rem; font-weight: 700; color: var(--color-burgundy); text-transform: uppercase; letter-spacing: 0.1em; }
.gfhuk-hero__back-note { font-size: 0.875rem; color: var(--color-text); margin-bottom: 1.5rem; }
.gfhuk-hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.gfhuk-hero__trust-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.8rem; color: var(--color-text); }
.gfhuk-hero__trust-item { display: flex; align-items: center; gap: 0.25rem; }
.gfhuk-hero__trust-row { font-weight: 500; }
.gfhuk-hero__heading { letter-spacing: 0.01em; }

/* ══════════════════════════════════════════════════════════════════
   TRUST BAR
   ══════════════════════════════════════════════════════════════════ */
.gfhuk-trust-bar { background: var(--color-dark); padding-block: 0.875rem; }
.gfhuk-trust-bar__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2rem; }
.gfhuk-trust-bar__item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: #D6D3D1; }
.gfhuk-trust-bar__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-burgundy); flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════════
   GALLERY
   ══════════════════════════════════════════════════════════════════ */
.gfhuk-gallery { background: var(--color-bg-alt); }
.gfhuk-gallery__group { margin-bottom: 3rem; }
.gfhuk-gallery__group:last-child { margin-bottom: 0; }
.gfhuk-gallery__group-header { display: flex; align-items: flex-end; gap: 1rem; padding-bottom: 0.75rem; border-bottom: 1.5px solid var(--color-border); margin-bottom: 1.25rem; }
.gfhuk-gallery__group-title { font-size: 1.4rem; font-weight: 600; color: var(--color-dark); }
.gfhuk-gallery__group-desc { font-size: 0.85rem; color: var(--color-text); margin-top: 0.15rem; }
.gfhuk-gallery__group-count { margin-left: auto; font-size: 0.75rem; font-weight: 700; color: var(--color-burgundy); white-space: nowrap; text-transform: uppercase; letter-spacing: 0.1em; }
.gfhuk-gallery__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.75rem; }
@media (min-width: 640px)  { .gfhuk-gallery__grid { grid-template-columns: repeat(3,1fr); gap: 1rem; } }
.gfhuk-gallery__card { display: flex; flex-direction: column; background: white; border-radius: var(--radius-xl); padding: 0.875rem; border: 2px solid transparent; cursor: pointer; transition: all var(--transition); text-align: left; }
.gfhuk-gallery__card:hover { border-color: rgba(114,47,55,0.2); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.gfhuk-gallery__card--selected { border-color: var(--color-burgundy); background: rgba(114,47,55,0.03); }
.gfhuk-gallery__card-img { aspect-ratio: 3/2; background: var(--color-bg); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 0.75rem; }
.gfhuk-gallery__card-img img { width: 100%; height: 100%; object-fit: contain; padding: 0.5rem; transition: transform 0.4s ease; }
.gfhuk-gallery__card:hover .gfhuk-gallery__card-img img { transform: scale(1.05); }
.gfhuk-gallery__card-name { font-size: 0.875rem; font-weight: 700; color: var(--color-dark); line-height: 1.3; margin-bottom: 0.3rem; }
@media (min-width: 640px) { .gfhuk-gallery__card-name { font-size: 1rem; } }
.gfhuk-gallery__card-cta { font-size: 0.75rem; color: var(--color-burgundy); font-weight: 700; }
.gfhuk-gallery__footer-note { text-align: center; font-size: 0.875rem; color: var(--color-text); margin-top: 2rem; }
.gfhuk-gallery__footer-note a { color: var(--color-burgundy); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ══════════════════════════════════════════════════════════════════
   BENEFITS
   ══════════════════════════════════════════════════════════════════ */
.gfhuk-benefits { background: var(--color-bg); }
.gfhuk-benefits__grid { display: grid; gap: 1rem; }
@media (min-width: 640px)  { .gfhuk-benefits__grid { grid-template-columns: repeat(2,1fr); gap: 1.25rem; } }
@media (min-width: 1024px) { .gfhuk-benefits__grid { grid-template-columns: repeat(3,1fr); } }
.gfhuk-benefits__card { background: var(--color-bg-alt); border-radius: var(--radius-xl); padding: 1.5rem; transition: box-shadow var(--transition), transform var(--transition); }
.gfhuk-benefits__card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.gfhuk-benefits__icon-wrap { width: 2.5rem; height: 2.5rem; background: rgba(114,47,55,0.1); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.gfhuk-benefits__icon-dot { width: 1rem; height: 1rem; border-radius: 50%; background: var(--color-burgundy); }
.gfhuk-benefits__title { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.gfhuk-benefits__desc { font-size: 0.875rem; color: var(--color-text); line-height: 1.7; }
.gfhuk-benefits__packaging { margin-top: 2rem; border-radius: var(--radius-xl); overflow: hidden; display: grid; background: var(--color-dark); }
@media (min-width: 768px) { .gfhuk-benefits__packaging { grid-template-columns: 1fr 1fr; } }
.gfhuk-benefits__packaging-text { padding: 2rem 2.5rem; }
.gfhuk-benefits__packaging-text .gfhuk-label { color: var(--color-burgundy); }
.gfhuk-benefits__packaging-text h3 { color: white; font-size: 1.6rem; margin-block: 0.4rem 0.75rem; }
.gfhuk-benefits__packaging-text p { color: #D6D3D1; font-size: 0.9rem; line-height: 1.7; }
.gfhuk-benefits__packaging-img { min-height: 14rem; }
.gfhuk-benefits__packaging-img img { width: 100%; height: 100%; object-fit: cover; }

/* ══════════════════════════════════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════════════════════════════════ */
.gfhuk-how-it-works { background: var(--color-bg-alt); }
.gfhuk-steps-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px)  { .gfhuk-steps-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .gfhuk-steps-grid { grid-template-columns: repeat(4,1fr); } }
.gfhuk-step-card { background: white; border-radius: var(--radius-xl); padding: 1.5rem; transition: box-shadow var(--transition); }
.gfhuk-step-card:hover { box-shadow: var(--shadow-md); }
.gfhuk-step-card__num-wrap { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.gfhuk-step-card__num-circle { width: 2.75rem; height: 2.75rem; background: var(--color-burgundy); border-radius: var(--radius-md); flex-shrink: 0; }
.gfhuk-step-card__big-num { font-size: 2rem; font-weight: 800; color: var(--color-bg-alt); font-family: var(--font-body); }
.gfhuk-step-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.gfhuk-step-card__desc { font-size: 0.875rem; color: var(--color-text); line-height: 1.7; }

/* ══════════════════════════════════════════════════════════════════
   SIZE COMPARISON
   ══════════════════════════════════════════════════════════════════ */
.gfhuk-size { background: var(--color-bg); }
.gfhuk-size__banner { background: var(--color-dark); padding-block: 1.25rem; text-align: center; }
.gfhuk-size__banner-text { font-family: var(--font-heading); font-size: clamp(1.1rem,3vw,1.5rem); font-weight: 500; color: white; }
.gfhuk-size__banner-sub { font-size: 0.875rem; color: #D6D3D1; margin-top: 0.25rem; }
.gfhuk-size .gfhuk-section { padding-top: 3rem; }
.gfhuk-size__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .gfhuk-size__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.gfhuk-size__img-wrap { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.gfhuk-size__img { width: 100%; height: auto; display: block; }
.gfhuk-size__spec-box { background: var(--color-bg-alt); border-radius: var(--radius-md); padding: 1rem; margin-block: 1.25rem; }
.gfhuk-size__spec-box strong { display: block; font-size: 0.95rem; color: var(--color-dark); margin-bottom: 0.2rem; }
.gfhuk-size__spec-box p { font-size: 0.8rem; color: var(--color-text); }
.gfhuk-size__body { font-size: 0.95rem; color: var(--color-text); line-height: 1.8; margin-bottom: 1.25rem; }
.gfhuk-size__disclaimer { border-left: 4px solid var(--color-burgundy); padding-left: 1rem; margin-bottom: 1.5rem; }
.gfhuk-size__disclaimer strong { display: block; font-size: 0.9rem; color: var(--color-dark); margin-bottom: 0.25rem; }
.gfhuk-size__disclaimer p { font-size: 0.875rem; color: var(--color-text); }
.gfhuk-size__features { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.5rem; }
.gfhuk-size__features li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-text); }
.gfhuk-size__features li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--color-burgundy); flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════════
   BACK MESSAGE
   ══════════════════════════════════════════════════════════════════ */
.gfhuk-back-msg { background: var(--color-dark); padding-block: 4rem; }
.gfhuk-back-msg__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .gfhuk-back-msg__grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }
.gfhuk-back-msg__heading { font-size: clamp(1.6rem,4vw,2.4rem); font-weight: 600; color: white; margin-block: 0.75rem 1rem; line-height: 1.2; }
.gfhuk-back-msg__heading em { display: block; color: #EAE6DF; font-style: italic; margin-top: 0.25rem; }
.gfhuk-back-msg__body { font-size: 1rem; color: #D6D3D1; line-height: 1.75; margin-bottom: 1.5rem; }
.gfhuk-back-msg__features { display: grid; gap: 0.5rem; margin-bottom: 1.75rem; }
.gfhuk-back-msg__features li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: #D6D3D1; }
.gfhuk-back-msg__features li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--color-burgundy); flex-shrink: 0; }
.gfhuk-back-msg__examples-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: #8C92AC; margin-bottom: 1rem; }
.gfhuk-back-msg__example-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 0.875rem 1rem; margin-bottom: 0.6rem; }
.gfhuk-back-msg__example-card p { font-size: 0.875rem; color: #EAE6DF; line-height: 1.6; font-style: italic; }
.gfhuk-back-msg__examples-note { font-size: 0.75rem; color: #8C92AC; margin-top: 0.5rem; }

/* ══════════════════════════════════════════════════════════════════
   PERSONALISE FORM
   ══════════════════════════════════════════════════════════════════ */
.gfhuk-personalise { background: var(--color-bg); }
.gfhuk-personalise .gfhuk-section__subtitle strong { color: var(--color-burgundy); }

/* Step indicator */
.gfhuk-steps { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.gfhuk-step { display: flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.85rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; transition: all var(--transition); background: var(--color-bg-alt); color: #8C92AC; }
.gfhuk-step--active { background: var(--color-burgundy); color: white; }
.gfhuk-step--done { background: rgba(114,47,55,0.12); color: var(--color-burgundy); }
.gfhuk-step__num { font-weight: 800; }
.gfhuk-step__label { display: none; }
@media (min-width: 640px) { .gfhuk-step__label { display: inline; } }
.gfhuk-step__connector { flex: 1; max-width: 2rem; height: 1px; background: var(--color-border); }

/* Form card */
.gfhuk-personalise__card { background: white; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); overflow: hidden; max-width: 56rem; margin-inline: auto; }
.gfhuk-form-step { padding: 1.75rem; }
@media (min-width: 640px) { .gfhuk-form-step { padding: 2rem 2.5rem; } }
.gfhuk-form-step__title { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.35rem; color: var(--color-dark); }
.gfhuk-form-step__desc { font-size: 0.875rem; color: var(--color-text); margin-bottom: 1.5rem; }

/* Design cards in form */
.gfhuk-design-group { margin-bottom: 2rem; }
.gfhuk-design-group__header { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 0.6rem; border-bottom: 1px solid var(--color-bg-alt); margin-bottom: 1rem; }
.gfhuk-design-group__title { font-size: 1rem; font-weight: 700; color: var(--color-dark); }
.gfhuk-design-group__count { font-size: 0.7rem; font-weight: 700; color: var(--color-burgundy); text-transform: uppercase; letter-spacing: 0.1em; }
.gfhuk-design-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.625rem; }
@media (min-width: 640px)  { .gfhuk-design-grid { grid-template-columns: repeat(3,1fr); gap: 0.875rem; } }
@media (min-width: 1024px) { .gfhuk-design-grid { grid-template-columns: repeat(4,1fr); } }
.gfhuk-design-card { display: flex; flex-direction: column; background: var(--color-bg); border: 2px solid transparent; border-radius: var(--radius-lg); padding: 0.625rem; cursor: pointer; transition: all var(--transition); text-align: left; }
.gfhuk-design-card:hover { border-color: rgba(114,47,55,0.3); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.gfhuk-design-card.gfhuk-design-card--selected { border-color: var(--color-burgundy); background: rgba(114,47,55,0.04); box-shadow: 0 0 0 3px rgba(114,47,55,0.15); }
.gfhuk-design-card__img-wrap { aspect-ratio: 4/3; background: white; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 0.5rem; }
.gfhuk-design-card__img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 0.25rem; }
.gfhuk-design-card__name { font-size: 0.75rem; font-weight: 700; color: var(--color-dark); line-height: 1.3; margin-bottom: 0.2rem; }
.gfhuk-design-card__cta { font-size: 0.7rem; color: var(--color-burgundy); font-weight: 700; }

/* Personalise layout */
.gfhuk-personalise__layout { display: grid; gap: 1.5rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .gfhuk-personalise__layout { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.gfhuk-locked-design { background: var(--color-bg-alt); border-radius: var(--radius-md); padding: 0.75rem 1rem; margin-bottom: 1rem; }
.gfhuk-locked-design__label { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-muted); margin-bottom: 0.2rem; }
.gfhuk-locked-design__value { font-size: 0.95rem; font-weight: 700; color: var(--color-dark); }
.gfhuk-preview-img-wrap { background: var(--color-bg); border-radius: var(--radius-lg); padding: 1rem; margin-bottom: 1rem; }
.gfhuk-preview-img-wrap img { width: 100%; max-height: 10rem; object-fit: contain; }
.gfhuk-preview-name { text-align: center; font-size: 0.8rem; color: var(--color-muted); margin-top: 0.5rem; }

/* Suggestions */
.gfhuk-suggestions { margin-top: 0.5rem; }
.gfhuk-suggestions__title { font-size: 0.8rem; font-weight: 700; color: var(--color-text); margin-bottom: 0.4rem; }
.gfhuk-suggestions__note { font-size: 0.7rem; color: var(--color-muted); margin-bottom: 0.5rem; }
.gfhuk-suggestion-list { display: flex; flex-direction: column; gap: 0.4rem; }
.gfhuk-suggestion-btn { text-align: left; border: 1px solid rgba(114,47,55,0.2); border-radius: var(--radius-sm); padding: 0.5rem 0.75rem; font-size: 0.775rem; color: var(--color-burgundy); font-style: italic; cursor: pointer; transition: background var(--transition); background: none; width: 100%; font-family: inherit; }
.gfhuk-suggestion-btn:hover { background: rgba(114,47,55,0.06); }

/* Back message addon */
.gfhuk-back-msg-addon { border: 1.5px solid var(--color-border); border-radius: var(--radius-lg); padding: 1rem; }
.gfhuk-checkbox-label { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; }
.gfhuk-checkbox { width: 1.1rem; height: 1.1rem; accent-color: var(--color-burgundy); margin-top: 0.1rem; flex-shrink: 0; }
.gfhuk-checkbox-title { font-size: 0.9rem; font-weight: 700; color: var(--color-dark); display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.gfhuk-checkbox-desc { font-size: 0.8rem; color: var(--color-text); display: block; margin-top: 0.2rem; }
.gfhuk-price-badge { background: var(--color-burgundy); color: white; font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.45rem; border-radius: var(--radius-sm); }
.gfhuk-back-msg-field { margin-top: 1rem; }
.gfhuk-char-counter { font-size: 0.75rem; color: var(--color-muted); text-align: right; margin-top: 0.25rem; }
.gfhuk-char-counter.gfhuk-near-limit { color: #c05621; }
.gfhuk-char-counter.gfhuk-at-limit  { color: #c53030; font-weight: 700; }

/* Review */
.gfhuk-review { background: var(--color-bg); border-radius: var(--radius-lg); padding: 1rem; margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.gfhuk-review__item { display: flex; gap: 1rem; }
.gfhuk-review__img { width: 5rem; height: 3.75rem; object-fit: contain; border-radius: var(--radius-sm); background: white; flex-shrink: 0; padding: 0.25rem; }
.gfhuk-review__details .gfhuk-label { margin-bottom: 0.25rem; }
.gfhuk-review__design { font-weight: 700; font-size: 0.9rem; color: var(--color-dark); }
.gfhuk-review__line { font-size: 0.875rem; color: var(--color-text); }
.gfhuk-review__line--muted { color: var(--color-muted); }
.gfhuk-review__back-msg { background: white; border-radius: var(--radius-md); padding: 0.75rem; }
.gfhuk-review__back-text { font-size: 0.875rem; color: var(--color-text); font-style: italic; margin-top: 0.25rem; }

/* Quantity */
.gfhuk-qty-row { display: flex; align-items: center; justify-content: space-between; background: var(--color-bg-alt); border-radius: var(--radius-lg); padding: 0.875rem 1rem; margin-bottom: 1rem; }
.gfhuk-qty-label { font-size: 0.9rem; font-weight: 600; color: var(--color-dark); }
.gfhuk-qty-control { display: flex; align-items: center; gap: 1rem; }
.gfhuk-qty-btn { width: 2rem; height: 2rem; border-radius: 50%; background: white; border: 1.5px solid var(--color-border); font-size: 1.1rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all var(--transition); }
.gfhuk-qty-btn:hover { border-color: var(--color-burgundy); color: var(--color-burgundy); }
.gfhuk-qty-value { font-size: 1.1rem; font-weight: 800; color: var(--color-dark); min-width: 1.5rem; text-align: center; }

/* Price breakdown */
.gfhuk-price-breakdown { border: 1.5px solid var(--color-border); border-radius: var(--radius-lg); padding: 1rem; margin-bottom: 1.25rem; }
.gfhuk-price-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; color: var(--color-text); padding-block: 0.35rem; }
.gfhuk-price-row--total { border-top: 1.5px solid var(--color-bg-alt); margin-top: 0.5rem; padding-top: 0.75rem; font-size: 1.05rem; }
.gfhuk-price-total { color: var(--color-accent); font-size: 1.2rem !important; }
.gfhuk-dispatch-note { font-size: 0.75rem; color: var(--color-muted); margin-top: 0.5rem; }
.gfhuk-terms-note { text-align: center; font-size: 0.75rem; color: var(--color-muted); margin-top: 0.75rem; }

/* Form nav */
.gfhuk-form-nav { display: flex; align-items: center; padding-top: 1.25rem; border-top: 1.5px solid var(--color-bg-alt); margin-top: 0.5rem; }
.gfhuk-form-nav--right { justify-content: flex-end; }
.gfhuk-form-nav--split { justify-content: space-between; }

/* ══════════════════════════════════════════════════════════════════
   TRUST SECTION
   ══════════════════════════════════════════════════════════════════ */
.gfhuk-trust-section { background: var(--color-bg); }
.gfhuk-trust-section__grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .gfhuk-trust-section__grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }
.gfhuk-trust-section__logo { height: 3.5rem; width: auto; margin-bottom: 1.5rem; }
.gfhuk-trust-section__brand p { font-size: 0.95rem; color: var(--color-text); line-height: 1.75; margin-bottom: 1rem; }
.gfhuk-trust-section__badge-row { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.gfhuk-trust-section__gb-badge { width: min(320px, 100%); height: auto; max-height: 90px; object-fit: contain; background: #fff; border-radius: var(--radius-md); padding: 0.35rem; }
.gfhuk-trust-section__badge-row p { font-size: 0.875rem; color: var(--color-text); }
.gfhuk-trust-section__badge-row strong { color: var(--color-dark); }
.gfhuk-trust-section__point { display: flex; gap: 1rem; background: var(--color-bg-alt); border-radius: var(--radius-xl); padding: 1.25rem; margin-bottom: 0.75rem; }
.gfhuk-trust-section__point-icon { width: 2.5rem; height: 2.5rem; background: rgba(114,47,55,0.1); border-radius: var(--radius-md); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.gfhuk-trust-section__point-icon::after { content: ''; width: 1rem; height: 1rem; border-radius: 50%; background: var(--color-burgundy); }
.gfhuk-trust-section__point h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.3rem; }
.gfhuk-trust-section__point p { font-size: 0.875rem; color: var(--color-text); line-height: 1.6; }
.gfhuk-trust-section__lifestyle { border-radius: var(--radius-xl); overflow: hidden; margin-top: 1rem; }
.gfhuk-trust-section__lifestyle img { width: 100%; height: 13rem; object-fit: cover; }

/* ══════════════════════════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════════════════════════ */
.gfhuk-faq { background: var(--color-bg-alt); }
.gfhuk-faq__list { max-width: 48rem; margin-inline: auto; background: white; border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); padding: 0.5rem 0; margin-bottom: 2rem; }
.gfhuk-faq__item { border-bottom: 1.5px solid var(--color-bg-alt); }
.gfhuk-faq__item:last-child { border-bottom: none; }
.gfhuk-faq__question { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; padding: 1rem 1.5rem; gap: 1rem; font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; color: var(--color-dark); cursor: pointer; transition: color var(--transition); background: none; border: none; }
.gfhuk-faq__question:hover { color: var(--color-burgundy); }
.gfhuk-faq__chevron { flex-shrink: 0; font-size: 1.2rem; color: var(--color-burgundy); transition: transform var(--transition); }
.gfhuk-faq__question--open .gfhuk-faq__chevron { transform: rotate(180deg); }
.gfhuk-faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.25s ease; }
.gfhuk-faq__answer--open { max-height: 20rem; }
.gfhuk-faq__answer p { padding: 0 1.5rem 1rem; font-size: 0.9rem; color: var(--color-text); line-height: 1.75; }
.gfhuk-faq__contact { text-align: center; }
.gfhuk-faq__contact p { font-size: 0.9rem; color: var(--color-text); margin-bottom: 0.75rem; }

/* ══════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════ */
.gfhuk-footer-area { background: var(--color-dark); color: #D6D3D1; padding-block: 2.5rem; }
.gfhuk-footer-grid { display: grid; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .gfhuk-footer-grid { grid-template-columns: repeat(3,1fr); } }
.gfhuk-footer-logo { height: 2.5rem; width: auto; margin-bottom: 0.75rem; }
.gfhuk-footer-tagline { font-size: 0.8rem; color: #8C92AC; line-height: 1.7; }
.gfhuk-footer-heading { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; color: white; margin-bottom: 0.75rem; }
.gfhuk-footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.gfhuk-footer-links a { font-size: 0.85rem; color: #8C92AC; transition: color var(--transition); }
.gfhuk-footer-links a:hover { color: #EAE6DF; }
.gfhuk-footer-contact-text { font-size: 0.85rem; color: #8C92AC; line-height: 1.6; margin-bottom: 0.5rem; }
.gfhuk-footer-email { font-size: 0.85rem; color: var(--color-burgundy); transition: color var(--transition); }
.gfhuk-footer-email:hover { color: #EAE6DF; }
.gfhuk-footer-gb { height: 3.5rem; width: auto; margin-top: 1rem; }
.gfhuk-footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; font-size: 0.75rem; color: #8C92AC; }
.gfhuk-footer-bottom a { color: #EAE6DF; }
.gfhuk-footer-bottom a:hover { color: white; }

/* ══════════════════════════════════════════════════════════════════
   MOBILE STICKY CTA
   ══════════════════════════════════════════════════════════════════ */
.gfhuk-mobile-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: white; border-top: 1.5px solid var(--color-border); box-shadow: 0 -4px 20px rgba(0,0,0,0.1); padding: 0.75rem 1rem; }
@media (min-width: 768px) { .gfhuk-mobile-cta { display: none !important; } }
.gfhuk-mobile-cta__inner { display: flex; align-items: center; gap: 0.75rem; max-width: 28rem; margin-inline: auto; }
.gfhuk-mobile-cta__price { flex: 1; }
.gfhuk-mobile-cta__label { display: block; font-size: 0.7rem; color: var(--color-text); }
.gfhuk-mobile-cta__prices { display: flex; align-items: center; gap: 0.5rem; }
.gfhuk-mobile-cta__now { font-size: 1.2rem; font-weight: 800; color: var(--color-burgundy); }
.gfhuk-mobile-cta__was { font-size: 0.875rem; color: var(--color-muted); text-decoration: line-through; }

/* ══════════════════════════════════════════════════════════════════
   WooCommerce notices
   ══════════════════════════════════════════════════════════════════ */
.woocommerce-message, .woocommerce-error, .woocommerce-info {
  border-radius: var(--radius-lg); padding: 1rem 1.5rem; margin-bottom: 1.5rem;
  font-family: var(--font-body); font-size: 0.9rem;
}
.woocommerce-message { background: #f0fff4; border-left: 4px solid #38a169; color: #2f855a; }
.woocommerce-error   { background: #fff5f5; border-left: 4px solid #e53e3e; color: #c53030; }
.woocommerce-info    { background: #ebf8ff; border-left: 4px solid #3182ce; color: #2b6cb0; }

/* ══════════════════════════════════════════════════════════════════
   Utilities
   ══════════════════════════════════════════════════════════════════ */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
: nowrap; border: 0; }


/* ══════════════════════════════════════════════════════════════════
   SIMPLIFIED WOOCOMMERCE PRODUCT PAGE
   Keeps the product page order-focused instead of repeating the full landing page.
   ══════════════════════════════════════════════════════════════════ */
.gfhuk-product-page .gfhuk-personalise {
  background: var(--color-bg-cream);
  padding-top: 4rem;
}

.gfhuk-product-summary {
  position: relative;
  background: var(--color-bg);
  padding-block: 3rem 3.5rem;
  overflow: hidden;
}

.gfhuk-product-summary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 10%, rgba(217,227,242,0.55) 0%, transparent 55%);
  pointer-events: none;
}

.gfhuk-product-summary__inner {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .gfhuk-product-summary {
    padding-block: 4rem 4.5rem;
  }
  .gfhuk-product-summary__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
  }
}

.gfhuk-product-summary__media {
  order: 1;
}

.gfhuk-product-summary__content {
  order: 2;
}

@media (min-width: 1024px) {
  .gfhuk-product-summary__media {
    order: 2;
  }
  .gfhuk-product-summary__content {
    order: 1;
  }
}

.gfhuk-product-summary__video-wrap {
  max-height: 330px;
}

@media (min-width: 1024px) {
  .gfhuk-product-summary__video-wrap {
    max-height: none;
  }
}

.gfhuk-product-summary__title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.05;
  margin-block: 0.6rem 1rem;
  color: var(--color-dark);
}

.gfhuk-product-summary__intro {
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 1.3rem;
}

.gfhuk-product-summary__price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.gfhuk-product-summary__price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

.gfhuk-product-summary__addon {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  background: #fff;
  border: 1px solid rgba(1,33,105,0.16);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

.gfhuk-product-summary__bullets {
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0 1.6rem;
}

.gfhuk-product-summary__bullets li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.93rem;
  color: var(--color-text);
}

.gfhuk-product-summary__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--color-primary);
}

.gfhuk-product-summary__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.gfhuk-product-mini-trust {
  background: var(--color-bg-alt);
  padding-block: 2.5rem;
}

.gfhuk-product-mini-trust__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .gfhuk-product-mini-trust__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gfhuk-product-mini-trust__item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.1rem;
}

.gfhuk-product-mini-trust__item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.35rem;
}

.gfhuk-product-mini-trust__item span {
  display: block;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--color-text);
}


/* Concern 5 refinements: clearer CTAs, softer dark sections, improved icons and examples */
.gfhuk-trust-bar {
    background: #012169;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.gfhuk-trust-bar__item {
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.gfhuk-trust-bar__dot {
    width: 0.4rem;
    height: 0.4rem;
    background: #C8102E;
    box-shadow: 0 0 0 3px rgba(200,16,46,0.18);
}

.gfhuk-benefits__card {
    position: relative;
    background: #F7F0E2;
    border: 1px solid rgba(1,33,105,0.08);
    box-shadow: 0 12px 30px rgba(0,11,36,0.04);
}
.gfhuk-benefits__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.35rem;
    right: 1.35rem;
    height: 3px;
    background: linear-gradient(90deg, #C8102E, #012169);
    border-radius: 999px;
    opacity: 0.78;
}
.gfhuk-benefits__icon-wrap {
    width: 2.15rem;
    height: 2.15rem;
    background: #ffffff;
    border: 1px solid rgba(1,33,105,0.14);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(0,11,36,0.08);
}
.gfhuk-benefits__icon-dot { display: none; }
.gfhuk-benefits__icon-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #C8102E;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1;
}
.gfhuk-benefits__title { color: #012169; font-weight: 700; }
.gfhuk-benefits__packaging { background: #012169; }
.gfhuk-benefits__packaging-text .gfhuk-label,
.gfhuk-label--light {
    color: #FFD7DF;
    font-size: 0.76rem;
    letter-spacing: 0.2em;
}
.gfhuk-benefits__packaging-text p { color: #F5F1EA; }

.gfhuk-step-card {
    border: 1px solid rgba(1,33,105,0.08);
    box-shadow: 0 12px 30px rgba(0,11,36,0.04);
}
.gfhuk-step-card__num-wrap { margin-bottom: 1.05rem; }
.gfhuk-step-card__num-circle { display: none; }
.gfhuk-step-card__num-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 999px;
    background: #012169;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    box-shadow: inset 0 0 0 4px rgba(255,255,255,0.14), 0 10px 24px rgba(1,33,105,0.18);
}
.gfhuk-step-card__big-num { display: none; }
.gfhuk-step-card__title { color: #012169; font-weight: 700; }

.gfhuk-size__banner,
.gfhuk-back-msg {
    background: #012169;
}
.gfhuk-size__banner-text { color: #ffffff; font-weight: 600; }
.gfhuk-size__banner-sub { color: #F5F1EA; }
.gfhuk-back-msg__heading,
.gfhuk-back-msg__heading em { color: #ffffff; }
.gfhuk-back-msg__body { color: #F5F1EA; }
.gfhuk-back-msg__features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.75rem;
}
.gfhuk-back-msg__features span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 0.75rem;
}
.gfhuk-back-msg__features li::before { display: none; }
.gfhuk-back-msg__examples {
    display: grid;
    gap: 1rem;
}
.gfhuk-back-msg__example-group {
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-xl);
    padding: 1rem;
}
.gfhuk-back-msg__examples-title {
    color: #FFD7DF;
    font-size: 0.78rem;
    margin-bottom: 0.85rem;
}
.gfhuk-back-msg__example-card {
    background: #ffffff;
    border: 1px solid rgba(255,255,255,0.28);
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}
.gfhuk-back-msg__example-card p {
    color: #1F2937;
    font-style: normal;
    font-weight: 500;
}
.gfhuk-back-msg__examples-note {
    color: #F5F1EA;
    opacity: 0.9;
}

/* Concern 6 refinements: clearer dark-section contrast, less repetition, improved icons and updated trust treatments */
.gfhuk-hero__price-was {
    color: #6f6f6f;
}
.gfhuk-hero__price-label {
    color: var(--color-primary);
    font-weight: 800;
    letter-spacing: 0.11em;
}
.gfhuk-hero__trust-row {
    gap: 0.85rem 1.1rem;
    color: #565656;
}
.gfhuk-hero__trust-item {
    position: relative;
    padding-left: 1.15rem;
}
.gfhuk-hero__trust-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-weight: 800;
}

.gfhuk-trust-bar {
    background: var(--color-primary);
    border-top: 0;
    border-bottom: 0;
}
.gfhuk-trust-bar__inner {
    gap: 1rem 2rem;
}
.gfhuk-trust-bar__item {
    color: #ffffff;
    font-weight: 600;
    opacity: 1;
}
.gfhuk-trust-bar__dot {
    display: none !important;
}
.gfhuk-trust-bar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 999px;
    background: #ffffff;
    color: var(--color-primary);
    font-size: 0.72rem;
    font-weight: 900;
    margin-right: 0.45rem;
    flex: 0 0 auto;
}

.gfhuk-benefits__icon-wrap,
.gfhuk-trust-section__point-icon {
    background: #ffffff;
    border: 1px solid rgba(200,16,46,0.22);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(0,11,36,0.08);
}
.gfhuk-trust-section__point-icon::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--color-accent);
    font-weight: 900;
    font-size: 1rem;
}
.gfhuk-trust-section__point {
    border: 1px solid rgba(1,33,105,0.08);
    box-shadow: 0 10px 24px rgba(0,11,36,0.04);
}

.gfhuk-benefits__packaging,
.gfhuk-size__banner,
.gfhuk-back-msg {
    background: var(--color-primary-dk);
}
.gfhuk-label--on-dark,
.gfhuk-benefits__packaging-text .gfhuk-label,
.gfhuk-back-msg .gfhuk-label,
.gfhuk-label--light {
    color: #ffffff !important;
    opacity: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.28);
}
.gfhuk-benefits__packaging-text h3,
.gfhuk-back-msg__heading,
.gfhuk-back-msg__heading em,
.gfhuk-size__banner-text {
    color: #ffffff;
}
.gfhuk-benefits__packaging-text p,
.gfhuk-back-msg__body,
.gfhuk-size__banner-sub {
    color: #f8f3ec;
}

.gfhuk-back-msg__examples {
    gap: 1.4rem;
}
.gfhuk-back-msg__example-group + .gfhuk-back-msg__example-group {
    margin-top: 0.85rem;
}
.gfhuk-back-msg__examples-title {
    color: #ffffff !important;
    opacity: 1;
    letter-spacing: 0.16em;
    font-size: 0.82rem;
    margin-bottom: 1rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(255,255,255,0.18);
}
.gfhuk-back-msg__example-card {
    background: rgba(255,255,255,0.98);
    border-color: rgba(255,255,255,0.38);
}
.gfhuk-back-msg__example-card p {
    color: #202020;
}
.gfhuk-back-msg__features span {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.32);
}

.gfhuk-size__features li::before {
    content: '✓';
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    color: var(--color-accent);
    font-weight: 900;
}


/* Concern 7: remove duplicated hero trust row beneath CTAs.
   Trust points now appear once in the stronger blue trust bar below the hero. */
.gfhuk-hero__trust-row {
    display: none !important;
}

/* Concern 8 — clearer guided personalisation selection */
.gfhuk-selected-design-note {
    margin: 1rem 0 1.25rem;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(1, 33, 105, 0.18);
    background: rgba(1, 33, 105, 0.06);
    color: var(--color-dark);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
}
.gfhuk-selected-design-note strong,
#gfhuk-selected-design-note-name {
    color: var(--color-blue);
    font-weight: 700;
}
.gfhuk-design-card {
    position: relative;
}
.gfhuk-design-card__selected-badge {
    display: none;
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    z-index: 2;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    background: var(--color-blue);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: var(--shadow-sm);
}
.gfhuk-design-card--selected .gfhuk-design-card__selected-badge {
    display: inline-flex;
}
.gfhuk-design-card--selected .gfhuk-design-card__cta {
    color: var(--color-blue);
}
.gfhuk-design-card--selected .gfhuk-design-card__cta::before {
    content: 'Selected — ';
}
#gfhuk-step-1 .gfhuk-form-nav--right {
    display: none !important;
}
#gfhuk-line3-group[hidden] {
    display: none !important;
}
.gfhuk-locked-design {
    border-left: 4px solid var(--color-red);
}


/* Concern 10: ordering flow, scrolling, Love It guarantee and final trust refinements */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}
#personalise,
#gfhuk-step-1,
#gfhuk-step-2,
#gfhuk-step-3 {
    scroll-margin-top: 110px;
}
.gfhuk-love-it {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 1rem;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(1,33,105,0.12);
    border-radius: var(--radius-lg);
    padding: 1rem;
    margin-top: 1.25rem;
    box-shadow: 0 12px 28px rgba(0,11,36,0.06);
}
.gfhuk-love-it__image {
    width: 96px;
    height: 96px;
    object-fit: contain;
    display: block;
}
.gfhuk-love-it h3 {
    margin: 0 0 0.3rem;
    color: var(--color-primary);
    font-size: 1.1rem;
    font-weight: 800;
}
.gfhuk-love-it p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--color-text);
}
.gfhuk-trust-section__point-icon {
    color: var(--color-accent);
}
.gfhuk-trust-section__point-icon::after {
    display: none !important;
}
.gfhuk-terms-note {
    color: #4f4f4f;
    line-height: 1.5;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}
.gfhuk-review__img + .gfhuk-review__img {
    display: none !important;
}
@media (max-width: 640px) {
    .gfhuk-love-it {
        grid-template-columns: 72px 1fr;
        padding: 0.85rem;
    }
    .gfhuk-love-it__image {
        width: 72px;
        height: 72px;
    }
}


/* Concern 11 — standard WordPress/WooCommerce page template styling */
.gfhuk-page-main {
    background: var(--color-warm, #fbf7ef);
    min-height: 60vh;
}

.gfhuk-page-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.gfhuk-page-container {
    max-width: 1120px;
}

.gfhuk-page-content {
    background: #ffffff;
    border: 1px solid rgba(1, 33, 105, 0.10);
    border-radius: 24px;
    padding: clamp(1.5rem, 4vw, 3rem);
    box-shadow: 0 18px 50px rgba(0, 11, 36, 0.08);
}

.woocommerce-cart .gfhuk-page-content,
.woocommerce-checkout .gfhuk-page-content,
.woocommerce-account .gfhuk-page-content {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.gfhuk-page-title {
    margin: 0 0 1.5rem;
    color: var(--color-ink, #000b24);
}

.gfhuk-page-entry > *:first-child {
    margin-top: 0;
}

/* Keep WooCommerce cart/checkout readable inside the custom theme. */
.woocommerce-cart .wc-block-cart,
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce {
    font-family: var(--font-body, Roboto, sans-serif);
}

.woocommerce-cart .wc-block-cart__submit-button,
.woocommerce-cart .checkout-button,
.woocommerce-checkout button.button,
.woocommerce-checkout .button,
.woocommerce button.button,
.woocommerce a.button {
    background: var(--color-cobalt, #334d87) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-family: var(--font-heading, Rajdhani, sans-serif) !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
}

/* Anchor targets: keep fixed navigation/admin bar from covering section headings. */
.gfhuk-anchor-target,
#the-gift,
#personalise,
#size,
#back-message,
#faq {
  scroll-margin-top: 120px;
}

body.admin-bar .gfhuk-anchor-target,
body.admin-bar #the-gift,
body.admin-bar #personalise,
body.admin-bar #size,
body.admin-bar #back-message,
body.admin-bar #faq {
  scroll-margin-top: 150px;
}



/* Concern 13 — final anchor scroll correction.
   Keep anchors just below the sticky site nav. Do not add the WP admin bar height
   again, because that makes the scroll stop too early when logged in. */
html {
    scroll-padding-top: 76px !important;
}
.gfhuk-anchor-target,
#the-gift,
#personalise,
#size,
#back-message,
#faq,
#gfhuk-step-1,
#gfhuk-step-2,
#gfhuk-step-3 {
    scroll-margin-top: 76px !important;
}
body.admin-bar .gfhuk-anchor-target,
body.admin-bar #the-gift,
body.admin-bar #personalise,
body.admin-bar #size,
body.admin-bar #back-message,
body.admin-bar #faq,
body.admin-bar #gfhuk-step-1,
body.admin-bar #gfhuk-step-2,
body.admin-bar #gfhuk-step-3 {
    scroll-margin-top: 76px !important;
}


/* Concern 14 — resolve anchor double-offset issue.
   JS now handles #personalise scrolling manually, including the sticky nav and
   WordPress admin bar. Keep native CSS offsets neutral to avoid the first-click
   vs second-click inconsistency caused by scroll-padding + scroll-margin. */
html {
    scroll-padding-top: 0 !important;
}
.gfhuk-anchor-target,
#the-gift,
#personalise,
#size,
#back-message,
#faq,
#gfhuk-step-1,
#gfhuk-step-2,
#gfhuk-step-3 {
    scroll-margin-top: 0 !important;
}
body.admin-bar .gfhuk-anchor-target,
body.admin-bar #the-gift,
body.admin-bar #personalise,
body.admin-bar #size,
body.admin-bar #back-message,
body.admin-bar #faq,
body.admin-bar #gfhuk-step-1,
body.admin-bar #gfhuk-step-2,
body.admin-bar #gfhuk-step-3 {
    scroll-margin-top: 0 !important;
}

/* Concern 15 — live saw preview using 2410px × 1050px coordinate system */
.gfhuk-live-preview-stack {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.gfhuk-live-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 2410 / 1050;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #050505;
    box-shadow: 0 14px 34px rgba(0, 11, 36, 0.10);
}

.gfhuk-live-preview__base {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gfhuk-live-preview__shed,
.gfhuk-live-preview__text,
.gfhuk-live-preview__back-text {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.gfhuk-live-preview__shed {
    display: block;
    object-fit: contain;
    transform-origin: center center;
}

.gfhuk-live-preview__text {
    display: block;
    text-align: center;
    color: rgba(26, 20, 16, 0.88);
    line-height: 1.05;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    text-shadow: 0 1px 0 rgba(255,255,255,0.18);
    overflow: visible;
}

.gfhuk-live-preview__text--quirky {
    font-family: 'Henny Penny', cursive;
    letter-spacing: -0.01em;
}

.gfhuk-live-preview__text--plain {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.gfhuk-live-preview__back-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: rgba(24, 24, 24, 0.88);
    text-align: center;
    overflow-wrap: anywhere;
    white-space: normal;
    max-height: 34%;
    text-shadow: 0 1px 0 rgba(255,255,255,0.16);
}

.gfhuk-preview-note {
    margin: 0.25rem 0 0;
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--color-muted);
    text-align: center;
}

.gfhuk-review__preview-set {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
}

.gfhuk-live-preview--review {
    max-width: 34rem;
    margin-inline: auto;
}

@media (max-width: 767px) {
    .gfhuk-live-preview-stack {
        gap: 0.7rem;
    }
    .gfhuk-preview-note {
        font-size: 0.68rem;
    }
}

/* Concern 16 — live preview refinements, mobile order and cart thumbnails */
.gfhuk-live-preview {
    background: #F7F0EB !important; /* NP Oak 5 */
}
.gfhuk-live-preview__back-text {
    width: auto;
    white-space: pre-wrap !important;
    overflow-wrap: break-word;
}
.gfhuk-locked-design {
    display: none !important;
}
.gfhuk-suggestions--below-fields {
    grid-column: 1 / -1;
    margin-top: 0.75rem;
}
.gfhuk-live-preview--back-inline {
    margin: 0 0 0.9rem;
}
@media (max-width: 767px) {
    .gfhuk-personalise__layout {
        display: flex !important;
        flex-direction: column;
    }
    .gfhuk-personalise__preview { order: 1; }
    .gfhuk-personalise__fields { order: 2; }
    .gfhuk-suggestions--below-fields { order: 3; }
    .gfhuk-live-preview--back-inline { margin-top: 0.25rem; }
}

.gfhuk-cart-preview-thumb {
    width: min(210px, 100%);
    display: grid;
    gap: 0.35rem;
}
.gfhuk-cart-preview-thumb__side {
    position: relative;
    width: 100%;
    aspect-ratio: 2410 / 1050;
    overflow: hidden;
    border-radius: 0.35rem;
    background: #F7F0EB;
    border: 1px solid rgba(1,33,105,0.10);
}
.gfhuk-cart-preview-thumb__base {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.gfhuk-cart-preview-thumb__shed,
.gfhuk-cart-preview-thumb__text,
.gfhuk-cart-preview-thumb__back-text {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}
.gfhuk-cart-preview-thumb__shed {
    transform: translate(-50%, -50%);
    height: auto;
}
.gfhuk-cart-preview-thumb__text {
    transform: translate(-50%, -50%);
    text-align: center;
    color: rgba(25, 20, 16, 0.88);
    line-height: 1.05;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}
.gfhuk-cart-preview-thumb__text--quirky { font-family: 'Henny Penny', cursive; }
.gfhuk-cart-preview-thumb__text--plain { font-family: 'Roboto Slab', serif; font-weight: 400; }
.gfhuk-cart-preview-thumb__back-text {
    left: 49.93%;
    top: 59.82%;
    width: 46.89%;
    transform: translate(-50%, -50%);
    font-family: 'Roboto', sans-serif;
    font-size: clamp(6px, 0.75vw, 13px);
    line-height: 1.2;
    color: rgba(24,24,24,0.88);
    text-align: center;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    max-height: 38%;
    overflow: hidden;
}
.woocommerce-cart-form .product-thumbnail,
.wc-block-cart-items .wc-block-cart-item__image {
    min-width: 220px;
}
@media (max-width: 700px) {
    .gfhuk-cart-preview-thumb { width: 170px; }
    .woocommerce-cart-form .product-thumbnail,
    .wc-block-cart-items .wc-block-cart-item__image { min-width: 170px; }
}

/* Concern 17 — cleaner preview captions, back preview layout and per-field idea buttons */
.gfhuk-preview-name {
    display: none !important;
}
.gfhuk-live-preview-stack .gfhuk-preview-note,
.gfhuk-back-msg-preview-pane .gfhuk-preview-note {
    margin-top: 0.28rem;
}
.gfhuk-back-msg-addon--full {
    grid-column: 1 / -1;
    background: #fff;
}
.gfhuk-back-msg-layout {
    display: grid;
    gap: 1.25rem;
    margin-top: 1rem;
    align-items: start;
}
@media (min-width: 768px) {
    .gfhuk-back-msg-layout {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}
.gfhuk-back-msg-preview-pane .gfhuk-label,
.gfhuk-back-msg-input-pane .gfhuk-label {
    margin-bottom: 0.6rem;
}
.gfhuk-back-msg-preview-pane .gfhuk-live-preview--back-inline {
    margin-bottom: 0;
}
.gfhuk-idea-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.45rem;
    border: 1.5px solid rgba(1, 33, 105, 0.18);
    border-radius: 999px;
    background: #fff;
    color: var(--color-primary);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.38rem 0.75rem;
    cursor: pointer;
    transition: all var(--transition);
}
.gfhuk-idea-toggle:hover,
.gfhuk-idea-toggle[aria-expanded="true"] {
    background: rgba(1, 33, 105, 0.06);
    border-color: rgba(1, 33, 105, 0.35);
}
.gfhuk-idea-panel {
    display: grid;
    gap: 0.4rem;
    margin-top: 0.55rem;
    padding: 0.65rem;
    border-radius: var(--radius-md);
    background: #F7F0EB;
    border: 1px solid rgba(1, 33, 105, 0.10);
}
.gfhuk-idea-option {
    display: block;
    width: 100%;
    text-align: left;
    border: 1px solid rgba(1, 33, 105, 0.12);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--color-text);
    font-family: inherit;
    font-size: 0.82rem;
    line-height: 1.35;
    padding: 0.55rem 0.7rem;
    cursor: pointer;
    transition: all var(--transition);
}
.gfhuk-idea-option:hover {
    border-color: rgba(1, 33, 105, 0.35);
    color: var(--color-primary);
    box-shadow: 0 6px 18px rgba(1,33,105,0.08);
}
@media (max-width: 767px) {
    .gfhuk-back-msg-addon--full { order: 3; }
    .gfhuk-back-msg-layout { gap: 1rem; }
    .gfhuk-back-msg-preview-pane { order: 1; }
    .gfhuk-back-msg-input-pane { order: 2; }
}


/* Concern 18 — page flow, cart polish, amend design, and mobile preview */
.gfhuk-back-msg__examples--back-only { max-width: 720px; }
.gfhuk-back-msg__examples--back-only .gfhuk-back-msg__examples-title { color: #fff; }

.gfhuk-back-msg-addon--full {
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    margin-top: 1.5rem;
}
@media (min-width: 768px) {
    .gfhuk-back-msg-addon--full { grid-column: 1 / -1; }
    .gfhuk-back-msg-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 2rem;
        align-items: start;
    }
    .gfhuk-back-msg-preview-pane .gfhuk-live-preview--back-inline { width: 100%; }
}
.gfhuk-back-msg-field { margin-top: 1.25rem; }
.gfhuk-back-msg-input-pane .gfhuk-idea-toggle,
.gfhuk-field-group .gfhuk-idea-toggle {
    margin-top: .45rem;
}
.gfhuk-idea-panel {
    margin-top: .5rem;
}

.gfhuk-amend-notice {
    margin: 1rem auto 0;
    max-width: 720px;
    padding: .85rem 1rem;
    border-radius: var(--radius-md);
    background: #fff7e8;
    border: 1px solid #ead7b8;
    color: #513a18;
    text-align: center;
    font-weight: 600;
}

.gfhuk-modal,
.gfhuk-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 11, 36, .72);
    display: grid;
    place-items: center;
    padding: 1rem;
}
.gfhuk-modal[hidden],
.gfhuk-preview-modal[hidden] { display: none !important; }
.gfhuk-modal__panel {
    width: min(520px, 100%);
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    color: var(--color-dark);
}
.gfhuk-modal__panel h3 { margin: 0 0 .65rem; font-size: 1.35rem; }
.gfhuk-modal__panel p { color: var(--color-text); line-height: 1.6; }
.gfhuk-modal__actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.1rem; }
.gfhuk-modal-open { overflow: hidden; }

.gfhuk-review__details .gfhuk-label { color: var(--color-blue); }
.gfhuk-review__design { display: none !important; }

/* Cleaner WooCommerce cart item information */
.woocommerce-cart .wc-block-components-product-metadata__description,
.woocommerce-cart .product-name .woocommerce-product-details__short-description,
.woocommerce-cart .product-name .product-description,
.woocommerce-cart .wc-block-components-product-metadata .wc-block-components-product-metadata__description {
    display: none !important;
}
.gfhuk-cart-amend { margin-top: .65rem; }
.gfhuk-cart-amend__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .45rem .75rem;
    border-radius: 999px;
    background: var(--color-blue);
    color: #fff !important;
    font-weight: 700;
    font-size: .82rem;
    text-decoration: none;
}
.gfhuk-cart-amend__button:hover { background: var(--color-cobalt); }

/* Mobile sticky preview + zoom modal */
.gfhuk-mobile-preview {
    display: none;
}
@media (max-width: 767px) {
    .gfhuk-mobile-preview {
        position: fixed;
        left: .75rem;
        right: .75rem;
        top: calc(var(--wp-admin--admin-bar--height, 0px) + 64px);
        z-index: 9990;
        background: #fff;
        border: 1px solid var(--color-border);
        border-radius: 14px;
        box-shadow: 0 12px 32px rgba(0, 11, 36, .18);
        padding: .4rem;
    }
    .gfhuk-mobile-preview:not([hidden]) { display: block; }
    .gfhuk-mobile-preview__button {
        display: grid;
        grid-template-columns: 1fr;
        gap: .25rem;
        width: 100%;
        background: transparent;
        border: 0;
        padding: 0;
        cursor: pointer;
        text-align: center;
    }
    .gfhuk-mobile-preview__label {
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--color-blue);
    }
    .gfhuk-mobile-preview__frame .gfhuk-live-preview {
        max-height: 88px;
        overflow: hidden;
        border-radius: 10px;
        box-shadow: none;
        margin: 0;
    }
    .gfhuk-live-preview--mini .gfhuk-live-preview__base { display: block; width: 100%; height: auto; }
    .gfhuk-live-preview--mini .gfhuk-live-preview__text,
    .gfhuk-live-preview--mini .gfhuk-live-preview__back-text,
    .gfhuk-live-preview--mini .gfhuk-live-preview__shed { transform-origin: center center; }
}
.gfhuk-preview-modal__close {
    position: fixed;
    top: calc(var(--wp-admin--admin-bar--height, 0px) + 1rem);
    right: 1rem;
    z-index: 100001;
    border: 0;
    border-radius: 999px;
    padding: .65rem .9rem;
    background: #fff;
    color: var(--color-dark);
    font-weight: 700;
    cursor: pointer;
}
.gfhuk-preview-modal__stage {
    width: min(1100px, 96vw);
    max-height: 82vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pinch-zoom pan-x pan-y;
    background: #F7F0EB;
    border-radius: 16px;
    padding: 1rem;
}
.gfhuk-preview-modal__stage .gfhuk-live-preview {
    width: 1400px;
    max-width: none;
    margin: 0 auto;
    transform-origin: top left;
}
.gfhuk-preview-modal__hint {
    color: #fff;
    margin-top: .75rem;
    text-align: center;
    font-size: .85rem;
}

@media (max-width: 767px) {
    .gfhuk-personalise__preview { margin-bottom: 1rem; }
    .gfhuk-back-msg-layout { display: grid; gap: 1rem; }
}

/* Concern 19 — final personalisation UX polish */
/* Put each Show ideas button with its own field label rather than floating below. */
.gfhuk-field-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: .75rem;
    align-items: center;
}
.gfhuk-field-group > .gfhuk-label {
    grid-column: 1;
    margin-bottom: .35rem;
}
.gfhuk-field-group > .gfhuk-idea-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    margin: 0 0 .35rem 0 !important;
    padding: .32rem .68rem;
    font-size: .76rem;
}
.gfhuk-field-group > .gfhuk-input,
.gfhuk-field-group > .gfhuk-textarea,
.gfhuk-field-group > .gfhuk-char-note,
.gfhuk-field-group > .gfhuk-char-counter,
.gfhuk-field-group > .gfhuk-error-msg,
.gfhuk-field-group > .gfhuk-idea-panel {
    grid-column: 1 / -1;
}
.gfhuk-idea-panel { margin-top: .45rem !important; }
@media (max-width: 520px) {
    .gfhuk-field-group {
        grid-template-columns: 1fr;
    }
    .gfhuk-field-group > .gfhuk-idea-toggle {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
        margin: .35rem 0 0 0 !important;
    }
}

/* Make the review front/back wording panels visually consistent. */
.gfhuk-review__item,
.gfhuk-review__back-msg {
    background: #fff;
    border-radius: var(--radius-md);
    padding: .9rem 1rem;
    border: 1px solid rgba(1, 33, 105, 0.08);
}
.gfhuk-review__item { display: block !important; }
.gfhuk-review__details .gfhuk-label,
.gfhuk-review__back-msg .gfhuk-label {
    display: block;
    margin-bottom: .5rem;
}
.gfhuk-review__line { margin: .22rem 0; }

/* Cart display when using the classic [woocommerce_cart] shortcode. */
.woocommerce-cart-form .product-name dl.variation,
.woocommerce-cart-form .product-name .wc-item-meta {
    margin-top: .5rem;
    font-size: .9rem;
    line-height: 1.45;
}
.woocommerce-cart-form .product-name dl.variation dt,
.woocommerce-cart-form .product-name .wc-item-meta-label {
    color: var(--color-blue);
    font-weight: 700;
}
.woocommerce-cart-form .product-name dl.variation dd,
.woocommerce-cart-form .product-name .wc-item-meta li p {
    margin-bottom: .28rem;
}
.woocommerce-cart-form .product-thumbnail {
    width: 240px;
}
.woocommerce-cart-form .gfhuk-cart-preview-thumb {
    width: 230px;
    max-width: 100%;
}
@media (max-width: 700px) {
    .woocommerce-cart-form .product-thumbnail,
    .woocommerce-cart-form .gfhuk-cart-preview-thumb {
        width: 180px;
    }
}

/* Replace the cropped mobile mini-image with a clean preview launcher. */
@media (max-width: 767px) {
    .gfhuk-mobile-preview {
        left: 1rem;
        right: 1rem;
        top: auto;
        bottom: .85rem;
        border-radius: 999px;
        padding: 0;
        background: var(--color-blue);
        border-color: rgba(255,255,255,.25);
        box-shadow: 0 14px 34px rgba(0, 11, 36, .24);
    }
    .gfhuk-mobile-preview__button {
        min-height: 48px;
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: .8rem 1rem;
    }
    .gfhuk-mobile-preview__label {
        color: #fff !important;
        font-size: .82rem;
        letter-spacing: .05em;
    }
    .gfhuk-mobile-preview__frame { display: none !important; }
}

.gfhuk-preview-modal {
    background: rgba(247, 240, 235, .98) !important;
    place-items: center;
}
.gfhuk-preview-modal__close {
    background: #fff;
    border: 1px solid rgba(1,33,105,.12);
    box-shadow: 0 8px 22px rgba(0,11,36,.12);
}
.gfhuk-preview-modal__stage {
    width: min(1180px, 96vw) !important;
    max-height: 78vh;
    background: #F7F0EB;
    overflow: auto;
    touch-action: pinch-zoom pan-x pan-y;
}
.gfhuk-preview-modal__stage .gfhuk-live-preview {
    width: 100% !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
}
.gfhuk-preview-modal__hint {
    color: var(--color-text) !important;
}


/* Concern 20 — classic cart display fixes */
.woocommerce-cart-form table.cart {
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
}
.woocommerce-cart-form table.cart td,
.woocommerce-cart-form table.cart th {
    vertical-align: top;
}
.woocommerce-cart-form .product-thumbnail {
    width: 280px !important;
    min-width: 280px !important;
}
.woocommerce-cart-form .product-thumbnail a,
.woocommerce-cart-form .product-thumbnail > .gfhuk-cart-preview-thumb {
    display: block;
}
.woocommerce-cart-form .gfhuk-cart-preview-thumb {
    width: 260px !important;
    max-width: 260px !important;
}
.woocommerce-cart-form .gfhuk-cart-preview-thumb__side {
    box-shadow: 0 8px 22px rgba(1,33,105,.08);
}
.woocommerce-cart-form .product-name {
    line-height: 1.45;
}
.woocommerce-cart-form .product-name > a {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-blue);
    text-decoration: none;
}
.woocommerce-cart-form .product-name .gfhuk-cart-amend {
    margin: .65rem 0 .8rem;
}
.woocommerce-cart-form .product-name .gfhuk-cart-amend__button,
.woocommerce-cart-form .product-name a.gfhuk-cart-amend__button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: .45rem .85rem;
    border-radius: 999px;
    background: var(--color-cobalt) !important;
    color: #fff !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .92rem;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(51,77,135,.18);
}
.woocommerce-cart-form .product-name a.gfhuk-cart-amend__button:hover {
    background: var(--color-blue) !important;
    color: #fff !important;
}
.woocommerce-cart-form .product-name dl.variation {
    margin-top: .35rem;
    max-width: 34rem;
}
.woocommerce-cart-form .product-name dl.variation dt {
    min-width: 7.5rem;
}
.woocommerce-cart-form .product-name dl.variation dd {
    margin-left: 0;
}
.woocommerce-cart-form .product-name p:not(.gfhuk-cart-amend),
.woocommerce-cart-form .product-name .woocommerce-product-details__short-description {
    display: none !important;
}
@media (max-width: 800px) {
    .woocommerce-cart-form .product-thumbnail {
        width: 190px !important;
        min-width: 190px !important;
    }
    .woocommerce-cart-form .gfhuk-cart-preview-thumb {
        width: 180px !important;
        max-width: 180px !important;
    }
}


/* Concern 21 — final classic cart, redirect-support and preview corrections */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-message {
    border: 1px solid rgba(1,33,105,.18) !important;
    border-left: 4px solid var(--color-blue) !important;
    border-radius: 12px !important;
    background: #F0F8F3 !important;
    color: #173D2B !important;
    padding: 1rem 1.25rem !important;
    margin: 1rem auto !important;
    max-width: 1120px;
    font-family: var(--font-body);
}
.woocommerce-message .button,
.woocommerce-message a.button {
    background: var(--color-blue) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: .55rem 1rem !important;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none !important;
}

.woocommerce-cart-form .product-thumbnail {
    width: 320px !important;
    min-width: 320px !important;
}
.woocommerce-cart-form .gfhuk-cart-preview-thumb {
    --gfhuk-cart-preview-width: 300px;
    width: 300px !important;
    max-width: 300px !important;
    display: grid !important;
    gap: .45rem !important;
}
.woocommerce-cart-form .gfhuk-cart-preview-thumb__side {
    aspect-ratio: 2410 / 1050 !important;
    background: #F7F0EB !important;
    border: 1px solid rgba(1,33,105,.16) !important;
    border-radius: .55rem !important;
    overflow: hidden !important;
}
.woocommerce-cart-form .gfhuk-cart-preview-thumb__base {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}
.woocommerce-cart-form .gfhuk-cart-preview-thumb__text {
    line-height: 1.05 !important;
    max-height: 30% !important;
}
.woocommerce-cart-form .gfhuk-cart-preview-thumb__back-text {
    font-size: clamp(6px, calc(var(--gfhuk-cart-preview-width, 300px) * 0.019), 14px) !important;
    max-height: 40% !important;
}

/* Hide only the direct WooCommerce product excerpt, not the personalised item values. */
.woocommerce-cart-form .product-name > p:not(.gfhuk-cart-amend),
.woocommerce-cart .product-name > .woocommerce-product-details__short-description,
.woocommerce-cart .product-name > .product-description {
    display: none !important;
}
.woocommerce-cart-form .product-name dl.variation,
.woocommerce-cart-form .product-name .wc-item-meta {
    display: block !important;
    margin-top: .8rem !important;
    padding: .7rem .85rem !important;
    background: #F7F0EB !important;
    border-radius: .65rem !important;
    max-width: 36rem !important;
}
.woocommerce-cart-form .product-name dl.variation dt,
.woocommerce-cart-form .product-name .wc-item-meta-label {
    color: var(--color-blue) !important;
    font-weight: 800 !important;
}
.woocommerce-cart-form .product-name dl.variation dd,
.woocommerce-cart-form .product-name .wc-item-meta li,
.woocommerce-cart-form .product-name .wc-item-meta li p {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #333 !important;
    font-size: .95rem !important;
    line-height: 1.45 !important;
    margin: .15rem 0 .45rem !important;
}
.woocommerce-cart-form .product-name .gfhuk-cart-amend,
.woocommerce-cart-form .product-name .gfhuk-cart-amend * {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.woocommerce-cart-form .product-name .gfhuk-cart-amend__button {
    background: var(--color-blue) !important;
    color: #fff !important;
    border: 1px solid var(--color-blue) !important;
    border-radius: 999px !important;
    padding: .55rem 1rem !important;
    margin: .3rem 0 .8rem !important;
    font-size: .9rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(1,33,105,.18) !important;
}
.woocommerce-cart-form .product-name .gfhuk-cart-amend__button:hover {
    background: var(--color-cobalt) !important;
    color: #fff !important;
}
.woocommerce-cart .return-to-shop .button,
.woocommerce-cart .wc-backward {
    background: var(--color-blue) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: .75rem 1.2rem !important;
    text-decoration: none !important;
}
@media (max-width: 800px) {
    .woocommerce-cart-form .product-thumbnail {
        width: 100% !important;
        min-width: 0 !important;
    }
    .woocommerce-cart-form .gfhuk-cart-preview-thumb {
        --gfhuk-cart-preview-width: min(82vw, 320px);
        width: min(82vw, 320px) !important;
        max-width: 100% !important;
    }
}

/* Concern 22 — cart data sync/display and WooCommerce notice refinements */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    position: relative !important;
    padding-left: 3.75rem !important;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    left: 1.15rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
}
.woocommerce-message .button,
.woocommerce-message a.button {
    margin-left: auto !important;
}

.woocommerce-cart-form .product-name dl.variation dd,
.woocommerce-cart-form .product-name dl.variation dd p,
.woocommerce-cart-form .product-name .wc-item-meta li,
.woocommerce-cart-form .product-name .wc-item-meta li p,
.woocommerce-cart-form .product-name .wc-item-meta .wc-item-meta-value {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #333333 !important;
    background: transparent !important;
    font-family: var(--font-body) !important;
    font-size: .95rem !important;
    line-height: 1.45 !important;
}
.woocommerce-cart-form .product-name dl.variation dd p,
.woocommerce-cart-form .product-name .wc-item-meta li p {
    margin: .1rem 0 .45rem !important;
}
.woocommerce-cart-form .product-name .gfhuk-cart-amend {
    margin: .7rem 0 .9rem !important;
}
.woocommerce-cart-form .product-name .gfhuk-cart-amend__button,
.woocommerce-cart-form .product-name a.gfhuk-cart-amend__button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #012169 !important;
    color: #ffffff !important;
    border: 2px solid #012169 !important;
    border-radius: 999px !important;
    padding: .65rem 1.15rem !important;
    font-weight: 800 !important;
    font-family: var(--font-heading) !important;
    text-decoration: none !important;
    opacity: 1 !important;
    box-shadow: 0 10px 24px rgba(1, 33, 105, .22) !important;
}
.woocommerce-cart-form .product-name .gfhuk-cart-amend__button:hover,
.woocommerce-cart-form .product-name a.gfhuk-cart-amend__button:hover {
    background: #334D87 !important;
    color: #ffffff !important;
}


/* Concern 24: final cart preview/readability refinements */
.woocommerce-notices-wrapper {
    margin: 0 auto 1.25rem !important;
    max-width: 72rem !important;
}
.woocommerce-notices-wrapper .woocommerce-message {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: .85rem !important;
    min-height: 3.5rem !important;
    padding: 1rem 1.25rem 1rem 3.25rem !important;
    border: 1px solid rgba(25, 135, 84, .24) !important;
    border-left: 4px solid #198754 !important;
    border-radius: .85rem !important;
    background: #eefaf2 !important;
    color: #17452d !important;
    line-height: 1.45 !important;
}
.woocommerce-notices-wrapper .woocommerce-message::before {
    left: 1.1rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #198754 !important;
}
.woocommerce-notices-wrapper .woocommerce-message .button,
.woocommerce-message a.button,
.woocommerce-message .wc-forward {
    margin-left: auto !important;
    flex: 0 0 auto !important;
    background: #012169 !important;
    color: #ffffff !important;
    border: 1px solid #012169 !important;
    border-radius: .7rem !important;
    padding: .65rem 1rem !important;
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    opacity: 1 !important;
}
/* Avoid stacked duplicate add-to-cart notices from repeated tests overwhelming the cart. */
.woocommerce-notices-wrapper .woocommerce-message + .woocommerce-message {
    display: none !important;
}

.woocommerce-cart-form .product-thumbnail {
    width: 380px !important;
    min-width: 380px !important;
}
.woocommerce-cart-form .gfhuk-cart-preview-thumb {
    --gfhuk-cart-preview-width: 360px !important;
    width: 360px !important;
    max-width: 360px !important;
    gap: .5rem !important;
}
.woocommerce-cart-form .gfhuk-cart-preview-thumb__side {
    border-radius: .6rem !important;
    background: #F7F0EB !important;
}
.woocommerce-cart-form .gfhuk-cart-preview-thumb__text {
    color: rgba(20, 17, 14, .94) !important;
    text-shadow: 0 .3px .35px rgba(255,255,255,.28) !important;
}
.woocommerce-cart-form .gfhuk-cart-preview-thumb__back-text {
    font-size: clamp(8px, calc(var(--gfhuk-cart-preview-width, 360px) * 0.026), 20px) !important;
    color: rgba(20, 17, 14, .94) !important;
}
.woocommerce-cart-form .product-name .gfhuk-cart-product-title {
    display: block !important;
    margin: 0 0 .55rem !important;
    color: #012169 !important;
    font-family: var(--font-heading) !important;
    font-size: 1.12rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}
.woocommerce-cart-form .product-name .gfhuk-cart-amend {
    display: block !important;
    width: fit-content !important;
    margin: .15rem 0 .9rem !important;
    padding: 0 !important;
}
.woocommerce-cart-form .product-name .gfhuk-cart-amend__button,
.woocommerce-cart-form .product-name a.gfhuk-cart-amend__button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #012169 !important;
    color: #ffffff !important;
    border: 2px solid #012169 !important;
    border-radius: 999px !important;
    padding: .6rem 1rem !important;
    font-family: var(--font-heading) !important;
    font-size: .95rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    opacity: 1 !important;
    box-shadow: 0 10px 22px rgba(1,33,105,.22) !important;
}
.woocommerce-cart-form .product-name .gfhuk-cart-amend__button:hover,
.woocommerce-cart-form .product-name a.gfhuk-cart-amend__button:hover {
    background: #334D87 !important;
    border-color: #334D87 !important;
    color: #ffffff !important;
}
.woocommerce-cart-form dl.variation,
.woocommerce-cart-form .wc-item-meta {
    background: rgba(247,240,235,.75) !important;
    border-radius: .85rem !important;
    padding: .8rem 1rem !important;
    max-width: 34rem !important;
}
.woocommerce-cart-form dl.variation dt,
.woocommerce-cart-form .wc-item-meta-label {
    color: #012169 !important;
    font-family: var(--font-heading) !important;
    font-size: .92rem !important;
    font-weight: 800 !important;
    letter-spacing: .03em !important;
}
.woocommerce-cart-form dl.variation dd,
.woocommerce-cart-form .wc-item-meta li p {
    color: #333333 !important;
    font-size: .96rem !important;
    line-height: 1.45 !important;
}
.woocommerce-cart .return-to-shop .button,
.woocommerce-cart .wc-backward,
.woocommerce-cart .button.wc-backward {
    background: #012169 !important;
    color: #ffffff !important;
    border-radius: .75rem !important;
    padding: .8rem 1.1rem !important;
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    opacity: 1 !important;
}

@media (max-width: 900px) {
    .woocommerce-cart-form .product-thumbnail {
        width: 100% !important;
        min-width: 0 !important;
    }
    .woocommerce-cart-form .gfhuk-cart-preview-thumb {
        --gfhuk-cart-preview-width: min(86vw, 360px) !important;
        width: min(86vw, 360px) !important;
        max-width: min(86vw, 360px) !important;
    }
    .woocommerce-message a.button,
    .woocommerce-message .wc-forward {
        margin-left: 0 !important;
        margin-top: .6rem !important;
    }
    .woocommerce-notices-wrapper .woocommerce-message {
        flex-wrap: wrap !important;
    }
}

/* Concern 25 — final form/cart polish */
.gfhuk-idea-toggle,
.gfhuk-field-group > .gfhuk-idea-toggle,
.gfhuk-back-msg-input-pane .gfhuk-idea-toggle {
    background: #fff !important;
    color: #C8102E !important;
    border: 2px solid rgba(200, 16, 46, .45) !important;
    border-radius: .65rem !important;
    box-shadow: 0 5px 14px rgba(200, 16, 46, .08) !important;
    font-weight: 800 !important;
}
.gfhuk-idea-toggle:hover,
.gfhuk-idea-toggle[aria-expanded="true"] {
    background: #C8102E !important;
    color: #fff !important;
    border-color: #C8102E !important;
}
.gfhuk-field-group > .gfhuk-idea-toggle,
.gfhuk-field-group--back-message > .gfhuk-idea-toggle {
    margin: 0 0 .35rem 0 !important;
    align-self: end !important;
}
.gfhuk-back-msg-input-pane.gfhuk-field-group--back-message {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    column-gap: .75rem !important;
    align-items: center !important;
}
.gfhuk-back-msg-input-pane.gfhuk-field-group--back-message > .gfhuk-label {
    grid-column: 1 !important;
    grid-row: 1 !important;
}
.gfhuk-back-msg-input-pane.gfhuk-field-group--back-message > .gfhuk-idea-toggle {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
}
.gfhuk-back-msg-input-pane.gfhuk-field-group--back-message > .gfhuk-textarea,
.gfhuk-back-msg-input-pane.gfhuk-field-group--back-message > .gfhuk-char-counter,
.gfhuk-back-msg-input-pane.gfhuk-field-group--back-message > .gfhuk-idea-panel,
.gfhuk-back-msg-input-pane.gfhuk-field-group--back-message > .gfhuk-error-msg {
    grid-column: 1 / -1 !important;
}
.gfhuk-review__item,
.gfhuk-review__back-msg {
    background: #fff !important;
    border: 1px solid rgba(1, 33, 105, .08) !important;
    border-radius: var(--radius-md) !important;
    padding: .9rem 1rem !important;
}
.gfhuk-review__back-text {
    font-style: normal !important;
    color: var(--color-text) !important;
    line-height: 1.45 !important;
    margin: .25rem 0 0 !important;
    white-space: pre-line !important;
}
.woocommerce-cart-form .product-name .gfhuk-cart-amend {
    margin: .6rem 0 .95rem !important;
}
.woocommerce-cart-form .product-name .gfhuk-cart-amend__button,
.woocommerce-cart-form .product-name a.gfhuk-cart-amend__button {
    border-radius: .65rem !important;
    padding: .72rem 1.15rem !important;
    box-shadow: 0 8px 18px rgba(1,33,105,.18) !important;
}
.woocommerce-cart-form .coupon .input-text,
.woocommerce-cart-form input#coupon_code {
    width: 170px !important;
    min-width: 170px !important;
    height: 44px !important;
    padding: .65rem .8rem !important;
    border-radius: .45rem !important;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding-left: 3.8rem !important;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    left: 1.25rem !important;
}
@media (max-width: 520px) {
    .gfhuk-back-msg-input-pane.gfhuk-field-group--back-message {
        grid-template-columns: 1fr !important;
    }
    .gfhuk-back-msg-input-pane.gfhuk-field-group--back-message > .gfhuk-idea-toggle {
        grid-column: 1 !important;
        grid-row: auto !important;
        justify-self: start !important;
        margin: .35rem 0 0 0 !important;
    }
}


/* Concern 26 — final cart width, ideas button and square-corner consistency */
:root {
    --gfhuk-button-radius: .45rem;
}

/* Make the cart personalisation panel use the full product-details space. */
.woocommerce-cart-form .product-name {
    width: 100% !important;
    max-width: none !important;
}
.woocommerce-cart-form dl.variation,
.woocommerce-cart-form .wc-item-meta {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}
.woocommerce-cart-form dl.variation {
    display: grid !important;
    grid-template-columns: max-content minmax(0, 1fr) !important;
    column-gap: 1.25rem !important;
    row-gap: .35rem !important;
    align-items: start !important;
}
.woocommerce-cart-form dl.variation dt,
.woocommerce-cart-form dl.variation dd {
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.woocommerce-cart-form dl.variation dd,
.woocommerce-cart-form dl.variation dd p,
.woocommerce-cart-form .wc-item-meta li,
.woocommerce-cart-form .wc-item-meta li p {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

/* Consistent, squarer button radius across the campaign site. */
.gfhuk-btn,
.gfhuk-step,
.gfhuk-idea-toggle,
.gfhuk-design-card,
.gfhuk-cart-amend__button,
.woocommerce-cart-form .product-name .gfhuk-cart-amend__button,
.woocommerce-cart-form .product-name a.gfhuk-cart-amend__button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce-cart .checkout-button,
.woocommerce-cart .wc-forward,
.woocommerce-cart .button,
.woocommerce-cart-form .coupon .button,
.woocommerce-cart-form button[name="update_cart"],
.woocommerce-cart .return-to-shop .button,
.woocommerce-cart .wc-backward,
.woocommerce-cart .button.wc-backward {
    border-radius: var(--gfhuk-button-radius) !important;
}

/* Keep the Show ideas buttons prominent and consistently aligned, including the back-message field. */
.gfhuk-idea-toggle,
.gfhuk-field-group > .gfhuk-idea-toggle,
.gfhuk-back-msg-input-pane .gfhuk-idea-toggle {
    background: #ffffff !important;
    color: #C8102E !important;
    border: 2px solid #C8102E !important;
    border-radius: var(--gfhuk-button-radius) !important;
    padding: .38rem .85rem !important;
    min-height: 34px !important;
    line-height: 1 !important;
}
.gfhuk-idea-toggle:hover,
.gfhuk-idea-toggle[aria-expanded="true"] {
    background: #C8102E !important;
    color: #ffffff !important;
}
.gfhuk-back-msg-input-pane.gfhuk-field-group--back-message > .gfhuk-idea-toggle {
    align-self: center !important;
    margin-bottom: .25rem !important;
}

/* Coupon field: keep it large enough to read on desktop and not too wide on mobile. */
.woocommerce-cart-form .coupon .input-text,
.woocommerce-cart-form input#coupon_code {
    width: 210px !important;
    min-width: 210px !important;
    max-width: 100% !important;
}

@media (max-width: 700px) {
    .woocommerce-cart-form dl.variation {
        grid-template-columns: 1fr !important;
        row-gap: .15rem !important;
    }
    .woocommerce-cart-form dl.variation dt {
        margin-top: .3rem !important;
    }
    .woocommerce-cart-form .coupon .input-text,
    .woocommerce-cart-form input#coupon_code {
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* Concern 27 — final cart/review polish */
/* Make review labels consistent: Front Wording and Back Message both use NP Blue. */
.gfhuk-review__item .gfhuk-label,
.gfhuk-review__details .gfhuk-label,
.gfhuk-review__back-msg .gfhuk-label,
.gfhuk-review .gfhuk-label {
    color: #012169 !important;
    opacity: 1 !important;
}

/* On the cart page, the 'View cart' button in WooCommerce notices is redundant. */
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message .button,
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message a.button,
body.woocommerce-cart .woocommerce-message .wc-forward,
body.woocommerce-cart .woocommerce-message a.wc-forward {
    display: none !important;
}
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message,
body.woocommerce-cart .woocommerce-message {
    justify-content: flex-start !important;
    gap: .85rem !important;
}

/* Make the cart personalisation panel fill the available product column. */
.woocommerce-cart-form td.product-name,
.woocommerce-cart-form .product-name {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
}
.woocommerce-cart-form .product-name dl.variation,
.woocommerce-cart-form .product-name .wc-item-meta,
.woocommerce-cart-form dl.variation,
.woocommerce-cart-form .wc-item-meta {
    display: grid !important;
    grid-template-columns: minmax(8.5rem, auto) minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    margin-right: 0 !important;
}
.woocommerce-cart-form .product-name dl.variation dd,
.woocommerce-cart-form .product-name dl.variation dd p,
.woocommerce-cart-form .product-name .wc-item-meta li,
.woocommerce-cart-form .product-name .wc-item-meta li p {
    overflow-wrap: normal !important;
    word-break: normal !important;
}

/* Stop the Henny Penny line being clipped in the smaller cart previews. */
.woocommerce-cart-form .gfhuk-cart-preview-thumb,
.woocommerce-cart-form .gfhuk-cart-preview-thumb__side {
    overflow: visible !important;
}
.woocommerce-cart-form .gfhuk-cart-preview-thumb__text,
.woocommerce-cart-form .gfhuk-cart-preview-thumb__text--quirky {
    line-height: 1.35 !important;
    padding-top: .12em !important;
    overflow: visible !important;
}
.woocommerce-cart-form .gfhuk-cart-preview-thumb__text--plain,
.woocommerce-cart-form .gfhuk-cart-preview-thumb__back-text {
    line-height: 1.25 !important;
    overflow: visible !important;
}

@media (max-width: 900px) {
    .woocommerce-cart-form .product-name dl.variation,
    .woocommerce-cart-form .product-name .wc-item-meta,
    .woocommerce-cart-form dl.variation,
    .woocommerce-cart-form .wc-item-meta {
        grid-template-columns: 1fr !important;
    }
}


/* Concern 28 — mobile/personalisation/cart finishing fixes */
/* Remove the bottom mobile CTA while the customer is actively using the personalisation form. */
@media (max-width: 767px) {
  body:has(#gfhuk-personalise-form input:focus) .gfhuk-mobile-cta,
  body:has(#gfhuk-personalise-form textarea:focus) .gfhuk-mobile-cta,
  body:has(#gfhuk-step-2:not([hidden])) .gfhuk-mobile-cta,
  body:has(#gfhuk-step-3:not([hidden])) .gfhuk-mobile-cta {
    display: none !important;
  }
  /* Give the logo a little breathing room on iPhone while keeping the menu aligned. */
  .gfhuk-nav__inner {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .gfhuk-nav__logo {
    margin-left: .35rem !important;
  }
}

/* Review screen: no quote styling around the back message; match the front wording panel. */
.gfhuk-review__back-text {
  font-style: normal !important;
  quotes: none !important;
}
.gfhuk-review__back-text::before,
.gfhuk-review__back-text::after {
  content: none !important;
}

/* Cart page: make preview images visible and sensibly ordered on mobile. */
@media (max-width: 700px) {
  .woocommerce-cart-form table.cart,
  .woocommerce-cart-form table.cart tbody,
  .woocommerce-cart-form table.cart tr.cart_item,
  .woocommerce-cart-form table.cart td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .woocommerce-cart-form table.cart tr.cart_item {
    padding: 1rem !important;
    margin-bottom: 1rem !important;
    border: 1px solid rgba(1,33,105,.12) !important;
    border-radius: .75rem !important;
    background: #fff !important;
  }
  .woocommerce-cart-form table.cart td.product-remove {
    padding: .25rem 0 .5rem !important;
  }
  .woocommerce-cart-form table.cart td.product-thumbnail {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: .5rem 0 !important;
    text-align: center !important;
  }
  .woocommerce-cart-form table.cart td.product-thumbnail:before {
    content: none !important;
  }
  .woocommerce-cart-form .gfhuk-cart-preview-thumb {
    --gfhuk-cart-preview-width: min(92vw, 520px) !important;
    display: grid !important;
    width: min(92vw, 520px) !important;
    max-width: 100% !important;
    margin: 0 auto .75rem !important;
    gap: .55rem !important;
  }
  .woocommerce-cart-form .gfhuk-cart-preview-thumb__side {
    display: block !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
  .woocommerce-cart-form table.cart td.product-name {
    display: block !important;
    width: 100% !important;
    padding: .65rem 0 !important;
    text-align: left !important;
  }
  .woocommerce-cart-form table.cart td.product-name:before,
  .woocommerce-cart-form table.cart td.product-price:before,
  .woocommerce-cart-form table.cart td.product-quantity:before,
  .woocommerce-cart-form table.cart td.product-subtotal:before {
    color: #666 !important;
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
  }
  .woocommerce-cart-form .product-name dl.variation,
  .woocommerce-cart-form .product-name .wc-item-meta {
    text-align: left !important;
  }
}

/* Keep the input visible when iOS opens the keyboard. */
@media (max-width: 767px) {
  #gfhuk-step-2 {
    padding-bottom: 46vh !important;
  }
  #gfhuk-step-2 input,
  #gfhuk-step-2 textarea {
    scroll-margin-top: 36vh !important;
    scroll-margin-bottom: 42vh !important;
  }
}


/* Concern 29 — quantity, line-break and mobile-cart CTA fixes */
/* Hide the floating mobile CTA on checkout/cart pages and once the ordering form is active. */
@media (max-width: 767px) {
  body.woocommerce-cart .gfhuk-mobile-cta,
  body.woocommerce-checkout .gfhuk-mobile-cta,
  body.woocommerce-account .gfhuk-mobile-cta,
  body.gfhuk-personalising .gfhuk-mobile-cta,
  body:has(#gfhuk-step-2:not([hidden])) .gfhuk-mobile-cta,
  body:has(#gfhuk-step-3:not([hidden])) .gfhuk-mobile-cta {
    display: none !important;
  }
}

/* Preserve deliberate customer line breaks in review, cart and preview areas. */
.gfhuk-review__back-text,
.gfhuk-cart-preview-thumb__back-text,
.woocommerce-cart-form .product-name dl.variation dd,
.woocommerce-cart-form .product-name dl.variation dd p,
.woocommerce-cart-form .product-name .wc-item-meta li p {
  white-space: pre-line !important;
}

/* Mobile cart: keep the product information readable and remove unnecessary wrapping pressure. */
@media (max-width: 700px) {
  .woocommerce-cart-form table.cart td.product-price,
  .woocommerce-cart-form table.cart td.product-quantity,
  .woocommerce-cart-form table.cart td.product-subtotal {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    gap: .75rem !important;
    padding: .85rem 0 !important;
    border-top: 1px solid rgba(1,33,105,.10) !important;
  }
  .woocommerce-cart-form table.cart td.product-name {
    text-align: left !important;
  }
  .woocommerce-cart-form .product-name dl.variation,
  .woocommerce-cart-form .product-name .wc-item-meta {
    width: 100% !important;
    max-width: none !important;
  }
}

/* Concern 30 — checkout quantity compatibility, cart preview sizing and mobile CTA fixes */
/* Cart: keep the back preview text closer to the Step 2 / Review preview size. */
.woocommerce-cart-form .gfhuk-cart-preview-thumb__back-text {
  font-size: clamp(6px, calc(var(--gfhuk-cart-preview-width, 360px) * 0.020), 15px) !important;
  line-height: 1.18 !important;
  white-space: pre-line !important;
}

/* Cart: make the quantity input feel like the rest of the mobile cart controls. */
.woocommerce-cart-form input.qty,
.woocommerce-cart-form .quantity .qty {
  min-width: 4.8rem !important;
  min-height: 2.4rem !important;
  padding: .35rem .6rem !important;
  text-align: center !important;
  border-radius: .35rem !important;
  border: 1.5px solid var(--color-border) !important;
  font-size: 1rem !important;
}

@media (max-width: 700px) {
  .woocommerce-cart-form input.qty,
  .woocommerce-cart-form .quantity .qty {
    width: 5.6rem !important;
    min-height: 2.85rem !important;
    font-size: 1.15rem !important;
  }
}

/* Checkout: if using the classic [woocommerce_checkout] shortcode, show the preview images in the order review. */
.woocommerce-checkout-review-order .gfhuk-checkout-item-preview {
  margin: .5rem 0 .75rem !important;
}
.woocommerce-checkout-review-order .gfhuk-cart-preview-thumb {
  --gfhuk-cart-preview-width: min(300px, 78vw) !important;
  width: min(300px, 78vw) !important;
  max-width: 100% !important;
  display: grid !important;
  gap: .4rem !important;
}
.woocommerce-checkout-review-order .gfhuk-cart-preview-thumb__side {
  aspect-ratio: 2410 / 1050 !important;
  background: #F7F0EB !important;
  border: 1px solid rgba(1,33,105,.14) !important;
  border-radius: .45rem !important;
  overflow: visible !important;
}
.woocommerce-checkout-review-order .gfhuk-cart-preview-thumb__base {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
.woocommerce-checkout-review-order .gfhuk-cart-preview-thumb__back-text {
  font-size: clamp(6px, calc(var(--gfhuk-cart-preview-width, 300px) * 0.020), 14px) !important;
  white-space: pre-line !important;
  line-height: 1.18 !important;
}

/* The floating mobile CTA is useful on the sales page but should never appear inside cart/checkout/order pages. */
body.woocommerce-cart .gfhuk-mobile-cta,
body.woocommerce-checkout .gfhuk-mobile-cta,
body.woocommerce-account .gfhuk-mobile-cta,
body.page-id-24 .gfhuk-mobile-cta,
body.page-id-25 .gfhuk-mobile-cta,
body[class*="woocommerce-order"] .gfhuk-mobile-cta {
  display: none !important;
}

/* Concern 31 — classic checkout preview sizing fix
   The classic checkout order-review area can put product-name content inside a
   narrow/mobile table cell. Force the personalised saw preview to keep the same
   2410:1050 geometry as the main/cart previews so percentage-positioned text
   stays on the saw rather than drifting into a very tall container. */
.woocommerce-checkout-review-order .gfhuk-checkout-item-preview {
  display: block !important;
  width: 100% !important;
  max-width: 360px !important;
  margin: 0 0 .75rem !important;
  overflow: visible !important;
}

.woocommerce-checkout-review-order .gfhuk-checkout-item-preview .gfhuk-cart-preview-thumb {
  --gfhuk-cart-preview-width: min(360px, 82vw) !important;
  width: var(--gfhuk-cart-preview-width) !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: .45rem !important;
  overflow: visible !important;
}

.woocommerce-checkout-review-order .gfhuk-checkout-item-preview .gfhuk-cart-preview-thumb__side {
  position: relative !important;
  display: block !important;
  width: var(--gfhuk-cart-preview-width) !important;
  max-width: 100% !important;
  height: calc(var(--gfhuk-cart-preview-width) * 0.435685) !important; /* 1050 / 2410 */
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  background: #F7F0EB !important;
  border: 1px solid rgba(1,33,105,.14) !important;
  border-radius: 6px !important;
}

.woocommerce-checkout-review-order .gfhuk-checkout-item-preview .gfhuk-cart-preview-thumb__base {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
}

.woocommerce-checkout-review-order .gfhuk-checkout-item-preview .gfhuk-cart-preview-thumb__shed,
.woocommerce-checkout-review-order .gfhuk-checkout-item-preview .gfhuk-cart-preview-thumb__text,
.woocommerce-checkout-review-order .gfhuk-checkout-item-preview .gfhuk-cart-preview-thumb__back-text {
  position: absolute !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

.woocommerce-checkout-review-order .gfhuk-checkout-item-preview .gfhuk-cart-preview-thumb__text {
  transform: translate(-50%, -50%) !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: visible !important;
  line-height: 1.22 !important;
}

.woocommerce-checkout-review-order .gfhuk-checkout-item-preview .gfhuk-cart-preview-thumb__back-text {
  left: 49.93% !important;
  top: 59.82% !important;
  width: 46.89% !important;
  transform: translate(-50%, -50%) !important;
  font-size: clamp(6px, calc(var(--gfhuk-cart-preview-width) * 0.019), 13px) !important;
  line-height: 1.18 !important;
  white-space: pre-line !important;
  overflow-wrap: break-word !important;
  text-align: center !important;
  max-height: 38% !important;
  overflow: hidden !important;
}

@media (max-width: 767px) {
  .woocommerce-checkout-review-order .gfhuk-checkout-item-preview {
    max-width: 100% !important;
  }
  .woocommerce-checkout-review-order .gfhuk-checkout-item-preview .gfhuk-cart-preview-thumb {
    --gfhuk-cart-preview-width: min(86vw, 360px) !important;
  }
}


/* Concern 32 — mobile checkout width/overflow fix
   Classic WooCommerce checkout tables keep a two-column Product/Subtotal layout by
   default. On iPhone that forces the preview column plus subtotal column wider than
   the viewport. Stack the checkout order table on small screens and constrain all
   previews to their actual cell width. */
@media (max-width: 767px) {
  html,
  body {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body.woocommerce-checkout .gfhuk-page-section,
  body.woocommerce-checkout .gfhuk-page-container,
  body.woocommerce-checkout .gfhuk-page-content,
  body.woocommerce-checkout .woocommerce,
  body.woocommerce-checkout form.checkout,
  body.woocommerce-checkout #order_review,
  body.woocommerce-checkout .woocommerce-checkout-review-order {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body.woocommerce-checkout table.shop_table,
  body.woocommerce-checkout table.shop_table thead,
  body.woocommerce-checkout table.shop_table tbody,
  body.woocommerce-checkout table.shop_table tfoot,
  body.woocommerce-checkout table.shop_table tr,
  body.woocommerce-checkout table.shop_table th,
  body.woocommerce-checkout table.shop_table td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-checkout table.shop_table {
    table-layout: fixed !important;
    border-collapse: separate !important;
    overflow: hidden !important;
  }

  body.woocommerce-checkout table.shop_table thead {
    display: none !important;
  }

  body.woocommerce-checkout table.shop_table tr.cart_item {
    padding: 1rem 0 !important;
    border-bottom: 1px solid rgba(1, 33, 105, .12) !important;
  }

  body.woocommerce-checkout table.shop_table td.product-name,
  body.woocommerce-checkout table.shop_table td.product-total {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: .6rem .75rem !important;
    text-align: left !important;
  }

  body.woocommerce-checkout table.shop_table td.product-total {
    text-align: right !important;
    font-weight: 700 !important;
    color: var(--color-ink, #000b24) !important;
    border-top: 0 !important;
  }

  body.woocommerce-checkout table.shop_table tfoot th,
  body.woocommerce-checkout table.shop_table tfoot td {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 1rem !important;
    text-align: right !important;
  }

  body.woocommerce-checkout table.shop_table tfoot th::after {
    content: '';
  }

  .woocommerce-checkout-review-order .gfhuk-checkout-item-preview,
  .woocommerce-checkout-review-order .gfhuk-cart-preview-thumb {
    width: 100% !important;
    max-width: 100% !important;
  }

  .woocommerce-checkout-review-order .gfhuk-checkout-item-preview .gfhuk-cart-preview-thumb {
    --gfhuk-cart-preview-width: min(100%, 360px) !important;
  }

  .woocommerce-checkout-review-order .gfhuk-checkout-item-preview .gfhuk-cart-preview-thumb__side {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 2410 / 1050 !important;
  }

  .woocommerce-checkout-review-order .gfhuk-checkout-item-preview .gfhuk-cart-preview-thumb__base {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  body.woocommerce-checkout .product-name,
  body.woocommerce-checkout .product-total,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table * {
    overflow-wrap: anywhere;
  }
}

/* Concern 33 — keep cart/checkout/order saw previews on the same fitting rules as Step 2/Review.
   Font fitting is now calculated server-side in inc/woocommerce.php. These CSS rules
   stop later cart/checkout overrides from allowing long engraving lines to spill out. */
.gfhuk-cart-preview-thumb__text,
.woocommerce-cart-form .gfhuk-cart-preview-thumb__text,
.woocommerce-checkout-review-order .gfhuk-cart-preview-thumb__text,
.woocommerce-checkout-review-order .gfhuk-checkout-item-preview .gfhuk-cart-preview-thumb__text {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  box-sizing: border-box !important;
  line-height: 1.08 !important;
}

.gfhuk-cart-preview-thumb__text--plain,
.woocommerce-cart-form .gfhuk-cart-preview-thumb__text--plain,
.woocommerce-checkout-review-order .gfhuk-cart-preview-thumb__text--plain {
  line-height: 1.12 !important;
}

.gfhuk-cart-preview-thumb__text--quirky,
.woocommerce-cart-form .gfhuk-cart-preview-thumb__text--quirky,
.woocommerce-checkout-review-order .gfhuk-cart-preview-thumb__text--quirky {
  line-height: 1.18 !important;
  padding-top: .04em !important;
}

/* Concern 34 — consistent browser-measured engraving fit on all preview surfaces.
   JS now measures the real rendered text width and shrinks to the same safe width
   on Step 2, Review, Cart and Checkout. These rules stop CSS from fighting that. */
.gfhuk-live-preview__text,
.gfhuk-cart-preview-thumb__text,
.woocommerce-cart-form .gfhuk-cart-preview-thumb__text,
.woocommerce-checkout-review-order .gfhuk-cart-preview-thumb__text,
.woocommerce-checkout-review-order .gfhuk-checkout-item-preview .gfhuk-cart-preview-thumb__text {
  display: block !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  text-align: center !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.gfhuk-live-preview__text--quirky,
.gfhuk-cart-preview-thumb__text--quirky,
.woocommerce-cart-form .gfhuk-cart-preview-thumb__text--quirky,
.woocommerce-checkout-review-order .gfhuk-cart-preview-thumb__text--quirky {
  line-height: 1.18 !important;
  padding-top: .035em !important;
}

.gfhuk-live-preview__text--plain,
.gfhuk-cart-preview-thumb__text--plain,
.woocommerce-cart-form .gfhuk-cart-preview-thumb__text--plain,
.woocommerce-checkout-review-order .gfhuk-cart-preview-thumb__text--plain {
  line-height: 1.12 !important;
}

.woocommerce-checkout-review-order .gfhuk-checkout-item-preview .gfhuk-cart-preview-thumb__back-text,
.woocommerce-cart-form .gfhuk-cart-preview-thumb__back-text,
.gfhuk-cart-preview-thumb__back-text {
  white-space: pre-wrap !important;
  overflow-wrap: break-word !important;
}
