:root {
  --ink: #171411;
  --cream: #f6f1e8;
  --paper: #fffaf3;
  --tomato: #e4237a;
  --tomato-dark: #b3135c;
  --olive: #3d4a2c;
  --line: rgba(23, 20, 17, 0.12);
  --muted: #efe7da;
  --shadow: 0 18px 40px rgba(23, 20, 17, 0.08);
  --radius: 22px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Source Sans 3", sans-serif;
  font-size: 18px;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .brand-name {
  font-family: "Bricolage Grotesque", sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
.container { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip-link:focus { left: 1rem; top: 1rem; background: #fff; padding: 0.5rem 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 86px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 800;
  margin-right: auto;
}
.brand-logo,
.brand img,
.custom-logo-link img {
  height: 68px;
  width: 68px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: grid;
  place-items: center;
}
.brand-name { margin: 0; font-size: 1.15rem; }
.site-nav .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a { text-decoration: none; font-weight: 600; }
.site-nav a:hover { color: var(--tomato); }
.cart-link {
  text-decoration: none;
  font-weight: 700;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.cart-count {
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  min-width: 1.4rem;
  height: 1.4rem;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
}

.hero, .page-hero, .section { padding: 4.5rem 0; }
.page-hero { padding-bottom: 1.5rem; }
body.usa-page {
  background: #123a6b url("../images/flag-bg.jpg") center top / cover fixed no-repeat;
}
body.usa-page .site-header {
  background: rgba(10, 28, 74, 0.88);
  border-bottom-color: rgba(255,255,255,0.12);
  color: #fff;
}
body.usa-page .site-nav a,
body.usa-page .cart-link,
body.usa-page .brand-name { color: #fff; }
body.usa-page .section {
  background: rgba(246, 241, 232, 0.92);
}
body.usa-page .section.muted {
  background: rgba(255, 255, 255, 0.84);
}
.usa-hero {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(10, 28, 74, 0.28), rgba(10, 28, 74, 0.42)),
    url("../images/flag-bg.jpg") center 30% / cover no-repeat;
  padding-bottom: 4.5rem;
}
.usa-hero .eyebrow { color: #ffd7de; }
.usa-hero .lede { color: rgba(255,255,255,0.95); text-shadow: 0 1px 8px rgba(0,0,0,0.35); }
.usa-title {
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: #ffffff;
  text-shadow: 0 2px 10px rgba(10, 28, 74, 0.55);
}
.hero-grid, .split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--tomato);
  margin-bottom: 0.7rem;
}
.lede { font-size: 1.15rem; max-width: 36rem; }
.hero-actions, .center-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.center-cta { justify-content: center; margin-top: 2rem; }
.hero-art img, .info-card img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font: inherit;
  font-weight: 700;
}
.btn-primary { background: var(--tomato); color: #fff; }
.btn-primary:hover { background: var(--tomato-dark); }
.btn-ghost { background: transparent; border: 1.5px solid var(--ink); }

.section.muted { background: var(--muted); }
.section-head { margin-bottom: 1.8rem; }
.card-grid {
  display: grid;
  gap: 1.2rem;
}
.card-grid.three { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.info-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1rem 1rem 1.3rem;
  text-decoration: none;
  box-shadow: var(--shadow);
  display: block;
}
.info-card.static { padding: 1.4rem; }
.info-card img {
  margin-bottom: 0.9rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: none;
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.steps li {
  background: var(--paper);
  border-radius: 16px;
  padding: 1rem 1.1rem;
}
.steps strong { display: block; font-family: "Bricolage Grotesque", sans-serif; }

.prose { max-width: 42rem; }
.plain-list { padding-left: 1.1rem; }
.form-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
}
.design-form { display: grid; gap: 0.85rem; }
.design-form label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.92rem; }
.design-form input, .design-form select, .design-form textarea {
  font: inherit;
  font-weight: 400;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.fine-print { font-size: 0.85rem; color: rgba(23,20,17,0.7); }
.notice { padding: 0.8rem 1rem; border-radius: 12px; margin-bottom: 1rem; }
.notice.success { background: #e5f0d8; }
.notice.error { background: #f8d7d0; }
.note { background: var(--paper); padding: 1rem; border-radius: 12px; }
.size-note { font-size: 0.9rem; color: rgba(23,20,17,0.72); margin: 0 0 1.1rem; }
.badge-usa {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}
.review-list { display: grid; gap: 1rem; }
.review-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow);
}
.review-card .stars { color: var(--tomato); letter-spacing: 0.12em; margin-bottom: 0.35rem; }
.review-meta { font-size: 0.88rem; color: rgba(23,20,17,0.65); }

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 3rem 0 1.4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer .menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
.footer-bottom { border-top: 1px solid rgba(246,241,232,0.15); padding-top: 1rem; font-size: 0.9rem; }

/* WooCommerce light restyle */
.woocommerce .products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.woocommerce ul.products li.product {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 0.8rem;
  width: auto !important;
  margin: 0 !important;
  float: none !important;
}
.woocommerce ul.products li.product img { border-radius: 16px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.15rem;
  padding: 0.6rem 0 0.2rem;
}
.woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit {
  background: var(--tomato) !important;
  color: #fff !important;
  border-radius: 999px !important;
}
.shop-shell { padding: 2rem 0 4rem; }

@media (max-width: 860px) {
  .hero-grid, .split, .card-grid.three, .footer-grid, .woocommerce .products, .form-row {
    grid-template-columns: 1fr;
  }
  .nav-toggle { display: block; }
  .site-nav { display: none; }
  body.nav-open .site-nav { display: block; position: absolute; left: 0; right: 0; top: 74px; background: var(--cream); padding: 1rem; border-bottom: 1px solid var(--line); }
  .site-nav .menu { flex-direction: column; }
}

.cart-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.cart-table th, .cart-table td { text-align: left; padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); }

body.munchkin-about {
  background: #12080c url("../images/theme-about.jpg") center / cover fixed no-repeat;
}
body.munchkin-reviews {
  background: #12080c url("../images/theme-reviews.jpg") right center / cover fixed no-repeat;
}
body.munchkin-about .site-header,
body.munchkin-reviews .site-header {
  background: rgba(12, 8, 10, 0.88);
  border-bottom-color: rgba(255,255,255,0.1);
  color: #fff;
}
body.munchkin-about .site-nav a,
body.munchkin-about .cart-link,
body.munchkin-about .brand-name,
body.munchkin-reviews .site-nav a,
body.munchkin-reviews .cart-link,
body.munchkin-reviews .brand-name { color: #fff; }
body.munchkin-about .section,
body.munchkin-reviews .section {
  background: rgba(246, 241, 232, 0.92);
}
body.munchkin-about .section.muted,
body.munchkin-reviews .section.muted {
  background: rgba(255, 255, 255, 0.86);
}
.munchkin-hero-about,
.munchkin-hero-reviews {
  color: #fff;
  padding-bottom: 4.5rem;
}
.munchkin-hero-about {
  background:
    linear-gradient(90deg, rgba(12,8,10,0.55) 0%, rgba(12,8,10,0.2) 55%, rgba(12,8,10,0.05) 100%),
    url("../images/theme-about.jpg") center / cover no-repeat;
}
.munchkin-hero-reviews {
  background:
    linear-gradient(90deg, rgba(12,8,10,0.08) 0%, rgba(12,8,10,0.28) 40%, rgba(12,8,10,0.62) 100%),
    url("../images/theme-reviews.jpg") center / cover no-repeat;
}
.munchkin-hero-about .eyebrow,
.munchkin-hero-reviews .eyebrow { color: #ff9ec4; }
.munchkin-hero-about h1,
.munchkin-hero-reviews h1 {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}
.munchkin-hero-about .lede,
.munchkin-hero-reviews .lede {
  color: rgba(255,255,255,0.94);
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

body.munchkin-create {
  background: #ece6dc url("../images/theme-create.jpg") center top / cover fixed no-repeat;
}
body.munchkin-create .site-header {
  background: rgba(246, 241, 232, 0.88);
}
.munchkin-hero-create {
  color: #171411;
  background:
    linear-gradient(180deg, rgba(246,241,232,0.28) 0%, rgba(246,241,232,0.18) 55%, rgba(246,241,232,0.55) 100%),
    url("../images/theme-create.jpg") center 40% / cover no-repeat;
  padding-bottom: 4.5rem;
}
.munchkin-hero-create .eyebrow { color: #e4237a; }
.munchkin-hero-create h1 {
  color: #171411;
  text-shadow: 0 1px 0 rgba(255,255,255,0.65);
}
.munchkin-hero-create .lede { color: #2a241f; max-width: 28rem; }
body.munchkin-create .section {
  background: rgba(246, 241, 232, 0.9);
}
body.munchkin-create .create-form,
body.munchkin-create .info-card {
  background: rgba(255,250,243,0.94);
}

body.munchkin-shipping,
body.woocommerce-cart,
body.munchkin-cart {
  background-color: #ece6dc;
}
body.munchkin-shipping {
  background: #3b2a1c url("../images/theme-shipping.jpg") center / cover fixed no-repeat;
}
body.munchkin-cart,
body.woocommerce-cart {
  background: #d9d4cc url("../images/theme-cart.jpg") center / cover fixed no-repeat;
}
body.munchkin-shipping .site-header,
body.munchkin-cart .site-header,
body.woocommerce-cart .site-header {
  background: rgba(246, 241, 232, 0.9);
}
.munchkin-hero-shipping {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(40,24,12,0.35), rgba(40,24,12,0.45)),
    url("../images/theme-shipping.jpg") center / cover no-repeat;
}
.munchkin-hero-shipping .eyebrow { color: #f3c9a0; }
.munchkin-hero-shipping h1,
.munchkin-hero-shipping .lede { color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.45); }
.munchkin-hero-cart {
  color: #171411;
  background:
    linear-gradient(90deg, rgba(246,241,232,0.55) 0%, rgba(246,241,232,0.12) 55%, rgba(20,20,20,0.08) 100%),
    url("../images/theme-cart.jpg") right center / cover no-repeat;
}
.munchkin-hero-cart h1 { color: #171411; }
body.munchkin-shipping .section,
body.munchkin-cart .section,
body.woocommerce-cart .woocommerce {
  background: rgba(246, 241, 232, 0.92);
}
body.munchkin-shipping .cart-table,
body.munchkin-cart .cart-table {
  background: rgba(255,250,243,0.94);
}
