/* ---------------------------------------------------------------------------
   Theme: Canadian red and white. Every colour, radius and shadow is set here,
   so the whole look changes from this one block.
   --------------------------------------------------------------------------- */
:root {
  --text: #17191c;
  --text-soft: #4a5058;
  --muted: #6b7280;
  --border: #e5e2e2;
  --border-strong: #d4cfcf;
  --surface: #ffffff;
  --surface-alt: #faf8f8;
  --background: #f4f1f1;
  --accent: #c8102e;
  --accent-dark: #9d0c24;
  --accent-soft: #fdeff1;
  --accent-contrast: #ffffff;
  --ink: #1d2126;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(23, 25, 28, 0.06), 0 1px 3px rgba(23, 25, 28, 0.04);
  --shadow-md: 0 4px 12px rgba(23, 25, 28, 0.08);
  --shadow-lg: 0 12px 32px rgba(23, 25, 28, 0.12);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(28px, 4vw, 38px);
  margin: 4px 0 20px;
}

h2 {
  font-size: clamp(20px, 2.5vw, 26px);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.page {
  padding-top: 24px;
  padding-bottom: 72px;
  min-height: 55vh;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sample-banner {
  background: #fff6d6;
  border-bottom: 1px solid #e8d798;
  padding: 8px 16px;
  text-align: center;
  font-size: 14px;
}

/* ---------------------------------------------------------------- header --- */
.support-strip {
  background: var(--ink);
  color: #e8e6e6;
  font-size: 13.5px;
}

.support-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  padding-top: 7px;
  padding-bottom: 7px;
}

.support-strip a {
  color: #fff;
  text-decoration: none;
}

.support-strip a:hover {
  text-decoration: underline;
}

.support-strip .muted {
  color: #b7b3b3;
}

.site-header {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
}

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo {
  height: 42px;
  width: auto;
  display: block;
}

.logo-footer {
  height: 38px;
  margin-bottom: 10px;
}

.logo-holding {
  width: min(520px, 100%);
  height: auto;
  margin-bottom: 20px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.search {
  display: flex;
  flex: 1 1 300px;
  max-width: 540px;
  margin-left: auto;
}

.search input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  font-size: 15px;
  border: 1px solid var(--border-strong);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: var(--surface);
}

.search input:focus {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.search button {
  padding: 11px 20px;
  font-size: 15px;
  font-weight: 600;
  border: 0;
  border-radius: 0 8px 8px 0;
  background: var(--accent);
  color: var(--accent-contrast);
  cursor: pointer;
}

.search button:hover {
  background: var(--accent-dark);
}

.main-nav {
  background: var(--accent);
}

.nav-list {
  list-style: none;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  padding-left: 20px;
  padding-right: 20px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 13px 16px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link {
  background: var(--accent-dark);
}

.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  min-width: 280px;
  max-height: 72vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--accent-dark);
}

.nav-item:hover > .mega-menu,
.nav-item:focus-within > .mega-menu {
  display: block;
}

.mega-menu ul {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  columns: 2;
  column-gap: 0;
  width: 540px;
}

.mega-menu a {
  display: block;
  padding: 7px 18px;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 14.5px;
  break-inside: avoid;
}

.mega-menu a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.badge {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  vertical-align: middle;
}

.badge-new {
  background: #e4f4ea;
  color: #14663c;
}

.badge-sale {
  background: var(--accent);
  color: #fff;
}

/* ------------------------------------------------------------------ hero --- */
.hero {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
}

.hero-inner {
  padding: 56px 20px 60px;
  max-width: 760px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(30px, 5vw, 46px);
  margin: 0 0 14px;
}

.hero p {
  font-size: clamp(16px, 2vw, 19px);
  color: #ffe9ec;
  margin: 0 0 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
}

.button-primary {
  background: #fff;
  color: var(--accent);
}

.button-primary:hover {
  background: #ffe9ec;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin: -34px auto 40px;
  position: relative;
  z-index: 2;
}

.feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-md);
}

.feature svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--accent);
  margin-top: 2px;
}

.feature h3 {
  margin: 0 0 2px;
  font-size: 15.5px;
}

.feature p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.hero.holding {
  min-height: 78vh;
  display: grid;
  align-items: center;
}

.hero.holding .hero-inner {
  padding-top: 40px;
  padding-bottom: 40px;
}

.eyebrow-light {
  color: #ffd7dd;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}

.holding-link {
  color: #fff;
  font-weight: 700;
}

/* --------------------------------------------------------------- sections --- */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

.section-head h2 {
  margin: 0;
  position: relative;
}

.section-head h2 a {
  color: var(--text);
  text-decoration: none;
}

.section-head .link-more {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.panel {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px 26px;
  margin-bottom: 18px;
}

.panel > :first-child {
  margin-top: 0;
}

.panel > :last-child {
  margin-bottom: 0;
}

.breadcrumb {
  font-size: 13.5px;
  color: var(--muted);
  padding: 4px 0 8px;
}

.breadcrumb a {
  color: var(--text-soft);
  text-decoration: none;
}

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

/* ----------------------------------------------------------------- cards --- */
.card-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 18px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  text-decoration: none;
  border-top: 3px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--accent);
}

.card-title {
  font-weight: 650;
}

.card-detail {
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------------------------------------------------------- product page --- */
.product-head {
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.notice {
  padding: 16px 18px;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  color: var(--text-soft);
  margin-bottom: 18px;
}

.configurator {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items: start;
  margin-bottom: 20px;
}

.options {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  display: grid;
  gap: 16px;
}

.field label {
  display: block;
  font-weight: 650;
  margin-bottom: 5px;
  font-size: 14.5px;
}

.field select {
  width: 100%;
  padding: 11px;
  font-size: 15.5px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
}

.price-box {
  position: sticky;
  top: 16px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--accent);
  padding: 22px 24px;
}

.price-label {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.price {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tabs {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 0 26px 6px;
}

.tab-list {
  display: none;
  border-bottom: 1px solid var(--border);
  margin: 0 -26px;
  padding: 0 14px;
}

.tabs-enhanced .tab-list {
  display: flex;
}

.tabs-enhanced .panel-heading {
  display: none;
}

.tab-list button {
  padding: 15px 18px;
  font-size: 15.5px;
  font-weight: 650;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  cursor: pointer;
}

.tab-list button:hover {
  color: var(--text);
}

.tab-list button[aria-selected="true"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-panel {
  padding: 22px 0 18px;
}

.spec-table {
  width: 100%;
  max-width: 780px;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-table th,
.spec-table td {
  padding: 11px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table th {
  width: 34%;
  font-weight: 650;
  background: var(--surface-alt);
}

.prep-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
  counter-reset: step;
}

.prep-steps li {
  padding: 18px;
  background: var(--surface-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  counter-increment: step;
}

.prep-steps h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
}

.prep-steps h3::before {
  content: "Step " counter(step) ": ";
  color: var(--accent);
}

.prep-steps p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-soft);
}

.templates h3 {
  font-size: 16px;
}

.size-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.size-list li {
  font-size: 14px;
}

.size-list a,
.size-list-pending li {
  display: inline-block;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
}

.size-list a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 650;
}

.size-list a:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.size-list-pending li {
  color: var(--muted);
  border-style: dashed;
  background: var(--surface-alt);
}

/* -------------------------------------------------------- artwork upload --- */
.artwork h2 {
  margin-bottom: 4px;
}

.drop-zone {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 26px 18px;
  margin-top: 14px;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface-alt);
  text-align: center;
}

.drop-zone-active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.drop-zone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.drop-zone p {
  margin: 0;
  font-size: 14px;
}

.button-solid {
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

.button-solid:hover {
  background: var(--accent-dark);
}

.upload-bar {
  height: 8px;
  margin-top: 14px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}

.upload-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.15s linear;
}

.upload-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}

.upload-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14.5px;
}

.link-button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

/* ------------------------------------------------------------ text pages --- */
.prose {
  max-width: 820px;
}

.prose .lead {
  font-size: 18px;
  color: var(--text-soft);
  margin-top: 0;
}

.prose h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.prose p {
  color: var(--text-soft);
}

.content-list {
  padding-left: 20px;
  margin: 0;
}

.content-list li {
  margin-bottom: 8px;
  color: var(--text-soft);
}

.content-steps {
  list-style: none;
  counter-reset: how;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.content-steps li {
  counter-increment: how;
  padding-left: 52px;
  position: relative;
}

.content-steps li::before {
  content: counter(how);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

.content-steps h3 {
  margin: 4px 0 4px;
  font-size: 17px;
}

.content-steps p {
  margin: 0;
}

/* ---------------------------------------------------------------- footer --- */
.site-footer {
  background: var(--ink);
  color: #e6e4e4;
  padding: 44px 0 36px;
}

.site-footer .brand,
.site-footer a {
  color: #e6e4e4;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer .muted {
  color: #a9a4a4;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr 1fr 1fr 0.8fr;
  gap: 28px;
}

.footer-heading {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #fff;
  margin: 0 0 10px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  font-size: 14.5px;
}

.site-footer ul.single-column {
  columns: 1;
}

.site-footer li {
  padding: 3px 0;
}

/* ------------------------------------------------------------ responsive --- */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .configurator {
    grid-template-columns: 1fr;
  }

  .price-box {
    position: static;
  }
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .search {
    margin-left: 0;
    max-width: none;
  }

  .nav-list {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .mega-menu {
    display: none !important;
  }

  .feature-row {
    margin-top: 24px;
  }

  .hero-inner {
    padding: 40px 20px 44px;
  }

  .panel,
  .tabs {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* ---------------------------------------------------------------------------
   Print My Stuff: the tattoo-shop brand. Dark, high contrast, gold accent.
   Only the tokens change; every component below picks the new colours up.
   --------------------------------------------------------------------------- */
[data-site="printmystuff"] {
  --text: #f4f1ea;
  --text-soft: #cfc9bd;
  --muted: #9d968a;
  --border: #33302b;
  --border-strong: #4a4640;
  --surface: #1b1a18;
  --surface-alt: #232120;
  --background: #131211;
  --accent: #d8a13a;
  --accent-dark: #b8842a;
  --accent-soft: #2a2419;
  --accent-contrast: #16150f;
  --ink: #0d0c0b;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 14px 34px rgba(0, 0, 0, 0.65);
}

[data-site="printmystuff"] body {
  background: var(--background);
}

[data-site="printmystuff"] .main-nav {
  background: var(--ink);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

[data-site="printmystuff"] .nav-item:hover > .nav-link,
[data-site="printmystuff"] .nav-item:focus-within > .nav-link {
  background: var(--surface-alt);
  color: var(--accent);
}

[data-site="printmystuff"] .hero {
  background: linear-gradient(160deg, #201d1a 0%, #0f0e0d 100%);
  border-bottom: 1px solid var(--border);
}

[data-site="printmystuff"] .hero h1 {
  color: var(--accent);
}

[data-site="printmystuff"] .hero p {
  color: var(--text-soft);
}

[data-site="printmystuff"] .button-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}

[data-site="printmystuff"] .button-primary:hover {
  background: var(--accent-dark);
}

[data-site="printmystuff"] .search input {
  background: var(--surface-alt);
  color: var(--text);
}

[data-site="printmystuff"] .search button {
  color: var(--accent-contrast);
}

[data-site="printmystuff"] .sample-banner {
  background: #2a2419;
  border-bottom-color: var(--border-strong);
  color: var(--text-soft);
}

[data-site="printmystuff"] .hero.holding {
  background: radial-gradient(circle at 50% 35%, #26221d 0%, #0d0c0b 70%);
}

[data-site="printmystuff"] .eyebrow-light {
  color: var(--accent);
}

[data-site="printmystuff"] .holding-link {
  color: var(--accent);
}

/* Brands without logo artwork show their name set in type */
.wordmark {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.wordmark-light {
  color: var(--text);
}

.wordmark-light::first-letter {
  color: var(--accent);
}

.wordmark-dark {
  color: #fff;
}

.logo-holding.wordmark {
  font-size: clamp(30px, 6vw, 54px);
  display: block;
  margin-bottom: 18px;
}

[data-site="printmystuff"] .wordmark-dark {
  color: var(--accent);
}
