/* Page-specific presentation for cart.html. Keep behavior in assets/js. */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #07080f;
  color: #fff;
  font-family: Manrope, Arial;
}
.shell {
  max-width: 1060px;
  margin: auto;
  padding: 0 28px;
}
.top {
  height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ffffff17;
}
.brand {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.055em;
}
.back {
  color: #b8ffda;
  text-decoration: none;
  font: 12px 'DM Mono';
  margin: 28px 0;
  display: inline-block;
}
h1 {
  font-size: 44px;
  letter-spacing: -0.07em;
  margin: 0 0 27px;
}
.layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 25px;
  padding-bottom: 70px;
}
.items {
  border: 1px solid #ffffff17;
  border-radius: 16px;
  overflow: hidden;
}
.item {
  display: flex;
  gap: 15px;
  padding: 14px;
  border-bottom: 1px solid #ffffff14;
  align-items: center;
}
.item img {
  width: 74px;
  height: 74px;
  border-radius: 9px;
  object-fit: cover;
  object-position: center top;
  background: #171925;
}
.item h3 {
  font-size: 15px;
  margin: 0 0 5px;
  letter-spacing: -0.03em;
}
.item p {
  color: #a6abb8;
  font-size: 12px;
  margin: 0;
}
.price {
  margin-left: auto;
  color: #b8ffda;
  font-weight: 800;
  font-size: 14px;
}
.remove {
  margin-left: 13px;
  border: 0;
  background: none;
  color: #ff94a7;
  cursor: pointer;
  font-size: 16px;
}
.summary {
  background: #121520;
  border: 1px solid #ffffff17;
  border-radius: 16px;
  padding: 23px;
  height: max-content;
}
.summary h2 {
  font-size: 18px;
  margin: 0 0 21px;
}
.line {
  display: flex;
  justify-content: space-between;
  color: #b2b6c2;
  font-size: 13px;
  margin: 13px 0;
}
.console-note {
  margin: 17px 0;
  border: 1px solid #69aaff66;
  border-left: 3px solid #69aaff;
  border-radius: 10px;
  padding: 12px;
  background: #0b1628;
  color: #c6d6ef;
  font-size: 11px;
  line-height: 1.55;
}
.console-note strong {
  display: block;
  margin-bottom: 4px;
  color: #9bc6ff;
  font-size: 10px;
  letter-spacing: 0.07em;
}
.total {
  border-top: 1px solid #ffffff1d;
  padding-top: 16px;
  margin-top: 17px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}
.total b {
  color: #b8ffda;
}
.checkout {
  display: block;
  text-align: center;
  background: #b8ffda;
  color: #082018;
  text-decoration: none;
  padding: 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  margin-top: 22px;
}
.empty {
  color: #a6abb8;
  text-align: center;
  padding: 50px 15px;
}
.empty a {
  color: #b8ffda;
}
@media (max-width: 700px) {
  .shell {
    padding: 0 18px;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .top {
    min-height: 65px;
    height: auto;
    gap: 10px;
    padding-block: 10px;
  }
  .brand {
    font-size: 16px;
  }
  h1 {
    font-size: 38px;
  }
  .summary {
    position: static;
  }
}
@media (max-width: 480px) {
  .shell {
    padding-inline: 14px;
  }
  .brand {
    max-width: 135px;
    line-height: 1.05;
  }
  .item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 40px;
    gap: 10px;
    align-items: center;
  }
  .item img {
    width: 64px;
    height: 76px;
    grid-row: span 2;
  }
  .item h3,
  .item p {
    overflow-wrap: anywhere;
  }
  .price {
    grid-column: 2;
    margin-left: 0;
  }
  .remove {
    grid-column: 3;
    grid-row: 1 / span 2;
    width: 40px;
    height: 44px;
    margin: 0;
    border-radius: 8px;
    background: #2b151d;
  }
  .summary {
    padding: 19px;
  }
}
