/* Odoland — outdoor gear catalog. Палитра из лого и баннера:
   уголь лого #262220, мох травы, сланец гор/воды, серо-бежевое небо, ржавый домик. */

/* Шрифты свои: latin-подмножества с fonts.gstatic.com лежат в assets/fonts/.
   Раньше грузились с Google — это два лишних DNS+TLS на критическом пути (FCP на мобиле 2.7 с). */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/outfit-latin.woff2) format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/outfit-latin.woff2) format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/outfit-latin.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/sourcesans3-latin.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/sourcesans3-latin.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/sourcesans3-latin.woff2) format('woff2'); }

:root {
  --pine: #3e4a41;          /* сланцево-хвойный: горы + вода с баннера */
  --pine-deep: #2a332c;
  --ink: #262220;           /* уголь логотипа */
  --orange: #9d4a2e;        /* ржавый — домик на баннере (CTA) */
  --orange-dark: #82391f;
  --cream: #eceae3;         /* небо баннера */
  --card: #ffffff;
  --line: #d9d6cb;
  --muted: #6e7064;         /* оливково-серый, трава в тени */
  --star: #b98a2e;          /* охра сухой травы */
  --radius: 14px;
  --shadow: 0 2px 10px rgba(30, 40, 30, .08);
  --shadow-hover: 0 10px 26px rgba(30, 40, 30, .16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

h1, h2, h3, h4, .logo-word { font-family: 'Outfit', 'Segoe UI', Arial, sans-serif; line-height: 1.2; }
img { max-width: 100%; display: block; }
a { color: var(--pine); text-decoration: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: .02em;
  padding: 13px 30px;
  border-radius: 999px;
  border: 0;
  transition: background .18s, transform .18s;
}
.btn:hover { background: var(--orange-dark); transform: translateY(-1px); }

/* ---------- header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.logo img { height: 46px; width: auto; }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.main-nav a {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink);
  padding: 8px 11px;
  border-radius: 8px;
}
.main-nav a:hover { background: var(--cream); color: var(--pine); }
.main-nav a.active { color: var(--orange); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--pine); margin: 5px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(rgba(16, 30, 22, .55), rgba(16, 30, 22, .62)), url(../images/banner.jpg) center/cover no-repeat;
  color: #fff;
}
.hero-inner { padding: 108px 22px 118px; max-width: 1180px; margin: 0 auto; }
.hero-inner h1, .hero-inner .eyebrow { max-width: 760px; }
.eyebrow {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
}
.hero h1 { font-size: 52px; font-weight: 700; margin: 10px 0 16px; }
.hero-sub { font-size: 19px; color: #e8e4da; max-width: 560px; margin-bottom: 30px; }

/* ---------- category grid ---------- */
.categories { padding: 56px 22px 8px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transition: box-shadow .18s, transform .18s;
}
.cat-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.cat-img { aspect-ratio: 4 / 3; background: #fff; }
.cat-img img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.cat-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(20, 41, 31, .92));
  color: #fff;
  padding: 44px 18px 14px;
}
.cat-overlay h3 { font-size: 19px; }
.cat-overlay p { font-size: 13.5px; color: #d4cfc2; }

/* ---------- catalog / cards ---------- */
.catalog { padding: 52px 22px; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head h2 { font-size: 32px; color: var(--pine); }
.section-head p { color: var(--muted); margin-top: 6px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s, transform .18s;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.card-link { display: flex; flex-direction: column; flex: 1; }
.card-img { aspect-ratio: 1; background: #fff; padding: 16px; }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.card-body { padding: 14px 16px 6px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
}
.card-title { font-size: 16px; font-weight: 600; color: var(--ink); }
.card-short { font-size: 13.5px; line-height: 1.45; color: var(--muted); margin-bottom: 4px; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.price { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 19px; color: var(--pine); }
.stars .star { color: #cfc9ba; font-size: 14px; }
.stars .star.on { color: var(--star); }
.rcount { color: var(--muted); font-size: 13px; margin-left: 4px; }
.card .btn-buy { margin: 12px 16px 16px; text-align: center; padding: 11px 16px; font-size: 14.5px; }

/* ---------- value / mission bands ---------- */
.value-band { background: var(--pine); color: #fff; padding: 58px 0; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.value-item { text-align: center; }
.value-icon { font-size: 30px; margin-bottom: 10px; color: var(--orange); }
.value-item h3 { font-size: 19px; margin-bottom: 8px; }
.value-item p { color: #cfd8cf; font-size: 15px; }

.mission-band { padding: 62px 0; text-align: center; }
.mission-band h2 { font-size: 28px; color: var(--pine); max-width: 780px; margin: 0 auto 14px; }
.mission-band p { color: var(--muted); max-width: 720px; margin: 0 auto; }

/* ---------- seo content ---------- */
.seo-content { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 58px 0; }
.seo-content h2 { font-size: 27px; color: var(--pine); margin-bottom: 16px; }
.seo-content h3 { font-size: 20px; color: var(--pine); margin: 26px 0 10px; }
.seo-content p { margin-bottom: 12px; color: #3c4238; }
.seo-content ul { margin: 10px 0 14px 22px; color: #3c4238; }
.seo-content li { margin-bottom: 6px; }
.seo-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.seo-content th, .seo-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.seo-content th { background: var(--cream); font-family: 'Outfit', sans-serif; color: var(--pine); }

/* ---------- testimonials ---------- */
.testimonials { padding: 58px 0 70px; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 24px; }
.testi-stars { color: var(--star); font-size: 16px; letter-spacing: 2px; margin-bottom: 10px; }
.testi-figure { font-family: 'Outfit', sans-serif; font-weight: 600; color: var(--pine); font-size: 15px; margin-bottom: 8px; }
.testi-card p { font-size: 15.5px; color: #3c4238; }
.testi-name a { color: var(--pine); text-decoration: none; border-bottom: 1px solid rgba(30,59,47,.25); }
.testi-name a:hover { color: var(--orange); border-bottom-color: var(--orange); }
.testi-name { margin-top: 12px; font-weight: 600; color: var(--pine); }

/* ---------- page hero (category / info) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--pine-deep), var(--pine) 60%, #4d5a4f);
  color: #fff;
  padding: 54px 0 50px;
}
.page-hero h1 { font-size: 38px; margin: 8px 0 10px; }
.page-hero-sub { color: #d6dcd2; max-width: 640px; }

/* ---------- product page ---------- */
.breadcrumb { padding: 16px 22px 0; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--orange); }
.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 44px; padding: 30px 22px 50px; }
.product-media {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  align-self: start;
  position: sticky;
  top: 92px;
}
.product-media img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.product-info h1 { font-size: 27px; margin: 8px 0 12px; color: var(--ink); }
.product-meta { margin-bottom: 12px; }
.product-price { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 32px; color: var(--pine); margin-bottom: 18px; }
.product-info .btn-buy { padding: 14px 46px; font-size: 16.5px; }
.stock-note { margin-top: 10px; font-size: 14px; color: #2c7a4b; font-weight: 600; }
.affiliate-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); max-width: 520px; }
.product-intro { margin-top: 22px; color: #3c4238; font-size: 17px; }
.unavail { color: #b3462a; font-size: 18px; }

/* ---------- авторские блоки товара + спеки производителя ---------- */
.product-detail { padding: 0 22px 10px; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.feat { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; }
.feat h2 { font-size: 17px; color: var(--pine); margin-bottom: 8px; }
.feat p { color: #3c4238; font-size: 15.5px; }
.specs { padding: 34px 22px 50px; }
.specs-head { font-size: 19px; color: var(--pine); margin-bottom: 12px; }
.bullets { margin: 0 0 0 20px; }
.bullets li { margin-bottom: 10px; color: #3c4238; font-size: 15px; }
.specs-note { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ---------- info pages ---------- */
.info-page { padding: 46px 0 64px; }
.info-page .wrap { max-width: 820px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 38px 42px; }
.info-page h2 { color: var(--pine); font-size: 22px; margin: 24px 0 10px; }
.info-page h2:first-child { margin-top: 0; }
.info-page h3 { color: var(--pine); font-size: 17.5px; margin: 18px 0 8px; }
.info-page p { margin-bottom: 12px; color: #3c4238; }
.info-page ul, .info-page ol { margin: 10px 0 14px 22px; color: #3c4238; }
.info-page li { margin-bottom: 6px; }
.info-page table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.info-page th, .info-page td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.info-page th { background: var(--cream); font-family: 'Outfit', sans-serif; color: var(--pine); }
.info-page a { color: var(--orange); }

/* ---------- footer ---------- */
.site-footer { background: var(--pine-deep); color: #c9d2c9; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; padding: 52px 22px 30px; }
.logo-word { font-size: 24px; font-weight: 700; color: #fff; letter-spacing: .06em; }
.logo-word .dot { color: var(--orange); }
.tagline { color: var(--orange); font-family: 'Outfit', sans-serif; font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase; margin: 4px 0 12px; }
.foot-text { margin-bottom: 14px; }
.foot-contact p { margin-bottom: 4px; }
.foot-col h3 { color: #fff; font-size: 15.5px; margin-bottom: 12px; letter-spacing: .04em; }
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 8px; }
.foot-col a { color: #c9d2c9; }
.foot-col a:hover { color: var(--orange); }
.foot-pay { display: flex; flex-wrap: wrap; gap: 16px; padding: 16px 22px; border-top: 1px solid rgba(255, 255, 255, .12); color: #98a598; font-size: 13.5px; }
.foot-bottom { padding: 14px 22px 26px; border-top: 1px solid rgba(255, 255, 255, .12); color: #98a598; font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid, .testi-grid { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  .product-media { position: static; }
  .feats { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 40px; }
  .hero-inner { padding: 78px 22px 88px; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 10px 16px 16px;
    box-shadow: var(--shadow-hover);
  }
  .nav-open .main-nav { display: flex; }
  .main-nav a { padding: 11px 10px; font-size: 16px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 31px; }
  .hero-sub { font-size: 17px; }
  .section-head h2 { font-size: 26px; }
  .page-hero h1 { font-size: 29px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .info-page .wrap { padding: 28px 20px; }
  .info-page table { display: block; overflow-x: auto; white-space: nowrap; }
  .info-page td { white-space: normal; min-width: 150px; }
  .product-price { font-size: 27px; }
  .logo img { height: 40px; }
}
