@import url("fonts.css");

:root {
  --bg: #f6f5f2;
  --ink: #111111;
  --dark: #0b0b0b;
  --dark2: #111111;
  --dark3: #161616;
  --border: #e7e5df;
  --muted: #666666;
  --muted2: #777777;
  --muted3: #8a887f;
  --lime: #7fd146;
  --lime-dark: #479700;
  --lime-darker: #378700;
  --amber: #ff9010;
  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --radius: 6px;
  --radius-sm: 2px;
  --max-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: underline; }
a:hover { color: var(--lime-dark); }
::selection { background: var(--lime); color: var(--dark); }
input, textarea, select, button { font-family: var(--font-body); }
input::placeholder, textarea::placeholder { font-family: var(--font-body); }
h1, h2, h3, .display { font-family: var(--font-display); letter-spacing: 0.01em; margin: 0; }
button { font-family: var(--font-body); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--lime); color: var(--dark);
  padding: 10px 16px; z-index: 100; font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ===== Announcement bar ===== */
.announcement-bar {
  background: var(--dark);
  color: #eae8e2;
  text-align: center;
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--dark); color: var(--bg);
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px; border-bottom: 1px solid #232323;
  gap: 16px;
}
.logo-btn {
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: var(--font-display); font-size: 30px; letter-spacing: 0.05em; color: var(--bg);
  text-decoration: none; line-height: 1;
}
.nav-desktop { display: flex; gap: 26px; align-items: center; }
.nav-link {
  background: none; border: none; color: #e5e3dd; font-size: 15px; cursor: pointer;
  font-weight: 600; text-decoration: none; padding: 6px 0;
}
.nav-link:hover, .nav-link.is-active { color: var(--lime); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.cart-btn {
  position: relative; background: var(--lime); border: none; color: var(--dark);
  padding: 10px 18px; border-radius: var(--radius-sm); font-weight: 800; cursor: pointer;
  font-size: 14px; text-decoration: none; display: inline-block;
}
.menu-toggle {
  background: none; border: 1px solid #333; color: var(--bg); padding: 8px 12px;
  cursor: pointer; display: none; font-size: 18px; line-height: 1;
}
.mobile-nav {
  background: #111; color: #eee; padding: 16px 28px; display: none;
  flex-direction: column; gap: 14px; border-bottom: 1px solid #232323;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  background: none; border: none; color: #eee; font-size: 16px; text-align: left;
  cursor: pointer; text-decoration: none;
}

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: inline-block; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-block; border: none; padding: 16px 30px; font-weight: 800;
  font-size: 15px; letter-spacing: 0.03em; cursor: pointer; border-radius: var(--radius-sm);
  text-decoration: none; text-align: center;
}
.btn-primary { background: var(--lime); color: var(--dark); }
.btn-primary:hover { background: var(--lime-dark); color: #fff; }
.btn-outline { background: transparent; border: 1px solid #555; color: var(--bg); font-weight: 700; }
.btn-outline:hover { border-color: var(--lime); color: var(--lime); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-block { display: block; width: 100%; }

/* ===== Hero ===== */
.hero {
  position: relative; background: var(--dark); color: var(--bg);
  padding: 90px 28px 100px; display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 48px; align-items: center;
}
.hero-badge {
  display: inline-block; background: var(--amber); color: var(--dark); font-weight: 800;
  font-size: 12px; letter-spacing: 0.08em; padding: 6px 12px; border-radius: var(--radius-sm);
  margin-bottom: 18px; text-transform: uppercase;
}
.hero-title { font-size: 76px; line-height: 0.95; margin: 0 0 20px; }
.hero-text { font-size: 18px; line-height: 1.6; color: #c9c7c0; max-width: 520px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-media { width: 100%; height: 460px; border-radius: var(--radius); overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 56px 20px 60px; }
  .hero-title { font-size: 52px; }
  .hero-media { height: 300px; }
}

/* ===== Sections ===== */
.section { padding: 64px 28px; max-width: var(--max-width); margin: 0 auto; }
.section-title { font-size: 38px; text-align: center; margin: 0 0 8px; }
.section-subtitle { text-align: center; color: #555; margin: 0 0 40px; }
.section-header-row {
  display: flex; justify-content: space-between; align-items: end; margin-bottom: 32px;
  flex-wrap: wrap; gap: 12px;
}
.section-header-row .section-title { text-align: left; margin: 0; }
.link-more { background: none; border: none; color: var(--ink); font-weight: 700; cursor: pointer; text-decoration: underline; font-size: 15px; }

@media (max-width: 640px) {
  .section { padding: 40px 18px; }
  .section-title { font-size: 30px; }
}

/* ===== Categories ===== */
.categories-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.category-card {
  cursor: pointer; background: #111; border: none; padding: 0; border-radius: var(--radius);
  overflow: hidden; text-align: left; color: #fff; text-decoration: none; display: block;
}
.category-photo { height: 150px; overflow: hidden; }
.category-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.category-card:hover .category-photo img { transform: scale(1.06); }
.category-body { padding: 14px 16px; }
.category-label { font-family: var(--font-display); font-size: 20px; letter-spacing: 0.02em; }

@media (max-width: 900px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Products ===== */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.product-link { display: block; width: 100%; text-decoration: none; color: inherit; }
.product-photo { height: 220px; position: relative; overflow: hidden; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-photo img { transform: scale(1.05); }
.product-badge {
  position: absolute; top: 10px; left: 10px; background: var(--amber); color: var(--dark);
  font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: var(--radius-sm);
  text-transform: uppercase;
}
.product-body { padding: 16px; }
.product-category { font-size: 12px; color: var(--muted3); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.product-name { font-weight: 700; font-size: 15px; display: block; margin-bottom: 6px; text-decoration: none; color: inherit; }
.product-footer { display: flex; justify-content: space-between; align-items: center; }
.product-price { font-weight: 800; font-size: 16px; }
.btn-add {
  background: var(--dark); color: #fff; border: none; padding: 8px 12px; border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 700; cursor: pointer;
}
.btn-add:hover { background: var(--lime-dark); }

@media (max-width: 980px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .products-grid { grid-template-columns: 1fr; }
}

/* ===== Filters (catalog) ===== */
.filters-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn {
  padding: 10px 18px; border-radius: var(--radius-sm); cursor: pointer; font-size: 14px;
  font-weight: 600; border: 1px solid #ccc; background: #fff; color: #111; text-decoration: none;
}
.filter-btn.is-active { border-color: var(--dark); background: var(--dark); color: #fff; }
.results-count { color: var(--muted); margin: 0 0 28px; }

/* ===== Benefits bar ===== */
.benefits-bar { background: #111; color: #eee; padding: 56px 28px; }
.benefits-grid {
  max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; text-align: center;
}
.benefit-title { font-family: var(--font-display); font-size: 26px; color: var(--lime); }
.benefit-text { color: #aaa; font-size: 14px; margin: 6px 0 0; }
@media (max-width: 760px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== Kits banner ===== */
.kits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.kit-card {
  position: relative; height: 320px; border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end; padding: 24px; text-decoration: none;
}
.kit-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.kit-card::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,11,11,.75) 0%, rgba(11,11,11,.05) 60%);
  z-index: 1;
}
.kit-overlay { position: relative; z-index: 2; background: rgba(11,11,11,0.55); padding: 16px; border-radius: 4px; }
.kit-title { font-family: var(--font-display); font-size: 24px; color: #fff; }
@media (max-width: 720px) { .kits-grid { grid-template-columns: 1fr; } }

/* ===== Blog cards ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-grid.blog-grid-2 { grid-template-columns: repeat(2, 1fr); }
.blog-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  display: block; text-decoration: none; color: inherit;
}
.blog-photo { height: 150px; overflow: hidden; }
.blog-grid-2 .blog-photo { height: 180px; }
.blog-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.blog-card:hover .blog-photo img { transform: scale(1.05); }
.blog-body { padding: 16px; }
.blog-grid-2 .blog-body { padding: 20px; }
.blog-title { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.blog-grid-2 .blog-title { font-size: 17px; margin-bottom: 8px; }
.blog-excerpt { font-size: 13px; color: var(--muted2); }
.blog-grid-2 .blog-excerpt { font-size: 14px; line-height: 1.5; }
@media (max-width: 900px) { .blog-grid, .blog-grid.blog-grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blog-grid, .blog-grid.blog-grid-2 { grid-template-columns: 1fr; } }

/* ===== Newsletter ===== */
.newsletter-section { background: var(--dark); color: #fff; padding: 56px 28px; }
.newsletter-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.newsletter-inner h2 { font-size: 32px; margin: 0 0 10px; }
.newsletter-inner p { color: #bbb; margin: 0 0 24px; }
.newsletter-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.newsletter-form input {
  padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid #333; background: #161616;
  color: #fff; min-width: 260px; font-size: 14px;
}
.form-success { color: var(--lime); font-weight: 700; }

/* ===== Footer ===== */
.site-footer { background: var(--dark); color: #999; padding: 56px 28px 28px; }
.footer-grid {
  max-width: var(--max-width); margin: 0 auto; display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
}
.footer-brand { font-family: var(--font-display); font-size: 26px; color: #fff; margin-bottom: 12px; }
.footer-desc { font-size: 13px; line-height: 1.7; max-width: 280px; }
.footer-col-title { color: #fff; font-weight: 700; font-size: 13px; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { text-decoration: none; font-size: 13px; color: #999; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom {
  max-width: var(--max-width); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid #232323;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; background: var(--dark); color: #eee;
  padding: 18px 28px; display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap; z-index: 60; border-top: 2px solid var(--lime);
}
.cookie-banner p { margin: 0; font-size: 13px; max-width: 640px; color: #ccc; }
.cookie-banner a { color: var(--lime); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-decline {
  background: transparent; border: 1px solid #444; color: #eee; padding: 10px 18px;
  border-radius: var(--radius-sm); cursor: pointer; font-size: 13px;
}
.btn-cookie-accept {
  background: var(--lime); border: none; color: var(--dark); padding: 10px 18px;
  border-radius: var(--radius-sm); font-weight: 800; cursor: pointer; font-size: 13px;
}
.cookie-banner[hidden] { display: none; }

/* ===== Forms (generic) ===== */
.form-stack { display: flex; flex-direction: column; gap: 14px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-stack input, .form-stack textarea {
  padding: 14px; border: 1px solid #ccc; border-radius: var(--radius-sm); font-size: 14px; width: 100%;
}
.form-stack textarea { resize: vertical; }
.form-label { font-weight: 700; font-size: 13px; margin-bottom: 8px; display: block; }
.radio-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; font-size: 14px; }
@media (max-width: 560px) { .form-grid-2 { grid-template-columns: 1fr; } }

/* ===== Breadcrumb ===== */
.breadcrumbs { font-size: 13px; color: var(--muted); margin: 0 0 20px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--lime-dark); text-decoration: underline; }
.back-link {
  background: none; border: none; color: #666; cursor: pointer; margin-bottom: 20px;
  font-size: 14px; text-decoration: none; display: inline-block;
}
.back-link:hover { color: var(--lime-dark); }

/* ===== Page header (simple pages) ===== */
.page-header { padding: 48px 28px 0; max-width: var(--max-width); margin: 0 auto; }
.page-title { font-size: 44px; margin: 0 0 6px; }

/* ===== Product detail ===== */
.product-detail-section { padding: 48px 28px; max-width: 1100px; margin: 0 auto; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.product-gallery { height: 480px; border-radius: var(--radius); overflow: hidden; }
.product-gallery img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-category { font-size: 12px; color: var(--muted3); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.product-detail-title { font-size: 40px; margin: 0 0 10px; }
.product-detail-price { font-size: 24px; font-weight: 800; margin-bottom: 18px; }
.product-detail-desc { color: #444; line-height: 1.7; margin-bottom: 24px; }
.size-row { display: flex; gap: 8px; flex-wrap: wrap; }
.size-chip { border: 1px solid #ccc; padding: 8px 14px; border-radius: var(--radius-sm); font-size: 13px; }
.product-perks { margin-top: 24px; font-size: 13px; color: #666; line-height: 1.8; border-top: 1px solid #eee; padding-top: 16px; }
.related-section { margin-top: 64px; }
.related-title { font-size: 28px; margin-bottom: 20px; }
@media (max-width: 860px) {
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-gallery { height: 340px; }
}

/* ===== Cart ===== */
.cart-section { padding: 48px 28px; max-width: 900px; margin: 0 auto; }
.cart-empty { text-align: center; padding: 60px 0; color: #777; }
.cart-item { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cart-item-photo { width: 90px; height: 90px; flex-shrink: 0; border-radius: 4px; overflow: hidden; }
.cart-item-photo img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 700; }
.cart-item-cat { color: #777; font-size: 13px; }
.cart-qty { display: flex; align-items: center; gap: 10px; }
.qty-btn { width: 28px; height: 28px; border: 1px solid #ccc; background: #fff; cursor: pointer; border-radius: var(--radius-sm); font-size: 15px; line-height: 1; }
.cart-item-total { width: 80px; text-align: right; font-weight: 800; }
.cart-item-remove { background: none; border: none; color: #999; cursor: pointer; font-size: 13px; }
.cart-total-row { display: flex; justify-content: space-between; padding: 24px 0; font-size: 18px; font-weight: 800; }
@media (max-width: 560px) {
  .cart-item { flex-wrap: wrap; }
  .cart-item-total { width: auto; margin-left: auto; }
}

/* ===== Checkout ===== */
.checkout-section { padding: 48px 28px; max-width: 700px; margin: 0 auto; }
.checkout-total-row {
  display: flex; justify-content: space-between; padding: 16px 0; font-size: 17px; font-weight: 800;
  border-top: 1px solid var(--border); margin-top: 8px;
}
.checkout-success { text-align: center; padding: 40px 0; }
.checkout-success-title { font-family: var(--font-display); font-size: 32px; color: var(--lime-dark); margin-bottom: 12px; }
.checkout-success p { color: #555; margin-bottom: 24px; }

/* ===== About ===== */
.about-hero { background: var(--dark); color: #fff; padding: 70px 28px; text-align: center; }
.about-hero h1 { font-size: 48px; margin: 0 0 10px; }
.about-hero p { color: #bbb; max-width: 600px; margin: 0 auto; }
.about-story { max-width: 900px; margin: 0 auto; padding: 56px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-story-photo { height: 320px; border-radius: var(--radius); overflow: hidden; }
.about-story-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-story h2 { font-size: 28px; margin: 0 0 14px; }
.about-story p { color: #444; line-height: 1.7; }
.values-wrap { max-width: 1100px; margin: 0 auto; padding: 0 28px 56px; }
.values-title { font-size: 28px; text-align: center; margin: 0 0 32px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.value-title { font-family: var(--font-display); font-size: 20px; color: var(--lime-darker); margin-bottom: 8px; }
.value-text { color: #555; font-size: 14px; line-height: 1.6; }
@media (max-width: 760px) {
  .about-story { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

/* ===== Contact ===== */
.contact-section { padding: 56px 28px; max-width: 1100px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.info-block { margin-bottom: 20px; }
.info-label { font-weight: 700; font-size: 13px; color: #888; margin-bottom: 4px; }
.contact-photo { height: 200px; border-radius: var(--radius); overflow: hidden; margin-top: 8px; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-success { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; text-align: center; }
.contact-success p { font-weight: 700; color: var(--lime-darker); margin: 0; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ===== Legal pages ===== */
.legal-section { padding: 56px 28px; max-width: 780px; margin: 0 auto; }
.legal-title { font-size: 40px; margin: 0 0 24px; }
.legal-content { color: #333; line-height: 1.8; font-size: 15px; }
.legal-content h3 { font-family: var(--font-display); font-size: 22px; margin-top: 28px; }
.legal-content a { color: var(--lime-dark); }

/* ===== 404 ===== */
.notfound-section { padding: 100px 28px; max-width: 700px; margin: 0 auto; text-align: center; }
.notfound-code { font-family: var(--font-display); font-size: 120px; color: var(--dark); line-height: 1; margin: 0; }

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
