body.is-shop {
  overflow: auto;
  height: auto;
  min-height: 100dvh;
  background: #070707;
}

body.is-shop .page-shop {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  padding: 18px 16px 120px;
}

body.is-shop .header {
  margin: 0 auto 28px;
  max-width: 860px;
}

.shop-hero {
  max-width: 1080px;
  margin: 0 auto 28px;
  text-align: left;
}

.shop-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 7vw, 72px);
  letter-spacing: -0.05em;
  line-height: 1.08;
  color: #fff;
}

.shop-hero p {
  max-width: 560px;
  margin-top: 10px;
  color: #d0d0d0;
  opacity: 0.85;
  line-height: 1.55;
  font-size: clamp(14px, 2vw, 16.5px);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1080px;
  margin: 0 auto 22px;
}

.chip {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #28282a;
  color: #c8c8c8;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chip.is-on,
.chip:hover {
  background: #fff;
  color: #111;
}

.grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card {
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  overflow: hidden;
}

.card-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}

.card-body {
  padding: 16px 16px 18px;
}

.card-body h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.card-body p {
  color: #bdbdbd;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 10px;
}

.card-body ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.card-body li {
  font-size: 11.5px;
  color: #c4c2c3;
  background: #28282a;
  border-radius: 999px;
  padding: 5px 9px;
}

.card-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.price small {
  display: block;
  color: #8e8e8e;
  font-size: 11px;
  margin-bottom: 2px;
}

.price strong {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.add-btn {
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-weight: 600;
  font-size: 13.5px;
  white-space: nowrap;
}

.add-btn:hover {
  transform: translateY(-1px);
}

.cart-fab {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 12;
  height: 54px;
  padding: 0 18px 0 16px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cart-fab .badge {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 12px;
  display: grid;
  place-items: center;
  padding: 0 6px;
}

.shop-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(6px);
}

.drawer,
.sheet {
  position: fixed;
  z-index: 22;
  background: #fff;
  color: #161616;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.drawer {
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 20px 18px 18px;
}

.sheet {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100% - 20px));
  max-height: min(88dvh, 720px);
  overflow: auto;
  border-radius: 28px;
  padding: 24px 20px 20px;
}

.drawer-head,
.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.drawer-head h2,
.sheet-head h2 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.04em;
}

.icon-x {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #efefef;
  font-size: 20px;
}

.cart-lines {
  flex: 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 10px;
  align-items: start;
}

.line img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
}

.line strong {
  display: block;
  font-size: 14px;
}

.line span,
.empty {
  color: #666;
  font-size: 13px;
}

.qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.qty button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f0f0f0;
}

.qty em {
  font-style: normal;
  min-width: 12px;
  text-align: center;
  font-weight: 600;
}

.qty .remove {
  width: auto;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  color: #666;
}

.cart-foot {
  border-top: 1px solid #eee;
  padding-top: 14px;
  margin-top: 12px;
}

.cart-foot .sum {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 12px;
}

.primary {
  width: 100%;
  height: 48px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-weight: 600;
}

.primary:disabled {
  opacity: 0.45;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #555;
}

.form input,
.form textarea {
  height: 44px;
  border-radius: 12px;
  border: 1px solid #e4e4e4;
  background: #f7f7f7;
  padding: 0 12px;
  font: inherit;
  color: #111;
}

.form textarea {
  height: 84px;
  padding: 10px 12px;
  resize: vertical;
}

.pay-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pay-modes label {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  background: #f4f4f5;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 13px;
  color: #111;
}

.fine {
  color: #8e8e8e;
  font-size: 12px;
  line-height: 1.45;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 86px;
  transform: translateX(-50%);
  z-index: 30;
  background: #fff;
  color: #111;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.header-cart {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #28282a;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--nav-shadow);
}

.header-cart .badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

@media (min-width: 720px) {
  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  body.is-shop .page-shop {
    padding: 22px 28px 80px;
  }
}

@media (min-width: 1080px) {
  .grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 720px) {
  body.is-shop .nav-pill,
  body.is-shop .sign-in {
    display: none;
  }

  body.is-shop .header {
    justify-content: space-between;
    max-width: 100%;
  }

  body.is-shop .logo {
    width: 48px;
    height: 48px;
  }

  body.is-shop .burger {
    display: block;
  }
}
