:root {
  --navy: #08243a;
  --blue: #0879ad;
  --ink: #13212b;
  --muted: #60717d;
  --paper: #f7fbfd;
  --line: #d8e5eb;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.5 Inter,
    system-ui,
    sans-serif;
}
.dev {
  text-align: center;
  padding: 8px;
  background: #fff2bf;
  color: #654d00;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
header {
  height: 76px;
  padding: 0 clamp(20px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  color: #fff;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}
.brand b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--blue);
}
button {
  cursor: pointer;
}
.brand + button,
.cart-head button {
  padding: 10px 16px;
  border: 1px solid #ffffff55;
  border-radius: 99px;
  background: transparent;
  color: inherit;
  font-weight: 800;
}
.brand + button i {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  margin-left: 6px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-style: normal;
}
.hero {
  padding: clamp(64px, 9vw, 120px) clamp(20px, 8vw, 120px);
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, #29abe244, transparent 30%),
    linear-gradient(135deg, #061d30, #0a4263);
}
.eyebrow {
  margin: 0 0 10px;
  color: #29abe2;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-size: 12px;
}
.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.hero > p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0;
  color: #d9edf6;
  font-size: 19px;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trust span {
  padding: 9px 13px;
  border: 1px solid #ffffff33;
  border-radius: 99px;
  font-size: 13px;
}
.catalogue {
  padding: 64px clamp(20px, 5vw, 76px);
}
.catalogue-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}
.catalogue h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
}
#summary {
  color: var(--muted);
}
.filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 14px;
  margin: 28px 0;
}
.filters label {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.filters input,
.filters select {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
}
.notice {
  padding: 18px;
  border-left: 4px solid #d69b00;
  background: #fff8d8;
  margin-bottom: 20px;
}
.handoff {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: -10px 0 20px;
  padding: 14px 16px;
  border: 1px solid #98d7e8;
  border-radius: 12px;
  background: #eaf8fc;
  color: var(--navy);
  font-weight: 700;
}
.handoff button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-weight: 800;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px #08243a0f;
}
.card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #e8f0f3;
}
.body {
  padding: 18px;
}
.meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}
.card h3 {
  margin: 8px 0;
  line-height: 1.2;
}
.details {
  min-height: 40px;
  color: var(--muted);
  font-size: 13px;
}
.prices {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin: 16px 0;
}
.price {
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
}
.was {
  text-decoration: line-through;
  color: var(--muted);
}
.add,
#checkout {
  width: 100%;
  padding: 13px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}
.add:disabled,
#checkout:disabled {
  opacity: 0.45;
}
aside {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  width: min(440px, 100%);
  height: 100dvh;
  padding: 22px;
  background: #fff;
  box-shadow: 0 18px 50px #08243a33;
  transform: translateX(105%);
  transition: 0.22s;
  display: flex;
  flex-direction: column;
}
aside.open {
  transform: none;
}
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.cart-head button {
  color: var(--ink);
  border-color: var(--line);
}
#items {
  overflow: auto;
  flex: 1;
}
.item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.item p {
  margin: 0;
}
.item button {
  border: 0;
  background: transparent;
  color: #a23b31;
  text-decoration: underline;
}
.cart-foot > p:first-child {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
}
.cart-foot small {
  display: block;
  color: var(--muted);
  margin-bottom: 14px;
}
#status {
  font-size: 13px;
  color: #a23b31;
}
#scrim {
  position: fixed;
  z-index: 15;
  inset: 0;
  background: #0516237a;
}
footer {
  padding: 36px clamp(20px, 5vw, 76px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  background: var(--navy);
  color: #cfe4ee;
  font-size: 13px;
}
footer a {
  color: #fff;
}
@media (max-width: 720px) {
  .brand span {
    display: none;
  }
  .filters {
    grid-template-columns: 1fr;
  }
  .catalogue-head {
    display: block;
  }
  .hero h1 {
    font-size: 44px;
  }
  .handoff {
    align-items: flex-start;
    flex-direction: column;
  }
}
