/*
Theme Name: FRIGUS
Theme URI: https://frigus.lv
Author: SIA FRIGUS JV
Description: Komerciālās HVAC un aukstuma tehnikas mājaslapas dizains uzņēmumam SIA FRIGUS JV. Bez ārējām atkarībām, bez build procesa, bez tumšā režīma.
Version: 1.1.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
License: Proprietary
Text Domain: frigus
*/

/* ==========================================================================
   1. DESIGN TOKENS
   Ported 1:1 from the previous Astro build so the visual identity is
   unchanged. Edit colours here only; nothing below hardcodes a colour.
   ========================================================================== */

/* ==========================================================================
   0. TYPEFACE
   Self-hosted Lato, subset to Latin + Latvian + Cyrillic (the Russian
   landing page needs it). Two weights only, ~85 KB total.

   Self-hosted rather than a CDN: no third-party request, nothing to
   consent to, and the brand renders identically on Windows, macOS and
   Android instead of becoming Segoe UI, SF and Roboto respectively.
   font-display: swap so text is readable immediately.
   ========================================================================== */

@font-face {
  font-family: "Lato";
  src: url("assets/fonts/lato-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("assets/fonts/lato-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-sans: "Lato", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Lato", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;

  --color-bg: oklch(1 0 0);
  --color-fg: oklch(0.24 0.04 255);
  --color-card: oklch(1 0 0);
  --color-muted: oklch(0.5 0.03 255);
  --color-border: oklch(0.92 0.015 240);
  --color-navy: oklch(0.24 0.08 258);
  --color-navy-2: oklch(0.32 0.1 256);
  --color-accent: oklch(0.58 0.16 248);
  --color-accent-fg: oklch(0.99 0.005 240);
  --color-ice: oklch(0.93 0.04 235);
  --color-frost: oklch(0.975 0.012 235);

  --shadow-soft: 0 1px 2px rgb(13 24 51 / 0.06), 0 4px 14px rgb(13 24 51 / 0.05);
  --shadow-elevated: 0 10px 36px -10px rgb(13 24 51 / 0.2);

  --radius: 0.5rem;
  /* 1rem read as consumer-soft. Engineering firms use tighter corners. */
  --radius-lg: 0.5rem;
  --wrap: 80rem;
}

/* ==========================================================================
   2. RESET AND BASE
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--color-border);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 5rem; /* sticky header offset for #anchor links */
}

body {
  margin: 0;
  background-color: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  /* Keep the footer at the bottom of the viewport on short pages. */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Main grows to fill the space so the footer never floats mid-screen. */
body > main {
  flex: 1 0 auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
  margin: 0;
}

p {
  text-wrap: pretty;
  margin: 0;
}

img,
picture,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 3px;
}

::selection {
  background: var(--color-accent);
  color: var(--color-accent-fg);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   3. LAYOUT PRIMITIVES
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 2rem;
  }
}

@media (min-width: 1280px) {
  .container {
    padding-inline: 2.5rem;
  }
}

.section {
  padding-block: 5rem;
}

@media (min-width: 640px) {
  .section {
    padding-block: 7rem;
  }
}

.section--tight {
  padding-block: 3rem;
}

.section-head {
  max-width: 42rem;
  margin-bottom: 3rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
}

.section-head p {
  color: var(--color-muted);
  margin-top: 0.75rem;
  font-size: 1.125rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .grid--2,
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.stack > * + * {
  margin-top: 1rem;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--color-navy);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius) 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.skip-link:focus-visible {
  left: 0;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   4. COMPONENTS
   ========================================================================== */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-accent);
}

.kicker::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--color-accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background-color 0.15s ease, transform 0.15s ease, filter 0.15s ease,
    border-color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--lg {
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
}

.btn--primary {
  background: var(--color-navy);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  background: var(--color-navy-2);
}

.btn--accent {
  background: var(--color-accent);
  color: var(--color-accent-fg);
  box-shadow: var(--shadow-soft);
}

.btn--accent:hover {
  filter: brightness(1.07);
}

.btn--ghost {
  border: 1px solid var(--color-border);
  background: var(--color-card);
  color: var(--color-fg);
}

.btn--ghost:hover {
  background: var(--color-frost);
  border-color: var(--color-accent);
}

.btn--ondark {
  background: #fff;
  color: var(--color-navy);
  box-shadow: var(--shadow-elevated);
}

.btn--ondark:hover {
  transform: translateY(-2px);
}

.btn--outline-light {
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.3);
  color: #fff;
  backdrop-filter: blur(4px);
}

.btn--outline-light:hover {
  background: rgb(255 255 255 / 0.2);
}

/* A resting card is defined by its hairline, not by a shadow. Shadows on
   every static card is what makes a page read as a template rather than as
   a document; the lift is reserved for hover, where it means something. */
.card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.card--link {
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card--link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 100%;
  height: 2px;
  background: var(--color-accent);
  transition: right 0.35s ease;
}

.card--link:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

.card--link:hover::after {
  right: 0;
}

.card__body {
  padding: 1.5rem;
}

.frost {
  background: linear-gradient(180deg, var(--color-frost) 0%, var(--color-ice) 100%);
}

.tech-grid {
  background-image: linear-gradient(oklch(0.55 0.1 248 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.55 0.1 248 / 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* QA fix: .frost and .tech-grid both set background-image, so combined the
   grid silently replaced the frost gradient and every "frost" band rendered
   white. Layer the two explicitly. */
.frost.tech-grid {
  background-image: linear-gradient(oklch(0.55 0.1 248 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.55 0.1 248 / 0.05) 1px, transparent 1px),
    linear-gradient(180deg, var(--color-frost) 0%, var(--color-ice) 100%);
  background-size: 32px 32px, 32px 32px, auto;
}

/* The blueprint grid is a signature, so it appears once per page. Later
   bands keep the frost colour for separation but drop the grid lines. */
.tech-grid ~ .tech-grid {
  background-image: linear-gradient(180deg, var(--color-frost) 0%, var(--color-ice) 100%);
  background-size: auto;
}

.border-y {
  border-block: 1px solid var(--color-border);
}

.border-t {
  border-top: 1px solid var(--color-border);
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--color-ice);
  color: var(--color-navy);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.card--link:hover .icon-badge {
  background: var(--color-accent);
  color: #fff;
}

/* ==========================================================================
   5. ANNOUNCEMENT BAR, HEADER AND NAVIGATION
   ========================================================================== */

.announce {
  background: var(--color-navy);
  color: rgb(255 255 255 / 0.88);
  font-size: 0.8125rem;
}

.announce__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.75rem;
  padding-block: 0.55rem;
  text-align: center;
}

.announce__icon {
  color: oklch(0.85 0.12 230);
  flex: none;
}

.announce a {
  font-weight: 600;
  color: oklch(0.88 0.09 230);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.announce a:hover {
  color: #fff;
}

.header__contact {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}

.header__hours {
  font-size: 0.6875rem;
  color: var(--color-muted);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .header__contact {
    display: flex;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(255 255 255 / 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 10px rgb(13 24 51 / 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.625rem;
}

.site-logo img {
  height: 2.5rem;
  width: auto;
}

/* The bundled wordmark is wider than a typical square logo. */
.site-logo__mark {
  height: 2.35rem;
  width: auto;
}

.site-logo__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-navy);
  letter-spacing: -0.02em;
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
}

.nav__list a:hover {
  color: var(--color-navy);
}

.nav__list .current-menu-item > a {
  color: var(--color-navy);
  font-weight: 600;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang {
  display: none;
  align-items: center;
  gap: 0.125rem;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.lang a {
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
}

.lang a:hover {
  color: var(--color-navy);
}

.lang a[aria-current="true"] {
  background: var(--color-navy);
  color: #fff;
  font-weight: 600;
}

.header__call {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  padding: 0.5rem;
  margin-right: -0.5rem;
  color: var(--color-navy);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--color-border);
  background: #fff;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-block: 0.75rem;
  font-size: 0.875rem;
}

.mobile-menu__inner a:hover {
  color: var(--color-accent);
}

.mobile-menu .lang {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.25rem;
}

.mobile-menu .lang a {
  border: 1px solid var(--color-border);
  padding: 0.25rem 0.625rem;
}

@media (min-width: 640px) {
  .lang {
    display: flex;
  }
}

@media (min-width: 768px) {
  .header__call {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* ==========================================================================
   6. HERO
   Neutral by default: deep navy with the frost/airflow motif and no
   photograph. Uploading a hero image in the Customizer layers it behind
   the gradient automatically.
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--color-navy);
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    var(--color-navy) 0%,
    color-mix(in oklch, var(--color-navy) 88%, transparent) 38%,
    color-mix(in oklch, var(--color-navy) 30%, transparent) 70%,
    transparent 100%
  );
}

/* With no photo present, keep a subtle navy depth gradient instead. */
.hero--plain .hero__overlay {
  background: radial-gradient(
      120% 90% at 85% 15%,
      color-mix(in oklch, var(--color-navy-2) 85%, transparent) 0%,
      transparent 60%
    ),
    linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-2) 100%);
}

/* A blueprint grid and an oversized frost mark fill the right-hand space
   that a photograph would otherwise occupy. Without them the plain hero is
   a large flat rectangle with content crammed into the left third. Hidden
   below 1024px, where the text fills the width anyway, and dropped the
   moment a real photo is uploaded. */
.hero--plain::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(100deg, transparent 30%, #000 75%);
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 75%);
  pointer-events: none;
}

.hero__mark {
  display: none;
  position: absolute;
  top: 50%;
  right: 4%;
  translate: 0 -50%;
  width: min(30vw, 26rem);
  aspect-ratio: 1;
  color: oklch(0.72 0.13 235);
  opacity: 0.16;
  pointer-events: none;
}

.hero__mark svg {
  width: 100%;
  height: 100%;
  stroke-width: 0.6;
}

@media (min-width: 1024px) {
  .hero--plain .hero__mark {
    display: block;
  }
}

/* The container class on this element supplies the page gutter and the 72rem
   cap. Do NOT set a max-width here: it would override the container's and,
   combined with its margin-inline:auto, centre the hero instead of aligning
   it to the same left edge as every section below. Cap the children instead. */
.hero__inner {
  position: relative;
  padding-block: 6rem;
}

.hero__inner > * {
  max-width: 46rem;
}

@media (min-width: 640px) {
  .hero__inner {
    padding-block: 8rem;
  }
}

@media (min-width: 1024px) {
  .hero__inner {
    padding-block: 10rem;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.15);
  border-radius: 999px;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: oklch(0.92 0.04 230);
  margin-bottom: 1.75rem;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.05;
}

.hero__sub {
  margin-top: 1.5rem;
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
  color: rgb(255 255 255 / 0.9);
  max-width: 36rem;
  line-height: 1.6;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.hero__trust {
  display: grid;
  gap: 0.75rem;
  margin-top: 3.5rem;
  max-width: 40rem;
}

@media (min-width: 640px) {
  .hero__trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.9);
  border: 1px solid rgb(255 255 255 / 0.15);
  background: rgb(255 255 255 / 0.05);
  border-radius: var(--radius);
  padding: 0.75rem 0.875rem;
  backdrop-filter: blur(4px);
}

.hero__trust-item .icon {
  width: 1rem;
  height: 1rem;
  color: oklch(0.85 0.12 230);
}

/* Airflow motif: two drifting hairlines. Used only on the hero. */
.airflow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.5;
}

.airflow::before,
.airflow::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(0.9 0.05 235 / 0.5), transparent);
  animation: airflow-drift 9s linear infinite;
}

.airflow::before {
  top: 38%;
}

.airflow::after {
  top: 64%;
  animation-delay: 3s;
  transform: scaleX(-1);
}

@keyframes airflow-drift {
  0% {
    transform: translateX(-8%);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateX(8%);
    opacity: 0;
  }
}

.reveal {
  animation: reveal-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reveal--1 { animation-delay: 0.05s; }
.reveal--2 { animation-delay: 0.15s; }
.reveal--3 { animation-delay: 0.25s; }
.reveal--4 { animation-delay: 0.38s; }

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   7. STICKY MOBILE CALL BUTTON
   ========================================================================== */

.sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-border);
}

.sticky-call .btn {
  width: 100%;
}

@media (min-width: 768px) {
  .sticky-call {
    display: none;
  }
}

/* Stop the sticky bar covering page-bottom content on mobile. */
@media (max-width: 767px) {
  body.has-sticky-call {
    padding-bottom: 4.75rem;
  }
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */

.site-footer {
  background: var(--color-navy);
  color: rgb(255 255 255 / 0.75);
  font-size: 0.875rem;
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 3.5rem;
}

@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer h2 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 600;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.site-footer__list > li + li {
  margin-top: 0.5rem;
}

.site-footer__bottom {
  border-top: 1px solid rgb(255 255 255 / 0.12);
  padding-block: 1.25rem;
  font-size: 0.8125rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
}

/* ==========================================================================
   9. ARTICLE BODY (blog and service pages)
   ========================================================================== */

.prose {
  color: var(--color-fg);
  line-height: 1.75;
  font-size: 1.0625rem;
}

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

.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 0.75rem;
}

.prose h2::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--color-accent);
  margin-bottom: 0.75rem;
}

.prose h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.25rem;
}

.prose a {
  color: var(--color-accent);
  text-decoration: underline;
}

.prose ul {
  list-style: disc;
  padding-left: 1.4rem;
}

.prose ol {
  list-style: decimal;
  padding-left: 1.4rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.prose blockquote {
  border-left: 3px solid var(--color-accent);
  padding-left: 1rem;
  color: var(--color-muted);
  margin-inline: 0;
}

.prose img {
  border-radius: 0.75rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
}

.prose th,
.prose td {
  border: 1px solid var(--color-border);
  padding: 0.5rem 0.7rem;
  text-align: left;
}

/* WordPress core alignment classes used by the block editor. */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }
.wp-caption-text,
.wp-element-caption {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
}

/* ==========================================================================
   9b. INNER PAGES: header band, body layout, article furniture
   ========================================================================== */

.page-hero {
  padding-block: 2rem 3.5rem;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 700;
  max-width: 34ch;
}

.page-hero__lead {
  margin-top: 1rem;
  max-width: 46ch;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-muted);
}

.page-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.page-hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .page-hero__grid {
    grid-template-columns: 1fr 16rem;
    gap: 3rem;
  }
}

/* Decorative panel on service pages. */
.service-art {
  position: relative;
  display: none;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, var(--color-navy) 0%, var(--color-navy-2) 100%);
  box-shadow: var(--shadow-elevated);
}

@media (min-width: 900px) {
  .service-art {
    display: block;
  }
}

.service-art__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
}

.service-art__icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: oklch(0.85 0.11 232);
}

.service-art__icon .icon {
  stroke-width: 1.25;
}

/* Body: readable measure, with an optional sidebar. */
.page-body {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1000px) {
  .page-body:has(.page-side) {
    grid-template-columns: minmax(0, 1fr) 18rem;
  }
}

.page-body > .prose {
  max-width: 68ch;
}

.page-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 5.5rem;
}

.quote-card {
  padding: 1.5rem;
  border-top: 2px solid var(--color-accent);
}

.quote-card__label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-accent);
}

.quote-card__text {
  margin-top: 0.6rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.quote-card .btn {
  width: 100%;
  margin-top: 1.1rem;
}

.quote-card__note {
  margin-top: 0.6rem;
  font-size: 0.8125rem;
  color: var(--color-muted);
  text-align: center;
}

.side-nav h2 {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-muted);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--color-border);
}

.side-nav li {
  border-bottom: 1px solid var(--color-border);
}

.side-nav a {
  display: block;
  padding: 0.6rem 0;
  font-size: 0.9375rem;
}

.side-nav a:hover {
  color: var(--color-accent);
  padding-left: 0.25rem;
  transition: padding-left 0.15s ease;
}

/* Closing call to action. */
.closing-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.closing-cta h2 {
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 700;
}

.closing-cta p {
  margin-top: 0.4rem;
  font-size: 0.9375rem;
}

.closing-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.closing-cta--inline {
  padding: 2rem;
  margin-top: 3rem;
  max-width: 68ch;
}

/* Article furniture. */
.article-head h1 {
  margin-top: 0.75rem;
}

.article-cover {
  margin: 0 0 2.5rem;
  max-width: 68ch;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.cover-art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-body {
  max-width: 68ch;
}

.post-card__media {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-frost);
}

/* Brands we install. */
.brands {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .brands {
    grid-template-columns: 22rem 1fr;
    gap: 3.5rem;
  }
}

.brands__intro h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
}

.brands__intro p.muted {
  margin-top: 0.6rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.brands__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.brands__item {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.375rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-navy);
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.7rem 1.25rem;
  box-shadow: var(--shadow-soft);
}

/* Footer legal links. */
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  align-items: center;
}

.site-footer__legal a:hover,
.site-footer__cookie:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__cookie {
  padding: 0;
  font-size: inherit;
  text-align: left;
}

/* Cookie consent. */
.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: #fff;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 30px rgb(13 24 51 / 0.12);
}

/* Sit above the sticky call bar on mobile. */
@media (max-width: 767px) {
  .cookie {
    bottom: 0;
  }
  body.has-sticky-call .sticky-call {
    display: none;
  }
}

.cookie__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 1.1rem 1.25rem calc(1.1rem + env(safe-area-inset-bottom));
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .cookie__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: start;
    padding-inline: 2rem;
  }
}

.cookie__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
}

.cookie__body {
  margin-top: 0.4rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 68ch;
}

.cookie__body a {
  color: var(--color-accent);
  text-decoration: underline;
}

.cookie__options {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.cookie__opt {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.8125rem;
  cursor: pointer;
}

.cookie__opt input {
  margin-top: 0.15rem;
  flex: none;
}

.cookie__opt strong {
  display: block;
  color: var(--color-fg);
}

.cookie__opt em {
  font-style: normal;
  color: var(--color-muted);
}

.cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.cookie__actions .btn {
  padding: 0.6rem 1.1rem;
  font-size: 0.875rem;
}

.cookie__more {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-muted);
  text-decoration: underline;
  padding: 0.5rem 0.25rem;
}

.cookie__more:hover {
  color: var(--color-accent);
}

.product-service-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--color-border);
  border-left: 2px solid var(--color-accent);
  border-radius: var(--radius);
  background: var(--color-frost);
  font-size: 0.9375rem;
  color: var(--color-muted);
  max-width: 44rem;
}

.product-service-link .icon {
  color: var(--color-accent);
}

.product-service-link a {
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product-service-link a:hover {
  color: var(--color-accent);
}

/* Search results. */
.search-group {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-accent);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--color-border);
  margin-top: 3rem;
}

.search-group:first-of-type {
  margin-top: 0;
}

.search-results li {
  border-bottom: 1px solid var(--color-border);
}

.search-results a {
  display: block;
  padding: 1rem 0;
  max-width: 68ch;
}

.search-results a:hover .search-results__title {
  color: var(--color-accent);
}

.search-results__title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-navy);
}

.search-results__excerpt {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

/* Numbered process steps. */
.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.steps__item {
  position: relative;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-accent);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.steps__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
}

.steps__item h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.steps__item p {
  font-size: 0.875rem;
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* Cost or duration for the step: the detail that makes the process
   concrete rather than a generic four-box diagram. */
.steps__meta {
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-navy);
}

/* FAQ accordion. Uses <details>, so it works with no JavaScript and is
   keyboard accessible by default. */
.faq {
  max-width: 52rem;
  border-top: 1px solid var(--color-border);
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-navy);
  list-style: none;
}

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

.faq__item summary:hover {
  color: var(--color-accent);
}

.faq__chev {
  flex: none;
  color: var(--color-accent);
  transition: transform 0.2s ease;
}

.faq__item[open] .faq__chev {
  transform: rotate(180deg);
}

.faq__item p {
  padding: 0 0 1.25rem;
  max-width: 68ch;
  color: var(--color-muted);
  line-height: 1.7;
}

/* Reference project cards. */
.project__media {
  position: relative;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-frost);
}

.project__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project__year {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  background: color-mix(in oklch, var(--color-navy) 82%, transparent);
  backdrop-filter: blur(4px);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  font-variant-numeric: tabular-nums;
}

/* Partners band. */
.partners__title {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-muted);
  text-align: center;
  margin-bottom: 2rem;
}

.partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2.5rem;
}

.partners__item {
  display: grid;
  place-items: center;
  min-width: 7rem;
  padding: 0.5rem;
}

.partners__item img {
  max-height: 3rem;
  width: auto;
  opacity: 0.72;
  filter: grayscale(1);
  transition: opacity 0.15s ease, filter 0.15s ease;
}

.partners__item img:hover {
  opacity: 1;
  filter: none;
}

/* 404. */
.error-page {
  max-width: 44rem;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 7rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-navy);
  opacity: 0.14;
  margin-bottom: -0.5rem;
}

.error-page h1 {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 700;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Pagination. */
.pagination,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 3rem;
  font-size: 0.9375rem;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-weight: 600;
}

.pagination .page-numbers:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.pagination .page-numbers.current {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #fff;
}

/* ==========================================================================
   10. CATALOG
   ========================================================================== */

.border-b {
  border-bottom: 1px solid var(--color-border);
}

/* --- Catalog hero --------------------------------------------------------- */

.catalog-hero {
  padding-block: 3.5rem;
}

.catalog-hero h1 {
  font-size: clamp(1.9rem, 5vw, 2.75rem);
  font-weight: 700;
}

.catalog-hero__lead {
  margin-top: 0.85rem;
  max-width: 40rem;
  color: var(--color-muted);
  font-size: 1.0625rem;
}

.catalog-hero__lead strong {
  color: var(--color-navy);
}

/* --- Product-type tiles --------------------------------------------------- */

.type-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.type-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1rem 1.1rem;
  text-align: left;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.type-tile:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.type-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.6rem;
  background: var(--color-ice);
  color: var(--color-navy);
}

.type-tile__name {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

.type-tile__count {
  font-size: 0.75rem;
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
}

.type-tile.is-active {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #fff;
}

.type-tile.is-active .type-tile__icon {
  background: var(--color-accent);
  color: #fff;
}

.type-tile.is-active .type-tile__count {
  color: rgb(255 255 255 / 0.7);
}

/* --- Search --------------------------------------------------------------- */

.search-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 22rem;
  max-width: 34rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-card);
  padding: 0 0.7rem;
  color: var(--color-muted);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.search-field:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px oklch(0.58 0.16 248 / 0.15);
}

.search-field input {
  flex: 1;
  border: 0;
  outline: none;
  background: none;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--color-fg);
  padding: 0.6rem 0;
  min-width: 0;
}

.search-field input::-webkit-search-cancel-button {
  display: none;
}

.search-field__clear {
  display: inline-flex;
  padding: 0.25rem;
  color: var(--color-muted);
  border-radius: 4px;
}

.search-field__clear:hover {
  color: var(--color-accent);
}

.filters__row--search {
  align-items: center;
}

/* --- Filters -------------------------------------------------------------- */

.filters {
  margin-bottom: 2.5rem;
}

.filters__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding-block: 0.7rem;
}

.filters__label {
  flex: none;
  width: 100%;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-muted);
}

@media (min-width: 640px) {
  .filters__label {
    width: 7rem;
  }
}

.filters__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.filters__count {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-right: auto;
}

.filters__reset {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-muted);
  text-decoration: underline;
  padding: 0.25rem;
}

.filters__reset:hover {
  color: var(--color-accent);
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  cursor: pointer;
}

.sort select {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.4rem 0.55rem;
  background: var(--color-card);
  font: inherit;
  font-size: 0.875rem;
  color: inherit;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  position: relative;
  cursor: pointer;
}

/* The native checkbox stays focusable but is visually replaced by the pill. */
.chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.chip > span {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  border-radius: var(--radius);
  padding: 0.5rem 0.875rem;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.chip > span strong {
  font-size: 0.875rem;
  font-weight: 600;
}

.chip > span em {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.chip:hover > span {
  border-color: var(--color-accent);
  background: var(--color-frost);
}

.chip input:checked + span {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #fff;
}

.chip input:checked + span em {
  color: rgb(255 255 255 / 0.7);
}

.chip input:focus-visible + span {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.catalog__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.catalog__count {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-right: auto;
}

.catalog__sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.catalog__sort select {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.45rem 0.6rem;
  background: var(--color-card);
  font: inherit;
  color: inherit;
}

.chip--plain > span {
  padding-block: 0.45rem;
}

.catalog__empty {
  text-align: center;
  color: var(--color-muted);
  padding: 3rem 1rem;
}

.catalog__empty a {
  color: var(--color-accent);
  font-weight: 600;
}

/* --- Product cards ------------------------------------------------------- */

.product[hidden] {
  display: none;
}

/* --- Product imagery ------------------------------------------------------ */

.product__media {
  position: relative;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-frost);
}

.product-art {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* The extracted product photos sit on a white canvas, so on a white card
   they read as a white box floating on white. Multiply blends the white
   canvas into the frost tint behind it while leaving the unit untouched. */
.product-art--photo {
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-single__media {
  margin-top: 2.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-frost);
  max-width: 44rem;
}

.product-single__media .product-art {
  aspect-ratio: 16 / 9;
}

.product__brand {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-muted);
}

.product__title {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.35rem;
  line-height: 1.3;
}

.product__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin: 0.85rem 0 0;
}

.product__specs div {
  display: flex;
  flex-direction: column;
}

.product__specs dt {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
}

.product__specs dd {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.product__flag {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: oklch(0.42 0.12 55);
  background: oklch(0.95 0.05 78);
  border: 1px solid oklch(0.86 0.08 78);
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
}

.product__price {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  font-variant-numeric: tabular-nums;
}

.product__price span {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-muted);
  margin-left: 0.35rem;
}

/* --- Single product ------------------------------------------------------ */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
}

.breadcrumbs a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.product-single__head {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .product-single__head {
    grid-template-columns: 1fr 20rem;
    gap: 3rem;
  }
}

.product-single__head h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
}

.product-single__lead {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--color-muted);
  line-height: 1.7;
}

.product-single__image {
  border-radius: var(--radius-lg);
  margin-top: 2.5rem;
  width: 100%;
}

.notice {
  margin-top: 1.5rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.notice--warn {
  background: oklch(0.97 0.035 85);
  border: 1px solid oklch(0.86 0.08 80);
  color: oklch(0.42 0.09 60);
}

.price-box {
  padding: 1.5rem;
  position: sticky;
  top: 5.5rem;
}

.price-box__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-muted);
}

.price-box__value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-navy);
  font-variant-numeric: tabular-nums;
  margin-top: 0.35rem;
}

.price-box__alt {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-top: 0.35rem;
}

.price-box__note {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
}

.price-box__valid {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
}

.spec-heading {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  margin-top: 3.5rem;
}

.spec-group {
  margin-top: 2rem;
}

.spec-group h3 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.spec-table {
  margin: 0;
}

.spec-table > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 640px) {
  .spec-table > div {
    grid-template-columns: 18rem 1fr;
    gap: 1.5rem;
    align-items: baseline;
  }
}

.spec-table dt {
  font-size: 0.875rem;
  color: var(--color-muted);
}

.spec-table dd {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
}

.product-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  margin-top: 3.5rem;
}

.product-cta h2 {
  font-size: 1.25rem;
  font-weight: 700;
}

.product-cta p {
  margin-top: 0.35rem;
  font-size: 0.9375rem;
}

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