/*
Theme Name: EVEBOT
Theme URI: https://theevebot.com/
Author: EVEBOT
Description: EVEBOT shop theme. Pages, media, menus, and WooCommerce products use the WordPress admin.
Version: 1.0.0
Text Domain: theevebot
*/

:root {
  --orange: #f58220;
  --orange-dark: #e07012;
  --ink: #101218;
  --text: #494b51;
  --bg: #f3f5f5;
  --white: #ffffff;
  --line: #e6e8ea;
  --muted: #6b6e76;
  --header-h: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, Verdana, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo img { height: 32px; width: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 12px;
  flex: 1;
}
.nav a, .drop > span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.nav a.active { color: var(--orange); }
.drop { position: relative; }
.drop > span { cursor: pointer; }
.drop > span::after { content: " ▾"; font-size: 10px; }
.drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px 0;
  box-shadow: 0 10px 30px rgba(16, 18, 24, 0.08);
}
.drop:hover .drop-menu { display: block; }
.drop-menu a {
  display: block;
  padding: 8px 16px;
  letter-spacing: 0.04em;
  font-size: 12px;
}
.drop-menu a:hover { background: #fafafa; color: var(--orange); }

.header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.cart {
  width: 46px;
  height: 46px;
  border: 2px solid var(--orange);
  border-radius: 8px;
  display: grid;
  place-items: center;
  position: relative;
  color: var(--orange);
}
.cart svg { width: 24px; height: 24px; }
.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  background: var(--orange);
  color: #fff;
  border-radius: 99px;
  font-size: 11px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.contacts { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink); }
.contacts a { display: flex; align-items: center; gap: 6px; }
.dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 10px;
  flex: none;
}
.dot.wa { background: #25d366; }
.dot.mail { background: #3b82f6; }
.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.hero {
  text-align: center;
  padding: 72px 20px 36px;
  background: #f4f6f6;
}
.hero h1 {
  margin: 0 auto 22px;
  max-width: 920px;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #f6f7f8;
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
}
.btn:hover { background: var(--orange-dark); }
.btn.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.7);
}

.banner {
  width: min(1180px, calc(100% - 32px));
  margin: 8px auto 28px;
  border-radius: 8px;
  overflow: hidden;
}
.banner img { width: 100%; height: auto; }

.section { padding: 28px 0 10px; }
.section h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.lead { margin: 0 0 18px; max-width: 720px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.card-body { padding: 16px 16px 20px; }
.card h3 { margin: 0 0 8px; color: var(--ink); font-size: 18px; font-weight: 600; }
.card p { margin: 0; font-size: 14px; }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  margin: 22px 0;
}
.split > img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.split-copy { padding: 28px 28px 28px 8px; }
.split.reverse { grid-template-columns: 0.9fr 1.1fr; }
.split.reverse .split-copy { order: -1; padding: 28px 8px 28px 28px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.pill {
  background: #f7f7f8;
  border-radius: 99px;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--ink);
}

.product-grid, .review-grid, .info-grid {
  display: grid;
  gap: 16px;
}
.product-grid { grid-template-columns: repeat(4, 1fr); }
.review-grid { grid-template-columns: repeat(4, 1fr); }
.info-grid { grid-template-columns: repeat(4, 1fr); margin-top: 8px; }
.tile, .review, .info {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
}
.tile h3, .review h3, .info h3 { margin: 0 0 6px; color: var(--ink); font-size: 16px; }
.tile p, .review p, .info p { margin: 0; font-size: 14px; }
.stars { color: var(--orange); letter-spacing: 1px; margin: 4px 0; }

.page-hero {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 36px 0 28px;
}
.page-hero h1 { margin: 0 0 8px; color: var(--ink); font-weight: 500; font-size: 40px; }
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 28px 0 48px;
}
.price { color: var(--ink); font-weight: 700; margin-top: 10px; }

.form {
  display: grid;
  gap: 12px;
  max-width: 560px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.form label { font-size: 13px; font-weight: 700; color: var(--ink); }
.form input, .form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 15px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 28px;
  padding: 28px 0 48px;
}

.site-footer {
  background: var(--ink);
  color: #d5d7dc;
  margin-top: 40px;
  padding: 42px 0 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}
.site-footer h6 {
  margin: 0 0 12px;
  color: #fff;
  letter-spacing: 0.08em;
  font-size: 13px;
}
.site-footer a { display: block; padding: 4px 0; font-size: 14px; }
.site-footer a:hover { color: var(--orange); }
.legal {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13px;
  color: #a7aab2;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  padding: 28px 0 48px;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  min-height: 180px;
}
.gallery-grid img:first-child { grid-row: span 2; min-height: 380px; }

@media (max-width: 980px) {
  .menu-btn { display: block; margin-left: auto; }
  .nav, .header-tools { display: none; }
  .nav.open, .header-tools.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: #fff;
    padding: 16px 20px 20px;
    border-bottom: 1px solid var(--line);
    gap: 14px;
  }
  .header-tools.open { top: auto; position: static; }
  .cards, .product-grid, .review-grid, .info-grid, .shop-grid, .footer-grid, .contact-layout {
    grid-template-columns: 1fr 1fr;
  }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-copy { order: 0; padding: 20px; }
  .split-copy { padding: 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid img:first-child { grid-row: auto; min-height: 220px; }
}
@media (max-width: 640px) {
  .cards, .product-grid, .review-grid, .info-grid, .shop-grid, .footer-grid, .contact-layout, .gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 40px; }
}

body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
.entry { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { margin: 16px 0; }
.entry table { width: 100%; border-collapse: collapse; }
.entry th, .entry td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.home-action { grid-template-columns: repeat(4, 1fr); }
.review img { width: 100%; height: 180px; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.home-copy .card p { font-size: 14px; }
@media (max-width: 980px) {
  .home-action { grid-template-columns: 1fr 1fr; }
}
