/* VRHAS UI-Kit по ТЗ */
:root {
  --primary: #2E7D32;
  --primary-hover: #27692B;
  --accent: #F4A261;
  --accent-hover: #E08E45;
  --bg: #F8F9F4;
  --card: #FFFFFF;
  --border: #E6E6E6;
  --text: #1B1B1B;
  --text-secondary: #6B6B6B;
  --text-disabled: #BDBDBD;
  --error: #D32F2F;
  --success: #2E7D32;
  --shadow-card: 0 4px 20px rgba(0,0,0,0.05);
}

body { font-family: 'Manrope', sans-serif; background: var(--bg); color: var(--text); }
[x-cloak] { display: none !important; }

/* Typography */
.text-h1 { font-size: 40px; line-height: 48px; font-weight: 600; }
.text-h2 { font-size: 32px; font-weight: 600; }
.text-h3 { font-size: 24px; font-weight: 600; }
.text-h4 { font-size: 20px; font-weight: 600; }
.text-body-lg { font-size: 18px; }
.text-body { font-size: 16px; }
.text-small { font-size: 14px; }
.text-caption { font-size: 12px; }

/* Buttons */
.btn-primary {
  height: 48px; padding: 0 24px; border-radius: 12px;
  background: var(--primary); color: white; font-weight: 500; font-size: 16px;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary {
  height: 48px; padding: 0 24px; border-radius: 12px;
  border: 1px solid var(--primary); color: var(--primary); background: transparent;
  font-weight: 500; font-size: 16px; transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(46,125,50,0.08); }
.btn-accent {
  height: 48px; padding: 0 24px; border-radius: 12px;
  background: var(--accent); color: white; font-weight: 500;
  transition: background 0.2s;
}
.btn-accent:hover { background: var(--accent-hover); }

/* Product card */
.product-card {
  border-radius: 16px; padding: 16px; background: var(--card);
  box-shadow: var(--shadow-card); border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover { transform: scale(1.02); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }

/* Сетка каталога: превью на всю ширину карточки (без бокового padding у фото) */
.product-card.product-card--catalog {
  padding: 0;
  overflow: hidden;
}

/* Inputs */
.input-field {
  height: 48px; border-radius: 10px; border: 1px solid #DADADA;
  padding: 0 16px; font-size: 16px; transition: border-color 0.2s;
}
textarea.input-field { height: auto; min-height: 100px; padding: 12px 16px; }
.input-field:focus { outline: none; border-color: var(--primary); }
.input-field.error { border-color: var(--error); }
.input-label { font-size: 14px; margin-bottom: 8px; color: var(--text-secondary); }

/* Links */
a.link-primary { color: var(--primary); }
a.link-primary:hover { color: var(--primary-hover); text-decoration: underline; }
