:root {
  --ink: #172723;
  --muted: #697873;
  --paper: #f7f1e8;
  --surface: #fffaf2;
  --surface-strong: #ffffff;
  --line: #ddd5c8;
  --teal: #123f3a;
  --teal-soft: #dfecea;
  --clay: #bd5f48;
  --clay-soft: #f6ddd2;
  --moss: #687b61;
  --gold: #b88b42;
  --gold-soft: #f1e3c8;
  --shadow: 0 20px 60px rgba(23, 39, 35, 0.18);
  --shadow-soft: 0 14px 34px rgba(89, 62, 34, 0.1);
  --radius: 10px;
  --radius-lg: 22px;
  --header-height: 76px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 1px 1px, rgba(23, 39, 35, 0.05) 1px, transparent 0) 0 0 / 22px 22px,
    var(--paper);
  font-size: 16px;
  line-height: 1.55;
}

body.drawer-open,
body.modal-open,
body.menu-open {
  overflow: hidden;
}

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

[hidden] {
  display: none !important;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.05;
}

h1 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 5.25rem;
  font-weight: 560;
  letter-spacing: -0.01em;
}

h2 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 2.8rem;
  font-weight: 560;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.05rem;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--surface-strong);
  background: var(--teal);
  border-radius: 6px;
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header-height);
  color: var(--surface-strong);
  background: rgba(18, 63, 58, 0.2);
  border-bottom: 1px solid rgba(255, 250, 242, 0.18);
  backdrop-filter: blur(18px);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  color: var(--ink);
  background: rgba(255, 250, 242, 0.95);
  box-shadow: 0 8px 30px rgba(23, 39, 35, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 700;
}

.brand-mark {
  display: inline-flex;
  width: 88px;
  height: 58px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-header.is-scrolled .brand-mark img,
.site-header.menu-active .brand-mark img,
body.subpage .site-header .brand-mark img {
  filter: brightness(0) saturate(100%) invert(18%) sepia(27%) saturate(1054%) hue-rotate(125deg) brightness(87%) contrast(92%);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: inherit;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

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

.icon-button,
.cart-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: inherit;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid currentColor;
  border-radius: 6px;
}

.icon-button svg,
.cart-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.cart-button {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  place-items: center;
  color: var(--surface-strong);
  background: var(--clay);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.mobile-nav-button {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 83vh;
  padding: calc(var(--header-height) + 72px) 0 82px;
  overflow: hidden;
  color: var(--surface-strong);
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  z-index: -1;
  background: rgba(12, 29, 27, 0.5);
}

.hero-stamp {
  position: absolute;
  right: min(64px, 6vw);
  bottom: min(64px, 6vw);
  z-index: 1;
  width: 116px;
  height: 116px;
  filter: drop-shadow(0 8px 18px rgba(12, 29, 27, 0.35));
  animation: hero-stamp-spin 26s linear infinite;
}

@keyframes hero-stamp-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stamp {
    animation: none;
  }
}

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

.hero-content {
  display: flex;
  max-width: 1180px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow::before {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  content: "";
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M0 0h4v1H1v3H0V0Zm6 0h4v4H9V1H6V0ZM0 6h1v3h3v1H0V6Zm9 0h1v4H6V9h3V6Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M0 0h4v1H1v3H0V0Zm6 0h4v4H9V1H6V0ZM0 6h1v3h3v1H0V6Zm9 0h1v4H6V9h3V6Z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.hero .eyebrow {
  color: #f8d1bd;
}

.hero-logo-title {
  width: min(300px, 70vw);
  margin-top: 8px;
  line-height: 0;
}

.hero-logo-title img {
  width: 100%;
  height: auto;
}

.hero-copy {
  max-width: 610px;
  margin-top: 22px;
  color: rgba(255, 250, 242, 0.9);
  font-size: 1.22rem;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.button.primary {
  color: var(--surface-strong);
  background: var(--clay);
  border-color: var(--clay);
}

.button.secondary {
  color: var(--surface-strong);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

.button.ghost {
  color: var(--teal);
  background: transparent;
  border-color: var(--line);
}

.button.full {
  width: 100%;
}

body.subpage {
  background: var(--surface);
}

body.subpage .site-header {
  color: var(--ink);
  background: rgba(255, 250, 242, 0.96);
  box-shadow: 0 8px 30px rgba(23, 39, 35, 0.08);
}

body.subpage .site-header .brand-mark {
  background: transparent;
}

.page-hero {
  padding: calc(var(--header-height) + 70px) 0 54px;
  color: var(--surface-strong);
  background:
    linear-gradient(135deg, rgba(18, 63, 58, 0.96), rgba(104, 123, 97, 0.92)),
    var(--teal);
}

.page-hero .eyebrow {
  color: #f8d1bd;
}

.page-hero h1 {
  max-width: 820px;
  margin-top: 10px;
  font-size: 4rem;
}

.page-hero p {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 250, 242, 0.82);
  font-size: 1.08rem;
}

.page-section {
  padding: 64px 0;
}

.content-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.content-nav {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 8px;
  padding: 18px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.content-nav a {
  padding: 9px 10px;
  color: var(--muted);
  border-radius: 6px;
  font-weight: 800;
}

.content-nav a:hover,
.content-nav a:focus-visible {
  color: var(--teal);
  background: var(--teal-soft);
}

.legal-content,
.contact-panel,
.commerce-panel {
  min-width: 0;
  padding: 30px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-content section + section {
  margin-top: 34px;
}

.legal-content h2,
.contact-panel h2,
.commerce-panel h2 {
  margin-bottom: 14px;
  font-size: 1.75rem;
}

.legal-content h3,
.contact-panel h3,
.commerce-panel h3 {
  margin-top: 20px;
}

.legal-content p,
.legal-content li,
.contact-panel p,
.commerce-panel p {
  color: var(--muted);
}

.legal-content ul,
.legal-content ol {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  margin: 12px 0 0;
}

.notice-box {
  padding: 16px;
  margin-top: 18px;
  color: var(--teal);
  background: var(--teal-soft);
  border: 1px solid rgba(18, 63, 58, 0.16);
  border-radius: var(--radius);
  font-weight: 700;
}

.policy-meta {
  display: grid;
  gap: 8px;
  padding: 16px;
  margin-bottom: 26px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.support-card {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.support-card p {
  margin-top: 8px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(300px, 0.45fr);
  gap: 24px;
  align-items: start;
}

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

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

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

.contact-info .support-grid {
  grid-template-columns: 1fr;
}

.contact-info a {
  color: var(--teal);
  font-weight: 800;
}

.legal-content a,
.contact-panel a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.commerce-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 24px;
  align-items: start;
}

.commerce-panel {
  display: grid;
  gap: 16px;
}

.commerce-panel.sticky {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.cart-page-items {
  display: grid;
  gap: 14px;
}

.cart-page-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 16px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cart-page-item img {
  width: 110px;
  height: 110px;
  border-radius: 6px;
  object-fit: cover;
}

.cart-page-item-body {
  display: grid;
  min-width: 0;
  gap: 10px;
}

.cart-page-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.cart-page-title-row h2 {
  font-size: 1.3rem;
}

.summary-actions,
.cart-link-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.summary-actions .button,
.cart-link-actions .button {
  min-width: 0;
  padding: 0 10px;
  font-size: 0.84rem;
  line-height: 1.08;
  text-align: center;
  white-space: nowrap;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(320px, 0.42fr);
  gap: 24px;
  align-items: start;
}

.checkout-steps {
  display: grid;
  gap: 18px;
}

.checkout-step {
  padding: 22px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.checkout-step h2 {
  font-size: 1.55rem;
}

.checkout-step-heading {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 16px;
}

.checkout-step-heading > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--surface-strong);
  background: var(--teal);
  border-radius: 6px;
  font-weight: 900;
}

.checkout-step-heading p {
  margin-top: 6px;
  color: var(--muted);
}

.checkout-step label,
.full-field {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.checkout-step textarea {
  min-height: 104px;
}

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

.radio-grid {
  display: grid;
  gap: 10px;
}

.radio-card,
.checkbox-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 14px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 700;
}

.radio-card input,
.checkbox-card input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.checkbox-card {
  margin-top: 14px;
}

.checkbox-card a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.order-items {
  display: grid;
  gap: 10px;
}

.order-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 10px;
  align-items: center;
}

.order-item img {
  width: 58px;
  height: 58px;
  border-radius: 6px;
  object-fit: cover;
}

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

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

.site-footer {
  position: relative;
  padding: 48px 0 42px;
  color: rgba(255, 250, 242, 0.82);
  background: #0e302c;
}

.site-footer::before {
  display: none;
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: 72px;
  height: 3px;
  content: "";
  background: var(--gold);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.site-footer::after {
  display: none;
  position: absolute;
  top: -6px;
  left: 50%;
  z-index: 1;
  width: 9px;
  height: 9px;
  content: "";
  background: #0e302c;
  border: 2px solid var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
}

.footer-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px 64px;
}

.footer-brand {
  display: grid;
  max-width: 360px;
  gap: 14px;
}

.footer-brand .brand {
  gap: 12px;
}

.footer-brand .brand-mark {
  width: 94px;
  height: 62px;
  background: transparent;
  border-color: rgba(255, 250, 242, 0.22);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-socials a {
  color: var(--surface-strong);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-links a {
  color: rgba(255, 250, 242, 0.78);
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--surface-strong);
}

.hero-stats {
  display: grid;
  width: min(680px, 100%);
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 54px;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 242, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.16);
  backdrop-filter: blur(10px);
}

.hero-stats div {
  min-height: 96px;
  padding: 20px;
  background: rgba(15, 36, 33, 0.22);
}

.hero-stats dt {
  color: var(--surface-strong);
  font-size: 1.8rem;
  font-weight: 900;
}

.hero-stats dd {
  margin-top: 4px;
  color: rgba(255, 250, 242, 0.78);
  font-size: 0.92rem;
}

.section-trim {
  position: relative;
}

.section-trim::before {
  display: none;
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: 64px;
  height: 3px;
  content: "";
  background: currentColor;
  border-radius: 999px;
  opacity: 0.7;
  transform: translate(-50%, -50%);
}

.section-trim::after {
  display: none;
  position: absolute;
  top: -6px;
  left: 50%;
  z-index: 1;
  width: 9px;
  height: 9px;
  content: "";
  background: currentColor;
  opacity: 0.7;
  transform: translate(-50%, -50%) rotate(45deg);
}

.trust-strip {
  color: var(--surface-strong);
  background: var(--teal);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.trust-grid span {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  padding: 14px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 700;
}

.trust-grid span:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.categories-section,
.shop-section,
.project-section,
.makers-section,
.funding-section,
.newsletter-section,
.faq-section {
  padding: 92px 0;
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.55fr);
  gap: 36px;
  align-items: end;
}

.section-heading h2,
.project-copy h2,
.makers-layout h2,
.newsletter-layout h2,
.faq-layout h2 {
  margin-top: 8px;
}

.section-heading p,
.project-copy p,
.maker-points p,
.process-list p,
.faq-list p {
  color: var(--muted);
}

.categories-section {
  background: var(--surface);
}

.categories-section.section-trim::before,
.categories-section.section-trim::after,
.faq-section.section-trim::before,
.faq-section.section-trim::after {
  color: var(--clay);
}

.makers-section.section-trim::before,
.makers-section.section-trim::after,
.project-section.section-trim::before,
.project-section.section-trim::after {
  color: var(--gold);
}

.newsletter-section.section-trim::before,
.newsletter-section.section-trim::after {
  color: var(--surface-strong);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  color: inherit;
  text-align: left;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.category-card:hover,
.category-card:focus-visible {
  border-color: rgba(18, 63, 58, 0.34);
  box-shadow: 0 16px 36px rgba(23, 39, 35, 0.1);
  transform: translateY(-2px);
}

.category-card-media {
  display: block;
  aspect-ratio: 1.12;
  overflow: hidden;
  background: #eee6d8;
}

.category-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.category-card:hover .category-card-media img {
  transform: scale(1.04);
}

.category-card-body {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.category-card-body strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 560;
  line-height: 1.1;
}

.category-card-body span:last-child {
  color: var(--muted);
  font-size: 0.93rem;
}

.category-card-count {
  width: fit-content;
  padding: 5px 9px;
  color: var(--surface-strong);
  background: var(--teal);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.shop-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
}

.search-field,
.sort-field,
.coupon-field,
.checkout-form label,
.newsletter-form {
  display: block;
}

.search-field {
  position: relative;
}

.search-field svg {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transform: translateY(-50%);
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  color: var(--ink);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
}

input {
  padding: 0 14px;
}

textarea {
  min-height: 132px;
  padding: 12px 14px;
  resize: vertical;
}

select {
  padding: 0 38px 0 14px;
}

.search-field input {
  padding-left: 44px;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(189, 95, 72, 0.28);
  outline-offset: 2px;
}

.category-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-tab {
  min-height: 42px;
  padding: 0 14px;
  color: var(--teal);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
}

.category-tab.is-active {
  color: var(--surface-strong);
  background: var(--teal);
  border-color: var(--teal);
}

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

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.product-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #eee6d8;
}

.product-media-link {
  display: block;
  height: 100%;
}

.product-media-link img,
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 6px 12px 6px 10px;
  color: var(--teal);
  background: var(--surface-strong);
  border: 1px solid rgba(18, 63, 58, 0.18);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-style: italic;
  font-weight: 600;
  transform: none;
}

.wishlist-button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  color: var(--teal);
  background: rgba(255, 250, 242, 0.88);
  border-color: rgba(23, 39, 35, 0.15);
}

.wishlist-button.is-active {
  color: var(--surface-strong);
  background: var(--clay);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
  gap: 13px;
}

.product-kicker,
.product-meta,
.stock-row {
  color: var(--muted);
  font-size: 0.9rem;
}

.product-kicker {
  color: #536964;
  font-size: 0.86rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
}

.product-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 14px;
}

.product-title-row h3 {
  min-width: 0;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.product-title-row h3 a {
  color: inherit;
}

.product-price {
  justify-self: end;
  white-space: nowrap;
  color: var(--teal);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
}

.product-description {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.stock-row {
  padding-top: 2px;
  color: #536964;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}

.product-meta {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  line-height: 1.35;
}

.product-rating {
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 900;
}

.product-care {
  color: #536964;
  font-size: 0.86rem;
  font-style: italic;
}

.product-actions {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 8px;
}

.product-actions .icon-button {
  color: var(--teal);
  background: var(--teal-soft);
  border-color: var(--teal-soft);
}

.empty-state,
.empty-cart {
  padding: 22px;
  color: var(--muted);
  text-align: center;
  background: var(--surface-strong);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.project-section {
  color: var(--surface-strong);
  background:
    linear-gradient(105deg, rgba(18, 63, 58, 0.96) 0%, rgba(18, 63, 58, 0.9) 46%, rgba(18, 63, 58, 0.7) 100%),
    url("../img/hero-artisan-workshop.png") center / cover no-repeat;
}

.project-section .eyebrow {
  color: #f8d1bd;
}

.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.7fr);
  gap: 56px;
  align-items: start;
}

.project-copy p {
  max-width: 660px;
  margin-top: 18px;
  color: rgba(255, 250, 242, 0.76);
  font-size: 1.08rem;
}

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

.process-list article {
  position: relative;
  padding: 22px 20px 20px;
  overflow: hidden;
  background: rgba(255, 250, 242, 0.11);
  border: 1px solid rgba(255, 250, 242, 0.2);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.process-list span {
  display: block;
  color: #f8d1bd;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  opacity: 0.85;
}

.process-list h3 {
  margin-top: 12px;
}

.process-list p {
  margin-top: 8px;
  color: rgba(255, 250, 242, 0.74);
}

.makers-section {
  position: relative;
  overflow: hidden;
  color: var(--surface-strong);
  background:
    linear-gradient(128deg, rgba(92, 43, 37, 0.96) 0%, rgba(160, 76, 58, 0.88) 52%, rgba(146, 101, 48, 0.78) 100%),
    url("../img/hero-artisan-workshop.png") center / cover no-repeat;
}

.makers-section::before {
  position: absolute;
  inset: 0;
  display: block;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 250, 242, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 72%);
  pointer-events: none;
}

.makers-section .container {
  position: relative;
  z-index: 1;
}

.makers-section .eyebrow {
  color: #f8d1bd;
}

.makers-layout h2 {
  max-width: 8.5em;
  color: var(--surface-strong);
}

.makers-layout,
.funding-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) 1fr;
  gap: 48px;
}

.maker-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.maker-points article {
  position: relative;
  min-height: 220px;
  padding: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 250, 242, 0.2), rgba(255, 250, 242, 0.08));
  border: 1px solid rgba(255, 250, 242, 0.24);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 242, 0.22),
    0 24px 70px rgba(7, 27, 24, 0.28);
  backdrop-filter: blur(18px);
}

.maker-points article::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 34px;
  height: 34px;
  content: "";
  border-right: 1px solid rgba(255, 250, 242, 0.28);
  border-bottom: 1px solid rgba(255, 250, 242, 0.28);
}

.maker-points h3 {
  color: var(--surface-strong);
  font-size: 1.12rem;
  font-weight: 900;
}

.maker-points p {
  margin-top: 10px;
  color: rgba(255, 250, 242, 0.74);
  font-size: 1rem;
}

.funding-section {
  background: var(--surface-strong);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.funding-copy {
  display: grid;
  gap: 14px;
  color: var(--muted);
}

.funding-actions {
  margin-top: 8px;
}

.funding-button {
  width: fit-content;
  min-width: 190px;
}

.newsletter-section {
  color: var(--surface-strong);
  background: var(--clay);
}

.newsletter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.65fr);
  gap: 30px;
  align-items: center;
}

.newsletter-section .eyebrow {
  color: #ffe1d2;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.newsletter-form input {
  border-color: rgba(255, 255, 255, 0.35);
}

.newsletter-form .button.primary {
  color: var(--teal);
  background: var(--surface-strong);
  border-color: var(--surface-strong);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) 1fr;
  gap: 48px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 800;
}

details p {
  padding: 0 20px 18px;
}

.cart-drawer,
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  background: rgba(12, 29, 27, 0.46);
  opacity: 0;
  transition:
    opacity 180ms ease,
    visibility 180ms ease;
}

.cart-drawer.is-open,
.modal-backdrop.is-open {
  visibility: visible;
  opacity: 1;
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  width: min(520px, 100%);
  height: 100%;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.cart-drawer.is-open .cart-panel {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-header .icon-button,
.modal-close {
  color: var(--teal);
  background: var(--surface-strong);
}

.cart-items {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  padding: 12px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cart-item img {
  width: 82px;
  height: 82px;
  border-radius: 6px;
  object-fit: cover;
}

.cart-item-body {
  min-width: 0;
}

.cart-item-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-weight: 900;
}

.cart-item-title span {
  overflow-wrap: anywhere;
}

.cart-item-meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 34px 36px 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.quantity-control button {
  display: grid;
  height: 34px;
  place-items: center;
  color: var(--teal);
  background: var(--surface);
  border: 0;
}

.quantity-control span {
  display: grid;
  height: 34px;
  place-items: center;
  background: var(--surface-strong);
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  font-weight: 800;
}

.remove-item {
  color: var(--clay);
  background: transparent;
  border: 0;
  font-weight: 800;
}

.cart-summary {
  display: grid;
  gap: 18px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.coupon-field span,
.checkout-form label {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.coupon-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 8px;
}

.summary-lines {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.summary-lines div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.total-line {
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
  font-size: 1.1rem;
}

.checkout-form {
  display: grid;
  gap: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checkout-form input,
.checkout-form select {
  margin-top: 6px;
}

.modal-backdrop {
  display: grid;
  place-items: center;
  padding: 24px;
}

.product-modal {
  position: relative;
  width: min(920px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translateY(18px);
  transition: transform 220ms ease;
}

.modal-backdrop.is-open .product-modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
}

.modal-content {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1fr);
}

.modal-image {
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.modal-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 44px;
}

.modal-info .eyebrow {
  padding-right: 44px;
}

.modal-price {
  color: var(--teal);
  font-size: 1.5rem;
  font-weight: 900;
}

.detail-list {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  color: var(--muted);
}

.product-detail-hero {
  padding: calc(var(--header-height) + 56px) 0 68px;
  background:
    radial-gradient(circle at 18% 20%, rgba(223, 236, 234, 0.7), transparent 30%),
    var(--surface);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.58fr) minmax(0, 0.42fr);
  gap: 42px;
  align-items: center;
}

.product-detail-gallery {
  display: grid;
  gap: 12px;
}

.product-detail-main {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #eee6d8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-detail-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.product-detail-thumbs button {
  padding: 0;
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.product-detail-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-detail-info {
  display: grid;
  gap: 18px;
}

.product-detail-info h1 {
  color: var(--ink);
  font-size: clamp(2.5rem, 6vw, 4.7rem);
}

.product-detail-info > p:not(.product-kicker):not(.stock-row) {
  color: var(--muted);
  font-size: 1.08rem;
}

.product-detail-actions {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  max-width: 420px;
}

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

.product-detail-grid article {
  padding: 24px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-detail-grid h2 {
  margin-top: 8px;
  font-size: 1.75rem;
}

.product-detail-grid p,
.spec-list dd,
.detail-list li {
  color: var(--muted);
}

.spec-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.spec-list div {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) 1fr;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  color: var(--ink);
  font-weight: 900;
}

.spec-list dd {
  margin: 0;
}

.modal-actions {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 10px;
  margin-top: auto;
}

.modal-quantity {
  min-height: 46px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  max-width: min(360px, calc(100% - 40px));
  padding: 14px 16px;
  color: var(--surface-strong);
  background: var(--teal);
  border-radius: 6px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.yc-privacy {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
}

.yc-privacy[hidden],
.yc-privacy-trigger[hidden] {
  display: none;
}

.yc-privacy__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 29, 27, 0.5);
  backdrop-filter: blur(8px);
}

.yc-privacy__panel {
  position: relative;
  display: grid;
  width: min(640px, 100%);
  max-height: min(740px, calc(100vh - 40px));
  gap: 16px;
  padding: 28px;
  overflow-y: auto;
  color: var(--ink);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.yc-privacy__panel:focus {
  outline: none;
}

.yc-privacy__head,
.yc-privacy__actions,
.yc-privacy__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.yc-privacy__eyebrow {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.yc-privacy h2 {
  font-size: 2.05rem;
}

.yc-privacy__intro,
.yc-privacy__row span,
.yc-privacy__row small {
  color: var(--muted);
}

.yc-privacy__links {
  justify-content: flex-start;
}

.yc-privacy__links a {
  color: var(--teal);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.yc-privacy__close {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--teal);
  background: var(--teal-soft);
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 1.5rem;
  line-height: 1;
}

.yc-privacy__prefs {
  display: grid;
  gap: 10px;
}

.yc-privacy__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.yc-privacy__row strong {
  display: block;
  color: var(--ink);
}

.yc-privacy__row small,
.yc-privacy__row span {
  display: block;
  margin-top: 3px;
  font-size: 0.9rem;
}

.yc-privacy__badge {
  padding: 7px 10px;
  color: var(--teal);
  background: var(--teal-soft);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.yc-privacy__row--toggle {
  cursor: pointer;
}

.yc-privacy__toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.yc-privacy__toggle {
  position: relative;
  width: 52px;
  height: 30px;
  background: var(--line);
  border-radius: 999px;
  transition: background 160ms ease;
}

.yc-privacy__toggle::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  content: "";
  background: var(--surface-strong);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(23, 39, 35, 0.2);
  transition: transform 160ms ease;
}

.yc-privacy__toggle-input:checked + .yc-privacy__toggle {
  background: var(--teal);
}

.yc-privacy__toggle-input:checked + .yc-privacy__toggle::after {
  transform: translateX(22px);
}

.yc-privacy__btn,
.yc-privacy-trigger {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
}

.yc-privacy__btn--ghost {
  color: var(--teal);
  background: transparent;
  border-color: var(--line);
}

.yc-privacy__btn--primary {
  color: var(--surface-strong);
  background: var(--clay);
  border-color: var(--clay);
}

.yc-privacy-trigger {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  width: 50px;
  height: 50px;
  min-height: 50px;
  padding: 0;
  color: var(--surface-strong);
  background: var(--teal);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(23, 39, 35, 0.18);
}

.yc-privacy-trigger svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

@media (max-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .shop-toolbar {
    grid-template-columns: 1fr;
  }

  .sort-field {
    width: min(320px, 100%);
  }

  .maker-points {
    grid-template-columns: 1fr;
  }

  .commerce-layout,
  .checkout-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-layout {
    flex-direction: column;
  }

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

  .commerce-panel.sticky {
    position: static;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(calc(100% - 28px), 1180px);
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .mobile-nav-button {
    display: inline-grid;
  }

  .header-inner {
    position: relative;
    gap: 12px;
    padding-right: 104px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 72px;
    height: 46px;
  }

  .header-actions {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 160;
    display: flex;
    width: 92px;
    flex-shrink: 0;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
    transform: none;
  }

  .header-actions .icon-button,
  .header-actions .cart-button {
    display: inline-grid;
    width: 40px;
    height: 40px;
  }

  .header-actions .cart-count {
    top: -6px;
    right: -4px;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 14px;
    left: 14px;
    display: none;
    gap: 0;
    padding: 8px;
    color: var(--ink);
    background: var(--surface-strong);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    visibility: hidden;
    opacity: 0;
    transition:
      transform 180ms ease,
      opacity 180ms ease,
      visibility 180ms ease;
  }

  .main-nav.is-open {
    display: grid;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 14px;
  }

  .hero {
    min-height: 79vh;
    padding: calc(var(--header-height) + 50px) 0 46px;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-copy {
    max-width: 32ch;
    font-size: 1.06rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 34px;
  }

  .hero-stats div {
    min-height: auto;
    padding: 15px;
  }

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

  .categories-section,
  .shop-section,
  .project-section,
  .makers-section,
  .funding-section,
  .newsletter-section,
  .faq-section {
    padding: 64px 0;
  }

  .section-heading.split,
  .project-layout,
  .makers-layout,
  .funding-layout,
  .newsletter-layout,
  .faq-layout,
  .product-detail-layout,
  .product-detail-grid,
  .content-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .page-hero h1 {
    font-size: 2.7rem;
  }

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

  .content-nav {
    position: static;
  }

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

  .modal-content {
    grid-template-columns: 1fr;
  }

  .modal-image {
    min-height: 340px;
    max-height: 420px;
    width: 100%;
  }

  .modal-info {
    padding: 28px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 1.85rem;
  }

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

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

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

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

  .category-tab {
    width: 100%;
  }

  .hero-actions,
  .product-detail-actions,
  .modal-actions,
  .coupon-row,
  .form-grid,
  .summary-actions,
  .cart-link-actions {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .cart-panel {
    padding: 18px;
  }

  .cart-item {
    grid-template-columns: 70px 1fr;
  }

  .cart-page-item {
    grid-template-columns: 1fr;
  }

  .cart-page-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.35;
  }

  .cart-page-title-row,
  .summary-lines div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .legal-content,
  .contact-panel,
  .commerce-panel {
    padding: 20px;
  }

  .cart-item img {
    width: 70px;
    height: 70px;
  }

  .quantity-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .modal-backdrop {
    padding: 12px;
  }

  .product-modal {
    max-height: calc(100vh - 24px);
  }
}
