/*
Theme Name: Rooter Easy-Admin WooCommerce
Theme URI: https://www.rooter.hu/
Author: Rooter Kft.
Description: Rooter.hu arculathoz illeszkedo WooCommerce sablon Easy-Admin modulok ertekesitesehez.
Version: 0.1.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: rooter-easyadmin
*/

:root {
  --brand: #07344d;
  --brand-2: #0d5674;
  --brand-3: #08283c;
  --accent: #f2b300;
  --accent-2: #ffd35a;
  --ink: #082033;
  --muted: #64748b;
  --line: #dbe7ef;
  --surface: #ffffff;
  --soft: #f3f8fb;
  --max: 1180px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fbfdff 0%, #eef5f9 100%);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.topbar {
  background: var(--brand-3);
  color: #fff;
  font-size: 14px;
}
.topbar-inner {
  min-height: 42px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  padding: 8px 0;
}
.topbar a { color: #fff; opacity: .95; }
.topbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pill-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 700;
}
.pill-link.primary { background: var(--accent); color: var(--brand-3); border-color: var(--accent); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(7,52,77,.08);
}
.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 310px;
}
.brand-logo {
  width: 200px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
}
.brand-sub {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.main-menu {
  display: flex;
  gap: 18px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-menu a {
  font-weight: 800;
  color: var(--brand);
}
.cart-link {
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff !important;
}

.hero {
  padding: 72px 0 48px;
  background:
    radial-gradient(circle at 14% 20%, rgba(242,179,0,.16), transparent 27%),
    linear-gradient(135deg, #ffffff 0%, #eef7fb 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 36px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--brand-2);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 12px;
}
h1, h2, h3 { line-height: 1.16; letter-spacing: 0; }
h1 { font-size: clamp(38px, 6vw, 68px); margin: 0 0 18px; color: var(--brand); }
h2 { font-size: 34px; margin: 0 0 16px; color: var(--brand); }
h3 { font-size: 21px; margin: 0 0 10px; color: var(--brand); }
.lead { font-size: 19px; color: #40566a; max-width: 720px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn, .button, button.button, input.button, .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 6px;
  border: 0;
  background: var(--accent);
  color: var(--brand-3);
  font-weight: 900;
  cursor: pointer;
}
.btn.secondary { background: var(--brand); color: #fff; }

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 55px rgba(7,52,77,.12);
  padding: 24px;
}
.module-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.module-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}
.module-list li:last-child { border-bottom: 0; }
.module-list span { color: var(--accent); }

.section { padding: 54px 0; }
.section.soft { background: var(--soft); border-block: 1px solid var(--line); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-card, .woocommerce ul.products li.product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 12px 28px rgba(7,52,77,.07);
}
.service-card p { color: var(--muted); margin-bottom: 0; }

.woocommerce .products ul, .woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
  float: none;
  width: auto !important;
  margin: 0 !important;
}
.woocommerce ul.products li.product .price { color: var(--brand-2); font-weight: 900; }
.woocommerce div.product .summary { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
.woocommerce ul.products li.product .button,
.woocommerce div.product form.cart .button {
  margin-top: 14px;
  background: var(--accent);
  color: var(--brand-3);
}
.woocommerce div.product form.cart {
  margin-top: 18px;
}
.woocommerce div.product form.cart .quantity {
  margin-right: 10px;
}
.woocommerce div.product p.stock.in-stock {
  color: #0f7b36;
  font-weight: 900;
}
.woocommerce-message, .woocommerce-info {
  border-top-color: var(--accent);
  background: #fff8df;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--accent); }

.content-area {
  width: min(var(--max), calc(100% - 32px));
  margin: 40px auto;
}
.page-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}

.site-footer {
  background: var(--brand-3);
  color: rgba(255,255,255,.84);
  padding: 34px 0;
  margin-top: 54px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer strong { color: #fff; }

@media (max-width: 860px) {
  .hero-grid, .cards, .woocommerce .products ul, .woocommerce ul.products { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .main-menu { flex-wrap: wrap; gap: 12px; }
  .brand { min-width: 0; }
}
