:root {
  --brand-red: #ff4f40;
  --brand-yellow: #fcc400;

  --red-deep: #7a160f;
  --red-dark: #3a0d09;
  --yellow-soft: #ffe17a;
  --cream: #fff8df;
  --cream-soft: #f3e8c6;

  --bg: #070605;
  --bg-soft: #11100d;
  --bg-card: #181510;
  --bg-card-2: #211b13;

  --text: #fff8df;
  --muted: #f3e8c6;
  --text-on-yellow: #070605;
  --border: #4c3922;

  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --max-width: 1180px;

  --shadow-soft: 0 24px 70px rgba(0, 0, 0, 0.45);
  --glow-red: 0 0 32px rgba(255, 79, 64, 0.24);
  --glow-yellow: 0 0 34px rgba(252, 196, 0, 0.2);
}

html[data-theme="light"] {
  --bg: #fff5d6;
  --bg-soft: #ffebad;
  --bg-card: #fffaf0;
  --bg-card-2: #fff2c5;

  --text: #120d07;
  --muted: #392c1a;
  --border: #9a7a31;

  --shadow-soft: 0 24px 70px rgba(60, 35, 0, 0.16);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 79, 64, 0.28), transparent 20rem),
    radial-gradient(circle at 88% 10%, rgba(252, 196, 0, 0.2), transparent 22rem),
    radial-gradient(circle at 70% 75%, rgba(255, 79, 64, 0.14), transparent 26rem),
    linear-gradient(135deg, rgba(252, 196, 0, 0.035) 25%, transparent 25%),
    var(--bg);
  background-size: auto, auto, auto, 28px 28px, auto;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(252, 196, 0, 0.035) 0,
      rgba(252, 196, 0, 0.035) 1px,
      transparent 1px,
      transparent 11px
    );
  z-index: -1;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

main {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

/* Header */

.site-header {
  width: min(100% - 32px, var(--max-width));
  margin: 18px auto 0;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-2));
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 14px;
  z-index: 50;
  box-shadow: var(--shadow-soft);
}

.brand,
.brand-logo-link {
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-logo {
  display: block;
  width: auto;
  height: 74px;
  max-width: 280px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav a {
  border: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  transition: 0.18s ease;
}

.nav a:hover,
.nav a.active {
  background: var(--brand-yellow);
  color: var(--text-on-yellow);
  border-color: #000;
  box-shadow: 3px 3px 0 #000;
  transform: translate(-2px, -2px);
}

.nav .bag-link,
.nav .bag-link.active {
  background: var(--red-deep) !important;
  color: var(--cream) !important;
  border: 2px solid #000 !important;
  box-shadow: 3px 3px 0 #000;
}

.nav .bag-link:hover {
  background: var(--brand-red) !important;
  color: #070605 !important;
  transform: translate(-2px, -2px);
}

.bag-link span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 5px;
  background: var(--brand-yellow);
  color: var(--text-on-yellow);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 1000;
}

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

.theme-toggle,
.menu-toggle {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 2px solid #000;
  border-radius: 18px;
  cursor: pointer;
  transition: 0.18s ease;
}

.theme-toggle {
  background: var(--bg-soft);
  color: var(--text);
  border-color: var(--border);
}

.menu-toggle {
  display: none;
  background: var(--brand-yellow);
  color: var(--text-on-yellow);
  box-shadow: 3px 3px 0 #000;
}

.theme-toggle svg,
.menu-toggle svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  stroke: currentColor;
  stroke-width: 2.6;
}

.theme-toggle:hover,
.menu-toggle:hover {
  background: var(--brand-yellow);
  color: var(--text-on-yellow);
  border-color: #000;
  box-shadow: 3px 3px 0 #000;
  transform: translate(-2px, -2px);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 2px solid #000;
  border-radius: 999px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: 0.18s ease;
}

.btn-primary {
  background: var(--brand-yellow);
  color: var(--text-on-yellow);
  box-shadow: 5px 5px 0 #000;
}

.btn-primary:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 #000;
}

.btn-secondary,
.btn-small {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--brand-red);
  box-shadow: 5px 5px 0 rgba(255, 79, 64, 0.45);
}

.btn-secondary:hover,
.btn-small:hover {
  background: var(--red-deep);
  color: var(--cream);
  transform: translate(-3px, -3px);
}

.btn-small {
  min-height: 42px;
  padding-inline: 16px;
  font-size: 0.8rem;
}

/* Typography */

.eyebrow {
  display: inline-flex;
  color: var(--text-on-yellow);
  background: var(--brand-yellow);
  border: 2px solid #000;
  border-radius: 999px;
  box-shadow: 4px 4px 0 #000;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 1000;
  padding: 8px 13px;
  margin-bottom: 18px;
}

.eyebrow-red {
  background: var(--red-deep);
  color: var(--cream);
}

h1,
h2,
h3 {
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3rem, 9vw, 7rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 4.2rem);
}

h3 {
  font-size: 1.35rem;
}

.hero p,
.page-hero p,
.section p {
  color: var(--muted);
}

/* Hero */

.hero {
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 44px;
  padding: 70px 0;
}

.hero h1 {
  color: var(--cream);
  text-shadow:
    0 5px 0 var(--red-deep),
    0 10px 0 rgba(0, 0, 0, 0.55);
}

html[data-theme="light"] .hero h1 {
  color: #120d07;
  text-shadow:
    0 4px 0 rgba(255, 79, 64, 0.36),
    0 8px 0 rgba(0, 0, 0, 0.12);
}

.hero-content > p:not(.eyebrow) {
  max-width: 650px;
  font-size: 1.1rem;
  margin-top: 20px;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trust-row span {
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
}

.trust-row span::before {
  content: "✦";
  color: var(--brand-yellow);
  margin-right: 7px;
}

.hero-panel {
  min-height: 520px;
  position: relative;
  display: grid;
  place-items: center;
}

.burst-card {
  width: min(100%, 420px);
  min-height: 500px;
  padding: 30px;
  border: 3px solid #000;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 25%, rgba(252, 196, 0, 0.22), transparent 12rem),
    linear-gradient(150deg, rgba(255, 79, 64, 0.28), rgba(252, 196, 0, 0.1)),
    var(--bg-card);
  box-shadow:
    12px 12px 0 #000,
    var(--glow-red);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}

.burst-card::before {
  content: "";
  position: absolute;
  inset: 55px 30px auto;
  height: 250px;
  background:
    radial-gradient(circle, #fff 0 4%, transparent 5%),
    radial-gradient(circle, var(--brand-yellow) 0 10%, transparent 11%),
    radial-gradient(circle at 35% 50%, var(--brand-red) 0 11%, transparent 12%),
    radial-gradient(circle at 70% 55%, #fff7df 0 8%, transparent 9%);
  filter: blur(3px);
  opacity: 0.95;
  z-index: -1;
}

.burst-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 12px,
      rgba(252, 196, 0, 0.07) 12px 14px
    );
  z-index: -2;
}

.sale-pill {
  position: absolute;
  top: 22px;
  left: 22px;
  background: var(--brand-yellow);
  color: var(--text-on-yellow);
  border: 2px solid #000;
  border-radius: 999px;
  box-shadow: 4px 4px 0 #000;
  font-weight: 1000;
  padding: 9px 13px;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.burst-card h2 {
  color: var(--text);
}

.burst-card p {
  color: var(--muted);
  margin: 12px 0 18px;
}

.burst-card strong {
  color: var(--brand-red);
  font-size: 2rem;
}

.glow-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(35px);
  z-index: -1;
}

.orb-one {
  width: 190px;
  height: 190px;
  background: rgba(255, 79, 64, 0.55);
  top: 35px;
  left: 0;
}

.orb-two {
  width: 230px;
  height: 230px;
  background: rgba(252, 196, 0, 0.38);
  right: 0;
  bottom: 35px;
}

/* Sections */

.section,
.page-hero {
  padding: 74px 0;
}

.page-hero {
  max-width: 920px;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  margin-bottom: 20px;
  color: var(--text);
  text-shadow: 0 4px 0 var(--red-deep);
}

html[data-theme="light"] .page-hero h1 {
  text-shadow: 0 4px 0 rgba(255, 79, 64, 0.28);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 30px;
}

.category-grid,
.values-grid,
.product-grid {
  display: grid;
  gap: 20px;
}

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

/* Cards */

.category-card,
.value-card,
.info-card,
.form-card,
.contact-card,
.order-summary,
.confirmation-panel,
.notice-section {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-2));
  box-shadow: var(--shadow-soft);
}

.category-card {
  min-height: 190px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: 0.18s ease;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  background: linear-gradient(var(--brand-red), var(--brand-yellow));
}

.category-card::after {
  content: "✦";
  position: absolute;
  right: 18px;
  top: 12px;
  color: var(--brand-yellow);
  font-size: 2.2rem;
  opacity: 0.85;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    var(--glow-yellow);
  border-color: var(--brand-yellow);
}

.category-card span {
  display: block;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 1000;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 12px;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.steps {
  display: grid;
  gap: 14px;
}

.steps div {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-2));
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.steps span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--brand-yellow);
  color: var(--text-on-yellow);
  border: 2px solid #000;
  border-radius: 16px;
  box-shadow: 3px 3px 0 #000;
  font-weight: 1000;
}

.steps p {
  font-weight: 900;
  color: var(--text);
  text-transform: uppercase;
}

.notice-section {
  padding: 30px;
  margin-bottom: 74px;
  border-color: var(--brand-yellow);
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(252, 196, 0, 0.08) 0 12px,
      transparent 12px 24px
    ),
    var(--bg-card);
}

/* About */

.info-card,
.value-card {
  padding: 28px;
}

.tick-list {
  margin-top: 18px;
  list-style: none;
  display: grid;
  gap: 12px;
}

.tick-list li {
  color: var(--muted);
  font-weight: 800;
}

.tick-list li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  background: var(--brand-yellow);
  color: var(--text-on-yellow);
  border: 1px solid #000;
  border-radius: 999px;
  font-weight: 1000;
}

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

.value-card {
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-yellow));
}

/* Shop */

.shop-layout {
  display: grid;
  grid-template-columns: 265px 1fr;
  gap: 28px;
  padding-bottom: 74px;
}

.filters {
  position: sticky;
  top: 112px;
  align-self: start;
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-2));
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.filters h2 {
  font-size: 1.55rem;
  margin-bottom: 16px;
}

.filter-chip {
  width: 100%;
  border: 2px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 999px;
  text-align: left;
  margin-bottom: 9px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
  transition: 0.16s ease;
}

.filter-chip.active,
.filter-chip:hover {
  background: var(--brand-yellow);
  color: var(--text-on-yellow);
  border-color: #000;
  box-shadow: 4px 4px 0 #000;
  transform: translate(-2px, -2px);
}

.filter-note {
  margin-top: 18px;
  padding: 16px;
  background: rgba(122, 22, 15, 0.45);
  border: 2px dashed var(--brand-red);
  border-radius: var(--radius-md);
}

.filter-note strong {
  color: var(--brand-yellow);
  text-transform: uppercase;
}

.filter-note p {
  color: var(--cream);
  font-size: 0.92rem;
}

.shop-topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

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

.product-card {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-2));
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: 0.18s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    var(--glow-yellow);
  border-color: var(--brand-yellow);
}

.product-image {
  min-height: 215px;
  border-bottom: 2px solid var(--border);
  background:
    radial-gradient(circle at 50% 38%, #fff 0 4%, transparent 5%),
    radial-gradient(circle at 50% 38%, var(--brand-yellow) 0 13%, transparent 14%),
    radial-gradient(circle at 34% 56%, var(--brand-red) 0 13%, transparent 14%),
    radial-gradient(circle at 70% 64%, #fff7df 0 8%, transparent 9%),
    repeating-linear-gradient(
      45deg,
      rgba(255, 79, 64, 0.14) 0 10px,
      rgba(252, 196, 0, 0.09) 10px 20px
    ),
    #101010;
}

.product-info {
  padding: 18px;
}

.product-category {
  display: inline-flex;
  background: var(--brand-yellow);
  color: var(--text-on-yellow);
  border: 1px solid #000;
  border-radius: 999px;
  box-shadow: 2px 2px 0 #000;
  font-size: 0.68rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 6px 10px;
  margin-bottom: 12px;
}

.product-info p {
  color: var(--muted);
  margin: 9px 0 18px;
  font-size: 0.95rem;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.product-bottom strong {
  color: var(--brand-red);
  font-size: 1.15rem;
}

.product-bottom button {
  border: 2px solid #000;
  background: var(--brand-yellow);
  color: var(--text-on-yellow);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 1000;
  text-transform: uppercase;
  font-size: 0.75rem;
  box-shadow: 3px 3px 0 #000;
  transition: 0.16s ease;
}

.product-bottom button:hover {
  background: var(--cream);
  color: #080808;
  transform: translate(-2px, -2px);
}

/* Contact / Checkout */

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

.contact-card,
.form-card,
.order-summary {
  padding: 26px;
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-2));
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.contact-card h2,
.form-card h2,
.order-summary h2 {
  margin-bottom: 14px;
}

.contact-line {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.contact-line span {
  display: inline-block;
  background: var(--brand-yellow);
  color: var(--text-on-yellow);
  border: 1px solid #000;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contact-warning {
  margin-top: 20px;
  padding: 18px;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(252, 196, 0, 0.12) 0 9px,
      transparent 9px 18px
    ),
    rgba(122, 22, 15, 0.4);
  border: 2px dashed var(--brand-yellow);
  border-radius: var(--radius-md);
}

.contact-warning strong {
  color: var(--brand-yellow);
  text-transform: uppercase;
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 1000;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

label small {
  color: var(--muted);
  font-weight: 700;
  text-transform: none;
}

input,
textarea {
  width: 100%;
  border: 2px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  padding: 14px 15px;
  border-radius: var(--radius-md);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--brand-yellow);
  box-shadow: 0 0 0 4px rgba(252, 196, 0, 0.18);
}

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

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
}

.checkbox-label input {
  width: auto;
  margin-top: 6px;
  accent-color: var(--brand-yellow);
}

.checkout-layout {
  grid-template-columns: 1fr 390px;
  align-items: start;
}

.order-summary {
  position: sticky;
  top: 112px;
  border-top: 8px solid var(--brand-yellow);
}

.summary-item,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.summary-total {
  border-bottom: 0;
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 1000;
}

.summary-total strong {
  color: var(--brand-red);
}

.summary-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 16px;
}

/* Confirmation */

.confirmation-panel {
  max-width: 780px;
  margin: 96px auto;
  padding: 42px;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(252, 196, 0, 0.14), transparent 18rem),
    linear-gradient(145deg, var(--bg-card), var(--bg-card-2));
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.success-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  background: var(--brand-yellow);
  color: var(--text-on-yellow);
  border: 3px solid #000;
  border-radius: 24px;
  box-shadow: 5px 5px 0 #000;
  font-size: 2.2rem;
  font-weight: 1000;
  transform: rotate(-4deg);
}

.confirmation-panel h1 {
  font-size: clamp(2.4rem, 7vw, 5rem);
}

.confirmation-panel p:not(.eyebrow) {
  color: var(--muted);
  margin: 18px auto 0;
  max-width: 620px;
}

.confirmation-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* Footer */

.site-footer {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto 24px;
  padding: 28px;
  background:
    radial-gradient(circle at top left, rgba(252, 196, 0, 0.12), transparent 18rem),
    linear-gradient(145deg, var(--bg-card), var(--bg-card-2));
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  color: var(--muted);
  box-shadow: var(--shadow-soft);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.footer-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 16px;
  background: var(--brand-yellow);
  border: 2px solid #000;
  box-shadow: 4px 4px 0 #000;
}

.footer-brand strong,
.footer-links h2,
.footer-contact h2 {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.footer-brand p {
  max-width: 320px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 9px;
}

.footer-links a,
.footer-contact a,
.footer-bottom a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
  transition: 0.18s ease;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-bottom a:hover {
  color: var(--brand-yellow);
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-bottom span {
  display: inline-block;
  margin-left: 6px;
}

.footer-bottom a {
  color: var(--brand-yellow);
}

/* Clean product image area */

.product-image {
  background: var(--bg-card);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-image::before,
.product-image::after {
  display: none !important;
  content: none !important;
}

.product-image img {
  width: 100%;
  height: 100%;
  min-height: 215px;
  object-fit: contain;
  padding: 18px;
}

/* Keep product buttons aligned across cards */

.product-grid {
  align-items: stretch;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-image {
  min-height: 420px;
}

.product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-info p {
  margin-bottom: 24px;
}

.product-bottom {
  margin-top: auto;
}

/* Product card image + category pill tidy-up */

.product-image {
  height: 300px;
  min-height: 300px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 24px;
}

.product-image img {
  width: 100%;
  height: 100%;
  min-height: unset;
  object-fit: contain;
  padding: 0;
}

.product-category {
  display: inline-flex;
  width: fit-content;
  max-width: max-content;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  align-self: flex-start;
}

/* Keep bottom row aligned */
.product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-bottom {
  margin-top: auto;
}

/* Tablet */

@media (max-width: 980px) {
  .hero,
  .split-section,
  .shop-layout,
  .contact-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .hero-panel {
    min-height: 400px;
  }

  .burst-card {
    min-height: 400px;
  }

  .category-grid,
  .values-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .filters,
  .order-summary {
    position: static;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Footer icon contact update */

.footer-contact {
  justify-items: start;
}

.footer-icon-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-icon-links a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  color: var(--text);
  border: 2px solid var(--border);
  border-radius: 16px;
  transition: 0.18s ease;
}

.footer-icon-links a:hover {
  background: var(--brand-yellow);
  color: var(--text-on-yellow);
  border-color: #000;
  box-shadow: 3px 3px 0 #000;
  transform: translate(-2px, -2px);
}

.footer-icon-links svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-icon-links a[aria-label="Facebook"] svg path {
  fill: currentColor;
  stroke: none;
}

.footer-contact-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Theme contrast fixes for yellow and red pill elements */

/* Yellow pill elements - dark/charcoal text in both themes */
.eyebrow:not(.eyebrow-red),
.sale-pill,
.product-category,
.filter-chip.active,
.nav a.active,
.btn-primary,
.steps span,
.contact-line span,
.bag-link span {
  background: var(--brand-yellow);
  color: #11100d;
}

/* Yellow hover/active states */
.nav a:hover,
.theme-toggle:hover,
.menu-toggle:hover,
.filter-chip:hover,
.product-bottom button,
.footer-icon-links a:hover {
  background: var(--brand-yellow);
  color: #11100d;
}

/* Red pill elements - cream text in both themes */
.eyebrow-red,
.nav .bag-link,
.nav .bag-link.active {
  background: var(--red-deep) !important;
  color: var(--cream) !important;
}

/* Light mode specific fix for red pills */
html[data-theme="light"] .eyebrow-red,
html[data-theme="light"] .nav .bag-link,
html[data-theme="light"] .nav .bag-link.active {
  background: var(--red-deep) !important;
  color: var(--cream) !important;
}

/* Light mode yellow pills need dark text */
html[data-theme="light"] .eyebrow:not(.eyebrow-red),
html[data-theme="light"] .sale-pill,
html[data-theme="light"] .product-category,
html[data-theme="light"] .filter-chip.active,
html[data-theme="light"] .nav a.active,
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .steps span,
html[data-theme="light"] .contact-line span,
html[data-theme="light"] .bag-link span {
  background: var(--brand-red);
  color: #11100d;
}

/* Dark mode yellow pills need dark text too */
html[data-theme="dark"] .eyebrow:not(.eyebrow-red),
html[data-theme="dark"] .sale-pill,
html[data-theme="dark"] .product-category,
html[data-theme="dark"] .filter-chip.active,
html[data-theme="dark"] .nav a.active,
html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .steps span,
html[data-theme="dark"] .contact-line span,
html[data-theme="dark"] .bag-link span {
  background: var(--brand-red);
  color: #11100d;
}

/* Product add-to-bag button */
.product-bottom button {
  background: var(--brand-yellow);
  color: #11100d;
}

/* Product add-to-bag hover */
.product-bottom button:hover {
  background: var(--cream);
  color: #11100d;
}

/* Bag hover should still stay readable */
.nav .bag-link:hover {
  background: var(--brand-red) !important;
  color: #11100d !important;
}

.loading-message,
.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-2));
  color: var(--muted);
  text-align: center;
}

.empty-state h3 {
  margin-bottom: 10px;
  color: var(--text);
}

.product-image img {
  width: 100%;
  height: 100%;
  min-height: 215px;
  object-fit: cover;
  display: block;
}

.product-bottom button.added {
  background: var(--red-deep);
  color: var(--cream);
}

.checkout-item {
  display: grid;
  grid-template-columns: 1fr 90px auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.checkout-item strong,
.checkout-item span {
  display: block;
}

.checkout-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.checkout-item label {
  font-size: 0.72rem;
}

.checkout-item input {
  padding: 9px 10px;
  text-align: center;
}

.checkout-item button {
  border: 2px solid #000;
  background: var(--red-deep);
  color: var(--cream);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 1000;
  text-transform: uppercase;
  font-size: 0.72rem;
  cursor: pointer;
}

.confirmation-detail-card {
  margin-top: 24px;
  padding: 24px;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-2));
  text-align: left;
}

.confirmation-detail-card h2 {
  margin-bottom: 18px;
}

.confirmation-detail-card p {
  color: var(--muted);
}

.confirmation-detail-card strong {
  color: var(--text);
}

.confirmation-items {
  margin: 18px 0;
  border-top: 1px solid var(--border);
}

.confirmation-items div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.form-status {
  min-height: 1.4em;
  color: var(--muted);
  font-weight: 800;
}

.form-status[data-status="success"] {
  color: var(--brand-yellow);
}

.form-status[data-status="error"] {
  color: var(--brand-red);
}

/* Checkout date/time field alignment + clearer icons */

.checkout-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.checkout-form .form-row label {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.checkout-form .form-row input[type="date"],
.checkout-form .form-row input[type="time"] {
  width: 100%;
  min-height: 82px;
  display: flex;
  align-items: center;
}

/* Makes the little date/time icons clearer and red where browser supports it */
.checkout-form input[type="date"]::-webkit-calendar-picker-indicator,
.checkout-form input[type="time"]::-webkit-calendar-picker-indicator {
  opacity: 1;
  cursor: pointer;
  filter: invert(42%) sepia(95%) saturate(1987%) hue-rotate(335deg) brightness(108%) contrast(103%);
}

/* Small helper text under collection time */
.checkout-form .form-row small {
  display: block;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.45;
}

/* Keep checkout date/time icons on the right */

.checkout-form .form-row input[type="date"],
.checkout-form .form-row input[type="time"] {
  position: relative;
  display: block;
  width: 100%;
  padding-right: 70px;
}

/* Chrome / Safari date and time picker icon */
.checkout-form input[type="date"]::-webkit-calendar-picker-indicator,
.checkout-form input[type="time"]::-webkit-calendar-picker-indicator {
  position: absolute;
  right: 34px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  width: 22px;
  height: 22px;
  opacity: 1;
  cursor: pointer;
  filter: invert(42%) sepia(95%) saturate(1987%) hue-rotate(335deg) brightness(108%) contrast(103%);
}

/* Checkout select dropdown styling */

.checkout-form select {
  width: 100%;
  min-height: 82px;
  padding: 20px 70px 20px 28px;
  background: var(--bg);
  color: var(--text);
  border: 3px solid var(--border);
  border-radius: var(--radius-lg);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--brand-red) 50%),
    linear-gradient(135deg, var(--brand-red) 50%, transparent 50%);
  background-position:
    calc(100% - 34px) 50%,
    calc(100% - 24px) 50%;
  background-size:
    10px 10px,
    10px 10px;
  background-repeat: no-repeat;
}

.checkout-form select:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 4px rgba(255, 79, 64, 0.18);
}

html[data-theme="light"] .checkout-form select {
  background-color: #fff8df;
  color: #11100d;
}

/* Make checkout select match the date input */

.checkout-form input[type="date"],
.checkout-form select {
  background-color: var(--bg);
  color: var(--text);
  border: 3px solid var(--border);
  border-radius: var(--radius-lg);
  min-height: 82px;
}

.checkout-form select {
  padding: 20px 70px 20px 28px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;

  background-image:
    linear-gradient(45deg, transparent 50%, var(--brand-red) 50%),
    linear-gradient(135deg, var(--brand-red) 50%, transparent 50%);
  background-position:
    calc(100% - 44px) 50%,
    calc(100% - 30px) 50%;
  background-size:
    14px 14px,
    14px 14px;
  background-repeat: no-repeat;
}

.checkout-form select:focus,
.checkout-form input[type="date"]:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 4px rgba(255, 79, 64, 0.18);
}

html[data-theme="light"] .checkout-form input[type="date"],
html[data-theme="light"] .checkout-form select {
  background-color: #fff8df;
  color: #11100d;
}

/* Align checkout date and time text */

.checkout-form input[type="date"],
.checkout-form select {
  box-sizing: border-box;
  width: 100%;
  padding-left: 28px !important;
  padding-right: 70px !important;
  text-align: left;
}

.checkout-form select {
  text-indent: 0;
}

/* Make checkout form fields consistent */

.checkout-form input[type="text"],
.checkout-form input[type="email"],
.checkout-form input[type="tel"],
.checkout-form input[type="date"],
.checkout-form select {
  width: 100%;
  min-height: 82px;
  box-sizing: border-box;
  background-color: var(--bg);
  color: var(--text);
  border: 3px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 70px 20px 28px !important;
  font: inherit;
  font-weight: 900;
  line-height: 1.2;
}

.checkout-form input::placeholder {
  color: rgba(255, 248, 223, 0.45);
  opacity: 1;
}

.checkout-form input:focus,
.checkout-form select:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 4px rgba(255, 79, 64, 0.18);
}

/* Keep select arrow */
.checkout-form select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;

  background-image:
    linear-gradient(45deg, transparent 50%, var(--brand-red) 50%),
    linear-gradient(135deg, var(--brand-red) 50%, transparent 50%);
  background-position:
    calc(100% - 44px) 50%,
    calc(100% - 30px) 50%;
  background-size:
    14px 14px,
    14px 14px;
  background-repeat: no-repeat;
}

/* Keep date icon on the right */
.checkout-form input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  right: 34px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  width: 22px;
  height: 22px;
  opacity: 1;
  cursor: pointer;
  filter: invert(42%) sepia(95%) saturate(1987%) hue-rotate(335deg) brightness(108%) contrast(103%);
}

.checkout-form input[type="date"] {
  position: relative;
}

/* Light mode */
html[data-theme="light"] .checkout-form input[type="text"],
html[data-theme="light"] .checkout-form input[type="email"],
html[data-theme="light"] .checkout-form input[type="tel"],
html[data-theme="light"] .checkout-form input[type="date"],
html[data-theme="light"] .checkout-form select {
  background-color: #fff8df;
  color: #11100d;
}

html[data-theme="light"] .checkout-form input::placeholder {
  color: rgba(17, 16, 13, 0.5);
}

/* Mobile checkout fields */
@media (max-width: 760px) {
  .checkout-form .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .checkout-form .form-row small {
    min-height: unset;
  }
}

/* Desktop header nav alignment */

@media (min-width: 761px) {
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .brand-logo-link {
    flex: 0 0 auto;
  }

  .nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .header-actions {
    display: flex;
    align-items: center;
    margin-left: 12px;
  }

  .mobile-bag-link {
    display: none;
  }

  .menu-toggle {
    display: none;
  }
}

/* Mobile */

@media (max-width: 760px) {
  main,
  .site-header,
  .site-footer {
    width: min(100% - 22px, var(--max-width));
  }

  .site-header {
    padding: 14px;
    border-radius: 28px;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand,
  .brand-logo-link {
    flex: 1;
    min-width: 0;
  }

  .site-logo {
    height: 58px;
    max-width: 210px;
  }

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

  .theme-toggle,
  .menu-toggle {
    width: 52px;
    height: 52px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav {
    display: none;
    width: 100%;
    flex-basis: 100%;
    margin-top: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    grid-template-columns: 1fr;
    justify-content: stretch;
    justify-items: stretch;
    align-items: stretch;
  }

  .nav.open {
    display: grid;
    gap: 12px;
  }

  .nav a {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft);
    color: var(--text);
    border: 2px solid var(--border);
    border-radius: 999px;
    padding: 0 20px;
    box-shadow: none;
    transform: none;
    text-align: center;
  }

  .nav a:hover {
    transform: none;
  }

  .nav a.active {
    background: var(--brand-yellow);
    color: var(--text-on-yellow);
    border-color: #000;
    box-shadow: 3px 3px 0 #000;
  }

  .nav .bag-link,
  .nav .bag-link.active {
    background: var(--red-deep) !important;
    color: var(--cream) !important;
    border-color: #000 !important;
    box-shadow: 3px 3px 0 #000;
  }

  .nav .bag-link:hover {
    background: var(--brand-red) !important;
    color: #070605 !important;
  }

  .nav .bag-link span {
    background: var(--brand-yellow);
    color: var(--text-on-yellow);
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.8rem);
  }

  .hero h1,
  .page-hero h1 {
    text-shadow:
      0 3px 0 var(--red-deep),
      0 6px 0 rgba(0, 0, 0, 0.45);
  }

  html[data-theme="light"] .hero h1,
  html[data-theme="light"] .page-hero h1 {
    text-shadow:
      0 3px 0 rgba(255, 79, 64, 0.28),
      0 6px 0 rgba(0, 0, 0, 0.1);
  }

  .hero-content > p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero-actions,
  .confirmation-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .category-grid,
  .values-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .page-hero {
    padding: 30px;
  }

  .shop-topbar {
    align-items: start;
    flex-direction: column;
  }

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

  .confirmation-panel {
    margin: 58px auto;
    padding: 28px;
  }

  .product-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .product-bottom button {
    width: 100%;
  }

  .site-footer {
    padding: 24px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-bottom span {
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }

    .nav {
    text-align: center;
  }

  .nav::before {
    content: "Menu";
    display: block;
    width: 100%;
    margin-bottom: 2px;
    color: var(--brand-yellow);
    font-size: 0.72rem;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    text-align: center;
  }

  .nav.open {
    padding-top: 20px;
    border-top: 2px solid var(--border);
  }

  .nav a {
    justify-content: center;
    text-align: center;
  }

  .nav .bag-link {
    margin-top: 4px;
  }

  /* Footer mobile centring */

  .site-footer {
    text-align: center;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-brand,
  .footer-links,
  .footer-contact {
    justify-items: center;
    text-align: center;
    padding: 24px 0;
  }

  .footer-brand {
    flex-direction: column;
    align-items: center;
  }

  .footer-brand p {
    margin: 0 auto;
  }

  .footer-links,
  .footer-contact {
    border-top: 1px solid var(--border);
  }

  .footer-icon-links {
    justify-content: center;
  }

  .footer-bottom {
    margin-top: 0;
  }

  /* Mobile menu label colour fix */

.nav::before {
    color: var(--brand-yellow);
  }

  html[data-theme="light"] .nav::before {
    color: var(--red-deep);
  }

    .checkout-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .checkout-item button {
    width: 100%;
  }

  .confirmation-detail-card {
    text-align: center;
  }

  .confirmation-items div {
    display: grid;
    gap: 6px;
  }

    .product-image {
    height: 240px;
    min-height: 240px;
    padding: 18px;
  }

  .product-category {
    align-self: center;
  }


    .product-category {
    align-self: flex-start;
    text-align: left;
  }

  .product-info {
    align-items: flex-start;
    text-align: left;
  }

  .product-image {
    height: 260px;
    min-height: 260px;
    padding: 28px;
    overflow: visible;
  }

  .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
  }
}

/* Mobile header buttons fix */

.mobile-bag-link {
  display: none;
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
  }

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

  .theme-toggle,
  .mobile-bag-link,
  .menu-toggle {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 18px;
    border: 3px solid #000;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 4px 4px 0 #000;
  }

  .theme-toggle {
    background: var(--bg-soft);
    color: var(--text);
    border-color: var(--border);
    box-shadow: none;
  }

  .mobile-bag-link {
    position: relative;
    display: grid;
    background: var(--red-deep);
    color: var(--cream);
    text-decoration: none;
  }

  .mobile-bag-link svg {
    width: 1.45rem;
    height: 1.45rem;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-bag-link span {
    position: absolute;
    top: -9px;
    right: -9px;
    min-width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    background: var(--brand-yellow);
    color: #11100d;
    border: 2px solid #000;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 1000;
    line-height: 1;
  }

  .menu-toggle {
    background: var(--brand-yellow);
    color: #11100d;
  }

  .theme-toggle:hover,
  .mobile-bag-link:hover,
  .menu-toggle:hover {
    transform: translate(-2px, -2px);
  }

  .nav .bag-link {
    display: none;
  }
}

/* Match theme toggle style with mobile bag and menu buttons */

@media (max-width: 760px) {
  .header-actions .theme-toggle {
    background: var(--brand-yellow);
    color: #11100d;
    border: 3px solid #000;
    box-shadow: 4px 4px 0 #000;
  }

  html[data-theme="light"] .header-actions .theme-toggle {
    background: var(--yellow-soft);
    color: #11100d;
    border: 3px solid #9a7a31;
    box-shadow: 4px 4px 0 #000;
  }

  html[data-theme="dark"] .header-actions .theme-toggle {
    background: var(--brand-yellow);
    color: #11100d;
    border: 3px solid #000;
    box-shadow: 4px 4px 0 #000;
  }

  .header-actions .theme-toggle:hover {
    background: var(--brand-yellow);
    color: #11100d;
    border-color: #000;
    box-shadow: 4px 4px 0 #000;
    transform: translate(-2px, -2px);
  }
}

/* Fix mobile checkout date field overflow */

.checkout-form,
.checkout-form label,
.checkout-form .form-row {
  min-width: 0;
}

.checkout-form input[type="text"],
.checkout-form input[type="email"],
.checkout-form input[type="tel"],
.checkout-form input[type="date"],
.checkout-form select {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* Date field custom icon */
.checkout-form input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4' y='5' width='16' height='15' rx='2' stroke='%23ff4f40' stroke-width='2.5'/%3E%3Cpath d='M8 3v4M16 3v4M4 10h16' stroke='%23ff4f40' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 34px) 50%;
  background-size: 26px 26px;
}

/* Hide the awkward native date icon so it does not mess with spacing */
.checkout-form input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

/* Mobile-specific field spacing */
@media (max-width: 760px) {
  .checkout-form input[type="text"],
  .checkout-form input[type="email"],
  .checkout-form input[type="tel"],
  .checkout-form input[type="date"],
  .checkout-form select {
    min-height: 76px;
    padding: 18px 64px 18px 24px !important;
    border-radius: 28px;
  }

  .checkout-form input[type="date"] {
    background-position: calc(100% - 28px) 50%;
    background-size: 24px 24px;
  }

  .checkout-form select {
    background-position:
      calc(100% - 38px) 50%,
      calc(100% - 24px) 50%;
  }
}

/* Home hero favicon image */

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  max-width: 760px;
}

.hero-favicon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-favicon img {
  width: min(100%, 430px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
  animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-12px) rotate(2deg);
  }
}

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

  .hero-favicon {
    margin-top: 20px;
  }

  .hero-favicon img {
    width: min(70%, 260px);
  }
}

/* Hide home hero favicon on mobile */

@media (max-width: 900px) {
  .hero-favicon {
    display: none;
  }

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

/* Smaller product category pills */

.product-category-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.product-category {
  display: inline-flex;
  width: fit-content;
  max-width: max-content;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.68rem;
  line-height: 1;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .product-category-list {
    justify-content: flex-start;
  }

  .product-category {
    font-size: 0.62rem;
    padding: 7px 11px;
  }
}

/* Make product category pills much more compact */

.product-category-list {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-bottom: 18px;
}

.product-category-list .product-category {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  align-self: flex-start !important;
  display: inline-flex !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  font-size: 0.58rem !important;
  line-height: 1 !important;
  letter-spacing: 0.06em !important;
  white-space: nowrap !important;
  box-shadow: 2px 2px 0 #000 !important;
}

/* Mobile: even tighter */
@media (max-width: 760px) {
  .product-category-list {
    gap: 5px !important;
    margin-bottom: 14px;
  }

  .product-category-list .product-category {
    padding: 5px 8px !important;
    font-size: 0.52rem !important;
    letter-spacing: 0.05em !important;
  }
}

/* Header search bar */

.site-search {
  display: flex;
  align-items: center;
  width: min(100%, 300px);
  height: 52px;
  background: var(--bg);
  border: 3px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-left: 18px;
}

.site-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 8px 0 20px;
  background: transparent;
  border: 0;
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  outline: none;
}

.site-search input::placeholder {
  color: rgba(255, 248, 223, 0.55);
}

.site-search button {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--brand-yellow);
  color: #11100d;
  border: 0;
  border-left: 3px solid #000;
  cursor: pointer;
}

.site-search button svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-search:focus-within {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 4px rgba(255, 79, 64, 0.18);
}

html[data-theme="light"] .site-search {
  background: #fff8df;
}

html[data-theme="light"] .site-search input {
  color: #11100d;
}

html[data-theme="light"] .site-search input::placeholder {
  color: rgba(17, 16, 13, 0.5);
}

/* Hide desktop search on mobile to keep the header clean */
@media (max-width: 760px) {
  .site-search {
    display: none;
  }
}

/* Mobile header search */

.mobile-search-toggle,
.mobile-search-form {
  display: none;
}

@media (max-width: 760px) {
  .site-header {
    position: sticky;
    overflow: visible;
  }

  .site-logo {
    max-width: 170px;
  }

  .header-actions {
    gap: 7px;
  }

  .mobile-search-toggle,
  .header-actions .theme-toggle,
  .header-actions .mobile-bag-link,
  .header-actions .menu-toggle {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 16px;
    border: 3px solid #000;
    box-shadow: 3px 3px 0 #000;
    display: grid;
    place-items: center;
  }

  .mobile-search-toggle {
    background: var(--brand-yellow);
    color: #11100d;
    cursor: pointer;
  }

  .mobile-search-toggle svg,
  .header-actions .theme-toggle svg,
  .header-actions .mobile-bag-link svg,
  .header-actions .menu-toggle svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: currentColor;
    stroke-width: 2.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-bag-link span {
    top: -8px;
    right: -8px;
    min-width: 22px;
    height: 22px;
    font-size: 0.68rem;
  }

  .mobile-search-form {
    position: absolute;
    inset: 14px;
    z-index: 90;
    display: none;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
  }

  .site-header.search-open .mobile-search-form {
    display: flex;
  }

  .site-header.search-open .brand-logo-link,
  .site-header.search-open .nav,
  .site-header.search-open .site-search,
  .site-header.search-open .header-actions {
    opacity: 0;
    pointer-events: none;
  }

  .mobile-search-form input {
    flex: 1;
    min-width: 0;
    height: 56px;
    padding: 0 18px;
    background: var(--bg);
    color: var(--text);
    border: 3px solid var(--border);
    border-radius: 18px;
    font: inherit;
    font-weight: 900;
    outline: none;
  }

  .mobile-search-form input::placeholder {
    color: rgba(255, 248, 223, 0.55);
  }

  .mobile-search-form button {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    border: 3px solid #000;
    background: var(--brand-yellow);
    color: #11100d;
    box-shadow: 3px 3px 0 #000;
    cursor: pointer;
  }

  .mobile-search-form button svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: currentColor;
    stroke-width: 2.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-search-close {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
  }

  html[data-theme="light"] .mobile-search-form input {
    background: #fff8df;
    color: #11100d;
  }

  html[data-theme="light"] .mobile-search-form input::placeholder {
    color: rgba(17, 16, 13, 0.5);
  }
}

@media (max-width: 420px) {
  .site-logo {
    max-width: 135px;
  }

  .mobile-search-toggle,
  .header-actions .theme-toggle,
  .header-actions .mobile-bag-link,
  .header-actions .menu-toggle {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 15px;
  }

  .header-actions {
    gap: 6px;
  }
}

/* Centre mobile header action buttons when menu is open */

@media (max-width: 760px) {
  .nav.open ~ .header-actions {
    width: 100%;
    margin-left: 0 !important;
    padding-top: 22px;
    display: flex;
    justify-content: center !important;
    align-items: center;
    gap: 12px;
  }

  .nav.open ~ .header-actions .mobile-search-toggle,
  .nav.open ~ .header-actions .theme-toggle,
  .nav.open ~ .header-actions .mobile-bag-link,
  .nav.open ~ .header-actions .menu-toggle {
    flex: 0 0 auto;
  }
}

/* Accessibility / policy page */

.policy-page {
  padding-top: 20px;
}

.policy-card {
  max-width: none;
  max-width: 100%;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 54px);
  background: var(--bg-card);
  border: 3px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 8px 8px 0 #000;
}

.policy-card h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.policy-card h2:first-child {
  margin-top: 0;
}

.policy-card p,
.policy-card li {
  font-size: 1rem;
  line-height: 1.75;
}

.policy-card ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.policy-card li {
  margin-bottom: 8px;
}

.policy-card a {
  color: var(--brand-yellow);
  font-weight: 900;
}

html[data-theme="light"] .policy-card a {
  color: var(--brand-red);
}

.policy-updated {
  margin-top: 34px;
  font-weight: 900;
  opacity: 0.8;
}

.footer-grid a {
  display: block;
  width: fit-content;
  margin-bottom: 8px;
}

/* Add spacing between policy content and footer */

.policy-page {
  padding-bottom: 10px;
}

.policy-card {
  margin-bottom: 60px;
}

.site-footer {
  margin-top: 10px;
}

.footer-icon-links,
.footer-icon-links a,
.footer-icon-links svg {
  pointer-events: auto;
}

.footer-icon-links a {
  position: relative;
  z-index: 5;
}