:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  background: #f6f1ec;
  color: #29221f;
  --accent: #702e40;
  --line: #e3d9d1;
}

* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
.brand {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 1rem max(1.1rem, calc((100vw - 74rem) / 2));
  background: #fffaf6;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
a {
  color: var(--accent);
}
main {
  max-width: 76rem;
  margin: auto;
  padding: 1rem 1.1rem 4rem;
}
.intro {
  padding: 2.5rem 0 1rem;
}
h1 {
  font:
    600 clamp(2.7rem, 8vw, 5rem)/0.95 Georgia,
    serif;
  margin: 0 0 0.8rem;
  letter-spacing: -0.04em;
}
h2 {
  font:
    600 1.7rem Georgia,
    serif;
}
p {
  line-height: 1.5;
}
#status {
  scroll-margin-top: 5rem;
}
#status:not(:empty) {
  border-left: 0.25rem solid var(--accent);
  padding: 0.7rem 1rem;
  background: #fffaf6;
}
#shop {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: start;
}
#panier {
  background: #fffaf6;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  scroll-margin-top: 4.5rem;
}
#panier h2 {
  margin-top: 0;
}
.clothes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 0.7rem;
}
.card {
  border: 1px solid var(--line);
  background: #fffaf6;
  border-radius: 0.8rem;
  padding: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 0.5rem;
  background: #eadbd4;
}
.card h3,
.card p {
  margin: 0;
}
.card button {
  margin-top: auto;
}
.number {
  color: var(--accent);
  font-weight: 700;
}
label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}
.search {
  margin-bottom: 1rem;
}
input,
select,
button {
  font: inherit;
  min-height: 2.65rem;
  border-radius: 0.45rem;
}
input,
select {
  background: white;
  border: 1px solid #aa9892;
  padding: 0.45rem;
  min-width: 0;
  width: 100%;
  color: inherit;
}
button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: white;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
}
button.secondary {
  color: var(--accent);
  background: transparent;
}
button:disabled {
  opacity: 0.65;
  cursor: default;
}
.fields {
  display: grid;
  gap: 0.65rem;
}
#address-label {
  margin-top: 0.65rem;
}
#basket-items {
  padding: 0;
}
#basket-items li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}
.total {
  font-weight: 700;
}
@media (max-width: 730px) {
  #shop {
    grid-template-columns: minmax(0, 1fr);
  }
}
