/*
Theme Name: Tablouri Celebre
Theme URI: https://www.tablouricelebre.ro
Author: Vendorama SRL
Description: Lightweight WooCommerce-ready theme for tablouricelebre.ro.
Version: 0.1.2
Text Domain: tablouri-celebre
*/

:root {
  --tc-bg: #f4f6f1;
  --tc-surface: #ffffff;
  --tc-text: #1d1b18;
  --tc-muted: #59615c;
  --tc-accent: #b88a3d;
  --tc-green: #24342f;
  --tc-line: #d8ded6;
  --tc-danger: #7c2f43;
  --tc-max: 1180px;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.site-header {
  border-bottom: 1px solid var(--tc-line);
  background: rgba(247, 243, 234, 0.96);
}

.site-header__inner,
.site-main,
.site-footer__inner {
  width: min(var(--tc-max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 14px;
}

.site-nav__menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  text-decoration: none;
}

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

.button,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--tc-text);
  border-radius: 4px;
  background: var(--tc-text);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.button--secondary {
  background: transparent;
  color: var(--tc-text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 42px;
  align-items: center;
  padding: 56px 0 42px;
}

.hero__copy h1 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero__copy p {
  max-width: 620px;
  margin: 0 0 24px;
  color: var(--tc-muted);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__art {
  aspect-ratio: 4 / 5;
  border: 10px solid var(--tc-surface);
  background: url("assets/hero-canvas-wall.jpg") center / cover no-repeat;
  box-shadow: 0 24px 70px rgba(29, 27, 24, 0.18);
}

.section {
  padding: 44px 0;
  border-top: 1px solid var(--tc-line);
}

.section h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  letter-spacing: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--tc-line);
  border-radius: 6px;
  background: var(--tc-surface);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.card p {
  margin: 0;
  color: var(--tc-muted);
}

.site-footer {
  margin-top: 56px;
  padding: 28px 0;
  border-top: 1px solid var(--tc-line);
  color: var(--tc-muted);
  font-size: 14px;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  border: 1px solid var(--tc-line);
  border-radius: 6px;
  background: var(--tc-surface);
  padding: 14px;
}

@media (max-width: 820px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

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