/*
Theme Name: Mars Umbrella Classic
Theme URI: https://marstailor.com
Author: MarsTailor®
Description: Lightweight WooCommerce theme for a professional custom umbrella storefront.
Version: 0.1.4
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: mars-umbrella-classic
*/

:root {
  --mars-text: #172033;
  --mars-muted: #5b6472;
  --mars-line: #e5e7eb;
  --mars-accent: #0f766e;
  --mars-bg: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--mars-bg);
  color: var(--mars-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
}

a {
  color: inherit;
}

.mars-site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--mars-line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.mars-site-header__inner {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 68px;
  padding: 0 18px;
}

.mars-brand {
  align-items: center;
  color: #9f3f22;
  display: inline-flex;
  font-size: 18px;
  font-weight: 900;
  gap: 10px;
  text-decoration: none;
}

.mars-brand__icon {
  border-radius: 999px;
  display: block;
  height: 34px;
  object-fit: cover;
  width: 34px;
}

.mars-brand sup {
  color: #c85a2c;
  font-size: 10px;
  margin-left: 1px;
}

.mars-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.mars-nav a {
  color: #374151;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.mars-nav a:hover {
  color: var(--mars-accent);
}

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

.mars-content {
  margin: 0 auto;
  max-width: 1180px;
  padding: 42px 18px;
}

.mars-content h1 {
  color: #111827;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: 0;
}

.mars-woocommerce {
  margin: 0 auto;
  max-width: 1180px;
  padding: 42px 18px;
}

.mars-site-footer {
  background: #101827;
  color: #d1d5db;
  margin-top: 40px;
}

.mars-site-footer__inner {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(260px, 1.25fr) minmax(240px, 1fr) minmax(180px, 0.7fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: 44px 18px 30px;
}

.mars-footer-brand strong {
  color: #ffffff;
  display: block;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 12px;
}

.mars-footer-brand sup,
.mars-site-footer__bottom sup {
  color: #f97316;
  font-size: 10px;
  margin-left: 1px;
}

.mars-footer-brand p,
.mars-footer-guardian p {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.mars-footer-brand .mars-footer-ideal {
  color: #e5e7eb;
  margin-top: 12px;
}

.mars-footer-guardian span {
  color: #f97316;
  display: block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.mars-footer-links {
  align-content: start;
  display: grid;
  gap: 10px;
}

.mars-footer-links a {
  color: #f9fafb;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.mars-footer-links a:hover {
  color: #f97316;
}

.mars-site-footer__bottom {
  border-top: 1px solid #263244;
  color: #94a3b8;
  font-size: 13px;
  margin: 0 auto;
  max-width: 1180px;
  padding: 16px 18px 24px;
}

.woocommerce div.product form.cart {
  display: block;
}

.woocommerce div.product .summary {
  float: none;
  width: auto;
}

.woocommerce div.product div.images {
  float: none;
  width: auto;
}

.woocommerce div.product {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related {
  grid-column: 1 / -1;
}

@media (max-width: 820px) {
  .mars-site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 14px;
    padding-top: 14px;
  }

  .mars-site-footer__inner {
    grid-template-columns: 1fr;
  }

  .woocommerce div.product {
    grid-template-columns: 1fr;
  }
}
