/* laboos — bamboo kitchen & home goods. Палитра с баннера бренда:
   кремовое дерево фона, коричневый «bark» вордмарка, бамбуковая зелень, охра звёзд. */

/* Шрифты локально: variable latin-woff2 с fonts.gstatic.com в assets/fonts/. */
@font-face { font-family: 'Fredoka'; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url(../fonts/fredoka-latin.woff2) format('woff2'); }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/worksans-latin.woff2) format('woff2'); }

:root {
  --bark: #6b4f3a;          /* коричневый вордмарка */
  --bark-deep: #4a3628;     /* тёмное дерево: футер, page-hero */
  --ink: #33281e;
  --green: #5e9c3f;         /* бамбуковая зелень с баннера */
  --green-deep: #3f7326;    /* CTA: контраст с белым > 4.5 */
  --green-dark: #315c1e;
  --cream: #faf5e9;         /* фон */
  --wood: #f0e6cf;          /* светлое дерево: плашки, полосы */
  --card: #ffffff;
  --line: #e3d8c2;
  --muted: #7d715f;
  --star: #c08a2d;
  --radius: 16px;
  --shadow: 0 2px 10px rgba(74, 54, 40, .09);
  --shadow-hover: 0 10px 26px rgba(74, 54, 40, .18);
}

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

body {
  font-family: 'Work Sans', '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: 'Fredoka', 'Segoe UI', Arial, sans-serif; line-height: 1.22; font-weight: 600; }
img { max-width: 100%; display: block; }
a { color: var(--bark); text-decoration: none; }

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

.btn {
  display: inline-block;
  background: var(--green-deep);
  color: #fff;
  font-family: 'Fredoka', 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(--green-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: 66px; }
.logo img { height: 44px; width: auto; border-radius: 10px; }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.main-nav a {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink);
  padding: 8px 11px;
  border-radius: 10px;
}
.main-nav a:hover { background: var(--wood); color: var(--bark); }
.main-nav a.active { color: var(--green-deep); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--bark); margin: 5px 0; border-radius: 2px; }

/* ---------- hero: сплит текст + бамбуковая часть баннера ---------- */
.hero { background: var(--wood); border-bottom: 1px solid var(--line); }
.hero-split { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); align-items: stretch; max-width: 1180px; margin: 0 auto; }
.hero-copy { padding: 74px 30px 78px 22px; }
.eyebrow {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.hero-copy h1 { font-size: 48px; font-weight: 700; color: var(--bark-deep); margin: 10px 0 16px; }
.hero-sub { font-size: 18.5px; color: #5c503f; max-width: 520px; margin-bottom: 30px; }
.hero-photo { position: relative; min-height: 100%; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; border-radius: 0 0 0 60px; }

/* ---------- 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(58, 42, 28, .92));
  color: #fff;
  padding: 44px 18px 14px;
}
.cat-overlay h3 { font-size: 19px; }
.cat-overlay p { font-size: 13.5px; color: #e4d8c4; }

/* ---------- catalog / cards ---------- */
.catalog { padding: 52px 22px; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head h2 { font-size: 32px; color: var(--bark-deep); }
.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: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.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: 'Fredoka', sans-serif; font-weight: 700; font-size: 19px; color: var(--bark); }
.stars .star { color: #d9cfba; 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; }

/* ---------- why bamboo band ---------- */
.why-band { background: var(--bark-deep); color: #fff; padding: 58px 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.why-item { text-align: center; }
.why-icon { width: 44px; height: 44px; margin: 0 auto 12px; color: #9cc96f; }
.why-icon svg { width: 100%; height: 100%; }
.why-item h3 { font-size: 19px; margin-bottom: 8px; }
.why-item p { color: #ded1bd; font-size: 15px; }

/* ---------- tong finder ---------- */
.tong-finder { padding: 58px 0; background: var(--cream); }
.tong-scroll { overflow-x: auto; }
.tong-table { width: 100%; border-collapse: collapse; font-size: 14.8px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.tong-table th, .tong-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tong-table th { background: var(--bark-deep); color: #fff; font-family: 'Fredoka', sans-serif; font-weight: 600; letter-spacing: .03em; white-space: nowrap; }
.tong-table tbody tr:last-child td { border-bottom: 0; }
.tong-table tbody tr:nth-child(even) { background: var(--cream); }
.tong-table td a { color: var(--bark); font-weight: 600; border-bottom: 1px solid rgba(107, 79, 58, .3); }
.tong-table td a:hover { color: var(--green-deep); border-bottom-color: var(--green-deep); }
.tong-mag {
  display: inline-block;
  background: var(--green-deep);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
}
.tong-note { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 18px; }

/* ---------- heritage: мастерская в Чжушане ---------- */
.heritage { background: var(--bark-deep); color: #efe5d2; padding: 64px 0; }
.heritage-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.heritage-copy .eyebrow { color: #a8d27d; }
.heritage-copy h2 { color: #fff; font-size: 30px; margin: 8px 0 14px; }
.heritage-copy p { margin-bottom: 12px; color: #ded1bd; }
.heritage-copy em { color: #c9e3a8; font-style: italic; }
.heritage-addr {
  font-size: 13.5px;
  color: #b7a88f;
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-top: 12px;
  margin-top: 16px;
}
.heritage-steps { list-style: none; counter-reset: hstep; }
.heritage-steps li {
  counter-increment: hstep;
  position: relative;
  padding: 0 0 20px 58px;
}
.heritage-steps li::before {
  content: counter(hstep);
  position: absolute;
  left: 0;
  top: 2px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(158, 201, 111, .16);
  border: 2px solid #9cc96f;
  color: #c9e3a8;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.heritage-steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 21px;
  top: 46px;
  bottom: 2px;
  width: 2px;
  background: rgba(158, 201, 111, .35);
}
.heritage-steps h3 { color: #fff; font-size: 17.5px; margin-bottom: 5px; }
.heritage-steps p { color: #ded1bd; font-size: 14.8px; }

/* ---------- materials glossary ---------- */
.materials { padding: 58px 0; background: var(--wood); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 6px; }
.mat-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; border-top: 4px solid var(--green); }
.mat-card h3 { font-size: 18px; color: var(--bark-deep); margin-bottom: 6px; }
.mat-card .mat-note { font-size: 14.5px; color: #5c503f; margin-bottom: 8px; }
.mat-card .mat-where { font-size: 13px; color: var(--muted); }
.mat-card .mat-where strong { color: var(--bark); font-weight: 600; }

/* ---------- mission ---------- */
.mission-band { padding: 62px 0; text-align: center; }
.mission-band h2 { font-size: 28px; color: var(--bark-deep); 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(--bark-deep); margin-bottom: 16px; }
.seo-content h3 { font-size: 20px; color: var(--bark-deep); margin: 26px 0 10px; }
.seo-content p { margin-bottom: 12px; color: #45392b; }
.seo-content ul { margin: 10px 0 14px 22px; color: #45392b; }
.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: 'Fredoka', sans-serif; color: var(--bark-deep); }

/* ---------- what the ratings say ---------- */
.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: 'Fredoka', sans-serif; font-weight: 600; color: var(--green-deep); font-size: 15px; margin-bottom: 8px; }
.testi-card p { font-size: 15.5px; color: #45392b; }
.testi-name a { color: var(--bark); border-bottom: 1px solid rgba(107, 79, 58, .3); }
.testi-name a:hover { color: var(--green-deep); border-bottom-color: var(--green-deep); }
.testi-name { margin-top: 12px; font-weight: 600; }

/* ---------- page hero (category / info) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--bark-deep), var(--bark) 62%, #86674c);
  color: #fff;
  padding: 54px 0 50px;
}
.page-hero h1 { font-size: 38px; margin: 8px 0 10px; }
.page-hero .eyebrow { color: #a8d27d; }
.page-hero-sub { color: #e6dbc9; 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(--green-deep); }
.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: 90px;
}
.product-media img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.product-info h1 { font-size: 26px; margin: 8px 0 12px; color: var(--ink); }
.product-meta { margin-bottom: 12px; }
.product-price { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 32px; color: var(--bark); margin-bottom: 6px; }
.stock-note { margin: 0 0 16px; font-size: 14px; color: var(--green-deep); font-weight: 600; }
.product-info .btn-buy { padding: 14px 46px; font-size: 16.5px; }
.product-intro { margin-top: 22px; color: #45392b; font-size: 17px; }

/* ---------- авторские блоки: «бамбуковый стебель» с узлами ---------- */
.product-detail { padding: 8px 22px 14px; }
.detail-head { font-size: 25px; color: var(--bark-deep); }
.detail-sub { color: var(--muted); font-size: 15px; margin: 4px 0 26px; }
.stem { position: relative; max-width: 780px; padding-left: 6px; }
.stem::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 10px;
  bottom: 26px;
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(var(--green) 0 96%, transparent);
}
.stem-item { position: relative; display: flex; gap: 24px; padding: 0 0 30px 0; }
.stem-item:last-child { padding-bottom: 6px; }
.stem-node {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--green);
  color: var(--green-deep);
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.stem-body { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 22px; flex: 1; }
.stem-body h3 { font-size: 17px; color: var(--bark-deep); margin-bottom: 7px; }
.stem-body p { color: #45392b; font-size: 15.5px; }

/* ---------- спеки производителя ---------- */
.specs { padding: 34px 22px 50px; }
.specs-head { font-size: 19px; color: var(--bark-deep); margin-bottom: 12px; }
.bullets { margin: 0 0 0 20px; }
.bullets li { margin-bottom: 10px; color: #45392b; 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(--bark-deep); font-size: 22px; margin: 24px 0 10px; }
.info-page h2:first-child { margin-top: 0; }
.info-page h3 { color: var(--bark-deep); font-size: 17.5px; margin: 18px 0 8px; }
.info-page p { margin-bottom: 12px; color: #45392b; }
.info-page ul, .info-page ol { margin: 10px 0 14px 22px; color: #45392b; }
.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: 'Fredoka', sans-serif; color: var(--bark-deep); }
.info-page a { color: var(--green-deep); }
.info-page .addr {
  background: var(--wood);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  color: var(--bark-deep);
  line-height: 1.7;
}

/* ---------- footer ---------- */
.site-footer { background: var(--bark-deep); color: #d9ccb8; 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: 25px; font-weight: 700; color: #fff; letter-spacing: .04em; }
.logo-word .dot { color: #9cc96f; }
.tagline { color: #9cc96f; font-family: 'Fredoka', 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-addr { font-size: 13px; color: #ab9c85; line-height: 1.55; margin-top: 8px; }
.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: #d9ccb8; }
.foot-col a:hover { color: #9cc96f; }
.foot-bottom { padding: 14px 22px 26px; border-top: 1px solid rgba(255, 255, 255, .12); color: #ab9c85; font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .testi-grid, .mat-grid { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  .product-media { position: static; }
  .heritage-grid { grid-template-columns: 1fr; gap: 34px; }
  .tong-table { font-size: 14px; min-width: 640px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-copy { padding: 54px 22px 30px; }
  .hero-copy h1 { font-size: 38px; }
  .hero-photo { min-height: 210px; }
  .hero-photo img { border-radius: 40px 0 0 0; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 66px;
    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-copy h1 { font-size: 30px; }
  .hero-sub { font-size: 16.5px; }
  .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: 38px; }
  .stem::before { left: 15px; }
  .stem-item { gap: 14px; }
  .stem-node { flex-basis: 32px; width: 32px; height: 32px; font-size: 14px; }
  .stem-body { padding: 15px 16px; }
  .heritage-copy h2 { font-size: 25px; }
}
