:root {
  --black: #282828;
  --black-deep: #1e1e1e;
  --beige: #f3f0ea;
  --cream: #f8f6f0;
  --maroon: #5b2033;
  --grey: #525252;
  --grey-mid: #7e7e7e;
  --grey-muted: #9e9e9e;
  --grey-text: #bfbfbf;
  --white: #ffffff;
  --max: 1512px;
  --pad: 80px;
  --header-h: 96px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}

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

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

ul {
  list-style: none;
}

button,
input,
textarea {
  font-family: inherit;
  letter-spacing: inherit;
}

.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;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 100;
  background: var(--black);
  color: var(--white);
  padding: 8px 12px;
}

.skip-link:focus {
  top: 16px;
}

[hidden] {
  display: none !important;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--beige);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* Animate opacity only on the header — transform on a sticky/fixed bar
     can make it scroll away with the page in some browsers. */
  html.js .site-header {
    opacity: 0;
  }

  html.js main > *,
  html.js .site-footer {
    opacity: 0;
    transform: translateY(24px);
  }

  html.js.page-ready .site-header {
    animation: fade-in 0.45s ease forwards;
  }

  html.js.page-ready main > *:nth-child(1) {
    animation: fade-up 0.45s ease 0.08s forwards;
  }

  html.js.page-ready main > *:nth-child(2) {
    animation: fade-up 0.45s ease 0.16s forwards;
  }

  html.js.page-ready main > *:nth-child(3) {
    animation: fade-up 0.45s ease 0.24s forwards;
  }

  html.js.page-ready main > *:nth-child(4) {
    animation: fade-up 0.45s ease 0.32s forwards;
  }

  html.js.page-ready main > *:nth-child(5) {
    animation: fade-up 0.45s ease 0.4s forwards;
  }

  html.js.page-ready main > *:nth-child(n + 6) {
    animation: fade-up 0.45s ease 0.48s forwards;
  }

  html.js.page-ready .site-footer {
    animation: fade-up 0.45s ease 0.36s forwards;
  }
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.preloader-inner img {
  width: 180px;
  height: auto;
}

.preloader-line {
  width: 160px;
  height: 2px;
  overflow: hidden;
  background: rgba(40, 40, 40, 0.12);
}

.preloader-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--maroon);
  transform: scaleX(0);
  transform-origin: left center;
  animation: preload-line 1.1s ease-in-out infinite;
}

@keyframes preload-line {
  0% {
    transform: scaleX(0);
    transform-origin: left center;
  }
  50% {
    transform: scaleX(1);
    transform-origin: left center;
  }
  51% {
    transform-origin: right center;
  }
  100% {
    transform: scaleX(0);
    transform-origin: right center;
  }
}

/* Header — fixed on all breakpoints so it never scrolls away */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--beige);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 96px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 146px;
  flex-shrink: 0;
}

.logo img {
  width: 146px;
  height: 32px;
  object-fit: contain;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list a {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.48px;
  color: var(--black);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-list a:hover,
.footer-col a:hover,
.footer-social a:hover {
  opacity: 0.7;
}

.nav-list a[aria-current="page"] {
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 126px;
  flex-shrink: 0;
  overflow: visible;
}

.icon-btn {
  display: flex;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.icon-btn img {
  width: 32px;
  height: 32px;
}

.cart-link {
  position: relative;
  overflow: visible;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--maroon);
  color: var(--white);
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

.menu-toggle {
  display: none;
  width: 32px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--black);
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 39;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--beige);
  padding: 8px 80px 32px;
  box-shadow: 0 16px 28px rgba(40, 40, 40, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-18px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  letter-spacing: -0.48px;
  text-transform: uppercase;
  border-bottom: 0.5px solid #d9d4cb;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav.is-open a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.is-open li:nth-child(1) a {
  transition-delay: 0.06s;
}

.mobile-nav.is-open li:nth-child(2) a {
  transition-delay: 0.12s;
}

.mobile-nav.is-open li:nth-child(3) a {
  transition-delay: 0.18s;
}

.mobile-nav.is-open li:nth-child(4) a {
  transition-delay: 0.24s;
}

.mobile-nav.is-open li:nth-child(5) a {
  transition-delay: 0.3s;
}

/* Search */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 96px;
  background: rgba(40, 40, 40, 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease, background 0.3s ease;
}

.search-overlay.is-open {
  background: rgba(40, 40, 40, 0.45);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-panel {
  width: min(680px, calc(100% - 40px));
  background: var(--beige);
  padding: 32px;
  opacity: 0;
  transform: translateY(-24px);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.search-overlay.is-open .search-panel {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .search-overlay,
  .search-panel {
    transition: none;
  }
}

.search-form {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--grey);
  padding-bottom: 12px;
}

.search-form input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 18px;
  text-transform: uppercase;
  color: var(--black);
  outline: none;
}

.search-form button,
.search-close {
  border: 0;
  background: transparent;
  color: var(--black);
  font-size: 16px;
  text-transform: uppercase;
  cursor: pointer;
}

.search-close {
  margin-top: 16px;
}

.search-results {
  list-style: none;
  margin: 20px 0 0;
  max-height: 360px;
  overflow: auto;
}

.search-results a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 0.5px solid #d9d4cb;
}

.search-results img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  flex-shrink: 0;
  background: #eeeae3;
}

.search-results strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

.search-results em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 13px;
  color: var(--grey);
}

.search-empty {
  margin-top: 20px;
  font-size: 14px;
  color: var(--grey);
}

/* Hero */
.hero {
  position: relative;
  height: 700px;
  overflow: hidden;
  background: #cfc6b8;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 45%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  padding: 0 80px 0 120px;
  display: flex;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 27px;
  max-width: 683px;
}

.hero-copy h1 {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -2.56px;
  color: var(--white);
  max-width: 585px;
  line-height: 1;
}

.hero-copy p {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.72px;
  color: var(--white);
  line-height: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.6px;
  cursor: pointer;
  border: 0;
  transition: opacity 0.2s ease;
}

.btn:hover {
  opacity: 0.88;
}

.btn-dark {
  width: 127px;
  padding: 16px 20px;
  background: var(--black);
  color: var(--white);
}

.btn-outline {
  width: 290px;
  height: 90px;
  padding: 16px 20px;
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--cream);
  text-transform: uppercase;
}

.btn-light {
  width: 290px;
  height: 80px;
  padding: 16px 30px;
  background: var(--beige);
  color: var(--black);
}

/* Tiles */
.tiles {
  background: var(--white);
}

.tiles-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px var(--pad);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.tile-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tile-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tile-arrows {
  display: none;
  gap: 8px;
}

.tile-arrows button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0.5px solid var(--black);
  background: var(--white);
  font-size: 22px;
  line-height: 1;
  color: var(--black);
  cursor: pointer;
}

.tile-arrows button:disabled {
  opacity: 0.3;
  cursor: default;
}

.tile-row h2 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.96px;
  color: var(--black);
}

.tile-grid {
  display: flex;
  justify-content: space-between;
  gap: 25px;
}

.tile-grid li {
  width: 250px;
  flex: 0 0 250px;
}

.tile-grid .shop-card-media {
  width: 250px;
  height: 250px;
}

.tile-grid .shop-card-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-card-meta h2,
.shop-card-meta h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}

/* Contact */
.contact {
  background: var(--maroon);
  color: var(--cream);
}

.contact-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 680px;
  padding: 100px var(--pad);
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.contact-copy {
  width: 620px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 47px;
}

.contact-title {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-bottom: 70px;
  border-bottom: 0.5px solid var(--cream);
}

.contact-title h2 {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -1.92px;
  color: var(--cream);
  max-width: 559px;
  line-height: 1;
}

.contact-title p {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.6px;
  line-height: 34px;
  color: var(--grey-text);
  max-width: 572px;
}

.contact-hours {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 42px;
}

.hours-label {
  font-size: 20px;
  letter-spacing: -0.6px;
  color: var(--grey-mid);
}

.hours-value {
  font-size: 36px;
  letter-spacing: -1.08px;
  color: var(--cream);
  margin-top: -12px;
}

.contact-form {
  width: 670px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-form-title {
  margin: 0;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -1.08px;
  line-height: 1.1;
  color: var(--cream);
}

.form-row {
  display: flex;
  gap: 30px;
}

.field {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 100px;
  padding: 10px;
  border-bottom: 1px solid var(--grey);
}

.field label {
  position: absolute;
  left: 10px;
  top: 10px;
  font-size: 18px;
  line-height: 34px;
  letter-spacing: -0.54px;
  text-transform: uppercase;
  color: var(--grey-muted);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.field input,
.field textarea {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-size: 18px;
  line-height: 34px;
  letter-spacing: -0.54px;
  outline: none;
  resize: none;
}

.field:focus-within label,
.field.is-filled label {
  opacity: 0;
  transform: translateY(-6px);
}

.field label {
  z-index: 1;
}

.field input,
.field textarea {
  position: relative;
  z-index: 2;
}

.form-status {
  min-height: 20px;
  font-size: 16px;
  color: var(--cream);
}

/* Footer */
.site-footer {
  background: var(--beige);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px var(--pad) 0;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  border-bottom: 0.5px solid var(--grey);
}

.footer-brand {
  width: 427px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand img {
  width: 427px;
  height: 106px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand p {
  font-size: 15px;
  color: var(--black);
  line-height: 1.2;
}

.footer-columns {
  display: flex;
  gap: 40px;
  width: 706px;
}

.footer-col {
  width: 226px;
}

.footer-col:last-child {
  width: 297px;
}

.footer-heading {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--black-deep);
  margin-bottom: 30px;
}

.footer-col ul,
.footer-col address {
  font-style: normal;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.48px;
  line-height: 30px;
  color: var(--grey);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-top: 30px;
}

.footer-social a {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--black);
}

.footer-bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px var(--pad) 48px;
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--black);
}

.footer-dark {
  background: var(--black);
}

.footer-dark .footer-inner {
  border-bottom-color: var(--beige);
}

.footer-dark .footer-brand p,
.footer-dark .footer-heading,
.footer-dark .footer-col ul,
.footer-dark .footer-col address,
.footer-dark .footer-social a,
.footer-dark .footer-bar {
  color: var(--beige);
}

.footer-dark .footer-col ul,
.footer-dark .footer-col address {
  color: var(--beige);
}

/* About page */
.about-hero {
  height: 463px;
  overflow: hidden;
  background: #d9cfc4;
}

.about-hero img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 40%;
}

.about-intro {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px var(--pad) 0;
}

.about-intro-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 240px;
  min-height: 190px;
  padding-bottom: 48px;
  border-bottom: 0.5px solid var(--black);
}

.about-intro h1 {
  flex: 1;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -2.56px;
  color: var(--black);
  line-height: 1;
}

.about-intro p {
  flex-shrink: 0;
  width: 594px;
  max-width: 100%;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.72px;
  line-height: 1.2;
  color: var(--grey);
}

.about-story {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px var(--pad);
}

.story-block {
  display: grid;
  grid-template-columns: 183px minmax(0, 594px);
  column-gap: 120px;
  margin-bottom: 60px;
}

.story-label {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.48px;
  text-transform: uppercase;
  color: var(--maroon);
  line-height: 40px;
}

.story-copy h2 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.96px;
  color: var(--black);
  margin-bottom: 10px;
}

.story-copy p {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.6px;
  line-height: 40px;
  color: var(--grey);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 50px;
  margin-top: 20px;
  border: 0.5px solid var(--grey);
  background: var(--white);
  color: #000000;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.48px;
  white-space: nowrap;
}

.btn-ghost:hover {
  opacity: 0.75;
}

.about-market {
  background: #efece6;
}

.about-market-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px var(--pad);
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.about-market img {
  width: 415px;
  height: 415px;
  flex-shrink: 0;
  object-fit: cover;
}

.market-copy {
  padding-top: 40px;
  max-width: 689px;
}

.market-copy h2 {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -2.56px;
  line-height: 1;
  color: var(--black);
  margin: 20px 0 10px;
}

.market-copy > p:not(.story-label):not(.market-sizes) {
  font-size: 20px;
  letter-spacing: -0.6px;
  line-height: 40px;
  color: var(--grey);
  max-width: 641px;
  margin-bottom: 30px;
}

.market-copy hr {
  width: 670px;
  max-width: 100%;
  border: 0;
  border-top: 0.5px solid var(--grey);
  margin: 0 0 30px;
}

.market-sizes {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 40px;
  color: #7a7a7a;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 1200px) {
  :root {
    --pad: 48px;
  }

  .hero-inner {
    padding-left: 48px;
  }

  .hero-copy h1 {
    font-size: 48px;
    letter-spacing: -1.92px;
  }

  .tile-grid {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .contact-inner {
    flex-direction: column;
    min-height: 0;
    padding: 72px var(--pad);
  }

  .contact-copy,
  .contact-form,
  .footer-inner,
  .footer-columns,
  .footer-brand {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 40px;
  }

  .footer-brand img {
    width: min(427px, 100%);
    height: auto;
  }

  .about-intro-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .about-intro h1 {
    font-size: 48px;
    letter-spacing: -1.92px;
  }

  .about-intro p,
  .about-market img,
  .market-copy {
    width: 100%;
  }

  .story-block {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  .about-market-inner {
    flex-direction: column;
  }

  .market-copy h2 {
    font-size: 40px;
    letter-spacing: -1.6px;
  }

  .market-sizes {
    font-size: 28px;
    white-space: normal;
  }
}

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

  .header-actions {
    width: auto;
    gap: 20px;
  }

  .menu-toggle {
    display: flex;
  }

  .tile-arrows {
    display: flex;
  }

  .tile-grid {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tile-grid::-webkit-scrollbar {
    display: none;
  }

  .tile-grid li {
    flex: 0 0 78%;
    width: 78%;
    max-width: 280px;
    scroll-snap-align: start;
  }

  .tile-grid .shop-card-media {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .tile-grid .shop-card-link img {
    width: 100%;
    height: 100%;
  }

  .hero {
    height: 560px;
  }

  .hero-inner {
    padding: 0 var(--pad);
  }

  .hero-copy h1 {
    font-size: 40px;
    letter-spacing: -1.6px;
  }

  .hero-copy p {
    font-size: 18px;
  }

  .contact-title h2 {
    font-size: 36px;
  }

  .hours-value {
    font-size: 28px;
  }

  .form-row {
    flex-direction: column;
  }

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

  .footer-bar {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  :root {
    --pad: 24px;
    --header-h: 72px;
  }

  .header-inner {
    height: 72px;
    padding: 0 24px;
  }

  .hero {
    height: 520px;
  }

  .hero-inner {
    padding: 0 24px;
    align-items: flex-end;
    padding-bottom: 48px;
  }

  .hero-copy h1 {
    font-size: 32px;
    letter-spacing: -1.2px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .tiles-inner {
    padding: 32px 24px;
  }

  .btn-outline,
  .btn-light {
    width: 100%;
  }

  .mobile-nav {
    padding-left: 24px;
    padding-right: 24px;
  }

  .about-hero {
    height: 280px;
  }

  .about-intro {
    padding-top: 56px;
  }

  .about-intro h1,
  .market-copy h2 {
    font-size: 32px;
    letter-spacing: -1.2px;
  }

  .about-story,
  .about-market-inner {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .about-market img {
    height: auto;
    aspect-ratio: 1;
  }

  .btn-ghost {
    width: 100%;
  }
}

.page-locations {
  background: #fffefb;
}

.locations-intro {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.locations-intro-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  min-height: 190px;
  padding: 32px 0;
  border-bottom: 0.5px solid var(--maroon);
}

.locations-intro h1 {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -2.56px;
  line-height: 1;
  color: var(--maroon);
}

.locations-intro p {
  width: 406px;
  max-width: 100%;
  font-size: 24px;
  letter-spacing: -0.72px;
  line-height: 1.2;
  color: var(--grey);
}

.locations-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px var(--pad) 40px;
  display: grid;
  grid-template-columns: 629px minmax(0, 1fr);
  gap: 50px;
  align-items: start;
}

.locations-media img {
  width: 100%;
  height: 920px;
  object-fit: cover;
}

.location-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.filter-btn {
  width: 93px;
  height: 47px;
  padding: 0;
  border: 0.58px solid #7a7a7a;
  background: transparent;
  color: var(--black);
  font-size: 14px;
  letter-spacing: -0.42px;
  cursor: pointer;
}

.filter-btn.is-active {
  background: var(--black);
  border-color: var(--black);
  color: var(--beige);
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 0.5px solid #cfcfcf;
}

.location-card {
  min-height: 230px;
  padding: 34px 28px 28px 0;
  border-bottom: 0.5px solid #cfcfcf;
}

.location-card:nth-child(odd) {
  padding-right: 30px;
  border-right: 0.5px solid #cfcfcf;
}

.location-card:nth-child(even) {
  padding-left: 30px;
}

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

.location-card-last {
  border-right: 0;
}

.location-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.location-head h2 {
  font-size: 24px;
  font-weight: 500;
  color: var(--black);
}

.location-city {
  font-size: 12px;
  letter-spacing: -0.36px;
  line-height: 17px;
  text-transform: uppercase;
  text-align: right;
  color: var(--maroon);
}

.location-card address,
.location-soon {
  font-style: normal;
  font-size: 14px;
  letter-spacing: -0.42px;
  line-height: 17px;
  color: #4f4f4f;
  max-width: 267px;
  margin-bottom: 20px;
}

.location-soon {
  font-style: italic;
}

.location-phones {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 16px;
  color: #4f4f4f;
}

.location-phones a:hover {
  opacity: 0.7;
}

.locations-banner {
  height: 538px;
  overflow: hidden;
}

.locations-banner img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 45%;
}

@media (max-width: 1200px) {
  .locations-body {
    grid-template-columns: 1fr;
  }

  .locations-media img {
    height: 560px;
  }

  .locations-intro-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .locations-intro h1 {
    font-size: 48px;
  }
}

@media (max-width: 640px) {
  .locations-intro h1 {
    font-size: 32px;
    letter-spacing: -1.2px;
  }

  .locations-intro p {
    font-size: 18px;
  }

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

  .location-card:nth-child(odd),
  .location-card:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }

  .locations-media img,
  .locations-banner {
    height: 320px;
  }

  .filter-btn {
    flex: 1 1 calc(33.33% - 14px);
  }
}

.page-product {
  background: #fffefb;
}

.product-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 68px var(--pad) 80px;
}

.product-back {
  display: inline-block;
  margin-bottom: 34px;
  font-size: 16px;
  letter-spacing: -0.48px;
  color: var(--grey);
}

.product-back:hover {
  color: var(--black);
}

.product-main {
  display: grid;
  grid-template-columns: 630px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.product-stage {
  width: 100%;
  aspect-ratio: 1;
  background: #eeeae3;
}

.product-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumbs {
  display: flex;
  gap: 18px;
  margin-top: 32px;
}

.product-thumbs button {
  width: 193px;
  height: 192px;
  padding: 0;
  border: 0.5px solid transparent;
  background: #eeeae3;
  cursor: pointer;
}

.product-thumbs button.is-active {
  border-color: var(--black);
}

.product-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info h1 {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -1.08px;
  color: var(--black);
}

.stock-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 30px 0 20px;
  font-size: 16px;
  color: var(--black);
}

.stock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d4a017;
}

.product-lead {
  max-width: 608px;
  margin-bottom: 40px;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.32px;
  color: var(--grey);
}

.product-specs {
  border-top: 0.5px solid #cfcfcf;
}

.product-specs > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  min-height: 67px;
  padding: 20px 0;
  border-bottom: 0.5px solid #cfcfcf;
}

.product-specs dt {
  font-size: 16px;
  color: var(--black);
}

.product-specs dd {
  font-size: 16px;
  text-align: right;
  color: var(--grey);
}

.product-sizes {
  padding-top: 40px;
}

.sizes-label {
  margin-bottom: 10px;
  font-size: 16px;
  color: var(--black);
}

.size-pills {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
}

.size-pills button {
  min-width: 100px;
  height: 40px;
  padding: 0 12px;
  border: 0;
  background: #e8e4dc;
  font-size: 14px;
  color: var(--black);
  cursor: pointer;
}

.size-pills button.is-active {
  background: #4a4a4a;
  color: var(--white);
}

.product-price {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.96px;
  color: var(--black);
}

.product-actions {
  display: flex;
  gap: 10px;
  margin-top: 40px;
}

.qty-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 150px;
  height: 54px;
  padding: 0 13px;
  border: 0.5px solid var(--black);
}

.qty-box button {
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.qty-box span {
  min-width: 24px;
  text-align: center;
}

.qty-box input {
  width: 40px;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 16px;
  -moz-appearance: textfield;
}

.qty-box input::-webkit-outer-spin-button,
.qty-box input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.btn-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 54px;
  border: 0;
  background: var(--maroon);
  color: var(--white);
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-cart:hover {
  opacity: 0.88;
}

.cart-note {
  min-height: 20px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--maroon);
}

.product-calc {
  display: grid;
  grid-template-columns: 1fr 690px;
  gap: 80px;
  margin-top: 80px;
  padding-top: 54px;
  border-top: 0.5px solid #cfcfcf;
  align-items: start;
}

.calc-copy h2 {
  max-width: 587px;
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -1.44px;
  line-height: 1.15;
  color: var(--black);
}

.calc-copy p {
  margin-top: 20px;
  font-size: 18px;
  color: var(--grey);
}

.calc-panel {
  padding: 48px 52px 40px;
  background: #efece6;
}

.calc-kicker {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
}

.calc-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.calc-sizes button {
  min-width: 88px;
  height: 40px;
  padding: 0 12px;
  border: 0;
  background: #e4dfd6;
  font-size: 14px;
  color: var(--black);
  cursor: pointer;
}

.calc-sizes button.is-active {
  background: #4a4a4a;
  color: var(--white);
}

.calc-size-note {
  margin: 0 0 28px;
  font-size: 13px;
  color: var(--grey);
}

.calc-modes {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.calc-modes button {
  min-width: 88px;
  height: 40px;
  padding: 0 16px;
  border: 0;
  background: #e4dfd6;
  font-size: 14px;
  color: var(--black);
  cursor: pointer;
}

.calc-modes button.is-active {
  background: #4a4a4a;
  color: var(--white);
}

.calc-mode-note,
.calc-square-note {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--grey);
}

.calc-custom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.calc-number {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 0;
  background: #e4dfd6;
  font-size: 18px;
  color: var(--black);
}

.calc-area-value {
  margin: 0 0 18px;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -1.68px;
  line-height: 1;
  color: var(--black);
}

.calc-slider {
  display: block;
  width: 100%;
  height: 10px;
  margin-bottom: 36px;
  appearance: none;
  background: #d8d4cc;
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: #4a4a4a;
  cursor: pointer;
}

.calc-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: #4a4a4a;
  cursor: pointer;
}

.calc-list {
  margin: 0;
}

.calc-list > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-top: 0.5px solid #cfcfcf;
}

.calc-list dt {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--grey);
}

.calc-list dd {
  font-size: 16px;
  color: var(--black);
}

.calc-list > div:last-child dd {
  font-weight: 700;
}

@media (max-width: 1200px) {
  .product-main,
  .product-calc {
    grid-template-columns: 1fr;
  }

  .product-stage {
    width: 100%;
  }

  .calc-panel {
    padding: 40px 24px;
  }
}

@media (max-width: 640px) {
  .product-wrap {
    padding-top: 32px;
  }

  .product-thumbs {
    gap: 8px;
  }

  .product-thumbs button {
    flex: 1;
    height: 96px;
  }

  .product-actions {
    flex-direction: column;
  }

  .qty-box,
  .btn-cart {
    width: 100%;
  }

  .calc-copy h2 {
    font-size: 32px;
  }

  .calc-area-value {
    font-size: 40px;
  }
}

.page-shop {
  background: #fffefb;
}

.shop-intro {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.shop-intro-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  min-height: 190px;
  padding: 32px 0;
  border-bottom: 0.5px solid #cfcfcf;
}

.shop-intro h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1.92px;
  color: var(--maroon);
}

.shop-intro p {
  width: 406px;
  max-width: 100%;
  font-size: 24px;
  letter-spacing: -0.72px;
  line-height: 1.2;
  color: var(--grey);
}

.shop-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px var(--pad) 100px;
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 114px;
  align-items: start;
}

.filter-toggle {
  display: none;
}

.filter-group {
  border-top: 0.5px solid #cfcfcf;
  padding: 0;
  margin: 0;
}

.filter-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--black);
  cursor: pointer;
  list-style: none;
}

.filter-group summary::-webkit-details-marker {
  display: none;
}

.filter-group summary::after {
  content: "";
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  margin-top: 0;
  border-right: 1.5px solid var(--black);
  border-bottom: 1.5px solid var(--black);
  transform: rotate(45deg);
  transition: transform 0.28s ease, margin-top 0.28s ease;
}

.filter-group[open] summary::after,
.filter-group.is-open summary::after {
  transform: rotate(225deg);
  margin-top: 6px;
}

.filter-group-body {
  overflow: hidden;
  height: 0;
  opacity: 0;
  padding: 0;
  transition: height 0.32s ease, opacity 0.24s ease, padding 0.32s ease;
}

.filter-group.is-open .filter-group-body {
  opacity: 1;
  padding: 0 0 18px;
}

.filter-group-body .filter-check:last-child {
  margin-bottom: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .filter-group summary::after,
  .filter-group-body {
    transition: none;
  }
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  font-size: 15px;
  color: var(--black);
  cursor: pointer;
}

.filter-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.filter-check span {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 1px solid var(--black);
  background: var(--white);
}

.filter-check input:checked + span {
  background: var(--black);
  box-shadow: inset 0 0 0 3px var(--white);
}

.filter-check input:focus-visible + span {
  outline: 2px solid var(--maroon);
  outline-offset: 2px;
}

.filter-clear {
  display: block;
  width: 100%;
  padding: 8px 0 0;
  border: 0;
  border-top: 0.5px solid #cfcfcf;
  background: transparent;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  color: var(--black);
  cursor: pointer;
}

.filter-clear:hover {
  opacity: 0.7;
}

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

.shop-card {
  display: flex;
  flex-direction: column;
  background: transparent;
}

.shop-card-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #eeeae3;
}

.shop-card-link {
  display: block;
  width: 100%;
  height: 100%;
}

.shop-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.shop-card-actions {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.shop-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: #fffefb;
  box-shadow: 0 2px 8px rgba(40, 40, 40, 0.12);
  cursor: pointer;
}

.shop-action img {
  width: 20px;
  height: 20px;
}

.tile-grid .shop-action img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.shop-card-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 0 4px;
}

.shop-card-meta h2,
.shop-card-meta h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}

.shop-card-price {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}

.shop-card-size {
  margin: 0 0 0 auto;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--grey);
}

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

@media (hover: hover) and (pointer: fine) {
  .shop-card-actions {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .shop-card:hover .shop-card-actions,
  .shop-card:focus-within .shop-card-actions {
    opacity: 1;
    transform: none;
  }
}

@media (hover: none), (pointer: coarse), (max-width: 1100px) {
  .shop-card-actions {
    opacity: 1;
    transform: none;
  }
}

.shop-empty {
  grid-column: 1 / -1;
  padding: 40px 0;
  font-size: 16px;
  color: var(--grey);
}

@media (max-width: 1100px) {
  .shop-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .shop-intro-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 800px) {
  .filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-bottom: 8px;
    padding: 12px 22px;
    border: 0.5px solid var(--black);
    background: transparent;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--black);
    cursor: pointer;
  }

  .shop-filters {
    display: none;
    grid-column: 1 / -1;
  }

  .shop-filters.is-open {
    display: block;
  }

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

  .shop-intro h1 {
    font-size: 36px;
  }

  .shop-intro p {
    font-size: 18px;
  }
}

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

.page-cart {
  background: #fffefb;
}

.page-legal {
  background: #fffefb;
}

.legal-intro {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.legal-intro-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  min-height: 160px;
  padding: 48px 0 32px;
  border-bottom: 0.5px solid #cfcfcf;
}

.legal-intro h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1.92px;
  color: var(--maroon);
}

.legal-intro p {
  font-size: 16px;
  letter-spacing: -0.32px;
  color: var(--grey-mid);
}

.legal-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px var(--pad) 96px;
}

.legal-lead {
  margin-bottom: 40px;
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: -0.4px;
  color: var(--grey);
}

.legal-body section + section {
  margin-top: 36px;
}

.legal-body h2 {
  margin-bottom: 14px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.66px;
  color: var(--black);
}

.legal-body p,
.legal-body li {
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.24px;
  color: var(--grey);
}

.legal-body p + p {
  margin-top: 12px;
}

.legal-body ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-body li + li {
  margin-top: 8px;
}

.legal-body a {
  color: var(--maroon);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-intro {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.cart-intro-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  min-height: 190px;
  padding: 32px 0;
  border-bottom: 0.5px solid #cfcfcf;
}

.cart-intro h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1.92px;
  color: var(--maroon);
}

.cart-intro p {
  width: 406px;
  max-width: 100%;
  font-size: 24px;
  letter-spacing: -0.72px;
  line-height: 1.2;
  color: var(--grey);
}

.cart-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px var(--pad) 100px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.cart-empty p {
  font-size: 20px;
  color: var(--grey);
}

.cart-shop-btn {
  flex: none;
  min-width: 220px;
  padding: 0 28px;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
  align-items: start;
}

.cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-top: 0.5px solid #cfcfcf;
}

.cart-item:last-child {
  border-bottom: 0.5px solid #cfcfcf;
}

.cart-item-image {
  display: block;
  width: 120px;
  height: 120px;
  overflow: hidden;
  background: #eeeae3;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 500;
}

.cart-item-info p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--grey);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-item-actions .qty-box {
  width: 120px;
  height: 44px;
}

.cart-item-actions .qty-box span {
  min-width: 24px;
  text-align: center;
}

.cart-remove {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--grey);
  cursor: pointer;
}

.cart-remove:hover {
  color: var(--maroon);
}

.cart-item-total {
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}

.cart-summary {
  padding: 32px;
  background: #efece6;
}

.cart-summary-label {
  margin: 0 0 24px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 20px;
}

.cart-summary-note {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--grey);
}

.cart-summary .btn-cart {
  width: 100%;
  text-decoration: none;
}

.cart-continue {
  display: block;
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--grey);
}

@media (max-width: 1100px) {
  .cart-intro-inner,
  .cart-layout {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .cart-intro h1 {
    font-size: 36px;
  }

  .legal-intro h1 {
    font-size: 36px;
  }

  .legal-body {
    padding: 40px var(--pad) 72px;
  }

  .legal-lead {
    font-size: 18px;
  }

  .contact-form-title {
    font-size: 28px;
  }
}

@media (max-width: 700px) {
  .cart-item {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .cart-item-image {
    width: 88px;
    height: 88px;
  }

  .cart-item-total {
    grid-column: 2;
  }
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  pointer-events: none;
}

.cart-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.cart-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(40, 40, 40, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-drawer.is-open .cart-drawer-overlay {
  opacity: 1;
}

.cart-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  height: 100%;
  background: #fffefb;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

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

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  border-bottom: 0.5px solid #cfcfcf;
}

.cart-drawer-head h2 {
  font-size: 24px;
  font-weight: 500;
}

.cart-drawer-close {
  border: 0;
  background: transparent;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
  cursor: pointer;
}

.cart-drawer-empty {
  padding: 40px 28px;
}

.cart-drawer-empty p {
  margin-bottom: 24px;
  font-size: 16px;
  color: var(--grey);
}

.cart-drawer-filled {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

.cart-drawer-list {
  list-style: none;
  margin: 0;
  padding: 8px 28px 0;
  overflow: auto;
  flex: 1;
}

.cart-drawer-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 0.5px solid #cfcfcf;
}

.cart-drawer-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  background: #eeeae3;
}

.cart-drawer-name {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 500;
}

.cart-drawer-meta {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--grey);
}

.cart-drawer-item .qty-box {
  width: 110px;
  height: 40px;
}

.cart-drawer-foot {
  padding: 24px 28px 32px;
  border-top: 0.5px solid #cfcfcf;
  background: #efece6;
}

.cart-drawer-foot .btn-cart {
  width: 100%;
  margin-top: 8px;
  flex: none;
}

@media (max-width: 900px) {
  html,
  body {
    overflow-x: hidden;
  }

  .product-wrap {
    padding: 40px var(--pad) 64px;
  }

  .product-gallery,
  .product-info,
  .product-calc {
    min-width: 0;
    width: 100%;
  }

  .product-thumbs {
    width: 100%;
  }

  .product-thumbs li {
    flex: 1 1 0;
    min-width: 0;
  }

  .product-thumbs button {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .product-info h1 {
    font-size: 32px;
  }

  .product-actions {
    flex-wrap: wrap;
  }

  .qty-box {
    flex: 0 0 140px;
    width: 140px;
    min-width: 140px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .qty-box button {
    flex-shrink: 0;
  }

  .qty-box input {
    min-width: 0;
    flex: 1;
  }

  .btn-cart {
    flex: 1 1 180px;
    min-width: 0;
  }

  .calc-copy h2 {
    font-size: 32px;
  }

  .calc-panel {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 28px 20px;
  }

  .calc-list > div {
    gap: 12px;
  }

  .calc-list dt,
  .calc-list dd {
    font-size: 13px;
  }

  .shop-card-meta {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .shop-card-size {
    margin-left: auto;
  }

  .footer-brand,
  .footer-col,
  .footer-col:last-child {
    width: 100%;
    max-width: 100%;
  }

  .footer-social {
    flex-wrap: wrap;
    gap: 20px;
  }

  .locations-body,
  .locations-media {
    width: 100%;
    min-width: 0;
  }

  .contact-copy,
  .contact-form {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .product-wrap {
    padding: 28px 20px 56px;
  }

  .product-thumbs button {
    height: auto;
  }

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

  .qty-box,
  .btn-cart {
    width: 100%;
    flex: none;
    max-width: none;
  }

  .product-price {
    font-size: 26px;
  }

  .size-pills {
    flex-wrap: wrap;
  }

  .calc-custom-grid {
    grid-template-columns: 1fr;
  }

  .calc-sizes button {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }

  .calc-area-value {
    font-size: 36px;
  }

  .calc-list > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .shop-card-size {
    margin-left: 0;
    width: 100%;
  }

  .header-inner {
    padding: 0 16px;
  }

  .mobile-nav {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.checkout-layout {
  align-items: start;
}

.checkout-form-wrap {
  min-width: 0;
}

.checkout-form {
  max-width: 670px;
  width: 100%;
}

.page-checkout .checkout-submit {
  flex: none;
  align-self: flex-start;
  width: auto;
  min-width: 280px;
  max-width: 100%;
  padding: 0 32px;
}

.page-checkout .checkout-form .cart-continue {
  align-self: flex-start;
  margin-top: 0;
  text-align: left;
}

.page-checkout .contact-form-title {
  color: var(--black);
}

.page-checkout .field input,
.page-checkout .field textarea {
  color: var(--black);
}

.page-checkout .field input::placeholder,
.page-checkout .field textarea::placeholder {
  color: var(--grey-muted);
}

.checkout-summary-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.95rem;
}

.checkout-errors {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid #efb8b8;
  border-radius: 12px;
  background: #fff5f5;
  color: #8b1e1e;
}

.checkout-errors ul {
  margin: 0;
  padding-left: 18px;
}

.checkout-success-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid rgba(91, 32, 51, 0.12);
  border-radius: 16px;
  background: #fff;
  display: grid;
  gap: 14px;
}

@media (max-width: 640px) {
  .checkout-success-card {
    width: 100%;
    min-width: 0;
    padding: 20px 16px;
    overflow-wrap: break-word;
  }

  .checkout-success-card .cart-summary-row {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-bottom: 14px;
  }

  .checkout-success-card .cart-summary-row strong {
    min-width: 0;
    text-align: left;
    word-break: break-word;
    overflow-wrap: anywhere;
    font-size: 17px;
  }

  .checkout-success-card .btn-cart {
    width: 100%;
    max-width: 100%;
    flex: none;
    box-sizing: border-box;
    text-decoration: none;
  }

  .page-checkout .checkout-submit {
    width: 100%;
    align-self: stretch;
  }

  .page-checkout .checkout-form .cart-continue {
    align-self: center;
    width: 100%;
    text-align: center;
  }
}

.field-optional {
  color: #777;
  font-weight: 400;
}
