/*
Theme Name: MakerPicked Store
Theme URI: https://makerpicked.com/
Author: MakerPicked
Description: Lightweight WooCommerce theme for creator-tested tools and referral commerce.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
Text Domain: esp-ai-shop
*/

:root {
  --paper: #f4efe6;
  --panel: #fffaf1;
  --panel-strong: #f0e7da;
  --line: #d9cdbc;
  --ink: #1f2522;
  --muted: #5e6763;
  --accent: #1c7a72;
  --accent-dark: #145952;
  --warm: #cb8b3f;
  --soft-green: #dce7dd;
  --shadow: 0 18px 50px rgba(38, 31, 20, 0.09);
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), transparent 38%),
    linear-gradient(180deg, #f7f3eb 0%, #f1eadf 100%);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

main {
  min-height: 60vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(217, 205, 188, 0.85);
  background: rgba(247, 242, 233, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner,
.section-inner,
.footer-inner,
.content-wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #173937 0%, #23504c 100%);
  color: #f8f2e7;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.nav a {
  padding: 10px 12px;
  border-radius: 999px;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(28, 122, 114, 0.08);
  color: var(--ink);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero-home {
  padding: 76px 0 48px;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(28, 122, 114, 0.18), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(203, 139, 63, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-home-inner,
.page-hero-inner,
.kit-hero-inner,
.compact-cta,
.detail-grid,
.story-grid,
.inquiry-layout {
  display: grid;
  gap: 24px;
}

.hero-home-inner,
.page-hero-inner,
.kit-hero-inner {
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.hero-home-inner > *,
.page-hero-inner > *,
.kit-hero-inner > *,
.detail-grid > *,
.story-grid > *,
.inquiry-layout > * {
  min-width: 0;
}

.hero-copy,
.hero-panel,
.callout-card,
.kit-summary-card,
.detail-card,
.form-card,
.module-card,
.showcase-card,
.kit-card,
.demo-card,
.project-signal,
.promise,
.gallery-card {
  border: 1px solid rgba(217, 205, 188, 0.92);
  background: rgba(255, 250, 241, 0.92);
  box-shadow: var(--shadow);
}

.hero-copy,
.callout-card,
.kit-summary-card,
.detail-card,
.form-card,
.module-card,
.promise {
  border-radius: var(--radius);
  padding: 26px;
  max-width: 100%;
  overflow: hidden;
  height: auto;
}

.hero-copy {
  min-height: 100%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 250, 241, 0.9)),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(28, 122, 114, 0.03) 58px 59px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.page-title,
.section-head h2,
.compact-cta h2,
.detail-card h2,
.demo-card h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
}

.page-title {
  font-size: clamp(2.3rem, 4.8vw, 4.4rem);
}

.section {
  padding: 72px 0;
}

.section.soft {
  background: rgba(255, 252, 247, 0.7);
  border-top: 1px solid rgba(217, 205, 188, 0.45);
  border-bottom: 1px solid rgba(217, 205, 188, 0.45);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.section-head p,
.hero-copy p,
.page-intro,
.kit-card p,
.showcase-body p,
.callout-card p,
.kit-summary-card p,
.detail-card p,
.demo-card p,
.project-signal p,
.compact-cta p,
.promise span,
.module-card li,
.content-wrap {
  color: var(--muted);
}

.page-intro,
.hero-copy > p:not(.eyebrow):not(.hero-note) {
  max-width: 62ch;
  margin: 20px 0 0;
  font-size: 1.06rem;
}

.hero-note {
  margin: 22px 0 0;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
}

.actions,
.card-actions,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.actions {
  margin-top: 28px;
}

.button,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--accent-dark);
  border-radius: 999px;
  background: var(--accent-dark);
  color: #fff8ef;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.button:hover,
.button:focus-visible,
.wp-element-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.button.ghost,
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: rgba(31, 37, 34, 0.18);
}

.button.whatsapp-button,
.whatsapp-button.wp-element-button,
.woocommerce a.button.whatsapp-button,
.woocommerce button.button.whatsapp-button {
  border-color: #128c52;
  background: #25d366;
  color: #ffffff;
}

.button.whatsapp-button:hover,
.button.whatsapp-button:focus-visible,
.woocommerce a.button.whatsapp-button:hover,
.woocommerce button.button.whatsapp-button:hover {
  border-color: #128c52;
  background: #128c52;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px 16px 12px 12px;
  border-radius: 999px;
  border: 1px solid rgba(18, 140, 82, 0.28);
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(18, 140, 82, 0.28);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #128c52;
}

.whatsapp-float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.82rem;
  font-weight: 800;
}

.inquiry-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 95;
  display: grid;
  justify-items: end;
  gap: 12px;
  max-width: min(420px, calc(100vw - 24px));
}

.inquiry-float {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px 18px 12px 12px;
  border: 1px solid rgba(20, 89, 82, 0.28);
  border-radius: 999px;
  background: var(--accent-dark);
  color: #fff8ef;
  box-shadow: 0 16px 36px rgba(20, 89, 82, 0.24);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.inquiry-float:hover,
.inquiry-float:focus-visible {
  background: var(--accent);
}

.inquiry-float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 900;
}

.inquiry-panel {
  width: min(390px, calc(100vw - 24px));
  padding: 18px;
  border: 1px solid rgba(217, 205, 188, 0.92);
  border-radius: 22px;
  background: rgba(255, 250, 241, 0.98);
  box-shadow: 0 24px 60px rgba(38, 31, 20, 0.18);
}

.inquiry-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.inquiry-panel-head strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
}

.inquiry-panel-head span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.inquiry-close {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(31, 37, 34, 0.12);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.chat-panel {
  display: grid;
  gap: 12px;
  width: min(410px, calc(100vw - 24px));
  padding: 16px;
}

.chat-panel[hidden] {
  display: none;
}

.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  max-height: min(420px, calc(100vh - 260px));
  overflow-y: auto;
  padding: 12px;
  border: 1px solid rgba(31, 37, 34, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
}

.chat-bubble {
  max-width: 86%;
  padding: 11px 13px;
  border-radius: 16px;
  font-size: 0.94rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.chat-bubble-agent {
  align-self: flex-start;
  border-bottom-left-radius: 6px;
  background: rgba(31, 37, 34, 0.08);
  color: var(--ink);
}

.chat-bubble-visitor {
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  background: var(--accent-dark);
  color: #fff8ef;
}

.chat-status {
  min-height: 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.chat-contact {
  border: 1px solid rgba(31, 37, 34, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.46);
}

.chat-contact summary {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.chat-contact-grid {
  display: grid;
  gap: 10px;
  padding: 0 12px 12px;
}

.chat-contact-grid label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
}

.chat-contact-grid input,
.chat-composer textarea {
  width: 100%;
  border: 1px solid rgba(31, 37, 34, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
}

.chat-contact-grid input {
  padding: 10px 12px;
}

.chat-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.chat-composer textarea {
  min-height: 48px;
  max-height: 130px;
  padding: 12px 13px;
  resize: vertical;
}

.chat-send {
  min-width: 86px;
  min-height: 48px;
}

.button.ghost:hover,
.button.secondary:hover {
  background: #fff;
  color: var(--ink);
  border-color: rgba(31, 37, 34, 0.28);
}

.hero-panel {
  display: grid;
  gap: 14px;
  border-radius: calc(var(--radius) + 8px);
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(24, 47, 44, 0.98), rgba(18, 32, 30, 0.95)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 28%);
  color: #eff5f1;
}

.project-signal {
  border-radius: 20px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
  color: inherit;
}

.project-signal strong,
.callout-card strong,
.kit-summary-card strong,
.detail-card h2,
.module-card h3,
.kit-card h3,
.showcase-body h3,
.demo-card h2 {
  color: var(--ink);
}

.project-signal strong {
  display: block;
  color: #fff8ef;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}

.project-signal p {
  margin: 10px 0 14px;
  color: rgba(239, 245, 241, 0.74);
}

.project-signal a {
  color: #d9e9e6;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.showcase-grid,
.kit-grid,
.promise-grid,
.module-grid,
.demo-grid,
.gallery-grid {
  display: grid;
  gap: 22px;
}

.showcase-grid,
.kit-grid,
.promise-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.module-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.demo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.showcase-card,
.kit-card,
.gallery-card,
.demo-card {
  overflow: hidden;
  border-radius: 24px;
}

.showcase-media,
.kit-card-media {
  aspect-ratio: 1.2 / 1;
  background: linear-gradient(135deg, rgba(28, 122, 114, 0.14), rgba(203, 139, 63, 0.18));
  max-width: 100%;
  overflow: hidden;
  height: auto;
}

.showcase-media img,
.kit-card-media img,
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-body,
.kit-card-body,
.demo-card-body {
  padding: 22px;
}

.kit-card-body h3,
.showcase-body h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
}

.kit-card-body p,
.showcase-body p,
.demo-card p {
  margin: 12px 0 0;
}

.meta-row {
  margin-bottom: 14px;
}

.status-pill,
.difficulty-pill,
.mini-note,
.coming-soon-note,
.sub-label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.status-pill,
.difficulty-pill {
  padding: 8px 12px;
}

.status-pill {
  background: rgba(28, 122, 114, 0.12);
  color: var(--accent-dark);
}

.status-pill.coming-soon {
  background: rgba(203, 139, 63, 0.16);
  color: #8c5d27;
}

.difficulty-pill {
  background: rgba(31, 37, 34, 0.06);
  color: var(--ink);
}

.inline-list,
.stack-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.inline-list li,
.stack-list li,
.sub-label,
.coming-soon-note,
.mini-note {
  border: 1px solid rgba(31, 37, 34, 0.08);
  background: rgba(255, 255, 255, 0.56);
}

.inline-list li {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
}

.stack-list li {
  padding: 14px 16px;
  border-radius: 16px;
}

.stack-list li + li {
  margin-top: 10px;
}

.card-actions {
  margin-top: 18px;
}

.kit-price {
  margin: 14px 0 0;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.stock-note {
  margin: 8px 0 0;
  color: var(--accent-dark);
  font-weight: 800;
}

.purchase-section {
  padding-top: 36px;
}

.purchase-cta .actions {
  justify-content: flex-end;
  margin-top: 0;
}

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

.purchase-option-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  min-height: 100%;
  padding: 22px;
  border: 1px solid rgba(217, 205, 188, 0.92);
  border-radius: 22px;
  background: rgba(255, 250, 241, 0.92);
  box-shadow: var(--shadow);
}

.purchase-option-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.18rem;
  line-height: 1.18;
}

.purchase-option-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.hero-price {
  font-size: 1.8rem;
}

.price-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.compact-list {
  margin-top: 14px;
}

.compact-list li {
  padding: 10px 12px;
  font-size: 0.92rem;
}

.promise-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.promise {
  display: grid;
  gap: 10px;
}

.promise strong,
.compact-cta h2,
.callout-card strong,
.kit-summary-card strong,
.module-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.18rem;
}

.page-hero {
  padding: 56px 0 18px;
}

.callout-card,
.kit-summary-card {
  align-self: start;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.8), rgba(240, 231, 218, 0.88)),
    radial-gradient(circle at top left, rgba(28, 122, 114, 0.08), transparent 42%);
}

.callout-card p,
.kit-summary-card p {
  margin: 10px 0 0;
}

.callout-card strong + p,
.kit-summary-card strong + p {
  margin-bottom: 18px;
}

.media-summary-card {
  display: grid;
  gap: 16px;
  max-width: 100%;
  overflow: hidden;
  height: auto;
}

.media-summary-card img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1.12 / 1;
  border-radius: 18px;
  object-fit: cover;
  height: auto;
}

.kit-video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(217, 205, 188, 0.92);
  background: #141a18;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.kit-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.kit-detail-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.kit-detail-gallery .gallery-card {
  background: rgba(255, 250, 241, 0.92);
}

.kit-detail-gallery .gallery-card img {
  aspect-ratio: 1 / 1;
}

.kit-detail-gallery figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.detail-grid,
.story-grid,
.inquiry-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.warning-card {
  border-color: rgba(203, 139, 63, 0.45);
  background: linear-gradient(160deg, rgba(255, 248, 236, 0.98), rgba(255, 243, 222, 0.92));
}

.demo-card {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
}

.video-placeholder {
  display: grid;
  place-items: center;
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(28, 122, 114, 0.2), rgba(24, 33, 31, 0.16)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.25) 0 12px, transparent 12px 24px);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.sub-label,
.coming-soon-note,
.mini-note {
  padding: 8px 12px;
}

.sub-label {
  margin-top: 18px;
  width: fit-content;
  color: var(--ink);
}

.coming-soon-note {
  margin-top: 18px;
  width: fit-content;
  color: var(--accent-dark);
}

.compact-cta {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid rgba(217, 205, 188, 0.92);
  border-radius: 28px;
  padding: 28px;
  background: rgba(255, 250, 241, 0.92);
  box-shadow: var(--shadow);
}

.gallery-card {
  background: rgba(255, 250, 241, 0.95);
}

.gallery-card figcaption {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.gallery-card figcaption strong {
  font-family: "Space Grotesk", sans-serif;
}

.gallery-card figcaption span,
.gallery-card figcaption em {
  color: var(--muted);
  font-size: 0.84rem;
}

.gallery-card.is-placeholder {
  outline: 1px dashed rgba(28, 122, 114, 0.4);
  outline-offset: -10px;
}

.content-wrap {
  padding: 56px 0;
}

.content-wrap > .page-title {
  margin-bottom: 18px;
}

.quote-form-wrap {
  display: grid;
  gap: 16px;
}

.quote-form {
  display: grid;
  gap: 14px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
}

.quote-form input,
.quote-form textarea,
.quote-form select {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid rgba(31, 37, 34, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
}

.quote-form textarea {
  min-height: 150px;
  resize: vertical;
}

.notice {
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 700;
}

.notice.success {
  background: rgba(28, 122, 114, 0.12);
  color: var(--accent-dark);
}

.notice.error {
  background: rgba(203, 139, 63, 0.14);
  color: #8c5d27;
}

.site-footer {
  padding: 34px 0 42px;
  border-top: 1px solid rgba(217, 205, 188, 0.75);
  background: rgba(246, 241, 233, 0.92);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.footer-inner strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Space Grotesk", sans-serif;
}

.footer-inner p {
  margin: 0 0 10px;
  color: var(--muted);
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  padding: 18px;
  border: 1px solid rgba(217, 205, 188, 0.92);
  border-radius: 24px;
  background: rgba(255, 250, 241, 0.92);
  box-shadow: var(--shadow);
}

.woocommerce span.onsale {
  min-height: auto;
  min-width: auto;
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--warm);
}

.woocommerce div.product {
  padding-top: 48px;
}

.woocommerce div.product .product_title {
  font-family: "Space Grotesk", sans-serif;
}

@media (max-width: 1100px) {
  .showcase-grid,
  .kit-grid,
  .module-grid,
  .promise-grid,
  .gallery-grid,
  .purchase-option-grid,
  .kit-detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-home-inner,
  .page-hero-inner,
  .kit-hero-inner,
  .detail-grid,
  .story-grid,
  .inquiry-layout,
  .compact-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-home-inner,
  .page-hero-inner,
  .kit-hero-inner,
  .detail-grid,
  .story-grid,
  .inquiry-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .header-inner,
  .section-inner,
  .footer-inner,
  .content-wrap {
    width: min(var(--max), calc(100% - 24px));
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 4px;
  }

  .nav a {
    min-width: 0;
    padding: 8px 4px;
    text-align: center;
  }

  .hero-home {
    padding-top: 40px;
  }

  .section {
    padding: 56px 0;
  }

  .section-head,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: grid;
    align-items: start;
  }

  .showcase-grid,
  .kit-grid,
  .promise-grid,
  .module-grid,
  .demo-grid,
  .gallery-grid,
  .purchase-option-grid,
  .kit-detail-gallery {
    grid-template-columns: 1fr;
  }

  .demo-card {
    grid-template-columns: 1fr;
  }

  .video-placeholder {
    min-height: 180px;
  }
}

@media (max-width: 560px) {
  .hero-home-inner,
  .hero-copy,
  .hero-panel {
    width: 100%;
    max-width: 100%;
  }

  .hero-copy p,
  .project-signal p,
  .eyebrow {
    overflow-wrap: anywhere;
  }

  .hero-copy,
  .callout-card,
  .kit-summary-card,
  .detail-card,
  .form-card,
  .module-card,
  .promise,
  .compact-cta,
  .demo-card-body,
  .showcase-body,
  .kit-card-body {
    padding: 20px;
  }

  .hero h1 {
    max-width: none;
    font-size: 2.8rem;
  }

  .page-title {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .actions,
  .card-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .wp-element-button,
  .woocommerce a.button,
  .woocommerce button.button {
    width: 100%;
  }

  .whatsapp-float,
  .inquiry-widget {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .inquiry-widget {
    max-width: none;
  }

  .inquiry-float {
    justify-content: center;
    min-height: 56px;
    width: 100%;
  }

  .inquiry-panel {
    width: 100%;
  }

  .chat-panel {
    max-height: calc(100vh - 96px);
  }

  .chat-thread {
    min-height: 190px;
    max-height: calc(100vh - 380px);
  }

  .chat-composer {
    grid-template-columns: 1fr;
  }

  .chat-send {
    width: 100%;
  }

  .purchase-cta .actions {
    justify-content: stretch;
  }
}
