/* ============================================================
   градус24 — Доставка алкоголя
   Чёрно-жёлтая палитра, плотная сетка, массивная типографика
   ============================================================ */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #0a0a0a;
  color: #e8e8e8;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-weight: 900; letter-spacing: -0.02em; color: #fff; }
h1 { font-size: 2.8rem; line-height: 1.1; }
h2 { font-size: 2rem; line-height: 1.15; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }
p { margin-bottom: 1rem; color: #c0c0c0; }
a { color: #f5c518; text-decoration: none; transition: color 0.2s; }
a:hover { color: #ffd633; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.5rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: #f5c518; color: #0a0a0a; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.05em;
  border: none; cursor: pointer; transition: all 0.2s;
  text-decoration: none;
}
.btn:hover { background: #ffd633; color: #0a0a0a; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,197,24,0.3); }
.btn--large { padding: 18px 40px; font-size: 1.1rem; border-radius: 4px; }
.btn--small { padding: 10px 20px; font-size: 0.85rem; border-radius: 3px; }

/* Header */
.header {
  background: #111; border-bottom: 3px solid #f5c518;
  position: sticky; top: 0; z-index: 100;
}
.header__inner { display: flex; align-items: center; padding: 12px 0; gap: 20px; }
.header__logo {
  font-size: 1.8rem; font-weight: 900; color: #f5c518;
  text-transform: uppercase; letter-spacing: -0.03em;
  text-decoration: none; flex-shrink: 0;
}
.header__logo:hover { color: #ffd633; }
.header__phone { margin-left: auto; }
.header__phone-link {
  font-size: 1.3rem; font-weight: 800; color: #fff;
  white-space: nowrap; text-decoration: none;
}
.header__phone-link:hover { color: #f5c518; }
.header__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 5px;
}
.header__burger span { display: block; width: 28px; height: 3px; background: #f5c518; border-radius: 2px; transition: 0.3s; }
.header__nav ul { display: flex; list-style: none; gap: 8px; padding: 0; margin: 0; }
.header__nav a {
  padding: 8px 16px; color: #ccc; font-weight: 600; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.03em; border-radius: 3px;
  transition: all 0.2s;
}
.header__nav a:hover, .header__nav a.active { background: #f5c518; color: #0a0a0a; }

/* Hero */
.hero {
  padding: 80px 0 60px; text-align: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  border-bottom: 4px solid #f5c518;
}
.hero__title { font-size: 3.2rem; margin-bottom: 20px; color: #fff; }
.hero__subtitle { font-size: 1.2rem; color: #aaa; max-width: 700px; margin: 0 auto 30px; }

/* Sections */
.section { padding: 50px 0; border-bottom: 1px solid #222; }
.section__title {
  font-size: 2rem; margin-bottom: 30px; text-align: center;
  position: relative; padding-bottom: 15px;
}
.section__title::after {
  content: ''; display: block; width: 60px; height: 4px;
  background: #f5c518; margin: 15px auto 0;
}

/* Grids */
.grid { display: grid; gap: 12px; }
.grid--products { grid-template-columns: repeat(5, 1fr); }
.grid--categories { grid-template-columns: repeat(4, 1fr); }
.grid--reviews { grid-template-columns: repeat(3, 1fr); }
.grid--advantages { grid-template-columns: repeat(3, 1fr); }

/* Product Card */
.product-card {
  background: #151515; border: 1px solid #2a2a2a; border-radius: 4px;
  padding: 12px; text-align: center; transition: all 0.25s;
  display: flex; flex-direction: column;
}
.product-card:hover { border-color: #f5c518; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(245,197,24,0.15); }
.product-card__img { width: 100%; aspect-ratio: 1/1; object-fit: contain; margin-bottom: 10px; background: #1a1a1a; border-radius: 3px; }
.product-card__title { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
.product-card__attrs { font-size: 0.75rem; color: #888; margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.product-card__attrs span { background: #222; padding: 2px 6px; border-radius: 2px; }
.product-card__price { margin-bottom: 10px; }
.product-card__old-price { text-decoration: line-through; color: #666; font-size: 0.85rem; margin-right: 8px; }
.product-card__current-price { font-size: 1.2rem; font-weight: 800; color: #f5c518; }
.product-card__current-price--large { font-size: 1.8rem; }

/* Category Card */
.category-card {
  background: #151515; border: 1px solid #2a2a2a; border-radius: 4px;
  padding: 16px; text-align: center; transition: all 0.25s;
  display: flex; flex-direction: column; align-items: center; text-decoration: none;
}
.category-card:hover { border-color: #f5c518; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(245,197,24,0.15); }
.category-card__img { width: 100%; aspect-ratio: 1/1; object-fit: contain; margin-bottom: 12px; background: #1a1a1a; border-radius: 3px; }
.category-card__name { font-size: 1rem; font-weight: 700; color: #fff; }

/* Category Hero */
.category-hero { display: flex; gap: 30px; align-items: flex-start; margin-bottom: 30px; }
.category-hero__img { width: 200px; height: 200px; object-fit: contain; background: #1a1a1a; border-radius: 4px; flex-shrink: 0; }
.category-hero__desc { font-size: 1.05rem; color: #bbb; line-height: 1.6; }

/* Category Filter */
.category-filter { margin-bottom: 20px; }
.category-filter__input {
  width: 100%; padding: 12px 16px; font-size: 1rem;
  background: #151515; border: 2px solid #2a2a2a; border-radius: 4px;
  color: #fff; outline: none; transition: border-color 0.2s;
}
.category-filter__input:focus { border-color: #f5c518; }
.category-filter__input::placeholder { color: #555; }

/* Product Detail */
.product-detail { display: flex; gap: 40px; align-items: flex-start; }
.product-detail__image { flex: 0 0 350px; }
.product-detail__image img { width: 100%; aspect-ratio: 1/1; object-fit: contain; background: #1a1a1a; border-radius: 4px; }
.product-detail__info { flex: 1; }
.product-detail__title { font-size: 2rem; margin-bottom: 15px; }
.product-detail__price { margin-bottom: 20px; }
.product-detail__attrs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.attr-card { background: #151515; border: 1px solid #2a2a2a; border-radius: 4px; padding: 12px; text-align: center; }
.attr-card__label { display: block; font-size: 0.75rem; color: #888; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.attr-card__value { font-size: 1rem; font-weight: 700; color: #fff; }
.product-detail__desc { margin-top: 20px; }
.product-detail__desc p { color: #aaa; line-height: 1.7; }

/* CTA */
.cta { text-align: center; background: linear-gradient(135deg, #111 0%, #1a1a1a 100%); }
.cta p { font-size: 1.15rem; margin-bottom: 25px; color: #bbb; }

/* Reviews */
.review-card { background: #151515; border: 1px solid #2a2a2a; border-radius: 4px; padding: 20px; }
.review-card__header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.review-card__header strong { color: #fff; }
.review-card__header span { color: #888; font-size: 0.85rem; }
.review-card__rating { color: #f5c518; font-size: 1.1rem; margin-bottom: 8px; letter-spacing: 2px; }
.review-card__text { color: #aaa; font-size: 0.9rem; line-height: 1.5; }

/* Steps */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps__item {
  background: #151515; border: 1px solid #2a2a2a; border-radius: 4px;
  padding: 20px; text-align: center; font-weight: 600; color: #ccc;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.steps__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: #f5c518; color: #0a0a0a; font-weight: 900; font-size: 1.2rem;
}

/* Advantage Card */
.advantage-card {
  background: #151515; border: 1px solid #2a2a2a; border-radius: 4px;
  padding: 20px; display: flex; align-items: center; gap: 12px;
  font-weight: 600; color: #ddd;
}
.advantage-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: #f5c518; color: #0a0a0a; font-weight: 900; flex-shrink: 0;
}

/* FAQ */
.faq__list { max-width: 800px; margin: 0 auto; }
.faq__item { background: #151515; border: 1px solid #2a2a2a; border-radius: 4px; margin-bottom: 10px; padding: 16px 20px; }
.faq__question { font-size: 1.05rem; cursor: pointer; color: #f5c518; margin-bottom: 8px; }
.faq__answer p { color: #aaa; font-size: 0.95rem; }

/* Breadcrumbs */
.breadcrumbs { padding: 12px 0; font-size: 0.85rem; color: #666; background: #0d0d0d; border-bottom: 1px solid #222; text-align: center; }
.breadcrumbs__item a { color: #888; }
.breadcrumbs__item a:hover { color: #f5c518; }
.breadcrumbs__item--current { color: #f5c518; font-weight: 600; }
.breadcrumbs__sep { margin: 0 8px; color: #444; }

/* Contacts */
.contacts-block { max-width: 700px; margin: 0 auto; }
.contacts-block__item { margin-bottom: 30px; }
.contacts-block__item h2 { font-size: 1.3rem; margin-bottom: 10px; }
.contacts-phone { font-size: 1.5rem; font-weight: 800; color: #f5c518; }
.delivery-table { width: 100%; border-collapse: collapse; }
.delivery-table th, .delivery-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid #2a2a2a; }
.delivery-table th { background: #111; color: #f5c518; font-weight: 700; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.05em; }
.delivery-table td { color: #ccc; }

/* Footer */
.footer { background: #0d0d0d; border-top: 3px solid #f5c518; padding: 40px 0 20px; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 30px; }
.footer__title { font-size: 1.1rem; color: #f5c518; margin-bottom: 12px; text-transform: uppercase; }
.footer__text { font-size: 0.85rem; color: #888; }
.footer__phone { font-size: 1.2rem; font-weight: 800; color: #fff; margin-top: 10px; }
.footer__links { list-style: none; padding: 0; }
.footer__links li { margin-bottom: 6px; }
.footer__links a { color: #888; font-size: 0.9rem; }
.footer__links a:hover { color: #f5c518; }
.footer__bottom { text-align: center; padding-top: 20px; border-top: 1px solid #222; }
.footer__bottom p { font-size: 0.8rem; color: #555; }
.age-warning { font-size: 0.8rem; color: #666; border-left: 3px solid #f5c518; padding-left: 12px; }

/* SEO Text */
.seo-text h3, .seo-text h4, .seo-text h5, .seo-text h6 { margin-top: 24px; margin-bottom: 12px; }
.seo-text p { color: #999; font-size: 0.95rem; line-height: 1.7; }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1024px) {
  .grid--products { grid-template-columns: repeat(4, 1fr); }
  .grid--categories { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero__title { font-size: 2.2rem; }
  .hero { padding: 50px 0 40px; }

  .header__nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #111; border-bottom: 3px solid #f5c518; padding: 16px; }
  .header__nav--open { display: block; }
  .header__nav ul { flex-direction: column; gap: 4px; }
  .header__nav a { display: block; padding: 12px 16px; }
  .header__burger { display: flex; }

  .grid--products { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .grid--categories { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .grid--reviews { grid-template-columns: 1fr; }
  .grid--advantages { grid-template-columns: 1fr; }

  .steps { grid-template-columns: repeat(2, 1fr); }
  .category-hero { flex-direction: column; align-items: center; text-align: center; }
  .category-hero__img { width: 150px; height: 150px; }
  .product-detail { flex-direction: column; }
  .product-detail__image { flex: none; width: 100%; max-width: 300px; margin: 0 auto; }
  .product-detail__attrs { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 480px) {
  .container { padding: 0 12px; }
  h1 { font-size: 1.6rem; }
  .hero__title { font-size: 1.8rem; }
  .grid--products { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .grid--categories { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .product-card { padding: 8px; }
  .product-card__title { font-size: 0.85rem; }
  .product-card__current-price { font-size: 1rem; }
  .btn--large { padding: 14px 24px; font-size: 0.95rem; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .product-detail__attrs { grid-template-columns: 1fr 1fr; }
}
