/*
Theme Name: Tikkurila Lite
Author: Dijital Endustri
Version: 0.1.0
Text Domain: tikkurila-lite
*/

:root {
  --ink: #17211c;
  --muted: #637067;
  --line: #dfe5df;
  --paper: #fbfcfa;
  --surface: #ffffff;
  --forest: #154734;
  --copper: #a65f2b;
  --blue: #285f8f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: var(--forest);
}

.site-header,
.site-footer {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.site-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.site-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header .site-inner,
.site-footer .site-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  font-size: 19px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--forest), var(--blue));
}

.main-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.content-area {
  width: min(1180px, calc(100% - 32px));
  margin: 36px auto 64px;
}

.home-hero {
  padding: 56px 0 32px;
  border-bottom: 1px solid var(--line);
}

.home-hero h1 {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.03;
}

.home-hero p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 44px;
  align-items: start;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  width: auto;
  float: none;
}

.woocommerce div.product .product_title {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.06;
  margin-bottom: 14px;
}

.tce-price-request {
  display: inline-flex;
  margin: 12px 0;
  color: var(--copper);
  font-weight: 750;
}

.tce-lead-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.woocommerce a.button,
.woocommerce button.button,
.tce-lead-actions .button {
  border-radius: 6px;
  background: var(--forest);
  color: #fff;
  font-weight: 750;
  padding: 12px 16px;
}

.tce-lead-actions .tce-call {
  background: var(--blue);
}

.tce-lead-actions .tce-request {
  background: #eef3ef;
  color: var(--forest);
}

.tce-product-facts {
  clear: both;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.tce-product-facts h2 {
  font-size: 30px;
  margin: 0 0 18px;
}

.tce-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 30px;
}

.tce-fact {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 6px;
  padding: 16px;
  min-height: 120px;
}

.tce-fact strong,
.tce-fact span {
  display: block;
}

.tce-fact strong {
  margin-bottom: 8px;
  color: var(--forest);
}

.tce-fact span {
  color: var(--muted);
}

@media (max-width: 780px) {
  .site-header .site-inner,
  .site-footer .site-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .woocommerce div.product {
    display: block;
  }

  .tce-fact-grid {
    grid-template-columns: 1fr;
  }

  .tce-lead-actions {
    position: sticky;
    bottom: 0;
    z-index: 20;
    background: rgba(251, 252, 250, 0.96);
    border-top: 1px solid var(--line);
    padding: 10px 0;
  }
}
