/* Sepet çekmecesi */
/* sepet */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(5, 15, 22, 0.45);
  z-index: 70;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 100%);
  background: var(--bg);
  z-index: 80;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 {
  font-size: 22px;
}
.drawer-body {
  flex: 1;
  overflow: auto;
  padding: 12px 20px;
}
.line {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
}
.line .th {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  background: var(--tile);
  display: grid;
  place-items: center;
}
.line .th svg {
  width: 70%;
}
.line h4 {
  margin: 0;
  font-size: 13.5px;
  font-weight: 500;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-top: 6px;
}
.qty button {
  border: 0;
  background: none;
  width: 28px;
  height: 28px;
}
.qty span {
  min-width: 24px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}
.line .lp {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}
.empty {
  color: var(--muted);
  text-align: center;
  padding: 40px 0;
}
.drawer-foot {
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}
.ship-note {
  font-size: 13px;
  color: var(--muted);
}
.meter {
  height: 6px;
  border-radius: 3px;
  background: var(--surface);
  overflow: hidden;
}
.meter i {
  display: block;
  height: 100%;
  background: var(--saffron);
  transition: width 0.3s;
}
.total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.drawer-foot .btn {
  justify-content: center;
  background: var(--iznik);
  color: var(--iznik-ink);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  background: var(--fg);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  z-index: 90;
}
