:root {
  --edw-border: #1e293b;
  --edw-bg: #0b0f14;
  --edw-text: #e6eef7;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  background: var(--edw-bg);
  color: var(--edw-text);
  margin: 0;
  font-family: system-ui, Segoe UI, Roboto, Arial, sans-serif;
}

.wrap, .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
}

.banner-backdrop {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 600px;
  background: #000 url('/images/banner.png') center/cover no-repeat;
  border-bottom: 1px solid var(--edw-border);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0e141b;
  border-bottom: 1px solid var(--edw-border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.brand .logo {
  height: 40px;
  width: auto;
  display: block;
}

img.logo {
  display: inline-block !important;
  height: 40px !important;
  width: auto !important;
  visibility: visible !important;
}

.wordmark {
  font-weight: 700;
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 14px;
}

.nav a {
  color: inherit;
  text-decoration: none;
  opacity: 0.9;
  padding: 8px 10px;
  border-radius: 8px;
}

.nav a.active,
.nav a:hover {
  background: #121a22;
}

.edw-hero-bg {
  position: relative;
  border: 1px solid var(--edw-border);
  border-radius: 14px;
  overflow: hidden;
  min-height: 480px;
  background: #000 url('/images/banner.png') center/cover no-repeat;
  margin: -420px auto 16px;
  max-width: 1100px;
  z-index: 1;
}

.edw-hero-slides {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.edw-hero-slides .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.edw-hero-slides .slide.active {
  opacity: 1;
}

.edw-hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  gap: 8px;
  justify-content: center;
  z-index: 2;
}

.edw-hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
  opacity: 0.7;
  cursor: pointer;
}

.edw-hero-dots button.active {
  background: #fff;
  opacity: 1;
}

.edw-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 21px;
  border: 0;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
}

.edw-hero-slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.95;
}

.feature-cats h2 {
  margin: 18px 0 10px;
}

.edw-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 18px 0;
  position: relative;
  z-index: 3;
}

.edw-cat {
  border: 1px solid var(--edw-border);
  border-radius: 12px;
  overflow: hidden;
  background: #0e141b;
  color: #e6eef7;
  text-decoration: none;
}

.edw-cat img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}

.edw-cat span {
  display: block;
  padding: 10px;
  text-align: center;
}

.product-grid .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.product-grid .card {
  display: block;
  border: 1px solid #1e293b;
  border-radius: 12px;
  overflow: hidden;
  background: #0e141b;
  color: #e6eef7;
  text-decoration: none;
}

.product-grid .thumb {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #0b0f14;
}

.product-grid .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s;
}

.product-grid .card:hover .thumb img {
  transform: scale(1.02);
}

.product-grid .title {
  padding: 10px;
  font-size: 14px;
  line-height: 1.4;
  min-height: 3em;
}

.product-grid .price {
  padding: 0 10px 12px;
  color: #98ffa8;
}

.form {
  max-width: 780px;
  margin: 0 auto;
}

.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form .row .col {
  display: flex;
  flex-direction: column;
}

.form label {
  font-size: 0.9rem;
  margin: 8px 0 6px;
  opacity: 0.9;
}

.form input,
.form textarea {
  background: #0e141b;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 12px;
  color: #e6eef7;
  width: 100%;
}

.form textarea {
  min-height: 260px;
  resize: vertical;
}

.form button {
  margin-top: 14px;
  background: #14b8a6;
  border: 0;
  color: #001b1e;
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--edw-border);
  background: #0e141b;
  margin-top: 24px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
}

a[href^="mailto:"] {
  color: #fff !important;
  text-decoration: none !important;
  border-bottom: 0 !important;
}
