/* PHST — Public Housing Skate Team */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #0c0c0c;
  --surface: #141414;
  --surface-2: #1c1c1c;
  --text: #ffffff;
  --text-muted: #ffffff;
  --accent: #c42a2a;
  --accent-hover: #e03e3e;
  --border: #2a2a2a;
  --focus: #f5c542;
  --font-sans:
    system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "new-spirit-condensed", Georgia, "Times New Roman", serif;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --max-width: 72rem;
  --header-h: 3.375rem;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-color: var(--accent) #000000;
  scrollbar-width: thin;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  scrollbar-color: var(--accent) #000000;
  scrollbar-width: thin;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

/* WebKit scrollbars: black track, red thumb (viewport + scroll containers) */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.site-nav::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
.site-nav::-webkit-scrollbar-track,
html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner {
  background: #000000;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
.site-nav::-webkit-scrollbar-thumb {
  background-color: var(--accent);
  border-radius: 6px;
  border: 2px solid #000000;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
.site-nav::-webkit-scrollbar-thumb:hover {
  background-color: var(--accent-hover);
}

h1 {
  font-family: "new-spirit-condensed", serif;
  font-weight: 900;
  font-style: normal;
  font-size: 3rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--text);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #ffffff;
}

a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--space-md);
  z-index: 100;
  padding: var(--space-sm) var(--space-md);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  left: var(--space-md);
}

.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;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  min-height: var(--header-h);
  border-bottom: 1px solid var(--border);
  background: #000000;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-sm) var(--space-lg);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}

.site-logo__text {
  font-family: "stencil-std", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.site-logo__mark {
  display: block;
  height: 2.125rem;
  width: 2.125rem;
  flex-shrink: 0;
  object-fit: contain;
}

.site-logo:hover .site-logo__text {
  color: #ffffff;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.375rem;
  height: 2.375rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle:hover {
  background: var(--surface-2);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.nav-toggle__bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  box-shadow:
    0 -6px 0 currentColor,
    0 6px 0 currentColor;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) var(--space-md);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  font-family: "stencil-std", sans-serif;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.35em;
}

@media (max-width: 52rem) {
  .nav-toggle {
    display: flex;
  }

  .site-nav-backdrop {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.25s ease,
      visibility 0.25s ease;
  }

  .site-nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: auto;
    width: calc((100vw - var(--phst-scrollbar-gutter, 0px)) * 2 / 3);
    height: calc(100vh - var(--header-h));
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-color: var(--accent) #000000;
    scrollbar-width: thin;
    overscroll-behavior: contain;
    margin: 0;
    padding: 0;
    border: none;
    border-left: 1px solid var(--border);
    background: var(--bg);
    box-shadow: -12px 0 32px rgba(0, 0, 0, 0.45);
    z-index: 51;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  html.phst-nav-open .site-nav-backdrop {
    right: var(--phst-scrollbar-gutter, 0px);
  }

  html.phst-nav-open .site-nav {
    right: var(--phst-scrollbar-gutter, 0px);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-xl) var(--space-lg);
    gap: var(--space-sm);
    min-height: min-content;
  }

  .site-nav a {
    display: block;
    padding: var(--space-sm) 0;
    font-size: 2rem;
  }
}

html.phst-nav-open,
html.phst-nav-open body {
  overflow: hidden;
  touch-action: none;
}

.site-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--header-h) + var(--space-xl)) var(--space-lg)
    var(--space-2xl);
}

.page-title {
  margin: 0 0 var(--space-lg);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--text);
  background-color: var(--bg);
  padding: 0.5rem;
  width: fit-content;
}

.site-main--landing {
  display: flex;
  flex-direction: column;
  max-width: none;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: calc(var(--header-h) + var(--space-xl)) var(--space-lg)
    var(--space-xl);
  background-color: var(--bg);
  background-image: url("../public/images/desktop/welcome.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.site-main--landing .hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: var(--space-md) 0;
}


.site-main--home-route {
  max-width: none;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background-color: var(--bg);
  background-image: url("../public/images/desktop/home.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


body[data-page="about"] .site-main,
body[data-page="shipping"] .site-main,body[data-page="privacy"] .site-main,
body[data-page="refund"] .site-main,
body[data-page="contact"] .site-main,
body[data-page="cart"] .site-main,
body[data-page="shop"] .site-main,
body[data-page="product"] .site-main {
  max-width: none;
  width: 100%;
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


body[data-page="about"] .site-main {
  background-image: url("../public/images/desktop/about.jpg");
}

body[data-page="shipping"] .site-main {
  background-image: url("../public/images/desktop/shipping.png");
}

body[data-page="privacy"] .site-main {
  background-image: url("../public/images/desktop/privacy.jpg");
}

body[data-page="refund"] .site-main {
  background-image: url("../public/images/desktop/refunds.jpg");
}

body[data-page="contact"] .site-main {
  background-image: url("../public/images/desktop/contact.jpg");
}

body[data-page="cart"] .site-main {
  background-image: url("../public/images/desktop/cart.jpg");
}

/* Pin products wallpaper to the viewport so cover scale does not change with
   main height (e.g. ALL vs one category — avoids soft/blurry rescaling). */
body[data-page="shop"] .site-main,
body[data-page="product"] .site-main {
  position: relative;
  z-index: 0;
  background-color: transparent;
  background-image: none;
}

body[data-page="shop"] .site-main::before,
body[data-page="product"] .site-main::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--bg);
  background-image: url("../public/images/desktop/products.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* Fixed layers use the full viewport; match body’s scrollbar compensation. */
html.phst-nav-open body[data-page="shop"] .site-main::before,
html.phst-nav-open body[data-page="product"] .site-main::before {
  right: var(--phst-scrollbar-gutter, 0px);
}

.home-hub {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}

.home-hub__lede {
  margin: 0 0 var(--space-xl);
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--text-muted);
  text-align: left;
}

.home-hub__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  justify-content: center;
}

.home-hub__splash {
  margin: var(--space-2xl) 0 0;
  font-size: 0.875rem;
}

.home-hub__splash a {
  color: var(--text-muted);
}

.home-hub__splash a:hover {
  color: var(--text);
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: var(--space-xl) var(--space-lg);
  background: var(--surface);
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--text);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Layout wrapper for sticky footer */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Hero (home) */
.hero {
  text-align: center;
  padding: var(--space-2xl) 0 var(--space-xl);
}

.hero__title {
  margin: 0 0 var(--space-md);
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.1rem;
  text-transform: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero__welcome {
  font-family: "commercial-script-mn", sans-serif;
  font-weight: 700;
  font-style: normal;
  margin-bottom: var(--space-xs);
}

.hero__arch-wrap {
  width: min(100%, 34rem);
  margin: var(--space-sm) auto var(--space-xs);
  line-height: 0;
}

.hero__arch-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  color: var(--text);
}

.hero__arch-text {
  font-family: "new-spirit-condensed", serif;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(4.7rem, 3.5vw + 2.35rem, 4.7rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  fill: currentColor;
}

@media (max-width: 40rem) {
  .hero__arch-text {
    letter-spacing: 0.045em;
  }
}

.hero__sub.hero__brand {
  margin-top: var(--space-xs);
  letter-spacing: 0.12em;
}

.hero__brand {
  font-family: "new-spirit-condensed", serif;
  font-weight: 700;
  font-style: normal;
}

.hero__cta {
  display: inline-block;
  margin-top: var(--space-lg);
  padding: var(--space-md) var(--space-xl);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 4px;
}

.hero__cta:hover {
  background: var(--accent-hover);
  color: #fff;
}

.hero__cta:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* Articles (policy, about, shipping) */
.article-page article {
  max-width: 48rem;
}

.article-page .media-placeholder {
  margin: var(--space-lg) 0 var(--space-xl);
  max-width: 36rem;
  aspect-ratio: 3 / 2;
  border: 1px dashed var(--border);
  border-radius: 4px;
  background: var(--surface);
}

.article-page h2 {
  margin: var(--space-xl) 0 var(--space-md);
  font-size: 1.15rem;
  font-weight: 600;
}

.article-page p {
  margin: 0 0 var(--space-md);
  color: var(--text-muted);
}

.article-page p:last-child {
  margin-bottom: 0;
}

/* Contact */
.contact-form {
  max-width: 32rem;
}

.contact-form label {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  margin-bottom: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--text-muted);
}

.contact-form textarea {
  min-height: 10rem;
  resize: vertical;
}

.contact-form button[type="submit"] {
  padding: var(--space-md) var(--space-xl);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form button[type="submit"]:hover {
  background: var(--accent-hover);
}

.contact-form button[type="submit"]:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.form-status {
  margin-top: var(--space-md);
  padding: var(--space-md);
  font-size: 0.9rem;
  border-radius: 4px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.form-status[hidden] {
  display: none;
}

/* Shop */
.shop-lead {
  margin: 0 0 var(--space-lg);
  color: var(--text-muted);
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.filter-chip {
  padding: var(--space-xs) var(--space-md);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  cursor: pointer;
  margin: 0 -1px -1px 0;
  position: relative;
}

.filter-chip:hover {
  color: var(--text);
  border-color: var(--text-muted);
  z-index: 1;
}

.filter-chip.is-active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  z-index: 2;
}

.filter-chip:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: var(--space-lg);
}

.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.15s ease,
    transform 0.15s ease;
}

.product-card:hover {
  border-color: var(--text-muted);
  transform: translateY(-2px);
  color: inherit;
}

.product-card:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.product-card__img {
  aspect-ratio: 1;
  background: linear-gradient(160deg, var(--surface-2), var(--bg));
}

.product-card__body {
  padding: var(--space-md);
}

.product-card__title {
  margin: 0 0 var(--space-xs);
  font-size: 1rem;
  font-weight: 600;
}

.product-card__meta {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.product-card.is-hidden {
  display: none;
}

/* Product detail */
.product-detail {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 48rem) {
  .product-detail {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.product-detail__gallery {
  aspect-ratio: 1;
  max-height: 32rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
}

.product-detail__price {
  margin: 0 0 var(--space-lg);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.product-detail__desc {
  margin: 0 0 var(--space-lg);
  color: var(--text-muted);
}

.product-detail__row {
  margin-bottom: var(--space-md);
}

.product-detail__row label {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.product-detail__row select,
.product-detail__row input[type="number"] {
  width: 100%;
  max-width: 12rem;
  padding: var(--space-sm) var(--space-md);
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.product-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

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

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn--ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--border);
}

.btn--ghost:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.product-missing {
  padding: var(--space-xl);
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: 4px;
  color: var(--text-muted);
}

.product-toast {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 60;
  max-width: 20rem;
  padding: var(--space-md);
  font-size: 0.9rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(0.5rem);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

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

/* Cart */
.cart-layout {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 52rem) {
  .cart-layout {
    grid-template-columns: 1fr 18rem;
    align-items: start;
  }
}

.cart-empty {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}

.cart-empty__placeholder {
  margin: 0 auto var(--space-lg);
  max-width: 24rem;
  aspect-ratio: 1;
  border: 1px dashed var(--border);
  border-radius: 4px;
  background: var(--surface);
}

.cart-empty h2 {
  margin: 0 0 var(--space-md);
  font-size: 1.25rem;
}

.cart-empty a {
  font-weight: 600;
}

.cart-lines {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
}

.cart-line {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  gap: var(--space-md);
  padding: var(--space-md);
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.cart-line:last-child {
  border-bottom: none;
}

.cart-line__thumb {
  width: 5rem;
  height: 5rem;
  border-radius: 4px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.cart-line__title {
  margin: 0 0 var(--space-xs);
  font-size: 1rem;
  font-weight: 600;
}

.cart-line__meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cart-line__controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-sm);
}

.cart-line__qty {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.cart-line__qty input {
  width: 3.5rem;
  padding: var(--space-xs);
  text-align: center;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.cart-line__remove {
  padding: 0;
  font-size: 0.8rem;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
}

.cart-line__remove:hover {
  color: #ffffff;
}

.cart-line__price {
  font-weight: 600;
  font-size: 0.95rem;
}

@media (max-width: 40rem) {
  .cart-line {
    grid-template-columns: 4rem 1fr;
  }

  .cart-line__controls {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.cart-summary {
  padding: var(--space-lg);
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
}

.cart-summary h2 {
  margin: 0 0 var(--space-md);
  font-size: 1rem;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cart-summary__total {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
}

.cart-summary .btn {
  width: 100%;
  margin-top: var(--space-lg);
}

.cart-summary .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cart-checkout-note {
  margin: var(--space-md) 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}


.error404-page {
  margin: 0;
}

.error404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-xl);
  text-align: center;
  background-color: #0b0b0b;
  background-image: url("../public/images/desktop/wall.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.error404__logo {
  width: min(78vw, 26rem);
  height: auto;
  object-fit: contain;
}

.error404__text {
  margin: 0 0 var(--space-sm);
  color: black;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "stencil-std", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 2rem;
}

[hidden] {
  display: none !important;
}
