/*
  Light refresh on top of the original style.css (2026-10):
  readable type, cleaner menu, price table and product cards.
  Keeps the original colors, images and page structure.
*/
:root {
  --bg: #202c2d;
  --bg-deep: #1a2425;
  --surface: #26353a;
  --surface-2: #2e3f44;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef0ea;
  --muted: #a9b3ad;
  --sand: #dbc39b;
  --accent: #6fb7a6;
  --accent-strong: #8fd3c2;
  --radius: 10px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h2, h3 {
  font-family: var(--font);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
}
h2 { font-size: 24px; line-height: 1.25; margin-bottom: 0.8em; }
h3 { font-size: 18px; }

p { line-height: 1.6; }

a, .second-content a, .second-content a:visited {
  color: var(--accent-strong);
  transition: color 0.15s ease;
}
a:hover, .second-content a:hover { color: #fff; }

/* ---------- top menu on inner pages */
.menu { margin: 28px 0 36px; }
.menu ul { width: auto; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.menu ul li { float: none; margin: 0; }
.menu ul li a {
  display: block;
  padding: 7px 16px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 15px;
  color: #e0e0cf;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.menu ul li a:hover { background: var(--surface-2); color: #fff; text-decoration: none; }
.menu ul li.active a { background: var(--accent); color: #10201d; }

/* ---------- content column */
#main { padding: 0 1.2em 2em; }
.second-content { color: var(--text); }
.second-content ol, .second-content ul { margin-left: 0.2em; }
.second-content li { margin: 0.2em 0; }

/* ---------- product cards (left column + home page) */
#goods .item .info,
#left-collumn #goods .item .info {
  background: rgba(70, 84, 90, 0.85);
  border-radius: 6px;
  padding: 5px 4px;
  font-family: var(--font);
}
#goods .item .info a {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
#goods .item .info a span { font-weight: 400; opacity: 0.85; white-space: nowrap; }
#left-collumn #goods .item { margin: 0 auto 18px; transition: transform 0.15s ease; }
#left-collumn #goods .item:hover { transform: translateY(-2px); }

/* ---------- price table */
#price {
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}
#price th {
  background: var(--surface-2);
  color: #fff;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  padding: 11px 10px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
#price th em { display: block; color: var(--muted); font-weight: 400; font-size: 11px; }
#price td {
  font-family: var(--font);
  font-size: 14px;
  color: var(--sand);
  padding: 8px 10px;
  border-right: none;
  border-bottom: 1px solid var(--line);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
#price td:first-child { color: var(--muted); text-align: center; font-size: 12px; }
#price td.name {
  background: transparent;
  color: var(--text);
  font-weight: 500;
  text-align: left;
  padding-left: 12px;
}
#price tr.odd, #price tr.even { height: auto; background: transparent; }
#price tr.odd td { background-color: rgba(255, 255, 255, 0.025); }
#price tr:last-child td { border-bottom: none; }
#price tr:hover td { background-color: rgba(111, 183, 166, 0.12); }
#price input {
  width: 80px;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  text-align: right;
}

.price-note {
  margin: -0.2em 0 1.2em;
  padding: 10px 14px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(111, 183, 166, 0.1);
  color: var(--text);
}
small.float-right { color: var(--muted); margin-top: 8px; }

.price-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 18px; }
.price-actions a, input[type="submit"], input[type="button"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text) !important;
  font: 500 14px var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.price-actions a:hover, input[type="submit"]:hover, input[type="button"]:hover { background: var(--surface-2); }
.price-actions img { width: 16px; height: 16px; }

/* ---------- news & home */
.news .body, #main .row .body, #content { font-family: var(--font); font-size: 13px; line-height: 1.6; text-align: left; }
.news .date { font-family: var(--font); font-weight: 600; font-size: 16px; }
#main .row { border-bottom: 1px solid var(--line); }
#main .row .title { font-family: var(--font); color: var(--muted); font-size: 14px; }
#contacts { font-family: var(--font); }

/* ---------- gallery */
#galery .photo img { border: none; border-radius: 6px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); transition: transform 0.15s ease; }
#galery .photo a:hover img { transform: scale(1.03); }

/* ---------- forms */
input[type="text"], input[type="password"], textarea {
  padding: 6px 8px;
  border: 1px solid #55666b;
  border-radius: 6px;
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
