/* ==========================================================================
   Skeltons Photolab - main stylesheet
   Built on Bootstrap 5.3 (loaded from CDN in each page's <head>).

   Based on "Skeltons Photolab - website brand guide", version 2, with
   owner-approved changes on trial: Plus Jakarta Sans headings and system body
   text instead of Playfair Display / DM Sans, and crisp white pages. Feature bands use the brand Blush.
   All colours, fonts, spacing and shapes are tokens in the :root block below.
   To try a different feature band colour, change --pl-band only.
   ========================================================================== */

/* ---------- Heading font: Plus Jakarta Sans (self-hosted, SIL Open Font Licence in assets/fonts) ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2");
}

/* ---------- Brand tokens (brand guide section 12) ---------- */
:root {
  /* Core */
  --pl-green: #00854F;
  --pl-charcoal: #1C1C1C;
  --pl-soft-white: #FFFFFF;   /* crisp white pages (brand guide: #FFFBF8) */
  --pl-white: #FFFFFF;

  /* Support */
  --pl-green-deep: #006B3F;
  --pl-green-pressed: #005A35;
  --pl-mint: #4FC98D;
  --pl-grey: #565D59;

  /* Feature bands: hero, page headers, Fujifilm band, restoration slider (on trial,
     replaces Blush). Change these values to restyle every band at once.
     Options tried:
       Blush (brand guide)     band #F9E4DC - current
       Fresh Mint (light)      band #DDF1E6, text #1C1C1C, accent #006B3F
       Lilac (light)           band #ECE5F6, text #1C1C1C, accent #006B3F
       Photolab Green (bold)   band #006B3F, text #FFFFFF, accent #CFF5E1,
                               primary button white with green text
       Earlier: Soft Sky #E3EDF3, Warm Sand #F1E9DD, Darkroom #111513 */
  --pl-band: #F9E4DC;                  /* Blush (brand guide v2) */
  --pl-band-text: #1C1C1C;
  --pl-band-muted: #3E4642;
  --pl-band-accent: #006B3F;           /* eyebrows, highlighted words, icons, links */
  --pl-band-outline: #1C1C1C;          /* secondary button border and text */
  --pl-band-outline-hover-text: #FFFFFF;
  --pl-band-primary-bg: #00854F;       /* main button */
  --pl-band-primary-text: #FFFFFF;
  --pl-band-primary-hover-bg: #006B3F;
  --pl-band-rule: #00854F;             /* thin line under hero and page headers */
  --pl-band-glow: rgba(255, 255, 255, 0.55);
  --pl-band-pale: #F3F6F4;   /* quiet light alternate band */
  --pl-line: #E2E7E4;        /* card borders and dividers */
  --pl-border-strong: #8A847B;
  --pl-disabled: #E3DED8;

  /* Functional */
  --pl-error: #B3261E;
  --pl-error-tint: #FCEDEA;
  --pl-focus-ring: rgba(0, 133, 79, 0.25);

  /* Semantic */
  --color-bg: var(--pl-soft-white);
  --color-surface: var(--pl-white);
  --color-band: var(--pl-band);
  --color-band-quiet: var(--pl-band-pale);
  --color-text: var(--pl-charcoal);
  --color-text-muted: var(--pl-grey);
  --color-accent: var(--pl-green);
  --color-link: var(--pl-green-deep);
  --color-border: var(--pl-line);
  --color-inverse-bg: var(--pl-charcoal);
  --color-inverse-text: var(--pl-white);
  --color-inverse-link: var(--pl-mint);

  /* Type */
  --font-heading: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --text-h1: clamp(2.25rem, 1.6rem + 3vw, 3.5rem);
  --text-h2: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --text-h3: 1.375rem;
  --text-h4: 1.0625rem;
  --text-lead: 1.125rem;
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-eyebrow: 0.8125rem;

  /* Space */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px;
  --container: 1200px;

  /* Shape */
  --radius-pill: 999px;
  --radius-card: 12px;
  --radius-field: 8px;
  --radius-photo: 2px;
  --shadow-sm: 0 1px 2px rgba(28, 28, 28, 0.06);
  --shadow-md: 0 6px 18px rgba(28, 28, 28, 0.10);
  --shadow-print: 0 6px 18px rgba(28, 28, 28, 0.12);
  --print-border: 10px;

  /* Bootstrap overrides */
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--color-text);
  --bs-body-bg: var(--color-bg);
  --bs-border-color: var(--color-border);
  --bs-link-color-rgb: 0, 107, 63;
  --bs-link-hover-color-rgb: 28, 28, 28;
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1, h2, h3,
.h1, .h2, .h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
  text-wrap: balance;
}

h1, .h1 {
  font-size: var(--text-h1);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2, .h2 {
  font-size: var(--text-h2);
  line-height: 1.15;
}

h3, .h3 {
  font-size: var(--text-h3);
  line-height: 1.25;
}

h4, .h4 {
  font-family: var(--font-body);
  font-size: var(--text-h4);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

p,
li {
  max-width: 70ch;
}

.lead {
  font-size: var(--text-lead);
  font-weight: 400;
  line-height: 1.6;
}

.small,
small {
  font-size: var(--text-small);
}

a {
  color: var(--color-link);
  text-underline-offset: 0.15em;
}

a:hover,
a:focus {
  color: var(--color-text);
}

:focus-visible {
  outline: 3px solid var(--pl-charcoal);
  outline-offset: 2px;
}

.text-muted-brand {
  color: var(--color-text-muted);
}

.accent-italic {
  font-style: normal;
}

/* Container: 1200px max, 24px gutters (16px on mobile) */
.container {
  max-width: calc(var(--container) + 48px);
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 767.98px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 2000;
  padding: var(--space-2) var(--space-4);
  background: var(--pl-charcoal);
  color: var(--pl-white);
  border-radius: 0 0 var(--radius-field) var(--radius-field);
}

.skip-link:focus {
  top: 0;
  color: var(--pl-white);
  outline-color: var(--pl-white);
}

/* ---------- Sections and bands ---------- */
.section {
  padding: var(--space-9) 0;
}

.section-sm {
  padding: var(--space-8) 0;
}

@media (max-width: 767.98px) {
  .section,
  .section-sm {
    padding: var(--space-7) 0;
  }
}

.band-feature {
  background-color: var(--color-band);
}

.band-quiet {
  background-color: var(--color-band-quiet);
}

.band-white {
  background-color: var(--color-surface);
}

.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-2);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pl-green-deep);
}

.section-intro {
  max-width: 46rem;
  margin: 0 auto var(--space-7);
  text-align: center;
}

.section-intro p {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons (pill, 44px min, bold) ---------- */
.btn {
  --bs-btn-font-family: var(--font-body);
  --bs-btn-font-weight: 700;
  --bs-btn-font-size: 1rem;
  --bs-btn-line-height: 1.25;
  --bs-btn-padding-y: 12px;
  --bs-btn-padding-x: 24px;
  --bs-btn-border-radius: var(--radius-pill);
  --bs-btn-border-width: 1.5px;
  --bs-btn-focus-box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  transition: background-color 0.15s ease-out, color 0.15s ease-out, border-color 0.15s ease-out;
}

.btn-sm {
  --bs-btn-padding-y: 10px;
  --bs-btn-padding-x: 20px;
  --bs-btn-font-size: 0.9375rem;
  --bs-btn-border-radius: var(--radius-pill);
}

.btn-primary-brand {
  --bs-btn-color: var(--pl-white);
  --bs-btn-bg: var(--pl-green);
  --bs-btn-border-color: var(--pl-green);
  --bs-btn-hover-color: var(--pl-white);
  --bs-btn-hover-bg: var(--pl-green-deep);
  --bs-btn-hover-border-color: var(--pl-green-deep);
  --bs-btn-active-color: var(--pl-white);
  --bs-btn-active-bg: var(--pl-green-pressed);
  --bs-btn-active-border-color: var(--pl-green-pressed);
}

.btn-secondary-brand {
  --bs-btn-color: var(--pl-charcoal);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--pl-charcoal);
  --bs-btn-hover-color: var(--pl-white);
  --bs-btn-hover-bg: var(--pl-charcoal);
  --bs-btn-hover-border-color: var(--pl-charcoal);
  --bs-btn-active-color: var(--pl-white);
  --bs-btn-active-bg: var(--pl-charcoal);
  --bs-btn-active-border-color: var(--pl-charcoal);
}

.btn-inverse-brand {
  --bs-btn-color: var(--pl-white);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--pl-white);
  --bs-btn-hover-color: var(--pl-charcoal);
  --bs-btn-hover-bg: var(--pl-white);
  --bs-btn-hover-border-color: var(--pl-white);
  --bs-btn-active-color: var(--pl-charcoal);
  --bs-btn-active-bg: var(--pl-white);
  --bs-btn-active-border-color: var(--pl-white);
}

.btn-inverse-brand:focus-visible {
  outline-color: var(--pl-white);
}

/* ---------- Promo strip (top of every page) ---------- */
.promo-strip {
  background-color: var(--color-inverse-bg);
  color: var(--color-inverse-text);
  font-size: var(--text-small);
  min-height: 36px;
  display: flex;
  align-items: center;
}

.promo-strip p {
  max-width: none;
}

.promo-strip a {
  color: var(--color-inverse-link);
  font-weight: 700;
}

.promo-strip a:hover,
.promo-strip a:focus {
  color: var(--pl-white);
}

.promo-strip a:focus-visible {
  outline-color: var(--pl-white);
}

/* ---------- Header ---------- */
.site-navbar {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  min-height: 72px;
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
}

.site-navbar .navbar-brand {
  padding: 0;
  margin-right: var(--space-6);
}

.site-navbar .navbar-brand img {
  height: 44px;
  width: auto;
}

.site-navbar .nav-link {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-text);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  padding-left: 0;
  padding-right: 0;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
  color: var(--pl-green-deep);
}

.site-navbar .nav-link.active {
  color: var(--color-text);
  border-bottom-color: var(--pl-green);
}

.site-navbar .navbar-nav {
  gap: var(--space-1) var(--space-5);
}

.site-navbar .navbar-toggler {
  border-color: var(--pl-border-strong);
  min-height: 44px;
  min-width: 44px;
}

@media (max-width: 1199.98px) {
  .site-navbar {
    min-height: 60px;
  }

  .site-navbar .navbar-brand img {
    height: 36px;
  }

  .site-navbar .navbar-nav {
    padding-top: var(--space-4);
  }

  .site-navbar .nav-link {
    display: inline-block;
    padding-top: var(--space-2);
    padding-bottom: var(--space-2);
  }
}

/* ---------- Print border (signature device) ---------- */
.print {
  display: inline-block;
  background: var(--pl-white);
  padding: var(--print-border);
  border-radius: var(--radius-photo);
  box-shadow: var(--shadow-print);
  max-width: 100%;
}

.print img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.print-sm {
  --print-border: 6px;
}

.print-lg {
  --print-border: 14px;
}

/* ---------- Hero ---------- */
.hero {
  background-color: var(--color-band);
  padding: var(--space-8) 0;
}

.hero .lead {
  color: var(--color-text);
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0 0;
  display: grid;
  gap: var(--space-2);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 500;
}

.hero-points .bi {
  color: var(--pl-green-deep);
  font-size: 1.15rem;
}

.page-header {
  background-color: var(--color-band);
  padding: var(--space-7) 0;
}

.page-header .lead {
  margin-bottom: 0;
}

.breadcrumb {
  --bs-breadcrumb-divider-color: var(--color-text-muted);
  --bs-breadcrumb-item-active-color: var(--color-text);
  font-size: var(--text-small);
}

.breadcrumb a {
  color: var(--pl-green-deep);
}

.hero-image {
  display: block;
  margin: 0 auto;
  width: auto;
  height: auto;          /* keeps the original shape on every screen size */
  max-width: 100%;
  max-height: 520px;
}

.fuji-badge {
  display: inline-block;
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
}

.fuji-badge img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.fuji-badge .fuji-divider {
  border-top: 1px solid var(--color-border);
  margin: var(--space-5) 0;
}

.fuji-badge .fuji-mark {
  max-width: 220px;
}

/* ---------- FAQ accordion ---------- */
.faq .accordion {
  --bs-accordion-bg: var(--color-surface);
  --bs-accordion-color: var(--color-text);
  --bs-accordion-border-color: var(--color-border);
  --bs-accordion-border-radius: var(--radius-card);
  --bs-accordion-inner-border-radius: var(--radius-card);
  --bs-accordion-btn-color: var(--color-text);
  --bs-accordion-active-color: var(--color-text);
  --bs-accordion-active-bg: var(--color-band-quiet);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 3px var(--pl-focus-ring);
  max-width: 50rem;
  margin: 0 auto;
}

.faq .accordion-button {
  font-weight: 700;
  min-height: 44px;
}

/* ---------- Category tiles ---------- */
.category-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-3);
  color: var(--color-text);
  text-decoration: none;
  transition: box-shadow 0.2s ease-out;
}

.category-tile:hover,
.category-tile:focus {
  box-shadow: var(--shadow-md);
  color: var(--color-text);
}

.category-tile:hover h3,
.category-tile:focus h3 {
  color: var(--pl-green-deep);
}

.category-tile .tile-img {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  min-height: 0;
  background: var(--color-surface);
}

.category-tile .tile-img > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-tile .tile-img > .print {
  width: 78%;
}

.category-tile .tile-body {
  padding: var(--space-4) var(--space-2) var(--space-2);
}

.category-tile h3 {
  margin-bottom: var(--space-1);
  transition: color 0.2s ease-out;
}

/* Prices: Charcoal, with "from" in Warm Grey */
.price,
.from-price {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.2;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}

.price .from,
.from-price .from {
  font-weight: 400;
  color: var(--color-text-muted);
}

/* ---------- Product cards (whole card is one link) ---------- */
.product-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-3);
  transition: box-shadow 0.2s ease-out;
}

.product-card:hover,
.product-card:focus-within {
  box-shadow: var(--shadow-md);
}

.product-card:hover .card-title,
.product-card:focus-within .card-title {
  color: var(--pl-green-deep);
}

.product-card .product-img {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  min-height: 0;
  background: var(--color-surface);
}

.product-card .product-img > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card .product-img .bi {
  font-size: 4rem;
  color: var(--color-text);
}

.product-card .card-body {
  padding: var(--space-4) var(--space-1) var(--space-1);
}

.product-card .card-title {
  font-family: var(--font-body);
  font-size: var(--text-h4);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--space-2);
  transition: color 0.2s ease-out;
}

.product-card .price {
  margin-bottom: var(--space-4);
}

/* ---------- Price tables ---------- */
.price-card {
  height: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-5);
}

.price-table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--color-text);
  --bs-table-border-color: var(--color-border);
  margin-bottom: 0;
  font-variant-numeric: tabular-nums;
}

.price-table caption {
  caption-side: top;
  padding-top: 0;
  color: var(--color-text-muted);
  font-size: var(--text-small);
}

.price-table th {
  font-weight: 700;
}

.price-table td:last-child,
.price-table th:last-child {
  text-align: right;
  white-space: nowrap;
}

.price-table td:last-child {
  font-weight: 700;
}

.price-note {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Feature boxes and trust strip ---------- */
.feature-box {
  height: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-6);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-pill);
  background-color: var(--color-band-quiet);
  color: var(--color-text);
  font-size: 1.4rem;
}

.trust-strip {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.trust-strip li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.trust-strip .bi {
  font-size: 1.5rem;
  color: var(--color-text);
  flex-shrink: 0;
  line-height: 1.2;
}

/* ---------- Opening hours ---------- */
.hours-table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--color-text);
  --bs-table-border-color: var(--color-border);
  margin-bottom: 0;
  font-variant-numeric: tabular-nums;
}

.hours-table th {
  font-weight: 500;
}

.hours-table td {
  text-align: right;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--color-inverse-bg);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  padding-top: var(--space-8);
}

.site-footer .footer-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--color-inverse-text);
  text-decoration: none;
}

.site-footer h2 {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-inverse-text);
  margin-bottom: var(--space-4);
}

.site-footer a {
  color: var(--color-inverse-link);
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--color-inverse-text);
}

.site-footer a:focus-visible {
  outline-color: var(--pl-white);
}

.site-footer .footer-name:hover,
.site-footer .footer-name:focus {
  color: var(--color-inverse-text);
}

.site-footer .btn-inverse-brand,
.site-footer .btn-inverse-brand:hover,
.site-footer .btn-inverse-brand:focus {
  color: var(--bs-btn-color);
}

.site-footer .btn-inverse-brand:hover,
.site-footer .btn-inverse-brand:focus {
  color: var(--pl-charcoal);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: var(--space-2);
}

.site-footer address {
  font-style: normal;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: var(--text-small);
}

/* ---------- Helpers ---------- */
.img-max-220 {
  max-width: 220px;
}

.content-narrow {
  max-width: 50rem;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

.text-deep-green {
  color: var(--pl-green-deep);
}

.heading-note {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 400;
  color: var(--color-text-muted);
}

/* ---------- Tags (Photolab Green pill, white text) ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background-color: var(--pl-green);
  color: var(--pl-white);
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  white-space: nowrap;
  vertical-align: middle;
}

/* ---------- Sticky header ---------- */
/* Anchor links (e.g. prints.html#canvas) stop below the sticky header */
html {
  scroll-padding-top: 96px;
}

.site-header {
  z-index: 1030;
}

/* On small screens the open menu scrolls inside the header if it is taller than the screen */
@media (max-width: 1199.98px) {
  .site-navbar .navbar-collapse {
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }
}

/* ---------- Feature bands (hero, page headers, Fujifilm band) ---------- */
/* Colours come from the --pl-band tokens at the top of this file. */
.hero,
.page-header,
.band-feature {
  background-color: var(--pl-band);
  color: var(--pl-band-text);
}

/* Soft "studio light" behind the hero photos */
.hero {
  background-image: radial-gradient(ellipse at 75% 45%, var(--pl-band-glow), transparent 60%);
}

.hero h1, .hero h2, .hero h3,
.page-header h1,
.band-feature h1, .band-feature h2, .band-feature h3, .band-feature strong {
  color: var(--pl-band-text);
}

.hero .lead,
.page-header .lead,
.band-feature p,
.band-feature .text-muted-brand {
  color: var(--pl-band-muted);
}

.hero .eyebrow,
.page-header .eyebrow,
.band-feature .eyebrow,
.hero .text-deep-green,
.hero-points .bi,
.band-feature .trust-strip .bi {
  color: var(--pl-band-accent);
}

.page-header .breadcrumb {
  --bs-breadcrumb-divider-color: var(--pl-band-muted);
  --bs-breadcrumb-item-active-color: var(--pl-band-text);
}

.page-header .breadcrumb a,
.band-feature a:not(.btn) {
  color: var(--pl-band-accent);
}

.hero .btn-primary-brand,
.page-header .btn-primary-brand,
.band-feature .btn-primary-brand {
  --bs-btn-color: var(--pl-band-primary-text);
  --bs-btn-bg: var(--pl-band-primary-bg);
  --bs-btn-border-color: var(--pl-band-primary-bg);
  --bs-btn-hover-color: var(--pl-band-primary-text);
  --bs-btn-hover-bg: var(--pl-band-primary-hover-bg);
  --bs-btn-hover-border-color: var(--pl-band-primary-hover-bg);
  --bs-btn-active-color: var(--pl-band-primary-text);
  --bs-btn-active-bg: var(--pl-band-primary-hover-bg);
  --bs-btn-active-border-color: var(--pl-band-primary-hover-bg);
}

.hero .btn-secondary-brand,
.page-header .btn-secondary-brand,
.band-feature .btn-secondary-brand {
  --bs-btn-color: var(--pl-band-outline);
  --bs-btn-border-color: var(--pl-band-outline);
  --bs-btn-hover-color: var(--pl-band-outline-hover-text);
  --bs-btn-hover-bg: var(--pl-band-outline);
  --bs-btn-hover-border-color: var(--pl-band-outline);
  --bs-btn-active-color: var(--pl-band-outline-hover-text);
  --bs-btn-active-bg: var(--pl-band-outline);
  --bs-btn-active-border-color: var(--pl-band-outline);
}

.hero :focus-visible,
.page-header :focus-visible,
.band-feature :focus-visible {
  outline-color: var(--pl-band-text);
}

/* Thin line under the hero and page headers */
.hero,
.page-header {
  border-bottom: 3px solid var(--pl-band-rule);
}

/* ---------- Paper callout (prints page) ---------- */
.paper-card {
  border-left: 4px solid var(--pl-green);
}

.paper-icon {
  font-size: 2.5rem;
  color: var(--pl-green-deep);
  line-height: 1;
}

/* ---------- Before / after slider (services page) ---------- */
/* Replace assets/img/restoration-before.webp and restoration-after.webp with your own
   images, both the same size (1200 x 800 px works well). */
.ba-slider {
  --pos: 50%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  max-width: 100%;
  border-radius: var(--radius-photo);
  background: var(--pl-white);
  box-shadow: 0 0 0 10px var(--pl-white), 0 18px 40px rgba(28, 28, 28, 0.25);
  user-select: none;
}

.ba-slider .ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: var(--pl-white);
  pointer-events: none;
}

.ba-handle::after {
  content: "\2194";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pl-green);
  color: var(--pl-white);
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.ba-label {
  position: absolute;
  top: var(--space-3);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: rgba(17, 21, 19, 0.8);
  color: var(--pl-white);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.ba-label-before {
  left: var(--space-3);
}

.ba-label-after {
  right: var(--space-3);
}

/* The range input covers the whole image so it can be dragged anywhere */
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.ba-slider:focus-within {
  outline: 3px solid var(--pl-band-text);
  outline-offset: 14px;
}

/* ---------- Start your order page: wider product images ---------- */
.product-card .product-img-wide {
  aspect-ratio: 4 / 3;
}

/* ---------- Home page carousel (new in, frames, personalised gifts) ---------- */
.hero-carousel {
  max-width: 520px;
  margin: 0 auto;
}

.hero-carousel .slide-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.hero-carousel .slide-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  padding: var(--space-4);
  background: var(--pl-white);
}

.hero-carousel .slide-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.hero-carousel .slide-body {
  padding: var(--space-4) var(--space-5) var(--space-5);
  border-top: 1px solid var(--color-border);
  min-height: 190px;
}

.hero-carousel .slide-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin: var(--space-2) 0 var(--space-1);
}

.hero-carousel .slide-text {
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.hero-carousel .slide-link {
  font-weight: 700;
  color: var(--pl-green-deep);
}

/* Controls sit below the card, not over the photo */
.hero-carousel .carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.hero-carousel .carousel-indicators {
  position: static;
  margin: 0 var(--space-2);
  gap: 2px;
}

/* 24px tap area (WCAG 2.2) with a 10px dot drawn inside it */
.hero-carousel .carousel-indicators [data-bs-target] {
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 7px;
  border: 0;
  border-radius: 50%;
  background-color: var(--pl-charcoal);
  background-clip: content-box;
  opacity: 0.3;
}

.hero-carousel .carousel-indicators .active {
  opacity: 1;
  background-color: var(--pl-green);
}

.hero-carousel .carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;     /* never squash: always a 44px circle */
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--pl-charcoal);
  border-radius: 50%;
  background: var(--pl-white);
  color: var(--pl-charcoal);
  font-size: 1.1rem;
}

.hero-carousel .carousel-btn:hover,
.hero-carousel .carousel-btn:focus-visible {
  background: var(--pl-charcoal);
  color: var(--pl-white);
}

/* Phones: dots on their own row, buttons centred underneath */
@media (max-width: 575.98px) {
  .hero-carousel .carousel-nav {
    flex-wrap: wrap;
    row-gap: var(--space-2);
  }

  .hero-carousel .carousel-indicators {
    order: -1;
    flex: 1 0 100%;
    justify-content: center;
    margin: 0;
  }

  .hero-carousel .slide-img {
    height: 240px;
  }

  .hero-carousel .slide-body {
    min-height: 210px;
  }
}

/* ---------- Header: keep the menu on one line on smaller laptops ---------- */
.site-navbar .btn {
  white-space: nowrap;
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .site-navbar .navbar-brand {
    margin-right: var(--space-4);
  }

  .site-navbar .navbar-nav {
    gap: var(--space-1) var(--space-3);
  }

  .site-navbar .ms-xl-4 {
    margin-left: var(--space-4) !important;
  }
}
