﻿/*
Theme Name: DMT Lite
Theme URI: https://damousetrap.com/
Author: Da Mouse Trap Graphics
Description: Lightweight no-Elementor theme for Da Mouse Trap Graphics.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Text Domain: dmt-lite
*/

:root {
  --dmt-black: #050608;
  --dmt-ink: #17130f;
  --dmt-cream: #fbf7ef;
  --dmt-paper: #fffdf8;
  --dmt-gold: #f3ad22;
  --dmt-red: #7f2730;
  --dmt-green: #0b6656;
  --dmt-muted: #70675d;
  --dmt-line: rgba(23, 19, 15, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--dmt-cream);
  color: var(--dmt-ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }

.dmt-site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(5, 6, 8, 0.96);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.dmt-header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.dmt-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dmt-brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--dmt-gold);
  color: var(--dmt-black);
  font-size: 14px;
  font-weight: 900;
}

.dmt-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.dmt-nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dmt-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.dmt-nav a:hover,
.dmt-nav .current-menu-item > a,
.dmt-nav .current_page_item > a {
  color: var(--dmt-gold);
}

.dmt-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 4px;
  background: var(--dmt-gold);
  color: var(--dmt-black);
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

.dmt-site-main {
  min-height: calc(100vh - 184px);
}

.dmt-content-shell {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(42px, 6vw, 80px) 0;
}

.dmt-entry-title {
  margin: 0 0 24px;
  color: var(--dmt-red);
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

body.home .dmt-content-shell,
body.page-template-default .dmt-content-shell:has(.dmt-home-hero),
body.page-template-default .dmt-content-shell:has(.dmt-quote-studio),
body.page .dmt-content-shell:has(#dmt-services),
body.page .dmt-content-shell:has(#dmt-about-us-page),
body.page .dmt-content-shell:has(#dmt-faq-page) {
  width: 100%;
  padding: 0;
}

body.home .dmt-entry-title,
body.page .dmt-content-shell:has(#dmt-services) .dmt-entry-title,
body.page .dmt-content-shell:has(#dmt-about-us-page) .dmt-entry-title,
body.page .dmt-content-shell:has(#dmt-faq-page) .dmt-entry-title,
body.page .dmt-content-shell:has(.dmt-quote-studio) .dmt-entry-title,
body.page .dmt-content-shell:has(.dmt-home-hero) .dmt-entry-title {
  display: none;
}

.dmt-site-footer {
  background: var(--dmt-black);
  color: rgba(255, 255, 255, 0.76);
  padding: 28px 0;
}

.dmt-footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}

.dmt-footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.dmt-footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.woocommerce-page .dmt-content-shell,
.woocommerce-account .dmt-content-shell,
.woocommerce-cart .dmt-content-shell,
.woocommerce-checkout .dmt-content-shell {
  width: min(1120px, calc(100% - 32px));
  padding: clamp(36px, 5vw, 68px) 0;
}

.wp-block-button__link,
button,
input[type="submit"] {
  border-radius: 4px;
}

@media (max-width: 840px) {
  .dmt-header-inner {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .dmt-nav,
  .dmt-nav ul {
    width: 100%;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
  }

  .dmt-header-cta {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .dmt-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
