/*
Theme Name: Dreamerz Modern
Description: A fully custom, standalone theme for Dreamerz Furniture realizing the Coastal Teal design system.
Version: 1.0.0
Author: Novamira
Text Domain: dreamerz-modern
*/

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
a { text-decoration: none; }
button { font: inherit; cursor: pointer; }

:root {
  --dz-bg: #F5F6F5;
  --dz-surface: #FFFFFF;
  --dz-ink: #1E2626;
  --dz-ink-soft: #57615F;
  --dz-accent: #007080;
  --dz-accent-dark: #045662;
  --dz-border: #DCE3E2;

  --dz-font-display: 'Cabinet Grotesk', 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --dz-font-body: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --dz-radius-sm: 6px;
  --dz-radius-md: 8px;

  --dz-space-sm: 8px;
  --dz-space-md: 24px;
  --dz-space-lg: 64px;

  --dz-container: 1240px;
}

body {
  background: var(--dz-bg);
  color: var(--dz-ink);
  font-family: var(--dz-font-body);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--dz-font-display);
  font-weight: 700;
  line-height: 1.08;
  color: var(--dz-ink);
  letter-spacing: -0.01em;
}

p {
  line-height: 1.6;
  color: var(--dz-ink-soft);
}

a { color: var(--dz-ink); }

.dz-eyebrow {
  font-family: var(--dz-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dz-accent);
}

@media (max-width: 782px) {
  :root { --dz-space-lg: 40px; }
}

/* ========================================================
   Standalone theme chrome: header, footer, nav
   ======================================================== */

.dz-container {
  max-width: var(--dz-container);
  margin: 0 auto;
  padding: 0 24px;
}

.dz-site-header {
  background: var(--dz-bg);
  border-bottom: 1px solid var(--dz-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.dz-site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px 24px;
}

.dz-site-branding img { height: 36px; width: auto; }

.dz-site-title {
  font-family: var(--dz-font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--dz-ink);
}

.dz-primary-nav { flex: 1; }
.dz-primary-nav__list { display: flex; gap: 28px; }
.dz-primary-nav__list a { font-size: 14px; font-weight: 500; color: var(--dz-ink); }
.dz-primary-nav__list a:hover,
.dz-primary-nav__list .current-menu-item > a { color: var(--dz-accent); }

.dz-site-tools { display: flex; align-items: center; gap: 20px; margin-left: auto; }

.dz-header-cta { padding: 10px 20px !important; font-size: 14px !important; }


.dz-nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; padding: 6px; }
.dz-nav-toggle span { width: 22px; height: 2px; background: var(--dz-ink); display: block; }

.dz-btn, .button, button, input[type="submit"], .single_add_to_cart_button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: var(--dz-radius-md);
  font-weight: 600; font-size: 15px; border: none;
  background: var(--dz-accent); color: #F2FAFA;
}
.dz-btn:hover, .button:hover, button:hover, input[type="submit"]:hover { background: var(--dz-accent-dark); }

.dz-btn--ghost { background: transparent; color: var(--dz-ink); border: 1px solid var(--dz-border); }
.dz-btn--ghost:hover { border-color: var(--dz-ink); background: transparent; }

.dz-btn--on-dark { color: #F5F6F5; border-color: rgba(245,246,245,0.35); }
.dz-btn--on-dark:hover { border-color: #F5F6F5; }

.price, .woocommerce-Price-amount { color: var(--dz-accent); font-weight: 600; }

.dz-site-footer { background: var(--dz-ink); color: #E4EAEA; margin-top: var(--dz-space-lg); }

.dz-site-footer__inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px;
  padding: var(--dz-space-lg) 24px 40px;
}

.dz-footer-col p { color: #A9B7B6; font-size: 14px; }
.dz-footer-logo { font-family: var(--dz-font-display); font-weight: 700; color: #F2FAFA; font-size: 18px; }

.dz-footer-col--about .custom-logo {
  height: 44px;
  width: auto;
  margin-bottom: 4px;
}

.dz-footer-nap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-style: normal;
  font-size: 14px;
  color: #A9B7B6;
  margin-top: 8px;
}
.dz-footer-nap a { color: #A9B7B6; }
.dz-footer-nap a:hover { color: var(--dz-accent); }

.dz-footer-title {
  font-family: var(--dz-font-display); color: #F2FAFA; font-weight: 700;
  font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px;
}

.dz-footer-menu li { margin-bottom: 10px; }
.dz-footer-menu a { color: #A9B7B6; font-size: 14px; }
.dz-footer-menu a:hover { color: var(--dz-accent); }

.dz-site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 24px; }
.dz-site-footer__bottom p { color: #7C8B8A; font-size: 13px; margin: 0; }

@media (max-width: 900px) {
  .dz-nav-toggle { display: flex; }
  .dz-primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); height: 100vh;
    background: var(--dz-surface); transform: translateX(100%);
    transition: transform 0.25s ease; padding: 88px 24px 24px; z-index: 60;
  }
  .dz-primary-nav.is-open { transform: translateX(0); }
  .dz-primary-nav__list { flex-direction: column; gap: 20px; }
  .dz-site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .dz-site-footer__inner { grid-template-columns: 1fr; }
}
