/* ==========================================
   ZENMOAT — Shared Styles
   Used by: index.html, catalog.html
   ========================================== */

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: #f5f5ef;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.5;
}
a    { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border-radius: 0; }
ul   { list-style: none; }

/* === NAVIGATION === */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #f5f5ef;
  border-bottom: 2px solid #111;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}
.nav-logo {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #111;
}
.nav-links {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav-links > li {
  display: flex;
  align-items: center;
}
.nav-links a {
  font-size: 12px;
  font-weight: 600;
  color: #666;
}
.nav-links a:hover { color: #111; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-switch { display: flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; margin-right: 8px; }
.lang-switch a { color: #999; padding: 3px 5px; }
.lang-switch a.active { color: #111; text-decoration: underline; }
.lang-switch span { color: #ccc; }

/* === BUTTONS === */
.btn-outline {
  border: 2px solid #111;
  background: transparent;
  color: #111;
  font-weight: 700;
  font-family: inherit;
  border-radius: 0;
  cursor: pointer;
}
.btn-outline:hover { background: #111; color: #fff; }

.btn-fill {
  border: 2px solid #111;
  background: #111;
  color: #fff;
  font-weight: 700;
  font-family: inherit;
  border-radius: 0;
  cursor: pointer;
}
.btn-fill:hover { background: #333; border-color: #333; }

.btn-sm { font-size: 12px; padding: 6px 14px; }
.btn-md { font-size: 13px; padding: 10px 20px; }

/* CTA section buttons (dark background) */
.btn-cta-white {
  background: #fff;
  color: #111;
  border: 2px solid #fff;
  font-size: 13px;
  font-weight: 900;
  font-family: inherit;
  border-radius: 0;
  cursor: pointer;
}
.btn-cta-white:hover { background: #e5e5e5; }

.btn-cta-ghost {
  background: transparent;
  color: rgba(255,255,255,0.4);
  border: 2px solid rgba(255,255,255,0.2);
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  border-radius: 0;
  cursor: pointer;
}
.btn-cta-ghost:hover {
  border-color: rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.7);
}

/* SVG hand-drawn underline wrapper */
.underline-wrap {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.underline-wrap svg {
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
}

/* === FOOTER === */
.site-footer {
  background: #111;
  border-top: 1px solid #1e1e1e;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-size: 14px;
  font-weight: 900;
  color: #444;
  letter-spacing: -0.5px;
}
.footer-copy { font-size: 11px; color: #444; }

/* === NAV DROPDOWNS === */
.has-dropdown { position: relative; }
.has-dropdown > a::after {
  content: ' ↓';
  font-size: 9px;
  opacity: 0.45;
  letter-spacing: 0;
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  background: #f5f5ef;
  border: 2px solid #111;
  min-width: 170px;
  z-index: 200;
  flex-direction: column;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown { display: flex; }
.nav-dropdown li { border-bottom: 1px solid #ddd; }
.nav-dropdown li:last-child { border-bottom: none; }
.nav-dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}
.nav-dropdown a:hover { background: #111; color: #fff; }

/* === FOOTER — full variant (homepage + catalog) === */
.site-footer--full {
  display: block;
  padding: 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  padding: 56px 40px;
  border-bottom: 1px solid #1e1e1e;
}
.site-footer--full .footer-logo {
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.footer-tagline {
  font-size: 11px;
  color: #4a4a4a;
  line-height: 1.9;
}
.footer-cols {
  display: flex;
  gap: 48px;
  justify-content: flex-end;
  padding-top: 4px;
}
.footer-col-title {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #fff;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 12px; color: #555; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 40px;
  border-top: 1px solid #1a1a1a;
}
.footer-bottom span { font-size: 11px; color: #2e2e2e; }
.footer-cities { font-size: 11px; color: #2e2e2e; letter-spacing: 0.5px; }

/* === FOOTER EMAIL & SOCIAL === */
.footer-email {
  display: block;
  font-size: 12px;
  color: #555;
  margin-top: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-email:hover { color: #fff; }
.footer-social-link {
  font-size: 10px;
  font-weight: 700;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
}
.footer-social-link:hover { color: #fff; }

/* === RESPONSIVE: shared nav collapse === */
@media (max-width: 767px) {
  .site-nav  { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-signin { display: none; }
}
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 24px;
  }
  .footer-cols {
    gap: 28px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    padding: 14px 24px;
  }
}
@media (max-width: 640px) {
  .site-footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 20px 16px;
  }
}
