:root {
  --bg: #f7f8f5;
  --panel: #ffffff;
  --panel-soft: #eef3ea;
  --text: #17231d;
  --muted: #647168;
  --line: #dfe6dd;
  --brand: #23684b;
  --brand-dark: #174834;
  --accent: #b68b2c;
  --shadow: 0 20px 50px rgba(23, 35, 29, 0.09);
  --radius: 8px;
}

:root.dark-mode,
body.dark-mode {
  --bg: #0d1310;
  --panel: #151d18;
  --panel-soft: #1d2a23;
  --text: #eef5f0;
  --muted: #a8b8ae;
  --line: #2c3a32;
  --brand: #73d39d;
  --brand-dark: #49a975;
  --accent: #e2bd64;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(118deg, rgba(155, 45, 45, 0.08) 0 9%, transparent 9% 22%, rgba(182, 139, 44, 0.1) 22% 31%, transparent 31% 100%),
    repeating-linear-gradient(103deg, rgba(23, 35, 29, 0.035) 0 1px, transparent 1px 19px),
    radial-gradient(circle at 12% 18%, rgba(35, 104, 75, 0.22), transparent 22rem),
    radial-gradient(circle at 86% 28%, rgba(155, 45, 45, 0.17), transparent 20rem),
    radial-gradient(circle at 58% 82%, rgba(182, 139, 44, 0.16), transparent 24rem),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  transition: background 0.35s ease, color 0.35s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  background:
    linear-gradient(143deg, transparent 0 18%, rgba(35, 104, 75, 0.12) 18% 19%, transparent 19% 48%, rgba(155, 45, 45, 0.13) 48% 49%, transparent 49% 100%),
    linear-gradient(34deg, transparent 0 38%, rgba(23, 35, 29, 0.08) 38% 39%, transparent 39% 100%);
  clip-path: polygon(0 0, 100% 0, 100% 84%, 82% 78%, 65% 92%, 49% 78%, 33% 90%, 14% 80%, 0 93%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 6vw;
  background: rgba(247, 248, 245, 0.92);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s ease, border-color 0.35s ease;
}

:root.dark-mode .site-header,
body.dark-mode .site-header {
  background: rgba(13, 19, 16, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.brand:hover img {
  transform: rotate(-6deg) scale(1.06);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  padding: 10px 14px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--panel-soft);
  color: var(--brand);
  transform: translateY(-1px);
}

.site-nav a[href="blog.html"],
.site-footer a[href="blog.html"] {
  display: none;
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.theme-toggle:hover {
  background: var(--panel-soft);
  box-shadow: 0 0 0 3px rgba(35, 104, 75, 0.1);
}

.theme-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.menu-toggle:hover {
  background: var(--panel-soft);
  transform: translateY(-2px);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

main {
  overflow: hidden;
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.88), transparent 0 7%, rgba(226, 189, 100, 0.2) 8%, transparent 34%),
    conic-gradient(from 180deg at 50% 50%, rgba(35, 104, 75, 0.28), transparent 15%, rgba(182, 139, 44, 0.28), transparent 32%, rgba(155, 45, 45, 0.2), transparent 50%, rgba(35, 104, 75, 0.22), transparent 72%),
    radial-gradient(circle at 30% 28%, rgba(115, 211, 157, 0.32), transparent 28%),
    radial-gradient(circle at 72% 62%, rgba(226, 189, 100, 0.28), transparent 26%),
    var(--bg);
  pointer-events: none;
  overflow: hidden;
  animation: introExit 0.9s ease 3.05s forwards;
}

:root.no-intro .intro-screen {
  display: none;
}

.intro-screen::before,
.intro-screen::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(78vw, 560px);
  aspect-ratio: 1;
  border: 1px solid rgba(35, 104, 75, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.2);
  animation: blastRing 1.25s cubic-bezier(0.11, 0.75, 0.28, 1) 1.25s both;
}

.intro-screen::after {
  width: min(92vw, 720px);
  border-color: rgba(182, 139, 44, 0.24);
  animation-delay: 1.42s;
}

.intro-burst {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 1px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.intro-burst span {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(42px, 8vw, 96px);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(35, 104, 75, 0.72), rgba(226, 189, 100, 0));
  opacity: 0;
  transform: rotate(calc(var(--ray) * 30deg)) translateX(0) scaleX(0.2);
  transform-origin: left center;
  animation: blastRay 1.1s cubic-bezier(0.11, 0.75, 0.28, 1) calc(1.16s + var(--ray) * 0.018s) both;
}

.intro-burst span:nth-child(1) { --ray: 0; }
.intro-burst span:nth-child(2) { --ray: 1; }
.intro-burst span:nth-child(3) { --ray: 2; }
.intro-burst span:nth-child(4) { --ray: 3; }
.intro-burst span:nth-child(5) { --ray: 4; }
.intro-burst span:nth-child(6) { --ray: 5; }
.intro-burst span:nth-child(7) { --ray: 6; }
.intro-burst span:nth-child(8) { --ray: 7; }
.intro-burst span:nth-child(9) { --ray: 8; }
.intro-burst span:nth-child(10) { --ray: 9; }
.intro-burst span:nth-child(11) { --ray: 10; }
.intro-burst span:nth-child(12) { --ray: 11; }

body.dark-mode .intro-screen {
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.18), transparent 0 8%, rgba(226, 189, 100, 0.16) 9%, transparent 34%),
    conic-gradient(from 180deg at 50% 50%, rgba(115, 211, 157, 0.22), transparent 15%, rgba(226, 189, 100, 0.2), transparent 32%, rgba(155, 45, 45, 0.18), transparent 50%, rgba(115, 211, 157, 0.2), transparent 72%),
    var(--bg);
}

.intro-mark {
  display: grid;
  justify-items: center;
  gap: 14px;
  color: var(--text);
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 900;
  text-align: center;
  animation: introMark 2.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-mark img {
  width: 92px;
  height: 92px;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
  animation: logoPop 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
}

.intro-line {
  position: absolute;
  top: calc(50% - 128px);
  left: 50%;
  width: min(260px, 56vw);
  height: 3px;
  overflow: hidden;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--line);
}

.intro-line::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  animation: introLoad 2.6s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

.home-page main,
.home-page .site-header {
  animation: pageOpen 0.85s ease 3.22s both;
}

:root.no-intro .home-page main,
:root.no-intro .home-page .site-header,
:root.no-intro .home-page .hero-copy .eyebrow,
:root.no-intro .home-page .hero-copy h1,
:root.no-intro .home-page .hero-copy .lead,
:root.no-intro .home-page .hero-copy .actions {
  animation: none;
}

.hero,
.section,
.page-title,
.products-layout,
.contact-layout,
.blog-grid {
  width: min(1120px, 88vw);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 68px 0;
}

.home-hero {
  position: relative;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 7% -18% auto auto;
  width: 48vw;
  height: 48vw;
  max-width: 620px;
  max-height: 620px;
  background: radial-gradient(circle, rgba(35, 104, 75, 0.16), transparent 68%);
  pointer-events: none;
  animation: ambientGlow 8s ease-in-out infinite;
}

.hero-copy,
.hero-panel {
  position: relative;
}

.home-page .hero-copy .eyebrow,
.home-page .hero-copy h1,
.home-page .hero-copy .lead,
.home-page .hero-copy .actions {
  animation: heroLift 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-page .hero-copy .eyebrow {
  animation-delay: 3.35s;
}

.home-page .hero-copy h1 {
  animation-delay: 3.48s;
}

.home-page .hero-copy .lead {
  animation-delay: 3.61s;
}

.home-page .hero-copy .actions {
  animation-delay: 3.74s;
}

.home-page .hero-panel {
  animation: heroPanelPop 1s cubic-bezier(0.16, 1, 0.3, 1) 3.85s both, floatPanel 5.5s ease-in-out 4.85s infinite;
}

:root.no-intro .home-page .hero-panel {
  animation: floatPanel 5.5s ease-in-out infinite;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.65rem, 3.2vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.12rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(23, 35, 29, 0.12);
}

.button.primary {
  background: var(--brand);
  color: white;
}

.button.primary:hover {
  background: var(--brand-dark);
}

.button.ghost {
  background: var(--panel);
  border-color: var(--line);
  color: var(--brand);
}

.button.full {
  width: 100%;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: floatPanel 5.5s ease-in-out infinite;
}

.hero-panel div {
  padding: 20px;
  background: var(--panel-soft);
  border-radius: var(--radius);
  transition: transform 0.25s ease, background 0.25s ease;
}

.hero-panel div:hover {
  transform: translateX(6px);
}

.hero-panel p,
.feature-card p,
.blog-card p,
.text-stack p,
.page-title p,
.info-list p,
.site-footer p {
  color: var(--muted);
}

.metric {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
}

.section {
  padding: 72px 0;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  border-top: 1px solid var(--line);
}

.text-stack {
  display: grid;
  gap: 16px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card,
.blog-card,
.product-card,
.cart-panel,
.info-list article,
.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(23, 35, 29, 0.05);
}

.feature-card,
.blog-card,
.info-list article {
  padding: 24px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.feature-card:hover,
.blog-card:hover,
.info-list article:hover,
.product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(35, 104, 75, 0.35);
  box-shadow: var(--shadow);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-weight: 900;
  transition: transform 0.35s ease;
}

.feature-card:hover .card-icon {
  transform: rotate(360deg);
}

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 72px;
  padding: 34px;
  background: var(--brand-dark);
  border-radius: var(--radius);
  color: white;
}

.callout .eyebrow {
  color: #b7d8c8;
}

.callout h2 {
  margin-bottom: 0;
}

.page-title {
  padding: 76px 0 42px;
}

.page-title h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.products-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  align-items: start;
  padding-bottom: 72px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.product-card {
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.product-media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: #eef1ed;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
  transition: transform 0.35s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.05) rotate(-1deg);
}

.product-body {
  padding: 22px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
}

.price {
  color: var(--brand);
  font-size: 1.35rem;
  font-weight: 900;
}

.old-price {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: line-through;
}

.cart-panel {
  position: sticky;
  top: 92px;
  padding: 22px;
}

.cart-head,
.cart-total,
.cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-head {
  margin-bottom: 18px;
}

.cart-head h2 {
  margin: 0;
  font-size: 1.2rem;
}

.cart-items {
  display: grid;
  gap: 12px;
  min-height: 92px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cart-row {
  align-items: flex-start;
}

.cart-row strong {
  display: block;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.qty-controls button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  cursor: pointer;
}

.remove-btn {
  border: 0;
  background: transparent;
  color: #9b2d2d;
  font-weight: 800;
  cursor: pointer;
}

.cart-total {
  margin: 18px 0;
  font-size: 1.05rem;
}

.muted {
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  padding-bottom: 82px;
}

.info-list {
  display: grid;
  gap: 14px;
}

.info-list span,
.blog-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-list a {
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.info-list .map-button {
  width: fit-content;
  margin-top: 10px;
  background: var(--panel-soft);
  color: var(--brand);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
  color: var(--text);
  font: inherit;
  padding: 12px 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(35, 104, 75, 0.12);
  outline: none;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.reveal:nth-child(3) {
  transition-delay: 0.16s;
}

@keyframes introMark {
  0% {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(26px) scale(0.9);
  }
  34% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1.04);
  }
  55% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  68% {
    transform: translateY(0) scale(1.08);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(-4px) scale(1);
  }
}

@keyframes introLoad {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes introExit {
  to {
    opacity: 0;
    transform: scale(1.08);
    visibility: hidden;
  }
}

@keyframes pageOpen {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoPop {
  0% {
    opacity: 0;
    transform: scale(0.46);
  }
  58% {
    opacity: 1;
    transform: scale(1.16);
  }
  78% {
    transform: scale(0.96);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes blastRing {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.16);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.34);
  }
}

@keyframes blastRay {
  0% {
    opacity: 0;
    transform: rotate(calc(var(--ray) * 30deg)) translateX(0) scaleX(0.16);
  }
  24% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: rotate(calc(var(--ray) * 30deg)) translateX(min(44vw, 360px)) scaleX(1);
  }
}

@keyframes heroLift {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPanelPop {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.88);
  }
  62% {
    opacity: 1;
    transform: translateY(-8px) scale(1.04);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ambientGlow {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-20px, 16px, 0) scale(1.08);
  }
}

@keyframes floatPanel {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-bottom: 76px;
}

.blog-card h2 {
  font-size: 1.35rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 6vw;
  background: var(--panel);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 6vw 20px;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav .theme-toggle {
    width: 100%;
    justify-content: center;
  }

  .hero,
  .split,
  .products-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 54px 0;
  }

  .feature-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    position: static;
  }

  .callout,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 0 18px;
  }

  .hero,
  .section,
  .page-title,
  .products-layout,
  .contact-layout,
  .blog-grid {
    width: min(100% - 36px, 1120px);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
