/* Охра — классиканын репродукциялары */
:root {
  --bg: #F4EFE6;
  --bg-2: #EAE2D3;
  --ink: #1E1B18;
  --olive: #2B2A22;
  --muted: #5C554A;
  --text-2: #4A443B;
  --line: #DCD3C2;
  --accent: #D49A3A;      /* охра */
  --accent-dark: #8A5A12;
  --light: #CFC6B4;
  --wrap: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'PT Sans', system-ui, sans-serif;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, .serif { font-family: 'PT Serif', Georgia, serif; font-weight: 400; margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 48px; }
.eyebrow { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-dark); }

/* Шапка */
.header { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg); z-index: 10; }
.header .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; padding-top: 18px; padding-bottom: 18px; }
.nav { display: flex; flex-wrap: wrap; gap: 28px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: 'PT Serif', serif; font-weight: 700; font-size: 26px; letter-spacing: .18em; }
.logo::before { content: ""; width: 18px; height: 18px; background: var(--accent); }
.header-right { display: flex; gap: 20px; align-items: center; }
.cart { background: var(--ink); color: var(--bg); padding: 12px 20px; border: 0; font: inherit; cursor: pointer; }
.cart:hover { background: var(--accent-dark); color: var(--bg); }

/* Баннер */
.hero { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero-text { flex: 1 1 460px; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-size: clamp(40px, 5vw, 68px); line-height: 1.05; }
.hero h1 em { color: var(--accent-dark); }
.hero p { margin: 0; font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: 500px; }
.buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-block; background: var(--accent); color: var(--ink); padding: 18px 32px; font-weight: 700; }
.btn:hover { background: var(--ink); color: var(--bg); }
.link-btn { border-bottom: 2px solid var(--ink); padding: 16px 4px; }
.collage { flex: 1 1 460px; position: relative; height: 560px; }
.collage img { position: absolute; object-fit: cover; }
.collage .c-a { left: 0; top: 0; width: 56%; height: 100%; box-shadow: 0 24px 48px rgba(30,27,24,.25); }
.collage .c-b { right: 0; top: 40px; width: 50%; aspect-ratio: 960/745; border: 10px solid var(--bg); }
.collage .c-c { right: 6%; bottom: 0; width: 34%; aspect-ratio: 960/1221; border: 10px solid var(--bg); }

/* Сүрөтчүлөр тилкеси */
.strip { background: var(--ink); color: var(--bg); }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; font-family: 'PT Serif', serif; font-style: italic; font-size: 22px; }
.strip .star { color: var(--accent); }

/* Каталог */
.catalog { padding-top: 96px; padding-bottom: 96px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 44px; }
.catalog h2 { font-size: 52px; }
.filters { display: flex; flex-wrap: wrap; gap: 28px; font-size: 17px; }
.filters button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 4px 0; font: inherit; color: var(--muted); cursor: pointer; }
.filters button.active { border-color: var(--accent); color: var(--ink); font-weight: 700; }
.grid { columns: 3 300px; column-gap: 40px; }
.card { break-inside: avoid; margin-bottom: 48px; display: flex; flex-direction: column; gap: 12px; }
.card img { width: 100%; transition: transform .3s; }
.card:hover img { transform: scale(1.02); }
.card-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card h3 { font-size: 24px; }
.price { font-weight: 700; font-size: 18px; white-space: nowrap; }
.meta { font-size: 15px; color: var(--muted); }
.buy { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--accent-dark); cursor: pointer; }
.buy:hover { color: var(--ink); }

/* ============================================================
   TODO: стили для остальных блоков нужно написать самому:
   .how (шаги), .feature (тёмный блок с картинкой),
   .studio (устакана), .footer (подвал), .toast (сообщение «себетке кошулду»).
   Цвета уже есть в переменных вверху файла: var(--olive), var(--accent) и др.
   ============================================================ */

/* Телефон */
@media (max-width: 700px) {
  .wrap { padding: 0 20px; }
  .collage { height: 420px; }
  .catalog h2 { font-size: 34px; }
  .strip .wrap { font-size: 17px; justify-content: center; }
}
