/* ==========================================================================
   rinta.la — Minimalist Showroom Stylesheet (modeled on wp.rintala.fi)
   Pure Semantic CSS (Zero JS)
   ========================================================================== */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/Outfit-Variable.woff2") format("woff2");
}

:root {
  --base: #ffffff;
  --contrast: #000000;
  --text-main: #111111;
  --showroom-border-color: #e5e5e5;
  --showroom-border-subtle: #f0f0f0;
  --showroom-text-muted: #737373;
  --showroom-bg-subtle: #fafafa;
  --showroom-ease: cubic-bezier(0.25, 1, 0.5, 1);

  --font-sans: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --content-size: 680px;
  --wide-size: 1200px;
  --archive-wide-size: 1320px;

  --spacing-x-small: 20px;
  --spacing-small: clamp(30px, 4vw, 40px);
  --spacing-medium: clamp(40px, 6vw, 60px);
  --spacing-large: clamp(60px, 8vw, 80px);
  --spacing-x-large: clamp(80px, 10vw, 100px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Accessibility / Screen-reader only */
.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;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--base);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.75;
}

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

a {
  color: var(--contrast);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

a:focus-visible {
  outline: 1px solid var(--contrast);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 0;
  color: var(--contrast);
}

h1 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  margin-bottom: 14px;
}

h3 {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

p {
  margin-top: 0;
  margin-bottom: 18px;
}

.container {
  width: 100%;
  max-width: var(--archive-wide-size);
  margin-inline: auto;
  padding-inline: 30px;
}

/* ==========================================================================
   Site Header (rinta.la on left, Navigation centered, Lang switch on right)
   ========================================================================== */

.site-header {
  background-color: var(--base);
  border-bottom: 1px solid var(--showroom-border-subtle);
  padding: 26px 30px;
}

.header-inner {
  max-width: var(--wide-size);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.site-brand {
  justify-self: start;
}

.site-title {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--contrast);
  text-decoration: none;
}

.site-title:hover {
  opacity: 0.7;
}

.site-nav {
  justify-self: center;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  font-size: 1rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: var(--contrast);
  font-weight: 400;
  padding-block: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.site-actions {
  justify-self: end;
  display: flex;
  align-items: center;
}

.lang-switch {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--contrast);
  text-decoration: none;
  padding: 5px 10px;
  border: 1px solid var(--showroom-border-color);
  border-radius: 2px;
  line-height: 1.2;
}

.lang-switch:hover {
  border-color: var(--contrast);
  opacity: 1;
}

/* ==========================================================================
   Main Wrapper & Welcome Cover (matching wp.rintala.fi)
   ========================================================================== */

.site-main {
  flex: 1;
}

.showroom-welcome-cover {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: var(--spacing-x-large) var(--spacing-large);
  background-color: #12100e;
  overflow: hidden;
}

.showroom-welcome-cover-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.showroom-welcome-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 16, 14, 0.10) 0%,
    rgba(18, 16, 14, 0.28) 48%,
    rgba(14, 13, 11, 0.78) 100%
  );
  z-index: 2;
}

.showroom-welcome-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--wide-size);
  margin-inline: auto;
}

.showroom-welcome-box {
  max-width: 680px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
}

.showroom-welcome-eyebrow {
  color: #e6dfd5;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.showroom-welcome-title {
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 18px;
}

.showroom-welcome-lead {
  color: #d8cfb8;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 14px;
}

.showroom-welcome-body {
  color: #f2efe9;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.7;
  margin-bottom: 26px;
}

.showroom-welcome-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-cover-solid {
  display: inline-block;
  background-color: #ffffff;
  color: #000000;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid #ffffff;
}

.btn-cover-solid:hover {
  background-color: #f0ece4;
  color: #000000;
  opacity: 1;
}

.btn-cover-outline {
  display: inline-block;
  background-color: transparent;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 28px;
  border: 1px solid #ffffff;
}

.btn-cover-outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  opacity: 1;
}

/* ==========================================================================
   Showroom Archive & Category Sections
   ========================================================================== */

.showroom-archive-container {
  padding-top: var(--spacing-medium);
  padding-bottom: var(--spacing-x-large);
}

.showroom-archive-header {
  max-width: 800px;
  margin-bottom: var(--spacing-medium);
}

.showroom-archive-header h1,
.showroom-archive-header h2 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.showroom-archive-header p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--showroom-text-muted);
  margin-bottom: 0;
}

/* Category Filter Bar */
.category-nav-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  margin-bottom: 24px;
}

.category-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--showroom-text-muted);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--showroom-border-color);
  border-radius: 2px;
  line-height: 1.3;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.category-pill:hover {
  border-color: var(--contrast);
  color: var(--contrast);
  opacity: 1;
}

.category-pill[aria-current="page"] {
  background-color: var(--contrast);
  border-color: var(--contrast);
  color: var(--base);
}

.category-section {
  margin-bottom: var(--spacing-large);
}

.category-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--showroom-border-color);
  padding-bottom: 12px;
  margin-bottom: 28px;
}

.category-header h1,
.category-header h2 {
  margin-bottom: 0;
  font-weight: 300;
}

.category-header-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--showroom-text-muted);
  text-decoration: none;
}

.category-header-link:hover {
  color: var(--contrast);
  opacity: 1;
}

.category-section-intro {
  max-width: 800px;
  margin-top: -12px;
  margin-bottom: 24px;
  color: var(--showroom-text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.category-section-intro p {
  margin-bottom: 0;
}

/* ==========================================================================
   Product Cards & Query Loops (exact match to showroom-frontend.css)
   ========================================================================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
}

.showroom-card-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  position: relative;
}

.showroom-card-media-wrap {
  position: relative;
  overflow: hidden;
  background-color: var(--showroom-bg-subtle);
  border-radius: 0;
  aspect-ratio: 1 / 1;
}

.showroom-card-image {
  display: block;
  width: 100%;
  height: 100%;
}

.showroom-card-media-wrap img,
.showroom-card-image img {
  transition: transform 0.55s var(--showroom-ease), filter 0.55s var(--showroom-ease);
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showroom-card-item:hover .showroom-card-media-wrap img,
.showroom-card-item:hover .showroom-card-image img {
  transform: scale(1.035);
}

.showroom-card-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 12px;
}

.showroom-card-title {
  margin: 0 !important;
  font-weight: 400 !important;
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.showroom-card-title a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.showroom-card-title a:hover {
  opacity: 0.65;
}

/* Taxonomy & Status Badges */
.showroom-badge-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.showroom-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--showroom-text-muted);
  text-decoration: none;
  padding: 2px 7px;
  border: 1px solid var(--showroom-border-color);
  border-radius: 2px;
  line-height: 1.3;
  transition: border-color 0.2s, color 0.2s;
}

a.showroom-badge:hover {
  border-color: #000;
  color: #000;
  opacity: 1;
}

.status-available {
  color: #1f5132;
  border-color: #cce3d4;
  background-color: #f4faf6;
}

.status-made-to-order,
.status-order {
  color: #6b4c1b;
  border-color: #e6d8c3;
  background-color: #fcf9f4;
}

.showroom-dimension-overview {
  font-size: 14px;
  color: var(--showroom-text-muted);
  letter-spacing: 0.01em;
  font-weight: 400;
}

/* ==========================================================================
   Navigation Back Link
   ========================================================================== */

.showroom-nav-back {
  max-width: var(--wide-size);
  margin: 0 auto var(--spacing-small) auto;
}

.showroom-back-anchor {
  text-decoration: none;
  color: var(--showroom-text-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.showroom-back-anchor:hover {
  color: #000;
  opacity: 1;
}

/* ==========================================================================
   Tuotekortti v2 (matching tuotekortti-pohja.jpeg WITHOUT black border lines)
   ========================================================================== */

.showroom-tuotekortti-template {
  padding-top: var(--spacing-small);
  padding-bottom: var(--spacing-x-large);
}

.showroom-tuotekortti {
  max-width: var(--wide-size);
  margin: 0 auto;
  padding: 12px 0 36px;
  background: #ffffff;
  border: none;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Hidden Radio Inputs for Pure-CSS Interactive Hero & Slideshow */
.showroom-tk-radio,
.showroom-tk-slide-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

/* 1. NIMI */
.showroom-tk-header {
  margin: 0;
}

.showroom-tk-title {
  margin: 0 !important;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
  color: #111;
}

.showroom-tk-subtitle {
  margin: 6px 0 0 !important;
  font-size: 15px;
  color: var(--showroom-text-muted);
}

/* 2. TUOTEKUVA JPG (1 suuri pääkuva) */
.showroom-tk-main-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 700px;
  border: none;
  background: var(--showroom-bg-subtle);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showroom-tk-main-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

/* Show active hero image based on checked radio input */
#tk-hero-0:checked ~ .showroom-tk-main-photo .tk-img-0,
#tk-hero-1:checked ~ .showroom-tk-main-photo .tk-img-1,
#tk-hero-2:checked ~ .showroom-tk-main-photo .tk-img-2,
#tk-hero-3:checked ~ .showroom-tk-main-photo .tk-img-3,
#tk-hero-4:checked ~ .showroom-tk-main-photo .tk-img-4 {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* 3. TUOTETIETO TEKSTI */
.showroom-tk-text-box {
  border: none;
  padding: 4px 0;
  background: #ffffff;
  font-size: 17px;
  line-height: 1.7;
  color: #222;
}

.showroom-tk-body-text {
  max-width: 820px;
}

.showroom-tk-body-text p:first-child {
  margin-top: 0;
}

.showroom-tk-body-text p:last-child {
  margin-bottom: 0;
}

.showroom-tk-meta-summary {
  max-width: 820px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--showroom-border-subtle);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
}

.showroom-tk-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* 4. 4 PIENTÄ KUVAA JOITA VOI SELATA (heräte kuva 1 - 4) */
.showroom-tk-teaser-section {
  width: 100%;
}

.showroom-tk-teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}

.showroom-tk-teaser-card {
  aspect-ratio: 1 / 1;
  border: none;
  background: var(--showroom-bg-subtle);
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.78;
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.showroom-tk-teaser-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.showroom-tk-teaser-card:hover {
  opacity: 1;
}

.showroom-tk-teaser-card:hover img {
  transform: scale(1.04);
}

#tk-hero-1:checked ~ .showroom-tk-teaser-section label[for="tk-hero-1"],
#tk-hero-2:checked ~ .showroom-tk-teaser-section label[for="tk-hero-2"],
#tk-hero-3:checked ~ .showroom-tk-teaser-section label[for="tk-hero-3"],
#tk-hero-4:checked ~ .showroom-tk-teaser-section label[for="tk-hero-4"] {
  opacity: 1;
}

/* 5. MITTAKUVA & HINNASTO (PDF / KUVA) */
.showroom-tk-pdf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.showroom-tk-pdf-box {
  min-height: 120px;
  border: 1px solid var(--showroom-border-color);
  background: var(--showroom-bg-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  text-decoration: none !important;
  color: #111 !important;
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  border-radius: 2px;
}

.showroom-tk-pdf-box:hover {
  background: #f0eee8;
  border-color: #111;
  transform: translateY(-2px);
  opacity: 1;
}

.showroom-tk-pdf-box.has-thumb {
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  padding: 0;
  overflow: hidden;
  gap: 0;
}

.showroom-tk-doc-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 240px;
  max-height: 340px;
  background: #ffffff;
  border-bottom: 1px solid var(--showroom-border-color);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.showroom-tk-doc-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #ffffff;
  transition: transform 0.35s ease;
}

.showroom-tk-pdf-box:hover .showroom-tk-doc-thumb-img {
  transform: scale(1.03);
}

.showroom-tk-doc-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(17, 17, 17, 0.88);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 2px;
  line-height: 1.2;
}

.showroom-tk-doc-meta {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--showroom-bg-subtle);
  transition: background-color 0.2s ease;
}

.showroom-tk-pdf-box:hover .showroom-tk-doc-meta {
  background: #f0eee8;
}

.showroom-tk-pdf-title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 2px;
  color: #111;
}

.showroom-tk-pdf-sub {
  font-size: 13px;
  color: var(--showroom-text-muted);
}

/* 6. TUOTEKUVAT ALLEKKAIN SIVUN LOPUSSA */
.showroom-tk-stacked-gallery {
  width: 100%;
  padding-top: 8px;
}

.showroom-gallery-stacked-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

.showroom-gallery-stacked-item {
  margin: 0 !important;
  width: 100%;
  background: var(--showroom-bg-subtle);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showroom-stacked-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: #ffffff;
}

/* Inquiry Button */
.showroom-inquiry-wrapper {
  margin-top: 24px;
}

.showroom-inquiry-wrapper.align-center {
  display: flex;
  justify-content: center;
}

.showroom-inquiry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background-color: #111;
  color: #fff;
  text-decoration: none;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, transform 0.2s ease;
  border: 1px solid #111;
  cursor: pointer;
}

.showroom-inquiry-btn:hover {
  background-color: #333;
  color: #fff;
  opacity: 1;
  transform: translateY(-1px);
}

.showroom-inquiry-arrow {
  transition: transform 0.2s ease;
}

.showroom-inquiry-btn:hover .showroom-inquiry-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Static Informational Pages (About, Contact)
   ========================================================================== */

.static-page {
  width: 100%;
}

.static-page h1 {
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.static-page h2 {
  font-size: 1.35rem;
  font-weight: 400;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--showroom-border-color);
}

.static-page p {
  max-width: 72ch;
  line-height: 1.75;
  color: #222;
}

.static-page-media {
  margin: 0 0 36px;
  background-color: var(--showroom-bg-subtle);
  max-height: 540px;
  overflow: hidden;
}

.static-page-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.product-detail-figure {
  margin: 0;
  background-color: var(--showroom-bg-subtle);
  overflow: hidden;
}

.product-detail-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ==========================================================================
   Kohteita / Projects Listing & Detail Pages (Showroom CSS)
   ========================================================================== */

.kohteet-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.showroom-card-item.kohde-row {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 40px;
  align-items: start;
  padding-top: 32px;
  border-top: 1px solid var(--showroom-border-color);
}

.kohde-row-media {
  aspect-ratio: 16 / 10;
}

.showroom-card-meta.kohde-row-content {
  margin-top: 0;
  gap: 10px;
}

.showroom-card-title.kohde-row-title {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem) !important;
  font-weight: 300 !important;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.showroom-ref-description {
  font-size: 17px;
  line-height: 1.7;
  color: #222;
  margin: 4px 0 0;
}

.kohde-row-actions {
  margin-top: 6px;
}

.showroom-kohdekortti .showroom-tk-title {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  text-transform: none;
}

.showroom-ref-main-photo {
  aspect-ratio: auto;
}

.showroom-kohdekortti .showroom-tk-body-text h2 {
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 24px 0 10px;
  color: #111;
}

/* ==========================================================================
   Site Footer (exact match to wp.rintala.fi)
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--showroom-border-subtle);
  padding: var(--spacing-small) 30px;
  font-size: 0.875rem;
  color: var(--text-main);
}

.footer-inner {
  max-width: var(--wide-size);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-copy,
.footer-links {
  margin: 0;
}

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-sep {
  margin-inline: 6px;
  color: var(--showroom-text-muted);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showroom-card-item.kohde-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .header-inner {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 14px;
  }

  .site-nav,
  .site-actions {
    justify-self: start;
  }

  .product-grid,
  .product-detail-thumbs,
  .showroom-tk-pdf-grid {
    grid-template-columns: 1fr;
  }

  .showroom-tk-teaser-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showroom-welcome-cover {
    min-height: 64vh;
    padding: var(--spacing-large) 24px;
  }
}
