/* Хмель & Солод — дизайн v3 (каталожный стиль) */
:root {
  --red: #a51212;
  --red-link: #b71c1c;
  --green: #3aa456;
  --ink: #000000;
  --text: #3d3d3d;
  --muted: #7a7a7a;
  --faint: #999999;
  --line: #ebebeb;
  --bg-soft: #f5f5f5;
  --bg-cream: #fdfbf7;
  --photo: #efefef;
  --dark: #272727;
  --shadow: 0 0 8px rgba(134, 135, 137, 0.25);
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; font-size: 16px; line-height: 1.5; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--red-link); }
h1, h2, h3 { margin: 0; font-weight: 700; }
img { max-width: 100%; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 40; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo b { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; white-space: nowrap; }
.nav { display: flex; gap: 26px; font-size: 14.5px; font-weight: 500; }
.nav a.active { color: var(--red-link); }
.header-right { display: flex; align-items: center; gap: 14px; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; }
.badge18 { font-size: 13px; font-weight: 700; color: var(--red); border: 1.5px solid var(--red); border-radius: 36px; padding: 4px 11px; white-space: nowrap; }
.biz-chip { background: var(--bg-soft); border-radius: 36px; padding: 7px 14px; font-size: 13.5px; font-weight: 500; color: var(--text); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }

/* Hero */
.hero { background: var(--red); padding: 64px 0 72px; color: #fff; }
.hero.compact { padding: 36px 0 42px; }
.hero h1 { font-size: 44px; letter-spacing: -0.01em; }
.hero.center { text-align: center; }
.hero.center h1 { font-size: 50px; }
.hero p.lead { font-size: 16.5px; color: rgba(255,255,255,0.85); max-width: 780px; margin: 14px 0 0; }
.hero .crumbs, .hero .crumbs a { color: rgba(255,255,255,0.7); }
.hero .crumbs b { color: #fff; font-weight: 500; }
.searchbar { display: flex; align-items: center; background: #fff; border-radius: 12px; padding: 8px 8px 8px 22px; max-width: 780px; margin: 32px auto 0; text-align: left; }
.searchbar input { flex: 1; border: 0; outline: none; font: inherit; font-size: 16px; color: var(--ink); background: transparent; }
.searchbar input::placeholder { color: var(--faint); }
.searchbar .go { width: 48px; height: 48px; border-radius: 50%; background: var(--dark); border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.hero .chips { margin-top: 24px; justify-content: center; }
.hero .chips .chip { border: 0; }

/* Chips */
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 36px; padding: 8px 17px; font-size: 14px; color: var(--text); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
a.chip:hover { border-color: #d3d3d3; color: var(--text); }
.chip.soft { background: var(--bg-soft); border-color: var(--bg-soft); }
.chip.dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.chip.sm { padding: 6px 14px; font-size: 13px; }

/* Cards */
.card { background: #fff; border-radius: 10px; box-shadow: var(--shadow); }
a.card { display: flex; flex-direction: column; color: var(--ink); overflow: hidden; }
a.card:hover { box-shadow: 0 2px 14px rgba(134, 135, 137, 0.4); color: var(--ink); }
.card .pad { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.card-title { font-size: 16.5px; font-weight: 700; }
.rating { background: var(--green); color: #fff; border-radius: 8px; padding: 3px 8px; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.rating.lg { font-size: 15px; padding: 4px 10px; }
.photo { background: var(--photo); display: flex; align-items: center; justify-content: center; color: #c4c4c4; }
.illus { background: #f6efdf; border-radius: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
a.card .illus { border-radius: 0; }
.rowline { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* Sections */
.section { padding-top: 56px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
.section-head h2 { font-size: 24px; }
.section-head .sub { font-size: 14px; color: var(--muted); }
.more-link { font-size: 14px; font-weight: 600; color: var(--red-link); white-space: nowrap; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.band { background: var(--bg-soft); padding: 48px 0 56px; margin-top: 56px; }
.band .section-head { margin-top: 0; }

/* Breadcrumbs */
.crumbs { font-size: 13px; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--red-link); }
.crumbs b { color: var(--text); font-weight: 500; }

/* Text pages / articles */
.prose { max-width: 720px; font-size: 15.5px; color: var(--text); line-height: 1.7; }
.prose p { margin: 0 0 16px; }
.prose h2 { font-size: 22px; margin: 30px 0 14px; color: var(--ink); }
.prose h3 { font-size: 17px; margin: 22px 0 10px; color: var(--ink); }
.prose a { color: var(--red-link); }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.quote { border-left: 4px solid var(--red); background: var(--bg-cream); border-radius: 0 10px 10px 0; margin: 24px 0; padding: 18px 24px; font-size: 17px; font-weight: 600; color: #2b2b2b; }

/* Two-column layouts */
.cols { display: flex; gap: 40px; align-items: flex-start; }
.cols .main { flex: 1; min-width: 0; }
.aside { width: 380px; flex-shrink: 0; display: flex; flex-direction: column; gap: 20px; }
.aside .card { padding: 22px; }
.aside-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); display: block; margin-bottom: 14px; }
.aside-links { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; font-weight: 500; }

/* Spec table */
.specs { padding: 22px 24px; }
.specrow { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f0f0f0; padding: 11px 0; font-size: 14.5px; gap: 12px; }
.specrow:last-child { border-bottom: 0; }
.specrow a { font-weight: 600; color: var(--red-link); }
.specrow .v { font-weight: 700; text-align: right; }
.dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; flex-shrink: 0; vertical-align: -2px; }

/* Profile bars */
.bars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.bar-item { display: flex; flex-direction: column; gap: 8px; }
.bar-item .lbl { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 500; }
.bar { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.bar i { display: block; height: 8px; background: var(--red); border-radius: 4px; }

/* Stat cards */
.stat { padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.stat .k { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.stat .v { font-size: 21px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.stat .s { font-size: 12.5px; color: var(--muted); }

/* Style link lists */
.stylelink { color: var(--text); font-size: 14.5px; display: flex; align-items: center; gap: 9px; }
.stylelink .count { font-size: 13px; color: var(--faint); margin-left: auto; }
.linkcol { display: flex; flex-direction: column; gap: 9px; }

/* Footer */
.site-footer { background: var(--dark); color: #b5b5b5; margin-top: 72px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 48px 0 32px; }
.footer-grid a { color: #b5b5b5; font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.fcol { display: flex; flex-direction: column; gap: 9px; }
.fhead { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.footer-bottom { border-top: 1px solid #3a3a3a; }
.footer-bottom .wrap { padding-top: 18px; padding-bottom: 18px; display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--muted); gap: 14px; flex-wrap: wrap; }
.footer-bottom a { color: #b5b5b5; }
.badge18.gray { color: var(--muted); border-color: var(--muted); font-size: 11px; padding: 3px 9px; }

/* Age gate */
#agegate { position: fixed; inset: 0; background: rgba(20, 8, 8, 0.9); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
#agegate[hidden] { display: none; }
#agegate .modal { background: #fff; border-radius: 14px; max-width: 460px; padding: 40px 36px; text-align: center; }
#agegate h2 { font-size: 24px; margin-bottom: 10px; }
#agegate p { color: var(--muted); font-size: 14.5px; margin: 0 0 24px; }
#agegate .btns { display: flex; gap: 12px; justify-content: center; }
#agegate button { font: inherit; font-weight: 600; border-radius: 36px; padding: 12px 28px; cursor: pointer; border: 1px solid var(--line); background: #fff; color: var(--text); }
#agegate button.yes { background: var(--red); border-color: var(--red); color: #fff; }

/* Search page */
.search-results { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.search-results .card { padding: 18px 22px; }
.result-type { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--red-link); }

/* Sitemap */
.sitemap-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.sitemap-cols h3 { font-size: 16px; margin-bottom: 12px; }
.sitemap-cols ul { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: 14px; }

@media (max-width: 1100px) {
  .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols { flex-direction: column; }
  .aside { width: 100%; }
  .nav { display: none; }
  .bars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid, .sitemap-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .g5, .g4, .g3, .g2 { grid-template-columns: 1fr; }
  .hero.center h1 { font-size: 32px; }
  .hero h1 { font-size: 28px; }
  .biz-chip { display: none; }
  .bars { grid-template-columns: 1fr; }
  .footer-grid, .sitemap-cols { grid-template-columns: 1fr; }
}
